OSDN Git Service

a8cdab984267354849317f501ac485fa422ef1bd
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-05-12  Nick Clifton  <nickc@cygnus.com>
2
3         * config/fr30/fr30.c (fr30_move_double): New function:  Emit code
4         to move a double word value.
5         (di_operand): New function: Return true if the operand is suitbale
6         for a double word move operation.
7         (nonimmediate_di_operand): New function: Return true if the
8         operand is a DImode register or MEM.
9
10         * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
11         nonimmediate_di_operand.
12
13         * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
14         nonimmediate_di_operand.
15
16         * config/fr30/fr30.md (movdi): New pattern.  Required because
17         other patterns generate DImode results.
18         (movdi_insn): New pattern.
19
20 2000-05-12  Richard Henderson  <rth@cygnus.com>
21
22         * config/alpha/alpha.c (struct shadow_summary): Define
23         bitfields as type unsigned int.
24
25 Sat May 13 00:09:59 2000  Denis Chertykov  <denisc@overta.ru>
26
27         * config/avr/t-avr: Added definition of FLOAT while generates
28         fp-bit.c
29
30         * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
31         peepholes for tst+jump = sbrs/sbrc optimization.
32
33 Fry May 12 20:03:00 CEST 2000  Jan Hubicka  <jh@suse.cz>
34
35         * expr.c (emit_push_insn): Do not adjust stack pointer when
36         preallocating.
37
38 Fri May 12 19:03:58 2000  Philippe De Muyter  <phdm@macqel.be>
39
40         * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
41         * system.h (offsetof): ... to here.
42
43 2000-05-12  Richard Henderson  <rth@cygnus.com>
44
45         * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
46         * final.c (final_end_function): Use app_disable.  Rearrange note
47         handling into a switch.  Emit deleted labels.
48         (output_asm_label): Generate label strings for deleted labels.
49         * flow.c (tail_recursion_label_list): New.
50         (find_basic_blocks_1): Set label_value_list directly.  Collect list
51         of tail recursion labels from call_placeholders.  Don't add deleted
52         labels to the label value list.
53         (cleanup_cfg): Use free_EXPR_LIST_list.
54         (flow_delete_insn_chain): Turn non-removable labels into notes.
55         (flow_delete_block): Don't disable deleting the block because of
56         a non-removable label.
57         (tail_recursion_label_p): New.
58         (merge_blocks_move_predecessor_nojumps): Don't disable the merge
59         because of a label.
60         (merge_blocks_move_successor_nojumps): Likewise.  Also move a
61         jump table.
62         (merge_blocks): Disable a merge because of tail recursion labels.
63         * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
64         Use a more accurate measure of not merging the join block.
65         (find_if_block): Don't disable conversion because of a label.
66         (find_if_case_1, find_if_case_2): Likewise.
67         * jump.c (duplicate_loop_exit_test): Preserve the kind of list
68         element when copying.
69         (squeeze_notes): Also leave EH notes.
70         (mark_jump_label): Ignore deleted labels.  Use an INSN_LIST for
71         REG_LABEL notes.
72         (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
73         deleting a label.
74         * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
75         NOTE_INSN_DELETED_LABEL.  Print `[# deleted]' for a label_ref
76         referring to a deleted label.  Convert tail handling to a switch.
77         * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
78         for NOTE_INSN_DELETED_LABEL.
79         (NOTE): Fix commentary.
80         * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
81         (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
82         (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
83         (LABEL_NUSES, LABEL_REFS): Likewise.
84         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
85
86 2000-05-12  Bruce Korb  <bkorb@gnu.org>
87
88         * fixinc/fixfixes.c(format_write): buglet & relaxed rules
89
90 2000-05-12  Zack Weinberg <zack@wolery.cumb.org>
91
92         * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
93         CTRL_defn_fix): Delete.
94         (fix_char_macro_defines, fix_char_macro_uses): Rename to
95         char_macro_def_fix and char_macro_use_fix, respectively.  Put
96         them into the FIXUP_TABLE.  Get the string to search for from
97         a c_fix_arg.
98
99         (format_write): New function.
100         (format_fix): Use it.
101
102         (FIX_PROC_HEAD): Constify text parameter.
103         (machine_name_fix): Constify all char *s.
104         * fixtests.c (skip_quote): Remove double static.
105
106         * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
107         ctrl_use_quotes): Update for new scheme.
108         * fixincl.x: Regenerate.
109
110 2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
111
112         * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
113         DWARF2_DEBUG.
114         (DWARF2_ASM_LINE_DEBUG_INFO): Define.
115         (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
116
117 2000-05-11  Richard Henderson  <rth@cygnus.com>
118
119         * calls.c: Revert both 05-09 patches.
120
121 2000-05-11  Alexandre Oliva  <aoliva@cygnus.com>
122
123         * config/mn10300/mn10300.c (print_operand): Print FP constants in
124         hexadecimal.
125         * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
126         for FP values.
127
128         * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
129         and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
130
131 2000-05-11  Jason Merrill  <jason@casey.cygnus.com>
132
133         * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
134
135 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
136
137         * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
138
139 Thu May 11 22:28:05 2000  Denis Chertykov  <denisc@overta.ru>
140
141         * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
142         * config/avr/avr.c (jump_over_one_insn_p): New function.
143         * config/avr/avr.md: New peepholes added. Output test and
144         conditional jump to "sbrc" or "sbrs" command.
145
146 2000-05-11  Mark Elbrecht  <snowball3@bigfoot.com>
147
148         * cppmain.c (main): Use IS_DIR_SEPARATOR.
149
150 2000-05-11  Jakub Jelinek  <jakub@redhat.com>
151
152         * except.c (find_exception_handler_labels_1): New function.
153         (find_exception_handler_labels): Split into two functions, dive
154         into CALL_PLACEHOLDERs when looking for exception handler labels.
155
156 2000-05-11 Stan Cox <scox@cygnus.com>
157
158         * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
159         * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
160         * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
161
162 2000-05-11  Bruce Korb  <bkorb@gnu.org>
163
164         * fixinc/fixfixes.c (double_slash_fix):  obsolete
165         (else_endif_label_fix): obsolete
166         (format_fix):  new, unused as yet
167         (main): obsolete
168         * fixinc/fixlib.h: added fix description struct for use by format_fix
169         * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
170         * fixinc/Makefile.in:  compile fixfixes.c and fixtests.c as separate
171         modules.  Removed the vestiges of the script version.
172         Added support for "make check".
173         * fixinc/check.diff: base diff file (needs work!!)
174         * fixinc/check.tpl: quiet the fixup output
175         * fixinc/fixtests.c (main): obsolete
176         * fixinc/fixincl.sh:  don't bother copying fixincl to ..
177         * fixinc/fixincl.tpl:  provide for arguments to c_fix routines
178
179 Thu May 11 11:57:02 MET DST 2000  Jan Hubicka <jh@suse.cz>
180
181         * toplev.c (rest_of_compilation): Remove dead code after
182         combine.
183
184 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
185
186         * cpphash.c (collect_funlike_expansion): Make "# is not
187         followed by a macro argument name" a pedwarn, not an error.
188         Preserve the # in the output.  Suppress the warning if lang_asm.
189
190 Thu May 11 01:19:31 2000  Jeffrey A Law  (law@cygnus.com)
191
192         * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
193         * configure: Rebuilt.
194
195 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
196
197         * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
198
199 2000-05-10  Kazu Hirata  <kazu@hxi.com>
200
201         * combine.c (try_combine): Fix a typo.
202
203 Wed May 10 21:31:44 2000  Jim Wilson  <wilson@cygnus.com>
204
205         * config/ia64/ia64.md (insv): Add comment.
206
207 2000-05-10  Richard Henderson  <rth@cygnus.com>
208
209         * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
210         * mklibgcc.in: Rewrite to not use functions.  Don't shortcut
211         dependancies on FPBIT and DPBIT.
212
213 2000-05-10  Nick Clifton  <nickc@redhat.com>
214
215         * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
216         when optimising for size.
217         (mark_used_regs:) Ditto.
218         (try_pre_increment_1): Ditto.
219
220 2000-05-10  Zack Weinberg  <zack@wolery.cumb.org>
221
222         * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
223         Make error message friendlier.
224
225         * cpphash.h (struct hashnode): Use struct hack for name
226         member.
227         * cpphash.c (struct hashdummy): New.
228         (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
229         (make_HASHNODE): No need to set ->name pointer.  Correct
230         setting of p.
231         (cpp_lookup): Make 'dummy' a struct hashdummy.  Tidy up a bit.
232
233 2000-05-10  Richard Henderson  <rth@cygnus.com>
234
235         * flow.c (find_basic_blocks_1): Remove any spare bb_note
236         after completion.
237
238 2000-05-10  Bruce Korb  <bkorb@gnu.org>
239
240         * fixinc/gnu-regex.c:  reg_syntax_t re_syntax_options must be static
241
242 2000-05-10  Eric Schweitz  <schweitz@nortelnetworks.com>
243
244         * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
245         after we enter .debug.
246
247 2000-05-10  Jason Merrill  <jason@casey.cygnus.com>
248
249         * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
250         abstract instance of a nested inline function.
251
252         * stor-layout.c (finish_record_layout): finalize_type_size
253         before laying out the pending_statics.
254
255 Wed 10 May 09:36:47 2000  Neil Booth  <NeilB@earthling.net>
256
257         * cpplex.c (spell_token): New function.
258         (spell_string, spell_comment, spell_name): fold into
259         spell_token.    
260         (I, S): Add macros.
261         (E, H): Remove macros.
262         (save_comment): Save comment opening characters too.
263         (_cpp_lex_file): Update to use spell_token.  Tidy up comment
264         handling.
265         * cpplib.h (I, S): Add macros.
266         (E, H): Remove macros.
267         (TTYPE_TABLE): Update entries for new speller.
268         (SYNTAX_ASSERT): Remove.
269
270 Wed 10 May 09:08:30 2000  Neil Booth  <NeilB@earthling.net>
271
272         * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
273         when removing escaped newlines.  Reverse sense of test for
274         escaped newline.
275
276 2000-05-09  Richard Henderson  <rth@cygnus.com>
277
278         * flow.c (find_basic_blocks_1): Do not delete the first
279         bb_note we run across.
280         (create_basic_block): Use reorder_insns to move an existing
281         bb_note to the correct place.
282
283 2000-05-09  Richard Henderson  <rth@cygnus.com>
284
285         * calls.c (expand_call): Increment currently_expanding_call
286         before calling optimize_tail_recursion.
287
288 Tue May  9 18:54:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
289
290         * reload1.c (reload_combine): Fix errors in last change.
291
292 2000-05-09  Zack Weinberg  <zack@wolery.cumb.org>
293
294         * gcc.c (used_arg): Skip over a semicolon at the end of the
295         split-up loop; don't break out of it.
296
297         * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
298         (tree.o): Depend on output.h.
299
300         * c-decl.c (pending_invalid_xref_file,
301         current_function_prototype_file): Constify.
302         (pushdecl): Constify a local char *.
303         (define_label): Constify filename parameter.
304         * c-lex.c (init_parse): Constify parameter and return value.
305         * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
306         * c-tree.h: Update prototypes.
307         * c-parse.in: Constify filename member of %union, and if_stmt_file.
308         * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
309         objc/objc-parse.c: Regenerate.
310
311         * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
312         * dwarfout.h: Update prototypes.
313         * expr.c (expand_expr): Constify a local char *.
314         * flags.h: Constify main_input_filename.
315         * function.c (expand_function_end): Constify filename parameter.
316         * genrecog.c (make_insn_sequence): Use a character array for
317         c_test_pos.
318         (main): Remove unused variables.
319         * input.h: Constify input_filename, main_input_filename, and
320         file_stack.name.  Update prototypes.
321         * output.h: Declare first_global_object_name and
322         weak_global_object_name here, as const char *.
323         * stmt.c (expand_asm_operands): Constify filename parameter.
324         * toplev.c (compile_file, push_srcloc, debug_start_source_file):
325         Constify filename parameter.
326         (input_filename, main_input_filename): Constify.
327         * toplev.h: Update prototypes.
328         * tree.c: Include output.h.  Don't declare
329         first_global_object_name or weak_global_object_name.  Clean up string
330         bashing in get_file_function_name_long.
331         * tree.h (struct tree_decl): Constify filename member.
332         (input_filename): Constify.
333         Update prototypes.
334         * varasm.c (first_global_object_name, weak_global_object_name):
335         Constify.
336         (assemble_start_function, assemble_variable): Clean up string bashing.
337
338         * gcc.c: Constify all spec-related strings initialized,
339         transitively, from string constants.  Constify all strings
340         and string variables related to multilibs.
341         (set_spec, read_specs): Cast argument to free to PTR.
342         (used_arg): Do not modify multilib_matches.  Use strncmp plus
343         length comparison to compare multilib switches.
344         * genmultilib: Constify everything declared in multilib.h.
345
346 Tue May  9 22:28:03 2000  Denis Chertykov  <denisc@overta.ru>
347
348         * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
349         as deleted.
350
351 Tue May  9 20:52:43 2000  Denis Chertykov  <denisc@overta.ru>
352
353         * config/avr/avr-protos.h (extra_constraint): change a type of
354         second argument from char to int to avoid warnings.
355         (asm_output_byte): Likewise.
356         
357         * config/avr/avr.c (MAX_LD_OFFSET) New macro.
358         (initial_elimination_offset): Handle elimination from
359         FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
360         (legitimate_address_p): Use MAX_LD_OFFSET.
361         (legitimize_address): Likewise.
362         (out_movqi_r_mr): Likewise.
363         (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
364         (out_movsi_r_mr): Use MAX_LD_OFFSET.
365         (out_movsi_mr_r): Likewise.
366         (out_movqi_mr_r): Likewise.
367         (out_movhi_mr_r): Likewise.
368         (notice_update_cc): Correct CC for the ashrqi3 with the shift
369         count as CONST_INT != 6.
370         (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
371         shift count is a CONSTANT_P, but not a CONST_INT.
372         (ashlhi3_out): Coding style modifications.
373         (ashlsi3_out): Likewise.
374         (ashrhi3_out): Likewise.
375         (ashrsi3_out): Likewise.
376         (lshrhi3_out): Likewise.
377         (lshrsi3_out): Likewise.
378         (ashrqi3_out): Generate shift for any known constant count without
379         scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
380         but not a CONST_INT.
381         (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
382         shift count is a CONSTANT_P, but not a CONST_INT. 
383         (extra_constraint): change a type of
384         second argument from char to int to avoid warnings.
385         (asm_output_byte): Likewise.
386         (asm_file_end): Output size generated commands count as a hex
387         number too.
388
389         * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
390
391         * config/avr/avr.md (addhi3): Fragment commented by &&0 is
392         removed.
393         (ashlqi3): Values of "length" attribute changed. Shift count
394         uses constraints 'n' instead of 'i'.
395         (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
396         shifts without clobber register.
397         (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
398         (call_insn): Correct test for which_alternative == 1 (was 0).
399         (call_value_insn): Likewise.
400         
401         * config/avr/t-avr: Remove definition of FLOAT while generates
402         fp-bit.c
403
404 2000-05-09  Bruce Korb  <bkorb@gnu.org>
405
406         * fixinc/check.tpl:  Template for checking fixes
407         * fixinc/inclhack.def:  Added 'test_text' for many fixes
408         disable hpux8_bogus_inlines on SCO
409         * fixinc/fixinc.sco:  Oh, yes, we don't need this any more.
410
411 Tue May  9 16:30:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
412
413         * calls.c (expand_call): Reorganize somewhat in order
414         to avoid unnecesary recalculation inside loop and make
415         tail call failure code cleaner.
416         
417 Tue May  9 06:30:20 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
418
419         * alias.c (nonlocal_reference_p): Minor reformatting.
420         * reload.c (find_equiv_reg): Simplify logic for
421         CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
422         some some reformatting.
423         * reload1.c (reload_combine): Don't assume everything in
424         CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
425
426 2000-05-08  Richard Henderson  <rth@cygnus.com>
427
428         * final.c (current_insn_predicate): New.
429         (final_scan_insn): Set it.
430         * output.h (current_insn_predicate): Declare.
431
432         * ifcvt.c (cond_exec_process_insns): New argument prob_val.
433         Attach it to call insns.
434         (cond_exec_process_if_block): Track probability for true and
435         false branches.
436         (dead_or_predicable): Likewise.
437
438         * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
439         (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
440         (PROB_VERY_LIKELY, PROB_ALWAYS): New.
441         (estimate_probability, expected_value_to_br_prob): Use them.
442
443         * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
444         * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
445         (ia64_expand_prediction): New.
446         (emit_insn_group_barriers): Don't look at notes.  Emit barriers
447         as needed after calls.
448         (ia64_epilogue_uses): Mark b0 used.
449         * config/ia64/ia64.md (beq_true, beq_false): Remove.
450         (bne_true, bne_false): Remove.
451         (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
452         (br_true, br_false): New.  Use predicate_operator and
453         ia64_expand_prediction.
454         (return_true, return_false): Likewise.
455         (call_internal): Use ia64_expand_prediction.  Don't emit stop bit.
456         (call_internal1, call_value_internal): Likewise.
457         (call_value_internal1, call_multiple_values_internal1): Likewise.
458
459         * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
460
461         * config/ia64/ia64.md (extendsfdf2): Split only after reload.
462
463 2000-05-08  Richard Henderson  <rth@cygnus.com>
464
465         * rtlanal.c (may_trap_p): Consider old-style and volatile
466         asms to trap.
467
468 Mon May  8 17:16:48 2000  Jim Wilson  <wilson@cygnus.com>
469
470         * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
471
472 2000-05-08  Richard Henderson  <rth@cygnus.com>
473
474         * config/ia64/ia64.h (predicate_operator): Declare.
475
476         * config/ia64/ia64.md (extendsfdf2): Split the nop case out
477         of existance.
478
479         * gensupport.c (process_rtx): Copy and post-process each member
480         of the define_insn rtvec individually.
481
482 Mon  8 May 22:17:35 2000  Neil Booth  <NeilB@earthling.net>
483
484         * cpplex.c (spell_token): New function.
485         (TOKEN_LEN): Add 1 for whitespace.
486         (_cpp_lex_file): Update to use spell_token.
487         * cpplib.h (E): Remove.
488         (TTYPE_TABLE): Update CPP_VSPACE entry.
489
490 2000-05-08  Richard Henderson  <rth@cygnus.com>
491
492         * flow.c (init_propagate_block_info): Watch out for conditional
493         branch to next instruction, and thus one outgoing edge.
494
495         * config/ia64/ia64.c (ia64_encode_section_info): Exit early
496         for global register variables; don't special case __[CD]TOR_LIST__;
497         mind ggc_p for string allocation.
498
499 2000-05-08  Nick Clifton  <nickc@cygnus.com>
500
501         * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
502
503 2000-05-08  Bruce Korb  <bkorb@gnu.org>
504
505         * fixinc/mkfixinc.sh:  fixinc.sco is no longer used
506         i?86-*-msdosdjgpp* no longer uses fixincludes
507         * fixinc/genfixes:  inclhack.sh and fixincl.sh are no longer generated
508         * fixinc/inclhack.sh:  deleted
509         * fixinc/hackshell.tpl:  deleted
510         * fixinc/inclhack.tpl:  deleted
511         * fixinc/Makefile.in:  Remove dependencies on above
512         * fixinc/fixincl.sh:  "DO NOT EDIT" text modified
513
514 2000-05-08  Andreas Jaeger  <aj@suse.de>
515
516         * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
517         support.
518
519 2000-05-07  Zack Weinberg  <zack@wolery.cumb.org>
520
521         * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
522         substitutions.
523
524 Sun  7 May 08:43:53 2000  Neil Booth  <NeilB@earthling.net>
525
526         * cpplex.c: Move new lexer definitions and prototypes
527         to top.  Conditional include these and the code if
528         NEW_LEXER is defined.  Rename functions whose names
529         clash if this code included.
530
531 Sun May  7 00:54:57 EDT 2000  John Wehle  (john@feith.com)
532
533         * rtl.def (COND_EXEC): Clarify.
534
535         * i386.md (extendsidi2): Clobber (reg:CC 17) in the
536         same fashion as zero_extendsidi2.
537
538 2000-05-06  Richard Henderson  <rth@cygnus.com>
539
540         * config/ia64/ia64.c (predicate_operator): New.
541         (ia64_print_operand): Handle 'J'.
542         (rtx_needs_barrier): Handle COND_EXEC.
543         * config/ia64/ia64.h (BRANCH_COST): Define.
544         (PREDICATE_CODES): Update.
545         * config/ia64/ia64.md: Docuement used unspec values.
546         (attr predicable): New.
547         (movxf, movxf_internal): New.
548         (extendsfdf2): Don't comment out nop.
549         (floatdidf2): Remove.
550         (truncxfsf2, truncxfdf2, floatdixf2): New.
551         (abssi2, absdi2): Put the neg in the "true" slot.
552         (conditional branch instructions): Mark not predicable.
553         (cmov*_internal): Use predicate_operator.  Split to cond_exec.
554         (abs*_internal): Likewise.
555         (alloc, set_bsp): Mark not predicable.
556         (barrier, insn_group_barrier, flush_cache): Likewise.
557         (define_cond_exec): New.
558
559 2000-05-06  Richard Henderson  <rth@cygnus.com>
560
561         * c-decl.c: Include "tm_p.h".
562
563         * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
564         (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
565         (ia64_expand_op_and_fetch): Declare.
566         * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
567         (setjmp_operand): Constify variables for XSTR.
568         (ia64_encode_section_info): Likewise.
569         (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
570         values to int.
571         (ia64_asm_output_external): Constify name.
572         (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
573         (process_for_unwind_directive): Provide switch default.
574         (ia64_expand_compare_and_swap): Remove unused variables.
575         (ia64_expand_builtin): Likewise.
576         * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
577         for printing.
578
579         * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
580         (symbolic_operand, function_operand, setjmp_operand): Likewise.
581         (shift_count_operand, shift_32bit_count_operand): Likewise.
582         (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
583         (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
584         (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
585         (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
586         (ia64_expand_builtin): Likewise.
587         (call_multiple_values_operation): Make dest_regno unsigned.
588
589 2000-05-06  Richard Henderson  <rth@cygnus.com>
590
591         * rtl.def (DEFINE_COND_EXEC): New.
592         * md.texi: Document it.
593
594         * gensupport.c (input_file): Remove.
595         (struct queue_elem): Add lineno.
596         (rtx_ready_queue): Remove.
597         (errors): New.
598         (predicable_default): New.
599         (predicable_true, predicable_false): New.
600         (define_attr_queue, define_attr_tail): New.
601         (define_insn_queue, define_insn_tail): New.
602         (define_cond_exec_queue, define_cond_exec_tail): New.
603         (other_queue, other_tail): New.
604         (queue_pattern): New.
605         (process_rtx): Add patterns to the appropriate queues.
606         (is_predicable, identify_predicable_attribute): New.
607         (n_alternatives, collect_insn_data): New.
608         (alter_predicate_for_insn, alter_test_for_insn): New.
609         (shift_output_template, alter_output_for_insn): New.
610         (process_one_cond_exec, process_define_cond_exec): New.
611         (init_md_reader): Read the entire file.  Process define_cond_exec.
612         (read_md_rtx): Return elements from the queues.
613
614 2000-05-06  Richard Henderson  <rth@cygnus.com>
615
616         * flow.c (mark_set_1): Don't update conditional life info
617         if the register is not_dead.
618
619 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
620
621         * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
622         (mostlyclean): Also delete fixincl, fixinc.sh, and
623         specs.ready, and make clean in the fixinc subdir.
624
625 2000-05-06  Richard Henderson  <rth@cygnus.com>
626
627         * Makefile.in (gensupport.o): Compile for the host.
628         (host-prefix gensuuprt.o): Remove.
629         (genflags.o): Depend on gensupport.h and OBSTACK_H.
630         (genattrtab.o): Likewise.
631         (gencodes.o): Depend on gensupport.h.
632         (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
633         (genpeep.o, genattr.o, genoutput.o): Likewise.
634
635         * gensupport.c (obstack, rtl_obstack): New.
636         (init_md_reader): Initialize rtl_obstack.
637         * gensupport.h (rtl_obstack): Declare.
638         (message_with_line): Declare.
639
640         * genattr.c: Remove all traces of obstack manipulation.
641         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
642         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
643
644         * genattrtab.c (obstack, rtl_obstack): Remove.
645         (main): Don't init rtl_obstack.
646         * genflags.c: Likewise.
647
648         * genrecog.c (message_with_line): Move ...
649         * gensupport.c: ... here.
650
651 2000-05-06  Richard Henderson  <rth@cygnus.com>
652
653         * c-typeck.c (build_c_cast): Remove dead code.
654
655 2000-05-06  Richard Henderson  <rth@cygnus.com>
656
657         * flow.c (split_edge): Don't allocate global_live_at_start for
658         the new block unless the old blocks had them as well.
659
660         * flow.c (mark_set_1): Respect not_dead when updating reg_live.
661
662         * ifcvt.c (noce_process_if_block): Don't use an insn_b from
663         test_bb if a or b uses x.
664
665 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
666
667         * cpphash.h: Remove conditional #define of __extension__.
668         * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
669         RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
670         (ENABLE_RTL_CHECKING only).
671         * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
672         CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
673         (ENABLE_TREE_CHECKING only).
674         * varray.h: Add __extension__ to VARRAY_CHECK macro
675         (ENABLE_CHECKING only).
676
677 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
678
679         Use new tail-calling mechanism on ARM.
680         * arm.md (sibcall, sibcall_value): New expands.
681         (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
682         (tailcalling peepholes): Delete.
683         (push_multi): Simplify.
684         * arm.c (lr_save_eliminated): Delete definition.
685         (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
686         (output_return_instruction): Remove checks on lr_save_eliminated.
687         (output_arm_prologue): Remove old tail-calling code.
688         (arm_output_epilogue): New parameter, really_return.  All callers
689         changed.  Handle tail-calling epilogues.
690         * arm.h (lr_save_eliminated): Delete declaration.
691         (frame_pointer_needed): Delete declaration.
692         * arm-protos.h (arm_output_epilogue): Adjust prototype.
693
694         * arm.md (is_thumb): Examine symbol thumb_code, not expression
695         TARGET_ARM.
696         * arm.c (thumb_code): Define it.
697         (arm_override_options): Set it.
698         * arm.h (thumb_code): Declare it.
699         
700 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
701
702         * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
703
704 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
705
706         * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
707         bogus clobber to insns.
708         (load_multiple_operation, store_mulitple_operation): Don't check 
709         for it.
710         * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
711
712         * arm.md (and_scc, ior_scc): Add missing mode.
713
714         * arm.md (call_value_symbol): Remove predicate from op2.
715
716         * arm.h (SPECIAL_MODE_PREDICATES): Define.
717         
718 Sat May  6 06:25:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
719
720         * expr.c (get_subtarget): New function.
721         (force_operand, expand_expr, do_store_flag): Use it.
722
723         * toplev.c (compile_file): Don't take strlen of NAME if null.
724
725 2000-05-06  David Edelsohn  <edelsohn@gnu.org>
726
727         * xcoffout.c (xcoff_current_include_file,
728         xcoff_current_function_file, xcoff_lastfile): Constify char *.
729         (xcoffout_source_file, xcoffout_source_line): Make filename 'const
730         char *'.
731         (xcoffout_declare_function): Make name 'const char *'.
732         (xcoffout_end_epilogue): Make fname 'const char *'
733         * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
734         xcoffout_declare_function, xcoffout_source_line): Match above.
735
736         * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
737         -maix64 is error.
738         * rs6000.c (print_operand): Fix lossage typo.
739         (output_cbranch): Remove "cr" decoration for now.
740         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'. 
741
742 Sat May  6 06:55:32 2000  Denis Chertykov  <denisc@overta.ru>
743
744         * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
745         constant count.
746
747 2000-05-05  Bruce Korb  <bkorb@gnu.org>
748
749         * fixinc/genfixes: Improve the matching for make target names
750
751 2000-05-05  Catherine Moore  <clm@cygnus.com>
752
753         * c-common.c (decl_attributes):  For TYPE_DECLs attach the
754         attribute to the decl.
755         * c-decl.c (pushdecl): Propagate the USED attribute to the 
756         type copy.
757
758 2000-05-05  Richard Henderson  <rth@cygnus.com>
759
760         * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
761         same way emit_group_load does.
762
763 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
764
765         * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
766
767         * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
768         (main): Likewise.
769
770 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
771
772         * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
773
774 Fri May  5 10:29:21 2000  Marc Espie <espie@cvs.openbsd.org>
775
776         * config/openbsd.h (LINK_SPEC): pass correct flags to ld 
777         to support -shared, on platforms with dynamic libraries.
778
779 Fri May  5 10:27:06 2000  Philippe De Muyter  <phdm@macqel.be>
780
781         * system.h (S_ISBLK): Provide fallback definition.
782
783 2000-05-05  Geoff Berry  <geoffb@bops.com>
784
785         * extend.texi (Extended Asm): Document inability to give asm
786         statements access to condition codes.
787
788 2000-05-05  Marek Michalkiewicz  <marekm@linux.org.pl>
789
790         * varasm.c (asm_emit_uninitialised): Use 0, not NULL
791         as arg 2 of UNIQUE_SECTION.
792
793 Fri May  5 10:11:41 2000  Jeffrey A Law  (law@cygnus.com)
794
795         * predict.c: Remove May 4 change.
796         * bb-reorder.c (make_reorder_chain): Do not perform block movement
797         if we have predicted the branch at 50-50 probability.
798
799 2000-05-05  Richard Henderson  <rth@cygnus.com>
800
801         * flow.c (init_propagate_block_info): Fix merge error
802         in HAVE_conditional_execution code.
803
804 Fri May  5 07:43:50 2000  Denis Chertykov  <denisc@overta.ru>
805
806         * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
807         shift cycle for unknown shift count. Also generates dec + brpl.
808         (ashlqi3_out): Don't generate dec + brpl which now generates by
809         `out_shift_with_cnt'.
810         (ashlhi3_out): Likewise.
811         (ashlsi3_out): Likewise.
812         (ashrqi3_out): Likewise.
813         (ashrhi3_out): Likewise.
814         (ashrsi3_out): Likewise.
815         (lshrqi3_out): Likewise.
816         (lshrhi3_out): Likewise.
817         (lshrsi3_out): Likewise.
818
819 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
820
821         * gcc.c (free_split_directories): Correct typo in explanation
822         of make_relative_prefix.
823
824 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
825
826         * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
827         comparison codes to branch_comparison_operator.
828
829 2000-05-04  Richard Henderson  <rth@cygnus.com>
830
831         * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
832
833 2000-05-04  Richard Henderson  <rth@cygnus.com>
834
835         * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
836         (DPBIT_FUNCS): Remove _sf_to_usi.
837         (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
838
839         * ifcvt.c (noce_process_if_block): Fail if A or B modified
840         between condition and jump.
841
842         * libgcc2.c (near eh_context_specific): Comment #endif string.
843         * longlong.h: Don't use strings with embedded newlines.
844
845 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
846
847         * config/rs6000/rs6000-protos.h: Add output_cbranch.
848         * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
849         (print_operand): Delete %t and %T codes.
850         (output_cbranch): New function.  Support branch prediction.
851         * config/rs6000/rs6000.md: Use output_cbranch for
852         conditional branches and returns.
853
854 2000-05-04  Jason Merrill  <jason@casey.cygnus.com>
855
856         * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
857         * stor-layout.c (place_field): Likewise.
858         * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
859         * expr.c (store_expr): Make align unsigned.
860         * explow.c (plus_constant_wide): Make low words unsigned.
861         * expmed.c (choose_multiplier): Likewise.
862         * fold-const.c (fold):  Likewise.
863         * tree.h (build_int_2): Likewise.
864         * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
865         * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
866         (init_emit): Change cast to unsigned char*.
867         * varasm.c (compare_constant_1): Add cast to char*.
868         * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
869         * reload1.c (reload): Likewise.
870
871         * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
872
873 Thu May  4 14:37:23 2000  Jeffrey A Law  (law@cygnus.com)
874
875         * predict.c (estimate_probability): If no prediction was found, then
876         predict the successor that is the next physical block (if such a
877         successor exists).
878
879 2000-05-04  Richard Henderson  <rth@cygnus.com>
880
881         * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
882
883 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
884
885         * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
886
887 2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
888
889         * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move 
890         attribute macros from here ...
891         (CPP_SPEC): to here.
892         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
893         (CPP_SPEC): Likewise.
894         * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros. 
895
896         * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
897         (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
898
899 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
900
901         * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
902         
903         * diagnostic (vbuild_message_string, build_message_string,
904         build_location_prefix, output_get_prefix, init_output_buffer,
905         output_notice, vline_wrapper_message_with_location,
906         v_message_with_decl, default_print_error_function): De-constify.
907         (set_real_maximum_length): Prototype.
908
909         * diagnostic.h (struct output_buffer, init_output_buffer,
910         output_get_prefix, output_set_prefix): De-constify.
911
912         * function.c (init_function_start): Constify.
913
914         * gensupport.c (remove_constraints, process_rtx): Prototype.
915
916         * gthr-posix.h: Indent uses of #pragma.
917
918         * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
919         Prototype.
920
921         * predict.c (find_expected_value): Delete prototype.
922         (expected_value_to_br_prob): Initialize variable `ev_reg'.
923
924         * sbitmap.h (debug_sbitmap): Prototype.
925
926         * ssa.c (compute_coalesced_reg_partition): Prototype.
927
928         * stor-layout.c (debug_rli): Prototype.
929
930         * tree.h (round_down): Prototype.
931         (init_function_start): Constify.
932
933 2000-05-04  Zack Weinberg  <zack@wolery.cumb.org>
934
935         * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
936         (overly conservative).  Change extern inline wrappers to
937         static inline, define them always, use PARAMS properly.
938         * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
939         whitespace warnings for \f and \v at the beginning of a line.
940
941 Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
942
943         * haifa-sched.c (schedule_insns): Free the flow edge list when it
944         is no longer needed
945
946 2000-05-04  Bruce Korb  <bkorb@gnu.org>
947
948         * fixincl/inclhack.def: added broken_cabs -
949         Remove `extern double cabs' declarations from math.h
950         * fixincl/inclhack.sh: regen
951         * fixincl/fixincl.x: regen
952         * fixincl/fixincl.c: Remove BOGOSITY code
953         * fixincl/mkfixinc.sh: Remove code for installing "shell" version
954
955 Thu May  4 09:45:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
956
957         * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
958         MEM_ALIAS_SET.
959         * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
960         when calling MEM_COPY_ATTRIBUTES.
961         * emit-rtl.c (operand_subword, change_address): Likewise.
962         * explow.c (stabilize): Likewise.
963         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
964         * integrate.c (copy_rtx_and_substitute): Likewise.
965         * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
966         when calling MEM_COPY_ATTRIBUTES.
967         (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
968         Likewise.
969         * cse.c (gen_lowpart_if_possible): Likewise.
970         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
971         * optabs.c (gen_move_insn): Likewise.
972         * recog.c (validate_replace_rtx_1): Likewise.
973         * simplify-rtx.c (add_mem_for_addr): Likewise.
974         * stmt.c (expand_anon_union_decl): Likewise.
975         * config/arm/arm.md: Likewise.
976         * config/h8300/h7300.c (fix_bit_operand): Likewise.
977         * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
978         (block_move_no_loop, block_move_sequence): Likewise.
979         * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
980         * config/alpha/alpha.c (get_aligned_mem): Likewise.
981         Clear MEM_ALIAS_SET.
982         * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
983         MEM_COPY_ATTRIBUTES.
984
985 2000-05-03  Robert Lipe <robertlipe@usa.net>
986         
987         * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
988         to suppress libgcc1.
989         (i[34567]86-*-sco3.2v5*) Likewise.
990         (i[34567]86-*-sco3.2v4*) Likewise.
991         (i[34567]86-*-sco) Likewise.
992         (i[34567]86-*-solaris2) Likewise.
993         (i[34567]86-*-sysv5*) Likewise.
994         (i[34567]86-*-sysv4*) Likewise.
995         (i[34567]86-*-udk*) Likewise.
996         (i[34567]86-*-sysv*) Likewise.
997
998 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
999
1000         * cpphash.h (U): New define, to correct type of string constants.
1001         (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
1002         routines, to do casts when passing unsigned strings to libc.
1003         * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
1004
1005         * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
1006         * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
1007         * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
1008         * cpplex.c (parse_ifdef, parse_include, validate_else): Make
1009         second argument an U_CHAR *.
1010
1011         * cppinit.c (builtin_array): Make name and value U_CHAR *, add
1012         length field, clean up initializer.
1013         (ISTABLE): Add __extension__ to designated-
1014         initializers version.
1015         * cpplex.c (CHARTAB): Likewise.
1016
1017         * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
1018         case so the file won't be empty.
1019
1020 Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
1021
1022         * bb-reorder.c (struct reorder_block_def): Member succ removed.
1023         (REORDER_BLOCK_SUCC): Removed.
1024         (enum reorder_skip_type): Removed.
1025         (skip_insns_between_block): Renamed to skip_insns_after_block.
1026         Removed second argument. Removed dead code and cleaned up.
1027         (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
1028         (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
1029         second parameter to skip_insns_after_block.
1030
1031 Wed May  3 13:29:54 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1032
1033         * tree.c (staticp, case LABEL_DECL): New case.
1034
1035 2000-05-03  Richard Henderson  <rth@cygnus.com>
1036
1037         * Makefile.in (start.encap): Do not depend on LIBGCC1.
1038
1039         * mklibgcc1.in: Fix typo last change.
1040
1041 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
1042
1043         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
1044         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
1045         (GCC_CFLAGS): Use it.
1046         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
1047         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
1048         objc/Make-lang.in: Use it.
1049
1050 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
1051
1052         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
1053
1054 2000-05-03  Richard Henderson  <rth@cygnus.com>
1055
1056         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
1057         LIBGCC1 empty with libgcc1.null.
1058
1059 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
1060
1061         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
1062         change.
1063
1064 2000-05-03  Greg McGary  <gkm@gnu.org>
1065
1066         * tree.h (tree_common): Add bounded_flag member.  Remove
1067         inaccurate comment about number of remaining bits.
1068         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
1069         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
1070         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
1071         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
1072         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
1073         (TYPE_QUAL_BOUNDED): New constant.
1074         (TYPE_QUALS): Handle bounded qualifier.
1075         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
1076         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
1077         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
1078         TYPE_AMBIENT_BOUNDEDNESS): New macros.
1079         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
1080         (tree_type): Add pointer_depth member.  Remove
1081         inaccurate comment about number of remaining bits.
1082         (DECL_POINTER_DEPTH): Add macro.
1083         (tree_decl): Add pointer_depth member.
1084
1085 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
1086
1087         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
1088         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
1089         (lshrhi3_out): Likewise.
1090         (ashrsi3_out): bugfix in shift by 8.
1091         (test_hard_reg_class): New function.
1092         * config/avr/avr.md: Bugfix inside conditions in peepholes.
1093         (ashlhi3): removed define_expand of this pattern.
1094         (*ashlhi3_insn): renamed to ashlhi3.
1095         (ashlsi3): removed define_expand of this pattern.
1096         (*ashlsi3_insn): renamed to ashlsi3.
1097         (ashrqi3): removed define_expand of this pattern.
1098         (*ashrqi3_insn): renamed to ashrqi3.
1099         (ashrhi3): removed define_expand of this pattern.
1100         (*ashrhi3_insn): renamed to ashrhi3.
1101         (ashrsi3): removed define_expand of this pattern.
1102         (*ashrsi3_insn): renamed to ashrsi3.
1103         (lshrhi3): removed define_expand of this pattern.
1104         (*lshrhi3_insn): renamed to lshrhi3.
1105         (lshrsi3): removed define_expand of this pattern.
1106         (*lshrsi3_insn): renamed to lshrsi3.
1107
1108 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
1109
1110         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
1111         inclusion of "system.h".
1112
1113 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
1114
1115         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
1116         TREE_ASM_WRITTEN.
1117
1118 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
1119
1120         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
1121         if -mauto-pic is on.
1122         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
1123         -mconstant-gp is in effect and function-descriptors are being used
1124         to make indirect calls.
1125         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
1126         (MASK_AUTO_PIC): Ditto.
1127         (TARGET_CONST_GP): Ditto.
1128         (TARGET_AUTO_PIC): Ditto.
1129         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
1130         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
1131         -mno-pic is in effect.
1132         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
1133         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
1134         -mauto-pic is in effect.
1135         (gprel64_offset): New pattern.
1136         (load_gprel64): Ditto.
1137         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
1138         -mconstant-gp is in effect, no need to preserve gp around direct
1139         calls.
1140         (call_value): Ditto.
1141         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
1142         (FUNCTION_PROFILER): Define.
1143         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
1144         @fptr() directive when -mno-pic or -mauto-pic is in effect.
1145         (ASM_OUTPUT_DESTRUCTOR): Ditto.
1146
1147 2000-05-03  Richard Henderson  <rth@cygnus.com>
1148
1149         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
1150         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
1151         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
1152         (mklibgcc, libgcc.mk): New targets.
1153         (libgcc.a): Use libgcc.mk.
1154         (stmp-multilib): Likewise.
1155         (stmp-multilib-sub): Remove.
1156         (mostlyclean): Don't delete libgcc2 temp files.
1157         * configure.in (AC_PROG_CC_C_O): Add.
1158         (NO_MINUS_C_MINUS_O): Substitute it.
1159         (all_outputs): Add mklibgcc.
1160         * mklibgcc.in: New file.
1161
1162 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
1163
1164         * cppexp.c (op_t): Make an int.
1165
1166         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
1167
1168         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
1169
1170         * gensupport.c (process_rtx): Fix macros used.
1171
1172 2000-05-03  Richard Henderson  <rth@cygnus.com>
1173
1174         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
1175         call-clobbered registers of a call.
1176
1177 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
1178
1179         * gensupport.c: New file.
1180         * gensupport.h: New file.
1181         * Makefile.in (HOST_RTL): Depend on gensupport.
1182         (gensupport.o) New rule.
1183         * genattr.c: Use gensupport for reading .md files.
1184         * genattrtab.c: Ditto. 
1185         * gencodes.c: Ditto. 
1186         * genconfig.c: Ditto. 
1187         * genemit.c: Ditto. 
1188         * genextract.c: Ditto. 
1189         * genflags.c: Ditto. 
1190         * genopinit.c: Ditto. 
1191         * genoutput.c: Ditto. 
1192         * genpeep.c: Ditto. 
1193         * genrecog.c: Ditto.
1194         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
1195         * md.texi (Insn Splitting): Document define_insn_and_split.
1196
1197 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
1198
1199         * flow.c (verify_flow_info): Added two more sanity checks. The
1200         first checks that the blocks are numbered consecutively. The second
1201         checks that n_basic_blocks is actually equal to the number of
1202         basic blocks in the insn chain.
1203
1204 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
1205
1206         * cpplib.h: Add accessor macros for token lists.
1207         * cpplib.c, cpphash.c, cpplex.c: Use them.
1208
1209 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1210
1211         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
1212         memory usage if not in a function.
1213         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
1214         return address if static.
1215
1216 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1217
1218         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
1219         whether address may trap.
1220
1221 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
1222
1223         * bb-reorder (chain_reorder_blocks): Changed code to test for
1224         EDGE_FALLTHRU rather than making erroneous assumption that the
1225         first outgoing edge is the fall-through edge.
1226
1227 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
1228
1229         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new 
1230         ABI for varargs, across all MIPS. This is incompatible because the
1231         va_list (__builtin_va_list) structure is different, so a compilation
1232         unit passing a va_list and a compilation unit being passed one, should
1233         both be compiled with the same ABI. (The old structure had two 
1234         pointers, now it has three.)
1235
1236 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
1237
1238         * bb-reorder.c (struct reorder_block_def): Remove members end,
1239         block_begin, and block_end.
1240         (REORDER_BLOCK_OLD_END): Delete.
1241         (REORDER_BLOCK_BEGIN): Delete.
1242         (REORDER_BLOCK_END): Delete.
1243         (chain_reorder_blocks): Remove dead code.
1244
1245 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
1246
1247         * bb-reorder.c (remove_scope_notes): Check for both types of scope
1248         notes as the end of a basic block before deleting.
1249
1250 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
1251
1252         * final.c (final_start_function): Fix spelling of "necessary".
1253
1254 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
1255
1256         * toplev.c (debug_ignore_block): Return int.
1257         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
1258         * toplev.h, dwarf2out.h: Adjust.
1259         * emit-rtl.c (remove_unnecessary_notes): Test return value.
1260
1261         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
1262         * toplev.c, final.c, rtl.h: Adjust.
1263
1264 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1265
1266         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
1267         * configure.in: Look for makeinfo in the unified tree, then
1268         for a system makeinfo which is sufficiently new.
1269         * Makefile.in: If configure says makeinfo is too old, don't
1270         build or install Info documentation.
1271
1272 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1273
1274         * cpphash.c (collect_params): Fix off-by-one error.
1275         (dump_hash_helper): Dump all four macro nodetypes.
1276
1277 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
1278
1279         * cpphash.c (trad_stringify): Adjust p after stringification as
1280         well.
1281
1282 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1283
1284         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
1285         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
1286
1287         * cppfiles.c (file_cleanup): Delete.
1288         * cpphash.c (macro_cleanup): Delete.
1289         (collect_objlike_expansion, collect_funlike_expansion,
1290         macarg, scan_arguments): Remove CPP_POP case.
1291
1292         * cpplex.c (null_cleanup): Delete.
1293         (cpp_pop_buffer): Do the work that was done in the cleanups
1294         here.  Call _cpp_unwind_if_stack from here.
1295         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
1296         cpp_scan_buffer): Run until we see CPP_EOF and the top of
1297         stack is the buffer _below_ the one we stacked.
1298         (cpp_get_token): Always pop an exhausted buffer.  Return
1299         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
1300         * cpplib.c (skip_if_group): Don't call cpp_get_token to
1301         increment the line number.
1302         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
1303
1304         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
1305         we see CPP_EOF and the top of stack is the buffer _below_ the
1306         one we stacked.
1307         * scan-decls.c: Likewise.
1308
1309 2000-05-02  Andrew Haley  <aph@cygnus.com>
1310
1311         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
1312         where this function is called for the second time on a decl that
1313         has had its section info changed in such a way as to move it out
1314         of small data/bss.  
1315         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
1316
1317 2000-05-01  Richard Henderson  <rth@cygnus.com>
1318
1319         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
1320         the sequence we're moving, not to merge_bb->head.
1321
1322 2000-05-01  Richard Henderson  <rth@cygnus.com>
1323
1324         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
1325         reference to alpha/t-linux.
1326         (alpha*-*-linux-gnu*): Likewise.
1327         * configure: Rebuild.
1328
1329         * calls.c (expand_call): Don't emit reg notes for a sibcall.
1330
1331         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
1332         if not in SSA form.
1333
1334         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
1335
1336 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
1337
1338         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
1339         TREE_THIS_VOLATILE.
1340
1341 2000-05-01  Richard Henderson  <rth@cygnus.com>
1342
1343         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
1344         emit_conditional_move.
1345
1346 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
1347
1348         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
1349         as the dynamic linker.
1350
1351 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
1352
1353         * cppfiles.c (open_include_file): Open file in blocking mode.
1354         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
1355         Only exclude block devices and directories.
1356
1357         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
1358         static.  Allocate the hashnode and its string in the same
1359         block of memory.
1360         (del_HASHNODE): Don't free h->name.
1361         (_cpp_lookup): If there is no entry for this string, create
1362         one, of type T_VOID.
1363         (_cpp_lookup_slot): Delete.
1364         * cpphash.h: Update prototypes.
1365
1366         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
1367         not hp == NULL.
1368         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
1369         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
1370         node here, just fill in the value field properly.  "Delete"
1371         entries by setting the value field to T_VOID.  Check for
1372         hp->type == T_VOID, not hp == NULL.
1373
1374         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
1375         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
1376         hashtab.h.
1377
1378 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
1379
1380         * config/mn10300/mn10300.c (print_operand_address): Do not add
1381         zero to SP.
1382
1383         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
1384         adjusted by less than 256 bytes, use ret regardless of having any
1385         callee-saved register to restore.
1386
1387 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
1388
1389         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
1390
1391 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
1392
1393         * config/i386/djgpp.h (INT_ASM_OP): Define.
1394         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
1395         (ASM_WEAKEN_LABEL): Define.
1396         (MASK_BNU210): Define.
1397         (SUBTARGET_SWITCHES): Define.
1398         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
1399         (MAKE_DECL_ONE_ONLY): Define.
1400         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
1401
1402 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
1403
1404         * i386/cygwin.h (INT_ASM_OP): Define.
1405
1406 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
1407
1408         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
1409         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
1410
1411 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
1412
1413         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
1414         __tmp_reg__ and __zero_reg__ initialization.
1415
1416 2000-04-30  Richard Henderson  <rth@cygnus.com>
1417
1418         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
1419
1420         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
1421         referenced bewteen the condition and the jump.  Don't delete
1422         anything but the jump.
1423
1424 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
1425
1426         * bb-reorder.c (scope_def): New struct.
1427         (scope_forest_info): New struct.
1428         (struct reorder_block_def): New member "scope".
1429         (REORDER_BLOCK_SCOPE): New macro.
1430         (relate_bbs_with_scopes): New function and prototype.
1431         (make_new_scope): Likewise.
1432         (build_scope_forest): Likewise.
1433         (remove_scope_notes): Likewise.
1434         (insert_intra_1): Likewise.
1435         (insert_intra_bb_scope_notes): Likewise.
1436         (insert_inter_bb_scope_notes): Likewise.
1437         (rebuild_scope_notes): Likewise.
1438         (free_scope_forest_1): Likewise.
1439         (free_scope_forest): Likewise.
1440         (dump_scope_forest): Likewise.
1441         (dump_scope_forest_1): Likewise.
1442         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
1443         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
1444         block.
1445         (reorder_basic_blocks): Added calls to build_scope_scope_forest
1446         and remove_scope_notes before reordering is done. Added calls to
1447         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
1448         after reordering is done.
1449
1450 2000-40-30  Bruce Korb  <bkorb@gnu.org>
1451
1452         * fixinc/inclhack.def:  Added definitions needed by OSR5,
1453         removed two stale entries (defined away with OLD_CPP).
1454         * fixinc/inclhack.sh: regen
1455         * fixinc/fixincl.x: regen
1456
1457 2000-04-30  Richard Henderson  <rth@cygnus.com>
1458
1459         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
1460         from the last insn in the sequence.
1461
1462 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
1463
1464         * cpplex.c (cpp_idcmp): New function.
1465         * cpplib.h: Prototype it.
1466         * scan_decls.c (scan_decls): Use it to inspect token names.
1467         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
1468         the file being run through the preprocessor.
1469         (check_macro_names): Provide length of token to cpp_defined.
1470
1471         * Makefile.in: Remove stale warning message.
1472
1473         * cppfiles.c (redundant_include_p): Provide length of token to
1474         cpp_defined.
1475         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
1476         values are unsigned int.
1477         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
1478         (_cpp_lookup_slot): Do not calculate the hash, either.
1479         * cpphash.h: Update prototypes.
1480         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
1481         Hashes are unsigned int.  Calculate hash here, pass by value
1482         to _cpp_lookup_slot.
1483
1484 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
1485
1486         * simplify-rtx.c (check_value_useless): Delete function.
1487         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
1488         by hand.
1489         (cselib_invalidate_regno): Likewise.
1490         (cselib_invalidate_mem_1): Likewise.
1491         (references_value_p): Recognize useless values by the fact that they
1492         have no locations.
1493         (discard_useless_values): Likewise.
1494         (cselib_record_set): This may turn a useless value
1495         into a useful one.
1496
1497 2000-04-30  Richard Henderson  <rth@cygnus.com>
1498
1499         * config/d30v: New port.
1500
1501         * configure.in (d30v-*): Set fp format.
1502         * configure: Rebuild.
1503
1504 2000-04-30  Richard Henderson  <rth@cygnus.com>
1505
1506         * ifcvt.c: New file.
1507         * Makefile.in (OBJS): Add it.
1508         (ifcvt.o): New target.
1509         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
1510         and conditional arithmetic.
1511         (find_insert_position): Remove.
1512         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
1513         * toplev.c (DFI_ce, DFI_ce2): New.
1514         (dump_file): Add ce and ce2 dumps.
1515         (rest_of_compilation): Run if_convert a couple o times.  Set
1516         cse_not_expected after cse2.  Don't set no_new_pseudos until
1517         after sched1 or recompute_reg_usage.
1518
1519 2000-04-30  Richard Henderson  <rth@cygnus.com>
1520
1521         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
1522         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
1523
1524 2000-04-30  Richard Henderson  <rth@cygnus.com>
1525
1526         * flow.c (struct reg_cond_life_info): New.
1527         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
1528         (init_propagate_block_info): Initialize them.
1529         (free_propagate_block_info): Destruct them.
1530         (mark_set_1): Consider conditional life before killing a register.
1531         (mark_regno_cond_dead): New.
1532         (free_reg_cond_life_info): New.
1533         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
1534         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
1535         (mark_used_reg): Record conditional life.
1536
1537         * haifa-sched.c (schedule_insns): Disable death counting
1538         sanity check for HAVE_conditional_execution.
1539
1540 2000-04-30  Richard Henderson  <rth@cygnus.com>
1541
1542         * Makefile.in (TIMEVAR_H): New.
1543         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
1544         (timevar.h): Remove rule.
1545
1546 2000-04-29  Richard Henderson  <rth@cygnus.com>
1547
1548         * config/alpha/crtend.asm: Use C comments instead of #.
1549         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
1550
1551         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
1552
1553 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
1554
1555         * cpphash.h (enum node_type: Take out T_MCONST.
1556         (union hashval): Move into struct hashnode.
1557         (struct hashnode): Pack tighter.  Remove file, line, col
1558         members.
1559         * cpphash.c: Constify most of the macro-definition structures.
1560         (struct definition): Replace by struct object_defn
1561         and struct funct_defn.  Put file, line, column information
1562         here.  All users updated to match.
1563         (_cpp_create_definition, _cpp_macroexpand): Remove special
1564         case for #define WORD OTHERWORD.
1565         * cpplib.c (do_undef): Remove T_MCONST case.
1566
1567         * cpphash.h: Move struct reflist, struct definition, and the
1568         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
1569         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
1570         * cpphash.c (_cpp_free_definition): Free data pointed to by
1571         MCONST, XCONST, MACRO, and FMACRO nodes properly.
1572         (_cpp_create_definition, del_HASHNODE): Just call
1573         _cpp_free_definition to clear out a hashnode.
1574         * cpplib.c (do_pragma_poison): Likewise.
1575
1576 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
1577
1578         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
1579         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
1580         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
1581         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
1582         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
1583         REGNO_AM33_P): Redefine in terms of the new macros.
1584         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
1585         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
1586         STRUCT_VALUE): Likewise.
1587         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
1588         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
1589
1590 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1591
1592         * regmove.c (struct record_stack_memrefs_data): New.
1593         (record_stack_memrefs): New function.
1594         (combine_stack_adjustments_for_block): Use it.
1595
1596 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1597
1598         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
1599         use special_function_p to detect alloca.
1600
1601 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
1602
1603         * gcc.texi: Fixes for makeinfo 4.0 --html.
1604
1605 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
1606
1607         * pcp.h: Delete file.
1608
1609 2000-04-28  Kazu Hirata  <kazu@hxi.com>
1610
1611         * h8300.c (function_epilogue): Clean up flags when the last insn
1612         in a function is a barrier.
1613
1614 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
1615
1616         * configure.in (sparc-hal-solaris2*): protect [] glob from
1617         my expansion.
1618         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
1619         rather than hard-coded constants in target_cpu_default2.
1620         * configure: Regenerate.
1621
1622 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
1623
1624         * tree.c (get_callee_fndecl): Extract the initial value from
1625         a readonly decl.
1626
1627 2000-04-28  Richard Henderson  <rth@cygnus.com>
1628
1629         * varasm.c (record_constant_1): Record the CODE_LABEL when
1630         taking the address of a LABEL_REF.
1631
1632 2000-04-28  Richard Henderson  <rth@cygnus.com>
1633             Jan Hubicka  <jh@suse.cz>
1634
1635         * calls.c (combine_pending_stack_adjustment_and_call): Return the
1636         adjustment; don't do the stack adjust.
1637         (expand_call): Call compute_argument_block_size right before
1638         allocating the block; update comment; don't do alignment sanity
1639         checking for sibling call; use args_size instead of
1640         unadjusted_args_size before args_size is adjusted.  Use
1641         combine_pending_stack_adjustment_and_call to compute stack adjust
1642         for must_preallocate case.
1643
1644         * expr.c (push_block): Remove shadow `temp' in inner scope.
1645
1646 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
1647
1648         * toplev.c (rest_of_compilation): Call
1649         note_deferral_of_defined_inline_function even if the function
1650         can't be inlined.
1651
1652 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
1653
1654         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
1655
1656 2000-04-28  Richard Henderson  <rth@cygnus.com>
1657
1658         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
1659
1660 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1661
1662         * timevar.c (init_timevar): DeANSIfy function definition.
1663
1664 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
1665
1666         * Makefile.in (timevar.o): Depend on flags.h.
1667         * timevar.c (unused_stack_instances): New variable.
1668         (timevar_push): Take a timevar_stack_def from
1669         unused_stack_instances if available.
1670         (timevar_pop): Push the popped timevar_stack_def onto
1671         unused_stack_instances.
1672         (TIMEVAR_ENABLE): New macro.
1673         (timevar_def): Make standalone a 1-bit field.  Add field used.
1674         (get_time): Rename parameter to now.  Return after clearing it if
1675         not TIMEVAR_ENABLE.
1676         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
1677         (timevar_pop): Likewise.
1678         (timevar_stop): Likewise.
1679         (timevar_push): Likewise.  Mark the timing variable as used.
1680         (timevar_start): Likewise.
1681         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
1682         timevars that were never used.
1683
1684 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
1685
1686         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
1687         always TREE_READONLY.
1688
1689 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
1690
1691         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
1692         for call instruction with mode QImode.
1693
1694 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
1695
1696         * Makefile.in (OBJS): Add timevar.o.
1697         (toplev.o): Depend on timevar.h.
1698         (ggc-simple.o): Likewise.
1699         (ggc-page.o): Likewise.
1700         (timevar.o): New rule.
1701         (timevar.h): New rule.
1702
1703         * timevar.h: New file.
1704         * timevar.c: Likewise.
1705         * timevar.def: Likewise.
1706
1707         * toplev.h (gc_time, parse_time, varconst_time): Remove.
1708         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
1709         throughout.
1710         (TIMEVAR): Remove macro.
1711         (gc_time, parse_time, varconst_time, integration_time, jump_time,
1712         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
1713         flow_time, combine_time, regmove_time, sched_time,
1714         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
1715         sched2_time, dbr_sched_time, reorder_blocks_time,
1716         rename_registers_time, shorten_branch_time, stack_reg_time,
1717         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
1718         all_time): Remove.
1719         (compile_file): Don't initialize time variables.  Call
1720         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
1721         of many calls to print_time.
1722         (rest_of_compilation): Add timing for reload_cse_regs.
1723         (get_run_time): Removed to timevar.c.
1724         (print_time): Likewise.
1725         (get_run_time): Implement using TV_TOTAL time variable.
1726         (print_time): Get total run time from get_run_time.
1727         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
1728         computing elapsed time explicitly.
1729         * ggc-simple.c (ggc_collect): Likewise.
1730         (gc_time): Remove declaration.
1731
1732 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
1733
1734         * calls.c (combine_pending_stack_adjustment_and_call): New function.
1735         (expand_call): Use it.
1736
1737 2000-04-27  Jan Hubicka  <jh@suse.cz>
1738
1739         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
1740         fields.
1741
1742 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
1743
1744         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
1745         registers.
1746
1747 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1748
1749         * function.c (epilogue_done): Pass whole insn to record_insns.
1750
1751 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1752
1753         * cse.c (CSE_ADDRESS_COST): Remove.
1754         (find_best_addr): Add new parameter "MODE", use address_cost instead
1755         of CSE_ADDRESS_COST
1756         (address_cost): New.
1757         (fold_rtx): Update call of find_best_addr.
1758         * rtl.h (address_cost): Declare.
1759         * loop.c (general_induction_var): Add new parameter "MODE", use
1760         address_cost instead of ADDRESS_COST
1761         (init_loop): Use address_cost instead of ADDRESS_COST.
1762         (check_insn_for_givs): Update call of general_induction_var.
1763         (find_mem_givs): Likewise.
1764         (consec_sets_giv): Likewise.
1765         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
1766         * i386.c (ix86_address_cost): New.
1767         * i386-protos.h (ix86_address_cost): Declare.
1768
1769 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
1770
1771         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
1772         registers.
1773
1774 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1775
1776         * expr.c (store_expr): Use clear_storage instead of direct memset
1777         libcall.
1778
1779 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
1780
1781         * config/mn10300/mn10300.c (mn10300_address_cost): Test
1782         ASHIFT, AND and LABEL_REF.
1783
1784 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1785
1786         * invoke.texi (-foptimize-sibling-calls): Fix.
1787
1788 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1789
1790         * loop.c (load_mems)  Don't use hard registers for the hoisting.
1791
1792         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
1793         calculation; rename const_equiv array in the preconditioning code
1794         from loop_unroll to loop_unroll_precondition
1795
1796 2000-04-27  Richard Henderson  <rth@cygnus.com>
1797
1798         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
1799         add new_set.
1800         (propagate_one_insn): Clear it.  Don't update reg_live here.
1801         (init_propagate_block_info): Update for pbi member changes.
1802         (free_propagate_block_info): Likewise.
1803         (mark_set_1): Know that zero_extract, sign_extract, and
1804         strict_low_part don't kill their argument.  Alter hard subregs.
1805         Update new_set for non-CLOBBER sets.  Update reg_live.
1806         (find_auto_inc): Update reg_live, not new_dead.
1807         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
1808         to determine if the reg in question was set this insn.  Only update
1809         reg info with PROP_REG_INFO.
1810
1811 2000-04-26  Richard Henderson  <rth@cygnus.com>
1812
1813         * flow.c (allocate_reg_life_data): Set max_regno here ...
1814         (life_analysis): ... not here.
1815
1816         * flow.c (calculate_global_regs_live): Force stack pointer
1817         live at end.
1818
1819 2000-04-26  Richard Henderson  <rth@cygnus.com>
1820
1821         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
1822         commit change group changes.
1823         (invert_exp_1): Similarly.
1824         (redirect_exp, invert_exp): Use them.
1825         (redirect_jump_1): New.
1826         (invert_jump_1): New.
1827         (jump_optimize_1): Remove code subsumed by condexec.c.
1828         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
1829
1830 2000-04-26  Richard Henderson  <rth@cygnus.com>
1831
1832         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
1833
1834         * genconfig.c (main): Set all HAVE_foo to 1.
1835
1836         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
1837
1838 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
1839
1840         * invoke.texi: Document -fssa flag.
1841
1842 2000-04-26  Richard Henderson  <rth@cygnus.com>
1843
1844         * flow.c (count_reg_sets_1): Remove.
1845         (count_reg_sets, count_reg_references): Remove.
1846         (recompute_reg_usage): Implement with update_life_info.
1847         Reallocate life data.
1848
1849 2000-04-26  Richard Henderson  <rth@cygnus.com>
1850
1851         * flow.c (update_life_info): Consider blocks null to mean the
1852         universal set.
1853         (calculate_global_regs_live): Likewise.
1854         (life_analysis): Do that instead of collecting all_blocks.
1855
1856 2000-04-26  Richard Henderson  <rth@cygnus.com>
1857
1858         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
1859         a still-valid conditional jump.
1860
1861 2000-04-26  Richard Henderson  <rth@cygnus.com>
1862
1863         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
1864
1865         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
1866         * flow.c (calculate_loop_depth): Remove.
1867         * output.h (calculate_loop_depth): Don't declare.
1868         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
1869         inline; run estimate_probability at the same time.
1870
1871 2000-04-26  Neil Booth  <NeilB@earthling.net>
1872
1873         * cpplib.h: "~=" is not a single pp-token.
1874         * cpplex.c: Correct commentary.
1875
1876 2000-04-26  Richard Henderson  <rth@cygnus.com>
1877
1878         * flow.c (mark_set_1): New arguments code and flags; update all
1879         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
1880         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
1881         loop_depth when optimizing for size.  Do new_dead update after
1882         emitting REG_UNUSED notes.  Merge mark_set_reg code.
1883         (mark_set_reg): Remove.
1884         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
1885         arrange to not emit REG_UNUSED notes.
1886
1887 2000-04-26  Richard Henderson  <rth@cygnus.com>
1888
1889         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
1890         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
1891
1892 2000-04-26  Richard Henderson  <rth@cygnus.com>
1893
1894         * flow.c (propagate_one_insn): Break out from propagate_block.
1895         (init_propagate_block_info): Likewise.
1896         (free_propagate_block_info): Likewise.
1897         (propagate_block): Use them.  Export.
1898         * basic-block.h: Declare them all.
1899
1900 2000-04-26  Richard Henderson  <rth@cygnus.com>
1901
1902         * basic-block.h (life_analysis): Declare here ...
1903         * output.h: ... not here.
1904         * flow.c (life_analysis): Remove nregs parameter; replace
1905         remove_dead_code with flags.  Remove ssa dead code check.
1906         Only init alias analysis if we'll use it.
1907         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
1908         * ssa.c (convert_to_ssa): Likewise.
1909         (convert_from_ssa): Likewise.
1910         * toplev.c (rest_of_compilation): Likewise.
1911
1912 2000-04-26  Richard Henderson  <rth@cygnus.com>
1913
1914         * flow.c (flow_delete_block): Rename from delete_block.  Export.
1915         * basic-block.h (flow_delete_block): Declare.
1916
1917 2000-04-26  David S. Miller  <davem@redhat.com>
1918
1919         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
1920         taking a PATTERN of it.
1921
1922 2000-04-26  <NeilB@earthling.net>
1923
1924         * cpplex.c (spell_other, spell_char): Remove.
1925         (SPELL_CHAR): New.
1926         (token_spelling, trigraph_map): Use unsigned chars.
1927         (_cpp_lex_line): Tidy up the switch statement.
1928         * cpplib.h: Implement spell_char with spell_string.
1929         (C): New.
1930
1931 2000-04-26  <RodneyBrown@pmsc.com>
1932
1933         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
1934         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
1935
1936 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1937
1938         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
1939         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
1940         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
1941         dwarf2out_return_save, dwarf2out_return_reg,
1942         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
1943         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
1944         gen_compile_unit_die, dwarf2out_init): Constify a char*.
1945
1946         * dwarf2out.h (dwarf2out_init): Likewise.
1947
1948         * dwarfout.c (filename_entry, primary_filename, last_filename,
1949         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
1950
1951         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
1952         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
1953         dwarf2out_return_reg): Likewise.
1954
1955 2000-04-26  Andreas Jaeger  <aj@suse.de>
1956
1957         * extend.texi (Function Attributes): Fix description of pure
1958         attribute.
1959
1960 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
1961
1962         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
1963         before calling rest_of_compilation.
1964
1965 2000-04-26  Andreas Jaeger  <aj@suse.de>
1966
1967         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
1968         last patch.
1969
1970 2000-04-25  Richard Henderson  <rth@cygnus.com>
1971
1972         * cse.c (cse_insn): Emit barrier after unconditional jump.
1973
1974         * calls.c (expand_call): Disable tail call generation once
1975         rtx_equal_function_value_matters is false.
1976
1977         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
1978         like EDGE_EH edges.
1979
1980 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
1981
1982         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
1983
1984         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
1985
1986         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
1987         is the primary DIE for a member function.
1988         (gen_decl_die): Call set_decl_origin_self here.
1989         * dwarfout.c (output_decl): And here.
1990         * integrate.c (output_inline_function): Not here.
1991         Don't clear DECL_INLINE until after calling rest_of_compilation.
1992         (set_decl_origin_self): No longer static.
1993         * tree.h: Add prototype.
1994         * toplev.c (note_deferral_of_defined_inline_function): Only write
1995         out abstract instance for actual inlines.
1996
1997 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
1998
1999         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
2000         EXTENDED_REGS only if TARGET_AM33.
2001         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
2002         SP_REGS to register allocation and reloading unless absolutely
2003         necessary.
2004         (movsi3): Remove special-case of adding non-constants to SP.
2005
2006 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2007
2008         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
2009         INCLUDES to search and does not provide any of its own.  Also it
2010         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
2011         parameters.  Also it does not call AC_DEFINE.
2012         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
2013         AC_DEFINE and provides for automatic entries for autoheader.
2014         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
2015
2016         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
2017         so we can pass -I flags and include gansidecl.h/system.h in this
2018         test.
2019
2020         * acconfig.h: Delete all NEED_DECLARATION_* entries.
2021
2022 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2023
2024         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2025         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2026         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
2027
2028         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2029         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2030         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
2031         for these macros.  Clean up spacing and linewraps.
2032
2033 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
2034
2035         * calls.c (expand_call): Use get_callee_fndecl.
2036
2037         * print-tree.c (print_node): Print the chain of an _EXPR.
2038
2039 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
2040                           Jim Wilson  <wilson@cygnus.com>
2041                           Andrew Haley  <aph@cygnus.com>
2042
2043         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
2044         and gp save/restore problems.
2045         * config/ia64/crtend.asm: Add IA-64 unwind support.
2046         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
2047         in fr_pad_size calculation.
2048         (save_restore_insns): Move PR save area.  Correct uses of
2049         RTX_FRAME_RELATED_P.
2050         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
2051         (ia64_expand_epilogue): Add eh_epilogue support.
2052         (ia64_function_prologue): Emit .prologue directive.
2053         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
2054         (ia64_override_options): Set init_machine_status and
2055         mark_machine_status.
2056         (rtx_needs_barrier): Handle bsp reads and writes.
2057         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
2058         New static variables.
2059         (process_set, process_for_unwind_directive): New functions.
2060         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
2061         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
2062         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
2063         macros.
2064         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
2065         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
2066         (struct machine_function): Define.
2067         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
2068
2069 2000-04-25  Bruce Korb  <bkorb@gnu.org>
2070
2071         * fixinc/Makefile.in: make the removal of old programs more
2072         robust
2073         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
2074         install-bin and install-sh
2075
2076 2000-04-25  Nick Clifton  <nickc@cygnus.com>
2077
2078         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
2079         defined, define to return zero.
2080         (function_cannot_inline_p): If a function has any target
2081         specific attributes, then use the macro
2082         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
2083         whether it can be inlined.  If it cannot, issue a suitable
2084         explanation.
2085
2086         * tm.texi: Add a new node 'Inlining' to document the new macro
2087         FUNCTION_ATTRIBUTE_INLINABLE_P.
2088
2089 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
2090
2091         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
2092         commentary.
2093
2094 2000-04-25  Neil Booth  <NeilB@earthling.net>
2095
2096         Restore previous patch, plus the following fixes:
2097
2098         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
2099         flags, not CPP_OPEN_PAREN.
2100         * cpplex.c (expand_token_space, init_token_list,
2101         cpp_free_token_list): Put the dummy token at list->tokens[-1].
2102         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
2103
2104 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2105
2106         * config/i386/freebsd.h (INT_ASM_OP): Define.
2107
2108 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2109
2110         * loop.c (strength_reduce): Fix typo in the last checkin.
2111
2112 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2113
2114         * stor-layout.c (finalize_record_size): Simplify to use existing
2115         functions.
2116         (compute_record_mode): No longer static.
2117         * tree.h (compute_record_mode): New declaration.
2118
2119 2000-04-25  Neil Booth  <NeilB@earthling.net>
2120
2121         * Revert my patch below until cause of build failures
2122         determined.
2123
2124 2000-04-25  Richard Henderson  <rth@cygnus.com>
2125
2126         * combine.c (combine_instructions): Add missing argument
2127         to try_combine.
2128
2129         * toplev.c (rest_of_compilation): Delay sibcall optimization
2130         until after emit_eh_context.
2131
2132 2000-04-24  Nick Clifton  <nickc@redhat.com>
2133
2134         * combine.c (combine_instructions): Do not try to combine a
2135         sequence of insns when the second insn has been replaced by a
2136         note.
2137
2138 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
2139
2140         * gcc.c (load_specs): New static function.
2141         (read_specs): Use it.
2142
2143         * gcc.c (lookup_compiler): Make multiple passes for case
2144         insensitive filesystems.
2145
2146 2000-04-24  Neil Booth  <NeilB@earthling.net>
2147
2148         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
2149         * cpphash.h (_cpp_check_directive): new.
2150         * cpplex.c (handle_newline, cpp_free_token_list,
2151         init_trigraph_map, trigraph_ok, trigraph_replace,
2152         backslash_start, skip_block_comment, skip_line_comment,
2153         skip_whitespace, parse_name, parse_number, parse_string,
2154         copy_comment, _cpp_lex_line, spell_char, spell_string,
2155         spell_comment, spell_name, spell_other, _cpp_lex_file,
2156         _cpp_output_list): new.
2157         (expand_name_space): take length argument.
2158         (init_token_list): add comment list initialisation.
2159         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
2160         instead of HSPACE_BEFORE.
2161
2162         * cpplib.c (_cpp_check_directive): new
2163         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
2164         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
2165         (HSPACE_BEFORE): delete.
2166         (TTYPE_TABLE): rearrange.
2167         (struct cpp_toklist): update.
2168
2169 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2170
2171         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
2172         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
2173         argument form of AC_DEFINE.
2174
2175         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
2176         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
2177         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
2178         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
2179         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
2180
2181         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
2182
2183 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2184
2185         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
2186         deduced.h): Use -isystem, not -I, for including system headers.
2187
2188 2000-04-24  Nick Clifton  <nickc@cygnus.com>
2189
2190         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
2191         the source register is the frame pointer or arg pointer.
2192         (addsi3_small_int): Disallow if source register is the frame
2193         pointer or arg pointer.
2194
2195 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2196
2197         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
2198         call to AC_MSG_RESULT.
2199
2200 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2201
2202         * invoke.texi: Correct grammatical errors, document
2203         -fno-gnu-keywords as identical to -fno-asm for C++.
2204
2205 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2206
2207         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
2208         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
2209         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
2210         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
2211         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
2212
2213         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
2214         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
2215         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
2216         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
2217         new macros names.
2218
2219 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
2220
2221         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
2222         (pop_alignment): Likewise.
2223         (handle_pragma_token): Likewise.
2224
2225 2000-04-24  Robert Lipe <robertlipe@usa.net>
2226
2227         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
2228
2229 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
2230
2231         * combine.c (try_combine): Update reg_nonzero_bits of
2232         newi2pat before newpat.
2233
2234 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2235
2236         * loop.c (strength_reduce): Simplify test to INSN_P.
2237         (record_giv): Attempt to simplify the add value, use CONSTANT_P
2238         expressions instead of CONST_INT.
2239         (express_from_1): Likewise.
2240
2241 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
2242
2243         * regs.h (reg_n_max): Don't declare.
2244         * flow.c (reg_n_max): Don't define.
2245         * regclass.c (renumber): Don't initialize to zero.
2246         (regno_allocated): Likewise.
2247         (reg_n_max): Define.
2248         (allocate_reg_info): Don't initialize unnecessarily.
2249
2250 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
2251
2252         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
2253         and blockage_p in the newly allocated attribute.
2254
2255 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
2256
2257         * config/mn10300/mn10300.md (addsi): `inc4' on address
2258         registers does not modify cc, but `inc' on an extended
2259         register does.
2260
2261 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
2262
2263         * reload.c (find_equiv_reg): Checks all valueno regs
2264         as a reload_reg_p regs.
2265
2266 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2267
2268         * cpphash.c (collect_objlike_expansion): Add sanity check.
2269         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
2270         the buffer is the empty string, return.  Mark __DATE__ and
2271         __TIME__ as XCONST nodes, not MCONST.
2272         (_cpp_macroexpand): Avoid pushing an empty buffer.
2273         (funlike_macroexpand): Don't pop token_buffer here.
2274
2275 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
2276
2277         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
2278         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
2279         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
2280         (REGNO_OK_FOR_BASE_P): Define in terms of them.
2281         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
2282         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
2283         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
2284
2285 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2286
2287         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
2288         constant MULT givs.
2289
2290 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2291
2292         * cpphash.h (struct definition): Move file, line, col members...
2293         (struct hashnode): ... here.  Also add 'disabled' flag.
2294         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
2295         T_IDENTITY.  Remove T_DISABLED.
2296         Update prototypes.
2297
2298         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
2299         (collect_expansion): Split into collect_objlike_expansion and
2300         collect_funlike_expansion.
2301         (_cpp_macroexpand): Split out scan_arguments, stringify, and
2302         funlike_macroexpand.
2303         (_cpp_compare_defs): Rename compare_defs, make static.
2304         (_cpp_make_hashnode): Initialize hp->disabled.
2305         (macro_cleanup): Adjust for new token types.  Clear
2306         m->disabled.
2307         (_cpp_create_definition): Move code here to determine what
2308         sort of macro it is, and code to check for redefinitions, from
2309         do_define.  Implement a few simple cases without creating a
2310         full DEFINITION.
2311         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
2312         Handle the simple cases.
2313         (push_macro_expansion): Set buf->has_escapes and hp->disabled
2314         here.
2315
2316         * cppinit.c (builtin_array): Change MCONST to XCONST
2317         everywhere.
2318         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
2319         fix check for disabled and function-like macros.
2320         * cpplib.c (do_define): Move most logic to
2321         _cpp_create_definition.
2322         (do_undef): Handle new special token types.
2323
2324 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2325
2326         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
2327         of CONSTANT_P for mult_val; always use validate_change to update insn.
2328
2329 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
2330
2331         * cpphash.c (trad_stringify, add_pat): New functions.
2332         (collect_expansion): Restore support for -traditional syntax.
2333         Use trad_stringify and add_pat.
2334         (_cpp_macroexpand): Restore support for -traditional semantics.
2335         * cpplex.c (_cpp_scan_line): Don't change space_before if we
2336         get a COMMENT token.
2337         (_cpp_lex_token): Provide COMMENT tokens to caller if
2338         traditional and parsing_define_directive.
2339         (skip_comment): Warn about // comments if -Wtraditional.
2340         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
2341         proper node type.
2342         (do_undef): Don't warn about undefining EMPTY nodes.
2343
2344 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2345
2346         * loop.c (strength_reduce): Fix biv removal code.
2347
2348 2000-04-22  Richard Henderson  <rth@cygnus.com>
2349
2350         * predict.c (estimate_probability): Examine both sides of
2351         a branch for no exits.  Use 90% not 50% for predict taken.
2352         Reorg for one copy of note generation code.
2353
2354 2000-04-22  Richard Henderson  <rth@cygnus.com>
2355
2356         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
2357
2358 2000-04-22  Richard Henderson  <rth@cygnus.com>
2359
2360         * diagnostic.c (init_output_buffer): Don't initialize format_args.
2361         (output_clear): Likewise.
2362         (output_printf): Use va_copy.
2363         (vline_wrapper_message_with_location): Likewise.
2364         (v_message_with_decl): Likewise.
2365         (line_wrapper_printf): VA_START infor buffer.format_args directly.
2366         * system.h (va_copy): Provide default implementation.
2367
2368 2000-04-22  Richard Henderson  <rth@cygnus.com>
2369
2370         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
2371         the collected condition is not a constant.
2372
2373 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
2374
2375         * diagnostic.h: New file.
2376
2377         * Makefile.in (diagnostic.o): Depends on diagnostic.h
2378
2379         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
2380         various function prototypes.
2381         (diagnostic.h): #include.
2382         (struct output_buffer): Move into diagnostic.h.
2383         (get_output_prefix): Rename to output_get_prefix.  Export.
2384         (init_output_buffer): Export. Break out.  Ajust intialization.
2385         (output_space_left, output_append): Export.
2386         (output_newline): Rename to output_add_newline.  Export.
2387         (output_clear): Nullify additional output_buffer fields.
2388         (output_puts): Rename to output_add_string.  Export.
2389         (dump_output): Rename to output_flush_on.  Export.
2390         (build_location_prefix): Constify return-type.
2391         (emit_output_prefix): Rename to output_emit_prefix. Export.
2392         (set_real_maximum_length): New function.
2393         (output_set_maximum_length): Ditto
2394         (output_clear): Ditto.
2395         (output_add_character): Ditto.
2396         (output_add_integer): Ditto.
2397         (output_add_space): Ditto.
2398         (output_format): Ditto.
2399         (output_printf): Adjust buffer initialization.
2400         (vline_wrapper_message_with_location): Ditto.
2401         (v_message_with_decl): Ditto.  Adjust call to output_puts
2402         and get_output_prefix.
2403         (default_print_error_function): Adjust buffer intialization.
2404
2405 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2406
2407         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
2408         of VOID_TYPE.
2409
2410 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
2411
2412         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
2413         of explicit 0.
2414
2415 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
2416
2417         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
2418         accurate data about SP moves.
2419
2420 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
2421
2422         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
2423         aliases to AM33 registers.
2424
2425 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
2426
2427         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
2428         to all EXTENDED bitmaps.
2429
2430 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
2431
2432         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
2433         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
2434         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
2435
2436 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
2437
2438         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
2439         the operand is not constant.
2440
2441 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
2442
2443         * reload.c (find_equiv_reg): Checks all valueno and regno regs
2444         as a call-clobbered regs.
2445
2446 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2447
2448         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
2449         * rtl.h: Likewise.
2450         * rtl.def: Update comment.
2451         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
2452         * integrate.c (expand_inline_function): Likewise.
2453         * profile.c (branch_prob): Likewise.
2454         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
2455         * print-rtl.c (print_rtx): Likewise.
2456         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
2457         (reemit_notes): Likewise; also use enum insn_note.
2458
2459         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
2460         (place_field): Properly compute know and actual alignment.
2461
2462         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
2463         in proper format.
2464
2465         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
2466         note for REG1.
2467
2468 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
2469
2470         * cpphash.c (struct arg, struct arglist): Const-ify strings.
2471         (warn_trad_stringify, duplicate_arg_p): New helper functions.
2472         (collect_expansion): Rewrite to scan over a token list.
2473         Remove -traditional support.
2474         (collect_formal_parameters): Rename to collect_params; rewrite
2475         to scan over a token list.
2476         (_cpp_create_definition): Adjust to scan a token list.
2477         (_cpp_macroexpand): Remove -traditional support.
2478         (_cpp_compare_defs): Whitespace is now canonicalized.
2479         (comp_def_part): Delete function.
2480
2481         * cpphash.h: Update prototypes.
2482         * cpplex.c (init_token_list): Don't set lineno if there is no
2483         buffer.
2484         (pedantic_whitespace): New function.
2485         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
2486         consume a newline.  Use pedantic_whitespace.
2487         (_cpp_lex_token): Remove support for -traditional macros.
2488         (_cpp_get_define_token): Delete.
2489         (_cpp_get_directive_token): Do the real work here.  Use
2490         pedantic_whitespace.
2491         (_cpp_init_input_buffer): Initialize pfile->directbuf.
2492
2493         * cpplib.c (get_macro_name): Delete.
2494         (do_define): Read the entire line into pfile->directbuf, then
2495         feed the token list to _cpp_create_definition.
2496         * cpplib.h (HSPACE_BEFORE): new define.
2497         (struct cpp_reader): Add a toklist member, "directbuf".
2498
2499         * predict.c (estimate_probability): New heuristic: if a jump
2500         branches around a block with no successors, predict it taken.
2501         Disentangle control flow.
2502
2503 2000-04-20  Richard Henderson  <rth@cygnus.com>
2504
2505         * loop.c (emit_iv_add_mult): Revert last change.
2506
2507 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
2508
2509         * cpplib.h (enum cpp_ttype): Add token types for all
2510         punctuators.  Distinguish pp-numbers from valid C numbers.
2511         Give some tokens better names.  Initialize from macro.
2512         (struct cpp_name, cpp_token, cpp_toklist): New data
2513         structures.
2514         Update prototypes.
2515         * cpplex.c (bump_column, expand_name_space,
2516         expand_token_space, init_token_list, cpp_output_list,
2517         _cpp_scan_line):  New functions.
2518         (output_line_command): Add third argument, new line number.
2519         * cpphash.h: Update prototypes.
2520         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
2521         token names.
2522
2523 2000-04-20  Richard Henderson  <rth@cygnus.com>
2524
2525         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
2526
2527 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
2528
2529         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
2530         object pointed to.
2531
2532 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2533
2534         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
2535         REG_EQUAL note explaining the calculated value.
2536
2537         * calls.c (expand_call): Avoid unnecesary precalculation
2538         and outgoing parameters space guarding for sibling calls.
2539         (store_one_arg): Likewise.
2540
2541 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2542
2543         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
2544         (rest_of_compilation): Write sibling dump file and account
2545         for time as jump time.
2546         * invoke.texi: Update documentation on dump flags.
2547
2548 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
2549
2550         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
2551
2552 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
2553
2554         * cpphash.c (special_symbol): Represent an empty macro with
2555         "\r \r " not just "\r ".
2556         (_cpp_macroexpand): Correct condition for the foo ( ) special
2557         case.
2558         (unsafe_chars): Handle EOF as second argument.
2559         (push_macro_expansion): Simplify test for removing escape at
2560         end.  Do not trim both escapes if there is no text in between.
2561
2562 2000-04-19  Jim Blandy  <jimb@redhat.com>
2563
2564         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
2565         of PTR_SIZE, when appropriate.
2566
2567 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
2568
2569         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
2570         (USE_ENUM_BITFIELDS): Fix typo.
2571
2572 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2573
2574         * stor-layout.c (place_field): Set rli->offset_align properly.
2575
2576 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2577
2578         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
2579         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
2580         PARM_BOUNDARY): Remove unnecessary casts.
2581
2582 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2583
2584         * calls.c (precompute_arguments): Remove must_preallocate and
2585         args_size calls.
2586         (expand_call): Update call of precompute_arguments.
2587
2588         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
2589         check_insn_for_givs): Break out from ...
2590         (strength_reduce) ... here; use for_every_insn_in_loop to call
2591         check_insn_for_givs.
2592         * loop.h (for_every_insn_in_loop): Declare.
2593         (loop_insn_callback): New type.
2594
2595 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
2596
2597         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
2598         not nul-terminated.
2599
2600 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
2601
2602         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
2603         flag_pic and RELOC.
2604
2605 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
2606
2607         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
2608
2609         * configure.in: Delete --disable-cpplib option and all
2610         references to cpp_main.
2611         * configure: Regenerate.
2612         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
2613         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
2614         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
2615         cpp$(exeext).  Add --no-headers to makeinfo command line when
2616         generating INSTALL.  Install and uninstall cpp.1 manpage, not
2617         cccp.1.
2618         * install.texi: Delete all references to cexp.y/cexp.c.
2619         Delete ancient instructions for compiling GCC on 3b1.
2620         * INSTALL: Regenerate.
2621
2622         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
2623         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
2624         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
2625         cexp.c/cexp.y.
2626         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
2627         which is no longer tested anywhere.
2628
2629         * cppinit.c (handle_option): Don't run error message through
2630         gettext twice.
2631
2632 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2633
2634         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
2635         * cpperror.c (hashtab.h): Now include.
2636         * cppexp.c (hashtab.h): Likewise.
2637         * cpplex.c (hashtab.h): Likewise.
2638         * cppfiles.c (hashtab.h): Likewise.
2639         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
2640         to htab_find_slot_with_hash.
2641         * cpphash.c (hashtab.h): Now include.
2642         (_cpp_lookup_slot): INSERT is now enum insert_option.
2643         * cpphash.h (_cpp_lookup_slot): Likewise.
2644         * cppinit.c (hashtab.h): Include earlier.
2645         (initialize_builtins): Pass enum to htab_find_slot.
2646         * cpplib.c (hashtab.h): Now include.
2647         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
2648         (do_pragma_poison, do_assert): Likewise.
2649         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
2650         htab_find_slot_with_hash.
2651         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
2652         * tree.c (type_hash_add): Likewise.
2653         (build1): Minor cleanup.
2654
2655         * ggc-common.c: Add missing blanks.
2656         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
2657         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
2658
2659         * stmt.c (mark_case_node): New function.
2660         (mark_case_nesting): Call it.
2661
2662         * expmed.c (emit_store_flag): If comparing two-word integer
2663         with zero, can optimize NE, EQ, GE, and LT.
2664
2665         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
2666         * conflict.c: Minor cleanups.
2667         * optabs.c: Add blank line
2668         * simplify-rtx.c: Minor cleanups.
2669
2670 2000-04-18  Stan Cox  <scox@cygnus.com>
2671
2672         * gengenrtl.c (genlegend): Fix misspelling.
2673
2674 2000-04-18  Robert Lipe  <robertlipe@usa.net>
2675
2676         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
2677         bitfields of the host compiler are not signed quantities.
2678         * config.in: Regenerate.
2679         * configure: Regenerate.
2680         * system.h (USE_ENUM_BITFIELDS): Added.
2681         (ENUM_BITFIELDS): Added.
2682         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
2683         (SHORT_ENUM_BUG): Deleted.
2684         * tree.h (tree_common): Members `code', `mode', `built_in_class',
2685         now ENUM_BITFIELD.
2686         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
2687         (CODE_FIELD_BUG): Likewise.
2688         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
2689         (OLD_CC): Likewise.
2690         * config/m68k/x-ccur (X_CFLAGS): Likewise.
2691
2692 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
2693
2694         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
2695         mark is active.
2696
2697 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
2698
2699         * cppexp.c (lex): Don't assume tokens are NUL terminated.
2700         * cpplib.c (do_include, do_import, do_include_next,
2701         read_line_number, detect_if_not_defined): Likewise.
2702         * cpphash.c (collect_expansion): Likewise.
2703         (special_symbol, _cpp_macroexpand): Check return from
2704         cpp_file_buffer.
2705         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
2706         macros.  Delete all uses.
2707
2708         * gcc.dg/cpp-mi.c: Add two more test cases.
2709         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
2710
2711 2000-04-17  Richard Henderson  <rth@cygnus.com>
2712
2713         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
2714         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
2715
2716 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
2717
2718         * function.c (expand_function_start): Use hard_function_value to
2719         compute the RTL to use for DECL_RESULT.
2720
2721 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2722
2723         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
2724         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
2725          x86_memory_mismatch_stall): New global variables.
2726         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
2727         alloved; fix load penalties for Athlon.
2728         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
2729         x86_memory_mismatch_stall): Declare.
2730         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
2731          TARGET_MEMORY_MISMATCH_STALL): New.
2732         * i386.md (athlon scheduling parameters): Fix latencies according to
2733         Athlon Optimization Manual.
2734         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
2735         vector.
2736         (fsqrt instruction patterns): Set athlon_decode to direct.
2737         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
2738         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
2739         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
2740         and TARGET_PARTIAL_REGISTER_STALL machines.
2741         (pushdf_nointeger): New pattern.
2742         (pushdf_integer): Rename from pushdf.
2743         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
2744         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
2745
2746 2000-04-17  Richard Henderson  <rth@cygnus.com>
2747
2748         * loop.c (canonicalize_condition): Add WANT_REG argument.
2749         Stop the search if we match it.
2750         * expr.h (canonicalize_condition): Update decl.
2751         * predict.c (expected_value_to_br_prob): Use it.  Track last
2752         expected value note.
2753         (find_expected_value): Remove.
2754
2755         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
2756
2757 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
2758
2759         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
2760         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
2761         a plain file.
2762         * configure.in: Call AC_FUNC_MMAP_FILE.
2763         * configure: Regenerate.
2764         * config.in: Regenerate.
2765
2766         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
2767         * fixinc/fixincl.c: Likewise.
2768
2769 2000-04-17  Richard Henderson  <rth@cygnus.com>
2770
2771         * builtins.c (expand_builtin_expect): New.
2772         (expand_builtin): Call it.
2773         * builtins.def (BUILT_IN_EXPECT): New.
2774         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
2775         * extend.texi: Document it.
2776
2777         * predict.c (expected_value_to_br_prob): New.
2778         (find_expected_value): New.
2779         * basic-block.h (expected_value_to_br_prob): Declare.
2780         * toplev.c (rest_of_compilation): Invoke it.
2781
2782         * rtl.h (NOTE_EXPECTED_VALUE): New.
2783         (NOTE_INSN_EXPECTED_VALUE): New.
2784         * rtl.c (note_insn_name): Update.
2785         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
2786         cases; handle NOTE_INSN_EXPECTED_VALUE.
2787
2788 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
2789
2790         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
2791         leaf sibcall delay slot if flag_pic.
2792         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
2793
2794 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2795
2796         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
2797
2798         * fixproto: If fix-header fails, exit with an error.
2799
2800 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2801
2802         * cse.c (struct check_depdendence_data): New.
2803         (check_dependence): New function.
2804         (invalidate): Use check_depdenence.
2805
2806 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
2807
2808         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
2809         UNITS_PER_WORD is unsigned.
2810
2811         * tree.h (struct tree_common): Remove misleading comment.
2812
2813 2000-04-16  Dave Pitts  <dpitts@cozx.com>
2814
2815         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
2816         message in quotes. Otherwise, IBM's make program treats the '#' as the
2817         start of a comment and ignores the remainder of the line.
2818
2819         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
2820         upper case.
2821         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
2822         * cexp.y (initialize_random_junk): Likewise.
2823         * cppfiles.c (find_include_file): Cast alloca return value.
2824         * cppinit.c (initialize_standard_includes): Likewise.
2825         * cpplib.c (cpp_define, cpp_undef): Likewise.
2826         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
2827         * final.c (output_asm_insn): Allow for holes in EBCDIC.
2828         * fold-const.c (CHARMASK): New.
2829         (real_hex_to_f): Use it.
2830         * real.c (CHARMASK): New.
2831         (etoasc, asctoeg): Use it.
2832         (asctoeg): EBCDIC lower case characters preceed upper case.
2833
2834         * i370.c (mvs_add_label): Change spacing for coding conventions.
2835         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
2836         outputing case vectors.
2837         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
2838         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
2839         since vector in in the data CSECT.
2840         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
2841         * i370.md (Many patterns): Put the length in the XL directives.
2842         (movdi): Put back STM and MVC in definition.
2843         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
2844         pattern using the TCA.
2845         * oe.h (CPP_SPEC): Added to allow trigraphs.
2846         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
2847         not support the "long long" type.
2848
2849 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
2850
2851         * config/mips/mips-protos.h (mips_legitimate_address_p): New
2852         function.
2853         (mips_reg_mode_ok_for_base_p): Likewise.
2854         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
2855         (REG_OK_FOR_INDEX_P): Define unconditionally.
2856         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
2857         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
2858         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
2859         that GET_MODE_SIZE is unsigned.
2860         (mips_reg_mode_ok_for_base_p): Define.
2861         (mips_legitimate_address_p): Likewise.  Adjust now
2862         that GET_MODE_SIZE is unsigned.
2863         (block_move_loop): Make the number of bytes unsigned.
2864         (expand_block_move): Likewise.
2865         (function_arg): Make the loop counter unsigned to match the
2866         boundary condition.
2867
2868 2000-04-16  Richard Henderson  <rth@cygnus.com>
2869
2870         * rtl.h (enum insn_note): New enumeration.  Subsume
2871         NOTE_INSN_DELETED and friends.
2872         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
2873         * rtl.c (note_insn_name): Tweak string order.
2874
2875 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
2876
2877         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
2878         to offset * 2.
2879
2880         * cpplex.c (output_line_command): Remove debugging prints.
2881         (cpp_output_tokens): Don't write out a zero-length buffer or
2882         try to see if it has a newline in it.
2883         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
2884         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
2885         the end of the loop.  Use memmove.  Don't read past the end of
2886         the buffer.  Remove trailing newlines from error messages.
2887
2888 2004-04-16  Neil Booth  <NeilB@earthling.net>
2889
2890         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
2891         * cpplib.c: Add new syntax flags to directive table, and
2892         supporting macros.
2893
2894 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
2895
2896         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
2897         using ret $N.
2898
2899 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
2900
2901         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
2902         * haifa-sched.c: Update -fsched-verbose comments to use "=".
2903
2904 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2905
2906         * Makefile.in (ggc-page.o): Now includes toplev.h.
2907         * ggc-page.c (toplev.h): Now included.
2908         (gc_time): Remove declaration.
2909         (ggc_collect): TIME now long.
2910         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
2911         others static.
2912         * toplev.h (gc_time, parse_time, gc_time): New declarations.
2913
2914         * toplev.c: Make *_time variable long to reduce chance of overflow.
2915         (TIMEVAR): Likewise for `otime'.
2916         (print_time): Arg is now long; compute percentage in FP and round.
2917         * toplev.h (print_time): Arg is long.
2918
2919         * tree.c: Minor whitespace changes.
2920
2921         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
2922         * configure: Rebuilt.
2923         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
2924         (__fixunsxfDI): Renamed from __fixunsxfdi.
2925         (__fixunsdfDI): Renamed from __fixunsdfdi.
2926         (__fixunssfDI): Renamed from __fixunssfdi.
2927         (__floatdisf): Use proper type in REP_BIT macro.
2928         (__fixunsxfSI): Renamed from __fixunsxfsi.
2929         (__fixunsdfSI): Renamed from __fixunsdfsi.
2930         (__fixunssfSI): Renamed from __fixunssfsi.
2931         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
2932         Change location of macros and upper-case some names as above.
2933         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
2934         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
2935
2936         * varasm.c (assemble_variable): Add cast to remove warning.
2937         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
2938
2939         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
2940         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
2941         region number to -1.
2942
2943 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
2944
2945         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
2946         call unshare_all_rtl.
2947
2948         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
2949
2950 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
2951
2952         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
2953         Use .s1 not .s0 for all FP instructions.
2954
2955 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
2956
2957         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
2958         interfaces.
2959         (safe_fwrite, output_line_command): New static functions.
2960         (cpp_expand_to_buffer): Now private to cpplib.
2961         (cpp_scan_buffer): Take a printer.
2962
2963         * cpphash.h: Update prototypes.
2964         * cpplib.h: Update prototypes.
2965         (cpp_printer): New.
2966         (cpp_buffer): Remove last_nominal_fname.
2967         (cpp_reader): Remove lineno.
2968
2969         * cppmain.c: Use a cpp_printer.
2970         * fix-header.c: No need to inhibit line commands.  Call
2971         cpp_start_read with no printer.
2972
2973         * cpperror.c (cpp_notice_from_errno): Provide default name.
2974         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
2975         (find_include_file, cpp_read_file): Use make_IHASH.
2976         (file_cleanup): Set control_macro and clear
2977         input_stack_listing_current here.
2978         (_cpp_execute_include): Don't output entering-file marker.
2979         * cpphash.c (special_symbol): Look for the line number in the
2980         buffer, not the reader.
2981         (_cpp_macroexpand): No need to disable line commands.
2982         (_cpp_dump_definition): No need to generate line commands.
2983         (dump_hash_helper): Remove excess newline from output.
2984         * cppinit.c (dump_special_to_buffer): No need to generate line
2985         commands.
2986         (cpp_printer_init): New.
2987         (cpp_start_read): Take a printer, and start it up if it's not
2988         NULL.  No need to generate line commands.
2989         (cpp_finish): Expect no buffers stacked at all.  Take a
2990         printer argument, and flush the output buffer if it's not
2991         NULL.
2992         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
2993         Don't put two hashes at the beginning of an assertion.
2994         (cpp_get_token): Don't increment pfile->lineno or emit line
2995         commands here.  Return EOF if there's no buffer when we get
2996         EOF.
2997         * cpplib.c (do_define, skip_if_group):
2998         No need to disable line commands.
2999         (_cpp_output_line_command): Delete function.
3000         (do_line): Don't emit line commands here, but set things up so
3001         they will be emitted if necessary.  Use _cpp_fake_ihash to
3002         make unique nominal_fnames if necessary.
3003         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
3004         with 0 for column, not -1.
3005         (_cpp_handle_eof): Don't set the control macro here.  Don't
3006         clear input_stack_listing_current here.  Don't emit line
3007         commands.
3008
3009 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
3010
3011         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
3012         always, use the default SVR4 start address.
3013
3014         * config/rs6000/linux.h (LINK_SPEC): Don't define.
3015         (LINK_SHLIB_SPEC): Define.
3016         (LINK_START_DEFAULT_SPEC): Define.
3017         (LINK_OS_DEFAULT_SPEC): Define.
3018
3019         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
3020
3021         * config/rs6000/eabi.asm (__eabi): Call __init rather than
3022         __do_global_ctors to handle constructors.
3023         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
3024         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
3025         (STARTFILE_MVME_SPEC): Likewise.
3026         (STARTFILE_SIM_SPEC): Likewise.
3027         (ENDFILE_ADS_SPEC): Use crtend.
3028         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
3029         (ENDFILE_MVME_SPEC): Likewise.
3030         (ENDFILE_SIM_SPEC): Likewise.
3031         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
3032         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
3033         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
3034         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
3035         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
3036         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
3037         (CRTSTUFF_T_CFLAGS_S): Define.
3038         * config/rs6000/eabi-ctors.c: Delete.
3039
3040         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
3041         boundary.
3042         (__fini): Likewise.
3043         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
3044         boundary.
3045         (__fini): Likewise.
3046
3047 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
3048
3049         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
3050         plus mask size is smaller or equal to the mode size.
3051
3052 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3053
3054         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
3055         not yet set.
3056
3057         * expr.c (reload.h): Now included.
3058         (emit_block_move): Set volatile_ok when checking for movstr.
3059         (emit_move_1): Check for replacements in addresses in multi-word case.
3060         * Makefile.in (expr.o): Now includes reload.h.
3061
3062         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
3063         Never have a LIBCALL end a basic block.
3064         (find_basic_blocks_1): Likewise.
3065         Reorganize CALL_INSN cases.
3066
3067         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
3068
3069 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
3070
3071         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
3072         completers from mov.ret instruction.
3073
3074 2000-04-14  Richard Henderson  <rth@cygnus.com>
3075
3076         * fold-const.c (extract_muldiv): Don't distribute and widen
3077         multiply across plus for non-sizetype unsigned types.
3078
3079 2000-04-14  Richard Henderson  <rth@cygnus.com>
3080
3081         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
3082         If the original source is dead in the incr insn, it's dead now.
3083
3084 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3085
3086         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
3087         see if DECL_BIT_FIELD needs to still be set.
3088
3089         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
3090
3091         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
3092         print_int_cst_octal with something that's not an INTEGER_CST.
3093
3094         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
3095         and not a SUBREG to a FLOAT rtl.
3096
3097 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
3098
3099         * emit-rtl.c (try_split): Avoid infinite loop if the split
3100         results in a sequence that contains the original insn.
3101
3102 2000-04-13  Andreas Jaeger  <aj@suse.de>
3103
3104         * config/mips/mips.c (expand_block_move): Pass alignment
3105         argument to move_by_pieces in bits, not bytes.
3106
3107         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
3108         __pic__ for little endian.
3109
3110 2000-04-13  Andreas Jaeger  <aj@suse.de>
3111
3112         * config/i386/i386-protos.h: Add prototype for
3113         uno_comparison_operator.
3114
3115 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3116
3117         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
3118         * calls.c (ECF_PURE): New flag.
3119         (emit_call_1): Handle ECF_PURE calls.
3120         (initialize_argument_information): Unset ECF_PURE flag too.
3121         (precompute_arguments): Precompute for ECF_PURE too.
3122         (expand_call): Handle ECF_PURE calls too.
3123         (emit_library_call_value_1): Rename no_queue argument to fn_type,
3124         accept value of 2 as pure function.
3125         (emit_library_call_value, emit_library_call): Rename no_queue argument
3126         to fn_type.
3127         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
3128
3129         * tree.h (DECL_IS_PURE): New macro.
3130         (struct tree_decl): Add pure_flag.
3131         * c-common.c (enum attrs): Add attribute "pure".
3132         (init_attributes): Initialize attribute "pure"
3133         (decl_attributes): Handle attribute "pure".
3134         * extend.texi (Attribute "pure"): Document.
3135         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
3136         in pure function.
3137         (flags_from_decl_or_type): Support attribute "pure".
3138
3139 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
3140
3141         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
3142         the token except for numbers and identifiers.
3143
3144 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
3145
3146         * i386.c (ix86_expand_binary_operator,
3147         ix86_expand_unary_operator): Check no_new_pseudos
3148         instead of reload_in_progress and reload_completed.
3149         (ix86_split_ashldi, ix86_split_ashrdi,
3150         ix86_split_lshrdi): Check no_new_pseudos instead
3151         of reload_completed.
3152
3153 2000-04-12  Jeffrey A Law  (law@cygnus.com)
3154
3155         * function.c (purge_addressof): Unshare any shared rtl created by
3156         purge_addressof and its children.
3157
3158 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
3159
3160         * function.c (aggregate_value_p): VOID_TYPE nodes are never
3161         aggregates.
3162
3163 2000-04-05  Andreas Jaeger  <aj@suse.de>
3164
3165         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
3166         not compiling PIC code, add flags for mabi=64.
3167         (SUBTARGET_CPP_SIZE_SPEC): New.
3168         (SUBTARGET_CPP_SPEC): New.
3169         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
3170         for MIPS/Linux and lots of code needs these defines.
3171
3172 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
3173
3174         * reorg.c (fill_slots_from_thread): Check side_effects_p when
3175         trying the "opposite arithmetic" approach.
3176
3177 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3178
3179         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
3180         (struct sh_args): Add new field force_mem.
3181         (INIT_CUMULATIVE_ARGS): Initialize it.
3182         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
3183
3184 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3185
3186         * calls.c (expand_call): Do not reverse args in "equal from" field.
3187         (emit_library_call_value_1): Emit_libcall_block for const and pure
3188         function.
3189
3190 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3191
3192         * reload1.c (reload_combine): Don't enable optimization for fixed
3193         registers when encountering a BARRIER.
3194
3195 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3196
3197         * builtins.c (expand_builtin_memcmp): Do expansion even with
3198         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
3199
3200         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
3201         stack is propertly aligned; add sanity checking for aligned
3202         stack pointer.
3203         (expand_library_call_value_1): Add sanity checking for aligned
3204         stack pointer.
3205
3206 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
3207
3208         * calls.c (emit_library_call_value_1): Change 3rd arg to
3209         locate_and_pad_parm to disregard the setting of partial.
3210
3211 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3212
3213         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
3214
3215         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
3216         CALL_INSN from the normal case.
3217
3218 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3219
3220         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3221         New global variables.
3222         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
3223         adjustment.
3224         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3225         Declare,
3226         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
3227          TARGET_ADD_ESP_8): New macros.
3228         * i386.md: Add peep2s to convert esp adjustments to push and pop
3229         instructions.
3230         (pushsi_prologue, popsi_epilogue): New patterns.
3231
3232 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3233
3234         * real.c (toe64): Remove stale #endif from the last change.
3235
3236 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
3237
3238         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
3239         * real.c (toe64): Revert previous change.
3240
3241 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3242
3243         * objc/objc-act.c: Include ggc.h.
3244         (objc_tree_index, objc_global_trees): Convert most of the
3245         static tree variables into a static array with previous names
3246         as defines.
3247         (objc_ellipsis_node): New variable.
3248         (lang_init): Call objc_act_parse_init and c_parse_init.
3249         Create objc_ellipsis_node.
3250         (build_selector_translation_table): Use objc_ellipsis_node instead
3251         of (tree)1.
3252         (hack_method_prototype): Likewise.
3253         (get_arg_type_list): Likewise.
3254         (start_method_def): Likewise.
3255         (continue_method_def): Likewise.
3256         (gen_method_decl): Likewise.
3257         (ggc_mark_imp_list): New function.
3258         (ggc_mark_hash_table): New function.
3259         (objc_act_parse_init): New function.
3260         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
3261         * c-parse.in (c_parse_init): For objc add roots of objc specific
3262         local tree variables.
3263         * objc/objc-parse.y: Rebuilt.
3264         * objc/objc-parse.c: Rebuilt.
3265         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
3266
3267 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
3268
3269         * cse.c (delete_trivially_dead_insns): Also delete insns
3270         that copy a register to itself where the destination is
3271         a strict_low_part.
3272
3273 2000-04-11  Richard Henderson  <rth@cygnus.com>
3274
3275         * flow.c (struct propagate_block_info): Add new_dead, new_live.
3276         (propagate_block): Initialize them.  Use them in parallel instead
3277         of one tmp variable, ie revert much of the 0408 and 0407 functional
3278         changes, but keep the structural changes.
3279         (mark_set_regs): Take new_dead from propagate_block_info instead.
3280         (mark_set_1, mark_set_reg): Likewise.
3281         (mark_used_regs): Likewise with new_live.
3282         (mark_used_reg): Likewise.  Revert 0408 change.
3283
3284 2000-04-11  Nick Clifton  <nickc@cygnus.com>
3285
3286         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
3287         restriction.
3288         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
3289
3290 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3291
3292         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
3293         const section to output a CONSTRUCTOR based on the same conditions
3294         used for VAR_DECLs.
3295
3296 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
3297
3298         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
3299         * pa/pa-protos.h (output_call): Add additional argument indicating
3300         if the call is a sibling/tail call.
3301         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
3302         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
3303         (function_arg, function_arg_partial_nregs): Likewise
3304         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
3305         (emit_move_sequence): Zero extend certain constants as needed
3306         for TARGET_64BIT.
3307         (compute_zdepdi_operands, output_64bit_and): New functions.
3308         (output_64bit_ior, function_arg): Likewise.
3309         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
3310         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
3311         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
3312         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
3313         (output_bvb): Likewise.
3314         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
3315         (output_call): New argument 'sibcall'.  Generate sibcall sequences
3316         as needed.
3317         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
3318         (ouput_arg_descriptor): Do not emit argument descriptors for
3319         TARGET_64BIT.
3320         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
3321         defined.
3322         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
3323         (FUNCTION_OK_FOR_SIBALL): Define.
3324         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
3325         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
3326         (CPP_SPEC): Use new spec infrastructure.
3327         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
3328         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
3329         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
3330         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
3331         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
3332         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
3333         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
3334         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
3335         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
3336         (FUNCTION_ARG); Call out to C code.
3337         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
3338         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
3339         (MIN_UNITS_PER_WORD): Likewise.
3340         * pa/pa.md (cmpdi): New expander.
3341         (scc patterns, movstrsi): Not available for TARGET_64BIT.
3342         (64bit conditional arithmetic): New patterns.
3343         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
3344         (movsicc): Not available if modes on all the operands to not match.
3345         (movdicc): New expander and associated patterns.
3346         (64bit branches): New patterns.
3347         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
3348         (pre_ldd, post_std): New patterns.
3349         (64bit addil, load low part): New patterns.
3350         (special movsf constant): Not available for TARGET_64BIT.
3351         (movsf, movdf expanders): Force constants into memory.
3352         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
3353         (64bit movdf/movdi patterns): New patterns.
3354         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
3355         for TARGET_64BIT.
3356         (extendqidi2, extendhidi2, extendsidi2): Similarly.
3357         (adddi3 expander): Allow "arith_operand" for second input.
3358         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
3359         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
3360         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
3361         (muldi3): New expander for TARGET_64BIT.
3362         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
3363         for TARGET_64BIT.
3364         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
3365         patterns for TARGET_64BIT.
3366         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
3367         patterns for TARGET_64BIT.
3368         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
3369         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
3370         (sibcall_epilogue): New expander.
3371         (casesi): Tweak for TARGET_64BIT.
3372         (call expanders): Set & use the outgoing argument pointer.  Use the
3373         64bit call patterns as needed. Add additional arg to output_call.
3374         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
3375         (sibcall, sibcall_internal_symref): New expanders.
3376         (sibcall_value, sibcall_value_internal_symref
3377         (interspace_jump): Turn into an expander + matching patterns.
3378         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
3379         * pa/pa64-regs.h: Eliminate trigraph sequences.
3380         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
3381
3382 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
3383
3384         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
3385         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
3386         cpp_token with cpp_ttype everywhere.
3387         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
3388         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
3389         CPP_BUF_COL.  Line and column numbers are unsigned int, not
3390         long.
3391         * cpplex.c (cpp_buf_line_and_col): Delete.
3392         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
3393         'long lineno' to 'unsigned int lineno'.
3394         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
3395
3396 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3397
3398         * extend.texi: ISO C99 is not a draft anymore.
3399         * invoke.texi: ISO C++ is not a draft anymore.
3400         * cpp.texi: __cplusplus is required by the ISO standard.
3401
3402         * extend.texi (-fthis-is-variable): Undocument.
3403         * flags.h (warn_template_debugging): Remove declaration.
3404         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
3405         -Wenum-clash, -Wtemplate-debugging): Undocument.
3406
3407 2000-04-10  Nick Clifton  <nickc@cygnus.com>
3408
3409         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
3410         integer.
3411         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
3412         integer.
3413         (ARM_SIGN_EXTEND): Use HOST_UINT.
3414         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
3415         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
3416         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
3417         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
3418
3419         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
3420         (arm_gen_constant): Use HOST_UINT.
3421         (arm_canonicalize_constant): Use HOST_UINT.
3422         (arm_reload_in_hi): Use HOST_UINT.
3423         (arm_reload_out_hi): Use HOST_UINT.
3424         (output_multi_immediate): Use HOST_UINT.
3425         (int_log2): Use HOST_UINT.
3426         (arm_poke_function_name): Use HOST_UINT.
3427         (arm_output_epilogue): Use arm_volatile_func().
3428         (output_thumb_prologue): Use arm_strip_name_encoding().
3429
3430 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3431
3432         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
3433         of sequence point problems.
3434
3435 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
3436
3437         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
3438         Recomment.
3439         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
3440
3441 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3442
3443         * sbitmap.h: Whitespace changes and use upper-case macro args.
3444         (struct simple_bitmap_def): All sizes now unsigned.
3445         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
3446         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
3447         (sbitmap_vector_alloc): Parms and local vars now unsigned.
3448         (sbitmap_zero): Cast bzero arg to PTR.
3449         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
3450         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
3451         loop to make structure clearer.
3452         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
3453         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
3454         (sbitmap_a_and_b_or_c): Likewise.
3455         (sbitmap_intersection_of_succs): Minor cleanups.
3456         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
3457         (sbitmap_union_of_preds): Likewise.
3458         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
3459         (debug_sbitmap): New function.
3460
3461         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
3462         * c-typeck.c (convert_for_assignment): Likewise.
3463
3464         * expmed.c (init_expmed): Don't free objects we make.
3465         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
3466
3467         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
3468         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
3469
3470         * gcse.c (expr_hash_table_size): Now unsigned.
3471         (compute_ae_gen): Local variable `i' now unsigned.
3472         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
3473         (compute_transout, hoist_code): Likewise.
3474         (compute_local_properties): Likewise, also hash_table_size.
3475         (alloc_expr_hash_table): N_INSNS now unsigned.
3476         (delete_null_pointer_checks): Mark arg F as unused.
3477
3478         * regrename.c: Minor cleanups, including chang some variables
3479         to unsigned int.
3480
3481 2000-04-10  Neil Booth  <NeilB@earthling.net>
3482
3483         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
3484         than GETC ().
3485         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
3486
3487 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3488
3489         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
3490         __classof__, and __headof__ from the list of gnu keywords.
3491         (-ansi): Remove -foperator-names from list of implied options.
3492         Do not call it ANSI C++.
3493         (-foperator-names): Document as -fno-operator-names.
3494
3495 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
3496
3497         * cpphash.c (timestamp): Delete.
3498         (del_HASHNODE): If type is T_MCONST, free value.cpval.
3499         (special_symbol): Remove unnecessary braces.  Remove
3500         T_VERSION.  Treat T_STDC like T_CONST unless
3501         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
3502         when one is encountered, then convert them into T_MCONST
3503         nodes.
3504         * cppinit.c (builtin_array): version_string is T_MCONST.
3505         __STDC__ has a "1" in its cpval.  Don't have a terminator
3506         entry.  Clean up which entries are dumped.
3507         (initialize_builtins): Only __STDC__ gets the special
3508         -traditional treatment.  Count the length of builtin_array.
3509         Render version_string here.
3510         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
3511         * cpplib.h (struct cpp_reader): Remove timebuf.
3512
3513 2000-04-09  Richard Henderson  <rth@cygnus.com>
3514
3515         * genrecog.c (pred): Update comparison_operator for the unordered
3516         operators.
3517
3518         * config/i386/i386.c (no_comparison_operator): Disallow unordered
3519         operators.
3520         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
3521         (uno_comparison_operator): New.
3522         (put_condition_code): Handle UNORDERED/ORDERED.
3523         (unsigned_comparison): Likewise.
3524         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
3525         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
3526         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
3527         update all callers.  Handle all 8 unordered operators.
3528         (ix86_expand_setcc): Lose the unordered argument, update all callers.
3529         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
3530         * config/i386/i386.h (PREDICATE_CODES): Update.
3531         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
3532         (ix86_expand_branch, ix86_expand_setcc): Update.
3533         * config/i386/i386.md (sunordered, sordered): New.
3534         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
3535         (bunordered, bordered): New.
3536         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
3537         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
3538         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
3539
3540 2000-04-09  Philip Blundell  <philb@gnu.org>
3541
3542         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
3543
3544 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
3545
3546         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
3547         fix_truncxfhi2): New patterns.
3548         * i386.c (output_fix_trunc): Handle converting to HImode.
3549
3550 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
3551
3552         * ssa.c (convert_to_ssa): Eliminate dead code when calling
3553         life_analysis.
3554         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
3555         (for_each_successor_phi): Change parameter to basic_block.
3556         (coalesce_regs_in_successor_phi_nodes): Likewise.
3557         (coalesce_regs_in_copies): Likewise.
3558         (compute_coalesced_reg_partition): Use basic_block instead of index.
3559         * rtl.h (convert_to_ssa): Delete.
3560         (convert_from_ssa): Likewise.
3561         (successor_phi_fn): Likewise.
3562         (for_each_successor_phi): Likewise.
3563         (in_ssa_form): Likewise.
3564         * basic-block.h (convert_to_ssa): Moved from rtl.h.
3565         (convert_from_ssa): Likewise.
3566         (successor_phi_fn): Likewise.
3567         (in_ssa_form): Likewise.
3568         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
3569         * flow.c (calculate_global_regs_live): Pass a basic_block to
3570         for_each_successor_phi.
3571
3572 2000-04-08  Richard Henderson  <rth@cygnus.com>
3573
3574         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
3575         was modified in the current insn.
3576
3577 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3578
3579         * arm/thumb.md: Delete.
3580         * arm/thumb-protos.h: Delete.
3581
3582 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3583
3584         Merge changes from merged-arm-thumb-backend-branch onto trunk.
3585
3586         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3587
3588         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
3589         into branch.
3590
3591         * arm.md (nop): Use the standard RTL expression.  Don't code as a
3592         define_expand.
3593         (*arm_nop, *thumb_nop): Delete.
3594
3595         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
3596         constants.  Use casts instead.
3597         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
3598         output_multi_immediate, arm_poke_function_name): Likewise.
3599         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
3600         MASK_RETURN_ADDDR): Likewise.
3601
3602         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
3603
3604         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
3605         into branch.
3606
3607         * arm.md (eh_epilogue): New function.
3608         * arm.h (struct machine_function): Move to here ...
3609         * arm.c: ... from here.
3610         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
3611         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
3612         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
3613
3614         2000-03-30  Nick Clifton  <nickc@cygnus.com>
3615
3616         * config/arm/semi.h (ASM_SPEC): Restore definition.
3617         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3618
3619         * config/arm/elf.h (ASM_SPEC): Restore definition.
3620         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3621
3622         * config/arm/arm.h (ASM_SPEC): Remove definition.
3623         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
3624
3625         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
3626
3627         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
3628
3629         2000-03-24  Nick Clifton  <nickc@cygnus.com>
3630
3631         Various formating tidyups, elimination of compile time
3632         warnings and synchronisation with internal sources:
3633
3634         * config/arm/arm-protos.h (assemble_align): Add prototype.
3635         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3636         (gen_comapre_reg): Rename to arm_gen_compare_reg.
3637         (arm_return_addr_rtx): Rename to arm_return_addr.
3638
3639         * config/arm/arm.c: Include except.h.
3640         Define shorter typenames for strict minipool_node and struct
3641         minipool_fix.
3642         (arm_return_in_memory): For WinCE return all structures <= 32 bits
3643         in memory.
3644         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3645         (gen_comapre_reg): Rename to arm_gen_compare_reg.
3646
3647         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
3648         already defined.
3649         (ASM_SPEC): Define if not already defined.
3650         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
3651
3652         * config/arm/arm.md: Rename references to gen_rotated_half_load to
3653         arm_gen_rotated_half_load, and references to gen_comapre_reg to
3654         arm_gen_compare_reg.
3655         (indirect_jump):  Only accept register operands.
3656         (load_indirect_jump): Keep this pattern since combine can generate
3657         it.
3658
3659         * config/arm/coff.h: Include aout.h.
3660         (MULTILIB_DEFAULTS): Only define if not already defined.
3661
3662         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
3663         into arm.h (so that COFF ports can support thumb based aliases).
3664         (ASM_SPEC): Move definition into arm.h
3665
3666         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
3667         redundant apcs spec.
3668         (ASM_SPEC): Move definition to arm.h
3669
3670         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
3671
3672         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
3673         for entries in the .bss section
3674
3675         2000-03-23  Nick Clifton  <nickc@cygnus.com>
3676
3677         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
3678         to thumb_far_jump_used_p.
3679
3680         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
3681         single integer parameter.
3682
3683         * config/arm/arm.c (struct machine_function): Add two new
3684         fields, 'far_jump_used' and 'arg_pointer_live'.
3685         (thumb_far_jump_used_p): Once the decision has been made that
3686         far jumps might be used, always return true.
3687         If being called from the initial elimination offset macro then
3688         do not bother to perform the test if the arg pointer is not
3689         being used.
3690         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
3691         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
3692
3693         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
3694
3695         * arm.c (output_return_instruction): Handle more cases where we can
3696         return from a function with an ldr instruction.
3697         (arm_output_epilogue): Likewise.
3698
3699         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
3700         if we need to push a large stack frame and there are no callee-saved
3701         registers.
3702
3703         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
3704         in ARM code if the frame pointer has been eliminated.
3705
3706         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
3707         unspec_volatile arguments to avoid duplicates.
3708         (consttable_1, consttable_2): Fixes for big-endian mode.
3709
3710         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
3711         as appropriate.
3712
3713         Re-write constant pool code.
3714         * arm.c (minipool_node, minipool_fix): New types.
3715         (minifix): Delete type.
3716         (arm_add_minipool_constant): Delete.
3717         (arm_compute_minipool_offsets, arm_find_barrier,
3718         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
3719         (get_jump_table_size): Now returns HOST_WIDE_INT.
3720         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
3721         functions.
3722         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
3723         (assign_minipool_offsets, arm_print_value): Likewise.
3724         (dump_minipool): Rewrite.
3725         (arm_barrier_cost): New function.
3726         (create_fix_barrier): New function.
3727         (push_minipool_barrier): New function.
3728         (push_minipool_fix): Record additional information about the fixup
3729         required.
3730         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
3731         check the mode of what needs fixing.
3732         (arm_reorg): Rewrite.
3733
3734         2000-03-08  Nick Clifton  <nickc@cygnus.com>
3735
3736         * config/arm/arm.md (indirect_jump): Force constant addresses into
3737         a register.
3738
3739         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
3740
3741         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
3742
3743         2000-02-24  Nick Clifton  <nickc@cygnus.com>
3744
3745         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
3746         adjust is word aligned.
3747         (thumb_expand_epilogue): Make sure that stack adjust is word
3748         aligned.
3749
3750         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
3751
3752         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
3753
3754         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
3755         pointer relative addresses.
3756
3757         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
3758
3759         * arm.c (find_barrier): Find the last barrier within the allowed
3760         range.
3761
3762         2000-02-09  Nick Clifton  <nickc@cygnus.com>
3763
3764         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
3765
3766         2000-02-09  Nick Clifton  <nickc@cygnus.com>
3767
3768         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
3769         ARM_FUNCTION_PROFILER.
3770
3771         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
3772         ARM_FUNCTION_PROFILER.
3773
3774         * config/arm/linux-oldld.h: Imported from mainline sources.
3775
3776         2000-02-07  Nick Clifton  <nickc@cygnus.com>
3777
3778         * config/arm/lib1funcs.asm: Merge in thumb functions from
3779         lib1thumb.asm.
3780
3781         * config/arm/lib1thumb.asm: Delete.
3782
3783         2000-02-04  Nick Clifton  <nickc@cygnus.com>
3784
3785         * config/arm/arm.c: Sychronised with current Red hat local
3786         sources.
3787         * config/arm/arm.h: Ditto.
3788         * config/arm/arm-protos.h: Ditto.
3789
3790         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
3791
3792         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
3793
3794         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
3795         byte stores.
3796
3797         2000-02-02  Nick Clifton  <nickc@cygnus.com>
3798
3799         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
3800
3801         * config/arm/arm.md (epilogue): Fix rtl checking abort because
3802         (return) was emited using an emit_insn() call.
3803
3804         2000-01-31  Nick Clifton  <nickc@cygnus.com>
3805
3806         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
3807         thumb stack frame.
3808         (thumb_exit): Move frame pointer back into hard frame pointer
3809         register if backtracing is being used.
3810
3811         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
3812
3813         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
3814         into branch.
3815
3816         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
3817
3818         * config/arm/arm.md (neg_pool_offset): Provide default for new
3819         attribute.
3820         (arm_movsi_insn): Add neg_pool_offset attribute.
3821         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
3822         rtx for the insn that starts the scan and an unsigned long for its
3823         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
3824         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
3825         instructions in *PINSERTED.
3826         (struct minipool_fixup): Add MIN_ADDRESS elt.
3827         (sort_fixups): Compute it.
3828         (arm_reorg): Changes to support inserting pools before the insn to be
3829         fixed up.
3830
3831         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
3832
3833         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
3834         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
3835         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
3836
3837         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
3838
3839         * config/arm/semi.h (TARGET_VERSION): Do not define if already
3840         defined.
3841         (TARGET_DEFAULT): Do not define if already defined.
3842
3843         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
3844
3845         * config/arm/arm.md (anddi3): Allow disjoint source operands.
3846         (iordi3): Allow disjoint source operands.
3847         (xordi3): Allow disjoint source operands.
3848         (negdi2): Permit construction for ARM and Thumb.
3849         (arm_negdi2): Renamed version of old negdi2 pattern.
3850         (thumb_negdi2): New pattern: Only permit non-overlapping
3851         source and destination.
3852
3853         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
3854
3855         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
3856         scratch low register so that it will not be deleted.
3857
3858         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
3859
3860         * config/arm/pe.h (ARM_PE): Define.
3861
3862         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
3863         interfacearm attribute if this is a PE toolchain.
3864         (output_return_instruction): Do not emit anything if the function
3865         has the naked attribute set.
3866         (is_called_in_ARM_mode): If the function has the interfacearm
3867         attribute then return true.
3868         (thumb_expand_prologue): Do not generate a prologue for naked
3869         functions.
3870         (thumb_expand_epilogue): Do not generate an epilogie for a naked
3871         function.
3872         (output_thumb_prologue): Do not bother if the function is naked.
3873         Strip PE encoding from function name before emitting.
3874
3875         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
3876
3877         * arm.md (pic_load_addr): Fix constraints.
3878
3879         * arm.md (casesi_insn): Fix mis-applied patch.
3880
3881         * arm.md ("core" function unit): Add rules for single- and
3882         multi-cycle insns.
3883         (All TARGET_THUMB patterns): Add "type" attribute information
3884         where needed.
3885         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
3886         the following insn is a CALL.
3887
3888         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
3889         pointer.
3890         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
3891         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
3892         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
3893
3894         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
3895
3896         * config/arm/linux-gas.h: oops - this file was missed out when the
3897         branch was created...
3898
3899         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
3900
3901         * thumb.c: Deleted.  Move contents to ...
3902         * arm.c: ... here.
3903         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
3904         rule for thumb.o
3905         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
3906         * configure: Regen.
3907
3908         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
3909         declare a prototype for asm_output_align();
3910
3911         * arm.c (thumb_condition_code): Delete.
3912         (arm_print_operand): Always use arm_condition_code array.
3913
3914         * arm.c (thumb_return_addr_rtx): Delete.
3915         (arm_save_machine_status, arm_restore_machine_status): Delete.
3916         (arm_init_machine_status, arm_mark_machine_status): New functions.
3917         (arm_init_expanders): Update accordingly.
3918         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
3919         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
3920         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
3921
3922         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
3923
3924         * configure.in : Fix arm-*-aout target to use new t-arm-aout
3925         script.
3926         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
3927         targets.
3928
3929         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
3930
3931         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
3932         stack backtrace structure.
3933
3934         * config/arm/arm-protos.h: Add prototypes for functions defined in
3935         arm/pe.h.
3936
3937         * config/arm/arm.c (arm_override_options): Fix selection of
3938         attributes of default processor.
3939
3940         * config/arm/coff.h: Delete needless #include.
3941
3942         * config/arm/pe.c: Delete unused code.
3943
3944         * config/arm/pe.h (CPP_DEFINES): Delete
3945         (SUBTARGET_CPP_SPEC): Define.
3946         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
3947
3948         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
3949
3950         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
3951
3952         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
3953         updated.
3954         (CAN_DEBUG_WITHOUT_FP): Define.
3955         (FIXED_REGISTERS): Make r11 call-saved.
3956         (CALL_USED_REGISTERS): Likewise.
3957         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
3958         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
3959         frame-pointer is required.
3960         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
3961         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
3962         if the target normally needs a stack frame in non-leaf functions.
3963         (use_return_insn): Correct logic for determining when a return
3964         instruction can be used.
3965         (output_return_instruction): Handle the frame-pointer register as
3966         a normal register when not TARGET_APCS_FRAME.
3967         (arm_output_prologue): Likewise.
3968         (arm_output_epilogue): Likewise.
3969         (output_func_epilogue): Likewise.
3970         (arm_expand_prologue): Likewise.
3971         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
3972
3973         * arm.c (use_return_insn): No need to check floating point regs if
3974         TARGET_SOFT_FLOAT.
3975         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
3976         the code of value stored in the minipool array.
3977         (arm_add_minipool_constant): Likewise.
3978
3979 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3980
3981         * basic-block.h (conflict_graph_enum_fn): K&R fix.
3982
3983 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3984
3985         * tree.c (tree_expr_nonnegative_p): New function.
3986
3987         * tree.h (tree_expr_nonnegative_p): Declare.
3988
3989         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
3990         elide some sign_compare warnings.
3991         (build_conditional_expr): Likewise.
3992
3993 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
3994
3995         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
3996
3997         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
3998         * i386.c (print_operand): Use the proper suffix for a 387 HImode
3999         operand.  Abort if a 387 operand has an unsupported size.
4000
4001 2000-04-08  Neil Booth  <NeilB@earthling.net>
4002
4003         * cppexp.c (parse_charconst): Null does not end character
4004         constants.
4005         * cppinit.c (ISTABLE): Null character handled as whitespace.
4006         * cpplex.c (null_warning):  new function.
4007         (skip_string): Emit warning if nulls encountered.
4008         (_cpp_skip_hspace): Emit warning if nulls encountered.
4009         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
4010         them.
4011         * cpp.texi: Update.
4012
4013 2000-04-07  Richard Henderson  <rth@cygnus.com>
4014
4015         * flow.c (loop_depth): Remove.
4016         (reg_next_use, cc0_live, mem_set_list): Replace with ...
4017         (struct propagate_block_info): New.
4018         (life_analysis): Don't allocate reg_next_use.
4019         (propagate_block_delete_insn): Break out of propagate_block.
4020         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
4021         (propagate_block_delete_libcall): Likewise.
4022         (propagate_block): Create a propagate_block_info struct to pass
4023         to subroutines.  Allocate one not two temporary regsets.  Don't
4024         clobber memory for const calls.  Look for clobbers in
4025         CALL_INSN_FUNCTION_USAGE.
4026         (mark_set_regs): Recognize COND_EXEC.
4027         (mark_set_reg): Break out of mark_set_1.
4028         (mark_used_reg): Break out of mark_used_regs.
4029         (mark_used_regs): Recognize COND_EXEC.
4030         (insn_dead_p): Use propagate_block_info struct.
4031         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
4032         (find_auto_inc, try_pre_increment_1): Likewise.
4033         (print_rtl_with_bb): Dump regs live at end too.
4034         (count_reg_sets_1): Pass in loop_depth.
4035         (count_reg_sets, count_reg_references): Likewise.
4036         (recompute_reg_usage): Provide it.
4037
4038 2000-04-07  Richard Henderson  <rth@cygnus.com>
4039
4040         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
4041         not the raw files.
4042
4043 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
4044
4045         * cpplib.c (do_elif): Skip the rest of the line if we're
4046         not going to bother evaluating it.
4047         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
4048         to avoid pointless calls to the lexer.
4049
4050 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
4051
4052         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
4053
4054 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
4055
4056         * calls.c (expand_call): emit_queue if we're trying a sibcall.
4057
4058 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
4059
4060         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
4061
4062 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
4063
4064         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
4065         crtend so they can be multilibbed.
4066         (STAGESTUFF): Remove s-crt and s-crtS.
4067
4068 2000-04-07  Richard Henderson  <rth@cygnus.com>
4069
4070         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
4071         if we discover we need a pseudo and no_new_pseudos is true.
4072         * config/alpha/alpha.md (ne:DI insn): New.
4073         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
4074
4075 2000-04-07  Richard Henderson  <rth@cygnus.com>
4076
4077         * rtl.def (COND_EXEC): New.
4078         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
4079         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
4080
4081         * genconfig.c (have_cond_arith_flag): Remove.
4082         (have_cond_exec_flag): New.
4083         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
4084         (main): Print HAVE_conditional_execution.
4085
4086         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
4087         (sched_analyze_insn, print_pattern): Likewise.
4088         * reload.c (find_equiv_reg): Likewise.
4089         * rtlanal.c (reg_referenced_p): Likewise.
4090         (note_stores, dead_or_set_regno_p): Likewise.
4091         (reg_overlap_mentioned_p): Rewrite to use a switch.
4092
4093         * ggc.h (struct rtx_def): Forward declare.
4094
4095         * print-rtl.c (debug_rtx_range): New.
4096         * rtl.h (debug_rtx_range): Declare.
4097
4098         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
4099
4100         * gcse.c (gcse_main): Don't rebuild the CFG here.
4101         (delete_null_pointer_checks): Likewise.
4102         * ssa.c (convert_to_ssa): Likewise.
4103         * toplev.c (rest_of_compilation): Do it here instead.  Combine
4104         sequential calls to TIMEVAR.  Consistently use `insns' instead of
4105         `get_insns()'.  Always split insns after reload when optimizing.
4106
4107         * basic-block.h (merge_blocks_nomove): Declare.
4108         (tidy_fallthru_edge): Declare.
4109         * flow.c (merge_blocks_nomove): Document as merging into previous
4110         blocks.  Remove cruft from between blocks; remove all edges out of A.
4111         (tidy_fallthru_edge): Export.
4112
4113 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
4114
4115         * ssa.c (compute_conservative_reg_partition): Declare with
4116         void arguments.
4117         * toplev.c (clean_dump_file): Remove previously-deleted function
4118         inadvertantly merged back in.
4119         * conflict.c (conflict_graph_add): Use a single call to
4120         htab_find_slot to look up and insert.
4121
4122 2000-04-06  Richard Henderson  <rth@cygnus.com>
4123
4124         * genrecog.c (*): Rename _last_insn to last_insn.
4125         (make_insn_sequence): Set the position of the peephole2 C test
4126         to be at the last insn.
4127
4128 2000-04-06  Richard Henderson  <rth@cygnus.com>
4129
4130         * flow.c (compute_flow_dominators): Free worklist.
4131
4132 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
4133
4134         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
4135
4136 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
4137
4138         * rtl.h (INSN_P): New macro.
4139         (successor_phi_fn): New typedef.
4140         (for_each_successor_phi): New prototype.
4141         (in_ssa_form): New variable.
4142         (PHI_NODE_P): Likewise.
4143         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
4144         phi nodes in successors.
4145         (mark_used_regs): Add PHI case.
4146         (set_phi_alternative_reg): New function.
4147         (life_analysis): Assert that dead code elimination is not selected
4148         when in SSA form.
4149         * toplev.c (to_ssa_time): New variable.
4150         (from_ssa_time): Likewise.
4151         (compile_file): Zero to_ssa_time and from_ssa_time.
4152         Print time to convert to and from SSA.
4153         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
4154         (print_time): Compute percent fraction as integer.
4155         * ssa.c (PHI_NODE_P): Moved to rtl.h.
4156         (convert_to_ssa): Check if we're already in SSA.
4157         Don't eliminate dead code in life_analysis.
4158         Rerun flow and life analysis at bottom.
4159         (eliminate_phi): Use canonical regnos when adding nodes.
4160         (mark_reg_in_phi): New function.
4161         (mark_phi_and_copy_regs): Likewise.
4162         (convert_from_ssa): Rerun life analysis at top.
4163         Use coalesced partition.
4164         Check for removing a phi node at the end of the block.
4165         (compute_coalesced_reg_partition): New function.
4166         (coalesce_regs_in_copies): Likewise.
4167         (coalesce_reg_in_phi): Likewise.
4168         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
4169         (for_each_successor_phi): Likewise.
4170         (rename_context): New struct.
4171         (rename_block): Use a rename_context with rename_insn_1.  When
4172         renaming sets of a subreg, emit a copy of the entire reg first.
4173         (rename_insn_1): Treat data as a rename_context *.  Save current
4174         insn in set_data.
4175         (rename_set_data): Add field set_insn.
4176         * Makefile.in (HASHTAB_H): Move up in file.
4177         (OBSTACK_H): New macro.
4178         (collect2.o): Use OBSTACK_H in dependencies.
4179         (sdbout.o): Likewise.
4180         (emit-rtl.o): Likewise.
4181         (simplify-rtx.o): Likewise.
4182         (fix-header.o): Likewise.
4183         (OBJS): Add conflict.o.
4184         (conflict.o): New rule.
4185         * basic-block.h: Include partition.h.
4186         (conflict_graph): New typedef.
4187         (conflict_graph_enum_fn): Likewise.
4188         (conflict_graph_new): New prototype.
4189         (conflict_graph_delete): Likewise.
4190         (conflict_graph_add): Likewise.
4191         (conflict_graph_conflict_p): Likewise.
4192         (conflict_graph_enum): Likewise.
4193         (conflict_graph_merge_regs): Likewise.
4194         (conflict_graph_print): Likewise.
4195         (conflict_graph_compute): Likewise.
4196         * conflict.c: New file.
4197
4198 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
4199
4200         * tlink.c (read_repo_files): Don't look for .rpo info for
4201         linker flags.
4202
4203 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4204
4205         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
4206
4207 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4208
4209         * config/sh/lib1funcs.asm (___udivsi3_i4):
4210         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
4211         only depends on FMOVD_WORKS.
4212
4213 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4214
4215         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
4216         make double constant 8-byte aligned.
4217
4218 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
4219
4220         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
4221         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
4222         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
4223         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
4224         Accept storing GENERAL_REGS into offsetable memory.
4225         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
4226         building a TFmode constant other than 0.0L into GENERAL_REGS.
4227
4228 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
4229
4230         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
4231
4232 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
4233
4234         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
4235         (macro_cleanup): No need to cast pbuf->macro.
4236         (collect_expansion): Use _cpp_get_define_token.  Goto done if
4237         it returns VSPACE.  Remove check for trailing space after
4238         CPP_COMMENT.
4239         (_cpp_create_definition): Don't diddle flags here.  Return
4240         directly on error.
4241         (unsafe_chars): Handle c1 being EOF.
4242         (push_macro_expansion): Use unsafe_chars for both accidental-paste
4243         checks.  Don't push the buffer till after we're done with
4244         them.
4245         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
4246         (PEEKN, FORWARD, GETC, PEEKC): Use them.
4247         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
4248         appropriately.
4249         (_cpp_parse_assertion): Don't NUL terminate.
4250         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
4251         hspace before calling _cpp_parse_assertion.  Remove all sets
4252         of only_seen_white. Treat '\f' as hspace.  Don't do anything
4253         special with '\n' here.
4254         (maybe_macroexpand): Handle T_EMPTY hash entries without
4255         pushing a buffer at all.
4256         (cpp_get_token): Handle clearing only_seen_white here.  Handle
4257         incrementing the line number here.  Clear
4258         potential_control_macro as well as only_seen_white, if
4259         appropriate.
4260         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
4261         (_cpp_get_define_token): New function, basically like
4262         _cpp_get_directive_token was but doesn't eat horizontal space.
4263         Don't do anything with only_seen_white here.
4264         (_cpp_get_directive_token): Just call _cpp_get_define_token
4265         repeatedly till it returns non-hspace.
4266
4267         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
4268         (conditional_skip, skip_if_group): Return int.
4269         (DIRECTIVE_TABLE): Change origin of all conditional directives
4270         to "COND".
4271         (TRAD_DIRECT_P): New macro.
4272         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
4273         an error for a bogus directive, unless -lang-asm.  Use
4274         TRAD_DIRECT_P. Loop calling handler functions till one returns
4275         zero.
4276         (get_macro_name): Don't diddle flags here.
4277         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
4278         Create T_EMPTY nodes for #define macro /* nothing */.
4279         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
4280         Use hp->name when calling pass_thru_directive.
4281         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
4282         Return the result of conditional_skip and/or skip_if_group.
4283         Don't call _cpp_output_line_command.
4284         (consider_directive_while_skipping): Use _cpp_get_directive_token.
4285         Issue -Wtraditional warnings as appropriate.  Don't complain
4286         about unrecognized directives.  If we are to stop skipping,
4287         return the number of the directive that ended the skip.
4288         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
4289         expansion and line commands while skipping.  Return the result
4290         of consider_directive_while_skipping, if nonzero.
4291         (do_endif): Just set potential_control_macro here.
4292         (validate_else): Use _cpp_get_directive_token.
4293         (do_assert, do_unassert): Don't save pointers into the
4294         token_buffer across calls to the lexer.  Use
4295         _cpp_get_directive_token.
4296
4297         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
4298         pointer, not an offset.  Replace 'data', which was a generic
4299         pointer, with 'macro', which points to a struct hashnode.
4300         (cpp_reader): Add 'potential_control_macro' pointer.
4301         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
4302         (CPP_BUF_GET, CPP_FORWARD): Delete.
4303         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
4304         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
4305         ACTIVE_MARK_P): Update.
4306         (_cpp_get_define_token): New internal function.
4307         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
4308
4309 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
4310
4311         * configure.in: And here.
4312         * configure: Regenerate.
4313         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
4314         --enable-libstdcxx-v3 is passed at configure time.
4315         * config.h.in: Regenerate.
4316
4317 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
4318
4319         * final.c (final): Use xcalloc to allocate line_note_exists.
4320         * function.c (free_after_compilation): Free the temp_slots.
4321         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
4322         (combine_temp_slot): Free temp_slots when they get combined.
4323         (purge_addressof): Fix typo in comment.
4324         * stmt.c (mark_goto_fixup): Mark the fixup itself.
4325         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
4326
4327         * ggc.h: Include varray.h.
4328         (ggc_pending_trees): Declare.
4329         (ggc_mark_tree_children): Remove declaration.
4330         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
4331         * ggc-common.c (ggc_pending_trees): New variable.
4332         (ggc_mark_roots): Call ggc_mark_trees.
4333         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
4334         the ggc_pending_trees.
4335         * Makefile.in (GGC_H): New variable.  Use it throughout in place
4336         of ggc.h.
4337
4338 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4339
4340         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
4341         GET_MODE_SIZE.
4342
4343 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4344
4345         * sh.c (sh_insn_length_adjustment): New function.
4346         * sh-protos.h (sh_insn_length_adjustment): Declare.
4347         * sh.h (ADJUST_INSN_LENGTH): Use it.
4348
4349 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
4350
4351         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
4352         from the insn where REG_RETVAL is added.
4353         (emit_no_conflict_block): Ditto.
4354
4355         * md.texi (Standard Names): Clarify when movX is needed.
4356
4357         * combine.c (simplify_comparison) [MINUS]: Do not replace
4358         all (op (minus A B) 0) with (op A B).
4359
4360 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
4361                           J"orn Rennecke <amylaar@cygnus.co.uk>
4362
4363         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
4364         (block_lump_real): Likewise.
4365
4366 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
4367
4368         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
4369         remaining non-zero debugging masks.
4370
4371 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
4372
4373         * basic-block.h (verify_flow_info): Declare.
4374         (flow_loop_outside_edge_p): Declare.
4375         * flow.c (verify_flow_info): Remove declaration.
4376         (clear_log_links, flow_loop_outside_edge_p): Likewise.
4377
4378 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
4379
4380         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
4381         not C++ comments.
4382
4383 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
4384
4385         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
4386         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
4387         seqdi_zero_trunc+1): Allow splits only if registers are
4388         different.
4389
4390 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
4391
4392         * acconfig.h: Add HAVE_GAS_HIDDEN.
4393         * config.in: Regenerated.
4394         * configure.in: Add test for .hidden pseudo-op in gas.
4395         * configure: Regenerated.
4396         * crtstuff.c: Include auto-host.h.
4397         Emit additional .hidden pseudo-op for __dso_handle if the
4398         assembler knows about it.
4399
4400 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
4401
4402         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
4403         before freeing argnames.
4404         * cpplib.c (do_ifndef): Cast return value of xstrdup.
4405
4406 2000-04-05  Michael Meissner  <meissner@redhat.com>
4407
4408         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
4409         Walton <jonboy@gordian.com> to make memory references with update
4410         work wtih -mregnames.
4411
4412 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4413
4414         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
4415         (regrename_optimize): Rename variables `def_uses' and
4416         `ext_basic_blocks' to avoid conflicts with similarly named
4417         typedefs in traditional C.
4418
4419         * calls.c (initialize_argument_information): Fix typo in previous
4420         change.
4421
4422 2000-04-04  Richard Henderson  <rth@cygnus.com>
4423
4424         * regrename.c (consider_available): Test fixed_regs not
4425         PIC_OFFSET_TABLE_REGNUM.
4426
4427 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
4428
4429         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
4430         crtend.
4431         (CRTSTUFF_T_CFLAGS_S): Delete definition.
4432         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
4433         (ENDFILE_LINUX_SPEC): Always use crtend.
4434         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
4435         (powerpc-*-linux-gnu): Likewise.
4436         * configure: Regenerate.
4437
4438         * config/rs6000/eabi.h: Don't include sysv4.h.
4439         (MULTILIB_DEFAULTS): Don't define.
4440         * config/rs6000/eabiaix.h: Don't include eabi.h.
4441         * config/rs6000/eabile.h: Delete.
4442         * config/rs6000/eabilesim.h: Delete.
4443         * config/rs6000/eabisim.h: Don't include eabi.h.
4444         * config/rs6000/linux.h: Don't include sysv4.h.
4445         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
4446         (MULTILIB_DEFAULTS): Don't redefine.
4447         * config/rs6000/rtems.h: Don't include eabi.h.
4448         * config/rs6000/sol2.h: Don't include sysv4le.h.
4449         * config/rs6000/sysv4le.h: Don't include sysv4.h.
4450         * config/rs6000/t-ppc: Delete.
4451         * config/rs6000/t-ppcgas: Correct comment.
4452         * config/rs6000/t-ppcos: Correct comment.  Don't build
4453         multilibs for -fPIC, rather use -fPIC -mstrict-align
4454         as default.
4455         * config/rs6000/t-ppc: Delete.
4456         * config/rs6000/vxppc.h: Don't include sysv4.h.
4457         * config/rs6000/vxppcle.h: Delete.
4458         * configure.in: Use multiple header files for p2pc ELF targets
4459         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
4460         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
4461         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
4462         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
4463         always available for these platforms.
4464
4465 2000-04-04  Richard Henderson  <rth@cygnus.com>
4466
4467         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
4468
4469 2000-04-04  Stan Cox  <scox@cygnus.com>
4470
4471         * Makefile.in: Add rules for regrename.o
4472         * regrename.c: New file.
4473         * rtl.h (regrename_optimize): Add prototype.
4474         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
4475         (compile_file, decode_d_option): Add support for -frename-registers.
4476         (rest_of_compilation): Call regrename_optimize.
4477         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
4478         New macros.
4479
4480 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4481
4482         * Makefile (gccbug): New target.
4483         (doc): Depend on it.
4484         * gcc.texi (Bugs): Link subnodes.
4485         (gccbug): New node.
4486         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
4487         Document severities, priorities, and classes in bug form.
4488
4489 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
4490
4491         * cpplex.c (trigraph_map, speccase): Combine into single
4492         table, chartab.
4493         (NORMAL, NONTRI): New macros.
4494         (_cpp_read_and_prescan): Change to use unified table.  Use
4495         is_hspace to test for whitespace.
4496
4497         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
4498         definition that doesn't provoke the "empty body in an
4499         if-statement" warning.
4500
4501 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
4502
4503         * builtins.c (expand_builtin_strlen): Force the source to
4504         be a memory address.
4505
4506 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4507
4508         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
4509
4510 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4511
4512         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
4513          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
4514         (ECF_IS_CONST): Rename to ECF_CONST.
4515         (special_function_p): Make static, change interface.
4516         (flags_from_decl_or_type, try_to_integrate): Break out from ...
4517         (expand_call) ... here; convert number of variables to flags.
4518         (emit_library_call_vlue_1): Likewise.
4519         (setjmp_call_p): New function.
4520         (initialize_argument_information): Accepts flags as argument;
4521         return flags.
4522         (precompute_arguments): Likewise.
4523         * tree.h (special_function_p): Remove.
4524         (setjmp_call_p): Add prototype.
4525
4526 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
4527
4528         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
4529         so that addresses are offsetable by up to 16 bytes.
4530         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
4531         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
4532         offsetable.
4533
4534         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
4535         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
4536         (movsf): Don't force any constant to memory if target is integer
4537         hard register.
4538         Move fp_zero_operand check below the const0_rtx check.
4539         (movtf): Likewise. Also allow fp_zero_operand for stores into
4540         memory.
4541         (movdf): Likewise. Also allow fp_zero_operand for stores into
4542         memory and into integer hard registers.
4543         (clear_df, clear_dfp, movdf_const_intreg_sp32,
4544         movdf_const_intreg_sp64): Remove.
4545         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
4546         conditions.
4547         (movdf_no_e_insn_v9_sp32): New pattern.
4548         (movdf_insn_v9only): Remove.
4549         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
4550         (movdf_insn_sp64): Remove.
4551         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
4552         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
4553         (following splits): Rewrite conditions. Add two new splits
4554         for storing 0.0 into memory and registers.
4555         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
4556         (movtf_insn_sp32): Redo constraints and conditions.
4557         (movtf_insn_vis_sp32): New pattern.
4558         (movtf_no_e_insn_sp32): Redo constraints and conditions.
4559         (movtf_insn_hq_sp64): Likewise.
4560         (movtf_insn_hq_vis_sp64): New pattern.
4561         (movtf_insn_sp64): Redo constraints and conditions.
4562         (movtf_insn_vis_sp64): New pattern.
4563         (movtf_no_e_insn_sp64): Redo constraints and conditions.
4564         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
4565         or memory.
4566         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
4567         -mvis or -m64 to take down the number of various reload patterns.
4568
4569 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
4570
4571         * pa/pa-64.h: New file.
4572         * pa/pa64-regs.h: New file.
4573         * pa/pa64-start.h: New file.
4574         * pa/t-pa64: New file.
4575         * pa/xm-pa64hpux.h: New file.
4576
4577 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4578
4579         * sparc.c (output_restore_regs): Prototype.
4580         (sparc_emit_float_lib_cmp): Constification.
4581
4582         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
4583
4584         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
4585         Prototype.
4586
4587         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
4588         (get_value_hash, hash_rtx): Likewise.
4589
4590         * ssa.c (compute_conservative_reg_partition): Prototype.
4591
4592         * tree.c (mark_hash_entry): Prototype.
4593
4594 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
4595
4596         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
4597         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
4598         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
4599
4600         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
4601         * objc/lang-specs.h: Likewise.
4602
4603 2000-04-03  Neil Booth  <NeilB@earthling.net>
4604
4605         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
4606         and SYNTAX_ERROR2. Replace `' in messages with ''.
4607         (op_to_str): Make re-entrant.
4608         (_cpp_parse_expr): Implement new error macros. Use | rather
4609         than || to logically or 2 boolean integers.  Simply expression
4610         checking we have a left operand iff needed.
4611
4612 2000-04-03  Nick Clifton  <nickc@cygnus.com>
4613
4614         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
4615
4616 2000-04-03  Philip Blundell  <philb@gnu.org>
4617
4618         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
4619
4620 2000-04-03  Felix Lee  <flee@cygnus.com>
4621
4622         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
4623         (run_shell): Use it.
4624
4625 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
4626
4627         * Makefile.in (stmp-int-hdrs): Make include subdir here...
4628         (stmp-fixproto): ...rather than here.
4629
4630 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
4631
4632         * pa.c (print_operand): Compute 'base' only inside the code paths
4633         that use it.
4634
4635 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
4636
4637         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
4638         CEIL_DIV_EXPR.
4639
4640 2000-04-03  Philipp Thomas  <pthomas@suse.de>
4641
4642         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
4643
4644 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
4645
4646         * Makefile.in (alias.o): Depend on $(TREE_H).
4647
4648 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
4649
4650         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
4651         processing C++.
4652         * cpplib.c (_cpp_handle_directive): Improve warnings for
4653         traditional C and indented directives.
4654
4655         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
4656         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
4657         fixinc/inclhack.def: Indent the # of #include_next one space.
4658         * cp/rtti.c: Un-indent #if and #endif.
4659
4660         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
4661         syntax error, but an error has already been printed.
4662         * cpplex.c (_cpp_parse_assertion): Give a more specific error
4663         message when called with nothing remaining on the line.
4664         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
4665         OTHER token, not an ASSERTION.
4666         * cpplib.c (do_assert): When we create a 'base' node, clear
4667         its aschain pointer.
4668
4669 2000-04-02  Neil Booth <NeilB@earthling.net>
4670
4671         * cppexp.c:  New typedef op_t.  struct operation and struct
4672         token updated to use it.
4673         (op_to_str): New function.
4674         (_cpp_parse_expr): Error messages modified to use op_to_str.
4675
4676 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4677
4678         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
4679         before checking MUST_PASS_IN_STACK.
4680
4681 2000-04-02  Neil Booth <NeilB@earthling.net>
4682
4683         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
4684         flags and initial priority into a single constant.  New
4685         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
4686         (_parse_cpp_expr): Implement new constants.  Take left operand
4687         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
4688         parse indicated by reducing FINISHED token.  Remove new lines
4689         from cpp_error messages.
4690
4691 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
4692
4693         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
4694         permanent obstack.
4695
4696 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
4697
4698         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
4699         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
4700         the strings and function names on the fly.  Take the #sccs
4701         entry out of the table if SCCS_DIRECTIVE is not defined.
4702         (_cpp_handle_directive): Decide if the # was at the beginning
4703         of the line here.  Issue -pedantic warnings for extended
4704         directives here.  Warn about K+R directives with the #
4705         indented, and C89/extended directives with the # not indented,
4706         here.
4707         (do_import, do_include_next, do_warning, do_ident, do_sccs,
4708         do_assert, do_unassert): Don't issue pedantic warning here.
4709
4710         * cpphash.h: Add CPP_WTRADITIONAL macro.
4711         * cpplib.h (struct cpp_options): Rename warn_stringify to
4712         warn_traditional; update comments.
4713         * cppinit.c (handle_option): Set warn_traditional not
4714         warn_stringify.
4715         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
4716         CPP_WTRADITIONAL (pfile).
4717         * cpplex.c (_cpp_lex_token): Don't decide if directives should
4718         be ignored in -traditional mode here.
4719
4720         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
4721         to initialize speccase[] and trigraph_map[].  Delete all
4722         references to pfile->input_speccase.  Always treat '?' as a
4723         special character.  Remove table-initialization code from
4724         _cpp_init_input_buffer.
4725
4726         * cpplib.h (struct cpp_reader): Remove input_speccase field.
4727         * cppinit.c (cpp_cleanup): Don't free input_speccase.
4728
4729 2000-04-01  Richard Henderson  <rth@cygnus.com>
4730
4731         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
4732         (mostlyclean): Likewise.
4733
4734         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
4735         (struct dump_file_info, enum dump_file_index, dump_file): New.
4736         (open_dump_file): Take a dump_file_index not a suffix, and a decl
4737         not a string.  Clean out file if we havn't yet done so.  Do nothing
4738         if the dump isn't enabled.
4739         (close_dump_file): Do nothing if the dump isn't open.  Dump
4740         graph data if requested.
4741         (dump_rtl, clean_dump_file): Remove.
4742         (compile_file): Don't clean the dump files.  Only finalize .bp dump
4743         if flag_test_coverage or flag_branch_probabilities.  Only finalize
4744         .combine dump if optimizing.  Iterate over dump_file to finalize the
4745         graph dumps.
4746         (rest_of_compilation): Update for open_dump_file/close_dump_file.
4747         Convert all uses of dump_rtl.
4748         (decode_d_option): Iterate over dump_file to implement 'a' and to
4749         locate pass-specific dumps.
4750
4751 2000-04-01  Neil Booth <NeilB@earthling.net>
4752
4753         * cppexp.c: Redefine priority constants.
4754         (_cpp_parse_expr): Replace left and right priority scheme with
4755         single priority logic.  Move LOGICAL to same place as COMPARE.
4756         Remove bogus check for multiple unary +/- operators.
4757
4758 2000-04-01  Neil Booth <NeilB@earthling.net>
4759
4760         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
4761         within the switch statement.  Binary operations break out of
4762         the switch naturally.  '(' tokens handled by forcing
4763         immediate shift.  ')' handled by forcing immediate reduce to
4764         the previous '('.  New error messages.
4765
4766 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
4767
4768         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
4769         part', it's already in use.  Use %K instead.  Add a return at the
4770         end of what is now %K.
4771         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
4772
4773 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4774
4775         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
4776         allocate_dynamic_stack_space.
4777         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
4778         update stack_pointer_delta; do not update arg_size_so_far.
4779         (compute_argument_block_size): Use stack_delta instead of
4780         stack_pointer_pending and arg_size_so_far.
4781         (expand_call): Add sanity checking for stack_pointer_delta;
4782         save and restore stack_pointer_delta for SIB, use
4783         stack_pointer_delta for alignment; do not update arg_space_so_far.
4784         (emit_library_call_value): Use stack_pointer_delta for alignment.
4785         (store_one_arg): Do not update arg_space_so_far.
4786         * explow.c (adjust_stack, anti_adjust_stack): Update
4787         stack_pointer_delta.
4788         (allocate_dynamic_stack_space): Add sanity checking for
4789         stack_pointer_delta.
4790         * expr.c (init_expr, clear_pending_stack_adjust): Clear
4791         stack_pointer_delta.
4792         (emit_push_insn): Update stack_pointer_delta.
4793         * function.h (struct expr_status): Add x_stack_pointer_delta;
4794         remove x_arg_space_so_far.
4795         (arg_space_so_far): Remove.
4796         (stack_pointer_delta): New macro.
4797
4798 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
4799
4800         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
4801         Reorder struct cpp_options and struct cpp_reader for better
4802         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
4803         takes two args.  Change all 'char' flags to 'unsigned char'.
4804         Move show_column flag into struct cpp_options.  Don't
4805         prototype cpp_options_init.
4806         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
4807         cppinit.c, cpplex.c, cpplib.c:
4808         Replace CPP_OPTIONS (pfile)->whatever with
4809         CPP_OPTION (pfile, whatever), and likewise for
4810         opts = CPP_OPTIONS (pfile); ... opts->whatever;
4811
4812         * cppinit.c (merge_include_chains): Take a cpp_reader *.
4813         Extract CPP_OPTION (pfile, pending) and work with that
4814         directly.
4815         (cpp_options_init): Delete.
4816         (cpp_reader_init): Turn on on-by-default options here.
4817         Allocate the pending structure here.
4818         (cl_options, enum opt_code): Define these from the same table,
4819         kept in a large macro.  Add -fshow-column and -fno-show-column
4820         options.
4821
4822         * cpperror.c (v_message): If show_column is off, don't print
4823         the column number.
4824
4825         * cppmain.c: Update for new interface.
4826         * fix-header.c: Likewise.
4827
4828 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
4829
4830         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
4831         definition.
4832         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
4833         are passed to any invocation of AR_FOR_TARGET.
4834         (AR_CREATE_FOR_TARGET): New macro.
4835         (AR_EXTRACT_FOR_TARGET): New macro.
4836         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
4837         AR_EXTRACT_FOR_TARGET.
4838         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
4839         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
4840         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
4841         AR_EXTRACT_FOR_TARGET to sub-makes.
4842
4843 2000-03-31  Neil Booth <NeilB@earthling.net>
4844
4845         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
4846         PAREN_INNER_PRIO.
4847         (_cpp_parse_expr): Check for multiple unary +/- operators.
4848         Correct priorities of ':' and '?'.  Treat ')' as having a
4849         value.  Ensure conditional expression is not void.
4850
4851 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
4852
4853         * alias.c (canon_rtx): Make it global.
4854         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
4855         equality.
4856         * cse.c (struct table_elt): Add canon_exp.
4857         (insert): Clear it.
4858         (invalidate): Canonicalize expressions only once.
4859         * rtl.h (canon_rtx): Declare.
4860
4861 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
4862
4863         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
4864         * alias.c (reg_known_value): Add comments.
4865         (init_alias_analysis): Likewise.
4866         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
4867         address.
4868         (cse_basic_block): Fix typo in comment.
4869         * emit-rtl.c: Include hashtab.h.
4870         (const_int_htab): New variable.
4871         (const_int_htab_hash): New function.
4872         (const_int_htab_eq): Likewise.
4873         (rtx_htab_mark_1): Likewise.
4874         (rtx_htab_mark): Likewise.
4875         (gen_rtx_CONST_INT): Cache all CONST_INTs.
4876         (unshare_all_rtx): Fix formatting.
4877         (init_emit_once): Initialize const_int_htab.
4878         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
4879         address.
4880         * rtl.texi: Document the fact that all CONST_INTs with the same
4881         value are shared.
4882
4883 2000-03-30  Richard Henderson  <rth@cygnus.com>
4884
4885         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
4886
4887 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
4888
4889         * configure.in: Comment out --enable-c-cpplib stanza.
4890         * configure: Regenerate.
4891
4892 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4893
4894         * expr.c (store_constructor): Properly compute displacement and
4895         alignment when offset is variable.
4896
4897         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
4898         cases of alignment in bytes.
4899
4900 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
4901
4902         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
4903         since it is used to generate c-parse.y.
4904         * objc-parse.c, objc-parse.y: Regenerated.
4905
4906         * function.c (expand_function_end): Pass alignment argument to
4907         emit_block_move in bits, not bytes.
4908
4909 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4910
4911         * expr.c (move_by_pieces_ninsns): Fix one more missing align
4912         correction.
4913
4914         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
4915
4916         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
4917         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
4918         * function.c (assign_parms): Likewise.
4919         * integrate.c (expand_inline_function): Likewise.
4920         * stmt.c (expand_decl): Likewise.
4921         (copy_rtx_and_substitute): Likewise.
4922         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
4923         (clear_by_pieces): Fix error in last change.
4924         * emit-rtl.c (init_emit): Set known registers alignment in bits.
4925         * function.h (regno_pointer_align): Now unsigned.
4926         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
4927         is in bits.
4928         * config/i386/i386.c (aligned_operand): Likewise.
4929         * config/sparc/sparc.c (mem_min_alignment): Likewise.
4930         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
4931         (unaligned_memory_operand): Likewise.
4932         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
4933         Also make alignments and sizes unsigned and some whitespace cleanup.
4934         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
4935
4936         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
4937         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
4938         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
4939         (expand_builtin_memset): Likewise, but to clear_storage.
4940         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
4941         (restore_fixed_argument_area): Likewise.
4942         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
4943         (load_register_parameters): Likewise, to emit_group_load.
4944         (expand_call): Likewise, to emit_group_store and emit_block_move.
4945         (emit_library_call_value_1): Likewise, to emit_block_move.
4946         (store_one_arg): Likewise, and to emit_push_insn.
4947         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
4948         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
4949         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
4950         (emit_block_move, emit_group_load, emit_group_store): Likewise.
4951         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
4952         (expand_assigment, store_expr, store_constructor_field): Likewise.
4953         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
4954         (store_constructor, store_field, get_inner_reference): Likewise.
4955         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
4956         (expand_expr, case COMPONENT_REF): Likewise.
4957         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
4958         and positions; reindent code.
4959         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
4960         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
4961         (assign_parms): Likewise to emit_group_store.
4962         * optabs.c (prepare_cmp_insn): Alignment is in bits.
4963         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
4964         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
4965         (expand_return): Likewise to {extract,store}_bit_field.
4966         * stor-layout.c (get_mode_alignment): Minor cleanup.
4967         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
4968         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
4969
4970 2000-03-29  Nick Clifton  <nickc@cygnus.com>
4971
4972         * config/arm/arm.h: Undo effects of previous delta:
4973         (ASM_SPEC): Do not define.
4974         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
4975
4976         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
4977         typo.
4978
4979 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
4980
4981         * cppinit.c (cpp_start_read): Call initialize_dependency_output
4982         only after reading in the primary source file.
4983
4984 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
4985
4986         * c-common.c (c_common_nodes_and_builtins): The first parameter to
4987         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
4988         or a reference to a va_list.
4989         * builtins.c (stabilize_va_list): Simplify now we don't have to
4990         work around C array address decay.
4991         * c-typeck.c (convert_for_assignment): Handle assignment to
4992         a reference parameter by taking the address of the RHS.
4993         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
4994         (va_copy): Likewise.
4995         (__va_copy): Likewise.
4996         * ginclude/varargs.h (va_start): Likewise.
4997         (__va_copy): Likewise.
4998
4999 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
5000
5001         * i386/djgpp.h: Remove extraneous "+".
5002
5003         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
5004
5005         * calls.c (expand_call): Fix typo in last change.
5006
5007 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
5008
5009         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
5010         been expanded.
5011
5012 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5013
5014         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
5015         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
5016         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
5017         * tree.c (bit_position, byte_position): Likewise.
5018         * tree.h: Declare new functions.
5019
5020 2000-03-29  Nick Clifton  <nickc@cygnus.com>
5021
5022         * config/arm/arm.c: Minor formatting changes/
5023         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
5024         already defined.
5025         (ASM_SPEC): Define if not already defined.
5026
5027 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
5028
5029         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
5030         _cpp_calc_hash.
5031
5032 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
5033
5034         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
5035         value, don't output it as unsigned.
5036
5037 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
5038
5039         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
5040
5041 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5042
5043         * c-common.c (c_common_nodes_and_builtins): Don't special case
5044         cplus_mode when declaring builtin bzero/bcmp, always avoid
5045         prototype arguments.
5046
5047 2000-03-29  Bruce Korb  <bkorb@gnu.org>
5048
5049         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
5050         to a non-file
5051
5052 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5053
5054         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
5055         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
5056         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
5057         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
5058         (save_fixed_argument_area, restore_fixed_argument_area):
5059         conditionize by #ifdef REG_PARM_STACK_SPACE only.
5060         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
5061         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
5062         (precompute_register_parameters): Avoid #ifdefs on
5063         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
5064         (stire_one_args): Likewise.
5065         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
5066         (emit_library_call_value_1): Likewise.
5067         (compute_argument_block_size): Align to STACK_BOUNDARY only for
5068         ACCUMULATE_OUTGOING_ARGS.
5069         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
5070         value.
5071         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
5072         (use_crosses_set_p): Likewise.
5073         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
5074         #define ACCUMULATE_OUTGOING_ARGS 1.
5075         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
5076         frames.
5077         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
5078         constants.
5079         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
5080         (TARGET_SWITCHES): Add push-args, no-push-args,
5081         accumulate-outgoing-args and no-accumulate-outgoing-args.
5082         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
5083         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
5084         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
5085         and PUSH_ROUNDING.
5086         (emit_push_insn): Likewise.
5087         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5088         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
5089         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5090         (STACK_DYNAMIC_OFFSET): Define correctly for both
5091         ACCUMULATE_OUTGOING_ARGS and normal mode.
5092         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
5093         * tm.texi (PUSH_ARGS): Document.
5094         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
5095
5096 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5097
5098         * flags.h (flag_optimize_sibling_calls): Declare.
5099         * calls.c (expand_call): Fail sibcall when
5100         !flag_optimize_sibling_calls
5101         * invoke.texi (flag_optimize_sibling_calls): Document.
5102         * toplev.c (flag_optimize_sibling_calls): New global variable.
5103         (f_options): Add flag_optimize_sibling_calls.
5104         (rest_of_compilation): Conditionize
5105         optimize_sibling_and_tail_recursive_calls by
5106         flag_optimize_sibling_calls.
5107         (main): Set flag_optimize_sibling_calls for -O2.
5108         * stmt.c (expand_return): Conditionize tail recursion by
5109         flag_optimize_sibling_calls.
5110
5111 2000-03-29  Richard Henderson  <rth@cygnus.com>
5112
5113         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
5114         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
5115
5116 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
5117
5118         * except.c (add_eh_table_entry): Mark type_info's as referenced.
5119
5120 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5121
5122         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
5123         is given.
5124         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
5125         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
5126         * config/rs6000/aix.h: then modified likewise.
5127
5128 2000-03-28  Richard Henderson  <rth@cygnus.com>
5129
5130         * rtl.h: Redistribute enum reg_note documentation.
5131         Kill trailing whitespace.
5132         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
5133         Kill trailing whitespace.
5134
5135 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
5136
5137         * cppfiles.c (hash_IHASH): Just return i->hash.
5138         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
5139         htab_find_with_hash.
5140         (cpp_read_file): Likewise.
5141         (find_include_file): Likewise.  Properly initialize
5142         ih->nshort.  Share ih->name and ih->nshort if possible.
5143         * cpphash.c (_cpp_calc_hash): New function.
5144         (hash_HASHNODE): Just return h->hash.
5145         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
5146         htab_find_with_hash.
5147         * cpphash.h: Prototype _cpp_calc_hash.
5148         * cppinit.c (initialize_builtins): Provide a valid hash
5149         to _cpp_make_hashnode, using _cpp_calc_hash.
5150
5151         * cpphash.c (collect_expansion): # is not a special character
5152         in object-like macros.  In -traditional mode, /**/ is not
5153         token paste at the beginning or end of the line.
5154         * cpplib.c (do_include, do_import, do_include_next): If
5155         parse_include fails, return immediately.
5156
5157 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
5158
5159         * config/arm/arm.md (return peepholes): Update to reflect the new
5160         call insn patterns.
5161         * config/arm/arm.c (arm_volatile_func): Also check
5162         current_function_nothrow.
5163         (output_return_instruction, output_func_prologue): Use it.
5164         (arm_output_epilogue, arm_expand_prologue): Likewise.
5165
5166 2000-03-27  Tom Tromey  <tromey@cygnus.com>
5167
5168         * gcc.c (handle_braces): In {x*...} case, break out of loop if
5169         switch is found.
5170
5171 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5172
5173         * expr.c (store_constructor): SIZE now signed.
5174         For EXPR_SIZE, don't evaluate size; just needed if constant.
5175         * fold-const.c (fold): Fix a number of cases when folded tree is
5176         wrong type.
5177         * function.c (flush_addressof): Reenable.
5178         * tree.h (flush_addressof): Likewise.
5179         * toplev.c (independent_decode_option): Look at strings_processed.
5180         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
5181
5182 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
5183
5184         * sibcall.c (indentify_call_return_value): Find last call in the chain;
5185         Allow stack adjustment after function call.
5186
5187         * regmove.c (struct csa_memlist): Make mem field rtx *.
5188         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
5189         (try_apply_stack_adjustment): Replace whole MEM rtx.
5190         (combine_stack_adjustments_for_block): Update calls
5191         to record_one_stack_ref.
5192
5193 2000-03-28  Neil Booth  <NeilB@earthling.net>
5194
5195         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
5196         '\\' rather than a null character, so nulls are not special.  Fix
5197         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
5198         speed trigraph conversion.
5199         (_cpp_init_input_buffer): Initialize trigraph map.
5200
5201 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
5202
5203         * config/i386/i386.c (output_387_binary_op): Correct intel
5204         mode assembly output, and add spaces after commas in AT&T
5205         output.  Correct Unixware assembler comment.  Document input
5206         constraints.  Comment fp operations.  Reduce profligate buffer
5207         size.  Remove extraneous abort.  Localize temp var.
5208         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
5209         (output_fix_trunc): Add spaces after commas in assembly output.
5210
5211 2000-03-27  Richard Henderson  <rth@cygnus.com>
5212
5213         * i386-protos.h (ix86_match_ccmode): Declare.
5214         * i386.c (ix86_match_ccmode): New.
5215         (ix86_expand_fp_compare): Update for pattern renames.
5216         (ix86_expand_strlensi_unroll_1): Likewise.
5217         * i386.h (EXTRA_CC_MODES): Add CCZ.
5218         (SELECT_CC_MODE): Use it for EQ/NE zero.
5219         * i386.md (cmpsi_ccz_1): New.
5220         (cmpqi_ccz_1): New.
5221         (*testsi_ccz_1): New.
5222         (testqi_ccz_1): New.
5223         (cmpsi_ccno_1): Rename from cmpsi_0.
5224         (testsi_ccno_1): Rename from testsi_1.
5225         (testqi_ccno_1): Rename from testqi_1.
5226         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
5227         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
5228         (*cmphi_0): Use ix86_match_ccmode.
5229         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
5230         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
5231         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
5232         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
5233         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
5234         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
5235         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
5236         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
5237         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
5238         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
5239         (appropriate peepholes): Likewise.
5240         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
5241         (*subsi_3, *subhi_3, *subqi_3): Remove.
5242         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
5243         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
5244         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
5245         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
5246         (x86_shift_adj_1): Use CCZ.
5247         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
5248
5249 2000-03-27  Stan Cox  <scox@cygnus.com>
5250
5251         * resource.h (mark_resource_type): New.
5252         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
5253         find_free_register): Use mark_resource_type.
5254         (mark_set_resources): Change include_delayed_effects
5255         to mark_resource_type.
5256         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
5257         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
5258         Use mark_resource_type.
5259
5260 2000-03-27  Richard Henderson  <rth@cygnus.com>
5261
5262         * i386.md (call_pop_0, call_value_pop_0): New.
5263         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
5264         (call_value_pop_1): Likewise.
5265         (call_0, call_value_0): New.
5266         (call_1, call_value_1): Remove constraint from unused arg.
5267
5268 2000-03-27  Nick Clifton  <nickc@cygnus.com>
5269
5270         * invoke.texi (Spec Files): Document new spec % command created by
5271         Tom Tromey's recent patch.
5272
5273 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
5274
5275         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
5276         if not defined.
5277
5278 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5279
5280         * expr.c (expand_assignment): Fix typo in last change.
5281
5282         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
5283
5284 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5285
5286         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
5287         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
5288         and DECL_INLINE if FUNCTION_DECL.
5289         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
5290         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
5291         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
5292         (combine_parm_decls): Likewise.
5293         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
5294         * print-tree.c (print_node): Likewise.
5295         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
5296         DECL_TRANSPARENT_UNION on proper decl types.
5297         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
5298         * stor-layout.c (layout_decl): Only check DECL_PACKED and
5299         DECL_BIT_FIELD of FIELD_DECL.
5300         * tree.h (DECL_RESULT_FLD): New macro.
5301
5302         * expr.c (expand_assignment): Add code to handle variable-sized
5303         BLKmode case.
5304
5305 2000-03-26  Richard Henderson  <rth@cygnus.com>
5306
5307         * calls.c (expand_call): Pass parms not original exp to
5308         optimize_tail_recursion.  Mind return value instead of looking
5309         for a barrier.
5310         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
5311         call_expr.  Move checks for call_expr and current_function_decl ...
5312         (expand_return): ... here.
5313
5314 2000-03-26  Tom Tromey  <tromey@cygnus.com>
5315
5316         * gcc.c (handle_braces): Recognize `%{<S}' construct.
5317         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
5318         defines.
5319         (process_command): Use them.
5320         (check_live_switch): Likewise.
5321         (give_switch): Skip ignored switches.
5322
5323 2000-03-26  Jan Hubicka  <jh@suse.cz>
5324
5325         * jump.c (jump_optimize_1): Fix typo in elide optimizations
5326         for minimal jump pass test.
5327
5328 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
5329
5330         * integrate.c (function_cannot_inline_p): Do inline functions that
5331         return `void'.
5332
5333 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5334
5335         * stor-layout.c (layout_type, set_sizetype): early_type_list is
5336         now a list of TREE_LIST entries, not types.
5337         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
5338
5339         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
5340         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
5341         int_bit_position.
5342         * config/mips/mips.c (function_arg): Likewise; also remove cast
5343         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
5344         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
5345         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
5346         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
5347         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
5348         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
5349         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
5350         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
5351         num_adjusts now unsigned.
5352         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
5353         * config/sparc/sparc.c (struct function_arg_record_value_parms):
5354         NREGS now unsigned.
5355         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
5356         as is BITPOS variable; use host_integerp and int_bit_position.
5357         (function_arg_record_value_2): Likewise.
5358         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
5359         Variable REGNO now unsigned.
5360         (function_arg_record_value): NREGS now unsigned.
5361
5362 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
5363
5364         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
5365
5366 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5367
5368         * Rework fields used to describe positions of bitfields and
5369         modify sizes to be unsigned and use HOST_WIDE_INT.
5370         * alias.c (reg_known_value_size): Now unsigned.
5371         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
5372         (really_start_incremental_init): Use bitsize_zero_node.
5373         (push_init_level, pop_init_level, output_init_element): Likewise.
5374         Use bitsize_unit_node and bitsize_one_node.
5375         (output_pending_init_elements, process_init_element): Likewise.
5376         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
5377         (make_extraction): Position and length HOST_WIDE_INT and unsigned
5378         HOST_WIDE_INT, respectively.
5379         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
5380         (num_sign_bit_copies): Returns unsigned.
5381         BITWIDTH now unsigned; rework arithmetic.
5382         Remove recursive call from arg to MAX.
5383         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
5384         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
5385         REGNO now unsigned.
5386         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
5387         (find_split_point, expand_compound_operation, make_extraction): LEN
5388         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
5389         (make_field_assignment): Likewise.
5390         (combine_simplify_rtx): Add cast.
5391         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
5392         (force_to_mode): WIDTH now unsigned; add cast.
5393         (if_then_else_cond): SIZE now unsigned.
5394         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
5395         (extended_count): Now returns unsigned.
5396         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
5397         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
5398         (simplify_comparison): MODE_WIDTH now unsigned.
5399         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
5400         (mark_used_regs_combine): Likewise; rework arithmetic.
5401         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
5402         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
5403         (record_promoted_value): REGNO now unsigned.
5404         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
5405         (get_last_value): REGNO now unsigned.
5406         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
5407         (reg_dead_regno, reg_dead_endregno): Now unsigned.
5408         (remove_death): Arg REGNO now unsigned.
5409         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
5410         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
5411         now unsigned.
5412         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
5413         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
5414         (struct cse_reg_info): REGNO now unsigned.
5415         (cached_regno): Now unsigned.
5416         (REGNO_QTY_VALID_P): Add cast.
5417         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
5418         (remove_invalid_regs): Likewise.
5419         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
5420         as are variables END and I.
5421         (get_cse_reg_info, insert): Likewise.
5422         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
5423         (canon_hash): Likewise.
5424         (insert_regs, lookup_for_remove): REGNO now unsigned.
5425         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
5426         New variable RN.
5427         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
5428         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
5429         * emit-rtl.c (subreg_realpart_p): Add cast.
5430         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
5431         (operand_subword_force): Arg I is now unsigned.
5432         * except.c (eh_regs): Variable I is now unsigned.
5433         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
5434         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
5435         length is unsigned HOST_WIDE_INT; likewise for internal variables.
5436         (store_split_bit_field, extract_fixed_bit_field): Likewise.
5437         (extract_split_bit_field, store_bit_field, extract_bit_field):
5438         Likewise.
5439         * expr.c (store_constructor_fields, store_constructor, store_field):
5440         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
5441         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
5442         (do_jump): Likewise.
5443         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
5444         MAX_SIZE is now unsigned.
5445         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
5446         (emit_group_store): Likewise.
5447         (emit_move_insn): I now unsigned.
5448         (store_constructor): Use host_integerp, tree_low_cst, and
5449         bitsize_unit_node.
5450         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
5451         Rework all calculations to use trees and new fields.
5452         * expr.h (promoted_input_arg): Regno now unsigned.
5453         (store_bit_field, extract_bit_field): Adjust types of pos and size.
5454         (mark_seen_cases): Arg is HOST_WIDE_INT.
5455         * flow.c (verify_wide_reg_1): REGNO now unsigned.
5456         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
5457         precisions and alignments are unsigned.
5458         (optimize_bit_field_compare, fold_truthop): Likewise.
5459         (int_const_binop): Adjust threshold for size_int_type_wide call.
5460         (fold_convert): Likewise.
5461         (size_int_type_wide): Make table larger and fix thinko that only
5462         had half of table used.
5463         (all_ones_mask_p, fold): Precisions are unsigned.
5464         * function.c (put_reg_info_stack): REGNO is unsigned.
5465         (instantiate_decl): Size is HOST_WIDE_INT.
5466         (instantiate_virtual_regs): I is unsigned.
5467         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
5468         (promoted_input_arg): REGNO is unsigned.
5469         * function.h (struct function): x_max_parm_reg is now unsigned.
5470         * gcse.c (max_gcse_regno): Now unsigned.
5471         (struct null_pointer_info): min_reg and max_reg now unsigned.
5472         (lookup_set, next_set): REGNO arg now unsigned.
5473         (compute_hash_table): REGNO and I now unsigned.
5474         (handle_avail_expr): regnum_for_replacing now unsigned.
5475         (cprop_insn): REGNO now unsigned.
5476         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
5477         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
5478         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
5479         * hard-reg-set.h (reg_class_size): Now unsigned.
5480         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
5481         * jump.c (mark_modified_reg): I now unsigned; add cast.
5482         (rtx_equal_for_thread_p): Add cast.
5483         * loop.c (max_reg_before_loop): Now unsigned.
5484         (struct_movable): REGNO now unsigned.
5485         (try_copy_prop): REGNO arg unsigned.
5486         (regs_match_p): XN and YN now unsigned.
5487         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
5488         (strength_reduce): Likewise; NREGS also unsigned.
5489         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
5490         * loop.h (struct iv_class): REGNO now unsigned.
5491         (max_reg_before_loop, first_increment_giv, last_increment_giv):
5492         Now unsigned.
5493         * machmode.h (mode_size, mode_unit_size): Now unsigned.
5494         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
5495         * optabs.c (expand_binop): I and NWORDS now unsigned.
5496         (expand_unop): I now unsigned.
5497         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
5498         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
5499         * real.c (significand_size): Now returns unsigned.
5500         * real.h (significand_size): Likewise.
5501         * regclass.c (reg_class_size): Now unsigned.
5502         (choose_hard_reg_mode): Both operands now unsigned.
5503         (record_reg_classes): REGNO and NR now unsigned.
5504         (reg_scan): NREGS now unsigned.
5505         (reg_scan_update): old_max_regno now unsigned.
5506         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
5507         * reload.c (find_valid_class): BEST_SIZE now unsigned.
5508         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
5509         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
5510         Likewise for variable R.
5511         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
5512         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
5513         (find_equiv_reg): Add casts.
5514         (regno_clobbered_p): Arg REGNO now unsigned.
5515         * reload.h (struct reload): NREGS now unsigned.
5516         (refers_to_regno_for_reload_p): Regno args are unsigned.
5517         (regno_clobbered_p): Likewise.
5518         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
5519         (compute_use_by_pseudos): REGNO now unsigned.
5520         (find_reg): I and J now unsigned, new variable K, and change loop
5521         variables accordingly; THIS_NREGS now unsigned.
5522         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
5523         (spill_hard_reg): REGNO arg now unsigned; add casts.
5524         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
5525         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
5526         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
5527         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
5528         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
5529         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
5530         (emit_reload_insns): REGNO now unsigned.
5531         (reload_cse_move2add): Add cast.
5532         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
5533         and rework loop.
5534         * resource.c (mark_referenced_resources, mark_set_resources): New
5535         variable R; REGNO and LAST_REGNO now unsigned.
5536         (mark_target_live_regs): J and REGNO now unsigned.
5537         * rtl.c (mode_size, mode_unit_size): Now unsigned.
5538         * rtl.h (union rtunion_def): New field rtuint.
5539         (XCUINT): New macro.
5540         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
5541         (operand_subword, operand_subword_force): Word number is unsigned.
5542         (choose_hard_reg_mode): Operands are unsigned.
5543         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
5544         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
5545         (regno_use_in, combine_instructions, remove_death): Likewise.
5546         (reg_scan, reg_scan_update): Likewise.
5547         (extended_count): Return is unsigned.
5548         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
5549         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
5550         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
5551         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
5552         (reg_reg_last_1): FIRS and LAST now unsigned.
5553         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
5554         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
5555         now unsigned.
5556         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
5557         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
5558         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
5559         (replace_regs): Arg NREGS now unsigned.
5560         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
5561         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
5562         (simplify_binary_operation): Likewise.
5563         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
5564         THIS_LAST now unsigned.
5565         (cselib_record_set): Add cast.
5566         * ssa.c (ssa_max_reg_num): Now unsigned.
5567         (rename_block): REGNO now unsigned.
5568         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
5569         sizes now unsigned.
5570         (all_cases_count): Just return -1 not -2.
5571         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
5572         Rework tests to use trees whenever possible.
5573         Use host_integerp and tree_low_cst.
5574         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
5575         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
5576         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
5577         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
5578         (smallest_mode_for_size): Likewise.
5579         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
5580         KNOWN_ALIGN is now an alignment, so simplify code.
5581         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
5582         (start_record_layout): Renamed from new_record_layout_info.
5583         Update to new fields.
5584         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
5585         New functions.
5586         (place_union_field): Renamed from layout_union_field.
5587         Update to use new fields in rli.
5588         (place_field): Renamed from layout_field.
5589         Major rewrite to use new fields in rli; pass alignment to layout_decl.
5590         (finalize_record_size): Rework to use new fields in rli and handle
5591         union.
5592         (compute_record_mode): Rework to simplify and to use new DECL fields.
5593         (finalize_type_size): Make rounding more consistent.
5594         (finish_union_layout): Deleted.
5595         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
5596         (layout_type, case RECORD_TYPE): Call new function names.
5597         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
5598         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
5599         (get_best_mode): UNIT is now unsigned; remove casts.
5600         * tree.c (bit_position): Compute from new fields.
5601         (byte_position, int_byte_position): New functions.
5602         (print_type_hash_statistics): Cast to remove warning.
5603         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
5604         (build_index_type): Likewise; make subtype of sizetype.
5605         (build_index_2_type): Pass sizetype to build_range_type.
5606         (build_common_tree_nodes): Use size_int and bitsize_int to
5607         initialize nodes; add bitsize_{zero,one,unit}_node.
5608         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
5609         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
5610         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
5611         (DECL_FIELD_BITPOS): Deleted.
5612         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
5613         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
5614         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
5615         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
5616         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
5617         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
5618         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
5619         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
5620         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
5621         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
5622         (DECL_ALIGN): Adjust to new field in union.
5623         (DECL_OFFSET_ALIGN): New field.
5624         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
5625         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
5626         (union tree_decl): Add struct for both aligns.
5627         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
5628         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
5629         (struct record_layout_info): Rework fields to have offset
5630         alignment and byte and bit position.
5631         (start_record_layout, place_field): Renamed from old names.
5632         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
5633         (byte_position, int_byte_position): Likewise.
5634         (get_inner_reference): Change types of position and length.
5635         * unroll.c (unroll_loop): New variable R; use for some loops.
5636         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
5637         (calculate_giv_inc): Arg REGNO now unsigned.
5638         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
5639         * varasm.c (assemble_variable): Clean up handling of size using
5640         host_integerp and tree_low_cst.
5641         (decode_addr_const): Use byte, not bit, position.
5642         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
5643         use tree_low_cst and int_bit_position.
5644         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
5645
5646 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
5647
5648         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
5649         (reorder_block_def): New members eff_head and eff_end.
5650         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
5651         (verify_insn_chain): New function.
5652         (skip_insns_between_block): Add code to skip deleted insns.
5653         Check for note before using.
5654         (chain_reorder_blocks): Replace calls to skip_insns_between_block
5655         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
5656         Check for note before using.
5657         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
5658         (fixup_reorder_chain): Restructure, clean up, defect removal.
5659         (reorder_basic_blocks): Remove last_insn and references to it.
5660         Moved insn chain verification code into a new function (see above).
5661         Delete defective code that sets last insn.
5662         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
5663         all blocks.
5664
5665 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5666
5667         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
5668
5669 2000-03-24  Richard Henderson  <rth@cygnus.com>
5670
5671         * tree.c (lang_safe_for_unsave): Remove.
5672         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
5673         allowing for two levels of unsafeness.  Remove lang hook.
5674         * tree.h: Update declarations.
5675         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
5676         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
5677         Always fail sibcalls when there are pending cleanups.
5678
5679 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
5680
5681         * flow.c (propagate_block): When we delete an ADDR_VEC,
5682         also delete the BARRIER following it if there is one.
5683
5684 2000-03-24  Richard Henderson  <rth@cygnus.com>
5685
5686         * builtins.c (expand_builtin_bzero): Convert `length' argument
5687         to sizetype.
5688
5689 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
5690
5691         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
5692         comparison if regno's are equal.
5693         * calls.c (initialize_argument_informat): Add ecf_flags argument.
5694         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5695         (expand_call): Update caller.
5696         Avoid making a sibling call if argument size of the callee is larger
5697         than argument size of the caller.
5698         Call hard_function_value with outgoing set if in sibcall pass.
5699         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5700
5701         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
5702         Change LEAF_REGISTERS from an array initializer to actual array
5703         identifier. Move static global variable into the function.
5704         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
5705         sequences for leaf functions.
5706         * global.c (global_alloc): Likewise.
5707         * tm.texi (LEAF_REGISTERS): Update documentation.
5708
5709         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
5710         TARGET_FLAT leaf disabling hack.
5711         (LEAF_REGISTERS): Changed from an array initializer to actual array
5712         identifier to avoid duplication and remove the above hack.
5713         (FUNCTION_OK_FOR_SIBCALL): Define.
5714         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
5715         always like call attribute.
5716         (eligible_for_sibcall_delay): New attribute.
5717         (sibcall): New delay type.
5718         (sibcall, sibcall_value, sibcall_epilogue): New expands.
5719         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
5720         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
5721         * config/sparc/sparc.c (sparc_leaf_regs): New array.
5722         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
5723         New functions.
5724         (output_function_epilogue): Move part of the code into
5725         output_restore_regs.
5726         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
5727         TYPE_SIBCALL.
5728         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
5729         prototypes.
5730
5731         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
5732         until infrastructure is finished.
5733
5734 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
5735
5736         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
5737         (save_parm_insns): Not here.
5738
5739 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5740
5741         * builtins.c (expand_builtin_bzero): New function.
5742         (expand_builtin): Handle bzero.
5743
5744         * builtins.def: Add BUILT_IN_BZERO.
5745
5746         * c-common.c (c_common_nodes_and_builtins): Provide builtin
5747         prototype & function for bzero.
5748
5749 2000-03-23  Michael Meissner  <meissner@redhat.com>
5750
5751         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
5752         change adding TARGET_FP to the TF floating point insns, except for
5753         trunctfsf2, which generates direct calls to truncdfsf2.
5754
5755 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
5756
5757         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
5758         try to protect against middle-end changes that break binary
5759         compatibility.
5760         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
5761
5762 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5763
5764         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
5765
5766 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5767
5768         * calls.c (expand_call): If TARGET is passed by reference and
5769         is readonly, write a CLOBBER.
5770
5771 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5772
5773         * builtins.c (expand_builtin): Handle bcmp.
5774
5775         * builtins.def: Add BUILT_IN_BCMP.
5776
5777         * c-common.c (c_common_nodes_and_builtins): Provide builtin
5778         prototype & function for bcmp.
5779
5780 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
5781
5782         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
5783         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
5784         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
5785
5786 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
5787
5788         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
5789         alternative when using -fp64 -gp32.
5790
5791 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
5792
5793         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
5794         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
5795         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
5796
5797         * frame.h (frame_state): Revert last change.
5798         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
5799         * libgcc2.c (throw_helper): Revert last change.
5800
5801 2000-03-22  Richard Henderson  <rth@cygnus.com>
5802
5803         * stmt.c (expand_asm_operands): Don't promote the temporary.
5804
5805 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5806
5807         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
5808         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
5809           c_get_alias_set): Likewise.
5810         * c-decl.c (duplicate_decls): Likewise.
5811         * c-typeck.c (default_conversion,build_unary_op): Likewise.
5812         * calls.c (initialize_argument_information): Likewise.
5813         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
5814         Likewise.
5815         * dwarfout.c (decl_class_context,output_type): Likewise.
5816         * expr.c (get_inner_reference): Likewise.
5817         * fold-const.c (simple_operand_p,fold): Likewise.
5818         * function.c (aggregate_value_p): Likewise.
5819         * stmt.c (expand_asm_operands): Likewise.
5820         * varasm.c (named_section): Likewise.
5821
5822 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
5823
5824         Implement dwarf2 exception handling for the ARM.
5825         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
5826         (DWARF_FRAME_RETURN_COLUMN): Define.
5827         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
5828         REG_FRAME_RELATED_EXPR note.
5829         (emit_sfm): Likewise.
5830         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
5831         * dwarf2out.c (reg_save): Handle saving a register to itself.
5832         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
5833         * except.c (eh_regs): Don't use the static chain reg if it's
5834         callee-saved.
5835         * frame.h (frame_state): Add cfa_saved field.
5836         * frame.c (execute_cfa_insn): Set it.
5837         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
5838         the epilogue.
5839         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
5840         Now takes a parm.
5841         (instantiate_virtual_regs): Adjust.
5842         * tm.texi: Adjust.
5843         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
5844         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
5845         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
5846
5847         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
5848         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
5849
5850 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5851
5852         * builtins.def: New file.
5853
5854         * Makefile.in (TREE_H): Depend on builtins.def.
5855
5856         * builtins.c (built_in_names): Use builtins.def.
5857
5858         * tree.h (built_in_function): Likewise.
5859
5860 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
5861
5862         * tree.c (size_in_bytes): Return size_zero_node, not
5863         integer_zero_node.
5864
5865 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
5866
5867         * config/fp-bit.c (pack_d): Correct the case when a denormal
5868         is rounded up and stops being denormal.
5869
5870 2000-03-21  Richard Henderson  <rth@cygnus.com>
5871
5872         * config/alpha/alpha.c (function_arg): Check for void_type_node
5873         before using MUST_PASS_IN_STACK.
5874
5875 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
5876
5877         * regmove.c (combine_stack_adjustments_for_block): Check that
5878         the stack pointer is a valid memory address.
5879
5880 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
5881
5882         * calls.c: re-install Mar 16 emit_library_call merge.
5883
5884 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
5885
5886         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
5887         we cannot be sure that if reload_completed base register will
5888         be properly aligned.
5889
5890 2000-03-21  Richard Henderson  <rth@cygnus.com>
5891
5892         * flow.c (delete_block): Fix typo last change.
5893
5894 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
5895
5896         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
5897         not COMPLETE_TYPE_P, to check the type of the expression.
5898
5899 2000-03-21  Michael Meissner  <meissner@redhat.com>
5900
5901         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
5902         all floating point insns that just tested the macro
5903         TARGET_HAS_XFLOATING_LIBS.
5904         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
5905         used to only use the gprs.
5906
5907 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
5908
5909         * tree.h (COMPLETE_TYPE_P): New macro.
5910         (COMPLETE_OR_VOID_TYPE_P): New macro.
5911         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
5912         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
5913         * c-aux-info.c (gen_type): Use them.
5914         * c-common.c (c_expand_expr_stmt): Likewise.
5915         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
5916         grokdeclarator, grokparms, finish_struct, start_function,
5917         store_parm_decls, combine_parm_decls): Likewise.
5918         * c-parse.y (cast_expr): Likewise.
5919         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
5920         c_size_in_bytes, c_alignof, build_component_ref,
5921         build_indirect_ref, build_array_ref, convert_arguments,
5922         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
5923         * calls.c (initialize_argument_information): Likewise.
5924         * convert.c (convert_to_integer): Likewise.
5925         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
5926         * dwarfout.c (location_or_const_value_attribute,
5927         output_enumeration_type_die, output_structure_type_die,
5928         output_union_type_die, output_type): Likewise.
5929         * expr.c (safe_from_p, expand_expr): Likewise.
5930         * function.c (assign_parms): Likewise.
5931         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
5932         * tree.c (build_array_type, build_function_type,
5933         build_method_type, build_offset_type, build_complex_type): Likewise.
5934         * c-parse.c, c-parse.h: Regenerated.
5935
5936 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5937
5938         * config/c4x/rtems.h: Include config/rtems.h.
5939
5940 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
5941
5942         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
5943         decl is a FUNCTION_DECL
5944
5945 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
5946
5947         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
5948         function uses output registers.  Don't save RP for leaf functions.
5949         Do save RP even if no epilogue.
5950         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
5951         (CALL_USED_REGISTERS): Unmark in registers.
5952         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
5953         to near the middle.
5954
5955 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
5956
5957         * config/rs6000/rs6000.md (bunordered): New expander.
5958         (bordered): New expander.
5959         (buneq): New expander.
5960         (bunge): New expander.
5961         (bungt): New expander.
5962         (bunle): New expander.
5963         (bunlt): New expander.
5964         (bltgt): New expander.
5965
5966         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
5967         (ccr_bit_negated_p): New function.
5968         (print_operand): For %C, generate appropriate cror for UNEQ,
5969         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
5970
5971 2000-03-20  Andreas Jaeger  <aj@suse.de>
5972
5973         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
5974         warning.
5975
5976         * tree.h (safe_for_unsave): Prototype.
5977
5978 2000-03-20  Richard Henderson  <rth@cygnus.com>
5979
5980         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
5981         (combine_stack_adjustments_for_block): Don't allow sp references
5982         in the side of a set we're not fixing up.
5983         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
5984         after life_analysis.
5985
5986 2000-03-20  Richard Henderson  <rth@cygnus.com>
5987
5988         * calls.c (expand_call): Don't bother generating tail call
5989         sequences if there are pending cleanups.  Use
5990         expand_start_target_temps/expand_end_target_temps to elide
5991         cleanups created during sibcall expansion.
5992
5993 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
5994
5995         * configure.in: Set $IFS to a value if it doesn't already have one
5996         in the --enable-checking handling.
5997         * configure: Regenerate.
5998
5999 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6000
6001         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
6002         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6003         Regenerated.
6004
6005 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
6006
6007         * jump.c (delete_noop_moves): Remove code attempting to
6008         combine stack adjustments.
6009
6010 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6011
6012         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
6013         * except.c (emit_cleanup_handler): Use them.
6014         (expand_end_all_catch): Likewise.
6015         * function.c (fixup_var_refs): Likewise.
6016         (expand_function_end): Clear catch_clauses_last.
6017         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
6018         * except.h (struct eh_status): New field x_catch_clauses_last.
6019         (catch_clauses_last): New define.
6020
6021         * Makefile.in (tree.o): Depend on HASHTAB_H.
6022         * tree.c: Include hashtab.h.
6023         (struct type_hash): Remove next field.
6024         (TYPE_HASH_SIZE): Remove.
6025         (TYPE_HASH_INITIAL_SIZE): New define.
6026         (type_hash_table): Change type to htab_t.
6027         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
6028         mark_hash_entry): New functions.
6029         (init_obstacks): Allocate type hash.
6030         (type_hash_lookup): Use htab functions.
6031         (type_hash_add, mark_type_hash): Likewise.
6032         (dump_tree_statistics): Call print_type_hash_statistics.
6033
6034 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6035
6036         * rs6000/t-aix41: New file.
6037
6038         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
6039
6040 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
6041
6042         * tm.texi (Driver): Fix typos and tweak entry for
6043         INCLUDE_DEFAULTS.
6044         Move misplaced STRUCT_FORCE_BLK entry ...
6045         (Storage Layout): ... to here.
6046         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
6047
6048 2000-03-19  Richard Henderson  <rth@cygnus.com>
6049
6050         * flow.c (delete_block): Delete the addr_vec along with the block.
6051         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
6052         reference labels.
6053
6054         * fold-const.c (extract_muldiv): Apply type check for defined
6055         overflow to multiply as well as divide.
6056
6057         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
6058
6059 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
6060
6061         * emit-rtl.c (remove_unncessary_notes): Check that all
6062         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
6063         associated NOTE_BLOCK.
6064         * function.h (identify_blocks): Update comments.
6065         (reorder_blocks): Declare.
6066         * function.c (identify_blocks): Don't take paramters.
6067         (reorder_blocks): Don't take parameters.
6068         * loop.h (find_loop_tree_blocks): Remove.
6069         (unroll_block_trees): Likewise.
6070         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
6071         reorder_blocks instead of unroll_block_trees.h
6072         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
6073         * stmt.c (find_loop_tree_blocks): Remove.
6074         (unroll_block_trees): Likewise.
6075         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
6076         in whole-function mode.
6077         * tree.h (reorder_blocks): Remove declaration.
6078
6079         * expr.c: Include intl.h.
6080         * Makefile.in (expr.o): Depend on intl.h.
6081
6082 2000-03-18  Richard Henderson  <rth@cygnus.com>
6083
6084         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
6085
6086 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
6087
6088         * tree.h (tree_index): Remove enumerals for integer types.
6089         (integer_type_kind): New type.
6090         (integer_types): New variable.
6091         (char_type_node): Adjust.
6092         (signed_char_type_node): Likewise.
6093         (unsigned_char_type_node): Likewise.
6094         (short_integer_type_node): Likewise.
6095         (short_unsigned_type_node): Likewise.
6096         (integer_type_node): Likewise.
6097         (unsigned_type_node): Likewise.
6098         (long_integer_type_node): Likewise.
6099         (long_unsigned_type_node): Likewise.
6100         (long_long_integer_type_node): Likewise.
6101         (long_long_unsigned_type_node): Likewise.
6102         * tree.c (integer_types): New variable.
6103         (init_obstacks): Register it as a root.
6104
6105 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
6106
6107         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
6108         NEXT_INSN. Update last insn in chain.
6109
6110 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
6111
6112         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
6113         with TYPE_DECL_SUPPRESS_DEBUG set.
6114
6115 2000-03-18  Richard Henderson  <rth@cygnus.com>
6116
6117         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
6118
6119 2000-03-18  Richard Henderson  <rth@cygnus.com>
6120
6121         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
6122         care for HALF_PIC_P.
6123         (expander_call_insn_operand): Remove.
6124         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
6125         * i386.h (PREDICATE_CODES): Update.
6126         * i386.md (all call expanders): Remove predicates, remove special
6127         handling for half-pic.
6128         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
6129         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
6130         (sibcall_epilogue): New.
6131
6132 2000-03-17  Richard Henderson  <rth@cygnus.com>
6133
6134         * rtlanal.c (single_set): Reject if the parallel has anything
6135         except SET or USE or CLOBBER.
6136
6137 2000-03-17  Jeff Law  <law@cygnus.com>
6138             Richard Henderson  <rth@cygnus.com>
6139
6140         * Makefile.in (OBJS): Add sibcall.o.
6141         (sibcall.o): New.
6142         * sibcall.c: New file.
6143         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
6144         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
6145         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
6146         Emit sibcall patterns when requested.  Update all callers.
6147         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
6148         elimination seems feasable.
6149         * final.c (leaf_function_p): Sibling calls don't discount being
6150         a leaf function.
6151         * flow.c (HAVE_sibcall_epilogue): Provide default.
6152         (find_basic_blocks_1): Sibling calls don't throw.
6153         (make_edges): Make edge from sibling call to EXIT.
6154         (propagate_block): Don't remove sibcall_epilogue insns.
6155         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
6156         (sibcall_epilogue): New.
6157         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
6158         (identify_blocks_1): Likewise.  Break out from ...
6159         (identify_blocks): ... here.
6160         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
6161         (reorder_blocks): ... here.
6162         (init_function_for_compilation): Zap prologue/epilogue as varrays.
6163         (record_insns): Extend a varray instead of mallocing new memory.
6164         (contains): Read a varray not array of ints.
6165         (sibcall_epilogue_contains): New.
6166         (thread_prologue_and_epilogue_insns): Emit and record
6167         sibcall_epilogue patterns.
6168         (init_function_once): Allocate prologue/epilogue varrays.
6169         * genflags.c (gen_insn): Treat sibcall patterns as calls.
6170         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
6171         Broken out from ...
6172         (save_for_inline_nocopy): ... here.
6173         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
6174         Broken out from ...
6175         (expand_inline_function): ... here.
6176         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
6177         (subst_constants): Handle 'n' formats.
6178         * jump.c (jump_optimize_minimal): New.
6179         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
6180         optimizations if it's set.
6181         * rtl.c (copy_rtx): Do copy jump & call for insns.
6182         * rtl.h (struct rtx_def): Document use of jump and call for insns.
6183         (SIBLING_CALL_P): New.
6184         (sibcall_use_t): New.
6185         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
6186         Invoke optimize_sibling_and_tail_recursive_calls.
6187         * tree.c (lang_safe_for_unsave): New.
6188         (safe_for_unsave): New.
6189         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
6190
6191         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
6192         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
6193         (*sibcall_osf_1, *sibcall_value_osf_1): New.
6194
6195 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
6196
6197         * objc/objc-act.c (encode_method_prototype): Pass types, not
6198         PARM_DECLs, to int_size_in_bytes.
6199
6200 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
6201
6202         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
6203
6204         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
6205         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
6206
6207 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6208
6209         * Clean up usages of TREE_INT_CST_LOW.
6210         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
6211         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6212         Regenerated.
6213         * c-tree.h (min_precision): Move declaration to here.
6214         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
6215         (build_unary_op, add_pending_init): Use bit_position.
6216         (pending_init_member, process_init_element): Likewise.
6217         (really_start_incremental_init, push_init_level, pop_init_level):
6218         Don't make copies of nodes or modify them in place, use consistent
6219         types when tracking positions, and use tree routines computations.
6220         (set_init_index, output_init_element): Likewise.
6221         (output_pending_init_elements, process_init_element): Likewise.
6222         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
6223         tree_low_cst and int_bit_position; also minor cleanup.
6224         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
6225         (print_cst_octal): Precision is unsigned.
6226         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
6227         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
6228         (simple_type_align_in_bits): Result is unsigned int.
6229         Use tree_int_low_cst and host_integerp.
6230         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
6231         (field_byte_offset): Result is HOST_WIDE_INT.
6232         Change types of internal variables so alignments are unsigned int,
6233         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
6234         Use host_integerp, tree_low_cst, and int_bit_position.
6235         (add_bit_offset_attribute): Likewise.
6236         (add_data_member_location_attribute): Use tree_cst_low.
6237         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
6238         (add_bit_size_attribute): Use tree_low_cst.
6239         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
6240         * dwarfout.c: Similar changes to dwarf2out.c.
6241         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
6242         * genoutput.c (n_occurences): Return -1 for null string.
6243         (strip_whitespace): Accept null string and make into function.
6244         (scan_operands): Reflect above changes.
6245         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
6246         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
6247         * ssa.c (rename_registers): Add missing cast of arg to bzero.
6248         * tree.c (int_size_in_bytes): Check for too big to represent.
6249         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
6250         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
6251         New declarations.
6252         (min_precision): Delete from here.
6253         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
6254         and int_bit_position.
6255         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
6256         (encode_method_def): Likewise.
6257         (build_ivar_list_initializer): Use int_bit_position.
6258         (generate_shared_structures): Convert size.
6259         (encode_type, encode_complete_bitfield): Use integer_zerop.
6260         (encode_bitfield): Use tree_low_cst and int_bit_position.
6261
6262 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6263
6264         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
6265
6266 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6267
6268         * call.c (special_function_p): It is only malloc if it returns
6269         Pmode.
6270
6271 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6272
6273         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
6274         (C33_FLAG, TARGET_C3X): Add macros.
6275         (TARGET_SWITCHES): Add -m33 option.
6276         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
6277
6278 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6279
6280         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
6281         (PARALLEL_PACK_FLAG): Delete.
6282         (TARGET_SWITCHES): Update.
6283         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
6284
6285 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6286
6287         * fold-const.c (fold): Fix a few cases when the returned result
6288         is not of the same type as the input.
6289
6290 2000-03-16  Nick Clifton  <nickc@cygnus.com>
6291
6292         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
6293         warning.
6294
6295 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6296
6297         * libgcc2.h: Move prototypes above macros with the same name.
6298         Wrap some function prototypes in the conditional which indicates
6299         whether they are supported, i.e. "BITS_PER_UNIT == 8".
6300
6301 2000-03-16  Richard Henderson  <rth@cygnus.com>
6302
6303         * calls.c: Revert last two changes.
6304
6305 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
6306
6307         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
6308         has exponent 0 is a zero.
6309
6310         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
6311         HASH may already be nonzero.  Add code/mode into hash value
6312         immediately after repeat label.
6313         (cselib_lookup): Don't leave the hash table in an inconsistent
6314         state before a hash lookup operation.
6315
6316 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
6317
6318         * i386.md (all HI and QI mode non-move patterns):  Conditionize
6319         by TARGET_[HQ]IMODE_MATH.
6320         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6321         x86_promote_qi_regs): Declare.
6322         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
6323         TARGET_PROMOTE_QI_REGS): New macros.
6324         (PROMOTE_MODE): New macro.
6325         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6326         x86_promote_qi_regs): New global variables.
6327
6328 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
6329
6330         * calls.c (emit_library_call_value_1): Break out from ...; handle
6331         VOIDmode function calls too.
6332         (emit_library_call_value): ... here.
6333         (emit_library_call): Implement by calling emit_library_call_value_1.
6334
6335 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
6336
6337         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
6338         Update arg_space_so_far on stack adjustments.
6339         (emit_library_call, emit_library_call_value): Likewise; take into
6340         account arg_space_so_far and pending_stack_adjust when calculcating
6341         the boundary.
6342
6343 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
6344
6345         * flow.c: Move all basic block reordering code into its own file.
6346         (create_basic_block): Externalize.
6347         * bb-reorder.c: New file. Copy all basic block reordering code from
6348         flow.c to this file.
6349         (reorder_basic_blocks): Fix fencepost error in for-loop.
6350         (reorder_basic_blocks): Remove braces from single statement for-loops.
6351         * basic-block.h: Add declaration for create_basic_block.
6352         * Makefile.in: Add rules for bb-reorder.o.
6353
6354 2000-03-16  Neil Booth  <NeilB@earthling.net>
6355
6356         * cppinit.c (handle_option):  Implement #unassert directive
6357         as -A- command line option.
6358         (print_help):  Update.
6359         * cpptexi.c:  Update.
6360
6361 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6362
6363         * md.texi (Standard Names): Document `jump'.
6364
6365 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
6366
6367         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
6368         gotos.
6369
6370 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
6371
6372         Merge changes from newppc-branch onto trunk.
6373
6374         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
6375
6376         * rs6000.c (toc_hash_table): Update for new hash table functions.
6377         (toc_hash_function): Likewise.
6378         (toc_hash_eq): Likewise.
6379         (toc_hash_mark_entry): Likewise.
6380         (toc_hash_mark_table): Likewise.
6381         (output_toc): Likewise.
6382         (rs6000_add_gc_roots): Likewise.
6383
6384         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6385
6386         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
6387         (AR_FLAGS_FOR_TARGET): here.  New macro.
6388
6389         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
6390
6391         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
6392         fpmem_operand) Delete.
6393         (xer_operand) New.
6394         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
6395         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
6396         (rs6000_save_machine_status, rs6000_restore_machine_status,
6397         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
6398         references to above variables.
6399         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
6400         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
6401         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
6402         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
6403         (XER_REGNO_P, XER_REGNO): New.
6404         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
6405         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
6406         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
6407         XER_REGNO_P.
6408         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
6409         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
6410         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
6411
6412         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6413
6414         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
6415         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
6416         * rs6000.h: from here.
6417
6418         * rs6000-protos.h (rs6000_select_section): Provide prototype.
6419         (rs6000_select_rtx_section): Likewise.
6420         (rs6000_encode_section_info): Likewise.
6421         (sdata_section): Likewise.
6422         (sdata2_section): Likewise.
6423         (sbss_section): Likewise.
6424         * sysv4.h (rs6000_select_section): Delete prototype.
6425         (rs6000_select_rtx_section): Likewise.
6426         (rs6000_encode_section_info): Likewise.
6427         (sdata_section): Likewise.
6428         (sdata2_section): Likewise.
6429         (sbss_section): Likewise.
6430         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
6431
6432         * sysv4.h: Delete various unnecessary #undef's and put a comment
6433         on the remaining ones.
6434         Change various comments according to coding standard.
6435
6436         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
6437
6438         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
6439         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
6440         (CR0_REGNO_P) Remove.
6441         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
6442         setup_incoming_varargs, mtcrf_operation, print_operand,
6443         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
6444         Use the above macros.
6445
6446         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
6447
6448         * config/rs6000/rs6000.md: Added a new alternative for each
6449         pattern that had a 'x' alternative but no 'y' alternative.
6450         Added a new split for each of the above patterns.
6451
6452         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6453
6454         * aix41.h (ASM_CPU_SPEC): Delete.
6455         (CPP_CPU_SPEC): Delete.
6456
6457         * aix.h (RS6000_OUTPUT_BASENAME): Define.
6458         (ASM_OUTPUT_LABEL): Define.
6459         (ASM_GLOBALIZE_LABEL): Define.
6460         (STRIP_NAME_ENCODING): Define.
6461         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
6462         (STRIP_NAME_ENCODING): Don't define.
6463         (ASM_OUTPUT_LABEL): Don't define.
6464         (ASM_GLOBALIZE_LABEL): Don't define.
6465         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
6466         names, and ASM_OUTPUT_LABEL to output labels, rather than
6467         asm_fprintf.
6468         (ASM_OUTPUT_LABEL): Define.
6469         (ASM_OUTPUT_INT): Use assemble_name.
6470         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
6471         (STRIP_NAME_ENCODING): Don't undefine first.
6472         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
6473         ELF.
6474         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
6475         specified with 'asm' even with -fleading-underscore.
6476         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
6477         (output_epilog): Likewise.
6478         (output_toc): Likewise.
6479         * tramp.asm: Handle -fleading-underscore correctly.
6480
6481         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
6482         -mminimal-toc.
6483         (nonlocal_goto_receiver): Delete.
6484         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
6485
6486         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
6487         (SET_ASM_OP): Define.
6488         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
6489
6490         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
6491         (ASM_LONG): Define.
6492
6493         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
6494         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
6495
6496         * rs6000.h: Add 'u' to more constants.
6497
6498         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
6499
6500         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
6501
6502         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
6503
6504         * rs6000.c (reg_or_u_cint_operand): New function.
6505         (logical_operand): Handle 64-bit hosts.
6506         (logical_u_operand): New function.
6507         (non_logical_cint_operand): Handle 64-bit hosts.
6508         (non_logical_u_cint_operand): New function.
6509         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
6510         (PREDICATE_CODES): Define new functions.
6511         * rs6000-protos.h: Declare new functions.
6512         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
6513         (movdi_64): Bracket code intended for 64-bit hosts.  Create
6514         CONST_DOUBLE for 32-bit values.
6515         (scc insns): Generate DImode compares.
6516         (mfcr insns): Create DImode versions.
6517         (sge matchers): New patterns.
6518
6519         2000-02-15  Gabriel Paubert  <paubert@iram.es>
6520
6521         * rs6000.md: Correct instructions length attributes and
6522         constraints on unsigned compare instructions.
6523         (*ne0): Disable for PowerPC64.
6524
6525         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6526
6527         * rs6000.c (output_function_profiler): Use .long for a 32-bit
6528         quantity, fix profile1.C test failure under -fPIC.
6529
6530         * rs6000.c: Add 'u' to many constants to suppress warnings.
6531         (constant_pool_expr_1): Make static.
6532         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
6533         * rs6000.h: Add 'u' to many constants to suppress warnings.
6534
6535         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
6536         for the start of the TOC, instead of LCTOC..0.
6537         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
6538         of the TOC.
6539         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
6540         (load_toc_aix_di): Use LCTOC..1.
6541
6542         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
6543         * rs6000.c (rs6000_legitimize_address): New function from
6544         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
6545         symbols in the constant pool that really are TOC references.
6546         (print_operand_address): For ELF, write TOC offsets under
6547         -fPIC as subtractions in the insn.
6548         (output_toc): For ELF, define symbols in TOC as normal labels,
6549         to match RTL.
6550         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
6551         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
6552         (create_TOC_reference): Prototype only when RTX_CODE is defined.
6553         * rs6000.md (movsi): Only use create_TOC_reference on
6554         symbols in the constant pool that really are TOC references.
6555
6556         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
6557         * rs6000.c (rs6000_reorg): Delete.
6558         * rs6000-protos.h (rs6000_reorg): Delete.
6559
6560         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
6561
6562         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
6563
6564         * aix.h (SETUP_FRAME_ADDRESSES): Define.
6565         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
6566         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
6567         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
6568         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
6569         rs6000_aix_emit_builtin_unwind_init.
6570         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
6571         rs6000_emit_eh_toc_restore on AIX.
6572         (return_eh_si): Use r2.
6573         (return_eh_di): Use r2.
6574
6575         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
6576         since we're breaking binary compatibility anyway.
6577
6578         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
6579
6580         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
6581         constant_pool_expr_p): Declare them.
6582         (constant_pool_expr_p): Declare it.
6583         * config/rs6000/rs6000.c (toc_label_name): Define.
6584         (rs6000_override_options): Set toc_label_name.
6585         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
6586         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
6587         uses_TOC): New functions.
6588         (print_operand): Delete old '*' case.
6589         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
6590         and strip off rtl for TOC before calling output_addr_const.
6591         (rs6000_emit_load_toc_table): Use toc_label_name.
6592         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
6593         the default.
6594         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
6595         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
6596         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
6597         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
6598         into explicit TOC_REGISTER offsets.
6599         (TOC_REGISTER): New macro.
6600         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
6601         TARGET_TOC to reference TOC_REGISTER.
6602         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
6603         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
6604         uses_TOC before emitting label references.
6605
6606         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6607
6608         * rs6000.md (stack_tie): Fix warning.
6609
6610         * eabi-ctors.c: Use 'asm' names for the start/end variables,
6611         to handle -fleading-underscore.
6612         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
6613         (USER_LABEL_PREFIX): New macro.
6614         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
6615         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
6616         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
6617         call-linux can use the same multilibs.
6618         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
6619         and call-linux multilibs.  Do multilib with -fleading-underscore.
6620         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
6621         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
6622         to call-aix.
6623
6624         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
6625         have MASK_SOFT_FLOAT set.
6626         (CPP_FLOAT_DEFAULT_SPEC): New macro.
6627         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
6628         CPP_FLOAT_DEFAULT_SPEC.
6629
6630         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
6631         * rs6000.md: Whitespace change.
6632         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
6633         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
6634
6635         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6636
6637         * rs6000.md (eh_epilogue): New expander.
6638         (eh_reg_restore): New expand/split/insn combination.
6639         (return_eh_si): New insn.
6640         (return_eh_di): New insn.
6641
6642         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
6643         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
6644         * eabi-ctors.c (__do_global_ctors): Register this object's
6645         frame.  Clean up.  Call atexit() after the constructors.
6646         (__do_global_dtors): Deregister this object's frame.  Clean up.
6647         Allow for recursive calls to exit().
6648         * rs6000.c (fixuplabelno): New variable.
6649         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
6650         TARGET_RELOCATABLE, it slows down exec() under linux.
6651         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
6652
6653         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
6654         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
6655         (ASM_OUTPUT_DWARF_DELTA2): New macro.
6656         (ASM_OUTPUT_DWARF_DELTA4): New macro.
6657         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
6658         (ASM_OUTPUT_DWARF_ADDR): New macro.
6659         (ASM_OUTPUT_DWARF_DATA4): New macro.
6660         (ASM_OUTPUT_DWARF_DATA2): New macro.
6661         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
6662         (ASM_OUTPUT_DWARF_OFFSET): New macro.
6663         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
6664
6665         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
6666
6667         * rs6000.c (rs6000_sr_alias_set): New variable.
6668         (rs6000_override_options): Initialise rs6000_sr_alias_set.
6669         (rs6000_emit_stack_tie): New function.
6670         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
6671         in a way that dwarf2out can understand.
6672         (rs6000_frame_related): New function.
6673         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
6674         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
6675         Use rs6000_emit_stack_tie when needed.
6676         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
6677         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
6678         * rs6000.md (stack_tie): New insn.
6679         (return_internal_si): Allow return value to be in the count
6680         register.
6681         (return_internal_di): Likewise.
6682
6683         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
6684
6685         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
6686
6687         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
6688
6689         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
6690
6691         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
6692
6693         * rs6000.md (stmw): Use the right POWER opcode.
6694         (lmw): Likewise.
6695
6696         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6697
6698         * rs6000-protos.h: New file.
6699
6700         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
6701
6702         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
6703         warnings.
6704
6705         * sysv4.h: Likewise.
6706
6707         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
6708
6709         * ../../configure.in: Delete powerpcle-*-winnt*
6710         and powerpcle-*-pe|powerpcle-*-cygwin*.
6711         * ../../configure: Regenerated.
6712         * cygwin.h: Delete.
6713         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
6714         (TARGET_WINDOWS_NT): Delete.
6715         (ABI_NT): Delete.
6716         (CALL_NT_DLLIMPORT): Delete.
6717         Delete NT-specific code.
6718         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
6719         * win-nt.h: Delete.
6720         * t-winnt: Delete.
6721         * nt-ci.asm: Delete.
6722         * nt-cn.asm: Delete.
6723         * ntstack.asm: Delete.
6724
6725         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6726
6727         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
6728         (ASM_FILE_START): Likewise.
6729         (ASM_DECLARE_FUNCTION_NAME): Likewise.
6730         (ASM_OUTPUT_LABELREF): Likewise.
6731         (ASM_OUTPUT_SKIP): Likewise.
6732         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6733         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6734         (ASM_OUTPUT_CASE_LABEL): Likewise.
6735         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
6736         (ASM_OUTPUT_ASCII): Likewise.
6737
6738         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
6739
6740         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
6741         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
6742         increment rs6000_pic_labelno here.
6743         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
6744         and increment rs6000_pic_labelno here.
6745
6746         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
6747
6748         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
6749         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
6750         allocation knows (reg) is dead before the insn.
6751
6752         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
6753
6754         * rs6000.md (movsi_to_cr): Correct typo in output template.
6755
6756         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
6757
6758         * rs6000.c (rs6000_pic_labelno): Always define.
6759         (rs6000_pic_func_labelno): Delete.
6760         (lmw_operation): Check for a zero base register,
6761         which doesn't mean what we want.
6762         (stmw_operation): New function.
6763         (print_operand): Define new 'l' modifier.
6764         (rs6000_stack_info): We must save all 64 bits of the registers
6765         if TARGET_POWERPC64.
6766         (rs6000_output_load_toc_table): Delete.
6767         (rs6000_emit_load_toc_table): New function.
6768         (rs6000_allocate_stack_space): Delete.
6769         (rs6000_emit_allocate_stack): New function.
6770         (rs6000_emit_prologue): New function.
6771         (output_prolog): Use rs6000_emit_prologue.
6772         (rs6000_emit_epilogue): Change a few variable names to be
6773         more accurate.  Restore all 64 bits of the registers if
6774         TARGET_POWERPC64.  Only restore the FP registers which were used
6775         if they are being saved/restored one-at-a-time.
6776         (output_mi_thunk): Delete inefficient code generation.
6777         (output_function_profiler): Don't use rs6000_output_load_toc_table.
6778         * rs6000.h: Declare rs6000_emit_load_toc_table,
6779         rs6000_allocate_stack_space, stmw_operation.  Don't declare
6780         rs6000_output_load_toc_table.
6781         * rs6000.md (elf_high): Allow register 0, but discourage it
6782         heavily.
6783         (elf_low): Support loading into register 0.
6784         (load_toc_aix_si): New pattern.
6785         (load_toc_aix_di): New pattern.
6786         (load_toc_v4_pic_si): New pattern.
6787         (load_toc_v4_pic_di): New pattern.
6788         (load_toc_v4_PIC_1): New pattern.
6789         (load_toc_v4_PIC_1b): New pattern.
6790         (load_toc_v4_PIC_2): New pattern.
6791         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
6792         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
6793         (prologue): New expander.
6794         (movesi_from_cr): New pattern.
6795         (stmw): New pattern.
6796         (save_fpregs_si): New pattern.
6797         (save_fpregs_di): New pattern.
6798
6799         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6800
6801         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
6802         (movdi): Likewise.
6803         (movhi): Likewise.
6804         (movqi): Likewise.
6805
6806         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6807
6808         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
6809         at present.
6810         (movsi_got_internal): Likewise.
6811         (movsi_got_internal+1): Likewise.
6812         (set_sp): 'unspec 7' does a SImode clobber.
6813
6814         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6815
6816         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
6817         allocate a stack temporary.
6818         (floatsidf2_internal): Likewise.
6819         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
6820         with unspec.
6821         (floatunssidf2): Don't use the fpmem "register", just
6822         allocate a stack temporary.
6823         (floatunssidf2_internal): Likewise.
6824         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
6825         with unspec.
6826         (floatsidf2_loadaddr): Delete.
6827         (floatsidf2_store1): Delete.
6828         (floatsidf2_store2): Delete.
6829         (floatsidf2_load): Delete.
6830         (fix_truncdfsi2): Don't use the fpmem "register", just
6831         allocate a stack temporary.
6832         (fix_truncdfsi2_internal_si): Delete.
6833         (fix_truncdfsi2_internal_di): Delete.
6834         (fix_truncdfsi2_internal): New insn.
6835         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
6836         (fix_truncdfsi2_store): Delete.
6837         (fix_truncdfsi2_load): Delete.
6838         (fctiwz): Produce gen_fctiwz.
6839
6840         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
6841
6842         * eabi.h (INVOKE__main): Define.
6843         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
6844         specially.
6845         (rs6000_emit_prologue): Likewise.
6846         * rs6000.h (struct rs6000_stack): Don't keep track of whether
6847         this is the main program.
6848
6849         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6850
6851         * rs6000.c (rs6000_va_arg): Delete some unused variables.
6852
6853         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6854
6855         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
6856         goes after the argument.
6857
6858         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6859
6860         * rs6000.md: Document 'unspec' values used.
6861         (epilogue): New expander.
6862         (movesi_to_cr_one): New expander.
6863         (movesi_to_cr and following): New pattern.
6864         (lmw): New pattern.
6865         (return_internal_si): New pattern.
6866         (return_internal_di): New pattern.
6867         (return_and_restore_fpregs_si): New pattern.
6868         (return_and_restore_fpregs_di): New pattern.
6869         * rs6000.h: Declare new functions.
6870         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
6871         rather than rs6000_calls_p.
6872         (rs6000_makes_calls): Delete.
6873         (lmw_operation): New function.
6874         (mtcrf_operation): New function.
6875         (rs6000_emit_epilogue): New function.
6876         (output_epilog): Call rs6000_emit_epilogue and final if
6877         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
6878
6879         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6880
6881         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
6882         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
6883         * aix.h (SUBTARGET_SWITCHES): Document switches.
6884         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
6885         sched-prolog and sched-epilog the same.  Document all the
6886         switches.
6887         (TARGET_OPTIONS): No longer allow -mdebug-.
6888
6889         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6890
6891         * rs6000.h (ASM_FILE_END): Move to aix.h.
6892         (EXTRA_SECTIONS): Move to aix.h.
6893         (READONLY_DATA_SECTION): Move to aix.h.
6894         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
6895         (SELECT_SECTION): Move to aix.h.
6896         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
6897         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
6898         (LINK_REGISTER_REGNUM): New definition.
6899         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
6900         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
6901         AIX and SVR4.
6902         * sysv4.h: Delete the code between the inclusion of rs6000.h
6903         and svr4.h.
6904         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
6905         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
6906         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
6907         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
6908         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
6909         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
6910         (fix_truncdfsi2_internal_di): New pattern.
6911         (fix_truncdfsi2_store): The second arg here is Pmode too.
6912         (fix_truncdfsi2_load): The second arg here is Pmode too.
6913         (tablejumpdi): Now that switch tables hold only SImode values,
6914         gcc needs to know how to add them to the pc which is DImode.
6915         * rs6000.c (rs6000_stack_info): Use symbolic name for
6916         LINK_REGISTER_REGNUM.
6917         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
6918         (output_toc): Delete unused variables s1 and s2.
6919         (output_ascii): Use fputs not fprintf on a variable string.
6920
6921         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
6922
6923         * rs6000.c (processor_target_table): Add power3 as alias for 630.
6924         * aix43.h: Revert Aug 2 change.
6925         (HAS_INIT_SECTION): Define, not visible yet.
6926         (LD_INIT_SWITCH): Define, not visible yet.
6927         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
6928
6929         2000-01-04  Joel Sherrill (joel@OARcorp.com>
6930
6931         * config/rs6000/rtems.h: Include config/rtems.h.
6932
6933         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
6934
6935         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
6936         (SLOW_UNALIGNED_ACCESS): Define.
6937         (CASE_VECTOR_MODE): Always use 32-bit offsets.
6938         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
6939         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
6940         (toc_section): Likewise and .toc pseudo-op.
6941         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
6942         64-bit mode.
6943         (TEXT_SECTION_ASM_OP): Likewise.
6944         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
6945         32-bit offsets.
6946
6947         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
6948
6949         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
6950         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
6951         compiling libgcc2.
6952
6953         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6954
6955         * rs6000.h: Move more stuff from here...
6956         * aix.h: to here.
6957         * sysv4.h: Cleanup accordingly.
6958         * netware.h: Likewise
6959
6960         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6961
6962         * rs6000.h: Continue cleanup.
6963         * aix.h: Likewise.
6964         * lynx.h: Likewise.
6965         * netware.h: Likewise.
6966         * sol2.h: Likewise.
6967         * sysv4.h: Likewise.
6968         * win-nt.h: Likewise.
6969
6970         * rs6000.h (TARGET_SWITCHES): Add descriptions.
6971         (TARGET_OPTIONS): Likewise.
6972
6973         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
6974         (SUBTARGET_OPTIONS): Likewise.
6975
6976         * rs6000.md: Fix compile time warnings.
6977
6978         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
6979
6980         vxworks patches from the Cygnus tree originally by
6981         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
6982         <vmakarov@cygnus.com>.
6983         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
6984         (ENDFILE_SPEC): Likewise.
6985         (LIB_VXWORKS_SPEC): New macro.
6986         (STARTFILE_VXWORKS_SPEC): New macro.
6987         (ENDFILE_VXWORKS_SPEC): New macro.
6988         (LINK_START_VXWORKS_SPEC): New macro.
6989         (LINK_OS_VXWORKS_SPEC): New macro.
6990         (CPP_OS_VXWORKS_SPEC): New macro.
6991         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
6992         * vxppc.h: Rewrite to use proper configuration method.
6993         * vxppcle.h: New file.
6994         * ../../configure.in: Add powerpcle-wrs-vxworks*.
6995         * ../../configure: Rebuilt.
6996
6997         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
6998
6999         Lots of changes to rs6000.h, sysv4.h, aix.h,
7000         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
7001         with the aim that rs6000.h is the first header
7002         included and the others override it.
7003         * aix.h: New file.
7004
7005         * x-aix41-gld: Remove.
7006         * x-aix43: Remove.
7007         * x-aix41: Remove target-specific switches, and don't specify
7008         -Wl,-bbigtoc as we don't need it any more.
7009         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
7010         Use t-aix43 for AIX 4.3 and above.
7011         * ../../configure: Regenerated.
7012
7013         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
7014         options, that don't do anything yet.
7015         (MASK_SCHED_PROLOG): New macro.
7016         (MASK_SCHED_EPILOG): New macro.
7017         (TARGET_SCHED_PROLOG): New macro.
7018         (TARGET_SCHED_EPILOG): New macro.
7019
7020         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7021
7022         * rs6000.c: Correct comment, the `minimal' TOCs are actually
7023         one per translation unit, not one per function.
7024         (output_toc): Also do duplicate constant elimination
7025         for per-translation-unit TOCs.
7026
7027         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
7028         a comment explaining _exactly_ when this pattern gets used.
7029         (builtin_setjmp_receiver): New pattern for better clarity.
7030         (init_v4_pic): Move it into a section dealing with TOC registers.
7031
7032         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
7033
7034         * rs6000.c (toc_hash_table): New variable.
7035         (rs6000_hash_constant): New function.
7036         (toc_hash_function): New function.
7037         (toc_hash_eq): New function.
7038         (toc_hash_mark_entry): New function.
7039         (toc_hash_mark_table): New function.
7040         (output_toc): Don't output duplicate TOC entries in
7041         a single file.
7042         (rs6000_add_gc_roots): Add the hash table as a GC root.
7043         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
7044         where they clearly shouldn't be.  This may need to be fixed
7045         later when there is a GNU ar for AIX.
7046         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
7047         Don't define BOOT_LDFLAGS as it is now not necessary.
7048
7049         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
7050
7051         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
7052         for va_list on AIX.  Use unsigned_char_type_node rather than
7053         constructing our own version on svr4.
7054
7055         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
7056
7057         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
7058         since patently it's not.
7059
7060         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
7061
7062         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
7063         define_expand/define_insn pair, and handle restore of the
7064         SVR4 -fpic register.
7065
7066 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
7067
7068         * acconfig.h (HAVE_GAS_WEAK): New define.
7069         * configure.in (assembler weak support): Check for .weak support.
7070         * config.in, configure: Rebuilt.
7071         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
7072         HAVE_GAS_WEAK is defined.
7073
7074 2000-03-15  Nick Clifton  <nickc@cygnus.com>
7075
7076         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
7077         asm_fprintf().
7078
7079 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
7080
7081         * cppfiles.c (open_include_file): New function.
7082         (find_include_file, cpp_read_file): Use it.
7083
7084 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
7085
7086         * cpphash.c (dump_hash_helper): Take the slot, not the element.
7087
7088 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
7089
7090         * flow.c (verify_flow_info): Check for unconditional return.
7091
7092 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
7093
7094         * config/ia64/ia64.md (restore_stack_nonlocal): New.
7095         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
7096         (__ia64_restore_stack_nonlocal): New.
7097         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
7098
7099 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7100
7101         * cpphash.c (collect_formal_parameters): Do not complain about
7102         parameter names that just start with `__VA_ARGS__'.
7103
7104 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
7105
7106         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
7107         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
7108         * i386.c (pentiumpro_cost): Set mul cost to 4.
7109         (x86_use_movx): Set for PPro.
7110
7111 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
7112
7113         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
7114         STACK_BOUNDARY for empty frames now.
7115
7116 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
7117
7118         * stor-layout.c (layout_union): Remove.
7119         (layout_union_field): New function, split out from layout_union.
7120         (finish_union_layout): Likewise.
7121         (layout_field): Handle unions by calling layout_union_field.
7122         (finish_record_layout): Handle unions.
7123         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
7124         QUAL_UNION_TYPE handling.
7125
7126 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
7127
7128         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
7129         end of basic block is jump_insn, not barrier; use create_basic_block
7130         instead of creating basic block by hand.
7131
7132 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
7133
7134         * flow.c (reorder_basic_blocks): Account for barriers when writing
7135         over NEXT_INSN (last_bb->end).
7136         (verify_flow_info): Add check for missing barriers.
7137
7138 2000-03-14  Greg McGary  <gkm@gnu.org>
7139
7140         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
7141         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
7142         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
7143         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
7144         __unbounded, __unbounded__): New keywords.
7145         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
7146         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
7147         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
7148
7149 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
7150
7151         * cselib.h: New file.
7152         * alias.c: Include "cselib.h".
7153         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
7154         MEMs as two new arguments.
7155         (get_addr): New static function.
7156         (find_base_term): Handle VALUEs.
7157         (memrefs_conflict_p): Likewise.
7158         (true_dependence): Call get_addr on the addresses.
7159         Call fixed_scalar_and_varying_struct_p with addresses that have been
7160         passed through get_addr and canon_rtx.
7161         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
7162         with true_dependence.
7163         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
7164         * loop.c: Include "cselib.h".
7165         (load_mems): Process extended basic block that enters the loop with
7166         cselib.  Use that information to change initialization of the shadow
7167         register so that a constant equivalence is seen by later passes.
7168         * reload1.c: Include "cselib.h".
7169         (reload_cse_invalidate_regno): Delete function.
7170         (reload_cse_mem_conflict_p): Likewise.
7171         (reload_cse_invalidate_mem): Likewise.
7172         (reload_cse_invalidate_rtx): Likewise.
7173         (reload_cse_regno_equal_p): Likewise.
7174         (reload_cse_check_clobber): Likewise.
7175         (reload_cse_record_set): Likewise.
7176         (reg_values): Delete static variable.
7177         (invalidate_regno_rtx): Likewise.
7178         (reload_cse_delete_noop_set): New static function.
7179         (reload_cse_simplify): New static function, broken out of
7180         reload_cse_regs_1.
7181         (reload_cse_noop_set_p): Delete unused argument INSN.
7182         Just call rtx_equal_for_cselib_p on set source and destination.
7183         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
7184         reload_cse_delete_noop_set.  Delete code to keep track of values; use
7185         cselib functions instead.  Delete code to push/pop obstacks.
7186         (reload_cse_simplify_set): Use cselib to find equivalent values.
7187         Delete code to push/pop obstacks.
7188         (reload_cse_simplify_operands): Likewise.
7189         * rtl.def (VALUE): New rtx code.
7190         * rtl.h (union rtunion_def): New elt rt_cselib.
7191         (X0CSELIB, CSELIB_VAL_PTR): New macros.
7192         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
7193         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
7194         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
7195         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
7196         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
7197         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
7198         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
7199         cselib_record_set, cselib_record_sets): New static functions.
7200         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
7201         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
7202         references_value_p): New functions.
7203         (MAX_USELESS_VALUES, REG_VALUES): New macros.
7204         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
7205         n_useless_values, reg_values, callmem, cselib_obstack,
7206         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
7207         New static variables.
7208         * varray.h (union varray_data_tag): New elt te.
7209         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
7210         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
7211         dependencies.
7212
7213 2000-03-14  Nick Clifton  <nickc@cygnus.com>
7214
7215         * gcc.c (do_spec_1): Catch the case where %* is used in a
7216         substitution pattern, but it has not been initialised.
7217         Issue a meaningful error message if an unrecognised operator
7218         is encountered in a spec string.
7219
7220 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
7221
7222         * function.c (prepare_function_start): Correctly initialize
7223         cfun->stack_alignment_needed.
7224
7225 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
7226
7227         * cppfiles.c (find_include_file): Don't assume nshort is a
7228         substring of name.
7229
7230 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
7231
7232         * configure.in (hppa configurations): Add pa32-regs.h to the
7233         list of tm files as appropriate.
7234         * configure: Rebuilt.
7235         * pa.c (compute_frame_size): Remove explicit knowledge about FP
7236         register numbering.
7237         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
7238         (fmpyaddoperands, fmpysuboperands): Likewise.
7239         * pa.h: Remove various definitions which depend on knowing
7240         how registers are numbered.
7241         * pa32-regs.h: New file with PA32 register numbering specific
7242         definitions.
7243
7244 2000-03-14  Richard Henderson  <rth@cygnus.com>
7245
7246         * regmove.c (combine_stack_adjustments): New.
7247         (stack_memref_p, single_set_for_csa): New.
7248         (free_csa_memlist, record_one_stack_memref): New.
7249         (try_apply_stack_adjustment): New.
7250         (combine_stack_adjustments_for_block): New.
7251         * rtl.h (combine_stack_adjustments): Declare.
7252         * toplev.c (rest_of_compilation): Call it.
7253
7254         * i386.md: Revert 2000-01-16 change.
7255
7256 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7257
7258         * gccbug.in: Add web category, gcc specific classes.
7259
7260 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
7261
7262         * stor-layout.c (finalize_record_size): Fix typo.
7263
7264 2000-03-14  Stan Shebs  <shebs@apple.com>
7265
7266         * c-typeck.c (c_alignof): Error on incomplete types.
7267         * extend.texi (Alignment): Document this.
7268
7269 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7270
7271         * cppfiles.c: Include mkdeps.h.
7272         (find_include_file, read_include_file): Remove _cpp_ prefix
7273         from name, make static.
7274         (_cpp_execute_include): New function, broken out of
7275         do_include.
7276
7277         * cpplib.c: Don't include mkdeps.h.
7278         (struct directive): Remove type field. Reorder entries.  The
7279         function takes only one argument.
7280         (struct if_stack): Make type field an int.
7281         (directive_table): Rename to dtable.  Generate it, the
7282         prototypes of the directive handlers, and the enum for the
7283         directive numbers, from a template macro.
7284         (do_ifndef, do_include_next, do_import): New functions.
7285         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
7286         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
7287         do_ident, do_assert, do_unassert, do_sccs): Take only one
7288         argument.
7289         (do_sccs): Define always, but alter behavior based on
7290         SCCS_DIRECTIVE.
7291         (_cpp_handle_directive, consider_directive_while_skipping):
7292         Restructure for new directive table layout.
7293
7294         (pass_thru_directive): Take a directive number, not a pointer
7295         to a struct directive.
7296         (parse_include): New function, broken out of do_include.
7297         (do_include, do_import, do_include_next): Use parse_include
7298         and _cpp_execute_include.
7299         (do_elif, do_else): Test for T_ELSE specifically when checking
7300         for #elif/#else after #else.
7301         (parse_ifdef): New function, broken out of do_ifdef.
7302         (validate_else): Expect a name arg without a leading #.
7303         (if_directive_name): Delete.
7304         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
7305         directive handlers with only one argument.
7306
7307         * cpphash.h: Update prototypes.
7308         (enum node_type): Remove entries for directives.
7309         * Makefile.in: Update dependencies.
7310
7311         * cpphash.c (dump_hash_helper): Only dump nodes of type
7312         T_MACRO.  Emit a newline after each definition.
7313
7314 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7315
7316         * gccbug.in: New file.
7317         * configure.in (all_outputs): Add gccbug.
7318         * Makefile.in (install-common): Install gccbug.
7319         (GCCBUG_INSTALL_NAME): New variable.
7320         * configure: Rebuilt.
7321
7322 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
7323
7324         * function.c (put_var_into_stack): Use type_for_mode to calculate
7325         part_type.  Use MEM_SET_IN_STRUCT_P.
7326         * expr.c (store_field): Handle CONCAT.
7327         (store_constructor): Use fields_length.
7328         * tree.c (fields_length): New fn.
7329         * tree.h: Declare it.
7330
7331 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7332
7333         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
7334         (cpplex.o): New target.
7335         * po/POTFILES.in: Add cpplex.c.
7336
7337         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
7338         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
7339         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
7340         skip_block_comment, skip_line_comment, skip_comment,
7341         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
7342         _cpp_parse_name, skip_string, parse_string,
7343         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
7344         _cpp_get_directive_token, find_position,
7345         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
7346         (maybe_macroexpand, _cpp_lex_token): New functions.
7347
7348         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
7349         parse_goto_mark): Delete.
7350         (_cpp_handle_eof): New function.
7351         (_cpp_handle_directive): Rename from handle_directive.
7352         (_cpp_output_line_command): Rename from output_line_command.
7353         (do_if, do_elif): Call _cpp_parse_expr directly.
7354         * cppfiles.c (_cpp_read_include_file): Don't call
7355         init_input_buffer here.
7356         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
7357         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
7358         here; pop the token_buffer and skip the rest of the line here.
7359         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
7360         here.
7361
7362         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
7363         Define here.
7364         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
7365         CPP_GOTO_MARK): New macros.
7366         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
7367         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
7368         _cpp_read_and_prescan, _cpp_init_input_buffer,
7369         _cpp_grow_token_buffer, _cpp_get_directive_token,
7370         _cpp_handle_directive, _cpp_handle_eof,
7371         _cpp_output_line_command): Prototype them here.
7372         * cpplib.h (enum cpp_token): Add CPP_MACRO.
7373         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
7374         quote_string, output_line_command): Remove.
7375
7376 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
7377
7378         * stmt.c (expand_end_case): RANGE may be signed, and when checking
7379         whether it is too large we must also verify that it isn't negative.
7380
7381 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
7382
7383         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
7384         (movsi_zero_liveg0): Remove.
7385         (movsf_insn_novis_liveg0): Remove.
7386         (negsi2): Remove.
7387         (negsi2_not_liveg0): Rename to negsi2.
7388         (one_cmplsi2): Remove.
7389         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
7390         (one_cmplsi2_liveg0): Remove.
7391         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
7392         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
7393         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
7394         (PREDICATE_CODES): Remove zero_operand.
7395         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
7396         TARGET_BROKEN_SAVERESTORE.
7397         (zero_operand): Remove.
7398         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
7399         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
7400         options.
7401         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
7402         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
7403         TARGET_BROKEN_SAVERESTORE): Remove.
7404         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7405         Remove.
7406         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7407         Remove.
7408         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7409         Remove.
7410
7411         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
7412
7413 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7414
7415         * cpplib.c (do_pragma_implementation): Fix off-by-one error
7416         truncating a string.  Don't assume tokens are nul terminated.
7417         Problem noted by Andreas Jaeger <aj@suse.de>
7418
7419 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
7420
7421         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
7422         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
7423         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
7424
7425 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
7426
7427         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
7428         STRUCTURE_SIZE_BOUNDARY.
7429
7430 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
7431
7432         * tree.h (record_layout_info_s): New structure.
7433         (record_layout_info): New type.
7434         (new_record_layout_info): New function.
7435         (layout_field): Likewise.
7436         (finish_record_layout): Likewise.
7437         * stor-layout.c (layout_record): Remove.
7438         (new_record_layout_info): New function.
7439         (layout_field): New function, broken out from layout_record.
7440         (finalize_record_size): Likewise.
7441         (compute_record_mode): Likewise.
7442         (finalize_type_size): New function, broken out from layout_type.
7443         (finish_record_layout): Likewise.
7444         (layout_type): Use them.
7445
7446 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
7447
7448         * cpphash.c: Don't include version.h.
7449         (special_symbol) [case T_VERSION]: Look for the string in
7450         hp->value.cpval; don't use version_string.
7451         * cppinit.c (initialize_builtins): Set hp->value.cpval for
7452         __VERSION__ to version_string.
7453         * Makefile.in (cpphash.o): Update deps.
7454
7455 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
7456
7457         Convert cpplib to use libiberty/hashtab.c.
7458
7459         * cpplib.h (struct cpp_reader): Make hashtab and
7460         all_include_files of type 'struct htab *'.  Delete HASHSIZE
7461         and ALL_INCLUDE_HASHSIZE macros.
7462
7463         * cpphash.h: Update prototypes.
7464         (struct hashnode): Remove next, prev, and bucket_hdr members.
7465         Make length a size_t.  Add hash member.
7466         (struct ihash): Remove next member.  Add hash member.  Make
7467         name a flexible array member.
7468
7469         * cppfiles.c: Include hashtab.h.
7470         (include_hash): Delete.
7471         (IHASHSIZE): New macro.
7472         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
7473         (cpp_included): Do the hash lookup here.
7474         (_cpp_find_include_file): Rewrite.
7475         (cpp_read_file): Put the "fake" hash entry into the hash
7476         table.  Honor the control_macro, if it turns out we've seen
7477         the file before.  Don't push the buffer here.
7478         (_cpp_read_include_file): Push the buffer here.
7479         (OMODES): New macro.  Use it whenever we call open(2).
7480
7481         * cpphash.c: Include hashtab.h.
7482         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
7483         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
7484         _cpp_lookup_slot): New functions.
7485         (HASHSIZE): new macro.
7486         (hashf, _cpp_install, _cpp_delete_macro): Delete.
7487         (_cpp_lookup): Use hashtab.h routines.
7488
7489         * cppinit.c: Include hashtab.h.
7490         (cpp_reader_init): Call _cpp_init_macro_hash and
7491         _cpp_init_include_hash.  Don't allocate hashtab directly.
7492         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
7493         pfile->all_include_files.
7494         (initialize_builtins): Use _cpp_make_hashnode and
7495         htab_find_slot to add hash entries.
7496         (cpp_finish): Just call _cpp_dump_macro_hash.
7497         * cpplib.c: Include hashtab.h.
7498         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
7499         create hash entries.
7500         (do_pragma_poison, do_assert): Likewise.
7501         (do_include): Don't push the buffer here.  Don't increment
7502         system_include_depth unless _cpp_read_include_file succeeds.
7503         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
7504         or htab_remove_elt.
7505         (do_pragma_implementation): Use alloca to create copy.
7506
7507         * Makefile.in: Update dependencies.
7508
7509 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7510
7511         * cppinit.c (cl_directive_handler): More K&R fixing.
7512
7513 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
7514
7515         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
7516         STACK_BOUNDARY.
7517         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
7518
7519 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7520
7521         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
7522         Change from char[] to macros.
7523
7524 2000-03-12  Neil Booth  <NeilB@earthling.net>
7525
7526         * cppinit.c (cpp_start_read): Update indirect function
7527         call to K&R C.
7528
7529 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
7530
7531         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
7532         entry.
7533
7534         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7535         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
7536
7537 2000-03-11  Neil Booth  <NeilB@earthling.net>
7538
7539         * cppinit.c (struct pending option): Replace undef with a
7540         pointer to a directive handling routine.
7541         (struct cpp_pending): Replace separate assert_ and define_
7542         lists with one directive_ list.
7543         (new_pending_define): Rename new_pending_directive. Extra
7544         argument is the directive's handling routine.
7545         (handle_option): Update to use new_pending_directive.
7546
7547 2000-03-11  Neil Booth  <NeilB@earthling.net>
7548
7549         * cppfiles.c (file_cleanup, _cpp_find_include_file,
7550         remap_filename, _cpp_read_include_file, actual_directory,
7551         hack_vms_include_specification): Replace bcopy(), index() etc
7552         calls.  Add casts to some allocations.  Make some variables
7553         pointers to const [unsigned] char.
7554         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
7555         collect_formal_parameters): Similarly.
7556         * cppinit.c (struct pending_option, append_include_chain,
7557         cpp_options_init, cpp_reader_init, initialize_standard_includes,
7558         cpp_start_read, new_pending_define, handle_option): Similarly.
7559         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
7560         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
7561         do_pragma_implementation, detect_if_not_defined,
7562         do_ifdef, skip_if_group, cpp_get_token, parse_string,
7563         do_assert, do_unassert): Similarly.
7564         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
7565         function prototypes.
7566         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
7567
7568 2000-03-10  Richard Henderson  <rth@cygnus.com>
7569
7570         * builtins.c (expand_builtin_strlen): Revert last change.
7571         Use emit_insn_before if we're at the beginning of a sequence.
7572
7573 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
7574
7575         * builtins.c (expand_builtin_strlen): Make sure that we have something
7576         at the beginning of the sequence.
7577
7578         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
7579         deferred inlines.
7580
7581         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
7582
7583 2000-03-10  Richard Henderson  <rth@cygnus.com>
7584
7585         * except.c (can_throw): Use INTVAL on a CONST_INT.
7586         (reachable_handlers): Likewise.
7587         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
7588
7589 2000-03-10  Andreas Jaeger  <aj@suse.de>
7590
7591         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
7592         MD_STARTFILE_PREFIX since those are not needed on linux.
7593         (ASM_FILE_START): New, from mips/gnu.h.
7594
7595 2000-03-09  Richard Henderson  <rth@cygnus.com>
7596             Alex Samuel  <samuel@codesourcery.com> and others
7597
7598         * Makefile.in (ssa.o): New rule.
7599         (OBJS): Add ssa.o.
7600         (STAGESTUFF): Add *.ssa and *.ussa.
7601         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
7602         * rtl.def (PHI): New RTL expression.
7603         * rtl.h (clear_log_links): New declaration.
7604         (convert_to_ssa): Likewise.
7605         (convert_from_ssa): Likewise.
7606         * flow.c (split_edge): If the entry node falls through to the
7607         split edge's source block, split the entry edge.
7608         (clear_log_links): New function.
7609         * toplev.c (ssa_dump): New variable.
7610         (flag_ssa): Likewise.
7611         (f_options): Add "ssa".
7612         (compile_file): Create SSA dump files.
7613         (rest_of_compilation): Go to and from SSA if enabled.
7614         (decide_d_option): Handle -de for SSA dump files.
7615         * ssa.c: New file.
7616
7617 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
7618
7619         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
7620         same as VAR_DECL.
7621
7622 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
7623
7624         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
7625
7626 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
7627
7628         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
7629         (MD_STARTFILE_PREFIX_1): New macro.
7630
7631 2000-03-09  Robert Lipe  <robertl@sco.com>
7632
7633         * config/ia64/ia64.c: Include system.h.
7634
7635 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
7636
7637         * except.c (nothrow_function_p): If -fno-exceptions, just return.
7638         (init_eh_nesting_info): Likewise.
7639
7640         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
7641         (TREE_NOTHROW): Rename from TREE_RAISES.
7642         * toplev.c (rest_of_compilation): Set it.
7643         * print-tree.c (print_node): Adjust.
7644         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
7645         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
7646         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
7647         REG_EH_REGION note as appropriate.
7648         (libfunc_nothrow): New fn.
7649         (emit_library_call, emit_library_call_value): Use it.
7650         (expand_call): Check TREE_NOTHROW.
7651
7652         * varasm.c (make_decl_rtl): Skip initial '*' when setting
7653         DECL_ASSEMBLER_NAME.
7654
7655 2000-03-09  Andreas Jaeger  <aj@suse.de>
7656
7657         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
7658         (TARGET_MEM_FUNCTIONS): Define.
7659
7660 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
7661
7662         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
7663
7664         * except.c (can_throw): See through a SEQUENCE.
7665         (nothrow_function_p): New fn.
7666         * except.h: Declare it.
7667         * function.c (current_function_nothrow): New var.
7668         (prepare_function_start): Initialize it.
7669         * output.h: Declare it.
7670         * toplev.c (rest_of_compilation): Set it.
7671         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
7672
7673 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
7674
7675         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
7676         match.  (cpp_compare_defs): Count the nul separator when
7677         advancing over argument names.
7678
7679 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
7680
7681         * recog.c (preprocess_constraints): Matching constraints affect
7682         same alternative/different operand, not same operand/different
7683         alternative.
7684
7685         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
7686         register and a constant specially.
7687
7688 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7689
7690         * libgcc2.h: New file.
7691         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
7692
7693 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
7694
7695         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
7696         * configure: Regenerate.
7697         * config/ia64: New.
7698
7699 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
7700
7701         * Makefile.in (LIBCPP_DEPS): New macro.
7702         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
7703         it to declare deps.
7704         * cpperror.c: Include cpphash.h.
7705         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
7706         dingleberry.
7707         (lex): Don't use CPP_WARN_UNDEF.
7708         (_cpp_parse_expr): Return an int, the truth value.
7709         * cppfiles.c: Include cpphash.h.
7710         (_cpp_merge_include_chains): Move to cppinit.c and make static.
7711         * cppinit.c (include_defaults_array): Disentangle.
7712         (cpp_cleanup): Don't free the if stack here.
7713         (cpp_finish): Pop off all buffers, not just one.
7714         * cpplib.c (eval_if_expr): Return int.
7715         (do_xifdef): Rename do_ifdef.
7716         (handle_directive): Don't use CPP_PREPROCESSED.
7717         (cpp_get_token): Don't use CPP_C89.
7718         * fix-header.c: Don't use CPP_OPTIONS.
7719
7720         * cpplib.h: Move U_CHAR, enum node_type, struct
7721         file_name_list, struct ihash, is_idchar, is_idstart,
7722         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
7723         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
7724         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
7725         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
7726         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
7727         of _cpp_simplify_pathname, _cpp_find_include_file,
7728         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
7729         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
7730         cppinit.c.
7731         Change all uses of U_CHAR to be unsigned char instead.
7732         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
7733
7734 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
7735
7736         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
7737         (dwarf2out_begin_prologue): Set it.
7738         (output_call_frame_info): Don't emit EH unwind info for leaves.
7739
7740         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
7741         can occur outside of an EH region.
7742         * except.c: Correct comments about rethrow behavior.
7743         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
7744
7745 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
7746
7747         * flow.c (make_edges): Always call make_eh_edge for calls.
7748
7749 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
7750
7751         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
7752         (struct cpp_buffer): Remove fname and underflow fields.
7753         (struct cpp_reader): Remove get_token field.
7754         (struct include_hash): Rename to struct ihash.  Add typedef to
7755         IHASH.
7756         (struct if_stack): Remove fname field.
7757         (IF_STACK_FRAME): Rename to IF_STACK.
7758
7759         * cpperror.c (print_containing_files): Trust that there are no
7760         macro buffers below the top file buffer.
7761         * cppfiles.c: Replace all references to 'struct include_hash'
7762         with 'IHASH'.  Rename initialize_input_buffer to
7763         init_input_buffer.  Don't set or reference cpp_buffer->fname,
7764         use buffer->ihash->name instead.
7765         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
7766         not CPP_NULL_BUFFER.
7767         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
7768         IF_STACK_FRAME, IHASH not struct include_hash.
7769         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
7770         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
7771         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
7772         references to cpp_buffer->fname (delete entirely, or use
7773         ->ihash->name instead) and IF_STACK->fname.
7774         (cpp_push_buffer): Don't set new->underflow.
7775         (do_include): Use cpp_file_buffer.
7776
7777         * cpphash.c (collect_formal_parameters): Remove duplicate
7778         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
7779         used as a macro argument name.  Don't append "..." to namebuf
7780         for varargs macros.  After we're done scanning, go through
7781         namebuf and make it NUL separated, not comma separated.
7782         (_cpp_compare_defs): Remove register tag from variables.
7783         Expect defn->argnames to be NUL separated.
7784         (_cpp_dump_definition): Expect defn->argnames to be NUL
7785         separated and in forward order.
7786         * cpphash.h: Update documentation of argnames field.
7787
7788 2000-03-08  Richard Henderson  <rth@cygnus.com>
7789
7790         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
7791         to fail.  Don't pre-expand the source operand.
7792
7793         * i386.md (strlensi): Initialize eoschar and align before use.
7794
7795 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
7796
7797         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
7798         CONSTRUCTOR element.
7799
7800 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
7801
7802         * mips.c (mips_expand_prologue): If the last
7803         named argument is the vararg marker "va_list", treat it as
7804         an unnamed argument.
7805
7806 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
7807
7808         * dbxout.c (dbxout_parms): When correcting for promoted
7809         big-endian parameters, use the mode of the DECL_RTL rather
7810         than UNITS_PER_WORD.
7811
7812 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
7813
7814         * c-common.h (make_fname_decl): Declare.
7815         * c-common.c (make_fname_decl): Define.
7816         (declare_hidden_char_array): Remove.
7817         (declare_function_name): Use make_fname_decl.
7818         * c-decl.c (c_make_fname_decl): New function.
7819         (init_decl_processing): Set make_fname_decl.
7820
7821 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
7822
7823         * cccp.c (handle_directive): Initialize backslash_newlines_p.
7824
7825 2000-03-07  Philipp Thomas  <pthomas@suse.de>
7826
7827         * po/POTFILES.in: Remove cppalloc.c from file list.
7828
7829 2000-03-07  Steve Chamberlain  <sac@pobox.com>
7830
7831         * pj.c (pj_expand_prologue): current_function->args_info is
7832         now current_function_args_info.
7833
7834         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
7835         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
7836         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
7837
7838 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7839
7840         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
7841         output as hexadecimal rather than the default octal.
7842
7843 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
7844
7845         * cpphash.c (special_symbol): Fix thinko in previous commit.
7846
7847 2000-03-07  Neil Booth  <NeilB@earthling.net>
7848
7849         * cppexp.c (struct operation, left_shift, right_shift,
7850         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
7851         "int"s to "unsigned int"s.
7852         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
7853         Similarly.
7854         * cpplib.h: Update for above.
7855         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
7856         returned from allocations.
7857
7858         * cppinit.c (opt_comp, parse_options): New functions.
7859         (handle_option): Use parse_option to parse a single command
7860         line option, that possibly takes an argument.
7861         (cpp_handle_options): Sort the array of command line options on
7862         first invocation (non-ASCII hosts only).
7863         (print_help): Update.
7864
7865 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
7866
7867         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
7868         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
7869
7870         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
7871         initialized.
7872         * cppinit.c (cpp_cleanup): Free imp->nshort also.
7873
7874         * cpperror.c (cpp_print_containing_files,
7875         cpp_print_file_and_line, v_cpp_message): Rename to
7876         print_containing_files, print_file_and_line, and v_message.
7877         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
7878         to _cpp_parse_expr, parse_escape, and lex.
7879         (parse_charconst): Remove broken multibyte support.
7880         * cppfiles.c (include_hash): Make static.
7881         (cpp_included): New function.
7882         (merge_include_chains, find_include_file, finclude,
7883         simplify_pathname): Rename to _cpp_merge_include_chains,
7884         _cpp_find_include_file, _cpp_read_include_file, and
7885         _cpp_simplify_pathname.
7886         * cpphash.c (cpp_lookup, free_definition, delete_macro,
7887         cpp_install, create_definition, macroexpand, compare_defs,
7888         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
7889         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
7890         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
7891         * cppinit.c (cpp_handle_option): Rename to handle_option, make
7892         static.
7893         * cpplib.c: Remove extern prototype of cpp_parse_expr.
7894
7895         * cpphash.h: Update prototypes.
7896         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
7897
7898 2000-03-07  Andrew Haley  <aph@cygnus.com>
7899
7900         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
7901         PTRDIFF_TYPE should be based solely on Pmode.
7902         (SIZE_TYPE): ditto.
7903
7904 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7905
7906         * rtl.h (rtunion_def): Constify member `rtstr'.
7907         (emit_line_note_after, emit_line_note, emit_line_note_force,
7908         emit_note, decode_asm_operands): Constify.
7909
7910         * cse.c (canon_hash): Likewise.
7911
7912         * dbxout.c (dbxout_block): Likewise.
7913
7914         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
7915         v_warning_for_asm): Likewise.
7916
7917         * dwarfout.c (function_start_label): Likewise.
7918
7919         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
7920         emit_line_note_force): Likewise.
7921
7922         * final.c (last_filename, asm_insn_count, final_scan_insn,
7923         output_source_line): Likewise.
7924
7925         * function.h (struct emit_status): Likewise.
7926
7927         * gcse.c (hash_expr_1): Likewise.
7928
7929         * genattr.c (gen_attr, main): Likewise.
7930
7931         * genattrtab.c (struct function_unit, current_alternative_string,
7932         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
7933         attr_numeral, check_attr_test, check_attr_value,
7934         convert_set_attr_alternative, convert_set_attr,
7935         compute_alternative_mask, simplify_by_exploding, gen_attr,
7936         gen_unit): Likewise.
7937
7938         * genflags.c (gen_insn): Likewise.
7939
7940         * gengenrtl.c (type_from_format): Likewise.
7941
7942         * genopinit.c (gen_insn): Likewise.
7943
7944         * genoutput.c (n_occurrences, process_template, process_template):
7945         Likewise.
7946
7947         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
7948         Likewise.
7949
7950         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
7951         Likewise.
7952
7953         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
7954         ggc_set_mark, ggc_get_size): Likewise.
7955
7956         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
7957
7958         * optabs.c (init_one_libfunc): Likewise.
7959
7960         * output.h (assemble_start_function): Likewise.
7961
7962         * recog.c (decode_asm_operands): Likewise.
7963
7964         * toplev.c (rest_of_compilation): Likewise.
7965
7966         * tree.h (emit_line_note_after, emit_line_note,
7967         emit_line_note_force): Likewise.
7968
7969         * varasm.c (asm_output_bss, asm_output_aligned_bss,
7970         asm_emit_uninitialised, assemble_start_function,
7971         assemble_variable, const_hash, compare_constant_1,
7972         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
7973
7974         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
7975
7976         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
7977
7978         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
7979
7980         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
7981
7982         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
7983         arm_dllimport_name_p): Likewise.
7984
7985         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
7986         Likewise.
7987
7988         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
7989
7990         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7991
7992         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
7993         arm_mark_dllexport, arm_mark_dllimport,
7994         arm_pe_encode_section_info): Likewise.
7995
7996         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
7997         ASM_FINISH_DECLARE_OBJECT): Likewise.
7998
7999         * arm/thumb.c (thumb_function_prologue): Likewise.
8000
8001         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
8002
8003         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8004
8005         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
8006
8007         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
8008
8009         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
8010
8011         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8012
8013         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
8014         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
8015
8016         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
8017
8018         * i386/i386.c (asm_output_function_prefix): Likewise.
8019
8020         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
8021
8022         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8023
8024         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
8025
8026         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
8027         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
8028         ASM_OUTPUT_SECTION_NAME): Likewise.
8029
8030         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
8031
8032         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
8033
8034         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
8035
8036         * m32r/m32r.c (m32r_encode_section_info): Likewise.
8037
8038         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8039
8040         * mcore/mcore.c (mcore_encode_section_info): Likewise.
8041
8042         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8043
8044         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8045
8046         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8047
8048         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
8049
8050         * mips/mips.md (movdi, movsi): Likewise.
8051
8052         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8053
8054         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8055
8056         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8057
8058         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8059         ASM_OUTPUT_ASCII): Likewise.
8060
8061         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
8062         output_mi_thunk, output_toc): Likewise.
8063
8064         * rs6000/rs6000.md (movsi): Likewise.
8065
8066         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
8067
8068         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
8069
8070         * v850/v850.c (print_operand, print_operand_address,
8071         v850_encode_data_area): Likewise.
8072
8073 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
8074
8075         * config/mips/mips.md (zero_extendsidi2): Always force operand
8076         one to memory for mips16.
8077
8078 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8079
8080         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
8081         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
8082         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
8083         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
8084         (min_precision): Result is unsigned.
8085         (add_double, neg_double, mul_double): Low word is unsigned.
8086         (lshift_double, rshift_double, lrotate_double): Likewise.
8087         (rrotate_double, div_and_round_double): Likewise.
8088         (tree_floor_log2, compare_tree_int): New functions.
8089         (preserve_rtl_expr_temps): New declaration.
8090         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
8091         (decl_attributes): Use tree_log2 to find alignment.
8092         Check for TREE_INT_CST_HIGH for format args.
8093         (min_precision): Now unsigned.
8094         Use tree_floor_log2.
8095         (truthvalue_conversion): Delete long-disabled code.
8096         * c-decl.c (finish_struct): Clean up tests on field width.
8097         (finish_function): Use compare_tree_int.
8098         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
8099         * c-typeck.c (comptypes): Use tree_int_cst_equal.
8100         (default_conversion, digest_init): Use compare_tree_int.
8101         (build_binary_op): Use integer_all_onesp and compare_tree_int.
8102         Fix type errors in forming masks.
8103         * calls.c (initialize_argument_information): Use compare_tree_int.
8104         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8105         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
8106         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
8107         (store_field): Use compare_tree_int.
8108         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
8109         (expand_expr, case ARRAY_REF): Use compare_tree_int.
8110         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
8111         (do_store_flag): Use compare_tree_int.
8112         * fold-const.c (encode, decode): Low part is always unsigned.
8113         (force_fit_type, add_double, neg_double, mul_double): Likewise.
8114         (lshift_double, rshift_double, lrotate_double): Likewise.
8115         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
8116         (fold_convert): Use compare_tree_int.
8117         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
8118         (invert_truthvalue, case INTEGER_CST): Likewise.
8119         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
8120         * mkdeps.c (deps_dummy_targets): Make I unsigned.
8121         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
8122         (lshift_double, rshift_double, lrotate_double, rrotate_double):
8123         Likewise.
8124         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
8125         (expand_end_case): Use compare_tree_int.
8126         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8127         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
8128         (layout_decl): Likewise.
8129         (layout_record, layout_union): Make sizes unsigned.
8130         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
8131         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
8132         * tree.c (struct type_hash): hashcode is unsigned.
8133         (build_type_attribute_variant, type_hash_list): Likewise.
8134         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
8135         (attribute_hash_list, build_array_type, build_method_type): Likewise.
8136         (build_complex_type): Likewise.
8137         (real_value_from_int_cst): Remove unneeded casts.
8138         (integer_all_onesp): Add casts.
8139         (tree_floor_log2, compare_tree_int): New functions.
8140         (build_index_type): Use tree_int_cst_sgn.
8141         * varasm.c (assemble_variable): Use compare_tree_int.
8142
8143 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
8144
8145         * cpphash.c (collect_expansion): Also catch ## at start of macro.
8146
8147         * varasm.c (make_decl_rtl): Don't add a number to members of
8148         local classes.
8149         (make_function_rtl): Likewise.
8150
8151 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8152
8153         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
8154         patch from 2000-01-28.
8155
8156 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
8157
8158         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
8159         filled with an insn from the jump target.
8160
8161 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8162
8163         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
8164         (c4x_external_ref): Likewise.
8165         * config/c4x/c4x.c (struct name_list): Likewise.
8166
8167 1999-12-16  Ben Collins  <bcollins@debian.org>
8168
8169         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
8170         argument to genmultilib.
8171         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
8172         the contents into the multilib.h header.
8173         * gcc.c: Declare multilib_exclusions for the specs file.
8174         (set_multilib_dir): Use it.
8175         (print_multilib_info): Likewise.
8176         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
8177         to pass to genmultilib.
8178
8179 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8180
8181         * builtins.c (built_in_class_names, built_in_names): Constify a
8182         char*.
8183
8184         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
8185         int.
8186         (_mcleanup): Ensure value matches format specifier in sprintf.
8187
8188         * cpphash.c (special_symbol): Don't needlessly cast away
8189         const-ness.
8190
8191         * cppinit.c (base_name): Delete unused prototype.
8192
8193         * mkdeps.c (deps_init): Make definition K&R safe.
8194
8195         * tree.h (built_in_class_names, built_in_names): Constify a
8196         char*.
8197
8198 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
8199
8200         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
8201         floating point instructions for epilogue delay.
8202
8203         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
8204         to gas if it supports .register pseudo.
8205
8206         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
8207         LONG_DOUBLE_TYPE_SIZE if not defined.
8208         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
8209         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
8210         * real.c: Likewise.
8211         * gengenrtl.c: Likewise.
8212         * print-rtl.c: Likewise.
8213         * rtl.c: Likewise.
8214         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
8215         MASK_LONG_DOUBLE_128.
8216         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
8217         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
8218         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
8219         (SUBTARGET_SWITCHES): Define.
8220         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
8221         with -mlong-double-128.
8222         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8223         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8224         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8225         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
8226         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
8227         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
8228         with -mlong-double-128.
8229         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8230         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8231         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8232         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
8233         TARGET_LONG_DOUBLE_128): Define.
8234         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
8235         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
8236         long double on TARGET_ARCH64.
8237
8238 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
8239
8240         * function.c (free_temps_for_rtl_expr): Don't free slots
8241         that have been pushed into a higher level.
8242
8243         Revert this patch:
8244         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8245
8246 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8247
8248         * basic-block.h (ALLOCA_REG_SET): Remove.
8249         (INITIALIZE_REG_SET): New macro.
8250         * flow.c (update_life_info): Use it.
8251         (calculate_global_regs_live): Likewise.
8252         (propagate_block): Likewise.
8253         * global.c (build_insn_chain): Likewise.
8254         * haifa-sched.c (schedule_region): Likewise.
8255
8256 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
8257
8258         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
8259         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
8260         (DWARF_ARANGES_PAD_SIZE): New define.
8261         (output_aranges): Use it to pad the address range header.
8262         (DWARF_ROUND): Fix for non power of 2 rounding.
8263
8264 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
8265
8266         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
8267
8268 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8269
8270         * tree.def (RTL_EXPR): Update documentation.
8271         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
8272         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
8273         * function.c (preserve_rtl_expr_temp): New function.
8274         (preserve_rtl_expr_temps): Likewise.
8275         (preserve_rtl_expr_result): Use it.
8276
8277         Revert this patch:
8278         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8279
8280 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
8281
8282         * regmove.c (copy_src_to_dest)  Do not create src->dest move
8283         for unchanging destination.
8284
8285 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8286
8287         * function.h (struct sequence_stack): Remove rtl_expr.
8288         (struct emit_staus): Likewise.
8289         (seq_rtl_expr): Remove.
8290         * tree.h (free_temps_for_rtl_expr): Don't declare.
8291         (start_sequence_for_rtl_expr): Likewise.
8292         * rtl.h (preserve_rtl_expr_result): Likewise.
8293         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
8294         (start_sequence_for_rtl_expr): Remove.
8295         (push_topmost_sequence): Don't save sequence_rtl_expr.
8296         (pop_topmost_sequence): Remove comment about not restoring it.
8297         (end_sequence): Don't set seq_rtl_expr.
8298         (init_emit): Don't initialize it.
8299         (mark_sequence_stack): Don't mark it.
8300         (mark_emit_status): Likewise.
8301         * except.c (protect_with_terminate): Use
8302         start_sequence_for_rtl_expr, not start_sequence.
8303         * expr.c (expand_expr, case RTL_EXPR): Don't call
8304         preserve_rtl_expr_result or free_temps_for_rtl_expr.
8305         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
8306         (preserve_rtl_expr_result): Remove.
8307         (free_temps_for_rtl_expr): Likewise.
8308         (pop_temp_slots): Likewise.
8309         (mark_temp_slot): Don't mark the rtl_expr.
8310         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
8311         start_sequence_for_rtl_expr.
8312
8313 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
8314
8315         * mkdeps.c, mkdeps.h: New files.
8316         * po/POTFILES.in: Add them.
8317         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
8318         (cpplib.o, cppinit.o): Depend on mkdeps.h.
8319         (mkdeps.o): New target.
8320
8321         * cppfiles.c: Delete deps_output.
8322         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
8323         OBJECT_SUFFIX, and base_name.
8324         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
8325         the include hash.
8326         (initialize_dependency_output): Use deps_init,
8327         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
8328         all the unnecessary string bashing.
8329         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
8330         level.
8331         * cpplib.c (do_include): Use deps_add_dep.
8332         * cpplib.h (struct cpp_reader): Replace deps_buffer,
8333         deps_allocated_size, deps_size, deps_column members with
8334         single pointer to a struct deps.  Delete prototype of
8335         deps_output.
8336
8337         * cppinit.c: Fix thinko in previous patch.
8338
8339 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8340
8341         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
8342         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
8343         (mode_for_size_tree): New function.
8344         (layout_decl, layout_type): Call it and clean up BLKmode checks.
8345         * tree.h (mode_for_size_tree): New declaration.
8346
8347         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
8348
8349 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
8350
8351         * stmt.c (is_body_block): Move...
8352         * dwarfout.c, dwarf2out.c: ...from here.
8353         * tree.h: Declare it.
8354         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
8355         * final.c (final_start_function): Do call remove_unnecessary_notes
8356         when scheduling.
8357
8358 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
8359
8360         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
8361
8362         * cpplib.h (_dollar_ok): New macro.
8363         (is_idchar, is_idstart): Use it.
8364         (IStable): Rename to _cpp_IStable.  Declare it const if
8365         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
8366         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
8367         is_space): Update for renamed IStable.
8368
8369         * cppinit.c: Delete all references to FAKE_CONST and CAT
8370         macros. Define init_IStable as empty macro if gcc >=2.7 or
8371         C99. Change TABLE() to ISTABLE and hardcode name of table.
8372         (cpp_start_read): Don't change the IStable based on
8373         dollars_in_ident.
8374
8375         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
8376         changed.  Handle '$' for char1 correctly.
8377         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
8378
8379         * cppexp.c (tokentab2): Make const.
8380         (cpp_lex): Make toktab const.
8381         * cppinit.c (include_defaults_array): Make const.
8382         (initialize_standard_includes): Make default_include const.
8383
8384 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
8385
8386         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
8387         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
8388         (gen_decl_die): Likewise.
8389         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
8390         (output_decl): Likewise.
8391
8392         * varasm.c (make_function_rtl): If we change the name used in the
8393         rtl, update DECL_ASSEMBLER_NAME accordingly.
8394         (make_decl_rtl): Likewise.
8395
8396         * toplev.c (rest_of_compilation): Tweak formatting.
8397
8398         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
8399         remove_unnecessary_notes.
8400         (debug_ignore_block): New fn.
8401         * toplev.h: Declare it.
8402         * emit-rtl.c (remove_unncessary_notes): Call it.
8403         * dwarf2out.c (dwarf2out_ignore_block): New fn.
8404         * dwarf2out.h: Declare it.
8405         * final.c (final_start_function): Don't call remove_unnecessary_notes
8406         if we did insn scheduling.
8407
8408 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
8409
8410         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
8411         * cpplib.h: Delete SET_CPP_PEDANTIC.
8412
8413 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8414
8415         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
8416         result is a RECORD_TYPE.
8417
8418 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8419
8420         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
8421
8422 2000-03-03  Richard Henderson  <rth@cygnus.com>
8423
8424         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
8425         addition over compliments over shifts.
8426
8427 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8428
8429         * reload1.c (reload_combine_note_use): Handle return register USEs.
8430         REG case: Handle multi-hard-register hard regs.
8431
8432 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8433
8434         * md.texi: Document use of '*' in insn pattern name.
8435
8436 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
8437
8438         * calls.c (special_function_p): operator new may not be malloc-like.
8439
8440         * gcse.c (dump_hash_table): Really fix error in last change.
8441
8442 2000-03-02  Denis Chertykov  <denisc@overta.ru>
8443
8444         * avr.c (print_operand): Use print_operand_address instead of
8445         output_addr_const.
8446         * avr/libgcc.S: Cleanup code.
8447
8448 2000-03-02  Richard Henderson  <rth@cygnus.com>
8449
8450         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
8451
8452 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
8453
8454         * tree.h (TYPE_ALIGN_UNIT): New macro.
8455
8456 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
8457
8458         * i386.c: (constant_call_address_operand): Reject CONST_INT.
8459
8460 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
8461
8462         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
8463         for the buffer.
8464         (SET_CPP_PEDANTIC): New macro.
8465         * cpplib.c (do_include): Don't bother checking system_header_p.
8466         (do_warning, do_ident, do_assert, do_unassert): Likewise.
8467         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
8468
8469         * function.h (struct expr_status): Add x_arg_space_so_far.
8470         (arg_space_so_far): New macro.
8471         * expr.c (init_expr): Initialize it.
8472         * calls.c (emit_call_1): Reset it.
8473         (compute_argument_block_size, expand_call): Use it.
8474         (expand_call, store_one_arg): Increment it.
8475
8476 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8477
8478         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
8479         a UNION_TYPE.
8480
8481 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
8482
8483         * cppfiles.c (cpp_read_file): New function.
8484
8485         * cpphash.c (collect_expansion): Make sure to reset last_token
8486         to NORM when we hit a string.  Handle trailing whitespace
8487         properly when the expansion is empty.
8488         (create_definition): Disable line commands while parsing the
8489         directive line.
8490         (dump_definition): If pfile->lineno == 0, output a line
8491         command ahead of the dump, and add a trailing newline.
8492
8493         * cppinit.c (append_include_chain): Add fifth argument, which
8494         indicates whether or not system headers are C++ aware.
8495         (initialize_standard_includes): New function,
8496         broken out of read_and_prescan.  Pass 'cxx_aware' value from
8497         the include_defaults_array on to append_include_chain.
8498         (dump_special_to_buffer): Const-ify char array.
8499         (builtin_array): Don't dump __BASE_FILE__.
8500         (cpp_start_read): Use cpp_read_file.  Reorder code for
8501         clarity.  Don't output line commands here for -D/-A/-U
8502         switches.  Don't call deps_output for files included with
8503         -include or -imacros.
8504
8505         * cpplib.c (do_define): Don't pay any attention to the second
8506         argument.
8507         (cpp_expand_to_buffer): Disable line commands while scanning.
8508         (output_line_command): Work in the file buffer.
8509         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
8510         Fix formatting of comments.  Prototype cpp_read_file.
8511
8512 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8513
8514         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
8515         reference the language-equivalent of sizetype.
8516         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
8517         * fold-const.c (size_binop, size_diffop): Put back checks.
8518         * gcse.c (dump_hash_table): Fix minor error in last change.
8519         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
8520         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
8521         all sizetypes.
8522
8523 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
8524
8525         * calls.c (expand_call)  Do not attempt to combine stack adjustments
8526         with inhibit_defer_pop set.
8527
8528 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
8529
8530         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
8531         the DECL_SIZE for a FIELD_DECL.
8532
8533 2000-03-01  Bruce Korb  <bkorb@gnu.org>
8534
8535         * fixinc/inclhack.tpl: remove unused symlinks
8536         * fixinc/README: GCC Maintainer info
8537         * fixinc/inclhack.sh: regen
8538         * fixinc/fixincl.sh: regen
8539
8540 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
8541
8542         * cpphash.c (collect_expansion): Trim trailing white space
8543         from macro definitions, but don't go past the last insertion
8544         point.
8545
8546 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8547
8548         * i386.md (mulqi3): New pattern.
8549
8550 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
8551
8552         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
8553         token types.
8554         (struct cpp_reader): Add parsing_if_directive and
8555         parsing_define_directive flags.
8556         (struct cpp_options): Remove output_conditionals flag.
8557         (check_macro_name): Delete prototype.
8558
8559         * cpphash.h (struct macrodef): Delete.
8560         (struct reflist): Separate from struct definition.
8561         (struct definition): Remove unused fields.  Add column number.
8562         (create_definition): Returns a DEFINITION *.  Takes a
8563         cpp_reader * and an int.
8564
8565         * cpphash.c (SKIP_WHITE_SPACE): Delete.
8566         (PEEKC): Copy defn from cpplib.c.
8567         (rest_extension, REST_EXTENSION_LENGTH): Delete.
8568         (struct arg): New.
8569         (struct arglist): Simplify.
8570         (collect_expansion): Rewrite.  Get tokens by calling
8571         cpp_get_token.  Add more error checking.
8572         (collect_formal_parameters): New function, broken out of
8573         create_definition and reworked to use get_directive_token.
8574         (create_definition): All real work is now in collect_expansion
8575         and collect_formal_parameters.  do_define handles finding the
8576         macro name.  Return a DEFINITION, not a MACRODEF.
8577         (macroexpand): Replace bcopy with memcpy throughout.  Replace
8578         character-at-a-time copy loop with memcpy and pointer increments.
8579         (compare-defs): d1->argnames / d2->argnames might be null.
8580
8581         * cpplib.c (copy_rest_of_line): Delete function.
8582         (skip_rest_of_line): Do all the work ourselves.
8583         (skip_string): New function.
8584         (parse_string): Use skip_string.
8585         (get_macro_name): New function.
8586         (check_macro_name): Delete.
8587         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
8588         (cpp_skip_hspace): Use CPP_BUMP_LINE.
8589         (handle_directive): ICE if we're called on a macro buffer.
8590         (do_define): Determine macro name and type (funlike/objlike)
8591         here.  Expunge all uses of MACRODEF.
8592         (cpp_push_buffer): Set line_base to NULL.
8593         (do_undef, read_line_number): Don't worry about getting a POP token.
8594         (eval_if_expression): Set/reset parsing_if_directive around
8595         cpp_parse_expr. Don't clear only_seen_white.
8596         (skip_if_group): Remove output_conditionals logic.  Use
8597         skip_rest_of_line.
8598         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
8599         tokens under appropriate conditions.
8600         (cpp_unassert): Call do_unassert not do_assert.  Oops.
8601
8602         * cppexp.c (parse_defined): New function, break out of
8603         cpp_lex.
8604         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
8605         ourselves, with cpp_defined.
8606         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
8607
8608         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
8609         * gcc.dg/strpaste-2.c: New.
8610
8611 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
8612
8613         * fold-const.c (size_binop): Don't asert inputs are the same and
8614         have TYPE_IS_SIZETYPE set.
8615         (size_diffop): Likewise.
8616
8617 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
8618
8619         * dwarfout.c (output_block): Output abstract blocks even if they
8620         don't have TREE_ASM_WRITTEN set.
8621
8622         * calls.c (emit_library_call): Check for null REG.
8623
8624 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
8625
8626         * c-decl.c (current_function_decl): Move to toplev.c.
8627         (init_decl_processing): Don't add current_function_decl as a ggc
8628         root here.
8629         * dbxout.c (dbxout_symbol): Change return type to int.
8630         (dbxout_symbol_location, dbxout_syms): Likewise.
8631         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
8632         any locals. Use current_function_func_begin_label if set.
8633         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
8634         * dwarf2out.c (dwarf2out_begin_prologue): Set
8635         current_function_func_begin_label.
8636         * final.c (final_start_function): Reset it.
8637         * toplev.c (current_function_decl): Define it here.
8638         (current_function_func_begin_label): New variable.
8639         (main): Add both as ggc roots.
8640         * tree.h (current_function_func_begin_label): Declare.
8641
8642 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8643
8644         * gcse.c: Cleanups throughout: mostly white-space, but also
8645         some minor rearrangement of code.
8646
8647 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
8648
8649         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
8650         returns a PARALLEL.  Use emit_group_load and use_group_regs
8651         as needed.
8652         (emit_library_call_value): Similarly.
8653
8654         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
8655         * pa/quadlib.asm: Remove.
8656         * pa/quadlib.c: New file.
8657
8658         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
8659         * configure: Rebuilt.
8660
8661 2000-02-29  Philip Blundell  <pb@futuretv.com>
8662
8663         * config/arm/conix-elf.h: New file.
8664         * configure.in (arm*-*-conix*): New configuration.
8665         * configure: Regenerate.
8666
8667 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
8668
8669         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
8670         don't have TREE_ASM_WRITTEN set.
8671
8672 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8673
8674         * Eliminate DECL_FIELD_SIZE.
8675         * builtins.c (built_in_class_names, built_in_names): New variables.
8676         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
8677         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
8678         DECL_SIZE, not DECL_FIELD_SIZE.
8679         * print-tree.c (print_node): Remove code that prints extra blank
8680         lines in some cases.
8681         Properly handle inline and builtin function cases.
8682         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
8683         * tree.h (built_in_class_named, built_in_names): New declarations.
8684         (union tree_decl): Rename internal unions to u1 and u2 and change
8685         some of their components.
8686         Add new field built_in_class.
8687         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
8688         Reflect above changes.
8689         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
8690         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
8691         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
8692         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
8693
8694 2000-02-28  Dmitri Makarov  <dim@windriver.com>
8695
8696         * extend.texi: Document ARM's support for long/short calls.
8697
8698         * invoke.texi: Document ARM's -mlong-calls command line switch.
8699
8700         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
8701         (arm_encode_call_attribute): Add prototype.
8702         (arm_set_default_type_attribute): Add prototype.
8703         (arm_strip_name_encoding): Add prototype.
8704
8705         * config/arm/arm.c (arm_init_cumulative_args): replace
8706         initialisation og 'long_calls' field with initialisation of
8707         'call_cookie' field.
8708         (enum arm_pragma_enum): New enum.
8709         (arm_pragma_long_calls): New static variable.
8710         (arm_process_pragma): Also process "#pragma long_calls_off".
8711         (arm_valid_type_attribute_p): Accept short_call attribute.
8712         (arm_comp_type_attributes): Check long/short call attributes.
8713         (arm_encode_call_attribute):  New function:  Encode long_call
8714         or short_call attribute in function name.
8715         (arm_set_default_type_attributes): New function: Assign
8716         default attributes to newly defined type.
8717         (current_file_function_operand): New function: Return true if
8718         the symbol is a function which has already been compiled.
8719         (arm_is_longcall_p): New function: Return true if the
8720         indicated function should be called via a long call.
8721         (arm_get_strip_length): New function.  Returns number of
8722         prefix characters to be stripped from a function's name.
8723         (arm_strip_name_encoding): New function.  Strip prefix characters
8724         from a function's name.
8725
8726         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
8727         with 'call_cookie'.
8728         (SHORT_CALL_FAG_CHAR): Define.
8729         (LONG_CALL_FAG_CHAR): Define.
8730         (ENCODED_SHORT_CALL_ATTR_P): Define.
8731         (ENCODED_LONG_CALL_ATTR_P): Define.
8732         (ARM_NAME_ENCODING_LENGTHS): Define.
8733         (STRIP_NAME_ENCODING): Define.
8734         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
8735         (ARM_ENCODE_CALL_TYPE): Define.
8736         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
8737         (ARM_DECLARE_FUNCTION_SIZE): Define.
8738         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
8739
8740         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
8741         if a long call is needed.
8742         (call_value): Ditto.
8743         (call_symbol): Ditto.
8744
8745         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
8746         ARM_DECLARE_FUNCTION_SIZE.
8747
8748         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
8749         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
8750         (ARM_STRIP_NAME_ENCODING): Undefine.
8751         (STRIP_NAME_ENCODING): Undefine.
8752         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
8753         (ASM_DECLARE_FUNCTION_NAME): Ditto.
8754         (ASM_OUTPUT_COMMON): Ditto.
8755         (ASM_DECLARE_OBJECT_NAME): Ditto.
8756
8757         * config/arm/pe.c (arm_dllexport_name_p): Check for
8758         ARM_PE_FLAG_CHAR.
8759         (arm_dllimport_name_p): Ditto.
8760         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
8761         (arm_mark_dllimport): Ditto.
8762
8763 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8764
8765         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
8766
8767 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
8768
8769         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
8770
8771 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
8772
8773         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
8774         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
8775         NO_BUILTIN_WCHAR_TYPE is not defined.
8776         (CPP_WCHAR_TYPE): Delete.
8777         * cccp.c (main): Don't change wchar_type if cplusplus.
8778         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
8779
8780 2000-02-28  Nick Clifton  <nickc@cygnus.com>
8781
8782         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
8783
8784 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
8785
8786         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
8787         (ASM_WEAKEN_LABEL): Define.
8788
8789 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
8790
8791         * expr.c (store_constructor): Do not emit USE.
8792         * rtl.h (stupid_life_analysis): Remove.
8793
8794 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8795
8796         * function.c (number_blocks): Reset next_block_index based on
8797         what debugging format is used, not what is defined.
8798
8799         * lcm.c: Minor reformatting throughout.
8800         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
8801
8802         * toplev.c (rest_of_compilation): Account for time in
8803         optimize_mode_switching.
8804
8805         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
8806         if only marking labels.
8807
8808 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
8809
8810         * calls.c (expand_call): Attempt to combine stack adjustments with
8811         pending stack adjustments.
8812
8813 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8814
8815         * loop.c (reg_in_basic_block_p): Don't abort when falling through
8816         to the end of the function.
8817
8818 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
8819
8820         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
8821         blocks.
8822         * final.c (next_block_index): Remove.
8823         (max_block_depth): Likewise.
8824         (pending_blocks): Likewise.
8825         (init_final): Don't initialize them.
8826         (final_start_function): Don't set next_block_index.  Set up
8827         BLOCK_NUMBER.
8828         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
8829         * function.h (number_blocks): New function.
8830         * function.c (get_block_vector): New function.
8831         (identify_blocks): Use it.
8832         (reorder_blocks): Set NOTE_BLOCK.
8833         (number_blocks): New function.
8834         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
8835         * tree.h (BLOCK_NUMBER): New macro.
8836         (tree_block): Add block_num field.
8837         * dbxout.c (next_block_number): Remove.
8838         (dbxout_init): Don't set it.
8839         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
8840         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
8841         block numbers.
8842         * toplev.c (rest_of_compilation): Always call
8843         find_loop_tree_blocks.  Fix indentation.
8844         * dwarf2out.c (next_block_number): Remove.
8845         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
8846         to determine block numbers.
8847         (gen_inlined_subroutine_die): Likewise.
8848         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
8849         (decls_for_scope): Don't increment next_block_number.
8850         * dwarfout.c (next_block_number): Remove.
8851         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
8852         to determine block numbers.
8853         (output_inlined_subroutine_die): Likewise.
8854         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
8855         (output_decls_for_scope): Don't increment next_block_number.
8856         * sdbout.c (next_block_number): Remove.
8857         (sdbout_block): Use BLOCK_NUMBER.
8858         (sdbout_begin_block): Simplify.
8859         * xcoffout.c (next_block_number): Remove.
8860         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
8861         (xcoffout_begin_block): Don't set next_block_number.
8862         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
8863         next_block_number.
8864
8865 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8866
8867         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
8868         (expand_builtin_strcpy): Pass correct type to size_binop.
8869         (expand_builtin_strcmp): Likewise.
8870         Clean up conditional structure.
8871         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
8872         (complete_array_type): Don't use size_binop for MAXINDEX.
8873         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
8874         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
8875         (c_alignof): Use size_one_node.
8876         (build_unary_op): Pass arg of proper type to size_binop.
8877         (really_start_incremental_init, push_init_level): Use sizetype for
8878         constructor{,_bit,_unfilled}_index.
8879         (pop_init_label, output_init_element): Likewise.
8880         (output_pending_init_elements, process_init_element): Likewise.
8881         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
8882         * expr.c (store_expr): Use size_int.
8883         (store_constructor): Use proper types for size_binop args.
8884         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
8885         (expand_expr_unaligned): Likewise.
8886         (string_contant): Return object of sizetype.
8887         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
8888         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
8889         (ARGS_SIZE_TREE): Pass proper types to size_binop.
8890         * fold-const.c (int_const_binop): Refine when size_int is called.
8891         (fold_convert): Likewise.
8892         (size_int_wide): Rework to take KIND as arg, only take low order
8893         bits, handle new sizetype_tab datatype, and chain entries in
8894         size_table.
8895         (size_int_type_wide): New function.
8896         (size_binop): Validate types of arguments.
8897         (ssize_binop): Deleted.
8898         (size_diffop): New function.
8899         (extract_muldiv): Only fold division into multiplication for sizetypes.
8900         * function.c (assign_parms): Use size_diffop and make sure
8901         VAR field is of ssizetype; also pass proper type to size_binop.
8902         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
8903         (round_down): Deleted from here.
8904         * store-layout.c (sizetype_tab): Now an array.
8905         (sizetype_set, early_root_list): New variables.
8906         (variable_size): Use size_one_node.
8907         (round_up): Pass proper type to size_binop.
8908         (round_down): Moved to here and corrected as above.
8909         (layout_record): Pass proper arg types to size_binop.
8910         (layout_type): Likewise.
8911         If sizetype_set is zero, record the type just laid out.
8912         (make_unsigned_type): Don't call set_sizetype;
8913         (make_signed_type): Likewise; also, call fixup_signed_type.
8914         (initialize_sizetypes): New function.
8915         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
8916         set name of bitsizetype to "bit_size_type".
8917         Fix up type of sizes of all types made before call.
8918         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
8919         * tree.c (fix_sizetype): Deleted.
8920         (build_common_tree_nodes): Call initialize_sizetypes.
8921         (build_common_tree_nodes_2): Don't call fix_sizetype.
8922         * tree.h (TYPE_IS_SIZETYPE): New macro.
8923         (initialize_sizetype): New declaration.
8924         (enum size_type_kind): New type.
8925         (struct sizetype_tab): Deleted.
8926         (sizetype_tab): Now array; adjust sizetype macros.
8927         (size_diffop, size_int_type_wide): New functions.
8928         (size_int_wide): Change number of args and type; access macros changed.
8929         (ssize_int, sbitsize_int): New macros.
8930         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
8931         (ROUND_TYPE_SIZE_UNIT): New macro.
8932
8933 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
8934
8935         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
8936
8937 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8938
8939         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
8940         Mark as possibly unused.
8941
8942         * cse.c (cse_insn): Delete dead code involving tablejump.
8943         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
8944
8945         * Makefile.in (libcpp.a): Start by deleting it.
8946
8947 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8948
8949         * cpplib.h (enum file_change_code): Added rename_file.
8950         * cpplib.c (do_line): If a filename is given, set file_change to
8951         rename_file.
8952         (output_line_command): If file_change is rename_file, always
8953         output a # directive with the file name.
8954
8955         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
8956
8957 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
8958
8959         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
8960         when copying a PARM_DECL or RESULT_DECL.
8961
8962 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8963
8964         * fix-header.c (recognized_function): Also fix prototypes for
8965         functions taking "void".
8966
8967 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
8968
8969         * reload1.c (do_output_reload): Check reg_reloaded_valid before
8970         looking at reg_reloaded_contents.
8971
8972 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
8973
8974         * Makefile.in (STMP_FIXINC): New toggle.
8975         (LIBGCC2_DEPS): Delete all references.
8976         (stmp-headers): Delete target.  All references either deleted
8977         or changed to stmp-int-headers.
8978         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
8979         (LIBCPP_OBJS): Take out cppalloc.o.
8980         (cppalloc.o): Delete target.
8981         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
8982         (gen-protos, fix-header): Link with libiberty.a.
8983         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
8984         to empty.
8985
8986         * configure.in: Remove refs to strerror.
8987         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
8988         * system.h: Take out strerror stanza.
8989
8990         * cpperror.c (my_strerror): Delete function.
8991         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
8992         * cppmain.c (main): Call xmalloc_set_program_name first thing.
8993         * cppalloc.c: Delete file.
8994         * gen-protos.c: Don't provide xrealloc.
8995
8996         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
8997         xstrerror throughout.
8998
8999 2000-02-26  Bruce Korb  <bkorb@gnu.org>
9000
9001         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
9002         match for DOS headers, too.
9003         * fixinc/inclhack.sh,fixincl.x: Regenerate.
9004
9005 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
9006
9007         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
9008         is right for most ELF targets.
9009         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
9010         Let the default file use %U properly.
9011         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
9012         default.
9013
9014         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
9015         numbers.
9016
9017 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9018
9019         * toplev.c (documented_lang_options): Correct spelling error.
9020         (decode_d_option, decode_f_option, main): Likewise.
9021
9022         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
9023
9024         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
9025         to tell assembler it is permitted to expand large constants.
9026
9027 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
9028
9029         * protoize.c: (AUX_INFO_SUFFIX): New macro.
9030         (aux_info_suffix): Use.
9031         (SAVE_SUFFIX): New macro.
9032         (save_suffix): Use.
9033         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
9034         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
9035         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
9036
9037         * invoke.texi (Running Protoize): Update documentation.
9038
9039 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
9040
9041         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
9042
9043 2000-02-25  John Wehle  (john@feith.com)
9044
9045         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
9046
9047 2000-02-25  Anthony Green  <green@cygnus.com>
9048
9049         * toplev.c (rest_of_compilation): Rebuild jump labels if
9050         combine_instructions has created a new direct jump.
9051         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
9052         when appropriate.
9053         (combine_instructions): Call try_combine with new argument.
9054         Return non-null value when new direct jump instruction is created.
9055         * rtl.h: combine_instructions returns an int.
9056
9057 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
9058
9059         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
9060         jump when changing a computed jump into a jump to a known
9061         target.
9062
9063 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
9064
9065         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
9066         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
9067
9068         * i386.md (define_expand "clrstrsi"): Fix typo.
9069
9070 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
9071
9072         * rtl.texi: Fix typo.
9073
9074 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9075
9076         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
9077         UNITS_PER_WORD.  Change caller initial_elimination_offset.
9078         (rounded_frame_size): Take into account that argument pushed has
9079         changed.  Fix TARGET_ALIGN_DOUBLE problem.
9080
9081 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
9082
9083         * haifa-sched.c (schedule_block): Explain the real reason
9084         we delete REG_SAVE_NOTEs on the first insn of a block.
9085         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
9086
9087 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
9088
9089         * input.h (push_srcloc): New function.
9090         (pop_srcloc): Likewise.
9091         * toplev.c (push_srcloc): Define it.
9092         (pop_srcloc): Likewise.
9093
9094 2000-02-24  Richard Henderson  <rth@cygnus.com>
9095
9096         * flow.c (life_analysis): When collecting reg info, clear
9097         regs_ever_live.
9098
9099 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9100
9101         Fix bug exposed by reload.c no longer rounding the frame
9102         size to BIGGEST_ALIGNMENT:
9103         * sh.c (rounded_frame_size): New function.
9104         (sh_expand_prologue, sh_expand_epilogue): Use it.
9105         (initial_elimination_offset): Likewise.
9106
9107 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9108
9109         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
9110         * sh-protos.h (sh_need_epilogue): Declare.
9111         * sh.c (sh_need_epilogue_known): New static variable.
9112         (sh_need_epilogue): New function.
9113         (function_epilogue): Clear need_epilogue_known.
9114         * sh.md (return): Split into expander / insn pattern.
9115         Make the expander conditional on ! sh_need_epilogue ().
9116
9117 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
9118
9119         * machmode.h (get_mode_alignment): Declare.
9120         (GET_MODE_ALIGNMENT): Call it.
9121         * stor-layout.c (get_mode_alignment): New function. Make
9122         sure alignment is always power of 2.
9123
9124 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9125
9126         * i386.h: Remove useless definition of "I386" and misleading
9127         comment above it.
9128
9129 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9130
9131         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
9132         under which TREE_PERMANENT will be set.
9133         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
9134         build1): Use TREE_SET_PERMANENT.
9135         * print-tree.c (print_node): Don't report value of
9136         TREE_PERMANENT if ggc_p is true.
9137
9138         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
9139         decide whether to give a type a new alias set.
9140         * objc/objc-act.c (build_objc_string_object): Never copy the string.
9141         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
9142         of value of 'obstack'.
9143
9144
9145 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9146
9147         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
9148
9149 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9150
9151         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
9152         * cpplib.c (cpp_get_token): Produce them.
9153         * cppexp.c (cpp_lex): Handle them.
9154
9155 2000-02-23  Nick Clifton  <nickc@cygnus.com>
9156
9157         * config/arm/arm.c (arm_comp_type_attributes): Simply and
9158         comment tests on type attributes.
9159
9160 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9161
9162         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
9163         conform to documentation.
9164         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
9165         to check for special cases.
9166         * sh-protos.h (sh_loop_align): Declare.
9167         * sh.c (sh_loop_align): Define.
9168
9169 2000-02-22  Andrew Haley  <aph@cygnus.com>
9170
9171         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
9172         (SIZE_TYPE): Is 32 bits when using -mgp32.
9173         (PTRDIFF_TYPE): Ditto.
9174
9175 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9176
9177         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
9178
9179 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9180
9181         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
9182         BIGGEST_FIELD_ALIGNMENT a constant.
9183
9184 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
9185
9186         * dwarf2out.c (output_line_info): Put the marker for the end of
9187         the line number info at the actual end.
9188         (gen_struct_or_union_type_die): Use decl_function_context
9189         to check for local classes.
9190         * dwarfout.c (output_type): Likewise.
9191
9192 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
9193
9194         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
9195         for arguments with a mode, but no type.
9196         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
9197         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
9198         * pa/long_double.h: New file.
9199         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
9200         both have 128bit wide long doubles.
9201         * configure: Rebuilt.
9202
9203 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9204
9205         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
9206
9207         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
9208         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
9209         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
9210
9211         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
9212
9213         * integrate.c (compare_blocks, find_block): Likewise.
9214
9215         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
9216
9217         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
9218
9219         * stmt.c (stmt_status, set_file_and_line_for_stmt,
9220         expand_asm_operands): Likewise.
9221
9222 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
9223
9224         * predict.c (estimate_probability): Added the pointer heuristic to
9225         the collection of static branch predictors.
9226
9227 2000-02-21  Catherine Moore  <clm@cygnus.com>
9228
9229         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
9230         * invoke.texi (-mfix7000): Document.
9231
9232 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
9233
9234         * diagnostic.c (init_output_buffer): Make it possible to output at
9235         least 32 characters if we're given a too long prefix.
9236
9237 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
9238
9239         * varasm.c (initializer_constant_valid_p): Call
9240         lang_expand_constant to simplify the constant.
9241
9242 2000-02-20  Bruce Korb  <bkorb@gnu.org>
9243
9244         * fixinc/inclhack.def(stdio_va_list):
9245         typedef needs to be disabled.
9246         * fixinc/inclhack.sh: regen
9247         * fixinc/fixincl.x: regen
9248
9249 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
9250
9251         * print-rtl.c (print_rtx): Don't print addresses when
9252         flag_dump_unnumbered.
9253
9254 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9255
9256         * sparc.c (sparc_output_scratch_registers): Mark parameter with
9257         ATTRIBUTE_UNUSED.
9258         (sparc_va_arg, sparc_flat_output_function_prologue,
9259         sparc_flat_output_function_epilogue): Cast value to unsigned in
9260         comparison.
9261         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
9262
9263         * sparc.md: Add default case in switch.
9264
9265 2000-02-19  Richard Henderson  <rth@cygnus.com>
9266
9267         * c-typeck.c (add_pending_init): Don't abort for multiple
9268         fields at the same offset.
9269         (pending_init_member): Test the correct member.
9270
9271 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9272
9273         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
9274         instead of SImode.
9275         (start_catch_handler) : Same.
9276
9277 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
9278
9279         * Makefile.in: Have flow.o depend on $(EXPR_H)
9280
9281 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9282
9283         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
9284         * c-decl.c (duplicate_decls, finish_enum): Likewise.
9285         (finish_decl): Remove -Wlarger-than code from here.
9286         * flags.h (id_clash_len): Now int.
9287         (larger_than_size): Now HOST_WIDE_INT.
9288         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
9289         Clean up checking to see if in table.
9290         (make_bit_field_ref): Remove extra parm to bitsize_int.
9291         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
9292         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
9293         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
9294         and for computing size of decl.
9295         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
9296         Move -Wlarger-than code to here.
9297         (layout_record): Remove extra arg to bitsize_int.
9298         Set TYPE_BINFO_SIZE_UNIT.
9299         (layout_union): Remove extra arg to bitsize_int.
9300         Use proper type for size of QUAL_UNION.
9301         (layout_type): Remove extra arg to bitsize_int.
9302         * toplev.c (id_clash_len): Now int.
9303         (larger_than_size): Now HOST_WIDE_INT.
9304         (decode_W_option): Clean up id-clash and larger-than- cases.
9305         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
9306         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
9307         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
9308         (struct tree_decl): New field size_unit.
9309         (size_int_wide): No HIGH operand; NUMBER is now signed.
9310         (size_int_2): Deleted.
9311         (size_int, bitsize_int): Don't use it and rework args.
9312         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
9313
9314 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
9315
9316         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
9317
9318 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
9319
9320         * invoke.texi (Warning Options): Add an explanation of why
9321         you might want the -Wfloat-equal flag.
9322
9323 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9324
9325         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
9326         * cppinit.c (new_pending_define): Add cast to avoid warning.
9327         * expmed.c (extract_bit_field): Likewise.
9328         * flow.c (enum reorder_skip_type): New type.
9329         (skip_insns_between_blcok): New it.
9330         Rework to avoid warning about possibly undefined variable.
9331         * function.c (assign_parms): Make thisparm_boundary unsigned.
9332         * genrecog.c (write_switch): Cast XWINT result to int.
9333         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
9334         * mips-tfile.c (init_file): Make two versions of FDR intializer:
9335         one for MIPS and one for Alpha.
9336         (get_tag, copy_object): Add casts to avoid warnings.
9337         * optabs.c (init_one_libfunc): Cast NAME to (char *).
9338         * reload.c (find_reloads): Make TYPE enum reload_type.
9339         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
9340         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
9341         * varasm.c (compare_constant_1): Add cast to avoid warning.
9342         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
9343         to (char *).
9344         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
9345         Cast switch operand of size to int.
9346         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
9347         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
9348         in unhandled case.
9349
9350 2000-02-18  Nick Clifton  <nickc@cygnus.com>
9351
9352         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
9353         anything for an alignment of zero.
9354
9355         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
9356         anything for an alignment of zero.
9357
9358 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
9359
9360         * gcc.texi (Bug Reporting): Refer to bugs.html.
9361         (Bug Lists): Likewise.
9362         * system.h (GCCBUGURL): New preprocessor define.
9363         * rtl.c (fancy_abort): Use it.
9364         * gcc.c (main): Likewise.
9365
9366 2000-02-18  Richard Henderson  <rth@cygnus.com>
9367
9368         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
9369         (life_analysis_1): Subsume into ...
9370         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
9371         Use update_life_info for the relaxation.
9372         (update_life_info): Update REG_BASIC_BLOCK for registers live on
9373         entry and regs_live_at_setjmp.
9374         (set_noop_p): Simplify.
9375         (notice_stack_pointer_modification_1): Renamed from s/_1//.
9376         (record_volatile_insns): Split into ...
9377         (delete_noop_moves): ... here,
9378         (notice_stack_pointer_modification): ... here,
9379         (insn_dead_p): ... and here.
9380         (propagate_block): Don't query INSN_VOLATILE.
9381         (mark_used_regs): Mind !PROP_REG_INFO.
9382         * toplev.c (rest_of_compilation): Call mark_constant_function here,
9383         not in life_analysis.
9384
9385 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
9386
9387         * loop.c (canonicalize_condition): New function,
9388         broken out of get_condition.
9389         (get_condition): Use it.
9390         * expr.h (canonicalize_condition): Prototype it.
9391
9392         * tree.h (tree_int_cst_msb): Declare.
9393         * tree.c (tree_int_cst_msb): New function.
9394
9395 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
9396
9397         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
9398         isn't set.
9399
9400         * invoke.texi (-fmessage-length=n): Document.
9401
9402 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
9403
9404         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
9405
9406 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
9407
9408         * function.c (thread_prologue_and_epilogue_insns): Put a line note
9409         after the prologue.
9410
9411 2000-02-17  Nick Clifton  <nickc@cygnus.com>
9412
9413         * config/arm/thumb.c: Replace includes of system headers with
9414         #include "system.h".
9415
9416 2000-02-16  Richard Henderson  <rth@cygnus.com>
9417
9418         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
9419         Add crtbeginS.o and crtendS.o.
9420         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
9421         (ENDFILE_SPEC): Use crtendS.o.
9422         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
9423
9424         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
9425         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
9426         shared and present.
9427         (__dso_handle): New variable.
9428         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
9429         bias to __CTOR_END__.
9430
9431 2000-02-16  Richard Henderson  <rth@cygnus.com>
9432
9433         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
9434
9435 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9436
9437         * longlong.h (__clz_tab): Declare as static to match definition.
9438
9439 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
9440
9441         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
9442         (XREF_FILE_NAME): Define.
9443
9444         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
9445         (EH_FRAME_SECTION_ASM_OP): Define.
9446         (IDENT_ASM_OP): Define.
9447         (TEXT_SECTION_ASM_OP): Define.
9448         (CPP_SPEC): Define.
9449         (CTORS_SECTION_ASM_OP): Define.
9450         (CTOR_SECTION_FUNCTION): Use it.
9451         (DTORS_SECTION_ASM_OP): Define.
9452         (DTOR_SECTION_FUNCTION): Use it.
9453
9454 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
9455
9456         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
9457         NOTE_BASIC_BLOCK.
9458
9459         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
9460         debug_bb_n): New functions.
9461         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
9462         * basic-block.h: Prototype new functions.
9463
9464 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
9465
9466         * configure.in: Add support for avr target.
9467         * configure: Rebuilt.
9468
9469         * invoke.texi: Add AVR invocation docs.
9470         * install.texi: Add information about AVR.
9471         * md.texi: Add AVR constraint letters description.
9472         * extend.texi: Add description for AVR specific attributes.
9473
9474 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
9475
9476         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
9477
9478 2000-02-16  Nick Clifton  <nickc@cygnus.com>
9479
9480         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
9481         (make_insn_raw): Move RTL check here.
9482
9483 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9484
9485         * version.c: Include gansidecl.h and version.h.
9486
9487         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
9488
9489         * configure.in (gcc_version): When setting, narrow search to
9490         lines containing `version_string'.
9491
9492         * Makefile.in (mainversion): Likewise.
9493         (GCC_H): New variable.
9494         (gcc.h): Delete target.
9495         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
9496         (version.o): Depend on version.h.
9497         (dbxout.o): Don't depend on gcc.h.
9498
9499 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9500                           Michael Meissner  <meissner@cygnus.com>
9501
9502         * md.texi (Simple Constraints): Add item about whitespace.
9503         * genoutput.c (strip_whitespace): New.
9504         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
9505         strip_whitespace for constraints.
9506         Test pointer using NULL, not 0.
9507
9508 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9509
9510         * cpplib.c (do_line): Pedwarn for #line > 32767.
9511
9512         * c-lex.c (readescape): Warn about '\x', but do not reject it.
9513
9514 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
9515
9516         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
9517         to default cpp spec.
9518         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
9519         * cpp.texi: Document __GNUC_PATCHLEVEL__.
9520         * cpp.1: Likewise.
9521
9522         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
9523         default spec.
9524
9525 2000-02-15  Denis Chertykov  <denisc@overta.ru>
9526
9527         * configure.in: Add support for avr target.
9528
9529 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9530
9531         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
9532         (sh_addr_diff_vec_mode): Don't declare.
9533         * sh.c (sh_addr_diff_vec_mode): Delete.
9534
9535 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9536
9537         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
9538
9539 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9540
9541         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
9542         (smulsi3_highpart_i): Name.
9543         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
9544         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
9545         (smulsi3_highpart, umulsi3_highpart): Likewise.
9546
9547         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
9548         correctly independent of endianness.
9549         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
9550         confuse the optimizers.
9551         (mulsidi3+1, umulsidi3+1): New define_split.
9552
9553 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
9554
9555         * config/sh/sh.md: Guard insn splits against illegal registers.
9556         * config/sh/sh.h: Correct comment about macros.
9557
9558 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9559                           Andrew MacLeod  <amacleod@cygnus.com>
9560
9561         * Makefile.in (lcm.o): Depend on insn-attr.h.
9562         * basic-block.h (optimize_mode_switching): Declare.
9563         * lcm.c (tm_p.h, insn-attr.h): #include.
9564         (seginfo, bb_info): New structs.
9565         (antic, transp, comp, delete, insert) : New file-scope static variables.
9566         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
9567         (reg_becomes_live, optimize_mode_switching): Likewise.
9568         * tm.texi: Add description of mode switching macros.
9569         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
9570
9571         * sh-protos.h (remove_dead_before_cse): Remove prototype.
9572         (fldi_ok, fpscr_set_from_mem): New prototypes.
9573         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
9574         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
9575         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9576         (sh_flag_remove_dead_before_cse): Remove declaration.
9577         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
9578         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
9579         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
9580         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9581         (barrier_align): Allow for JUMP_INSNS containing a parallel.
9582         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
9583         (fldi_ok): New function.
9584         (get_fpscr_rtx): Add fpscr_rtx as GC root.
9585         (emit_sf_insn): Only generate fpu switches when optimize < 1.
9586         (emit_df_insn): Likewise.
9587         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
9588         (sh_flag_remove_dead_before_cse): Delete.
9589         (get_free_reg, fpscr_set_from_mem): New functions.
9590         * sh.md (movdf, movsf): Remove no_new_pseudos code.
9591         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
9592
9593 2000-02-15  Loren Rittle  <ljrittle@acm.org>
9594
9595         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
9596
9597 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9598
9599         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
9600         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
9601
9602         * cccp.c: Include version.h and/or don't declare `version_string'.
9603         * collect2.c: Likewise.
9604         * alpha.c: Likewise.
9605         * arm/aof.h: Likewise.
9606         * arm/coff.h: Likewise.
9607         * arm/elf.h: Likewise.
9608         * arm/pe.h: Likewise.
9609         * arm/tcoff.h: Likewise.
9610         * arm/telf.h: Likewise.
9611         * arm/tpe.h: Likewise.
9612         * arm/vxarm.h: Likewise.
9613         * convex/convex.c: Likewise.
9614         * i386/dgux.c: Likewise.
9615         * i386/sun386.h: Likewise.
9616         * m88k/m88k.c: Likewise.
9617         * mcore/mcore-pe.h: Likewise.
9618         * mips/mips.h: Likewise.
9619         * romp/romp.h: Likewise.
9620         * sh/sh.c: Likewise.
9621         * cpphash.c: Likewise.
9622         * cppinit.c: Likewise.
9623         * dwarf2out.c: Likewise.
9624         * dwarfout.c: Likewise.
9625         * gcc.c: Likewise.
9626         * gcc.h: Likewise.
9627         * mips-tfile.c: Likewise.
9628         * protoize.c: Likewise.
9629         * toplev.c: Likewise.
9630         * tree.h: Likewise.
9631
9632         * version.c (version_string): Constify a char*.
9633
9634         * version.h: New file.
9635
9636 2000-02-14  Nick Clifton  <nickc@cygnus.com>
9637
9638         * configure.in: Add mcore-elf and mcore-pe targets.
9639         * configure: Regenerate.
9640
9641         * NEWS: Add note that MCore port has been contributed.
9642
9643         * invoke.texi: Document command line switches for MCore port.
9644         * install.texi: Add MCore to list of supported targets.
9645
9646 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
9647
9648         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
9649         then we will need to import the frame handling functions.
9650         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
9651         to import the frames themselves.
9652
9653 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
9654                           Jason Eckhardt  <jle@cygnus.com>
9655
9656         * basic_block.h: Added prototype for reorder_basic_blocks.
9657         * toplev.c: Changes to add -freorder-blocks and graph dump after
9658         block reordering is done.
9659         * flow.c (reorder_block_def): New structure for use during block
9660         reordering.
9661         (REORDER_BLOCK_*): New macros to access members of above structure.
9662         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
9663         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
9664         functions for block reordering.
9665
9666 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9667
9668         * gcc.texi (Passes): Fix typo.
9669         * md.texi (Standard Names): Ditto.
9670         * tm.texi (Storage Layout): Ditto.
9671
9672 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
9673
9674         * cpplib.c (do_define): Only free the old definition if it
9675         actually had one.
9676
9677 2000-02-13   Neil Booth  <NeilB@earthling.net>
9678
9679         * cppfiles.c (read_and_prescan): When emitting deferred
9680         newlines, test speccase[] again instead of checking each
9681         possible whitespace character in turn.  When we encounter \r,
9682         look behind for \n first, then ahead.
9683
9684 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
9685
9686         * cse.c (cse_altered): New internal flag.
9687         (cse_insn): Set it if we changed an insn.
9688         (cse_main): Clear cse_altered before each basic block.
9689         Only garbage collect if cse_altered is true afterward.
9690
9691 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9692
9693         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
9694
9695 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
9696
9697         * combine.c (simplify_comparison): Fix typo.
9698
9699 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
9700
9701         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
9702         consistently.
9703
9704 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9705
9706         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
9707         previously inserted node instead of root node.  Caller changed.
9708
9709 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9710
9711         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
9712
9713 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9714
9715         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
9716         __dereg_frame_dtor): Add prototype argument.
9717
9718         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
9719
9720         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
9721
9722         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
9723
9724         * gthr-vxworks.h (__gthread_once): Likewise.
9725
9726         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
9727
9728 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
9729
9730         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
9731         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
9732         stack pointer in functions w/o saved registers, output LEAVE more often
9733         on TARGET_USE_LEAVE machines.
9734
9735 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
9736
9737         * config/arm/arm.c (arm_init_cumulative_args); New function:
9738         Initlaise the CUMULATIE_ARGS strcuture for a function
9739         defintion.
9740         (arm_function_arg): New function: Determine where to place a
9741         function's argument.  Also handles deciding the function's
9742         call cookie.
9743         (current_file_function_operand): New function: Return true if
9744         the symbol is a function which has already been compiled.
9745         (arm_is_long_call_p): New function: Return true if the
9746         indicated function should be called via a long call.
9747         (arm_valid_type_attribute_p): New function: Return true if the
9748         attribute is a valid, arm specific, attribute.
9749         (arm_comp_type_attribute): New function: Return true if the
9750         two types have compatable, arm specific, attributes.
9751
9752         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
9753         structure.
9754         (FUNCTION_ARG): Redefine to call arm_function_arg.
9755         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
9756         structure field.
9757         (INIT_CUMULATIVE_ARGS): Redefine to call
9758         arm_init_cumulative_args.
9759         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
9760         field.
9761         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
9762         field.
9763         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
9764         functions.
9765         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
9766         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
9767         (COMP_TYPE_ATTRIBUTES): Define.
9768
9769         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
9770         if a long call is needed.
9771         (call_value): Call arm_is_long_call_p to decide if a long call
9772         is needed.
9773         (call_symbol): Call arm_is_long_call_p to decide if a long call
9774         is needed.
9775
9776         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
9777
9778 2000-02-11  Denis Chertykov  <denisc@overta.ru>
9779
9780         * README.AVR: New file with information about the avr ports.
9781         * config/avr: New directory with avr port files.
9782
9783 2000-02-11  Andreas Jaeger  <aj@suse.de>
9784
9785         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
9786
9787 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
9788
9789         * cpphash.c: Fix formatting, update commentary.
9790         (dump_definition): Take three separate arguments instead of a
9791         MACRODEF structure argument.
9792         * cpphash.h: Update prototype of dump_definition.
9793         * cppinit.c (cpp_finish): Update call of dump_definition.
9794
9795         * cpplib.c (do_define): Always create new hash entry with
9796         T_MACRO type.  Remove redundant check for redefinition of
9797         poisoned identifier.  Update call of dump_definition.
9798         (do_undef): Don't call check_macro_name.  Rename sym_length to
9799         len.
9800         (do_error, do_warning): Don't use copy_rest_of_line or
9801         SKIP_WHITE_SPACE.
9802         (do_warning): Don't use pedwarn for the actual warning,
9803         only the notice about its not being in the standard.  (Fixes
9804         bug with #warning in system headers.)
9805         (do_ident): Stricter argument checking - accept only a single
9806         string after #ident.  Also, macro-expand the line.
9807         (do_xifdef): Use cpp_defined.  De-obfuscate.
9808
9809         (do_pragma): Split out specific pragma handling to separate
9810         functions.  Use get_directive_token.  Update commentary.  Do
9811         not pass on #pragma once or #pragma poison to the front end.
9812         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
9813         do_pragma_default): New.
9814
9815 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
9816
9817         * jump.c (jump_optimize_1): The first operand in a relational
9818         can be a CONST_INT.
9819         * optabs.c (emit_conditional_move): Handle relationals which
9820         have a known true/false result.
9821
9822 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
9823
9824         * function.c (thread_prologue_and_epilogue_insns): Don't insert
9825         a RETURN insn into a block which already ends with a jump.
9826
9827 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
9828
9829         * haifa-sched.c (BUF_LEN): Increase a lot.
9830
9831 2000-02-11  Nick Clifton  <nickc@cygnus.com>
9832
9833         * configure.in: Add tm_p_file specification for thumb targets.
9834         * configure: Regenerate.
9835
9836         * config/arm/thumb-protos.h: New file: Prototypes for exported
9837         functions defined in thumb.c.
9838
9839 2000-02-11  Robert Lipe  <robertl@sco.com>
9840
9841         * Makefile.in (bootstrap-lean): Remove additional files.
9842         (bootstrap2-lean): Likewise.
9843         (VOL_FILES): List of files for above.
9844
9845 2000-02-11  Nathan Sidwell  <nathan@acm.org>
9846
9847         * cpphash.c (special_symbol): Remove spurious argument to
9848         cpp_lookup.
9849
9850 2000-02-11  Joel Sherrill (joel@OARcorp.com>
9851
9852         * configure.in: (i*86-*-rtems*): Swapped elf and coff
9853         stanzas.
9854         * configure: Rebuilt.
9855
9856 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
9857
9858         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
9859
9860 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
9861
9862         * pa.c, pa.h: Remove trigraph sequences within comments.
9863
9864 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
9865
9866         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
9867
9868 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
9869
9870         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
9871
9872 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9873
9874         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
9875
9876 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9877
9878         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
9879         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
9880         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
9881         (ASM_FILE_END): Use c4x_file_end.
9882         * config/c4x/c4x.c (c4x_global_label): New function.
9883         (c4x_external_ref, c4x_file_end): Likewise.
9884
9885         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
9886         (c4x_external_ref, c4x_end_file): Likewise.
9887
9888 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
9889
9890         * cppexp.c: Don't include cpphash.h.
9891         (parse_charconst, cpp_lex): Use cpp_defined.
9892         (cpp_lex): Use get_directive_token throughout.  Remove
9893         unnecessary cases from switch.  Move assertion-handling code
9894         down to OTHER case.
9895         (cpp_parse_expr): If we see '+' or '-', check the context to
9896         determine if they are unary or binary operators.  Streamline
9897         the jumps a bit.  Do not call skip_rest_of_line.
9898
9899         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
9900         static.  Export get_directive_token.  Update commentary.
9901         (cpp_defined): New function.
9902         (do_define): Remove reference to T_PCSTRING.  Call
9903         free_definition to release memory for old definition, when
9904         redefining a macro.
9905         (eval_if_expression): Set only_seen_white to 0 before calling
9906         cpp_parse_expr.  Call skip_rest_of_line after it returns.
9907         (cpp_read_check_assertion): Don't preserve a pointer into the
9908         token buffer across a call to cpp_get_token.
9909
9910         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
9911         * cppfiles.c (redundant_include_p): Use cpp_defined.
9912         * cpphash.c (free_definition): New function.
9913         (delete_macro): Use it.  Update commentary.
9914         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
9915         free_definition.
9916         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
9917         from enum node_type.  Prototype cpp_defined and get_directive_token.
9918         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
9919
9920         * fix-header.c (check_macro_names): Use cpp_defined.
9921         (read_scan_file): Set inhibit_warnings and inhibit_errors in
9922         the options structure.
9923
9924 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9925
9926         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
9927
9928 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
9929
9930         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
9931         rather than die->die_tag.
9932
9933 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9934
9935         * combine.c (make_extraction, force_to_mode): Avoid warning on
9936         mixed-signedness conditionals.
9937         (make_field_assignment, nonzero_bits): Likewise.
9938         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
9939         (store_split_bit_field, extract_split_bit_field): Likewise.
9940         (extract_fixed_bit_field, store_bit_field,
9941         * expr.c: Change alignment to be unsigned everywhere.
9942         (move_by_pieces, store_constructor_field, store_constructor):
9943         Alignment parm is unsigned.
9944         (emit_block_move, emit_group_load, emit_group_store): Likewise.
9945         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9946         (do_compare_rtx_and_jump): Likewise.
9947         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
9948         Compare align with GET_MODE_ALIGNMENT.
9949         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
9950         (get_inner_reference): Likewise.
9951         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
9952         (expand_assignment): Local vars for alignment now unsigned.
9953         (store_constructor, store_field, expand_expr, do_jump): Likewise.
9954         (do_compare_and_jump): Likewise.
9955         (store_field): Call new function expr_align.
9956         * expr.h (emit_block_move, emit_group_load, emit_group_store):
9957         Alignment arg now unsigned.
9958         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9959         (do_compare_rtx_and_jump, store_bit_field): Likewise.
9960         (extract_bit_field): Likewise.
9961         * fold-const.c (add_double): Add cast to eliminate signedness warning.
9962         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
9963         (get_best_mode): Alignment arg is unsigned.
9964         * rtl.h (move_by_pieces): Likewise.
9965         * store-layout.c (maximum_field_alignment, set_alignment):
9966         Now unsigned.
9967         (layout_decl): Alignment arg is now unsigned.
9968         Remove unneeded casts.
9969         (layout_record, layout_union, layout_type): Remove unneeded casts.
9970         Local alignment variables now unsigned.
9971         (get_best_mode): Alignment arg now unsigned.
9972         * tree.c (expr_align): New function.
9973         * tree.h (expr_align): Likewise.
9974         (maximum_field_alignment, set_alignment): Now unsigned.
9975         (get_inner_reference): Alignment argument is now pointer to unsigned.
9976         * varasm.c (assemble_variable): Add cast to eliminate warning.
9977
9978 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
9979
9980         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
9981         then store directly into op0.
9982
9983         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
9984         the CALL_INSN, and emit the note immediately after it.
9985
9986 2000-02-10  Nick Clifton  <nickc@cygnus.com>
9987
9988         * config/arm/thumb.md (epilogue): Include a (return) in the
9989         generated insn, and emit it using emit_jump_insn not
9990         emit_insn.
9991
9992 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
9993
9994         * function.c (assign_temp): Change zero-sized arrays to size 1.
9995         * integrate.c (expand_inline_function): Do not update
9996         stack_alignment_needed
9997         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
9998         add some sanity checking, remove optimization for function with
9999         zero frame size.
10000
10001 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10002
10003         * flow.c (mark_regs_live_at_end): Delete unused variables.
10004
10005         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
10006
10007         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
10008         in macro FRAME_GROWS_DOWNWARD.
10009
10010         * stmt.c (expand_end_bindings): Delete unused variable.
10011
10012         * unroll.c (iteration_info): Mark parameter `loop' with
10013         ATTRIBUTE_UNUSED.
10014
10015 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10016
10017         * fixinc/server.c (load_data): Return NULL if the marker line is
10018         not found.
10019         (run_shell): If load_data returns NULL, retry the command once, in
10020         a new shell.
10021
10022         * configure: Rebuilt.
10023
10024 2000-02-09  Bruce Korb  <bkorb@gnu.org>
10025
10026         * gcc/fixincludes:  ** DELETED **
10027         * gcc/fixcpp:  ** DELETED **
10028         * gcc/fixinc-nt.sed:  ** DELETED **
10029         * gcc/just-fixinc:  ** DELETED **
10030         * gcc/Makefile.in:  Removed out-dated commentary
10031         * gcc/configure.in: Removed fast-fixincludes disablement.
10032         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
10033
10034 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10035         * function.c (thread_prologue_and_epilogue_insns): Uncomment
10036         last change.
10037
10038 2000-02-09  Richard Henderson  <rth@cygnus.com>
10039
10040         * jump.c (delete_insn): Don't delete user labels at -O0.
10041
10042 2000-02-09  Robert Lipe  <robertl@sco.com>
10043
10044         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
10045         Don't link with HOST_LIBS.
10046
10047 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10048
10049         * configure.in: Correct --help text for --with-dwarf2.
10050         Put tm-dwarf2.h after other tm files, if it's requested.
10051         * configure: Regenerate.
10052         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
10053         defining it.
10054
10055 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10056
10057         * cpplib.h: Provide HASHNODE typedef and forward decl of
10058         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
10059         DEFINITION, struct hashnode, struct macrodef, struct
10060         definition, scan_decls prototype, default defn of
10061         INCLUDE_LEN_FUDGE moved elsewhere.
10062
10063         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
10064         definition, and struct hashnode moved here. Remove the unused
10065         'predefined' field from struct definition.  Replace the 'args'
10066         union with its sole member.  All users updated (cpphash.c).
10067         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
10068         multiple include guard.
10069
10070         * cpphash.c (hashf): Make static; use better algorithm; drop
10071         HASHSIZE parameter; return an unsigned int.
10072         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
10073         used. Calculate HASHSIZE modulus here.
10074         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
10075         here.
10076         (create_definition): Drop PREDEFINITION parameter.
10077         * cpplib.c (do_define): Don't calculate a hash value here.
10078         Don't pass (keyword == NULL) to create_definition.
10079
10080         * scan.h: Prototype scan_decls here.
10081         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
10082         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
10083         callers of cpp_lookup and cpp_install updated.
10084
10085         * cpphash.c (macarg): Hoist all the flag diddling out of the
10086         function...
10087         (macroexpand): ... and out of the loop that calls macarg.
10088         Skip over the initial paren before macro arguments with
10089         cpp_get_non_space_token; point may be some distance before
10090         that paren.  Abort if it's not there.
10091
10092         * cpplib.c (parse_clear_mark): Delete function.
10093         (parse_set_mark, parse_goto_mark): Make static.
10094         (ACTIVE_MARK_P): New macro.
10095         (skip_block_comment, skip_line_comment): Do not bump the line
10096         if ACTIVE_MARK_P is true.
10097         (cpp_pop_buffer): The buffer to be popped may not have an
10098         active mark.
10099         (cpp_get_token): When looking for the initial paren before
10100         macro arguments, only set a mark in a file buffer, Always
10101         return to that mark before proceeding to call macroexpand or
10102         return a NAME token.
10103
10104         * cpplib.h: Remove prototypes of parse_set_mark,
10105         parse_clear_mark, parse_goto_mark.
10106         (struct cpp_options): Rename 'put_out_comments' to
10107         'discard_comments' and invert its sense.
10108         * cppinit.c, cpphash.c, cpplib.c: All users of
10109         put_out_comments changed to use discard_comments, with
10110         opposite sense.
10111
10112 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10113
10114         * function.c (thread_prologue_and_epilogue_insns): Don't delete
10115         the edge from a block that both jumps and falls through to the
10116         fallthru block.
10117
10118 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
10119
10120         * config/arm/arm.md (movsi): In PIC mode, make sure that a
10121         constant source address is legitimate.
10122
10123 2000-02-09  Philip Blundell  <pb@futuretv.com>
10124
10125         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
10126         correctly.
10127
10128         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
10129         generating PIC.
10130         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
10131
10132 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10133
10134         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
10135         ends with a newline and a NUL.  Don't be so clever manipulating
10136         strings.
10137
10138 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
10139
10140         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
10141         not to BIGGEST_ALIGNMENT.
10142
10143 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
10144
10145         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
10146         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
10147         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
10148         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
10149         * frame.c (execute_cfa_insn): Handle
10150         DW_CFA_GNU_negative_offset_extended.
10151
10152 2000-02-08  Richard Henderson  <rth@cygnus.com>
10153
10154         * flow.c (tidy_fallthru_edges): Split out from ...
10155         (delete_unreachable_blocks): ... here.
10156         (find_basic_blocks): Use it.
10157
10158 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10159
10160         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
10161
10162 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
10163
10164         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
10165         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
10166         (fix-header.o): Don't depend on cpphash.h.
10167
10168         * scan.c (hashstr): New function.
10169         * scan.h: Prototype it.
10170         * fix-header.c: Don't include cpphash.h.  Use hashstr.
10171         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
10172         hashstr.  Report hash table statistics.  Add private
10173         definition of xrealloc.
10174
10175 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10176
10177         * i386.h (TARGET_SWITCHES): Fix typo in option name.
10178
10179 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
10180
10181         * function.c (thread_prologue_and_epilogue_insns): Don't replace
10182         jumps with returns unless they are jumps to the fallthru block.
10183
10184 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
10185
10186         * i386.md (addqi3_cc): Fix contraints.
10187
10188 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10189
10190         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
10191
10192 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
10193
10194         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
10195         carriage return after a macro name.
10196
10197 2000-02-07  Fred Fish  <fnf@be.com>
10198
10199         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
10200         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
10201
10202 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
10203
10204         * cppfiles.c (deps_output): Count spacers in deps_column.
10205
10206 2000-02-07  Neil Booth  <NeilB@earthling.net>
10207
10208         * cppinit.c (initialize_dependency_output): If there is no
10209         suffix, don't try to look for known suffixes.  Use strrchr.
10210         (cpp_start_read): Remove duplicate initialization.
10211
10212 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
10213
10214         * calls.c (compute_argument_block_size): New argument
10215         preferred_stack_boundary.
10216         (expand_call): update cfun->preferred_stack_boundary, update call of
10217         compute_argument_block_size
10218         (emit_library_call): Increate cfun->preferred_stack_boundary
10219         to PREFERRED_STACK_BOUNDARY
10220         (emit_library_call_value): Likewise.
10221         * explow.c (allocate_dynamic_stack_spave): Likewise.
10222         * function.c (prepare_function_start): Set
10223         cfun->preferred_stack_boundary
10224         * function.h (struct function): Add preferred_stack_boundary field.
10225         * integrate.c (expand_inline_function): Update
10226         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
10227         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
10228         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
10229
10230 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
10231
10232         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
10233         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
10234         cpp_pedwarn, cpp_pedwarn_with_line,
10235         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
10236         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
10237         v_cpp_error_with_line, v_cpp_warning_with_line,
10238         cpp_message_from_errno, cpp_perror_with_name): Delete.
10239
10240         * cpperror.c (cpp_print_containing_files): Take starting
10241         buffer as argument.
10242         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
10243         (v_cpp_message): Now called directly by all entry points.
10244         Remove -1 case.
10245         (cpp_pfatal_with_name, cpp_message): Delete.
10246         (cpp_notice_from_errno, cpp_ice): New functions.
10247         (cpp_notice): Is now for reporting error conditions, just
10248         without an associated file.
10249         (cpp_error, cpp_error_with_line): Don't do anything if
10250         opts->inhibit_errors is on.
10251         (cpp_pedwarn_with_file_and_line): Take column argument also.
10252
10253         * cpplib.h: Update prototypes of exported functions.
10254         (struct cpp_options): Add inhibit_errors.
10255
10256         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
10257         non-error messages.  Include intl.h.
10258
10259         * cppinit.c, cppmain.c: Likewise.  Also, use
10260         cpp_notice_from_errno instead of cpp_perror_with_name or
10261         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
10262
10263         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
10264         report internal errors.
10265
10266         * cpplib.c (do_define): Switch bcopy to memcpy.
10267         Give cpp_pedwarn_with_file_and_line a dummy column argument.
10268
10269         * cpplib.c (copy_rest_of_line): Revert previous change: don't
10270         bail out early if we hit a line comment.
10271
10272 2000-02-06  Richard Henderson  <rth@cygnus.com>
10273
10274         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
10275         * basic-block.h: Declare them.
10276         * emit-rtl.h (active_insn_p): New.
10277         (next_active_insn, prev_active_insn): Use it.
10278         * rtl.h: Declare it.
10279         * function.c (emit_return_into_block): New.
10280         (thread_prologue_and_epilogue_insns): Insert return insns instead
10281         of epilogues when possible.
10282         * jump.c (jump_optimize_1): Remove code to insert a return insn
10283         on the fallthru to the exit block.
10284
10285         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
10286         and for non-empty stack frames.
10287         * i386.md (return): Expand to return-pop as needed.
10288
10289 2000-02-06  Richard Henderson  <rth@cygnus.com>
10290
10291         * simplify-rtx.c (simplify_relational_operation): Canonicalize
10292         constant to op1 for testing.
10293
10294 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10295
10296         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
10297         (fixuns_truncqfqi2): Use it.
10298
10299 2000-02-06  Richard Henderson  <rth@cygnus.com>
10300
10301         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
10302         as a TYPE_LEA insn.
10303
10304         * i386.md (widening and peepholes): Mask the constant instead of
10305         using gen_lowpart.
10306
10307 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
10308
10309         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
10310         input pointer before possibly branching off to the backslash
10311         code.
10312         * cpphash.c (macroexpand): Correctly delete \r escapes when
10313         stringifying parameters.
10314         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
10315         if we can; bail out early if we hit a line comment.
10316         (handle_directive): Treat '# 123' in an .S file just like
10317         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
10318         Return 1 for '# not_a_directive'.
10319         (get_directive_token): Pop macro buffers here, so that
10320         cpp_get_token can't sneakily move past a newline.
10321         Add sanity checks.
10322         (cpp_get_token): goto randomchar if handle_directive returns 0.
10323
10324         * cppalloc.c: Update copyright.
10325         * cpplib.c: Merge all the static function prototypes into one
10326         block.
10327         * cpplib.h: Remove #if 0 block.
10328
10329         * cpperror.c: Remove #ifdef EMACS block.
10330         * cppmain.c: Likewise.
10331         * cpphash.c: Remove #if 0 blocks.
10332         * cppinit.c: Remove #if 0 blocks, and the -lint option.
10333         * cpplib.c: Remove #if 0 blocks and code referencing
10334         pcp_inside_if or for_lint.  Remove duplicate error message.
10335         Fix error messages for #else after #else or #elif.  Reformat.
10336         Remove archaic TODO list.
10337         * cpplib.h: Remove pcp_inside_if and for_lint flags.
10338
10339 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
10340
10341         * i386/osf1elf.h: Add missing backslash to multiline string.
10342
10343 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10344
10345         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
10346
10347 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10348
10349         * Makefile.in (c-common.o): Depend on $(EXPR_H).
10350
10351         * c-common.c: Include expr.h.
10352
10353         * c-pragma.c (mark_align_stack): Add prototype.
10354
10355         * caller-save.c (add_stored_regs): Likewise.
10356
10357         * combine.c (record_promoted_value): Likewise.
10358
10359         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
10360         Likewise.
10361
10362         * cppinit.c (new_pending_define): Likewise.
10363
10364         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
10365
10366         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
10367         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10368         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
10369         class_scope_p): Likewise.
10370
10371         * dwarf2out.h (dwarf2out_set_demangle_name_func,
10372         dwarf2out_add_library_unit_info): Likewise.
10373
10374         * ggc.h (ggc_page_print_statistics): Likewise.
10375
10376         * haifa-sched.c (propagate_deps): Likewise.
10377
10378         * reg-stack.c (next_flags_user, record_label_references): Likewise.
10379
10380         * rtl.h (set_stack_check_libfunc): Likewise.
10381
10382         * toplev.h (set_fatal_function): Likewise.
10383
10384         * toplev.c (set_fatal_function): Delete prototype.
10385
10386         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
10387
10388 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
10389
10390         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
10391         (FUNC_END): Likewise.
10392
10393 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10394
10395         * caller-save.c: Include tm_p.h.
10396
10397 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10398
10399         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
10400
10401 2000-02-04  Neil Booth  <NeilB@earthling.net>
10402
10403         * cccp.c (main): Check 'dir' for a NULL pointer before passing
10404         it to strcmp.
10405
10406 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
10407
10408         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
10409         * genflags.c: Use the max_operand_1 logic from genemit.c to
10410         calculate how many arguments gen_insn prototypes have.  Remove
10411         NO_MD_PROTOTYPES ifdefs from the generated file.
10412         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
10413         file.  Cast gen_insn initializers to insn_gen_fn.
10414         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
10415         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
10416
10417 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10418
10419         * fixinc/Makefile.in (HDR): Add machname.h.
10420         (clean): Likewise.
10421
10422 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10423
10424         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
10425         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
10426         (c4x_cpu_version): Ditto.
10427         * config/c4x/c4x-protos.h: ... here.
10428
10429 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
10430
10431         * dwarf2out.c (add_abstract_origin_attribute): Don't call
10432         gen_abstract_function on our context if we're a nested function.
10433
10434 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10435
10436         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
10437         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
10438
10439 2000-02-04  Bruce Korb  <bkorb@gnu.org>
10440
10441         * fixinc/genfixes(machname.h):
10442         Move the functionality from gen-machine.h into this file.
10443         UNdef MN_NAME_PAT if there are no names to change.
10444         Also, be a little kinder when AutoGen is not present.
10445
10446         * fixinc/Makefile.in(machname.h):
10447         Change the generation rule to use genfixes.
10448
10449         * fixinc/fixfixes.c(machine_name):
10450         machine_name_fix's functionality now dependent upon whether
10451         MN_NAME_PAT is defined.
10452
10453         * fixinc/fixtests.c(machine_name):
10454         ditto.
10455
10456         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
10457         of MN_NAME_PAT.
10458
10459         * fixinc/fixlib.h(mn_get_regexps):
10460         ditto
10461
10462         * fixinc/gen-machine.h: DELETED
10463
10464 2000-02-04  Jan Hubicka  <jh@suse.cz>
10465             Richard Henderson  <rth@cygnus.com>
10466
10467         * i386.c (SAVE_REGS_FIRST): Remove.
10468         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
10469         (ix86_compute_frame_size): Likewise.
10470         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
10471         (ix86_emit_restore_regs): Remove.
10472         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
10473         when a frame pointer is in use.
10474         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
10475         instead of pop to restore a register when profitable; emit leave
10476         when profitable.
10477         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
10478         as a TYPE_LEA insn.
10479         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
10480         * i386.md (prologue_allocate_stack): Remove.
10481         (epilogue_deallocate_stack): Remove.
10482         (pro_epilogue_adjust_stack): New.
10483
10484 2000-02-04  Richard Henderson  <rth@cygnus.com>
10485
10486         * function.c (diddle_return_value): Rework to use a callback function.
10487         Use current_function_return_rtx if it's been set up.
10488         (do_clobber_return_reg, clobber_return_register): New.
10489         (do_use_return_reg, use_return_register): New.
10490         (expand_function_end): Use them.
10491         * stmt.c (expand_null_return): Likewise.
10492         * function.h: Declare them.
10493         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
10494         (mark_reg): Change arguments as appropriate for callback.
10495         * integrate.c (expand_inline_function): Revert 19 Jan change.
10496
10497 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10498
10499         * tm.texi (Values in Registers): Fix typo: "fo" "for".
10500         (Misc): Say the scheduler, not the Haifa scheduler.
10501
10502 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
10503
10504         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
10505         when in_mem is set.  Update all callers.
10506
10507 2000-02-04  Richard Henderson  <rth@cygnus.com>
10508
10509         * i386/openbsd.h (INT_ASM_OP): Define.
10510
10511 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10512
10513         * tm.texi: Fix various typos.
10514
10515 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
10516
10517         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
10518         (MD_STARTFILE_PREFIX_1): New macro.
10519
10520 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
10521
10522         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
10523         destination when needed.
10524         (strmovsi, strsetsi): New expander.
10525         (strmovsi_1, strsetsi_1): New pattern.
10526         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
10527         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
10528         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
10529         * invoke.texi (align-stringops, inline-all-stringops): Document.
10530
10531 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
10532
10533         * i386/netbsd.h (INT_ASM_OP): Define.
10534
10535 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
10536
10537         * cpplib.h (cpp_reader): Add new flag, no_directives.
10538         * cpphash.c (macarg): Set it.
10539         * cpplib.c (handle_directive): If no_directives is on and we
10540         find a directive, issue an error and discard the line.
10541
10542 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
10543
10544         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
10545         FP constants.  Add ! TARGET_FPU check for FP constants.
10546
10547 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
10548
10549         * flow.c (find_basic_blocks): Don't kill label_value_list
10550         here.
10551         (cleanup_cfg): Kill it here.
10552
10553 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10554
10555         * expr.c (store_field): Ensure ALIGN is no stricter than the
10556         alignment of EXP.
10557
10558 2000-02-02  Richard Henderson  <rth@cygnus.com>
10559
10560         * jump.c (delete_insn): Partially revert 19 Jan change;
10561         don't convert unused code labels to notes at -O0.
10562
10563 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10564
10565         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
10566         split_all_insns to recreate REG_LABEL notes for flow2 pass.
10567
10568 2000-02-01  Richard Henderson  <rth@cygnus.com>
10569
10570         * i386.c (general_no_elim_operand): New.
10571         (nonmemory_no_elim_operand): New.
10572         (ix86_expand_move): Copy eliminable operands before a push.
10573         * i386-protos.h: Declare new functions.
10574         * i386.h (CAN_ELIMINATE): Simplify.
10575         (PREDICATE_CODES): Update.
10576         * i386.md (push insns): Don't allow eliminable register operands.
10577
10578 2000-02-01  Richard Henderson  <rth@cygnus.com>
10579
10580         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
10581         replace BLKmode with DECL_RTL's mode.
10582
10583 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
10584
10585         * frame.c (find_fde): Convert for loop to do-while so compiler
10586         sees it's always executed at least once.
10587         * libgcc2.c (BBINBUFSIZE): Kill.
10588         (__bb_init_prg): Use fgets.
10589         (__bb_exit_trace_func): Don't paste strings.
10590         * unroll.c (unroll_loop): Initialize unroll_type, not
10591         unroll_number, and tweak logic to match.
10592
10593         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
10594         all failure paths.
10595         (ix86_flags_dependant): Likewise.  Disentangle control flow.
10596         (ix86_sched_reorder): Break guts out to
10597         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
10598         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
10599         any possible use.
10600
10601         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
10602         use string concatenation.  Don't save and restore esi.
10603
10604         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
10605         (machname.h): Remove script to separate file.  Use two-step
10606         sequence so target is not created if script fails.
10607         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
10608         identifiers are defined.
10609         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
10610         an empty string, machine_name doesn't need to do anything at
10611         all.
10612         (is_cxx_header): Add more cases to regexp.
10613         * fixinc/fixlib.h: Update prototype.
10614         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
10615         mn_get_regexps.
10616         * fixinc/fixincl.c: Define NO_BOGOSITY.
10617
10618         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
10619         (hp_sysfile): Add missing comma.
10620         (math_exception): Put the wrapper ifdefs at the beginning and
10621         the end of the file.
10622         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
10623
10624 2000-02-01  Richard Henderson  <rth@cygnus.com>
10625
10626         * sparc.c (fp_zero_operand): Turn into a normal predicate.
10627         Use CONST0_RTX.  Update all callers.
10628         * sparc.h, sparc-protos.h: Update accordingly.
10629         * sparc.md (fp mov insns): Use fp_zero_operand directly
10630         where applicable.
10631
10632 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10633
10634         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
10635         example.
10636
10637 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10638
10639         * Makefile.in (specs.ready): New target.
10640         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
10641
10642 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10643
10644         * fixinc.irix: Use unique filenames for writing into /tmp,
10645         * fixinc.ptx: Likewise.
10646         * fixinc.sco: Likewise.
10647         * fixinc.svr4: Likewise.
10648         * fixinc.winnt: Likewise.
10649
10650 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10651
10652         * tsystem.h: New file.
10653
10654         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
10655         s-crtS): Depend on tsystem.h.
10656
10657         * crtstuff.c: Include tsystem.h.
10658         * frame.c: Likewise.
10659         * libgcc2.c: Likewise.
10660
10661 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
10662
10663         * builtins.c (expand_builtin_memset): Expand for variable sized
10664         lengths too.
10665
10666 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
10667
10668         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
10669         on ABI.
10670
10671 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10672
10673         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
10674
10675         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
10676
10677 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
10678
10679         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
10680         case 3->2 combining (combining with splitting) in which 2 is CC0
10681         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
10682         checked at the begining of the function with the aid of calling
10683         function 'can_combine_p'.
10684
10685 2000-01-31  Dave Brolley  <brolley@redhat.com>
10686
10687         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
10688
10689 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
10690
10691         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
10692         new label.
10693
10694 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10695
10696         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
10697
10698         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
10699         PROTO -> PARAMS.
10700
10701 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
10702
10703         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
10704         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
10705         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
10706         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
10707         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
10708         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
10709         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
10710         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
10711         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
10712         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
10713
10714         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
10715         Add %(cpp_cpu) to CPP_SPEC.
10716
10717         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
10718         Add %(cc1_cpu) to CC1_SPEC.
10719
10720 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
10721
10722         * c-decl.c (c_decode_option): Accept optional numeric argument to
10723         -Wformat and set warn_format.
10724         * c-common.c: Don't emit warning about non-constant printf format
10725         string unless warn_format > 1.
10726
10727 2000-01-30  Richard Henderson  <rth@cygnus.com>
10728
10729         * alpha.md (return_internal): Allow after reload only.
10730
10731 2000-01-30  Richard Henderson  <rth@cygnus.com>
10732
10733         * i386.c (ix86_compute_frame_size): Omit padding1 if the
10734         local frame size is zero.
10735
10736 2000-01-30  Richard Henderson  <rth@cygnus.com>
10737
10738         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
10739         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
10740         * alpha.md (return): Turn into an expander.
10741         (return_internal): Don't use $26.
10742         (epilogue): Emit the return insn.
10743
10744 2000-01-30  Richard Henderson  <rth@cygnus.com>
10745
10746         * alpha.md (negtf2, abstf2): Fix word order thinko.
10747         (extendsftf2): New.
10748         (trunctfsf2): Avoid intermediate rounding errors.
10749
10750 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
10751
10752         * cppfiles.c (find_position): Drop 'colp' argument, return the
10753         new line base.
10754         (read_and_prescan): Adjust to match.  Don't ever manipulate
10755         line or line_base except via find_position.
10756
10757 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
10758
10759         * c-parse.in: Apply Ulrich's changes from c-parse.y.
10760         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
10761         Regenerate.
10762
10763 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
10764
10765         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
10766         just print "<command line>".  If 'filename' is null or an
10767         empty string, print "<stdin>" for the filename.
10768         * cpplib.c (do_define): Don't print the 'location of the
10769         previous definition' message if we're still parsing the
10770         command line.
10771         (cpp_pedwarn_with_file_and_line): Always call
10772         cpp_file_line_for_message.
10773
10774 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
10775
10776         * flow.c (mark_regs_live_at_end): Fix typo.
10777
10778 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
10779
10780         * c-common.c: Adjust variable names, comments, help strings to c99.
10781         * c-lex.c: Likewise.
10782         * c-parse.y: Likewise.
10783         * c-tree.h: Likewise.
10784         * cccp.c: Likewise.
10785         * cpplib.h: Likewise.
10786         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
10787         * cppinit.c: Likewise.
10788
10789 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10790
10791         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
10792         * c4x.c: Define the optab rtx values.
10793         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
10794         (c4x_emit_libcall): Use new optab rtx values.
10795         (c4x_emit_libcall3): Likewise.
10796         (c4x_emit_libcall_mulhi): Likewise.
10797         * c4x-protos.h: Add prototypes for optab rtx values and change
10798         prototypes for above c4x_emit_libcall functions.
10799
10800 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10801
10802         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
10803         syntax is used.
10804         (c4x_function_prologue): Use regnames intead of float_reg_names when
10805         TI syntax is used.
10806         (c4x_function_epilogue): Likewise.
10807         (c4x_print_operand): Likewise.
10808         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
10809         * c4x.md (set_high): Disable for TARGET_TI.
10810
10811 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10812
10813         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
10814         of framepointer + constant to ADDR_REGS class.
10815         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
10816         * c4x.c (std_or_reg_operand): New function.
10817         * c4x-protos.h (std_or_reg_operand): Prototype it.
10818
10819 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10820
10821         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
10822                 object names as libgcc2.c.
10823         * libgcc.S: Use newly defined names.
10824
10825 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
10826         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
10827         function.
10828         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
10829         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
10830         (FLOW_LOOP_LAST_BLOCK): Likewise.
10831
10832 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10833
10834         * basic-block.h (struct loop): New fields 'first' and 'last'.
10835         * flow.c (flow_loops_find): Compute loop->first and loop->last.
10836         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
10837         and loop->last to check for NOTE_INSN_LOOP_END.
10838
10839 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
10840
10841         * predict.c (estimate_probability): Use the new FIRST and LAST fields
10842         of the loop descriptor rather than HEADER and LATCH. Also added
10843         missing break statements as well making some coding style modifications
10844         as suggested by Michael Hayes.
10845
10846 2000-01-28  Richard Henderson  <rth@cygnus.com>
10847
10848         * flow.c (find_basic_blocks): Remove do_cleanup argument.
10849         Break out that code ...
10850         (cleanup_cfg): ... here.
10851         (commit_one_edge_insertion): Detect a return instruction being
10852         emitted to an edge.  Emit a barrier following; clear fallthru.
10853         (commit_edge_insertions): Verify CFG consistency.
10854         * function.c (expand_function_start): Kill unused variable.
10855         (expand_function_end): Likewise.
10856         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
10857         to insert the epilogue.
10858
10859         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
10860         (delete_null_pointer_checks): Likewise.
10861         * output.h: Likewise.
10862         * reg-stack.c (reg_to_stack): Likewise.
10863         * toplev.c (rest_of_compilation): Likewise.  Run
10864         thread_prologue_and_epilogue_insns after rebuilding the CFG.
10865
10866 2000-01-28  Richard Henderson  <rth@cygnus.com>
10867
10868         * Makefile.in (flow.o): Revert 24 Jan change.
10869         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
10870         FUNCTION_VALUE result to DECL_RESULT's mode.
10871
10872         * haifa-sched.c (schedule_insns): Don't recompute reg info
10873         after reload.
10874
10875 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
10876
10877         * configure.in: Make --enable-cpplib the default.
10878         * configure: Regenerate.
10879         * gcc.dg/990119-1.c: No longer expected to fail.
10880
10881 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
10882
10883         * jump.c (jump_optimize_1): Delete an optimization that is also done
10884         by merge_blocks in flow.
10885
10886 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10887
10888         * diagnostic.c (build_message_string, output_printf,
10889         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
10890         (build_location_prefix): Fix non-literal format string.
10891
10892 2000-01-27  Richard Henderson  <rth@cygnus.com>
10893
10894         * alpha.md (trunctfsf2): New.
10895
10896 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
10897
10898         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
10899
10900 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
10901
10902         * cppinit.c (cpp_handle_option): Recognize C++ comments under
10903         -std=gnu89.
10904         * cpplib.c (skip_block_comment, skip_line_comment): Split code
10905         out of...
10906         (skip_comment) ... here.  Permit C++ comments in system
10907         headers always.  Warn about C++ comments in user code under
10908         -std=gnu89 -pedantic.
10909         (copy_comment): Use skip_comment.
10910         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
10911         return EOF.
10912         (consider_directive_while_skipping, do_else, do_endif): Call
10913         validate_else unconditionally.
10914         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
10915         text after the conditional in a system header.
10916         * cpplib.h (struct cpp_buffer): Add flag
10917         warned_cplusplus_comments.
10918
10919 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
10920
10921         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
10922         Use unshare_all_rtl_1.
10923         (unshare_all_rtl_again): New function.
10924         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
10925
10926         * function.c (purge_addressof_1): Use unshare_all_rtl_again
10927         rather than resetting the 'used' flags ourself.
10928
10929         * toplev.c (rest_of_compilation): Add current_function_decl
10930         to the unshare_all_rtl call.
10931         * tree.h: Prototype unshare_all_rtl.
10932         * rtl.h: Prototype unshare_all_rtl_again here.
10933
10934 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
10935
10936         * genoutput.c (output_prologue): Include ggc.h in generated
10937         files.
10938         * Makefile.in (insn-output.o): Depends on ggc.h.
10939
10940 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
10941             Hans-Peter Nilsson  <hp@bitrange.com>
10942
10943         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
10944         Remove redundant include of xm-ns32k.h.
10945         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
10946         Remove redundant include of xm-ns32k.h.
10947         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
10948         Remove redundant include of xm-ns32k.h.
10949         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
10950
10951         * ns32k/ns32k.h: Update comment on multiply-add instructions.
10952         (TARGET_SWITCHES): Add documentation strings.
10953         (DWARF_FRAME_REGNUM): Override default definition.
10954         (REG_CLASS_CONTENTS): Add comments.
10955         (SUBSET_P): Format to reduce line length.
10956         (SMALL_REGISTER_CLASSES): Make a run time option.
10957         (GO_IF_NONINDEXED_ADDRESS): Reformat.
10958         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
10959         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
10960         (regclass_map): fix typo in comment.
10961         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
10962         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
10963         (trace, reg_or_mem_operand): Delete, unused function.
10964         (calc_address_cost): Small offsets are cheaper than large ones.
10965         (expand_block_move): Generate more efficient code when bytes is a
10966         known at compile time.
10967         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
10968         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
10969         instead of reg_or_mem_operand.
10970
10971         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
10972         not general_operand.  Similarly use "=rm" or stricter, not "=g".
10973         For input operands, use stricter constraints than "g" if not
10974         general_operand.  Similarly use stricter predicate than
10975         "general_operand" when stricter constraints than "g" are present,
10976         except for matching constraints.
10977         (movstrsi): Use "memory_operand" for operands 0 and 1.
10978         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
10979         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
10980         not reg_or_mem_operand.
10981         (udivmoddisi4): Ditto.
10982         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
10983         Use nonimmediate_operand for operand 3, not register_operand.
10984         (udivmoddiqi4_internal): Use register_operand for operand 1, not
10985         reg_or_mem_operand.
10986
10987 2000-01-27  Fred Fish  <fnf@be.com>
10988
10989         * gthr-posix.h: Fix typo; compatibily -> compatibility.
10990         * gthr-single.h: Likewise.
10991         * gthr-solaris.h: Likewise.
10992         * gthr-vxworks.h: Likewise.
10993         * gthr-win32.h: Likewise.
10994         * gthr.h: Likewise.
10995
10996 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
10997
10998         * cppinit.c: Add " (cpplib)" to end of string printed by
10999         -v / --version.
11000
11001 2000-01-27  Richard Henderson  <rth@cygnus.com>
11002
11003         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
11004         testing for a signed comparison.
11005         (alpha_emit_floatuns): New.
11006         * alpha-protos.h: Declare it.
11007         * alpha.md (floatunsdisf2, floatunsdidf2): New.
11008         (extendsfdf2): Tidy.
11009
11010 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
11011
11012         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
11013         no -g option specifying debugging format, default to -gstabs+.
11014
11015 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
11016
11017         * calls.c (special_function_p): New argument fork_or_exec.
11018         (expand_call): When profile_arc_flag is set and the function
11019         is in the fork_or_exec group, call __bb_fork_func first.
11020         * libgcc2.c, _bb module (__bb_fork_func): New function.
11021         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
11022         output file.
11023         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
11024         * tree.h (special_function_p): Update prototype.
11025
11026 2000-01-26  Richard Henderson  <rth@cygnus.com>
11027
11028         * alpha.c (alpha_split_tfmode_pair): New.
11029         * alpha-protos.h: Declare it.
11030         * alpha.md (abstf2, negtf2): New.
11031         (movtf insn): Add input G constraint.
11032         (movtf splitter): Use alpha_split_tfmode_pair.
11033
11034 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11035
11036         * i386/cygwin.h: PROTO -> PARAMS.
11037
11038 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
11039
11040         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
11041         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
11042         using _Qp_cmp/_Q_cmp and testing the return value.
11043         (print_operand): Call reverse_condition_maybe_unordered if
11044         we are handling CCFPmode or CCFPEmode.
11045         Handle ORDERED, UN* and LTGT comparisons.
11046         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
11047         if not TARGET_HARD_QUAD.
11048         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
11049         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
11050         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
11051         Adjust gen_b* calls so that they reflect return comparison of
11052         sparc_emit_float_lib_cmp.
11053
11054 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11055
11056         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
11057         incoming operands array is large enough for one more operand.
11058         (alpha_emit_xfloating_arith): Likewise.
11059
11060 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11061
11062         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
11063         file with one line and no trailing newline.
11064         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
11065         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
11066         checking if the match is on the line.
11067         * fixinc/gnu-regex.c: Provide regerror not __regerror.
11068
11069 2000-01-25  Richard Henderson  <rth@cygnus.com>
11070
11071         * sparc.c (output_cbranch): Fix accidental squashing of the
11072         fp branch pre-delay nop.
11073
11074 2000-01-25  Richard Henderson  <rth@cygnus.com>
11075
11076         * tree.def (UNNE_EXPR): Remove.
11077         * c-typeck.c (build_binary_op): Don't handle it.
11078         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
11079
11080         * rtl.def (UNNE): Remove.
11081         (LTGT): Add.
11082         * jump.c (reverse_condition): Update accordingly.
11083         (swap_condition): Likewise.
11084         (comparison_dominates_p): Handle unordered comparisons.
11085         (reverse_condition_maybe_unordered): New.
11086         * rtl.h (reverse_condition_maybe_unordered): Declare.
11087
11088         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
11089         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
11090         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
11091         * sparc.md (bltgt): New.
11092
11093 2000-01-25  Nick Clifton  <nickc@redhat.com>
11094
11095         * emit-rtl.c (emit_insn): Only check machine class insns for
11096         improper emission of a RETURN.
11097
11098 2000-01-25  Richard Henderson  <rth@cygnus.com>
11099
11100         * Makefile.in (flow.o): Depend on $(EXPR_H).
11101         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
11102         duplicate the structure of diddle_return_value for keeping regs live.
11103
11104 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11105
11106         * loop.c (current_loop_info): Delete.
11107         (consec_sets_invariant_p): Add loop argument, update callers.
11108         (get_condition_for_loop): Likewise.
11109         (count_nonfixed_reads, update_giv_derive): Likewise.
11110         (simplify_giv_expr, general_induction_var): Likewise.
11111         (consec_sets_giv, recombine_givs): Likewise.
11112         (move_movables): Delete loop_start and loop_end arguments,
11113         add loop argument, and update callers.
11114         (find_mem_givs, check_final_value): Likewise.
11115         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
11116         (loop_invariant_p): Rename from invariant_p, add loop argument, and
11117         update callers.
11118         (basic_induction_var): Add loop argument, delete loop_level argument,
11119         and update callers.
11120         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
11121         add loop argument, and update callers.
11122         (find_splittable_regs, find_splittable_givs): Likewise.
11123         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
11124         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
11125         (biv_total_increment): Delete loop_start and loop_end arguments;
11126         update callers.
11127         (precondition_loop_p): Delete loop_start and loop_info arguments;
11128         update callers.
11129         * loop.h (get_condition_for_loop): Add loop argument.
11130         (biv_total_increment): Delete loop_start and loop_end arguments.
11131         (precondition_loop_p): Delete loop_start and loop_info arguments;
11132         add loop argument.
11133         (final_biv_value): Delete loop_start and loop_end arguments;
11134         add loop argument.
11135         (final_giv_value, back_branch_in_range_p): Likewise.
11136
11137 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
11138
11139         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
11140
11141 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
11142
11143         * Makefile.in (c-gperf.h) : Change the "See" pointer to
11144         point to the new "generated_files" doc.
11145
11146 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
11147
11148         * config/fp-bit.c (_unord_f2): Fix typo.
11149
11150 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11151
11152         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
11153         c-typeck.c, objc/objc-act.c: Remove all references to obstack
11154         functions obsoleted by GC, such as push_obstacks_nochange,
11155         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
11156         and code which existed only to decide whether or not to call
11157         them.  Remove now-unused NESTED argument from start_function;
11158         all callers changed.  Do not change behavior based on ggc_p.
11159         The use of the ixp_obstack in c-iterate.c and the util_obstack
11160         in objc/objc-act.c remain; these are not obsoleted by garbage
11161         collection.
11162         * c-tree.h: Update prototype for start_function.
11163
11164         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
11165
11166 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
11167
11168         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
11169         mips16.
11170
11171 2000-01-25  Richard Henderson  <rth@cygnus.com>
11172
11173         * sparc-protos.h (select_cc_mode): Declare.
11174         * sparc.c (select_cc_mode): New.  Handle unordered compares.
11175         (output_cbranch): Always reverse via code change.  Handle
11176         unordered compares.  Factor tests and string updates.
11177         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
11178         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
11179         * sparc.md (bunordered, bordered): New.
11180         (bungt, bunlt, buneq, bunge, bunle): New.
11181
11182 2000-01-25  Richard Henderson  <rth@cygnus.com>
11183
11184         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
11185         * ggc-common.c (ggc_add_rtx_varray_root): New.
11186         (ggc_mark_rtx_varray): New.
11187         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
11188         functions down below ggc_mark_foo.
11189         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
11190
11191 2000-01-25  Richard Henderson  <rth@cygnus.com>
11192
11193         * alpha.c (secondary_reload_class): Don't allocate a secondary
11194         for integral mode memories into FLOAT_REGS.  Rearrange the more
11195         complicated memory expression inward.
11196
11197 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11198
11199         * inclhack.def: Fixes to play nicer with FreeBSD, and
11200         corrections to comments.
11201         (cxx_unready): Add select expression.
11202         (irix_sockaddr): Add bypass expression.
11203         (machine_ansi_h_va_list): New fix.
11204         (stdio_va_list): No need to edit _BSD_VA_LIST_.
11205         Split out addition of "#include <stdarg.h>" to...
11206         (stdio_stdarg_h): ... here.
11207         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
11208         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
11209         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
11210         size_t.
11211         (ultrix_ifdef): Tighten up select expression.
11212
11213         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
11214         re_ct and max_mach to avoid use of shell.  Make printed names
11215         match names in inclhack.def.  Use static copyright date.
11216         Don't count c_test and test expressions as requiring regex_t
11217         slots.  Add some commentary.
11218         * inclhack.tpl: Do not include the 'This script contains N
11219         fixup scripts' line if PROGRAM is defined.  Use static
11220         copyright date.
11221
11222 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
11223
11224         * dwarf2out.c: include "varray.h", not dyn-string.h.
11225         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
11226         (addr_const_to_string, addr_to_string): Lose.
11227         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
11228         (struct dw_val_struct): val_addr is now an rtx.
11229         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
11230         (used_rtx_varray): New varray.
11231         (dwarf2out_init): Initialize it.
11232         (save_rtx): New fn.
11233         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
11234         addr_to_string.
11235         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
11236         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
11237         * Makefile.in (dwarf2out.o): Update dependencies.
11238
11239 2000-01-24  Richard Henderson  <rth@cygnus.com>
11240
11241         * i386.c (i386_dwarf_output_addr_const): New.
11242         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
11243
11244         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
11245         if defined.
11246         * dwarfout.c (output_mem_loc_descriptor): Likewise.
11247         * i386.c (i386_simplify_dwarf_addr): New.
11248         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
11249
11250 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
11251
11252         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
11253         TYPE_STUB_DECL is NULL.
11254
11255 2000-01-24  Richard Henderson  <rth@cygnus.com>
11256
11257         * builtins.c (expand_tree_builtin): Move ...
11258         * c-common.c (expand_tree_builtin): ... here.
11259
11260 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11261
11262         * loop.h (LOOP_INFO): New accessor macro.
11263         * basic-block.h (struct loop): Rename field `info' to `aux'.
11264         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
11265         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
11266         * unroll.c (loop_iterations, unroll_loop): Likewise.
11267
11268 2000-01-24  Christopher Faylor <cgf@cygnus.com>
11269
11270         * config/i386/t-cygwin: Accomodate new winsup directory layout
11271         when searching for include files.
11272
11273 2000-01-24  Richard Henderson  <rth@cygnus.com>
11274
11275         * rtl.def: Add unordered fp comparisions.
11276         * tree.def: Likewise.
11277         * tree.h: Add ISO C 9x unordered fp comparision builtins.
11278
11279         * builtins.c (expand_tree_builtin): New function.
11280         * c-typeck.c (build_function_call): Use it.
11281         (build_binary_op): Support unordered compares.
11282         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
11283
11284         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
11285         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
11286         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
11287         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
11288         * jump.c (reverse_condition): Don't abort for UNLE etc, but
11289         return UNKNOWN.
11290         (swap_condition): Handle unordered compares.
11291         (thread_jumps): Check can_reverse before reversing.
11292         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
11293         reversed for FP.
11294
11295         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
11296         setcc is present before acking for cmp_optab.  Update all callers.
11297         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
11298         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
11299         * expr.c (expand_expr): Likewise.  Support unordered compares.
11300         (do_jump, do_store_flag): Likewise.
11301         * expr.h (enum libfunc_index): Add unordered compares.
11302
11303         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
11304         (DPBIT_FUNCS): Add _unord_df.
11305         * config/fp-bit.c (_unord_f2): New.
11306         * fp-test.c (main): Try unordered compare builtins.
11307
11308         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
11309         * alpha.c (alpha_comparison_operator): Check mode properly.
11310         (alpha_swapped_comparison_operator): Likewise.
11311         (signed_comparison_operator): Likewise.
11312         (alpha_fp_comparison_operator): New.
11313         (alpha_emit_conditional_branch): Handle unordered compares.
11314         * alpha.h (PREDICATE_CODES): Update.
11315         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
11316         (bunordered, bordered): New.
11317
11318 2000-01-24  Richard Henderson  <rth@cygnus.com>
11319
11320         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
11321         * alpha.md (movtf): New expander, insn, and splitter.
11322
11323 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
11324
11325         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11326         dead registers.
11327
11328 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
11329
11330         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
11331         (FIXED_REGISTERS, CALL_USED_REGISTERS,
11332          REG_ALLOC_ORDER): Add frame pointer
11333         (FRAME_POINTER_REGNUM): Set to 20
11334         (HARD_FRAME_POINTER_REGNUM): New macro.
11335         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
11336         to HARD_FRAME_POINTER.
11337         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
11338         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
11339         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
11340         (HI_REGISTER_NAMES): Add "frame".
11341         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
11342         (debug_reg): Handle FRAME_POINTER_REGNUM.
11343         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
11344         GENERAL_REGS and INDEX_REGS.
11345         * i386.c (SAVED_REGS_FIRST): new macro.
11346         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
11347         (ix86_decompose_address, memory_address_length): Likewise.
11348         (regclass_map): Add frame pointer.
11349         (call_insn_operand): Handle frame_pointer_rtx.
11350         (reg_no_sp_operand): Likewise.
11351         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
11352         (print_operand, legitimize_pic_address): Fix formating.
11353         (ix86_compute_frame_size): Make static, update prototype, new
11354         parameters padding1, padding2, use ix86_nsaved_regs, use
11355         stack_alignment_needed.
11356         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
11357         to HARD_FRAME_POINTER_REGNUM conversions.
11358         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
11359         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
11360         (print_reg): Abort on FRAME_POINTER_REGNUM
11361
11362 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
11363
11364         * i386.h (PREDICATE_CODES): Add aligned_operand.
11365         * i386.c (aligned_operand): New function.
11366         (ix86_aligned_p): Kill.
11367         * i386.md (movhi_1): Emit mov for aligned operands.
11368         (promoting peep2s): Use aligned_operand.
11369
11370 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
11371
11372         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
11373         expression to allow underscores in macro names.
11374         (fix_char_macro_defines): Increment scanning pointer.
11375
11376 2000-01-23  Richard Henderson  <rth@cygnus.com>
11377
11378         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
11379         * alpha/osf5.h: New file.
11380         * configure.in (alpha-*-osf5): Add it to tm_file.
11381
11382         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
11383
11384         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
11385         (alpha_emit_xfloating_cvt, function_arg): Declare.
11386         * alpha.c (alpha_emit_conditional_branch): Call
11387         alpha_emit_xfloating_compare for TFmode compares.
11388         (alpha_lookup_xfloating_lib_func): New.
11389         (alpha_compute_xfloating_mode_arg): New.
11390         (alpha_emit_xfloating_libcall): New.
11391         (alpha_emit_xfloating_arith): New.
11392         (alpha_emit_xfloating_compare): New.
11393         (alpha_emit_xfloating_cvt): New.
11394         (print_operand): Add default abort case.
11395         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
11396         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
11397         (BIGGEST_ALIGNMENT): Increase to 128 bits.
11398         (RETURN_IN_MEMORY): True for TF/TCmode.
11399         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
11400         (FUNCTION_ARG): Move to function_arg.
11401         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
11402         (ASM_OUTPUT_LONG_DOUBLE): New.
11403         (ASM_OUTPUT_DOUBLE): Always output bits.
11404         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
11405         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
11406         (extenddftf2, trunctfdf2): New.
11407
11408 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11409
11410         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
11411         * config/sparc/sol2.h: ... here.
11412
11413 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11414
11415         * basic-block.h (struct loops): New field `levels'.
11416         * flow.c (flow_loops_level_compute): Traverse all outer loops.
11417         (flow_loop_level_compute): Initialise level to 1.
11418         (flow_loops_find): Set loops->levels.
11419         (flow_loops_dump): Print loops->levels.
11420
11421 2000-01-23  Richard Henderson  <rth@cygnus.com>
11422
11423         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
11424         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
11425
11426 2000-01-23  Richard Henderson  <rth@cygnus.com>
11427
11428         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
11429         * i386.h (DBX_REGISTER_NUMBER): Use them.
11430         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
11431         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
11432         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
11433         * i386/sequent.h: Kill incorrect comment.
11434
11435 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
11436
11437         * ggc-page.c (struct page_entry): Make `context_depth' an
11438         `unsigned short'.
11439         (struct globals): Likewise.
11440
11441 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
11442
11443         * loop.c (check_dbra_loop): When checking a loop for
11444         reversability, check the source of any stores to ensure
11445         they don't depend on an initial value.
11446
11447 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11448
11449         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
11450
11451 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
11452
11453         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
11454         'pz_scan' into scope of entire function.  Only affects
11455         compiles with -DDEBUG.
11456
11457 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
11458
11459         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
11460         section naming to that prior to 2000-01-07 patch.
11461         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
11462         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
11463         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
11464         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
11465         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
11466
11467 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
11468
11469         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
11470         constant.
11471
11472 2000-01-21  Jim Wilson  <wilson@cygnus.com>
11473
11474         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
11475         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
11476
11477 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11478
11479         * cpphash.c (change_newlines): Delete function.
11480         (struct argdata): Delete 'newlines' and 'use_count' fields.
11481         (macroexpand): Remove code referencing those fields.
11482
11483 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11484
11485         * loop.c (loops_info): New variable.
11486         (loop_optimize): Allocate loops->array and free it on exit.
11487         Allocate memory for loops_info and assign to each loop,
11488         replacing alloca.
11489         (find_and_verify_loops): Do not allocate loops->array.
11490
11491 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11492
11493         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
11494
11495 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
11496
11497         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
11498         pseudos if expanded after first flow.
11499         (movdi_pic_label_ref): Likewise.
11500
11501 2000-01-20  Richard Henderson  <rth@cygnus.com>
11502
11503         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
11504
11505 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
11506
11507         * Makefile.in (fixinc.sh): Depend on specs.
11508         * fixinc/Makefile.in: Add rule to create machname.h.
11509         (fixlib.o): Depend on machname.h.
11510         * fixinc/fixtests.c (machine_name): New test.
11511         * fixinc/fixfixes.c (machine_name): New fix.
11512         * fixinc/fixlib.c (mn_get_regexps): New helper function for
11513         the machine_name test and fix.
11514         * fixinc/fixlib.h: Prototype it.
11515         * fixinc/inclhack.def (machine_name): Use the C test and fix.
11516         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
11517
11518         * gcc.c (do_spec_1) [case P]: Take care not to create
11519         identifiers with three leading or trailing underscores.
11520
11521         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
11522         (fixincl): Don't specify libraries twice on link line.
11523         (gnu-regex.o): Remove special rule.
11524         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
11525         defined by config.h.  Do not define _REGEX_RE_COMP.
11526         (regcomp): Allocate and initialize a fastmap.
11527         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
11528
11529 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
11530
11531         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
11532
11533 2000-01-19  Richard Henderson  <rth@cygnus.com>
11534
11535         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
11536         arguments with BB.  Update all callers.  Tidy line wrapping.
11537
11538 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
11539
11540         * emit-rtl.c (try_split): Return last_insn if we split the
11541         last_insn.
11542
11543 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
11544
11545         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
11546         (ix86_initial_elimination_offset): Declare.
11547         * i386.c (ix86_nsaved_regs): Break out from ...
11548         (ix86_can_use_return_insn_p): ... here.
11549         (ix86_emit_save_regs): Break out from ...
11550         (ix86_expand_prologue): ... here.
11551         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
11552         out from ...
11553         (ix86_expand_epilogue): ... here.
11554         (ix86_compute_frame_size): Make static, add prototype.
11555         (ix86_initial_elimination_offset): Break out from ...
11556         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
11557
11558 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11559
11560         * recog.h (OUT_FCN): Delete.
11561
11562         * vax.md: Call `get_insn_template' instead of OUT_FCN.
11563
11564 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11565
11566         * cppalloc.c: PROTO -> PARAMS.
11567         * cpperror.c: Likewise.
11568         * cppfiles.c: Likewise.
11569         * cpplib.c: Likewise.
11570         * cpplib.h: Likewise.
11571
11572         * config/arm/arm-protos.h: PROTO -> PARAMS.
11573         * config/arm/arm.c: Likewise.
11574         * config/c4x/c4x.c: Likewise.
11575         * config/fr30/fr30-protos.h: Likewise.
11576         * config/nextstep.c: Likewise.
11577         * config/pa/pa.c: Likewise.
11578         * config/pj/pj.c: Likewise.
11579         * config/rs6000/rs6000.c: Likewise.
11580         * config/v850/v850-protos.h: Likewise.
11581         * config/v850/v850.c: Likewise.
11582
11583 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11584
11585         * i370-protos.h: New file.
11586
11587         * i370.c: Include tm_p.h.  Fix compile time warnings.
11588
11589         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
11590         warnings.
11591
11592         * i370.md: Likewise.
11593
11594 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11595
11596         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
11597         (target_isinf, target_isnan, eisnan): Mark parameter with
11598         ATTRIBUTE_UNUSED.
11599         (eiisinf): Wrap in INFINITY.
11600         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
11601         (ibmtoe): Remove unused variable `rndsav'.
11602
11603 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11604
11605         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
11606         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
11607
11608 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
11609
11610         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
11611         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
11612         (fix_char_macro_defines, fix_char_macro_uses): New functions.
11613
11614         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
11615         Recognize Emacs mode markers also.
11616         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
11617         C++ comments in C++ headers.  Call is_cxx_header only if
11618         necessary.
11619
11620         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
11621         bypass for ncurses.
11622         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
11623         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
11624         ... these, which use the new C fixes.
11625         (math_exception): Escape literal '+' in bypass expression.
11626
11627         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
11628         Regenerate.
11629
11630 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11631
11632         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
11633         inside the MEM.
11634
11635 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11636
11637         * loop.c (loop_optimize): Allocate loop_info structure for each loop
11638         prior to calling scan_loop.
11639
11640 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11641
11642         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
11643         (split_branches, calc_live_regs): Likewise.
11644
11645 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11646
11647         * sh.md (fpu_single, fp_mode): New attributes.
11648
11649 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11650
11651         * loop.c (current_loop_info): Renamed from loop_info_data
11652         and changed to a pointer.
11653         (loop_optimize): Allocate loop_info structure for each loop
11654         and initialise to zero.
11655         (scan_loop): Set current_loop_info.
11656
11657         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
11658         on iteration_var.
11659
11660 2000-01-19  Richard Henderson  <rth@cygnus.com>
11661
11662         * stupid.c: Die die die.
11663         * Makefile.in (OBJS): Remove stupid.o.
11664         (stupid.o): Likewise.
11665
11666         * except.c (emit_eh_context): Don't emit USEs for stupid.
11667         * explow.c (probe_stack_range): Likewise.
11668         * flags.h (obey_regdecls): Remove.
11669         * flow.c (find_basic_blocks): Don't run try_merge_blocks
11670         when not optimizing.
11671         (life_analysis): Limit data collection when not optimizing.
11672         (mark_regs_live_at_end): Always mark the return value registers.
11673         (mark_used_regs): Remove dummy RETURN case.
11674         (print_rtl_with_bb): Don't consult obey_regdecls.
11675         * function.c (use_variable, use_variable_after): Remove.
11676         (assign_parms): Consult optimize not obey_regdecls.
11677         (expand_function_start): Don't emit USEs for stupid.
11678         (expand_function_end): Likewise.
11679         * global.c (build_insn_chain): Export.
11680         * integrate.c (expand_inline_function): Kill return-value USE
11681         handling code.
11682         * jump.c (jump_optimize_1): Do simple jump optimizations and
11683         dead code elimination.
11684         (calculate_can_reach_end): Remove check_deleted argument.
11685         (delete_insn): Patch out insns even when not optimizing.
11686         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
11687         * rtl.h (use_variable, use_variable_after): Remove declarations.
11688         (build_insn_chain): Declare.
11689         * stmt.c (expand_value_return): Don't emit USEs for stupid.
11690         (expand_end_bindings): Likewise.
11691         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
11692         * toplev.c (obey_regdecls): Remove.
11693         (rest_of_compilation): Don't set it.  Kill stupid in favour of
11694         flow1, local-alloc, and reload.
11695         (main): Don't set obey_regdecls.
11696
11697         * config/nextstep.c (handle_pragma): Likewise.
11698
11699         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
11700
11701         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
11702
11703 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11704
11705         * alpha-protos.h: PROTO -> PARAMS.
11706         * alpha.c: Likewise.
11707         * elf.h: Likewise.
11708         * h8300.c: Likewise.
11709         * i386-protos.h: Likewise.
11710         * i386.c: Likewise.
11711         * m32r-protos.h: Likewise.
11712         * m32r.c: Likewise.
11713         * mips.c: Likewise.
11714         * mips.md: Likewise.
11715         * gmon-sol2.c: Likewise.
11716         * sparc.c: Likewise.
11717
11718 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11719
11720         * ns32k-protos.h: New file.
11721
11722         * ns32k.c: Fix compile time warnings.
11723
11724         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
11725         warnings.
11726
11727         * ns32k.md: Likewise.
11728
11729 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11730
11731         * vax-protos.h: New file.
11732
11733         * vax.c: Fix compile time warnings.
11734
11735         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
11736         warnings.
11737
11738         * vax.md: Likewise.
11739
11740         * vaxv.md: Likewise.
11741
11742 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11743
11744         * romp-protos.h: New file.
11745
11746         * romp.c: Fix compile time warnings.
11747
11748         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
11749         warnings.
11750
11751         * romp.md: Likewise.
11752
11753 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11754
11755         * we32k-protos.h: New file.
11756
11757         * we32k.c: Fix compile time warnings.
11758
11759         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
11760         warnings.
11761
11762 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11763
11764         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
11765
11766         * except.c (eh_regs): Likewise.
11767
11768         * final.c (output_operand): Likewise.
11769
11770         * fold-const.c (target_isinf, target_isnan): Likewise.
11771
11772 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11773
11774         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
11775         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
11776
11777         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
11778         when optimize_size.
11779         (clrstrsi): Rewrite.
11780         (strsethi, strsetqi): New expanders.
11781         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
11782         (cmpstrsi): Emit compare insn before cmpstrsi_1
11783         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
11784         (strlensi_1): Likewise.
11785         (cmpstrsi_1): Likewise; do not output compare.
11786         (strlen expander): Do not unroll when optimizing for size.
11787         (*subsi3_carry): Rename to subsi3_carry
11788         (addqi3_cc): New pattern.
11789         * i386.h (processor_costs): Add move_ratio field.
11790         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
11791         * i386.c (*_cost): Set move_ratio.
11792         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
11793         (x86_expand_strlensi_1): Rewrite the main loop.
11794
11795 2000-01-17  Richard Henderson  <rth@cygnus.com>
11796
11797         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
11798         * cse.c (find_comparison_args, fold_rtx): Likewise.
11799         * integrate.c (subst_constants): Likewise.
11800         * loop.c (get_condition): Likewise.
11801
11802         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
11803
11804         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
11805
11806 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11807
11808         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
11809         (RESTORE_WARN_FLAGS): Unpack it.
11810         Change semantic type of extension to ttype.
11811         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
11812         * c-parse.y, c-parse.c, objc/objc-parse.y,
11813         objc/objc-parse.c: Regenerate.
11814
11815 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
11816
11817         * fixinc/fixlib.c: Add copyright notice.
11818         (compile_re): New function.
11819         * fixinc/fixlib.h: Prototype compile_re.
11820
11821         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
11822         Use compile_re to compile regular expressions.
11823
11824         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
11825         where the pattern matched.
11826
11827         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
11828         use 'replace'.
11829         (ultrix_ansi_compat): Likewise.
11830         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
11831         add egrep test.
11832         (interactv_add2, interactv_add3): Delete.
11833         (x11_sprintf): Don't use filename glob.
11834         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
11835         Regenerate.
11836
11837 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11838
11839         * print-rtl.c: PROTO -> PARAMS.
11840         * real.c: Likewise.
11841         * reg-stack.c: Likewise.
11842         * resource.c: Likewise.
11843         * sdbout.h: Likewise.
11844         * simplify-rtx.c: Likewise.
11845         * stor-layout.c: Likewise.
11846         * stupid.c: Likewise.
11847         * xcoffout.c: Likewise.
11848         * xcoffout.h: Likewise.
11849
11850 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11851
11852         * toplev.c: PROTO -> PARAMS.
11853         * toplev.h: Likewise.
11854         * tree.c: Likewise.
11855         * tree.h: Likewise.
11856         * unroll.c: Likewise.
11857         * varasm.c: Likewise.
11858         * varray.c: Likewise.
11859         * varray.h: Likewise.
11860
11861 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11862
11863         * reload.c: PROTO -> PARAMS.
11864         * reload.h: Likewise.
11865         * reload1.c: Likewise.
11866         * reorg.c: Likewise.
11867         * resource.h: Likewise.
11868         * rtl.c: Likewise.
11869         * rtl.h: Likewise.
11870         * rtlanal.c: Likewise.
11871         * sbitmap.h: Likewise.
11872         * sdbout.c: Likewise.
11873         * stack.h: Likewise.
11874         * stmt.c: Likewise.
11875         * system.h: Likewise.
11876
11877 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11878
11879         * machmode.h: PROTO -> PARAMS.
11880         * mbchar.h: Likewise.
11881         * mips-tdump.c: Likewise.
11882         * mips-tfile.c: Likewise.
11883         * optabs.c: Likewise.
11884         * output.h: Likewise.
11885         * prefix.c: Likewise.
11886         * profile.c: Likewise.
11887         * protoize.c: Likewise.
11888         * real.h: Likewise.
11889         * recog.c: Likewise.
11890         * recog.h: Likewise.
11891         * regclass.c: Likewise.
11892         * regmove.c: Likewise.
11893         * regs.h: Likewise.
11894
11895 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11896
11897         * ggc-common.c: PROTO -> PARAMS.
11898         * ggc-page.c: Likewise.
11899         * ggc-simple.c: Likewise.
11900         * ggc.h: Likewise.
11901         * global.c: Likewise.
11902         * graph.c: Likewise.
11903         * gthr-win32.h: Likewise.
11904         * haifa-sched.c: Likewise.
11905         * halfpic.h: Likewise.
11906         * integrate.c: Likewise.
11907         * integrate.h: Likewise.
11908         * jump.c: Likewise.
11909         * lcm.c: Likewise.
11910         * local-alloc.c: Likewise.
11911         * loop.c: Likewise.
11912         * loop.h: Likewise.
11913
11914 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11915
11916         * genattr.c: PROTO -> PARAMS.
11917         * genattrtab.c: Likewise.
11918         * gencheck.c: Likewise.
11919         * gencodes.c: Likewise.
11920         * genconfig.c: Likewise.
11921         * genemit.c: Likewise.
11922         * genextract.c: Likewise.
11923         * genflags.c: Likewise.
11924         * gengenrtl.c: Likewise.
11925         * genopinit.c: Likewise.
11926         * genoutput.c: Likewise.
11927         * genpeep.c: Likewise.
11928         * genrecog.c: Likewise.
11929
11930 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
11931
11932         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
11933
11934 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11935
11936         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
11937         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
11938         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
11939         * configure, config.in: Rebuilt.
11940
11941 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
11942
11943         * config/i386/i386.md: Add peephole to merge successive stack
11944         adjusts.
11945
11946 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
11947
11948         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
11949         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
11950         when walking backwards to find all the parameter loads when
11951         the basic block ends in a call.
11952
11953 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11954
11955         * loop.c (this_loop_info): Delete.
11956         (uid_loop): Add in place of uid_loop_num.  All uses updated.
11957         (loop_number_exit_count): Delete and replace with entry in loop
11958         structure.  All uses updated.
11959         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11960         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11961         (loop_outer_loop): Likewise.
11962         (loop_invalid, loop_number_exit_labels): Likewise.
11963         (loop_used_count_register): Delete and replace with entry in
11964         loop_info structure.
11965         (find_and_verify_loops): Add loops argument.
11966         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
11967         loop_end, etc. arguments with loop structure pointer.  All callers
11968         changed.
11969         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
11970         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
11971         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
11972         (insert_bct): Likewise.
11973         (basic_induction_var): New argument level.
11974         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
11975         vtop, and cont.  Add used_count_register.
11976         (uid_loop): Delete declaration.
11977         (loop_number_exit_count): Likewise.
11978         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11979         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11980         (loop_outer_loop, loop_used_count_register): Likewise.
11981         (loop_invalid, loop_number_exit_labels): Likewise.
11982         (unroll_loop): Replace loop_start and loop_end arguments
11983         with loop structure pointer.
11984         (loop_precondition_p, loop_iterations): Likewise.
11985         Include basic-block.h.
11986         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
11987         with loop structure pointer.
11988         (loop_precondition_p, loop_iterations): Likewise.
11989         * basic-block.h (struct loop): New entries vtop, cont,
11990         cont_dominator, start, end, top, scan_start, exit_labels,
11991         exit_count.
11992         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
11993
11994 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11995
11996         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
11997
11998 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
11999
12000         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
12001
12002 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12003
12004         * pdp11-protos.h: New file.
12005
12006         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
12007         time warnings.
12008
12009         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
12010         warnings.
12011
12012         * pdp11.md: Likewise.
12013
12014         * 2bsd.h: Likewise.
12015
12016 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12017
12018         * mn10300-protos.h: New file.
12019
12020         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
12021         time warnings.
12022
12023         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
12024         warnings.
12025
12026         * mn10300.md: Likewise.
12027
12028 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12029
12030         * mn10200-protos.h: New file.
12031
12032         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
12033         time warnings.
12034
12035         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
12036         warnings.
12037
12038         * mn10200.md: Likewise.
12039
12040 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12041
12042         * h8300-protos.h: New file.
12043
12044         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
12045         time warnings.
12046
12047         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
12048         warnings.
12049
12050         * h8300.md: Likewise.
12051
12052 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12053
12054         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
12055         (asm_emit_uninitialised): Likewise.
12056
12057 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
12058
12059         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
12060         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
12061
12062 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12063
12064         * config/mips/mips.c (override_options): Don't turn on extra
12065         alignment for mips16.
12066
12067 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12068
12069         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
12070         eabi, and make sure queued POSTINCREMENT rtl is emitted at
12071         the right point.
12072
12073 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12074
12075         * builtins.c (PAD_VARARGS_DOWN): Define.
12076         (std_expand_builtin_va_arg): Use the above macro.
12077         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
12078         * tm.texi (Register Arguments): Document the above macro.
12079
12080 2000-01-14  Nick Clifton  <nickc@cygnus.com>
12081
12082         * emit-rtl.c (emit_insn): If checking is enabled, make sure
12083         that this function has not been used to emit a jump
12084         instruction.
12085
12086         * jump.c (return_jump_1): Cope with being passed a null rtx.
12087
12088 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12089
12090         * eh-common.h: PROTO -> PARAMS.
12091         * emit-rtl.c: Likewise.
12092         * errors.c: Likewise.
12093         * errors.h: Likewise.
12094         * except.c: Likewise.
12095         * except.h: Likewise.
12096         * explow.c: Likewise.
12097         * expmed.c: Likewise.
12098         * expr.c: Likewise.
12099         * expr.h: Likewise.
12100         * final.c: Likewise.
12101         * fix-header.c: Likewise.
12102         * flow.c: Likewise.
12103         * fold-const.c: Likewise.
12104         * function.c: Likewise.
12105         * function.h: Likewise.
12106         * gcc.c: Likewise.
12107         * gcov-io.h: Likewise.
12108         * gcov.c: Likewise.
12109         * gcse.c: Likewise.
12110
12111 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12112
12113         * sh-protos.h: New file.
12114
12115         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
12116         Add static prototypes.  Fix compile time warnings.
12117
12118         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
12119         * sh.md: Likewise.
12120         * elf.h: Likewise.
12121
12122 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12123
12124         * arc-protos.h: New file.
12125
12126         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
12127         time warnings.
12128
12129         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
12130         warnings.
12131
12132         * arc.md: Likewise.
12133
12134 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12135
12136         * dsp16xx-protos.h: New file.
12137
12138         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
12139         time warnings.
12140
12141         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
12142         warnings.
12143
12144         * dsp16xx.md: Likewise.
12145
12146 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12147
12148         * convex-protos.h: New file.
12149
12150         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
12151         time warnings.
12152
12153         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
12154         warnings.
12155
12156 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12157
12158         * elxsi-protos.h: New file.
12159
12160         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
12161         time warnings.
12162
12163         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
12164         warnings.
12165
12166         * elxsi.md: Likewise.
12167
12168 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12169
12170         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
12171         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
12172         match the comment for MIPS16.
12173
12174 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
12175
12176         * flow.c (split_edge): Do not call set_block_for_insn if we
12177         do not have a basic_block_for_insn structure.
12178
12179         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
12180         and destination functions are 32bit aligned within the trampoline.
12181         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
12182         (TRAMPOLINE_ALIGNMENT): Define.
12183
12184         * cse.c (cse_insn): When changing (set (pc) (reg)) to
12185         (set (pc) (label_ref)), verify the change creates a valid insn.
12186
12187         * fr30.c (call_operand): Tighten and rework to match rules for
12188         call RTL expressions.
12189         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
12190         * fr30.md (call patterns): Improve constraints.
12191
12192 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
12193
12194         * fr30.c (fr30_expand_epilogue): Revert last change.
12195         Use emit_jump_insn for the return insn.
12196
12197 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
12198                           Stan Cox  <scox@cygnus.com>
12199
12200         * predict.c: New file. Preliminary infrastructure work for static
12201         branch prediction and basic block reordering.
12202         * basic-block.h: Add prototype for estimate_probability.
12203         * Makefile.in: Add rules for predict.o.
12204
12205 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
12206
12207         * fixincludes (va_list): Use __not_va_list__ for the dummy.
12208         * fixinc/*: Likewise.
12209
12210 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12211
12212         * cccp.c: PROTO -> PARAMS.
12213         * cexp.y: Likewise.
12214         * collect2.c: Likewise.
12215         * combine.c: Likewise.
12216         * convert.h: Likewise.
12217         * cse.c: Likewise.
12218         * dbxout.c: Likewise.
12219         * dbxout.h: Likewise.
12220         * diagnostic.c: Likewise.
12221         * doprint.c: Likewise.
12222         * dwarf2out.c: Likewise.
12223         * dwarf2out.h: Likewise.
12224         * dwarfout.c: Likewise.
12225         * dwarfout.h: Likewise.
12226         * dyn-string.h: Likewise.
12227
12228 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12229
12230         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
12231         macro conditionals guarding use.
12232
12233         * dwarf2out.c: Include "tm_p.h".
12234
12235         * function.c (locate_and_pad_parm): Mark parameter with
12236         ATTRIBUTE_UNUSED.
12237         (expand_function_end): Likewise for variable `context'.
12238
12239         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
12240
12241 2000-01-13  Nick Clifton  <nickc@cygnus.com>
12242
12243         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
12244         register to prevent compile time warnings.
12245
12246 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
12247
12248         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
12249         to avoid -Wtraditional warning.
12250
12251 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12252
12253         * 1750a-protos.h: New file.
12254
12255         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
12256         time warnings.
12257
12258         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
12259         warnings.
12260
12261         * 1750a.md: Likewise.
12262
12263 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12264
12265         * a29k-protos.h: New file.
12266
12267         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12268         time warnings.
12269
12270         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
12271         warnings.
12272
12273 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12274
12275         * clipper-protos.h: New file.
12276
12277         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
12278         time warnings.
12279
12280         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
12281         warnings.
12282
12283 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12284
12285         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
12286
12287 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
12288
12289         * configure.in (--enable-new-gxx-abi): New option.
12290         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
12291         * Makefile.in (GXX_ABI_FLAG): New variable.
12292         * configure: Regenerate.
12293
12294 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12295
12296         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
12297         * tm.texi (FORCE_STRUCT_BLK): Document.
12298         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
12299
12300 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
12301
12302         * config/ns32k/ns32k.md: Revert Jan 9 change.
12303
12304         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
12305         to a mode-test, if the predicate is address_operand.
12306
12307 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
12308
12309         * combine.c (if_then_else_cond): Be careful about what kinds
12310         of RTL expressions are passed to operand_subword.
12311
12312         * flow.c (split_edge): If we have to insert a new jump, make
12313         sure to associate it with a basic block.
12314
12315         * flow.c (commit_one_edge_insertion): A block with one successor
12316         can end in a JUMP_INSN that is not a simplejump.
12317
12318 2000-01-12  Robert Lipe  <robertl@sco.com>
12319
12320         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
12321         (BUILD_VA_LIST_TYPE): Define.
12322         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
12323         with crtstuff.c.
12324
12325 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
12326
12327         * cccp.c (do_pragma): Add cast to (char *).
12328
12329 2000-01-12  Richard Henderson  <rth@cygnus.com>
12330             Fred Fish  <fnf@be.com>
12331             Jason Merrill  <jason@cygnus.com>
12332
12333         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
12334         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
12335         * i386/beos-elf.h, i386/beos-pe.h: New files.
12336
12337         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
12338         * cross-make (SYSTEM_HEADER_DIR): Define using
12339         CROSS_SYSTEM_HEADER_DIR.
12340
12341         * gcc.c (LIBRARY_PATH_ENV): Provide default.
12342         (process_command): Use it.
12343         (main): Likewise.  Kill trailing = from env vars.
12344         (build_search_list): Put it back.
12345         * collect2.c (main): Use LIBRARY_PATH_ENV.
12346
12347         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
12348         * toplev.c: Use NEED_DECLARATION_ENVIRON.
12349
12350         * tm.texi (Frame Layout): Document SMALL_STACK.
12351         * c-common.c (c_common_nodes_and_builtins): Check it.
12352
12353         * system.h: Undef alloca after including glibc's <stdlib.h>,
12354         if USE_C_ALLOCA is defined.
12355
12356         * gcc.c (set_input): New fn.
12357         (main): After all input files are compiled, reset the input file
12358         info to the first.
12359
12360         * aclocal.m4 (rindex, index): If already defined, don't attempt
12361         to redefine.
12362
12363         * ginclude/varargs.h: (__va_list__): Define ifndef.
12364         * ginclude/stdarg.h: Likewise.
12365
12366         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
12367         instead of unsigned char.
12368
12369         * hash.h (true, false, boolean): Undef before enum.
12370
12371         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
12372         proper type of "HOST_WIDE_INT *", rather than their natural type of
12373         "unsigned HOST_WIDE_INT *".
12374
12375 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12376
12377         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
12378
12379         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
12380
12381         * regclass.c (choose_hard_reg_mode): Likewise.
12382
12383         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
12384
12385         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
12386
12387 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12388
12389         * c-common.c: PROTO -> PARAMS.
12390         * c-common.h: Likewise.
12391         * c-decl.c: Likewise.
12392         * c-iterate.c: Likewise.
12393         * c-lang.c: Likewise.
12394         * c-lex.c: Likewise.
12395         * c-lex.h: Likewise.
12396         * c-parse.in: Likewise.
12397         * c-pragma.c: Likewise.
12398         * c-pragma.h: Likewise.
12399         * c-tree.h: Likewise.
12400         * c-typeck.c: Likewise.
12401         * objc/objc-act.c: Likewise.
12402         * objc/objc-act.h: Likewise.
12403
12404 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12405
12406         * m88k-protos.h: New file.
12407
12408         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12409         time warnings.
12410
12411         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
12412
12413         * m88k.md: Likewise.
12414
12415         * tekXD88.h: Likewise.
12416
12417 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12418
12419         * m68k-protos.h: New file.
12420
12421         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12422         time warnings.
12423
12424         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
12425
12426         * mot3300.h: Likewise.
12427
12428 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
12429
12430         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
12431         extract_bitlst.
12432         (extract_bitlist): Declare bitlen.
12433
12434 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
12435
12436         * cccp.c: Accept and ignore -lang-fortran.
12437
12438         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
12439         qualifiers don't match at any level of pointerness.
12440
12441 2000-01-12  Robert Lipe  <robertl@sco.com>
12442
12443         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
12444
12445 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
12446
12447         * reload1.c (reload_reg_unavailable): New static variable.
12448         (reload_reg_free_p): Test it.
12449         (reload_reg_free_for_value_p): Test it instead of
12450         reload_reg_used.
12451         (choose_reload_regs_init): Compute it.
12452
12453 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
12454
12455         * reorg.c (fill_slots_from_thread): Check modified_in_p
12456         before replacing.
12457
12458 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
12459
12460         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
12461         these nodes even if INTERNALS is not set.
12462
12463 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
12464
12465         * gcse.c (delete_null_pointer_checks_1): Cope when
12466         get_condition cannot determine the condition.
12467
12468 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
12469
12470         * toplev.h (set_message_length): Declare.
12471
12472         * diagnostic.c (obstack_chunk_alloc): Define macro.
12473         (obstack_chunk_free): Likewise.
12474         (struct output_buffer): New data structure.
12475         (vmessage): Remove.
12476         (output_maximum_width): New variable.
12477         (doing_line_wrapping, set_message_length, init_output_buffer,
12478         get_output_prefix, output_space_left, emit_output_prefix,
12479         output_newline, output_append, output_puts, dump_output,
12480         vbuild_message_string, build_message_string, build_location_prefix,
12481         voutput_notice, output_printf, line_wrapper_printf,
12482         vline_wrapper_message_with_location):  New functions. Implement
12483         automatic line wrapping.
12484         (v_message_with_decl): Make it handle automatic line wrapping.
12485         (v_error_with_file_and_line): Likewise.
12486         (v_warning_with_file_and_line): Likewise.
12487         (announce_function): Likewise.
12488         (default_print_error_function): Likewise.
12489
12490 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
12491
12492         * cpplib.h (struct cpp_options): Change lang_asm to char.
12493         Add lang_fortran.
12494         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
12495         done in cpp_handle_option now.
12496         (initialize_builtins): Take out special case code used only by
12497         __STDC_VERSION__.
12498         (cpp_handle_option): Turn off trigraphs and trigraph warnings
12499         if -traditional.  Recognize -lang-fortran and set
12500         lang_fortran, also turn off cplusplus_comments.
12501         (print_help): Document -lang-fortran.
12502         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
12503         lang_asm. Ignore all directives other than `# 123 "file"' if
12504         CPP_PREPROCESSED.
12505         (cpp_get_token): If -traditional, don't recognize directives
12506         unless the # is in column 1.
12507         (parse_string): If lang_fortran or lang_asm, silently
12508         terminate strings ('' or "") at end of line.
12509         Remove unnecessary braces.
12510
12511 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12512             Richard Henderson  <rth@cygnus.com>
12513
12514         * resource.c (mark_referenced_resources): Mark a set strict_low_part
12515         as used.
12516         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
12517         strict_low_part when possible.
12518
12519 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12520
12521         * alias.c: PROTO -> PARAMS.
12522         * basic-block.h: Likewise.
12523         * bitmap.c: Likewise.
12524         * bitmap.h: Likewise.
12525         * builtins.c: Likewise.
12526         * c-aux-info.c: Likewise.
12527         * caller-save.c: Likewise.
12528         * calls.c: Likewise.
12529
12530 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12531
12532         * Makefile.in (toplev.o): Depend on regs.h.
12533
12534         * output.h (tdesc_section): Prototype.
12535
12536         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
12537
12538         * sdbout.c: Include "tm_p.h".
12539
12540         * toplev.c: Include "regs.h".
12541
12542 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
12543
12544         * unroll.c (unroll_loop): Add EH support.
12545
12546 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12547
12548         * pa-protos.h: New file.
12549
12550         * pa.c: Include recog.h and tm_p.h.
12551         (compute_zdepwi_operands, compute_movstrsi_length,
12552         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
12553         find_addr_reg, import_milli): Add static prototypes.
12554         (pa_cpu_string, pa_arch_string): Constify a char*.
12555         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
12556         (read_only_operand): Add argument `mode'.
12557         (singlemove_string, output_move_double, output_fp_move_double,
12558         output_block_move, output_and, output_ior, output_ascii,
12559         remove_useless_addtr_insns, milli_names, output_mul_insn,
12560         output_div_insn, output_mod_insn, output_arg_descriptor,
12561         output_cbranch, output_bb, output_bvb, output_dbra, ,
12562         output_millicode_call, output_call, hppa_encode_label,
12563         output_parallel_movb, output_parallel_addb): Constify a char*.
12564         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
12565         (output_parallel_addb): Remove extra arg to `constrain_operands'
12566
12567         * pa.h:  Move all prototypes to pa-protos.h.
12568         (pa_cpu_string, pa_arch_string): Constify a char*.
12569         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
12570
12571         * pa.md: Call `function_label_operand' with mode argument.
12572         Likewise for `read_only_operand'.
12573         Fix nesting of parens in call to `symbolic_operand'.
12574
12575 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12576
12577         * i860-protos.h: New file.
12578
12579         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
12580         time warnings.
12581
12582         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
12583
12584         * i860.md: Likewise.
12585
12586 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
12587
12588         * i386.md (movstrsi expander): Rewrite.
12589         (movstrsi_1 insn): Deleted.
12590         (strmovhi, strmovqi expander): New expanders.
12591         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
12592         * i386.c (x86_single_stringop): New global variable.
12593         * i386.h (x86_single_stringop): Declare.
12594         (TARGET_SINGLE_STRINGOP): New macro.
12595
12596 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
12597
12598         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
12599         integer vararg POSTINCREMENT before the destination of the jump
12600         for the hard fp case.
12601         (function_arg_pass_by_reference): Pass a copy of CUM to
12602         FUNCTION_ARG.
12603
12604         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
12605         for CONSTANT_ADDRESS_P above while loop for subreg.
12606
12607 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
12608
12609         * flow.c (propagate_block): When a prologue/epilogue insn
12610         is marked dead, unconditionally clear libcall_is_dead and
12611         insn_is_dead, and only dump rtl if warnings aren't being
12612         suppressed.
12613
12614 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
12615
12616         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
12617         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
12618         (FIXED_REGISTERS): Set dirflag as fixed.
12619         (CALL_USED_REGISTERS): Set dirflag as used.
12620         (REG_ALLOC_ORDER): Set dirflag as last one.
12621         (DIRFLAG_REG): New macro.
12622         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
12623         (HI_REGISTER_NAMES): Add dirflag.
12624         (DEBUF_PRINT_REG): Handle dirflag.
12625         * i386.md (type attribute): New cld and str types.
12626         (length_opcode attribute): Set cld and str to 1.
12627         (memory attribute): Set str to unknown - it is not clear from the
12628         patterns.
12629         (pent_np function unit): Prefixed string operations takes 12 cycles
12630         minimally; cld takes 2 cycles.
12631         (ppro_uops attribute): Str is "many" and cld is "few".
12632         (ppro_p0 unit): Handle cld here.
12633         (k6_alux unit): Handle cld and str types.
12634         (k6_load unit): It is ocupied by str opcodes.
12635         (k6_store unit): It is ocupied by str opcodes.
12636         (athlon_decode): Str is vector decoded.
12637         (athlon_ieu): Handle str and cld.
12638         (cld pattern): New.
12639         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
12640         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
12641         cmpstrsi_nz_1 insn): Do not output cld instruction
12642
12643 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
12644
12645         * gcc.texi (G++ and GCC): Add Java and Chill.
12646         (Bug Critera): Don't list languages.
12647
12648         * gcc.texi (Incompatibilities): No longer claim most C compilers
12649         are K&R.
12650
12651         * gcc.texi (G++ and GCC): Update other front-ends list.
12652
12653 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
12654
12655         * i386.c (ix86_expand_setcc): Fix typo.
12656         (ix86_expand_movcc): Similarly.
12657
12658         * Band-aid until haifa's bitset implementation is nuked.
12659         * haifa-sched.c (extract_bitlst): New parameter for size of the
12660         bitset in bits.  All callers changed.  Avoid looking at undefined
12661         bits in the bitset.
12662         (edgeset_bitsize): New variable.
12663         (schedule_region): Initialize edgeset_bitsize.
12664
12665 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12666
12667         * Makefile.in (optabs.o): Depend on real.h
12668         (resource.o): Depend on insn-attr.h
12669
12670         * builtins.c (result_vector): Wrap prototype in macro conditions
12671         governing definition and use.
12672
12673         * c-common.c: Include tm_p.h.
12674
12675         * c-lex.c: Likewise.
12676
12677         * elfos.h: Constify a char*.
12678
12679         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
12680         (get_attr_length, shorten_branches, profile_after_prologue): Mark
12681         parameter with ATTRIBUTE_UNUSED.
12682
12683         * fold-const.c (exact_real_inverse): Wrap variable `i' in
12684         CHECK_FLOAT_VALUE.
12685
12686         * haifa-sched.c (schedule_insns): Mark parameter with
12687         ATTRIBUTE_UNUSED.
12688
12689         * optabs.c: Include real.h.
12690
12691         * real.h (ereal_atof): Add prototype arguments.
12692
12693         * resource.c: Include insn-attr.h.
12694
12695         * sdbout.c (sdbout_queue_anonymous_type,
12696         sdbout_dequeue_anonymous_types): Wrap in macro
12697         SDB_ALLOW_FORWARD_REFERENCES.
12698         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
12699         ATTRIBUTE_UNUSED.
12700
12701         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
12702
12703         * stupid.c: Include tm_p.h.
12704
12705         * tree.c (real_value_from_int_cst): Mark parameter with
12706         ATTRIBUTE_UNUSED.
12707
12708 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12709
12710         * i960-protos.h: New file.
12711
12712         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
12713         time warnings.
12714
12715         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
12716
12717 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12718
12719         * combine.c (expand_field_assignment): Do not discard SUBREGs
12720         while computing nonzero_bits.
12721
12722 2000-01-09  Nick Clifton  <nickc@cygnus.com>
12723
12724         * config/arm/arm.c: Fix compile time warnings about signed vs
12725         unsigned constants.
12726         * config/arm/arm.h: Fix compile time warnings about signed vs
12727         unsigned constants.
12728
12729 2000-01-09  Philip Blundell  <philb@gnu.org>
12730
12731         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
12732         than `ldm' with only one register.
12733         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
12734         only one register.
12735
12736         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
12737         clobbered.
12738
12739 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
12740
12741         * config/ns32k/ns32k.md (load or push effective address): Operand 1
12742         must have SImode.
12743
12744 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12745
12746         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
12747         assignment used as truth value.
12748
12749         * function.c (assign_temp): Mark parameter `dont_promote' with
12750         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
12751         PROMOTE_FOR_CALL_ONLY.
12752
12753         * genrecog.c (write_subroutine): Mark variable `operands' with
12754         ATTRIBUTE_UNUSED.
12755
12756         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
12757         ATTRIBUTE_UNUSED.
12758
12759         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
12760         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
12761
12762         * toplev.c (note_deferral_of_defined_inline_function): Likewise
12763         for `decl'.
12764
12765 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12766
12767         * config/c4x.h: Tidy up comments.
12768         * config/c4x.c: Likewise.
12769
12770 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
12771
12772         * fold-const.c (lshift_double, rshift_double): Handle
12773         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
12774
12775 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12776
12777         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
12778         in prepare_function_start().
12779
12780 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
12781
12782         * config/v850/v850.c (expand_epilogue): Interrupt functions no
12783         longer allocate extra stack for function calls.
12784
12785 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12786
12787         * config/c4x/c4x.md (*subqf3_set): Fix typo.
12788
12789 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12790
12791         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
12792
12793 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
12794
12795         * rs6000.c (processor_target_table): Add power3 as alias for 630.
12796         * aix43.h: Revert Aug 2 change.
12797         (HAS_INIT_SECTION): Define, not visible yet.
12798         (LD_INIT_SWITCH): Define, not visible yet.
12799         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
12800
12801         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
12802
12803         * collect2.c (main): Expand ld2 size further.
12804         (export_object_lst): Cast assignment to avoid warning.
12805         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
12806         (scan_prog_file, COFF): Do not collect initialization or
12807         finalization functions generated for entire shared object if
12808         init/fini support present.
12809
12810 2000-01-07  Nick Clifton  <nickc@cygnus.com>
12811
12812         * config/elfos.h: Tidy up formatting of marcos.  Make sure
12813         that .section directives are always prefixed by a tab.
12814
12815         * config/svr4.h: Add #include "elfos.h" and remove duplicate
12816         definitions.
12817
12818 2000-01-07  Matt Austern  <austern@sgi.com>
12819
12820         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
12821         expon.
12822
12823 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
12824
12825         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
12826         crtstuff.c.
12827         (crtbegin.o, s-crtS): Likewise.
12828
12829 2000-01-06  Richard Henderson  <rth@cygnus.com>
12830
12831         * alpha.md (adddi_2+1): Limit offset such that it will be
12832         loadable with a single ldah+lda pair.
12833         (adddi_2+2): Explicitly fail split if we can't make it work.
12834
12835 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
12836
12837         * protoize.c: Conditionally include unistd.h.
12838         (IS_SAME_PATH_CHAR): New macro.
12839         (IS_SAME_PATH): New macro.
12840         (CPLUS_FILE_SUFFIX): New macro.
12841         (cplus_suffix): New static variable.
12842         (is_abspath): New static function.
12843         (in_system_include_dir): Handle DOS style pathnames.
12844         (file_could_be_converted): Likewise.
12845         (file_normally_convertible): Likewise.
12846         (directory_specified_p): Likewise.
12847         (file_excluded_p): Likewise.
12848         (abspath): Likewise.
12849         (shortpath): Likewise.
12850         (referenced_file_is_newer): Likewise.
12851         (save_def_or_dec): Likewise.
12852         (do_processing): Likewise.
12853         (main): Likewise.
12854         (edit_file): Likewise. Use rename instead of link.
12855         (rename_c_file): Likewise. Don't rename syscalls file.
12856         (munge_compile_params): Define null device for DOS based systems.
12857         (process_aux_info_file): Use binary mode if appliable.
12858         (edit_file): Likewise.
12859         * invoke.texi (Running Protoize): Document C++ suffixes used.
12860
12861         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
12862         IS_DIR_SEPARATOR macros.
12863         * collect2.c: Likewise.
12864         * cppinit.c: Likewise.
12865         * dwarf2out.c: Likewise.
12866         * gcc.c: Likewise.
12867         * gcov.c: Likewise.
12868         * prefix.c: Likewise.
12869         * rtl.c: Likewise.
12870         * toplev.c: Likewise.
12871         * system.h: And move to here.
12872
12873         * prefix.c (update_path): Fix typo in variable name.
12874
12875 2000-01-06  Richard Henderson  <rth@cygnus.com>
12876
12877         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
12878         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
12879         (count_reg_sets_1, count_reg_references): Likewise.
12880         (flow_loops_level_compute): Start counting actual loop depth at 1.
12881         (flow_loops_find): Likewise.
12882         * local-alloc.c (update_equiv_regs): Likewise.
12883         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
12884
12885 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
12886
12887         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
12888         FIRST_PSEUDO_REGISTER
12889         * dwarf2out.c: Don't include frame.h
12890         * dwarfout.c: Likewise
12891         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
12892         frame.h
12893
12894 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
12895
12896         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
12897         dead registers.
12898
12899         * i386.c (movsf splitter): Fix typo in my last checkin.
12900
12901 2000-01-05  Nick Clifton  <nickc@cygnus.com>
12902
12903         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
12904         own definition of this macro.
12905         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
12906         flag_data_sections or UNIQUE_SECTION_P are true.
12907
12908         * tm.texi (UNIQUE_SECTION): Document that it can be called for
12909         unitialised data decls.
12910
12911         * config/i386/winnt.c (i386_pe_unique_section): Cope with
12912         being called for uninitialised data.
12913
12914         * config/i386/interix.c (i386_pe_unique_section): Cope with
12915         being called for uninitialised data.
12916
12917         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
12918         for uninitialised data.
12919
12920         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
12921         for uninitialised data.
12922
12923         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
12924         for uninitialised data.
12925
12926         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
12927         (UNIQUE_SECTION_P): Always generate a unique section if
12928         flag_data_sections is true.
12929         (UNIQUE_SECTION): Also generate unique sections for
12930         uninitialised data.
12931         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
12932         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
12933         named_section().
12934
12935 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12936
12937         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
12938         SI, or DI.
12939
12940 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12941
12942         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
12943         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
12944         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
12945         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
12946         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
12947
12948         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
12949
12950 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
12951
12952         * c-decl.c (finish_enum): Simplify code to determine minimum and
12953         maximum values of the enum, and calculate the type.  Remove check
12954         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
12955         the DECL_INITIAL of each enumeration constant with a copy converted
12956         to the enumeration type.  When updating variant types, don't bother
12957         updating the type itself.
12958
12959         * c-typeck.c (build_binary_op): Simplify conditional expressions
12960         when weeding out spurious signed-unsigned warnings.  Add new
12961         spurious warning category: if the unsigned quantity is an enum
12962         and its maximum value fits in signed_type(result_type).  Update
12963         commentary.
12964         (build_conditional_expr): Warn here if one alternative is signed
12965         and the other is unsigned.
12966
12967 2000-01-05  Nick Clifton  <nickc@cygnus.com>
12968
12969         * config/fr30/fr30.h: Remove extraneous comments.
12970
12971 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
12972
12973         * reload1.c (choose_reload_regs): When disabling a reload, also
12974         set reload_spill_index to -1.
12975
12976 2000-01-04  Joel Sherrill (joel@OARcorp.com>
12977
12978         * configure.in (m68*-*-rtemscoff*): New target, formal name for
12979         old m68*-*-rtems*.
12980         (m68*-*-rtemself*): New target.
12981         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
12982         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
12983         (sparc*-*-rtemself*): New target.
12984         (sparc*-*-rtems*): Now elf not a.out.
12985         * config/i386/rtems.h: Include config/rtems.h.
12986         * config/i386/rtemself.h: Include config/rtems.h.
12987         * config/i960/rtems.h: Include config/rtems.h.
12988         * config/m68k/rtems.h: Include config/rtems.h.
12989         * config/m68k/rtemself.h: Include config/rtems.h.
12990         * config/mips/rtems64.h: Include config/rtems.h.
12991         * config/pa/rtems.h: Include config/rtems.h.
12992         * config/rs6000/rtems.h: Include config/rtems.h.
12993         * config/sh/rtems.h: Include config/rtems.h.
12994         * config/sh/rtemself.h: Include config/rtems.h.
12995         * config/sparc/rtems.h: Include config/rtems.h.
12996         * config/sparc/rtemself.h: Include config/rtems.h
12997
12998 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
12999
13000         * final.c (shorten_branches): Correctly compute length of
13001         asms without operands.
13002
13003 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
13004
13005         * configure.in: Add pj target.
13006         * configure: Regenerate.
13007         * config/pj: New directory.
13008         * config/pj/lib1funcs.S: New file.
13009         * config/pj/linux.h: New file.
13010         * config/pj/pj.c: New file.
13011         * config/pj/pj.md: New file.
13012         * config/pj/pjl.h: New file.
13013         * config/pj/t-pj: New file.
13014         * config/pj/xm-pj.h: New file
13015
13016 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
13017
13018         * toplev.c (rest_of_compilation): Run shorten-branches before
13019         reg-stack for now.
13020
13021 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13022
13023         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
13024         macros so that they're consistent with their names.
13025         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13026         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13027
13028 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13029
13030         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
13031         modified inadvertently.
13032
13033 2000-01-04  Joel Sherrill <joel@OARcorp.com>
13034
13035         * configure.in (v850*-*-rtems*): New target.
13036         * configure: Regenerate.
13037         * config/v850/rtems.h: New file.
13038
13039 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
13040
13041         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
13042         (__gthread_key_create): Likewise.
13043         (__gthread_key_dtor):  Likewise.
13044         (__gthread_once): Fix logic.
13045         (__gthread_key_delete): Cast away constness.
13046
13047         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
13048         * invoke.texi: Document.
13049         * i386/mingw32.h (CPP_SPEC): Use.
13050         (LIBGCC_SPEC): Likewise.
13051         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
13052
13053 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
13054
13055         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
13056         (HANDLE_PRAGMA_PACK): Undefine.
13057         (SLOW_UNALIGNED_ACCESS): Define.
13058
13059 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
13060
13061         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13062         to default definition.
13063         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
13064         (store_fixed_bit_field): Call macro with word_mode and alignment.
13065         (extract_bit_field): Call macro with relevant mode and alignment.
13066         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13067         to default definition.
13068         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
13069         and alignment.
13070         (move_by_pieces_ninsns): Likewise.
13071         (clear_by_pieces): Likewise.
13072         (emit_push_insn): Likewise.
13073         (store_field): Call macro with relevant mode and alignment.
13074         (expand_expr): Likewise.
13075         (expand_expr_unaligned): Likewise.
13076
13077         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
13078         (SLOW_UNALIGNED_ACCESS): Define.
13079         (CASE_VECTOR_MODE): Always use 32-bit offsets.
13080         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
13081         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
13082         (toc_section): Likewise and .toc pseudo-op.
13083         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
13084         64-bit mode.
13085         (TEXT_SECTION_ASM_OP): Likewise.
13086         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
13087         32-bit offsets.
13088
13089         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
13090         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
13091         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
13092         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
13093         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
13094
13095 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
13096
13097         * regclass.c: Revert my Jan 4 change to loop cost computation.
13098
13099 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13100
13101         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
13102         compilation.
13103
13104 2000-01-04  Stan Cox  <scox@cygnus.com>
13105
13106         * haifa-sched.c (build_control_flow): Change unreachable simple
13107         loop test to check if current block has only one predecessor.
13108         (find_rgns): Initialize degree.  Use dest as degree index, not src.
13109
13110 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13111
13112         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
13113
13114         * calls.c (expand_call): Likewise for
13115         `old_stack_arg_under_construction'.
13116
13117         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
13118
13119         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
13120         `save_constant'.
13121
13122         * gcc.c (execute): Likewise for `ut' and `st'.
13123
13124         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
13125
13126         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
13127
13128         * jump.c (jump_optimize_1): Likewise for `temp2'.
13129
13130         * local-alloc.c (block_alloc): Likewise for `r1'.
13131
13132         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
13133
13134         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
13135         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
13136
13137         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
13138         and `set2'.
13139
13140         * reload.c (find_reloads): Likewise for `goal_alternative_number'
13141         and `goal_earlyclobber'.
13142
13143         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
13144
13145         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
13146
13147         * stupid.c (stupid_life_analysis): Likewise for `chain'.
13148
13149         * unroll.c (copy_loop_body): Likewise for `copy'.
13150
13151         * varasm.c (output_constructor): Likewise for `byte'.
13152
13153 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13154
13155         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
13156         all FP constants for constant->reg moves.
13157         (ix86_split_to_parts): Try to convert memory address into immediate
13158         when available in the constant pool.
13159         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
13160         moves.
13161         (LEGITIMATE_CONSTANT_P): Return 1.
13162         * i386.md (pushsf): New splitter to convert constant pool memory
13163         reference to immediate.
13164         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
13165         reload.
13166
13167 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
13168
13169         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
13170         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
13171         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
13172         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
13173         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
13174
13175 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
13176
13177         * ginclude/stdbool.h:  Support compilation as C++.
13178
13179 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13180
13181         * fold-const.c (make_range): Don't try to reverse an unbounded range.
13182
13183 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
13184
13185         * regclass.c (regclass): Properly compute loop_cost.  Adjust
13186         comments.
13187
13188         * regclass.c: Fix minor whitespace problems.
13189
13190 2000-01-03  Anthony Green  <green@cygnus.com>
13191
13192         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
13193         Restore the pic register if required.
13194
13195 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
13196
13197         * c-common.c (format_char_info): Update comment.
13198         (check_format_info): Recognize 'z' modifier in the same way 'Z'
13199         was recognized.  Emit warning for formats new in ISO C99 only
13200         if flag_isoc9x is not set.
13201
13202 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
13203
13204         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
13205
13206 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13207
13208         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
13209         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
13210         (make_compound_operation): Choose cheaper alternative between
13211         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
13212
13213         * regclass.c (op_costs): Remove global variable.
13214         (record_reg_classes): New parameter "op_costs" and "reg_pref".
13215         (record_operand_costs): Break out from ...
13216         (scan_one_insn): ... here.
13217         (dump_regclass): Make dumps nicer.
13218         (regclass): Dump preferrences choosed and changes done during passes.
13219
13220 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13221
13222         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
13223
13224 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13225
13226         * config/sparc/sparc.c (gen_df_reg): New function.
13227         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
13228         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
13229         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
13230         movtf_cc_reg_sp64+1): Use it.
13231
13232 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13233
13234         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
13235         copied LABEL_DECLs.
13236
13237 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13238
13239         * config/i386/i386.c (ix86_expand_unary_operator): Function
13240         definition made void.
13241         (ix86_expand_binary_operator): Update outdated preceding comment.
13242         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
13243         prototype.
13244
13245         * config/i386/i386.c (override_options): Fix option-name typo.
13246
13247 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13248
13249         * system.h (CEIL): Define.
13250         * builtins.c (CEIL): Remove.
13251         * expmed.c (CEIL): Likewise.
13252         * expr.c (CEIL): Likewise.
13253         * stor-layout.c (CEIL): Likewise.
13254
13255 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13256
13257         * expr.c (store_constructor_field): Fix typo introduced with last
13258         gcc2 merge.
13259
13260 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
13261
13262         * tree.h (BINFO_N_BASETYPES): New macro.
13263
13264 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
13265
13266         * expmed.c (emit_store_flag): Prevent losing a pending stack
13267         adjust the same way we prevent losing queued increments.
13268
13269 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13270
13271         * function.c (update_temp_slot_address): Handle case where sum of
13272         temporary address plus offset in register is a valid address.
13273
13274 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
13275
13276         * genrecog.c (change_state) Corrected typo.
13277
13278 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13279
13280         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
13281         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
13282         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
13283
13284 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
13285
13286         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
13287         case, expand GT comparisons correctly.  Fix a comment before this
13288         part of the code.
13289
13290 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
13291
13292         * dwarfout.c: Include "frame.h"
13293         * dwarf2out.c: Likewise.
13294         * Makefile.in (dwarfout.o): Depend on frame.h
13295         (dwarf2out.o): Likewise.
13296
13297 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
13298
13299         Restore i386 binary compatibility in Dwarf EH info.
13300         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
13301         value of FIRST_PSEUDO_REGISTER.
13302         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
13303         (struct frame_state): Use DWARF_FRAME_REGISTERS.
13304         * dwarfout.c (output_reg_number): Ditto.
13305         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
13306         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
13307
13308 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
13309
13310         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
13311         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
13312         (<hack>_RE_CT): not needed
13313         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
13314         rewritten to scan the file text once only
13315         "template<..." test added
13316         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
13317         (is_cxx_header): declaration added
13318         * fixinc/fixtests.c(is_cxx_header): removed
13319         (apply_fix_p_t): removed
13320         (double_slash_test): is_cxx_header is only called once now
13321         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
13322         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
13323         within the templates.
13324         The borken spelling of "broken" was fixed.
13325         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
13326         The default level depends on FIXINC_DEBUG.
13327
13328 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13329
13330         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
13331         Otherwise provide a declaration for atexit.
13332         (init_dummy): Make sure dummy call to atexit is nevertheless
13333         called with correct number of args.
13334
13335         * frame.c: Update comments referring to other files.
13336
13337         * libgcc2.c: Likewise.
13338
13339 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13340
13341         * cse.c (free_element, get_element): Remove unused prototypes.
13342
13343         * fold-const.c (extract_muldiv): Initialize variables `op0' and
13344         `op1'.
13345
13346         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
13347         `else' clauses.
13348
13349 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
13350
13351         * configure.in,configure: case arm for mn10200-*-* now sets
13352         float_format=i32 so that float.h will correctly claim "double"
13353         to be 32 bits. Ran autoconf to generate configure from .in file.
13354
13355 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
13356
13357         * pa.md (conditional zero): If op1 is a register, force it into
13358         the same register as op0.
13359
13360 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
13361
13362         * tree.h (BINFO_BASETYPES): Improve documentation.
13363
13364 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13365
13366         * configure.in (--enable-checking): Use a more portable `for'
13367         loop syntax.
13368
13369 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13370
13371         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
13372         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
13373
13374         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
13375         Delete files.
13376
13377         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
13378         Delete descriptions.
13379
13380         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
13381         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
13382         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
13383         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
13384         xm-svr4.h: Remove all instances of sys_siglist handling.
13385
13386 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
13387
13388         * config/sparc/sparc.md (cmp_zero_qi,
13389         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
13390         cmp_zero_extendqidi2_andcc_set): New patterns.
13391
13392 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
13393
13394         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
13395         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
13396         (fpgnulib.c, xfgnulib.c): Add rules.
13397         * m68k/t-mot3300-gas: Likewise.
13398
13399 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
13400
13401         * configure.in: Avoid [[ by using test and changequote.  Add
13402         changequote required by 1999-12-14 change.
13403         * configure: Rebuild.
13404
13405 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
13406
13407         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
13408
13409 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
13410
13411         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
13412         * flow.c (find_use_as_address): Likewise.
13413         * function.c (fixup_var_refs_1): Likewise.
13414         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
13415         * jump.c (invert_exp, redirect_exp): Likewise.
13416         * loop.c (replace_call_address): Likewise.
13417         (count_nonfixed_reads): Likewise.
13418         * rtlanal.c (modified_between_p): Likewise.
13419         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
13420         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
13421         * unroll.c (remap_split_bivs): Likewise.
13422
13423 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13424
13425         * diagnostic.c (v_message_with_decl): Use .* format specifier
13426         instead of building the format specifier width manually.
13427
13428         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
13429         determining whether to provide a prototype.  Remove the
13430         sys_siglist clause in the conditional.
13431
13432 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13433
13434         * fold-const.c (operand_equal_p): Use memcmp to compare string
13435         constants.
13436         Suggested by D. J. Bernstein
13437
13438 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
13439
13440         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
13441         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
13442         compiling libgcc2.
13443         * config/mips/mips.h (TARGET_64BIT): Likewise.
13444         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
13445         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
13446         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
13447         dsps.  Give routines proper names if SI/DI modes are not used.
13448         * longlong.h: Use DWunion instead of DIunion.
13449
13450 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
13451
13452         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
13453         GC_CHECKING, GC_ALWAYS_COLLECT.
13454         * configure.in: Allow --enable-checking with an argument
13455         listing check modes to enable.
13456         * config.in, configure: Rebuilt.
13457         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
13458         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
13459         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
13460         ENABLE_GC_ALWAYS_COLLECT.
13461         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
13462         throughout.
13463         * tree.h, tree.c: Change ENABLE_CHECKING to
13464         ENABLE_TREE_CHECKING throughout.
13465
13466 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13467
13468         * fold-const.c (fold_truthop): Properly check for FP RHS.
13469
13470 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
13471
13472         * toplev.h (note_deferall_of_defined_inline_function): Declare.
13473         * toplev.c (note_deferral_of_defined_inline_function): New
13474         function, split out from ...
13475         (rest_of_compilation): ... here.  Use it.
13476
13477 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13478
13479         * expr.c (store_constructor): Don't call clear_storage if size is
13480         variable.
13481
13482 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13483
13484         * Makefile.in (toplev.o): Depend on loop.h.
13485
13486         * dwarfout.c: Include tm_p.h.
13487
13488         * emit-rtl.c (restore_emit_status): Mark parameter with
13489         ATTRIBUTE_UNUSED.
13490
13491         * final.c (final_scan_insn): Likewise.
13492
13493         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
13494         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
13495         flow_depth_first_order_compute, flow_loop_pre_header_find,
13496         flow_loop_tree_node_add, flow_loops_tree_build,
13497         flow_loop_level_compute, flow_loops_level_compute,
13498         flow_loop_outside_edge_p): Add prototypes.
13499         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
13500
13501         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
13502         Mark with ATTRIBUTE_NORETURN.
13503
13504         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
13505
13506         * local-alloc.c (no_conflict_p): Likewise.
13507
13508         * loop.c (insert_bct): Hide definitions of variables with hidden
13509         usage.
13510         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
13511
13512         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
13513         with ATTRIBUTE_UNUSED.
13514         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
13515         (reg_scan): Likewise.
13516
13517         * reload.c (find_reloads): Remove unused variables `changed'.
13518
13519         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
13520         away const-ness.
13521         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
13522         Remove unused variable `insn'.
13523
13524         * toplev.c: Include loop.h.
13525         (report_file_and_line): Remove unnecessary prototype.
13526
13527         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
13528
13529         * unroll.c (biv_total_increment): Likewise.
13530
13531 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13532
13533         * reload1.c (emit_input_reload_insns): Restore old behaviour
13534         wrt. 'special' reloads.
13535
13536 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
13537
13538         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
13539         hash.h.  (cse.c): Don't depend on hashtab.h.
13540
13541         * cse.c: Don't include hashtab.h.
13542         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
13543         of dead functions.
13544         * ggc-simple.c: Don't include hash.h.
13545
13546 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
13547
13548         * dwarf2out.c (add_abstract_origin_attribute): Call
13549         gen_abstract_function on our function context.
13550
13551 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
13552
13553         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
13554
13555 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13556
13557         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
13558         case in switch.
13559
13560 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13561
13562         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
13563         constraints to "a!r".
13564
13565 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
13566
13567         * Makefile.in (calls.o): Depend on function.h.
13568         (alias.o): Likewise.
13569
13570 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
13571
13572         * reload1.c (emit_reload_insns): Break out code and variables into...
13573         (input_reload_insns, other_input_address_reload_insns,
13574         other_input_reload_insns, input_address_reload_insns,
13575         inpaddr_address_reload_insns, output_reload_insns,
13576         output_address_reload_insns, outaddr_address_reload_insns,
13577         operand_reload_insns, other_operand_reload_insns,
13578         other_output_reload_insns): ... new static variables, and...
13579         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
13580         do_output_reload): ... new functions.
13581
13582 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13583
13584         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
13585
13586 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13587
13588         * md.texi: Add c4x constraints documentation.
13589
13590 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13591
13592         * config/i386/dgux.c (struct option): Rename to
13593         lang_independent_option.
13594         (struct m_options): Add description field.
13595         (output_options): Rename option type, add sep declaration, output
13596         ix86_cpu_string and ix86_arch_string only if set.
13597         (output_file_start): Rename option type.
13598
13599 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
13600
13601         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
13602         stmp-int-hdrs.
13603         (libgcc2.a): Similarly.
13604
13605 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
13606
13607         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
13608         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
13609         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
13610
13611 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
13612
13613         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
13614         Remove redundant initialization of "frexpon" and "expon".
13615
13616 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13617
13618         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
13619
13620         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
13621         (store_constructor_field, expand_expr): Pass new arg.
13622
13623 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
13624
13625         * Makefile.in (explow.o): Depend on function.h.
13626
13627         * stor-layout.c (set_sizetype): Fix typo.
13628
13629 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
13630
13631         * function.c (cfun): Renamed from current_function.  All users
13632         changed.
13633         * function.h (cfun): Rename declaration as well.
13634
13635         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
13636         to be of type regset_head, not regset.  All users changed by adding
13637         address operator.
13638         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
13639
13640 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13641
13642         * config/c4x/rtems.h: New file.
13643
13644 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
13645
13646         * reload1.c (spill_failure): Take class of failed reload as argument
13647         and print it.  Caller changed.
13648
13649 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13650
13651         * rs6000.h (SUBTARGET_DEFAULT): New macro.
13652         (TARGET_SWITCHES): Allow subtargets to default switches.
13653         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
13654
13655 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
13656
13657         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
13658         in a main program.
13659
13660 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
13661
13662         * cccp.c (main): Define __STDC_VERSION__ as necessary.
13663         * cppinit.c (cpp_handle_option): Likewise.
13664
13665         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
13666         determine when to define.
13667
13668 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
13669
13670         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
13671         cmove with mismatched test and data modes.
13672
13673 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
13674
13675         * c-typeck.c (c_expand_start_case): Don't warn for long switch
13676         in system headers.
13677
13678 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13679
13680         * alias.c: Minor reformatting.
13681         * flow.c: Likewise.
13682         * regs.h: Likewise.
13683         * stor-layout.c: Likewise.
13684         * fold-const.c: Likewise.
13685         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
13686         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
13687         not arg itself.
13688         (size_int_wide): Cache nodes even if garbage collecting.
13689         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
13690         of SAVE_EXPR has no side effects.
13691         * cse.c: Move a comment.
13692         * tree.c: Minor reformatting.
13693         (int_size_in_bytes): Return -1 if constant overflows.
13694
13695 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13696
13697         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
13698
13699 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
13700
13701         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
13702         after any change to c-parse.in, even if objc-parse.y didn't
13703         change.  Oops.
13704
13705 1999-12-18  David S. Miller  <davem@redhat.com>
13706
13707         * toplev.c (rest_of_compilation): Restore BLOCK tree
13708         reconstruction and branch shortening changes lost in
13709         December 18th change.
13710
13711 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
13712
13713         * config/arm/linux-elf.h: Change all instances of
13714         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
13715         * config/arm/uclinux-elf.h: Likewise.
13716
13717 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
13718
13719         * toplev.c (notice, vmessage, v_message_with_file_and_line,
13720         v_message_with_decl, file_and_line_for_asm,
13721         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
13722         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
13723         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
13724         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
13725         pfatal_with_name, fatal_io_error, need_error_newline,
13726         last_error_function, last_error_tick, announce_function,
13727         default_print_error_function, print_error_function,
13728         report_error_function, fnotice, error_with_file_and_line,
13729         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
13730         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
13731         warning_with_decl, warning_for_asm, warning, pedwarn,
13732         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
13733         diagnostic.c
13734         (compile_file): Use fnotice instead of notice.  Adjust call.
13735
13736         * diagnostic.c: New file.
13737
13738         * Makefile.in (OBJS): Include diagnostic.o
13739         (diagnostic.o): Define dependence.
13740
13741 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13742
13743         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
13744         Tweak formatting.
13745
13746 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13747
13748         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
13749
13750 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
13751
13752         * fixtests.c (is_cxx_header): New fn, split out of
13753         double_slash_test.
13754         (else_endif_label): Allow "#endif // comment" in C++ headers,
13755         as determined by is_cxx_header.
13756         * fixfixes.c (else_endif_label_fix): Update comment.
13757         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
13758         a tty.
13759         * genfixes: Correct double thinko in commandline parsing.
13760         * hackshell.tpl: Generate correct sh syntax for bypass
13761         entries.
13762
13763         * inclhack.def (all): Whenever an inserted preprocessor
13764         conditional is split over multiple lines, use double
13765         backslashes in this file so the fixed header will be readable.
13766
13767         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
13768         and add bypass entry for correct version of this header.
13769         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
13770         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
13771
13772         (hpux8_bogus_inlines): New fix, split from...
13773         (ultrix_atof_param) ... here.
13774         (math_expression): Add bypass entry keyed to glibc comment
13775         indicating the problem has been dealt with; disable
13776         unnecessary sed operations; update commentary.
13777         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
13778         add select and bypass entries, simplify shell operation.
13779         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
13780
13781         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
13782          ultrix_atof_param): Add select entry.
13783         (stdio_va_list, sunos_mather_decl): Add bypass entry.
13784         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
13785         comments with the fixes they describe.
13786
13787         * c-parse.in (string action): Do not warn about ANSI string
13788         concatenation in system headers.  Affects C parser only.
13789         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
13790
13791 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
13792
13793         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
13794         compiling libgcc2 the macro depends always on arch cpp defines.
13795
13796 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
13797
13798         * loop.c (insert_loop_mem): Don't record MEMs from inside
13799         EXPR_LISTs.
13800
13801 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
13802
13803         * regclass.c (regclass): Do not use flowgraph when not optimizing.
13804
13805         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
13806         notes too, create one when replacement failed, attempt to simplify
13807         resulting notes.
13808         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
13809         or REG_EQUIV notes.
13810
13811 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
13812
13813         * crtstuff.c (__dso_handle): Declare.
13814         (__cxa_finalize): Likewise.
13815         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
13816         non-NULL.
13817
13818         * invoke.texi: Document -fuse-cxa-atexit.
13819
13820         * tree.h (ptr_type_node): Document.
13821         (const_ptr_type_node): Likewise.
13822
13823 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13824
13825         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
13826         (optimize_reg_copy_2): Likewise.
13827         (optimize_reg_copy_3): Likewise.
13828         (fixup_match_2): Likewise.
13829         (regmove_optimize): Likewise.
13830         (fixup_match_1): Liekwise.
13831
13832         * i386.md (HI to SImode promoting splitters): Rewrite.
13833         (pushsf mem peep2): New.
13834         (testhi to andhi peep2): Remove.
13835         * i386.h (x86_promote_QImode): New.
13836         (TARGET_PROMOTE_QImode): New.
13837         (PREDICATE_CODES): Add promotable_binary_operator.
13838         * i386.c (x86_promote_QImode0: New.
13839         (promotable_binary_operator): New.
13840         * i386-protos.h (promotable_binary_operator): New.
13841
13842         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
13843         condition.
13844         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
13845
13846 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
13847
13848         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
13849         * function.c (insert_block_after_note): Remove.
13850         (retrofit_block): Likewise.
13851         (identify_blocks): Fix indentation.
13852         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
13853         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
13854         * function.h (insert_block_after_note): Remove prototype.
13855         (retrofit_block): Likewise.
13856         * integrate.c (expand_inline_function): Don't call
13857         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
13858         just expand_start_bindings.  Use the block_map to remap old
13859         NOTE_BLOCKs to new ones.
13860         (integrate_decl_tree): Keep track of remapped blocks.
13861         * integrate.h (struct inline_remap): Add block_map.
13862         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
13863         NOTE_BLOCK on the notes.
13864         (expand_start_bindings): Rename to ...
13865         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
13866         (expand_end_bindings): Set NOTE_BLOCK.
13867         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
13868         reconstruct the BLOCK tree.
13869         * tree.h (expand_start_bindings): Macroize.  Call ...
13870         (expand_start_bindings_and_block): New function.
13871
13872 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
13873
13874         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
13875         to match the format.
13876
13877 1999-12-16  David S. Miller  <davem@redhat.com>
13878
13879         * expr.c (emit_move_insn_1): Only emit clobbers if one of
13880         the outputs is a SUBREG.
13881         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
13882         change.
13883
13884         * config/sparc/sparc.c (epilogue_renumber): Add default case
13885         to switch stmt.
13886
13887 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13888
13889         * toplev.c (rest_of_compilation): Run branch shortening after
13890         reg-stack.
13891
13892         * regclass.c (loop_depth): Remove
13893         (scan_one_insn): Do not handle LOOP_NOTE insns.
13894         (regclass): Go through basic blocks and set loop_cost
13895
13896 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
13897
13898         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
13899
13900 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13901
13902         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
13903         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
13904         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
13905
13906 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
13907
13908         * loop.c (insert_loop_mem): Ignore memory clobbers.
13909
13910         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
13911         to (OP A B).
13912
13913 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
13914
13915         * profile.c: Remove redundant #include "output.h".
13916
13917         * h8300.md (HImode preinc peephole): Fix typo.
13918
13919 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13920
13921         * function.c (retrofit_block): Abort if we don't find a suitable insn.
13922         (insert_block_after_note): Abort if we don't have a previous block.
13923         Remove FN parameter.
13924         * function.h: Adjust.
13925
13926 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
13927
13928         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
13929         argument more than once.
13930
13931 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13932
13933         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
13934
13935 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
13936
13937         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
13938
13939 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13940
13941         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
13942         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
13943         update stack_alignment_needed.
13944         (prepare_function_start): Initialize stack_alignment_needed
13945         * function.h (struct function): Add field stack_alignment_needed.
13946
13947 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13948
13949         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
13950         Handle live_throughout / dead_or_set instead of live_before /
13951         live_after.
13952         (save_call_clobbered_regs): Get register livenessinformation from
13953         chain->live_throughout.
13954         (add_stored_regs): New function.
13955         (insert_restore, insert_save): Add restored / saved registers to
13956         dead_or_set.
13957         * global.c (reg_dies): New parameter chain.
13958         (reg_becomes_live): Third parameter is regs_set now.
13959         Changed all callers.
13960         (reg_dies): New parameter chain.  Changed all callers.
13961         (build_insn_chain): Set live_throughout instead of
13962         live_before / live_after.
13963         * reload.h (struct insn_chain): Replace members live_before /
13964         live_after with live_throughout / dead_or_set.
13965         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
13966         instead of live_before / live_after.
13967         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
13968         (order_regs_for_reload, find_reg, finish_spills): Likewise.
13969         (choose_reload_regs_init): Likewise.
13970         * stupid.c (current_chain, find_clobbered_regs): Delete.
13971         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
13972         instead of chain->live_before / chain->live_after.
13973         (mark_hard_ref): New function.
13974         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
13975
13976 1999-12-15  David S. Miller  <davem@redhat.com>
13977
13978         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
13979
13980 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13981
13982         * flow.c (calculate_loop_depth): Make global, remove prototype,
13983         rewrite to use new loop infrastructure.
13984         (find_basic_block): Remove calculate_loop_depth call.
13985         * toplev.c (rest_of_compilation): Call find_basic_block.
13986         * output.h (calculate_loop_depth): Declare.
13987
13988         * flow.c (dump_flow_info): Dump loop_depth.
13989         (flow_loops_nodes_find): Increase loop_depth for basic block in the
13990         body.
13991         (flow_loops_find): Initialize the loop_depth for each basic block.
13992
13993 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13994
13995         * tree.c (decl_function_context): Handle virtual functions.
13996
13997         * tlink.c (scan_linker_output): Don't look in demangled name when
13998         looking for linker output keywords.
13999
14000         * dwarfout.c (output_type): We can defer namespace-scope classes.
14001
14002 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
14003
14004         * regclass.c (record_reg_classes): Update comment for merging
14005         register class preferences in reg->reg copies.  Tighten conditions
14006         for merging register class preferences in reg->reg copies.
14007
14008 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
14009
14010         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
14011
14012 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
14013
14014         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
14015         (INIT_SECTION_ASM_OP): Delete.
14016         (FINI_SECTION_ASM_OP): Delete.
14017         (STARTFILE_SPEC): Define to hold just crtbegin.o.
14018
14019 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
14020
14021         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
14022         the abstract origin wasn't emitted.
14023
14024         * dwarf2out.c (class_scope_p): New fn.
14025         (gen_subprogram_die): Use it.
14026         (gen_variable_die): Use it.  Tweak logic.
14027         (gen_struct_or_union_type_die): Check context_die to determine
14028         if we're function-local.
14029         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
14030
14031 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14032
14033         * loop.c (check_dbra_loop): Can't reverse a biv that has
14034         maybe_multiple set.
14035
14036 1999-12-14  Nick Clifton  <nickc@cygnus.com>
14037
14038         * config/arm/arm.c: Add support for -mcpu=arm720 command line
14039         switch.
14040
14041 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14042
14043         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
14044         for givs made from biv increments.
14045
14046 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
14047
14048         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
14049         * alpha.c (override_options): Recognize -mcpu=ev67.
14050         * alpha.h (CPP_CPU_EV67_SPEC): New.
14051         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
14052         (EXTRA_SPECS): Update.
14053
14054 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
14055
14056         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
14057         appropriate for -lang-c89 and -std=*.
14058         * cppinit.c (cpp_handle_option): Likewise.
14059         (new_pending_define): New, split out from cpp_handle_option.
14060         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
14061         or enable trigraphs for -ansi/-std=*.
14062
14063         * ginclude/stdarg.h (__va_copy): New.
14064         (va_copy): Don't define for C89.
14065
14066 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
14067
14068         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
14069         for long long multiply-accumulate.
14070
14071 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14072
14073         * regclass.c (scan_one_insn): Set loop_cost to 1 when
14074         optimizing for size.
14075
14076 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14077
14078         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
14079         if something changed.  Back out that part of yesterday's changes.
14080
14081         * loop.c (loop_max_reg): New static variable.
14082         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
14083         max_reg_num.
14084         (scan_loop): Call reg_scan_update whenever we may have added new
14085         registers, and update loop_max_reg.
14086
14087 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14088
14089         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
14090         when source does not die.
14091
14092         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
14093
14094 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
14095
14096         * config/sparc/linux64.h (TARGET_LIVE_G0,
14097         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
14098         variants on Linux.
14099         * config/sparc/linux.h (TARGET_LIVE_G0,
14100         TARGET_BROKEN_SAVERESTORE): Likewise.
14101         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
14102         TARGET_BROKEN_SAVERESTORE): Likewise.
14103
14104         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
14105         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
14106         not %g2.
14107         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
14108         as sparc64 block profiling register.
14109         * config/sparc/sparc.c (sparc_override_options): Allow block
14110         profiling with -m32.
14111         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
14112         profiling register.
14113         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
14114         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
14115         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
14116
14117         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
14118         for sparc64.
14119         * config/sparc/sparc.h: Likewise.
14120         * config/sparc/xm-sysv4-64.h: Likewise.
14121         * config/float-sparc.h: Likewise.
14122         * glimits.h: Likewise.
14123         * longlong.h: Likewise.
14124
14125         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
14126         (ASM_IDENTIFY_GCC): Remove.
14127
14128 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14129
14130         * combine.c (combine_simplify_rtx): Don't make shared rtl.
14131         (simplify_logical): Likewise.
14132
14133 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
14134
14135         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
14136         * cppfiles.c (INO_T_EQ): Likewise.
14137
14138 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
14139
14140         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
14141         * i386/mingw32.h (LIB_SPEC): Likewise.
14142         (STARTFILE_SPEC): Likewise.
14143         * i386/uwin.h (LIB_SPEC): Likewise.
14144         (STARTFILE_SPEC): Likewise.
14145
14146         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
14147         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
14148
14149 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
14150
14151         * combine.c (combine_simplify_rtx): Fix order of checks for
14152         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
14153
14154 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
14155
14156         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
14157         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
14158
14159 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
14160
14161         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
14162         defined.
14163         * regclass.c (inv_reg_alloc_order): New array.
14164         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
14165
14166         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
14167         counted_for_groups, counted_for_nongroups.  Add fields rld and
14168         n_reloads.
14169         * reload.c (push_secondary_reload): Don't set nongroup field of
14170         new reloads.
14171         (push_reload): Likewise.
14172         (find_reloads): Delete code to compute nongroup fields.
14173         * reload1.c (reload_insn_firstobj): New static variable.
14174         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
14175         users changed.
14176         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
14177         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
14178         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
14179         functions.
14180         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
14181         functions.
14182         (struct hard_reg_n_uses): Deleted.
14183         (potential_reload_regs): Deleted.
14184         (init_reload): Initialize spilled_pseudos and pseudos_counted.
14185         (reload): Don't try to allocate reload registers if we already know
14186         we have to make another pass.  Call select_reload_regs.  Free memory
14187         starting with reload_firstobj when starting another pass.
14188         Don't allocate spilled_pseudos.
14189         (calculate_needs_all_insns): Call copy_reloads for an insn that
14190         needs reloads; don't call calculate_needs.
14191         (spill_cost): New static array.
14192         (used_spill_regs_local): New static variable.
14193         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
14194         to compute potential_reload_regs.
14195         (find_reload_regs): Completely rewritten to use find_reg.
14196         (allocate_reload_reg): Don't test counted_for_groups or
14197         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
14198         all cllers changed.
14199         (choose_reload_regs): Add fallback code that uses the existing
14200         register allocation from find_reload_regs.
14201
14202 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
14203
14204         * flow.c (create_edge_list): Cast xmalloc return value.
14205
14206 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
14207
14208         * doprnt.c: Remove incorrect comment closure.
14209
14210         * cse.c: Fix a few minor whitespace goofs.
14211
14212 1999-12-13  Don Bowman  <don@pixstream.com>
14213
14214         * mips/vxworks.h: Fix problem with comment termination.
14215         (EXTRA_SECTIONS): Add in_sbss.
14216         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
14217
14218 1999-12-12  David S. Miller  <davem@redhat.com>
14219
14220         * cse.c (struct cse_reg_info): Add hash_next member,
14221         reorder rest of struct for better packing on 64-bit
14222         hosts.
14223         (cse_reg_info_tree): Kill.
14224         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
14225         REGHASH_FN): New custom pow2 hash mechanism.
14226         (NBUCKETS): Kill.
14227         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
14228         use a pow2 hash table.
14229         (get_cse_reg_info): Rework to use new REGHASH.
14230         (new_basic_block): Likewise, use HASH_SIZE, and inline
14231         free_element call.
14232         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
14233         and inline free_element call.
14234         (lookup_as_function, insert, flush_hash_table, invalidate,
14235         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
14236         invalidate_for_call, use_related_value, find_comparison_args,
14237         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
14238         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
14239         get_element): Kill.
14240
14241 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
14242
14243         * cse.c (cse_basic_block): Free qty_table consistently.
14244
14245 1999-12-12  David S. Miller  <davem@redhat.com>
14246             Jakub Jelinek    <jakub@redhat.com>
14247
14248         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
14249         SUBREGs by hand, gen the appropriate hard reg directly.
14250         (movtf reg/mem split): Likewise and alter_subreg on destination
14251         if necessary.
14252         (movtf mem/reg split): Similarly.
14253         (movdf_cc_sp64): Rename from hidden pattern.
14254         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
14255         (movtf_cc_sp64, following split): New pattern and splitter.
14256         (movdf_cc_reg_sp64): Rename from hidden pattern.
14257         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
14258         TARGET_HARD_QUAD.
14259         (movtf_cc_reg_sp64, following split): New pattern and splitter.
14260
14261 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
14262
14263         * loop.c (load_mems): Don't hoist written floating point mem
14264         if -ffloat-store.
14265
14266 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
14267
14268         * except.h (struct eh_queue): Add `next' pointer.
14269         (struct eh_status): Make x_ehqueue a pointer.
14270         (push_ehqueue):  Declare.
14271         (pop_ehqueue): Likewise.
14272         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
14273         pointer.
14274         (expand_fixup_region_end): Likewise.
14275         (expand_leftover_cleanups): Likewise.
14276         (push_ehqueue): Define.
14277         (pop_ehqueue): Likewise.
14278         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
14279         than doing it inline.
14280         (expand_start_all_catch):  Adjust now that ehqueue is a
14281         pointer.
14282         (mark_eh_queue): Mark all level of the queue.
14283         (mark_eh_status):  Adjust now that ehqueue is a
14284         pointer.
14285         (init_eh_for_function): Allocate ehqueue.
14286         (free_eh_status): Free it.
14287         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
14288         expansion for a fixup.
14289
14290 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14291
14292         * gthr-single.h (__gthread_active_p): Add prototype arguments.
14293
14294         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
14295         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
14296         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
14297         function_ptr, getpagesize, __enable_execute_stack,
14298         __enable_execute_stack, __clear_insn_cache,
14299         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
14300         _cleanup, _exit, __default_terminate, __terminate_func,
14301         __terminate, __empty, __throw, new_eh_context,
14302         eh_context_initialize, eh_context_static, eh_context_specific,
14303         get_eh_context, __get_eh_context, __get_eh_info,
14304         init_reg_size_table, eh_threads_initialize,
14305         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
14306         __unwinding_cleanup, throw_helper, __throw, __rethrow,
14307         __pure_virtual): Add prototype arguments.
14308         (__bb_exit_func): Cast a sizeof to long when comparing against one.
14309         Cast a signed value to unsigned long when comparing against one.
14310         (new_eh_context): Wrap in _GTHREADS macro.
14311         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
14312         declaration.
14313         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
14314         (throw_helper): Initialize variables `handler_p' and `pc_p'.
14315
14316 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14317
14318         * combine.c (record_promoted_value): Remove unused variable
14319         `links2'.
14320
14321         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
14322
14323         * global.c (record_conflicts): Likewise for `j'.
14324
14325         * genoutput.c (output_insn_data): Don't unnecessarily cast away
14326         const-ness.
14327
14328 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14329
14330         * i386-protos.h (output_387_binary_op, output_fix_trunc,
14331         output_fp_compare): Constify a char*.
14332
14333         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
14334         static prototypes.
14335         (override_options, ix86_comp_type_attributes, print_operand,
14336         output_387_binary_op, output_fix_trunc, output_fp_compare):
14337         Constify a char*.
14338         (ix86_sched_reorder): Mark parameter `clock_var' with
14339         ATTRIBUTE_UNUSED.
14340
14341         * i386.h (DEBUG_PRINT_REG): Constify a char*.
14342
14343 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
14344
14345         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
14346         operand, for use in the Java front-end.
14347
14348 1999-12-10  Ben Collins  <bcollins@debian.org>
14349
14350         * configure.in: Fix typo for "-64" in 64bit as check.
14351         * configure: Rebuilt.
14352
14353 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
14354
14355         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
14356         appropriate.
14357
14358 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14359
14360         * c-parse.in (string): With -Wtraditional, warn if ANSI string
14361         concatenation is utilized.
14362
14363         * invoke.texi (-Wtraditional): Document it.
14364
14365 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14366
14367         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
14368         Cast a ptrdiff_t to long and pass it to printf with %ld.
14369
14370 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
14371
14372         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
14373         68881, we have no 68881 registers at all.
14374         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
14375         value in a 68881 register if it is available.
14376
14377 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
14378
14379         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
14380         for long long multiply-accumulate.
14381
14382 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
14383
14384         * loop.c (insert_loop_mem): Undo last change.
14385
14386 1999-12-10  David S. Miller  <davem@redhat.com>
14387
14388         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
14389         New functions.
14390         * config/sparc/sparc-protos.h: Add them.
14391         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
14392         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
14393         constraints which use those helpers.
14394         (EXTRA_CONSTRAINT): Use this new macro.
14395         * md.texi: Update sparc target constraints documentation.
14396         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
14397         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
14398         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
14399         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
14400         (movsf high/lo_sum split): Rework for new patterns.
14401         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
14402
14403 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
14404
14405         * c-common.c (c_common_nodes_and_builtins):
14406         Create __builtin_ptrdiff_t and __builtin_size_t.
14407
14408 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
14409
14410         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
14411
14412 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14413
14414         * regclass.c (globalize_reg): Re-instate test that allows
14415         fixed registers to be declared as a variable even after functions
14416         are defined.
14417
14418 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14419
14420         * i386.md (cpu attribute): Add "athlon".
14421         (athlon_decode): New attribute.
14422         (Athlon scheduling units definitions): New.
14423         (fcmp and shld patterns): Set athlon_decode to "vector".
14424         * i386.c (athlon_cost): New.
14425         (m_ATHLON): New.
14426         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
14427         x86_use_sahf): Set for Athlon.
14428         (x86_use_fiop): Unset for Athlon.
14429         (override_options): Define Athlon alignments and "athlon" name.
14430         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
14431         * i386.h (TARGET_ATHLON): New.
14432         (enum processor_type): Add PROCESSOR_ATHLON.
14433         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
14434         for CPU_DEFAULT==5
14435         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
14436
14437 1999-12-09  Andreas Jaeger  <aj@suse.de>
14438
14439         * loop.c (record_biv): Declare parameter as int.
14440
14441         * config/i386/i386-protos.h: Declare long_memory_operand.
14442
14443 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
14444
14445         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
14446         EXPR_WITH_FILE_LOCATION.
14447
14448 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
14449
14450         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
14451         in expander.
14452
14453         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
14454
14455         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
14456         updating code.
14457
14458 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
14459
14460         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
14461         default on linux64 again.
14462         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
14463         models for multilibing.
14464         * genmultilib: Accept | as alternative separator within a set in
14465         MULTILIB_OPTIONS.
14466
14467         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
14468
14469         * calls.c (precompute_arguments): Make sure initial_value contains
14470         value pseudo which CSE expects.
14471         * cse.c (struct set): New entry orig_src.
14472         (cse_insn): Set it early on entry, use it for libcall EQUIV note
14473         replacement.
14474
14475 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
14476
14477         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
14478
14479 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
14480
14481         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
14482
14483 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
14484
14485         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
14486         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
14487
14488         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
14489         if TARGET_ARCH32.
14490
14491         * longlong.h: Merge in changes from glibc.
14492         Also don't clobber %g2 register in 32bit SPARC assembly, so that
14493         -mno-app-regs libgcc can be compiled.
14494         * libgcc2.c: Add defines so that the updated longlong.h
14495         can be used in libgcc2.a. Also, make sure on most architectures
14496         (at least on all which have optimized code in longlong.h defined
14497         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
14498
14499 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14500
14501         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
14502         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
14503         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
14504         is GNU ld.
14505         * configure: Rebuilt.
14506
14507 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
14508
14509         * alpha.c (secondary_reload_class): For !BWX, sub-simode
14510         outputs require a register.
14511
14512 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
14513
14514         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
14515         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
14516         functions like dptoul will be resolved.
14517         (libgcc2.a): Make sure that the object files from DPBIT are named
14518         differently (prefix `_dp') from those that would be coming from
14519         FPBIT.
14520
14521 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
14522
14523         * configure.in: When target is sparc* and tm_file contains 64,
14524         test for 64bit support in assembler.  If not supported, remove
14525         sparc/t-sol2-64 from target-dependent Makefile fragments.
14526         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
14527         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
14528         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
14529         * acconfig.h (AS_SPARC64_FLAG): Added.
14530         * configure, config.in: Rebuilt.
14531         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
14532         support.  Use AS_SPARC64_FLAG.
14533
14534 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
14535
14536         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
14537         suitable for holding OFmode values so that gcc works with complex
14538         quad long doubles.
14539         (hard_64bit_mode_classes): Likewise.
14540
14541         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
14542         so that it is actually matched.
14543         (sethi_di_medlow): Likewise.
14544
14545         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
14546         as legitimate constant if -mvis.
14547         * config/sparc/sparc.md (movtf): Likewise.
14548         (clear_sf): Use const_double_operand.
14549         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
14550
14551         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
14552         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
14553         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
14554         routines, _Qp_* cannot be handled like that now.
14555         (INIT_TARGET_OPTABS): Likewise.
14556         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
14557         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
14558         sparc_emit_float_lib_cmp if ARCH64 and soft float.
14559         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
14560         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
14561         divtf3, sqrttf3): New expanders.
14562         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
14563         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
14564         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
14565         non-_hq patterns.
14566
14567         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
14568         * configure: Rebuilt.
14569         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
14570         -mcpu is given and we're doing 64bit compiles.
14571
14572 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
14573
14574         * loop.h (struct induction): Add multi_insn_incr.
14575         * loop.c (basic_induction_var): New multi_insn_incr argument.
14576         Set it if we search back through previous insns for the biv.
14577         (record_biv): New multi_insn_incr argument; fill in struct induction.
14578         (strength_reduce): Discard an iv with multiple bivs, any of
14579         which require multiple insns to increment.
14580
14581 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
14582
14583         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
14584         documentation.
14585
14586 1999-12-06  David S. Miller  <davem@redhat.com>
14587
14588         * combine.c (check_promoted_subreg): Do not conditionalize this upon
14589         PROMOTE_FUNCTION_RETURN.
14590
14591 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
14592
14593         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
14594         and handle REG_UNUSED note on insn.
14595
14596         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
14597         inner_mask instead of mask.
14598
14599 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
14600
14601         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
14602         zero if there was an error.
14603
14604 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
14605
14606         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
14607         output string.
14608
14609         * longlong.h: Fix clobbers in SPARC asm statements.
14610
14611         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
14612         valid sethi operations when TARGET_ARCH64.
14613
14614         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
14615         always use move_by_pieces to avoid infinite recursion.
14616         (restore_fixed_argument_area): Likewise.
14617
14618         * combine.c (check_promoted_subreg, record_promoted_value): New
14619         functions.
14620         (combine_instructions): Use them to retain nonzero and sign bit
14621         information after SUBREGs are eliminated by optimizations in
14622         this pass if PROMOTE_FUNCTION_RETURN.
14623
14624         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
14625         .register declaration. Don't use variables with __ prefixes.
14626
14627 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14628
14629         * fold-const.c (optimize_bit_field_compare): Only use one mode
14630         for both RHS and LHS in non-constant case.
14631
14632 1999-12-06  Nathan Sidwell  <nathan@acm.org>
14633
14634         * frame.c (start_fde_sort): Only allocate erratic array, if
14635         linear one was allocated. Return allocated flag.
14636         (fde_insert): Only insert, if there's a valid array.
14637         (fde_end_sort): Split, sort and merge if linear and erratic
14638         arrays exist, else just sort linear one.
14639         (search_fdes): New function. Linear search through original fde
14640         structure.
14641         (frame_init): Permit multiple initializations. Cope with
14642         memory shortages.
14643         (find_fde): Fallback on linear search, if failed to sort array.
14644         (__deregister_frame_info): Only free sorted array, if we
14645         allocated it.
14646
14647 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
14648
14649         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
14650
14651 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
14652
14653         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
14654
14655 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
14656
14657         * tree.h (special_function_p): Declare.
14658         * calls.c (special_function_p): Make it global.  Don't take `name'
14659         as a parameter.  Fix typo in 1999-11-28 change.
14660         (expand_cal): Adjust.
14661
14662 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
14663
14664         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
14665         * tree.h (EXPR_WFL_FILENAME): Define in terms of
14666         EXPR_WFL_FILENAME_NODE.
14667         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
14668         the TREE_CHAIN.
14669         * print-tree.c (print_note): Print TREE_PRIVATE and
14670         TREE_PROTECTED.
14671
14672         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
14673         the original die cannot be found.
14674
14675         * varray.h (varray_head_tag): Add elements_used.
14676         (VARRAY_PUSH): New macro.
14677         (VARRAY_POP): Likewise.
14678         (VARRAY_TOP): Likewise.
14679         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
14680         types.
14681         * varray.c (varray_init): Initialize elements_used.
14682         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
14683         (INTEGRATE_H): New variable.
14684         (integrate.o): Depend on INTEGRATE_H.
14685         (unroll.o): Likewise.
14686
14687         * function.h (insert_block_after_note): Declare.
14688         * function.c (insert_block_after_note): Split out from ...
14689         (retrofit_block): ... here.
14690
14691         * stmt.c (expand_fixup): Fix typo in comment.
14692
14693 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14694
14695         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
14696         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
14697         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
14698         (regmove_optimize, fixup_match_1): Likewise.
14699
14700 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14701
14702         * flow.c (flow_loops_dump): Add missing argument when calling
14703         flow_loop_nested_p.
14704
14705 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
14706             Greg McGary  <gkm@gnu.org>
14707
14708         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
14709         (init_attributes): Add A_NO_LIMIT_STACK.
14710         (decl_attributes): Handle A_NO_LIMIT_STACK.
14711         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
14712         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
14713         Handle stack bounds checking.
14714         * flags.h (flag_stack_check): Use the word 'probe' rather than
14715         'check', because the flag doesn't actually cause any checking to
14716         be done.
14717         * function.c (expand_function_start): Set
14718         current_function_limit_stack.
14719         * function.h (struct function): Add limit_stack.
14720         (current_function_limit_stack): Define.
14721         * invoke.texi (Code Gen Options): Document new options.
14722         * rtl.h: Declare stack_limit_rtx.
14723         * toplev.c (stack_limit_rtx): New variable.
14724         (decode_f_option): Handle new options -fstack-limit-register=REG,
14725         -fstack-limit-symbol=IDENT, -fno-stack-limit.
14726         (main): Add stack_limit_rtx as GC root.
14727         * tree.h (DECL_NO_LIMIT_STACK): New macro.
14728         (struct tree_decl): New member no_limit_stack.
14729
14730         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
14731         stack_limit_rtx.
14732         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
14733         (conditional_trap+1): Get new mnemonic correct.
14734         (conditional_trap+2): New pattern for DImode traps.
14735
14736         * config/m68k/m68k.c (output_function_prologue): Handle
14737         stack_limit_rtx.
14738         * config/m68k/m68k.md (trap): New insn.
14739         (conditional_trap): New insn.
14740         * md.texi (Standard Names): Document `trap' and
14741         `conditional_trap'.
14742         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
14743         so a cc0 setter doesn't get emitted at some random place in the
14744         function.
14745
14746         * config/i960/i960.md (trap): New insn.
14747         (conditional_trap): New expander.
14748         (conditional_trap+1, conditional_trap+2): New insns for signed
14749         and unsigned cases.
14750         * config/i960/i960.c (i960_function_prologue): Use
14751         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
14752
14753 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
14754                           Geoffrey Keating  <geoffk@cygnus.com>
14755
14756         * flags.h (warn_padded, warn_packed): Add global var decls.
14757         * toplev.c (warn_padded, warn_packed): Add global var defns.
14758         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
14759         * stor-layout.c (layout_record): Add local variable `type'
14760         to hold often-used TREE_TYPE (field).  Add local variable
14761         `unpacked_align' to hold alignment that would be in force
14762         if no `packed' attribute were present.  Warn if `packed' attribute
14763         is unnecessary, or even harmful.  Warn when gcc inserts padding
14764         to satisfy alignment requirements of members.  Use NULL_TREE
14765         when checking whether var_size is set.
14766         * invoke.texi: Document new flags.
14767
14768 1999-12-03  Nathan Sidwell  <nathan@acm.org>
14769
14770         * frame.c (fde_split): Reimplement to avoid variable sized array.
14771
14772 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14773
14774         * combine.c (try_combine): Before fixing up LOG_LINKS for the
14775         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
14776
14777 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
14778
14779         * invoke.texi: Document the mips option -mno-crt0
14780
14781 1999-12-02  Mike Karr  <mkarr@mathworks.com>
14782
14783         * cccp.c (argdata): Added free_ptr member.
14784         (macroexpand): Initialize free_ptr of each argument. When an
14785         argument's buffers are freed, if the argument's free_ptr corresponds
14786         to a buffer on the input stack, then return the free_ptr to that stack
14787         frame, otherwise, free it.
14788         (macarg): If an argument begins and ends on the same input stack level,
14789         then transfer the free_ptr of that buffer to the argument in case
14790         the stack is popped during the processing of a subsequent argument.
14791
14792 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
14793
14794         * loop.c (note_reg_stored): New function.
14795         (struct note_reg_stored_arg): New structure.
14796         (try_copy_prop): Change to be more conservative; only replace within
14797         one extended basic block and stop replacing if a store to the
14798         replacement reg is seen.
14799
14800 1999-12-02  Nick Clifton  <nickc@cygnus.com>
14801
14802         * config/fp-bit.c: Initialise all fields of the NAN
14803         constants.
14804
14805         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
14806         to HANDLE_PRAGMA.
14807
14808 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
14809
14810         * i386.md (extend?f?f2): Force the input into a register, not
14811         the output.
14812
14813 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
14814
14815         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
14816         regclass' sake.
14817         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
14818         alternative because setting up 64bit constant is usually costly,
14819         especially when reload is in progress or completed.
14820         (movdf_const_intreg_sp64): Likewise.
14821         (movdf_const_intreg split): Fix building up constants when
14822         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
14823
14824 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
14825
14826         * combine.c (if_then_else_cond): Use const_true_rtx instead of
14827         const1_rtx for return values in EQ/NE comparison against (const_int 0)
14828         case.
14829
14830         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
14831         (asm_file_start): Emit .am33 into assembly file when compiling for
14832         the AM33.
14833         (print_operand_address): Handle POST_INC addresses.
14834         (can_use_return_insn, initial_offset): Check AM33 registers too.
14835         (expand_prologue): Check & save AM33 registers too.
14836         (expand_epilogue): Similarly.
14837         (secondary_reload_class): Handle AM33 specific secondary reloads.
14838         (output_tst): Emit efficient code for the AM33 too.
14839         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
14840         (TARGET_SWITCHES): Add -mam33 switch.
14841         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
14842         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
14843         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
14844         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
14845         (enum reg_class, REG_CLASS_NAMES): Likewise.
14846         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
14847         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
14848         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
14849         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
14850         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
14851         (HAVE_POST_INCREMENT): Define.
14852         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
14853         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
14854         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
14855         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
14856         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
14857         (zero_extend to SI from QI/HI): Likewise.
14858         (sign_extend to SI from QI/HI): Likewise.
14859         (mulsidi3, umulsidi3): New patterns for the AM33.
14860         (tstsi with zero extension from QI/HI): Add AM33 variants.
14861         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
14862         (return_internal_regs, store_movm): Handle new AM33 registers.
14863         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
14864         (LIBGCC, INSTALL_LIBGCC): Likewise.
14865         * invoke.texi: Document new flags.
14866
14867 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14868
14869         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
14870         (addsi3_carry): Likewise.
14871         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
14872         (sbbsi3_carry): Likewise.
14873         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
14874         (mulhi3): Likewise.
14875         (test?i_1): Ensure that only one operand is memory.
14876         (conditional move patterns): likewise.
14877         (shift and rotate patterns): Rewrite to expander, add
14878         "binary_operator_ok" to the condition.
14879
14880         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
14881         * i386.h (procesor_costs): Add movzbl_load field.
14882         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
14883         non-Q registers, accept DImode registers anywhere.
14884         (Q_CLASS_P): New.
14885         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
14886         * i386.c (*_cost): Set value for movxbl_load field.
14887
14888         * (addsi): New add to lea splitter.
14889         (ashlsi): Likewise.
14890         (lea to add/shift peep2): New.
14891
14892 1999-12-01  Mark Salter <msalter@cygnus.com>
14893
14894         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
14895         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
14896         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
14897
14898 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14899
14900         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
14901         * i386.md (movsi_xor): New.
14902         (movsi_or): New.
14903         (movsi_1, movhi_1, movqi_1): Remove.
14904         (movsi_2): Rename to movsi_1.
14905         (movhi_2): Rename to movhi_1.
14906         (movqi_2): Rename to movqi_1.
14907         (movdi_1): Remove; remove splitter.
14908         (movdi_2): Rename to movdi_1.
14909         (divmodsi4 splitter): Do not emit clobbers for move patterns.
14910         (long move peep2): Do not create QI or HI mode mov0s
14911         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
14912
14913         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
14914         rewrite splitters.
14915
14916         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
14917         (abs?f2_if): Likewise.
14918
14919 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
14920
14921         * ggc.h (ggc_test_and_set_mark): New macro.
14922         (ggc_mark_rtx): Use ggc_test_and_set_mark.
14923         (ggc_mark_tree): Likewise.
14924         (ggc_mark_rtvec): Likewise.
14925         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
14926
14927 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
14928
14929         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
14930         containing types.
14931         (decl_scope_table): Just an array of trees now.
14932         (push_decl_scope): Simplify.
14933         (dwarf2out_init): Adjust.
14934         (local_scope_p): New fn.
14935         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
14936         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
14937         (gen_typedef_die): Likewise.
14938         (gen_lexical_block_die): Don't call push/pop_decl_scope.
14939         (gen_inlined_subroutine_die): Likewise.
14940         (gen_abstract_function): Set current_function_decl temporarily.
14941         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
14942         Handle block extern declarations.  Don't call push/pop_decl_scope.
14943         (gen_decl_die): Fix logic for block externs.
14944
14945 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14946
14947         * calls.c (special_function_p): Remove `realloc' and add `strdup'
14948         to the list of functions which have attribute malloc by default.
14949
14950 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14951
14952         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
14953         integer constant does not match the traditional type, limit the
14954         warnings to cases where the base of the type is ten.
14955
14956         * invoke.texi (-Wtraditional): Document it.
14957
14958 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14959
14960         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
14961         * rs6000.md: Only access a CONST_INT with INTVAL
14962
14963 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
14964
14965         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
14966         (compute_nearerout): Likewise.
14967         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
14968         size_t to unsigned long for formatting.
14969
14970 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
14971
14972         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
14973         Allow the user to override call-used/fixed state of %g2-5
14974         registers from the command line (with the exception of %g4 for
14975         embedded model).
14976         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
14977         there is a higher chance of having a leaf function.
14978         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
14979         for ARCH64 which has %ccr register.
14980         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
14981         patterns.
14982         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
14983         insn accept into delay slot any insn which does not use %[ol]
14984         registers.  Accept some LO_SUM and shift left by 1 for the normal
14985         restore case.
14986         (output_function_epilogue): Likewise.
14987         (epilogue_renumber): Added argument which inhibits any renumbering
14988         and just tests if the rtx does not use any %[ol] registers.
14989         (output_return): Reflect above change.
14990
14991 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
14992
14993         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
14994         aggregate passing for sizes <= 16 bytes.
14995
14996 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
14997
14998         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
14999         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
15000         * reload.c (find_dummy_reload): Likewise.
15001         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
15002         * reload1.c (reload_as_needed): Likewise.
15003         * stupid.c (stupid_find_reg): Likewise.
15004         * tm.texi (Obsolete Register Macros): Delete section.
15005         * gmicro.h: Remove all traces of the two macros.
15006         * i386.h: Likewise.
15007         * m88k.h: Likewise.
15008         * mips.h: Likewise.
15009
15010 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
15011
15012         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
15013         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
15014         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
15015         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
15016         units for the sparclite86x chip.
15017         (flush): Revert October 14th change; add SImode specifically.
15018         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
15019         * invoke.texi: Document it.
15020
15021 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
15022
15023         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
15024         psimode_truncation_operand.
15025
15026         * config/mn10200/mn10200.c (psimode_truncation_operand): New
15027         function.  Return true if the operand is either a MEM valid
15028         for a PSImode address or not a MEM at all.
15029
15030         * config/mn10200/mn10200.md (truncsipsi2): Use
15031         psimode_truncation_operand.
15032
15033 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15034
15035         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
15036         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
15037         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
15038         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
15039         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
15040         (flow_loop_level_compute, low_loops_level_compute): Likewise.
15041         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
15042         * basic-block.h: Protect from multiple inclusion.
15043         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
15044         (struct loops, struct loop): Define structures.
15045         * sbitmap.c (sbitmap_a_subset_b_p): New function.
15046         * sbitmap.h: Protect from multiple inclusion.
15047         (sbitmap_a_subset_b_p): Add prototype.
15048         * Makefile.in (LOOP_H): New macro.
15049         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
15050
15051 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
15052
15053         * cppinit.c (CAT): The argument list of this macro may not contain
15054         spaces !
15055
15056 1999-11-29  David S. Miller  <davem@redhat.com>
15057
15058         Move quantity tables and register equivalence chains into
15059         per-qty and per-register structure arrays respectively.
15060         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
15061         qty_const_insn, qty_comparison_code, qty_comparison_const,
15062         qty_comparison_qty): Delete, replace with...
15063         (qty_table): this structure table.
15064         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
15065         (reg_eqv_table): this structure table.
15066         (make_new_qty): Add argument MODE.  Caller updated.
15067         Update to use qty_table and reg_eqv_table.
15068         (make_regs_eqv, delete_reg_equiv, insert_regs,
15069         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
15070         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
15071         cse_process_notes, cse_main, cse_basic_block): Likewise.
15072
15073 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15074
15075         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
15076         operation if C is negative.
15077         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
15078         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
15079         law for some divisions if constant is negative and change other
15080         divisions to the opposite rounding.
15081
15082         * expr.c (store_constructor_field): If bit position is not multiple
15083         of alignment of TARGET's mode, use BLKmode.
15084
15085         * expr.c (expand_expr_unaligned): Add more code from full case
15086         that is needed when OP0 is in a register.
15087
15088 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15089
15090         * dwarfout.c (field_byte_offset): Size can be zero if there was
15091         an error.
15092
15093 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
15094
15095         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
15096         (associate_trees): Delete unused var TEM.
15097         (extract_muldiv): Delete unused var CANCEL_P.
15098
15099         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
15100         (target_isinf, target_isnan, target_negative): Add return types to
15101         function definitions.
15102
15103 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
15104
15105         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
15106         * fixinc/hackshell.tpl: ditto
15107         * fixinc/fixtests.c(double_slash_test): more C++ header testing
15108         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
15109
15110 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
15111
15112         * reload.c (push_reload): When looking for a register to put into
15113         reg_rtx, make sure all hard regs in a multi-reg register are in the
15114         right class and nonfixed.
15115
15116         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
15117         pending_read_insns, pending_write_insns, pending_read_mems,
15118         pending_write_mems, pending_list_length, last_pending_memory_flush,
15119         last_function_call, sched_before_next_call): Move static variables
15120         into a structure.
15121         (bb_ prefixed versions): Replace with single array bb_deps.
15122         (struct deps): New structure.
15123         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
15124         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
15125         argument of type "struct deps *"; use that instead of global
15126         variables.  All callers changed.
15127         (init_rgn_data_dependencies): Delete function.
15128         (init_rtx_vector): Delete function.
15129         (init_deps): New function.
15130
15131         (free_pending_lists): Simplify, we always use the bb_deps array even
15132         if only one basic block.
15133         (compute_block_backward_dependences): Likewise.
15134         (schedule_region): Likewise.
15135
15136         (propagate_deps): New function, broken out of
15137         compute_block_backward_dependences.
15138         (compute_block_backward_dependences): Use it.
15139
15140         * alpha.md: Delete useless patterns that tried to work around
15141         register elimination problems.
15142
15143         * unroll.c (loop_iterations): Don't abort if iteration variable
15144         was made by loop.
15145
15146         From Joern Rennecke:
15147         * reload1.c (reloads_conflict): Reverse test comparing operand
15148         numbers when testing for conflict between output/outaddr reloads.
15149
15150 1999-11-29  David S. Miller  <davem@redhat.com>
15151
15152         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
15153         arg.
15154         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
15155
15156 1999-11-28  Robert Lipe  <robertl@cygnus.com>
15157
15158         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
15159         table from .fini into .dtor.
15160
15161 1999-11-28  Anthony Green  <green@cygnus.com>
15162
15163         * tree.h (struct tree_decl): Add malloc_flag.
15164         (DECL_IS_MALLOC): Define.
15165         * c-common.c (attrs): Add A_MALLOC attribute.
15166         (init_attributes): Add this attribute to the table.
15167         (decl_attributes): Handle malloc attribute.
15168         * calls.c (special_function_p): Check for the malloc attribute.
15169         * extend.texi (Function Attributes): Document malloc attribute.
15170
15171 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
15172
15173         * pa.md (reload shift-add patterns): Remove.
15174
15175 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15176
15177         * reorg.c (dbr_schedule) Print more statistics. Corrected
15178         problem when printing info when 3 delay slots are filled.
15179
15180 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
15181
15182         * combine.c (setup_incoming_promotions): Pass an outgoing
15183         regno to FUNCTION_ARG_REGNO_P which it expects.
15184
15185 1999-11-28  Andreas Jaeger  <aj@suse.de>
15186
15187         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
15188
15189 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
15190
15191         * cccp.c (do_include): Avoid initialization of automatic variable.
15192
15193         * integrate.c (mark_stores): Function definition made void, to match
15194         previous declaration.
15195         * regclass.c (dump_regclass): Ditto.
15196         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
15197
15198 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15199
15200         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
15201         known to be multiple of divisor.
15202
15203         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
15204
15205         * combine.c (try_combine): Add code to try to merge a set of a
15206         two-word pseudo to a constant with a setting of one of those words
15207         to a constant.
15208
15209         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
15210         (split_tree): Completely rework to make more general.
15211         (make_range, fold): Call negate_expr.
15212         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
15213         (fold, associate): Call new split_tree and associate_trees.
15214         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
15215
15216 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
15217
15218         * loop.c (try_copy_prop): Avoid GNU C extension.
15219
15220 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15221
15222         * except.c (init_eh_for_function): Still zero eh_return_context,
15223         eh_return_stack_adjust, and eh_return_handler.
15224
15225         * except.h (eh_status): Adjust documentation for x_protect_list.
15226         (begin_protect_partials): New function.
15227         * except.c (enqueue_eh_entry): Fix formatting.
15228         (get_first_handler): Add consistency check.
15229         (add_partial_entry): Adjust usage of protect_list.
15230         (emit_cleanup_handler): Save and restore ehqueue.
15231         (expand_start_all_catch): Add comment.
15232         (begin_protect_partials): New function.
15233         (end_protect_partials): Adjust usage of protect_list.
15234         (init_eh_for_function): Use xcalloc.
15235
15236 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15237
15238         * c-common.c (check_format_info): Don't call a variadic function
15239         with a non-literal format string.
15240
15241         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
15242
15243         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
15244         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
15245         Likewise.
15246
15247         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
15248         Likewise.
15249
15250         * collect2.c (collect_wait): Likewise.
15251
15252         * dbxout.c (dbxout_type): Likewise.
15253
15254         * gcc.c (do_spec_1): Likewise.
15255
15256         * genemit.c (gen_insn, gen_expand): Likewise.
15257
15258         * genrecog.c (write_switch, write_subroutine): Likewise.
15259
15260         * mips-tfile.c (catch_signal, botch): Likewise.
15261
15262         * print-rtl.c (print_rtx): Likewise.
15263
15264         * toplev.c (default_print_error_function, report_error_function,
15265         _fatal_insn): Likewise.
15266
15267 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15268
15269         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
15270
15271 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15272
15273         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
15274         operations when needed.
15275         * i386.md (fop_?f_comm): New.
15276         (fop_?f_1): Do not accept commutative operands.
15277
15278 1999-11-25  Andreas Jaeger  <aj@suse.de>
15279
15280         * config/mips/mips.md (casesi_internal): Add missing brace.
15281
15282 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
15283
15284         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
15285         (splice_child_die): Handle moving a child DIE from the declaration
15286         DIE of a class to its specification.
15287         (gen_struct_or_union_type_die): Use 'complete' consistently.
15288         (gen_decl_die): Generate the virtual context DIE first.
15289         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
15290
15291 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
15292
15293         * config/mips/mips.md (call_value_multiple_interanal1): New.
15294
15295 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
15296
15297         * dwarf2out.c (free_AT, free_die): New fns.
15298         (remove_children): Call them.
15299         (output_line_info): Disable removal of duplicate notes.
15300
15301         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
15302         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
15303         means pretend the type isn't defined.
15304         Don't defer emitting types.
15305         (gen_type_die_for_member): New fn.
15306         (gen_decl_die): Call it.
15307         (splice_child_die): New fn.
15308         (gen_member_die): Call it rather than generate duplicate dies.
15309
15310         Defer emitting information for the abstract instance of an inline
15311         until we either inline it or emit an out-of-line copy.
15312         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
15313         from output_inline_function if DECL_ABSTRACT is also set.
15314         (block_ultimate_origin): Likewise.
15315         (gen_abstract_function): New fn.
15316         (gen_decl_die, gen_inlined_subroutine_die): Call it.
15317         (gen_subprogram_die):  An abstract instance is not a declaration
15318         just because it doesn't match current_function_decl.  Don't abort
15319         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
15320         has an abstract origin.
15321         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
15322         abstract instance here.
15323
15324 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
15325
15326         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
15327         where we need to reload fpul from a system register.
15328
15329 1999-11-24  Andreas Jaeger  <aj@suse.de>
15330
15331         * config/mips/linux.h (CPP_PREDEFINES): Added.
15332         (LINK_SPEC): Remove -Y since this is only needed on sparc.
15333
15334 1999-11-24  Andreas Jaeger  <aj@suse.de>
15335
15336         * config/mips/linux.h (TARGET_VERSION): Added.
15337         (HANDLE_SYSV_PRAGMA): Added.
15338         (DEFAULT_VTABLE_THUNKS): Added.
15339
15340 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15341
15342         * local-alloc.c (qty): New structure and static variable.
15343         (qty_phys_reg): Remove, all references changed to qty.
15344         (qty_n_refs): Likewise.
15345         (qty_min_class): Likewise.
15346         (qty_birth): Likewise.
15347         (qty_death): Likewise.
15348         (qty_size): Likewise.
15349         (qty_mode): Likewise.
15350         (qty_n_calls_crossed): Likewise.
15351         (qty_alternate_class): Likewise.
15352         (qty_changes_size): Likewise.
15353         (qty_first_reg): Likewise.
15354         (alloc_qty): Rename variable QTY to QTYNO.
15355         (finf_free_reg): Likewise.
15356         (local_alloc): Allocate qty, do not allocate the removed variables.
15357
15358 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
15359
15360         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
15361         when -membedded-pic is passed.
15362
15363         * config/mips/mips.md (casesi): Handle 64-bit case too.
15364         (casesi_internal_di): New insn.
15365
15366         * config/mips/mips.c (embedded_pic_offset): Always make the
15367         embedded-pic subtractions relative to the name of the current
15368         function by use of the magic string "..CURRENT_FUNCTION".
15369         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
15370
15371 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
15372
15373         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
15374         of (const_int 0), when what we really care about is
15375         whether it's a zero constant anyway.
15376         (div_trap_mips16): Likewise.
15377
15378 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
15379
15380         * loop.c (loop_optimize): Always find_loop_tree_blocks and
15381         unroll_block_trees when generating debuggable code.
15382
15383         * tree.h (unsave_expr_1): New function.
15384         (lang_unsave): New variable.
15385         (get_callee_fndecl): New function.
15386         * tree.c (unsave_expr_now_r): New function.
15387         (lang_unsave): Define.
15388         (unsave_expr_1): Likewise.
15389         (unsave_expr_now_r): Split out from unsave_expr_now.
15390         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
15391         call unsave_expr_now_r.
15392         (get_callee_fndecl): Define.
15393
15394         * Makefile.in (gencheck): Don't depend on lang_tree_files.
15395         (gencheck.o): Do depend on lang_tree_files.
15396
15397         * integrate.h (copy_decl_for_inlining): New declaration.
15398         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
15399         (copy_decl_for_inlining): New function.
15400         (integrate_parm_decls): Use it.
15401         (integrate_decl_tree): Likewise.
15402
15403 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
15404
15405         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
15406         the second two from the first.
15407         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
15408         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
15409         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15410         ISA_HAS_FP4.
15411         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
15412         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15413         ISA_HAS_FP4.
15414
15415 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
15416
15417         * pa.md (call_internal_symref, call_value_internal_symref): No mode
15418         needed on the address operand.
15419         * pa.c (call_operand_address): Check for the correct mode.
15420
15421 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
15422
15423         * loop.c: Include "basic-block.h".
15424         (try_copy_prop, replace_loop_reg): New functions.
15425         (load_mems): Detect registers that just hold copies of the hoisted
15426         mem, and call try_copy_prop to eliminate them.
15427         * Makefile.in (loop.o): Update dependencies.
15428
15429 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
15430
15431         * Makefile.in (gencheck.o): Depend on gencheck.h.
15432         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
15433         (insn-peep.o): Depend on except.h and function.h.
15434         (insn-attrtab.o): Depend on RECOG_H.
15435         (insn-output.o): Depend on toplev.h and flags.h.
15436         (gengenrtl.o): Depend on real.h.
15437         (gen-protos.o): Depend on cpplib.h and cpphash.h.
15438         Unify all dependencies to be on RECOG_H rather than recog.h.
15439
15440 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15441
15442         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
15443         * configure.in: Try building a bi-arch 32/64-bit compiler on
15444         sparc-*-solaris2.7 and higher.
15445         * configure: Rebuild.
15446
15447 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
15448
15449         * config/freebsd.h: New, FreeBSD architecture independent file.
15450         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
15451         independent pieces.
15452         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
15453         directly by i386/freebsd.h.
15454         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
15455         independent configuration file.
15456         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
15457         directly by i386/freebsd.h.
15458         * configure: Rebuilt.
15459
15460         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
15461         which is in the user's namespace.
15462         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
15463         `i386' which is not in our namespace.
15464
15465 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
15466
15467         * invoke.texi (ARM Options): Add in -mno-alignment-traps
15468
15469 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
15470
15471         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
15472         (add_dwarf_attr, add_child_die): Just push onto the front.
15473         (reverse_die_lists): New fn.
15474         (add_sibling_attributes): Use it.
15475         (push_decl_scope): Reorganize.
15476         (add_name_and_src_coords_attributes): Don't set file and line for
15477         an artificial decl.
15478         (gen_subprogram_die): An artificial function doesn't need to match
15479         file and line.
15480         (gen_compile_unit_die): Return the generated die.  Only add
15481         AT_comp_dir if the filename is relative.
15482         (remove_AT): Simplify loop.  Also free string values.
15483         (output_die): A DIE ref can't be null.
15484         (output_value_format, value_format): Take a dw_attr_ref.
15485         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
15486         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
15487         AT_addr, AT_lbl): New fns.
15488         (various): Use them.
15489         (various): Constify.
15490
15491 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15492
15493         * combine.c (combine_simplify_rtx): When handling a SUBREG,
15494         take SUBREG_WORD into account.
15495         (if_then_else_cond): Likewise.
15496
15497 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
15498
15499         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
15500         clause from BSD license, pursuant with
15501
15502           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
15503
15504 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
15505
15506         * loop.c (load_mems): Reformat slightly.
15507         * basic-block.h (regset_head): New typedef.
15508         (INIT_REG_SET): New macro.
15509
15510 1999-11-22  Bruce Korb  <autogen@linuxbox.com
15511
15512         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
15513         (mips-dec-bsd*): non-functional code
15514         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
15515
15516         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
15517         added three replacement fixes
15518         (no_double_slash): removed comments that are not (any longer) pertinent
15519         (bad_lval): this fix currently runs against many files.
15520         The comment seems to indicate that we should select for files
15521         containing 'pragma extern_prefix'.
15522
15523         * fixinc/fixinc.x86-linux-gnu: deleted
15524         * fixinc/inclhack.sh:  regen
15525         * fixinc/fixincl.x:  regen
15526         * fixinc/fixincl.sh:  regen
15527
15528 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
15529
15530         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
15531         its code is INSN and it has no notes.
15532
15533 1999-11-22  Andrew Haley  <aph@cygnus.com>
15534
15535         * varasm.c (function_defined): Remove.
15536         (make_function_rtl): Don't set function_defined.
15537         (make_decl_rtl): Remove global register warning.
15538         * regclass.c (no_global_reg_vars): New variable.
15539         (globalize_reg): Warn if function has already been defined.
15540         (regclass_init): Set no_global_reg_vars.
15541
15542 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15543
15544         * regclass.c (reg_pref): New structure and static variable
15545         (prefclass): Delete.
15546         (altclass): Delete.
15547         (all uses of prefclass and altclass): Use reg_pref instead.
15548
15549 1999-11-21  Nick Clifton  <nickc@cygnus.com>
15550
15551         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
15552         -malignment-traps.
15553         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
15554         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15555         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15556
15557 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
15558
15559         * varasm.c (output_constructor): Solve problem with long long
15560         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
15561
15562 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15563
15564         * global.c (allocno): New structure and static variable.
15565         (allocno_reg): Remove, all references replaced by allocno.
15566         (allocno_size): Likewise.
15567         (hard_reg_conflicts): Likewise.
15568         (hard_reg_preferences): Likewise.
15569         (hard_reg_copy_preferences): Likewise.
15570         (hard_reg_full_preferences): Likewise.
15571         (regs_someone_prefers): Likewise.
15572         (allocno_calls_crossed): Likewise.
15573         (allocno_n_refs): Likewise.
15574         (allocno_live_length): Likewise.
15575         (find_reg): Rename ALLOCNO to NUM.
15576
15577         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
15578         references updated.
15579         (may_move_out_cost): New variable.
15580         (init_reg_sets_1): Initialize may_move_out_cost.
15581         (record_reg_classes): Use may_move_out_cost.
15582
15583         * regclass.c (dump_regclass): New function.
15584         (regclass): New parameter DUMP, call DUMP_REGCLASS.
15585         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
15586         pass rtl_dump_file to regclass.
15587         * rtl.h (regclass): Update prototype.
15588
15589 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15590
15591         * i386.md (neg, not and abs patterns): Revmap to use
15592         ix86_expand_unary_operator and ix86_unary_operator_ok.
15593         (add?f and sub?f expanders): Force operand 1 to register.
15594         * i386.c (ix86_expand_unary_operator): Rewrite.
15595         (ix86_unary_operator_ok): Ensure that memory operands
15596         match real opcode.
15597         (ix86_binary_operator_ok): Do not allow operand 1 to
15598         come into memory and operand 0 not.
15599         (ix86_expand_binary_operator): Ensure that
15600         src1 is not non-matching memory.
15601
15602         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
15603         to support integer registers and memory.
15604         (abss?2_integer): Likewise.
15605
15606         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
15607         (REG_CLASS_NAMES): Likewise.
15608         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
15609         and GENERAL_REGS.
15610         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
15611         (movsf): Likewise; unify 4th and 5th alternative.
15612         (pushdf): Likewise.
15613         (movdf_1): Likewise; rename to movdf_integer.
15614         (pushxf): Likewise; rename to pushxf_integer; fix output template;
15615         remove redundant splitter.
15616         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
15617         (movdf_nointeger): New.
15618         (movxf_nointeger): New.
15619         (pushxf_nointeger): New.
15620
15621         * i386.md (extend?f?f): Split to expander and pattern, refuse two
15622         memory operands in patterns.
15623         (fop*): Refuse two memory operands.
15624
15625         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
15626         on !TARGET_USE_CLTD CPUs.
15627
15628 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
15629
15630         * extend.texi: Document C++ restricted pointers and references.
15631
15632 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
15633
15634         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
15635         (invalidate_skipped_set): Call it unconditionally.
15636         (cse_set_around_loop): Likewise.
15637
15638 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
15639
15640         * rtl.texi (mem): Add documentation for alias-set argument
15641         to RTX `mem'.
15642
15643 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15644
15645         * i386.h (struct_processor_costs): New fields int_load, int_store,
15646         fp_move, fp_load and fp_store
15647         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
15648         fp->int moves
15649         (MEMORY_MOVE_COST): New macro.
15650         * i386.c (386_cost): Define new fields.
15651         (i486_cost): Likewise.
15652         (pentium_cost): Likewise.
15653         (pentiumpro_cost): Likewise.
15654         (k6_cost): Likewise.
15655
15656 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
15657                           Geoffrey Keating  <geoffk@cygnus.com>
15658
15659         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
15660
15661         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
15662         MASK_ALIGN_INT.
15663
15664         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
15665         (TARGET_STRICT_ALIGNMENT): New macro.
15666         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
15667         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
15668         * invoke.texi (M680x0 Options): Document -mstrict-align.
15669
15670 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
15671                           Richard Henderson  <rth@cygnus.com>
15672
15673         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
15674         (ix86_split_long_move): Declare.
15675         * i386.c (split_xf, ix86_split_movdi): Remove.
15676         (ix86_split_to_parts, ix86_split_long_move): New.
15677         * i386.md (dimode move splitters): Use ix86_split_long_move.
15678         (dfmode move splitters): Likewise.
15679         (xfmode move splitters): Likewise.
15680         (movsf_1): Allow F->r.
15681         (movdf_1, movxf_1): Allow F->ro.
15682
15683 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
15684
15685         * except.h (struct eh_entry): Add goto_entry_p.
15686         (eh_region_from_symbol): Remove prototype.
15687         * except.c (find_func_region_from_symbol): New function.
15688         (emit_cleanup_handler): Likewise.
15689         (eh_region_from_symbol): Make it static.
15690         (add_new_handler): Verify the argument.
15691         (find_func_region): Update comment.
15692         (expand_eh_region_end): Expand handlers here, rater than waiting
15693         until expand_leftover_cleanups or start_all_catch.
15694         (expand_leftover_cleanups): Don't expand here.
15695         (expand_start_all_catch): Or here.
15696         (expand_rethrow): Check the return value from find_func_region.
15697         * function.c (expand_function_end): Emit the catch_clauses.
15698
15699 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
15700
15701         * integrate.c (expand_inline_function): Add necessary check for NULL.
15702
15703 1999-11-18  Nick Clifton  <nickc@cygnus.com>
15704
15705         * toplev.c (main): Correctly detect an unrecognised option.
15706
15707         * cppinit.c (cpp_handle_option): Do not claim to have consumed
15708         a -f option if it has not been recognised.
15709
15710 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
15711
15712         * basic-block.h (update_life_extent): Remove trailing comma on
15713         enumeration type list.
15714
15715 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15716
15717         * varasm.c (output_constructor) Solved problem with long long
15718         bitfields. Corrected calculating this_time and shift. Also
15719         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
15720
15721 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
15722
15723         * flow.c (split_edge): Take looping structure into account when
15724         determining where to put the new block note.
15725
15726 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
15727
15728         * Makefile.in (ggc-none.o): Provide host specific version if
15729         needed.
15730
15731 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
15732
15733         * cse.c (delete_trivially_dead_insns): Identify no-op insns
15734         containing subregs too.
15735
15736 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
15737
15738         * invoke.texi: Add documentation for -muninit-const-in-rodata.
15739         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
15740         (TARGET_UNINIT_CONST_IN_RODATA): Define.
15741         (text_section): Add switches -munint-const-in-rodata and
15742         -mno-uninit-const-in-rodata.
15743         (ASM_OUTPUT_COMMON): Remove.
15744         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
15745         const objects should be placed in read-only data. Otherwise declare
15746         them in common.
15747
15748 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
15749
15750         * jump.c (jump_optimize_1): Revert last change.
15751
15752 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
15753
15754         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
15755         test if optimizing for size.
15756
15757 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
15758
15759         * Makefile.in (toplev.o): Depend on except.h.
15760         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
15761
15762 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15763
15764         * i386.md (divmodsi4): Rewrite to expander.
15765         (*divmodsi4_nocltd): New.
15766         (*divmodsi4_cltd): New.
15767         (divmodsi4 splitter): Handle the case when input comes in edx.
15768         (udivmodhi4): Do not use constraints in exander.
15769         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
15770
15771 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
15772
15773         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
15774         for the common case.
15775
15776 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
15777
15778         * explow.c (hard_function_value): Add outgoing argument.
15779         * expr.h (hard_function_value): Declare it.
15780         * calls.c (expand_call, emit_library_call_value): Update callers.
15781         * function.c (aggregate_value_p): Ditto.
15782         (diddle_return_value): Must look at the outgoing registers
15783         on archs with register windows.
15784
15785 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
15786
15787         * alpha.c (alpha_build_va_list): Use make_lang_type and
15788         initialize TYPE_NAME for the va_list record.
15789
15790         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
15791
15792         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
15793         for printing.
15794         * ggc.h (struct ggc_statistics): Rearrange elements for better
15795         packing on 64-bit hosts.
15796         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
15797         (compute_nearerout): Likewise.
15798
15799 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
15800
15801         * config/rs6000/rs6000.c (first_reg_to_save): Save
15802         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
15803
15804 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
15805
15806         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
15807         notion of nesting to find the DIE for a type or function.
15808         DIEs can go in limbo even if we got a context_die.
15809         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
15810         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
15811         for local type.
15812         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
15813         (gen_type_die): Writing out the context doesn't cause member class
15814         template instantiations to be written out as well.
15815
15816 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
15817
15818         * rs6000.h (ASM_OUTPUT_DEF): New.
15819         Based on proposed addition from David Edelsohn.
15820
15821 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
15822             Bruce Korb  <autogen@linuxbox.com>
15823
15824         * fixinc/inclhack.def
15825         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
15826         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
15827                 in net/inet.h.
15828         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
15829         (svr4_endian): enabled with SVR5
15830         (svr4_mkdev): simplified syntax and enabled with SVR5
15831
15832 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
15833
15834         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
15835         * configure: Rebuilt.
15836         * config/t-freebsd-thread: New file.
15837
15838 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
15839
15840         * i386.c (ix86_decompose_address): Verify the base is a REG
15841         before trying to examine its register number.
15842
15843         * basic-block.h: Remove all #defines and prototypes related to
15844         integer lists.
15845         (free_bb_mem, compute_preds_succs): Remove prototype.
15846         * rtl.h (free_bb_mem): Remove prototype.
15847         * flow.c (alloc_int_list_node); Remove function.
15848         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
15849         (compute_preds_succs, free_bb_mem): Likewise.
15850         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
15851         * toplev.c (rest_of_compilation): Likewise.
15852         * haifa-sched.c (build_control_flow): Use flow generated edge
15853         list to build the haifa specific edge list.
15854         (find_rgns): Use new CFG data structures instead of pred/succ lists.
15855         (schedule_insns): Do not build pred/succ lists anymore.  Instead
15856         build the edge table.
15857
15858         * basic-block.h (dump_bb_data): Remove declaration.
15859         * flow.c (dump_bb_data): Remove function.
15860         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
15861         (sbitmap_union_of_predsucc): Likewise.
15862
15863         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
15864         argument.  All callers changed.
15865         (delete_null_pointer_checks_1): No longer need to compute the
15866         pred/succ lists.
15867
15868         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
15869         All callers changed.
15870         (pre_expr_reaches_here_p_work): Likewise.
15871         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
15872         * lcm.c (compute_laterin): Fix initialization of LATER.
15873         (compute_nearerout): Similarly for NEARER.
15874
15875 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15876
15877         * cse.c (set_nonvarying_address_components): Delete unused function.
15878         (refers_to_p): Likewise.
15879
15880 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
15881
15882         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
15883         needed.
15884
15885 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15886
15887         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
15888         definition in do while (0).
15889
15890 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
15891
15892         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
15893
15894 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
15895
15896         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
15897
15898 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
15899
15900         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
15901         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
15902         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
15903         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
15904
15905         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
15906         saved on the stack.  Output more accurate stack frame statistics
15907         into assembler file.
15908
15909 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
15910
15911         * genextract.c (record_insn_name): New function.
15912         (get_insn_name): No longer a stub.
15913         (main): Call record_insn_name for each insn.  After each label
15914         written, print the insn name in a comment.
15915
15916 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15917
15918         * output.h (const_section, init_section, fini_section): Add
15919         prototypes.
15920
15921         * alpha/elf.h (const_section): Delete declaration.
15922
15923         * svr4.h (const_section): Likewise.
15924
15925 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
15926
15927         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
15928         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
15929         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
15930         expressions.
15931         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
15932         variable-sized array bounds.
15933
15934 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
15935
15936         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
15937         ASM_OUTPUT_LABEL.
15938
15939 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15940
15941         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
15942         addresses the same way GO_IF_LEGITIMATE_INDEX does.
15943
15944 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15945
15946         * cse.c (hash_arg_in_struct): Delete.
15947         (struct table_elt): Delete elt in_struct.
15948         (struct set): Delete elt src_in_struct.
15949         (merge_equiv_classes): Don't set either hash_arg_in_struct or
15950         the corresponding in_struct elts.
15951         (canon_hash): Likewise.
15952         (safe_hash): Likewise.
15953         (find_best_addr): Likewise.
15954         (record_jump_cond): Likewise.
15955         (cse_insn): Likewise.
15956
15957 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
15958
15959         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
15960
15961         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
15962         unsigned types.
15963
15964 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
15965
15966         * function.c (diddle_return_value): Put back check that the DECL_RTL
15967         for the function is a register.
15968
15969         * function.c (diddle_return_value): Use hard_function_value to
15970         get an rtx suitable for use in the USE/CLOBBER insn.
15971
15972         * global.c (global_conflicts): Update comments.
15973         (record_conflicts): No need to record conflicts between pseudos here.
15974
15975 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
15976
15977         * fixinc/fixincl.c: Added verbose levels for status messages
15978
15979 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15980
15981         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
15982         operand as argument to expand_and or expand_binop.
15983
15984 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
15985
15986         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
15987         gcc_add_string_root.
15988
15989 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
15990
15991         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
15992
15993 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
15994
15995         * flow.c (compute_flow_dominators): Initially put all blocks on
15996         the worklist.
15997         * lcm.c (compute_antinout_edge, compute_available): Similarly.
15998         * gcse.c (compute_cprop_avinout): Remove.
15999         (compute_cprop_data): Use compute_available.
16000         (delete_null_pointer_checks_1): Use compute_available.
16001
16002         * basic-block.h (compute_available): Returns a void now.
16003         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
16004         to return a value anymore.
16005         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
16006         worklists.  Fix boundary cases. Compute maximal solutions.
16007         (compute_laterin, compute_nearerout): Similarly.
16008
16009         * dwarf2out.c (add_AT_location_description): Allow
16010         (mem (plus (pseudo) (...)) too.
16011
16012 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
16013
16014         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
16015
16016 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
16017                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16018
16019         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
16020
16021         * gansidecl.h: Likewise.
16022
16023         * rtl.c: Likewise.
16024
16025         * rtl.h: Likewise.
16026
16027         * toplev.h: Likewise.
16028
16029         * tree.c: Likewise.
16030
16031         * tree.h: Likewise.
16032
16033         * varray.c: Likewise.
16034
16035         * varray.h: Likewise.
16036
16037 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
16038
16039         * gcov.c (struct arcdata): Add hits and total, remove prob.
16040         (output_branch_counts): New.
16041         (process_args): Set output_branch_counts if -c.
16042         (calculate_branch_probs): Store hits and total instead of
16043         percentage.
16044         (output_data): Emit counts if output_branch_counts is true.
16045         * gcov.texi (Invoking Gcov): Document -c switch..
16046
16047 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
16048
16049         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
16050         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
16051
16052 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
16053
16054         * invoke.texi (C Dialect Options): Add missing builtins from
16055         c-common.c to list.
16056         * extend.texi (Other Builtins): Copy to this list.
16057
16058 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16059
16060         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
16061         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
16062         redundant bitmap.h.
16063
16064 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
16065
16066         * flow.c (compute_flow_dominators): No longer treat basic block 0
16067         or (n_basic_blocks - 1) specially.  Clear the AUX field before
16068         starting computation of doms/pdoms.  Fix initial state for pdoms.
16069
16070 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16071
16072         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
16073         match rtl.o's: added ggc.h and toplev.h
16074         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
16075         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
16076         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
16077
16078 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
16079
16080         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
16081         from HAVE_DOS_BASED_FILESYSTEM.
16082         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
16083         HAVE_DOS_BASED_FILESYSTEM.
16084         (main): Likewise.
16085         (split_directories): Only special-case DOS file names if
16086         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
16087         instead of explicit tests.  Conditionalize on !VMS.
16088         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
16089         tests.  Conditionalize on !VMS.
16090         (process_command): Only use make_relative_prefix if !VMS.
16091         (free_split_directories): Conditionalize on !VMS.
16092         (DIR_UP): Conditionalize on !VMS.
16093
16094 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16095
16096         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
16097
16098 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16099
16100         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
16101         case.
16102
16103 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
16104
16105         * invoke.texi (Environment Variables): Document relative path
16106         lookup.
16107         * gcc.c (DIR_UP): If not defined, define as "..".
16108         (standard_bindir_prefix): New static, holds target location to
16109         install binaries.
16110         (split_directories): New function to split a filename into
16111         component directories.
16112         (free_split_directories): New function, release memory allocated
16113         by split_directories.
16114         (make_relative_prefix): New function, make a relative pathname if
16115         the compiler is not in the expected location.
16116         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
16117         can figure out an appropriate prefix from argv[0].
16118         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
16119         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
16120         STANDARD_BINDIR_PREFIX.
16121
16122 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16123
16124         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
16125         in c4x.c.
16126         * config/c4x/c4x.h: Moved prototypes to c4x.h.
16127         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
16128         c4x_secondary_memory_needed) Delete.
16129         (fp_zero_operand): Add mode argument.
16130
16131 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
16132
16133         * reload1.c (reload_reg_free_for_value_p): Don't use a register
16134         that is in reload_reg_used.
16135
16136 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
16137
16138         * config/arm/arm-protos.h: New file: Prototypes for functions
16139         defined in arm.c and pe.c.
16140         * config/arm/arm.h: Fix compile time warnings.
16141         * config/arm/arm.c: Fix compile time warnings.
16142         * config/arm/pe.h: Fix compile time warnings.
16143         * config/arm/aout.h: Fix compile time warnings.
16144
16145 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
16146
16147         * config/m32r/m32r-protos.h: New file: Prototypes for functions
16148         defined in m32r.c
16149
16150         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
16151         Add support for subtargets.
16152         Add prototypes for new predicates.
16153         Add scheduling macros.
16154
16155         * config/m32r/m32r.c: Fix compile time warnings.
16156         (int8_operand): New predicate function.
16157         (reg_or_cmp_int16_operand): New predicate function.
16158         (extend_operand): New predicate function.
16159         (m32r_adjust_code): New scheduling function.
16160         (m32r_adjust_priorty): New scheduling function.
16161         (m32r_sched_init): New scheduling function.
16162         (m32r_sched_reorder): New scheduling function.
16163         (m32r_sched_variable_issue): New scheduling function.
16164         (direct_return): New codegen function.
16165         (m32r_not_same_reg): New rtl testsing function.
16166
16167         * config/m32r/m32r.md: Fix compile time warnings.
16168         Add support for pre decrement and post increment memory
16169         references.
16170         Add S<cc> patterns.
16171         Add fabs patterns.
16172
16173 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16174
16175         * global.c (EXECUTE_IF_CONFLICT): Don't define.
16176         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
16177         (find_reg): Likewise.
16178
16179 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
16180
16181         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
16182         to avoid assembler errors.
16183
16184 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
16185
16186         * config/v850/v850-protos.h: New file: Prototypes for functions
16187         defined in v850.c
16188         * config/v850/v850.h: Move prototypes to v850-protos.h
16189         * config/v850/v850.c: Move prototypes to v850-protos.h
16190         * config/v850/v850.md: Fix compile time warnings.
16191
16192         * config/fr30/fr30-protos.h: New file: Prototypes for functions
16193         defined in fr30.c
16194         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
16195         * config/fr30/fr30.c: Fix compile time warnings.
16196         * config/fr30/fr30.md: Fix compile time warnings.
16197
16198 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
16199
16200         * tree.h (get_containing_scope): Declare it.
16201         * tree.c (get_containing_scope): New fucntion.
16202         (decl_function_context): Use it.
16203         * toplev.c (rest_of_compilation): Use get_containing_scope.
16204
16205 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16206
16207         * Makefile.in (rtl.o): Depend on toplev.h.
16208
16209 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
16210
16211         * cse.c (delete_trivially_dead_insns): Replace alloca with
16212         xmalloc/xcalloc.
16213         * except.c (update_rethrow_references): Likewise.
16214         (init_eh_nesting_info): Likewise.
16215         * function.c (identify_blocks): Likewise.
16216         * gcse.c (dump_hash_table): Likewise.
16217         * graph.c (print_rtl_graph_with_bb): Likewise.
16218         * loop.c (combine_movables): Likewise.
16219         (move_movables): Likewise.
16220         (count_loop_regs_set): Likewise.
16221         (strength_reduce): Likewise.
16222         * profile.c (compute_branch_probabilities): New function, split
16223         out from ...
16224         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
16225         * regclass.c (regclass): Likewise.
16226         * regmove.c (regmove_optimize): Likewise.
16227         * toplev.c (compile_file): Likewise.
16228         (main): Don't mess with the stack rlimit.
16229
16230 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
16231
16232         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
16233         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
16234
16235 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
16236
16237         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
16238
16239 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
16240
16241         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
16242         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
16243         macro expansion.
16244
16245 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
16246
16247         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
16248
16249 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
16250
16251         * gcse.c (post_dominators): Kill.
16252         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
16253         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
16254         pass in a pdom array since we do not need pdoms.
16255         * haifa-sched.c (schedule_insns): Similarly.
16256         * flow.c (compute_dominators): Remove dead function.
16257         (compute_flow_dominators): Do not compute doms or pdoms if the
16258         caller does not request them.  Split up loop to build doms and
16259         pdoms.  Use a worklist to compute doms and pdoms.
16260         * basic-block.h (compute_dominators): Remove prototype.
16261
16262 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
16263
16264         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
16265         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
16266         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
16267         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
16268         (cant_move, fed_by_spec_load, is_load_insn): Remove.
16269         (schedule_region): Remove unused variable.
16270         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
16271
16272 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
16273
16274         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
16275         (update_equiv_regs): Likewise.
16276         (block_alloc): Likewise.
16277         * reg-stack.c (reg_to_stack): Likewise.
16278         (convert_regs_2): Likewise.
16279         * reload1.c (reload_as_needed): Likewise.
16280
16281 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
16282
16283         * Makefile.in (dbxout.o): Depend on ggc.h.
16284         (dwarf2out.o): Likewise.
16285         (xcoffout.o): Likewise.
16286         * dbxout.c: Include ggc.h.
16287         (dbxout_init): Register lastfile as a root.
16288         * dwarf2out.c: Include ggc.h.
16289         (dwarf2out_line): Register lastfile as a root.
16290         * xcoffout.c: Include ggc.h.
16291         (xcoffout_source_line): Register xcoff_lastfile as a root.
16292
16293 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
16294
16295         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
16296
16297 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
16298
16299         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
16300         defined.
16301         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
16302
16303 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16304
16305         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
16306         (EXECUTE_IF_CONFLICT): Likewise.
16307         (ALLOCNO_LIVE_P): Avoid signed division.
16308         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
16309         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
16310         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
16311
16312 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
16313
16314         * haifa-sched.c (schedule_block): Don't crash if there's no
16315         next insn for an interblock movement.
16316         (add_branch_dependences): Don't allow clobber insns to move either.
16317
16318 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
16319
16320         * i386.c (split_xf): New.
16321         * i386-protos.h: Declare it.
16322         * i386.md (movxf_1): Add general regs alternatives.
16323         (movxf_1+1): New splitter for same.
16324
16325 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
16326
16327         * function.c (purge_addressof_1): Add missing return values.
16328
16329 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
16330
16331         * function.c (is_addressof): New function.  Returns true if
16332         the given piece of RTL is an ADDRESSOF.
16333         (purge_addressof_1): Make boolean.  Return false if the
16334         ADDRESSOFs could not be purged.
16335         (purge_addressof): If ADDRESSOFs could not be purged from the
16336         notes attached to an insn, remove the offending note(s),
16337         unless they are attached to a libcall.
16338
16339 1999-11-05  Andreas Jaeger  <aj@suse.de>
16340
16341         * genoutput.c (null_operand =): Initialize all fields.
16342
16343         * errors.h: Add extern to prototypes.
16344
16345 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
16346
16347         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
16348         * configure: Rebuilt.
16349
16350 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16351
16352         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
16353         (mirror_conflicts): New function.
16354         (global_alloc): Call it.
16355         (expand_preferences): Remove redundant CONFLICTP test.
16356         (find_reg, dump_conflicts): Likewise.
16357         (prune_preferences): Process conflicts one word at a time.
16358
16359 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
16360
16361         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
16362         instead of an explicit loop.
16363
16364 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
16365
16366         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
16367         if REG_RETVAL check succeeds, then put classp in src_elt.
16368
16369 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
16370
16371         * function.c (pad_to_arg_alignment): Only update argument_pad
16372         if the argument's alignment is greater than STACK_BOUNDARY.
16373
16374 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
16375
16376         * bitmap.h (BITMAP_XFREE): New.
16377         * flow.c (life_analysis): Use it.
16378         (life_analysis_1): Free blocks.
16379
16380         * combine.c (undo_commit): New.
16381         (try_combine): Use it.  Don't zap undobuf.undos.
16382         (combine_instructions): Don't zap undobuf.undos; free the
16383         undobuf.frees list.
16384
16385         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
16386
16387         * stmt.c (cost_table_): New.
16388         (estimate_case_costs): Use it instead of xmalloc.
16389
16390         * toplev.c (compile_file): Reuse dumpname memory instead
16391         of strdup'ing it.
16392
16393 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
16394
16395         * reg-stack.c (convert_regs_1): Initialize target_stack->top
16396         after verifying an EH edge.
16397
16398         * haifa-sched.c (init_rgn_data_dependences): Correctly
16399         size bb_pending_lists_length when zeroing.
16400
16401 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
16402
16403         * function.c (diddle_return_value): New.
16404         (expand_function_end): Use it.
16405         * stmt.c (expand_null_return): Likewise.
16406         (expand_value_return): Likewise.
16407
16408         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
16409
16410         * reload1.c (reload): Don't remove return value clobbers.
16411
16412 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
16413
16414         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
16415
16416 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
16417
16418         * cse.c (cse_main): Use xmalloc, not alloca.
16419         (cse_basic_block): Likewise.
16420         * local-alloc.c (local_alloc): Likewise.
16421
16422 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
16423                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16424
16425         * rtl.c: Include toplev.h.
16426         (fatal): Remove declaration.
16427
16428 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
16429
16430         * haifa-sched.c (schedule_block): Fix thinko.
16431
16432 1999-11-03  James McKelvey <mckelvey@fafnir.com>
16433
16434         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
16435         S_IR* defined values
16436
16437 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
16438
16439         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
16440         call `malloc' instead.
16441
16442 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
16443
16444         * flags.h (flag_renumber_insns): Declare.
16445         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
16446         renumbering table.
16447         * rtl.h (renumber_insns): Change prototype.
16448         * toplev.c (flag_renumber_insns): Define.
16449         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
16450
16451 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
16452
16453         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
16454         and fpsqrtd.  Use them and create fdiv function unit to more
16455         accurately represent fpu sqrt pipeline semantics on UltraSparc.
16456         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
16457
16458 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
16459
16460         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
16461         3 on UltraSparc.
16462         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
16463         insn into ready list, do not use just a raw swap.
16464
16465 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
16466
16467         * rtl.h (renumber_insns): New function.
16468         (remove_unnecessary_notes): Likewise.
16469         * emit-rtl.c (renumber_insns): Define.
16470         (remove_unncessary_notes): Likewise.
16471         * toplev.c (rest_of_compilation): Remove dead code.
16472         Use renumber_insns and remove_unncessary_notes.
16473
16474         * gcse.c (struct null_pointer_info): New type.
16475         (get_bitmap_width): New function.
16476         (current_block): Remove.
16477         (nonnull_local): Likewise.
16478         (nonnull_killed): Likewise.
16479         (invalidate_nonnull_info): Take a null_pointer_info as input.
16480         (delete_null_pointer_checks_1): New function.
16481         (delete_null_pointer_checks): Use it.
16482
16483         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
16484         (split_edges): Likewise.
16485         (schedule_block): Likewise.
16486         (compute_block_backward_dependencies): Likewise.
16487         (schedule_region): Likewise.
16488         (schedule_insns): Likewise.
16489
16490 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
16491
16492         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
16493         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
16494         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
16495         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
16496         * jump.c (delete_unreferenced_labels): Don't delete if
16497         LABEL_ALTERNATE_NAME is set.
16498         * print-rtl.c (print_rtx): Dump alternate name.
16499         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
16500         * rtl.h (LABEL_ALTERNATE_NAME): Define.
16501         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
16502         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
16503
16504 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16505
16506         * fix-header.c (recognized_extern, recognized_function): Constify
16507         a char*.
16508
16509         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
16510         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16511         (compute_available): Remove unused variable `last'.
16512         (compute_nearerout): Remove unused variable `temp_bitmap'.
16513         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16514         Remove unused variable `x'.
16515
16516         * scan.h (recognized_function, recognized_extern): Constify a
16517         char*.
16518
16519         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
16520
16521 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16522
16523         * varasm.c (decode_rtx_const): Use XSTR to access the string
16524         of a SYMBOL_REF.
16525
16526 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
16527
16528         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
16529
16530 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16531
16532         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
16533
16534 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
16535
16536         * pa.c (ireg_operand): New function.
16537         * pa.h (PREDICATE_CODES): Handle ireg_operand.
16538         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
16539         Fix out of date comment.
16540
16541         * pa.md (negdi2): Turn into expander + anonymous pattern.
16542
16543         * reload.c (find_reloads): Fix typos in recent change.
16544
16545         * dwarf2out.c: Do not include ctype.h.
16546
16547 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16548
16549         * regclass.c (record_reg_classes): Always use may_move_cost when
16550         seeing how operand fits with various register classes.
16551
16552 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
16553
16554         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
16555         * toplev.c: Revert Nov 1 13:22 change.
16556
16557 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
16558
16559         * config/pa/pa.md (height reduction patterns): Add checks for
16560         overlapping operands to avoid semantic-destroying splits for
16561         height reduction patterns.
16562
16563 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16564
16565         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
16566         have been an hyphen, fixed.
16567         * configure: Rebuilt.
16568
16569 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
16570
16571         * config/arm/tpe.h: Add prototypes for exported functions.
16572         * config/arm/pe.c: Fix compile time warnings.
16573         * config/arm/semi.h: Fix compile time warnings.
16574         * config/arm/arm.c: Fix compile time warnings.
16575         * config/arm/arm.h: Fix compile time warnings.
16576         * config/arm/arm.md: Fix compile time warnings.
16577         * config/arm/thumb.c: Fix compile time warnings.
16578         * config/arm/thumb.h: Fix compile time warnings.
16579         * config/arm/thumb.md: Fix compile time warnings.
16580
16581 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
16582
16583         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
16584         detection code
16585
16586         * unroll.c (unroll_loop): Remove LOOP notes when loop is
16587         completely unrolled.
16588
16589 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16590
16591         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
16592
16593 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
16594
16595         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
16596         * rtl.h (rtx_equal_p): Move prototype.
16597         * rtl.c (rtx_equal_function_value_matters): Move from
16598         rtlanal.c
16599         (rtx_equal_p): Likewise.
16600         * rtlanal.c (rtx_equal_function_value_matters): Delete.
16601         (rtx_equal_p): Likewise.
16602
16603 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
16604
16605         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
16606         ! HAS_INIT_SECTION.
16607
16608 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
16609
16610         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
16611
16612         * pa.h (ADDR_VEC_ALIGN): Define.
16613
16614         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
16615         notes when presented with "if (foo) break; end_of_loop" and
16616         the break sequence gets moved out of the loop.
16617
16618         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
16619         Remove explicit zero initializations of entries within MAP.
16620
16621 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
16622
16623         * reg-stack.c (convert_regs_1): Handle EH edges specially.
16624
16625 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
16626
16627         * bitmap.h (BITMAP_XMALLOC): New macro.
16628         * flow.c (CLEAN_ALLOCA): Remove.
16629         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
16630         (life_analysis): Likewise.
16631         (update_life_info): Don't use CLEAN_ALLOCA.
16632         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
16633         (calculate_global_regs_live): Likewise.
16634         (print_rtl_with_bb): Likewise.
16635         (verify_flow_info): Likewise.
16636         * global.c (global_alloc): Likewise.
16637         (global_conflicts): Likewise.
16638         * integrate.c (save_for_inline_nocopy): Likewise.
16639         (expand_inline_function): Likewise.
16640         * jump.c (jump_optimize_1): Likewise.
16641         (duplicate_loop_exit_test): Likewise.
16642         (thread_jumps): Likewise.
16643         * loop.c (loop_optimize): Likewise.
16644         (combine_givs): Likewise.
16645         (recombine_givs): Likewise.
16646         * reorg.c (dbr_schedule): Likewise.
16647         * unroll.c (unroll_loop): Likewise.
16648
16649         * combine.c (combine_instructions): Use xmalloc instead of alloca.
16650
16651 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
16652
16653         * toplev.c (rest_of_compilation): Don't optimize the CFG
16654         when rebuilding, just before dbr.
16655
16656 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16657
16658         * output.h (assemble_end_function, assemble_destructor,
16659         assemble_constructor, assemble_gc_entry, assemble_global,
16660         assemble_label, output_constant_pool) Constify a char*.
16661
16662         * varasm.c (assemble_destructor, assemble_constructor,
16663         assemble_gc_entry, assemble_end_function, assemble_global,
16664         assemble_label, output_constant_pool): Likewise.
16665
16666 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
16667
16668         * config/arm/thumb.c (thumb_expand_prologue): Add comments
16669         explaining what is goin on in this function.
16670
16671 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16672
16673         * regclass.c (record_reg_classes): In matching case, recompute
16674         costs since the direction of movement is different.
16675
16676 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
16677
16678         * resource.c (mark_target_live_regs): For unconditional branches,
16679         the resources found at the branch target should be added to the
16680         resources found so far, not intersected.
16681
16682 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
16683
16684         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
16685         old cpp's.
16686         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
16687         (sys/mman.h): Include this file only if #HAVE_MMAP.
16688         (run_compiles): Initialize `esac_fmt' with one old KR string, not
16689         with automatically concatenated ANSI strings.
16690
16691 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
16692
16693         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
16694         (DIV_ROUND_UP): Robustify.
16695         (ggc_recalculate_in_use_p): New function.
16696         (release_pages): Don't inline it.
16697         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
16698         outer contexts.
16699         (ggc_pop_context): Use ggc_recalculate_in_use_p.
16700         (clear_marks): Always save in_use_p.
16701         (sweep_pages): Use ggc_recalculate_in_use_p.
16702         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
16703         Release pages before counting statistics.
16704
16705 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
16706
16707         * toplev.c (rest_of_compilation): Fix thinko in this change:
16708
16709         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
16710
16711         (rest_of_compilation): If inside an inlined external function,
16712         pretend we are just being declared.
16713
16714 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
16715
16716         * flow.c (calculate_global_regs_live): Fix thinko.
16717
16718         * integrate.c (expand_inline_function): Fix bugs in previous
16719         change from Oct 28, 1999.
16720
16721 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
16722
16723         * stmt.c (expand_value_return): Fix typo in this change:
16724
16725         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16726         (expand_value_return): Correctly convert VAL when promoting function
16727         return; support RETURN_REG being a PARALLEL.
16728
16729 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
16730
16731         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
16732
16733 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16734
16735         * hard-reg-set.h (reg_names): Constify a char*.
16736
16737         * regclass.c  (reg_names): Likewise.
16738
16739         * regs.h (reg_names): Likewise
16740
16741         * a29k/a29k.c (reg_names): Delete declaration.
16742
16743         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
16744
16745         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
16746         arc_output_function_epilogue): Likewise.
16747
16748         * elxsi/elxsi.c (reg_names): Likewise.
16749
16750         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
16751
16752         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
16753         Likewise.
16754
16755         * m88k/m88k.c (output_function_profiler): Likewise.
16756
16757         * sparc/sparc.c (sparc_flat_output_function_prologue,
16758         sparc_flat_output_function_epilogue): Likewise.
16759
16760 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
16761
16762         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
16763         warning from -Wuninitialized and put it under -W.
16764         * function.c (uninitialized_vars_warning): Warn only when the
16765         corresponding flag is set.
16766
16767 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
16768
16769         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
16770         is nonzero and the single set does not have an elt, then assign
16771         it an elt.
16772
16773         * simplify-rtx.c: New file.
16774         * Makefile.in (OBJS): Add simplify-rtx.o
16775         (simplify-rtx.o): Add dependencies.
16776         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
16777         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
16778         (cse_gen_binary, simplify_unary_operation): Delete.
16779         (simplify_binary_operation, simplify_plus_minus): Likewise.
16780         (check_fold_consts, simplify_relation_operation): Likewise.
16781         (simplify_ternary_operation): Likewise.
16782         (delete_trivially_dead_insns): Simplify the contents of the
16783         REG_EQUAL note before trying to substitute it into the source
16784         of the reg-reg copy at the end of a libcall sequence.
16785
16786         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
16787         references/callers changed.
16788
16789         * mn10200.c (mn10200_va_arg): Force the return value into a
16790         register.
16791
16792         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
16793
16794         * cccp.c (macroexpand): Avoid out of range accesses for omitted
16795         arguments.
16796
16797 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
16798
16799         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
16800
16801 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
16802
16803         * fold-const.c (fold): Fix thinko when optimizing comparisons
16804         against -0.0.
16805
16806 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
16807
16808         * gcc.texi (Passes): Update front-end files to their current
16809         location.
16810
16811 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
16812
16813         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
16814         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
16815         (PREDICATE_CODES): Add addition_operation.
16816         * alpha-protos.h (addition_operation): Declare.
16817         (secondary_reload_class): Likewise.
16818         * alpha.c (addition_operation): New.
16819         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
16820         * alpha.md (adddi3): Turn into expander.
16821         (*lda, *adddi_2): New.
16822         (movsf, movdf patterns): Don't preference integer regs.
16823         (movsi, movdi patterns): Don't preference fp regs.
16824
16825 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
16826
16827         * genrecog.c (write_switch): Check for duplicate CODE cases.
16828
16829 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
16830
16831         * ggc-common.c: Update pre-function commentary.
16832         * ggc-page.c: Likewise.
16833         (poison): Remove.
16834         (poison_pages): Use memset directly.
16835         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
16836         (ggc_collect): Poison before sweeping.
16837         * ggc-simple.c: Update pre-function commentary.
16838         (ggc_alloc_obj): Poison non-zeroed memory.
16839
16840 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
16841
16842         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
16843         match format string, even on 64-bit hosts.
16844         * gcc-page.c (ggc_page_print_statistics): Likewise.
16845
16846 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
16847
16848         * config/i386/i386.c (ix86_cpu): Revert last patch.
16849         * config/i386/i386.h (ix86_cpu): Ditto.
16850
16851 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
16852
16853         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
16854         TYPE_SIZE, convert type of result to sizetype.
16855
16856 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
16857
16858         * flow.c (count_or_remove_death_notes): Equate NULL with the
16859         universal set.
16860
16861         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
16862         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
16863         dbr_schedule.
16864
16865         * i386.c (pic_label_no): Delete.
16866         (ix86_attr_length_default): Don't use single_set to peek
16867         inside a parallel.
16868
16869         * recog.c (peephole2_optimize): Allow recog_next_insn to index
16870         the first insn after bb->end.
16871         * i386.md (push mem peeps): Scratch is live after evaluation
16872         of the memory.
16873         (cmp mem peep): Similarly.
16874
16875 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
16876
16877         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
16878         * function.c (pad_to_arg_alignment): Add missing braces.
16879
16880 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16881
16882         * alpha/alpha-protos.h (literal_section): Add prototype.
16883         (alpha_need_linkage, alpha_start_function,alpha_end_function):
16884         Constify a char*.
16885
16886         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
16887         prototype.
16888         (alpha_start_function, alpha_end_function, float_strings,
16889         alpha_need_linkage): Constify a char*
16890
16891         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
16892
16893         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
16894
16895         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
16896
16897         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
16898
16899 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16900
16901         * flow.c (debug_flow_info): Add prototype.
16902
16903         * gcc.c (main): Likewise.
16904
16905         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
16906         Likewise.
16907
16908         * reload1.c (failed_reload, set_reload_reg): Likewise.
16909
16910         * mips-tfile.c (main): Likewise.
16911         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
16912         with ATTRIBUTE_NORETURN.
16913
16914 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
16915
16916         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
16917         DECL is not a memory ref.
16918
16919 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
16920
16921         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
16922         * config/i386/i386.c (ix86_cpu): Add extern attribute.
16923
16924 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
16925
16926         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
16927         * config/mips/elf64.h: ditto.
16928
16929 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
16930
16931         * expr.c (emit_push_insn): New argument alignment_pad.
16932         Update all callers.  Adjust stack pointer based on alignment pad.
16933         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
16934         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
16935         (locate_and_pad_parm): New argument alignment_pad.  Update all
16936         callers.
16937         * expr.h (emit_push_insn): Update prototype.
16938         (locate_and_pad_parm): Update prototype.
16939         * calls.c (arg_data):  Add new field alignment_pad.
16940         (initialize_argument_information): Initialize alignment_pad.
16941
16942 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
16943
16944         * except.c (free_eh_nesting_info): Free the info itself.
16945         * function.c (free_after_compilation): Don't free NULL.
16946         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
16947         (pre_edge_insert): Free inserted.
16948         * stmt.c (free_stmt_status): Don't free NULL.
16949
16950 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
16951
16952         * gcov.c (DIR_SEPARATOR): Provide default.
16953         (output_data): Add test for MS-DOS format absolute filename.
16954         (fancy_abort): Correct program name.
16955         (open_files): Open all files in binary mode.
16956         * libgcc2.c (__bb_exit_func): Likewise.
16957
16958         * profile.c (init_branch_prob): Specify binary when opening files.
16959
16960         * flags.h (flag_unwind_tables): New decl.
16961         * toplev.c (flag_unwind_table): New definition.
16962         (f_options): Add -funwind-tables.
16963         (decode_g_option): Clarify warning when unknown -g option is given.
16964         (rest_of_compilation): If inside an inlined external function,
16965         pretend we are just being declared.
16966
16967         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
16968         (dwarf2out_frame_finish): Likewise.
16969
16970 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
16971
16972         * fold-const.c (merge_ranges): If not in0, but in1, handle
16973         upper bounds equal like subset case.
16974
16975 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
16976
16977         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
16978         passed in a register but moved to the stack.
16979
16980 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
16981
16982         * gcc.c (pass_exit_codes, greatest_status): New variables.
16983         (struct option_map): Add entry for "--pass-exit-codes".
16984         (execute): Update greatest_status if error.
16985         (display_help): Add documentation for -pass-exit-codes.
16986         (process_command): Handle -pass-exit-codes.
16987         (main): Look at pass_exit_codes and greatest_status on call to exit.
16988
16989 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16990
16991         * reload.c (find_reloads): Refine test for no input reload
16992         case to not includes reloads emitted after insn.
16993
16994         * function.c (find_temp_slots_from_address): Handle sum involving
16995         a register that points to a temp slot.
16996         (update_temp_slot_address): Make recursive call if both old and
16997         new are PLUS with a common operand.
16998         * calls.c (expand_call): Mark temp slot for result as having
16999         address taken.
17000
17001         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
17002
17003         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
17004         component as well as "BINUTILS".
17005
17006         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
17007         * integrate.c (copy_rtx_and_substitute): Likewise.
17008         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
17009         All callers changed.
17010         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
17011
17012         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
17013         gdb extensions, write size of type; also be more consistent
17014         in using references when this is a subtype.
17015
17016         * pa.md (extv, extzv, insv): Use define_expand to reject constant
17017         that is out of range.
17018
17019         * loop.c (unknown_constant_address_altered): New variable.
17020         (prescan_loop): Initialize it.
17021         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
17022         (invariant_p, case MEM): Remove handling for volatile and readonly;
17023         check new variable if readonly.
17024         (check_dbra_loop): Chdeck unknown_constant_address_altered.
17025
17026         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
17027         (addr_affects_sp_p): Removed from note_mem_written and only
17028         define #ifdef AUTO_INC_DEC.
17029
17030         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
17031
17032         * regclass.c (record_reg_classes): Properly handle register move
17033         directions.
17034
17035         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
17036         Don't think valid if both operands are invalid.
17037         (struct constant_descriptor): New field RTL.
17038         (mark_const_hash_entry): Mark it.
17039         (record_constant{,_rtx}): Initialize it.
17040         (output_constant_def): Allocate RTL in permanent obstack and
17041         save in table.
17042         ({record,compare}_constant_1): Modes must match for
17043         CONSTRUCTOR of ARRAY_TYPE.
17044
17045         * c-common.h (initializer_constant_valid_p): Delete decl from here.
17046         * output.h (initializer_constant_valid_p): Move decl to here.
17047         * c-common.c (initializer_constant_valid_p): Delete function from here.
17048         * varasm.c (initializer_constant_valid_p): Move function to here.
17049
17050         * tree.h (STRIP_SIGN_NOPS): New macro.
17051         * fold-const.c (optimize_minmax_comparison): New function.
17052         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
17053         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
17054         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
17055         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
17056         widening conversions.
17057         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
17058         to look at size of mode, not precision of type; also add missing cases.
17059         (optimize_bit_field_compare, decode_field_reference): Don't try to
17060         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
17061
17062         * dwarf2out.c (ctype.h): Include.
17063         (dwarf2out_set_demangle_name_func): New function.
17064         (size_of_line_info): Deleted.
17065         (output_line_info): Compute size of line info table from difference
17066         of labels.
17067         (base_type_die, add_name_attribute): Call demangle function, if any.
17068         (field_byte_offset): Use bits per word for variable length fields.
17069         (gen_array_type_die): Add array name.
17070         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
17071         (dwarf2out_add_library_unit_info): New function.
17072
17073         * explow.c (set_stack_check_libfunc): New function.
17074         (stack_check_libfunc): New static variable.
17075         (probe_stack_range): Allow front-end to set up a libfunc to call.
17076
17077         * combine.c (simplify_comparison): When making comparison in wider
17078         mode, check for having commuted an AND and a SUBREG.
17079         (contains_muldiv): New function.
17080         (try_combine): Call it when dividing a PARALLEL.
17081         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
17082         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
17083         a PLUS.
17084         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
17085         use one of the CLOBBERs instead.
17086         (if_then_else_cond): If comparing against zero, just return thing
17087         being compared.
17088
17089         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
17090         Don't generate shifts and subtract if have conditional arithmetic.
17091
17092         * rtl.h (delete_barrier): New declaration.
17093         * jump.c (jump_optimize): Set up to handle conditional call.
17094         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
17095         (delete_barrier): New function.
17096
17097         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
17098
17099         * recog.c (nonmemory_operand): Accept ADDRESSOF.
17100
17101         * tree.c (build_type_attribute_variant): Push to obstack of
17102         ttype around type_hash_canon call.
17103
17104         * expr.c (placeholder_list): Move decl to file scope.
17105         (expand_expr): Don't force access to volatile just because its
17106         address is taken.
17107         If ignoring reference operations, just expand the operands.
17108         (expand_expr, case COMPONENT_REF): Propagate
17109         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
17110         Refine test for using bitfield operations vs pointer punning.
17111         (expand_expr, case CONVERT_EXPR): If converting to
17112         BLKmode UNION_TYPE from BLKmode, just return inner object.
17113         Use proper mode in store_field call.
17114         Properly set sizes of object to store and total size in store_field
17115         call for convert to union.
17116         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
17117         memory (like for ADDR_EXPR).  Also, don't put constant in register if
17118         we'll want it in memory.
17119         (readonly_fields_p): New function.
17120         (expand_expr, case INDIRECT_REF): Call it if LHS.
17121         (expand_assignment): Handle a RESULT_DECL where
17122         DECL_RTL is a PARALLEL.
17123         (do_jump, case WITH_RECORD_EXPR): New case.
17124         (get_inner_reference): Always go inside a CONVERT_EXPR
17125         and NOP_EXPR if both modes are the same.
17126         (store_field): Use bitfield operations if size of bitsize is not same
17127         as size of RHS's type.
17128         Check for bitpos not a multiple of alignment in BLKmode case.
17129         Do block move in largest possible alignment.
17130         (store_constructor): Set BITSIZE to -1 for variable size and properly
17131         in case of array of BLKmode.
17132         (expand_expr_unaligned): New function.
17133         (do_compare_and_jump): Call it.
17134
17135         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
17136         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
17137         does not include 'o'.
17138
17139         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
17140         both SET_DEST and SET_SRC reference a virtual register.
17141         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
17142
17143         * integrate.c (expand_inline_function): Handle case of setting
17144         virtual stack vars register (from built in setjmp); when parameter
17145         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
17146         (subst_constant): Add new parm, MEMONLY.
17147         (expand_inline_function, integrate_parm_decls): Pass new parm.
17148         (integrate_decl_tree): Likewise.
17149         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
17150         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
17151         (copy_rtx_and_substitute, case SET): Add explicit calls to
17152         copy_rtx_and_substitute for both sides.
17153
17154         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
17155         constraints.
17156         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
17157         within INDEX_TYPE, instead of before.
17158         (fixup_gotos): Use f->target_rtl, not the next insn,
17159         since latter may be from a later fixup.
17160         (expand_value_return): Correctly convert VAL when promoting function
17161         return; support RETURN_REG being a PARALLEL.
17162         (expand_return): When checking for result in regs and having
17163         cleanup, consider PARALLEL in DECL_RTL as being in regs.
17164
17165 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
17166
17167         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
17168         last_nominal_fname): Mark const.
17169         (struct include_hash: name, nshort, control_macro): Mark
17170         const.
17171         (struct macrodef: symnam): Mark const.
17172         (struct if_stack: fname): Mark const.
17173         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
17174         (IStable): New character-syntax array which encompasses all
17175         the old is_foo arrays.
17176         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
17177         is_space): New macros for interrogating IStable.
17178         (check_macro_name): Kill last argument.  All callers changed.
17179
17180         * cppinit.c (initialize_char_syntax): Delete.
17181         (is_idchar, is_idstart, is_hor_space, is_space,
17182         trigraph_table): Delete.
17183         (IStable): New.  Initialize with clever macros to avoid
17184         information duplication.
17185         (builtin_array): Table of builtins to get rid of explicit list
17186         in initialize_builtins.
17187         (initialize_builtins): Use builtins_array.
17188         (cpp_start_read): Call init_IStable, and set IStable['$'] if
17189         opts->dollars_in_ident.
17190
17191         * cppexp.c: Change all refs to is_xyz[] arrays to use new
17192         is_xyz() macros.
17193         (cpp_parse_expr): Avoid 'format string is not constant'
17194         warning. Use ISGRAPH to identify printable chars.
17195         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
17196         is_xyz() macros.
17197         (read_and_prescan): Map trigraphs to chars with open-coded
17198         if-else-if-... sequence, not a lookup table.
17199         * cpphash.c: Change all refs to is_xyz[] arrays to use new
17200         is_xyz() macros.
17201         * cpplib.c: Change all refs to is_xyz[] arrays to use new
17202         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
17203         (check_macro_name): Remove ability to report an invalid
17204         assertion name, which is never used.
17205         (do_line): Constify a couple of char *'s.
17206         * cppmain.c (main): Call cpp_cleanup before returning.
17207
17208 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
17209
17210         * ggc.h (struct ggc_statistics): New type.
17211         (ggc_get_size): New function.
17212         (ggc_print_statistics): Likewise.
17213         * ggc-common.c (ggc_stats): New variable.
17214         (ggc_mark_rtx_children): Keep statistics.
17215         (ggc_mark_tree_children): Likewise.
17216         (ggc_print_statistics): New function.
17217         * ggc-page.c (struct globals): Add bytes_mapped field.
17218         (alloc_anon): Update it.
17219         (release_pages): Likewise.
17220         (ggc_get_size): New function.
17221         (ggc_page_print_statistics): New function.
17222         * ggc-simple.c (ggc_get_size): New function.
17223
17224 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
17225
17226         * flow.c (propagate_block): When the last reference to a label
17227         before an ADDR_VEC is deleted because the reference is a dead
17228         store, delete the ADDR_VEC.
17229
17230 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
17231
17232         * resource.c (find_free_register): Don't use the frame pointer
17233         if frame_pointer_needed.
17234
17235 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
17236
17237         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
17238         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
17239
17240         * config/i960/i960.c (i960_va_start): New locals base, num.
17241         Use INDIRECT_REF instead of ARRAY_REF on valist.
17242         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
17243
17244 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
17245
17246         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
17247
17248 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
17249
17250         * tree.def (PLACEHOLDER_EXPR): Update comments.
17251
17252 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17253
17254         * c-common.c (check_format_info): Avoid non-literal format string
17255         warnings when `first_arg_num' is zero.
17256
17257 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17258
17259         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
17260
17261 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
17262
17263         * arm.md (casesi_insn): Add a clobber of the condition code
17264         register.
17265
17266 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
17267
17268         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
17269         used by both cc1 and cc1plus.
17270
17271 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
17272
17273         * config/arm/arm.c: Initialise arm_structure_size_boundary to
17274         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
17275         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
17276         to the value 32 if it has not already been defined.
17277         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
17278         Override definition in arm.h with a value of 8.
17279
17280 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
17281
17282         * c-pragma.c (push_alignment): Don't check the return value
17283         of xmalloc.
17284
17285 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
17286
17287         * sparc.h (ADJUST_COST): Fix thinko.
17288
17289 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
17290
17291         * cccp.c (rescan): Fixed obp pointer handling around call to
17292         check_expand subroutine.
17293
17294 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
17295
17296         * gcse.c (delete_null_pointer_checks): Only record non-null info
17297         for pseudos when examining stores.
17298
17299         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
17300         splitters for these patterns.  Use "#" for output templates.
17301         (addsi3_carryin_shift): New pattern.
17302
17303 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
17304
17305         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
17306         of the function return register into a plain REG until
17307         after function inlining is done.
17308
17309 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
17310
17311         * jump.c (jump_optimize_1): If we did cross-jumping, and
17312         the data will matter, rebuild the CFG.
17313         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
17314         not optimizing.  Don't run shorten_branches.
17315         * toplev.c (rest_of_compilation): Run shorten_branches after
17316         reg_to_stack.
17317
17318 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
17319
17320         * rtl.h (note_stores): Add additional paramter.
17321         * rtlanal.c (reg_set_p_1): Take additional paramter.
17322         (reg_set_last_1): Likewise.
17323         (reg_set_p): Adjust call to note_stores.
17324         (reg_set_last): Likewise.
17325         (note_stores): Pass data parameter to worker function.
17326         * alias.c (record_set): Take additional parameter.
17327         (init_alias_analysis): Pass it.
17328         * caller-save.c (mark_set_regs): Take additional parameter.
17329         (save_call_clobbered_regs): Pass NULL to note_stores.
17330         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
17331         parameter.
17332         (record_dead_and_set_regs_1): Likewise.
17333         (reg_dead_at_p_1): Likewise.
17334         (combine_instructions): Adjust calls to note_stores.
17335         (try_combine): Likewise.
17336         (record_dead_insn): Remove.
17337         (record_dead_and_set_regs): Adjust calls to note_stores.
17338         (reg_dead_at_p): Likewise.
17339         * cse.c (invalidate_skipped_set): Take additional parameter.
17340         (cse_check_loop_start): Likewise.
17341         (cse_check_loop_start_value): Remove.
17342         (cse_set_around_loop): Adjust calls to note_stores.
17343         * flow.c (notice_stack_pointer_modification): Take additional
17344         parameter.  Remove duplicate declaration.
17345         (record_volatile_insns): Adjust calls to note_stores.
17346         * gcse.c (record_set_info): Take additional parameter.
17347         (record_last_set_info): Likewise.
17348         (invalidate_nonnull_info): Likewise.
17349         (record_set_insn): Remove.
17350         (compute_sets): Adjust calls to note_stores.
17351         (last_set_insn): Remove.
17352         (compute_hash_table): Adjust calls to note_stores.
17353         (insert_insn_end_bb): Likewise.
17354         (delete_null_pointer_checks): Likewise.
17355         * global.c (mark_reg_store): Take additional parameter.
17356         (mark_reg_clobber): Likewise.
17357         (reg_becomes_live): Likewise.
17358         (global_conflicts): Adjust calls to note_stores.
17359         (build_insn_chain): Likewise.
17360         * integrate.c (note_modified_parmregs): Take additional parameter.
17361         (mark_stores): Likewise.  Make it static.
17362         (save_for_inline_nocopy): Adjust calls to note_stores.
17363         (try_constants): Likewise.
17364         * integrate.h (mark_stores): Remove declaration.
17365         * jump.c (mark_modified_reg): Take additional parameter.
17366         (thread_jumps): Adjust calls to note_stores.
17367         * local-alloc.c (validate_equiv_mem_from_store): Take additional
17368         parameter.
17369         (no_equiv): Likewise.
17370         (reg_is_set): Likewise.
17371         (validate_equiv_mem): Adjust calls to note_stores.
17372         (update_equiv_regs): Likewise.
17373         (block_alloc): Likewise.
17374         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
17375         (note_addr_stored): Take additional parameter.
17376         (note_set_pseudo_multiple_uses): Likewise.
17377         (record_initial): Likewise.
17378         (prescan_loop): Adjust calls to note_stores.
17379         (strength_reduce): Likewise.
17380         (check_dbra_loop): Likewise.
17381         * regmove.c (flags_set_1): Take additional paramter.
17382         (mark_flags_life_zones): Adjust calls to note_stores.
17383         * reload1.c (mark_not_eliminable): Take additional parameter.
17384         (forget_old_reloads_1): Likewise.
17385         (reload_cse_invalidate_rtx): Likewise.
17386         (reload_cse_check_clobber): Likewise.
17387         (reload_combine_note_store): Likewise.
17388         (move2add_note_store): Likewise.
17389         (reload): Adjust calls to note_stores.
17390         (reload_as_needed): Likewise.
17391         (emit_reload_insns): Likewise.
17392         (reload_cse_regs_1): Likewise.
17393         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
17394         (reload_combine): Adjust calls to note_stores.
17395         * resource.c (update_live_status): Take additional paramter.
17396         (mark_target_live_regs): Adjust calls to note_stores.
17397         * stupid.c (find_clobbered_regs): Take additional parameter.
17398         (stupid_life_analysis): Adjust calls to note_stores.
17399
17400 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
17401
17402         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
17403         definition.
17404
17405         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
17406         definition.
17407
17408         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
17409         of the variable arm_structure_size_boundary.
17410
17411 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
17412
17413         * alias.c (init_alias_analysis): Allocate reg_known_value and
17414         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
17415         and reg_seen.
17416         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
17417         * cse.c (cse_main): Call end_alias_analysis.
17418         * haifa-sched.c (schedule_insns): Likewise.
17419         * local-alloc. (update_equiv_regs): Likewise.
17420         * reload1.c (reload_cse_regs): Likewise.
17421
17422 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17423
17424         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
17425         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
17426         mapping from MASK_FPU.
17427
17428 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
17429
17430         * sparc.md (call): Don't bound structure return size to 0xfff.
17431
17432 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
17433
17434         * resource.c (mark_target_live_regs): Check that the target
17435         insn wasn't created after compute_bb_for_insn.
17436
17437 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
17438
17439         * ggc-page.c (poison_pages): Don't be overzealous.
17440
17441 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
17442
17443         * alias.c: Update comments for ADDRESS.
17444         (nonlocal_reference_p): Look inside the ADDRESS to determine if
17445         it is a local memory reference.
17446
17447         * c-typeck.c (build_function_call): Check that the built-in
17448         function is of class BUILT_IN_NORMAL before trying to recongize
17449         it as BUILT_IN_ABS.
17450         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
17451         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
17452
17453 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
17454
17455         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
17456         of alloca.
17457         (pre_gcse): Likewise.
17458         (hoist_expr_reaches_here_p): Likewise.
17459         (hoist_code): Likewise.
17460         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
17461         code to ...
17462         (pre_expr_reaches_here_p_work): ... here.
17463         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
17464         code to ...
17465         (expr_reaches_here_p_work): ... here.
17466
17467 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
17468
17469         * resource.c (find_basic_block): Delete.
17470         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
17471         (init_resource_info): Call compute_bb_for_insn.
17472
17473 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
17474
17475         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
17476         with already adjacent blocks, but no fallthru.
17477         (merge_blocks_move_successor_nojumps): Simplify.
17478         (debug_flow_info): New.
17479
17480         * toplev.c (rest_of_compilation): Open jump1 dump file before
17481         jump and close after, as opposed to just using dump_rtl.
17482
17483 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17484
17485         * reload.h (earlyclobber_operand_p): Declare.
17486         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
17487         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
17488         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
17489         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
17490
17491 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
17492                           Richard Henderson  <rth@cygnus.com>
17493
17494         * emit-rtl.c (emit_block_insn_before): New.
17495         (emit_block_insn_after): New.
17496         * basic-block.h: Declare them.
17497
17498         * bitmap.h: Protect from multiple inclusion.
17499
17500         * recog.c (scratch_operand): Handle VOIDmode correctly.
17501
17502         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
17503
17504         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
17505         * function.c (assign_parms): Likewise.
17506         * global.c (global_conflicts): Clarify STACK_REGS commentary.
17507
17508         * reg-stack.c (max_uid): Remove.
17509         (blocks, block_begin, block_end, block_drops_in): Remove.
17510         (block_stack_in, block_out_reg_set, block_number): Remove.
17511         (struct block_info_def, BLOCK_INFO): New.
17512         (enum emit_where): New.
17513         (current_block): New.
17514         (BLOCK_NUM): Remove.
17515         (mark_regs_pat, record_label_references): Remove.
17516         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
17517         (nan): New.
17518         (goto_block_pat, print_blocks, dump_stack_info): Remove.
17519         (reg_to_stack): Simplified test for existance of fp code.  Use
17520         flow.c code.  Call shorten_branches after cross-jump opt.
17521         (check_asm_stack_operands): Renamed from record_asm_reg_life.
17522         Return false if the asm doesn't use stack regs.  Don't do life
17523         analysis on the asm.
17524         (emit_pop_insn): Replace function pointer arg `when' with
17525         enum `where'.  Update all callers.
17526         (change_stack): Likewise.  Update basic block end.
17527         (emit_swap_insn): Use current_block->head to limit reverse search
17528         for start of block.  Use emit_block_insn_after.
17529         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
17530         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
17531         structure assignment instead of bcopy.
17532         (print_stack): New.
17533         (convert_regs_entry, convert_regs_exit): New.
17534         (convert_regs_1, convert_regs_2): Split out from convert_regs.
17535         Work on basic blocks and the CFG.
17536         (convert_regs): Use them.
17537
17538         * i386.c (output_fix_trunc): Remove code for DImode input operand
17539         not at top-of-stack.
17540         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
17541         appropriate mode.
17542         (fix_truncdi_1): Allow any mode scratch.
17543
17544 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
17545
17546         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
17547         * linux.h, netbsd.h, vms.h: Not here.
17548
17549 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
17550
17551         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
17552         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
17553         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
17554         CONDITIONAL_REGISTER_USEAGE): Use them.
17555         * config/mips/mips.c (mips_move_1word,mips_move_2words,
17556         gen_conditional_branch,override_options) : Use them.
17557         * config/mips/mips.md : Use them.
17558
17559 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
17560
17561         * i386.md (zero_extendqihi2): Use SImode register name with andl.
17562
17563 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
17564
17565         * integrate.c (function_cannot_inline_p): Don't allow inlining
17566         if setjmp is used.
17567
17568 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17569
17570         * c-parse.in (cast_expr): Constify.
17571
17572         * cccp.c (special_symbol): Likewise.
17573
17574         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
17575
17576         * dwarf2out.c (base_type_die): Likewise.
17577
17578         * global.c (allocno_compare): Likewise.
17579
17580         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
17581
17582         * regclass.c (fix_register): Likewise.
17583
17584         * rtl.h (fix_register): Likewise.
17585
17586         * stupid.c (stupid_reg_compare): Likewise.
17587
17588         * toplev.c (decode_f_option): Likewise.
17589
17590         * tree.c (build_complex_type): Likewise.
17591
17592 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
17593
17594         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
17595
17596 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17597
17598         * reload.c (find_reloads): Compute mode and nregs fields of all
17599         reloads.
17600         * reload1.c (calculate_needs_all_insns): Simplify a bit.
17601         (calculate_needs): Use precomputed mode/nregs values.
17602         (allocate_reload_reg): Likewise.
17603         Break out two...
17604         (failed_reload, set_reload_reg): ... new functions.
17605         (choose_reload_regs_init): New function, mostly broken out from...
17606         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
17607         Also lose one #if 0 block.
17608
17609 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
17610
17611         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
17612         substitution.
17613
17614 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
17615
17616         * tree.h (BLOCK_TYPE_TAGS): Remove.
17617         (BLOCK_END_NOTE): Likewise.
17618         (BLOCK_LIVE_RANGE_FLAG): Likewise.
17619         (BLOCK_LIVE_RANGE_START): Likewise.
17620         (BLOCK_LIVE_RANGE_END): Likewise.
17621         (tree_block): Remove live_range_flag, live_range_var_flag, and
17622         type_tags.  Remove end_note, live_range_start, and live_range_end.
17623         (remember_end_note): Remove prototype.
17624         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
17625         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
17626         remember_end_note.
17627         * ggc-common.c (ggc_mark_tree_children): Don't mark
17628         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
17629         * integrate.c (adjust_copied_decl_tree): Remove.
17630         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
17631         * stmt.c (last_block_end_note): Remove.
17632         (init_stmt): Don't add a GC root for it.
17633         (expand_fixup): Don't set it.
17634         (remember_end_note): Remove.
17635         (expand_end_bindings): Don't set last_block_end_note.
17636
17637 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17638
17639         * reload1.c (reload_reg_free_for_value_p): Show
17640         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
17641         reloads.
17642
17643 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
17644
17645         * expmed.c (extract_bit_field): Allow for the case of non-integer
17646         objects that are smaller than a word (like SFmode on a 64-bit
17647         machine).
17648
17649         * loop.c (basic_induction_var): A non-integer variable which is
17650         being set by a paradoxical subreg is probably not a biv.
17651
17652 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17653
17654         * prefix.c (translate_name) Check for empty prefix string.
17655
17656 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
17657
17658         * Makefile.in (CPP_CROSS_NAME): New variable.
17659         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
17660         xcpp.
17661         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
17662         names of the files to be uninstalled.
17663
17664 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
17665
17666         * collect2.c (IS_DIR_SEPARATOR): Define.
17667         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
17668
17669         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
17670         functions too.
17671
17672         * haifa-sched.c (add_dependence): Update the true dependency
17673         cache the first time we add a true dependence to the LOG_LINKS chain.
17674
17675 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
17676
17677         * fold-const.c (fold): Fix comment.
17678
17679 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17680
17681         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
17682         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
17683         dbxout_start_new_source_file, dbxout_source_file,
17684         dbxout_source_line, dbxout_finish, dbxout_type_fields,
17685         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
17686         Constify a char*.
17687         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
17688         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
17689         (dbxout_block): Initialize variable `blocknum'.
17690
17691         * dbxout.h (dbxout_init, dbxout_finish,
17692         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
17693         dbxout_args, dbxout_source_line): Constify a char*.
17694
17695         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
17696         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
17697         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
17698         low_pc_attribute, high_pc_attribute, body_begin_attribute,
17699         body_end_attribute, comp_dir_attribute, sf_names_attribute,
17700         src_info_attribute, mac_info_attribute, producer_attribute,
17701         lookup_filename, generate_macinfo_entry, fundamental_type_code,
17702         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
17703         dwarfout_undef): Constify a char*.
17704         (add_incomplete_type, retry_incomplete_types): Add prototypes.
17705
17706         * dwarfout.h (dwarfout_define, dwarfout_undef,
17707         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
17708
17709 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
17710
17711         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
17712         (MULTILIB_ISA_DEFAULT): New.
17713         (MULTILIB_DEFAULTS): Use it.
17714         * config/mips/mips.c (): Remove the now unnecessary definition
17715         of MIPS_ISA_DEFAULT.
17716         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
17717         unnecessary definition.
17718
17719 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
17720
17721         * arm.md (pic_load_addr): Add constraints to operand 1.
17722
17723 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
17724
17725         * fixinc/genfixes:  Provide a means for specifying -D options to
17726         AutoGen
17727
17728 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
17729
17730         * arm.c (arm_override_options): Correct initialization of
17731         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
17732         arm_is_strong, and arm_is_6_or_7.
17733
17734         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
17735         (note_set_pseudo_multiple_uses): New function.
17736         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
17737         if a pseudo set in the loop exit is used elsewhere.
17738
17739 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
17740
17741         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
17742
17743 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
17744
17745         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
17746         a single load-address pattern.
17747
17748 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
17749
17750         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
17751         depending on whether or not line-number notes are present.
17752
17753 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17754
17755         * cccp.c (progname, file_buf, default_include, include_file,
17756         macrodef, definition, hashval, wchar_type, user_label_prefix,
17757         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
17758         expand_to_temp_buffer, is_system_include, base_name,
17759         absolute_filename, read_name_map, open_include_file,
17760         record_control_macro, check_precompiled, check_preconditions,
17761         pcfinclude, pass_thru_directive, create_definition,
17762         check_macro_name, comp_def_part, collect_expansion,
17763         check_assertion, read_token_list, assertion_install,
17764         assertion_lookup, eval_if_expression, conditional_skip,
17765         validate_else, skip_quoted_string, quote_string, macarg1,
17766         error_from_errno, install, lookup, hashf, dump_defn_1,
17767         perror_with_name, pfatal_with_name, main, trigraph_pcp,
17768         check_white_space, rescan, handle_directive, monthnames,
17769         special_symbol, do_include, remap_include_file, write_output,
17770         arglist, do_assert, do_unassert, do_line, do_error, do_once,
17771         do_ident, do_sccs, do_xifdef, skip_if_group,
17772         output_line_directive, macroexpand, macarg, change_newlines,
17773         initialize_builtins, make_definition): Constify a char*.
17774
17775         * pcp.h (stringdef): Likewise.
17776
17777 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
17778
17779         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
17780         not of pattern.
17781
17782 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
17783                           Richard Henderson  <rth@cygnus.com>
17784
17785         * alias.c: Include ggc.h.
17786         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
17787         (record_set): Verify enough room in reg_base_value.
17788         (init_alias_analysis): Allocate reg_base_value with xcalloc.
17789         Register it as a GC root.
17790         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
17791         * Makefile.in (alias.o): Depend on ggc.h.
17792
17793         * unroll.c (unroll_loop): Verify the insn before a barrier
17794         is a JUMP_INSN before checking JUMP_LABEL.
17795
17796 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17797
17798         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
17799         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
17800         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
17801         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
17802         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
17803         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
17804
17805 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17806
17807         * output.h (ctors_section, dtors_section, bss_section): Prototype.
17808
17809         * alpha/alpha-interix.h (text_section): Delete prototype.
17810         * alpha/elf.h (text_section): Likewise.
17811         * arm/linux-elf.h (text_section): Likewise.
17812         * arm/linux-telf.h (text_section): Likewise.
17813         * c4x/c4x.h (text_section): Likewise.
17814         * dsp16xx/dsp16xx.h (bss_section): Likewise.
17815         * elfos.h (text_section): Likewise.
17816         * i386/aix386ng.h (text_section): Likewise.
17817         * i386/i386-interix.h (text_section): Likewise.
17818         * i386/sco5.h (text_section): Likewise.
17819         * i386/svr3gas.h (text_section): Likewise.
17820         * nextstep.h (text_section): Likewise.
17821         * psos.h (text_section): Likewise.
17822         * ptx4.h (text_section): Likewise.
17823         * svr3.h (text_section): Likewise.
17824         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
17825
17826 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17827
17828         * final.c (peephole): Delete prototype.
17829
17830         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
17831         (pre_insert_copies): Remove unused variable `bb'.
17832
17833         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
17834         prototypes.
17835
17836         * output.h (peephole): Add prototype.
17837
17838 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
17839
17840         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
17841         -O0.
17842
17843 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
17844
17845         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
17846         for inlined declarations.
17847
17848 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
17849
17850         * arm.c (logical_binary_operator): New fucntion.
17851         * arm.h (logical_binary_operator): Declare it.
17852         (PREDICATE_CODES): Handle logical_binary_operator.
17853         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
17854         output constraints.  Add appropriate splitters.
17855         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
17856         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
17857         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
17858
17859 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17860
17861         * genoutput.c (struct operand_data): New elt eliminable.
17862         (output_operand_data): Write it.
17863         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
17864         (compare_operands): Take it into account.
17865         * recog.h (struct insn_operand_data): New elt eliminable.
17866         * reload1.c (check_eliminable_occurrences, elimination_effects): New
17867         functions.
17868         (old_asm_operands_vec, new_asm_operands_vec): Delete.
17869         (eliminate_regs): Move code that detects changes to elimination
17870         target regs into new function elimination_effects.
17871         Delete one #if 0 block.
17872         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
17873         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
17874         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
17875         Only call eliminate_regs for real operands of the insn, not for parts
17876         of its structure or parts matched by things like match_operator.
17877         Use elimination_effects and check_eliminable_occurrences.  Use
17878         copy_insn to duplicate the pattern when not in the final pass.
17879
17880 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
17881
17882         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
17883         and fld.
17884
17885 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
17886
17887         * fixinc/README: document the "mach" machine matching test
17888         * fixinc/fixfixes.c: Implement the #else/#endif label fix
17889         * fixinc/fixtests.c: Implement the #else/#endif label test
17890         * fixinc/inclhack.def: utilize these tests and fixes
17891         * fixinc/inclhack.sh:  regen
17892         * fixinc/fixincl.x:  regen
17893         * fixinc/fixincl.sh:  regen
17894
17895 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
17896
17897         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
17898         depend on ggc.h.
17899
17900 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
17901
17902         * gcc.1: Document exit codes.
17903
17904 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17905
17906         * calls.c: Include tm_p.h later, so everything we need is defined.
17907         * expr.c: Likewise.
17908         * function.c: Likewise.
17909
17910         * except.c: Include tm_p.h.
17911
17912         * sparc.c: Likewise.
17913         (dwarf2out_cfi_label): Don't prototype.
17914         (check_return_regs, epilogue_renumber,
17915         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
17916         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
17917         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
17918         ultra_schedule_insn): Add static prototype.
17919         (data_segment_operand, text_segment_operand): Call itself with the
17920         proper number of arguments.
17921         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
17922
17923         * sparc.h: Move all declarations to sparc-protos.h.
17924         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
17925         symbolic_operand.
17926
17927         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
17928
17929         * config/svr4.h (text_section, ctors_section, dtors_section): Add
17930         Prototypes.
17931         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
17932         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
17933         ASM_OUTPUT_ASCII): Constify a char*.
17934
17935         * sparc-protos.h: New file for sparc prototypes.
17936
17937 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17938
17939         * function.c (record_insns, contains): Always declare and define.
17940         (record_insns): Mark with ATTRIBUTE_UNUSED.
17941
17942 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17943
17944         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
17945         to .section when outputting a .bss section to deal with multiple
17946         .bss input sections (as happens with -fdata-sections)
17947         Also output %progbits, not @progbits so the assembler doesn't treat as
17948         a comment.
17949         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
17950
17951         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
17952         thumb parts even when building with non-thumb CPUs, by forcing
17953         thumb mode.
17954
17955 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
17956
17957         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
17958         (movdf_const_intreg_sp64): Similarly.
17959
17960         * local-alloc.c (update_equiv_regs): Check the correct insn
17961         for pre-existing REG_EQUIV notes.
17962
17963 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
17964
17965         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
17966         block reached by a branch if we're not going to actually process
17967         this block.
17968
17969 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
17970
17971         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
17972         a local extern function declaration.
17973
17974 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
17975
17976         * i386.c (ix86_expand_prologue): Properly wrap USE around
17977         reg for CALL_INSN_FUNCTION_USAGE.
17978
17979 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
17980
17981         * config/mips/mips.md (movdf_internal1a): Allow floating-point
17982         move between GP_REGs.
17983
17984 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
17985
17986         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
17987         the mode size when finding out if an offset is legal.
17988
17989 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
17990
17991         * basic-block.h (PROP_*): Move constants from ...
17992         * flow.c: ... here.
17993         (compute_bb_for_insn): Free the array before reallocating.
17994         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
17995         (allocate_reg_life_data): Reset all reg variables collected by
17996         propagate_block.
17997         (get_block_head_tail): Don't convert from bb to block.
17998         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
17999         (find_insn_reg_weight): Take block not bb.
18000         (schedule_block): Don't set block num for moved insns.
18001         (schedule_region): Don't update_life_info or find_insn_reg_weight.
18002         (schedule_insns): Do it here instead.
18003         * combine.c (combine_instructions): Invoke compute_bb_for_insn
18004         before update_life_info.
18005         * recog.c (split_all_insns, peephole2_optimize): Update for
18006         new arg to update_life_info.
18007         * rtlanal.c (remove_note): Cope with NULL note.
18008         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
18009         if we did sched1.
18010
18011 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
18012
18013         * jump.c (jump_optimize_1): More accurately detect casesi insns.
18014
18015         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
18016         block records so that merge_blocks_nomove will clean up correctly.
18017         (split_edge): Handle casesi insns.
18018
18019         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
18020
18021 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
18022
18023         * pa.md (call, call_value): Do not emit a blockage after restoring
18024         the PIC register.
18025
18026 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
18027
18028         * c-typeck.c (c_expand_asm_operands): Fix typo.
18029
18030 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18031
18032         * arm.c (fpu_rhs_operand): Verify modes.
18033         (fpu_add_operand): Likewise.
18034         (di_operand): Likewise.
18035         (soft_df_operand): Likewise.
18036
18037 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
18038
18039         * arm.c (arm_return_in_memory): APCS rules state that the elements
18040         of a structure returned in a register must be 'integer-like'.
18041
18042 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
18043
18044         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
18045         in the source tree when the generated targets are out of date
18046         * fixinc/genfixes: Alter it to run individual fixes for make.
18047         * fixinc/README: rewrite
18048         * fixinc/inclhack.def: moved initial comments to README
18049
18050 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
18051
18052         * toplev.c (main): Do not generate an error message if an
18053         unrecognised command line switch is recognisable by another
18054         language.  If extra_warnings are enabled, then generate a
18055         warning message instead.
18056
18057 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18058
18059         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
18060         (insert_pack_attributes): Delete prototype.
18061
18062         * c-pragma.c (default_alignment): New static variable.
18063         (push_alignment): Initialize to current effective alignment.
18064         (pop_alignment): Use to set new alignment.
18065         (insert_pack_attributes): Delete function.
18066         (handle_pragma_token): Set default_alignment as well each time
18067         a #pragma pack(<n>) is encountered.
18068
18069 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
18070
18071         * reg-stack.c (stack_result): Aggregates are not returned in
18072         stack registers.
18073
18074 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
18075
18076         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
18077
18078 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
18079
18080         * basic-block.h (set_block_num): Declare.
18081         * flow.c (update_life_info): Don't call compute_bb_for_insn
18082         or free_basic_block_vars.
18083         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
18084         (insn_orig_block): Remove.
18085         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
18086         (schedule_block): Keep BLOCK_NUM up-to-date.
18087         (schedule_insns): Use compute_bb_for_insn.
18088         * recog.c (split_all_insns): Likewise.
18089         (peephole2_optimize): Likewise.
18090
18091 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
18092
18093         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
18094         if the pic register is used.
18095
18096 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18097
18098         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
18099         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
18100         if that tests TREE_PERMANENT.
18101
18102 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
18103
18104         * cse.c (invalidate_for_call): Do not remove memory references from
18105         the table here.  It's handled elsewhere.
18106
18107         * haifa-sched.c (add_dependence): Protect references to the
18108         true dependency cache with #ifdef INSN_SCHEDULING.
18109         (remove_dependence): Similarly.
18110
18111         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
18112         to the cfg code that this is a return instruction.
18113         * mn10300.md (return_internal): Similarly.
18114
18115         * combine.c (get_last_value): If the last set of a register
18116         is after subst_low_cuid, then we can not use it to determine
18117         the register's last value.
18118
18119 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
18120
18121         * Makefile.in: Back out previous change.
18122
18123 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
18124
18125         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
18126
18127         * haifa-sched.c (add_dependence): Only check/update the cache
18128         if it exists.
18129         (remove_dependence): Likewise.
18130         (schedule_insns): Only create the true_dependency_cache if the
18131         average number of instructions in a basic block is very large.
18132
18133 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
18134
18135         * Makefile.in (ggc-common.o): Depend on genrtl.h.
18136         (ggc-simple.o): Likewise.
18137         (ggc-page.o): Likewise.
18138
18139 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
18140
18141         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
18142         Prototype for exported functions.
18143         (pre_lcm, pre_rev_lcm): Remove prototypes.
18144         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
18145         (compute_available): Move to lcm.c, and change parameter order.
18146         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
18147         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
18148         (gcse_main): No longer call compute_preds_succs.  Rebuild the
18149         set table after reach pre pass.
18150         (pre_insert_map, pre_delete_map, edge_list): New.
18151         (alloc_pre_mem): Allocate edge vectors.
18152         (free_pre_mem): Delete edge vectors.
18153         (compute_pre_data): Call new edge based lcm routines.
18154         (process_insert_insn): New function.
18155         (insert_insn_end_bb): Use it.
18156         (pre_edge_insert): New function.
18157         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
18158         needed.
18159         (pre_insert_copies): Revamp using new edge based lcm outputs.
18160         (pre_delete): Likewise.
18161         (one_pre_gcse_pass): Insert & remove fake edges to the exit
18162         block.
18163         (compute_code_hoist_vbeinout): New new edge based routines.
18164         * lcm.c: Remove all the old LCM functions.  Replace with new ones
18165         that work with the new cfg datastructures and work with edges
18166         instead of blocks.
18167
18168 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18169
18170         * reload.h (struct reload): Add new fields "mode" and "nregs".
18171         * reload1.c: Change all occurrences of reload_mode and reload_nregs
18172         to reference the "mode" and "nregs" field within struct reload.
18173
18174 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
18175
18176         * haifa-sched.c (true_dependency_cache): New.
18177         (add_dependence): Use the true dependency cache to avoid expensive
18178         walks down the LOG_LINKS dependency list.  Add entries to the
18179         cache as necessary.
18180         (remove_dependence): Remove entries from the true dependency cache
18181         as needed.
18182         (schedule_insns): Allocate and initialize and free the true
18183         dependency cache.
18184
18185         * haifa-sched.c (schedule_insns): Do not remove inter-block
18186         dependencies anymore.
18187
18188 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
18189
18190         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
18191         * i386/t-winnt: Likewise.
18192
18193 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
18194
18195         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
18196
18197 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
18198
18199         * Makefile.in (LANGUAGES): Omit "proto".
18200         (clean): Remove stale comment about removing unprotoize.c.
18201
18202 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18203
18204         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
18205         using arithmetic on void pointers.
18206
18207 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
18208
18209         * haifa-sched.c (compute_block_forward_dependencies): Only check
18210         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
18211
18212 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
18213
18214         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
18215         (expr_equiv_p): Reject memories with different alias sets.
18216
18217 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
18218
18219         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
18220         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
18221         (f_options): Add "bounded-pointers" and "bounds-check" entries.
18222         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
18223         (lang_init): Set default for flag_bounds_check if still "unspecified".
18224
18225 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18226
18227         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
18228
18229 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18230
18231         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
18232         instructions.
18233
18234 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18235
18236         * config/c4x/c4x.md (*db_noclobber,
18237         *decrement_and_branch_until_zero_noclobber): New patterns and
18238         associated splitters.
18239
18240 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18241
18242         * config/c4x/c4x.md (parallel instruction patterns): Rework
18243         constraints to keep reload happy.
18244
18245 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18246
18247         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
18248         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
18249         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
18250         Add new patterns and associated post-reload splitters.
18251
18252 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18253
18254         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
18255
18256 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18257
18258         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
18259         if appropriate.
18260         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
18261
18262 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18263
18264         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
18265         memory mode.
18266
18267 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18268
18269         * pa.c (move_operand): Rely on memory_address_p to determine the
18270         validity of non-indexed memory addresses.
18271         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
18272         operand in DFmode and SFmode when generating PA2.0 code.
18273
18274 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
18275
18276         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
18277
18278 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
18279
18280         * mips.c (function_prologue): Fix argument types.
18281         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
18282         (casesi_internal): Write to the scratch register.
18283
18284 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
18285
18286         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
18287         to U_CHAR **.
18288         (parse_charconst): Delete unnecessary cast when calling
18289         cpp_parse_escape.
18290         (cpplib.h): Kill prototype of cpp_parse_escape.
18291
18292 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
18293
18294         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
18295         * unroll.c (unroll_loop): Cast return value of alloca.
18296         * i370/i370.c: Include function.h and toplev.h.
18297         (i370_label_scan): Remove c++ commented abort.
18298         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
18299         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
18300         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
18301         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
18302
18303 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
18304
18305         * config/t-freebsd: Do not override USER_H.
18306         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
18307
18308 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
18309                           Mumit Khan  <khan@xraylith.wisc.edu>
18310
18311         * c-parse.in (component_decl): Support anonymous struct/union.
18312         (%expect): Update.
18313         * c-parse.y: Regenerate.
18314         * c-parse.c: Likewise.
18315         * objc/objc-parse.y: Likewise.
18316         * objc/objc-parse.c: Likewise.
18317         * c-decl.c (finish_struct): Don't sort the fields.
18318         (field_decl_cmp): Delete unused function.
18319
18320 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
18321
18322         * sparc.md (movsf_const_intreg): Revert last constraint change.
18323         (movdf_const_intreg_sp32): Likewise.
18324
18325 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
18326
18327         * cse.c: Include hashtab.h instead of splay-tree.h
18328         (struct cse_reg_info): No longer use variant union.  Add new
18329         field "regno".  All references changed to avoid union.
18330         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
18331         (free_cse_reg_info): Remove.
18332         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
18333         (get_cse_reg_info): Revamp to use expandable hash tables instead
18334         of splay trees.  Initialize new fields in cse_reg_info structure.
18335         (new_basic_block): Similarly.
18336
18337 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
18338
18339         * genrecog.c (message_with_line): Prototype.
18340         (validate_pattern): Pass along the set for the dest, not a flag.
18341         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
18342         Check for PC/CC0 as sources.
18343         (nodes_identical): Check for children position match before
18344         allowing the combination.
18345
18346         * rtl.c (read_rtx): Track line number across \\\n.
18347
18348 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
18349
18350         * mips.h (SPECIAL_MODE_PREDICATES): New.
18351         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
18352         (movdi+1, movsi+1): Add output reload constraint.
18353         (casesi_internal): Likewise.  Fix commentary.
18354         (return_internal): Use pmode_register_operand.
18355
18356 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
18357
18358         * 1750a.md (movstrqi): Add missing output reload constraint.
18359         (call_value): Likewise.
18360         * a29k.md (cpxxx patterns): Add missing match_operator mode.
18361         (jmpfdec): Add missing inout reload constraint.
18362         * elxsi.md (addsi patterns): Add missing output reload constraint.
18363         (move from sp): Use @ alternates.
18364         (call_value): No constraint on output.
18365         * fr30.md (movsi_pop): Add missing output reload constraint.
18366         (movsf_constant_store): Likewise.
18367         (splits): Remove constraints.
18368         (subsi3): Add missing mode.
18369         * i370.md (cmpstrsi+1): Add missing output reload constraint.
18370         (call_value): Likewise.
18371         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
18372         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
18373         * m32r.md (movsicc_internal): Add output reload constraint.
18374         (movstrsi_internal): Add inout reload constraints.
18375         * m88k.h (reg_names): Don't declare.
18376         (SPECIAL_MODE_PREDICATES): New.
18377         * m88k.md (*): Use register_operand not reg_or_0_operand
18378         on destinations.
18379         * mn10200.h (PREDICATE_CODES): New.
18380         * ns32k.md (ffs pattern): Add output reload constraint.
18381         * pdp11.md (sob pattern): Add inout reload constraint.
18382         * sh.md (splits): Remove constraints.
18383         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
18384         * v850.md (pattern_is_ok_for_epilogue): Likewise.
18385         * vax.md (jgequ pattern): Add inout reload constraint.
18386
18387 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
18388
18389         * configure.in (djgpp): Revert previous patch.
18390         * configure: Rebuit.
18391         * config/i386/djgpp.h: Revert previous patch.
18392
18393 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
18394
18395         * fixinc/inclhack.def: Restore patch lost during last merge of
18396         "no_bogosity" branch.
18397         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
18398
18399 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18400
18401         * fixincludes: Add a HPUX 11 fix for inttypes.h.
18402         * fixinc/inclhack.def: Same.
18403         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
18404
18405 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
18406
18407         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
18408         as the base of a PLUS.
18409
18410 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18411
18412         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
18413         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
18414
18415 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
18416
18417         * pa.md (post_stw+1): Use pmode_register_operand.
18418         (dcacheflush, icacheflush): Likewise.
18419
18420         * i386.md (movstricthi_1): Allow r/r.
18421
18422 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
18423
18424         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
18425         to (not (and (arg0) (arg1))). Similary for and.
18426
18427         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
18428         fallthrough to associate code.
18429         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
18430         bits in common.
18431
18432         * combine.c (simplify_logical): Convert XOR to IOR if operands have
18433         no bits in common; remove XOR to ROTATE conversion.
18434
18435 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18436
18437         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
18438
18439 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18440
18441         * config/c4x/c4x.c (dst_operand): New.
18442         (PREDICATE_CODES): Update.
18443         * config/c4x/c4x.h (dst_operand): Declare it.
18444         * config/c4x/c4x.md:  Define mode for each unspec usage.
18445         (move patterns):  Use dst_operand predicate instead of src_operand.
18446         (movqi_update, movqf_update): Delete.
18447
18448 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
18449
18450         * recog.c (pmode_register_operand): New.
18451         * recog.h: Declare it.
18452         * genrecog.c (pred_codes): Likewise.
18453         (special_mode_pred_table): Likewise.
18454         (validate_pattern): Don't warn no mode for address_operand.
18455
18456         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
18457         if the operand is not insn-like.
18458
18459 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
18460                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
18461
18462         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
18463
18464 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
18465
18466         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
18467         instead of general_operand in a SET_DEST.  Use const_double_operand
18468         instead of an explicit test against CONST_DOUBLE.
18469         (movsf_const_lo): Add missing register mode.
18470         (goto_handler_and_restore): Add auxiliary test for Pmode.
18471         (flush): Adjust to use address_operand.
18472         (return_sf_no_fpu): Add missing output constraint.
18473
18474 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
18475
18476         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
18477         for call return value.
18478         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
18479
18480 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
18481
18482         * toplev.c (main): Only warn about options for other languages.
18483         * collect2.c (main): Pass -w to sub-gcc.
18484
18485 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
18486
18487         * flow.c (propagate_block): Add call-clobbered registers to
18488         significant too.
18489
18490         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
18491         zapping mem_set_list.
18492         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
18493         (mark_set_1, mark_used_regs): Likewise.
18494
18495 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
18496
18497         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
18498
18499 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
18500
18501         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
18502         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
18503         options. Also add a new item "C-only Warning Options" to the
18504         option summary.
18505
18506 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
18507
18508         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
18509         from multiple calls.
18510
18511 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
18512
18513         * i386.md (call value patterns): Move to the end of the file.
18514         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
18515
18516 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
18517
18518         * configure.in (djgpp configuration): Define extra_objects..
18519         * configure: Rebuilt.
18520         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
18521         (DTORS_SECTION_ASM_OP): Define.
18522         (INIT_SECTION_ASM_OP): Define.
18523         (FINI_SECTION_ASM_OP): Define.
18524         (DATA_SECTION_ASM_OP): Define.
18525         (TEXT_SECTION_ASM_OP): Define.
18526         (EH_FRAME_SECTION_ASM_OP): Define.
18527         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
18528         (STARTFILE_SPEC): Add crtbegin.o.
18529         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
18530         to here from LINK_COMMAND_SPEC.
18531         (DO_GLOBAL_CTORS_BODY): Define.
18532         (CRTSTUFF_USE_FINI_SECTION): Define
18533         (HAS_INIT_SECTION): Delete.
18534
18535 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
18536
18537         * Makefile.in (all.cross): Depend on xcpp$(exeext).
18538
18539 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
18540
18541         * pa.h (PREDICATE_CODES): New.
18542
18543         * genrecog.c (validate_pattern): Condense the destination
18544         non-lvalue message.
18545
18546 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
18547
18548         * alpha.md (call-1): Supply missing mode for operator.
18549         (*): Add missing output reload constraints.  Remove constraints
18550         from define_splits.
18551
18552         * i386.h (SPECIAL_MODE_PREDICATES): New.
18553         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
18554         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
18555         (addsi_lea_3): Add missing mode for op 3.
18556         (prologue_set_got, prologue_get_pc): Add missing modes.
18557         (*) Add missing output reload constraints.
18558
18559 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
18560
18561         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
18562         check for member bit-size overflow and use var_size if it occurs.
18563         (layout_record): Use bitsize_int() to define the type size in bits.
18564         Likewise for computation and assignment to DECL_FIELD_BITPOS.
18565         (layout_decl): Likewise when assigning to DECL_SIZE.
18566
18567 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
18568
18569         * genrecog.c (validate_pattern): Typo last change.  Verify
18570         that output operands have output reloads.
18571
18572 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
18573
18574         * genrecog.c (special_mode_pred_table): New.
18575         (NUM_SPECIAL_MODE_PREDS): New.
18576         (find_operand): New.
18577         (validate_pattern): New argument `insn'.  Warn for assignment to
18578         any predicate accepting non-lvalues.  Conditionaly warn for
18579         match_operand without a mode.  Try much harder to match source
18580         and destination modes on a set.
18581         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
18582
18583 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
18584
18585         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
18586
18587 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
18588
18589         * combine.c (simplify_logical): Recognize xor pattern that encodes
18590         rotation.
18591
18592 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18593
18594         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
18595         alignment.
18596
18597 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
18598
18599         * ggc-page.c (MAP_FAILED): Provide default.
18600
18601 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
18602
18603         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
18604         * sparc.h (PREDICATE_CODES): Update.
18605
18606 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
18607
18608         * alpha.c (some_ni_operand): New.
18609         * alpha-protos.h: Declare it.
18610         * alpha.h (PREDICATE_CODES): Update.
18611         * alpha.md (sXaddq reload insns): Use some_ni_operand
18612         for SET_DEST instead of some_operand.
18613
18614 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
18615                           Jim Wilson  <wilson@cygnus.com>
18616
18617         * genrecog.c (maybe_both_true_2): Don't compare modes of
18618         two DT_pred tests.
18619         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
18620         after find_afterward.
18621         (debug_decision_1): Dump next and afterward codes.
18622
18623 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
18624
18625         * rtl.c (dump_and_abort): Remove.
18626         (fatal_with_file_and_line): New.
18627         (fatal_expected_char): New.
18628         (read_rtx_lineno, read_rtx_filename): New.
18629         (read_skip_spaces): Track line number.
18630         (read_name): Use fatal_with_file_and_line.
18631         (read_rtx): Use fatal_expected_char.  Track line number.
18632         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
18633
18634         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
18635         if it isn't a CODE_LABEL.
18636
18637         * genattr.c (main): Set read_rtx_filename.
18638         * genattrtab.c (main): Likewise.
18639         * gencodes.c (main): Likewise.
18640         * genconfig.c (main): Likewise.
18641         * genemit.c (main): Likewise.
18642         * genextract.c (main): Likewise.
18643         * genflags.c (main): Likewise.
18644         * genopinit.c (main): Likewise.
18645         * genoutput.c (main): Likewise.
18646         * genpeep.c (main): Likewise.
18647
18648         * genrecog.c (decision_test.u.insn): Add `lineno'.
18649         (pattern_lineno, error_count): New variables.
18650         (message_with_line): New.
18651         (add_to_sequence): Break out checking code to ...
18652         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
18653         (merge_insn): Use message_with_line.
18654         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
18655         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
18656
18657 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18658
18659         * expr.c (store_constructor): Clear union if constructor is empty.
18660
18661 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
18662
18663         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
18664         Add !endian checks.  Change %{...} to %(...).
18665
18666 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
18667
18668         * i386.md (*addsi3_cc): Renamed from addcsi3.
18669         (*addsi3_carry): Renamed from addxsi3.
18670         (*subsi3_cc): Renamed from subcsi3.
18671         (*subsi3_carry): Renamed from subxsi3.
18672         (*xorqi_cc_1): Renamed from xorcqi_1.
18673         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
18674         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
18675
18676 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
18677
18678         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
18679         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
18680
18681 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
18682
18683         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
18684         climb up the chain of insns.
18685
18686 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
18687
18688         * genrecog.c (write_subroutine): Careful for null trees.
18689         (process_tree): Don't elide empty functions.
18690
18691 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
18692
18693         * Makefile.in (genrtl.o): Depend on ggc.h.
18694         * configure.in (valloc): Probe for it.
18695         (with-gc): Use ggc-page if valloc present.
18696         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
18697         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
18698         (ggc_alloc_string): Moved from ggc-page.c.
18699         * ggc-none.c (ggc_alloc_obj): New.
18700         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
18701         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
18702         (struct globals): Likewise for dev_zero_fd.
18703         (init_ggc): Likewise for it's initialization.
18704         (ggc_allocated_p): Move careful dereference from ...
18705         (ggc_lookup_page_table): ... here.  Delete.
18706         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
18707         (alloc_anon): Use valloc if no mmap.
18708         (release_pages): Use free if using valloc.
18709         (ggc_alloc_obj): Renamed from alloc_obj.
18710         (ggc_set_mark): Renamed from mark_obj.
18711         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
18712         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
18713         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
18714         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
18715         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
18716         (ggc_collect): Use fp printing instead of our own rounding.
18717         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
18718         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
18719         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
18720         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
18721         (struct ggc_string, struct ggc_any): Delete.
18722         (offsetof): Provide default definition.
18723         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
18724         (PTR_KEY): New.
18725         (struct ggc_mem): New, from corpse of ggc_any.
18726         (struct ggc_status): Delete.
18727         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
18728         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
18729         (n_strings_collected, n_anys_collected): Delete.
18730         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
18731         (ggc_alloc_string, ggc_alloc): Delete.
18732         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
18733         (ggc_free_string, ggc_free_any): Delete.
18734         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
18735         (ggc_compare_addresses, ggc_mark_string): Delete.
18736         (ggc_mark_string_if_gcable, ggc_mark): Delete.
18737         (search_data): Delete.
18738         (struct globals): New.
18739         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
18740         (tree_insert, tree_lookup): New.
18741         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
18742         (clear_marks, sweep_objs): New.
18743         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
18744         (init_ggc): Set allocated_last_gc.
18745         (ggc_push_context): Gut.  Use G.context.
18746         (ggc_pop_context): Likewise.
18747         (ggc_pop_context_1): New.
18748         (debug_ggc_tree): New.
18749         (debug_ggc_balance, tally_leaves): New.
18750         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
18751         (ggc_mark_string_if_gcable): Remove decl.
18752         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
18753         (ggc_mark_rtvec_children): New.
18754         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
18755         (ggc_mark_if_gcable): New decl.
18756         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
18757         (ggc_alloc_tree, ggc_alloc): Likewise.
18758         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
18759         (ggc_alloc_obj): New decl.
18760         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
18761         (ggc_alloc_tree, ggc_alloc): Likewise.
18762         (ggc_set_mark): New decl.
18763         * rtl.h (struct rtx_def): Remove gc_mark.
18764         (struct rtvec_def): Likewise.
18765         * tree.h (struct tree_common): Likewise.
18766
18767 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
18768
18769         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
18770         float_format and thread_file definitions.
18771         * configure: Rebuilt.
18772
18773 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
18774
18775         * extend.texi (Function Names): Document types of function names.
18776
18777 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18778
18779         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
18780         an earlyclobbered output conflict with RELOAD_INPUT reloads.
18781
18782 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18783
18784         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
18785
18786 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18787
18788         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
18789
18790 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
18791
18792         * collect2.c (main): Do prelimnary link on AIX if rflag.
18793
18794 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18795
18796         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
18797         __CTOR_LIST__ in opposite order, which is the correct order for sorted
18798         constructors.
18799         (__do_global_dtors): similarly for __DTOR_LIST__.
18800
18801 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18802                                 Diego Novillo <dnovillo@cygnus.com>
18803
18804         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
18805         FPUL_REGS.
18806
18807 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
18808
18809         * fixincl/*: Merged "no_bogosity" branch
18810         * fixincl/fixlib.h: protect against doubly defining t_bool
18811         * fixincl/server.h: protect against doubly defining t_bool
18812
18813 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
18814
18815         * genoutput.c: Include toplev.h.
18816
18817 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
18818
18819         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
18820         Undef.
18821         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
18822         * configure: Regenerate.
18823
18824 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
18825
18826         * gcse.c (delete_null_pointer_checks): Returns void.
18827
18828 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18829
18830         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
18831         * emit-rtl.c (copy_insn_1): Likewise.
18832
18833 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18834
18835         * config/mips/mips.c (mips_build_va_list): Correct
18836         TREE_CHAIN setting when hard-float.
18837         (mips_va_start): Use corrected setting.
18838         (mips_va_arg): Likewise.  Also pass a tree to build of
18839         POSTINCREMENT_EXPR rather than a naked 'int'.
18840
18841 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
18842
18843         * ggc.h (ggc_push_context): Fix comment.
18844         (ggc_pop_context): Likewise.
18845         (mark_string_if_gcable): Likewise.
18846         * ggc-common.c (ggc_mark_rtx_children): Use
18847         ggc_mark_string_if_gcable.
18848         * ggc-page.c (ggc_lookup_page_table): New function.
18849         (ggc_allocated_p): Likewise.
18850         (mark_obj): Fix formatting.
18851         (ggc_mark_string_if_gcable): New function.
18852         * ggc-simple.c (ggc_allocated_strings): New variable.
18853         (ggc_strings_used): Likewise.
18854         (ggc_compare_addresses): New function.
18855         (ggc_pop_context): Pop the `any' memory too.
18856         (ggc_mark_string_if_gcable): New function.
18857         (ggc_collect): Initialize and tear down ggc_allocated_strings.
18858
18859 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
18860
18861         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
18862         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
18863         * rs6000.c (expand_block_move): Match movstrsi_?reg register
18864         changes.
18865
18866 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
18867
18868         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
18869         (sched_reg_live_length, sched_reg_basic_block): Delete.
18870         (current_block_num, bb_live_regs, old_live_regs): Delete.
18871         (dead_notes, struct sometimes): Delete.
18872         (sched_note_set, birthing_insn_p): Delete.
18873         (adjust_priority): Gut useless reg lifetime code.
18874         (create_reg_dead_note, attach_deaths): Delete.
18875         (attach_deaths_insn, new_sometimes_live): Delete.
18876         (finish_sometimes_live): Delete.
18877         (find_pre_sched_live, find_post_sched_live): Delete.
18878         (update_reg_usage): Delete.
18879         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
18880         (schedule_insns): Delete reg lifetime code.
18881         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
18882         (unlink_other_notes): Adjust REG_NOTE commentary.
18883         (reemit_notes): Use REG_SAVE_NOTE.
18884         (schedule_block): Likewise.
18885         (schedule_region): Allocate bitmap of blocks in region.  Use
18886         count_or_remove_death_notes.  Use update_life_info.
18887
18888         * rtl.h (REG_SAVE_NOTE): New.
18889         * rtl.c (reg_note_name): Update.
18890
18891 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
18892
18893         * combine.c (refresh_blocks, need_refresh): New.
18894         (combine_instructions): Allocate refresh_blocks.  Invoke
18895         update_life_info if needed.
18896         (distribute_notes): Mark refresh_blocks instead of installing
18897         USE insns.
18898         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
18899         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
18900
18901         * Makefile.in (recog.o): Depend on basic-block.h.
18902
18903 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
18904
18905         * genrecog.c (add_to_sequence): Thinko last change: delete
18906         shadowing allow_const_int variable.
18907
18908 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18909
18910         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
18911         __GNUC__ and __GNUC_MINOR__.
18912
18913         * gansidecl.h: Likewise.
18914
18915         * rtl.c: Likewise.
18916
18917         * rtl.h: Likewise.
18918
18919         * toplev.h: Likewise.
18920
18921         * tree.c: Likewise.
18922
18923         * tree.h: Likewise.
18924
18925         * varray.c: Likewise.
18926
18927         * varray.h: Likewise.
18928
18929 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18930
18931         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
18932         use one before a jump table.
18933
18934         * rtl.def (ADDRESS): Change documentation to match reality.
18935         * md.texi: Don't document it.
18936         * gmicro.md (load address pattern): Use 'p' constraint, delete use
18937         of ADDRESS rtx.
18938
18939         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
18940
18941 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
18942
18943         * genrecog.c (add_to_sequence): Move allow_const_int test outside
18944         known predicate block; default allow_const_int true.
18945         (debug_decision_list): New.
18946
18947 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
18948
18949         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
18950
18951 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
18952
18953         * gcse.c (gcse_main): Avoid global optimizations if we have a
18954         large number of basic blocks and the ratio of edges to blocks
18955         is high.
18956         (delete_null_pointer_checks): Likewise.
18957
18958 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
18959
18960         * c-common.c (check_format_info): Warn if format string isn't a
18961         string literal.
18962
18963 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18964
18965         * configure.in (arm*-*-*): Don't let autoconf remove brackets
18966         * configure: regenerate
18967
18968 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
18969
18970         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
18971         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
18972         (peepholes): Re-enable.
18973
18974 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
18975
18976         * Makefile.in (flow.o): Depend on TREE_H.
18977         * basic-block.h (REG_SET_EQUAL_P): New.
18978         (XOR_REG_SET): New.
18979         (n_edges): Declare.
18980         (free_regset_vector): Remove declaration.
18981         (flow_delete_insn_chain): Declare.
18982         (enum update_life_extent): New.
18983         (update_life_info, count_or_remove_death_notes): Declare.
18984         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
18985         Verify register live at bb->global_live_at_start before adding USE.
18986         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
18987         (CLEAN_ALLOCA): New.
18988         (n_edges): New.
18989         (PROP_*): New flags.
18990         (find_basic_blocks_1): Use alloc_EXPR_LIST.
18991         (clear_edges): Zero n_edges.
18992         (make_edge): Increment n_edges.
18993         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
18994         (flow_delete_insn_chain): Export.
18995         (delete_block): Decrement n_edges.
18996         (merge_blocks_nomove): Likewise.
18997         (life_analysis): Give life_analysis_1 PROP flags.
18998         (verify_wide_reg_1, verify_wide_reg): New.
18999         (verify_local_live_at_start): New.
19000         (update_life_info): Rewrite to call into propogate_block.
19001         (mark_reg): New.
19002         (mark_regs_live_at_end): After reload, if epilogue as rtl,
19003         always mark stack pointer.  Conditionally mark PIC register.
19004         After reload, mark call-saved registers, return regsiters.
19005         (life_analysis_1): Accept PROP flags not remove_dead_code.
19006         Call mark_regs_live_at_end before zeroing regs_ever_live.
19007         Use calculate_global_regs_live.  Copy global_live_at_end before
19008         calling final propagate_block.  Zero reg_next_use on exit.
19009         (calculate_global_regs_live): New.
19010         (allocate_bb_life_data): Don't allocate bb->local_set.
19011         (init_regset_vector, free_regset_vector): Remove.
19012         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
19013         Test flags before every operation.  Warn if prologue/epilogue insn
19014         would have been deleted.
19015         (mark_set_regs, mark_set_1): Accept and use FLAGS.
19016         Use alloc_EXPR_LIST.
19017         (mark_used_regs): Accept and use FLAGS, not FINAL.
19018         Remove special handling for RETURN.
19019         (try_pre_increment): Use alloc_EXPR_LIST.
19020         (dump_flow_info): Dump n_edges.
19021         (unlink_insn_chain, split_hard_reg_notes): Remove.
19022         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
19023         (find_insn_with_note, new_insn_dead_notes): Remove.
19024         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
19025         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
19026         (replace_insns): Remove.
19027         (count_or_remove_death_notes): New.
19028         (verify_flow_info): Abort on error after all checks.
19029         (remove_edge): Decrement n_edges.
19030         (remove_fake_edges): Tweak format.
19031         * haifa-sched.c (schedule_insns): Use split_all_insns.
19032         * output.h (update_life_info): Remove declaration.
19033         * recog.c (split_all_insns): From the corpse of split_block_insns,
19034         do the whole function block by block.  Use update_life_info.
19035         (recog_last_allowed_insn): New.
19036         (recog_next_insn): Mind it.
19037         (peephole2_optimize): Set it.  Walk backwards through blocks.
19038         Use update_life_info.
19039         * rtl.h (update_flow_info, replace_insns): Remove declarations.
19040         (split_all_insns): Declare.
19041         * toplev.c (rest_of_compilation): Thread prologue before flow2.
19042         Use split_all_insns.
19043
19044         * i386.md (or -1 peep2s): Disable.
19045
19046 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
19047
19048         * config/mips/mips.md (movstrsi+[123]) : Combine these into
19049         a single pattern.  Scrap the 'd' versions as unnecessary.
19050
19051         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
19052         tablejump_mips162,tablejump_internal4): The operands to a
19053         label_ref must be VOIDmode.
19054
19055 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19056
19057         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
19058
19059 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
19060
19061         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
19062
19063 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
19064
19065         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
19066         cache every function if ggc_p.
19067
19068 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19069
19070         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
19071         instead of copy_rtx.  Accept sequences that contain asm statements.
19072         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
19073         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
19074         orig_asm_operands_vector, copy_asm_operands_vector,
19075         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
19076         variables.
19077         * rtl.h (copy_insn, copy_insn_1): Declare.
19078
19079 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19080
19081         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
19082
19083         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
19084         arguments to `current_file_function_operand'.
19085
19086         * genrecog.c: Include hard-reg-set.h and resource.h in the
19087         generated output file.
19088
19089         * real.c: Include tm_p.h.
19090
19091 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19092
19093         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
19094         output operand.
19095
19096 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
19097
19098         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
19099         before the fctiwz insn.
19100
19101 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19102                           Mark Mitchell  <mark@codesourcery.com>
19103
19104         * tree.c (make_lang_type_fn): New funtion pointer.
19105         (make_lang_type): Call it.
19106         * tree.h (make_lang_type): Declare.
19107         (make_lang_type_fn): Likewise.
19108         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
19109
19110 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
19111
19112         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
19113         make sure that HIGH instructions are copied into BASE_REGS.
19114
19115 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
19116
19117         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
19118
19119 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
19120
19121         * c-decl.c (finish_struct): Use simpler method of
19122         removing elements of a singly-linked list.
19123
19124 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
19125
19126         * alpha.md (peephole2's): Comment out peephole2's that generate
19127         buggy code.
19128
19129 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
19130
19131         * genrecog.c (add_to_sequence): Disable mode check for
19132         wildcard matches.
19133
19134 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19135
19136         * ggc-simple.c (init_ggc): Set empty_string.
19137
19138 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
19139
19140         * configure.in: Detect mmap.  Add --with-gc=foo to select
19141         garbage collector; default to page if mmap available.
19142         * Makefile.in (GGC): Substitute.
19143
19144 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
19145
19146         * c-decl.c (ggc_p): Enable.
19147
19148 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19149
19150         * flow.c (verify_flow_info): Make it extern & unconditionally define.
19151
19152 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
19153
19154         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
19155         string for little-endian-data.
19156
19157 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
19158
19159         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
19160         case somebody tries to compile --enable-checking code with gcc
19161         1.34 or such.
19162
19163 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
19164
19165         * genrecog.c (add_to_sequence): Verify operand to label_ref is
19166         VOIDmode.
19167
19168 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
19169
19170         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
19171         * jump.c (jump_optimize_1): Document why.
19172
19173 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19174
19175         * collect2.c (scan_prog_file, scan_libraries): Prototype function
19176         pointers and casts for `int_handler' and `quit_handler'.
19177
19178         * flow.c (verify_flow_info, split_hard_reg_notes,
19179         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
19180         remove_edge, remove_fake_successors): Add static prototypes.
19181         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
19182         (mark_set_1): Initialize variable `regno'.
19183         (unlink_insn_chain): Likewise for variable `curr'.
19184         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
19185
19186         * loop.c (strength_reduce): Initialize variable
19187         `unrolled_insn_copies'.
19188         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
19189         prototypes.  Change these functions to take const PTR parameters
19190         to avoid prototype conflict when used as the comparson argument
19191         for qsort.
19192         (check_dbra_loop): Initialize variable `comparison_val'.
19193
19194         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
19195         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
19196         (find_valid_class): Initialize variable `best_class'.
19197         (find_reloads): Call memcpy, not bcopy.
19198
19199         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
19200         (hard_reg_use_compare): Don't needlessly cast away const.
19201         (reload_reg_class_lower): Likewise.
19202         (choose_reload_regs): Initialize variable `regno'.
19203
19204 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
19205
19206         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
19207
19208 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
19209
19210         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
19211         ({,d}discard): Add forward declarations.  Declare parameter as
19212         unused.
19213         (main_without_main): Explicitly declare return type to be int.
19214         (memcpy): Properly declare.
19215
19216         * libgcc2.c (toplevel): If inhibit_libc is defined and not
19217         building the trampoline support, declare malloc, free, and
19218         atexit.
19219         (__clear_cache): Mark arguments as potentially unused.
19220
19221         * frame.c (toplevel): If inhibit_libc is defined, declare
19222         malloc and free.
19223
19224 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
19225
19226         * flow.c (make_edge): Accept an optional 2D bitmap in which
19227         to cache edge existence.  Update all callers.
19228         (make_label_edge, make_eh_edge): Pass through the edge cache.
19229         (make_edges): Provide the cache.
19230
19231 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19232
19233         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
19234         a char*.
19235         (local_mbtowc): Change the type of variable `i' from int to size_t.
19236
19237         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
19238         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
19239
19240 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
19241
19242         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
19243         after other includes that define the appropriate types.  Include
19244         tm_p.h for getting user prototypes.
19245         * ggc-callbacks.c (toplevel): Ditto.
19246         * ggc-none.c (toplevel): Ditto.
19247         * gcc-page.c (toplevel): Ditto.
19248         * ggc-simple.c (toplevel): Ditto.
19249
19250 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
19251                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
19252
19253         * config/mips/mips.c (mips_move_2words): Split doubles if
19254         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
19255
19256 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
19257
19258         * genrecog.c (struct decision_test): New.
19259         (struct decision): Remove test-related members, sort the rest by size.
19260         (IS_SPLIT): Simplify.
19261         (new_decision, new_decision_test): New.
19262         (add_to_sequence): Use them.  No special handling for args of
19263         non-MATCH codes.
19264         (maybe_both_true): Renamed from not_both_true; return sense changed.
19265         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
19266         of maybe_both_true and adjusted for decision_test.
19267         (position_merit): Remove.
19268         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
19269         (merge_accept_insn): New, broken out of merge_trees.
19270         (merge_trees): Use them.  No special case for c_test; no node
19271         splitting; use test type instead of position_merit.
19272         (factor_tests): New.
19273         (simplify_tests): New.
19274         (break_out_subroutines): Don't write code now.
19275         (find_afterward): New.
19276         (write_afterward, write_switch, write_cond): New.
19277         (write_action, is_unconditional): New.
19278         (write_node): New.  Use them.
19279         (write_tree_1): Rewrite.  Use the new functions above.
19280         (write_tree): Remove afterward processing.
19281         (write_subroutine): Simplify function variant emission.
19282         (write_subroutines): New.
19283         (same_codes, clear_codes): Remove.
19284         (same_modes, clear_modes): Remove.
19285         (write_header): New, broken out of main.
19286         (make_insn_sequence): Use new_decision and new_decision_test.
19287         (process_tree): New, broken out of main.
19288         (main): Adjust for merge_trees interface change.
19289         Don't #define operands in the output file.
19290         (record_insn_name): New, broken out of make_insn_sequence.
19291         (debug_decision_2, debug_decision_1, debug_decision_0): New.
19292         (debug_decision): New.
19293
19294 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
19295
19296         * resource.c (find_free_register): Mark class_str argument const.
19297         * resource.h: Update prototype to match.
19298
19299         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
19300         * i386.md: Give all anonymous insns names.
19301
19302 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
19303
19304         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
19305         blocks.
19306
19307 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
19308
19309         * toplev.c (dbr_sched_time): Unconditional.
19310         (peephole2_time): New.
19311         (compile_file): Add pass numbers to all of the dump file suffixes.
19312         Dump peephole2_time.  Don't dump times for non-applicable passes.
19313         (rest_of_compilation): Add pass numbers to dump file suffixes.
19314         Conditionalize calls to the scheduler.
19315         * invoke.texi: Update.
19316
19317 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
19318
19319         * flow.c (make_edges): Fix insn iteration.
19320         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
19321         (find_basic_blocks_1): Fix spelling mistake.
19322
19323 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
19324
19325         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
19326         always have side-effects.  Use memset not bzero.
19327         (make_node): Likewise.
19328
19329 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
19330
19331         * stmt.c (expand_anon_union_decl): When any of the elements of the
19332         union is addressable, so is the entire union.
19333
19334 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
19335
19336         * sbitmap.c (sbitmap_ones): Don't set too many bits.
19337
19338         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
19339         * bitmap.c (bitmap_operation): Return true iff TO changed.
19340         (bitmap_equal_p): New.
19341         (bitmap_bit_p): Tidy arithmetic.
19342         (debug_bitmap_file): Likewise.
19343
19344 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
19345
19346         * toplev.c (rest_of_compilation): Turn on cse_not_expected
19347         before cse2 instead of after.
19348
19349 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
19350
19351         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
19352         register offsets.
19353
19354 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19355
19356         * cppinit.c (is_idchar initializer): Loosen tests to accept
19357         gcc 2.>6 and >2.
19358
19359 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
19360
19361         * mips.md: Define conditional move patterns for floating point
19362         operands and DI mode conditions.
19363
19364 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
19365
19366         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
19367         always have side-effects.
19368
19369 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
19370
19371         * mn10200.c (asm_file_start): Fix typo.
19372
19373         * cppinit.c (is_idchar initializer): Tighten tests for when
19374         to put the table into initialized memory.
19375
19376         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
19377         not an array of rtunion.
19378         * gcc-page.c (ggc_alloc_rtvec): Similarly.
19379         * gcc-simple (ggc_free_rtvec): Similarly.
19380
19381         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
19382         of rtunions.
19383
19384         * mbchar.h: Add missing #endif.
19385
19386         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
19387         (FPBIT, DPBIT): Define.
19388
19389 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19390
19391         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
19392
19393         * profile.c (instrument_arcs, output_gcov_string,
19394         tablejump_entry_p): Add static prototypes.
19395         (output_gcov_string): Constify a char*.
19396
19397         * regmove.c (replacement_quality, fixup_match_2): Add static
19398         prototypes.
19399
19400         * resource.h (reg_dead_p): Add extern prototype.
19401
19402         * rtl.c (trim_filename): Add static prototype.
19403
19404         * scan-decls.c (skip_to_closing_brace): Likewise.
19405
19406         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
19407         (expand_end_case): Initialize variable `range'.
19408         (emit_case_nodes): Remove unused prototype `rtx_fn'.
19409
19410         * varasm.c (asm_emit_uninitialised): Add static prototype.
19411         (asm_emit_uninitialised, assemble_variable): Mark parameter with
19412         ATTRIBUTE_UNUSED.
19413
19414 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19415
19416         * cpplib.c (if_directive_nameo): Add static prototype.
19417
19418         * cse.c (cse_insn): Remove unused variable `p'.
19419
19420         * except.c (create_rethrow_ref, push_entry,
19421         receive_exception_label, new_eh_region_entry, find_func_region,
19422         clear_function_eh_region, process_nestinfo): Add static prototypes.
19423         (get_reg_for_handler): Hide definition.
19424         (process_nestinfo): Initialize variable `extra_handlers'.
19425
19426         * expr.h (expand_builtin_longjmp): Add extern prototype.
19427
19428         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
19429
19430         * function.c (prepare_function_start): Likewise.
19431         (pop_function_context_from): Mark parameter `context' with
19432         ATTRIBUTE_UNUSED.
19433         (push_temp_slots_for_block, flush_addressof): Hide definition.
19434
19435         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
19436         solve_program_flow_graph, calculate_branch_probs,
19437         function_summary, main, fancy_abort): Add prototypes.
19438
19439         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
19440         (add_hash): Constify a char*.
19441
19442         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
19443         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
19444         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
19445
19446         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
19447
19448         * lists.c (free_list, zap_lists): Likewise.
19449
19450 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19451
19452         * alias.c (nonlocal_reference_p): Add static prototype.
19453
19454         * bitmap.c (bitmap_element_allocate): Prototype args in function
19455         pointer cast.
19456
19457         * builtins.c (stabilize_va_list): Add static prototype.
19458         (expand_builtin_va_arg): Constify a char*.
19459
19460         * c-lex.c (getch, put_back, extend_token_buffer_to,
19461         read_line_number, token_getch, token_put_back): Add static
19462         prototypes.
19463
19464         * c-parse.gperf (hash, is_reserved_word): Likewise.
19465
19466         * cccp.c (is_dir_separator): Likewise.
19467
19468 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19469
19470         * graph.h: New file to prototype functions exported by graph.c.
19471
19472         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
19473
19474         * graph.c: Include graph.h.
19475
19476         * toplev.c: Likewise.  Remove redundant prototypes.
19477
19478 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
19479
19480         * invoke.texi: Removed duplicated description for -Q.
19481
19482 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
19483
19484         * extend.texi: Grammar fix in __extension__ text.
19485
19486 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
19487
19488         * md.texi (define_peephole2): New section.
19489
19490 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
19491
19492         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
19493         (mov $-1 to or peepholer): Enable for pentium when optimizing for
19494         speed.
19495
19496 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
19497
19498         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
19499
19500 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
19501
19502         * i386.md (ffs expander): Emit Pentium friendly code for
19503         TARGET_PENTIUM.
19504
19505 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
19506
19507         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
19508         for non-trees.
19509         (build1): Likewise.
19510
19511 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19512
19513         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
19514
19515 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
19516
19517         * config/m68k/m68k.c (use_return_insn): Return false if the pic
19518         register is in use.
19519
19520 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19521
19522         * md.texi (No Constraints): Delete section.
19523         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
19524         * final.c (final_scan_insn): We always have register constraints.
19525         * genattrtab.c: Don't include "insn-config.h".
19526         (write_attr_case): We always have register constraints.
19527         * genconfig.c (register_constraint_flag): Delete.
19528         (walk_insn_part): Don't check whether we have register constraints.
19529         (main): Don't write out "#define REGISTER_CONSTRAINTS".
19530         * genoutput.c (have_constraints): Delete.
19531         (main): Don't set it.
19532         (output_operand_data): We always have constraints.
19533         (scan_operands): Likewise.
19534         (compare_operands): Likewise.
19535         * local-alloc.c (block_alloc): We always have constraints.
19536         (requires_inout): Always compile this function.
19537         * recog.c (extract_insn): We always have constraints.
19538         (constrain_operands, reg_fits_class_p): Always compile these
19539         functions.
19540         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
19541         fields.
19542         (struct insn_operand_data): Likewise.
19543         * regclass.c (regclass): We always have constraints.
19544         (record_reg_classes, copy_cost, record_address_regs,
19545         auto_inc_dec_reg_p): Always compile these functions.
19546         * regmove.c (regmove_optimize): We always have constraints.
19547         * reload.c (find_reloads): Likewise.
19548         * reload1.c (reload): Likewise.
19549         (reload_cse_simplify_operands): Likewise.
19550         * i860.c (output_delay_insn): Likewise.
19551
19552 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
19553
19554         * iris6.h (BUILD_VA_LIST_TYPE): Define.
19555
19556 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19557
19558         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
19559         for the va_list record.
19560
19561 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
19562
19563         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
19564         prologues.
19565
19566 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
19567
19568         * alias.c: Include insn-flags.h.
19569         * Makefile.in (alias.o): Update.
19570
19571 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
19572
19573         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
19574         to LTU and GEU.  Handle more cases using sbb.
19575
19576 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
19577
19578         * i386.md (truncatexfdf splitters): Do not use subreg.
19579         (fop XFmode patterns): Fix mode in operand testing.
19580
19581 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
19582
19583         * jump.c (jump_optimize_1): Amend last change to test only the
19584         form of the operand, not the insn.
19585
19586         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
19587         not register_operand to determine when B may need preloading.
19588
19589 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
19590
19591         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
19592         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
19593         (call-value patterns): Move to end of file.
19594         (*): Remove mode from label_ref in (pc) context.
19595         (movstrqi): Use memory not general_operand for BLKmode operands.
19596         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
19597         to register_operand operands.
19598         (peep2 patterns): Convert from commented-out peephole patterns.
19599
19600 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19601
19602         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
19603         to BUILT_IN_INIT_DWARF_REG_SIZES.
19604         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
19605         Renamed from BUILT_IN_DWARF_REG_SIZE; call
19606         expand_builtin_init_dwarf_reg_sizes.
19607         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
19608         with __builtin_init_dwarf_reg_size_table.
19609         * dwarf2out.c (struct reg_size_range): Delete.
19610         (expand_builtin_init_dwarf_reg_sizes): New function.
19611         (expand_builtin_dwarf_reg_size): Delete.
19612         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
19613         (expand_builtin_dwarf_reg_size): Don't declare.
19614         * libgcc2.c (dwarf_reg_size_table_initialized): New.
19615         (dwarf_reg_size_table): New.
19616         (init_reg_size_table): New function.
19617         (copy_reg): Use dwarf_reg_size_table.
19618         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
19619         before use.
19620
19621 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
19622
19623         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
19624         Correctly build argument list to constructor and destructor functions.
19625
19626 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
19627
19628         * c-tree.h (warn_float_equal): Declare.
19629         * c-decl.c (warn_float_equal): Define.
19630         (c_decode_option): Recognize -W[no-]float-equal.
19631         * c-typeck.c (build_binary_op): Conditionally warn
19632         about equality tests of floating point types.
19633         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
19634         * invoke.texi: Add docs for -Wfloat-equal warning.
19635
19636 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
19637
19638         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
19639         generating RTL directly.
19640         * mips.h (INIT_TARGET_OPTABS): Likewise.
19641         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
19642
19643         * expr.h (init_mov_optab): Delete declaration
19644
19645         * h8300.c (WORD_REG_USED): Update to avoid useless register
19646         saves in interrupt functions and functions which never return.
19647
19648         * cse.c (struct set): Delete inner_dest_loc field.
19649         (cse_insn): Remove assignments to inner_dest_loc field.
19650
19651 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
19652
19653         * ggc-page.c: Don't include <unistd.h> etc taken care of
19654         by "system.h".  Include <sys/mman.h> afterward.
19655
19656 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
19657
19658         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
19659         ggc_alloc_string.
19660
19661 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
19662
19663         * xcoffout.c (xcoffout_declare_function): Add documentation.
19664         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
19665         TARGET_64BIT.  Compare constant to -1, not bit pattern.
19666         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
19667         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
19668         gen_movsi typos.
19669
19670 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
19671
19672         * dwarf2out.c (add_abstract_origin_attribute): Abort if
19673         origin_die is NULL.
19674         (gen_inlined_enumeration_type_die): Do not abort if the type has
19675         not been writeen out.
19676         (gen_inlined_structure_type_die): Do not abort if the type has
19677         not been writeen out.
19678         (gen_inlined_union_type_die): Do not abort if the type has
19679         not been writeen out.
19680         (gen_tagged_type_instantiation_die): Do not abort if the type
19681         has not been written out.
19682
19683 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19684
19685         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
19686         call it.
19687         * reg-stack.c (straighten_stack): Copy hard reg set with
19688         COPY_HARD_REG_SET.
19689
19690 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
19691
19692         * builtins.c (stabilize_va_list): Stabilize array type va_list
19693         to a pointer type, not the base record type.
19694         (expand_builtin_va_copy): Dereference the pointers explicitly;
19695         use the correct size for the copy.
19696
19697         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
19698         (rs6000_va_arg): Likewise.
19699
19700 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
19701
19702         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
19703
19704 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
19705
19706         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
19707         field.
19708         (DECL_BUILT_IN_CLASS): Adjust accordingly.
19709
19710 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
19711
19712         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
19713         (init_ggc): Use it instead of a constant.
19714         (ggc_collect): Bound allocated_last_gc by it.
19715
19716 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
19717
19718         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
19719         with va_list.
19720
19721 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
19722
19723         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
19724         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
19725         * configure:  Regen.
19726         * config/mips/openbsd.h:  New, OpenBSD little endian target.
19727         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
19728         * config/mips/xm-openbsd.h:  New, OpenBSD host.
19729
19730 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
19731
19732         * config/m68k/m68k.c (output_function_prologue,
19733         output_function_epilogue): Use
19734         current_function_uses_pic_offset_table instead of regs_ever_live
19735         to decide whether to save/restore pic register.
19736         (legitimize_pic_address): Don't modify regs_ever_live any more.
19737
19738 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
19739
19740         * function.h (struct function): Add x_dont_save_pending_sizes_p.
19741         * stor-layout.c (variable_size): Don't add sizes to the pending
19742         sizes list if x_dont_save_pending_sizes_p is set.
19743
19744 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
19745
19746         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
19747         for symbolic_operand().
19748         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
19749
19750 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19751
19752         * combine.c (gen_rtx_combine): Add missing call to va_end().
19753
19754         * final.c (asm_fprintf): Likewise.
19755
19756         * genattrtab.c (attr_rtx): Likewise.
19757
19758 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
19759
19760         * cse.c: Update comments.
19761         (cse_insn): When converting a conditional/computed jump into
19762         an unconditional jump, always make sure a BARRIER immediately
19763         follows the converted jump.  Do not delete unreachable code.
19764         (cse_basic_block): Do not delete unreachable code.
19765         * toplev.c (rest_of_compilation): Move call to
19766         delete_trivially_dead_insns after the conditional call to
19767         jump_optimize.
19768
19769 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19770
19771         * collect2.c (make_temp_file): Don't prototype.
19772
19773         * gcc.c (make_temp_file): Likewise.
19774
19775         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
19776
19777 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
19778
19779         * varasm.c (asm_emit_uninitialised): New function: Generate
19780         the assembler statements necessary to declare an uninitialised
19781         variable.
19782         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
19783         variable.
19784         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
19785         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
19786         section.
19787         (assemble_variable): Use asm_emit_uninitialised to emit an
19788         uninitialised variable.
19789
19790 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
19791
19792         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
19793         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
19794         <geoffk@cygnus.com>.
19795
19796 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19797
19798         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
19799         * c-common.h (builtin_function): Don't declare.
19800
19801         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
19802         DECL_BUILT_IN.
19803         (pushdecl): Likewise.
19804         (finish_decl): Likewise.
19805         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
19806         int.  All callers changed.
19807         Set the builtin's DECL_BUILT_IN_CLASS.
19808         * tree.h (enum built_in_class): New.
19809         (enum built_in_function): Delete NOT_BUILT_IN.
19810         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
19811         in a union.
19812         (DECL_SET_FUNCTION_CODE): Likewise.
19813         (DECL_BUILT_IN_CLASS): New macro.
19814         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
19815         (struct tree_decl): Split builtin function code field into a
19816         struct.
19817         (builtin_function): Declare.
19818
19819 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
19820
19821         * optabs.c (init_traps): Fix typo in last change.
19822
19823 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
19824
19825         * toplev.c (rest_of_decl_compilation): Update comment.
19826
19827 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
19828
19829         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
19830         in .sbss if appropriate.
19831         (EXTRA_SECTION_FUNCTIONS): Add sbss.
19832         (SBSS_SECTION_ASM_OP): New macro.
19833         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
19834         (EXTRA_SECTIONS): Add in_sbss.
19835         * config/mips/mips.h: Prototype sbss_section.
19836
19837 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
19838
19839         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
19840         to disappear.
19841
19842 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
19843
19844         * optabs.c (init_traps): Register trap_rtx as a GC root.
19845
19846 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19847
19848         * config/mips/mips.c (function_arg_pass_by_reference): Define
19849         unconditionally, since it's called unconditionally.
19850
19851 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
19852
19853         * toplev.c (documented_lang_options): Add -fshort-wchar.
19854         * c-decl.c (c_decode_option): Likewise.
19855         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
19856         for wchar_t.
19857         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
19858         * gcc.c (default_compilers): If -fshort-wchar,
19859         override __WCHAR_TYPE__.
19860         * tm.texi (C Dialect Options): Add -fshort-wchar.
19861
19862         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
19863         symbol for a variable.
19864
19865         * cpplib.h (CPP_PREPROCESSED): New macro.
19866         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
19867         we're seeing this input for a second time.
19868
19869 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
19870
19871         * emit-rtl.c (init_emit_once): Initialize modes first.
19872
19873 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
19874
19875         * config/i386/i386.c (pic_label_name): Change to char pointer.
19876         (global_offset_table): New variable.
19877         (load_pic_register): Fill global_offset_table if it hasn't
19878         already been done.  Allocate pic_label_name dynamically.
19879         * ggc.h (empty_string): New variable.
19880         * ggc-simple.c (empty_string): Likewise.
19881         (init_ggc): Allocate empty_string and add as root.
19882         * stmt.c (digit_strings): New variable.
19883         (init_stmt): Add last_block_end_note as root.  Allocate and
19884         initialize digit_strings.
19885         (expand_asm_operands): Use empty_string instead of string
19886         constant.  Use digit_strings instead of string constants.
19887         * profile.c (init_arc_profiler): Allocate string with
19888         ggc_alloc_string instead of xmalloc.
19889         (output_func_start_profiler): Likewise.
19890         * c-typeck.c (digest_init): Check if init is error_mark_node.
19891
19892 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
19893                           Richard Henderson  <rth@cygnus.com>
19894
19895         * ggc-page.c: New file.
19896         * Makefile.in (ggc-page.o): New.
19897
19898 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
19899
19900         * invoke.texi: Document -fdelete-null-pointer-checks
19901         * toplev.c (flag_delete_null_pointer_checks): New.
19902         (f_options): Add entry for -fdelete-null-pointer-checks.
19903         (rest_of_compilation): Conditionalize null pointer check
19904         elimination on flag_delete_null_pointer_checks.
19905         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
19906
19907 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
19908
19909         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
19910         copyright notice and special exception to GPL.
19911
19912 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19913
19914         * abi64.h (mips_function_value): Add prototype arguments.
19915
19916         * mips-protos.h: New file with mips prototypes.
19917
19918         * mips.c: Include "tm_p.h".
19919         (mktemp, lookup_name): Add prototype arguments.
19920         (extern_list, string_constant, mips_fill_delay_slot,
19921         mips_output_external, mips_output_external_libcall,
19922         mips_output_filename, mips_declare_object, function_prologue,
19923         mips_expand_prologue, function_epilogue, mips16_constant,
19924         build_mips16_function_stub, mips_output_conditional_branch):
19925         Constify a char*.
19926         (mips_va_start): Remove unused variable `u'.
19927         (mips_va_arg): Cast value to unsigned when comparing against one.
19928         (trace): Delete.
19929         (save_restore_insns, mips_expand_prologue): Add missing arg in
19930         call to `large_int'.
19931
19932         * mips.h: Move prototypes to mips-protos.h.
19933         (data_section, memory_address_p, rdata_section,
19934         readonly_data_section, simple_epilogue_p, text_section): Delete
19935         prototypes delcared elsewhere.
19936         (mips_epilogue_delay_slots, print_options): Delete unused decls.
19937         (trace): Delete.
19938         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
19939
19940         * mips.md: Delete extra args in call to `mips_move_2words'.
19941
19942         * xm-iris6.h (alloca): Add prototype argument.
19943
19944         * genpeep.c: Include "tm_p.h" in generated output file.
19945
19946 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19947
19948         * basic-block.h (find_edge_index): Change parameters.
19949         * flow.c (verify_edge_list): Pass basic_block parameters to
19950         find_edge_index instead of integers.
19951
19952 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
19953
19954         * combine.c (simplify_comparison): Use an unsigned shift to adjust
19955         the constant.
19956
19957 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
19958
19959         * gcc.1: Fix a formatting error.
19960
19961 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
19962
19963         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
19964         i786, mn10200, mn10300, pdp11, v850.
19965
19966 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
19967
19968         * libgcc2.c (num_digits): Add prototype with
19969         __attribute__((const)).
19970         (__terminate): Add prototype.
19971
19972 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
19973
19974         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
19975
19976         * alpha/alpha.c (print_operand): Fix type of `code'.
19977         (alpha_output_filename): Constify.
19978         * alpha/alpha.h: Move all function declarations ...
19979         * alpha/alpha-protos.h: ... here.  New file.
19980         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
19981         (SECTION_FUNCTION_TEMPLATE): Likewise.
19982
19983 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19984
19985         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
19986         * expr.c (expand_expr): Likewise.
19987         (do_jump): Likewise.
19988         (do_store_flag): Pass ccp_store_flag to can_compare_p.
19989         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
19990         accessor macros.
19991         (enum can_compare_purpose): New.
19992         (can_compare_p): Adjust prototype.
19993         (prepare_cmp_insn, prepare_operand): Declare.
19994         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
19995         * optabs.c (cmp_available_p): Deleted.
19996         (expand_abs): Pass ccp_jump to can_compare_p.
19997         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
19998         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
19999         Call can_compare_p rather than cmp_available_p.
20000         (prepare_operand): No longer static.
20001         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
20002         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
20003         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
20004         sequence to use emit_cmp_and_jump_insns.
20005         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
20006
20007 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
20008
20009         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
20010         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
20011         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
20012         (plus (reg) (const_int 0))
20013         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
20014
20015 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
20016
20017         * rs6000.c (expand_block_move): DImode loads and stores require
20018         word-aligned displacements.  Increment address registers with
20019         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
20020
20021 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
20022
20023         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
20024         is no name for the base type, rather than segfault.  If we are
20025         writing out a complex integer type, use DW_ATE_lo_user.
20026
20027         * expr.c (emit_move_insn_1): If we are copying a complex that fits
20028         in one word or less (complex char, complex short, or on 64 bit
20029         systems complex float) to/from a hard register, copy it through
20030         memory instead of dying in gen_{real,imag}part.  If we have a
20031         short complex type, prevent inlining since it allocates stack
20032         memory.
20033
20034         * tree.c (build_complex_type): If we are writing dwarf2 output,
20035         generate a name for complex integer types.
20036
20037 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20038
20039         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
20040         * flow.c (remove_edge): Remove extra whitespace.
20041         (remove_fake_edges): Fix comment.
20042         (add_noreturn_fake_exit_edges): Use the correct name.
20043
20044 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
20045
20046         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
20047         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
20048         (clean): Depend on INTL_CLEAN.
20049         (maintainer-clean): Adjust.
20050
20051 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20052
20053         * configure.in (AC_PREREQ): Bump to 2.13.
20054         (AC_C_STRINGIZE): Call this instead of using a custom macro.
20055
20056         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
20057
20058         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
20059
20060         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
20061
20062         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
20063         (HAVE_STRINGIZE): Define.
20064
20065 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
20066
20067         * c-parse.in: save and restore warn_pointer_arith on __extension__
20068         along with pedantic.
20069         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
20070         Set the type of extension to itype rather than $<itype>1 kludge.
20071         * extend.texi (Alternate Keywords): Adjust documentation.
20072         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
20073
20074 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
20075
20076         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
20077         most assembler templates.
20078
20079         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
20080         FP loads and stores.
20081         (following_call): Always return zero for the PA8000.
20082         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
20083         FP loads and stores.
20084         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
20085
20086         * pa.h (BRANCH_COST): Define.
20087
20088         * pa.md (return, return_internal): Use bve for PA2.0.
20089
20090         * pa.md (fused multiply): Add variants which reduce height for the
20091         fused multiply, but which still generate 2 insns.
20092         (fnegabs): Similarly.
20093
20094         * pa.md (subsi3): Turn into an expander.  Create two anonymous
20095         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
20096         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
20097
20098         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
20099         for TARGET_PA_20.
20100         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
20101         code generation.
20102         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
20103         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
20104
20105         * regclass.c (init_regs): Add "top_of_stack" as a garbage
20106         collection root.
20107
20108         * flow.c (record_active_eh_regions): Terminate loop after finding
20109         the last insn in the last basic block.
20110
20111 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20112
20113         * config/c4x/c4x.md: Delete parallel instruction peepholes.
20114
20115 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20116
20117         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
20118
20119 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20120
20121         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
20122         splitting to not use output template.
20123
20124 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20125
20126         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
20127         * config/c4x/c4x.c (c4x_va_start): New function.
20128
20129 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
20130
20131         * genrecog.c (not_both_true): Handle correctly cases when called for
20132         tests with different positions in the insn.
20133
20134 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20135
20136         * machmode.h (HOST_PTR_PRINTF): Move from here ...
20137
20138         * system.h (HOST_PTR_PRINTF): ... to here.
20139
20140         * mips-tfile.c: Don't include machmode.h.
20141
20142         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
20143         (mips-tfile.o): Don't depend on machmode.h.
20144
20145 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20146
20147         * haifa-sched.c (sched_analyze): Rename local variable `region' to
20148         avoid conflicts with typedef struct `region' at the top level scope.
20149
20150 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
20151
20152         * basic-block.h (basic_block): Add eh_beg, eh_end.
20153         * flow.c (entry_exit_blocks): Update.
20154         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
20155         Call new functions.
20156         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
20157         lists.c functions to allocate insn lists.
20158         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
20159         edge creation ...
20160         (make_eh_edge): ... here.  New.
20161         (move_stray_eh_region_notes): New.
20162         (record_active_eh_regions): New.
20163         (delete_unreachable_blocks): Split out block merging ...
20164         (try_merge_blocks): ... here.  New.
20165         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
20166         Dump debugging data.
20167         (merge_blocks_move_successor_nojumps): Likewise.
20168         (merge_blocks): Use eh_beg+eh_end to validate block movement.
20169
20170 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
20171
20172         * extend.texi (Bound member functions): Document unbound pmf
20173         conversion.
20174
20175 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20176
20177         * flow.c (split_edge): Handle insertion on a fallthrough edge which
20178         has the EXIT_BLOCK as a dest.
20179
20180 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20181
20182         * flow.c (remove_edge): New function to remove an edge from the
20183         flow graph.
20184         (remove_fake_successors): New function to remove fake successor edges.
20185         (remove_fake_edges): New function to remove all fake edges from the
20186         flow graph.
20187         (add_fake_exit_edges): New function to add fake edges from all blocks
20188         with no successors to the exit block.
20189         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
20190         prototypes for new functions.
20191
20192 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20193
20194         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
20195         Use Pmode to determine whether to output .dword or .word.
20196
20197 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
20198
20199         * tree.c (built_in_filename): New variable.
20200         (BUILT_IN_FILENAME): New macro.
20201         (init_tree_codes): Allocate built_in_filename.
20202         (make_node): Use built_in_filename instead of string constant.
20203
20204 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
20205
20206         * configure.in: Add fr30 target.
20207         * configure: Regenerate.
20208         * config/fr30: New directory.
20209         * config/fr30/crti.asm: New file.
20210         * config/fr30/fr30.c: New file.
20211         * config/fr30/crtn.asm: New file.
20212         * config/fr30/fr30.h: New file.
20213         * config/fr30/fr30.md: New file.
20214         * config/fr30/lib1funcs.asm: New file.
20215         * config/fr30/t-fr30: New file.
20216         * config/fr30/xm-fr30.h: New file.
20217
20218 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
20219
20220         * flow.c (merge_blocks_move_successor_nojumps): Delete the
20221         BARRIER at the end of the successor, not the BARRIER before
20222         the successor.
20223
20224         * pa.c (pa_add_gc_roots): Fix thinko in last change.
20225
20226 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
20227
20228         * stmt.c (any_pending_cleanups): Don't crash when
20229         current_function->stmt is unset.
20230
20231 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20232
20233         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
20234         other initializations that may use it for relative offsets.
20235
20236 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20237
20238         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
20239         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
20240         * config/i386/sol2dbg.h: Removed.
20241         * config/i386/sol2gas.h: New file, to enable gas work-around.
20242         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
20243         Don't use sol2dbg.h.
20244         * configure: Rebuilt.
20245
20246 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
20247
20248         * invoke.texi (-fthis-is-variable): Remove documentation.
20249
20250 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
20251
20252         * basic-block.h (compute_bb_for_insn): Declare.
20253         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
20254         to use; set size of basic_block_for_insn directly.
20255         (find_basic_blocks): Update.
20256
20257 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20258
20259         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
20260
20261 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20262
20263         * crtstuff.c (ON_EXIT): Delete empty macro definition.
20264         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
20265
20266 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
20267
20268         * c-decl.c (c_decode_option): Extend comment.
20269
20270 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
20271
20272         * toplev.c (progname): Make 'const char *'
20273         (flag_print_mem): Move out of main.
20274         (version_flag): Move out of main.
20275         (filename): Move out of main.
20276         (debug_args): Remove g prefix from options.
20277         (documented_lang_options): Remove cpplib specific options.
20278         (display_help): Add g prefix to debug options.
20279         (check_lang_option): Delete this function.
20280         (decode_d_option): New function: Decode -d... option.
20281         (decode_f_option): New function: Decode -f... option.
20282         (decode_W_option): New function: Decode -W... option.
20283         (decode_g_option): New function: Decode -g... option.
20284         (independent_decode_option): New function: Decode a language
20285         independent command line option.
20286         (main): Invoke lang_decode_option and then
20287         independent_decode_option on each command line option in
20288         turn.
20289
20290 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
20291
20292         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
20293          * fold-const.c (fold_range_test): Do not try to fold the range
20294          test if the rhs or lhs has side effects.
20295
20296         * basic-block.h (compute_flow_dominators): Declare.
20297
20298         * gcse.c (alloc_code_hoist_mem): New function.
20299         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
20300         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
20301         (hoist_code, one_code_hoisting_pass): Likewise.
20302         (gcse_main): If optimizing for size, then hoist expressions
20303         computed in multiple dominated basic blocks.
20304
20305         * gcse.c (invalid_nonnull_info): New function.
20306         (delete_null_pointer_checks): Likewise.
20307         * rtl.h (delete_null_pointer_checks): Declare.
20308         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
20309
20310         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
20311         (merge-blocks_move_successor_nojumps): Likewise.
20312         (merge_blocks): Allow merging of some blocks, even if it requires
20313         physical movement of the blocks, but not if it requires new jumps.
20314
20315         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
20316         Callers and prototype changed.
20317         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
20318
20319 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20320
20321         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
20322         -YP when both -p and -pg are present.  From i386/sol2.h.
20323
20324 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20325
20326         * Makefile.in (distclean): Delete tm_p.h.
20327         * configure.in: Create a new file, "tm_p.h", from a list in
20328         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
20329         "i386/i386-protos.h".
20330
20331         * alias.c: Include "tm_p.h".
20332         * c-typeck.c: Likewise.
20333         * calls.c: Likewise.
20334         * cse.c: Likewise.
20335         * emit-rtl.c: Likewise.
20336         * explow.c: Likewise.
20337         * expmed.c: Likewise.
20338         * expr.c: Likewise.
20339         * final.c: Likewise.
20340         * flow.c: Likewise.
20341         * fold-const.c: Likewise.
20342         * function.c: Likewise.
20343         * gcse.c: Likewise.
20344         * global.c: Likewise.
20345         * haifa-sched.c: Likewise.
20346         * integrate.c: Likewise.
20347         * jump.c: Likewise.
20348         * local-alloc.c: Likewise.
20349         * loop.c: Likewise.
20350         * optabs.c: Likewise.
20351         * recog.c: Likewise.
20352         * reg-stack.c: Likewise.
20353         * regclass.c: Likewise.
20354         * regmove.c: Likewise.
20355         * reload.c: Likewise.
20356         * reload1.c: Likewise.
20357         * reorg.c: Likewise.
20358         * resource.c: Likewise.
20359         * stmt.c: Likewise.
20360         * stor-layout.c: Likewise.
20361         * toplev.c: Likewise.
20362         * tree.c: Likewise.
20363         * unroll.c: Likewise.
20364         * genattrtab.c (main): Make generated file include "tm_p.h".
20365         * genemit.c (main): Likewise.
20366         * genoutput.c (main): Likewise.
20367         * genrecog.c (main): Likewise.
20368
20369         * i386.h: Delete all prototypes.
20370         * i386.c: Include "tm_p.h".
20371         (ix86_attr_length_default): Call constant_call_address_operand
20372         with correct number of arguments.
20373         * i386-protos.h: New file.
20374         * i386.md (unnamed patterns): Call constant_call_address_operand
20375         with correct number of arguments.
20376         (exception_receiver): Call load_pic_register with correct number
20377         of arguments.
20378
20379 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
20380
20381         * c-pragma.c (mark_align_stack): Dereference the void* properly.
20382
20383 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
20384
20385         * rtl.h (insns_safe_to_move_p): New function.
20386         * loop.c (find_and_verify_loops): Use it.
20387         * rtlanal.c (insns_safe_to_move_p): Define it.
20388
20389 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
20390
20391         * c-pragma.c: Include ggc.h.
20392         * Makefile.in (c-pragma.o): Update.
20393
20394 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20395
20396         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
20397         (LIB_SPEC): Likewise.
20398         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
20399         Reindent -YP/-p/-pg.
20400         Copied from config/sparc/sol2.h.
20401
20402 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
20403
20404         * c-pragma.c (mark_align_stack): New.
20405         (init_pragma): New.
20406         * c-pragma.h (init_pragma): Declare it.
20407         * c-lex.c (init_parse): Call it.
20408
20409 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20410
20411         * configure.in: Pick up thread library on Solaris/x86 just
20412         like on Solaris/sparc.
20413         * configure: Rebuilt.
20414
20415 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
20416
20417         * rtl.h (global_rtx_index): New enum.
20418         (global_rtl): Change to array of rtx.
20419         (pc_rtx, cc0_rtx): Redefine accordingly.
20420         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
20421         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
20422         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
20423         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
20424         (const_int_rtx): Change to array of rtx.
20425         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
20426         accordingly.
20427         * emit-rtl.c (global_rtl): Change to array of rtx.
20428         (const_int_rtx): Change to aray of rtx.
20429         (gen_rtx_CONST_INT): Redefine accordingly.
20430         (init_emit_once): Allocate and initialize global_rtl.  Likewise
20431         for const_int_rtx.  Add both as GC roots.
20432         * genattrtab.c (global_rtl): Update declaration.
20433
20434 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
20435
20436         * Makefile (USER_H): Add iso646.h back.
20437
20438 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
20439
20440         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
20441         zapping the LOG_LINKS of sched_before_next_call.
20442
20443         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
20444         * pa.c (insn_refs_are_delayed): Renamed from
20445         insn_sets_and_refs_are_delayed.
20446
20447 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
20448
20449         * functiion.h (struct function): Add x_whole_function_mode_p.
20450         (retrofit_block): Declare.
20451         * function.c (retrofit_block): New function.
20452         (identify_blocks): Add assertions.  Allow an incomplete set of
20453         block notes if we're still generating code for the function.
20454         * integrate.c: Include loop.h.
20455         (expand_inline_function): Call find_loop_tree_blocks to map block
20456         notes to blocks when in whole-function mode.  Use retrofit_block
20457         to insert new BLOCKs for the inlined function, rather than
20458         insert_block.
20459         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
20460         * Makefile.in (integrate.o): Depend on loop.h.
20461
20462 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
20463
20464         * tree.h (warn_about_unused_variables): Declare.
20465         * stmt.c (warn_about_unused_variables): New function, split out
20466         from ...
20467         (expand_end_bindings): Here.
20468
20469 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
20470
20471         * stmt.c (preserve_subexpressions_p): Don't crash when
20472         current_function->stmt is unset.
20473
20474 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
20475
20476         * stmt.c (expand_start_bindings): Allow callers to pass a flag
20477         indicating that no NOTE_INSN_BLOCK_BEG note is required.
20478         (expand_start_target_temps): Use it.
20479         * except.c (expand_eh_region_start_for_decl): Likewise.
20480         * expr.c (expand_expr): Likewise.
20481
20482 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20483
20484         * fold-const.c (operand_equal_p): Pay attention to side effects.
20485
20486 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
20487
20488         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
20489         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
20490
20491         * tlink.c (scan_linker_output): Look for keywords before accepting
20492         a mangled name in quotes.
20493
20494 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
20495
20496         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
20497         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
20498
20499 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
20500
20501         * alpha.md: Revert Thu Nov 26 change that came in through the
20502         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
20503         Avoid earlyclobber when possible.
20504
20505 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20506
20507         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
20508
20509         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
20510         Define HAVE_ON_EXIT.
20511
20512 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20513
20514         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
20515         CTYPE_CONV in all ctype macros.
20516
20517         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
20518         from system.h.
20519
20520         * cexp.y (initialize_random_junk): Likewise.
20521
20522         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
20523
20524         * i370.c (handle_pragma): Likewise.
20525
20526         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
20527
20528         * v850.c (override_options): Likewise.
20529
20530         * doprint.c (_doprnt): Likewise.
20531
20532         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
20533         Likewise.
20534
20535         * fixinc/server.c (load_data): Likewise.
20536
20537         * fold-const.c (real_hex_to_f): Likewise.
20538
20539         * genattr.c (write_upcase, gen_attr): Likewise.
20540
20541         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
20542         write_upcase): Likewise.
20543
20544         * genemit.c (print_code): Likewise.
20545
20546         * genopinit.c (gen_insn): Likewise.
20547
20548         * genpeep.c (print_code): Likewise.
20549
20550         * genrecog.c (print_code): Likewise.
20551
20552         * optabs.c (init_libfuncs): Likewise.
20553
20554 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
20555
20556         * haifa-sched.c (sched_analyze): Keep the list of notes organized
20557         in pairs.
20558         (reemit_notes): Likewise.
20559
20560 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
20561
20562         * ggc.h (ggc_root): Move to ggc-common.c.
20563         (roots): Remove.
20564         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
20565         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
20566         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
20567         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
20568         * ggc-common.c (ggc_root): Move from ggc.h.
20569         (roots): Declare, static.
20570         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
20571         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
20572         null or check/set mark bit.
20573         (ggc_mark_roots): New.
20574         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
20575
20576 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
20577
20578         * m32r.c: Include toplev.h.
20579         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
20580         (gen_compare): Rename swap_p to must_swap to match uses.
20581         Add default abort case.
20582         (m32r_output_function_epilogue): Remove unused variables.
20583         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
20584         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
20585         define to empty parameter list.  Update all uses.
20586         (predicate decls): Use enum machine_mode not int.
20587         * m32r.md (movsi): Call abort, not fatal_insn.
20588         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
20589
20590 1999-09-14  Andrew Haley  <aph@cygnus.com>
20591
20592         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
20593         use $0 instead of 0.
20594
20595 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20596
20597         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
20598         computation out of loop over hard regs.
20599
20600 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
20601
20602         * function.c (identify_blocks): Don't shadow a variable in an
20603         outer scope.
20604         * integrate.c (integrate_decl_tree): Don't use pushlevel,
20605         pushdecl, or poplevel to build up the new BLOCK tree.
20606         (expand_inline_function): Likewise.
20607         (integrate_parm_decls): Likewise.
20608
20609 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
20610
20611         * c-typeck.c (qualify_type): Merge qualifiers from both types.
20612
20613 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
20614
20615         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
20616         * invoke.texi: Document this change.
20617
20618 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
20619
20620         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
20621         Free the struct.
20622         (mark_emit_status): Renamed from mark_emit_state.
20623         * except.c (mark_eh_status): Renamed from mark_eh_state.
20624         Check not null before marking.
20625         (free_eh_status): New.
20626         * expr.c (mark_expr_status, free_expr_status): New.
20627         * function.c (free_machine_status): New.
20628         (free_after_parsing): New.
20629         (free_after_compilation): Move bits to free_after_parsing; call
20630         free_eh_status, free_expr_status; zero the marked members of the
20631         function state.
20632         (prepare_function_start): No can_garbage_collect.
20633         Call init_eh_for_function.
20634         (expand_dummy_function_end): Free up current_function state.
20635         (mark_function_status): Renamed from mark_function_state.
20636         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
20637         * function.h (struct function): No can_garbage_collect.
20638         (free_machine_status, free_after_parsing): Declare.
20639         (free_eh_status, free_expr_status): Declare.
20640         * ggc.h (mark_expr_status): Declare.
20641         * stmt.c (free_stmt_status): Free the struct.
20642         (mark_stmt_status): Renamed from mark_stmt_state.
20643         (init_stmt): Don't call init_eh.
20644         (init_stmt_for_function): Don't call init_eh_for_function.
20645         * toplev.c (compile_file): Call init_eh.
20646         (rest_of_compilation): Free basic block info before ggc_collect.
20647         Call free_after_parsing; conditionally call free_after_compilation.
20648         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
20649         Check not null before marking.
20650         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
20651
20652 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
20653
20654         * c-lex.c (yylex): Initialize warn.
20655
20656 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
20657
20658         * pa.c (emit_move_sequence): Properly set the mode of the scratch
20659         register when performing secondary reloads for the SAR register.
20660
20661 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
20662
20663         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
20664         (NOTE_BLOCK): New macro.
20665         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
20666         * function.h (identify_blocks): Change prototype.
20667         * function.c (identify_blocks): Simplify.
20668         (reorder_blocks): Likewise.
20669         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
20670         NOTE_INSN_BLOCK_{BEG,END}.
20671         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
20672         the list of saved notes if the note isn't a
20673         NOTE_INSN_BLOCK_{BEG,END}.
20674         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
20675         NOTE_BLOCK_NUMBER.
20676         (reemit_notes): Adjust recreation of notes to reflect new saved
20677         note structure.
20678         * print-rtl.c (print_rtx): Print the address of the BLOCK when
20679         printing a block note.
20680         * stmt.c (block_vector): Remove.
20681         (find_loop_tree_blocks): Simplify.
20682         (unroll_block_trees): Likewise.
20683         * tree.h (reorder_block): Change prototype.
20684
20685 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
20686
20687         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
20688         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
20689         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
20690         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
20691         (atexit, exit): Simplify.
20692         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
20693         * config/lots: Remove defns of HAVE_ATEXIT.
20694
20695 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
20696
20697         * calls.c (precompute_arguments): Fix typo in comment.
20698         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
20699         TARGET_EXPR.
20700
20701 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
20702
20703         * dsp16xx.c (override_options): Fix typos in GC root registration.
20704
20705 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
20706
20707         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
20708         from config/svr4.h.
20709         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
20710         (FUNCTION_PROFILER): Redefine appropriately for Linux.
20711         (CC1_SPEC): Likewise.
20712
20713 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20714
20715         * genattr.c (main): Add extern prototype.  Call return, not exit.
20716         * genattrtab.c (main): Likewise.
20717         * gencheck.c (main): Likewise.
20718         * gencodes.c (main): Likewise.
20719         * genconfig.c (main): Likewise.
20720         * genemit.c (main): Likewise.
20721         * genextract.c (main): Likewise.
20722         * genflags.c (main): Likewise.
20723         * gengenrtl.c (main): Likewise.
20724         * genopinit.c (main): Likewise.
20725         * genoutput.c (main): Likewise.
20726         * genpeep.c (main): Likewise.
20727         * genrecog.c (main): Likewise.
20728
20729         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
20730         * genattrtab.c (get_insn_name): Likewise.
20731         * gencodes.c (get_insn_name): Likewise.
20732         * genconfig.c (get_insn_name): Likewise.
20733         * genemit.c (get_insn_name): Likewise.
20734         * genextract.c (get_insn_name): Likewise.
20735         * genflags.c (get_insn_name): Likewise.
20736         * genopinit.c (get_insn_name): Likewise.
20737         * genpeep.c (get_insn_name): Likewise.
20738
20739         * gencheck.c (usage): Add static prototype.
20740         * genextract.c (print_path): Constify a char*.
20741         * genopinit.c (optabs): Likewise.
20742         * genoutput.c (operand_data, data, output_predicate_decls,
20743         compare_operands): Likewise.
20744         * genrecog.c (write_tree): Add default case in switch.
20745
20746 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20747
20748         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
20749
20750         * print-rtl.c (get_insn_name): Remove prototype.
20751
20752         * toplev.h (progname): Declare const.
20753
20754         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
20755         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
20756         dump_sched_info, dump_local_alloc, regset_release_memory,
20757         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
20758         error_with_file_and_line, error_with_decl, error_for_asm, error,
20759         fatal, warning_with_file_and_line, warning_with_decl, warning,
20760         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
20761         Remove redundant prototypes.
20762
20763         (notice, check_lang_option, report_file_and_line, vnotice,
20764         mark_file_stack): Add static prototype.
20765         (set_fatal_function): Add prototype.
20766         (vnotice, report_file_and_line, set_fatal_function,
20767         check_lang_option): Constify a char*.
20768         (main): Prototype.  Call return, not exit.
20769
20770 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20771
20772         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
20773
20774         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
20775
20776         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
20777
20778         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
20779
20780 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20781
20782         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
20783         behave as if it's zero in all cases.
20784         (expand_function_start): Adjust call to assign_parms.
20785         * tree.h (assign_parms): Adjust prototype.
20786         * objc/objc-act.c (hack_method_prototype): Adjust call to
20787         assign_parms.
20788
20789 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
20790
20791         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
20792         arg_pointer_rtx fixed if the argument pointer register is
20793         not fixed.
20794         (NONZERO_BASE_PLUS_P): Likewise.
20795
20796 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
20797
20798         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
20799         match_insn2 to match_insn.
20800         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
20801
20802 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
20803
20804         * Makefile.in (USER_H): Remove va-foo.h.
20805
20806         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
20807         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
20808         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
20809         va-spur.h,va-v850.h}: Remove.
20810
20811 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
20812
20813         * sparc/sparc.md (eligible_for_return_delay): New attribute.
20814         (in_return_delay): Use it instead of match_insn.
20815
20816 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20817
20818         * config/alpha/va_list.h (va-alpha.h): Do not include.
20819         (__gnuc_va_list): Typedef as in varargs.h.
20820
20821 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
20822
20823         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
20824         DECL_LIVE_RANGE_RTL.
20825
20826 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
20827
20828         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
20829         not NOTE_BLOCK_NUMBER.
20830         (expand_eh_region_end): Likewise.
20831         (find_exception_handler_labels): Likewise.
20832         (scan_region): Likewise.
20833         (exception_optimize): Likewise.
20834         (update_rethrow_references): Likewise.
20835         (set_insn_eh_region): Likewise.
20836         * final.c (final_scan_insn): Likewise.
20837         * flow.c (make_edges): Likewise.
20838         * integrate.c (expand_inline_function): Likewise.
20839         * print-rtl.c (print_rtx): Likewise.
20840
20841 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
20842
20843         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
20844         terms of builtin functions and types.
20845
20846         * mips.c (mips_build_va_list): New.
20847         (mips_va_start, mips_va_arg): New.
20848         * mips.h (BUILD_VA_LIST_TYPE): New.
20849         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
20850
20851         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
20852         (sh_build_va_list, sh_va_start, sh_va_arg): New.
20853         * sh.h (BUILD_VA_LIST_TYPE): New.
20854         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
20855
20856 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
20857
20858         * recog.h (struct recog_data): Make dup_num, operand_address_p,
20859         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
20860         (struct insn_data): Likewise with n_operands, n_dups,
20861         n_alternatives, output_format.
20862         * regclass.c (scan_one_insn): Cast n_operands to int before
20863         arithmetic inside comparison.
20864
20865 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
20866
20867         * toplev.c (compile_function): Unconditionally emit nop.
20868
20869 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20870
20871         * haifa-sched.c (actual_hazard): Move declaration of variable
20872         `this_cost' into the scope where it is used.
20873
20874 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20875
20876         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
20877         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
20878         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
20879
20880         * genrecog.c (make_insn_sequence): Call memset, not bzero.
20881
20882         * jump.c (find_insert_position): Don't declare or define unless
20883         !HAVE_conditional_arithmetic.
20884         (returnjump_p_1, delete_prior_computation): Add static prototypes.
20885
20886         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
20887
20888         * recog.c (offsettable_address_p): Prototype function pointer.
20889         (preprocess_constraints): Call memset, not bzero.
20890
20891         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
20892         (gcc_obstack_init): Don't declare.
20893         (fix_sizetype): Add static prototype.
20894         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
20895         (tree_cons): Call memset, not bzero.
20896
20897         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
20898         definition in macro ASM_WEAKEN_LABEL.
20899         (mark_const_hash_entry): Add static prototype.
20900
20901 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20902
20903         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
20904
20905         * unroll.c (find_common_reg_term, subtract_reg_term,
20906         loop_find_equiv_value): Add static prototypes.
20907         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
20908         (copy_loop_body): Remove unreachable break statement.
20909
20910         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
20911
20912         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
20913
20914 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20915
20916         Undo some changes from the gcc2 merge:
20917         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
20918         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
20919         pointers.
20920
20921         Undo this change:
20922         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
20923         * emit-rtl.c (gen_lowpart_common): Disable optimization of
20924         initialized float-int union if the value is a NaN.
20925
20926 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20927
20928         * gthr-win32.h: New file.
20929
20930         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
20931         shared as a valid attribute.
20932         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
20933         * extend.texi: Document `shared' variable attribute.
20934
20935 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
20936
20937         * configure.in: Handle --enable-threads on FreeBSD.
20938         * configure: Rebuit.
20939
20940 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
20941
20942         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
20943         thread support.
20944         * configure: Rebuilt.
20945
20946 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
20947                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
20948                           Rosimildo DaSilva <rdasilva@connecttel.com>
20949
20950         * configure.in (m68k-*-rtemscoff*): Added.
20951         * configure.in (mips64orion-*-rtems*): Converted to ELF.
20952         * configure.in (sparc-*-rtemsaout*): Added as alias for old
20953         sparc-rtems configuration.
20954         * configure.in (sparc-*-rtemself*): Added.
20955         * configure.in (sparc-*-rtems*): Now ELF not a.out.
20956         * config/i386/rtems.h: Added comment.
20957         * config/sparc/rtemself.h: New file.
20958
20959         * configure.in (m68k-rtemself): Added.
20960         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
20961         and DWARF_DEBUGGING_INFO.
20962         * config/m68k/crti.s: New file.
20963         * config/m68k/crtn.s: New file.
20964         * config/m68k/t-crtstuff: New file.
20965         * config/m68k/rtemself.h: New file.
20966
20967         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
20968         global ctor/dtor and C++ exception handling.
20969         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
20970         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
20971         ENDFILE_SPEC.
20972         * config/i386/t-rtems-i386: New File.
20973
20974 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
20975
20976         * stmt.c (expand_end_case): Return right away if the case stack is
20977         empty.
20978
20979 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
20980
20981         * Makefile.in (version.c): Remove rule incorrectly brought in from
20982         the gcc2 merge.
20983
20984 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
20985
20986         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
20987         * msdos/top.sed:  Take into account a prepended $(SHELL) to
20988         move-if-change.
20989         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
20990
20991         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
20992
20993 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20994
20995         * regmove.c (fixup_match_1): Don't change an unchanging register.
20996         (stable_but_for_p): Renamed to:
20997         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
20998         Changed all callers.
20999
21000 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
21001
21002         * loop.c (strength_reduce): Don't call reg_used_between_p if the
21003         insn from BL2 is after the insn from BL.
21004
21005 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
21006
21007         * recog.h (INSN_OUTPUT_FORMAT_*): New.
21008         (struct insn_data): Merge `template' and `outfun' into `output'.
21009         Add `output_format'.
21010         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
21011         (struct data): Remove `outfun'; add `output_format'.
21012         (name_for_index): Remove declaration.
21013         (output_insn_data): Handle output formats.
21014         (process_template): Emit the bare array for @.
21015         (gen_expand, gen_split): Set output_format to NONE.
21016         * output.h (get_insn_template): Declare.
21017         * final.c (get_insn_template): New.
21018         (final_scan_insn): Use it.
21019         * toplev.c (compile_file): Likewise.
21020
21021         * c4x/c4x.c (c4x_process_after_reload): Likewise.
21022         * i860/i860.c (output_delayed_branch): Likewise.
21023         (output_delay_insn): Likewise.
21024
21025 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
21026
21027         * rtl.c (obstack_alloc_rtx): Removed.
21028
21029 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
21030
21031         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
21032
21033 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
21034
21035         * i386.c (call_insn_operand): Reject const_int.
21036         (expander_call_insn_operand): Use call_insn_operand.
21037
21038 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21039
21040         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
21041
21042 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
21043
21044         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
21045         Use DImode operation.
21046
21047 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
21048
21049         * gcc.c: Include sys/resource.h.
21050         (report_times): New flag.
21051         (execute):  If report_times is set, calculate and report the
21052         CPU time consumed by each subprocess.
21053
21054         (rus, prus): New globals.
21055         (option_map): Add --time.
21056         (display_help): Document -time.
21057         (process_command): Set report_times if -time is given.
21058         Turn off -pipe if -time is given.
21059
21060         * invoke.texi: Document new option -time.
21061
21062         * configure.in: Check for getrusage.  Check if we have to
21063         prototype getrusage.
21064         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
21065         * configure: Regenerate.
21066         * config.in: Regenerate.
21067
21068 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
21069
21070         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
21071         fields.
21072
21073 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
21074
21075         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
21076         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
21077         (nan): Return _thenan_sf or _thenan_df as appropriate.
21078         (L_thenan_sf): Define _thenan_sf.
21079         (L_thenan_df): Define _thenan_df.
21080
21081         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
21082         (DPBIT_FUNCS): Add _thenan_df.
21083
21084 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
21085
21086         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
21087         TYPE_SIZE_UNIT.
21088
21089 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21090
21091         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
21092
21093         * gcc.h: New file.
21094         (lang_specific_driver): Don't take a function pointer parameter.
21095         All callers changed.
21096
21097         * gcc.c: Include gcc.h.
21098         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
21099         lang_specific_extra_outfiles, fatal): Don't declare.
21100         (multilib_defaults_raw): Constify.
21101         (read_specs): Call memset, rather than bzero.
21102         (main): Call return, not exit.
21103         (lookup_compiler): Call memcpy, not bcopy.
21104         (fatal): Make extern.
21105
21106         * cppspec.c: Include gcc.h.
21107         (lang_specific_driver): Initialize variable `quote'.  Constify a
21108         char*.  All calls to the function pointer parameter now
21109         explicitly call `fatal'.
21110
21111         * gccspec.c (lang_specific_driver): Include gcc.h.
21112
21113 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
21114
21115         * arm.c (note_invalid_constants): Use recog_data.operand_type
21116         for recog_op_type.
21117
21118 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21119
21120         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
21121         Declare.
21122
21123         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
21124         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21125         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21126         reload_secondary_in_reload, reload_secondary_out_reload,
21127         reload_secondary_in_icode, reload_secondary_out_icode,
21128         reload_reg_rtx, reload_when_needed): Delete declarations.
21129         (struct reload): New structure.
21130         (rld): Declare new array.
21131         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
21132         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21133         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21134         reload_secondary_in_reload, reload_secondary_out_reload,
21135         reload_secondary_in_icode, reload_secondary_out_icode,
21136         reload_reg_rtx, reload_when_needed): Delete definitions.
21137         (rld): New array.
21138         (whole file): Replace uses of the deleted arrays with uses of rld.
21139         * reload1.c (whole file): Replace uses of the deleted arrays with
21140         uses of rld.
21141         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
21142         explicit loops, not with bcopy.
21143
21144 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
21145
21146         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
21147         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
21148         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
21149         insn_name): Delete and consolidate into new structures.
21150         (insn_operand_predicate_fn): New.
21151         (insn_output_fn): New.
21152         (insn_gen_fn): New.
21153         (struct insn_operand_data): New.
21154         (struct insn_data): New.
21155         (insn_data): New.
21156         (OUT_FCN): Update for insn_data change.
21157         * builtins.c (expand_builtin_strlen): Likewise.
21158         (expand_builtin_memcmp): Likewise.
21159         * combine.c (make_extraction, simplify_comparison): Likewise.
21160         * cse.c (canon_reg, cse_insn): Likewise.
21161         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
21162         * expmed.c (store_bit_field, extract_bit_field): Likewise.
21163         (emit_store_flag): Likewise.
21164         * expr.c (convert_move, emit_block_move): Likewise.
21165         (clear_storage, emit_push_insn, expand_increment): Likewise.
21166         (do_store_flag): Likewise.
21167         * expr.h (GEN_FCN): Likewise.
21168         (insn_gen_function): Die.
21169         * final.c (final_scan_insn): Update for insn_data change.
21170         (output_asm_name): Likewise.
21171         * function.c (fixup_var_refs_1): Likewise.
21172         * loop.c (check_dbra_loop): Likewise.
21173         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
21174         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
21175         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
21176         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
21177         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
21178         * regmove.c (gen_add3_insn): Likewise.
21179         * reload.c (push_secondary_reload, combine_reloads): Likewise.
21180         (find_reloads, find_reloads_address_1): Likewise.
21181         (debug_reload_to_stream): Likewise.
21182         * reload1.c (emit_reload_insns, gen_reload): Likewise.
21183         * stmt.c (expand_end_case): Likewise.
21184         * toplev.c (compile_file): Likewise.
21185
21186         * c4x/c4x.c (c4x_process_after_reload): Likewise.
21187         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21188
21189         * print-rtl.c (insn_name_ptr): Remove declaration.
21190         (get_insn_name): Declare.
21191         (print_rtx): Use it.
21192         * genoutput.c (insn_name_ptr): Remove.
21193         (next_operand_number): New.
21194         (struct operand_data): New.
21195         (null_operand, odata, odata_end): New.
21196         (struct data): Use struct operand_data.
21197         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
21198         (get_insn_name): Renamed from name_for_index.
21199         (output_prologue): Define NO_MD_PROTOTYPES.
21200         (output_predicate_decls): Break out from output_epilogue.
21201         Iterate over the operands list.
21202         (output_operand_data): Break out from output_epilogue.  Emit
21203         just the operands list.
21204         (output_insn_data): Break out from output_epilogue.  Emit just
21205         the insn data.
21206         (output_epilogue): Remove.
21207         (output_get_insn_name): New.
21208         (constraints, op_n_alternatives, predicates, address_p): Die.
21209         (modes, strict_low, seen): Die.
21210         (scan_operands): Take new param `d' instead of writing to
21211         seven global variables.
21212         (compare_operands): New.
21213         (place_operands): New.
21214         (validate_insn_alternatives): Update for struct data change.
21215         (gen_insn): Don't zero or copy 7 global arrays.  Update for
21216         scan_operands; call place_operands.
21217         (gen_peephole, gen_expand, gen_split): Likewise.
21218         (main): Update for new output routines.
21219
21220         * genattr.c (insn_name_ptr): Remove.
21221         (get_insn_name): New function.
21222         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
21223         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
21224         * genrecog.c: Likewise.
21225
21226         * alpha.md (adddi3): Make `pattern' array static.
21227
21228 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21229
21230         * config/c4x/c4x.h (c4x_rpts_cycles_string,
21231         c4x_cpu_version_string): Constify char *.
21232         * config/c4x/c4x.c (c4x_rpts_cycles_string,
21233         c4x_cpu_version_string): Likewise.
21234
21235 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
21236
21237         * tree.c (save_tree_status): Revert 10 Sep change.
21238         (restore_tree_status): Likewise.  Call obstack_free with NULL
21239         before freeing the obstack proper.
21240
21241 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
21242
21243         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
21244
21245         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
21246         surrounding context.
21247
21248 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
21249
21250         * tree.c (type_hash_canon): Put all types in the hash-table, when
21251         GC'ing.
21252
21253 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
21254
21255         * recog.h (struct recog_data, recog_data): New.
21256         (recog_foo variables): Kill.
21257         * recog.c (recog_operand, recog_operand_loc): Kill.
21258         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
21259         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
21260         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
21261         (recog_data): Define.
21262         (extract_insn): Update all recog_foo references to use recog_data.
21263         (preprocess_constraints, constrain_operands): Likewise.
21264         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
21265         * genattrtab.c (main): Likewise.
21266         * genextract.c (main): Likewise.
21267         * genoutput.c: Likewise.
21268         * genrecog.c (write_subroutine, main): Likewise.
21269         * local-alloc.c (block_alloc): Likewise.
21270         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
21271         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
21272         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
21273         * reload.c (find_reloads, find_reloads_toplev): Likewise.
21274         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
21275         (reload_cse_simplify_operands): Likewise.
21276
21277         * arc/arc.c (arc_final_prescan_insn): Likewise.
21278         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
21279         * h8300/h8300.c (notice_update_cc): Likewise.
21280         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
21281         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21282         * mn10200/mn10200.c (notice_update_cc): Likewise.
21283         * mn10300/mn10300.c (notice_update_cc): Likewise.
21284         * romp/romp.c (update_cc): Likewise.
21285         * sparc/sparc.c (check_pic): Likewise.
21286         * v850/v850.c (notice_update_cc): Likewise.
21287
21288         * genemit.c (main): Don't declare recog_operand.
21289
21290 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
21291
21292         * ggc.h (rtvec_def): Forward declare.
21293         (tree_node): Likewise.
21294         (ggc_root): Define.
21295         (roots): Declare.
21296         (ggc_set_mark_rtx): Add prototype.
21297         (ggc_set_mark_rtvec): Likewise.
21298         (ggc_set_mark_tree): Likewise.
21299         * ggc-simple.c (ggc_root): Don't define.
21300         (roots): Don't declare.
21301         (ggc_mark_rtx): Remove.
21302         (ggc_mark_rtvec): Likewise.
21303         (ggc_mark_tree): Likewise.
21304         (ggc_mark_varray): Likewise.
21305         (ggc_mark_tree_hash_table_entry): Likewise.
21306         (ggc_mark_tree_hash_table): Likewise.
21307         (ggc_set_mart_rtx): New function.
21308         (ggc_set_mark_rtvec): Likewise.
21309         (ggc_set_mark_tree): Likewise.
21310         (ggc_add_root): Remove.
21311         (ggc_add_rtx_root): Likewise.
21312         (ggc_remove_tree_root): Likewise.
21313         (ggc_add_string_root): Likewise.
21314         (ggc_add_tree_varray_root): Likewise.
21315         (ggc_add_tree_hash_table_root): Likewise.
21316         (ggc_del_root): Likewise.
21317         (ggc_mark_rtx_ptr): Likewise.
21318         (ggc_mark_tree_ptr): Likewise.
21319         (ggc_mark_string_ptr): Likewise.
21320         (ggc_mark_tree_varray_ptr): Likewise.
21321         (ggc_mark_tree_hash_table_ptr): Likewise.
21322         * ggc-common.c: New file.
21323         * Makefile.in (OBJS): Add ggc-common.o.
21324         (ggc-common.o): List dependencies.
21325
21326 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
21327
21328         * cppalloc.c (xstrdup): Use memcpy.
21329         * cpperror.c (cpp_print_containing_files): Don't use
21330         cpp_notice.
21331         * cpplib.c (conditional_skip): Set temp->lineno.
21332         (do_endif): Make error message less obscure.
21333         (if_directive_name): New function.
21334         (cpp_get_token [case EOF]): Unwind the if stack and generate
21335         error messages for each unterminated conditional in this file.
21336         (parse_string):  Do not behave differently if -traditional.
21337
21338 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
21339
21340         * builtins.c (expand_builtin_va_arg): Cope with an array-type
21341         va_list decomposing to pointer-type.
21342         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
21343         (rs6000_va_arg): Likewise.
21344
21345 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
21346
21347         * except.c (start_dynamic_handler): Compute size using
21348         STACK_SAVEAREA_MODE.
21349
21350 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21351
21352         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
21353         include directory headers.  Don't define strrchr.  Don't provide
21354         my_* replacement functions.  Prefer PTR over `pointer_type'.
21355         Don't prototype system functions.  Don't redefine getopt.
21356
21357         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
21358         safe_read, safe_write, save_pointers, restore_pointers,
21359         is_id_char, in_system_include_dir, directory_specified_p,
21360         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
21361         find_corresponding_lparen, referenced_file_is_newer,
21362         save_def_or_dec, munge_compile_params, gen_aux_info_file,
21363         process_aux_info_file, identify_lineno, check_source,
21364         seek_to_line, forward_to_next_token_char, output_bytes,
21365         output_string, output_up_to, other_variable_style_function,
21366         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
21367         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
21368         find_static_definition, connect_defs_and_decs, add_local_decl,
21369         add_global_decls, needs_to_be_converted, visit_each_hash_node,
21370         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
21371         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
21372         scan_for_missed_items, edit_file, string_list_cons): Add static
21373         prototypes.
21374         (standard_exec_prefix, target_machine, target_version,
21375         default_syscalls_dir, string_list, string_list_cons, find_file,
21376         do_cleaning): Constify a char*.
21377         (safe_read, safe_write): Use PTR, not a char*.
21378         (is_id_char): Take an int, not a char.
21379         (main): Add prototype.  Call return, not exit.
21380
21381 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
21382
21383         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
21384         when comparing types.
21385
21386 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
21387
21388         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
21389         (strength_reduce): Release the varrays from the no-bivs early exit.
21390
21391         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
21392         the loop over the registers.
21393
21394         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
21395         for a new obstack.
21396         (restore_tree_status): Check that instead when freeing the obstack.
21397
21398 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
21399
21400         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
21401         as pointers.
21402
21403 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21404
21405         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
21406         operand size modifiers.
21407
21408 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21409
21410         * c-common.c (c_common_nodes_and_builtins): Don't build
21411         va_list_type_node.
21412         * c-common.h (enum c_tree_index and related accesor macros): Remove
21413         everything now declared in tree.h.
21414         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21415         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
21416         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
21417         (error_mark_node, void_type_node, char_type_node, integer_type_node,
21418         unsigned_type_node, ptr_type_node, va_list_type_node,
21419         integer_zero_node, null_pointer_node, integer_one_node): Delete.
21420         (init_decl_processing): Call build_common_tree_nodes and
21421         build_common_tree_nodes_2 instead of building their nodes here.
21422         Don't add roots for these nodes.
21423         * stor-layout.c (size_zero_node, size_one_node): Delete.
21424         (set_sizetype): Make a new node for bitsizetype each time.
21425         * tree.c (global_trees): New variable.
21426         (init_obstacks): Add a gc root for it.
21427         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21428         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
21429         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
21430         (build_common_tree_nodes): New function.
21431         (fix_sizetype): New function.
21432         (build_common_tree_nodes_2): New function.
21433         * tree.h (enum tree_index): New.
21434         (global_trees): Declare.
21435         Add accessor macros for all nodes now moved to global_trees.
21436         Delete their declarations.
21437
21438 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
21439
21440         * c-decl.c (finish_function): When processing a nested function,
21441         push and pop GC context around rest_of_compilation.
21442
21443 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
21444
21445         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
21446         Default ix86_arch to PROCESSOR_I386.
21447         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
21448         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
21449         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
21450         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
21451         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
21452         (EXTRA_SPECS): Remove deleted specs.
21453
21454 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
21455
21456         * function.c (assign_stack_local_1): Allocate from
21457         function->x_frame_offset, not frame_offset.
21458
21459 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
21460
21461         * ggc.h (lang_cleanup_tree): Remove.
21462         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
21463         * ggc-callbacks.c (lang_cleanup_tree): Remove.
21464
21465         * c-decl.c (finish_struct): Use ggc_alloc to allocate
21466         TYPE_LANG_SPECIFIC when garbage collecting.
21467         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
21468         (lang_cleanup_tree): Remove.
21469
21470 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
21471
21472         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
21473         * crtstuff.c: Not here.
21474         * dwarf2out.c: Or here.
21475         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
21476         info.
21477
21478 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
21479
21480         * function.h (free_after_compilation): Remove decl parameter.
21481         (free_varasm_status0: Likewise.
21482         (free_emit_status): Likewise.
21483         (free_stmt_status): Likewise.
21484         (free_after_compilation): Likewise.
21485         (init_lang_status): New variable.
21486         (free_lang_status): Likewise.
21487         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
21488         * function.c (init_lang_status): New variable.
21489         (free_lang_status): Likewise.
21490         (push_function_context_to): Don't set function::decl here.
21491         (free_after_copmilation): Make decl parameter implicit.  Call
21492         free_lang_status if defined.
21493         (prepare_function_start): Call init_lang_status if defined.
21494         (init_function_start): Set function::decl here.
21495         * profile.c (output_func_start_profiler): Don't call pushdecl
21496         until we've actually started the function.
21497         * stmt.c (free_stmt_status): Make decl parameter implicit.
21498         * toplev.c (rest_of_compilation): Don't pass decl to
21499         free_after_compilation.
21500         * varasm.c (free_varasm_status): Likewise.
21501
21502 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21503
21504         * except.c (call_get_eh_context): Add root when allocating static
21505         tree variable.
21506
21507 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
21508
21509         * arm.c: Include "ggc.h".
21510         (arm_add_gc_roots): New function.
21511         (arm_override_options): Call it.
21512         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
21513
21514         * arm.md (define_asm_attributes): Add a pool_range attribute.
21515
21516 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
21517
21518         * extend.texi (Volatiles): New node.
21519
21520 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
21521
21522         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
21523         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
21524         (struct ggc_any): Replace `mark' with `magic_mark'.
21525         (ggc_alloc_string): Use memcpy, not bcopy.
21526         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
21527         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
21528         (ggc_free_any): New.
21529         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
21530         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
21531         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
21532         Use IS_MARKED. Use ggc_free_any.
21533
21534 1999-09-09  Scott Bambrough <scottb@netwinder.org>
21535
21536         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
21537
21538 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
21539
21540         * toplev.c (main): Always init_ggc.
21541
21542 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
21543
21544         * except.c (find_all_handler_type_matches): Free the list if
21545         we found no matches.
21546
21547         * combine.c (SUBST): Break out to a real function do_SUBST.
21548         (SUBST_INT): Likewise.
21549         * gcse.c (free_pre_mem): Free `temp_bitmap'.
21550         (pre_insert): Free `inserted'.
21551         * loop.c (basic_induction_var): Always set `location'.
21552
21553         * function.c (expand_function_end): Add initial_trampoline as a root.
21554         * rtl.h (init_varasm_once): Declare.
21555         * toplev.c (compile_file): Call it.
21556         * ggc-simple.c (ggc_mark_string_ptr): New.
21557         (ggc_add_string_root): New.
21558         (ggc_collect): Disable collection avoidance temporarily.
21559         * ggc.h (ggc_add_string_root): Declare.
21560         * except.c (create_rethrow_ref): Use ggc_alloc_string.
21561         * optabs.c (init_libfuncs): Likewise.
21562         * varasm.c (named_section): Use ggc_alloc_string.
21563         (make_function_rtl): Likewise.
21564         (make_decl_rtl): Likewise.
21565         (assemble_static_space): Likewise.
21566         (assemble_trampoline_template): Likewise.
21567         (output_constant_def): Likewise.
21568         (force_const_mem): Likewise.
21569         (mark_const_hash_entry): New.
21570         (mark_pool_sym_hash_table): New.
21571         (mark_varasm_state): Use it.
21572         (init_varasm_once): New.
21573
21574         * expr.h (init_one_libfunc): Declare.
21575         * optabs.c (init_one_libfunc): New.
21576         (init_optabs): Use it.
21577         * config/gofast.h: Likewise.
21578         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
21579         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
21580
21581 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
21582
21583         * Makefile.in (cppexp.o): Depend on cpphash.h.
21584         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
21585         Include cpphash.h.
21586         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
21587         * cpplib.c (do_define): Generalise to handle poisoned definitions,
21588         redefining poisoned identifiers, etc.
21589         (do_undef): Don't allow poisoned identifiers to be undefined.
21590         (do_pragma): Add #pragma poison.
21591         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21592
21593         * cccp.c: Add T_POISON node type.
21594         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
21595         poisoned xxx.
21596         (do_define): Generalise to handle poisoned definitions,
21597         redefining poisoned identifiers, etc.
21598         (do_undef): Don't allow poisoned identifiers to be undefined.
21599         (do_pragma): Add #pragma poison.
21600         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21601
21602         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
21603         * c-pragma.h: Add ps_poison state.  We now always have generic
21604         pragmas.
21605
21606 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
21607
21608         * ggc.h (ggc_alloc): New function.
21609         (ggc_mark): Likewise.
21610         * ggc-simple.c (ggc_any): New structure.
21611         (ggc_status): Add anys.
21612         (n_anys_collected): New variable.
21613         (ggc_alloc): Define.
21614         (ggc_mark): Likewise.
21615         (ggc_collect): Collect the anys.
21616
21617 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21618
21619         * c-decl.c (mark_binding_level): Make static to match prototype.
21620
21621 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
21622
21623         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
21624
21625 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
21626
21627         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
21628         will use into account.  Expand the max width to 5.
21629         * rtl.c: Likewise.
21630
21631 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
21632
21633         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
21634         for the rtx length.
21635
21636 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
21637
21638         * alpha.md (call value patterns): Remove the result predicates.
21639
21640 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
21641
21642         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
21643         last change.
21644
21645 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21646
21647         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
21648         changed from extern char *, to extern PTR.  Also fix typo in
21649         NEED_DECLARATION_REALLOC test.
21650
21651         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
21652
21653 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21654
21655         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
21656         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
21657         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
21658         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
21659
21660         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
21661
21662         * cccp.c (pcfinclude): Likewise.
21663
21664         * global.c (allocno_compare): Likewise.
21665
21666         * haifa-sched.c (rank_for_schedule): Likewise.
21667
21668         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
21669
21670         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
21671
21672         * stupid.c (stupid_reg_compare): Likewise.
21673
21674         * tree.c (_obstack_allocated_p): Likewise.
21675
21676         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
21677
21678 1999-09-08  Bruce Korb  autogen@linuxbox.com
21679
21680         * Makefile.in: Give the hapless gperf user a hint about
21681         why "gperf -F" fails.
21682
21683 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
21684
21685         * lists.c: Include ggc.h.
21686         (zap_lists): New.
21687         (init_EXPR_INSN_LIST_cache): Install it.
21688
21689         * ggc-simple.c (init_ggc): Absorb the old init.
21690         (ggc_push_context): Use xcalloc.
21691         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
21692         (ggc_collect): Add [rvts] tags to the collection stats.
21693
21694 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
21695
21696         * cccp.c (main): Fix handling of -include and -imacros options.
21697
21698 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
21699
21700         * cpplib.c (cpp_push_buffer): Fix order of arguments.
21701
21702 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21703
21704         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
21705         genrtl.c.
21706
21707 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
21708
21709         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
21710         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
21711         and SET_DEST. Update comment.
21712
21713 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21714
21715         * config/c4x/c4x.c: Include ggc.h.
21716         (c4x_add_gc_roots): New function.
21717         (c4x_override_options): Call c4x_add_gc_roots.
21718
21719 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
21720
21721         * defaults.h (TARGET_ESC): Move ...
21722         * system.h: ... here, where Linas had it in the first place.  Silly me.
21723
21724 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
21725
21726         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
21727         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
21728         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
21729         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
21730         * defaults.h (TARGET_ESC): Add default.
21731
21732 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
21733
21734         * configure.in: add i370-*-openedition, i370-*-mvs and
21735         i370-*-linux targets
21736
21737 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
21738
21739         * dsp16xxx.c: Include ggc.h
21740         (override_options): Mark GC roots.
21741         * mn10200.c: Include ggc.h.
21742         (asm_file_start): Mark GC roots.
21743         * tahoe.c: Include ggc.h.
21744         (extensible_operand): Mark GC roots.
21745
21746 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
21747
21748         * README: Add section discussing status of ELF ABI.
21749         * i370.c: Fix misc spelling mistakes.
21750         (i370_label_scan): Updated notes, exception handling.
21751         (i370_function_prolog): Simplify ELF stack handling.
21752         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
21753         (STACK_GROWS_DOWNWARD): ELF stack grows down.
21754         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
21755         * i370.md: (movdi): Add notes.
21756         (floatsidf2): Use stack not rtca for scratch float area.
21757         (iorsi3): Correct operand constraints.
21758         * x-oe: Restore TAROUTOPTS which are used by pax.
21759
21760 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
21761
21762         * rs6000.c: Include ggc.h.
21763         (rs6000_add_gc_roots): New function.
21764         (override_options): Call it.
21765
21766 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
21767
21768         * alpha.h (alpha_compare): New.
21769         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
21770         * alpha.c: Likewise for the definitions.
21771         (alpha_emit_conditional_branch): Update for alpha_compare.
21772         (alpha_emit_conditional_move): Likewise.
21773         * alpha.md (cmpdf, cmpdi): Likewise.
21774         (setcc patterns): Likewise.  Zero alpha_compare after use.
21775         (sne): Optimize (x != 0) into (0U < x).
21776
21777 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
21778
21779         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
21780         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
21781         (INIT_EXPANDERS): Remove.
21782         * alpha.c: Include ggc.h.
21783         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
21784         (alpha_init_machine_status, alpha_mark_machine_status): New.
21785         (override_options): Install them.
21786         (struct machine_function): Moved to alpha.h.
21787         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
21788         (alpha_init_expanders): Remove.
21789         (alpha_return_addr): Adjust to use current_function->machine.
21790         (alpha_ra_ever_killed): Likewise.
21791         (alpha_expand_epilogue): Likewise.
21792         * alpha.md (eh_epilogue): Likewise.
21793
21794 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
21795                           Melissa O'Neill  <oneill@cs.sfu.ca>
21796                           Geoffrey Keating  <geoffk@cygnus.com>
21797
21798         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
21799         call-used registers (call-saved registers must still be contiguous
21800         and end with r31, of course).
21801
21802 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
21803
21804         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
21805         (self_promoting_type_p): Delete.
21806         (self_promoting_args_p): Move ...
21807         * c-common.c: ... here.
21808         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
21809         (simple_type_promotes_to): New.
21810         * builtins.c (lang_type_promotes_to): New.
21811         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
21812         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
21813         * c-common.h: ... here.
21814         (self_promoting_args_p, simple_type_promotes_to): Declare.
21815         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
21816         (grokdeclarator): Likewise.
21817         * tree.h (lang_type_promotes_to): Declare.
21818
21819 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
21820
21821         Add some machine-dependent GC roots.
21822         * sparc.c: Include ggc.h.
21823         (sparc_add_gc_roots): New function.
21824         (mark_ultrasparc_pipeline_state): Likewise.
21825         (override_options): Call sparc_add_gc_roots.
21826         * pa.c: Include ggc.h.
21827         (pa_add_gc_roots): New function.
21828         (mark_deferred_plabels): Likewise.
21829         (override_options): Call pa_add_gc_roots.
21830         * mips.c: Include ggc.h.
21831         (mips_add_gc_roots): New function.
21832         (override_options): Use it.
21833
21834 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21835
21836         * cpperror.c (cpp_file_line_for_message): Constify a char*.
21837
21838         * cppexp.c (parse_number, parse_charconst, cpp_lex,
21839         cpp_parse_expr): Add static prototypes.
21840         (parse_charconst): Don't cast away const-ness.
21841         (token): Constify a char*.
21842
21843         * cppfiles.c (file_name_list, include_hash, find_include_file,
21844         finclude, initialize_input_buffer): Constify a char*.
21845         (file_cleanup, find_position): Add static prototypes.
21846
21847         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
21848         collect_expansion): Add static prototypes.
21849         (cpp_install, create_definition, monthnames): Constify a char*.
21850
21851         * cpphash.h (cpp_install): Likewise.
21852
21853         * cppinit.c (known_suffixes, default_include,
21854         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
21855         (base_name, dump_special_to_buffer, initialize_dependency_output):
21856         Add static prototypes.
21857
21858         * cpplib.c (my_strerror): Constify a char*.
21859         (null_underflow, null_cleanup, skip_comment, copy_comment,
21860         copy_rest_of_line, handle_directive, pass_thru_directive,
21861         get_directive_token, read_line_number, cpp_print_file_and_line,
21862         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
21863         v_cpp_warning_with_line, detect_if_not_defined,
21864         consider_directive_while_skipping): Add static prototypes.
21865         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
21866         cpp_pedwarn_with_file_and_line): Constify a char*.
21867
21868         * cpplib.h (cpp_options, include_hash, progname, definition,
21869         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
21870         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
21871         find_include_file, deps_output, include_hash): Constify a char*.
21872
21873         * cppmain.c (progname): Constify.
21874         (main): Add prototype.  Use return, not exit.
21875
21876         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
21877         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
21878         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
21879         check_protection): Add static prototype.
21880         (xfree): Remove.
21881         (progname, recognized_macrom, recognized_extern): Constify a char*.
21882         (main): Add prototype.
21883
21884         * gen-protos.c (progname): Constify a char*.
21885
21886 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
21887
21888         * emit-rtl.c (free_emit_status): Take decl as a parameter.
21889         (init_emit_once): Add more GC roots.
21890         * except.c (mark_func_eh_entry): New function.
21891         (mark_eh_node): Mark false_label and rethrow_label.
21892         (init_eh): Add more GC roots.
21893         * function.c (free_after_compilation): Take decl as a paramter.
21894         Call free_stmt_status.
21895         (mark_function_state): Don't assume x_parm_reg_stack_loc is
21896         non-NULL.
21897         * function.h (free_after_compilation): Change prototype.
21898         (free_varasm_status): Likewise.
21899         (free_emit_status): Likewise.
21900         (free_stmt_status): New function.
21901         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
21902         Remove, replacing with ...
21903         (ggc_status): New structure.
21904         (ggc_chain): New variable.
21905         (init_gcc): Define.
21906         (ggc_push_context): New function.
21907         (ggc_pop_context): Likewise.
21908         (ggc_alloc_rtx): Adjust for use of ggc_chain.
21909         (ggc_alloc_rtvec): Likewise.
21910         (ggc_alloc_tree): Likewise.
21911         (ggc_alloc_string): Likewise.
21912         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
21913         (ggc_mark_tree): Give language-dependent code a chance to mark
21914         `x' nodes.
21915         (ggc_mark_tree_varray): Handle empty arrays.
21916         (ggc_collect): Adjust for use of ggc_chain.  Clear
21917         bytes_alloced_since_last_gc.
21918         * ggc.h (ggc_pop_context): New function.
21919         (ggc_push_context): Likewise.
21920         * print-tree.c (print_node): Don't print obstacks when GC'ing.
21921         * stmt.c (free_stmt_status): New function.
21922         (init_stmt_for_function): Clear last_expr_value.
21923         * toplev.c (rest_of_compilation): Always call free_after_compilation.
21924         Conditionalize call to ggc_collect.
21925         (main): Call init_ggc.
21926         * tree.c (push_obstacks): Do the push, even when GC'ing.
21927         (push_obstacks_nochange): Likewise.
21928         (pop_obstacks): Liekwise.
21929         * varasm.c (free_varasm_status): Take decl as a parameter.
21930
21931 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21932
21933         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
21934         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
21935         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
21936         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
21937
21938 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
21939
21940         * pa/x-pa-mpeix: New file for the MPE port.
21941
21942         * pa/quadlib.asm: New file for long double support.
21943
21944         * configure.in: Add hppa1.0-*-mpeix for MPE port.
21945         * configure: Rebuilt.
21946
21947 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
21948
21949         * final.c (shorten_branches): Fix last change.
21950
21951 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
21952
21953         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
21954
21955 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
21956
21957         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
21958         details.
21959
21960 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21961
21962         * c-aux-info.c (concat): Don't define.
21963
21964         * cccp.c (my_strerror): Likewise.  All callers changed to use
21965         xstrerror instead.
21966         (do_include): Call xstrdup, not xmalloc/strcpy.
21967         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
21968         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
21969
21970         * collect2.c (my_strsignal): Likewise.  All callers changed to use
21971         strsignal instead.
21972         (locatelib): Call xstrdup, not xmalloc/strcpy.
21973
21974         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
21975
21976         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
21977
21978         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
21979
21980         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
21981
21982         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
21983
21984         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
21985
21986         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
21987         malloc/realloc.
21988         (find_all_handler_type_matches): Likewise.  Don't check return
21989         value.
21990         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
21991         xmalloc, not malloc.
21992         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
21993
21994         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
21995         (init_spec): Call xcalloc, not xmalloc/bzero.
21996         (set_spec): Call xstrdup, not save_string.
21997         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
21998         (find_a_file): Call xstrdup, not xmalloc/strcpy.
21999         (process_command): Call xstrdup, not save_string.
22000         (main): Call xcalloc, not xmalloc/bzero.
22001
22002         * gcov.c (xmalloc): Don't define.
22003         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
22004         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
22005         (output_data): Call xcalloc, not xmalloc/bzero.
22006
22007         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
22008
22009         * mips-tdump.c (xmalloc): Don't define.
22010         (print_symbol): Call xmalloc, not malloc.
22011         (read_tfile): Call xcalloc, not calloc.
22012
22013         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
22014         Don't define.  All callers of xfree/my_strsignal changed to use
22015         free/strsignal instead.
22016         (allocate_cluster): Call xcalloc, not calloc.
22017
22018         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
22019         Fix memory leak, free allocated memory.
22020
22021         * prefix.c (translate_name): Call xstrdup, not save_string.
22022         (update_path): Likewise.
22023
22024         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
22025
22026         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
22027         Don't define.  Callers of xfree/savestring2 changed to use
22028         free/concat instead.
22029
22030         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
22031         (init_elim_table): Likewise.
22032
22033         * resource.c (init_resource_info): Likewise.
22034
22035         * stupid.c (stupid_life_analysis): Likewise.
22036
22037         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
22038         (open_dump_file): Call concat, not xmalloc/strcpy/...
22039         (clean_dump_file): Likewise.
22040         (compile_file): Call xstrdup, not xmalloc/strcpy.
22041
22042 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
22043
22044         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
22045         * v850.c (v850_va_arg): New.
22046
22047 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22048
22049         * haifa-sched.c: Tidy comments.
22050
22051 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22052
22053         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
22054         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
22055         $(out_object_file)): Depend on ggc.h.
22056         * c-common.c: Include "ggc.h".
22057         (combine_strings): If doing GC, use ggc_alloc_string.
22058         * c-decl.c: Include "ggc.h".
22059         (ggc_p): Define with value 0.
22060         (mark_binding_level): New function.
22061         (init_decl_processing): Add GC roots.
22062         (mark_c_function_context): New function.
22063         (lang_mark_false_label_stack): New function.
22064         (lang_mark_tree): New function.
22065         (lang_cleanup_tree): New function.
22066         * c-lang.c: Include "ggc.h".
22067         (lang_init): Call c_parse_init.
22068         * c-lex.c: Include "ggc.h".
22069         (check_linenum): If doing GC, don't copy filenames to permanent
22070         obstack.
22071         * c-parse.in: Include "ggc.h".
22072         (c_parse_init): New function.
22073         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
22074         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
22075
22076         * except.c (mark_eh_state): Mark more state.
22077         * function.c (mark_function_state): Likewise.
22078         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
22079         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
22080         * toplev.c (mark_file_stack): New function.
22081         (compile_file): If doing GC, use ggc_alloc_string on input filename.
22082         (main): Add root for input_file_stack.
22083
22084         * i386.c: Include "ggc.h".
22085         (ix86_mark_machine_status): New function.
22086         (override_options): Set mark_machine_status.
22087
22088 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22089
22090         * tree.c (copy_node): Copy node contents also if doing GC.
22091
22092 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22093
22094         * collect2.c (scan_libraries): Fix double-thinko :-).
22095
22096 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
22097
22098         * collect2.c (scan_libraries): Fix thinko.
22099
22100         * cse.c (delete_trivially_dead_insns): Do not skip the last
22101         insn if it is a real insn.
22102
22103 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
22104
22105         * Makefile.in (ggc-simple.o): Depend on hash.h.
22106         * ggc.h (ggc_add_tree_hash_table_root): Declare.
22107         (ggc_mark_tree_varray): Likewise.
22108         (ggc_mark_tree_hash_table): Likewise.
22109         * ggc-simple.c: Include hash.h.
22110         (ggc_mark_tree_hash_table_ptr): New function.
22111         (ggc_mark_tree_hash_table_entry): Likewise.
22112         (ggc_mark_tree_hash_table): Likewise.
22113         (ggc_add_tree_hash_table_root): Likewise.
22114         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
22115         rtx, when defining fields.
22116
22117 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22118
22119         * profile.c (output_func_start_profiler): Remove apparently
22120         nonsensical call to start_sequence.
22121
22122 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
22123
22124         * clipper/clipper.c (clipper_va_start): Fix typos.
22125
22126         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
22127         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
22128         (spur_va_arg): New stub.
22129
22130         * configure.in: Comment out pyramid.
22131
22132 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
22133
22134         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
22135         don't conflict with the bits that win32, cygwin, and dgux
22136         defines.
22137
22138 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
22139                           Bernd Schmidt <bernds@cygnus.co.uk>
22140
22141         * integrate.c (function_cannot_inline_p): Do not inline
22142         functions with forced labels.
22143
22144 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
22145                           Bernd Schmidt <bernds@cygnus.co.uk>
22146                           Mark Mitchell  <mark@codesourcery.com>
22147
22148         * Makefile.in (ggc-simple.o): Depend on varray.h.
22149         (rtl.o): Depend on ggc.h.
22150         (genattrtab.o): Depend on ggc.h.
22151         (print-tree.o): Likewise.
22152         (fold-const.o): Likewise.
22153         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
22154         (make_insn_raw): Don't cache insns when GC'ing.
22155         (emit_insn_before): Likewise.
22156         (emit_insn_after): Likewise.
22157         (emit_insn): Likewise.
22158         (start_sequence): Use xmalloc to allocate the sequence_stack.
22159         (end_sequence): Add free to free it.
22160         (gen_sequence): Don't cache insns when GC'ing.
22161         (clear_emit_caches): Don't use sequence_element_free_list.
22162         (init_emit): Use xcalloc, not xmalloc+bzero.
22163         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
22164         * function.c (pop_function_context_from): Use free to free the
22165         fixup_var_refs_queue.
22166         (put_reg_into_stack): Allocate it with xmalloc.
22167         * genattrtab.c: Include ggc.h.
22168         (operate_exp): Don't use obstack_free when GC'ing.
22169         (simplify_cond): Likewise.
22170         (simplify_text_exp): Likewise.
22171         (optimize_attrs): Likewise.
22172         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
22173         GC'ing.
22174         (gencode): Generate a #include for ggc.h.
22175         * ggc-callbacks.c (ggc_p): Define it to zero.
22176         * ggc-none.c (ggc_p): Likewise.
22177         * ggc-simple.c: Include varray.h.
22178         (ggc_mark_tree_varray): New function.
22179         (ggc_add_tree_varray_root): Likewise.
22180         (ggc_mark_tree_varray_ptr): Likewise.
22181         * ggc.h (ggc_p): Declare.
22182         (varray_head_tag): Likewise.
22183         (ggc_add_tree_varray_root): Declare.
22184         * print-tree.c (print_node): Don't check for TREE_PERMANENT
22185         inconsistencies when GC'ing.
22186         * rtl.c: Include ggc.h.
22187         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
22188         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
22189         (rtx_free): Don't call obstack_free when GC'ing.
22190         * toplev.c (rest_of_compilation): Call ggc_collect after every
22191         pass, if GC'ing.
22192         * tree.c (push_obstacks): Do nothing, if GC'ing.
22193         (pop_obstacks_nochange): Likewise.
22194         (pop_obstacks): Likewise.
22195         (make_node): Use ggc_alloc_tree when GC'ing.
22196         (copy_node): Likewise.
22197         (get_identifier): Use ggc_alloc_string when GC'ing.
22198         (build_string): Likewise.
22199         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
22200         (tree_cons): Likewise.
22201         (build1): Likewise.
22202         (type_hash_canon): Don't call obstack_free when GC'ing.
22203
22204 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
22205
22206         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
22207         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
22208
22209 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
22210                           Bernd Schmidt <bernds@cygnus.co.uk>
22211                           Mark Mitchell  <mark@codesourcery.com>
22212
22213         * Makefile.in (stor-layout.o): Depend on ggc.h.
22214         (expr.o): Depend on ggc.h.
22215         (profile.o): Depend on ggc.h.
22216         (stor-layout.o): Depend on ggc.h.
22217         * emit-rtl.c (init_emit_once): Add gc roots.
22218         * expr.c: Include ggc.h.
22219         (emit_block_move): Add gc roots.
22220         (clear_storage): Likewise.
22221         * expr.h (init_stor_layout_once): New function.
22222         * profile.c: Include ggc.h.
22223         (init_arc_profiler): profiler_label is a root.
22224         * scan.c (make_sstring_space): Trust xrealloc to function
22225         correctly with first parameter NULL.
22226         * stor-layout.c: Include ggc.h.
22227         (set_sizetype): Add gc root.
22228         (init_stor_layout_once): New function.
22229         * toplev.c (compile_file): Call it.
22230
22231 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
22232                           Bernd Schmidt <bernds@cygnus.co.uk>
22233                           Mark Mitchell  <mark@codesourcery.com>
22234
22235         * Makefile.in (tree.o): Depend on ggc.h.
22236         (varasm.o): Likewise.
22237         (function.o): Likewise.
22238         (stmt.o): Likewise.
22239         (except.o): Likewise.
22240         (optabs.o): Likewise.
22241         (emit-rtl.o): Likewise.
22242         * emit-rtl.c: Include ggc.h.
22243         (sequence_element_free_list): Remove, and all references.
22244         (mark_sequence): New functions.
22245         (mark_emit_state): New function.
22246         * except.c: Include ggc.h.
22247         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
22248         (mark_tree_label_node): New functions.
22249         (mark_eh_state): New function.
22250         * function.c: Include ggc.h.
22251         (mark_temp_slot, mark_function_chain): New functions.
22252         (mark_function_state): New function.
22253         (init_function_once): New function.
22254         * function.h (init_function_once): New function.
22255         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
22256         * ggc.h (label_node): Declare.
22257         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
22258         (lang_mark_false_label_stack): New function.
22259         (mark_temp_slot): Remove declaration.
22260         (mark_function_chain): Likewise.
22261         (mark_eh_state): Adjust prototype.
22262         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
22263         Likewise.
22264         * optabs.c: Include ggc.h.
22265         (mark_optab): New function.
22266         (init_optabs): Add gc roots.
22267         * stmt.c: Include ggc.h.
22268         (mark_cond_nesting, mark_loop_nesting): New functions.
22269         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
22270         (mark_stmt_state): New function.
22271         * toplev.c (compile_file): Call init_function_once.
22272         * tree.c: Include ggc.h.
22273         (type_hash): Move declaration earlier in file.
22274         (TYPE_HASH_SIZE, type_hash_table): Likewise.
22275         (init_obstacks): Add gc roots.
22276         (mark_type_hash): New function.
22277         * varasm.c: Include ggc.h.
22278         (mark_pool_constant): New function.
22279         (mark_varasm_state): New function.
22280
22281 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22282
22283         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
22284
22285 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
22286
22287         * c-decl.c (struct language_function): Renamed from struct c_function.
22288         Delete elt NEXT.
22289         (c_function_chain): Delete.
22290         (push_c_function_context): New arg F.  Don't warn about nested
22291         functions here.  Fill LANGUAGE elt of F.  Delete code to update
22292         c_function_chain.  Don't call push_function_context.
22293         (pop_c_function_context): New arg F.  Restore from there instead of
22294         from c_function_chain.  Don't call pop_function_context.  Clear out
22295         LANGUAGE field of F when done.
22296         * c-lang.c: Include "function.h"
22297         (lang_init): Initialize save_lang_status and restore_lang_status.
22298         * c-parse.in (nested_function, nested_function_notype): Warn about
22299         nested functions.  Call push_function_context/pop_function_context
22300         instead of the _c_ variants.
22301         * c-tree.h (push_c_function_context, pop_c_function_context): Update
22302         prototype.
22303         * Makefile.in (c-lang.o): Update dependencies.
22304
22305         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
22306         regno_pointer_flag, regno_pointer_align.
22307         (gen_reg_rtx): Use xrealloc to enlarge them.
22308         (free_emit_status): New function.
22309         * function.c (mark_machine_status, mark_lang_status): New variables.
22310         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
22311         in some bits from assign_stack_local.  All callers changed to use new
22312         name.
22313         (assign_stack_local): Just call assign_stack_local_1.
22314         (free_after_compilation): New function.
22315         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
22316         (trampoline_address): Likewise.
22317         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
22318         (prepare_function_start): Explicitly clear some more variables.
22319         * function.h (struct function): New elt can_garbage_collect.
22320         (mark_machine_status, mark_lang_status): Declare variables.
22321         (free_after_compilation, free_emit_status, free_varasm_status,
22322         init_varasm_status): Declare functions.
22323         * toplev.c (rest_of_compilation): Call free_after_compilation when
22324         done with the current function.
22325         * varasm.c (free_varasm_status): New function.
22326
22327 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
22328
22329         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
22330         (EXPAND_BUILTIN_VA_ARG): Define.
22331         * sparc.c (sparc_va_start): New.
22332         (sparc_va_arg): New.
22333
22334 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22335
22336         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
22337
22338 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22339
22340         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
22341
22342 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
22343
22344         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
22345         (OBJS): Add $(GGC).
22346         (ggc-callbacks.o): New target.
22347         * ggc-callbacks.c: New file.
22348
22349 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22350
22351         * expr.h: Collapse individual optab and libfunc vars to arrays.
22352         (optab_index, libfunc_index): New enumerations.
22353         (optab_table, libfunc_table): New arrays.
22354         Add accessor macros for both.
22355
22356         * optabs.c (optab_table, libfunc_table): New.
22357         Delete declarations for individual optab and libfunc vars.
22358
22359 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
22360
22361         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
22362
22363 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
22364
22365         * Makefile.in (GGC, GGC_LIB): New.
22366         (HOST_RTL): Include ggc-none.o.
22367         (ggc-simple.o): New target.
22368         (ggc-none.o): Likewise.
22369         * tree.h (tree_common): Add gc_mark.
22370         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
22371         (struct rtvec_def): Add gc_mark.
22372         * emit-rtl.c (global_rtl): Update static initializers to contain
22373         enough initializers.
22374         * ggc.h, ggc-none.c, ggc-simple.c: New files.
22375         * toplev.c (gc_time): New variable.
22376         (all_time): New variable.
22377         (compile_file): Print gc time.
22378         (print_time): Calculate percentage of the whole.
22379
22380 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22381
22382         Change obstack memory management and varasm constant pool handling so
22383         that nested functions are treated like any other functions.
22384         * function.c (init_machine_status): New variable.
22385         (push_function_context_to): Set contains_functions for the outer
22386         function.  Don't call save_varasm_status.
22387         (pop_function_context_from): Don't call restore_varasm_status.  Don't
22388         set current_function_contains_functions.
22389         (prepare_function_start): Call init_varasm_status rather than
22390         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
22391         is non-null.
22392         * function.h (struct function) Add field varasm.  Delete fields
22393         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
22394         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
22395         (init_machine_status): Declare.
22396         (save_varasm_status, restore_varasm_status): Delete declarations.
22397         (save_tree_status, restore_tree_status): Delete last argument.
22398         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
22399         code.  All callers changed.
22400         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
22401         save_constants_in_decl_trees, restore_constants, save_constants,
22402         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
22403         functions.
22404         (inlining): New variable.
22405         (reg_map, label_map, insn_map, orig_asm_operands_vector,
22406         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
22407         variables.
22408         (save_for_inline_nocopy): Don't save constants.
22409         Don't set inl_emit field in current_function.
22410         (expand_inline_function): Use emit field, not inl_emit, of the inlined
22411         function.  Set new variable inlining before
22412         calling copy_rtx_and_substitute.
22413         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
22414         constant pool references if inlining is nonzero.
22415         Delete ADDRESS and (most of the) CONST cases.
22416         (output_inline_function): Save and restore current_function/
22417         current_function_decl.  Delete restore_constants code.  Don't call
22418         init_const_rtx_hash_table.
22419         * output.h (init_const_rtx_hash_table): Don't declare.
22420         * rtl.h (struct function): Declare.
22421         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
22422         * toplev.c (rest_of_compilation): Don't treat nested functions or
22423         functions containing them specially.  Delete all code to deal with
22424         save_for_inline_copying.
22425         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
22426         inline_obstacks): Delete variables.
22427         (save_tree_status): Lose arg CONTEXT.  All callers changed.
22428         Simply allocate a new function_maybepermanent_obstack for the new
22429         function, delete all the special cases.
22430         Don't save inline_obstacks.
22431         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
22432         Delete special handling for function_maybepermanent_obstack; simply
22433         free it if empty.
22434         Don't restore inline_obstacks.
22435         (permanent_allocation):  Delete code that frees inline_obstacks.
22436         (print_inline_obstack_statistics): Delete function.
22437         (dump_tree_statistics): Don't call it.
22438         * varasm.c (struct varasm_status): New.
22439         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
22440         last_pool, pool_offset, const_double_chain): Delete global
22441         variables, replace with accessor macros.
22442         (immed_double_const): Don't walk const_double_chain outside a
22443         function, but don't treat nested functions specially anymore.
22444         (immed_real_const_1): Likewise.
22445         (clear_const_double_mem): Don't treat nested functions specially.
22446         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
22447         (save_varasm_status, restore_varasm_status): Delete functions.
22448         (init_varasm_status): New function.
22449         (force_const_mem): Don't treat nested functions specially.
22450         (find_pool_constant): Accept new arg F, search for constants in
22451         that function's pool rather than the current one.  All callers
22452         changed.
22453         (get_pool_constant_for_function, get_pool_mode_for_function): New
22454         functions.
22455
22456         * i386.c (init_386_machine_status): New function, mostly from
22457         clear_386_stack_locals.
22458         (struct machine_functions): Rename element names to avoid name
22459         clashes.
22460         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
22461         macros, replacing global variables.
22462         (clear_386_stack_locals, save_386_machine_status,
22463         restore_386_machine_status): Delete functions.
22464         (override_options): Initialize init_machine_status.
22465         * i386.h (INIT_EXPANDERS): Delete macro.
22466         (save_386_machine_status, restore_386_machine_status,
22467         clear_386_stack_locals): Delete declarations.
22468
22469 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22470
22471         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
22472         (doloop_begin):  Simplify pattern and use emit_jump_insn.
22473         (doloop_end): Simplify pattern, switch operand order,
22474         and use emit_jump_insn.
22475
22476 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22477
22478         * function.h (struct function): Add new element LANGUAGE.
22479         (save_lang_status): Declare new variable.
22480         (restore_lang_status): Likewise.
22481         * function.c (save_lang_status): Define.
22482         (restore_lang_status): Likewise.
22483         (push_function_context_to): Call language-specific save function.
22484         (pop_function_context_from): Call language-specific restore function.
22485
22486 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
22487
22488         * i386.md (movsf_1): Check REG_P before use of REGNO.
22489         (movdf_1): Likewise.
22490         (movxf_1): Likewise.
22491         (extendsfdf2): Likewise.
22492         (extendsfxf2): Likewise.
22493         (extenddfxf2): Likewise.
22494
22495 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22496
22497         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
22498         constants into memory.
22499         (c4x_shiftable_constant): New function.
22500         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
22501         (c4x_shiftable_constant): Declare.
22502         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
22503         ashlqi3_noclobber): Add new patterns and associated splitters.
22504
22505 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
22506
22507         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
22508         * dwarf2out.c (dwarf2out_frame_init): Likewise.
22509         * final.c (shorten_branches): Likewise.
22510         * global.c (global_alloc): Likewise.
22511         * haifa-sched.c (build_control_flow): Likewise.
22512         * stmt.c (check_for_full_enumeration_handling): Likewise.
22513         (estimate_case_costs): Likewise.
22514
22515 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
22516
22517         * rtl.h (RTL_CHECKC2): Fix typo in last change.
22518
22519 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
22520
22521         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
22522         (recompute_reg_usage): Likewise.
22523         * rtlanal.c (find_regno_fusage): Likewise.
22524
22525         * rtl.c (rtl_check_failed_code1): New function.
22526         (rtl_check_failed_code2): New.
22527         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
22528         (RTL_CHECKC1, RTL_CHECKC2): New.
22529         (XC*): New accessor macros.
22530         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
22531         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
22532         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
22533         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
22534         (TRAP_*, RANGE_INFO_*): Likewise.
22535
22536 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22537
22538         * Makefile.in (tlink.o): Don't depend on toplev.h.
22539
22540         * collect2.c (c_file, o_file, export_file, import_file, ldout,
22541         output_file, nm_file_name, ldd_file_name, strip_file_name,
22542         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
22543         add_prefix, prefix_from_env, prefix_from_string, do_wait,
22544         fork_execute, maybe_unlink, add_to_list,
22545         extract_init_priority, write_list, dump_list,
22546         dump_prefix_list, write_list_with_asm, write_c_file,
22547         write_c_file_stat, write_c_file_glob, scan_prog_file,
22548         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
22549         ignore_library, extract_string, notice, dump_file, target_machine,
22550         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
22551         read_file, print_load_command): Constify a char*.
22552         (fdopen, error, fatal, fatal_perror): Don't prototype.
22553         (my_strerror): Remove.  All callers use xstrerror instead.
22554         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
22555         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
22556         to xcalloc/strcpy/strcat/...  to one call to concat.
22557         (main, scan_prog_file, scan_libraries): Use an intermediate
22558         `const char **' to build an argv array.
22559         (mapfile, libselect, libcompare, locatelib): Add prototypes.
22560
22561         * collect2.h (collect_execute, collect_wait, dump_file,
22562         file_exists): Constify a char*.
22563         (ldout, c_file_name, temporary_obstack, permanent_obstack,
22564         temporary_firstobj, vflag, debug): Add extern declarations.
22565         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
22566
22567         * tlink.c: Don't include toplev.h.
22568         (vflag, debug, ldout, c_file_name, temporary_obstack,
22569         permanent_obstack, temporary_firstobj): Don't declare.
22570         (tlink_execute, frob_extension, symbol_hash_lookup,
22571         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
22572         recompile_files, read_repo_files, demangle_new_symbols,
22573         scan_linker_output): Constify a char*.
22574         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
22575         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
22576
22577 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
22578
22579         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
22580         (relative) rather than jsr (absolute) subroutine call insns.
22581         * config/m68k/m68k-coff.h: Ditto.
22582
22583 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
22584
22585         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
22586         now rework these too.
22587         (arm_reorg): If an insn can't reach the end of the current pool,
22588         ensure that we emit that pool before the insn.
22589
22590 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
22591
22592         * tlink.c (scan_linker_output): Skip the initial underscore in
22593         a mangled name if appropriate.
22594
22595 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22596
22597         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
22598         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
22599         error_with_ivar, gen_declarator, create_builtin_decl,
22600         my_build_string, generate_descriptor_table, generate_ivars_list,
22601         generate_dispatch_table, check_protocols, TAG_GETCLASS,
22602         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
22603         dump_base_name, lang_decode_option, build_encode_expr,
22604         start_class, finish_class, encode_pointer, really_start_method,
22605         gen_declaration, dump_interface, handle_class_ref, handle_impent):
22606         Constify.
22607         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
22608         Add static prototypes.
22609         (build_objc_string_decl, build_selector_reference_decl,
22610         encode_bitfield, build_class_reference_decl): Remove unused
22611         parameter, all callers changed.
22612         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
22613         (objc_printable_name): Likewise.  Change second parameter to type int.
22614         (init_objc): Use memcpy, not bcopy, to avoid casts.
22615
22616 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
22617
22618         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
22619         reg notes on a deleted insn.
22620         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
22621
22622 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
22623
22624         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
22625
22626 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22627
22628         * stmt.c (expand_asm_operands): Fix index into inout_mode when
22629         reading it.
22630
22631 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
22632
22633         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
22634         * tm.texi (MD_ASM_CLOBBERS): Document it.
22635
22636 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
22637
22638         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
22639         * except.c (expand_rethrow): Remove unused variable.
22640         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
22641         * flow.c (replace_insns): Likewise.
22642         (create_edge_list, verify_edge_list): Likewise.
22643         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
22644
22645         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
22646         is special code to run.
22647         (main): Don't define operands to emit_operand.
22648         * genrecog.c (main): Don't emit an empty peephole2_insn function.
22649
22650         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
22651
22652         * alpha/alpha.h (normal_memory_operand): Declare.
22653         (reg_no_subreg_operand): Declare.
22654         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
22655
22656 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
22657
22658         * c-parse.in (compstmt_primary_start): New, broken out of first
22659         part of compstmt handling in primary.
22660         (primary): Use it.  Add an error clause.
22661         (compstmt_nostart): Renamed from compstmt; remove all
22662         initial invocations of compstmt_start.
22663         (compstmt): New.
22664
22665 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
22666
22667         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
22668         needed.
22669
22670 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
22671
22672         * combine.c (simplify_shift_const): Remove extra semicolon.
22673         * dwarf2out.c (remove_AT): Likewise.
22674         * expmed.c (expand_mult): Likewise.
22675         * gcov.c (create_program_flow_graph): Likewise.
22676         * reorg.c (mostly_true_jump): Likewise.
22677
22678 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
22679
22680         * fold-const.c (fold_range_test): Do not try to fold the range
22681         test if the rhs or lhs has side effects.
22682
22683         * combine.c (simplify_rtx): Recognize another case of a synthesized
22684         sign extension.
22685
22686         * varasm.c (mark_constant_pool): When marking indirect references,
22687         only look at SYMBOL_REFs.
22688
22689         * except.c (expand_fixup_region_end): Do not peek at
22690         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
22691
22692 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
22693
22694         * flags.h: New variables align_loops, align_loops_log,
22695         align_jumps, align_jumps_log, align_labels, align_labels_log,
22696         align_functions, align_functions_log.
22697         * toplev.c: Define them.
22698         (f_options): Handle -falign-* when they have no argument.
22699         (main): Add logic to set variables for -falign-functions,
22700         -falign-jumps, -falign-labels, -falign-loops.
22701         Make it -fsched-verbose=<n> and -finline-limit=<n>.
22702         (display_help): Change help to match options.
22703         * final.c (LABEL_ALIGN): Default to align_labels_log.
22704         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
22705         (LOOP_ALIGN): Default to align_loops_log.
22706         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
22707         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
22708         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
22709         * varasm.c (assemble_start_function): Handle align_functions.
22710
22711         * config/sparc/sparc.h: Don't declare sparc_align_*.
22712         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
22713         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
22714         sparc.c.
22715         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
22716         it's a promise.
22717         * config/sparc/sparc.c: Delete sparc_align_loops,
22718         sparc_align_jumps, sparc_align_funcs and the corresponding string
22719         variables.
22720         (sparc_override_options): Default align_functions on ultrasparc.
22721         Delete -malign-* handling.
22722
22723         * config/mips/mips.c (override_options):  On 64-bit targets,
22724         try to align code to 64-bit boundaries.
22725         (print_operand): New substitution, %~,
22726         which aligns labels to align_labels_log.
22727         * config/mips/mips.md (div_trap_normal): Use %~.
22728         (div_trap_mips16): Likewise.
22729         (abssi): Likewise.
22730         (absdi2): Likewise.
22731         (ffssi2): Likewise.
22732         (ffsdi2): Likewise.
22733         (ashldi3_internal): Likewise.
22734         (ashrdi3_internal): Likewise.
22735         (lshrdi3_internal): Likewise.
22736         (casesi_internal): Likewise.
22737
22738 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
22739
22740         Merge new ia32 backend from the branch!
22741
22742         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
22743         See ChangeLog.P2 on new_ia32_branch for details.
22744
22745         * rtl.h (stack_regs_mentioned_p): Delete prototype.
22746         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
22747         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
22748         * i386/gas.h (ASM_FILE_START): Define.
22749         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
22750         for name change of ix86_valid_decl_attribute_p.
22751         (i386_pe_valid_type_attribute_p): Similarly.
22752
22753 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
22754
22755         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
22756         to step through CC modes.
22757
22758 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22759
22760         * regmove.c (fixup_match_1): Don't move INSN in front of P if
22761         it would end up in the shadow of a live flags regsiter.
22762
22763 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22764
22765         * reload1.c: Fix many indentation problems.
22766         * reload.c: Likewise.
22767
22768 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
22769
22770         * alias.c (non_local_reference_p): Constify fmt.
22771
22772 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
22773
22774         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
22775
22776 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
22777
22778         * cse.c (delete_trivially_dead_insns): Do not delete stores to
22779         the internal_arg_pointer.
22780
22781 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
22782
22783         Merge peephole2 from new_ia32_branch:
22784         * Makefile.in (STAGESTUFF): Add *.peephole2.
22785         (mostlyclean): Likewise.
22786         (recog.o): Depend on resource.h.
22787
22788         * final.c (peephole): Conditionalize decl on HAVE_peephole.
22789         (final_scan_insn): Likewise for the invocation of peephole.
22790         * genconfig.c (main): Look for peephole and peephole2 patterns.
22791         Emit HAVE_peephole* accordingly.
22792         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
22793         * flags.h (flag_peephole2): Declare.
22794         * toplev.c: New pass peephole2.  New flag -fpeephole2.
22795
22796         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
22797         * gencodes.c (main): Likewise.
22798         * genextract.c (main): Likewise.
22799         * genoutput.c (main): Likewise.
22800         * genemit.c (max_operand_1): Look for the max scratch operand.
22801         (gen_rtx_scratch): New.
22802         (gen_exp): Use it, and pass on new arg subroutine_type.
22803         (gen_expand): Take max scratch into account.
22804         (gen_split): Emit peephole2 functions.
22805         (output_peephole2_scratch): New.
22806         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
22807         * genrecog.c (routine_type): Add PEEPHOLE2.
22808         (IS_SPLIT): New.
22809         (make_insn_sequence): Match outer parallel for peep2.  Discard
22810         top level scratches and dups.
22811         (add_to_sequence): New args insn_type and top.  Update all callers.
22812         Handle toplevel peep2 matching insns.
22813         (write_subroutine): Handle peep2.
22814         (write_tree_1): Likewise.
22815         (write_tree): Likewise.
22816         (main): Likewise.
22817         (change_state): New arg afterward.  Update all callers.
22818         Handle matching separate insns.
22819         * recog.c (recog_next_insn): New.
22820         (peephole2_optimize): New.
22821         * rtl.def (DEFINE_PEEPHOLE2): New.
22822         * resource.c (find_free_register): New argument last_insn.  Use it
22823         to find a register available through the entire span.
22824         * resource.h (find_free_register): Update prototype.
22825
22826 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
22827
22828         * i386.c (output_strlen_unroll): Don't write xops[7]
22829         label if it wasn't set.
22830
22831 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
22832
22833         * cpplib.c (struct directive): Const-ify name pointer and
22834         function pointer prototype.
22835         (validate_else, do_define, do_line, do_include, do_undef,
22836         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
22837         do_elif, do_endif, do_sccs, do_assert, do_unassert,
22838         do_warning): Const-ify second arg.
22839         (directive_table): Mark const.  Reorder entries by frequency
22840         of usage, record statistics.
22841
22842 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
22843
22844         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
22845         bounds- check RTL accesses if --enable-checking.
22846         (RTVEC_ELT): Bounds check if --enable-checking.
22847         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
22848         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
22849         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
22850         GET_NUM_ELEM.
22851         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
22852         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
22853
22854         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
22855         (NOTE_SOURCE_FILE): Use X0STR.
22856         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
22857         MEM_ALIAS_SET): Use X0INT.
22858         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
22859         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
22860         Use X0EXP.
22861         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
22862         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
22863         (rtl_check_failed_bounds, rtl_check_failed_type1,
22864         rtl_check_failed_type2, rtvec_check_failed_bounds): New
22865         functions.
22866         (fancy_abort): Fix comment.
22867
22868         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
22869         (cse_insn): Decrement LABEL_NUSES for jump target before
22870         deleting jump insn.
22871         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
22872         * final.c (alter_subreg): Compute regno before changing x to
22873         REG; set REGNO(x) after changing it.
22874         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
22875         notes containing CONST_INTs.
22876         (delete_eh_regions): Use NOTE_EH_HANDLER.
22877         * function.c (put_reg_into_stack): Make reg a MEM before
22878         initializing it.
22879         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
22880         delete insn.
22881         (gen_mem_addressof): Make reg a MEM before initializing it.
22882         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
22883         X0WINT.
22884         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
22885         deleting an insn, not after.
22886         (block_alloc): Only look at PATTERN(insn) if we have to, and
22887         only if it's format class 'i'.
22888         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
22889         CONST_INT before using its INTVAL.
22890         * print-rtl.c (print_rtx): Use X0STR.
22891         * regmove.c (fixup_match_1): Don't look at PATTERN of
22892         non-class-'i' insn chain elements.
22893         * reload.c (loc_mentioned_in_p): Take address of
22894         in->fld[1].rtx directly.
22895         * reload1.c (reload): Change reg to a MEM before initializing
22896         it.
22897         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
22898         have no names.
22899         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
22900
22901 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
22902
22903         * config/mips/mips.c (machine_dependent_reorg): Force a
22904         barrier to output the local constant pool if a barrier hasn't
22905         been found at a natural point in the instruction stream.
22906
22907 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22908
22909         * c-parse.in (language_string): Constify.
22910
22911         * dwarf2out.c (language_string): Remove declaration.
22912
22913         * dwarfout.c (language_string): Likewise.
22914
22915         * toplev.c (language_string, init_parse, finish_parse): Likewise.
22916
22917         * tree.h (language_string, init_parse, finish_parse): Declare.
22918
22919         * i386/sun386.h (language_string): Remove declaration.
22920
22921         * mips.h (language_string): Likewise.
22922
22923         * nextstep.h (language_string): Likewise.
22924
22925         * nextstep21.h (language_string): Likewise.
22926
22927         * rs6000.c (language_string): Likewise.
22928
22929 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22930
22931         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
22932         (getpwd.o): Remove target.
22933
22934         * getpwd.c: Delete file.  Its in libiberty now.
22935
22936         * dbxout.c (getpwd): Don't prototype.
22937         * dwarf2out.c (getpwd): Likewise
22938         * dwarfout.c (getpwd): Likewise
22939         * final.c (getpwd): Likewise.
22940         * protoize.c (getpwd): Likewise.
22941
22942 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22943
22944         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
22945
22946 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
22947
22948         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
22949         mark_set_resources.
22950
22951 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
22952
22953         * fixinc/Makefile.in (subdir): New.
22954         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
22955         (Makefile): New.
22956
22957 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
22958
22959         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
22960         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
22961         be shared.
22962
22963         * invoke.texi: Fix typo.
22964
22965         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
22966         changed.  Handle autoincrement addressing modes.
22967
22968         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
22969         just like we would the virtual incoming args register when
22970         integrating.
22971
22972 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
22973
22974         * rs6000.h (ASM_FILE_START): Specify complete filename, including
22975         path, in .file directive.
22976
22977 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
22978
22979         * gcc.texi (External Bugs): Remove obsolete note about Perl on
22980         SunOS.
22981
22982 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
22983
22984         * stdbool.h: Make the typedef name _Bool, with bool a #defined
22985         alias.
22986
22987 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22988
22989         * tree.c (tree_code_name): Constify a char*.
22990
22991         * tree.h (tree_code_name, decl_printable_name): Likewise.
22992
22993         * function.h (struct function): Likewise.
22994
22995         * toplev.c (decl_name, decl_printable_name): Likewise.
22996
22997         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
22998
22999         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
23000         (init_objc): Remove function pointer cast.
23001
23002 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
23003
23004         * pa.md (interspace_jump): New pattern.
23005         (builtin_longjmp): New expander.
23006
23007 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
23008
23009         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
23010         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
23011         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
23012
23013 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
23014
23015         * jump.c (delete_prior_computation): Also check calls
23016         to constant functions.  Don't bother checking for a
23017         REG_UNUSED note before adding it.
23018         (delete_computation): Handle multi-word hard registers
23019         when synthesizing missing REG_DEAD notes for a register
23020         which is both set and used by an insn.
23021
23022 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23023
23024         * loop.c (this_loop_info): New variable.
23025         (loop_has_call, loop_has_volatile, loop_has_tablejump,
23026         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
23027         All uses updated.
23028         (prescan_loop, strength_reduce): New argument loop_info.  All callers
23029         updated.
23030         (scan_loop): New variable loop_info, initialise to address of
23031         this_loop_info.
23032         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
23033         Delete variable loop_has_multiple_exit targets and replace with
23034         field in this_loop_info.
23035         (find_and_verify_loops): Rename this_loop to this_loop_num.
23036         (strength_reduce): Delete loop_iteration_info.  Replace variable
23037         loop_info with function argument of same name.
23038         (insert_bct): Rework test for loop being completely unrolled.
23039
23040         * loop.h (struct loop_info): New fields num, loops_enclosed,
23041         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
23042         has_indirect_jump, and cont.  Redefine use of unroll_number.
23043         (loop_unroll_number): Delete.
23044
23045         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
23046         field of loop_info.
23047         (loop_iterations): Delete variable vtop and instead use
23048         loop_info->vtop computed in prescan_loop.
23049
23050 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
23051
23052         * fix-header.c (main): Do not pass a null pointer to strcmp.
23053
23054 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
23055
23056         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
23057         filenames.
23058         * configure: Rebuilt.
23059
23060 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
23061
23062         * jump.c (jump_optimize_1): Do not delete assignments to
23063         internal_arg_pointer.
23064         * cse.c (delete_trivially_dead_insns): Always consider a set of
23065         the internal_arg_pointer live.
23066
23067 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
23068
23069         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
23070         (update_life_info) [REG_WAS_0]: Search the original insns rather
23071         than the new insns for the note.  Fix typos finding note_dest.
23072         If no dest found, discard the note rather than abort.
23073         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
23074         (replace_insns): Remove the old insn list after update_life_info
23075         not before.
23076
23077 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
23078
23079         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
23080         sched_analyze_insn.
23081         (sched_analyze_1): Let add_dependence care for not adding dups.
23082         (sched_analyze_2): Likewise.
23083         (add_branch_dependences): Likewise.
23084
23085 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23086
23087         * i386/winnt.c (export_list): New type.
23088         (exports_head): Rename to
23089         (export_head):  this.
23090         (i386_pe_record_exported_symbol): Add is_data flag.
23091         (i386_pe_asm_file_end): Emit directive for exported variables.
23092         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
23093         prototype.
23094         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
23095         (ASM_DECLARE_OBJECT_NAME): Likewise.
23096         (ASM_DECLARE_FUNCTION_NAME): Likewise.
23097         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
23098
23099 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
23100
23101         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
23102
23103         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
23104         operand.
23105
23106 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
23107
23108         * config/openbsd.h: Define SET_ASM_OP.
23109         * tm.texi: cross-reference SET_ASM_OP in the index.
23110
23111 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
23112
23113         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
23114         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
23115         and class_narrowest_mode at compile time.  Kill init_rtl.
23116         Mark rtx_length, mode_class, mode_size, mode_unit_size,
23117         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
23118         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
23119         EXTRA_CC_NAMES.
23120         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
23121         format.
23122         * rtl.h: Declare rtx_length and rtx_format as const.
23123         * machmode.def: Define CC().  Use CC() to define CCmode.  If
23124         EXTRA_CC_MODES is defined, expand it here.
23125         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
23126         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
23127         const.  Kill all references to EXTRA_CC_MODES.
23128
23129         * toplev.c: Don't prototype or call init_rtl.
23130         * optabs.c: Don't call init_mov_optab.
23131         * genemit.c: Don't generate init_mov_optab.  Don't call
23132         init_rtl.
23133         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
23134         here.
23135         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
23136         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
23137         genrecog.c: Don't call init_rtl.
23138
23139         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
23140         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
23141         definition of EXTRA_CC_MODES.
23142
23143         * md.texi: Kill ref to EXTRA_CC_NAMES.
23144         * tm.texi: Document new way to define EXTRA_CC_MODES.
23145
23146         * genrecog.c: Do not look up the name of a define_split.
23147         (Unrelated bugfix.)
23148
23149 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
23150
23151         * config/v850/v850.md: Fix typo introduced by previous delta.
23152
23153 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23154
23155         * gcc.c (fatal): Make definition static to match prototype.
23156
23157 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23158
23159         * combine.c (get_last_value): Don't look for earlier sets if the last
23160         known set is somewhere in between the insns being combined.
23161
23162 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
23163
23164         * configure.in: Don't use shell ! to negate exit codes
23165         * configure: Regenerate
23166
23167 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
23168
23169         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
23170         the fact that ALIGN is measured in bits, not bytes.
23171
23172 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
23173
23174         * errors.c: New file; defines functions error, warning, and
23175         fatal, variables have_error and progname.
23176         * errors.h: New file; prototypes and decls for stuff in errors.c.
23177
23178         * Makefile: Add rules to build errors.o and
23179         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
23180         genopinit, genrecog, genextract, genpeep, genattr, and
23181         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
23182         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
23183         genpeep.o, genattr.o, and genoutput.o.
23184
23185         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
23186         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
23187         define or prototype fatal.  Set progname at beginning of main.
23188         * genoutput.c:  Likewise, and don't define or prototype error
23189         either.
23190
23191         * c-typeck.c (c_expand_start_case): Return immediately if exp
23192         is an ERROR_MARK.
23193         * fold-const.c (operand_equal_p): Return immediately if arg1
23194         or arg0 are ERROR_MARKs.
23195         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
23196         fields of type ERROR_MARK when calculating if the record can
23197         go in a register.
23198
23199 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
23200         with much help from Jeffrey A Law and Richard Henderson
23201
23202         * i386.md: In the 6 insns which call output_fix_trunc,
23203         earlyclobber operands[0].
23204
23205 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
23206
23207         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
23208         creating new registers.
23209
23210 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
23211
23212         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
23213         i386_reg_alloc_order, i386_regparm_string,
23214         i386_align_loops_string, i386_align_jumps_string,
23215         i386_align_funcs_string, i386_preferred_stack_boundary_string,
23216         and i386_branch_cost_string as type "const char *".
23217         * i386.c: Define all above strings as type "const char *".
23218
23219 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
23220
23221         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
23222         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
23223
23224 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
23225
23226         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
23227         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
23228
23229 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
23230
23231         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
23232         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
23233         (dwarf2out_line, dwarf2out_finish): Likewise.
23234         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
23235
23236 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23237
23238         * tree.c (lang_unsave_expr_now) : Correct return type.
23239         * tree.h (lang_unsave_expr_now) : Same.
23240
23241 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
23242
23243         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
23244         instead of duplicating code.
23245
23246 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23247
23248         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
23249
23250 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
23251
23252         * tree.h: fancy_abort always takes three args.
23253         * resource.c: Move include of system.h before toplev.h.
23254
23255 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
23256
23257         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
23258         as SYMBOL_REFs.
23259
23260 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
23261
23262         * system.h: Don't redefine abort or trim_filename.
23263         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
23264         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
23265         whether or not __FUNCTION__ is available.
23266         * tree.h: Duplicate rtl.h's definition of abort, for files
23267         that don't include rtl.h.  Delete all code to perform type
23268         checking with a compiler other than GCC.
23269         * varray.h: Delete all code to perform type checking with a
23270         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
23271         its arguments exactly once, using a statement expression.
23272         Adjust the VARRAY_<type> accessor macros to match.
23273         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
23274         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
23275         caller's location.  Define fatal_insn and fatal_insn_not_found
23276         as macros that use _fatal_insn and _fatal_insn_not_found.
23277         (fancy_abort, trim_filename): Kill prototypes.
23278
23279         * rtl.c (trim_filename): Move here from toplev.c.
23280         (fancy_abort): New function.
23281         (DIR_SEPARATOR): Provide default definition.
23282         * tree.c (tree_check_failed, tree_class_check_failed): Go
23283         through fancy_abort.
23284         (tree_check, tree_class_check, cst_or_constructor_check,
23285         expr_check): Delete.
23286         * varray.c (varray_check_failed): New function.
23287         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
23288         _fatal_insn and _fatal_insn_not_found.  Go through
23289         fancy_abort.
23290         (trim_filename, fancy_abort): Delete.
23291
23292         * builtins.c (expand_builtin_args_info): Report ICE with abort.
23293         * except.c (start_catch_handler): Report ICE with error/abort
23294         combo.
23295         * final.c (output_operand_lossage): Likewise.
23296         * flow.c (verify_flow_info): Likewise.
23297
23298         * gcc.c: Prototype fatal.
23299         * gengenrtl.c: Undef abort after including rtl.h not system.h.
23300         * genattr.c, genattrtab.c, genemit.c, genextract.c,
23301         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
23302         Don't define fancy_abort.
23303
23304 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
23305
23306         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
23307         canonization.
23308
23309 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
23310
23311         * m88k.h (VERSION_INFO2): Kill.
23312         (VERSION_STRING): Kill.
23313         (TM_RCS_ID): Kill.
23314         (VERSION_INFO1): Tidy.
23315         (TARGET_VERSION): Update.
23316         * m88k/dgux.h (VERSION_INFO2): Kill.
23317         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
23318         * m88k/luna.h (VERSION_INFO1): Tidy.
23319         * m88k/sysv4.h (VERSION_INFO1): Likewise.
23320         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
23321         (output_file_start): Adjust for death of VERSION_STRING.
23322
23323 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
23324
23325         * cpplib.c (detect_if_not_defined): New function.
23326         (do_if): Use it to detect potential once-only headers.
23327
23328 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
23329
23330         * c-common.c (combine_strings): Always set TREE_CONSTANT.
23331
23332 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23333
23334         * combine.c (nonzero_bits) : Allow single-ly set registers to be
23335         anywere in the function only if they are pseudos and set before
23336         being used (not live at the start of the function).
23337         (num_sign_bit_copies) : Same.
23338         (get_last_value_validate) : Same.
23339         (get_last_value) : Same.
23340
23341 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
23342
23343         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
23344         where N and M are constant and N is an integer multiple of M.
23345
23346 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23347
23348         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
23349         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
23350         sbitmap_union_of_preds): Add prototypes.
23351         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
23352         the intersection of successors with the new flow graph structures.
23353         (sbitmap_intersection_of_preds): New function to compute the
23354         intersection of predecessors with the new flow graph structures.
23355         (sbitmap_union_of_succs): New function to compute the union of
23356         successors with the new flow graph structures.
23357         (sbitmap_union_of_preds): New function to compute the union of
23358         predecessors with the new flow graph structures.
23359         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
23360         (expr_reaches_here_p): Use edge and basic_block structures instead
23361         of s_preds and s_succs.
23362         (compute_cprop_avinout): Use new sbitmap routines.
23363         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
23364         of s_preds and s_succs.
23365         * flow.c (compute_flow_dominators): Compute dominators using
23366         edges and basic blocks instead of s_preds and s_succs.
23367
23368 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23369
23370         * lists.c (unused_insn_list, unused_expr_list): New file for
23371         maintaining various types of lists. New statics for maintaining a
23372         cache of available INSN_LIST and EXPR_LIST nodes.
23373         (free_list): Static function for freeing a list of INSN/EXPR nodes.
23374         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
23375         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
23376         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
23377         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
23378         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
23379         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
23380         (free_INSN_LIST_node): Free an individual INSN_LIST node.
23381         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
23382         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
23383         (remove_dependence, free_pending_lists): Use new global routines.
23384         (flush_pending_lists, sched_analyze_insn): Use new global routines.
23385         (sched_analyze, compute_block_backward_dependences): Use new routines.
23386         (sched_analyze_1, sched_analyze_2): Use new routines.
23387         (schedule_insns): Use new global routines.
23388         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
23389         prototypes.
23390         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
23391         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
23392         prototypes.
23393         * toplev.c (rest_of_compilation): Initialize node cache.
23394         * Makefile.in (OBJS): Add lists.o to list of object files.
23395         (lists.o): Add dependancies.
23396
23397 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
23398
23399         * config/v850/v850.md: Fix compile time warning messages.
23400         * config/v850/v850.c: Fix compile time warning messages.
23401         * config/v850/v850.h: Fix compile time warning messages.
23402
23403 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23404
23405         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
23406         Remove unused prototype for `init_lengths'.
23407
23408 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23409
23410         * calls.c (emit_call_1): Mark parameter `stack_size' with
23411         ATTRIBUTE_UNUSED.
23412         (expand_call): Initialize variable `insn'.
23413         (emit_library_call): Likewise for variable `high_to_save'.
23414         (emit_library_call_value): Likewise.
23415         (store_one_arg): Likewise for variables `lower_bound' and
23416         `upper_bound'.
23417
23418         * combine.c (try_combine): Likewise for variables `i2_code_number'
23419         and `other_code_number'.
23420         (find_split_point): Likewise for variables `pos', `unsignedp' and
23421         `inner'.
23422         (simplify_if_then_else): Likewise for variables `op' and `c1'.
23423         (simplify_and_const_int): Remove unused variable `width'.
23424         (merge_outer_ops): Likewise.
23425
23426         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
23427         HOST_WIDE_INT' when comparing against one.
23428         (simplify_relational_operation): Likewise.
23429         (cse_insn): Initialize variables `src_eqv_volatile',
23430         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
23431
23432         * final.c (init_final): Constify parameter `filename'.
23433         (final_start_function): Mark parameter `optimize' with
23434         ATTRIBUTE_UNUSED.
23435         (profile_function): Likewise for parameters `first' and `optimize'.
23436         (output_source_line): Likewise for parameter `file'.
23437
23438         * integrate.c (subst_constants): Cast a value to `size_t' when
23439         comparing against one.
23440         (mark_stores): Initialize variable `mode'.  Cast a value to
23441         `size_t' when comparing against one.
23442
23443         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
23444
23445         * loop.c (move_movables): Initialize variable `first'.
23446         (strength_reduce): Likewise for variable `increment'.
23447         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
23448         value to `size_t' when comparing against one.
23449         (load_mems): Initialize variable `end_label'.
23450
23451         * output.h (init_final): Constify parameter.
23452
23453         * reload.c (decompose): Initialize variable `base'.
23454
23455         * reload1.c (reload): Likewise for variable `is_scalar'.
23456         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
23457         (choose_reload_regs): Initialize variable `mode'.
23458         (emit_reload_insns): Likewise for variable `store_insn'.
23459         (reload_cse_noop_set_p): Mark parameter `insn' with
23460         ATTRIBUTE_UNUSED.
23461         (reload_combine): Initialize variable `set'.
23462
23463         * unroll.c (unroll_loop): Likewise for variable `local_label'.
23464         (copy_loop_body): Cast a value to `size_t' when comparing against
23465         one.
23466
23467         * varasm.c (assemble_variable): Initialize variable `size_tree'.
23468         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
23469         (remove_from_pending_weak_list): Mark parameter `name' with
23470         ATTRIBUTE_UNUSED.
23471
23472 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23473
23474         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
23475         gcse dump file.
23476
23477 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
23478
23479         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
23480         (ASM_DECLARE_FUNCTION_NAME): Define.
23481         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
23482         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
23483         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
23484         not already defined.
23485
23486 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
23487
23488         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
23489         of n_popped when call/call_value are not defined.
23490
23491 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
23492
23493         * tm.texi: GNU CC -> GCC conversion.
23494         (CC1_SPEC): Indicate it is used for all language front ends.
23495
23496 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
23497
23498         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
23499         NOTE_INSN_EH_REGION_END correctly.
23500
23501 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23502                           Jeff Law <law@cygnus.com>
23503
23504         * loop.c (strength_reduce): Automatically unroll loops if the
23505         unrolled loop size is smaller than the rolled loop size.
23506
23507         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
23508         and delete comment that code should be rewritten.
23509
23510 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
23511
23512         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
23513         as reachable.
23514
23515         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
23516
23517 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23518
23519         * fixinc/mkfixinc.sh: Don't fix uwin headers.
23520         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
23521         (LINK_SPEC): Add -u _main when building executables.
23522         (ASM_DECLARE_FUNCTION): Update from Cygwin.
23523         (ASM_FILE_END): Use the default for ix86-pe.
23524         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
23525
23526 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
23527
23528         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
23529         and ASM_CLOSE_PAREN are empty strings.
23530
23531 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
23532                           Geoffrey Keating <geoffk@cygnus.com>
23533
23534         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
23535         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
23536         (unprotoize.o): Ditto.
23537         (test-protoize-simple): Don't define STD_PROTO_DIR.
23538         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
23539         changes to make 'test-protoize-simple' pass.
23540         (STD_PROTO_DIR): Remove define.
23541         (STANDARD_EXEC_PREFIX): Supply default define.
23542         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
23543         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
23544         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
23545         (GET_ENV_PATH_LIST): New macro.
23546         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
23547         (do_processing): Initialize default_syscalls_dir using new
23548         macros.  Use it to initialize syscalls_absolute_filename.
23549
23550 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
23551
23552         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
23553         B into a register before emit_conditional_move.
23554
23555 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
23556
23557         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
23558         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
23559         multiplicand out of (+ (* a b) (* c d)).
23560
23561 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
23562                           Richard Henderson  <rth@cygnus.com>
23563
23564         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
23565         (new_insn_dead_notes): Likewise.
23566         (update_n_sets): Likewise.
23567         (update_flow_info): Move to flow.c, renamed to update_life_info;
23568         extend to handle multiple source insns.
23569         * flow.c: Include resource.h
23570         (unlink_insn_chain): New.
23571         (split_hard_reg_notes): New.
23572         (maybe_add_dead_note): New.
23573         (maybe_add_dead_note_use): New.
23574         (find_insn_with_note): New.
23575         (new_insn_dead_notes): New.
23576         (update_n_sets): New.
23577         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
23578         (maybe_remove_dead_notes): New.
23579         (update_life_info): New.
23580         (prepend_reg_notes): New.
23581         (replace_insns): New.
23582         * output.h (update_life_info): Declare.
23583         * recog.c (split_block_insns): Use update_life_info.
23584         * resource.c (find_free_register): Use reg_alloc_order, don't use
23585         fixed regs, make sure the mode is supported, don't use new regs.
23586         (reg_dead_p): New.
23587         * rtl.h (replace_insns): Declare.
23588
23589 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
23590
23591         * expr.c (expand_expr): Cope with COND_EXPRs with one
23592         non-returning branch.
23593
23594 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
23595
23596         * expr.c (store_expr): Always pass down the target, even when not
23597         doing CSE.
23598
23599 1999-08-24  Nick Clifton  <nickc@cygnus.com>
23600
23601         * configure.in: Define target_cpu_default for v850 targets.
23602         * configure: Regenerate
23603
23604         * config/v850/v850.h (TARGET_CPU_generic): Define.
23605         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
23606         addresses are 4 byte aligned.
23607
23608         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
23609         addresses.
23610
23611 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23612
23613         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
23614         (main): Add prototypes.
23615
23616         * genattrtab.c (substitute_address, write_const_num_delay_slots,
23617         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
23618         (write_attr_get): Emit prototypes along with function definition.
23619         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
23620         (write_complex_function): Emit static prototype along with
23621         function definition.
23622
23623         * genemit.c (gen_split): Emit prototypes along with function
23624         definition.
23625
23626         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
23627         Likewise for predicates and `insn_operand_predicate'.
23628         (process_template): Emit static prototype along with function
23629         definition.
23630
23631         * genrecog.c (make_insn_sequence): Constify a char*.  Add
23632         prototypes for get_split_*().
23633         (write_subroutine): Emit prototypes along with function
23634         definition.
23635
23636 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23637
23638         * gcse.c (find_avail_set): Follow chains of register-register copies.
23639         Use oprs_not_set_p to guarantee that the returned value can be
23640         substituted.
23641         (cprop_insn): Don't verify the return value of find_avail_set with
23642         oprs_not_set_p.
23643
23644         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
23645         (cprop_cc0_jump): New function.
23646         (cprop_insn): Break out new function cprop_jump and use it.
23647         Also use cprop_cc0_jump for machines with CC0.
23648         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
23649
23650         * tree.h (current_function_calls_setjmp,
23651         current_function_calls_longjmp): Delete declarations.
23652         * dsp16xx.c: Include "function.h".
23653         * elxsi.c: Likewise.
23654         * gmicro.c: Likewise.
23655         * h8300.c: Likewise.
23656         * i370.c: Likewise.
23657         * m32r.c: Likewise.
23658         * mn10200.c: Likewise.
23659         * mn10300.c: Likewise.
23660         * ns32k.c: Likewise.
23661         * spur.c: Likewise.
23662         * v850.c: Likewise.
23663
23664         * rtl.h (rtx_equal_function_value_matters): Declare.
23665         * toplev.c (rtx_equal_function_value_matters): Don't declare.
23666         * cse.c: Likewise.
23667         * function.c: Likewise.
23668         * emit-rtl.c: Likewise.
23669
23670 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
23671
23672         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
23673         call.
23674
23675 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
23676
23677         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
23678         exactly.
23679
23680 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
23681
23682         * cpp.texi: Add a node documenting macro varargs (copied
23683         from extend.texi).
23684
23685 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
23686
23687         * cppspec.c: Put a null pointer at the end of the new argv.
23688
23689 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
23690
23691         * configure.in: Remove code to select/de-select the haifa
23692         scheduler.  Every scheduled port gets haifa now.
23693         * configure: Rebuilt.
23694         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
23695         * sched.c Deleted.
23696         * Makefile.in: Corresponding changes.
23697
23698 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23699
23700         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
23701         All callers changed.
23702         (prepare_float_lib_cmp): Likewise.
23703         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
23704         * expr.h (emit_float_lib_cmp): Delete declaration.
23705         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
23706         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
23707         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
23708         specially.
23709         (cmptf): Now conditional on TARGET_HARD_QUAD.
23710
23711 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
23712
23713         * resource.c (mark_target_live_regs): Use
23714         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
23715
23716 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23717
23718         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
23719
23720         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
23721
23722         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
23723
23724 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23725
23726         * rtl.h (rtx_format): Constify a char*.
23727
23728         * rtl.c (rtx_format): Likewise.
23729         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
23730         (init_rtl): Use accessor macro, not `rtx_format'.
23731
23732         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
23733         char*.
23734
23735         * caller-save.c (mark_referenced_regs): Likewise.
23736
23737         * combine.c (subst, make_compound_operation, known_cond,
23738         gen_rtx_combine, update_table_tick, get_last_value_validate,
23739         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
23740
23741         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
23742         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
23743         count_reg_usage): Likewise.
23744
23745         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
23746         Likewise.
23747
23748         * final.c (leaf_renumber_regs_insn): Likewise.
23749
23750         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
23751         dump_edge_info, count_reg_references): Likewise.
23752
23753         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
23754         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
23755         Likewise.
23756
23757         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
23758         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
23759         add_label_notes): Likewise.
23760
23761         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
23762         clear_struct_flag, count_sub_rtxs, count_alternatives,
23763         compares_alternatives_p, contained_in_p, walk_attr_value,
23764         write_expr_attr_cache): Likewise.
23765
23766         * genconfig.c (walk_insn_part): Likewise.
23767
23768         * genemit.c (max_operand_1, gen_exp): Likewise.
23769
23770         * genextract.c (walk_rtx): Likewise.
23771
23772         * genflags.c (num_operands): Likewise.
23773
23774         * genoutput.c (scan_operands): Likewise.
23775
23776         * genpeep.c (match_rtx): Likewise.
23777
23778         * genrecog.c (add_to_sequence): Likewise.
23779
23780         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
23781         Likewise.
23782
23783         * integrate.c (save_constants, copy_for_inline,
23784         copy_rtx_and_substitute, subst_constants, restore_constants):
23785         Likewise.
23786
23787         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
23788         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
23789
23790         * local-alloc.c (contains_replace_regs, memref_referenced_p):
23791         Likewise.
23792
23793         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
23794         add_label_notes, replace_call_address, count_nonfixed_reads,
23795         invariant_p, find_single_use_in_loop, find_mem_givs,
23796         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
23797         Likewise.
23798
23799         * print-rtl.c (reg_names, print_rtx): Likewise.
23800
23801         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
23802
23803         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
23804         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
23805         print_blocks): Likewise.
23806
23807         * regclass.c (fix_register, record_address_regs,
23808         reg_scan_mark_refs): Likewise.
23809
23810         * regmove.c (stable_but_for_p): Likewise.
23811
23812         * reload.c (loc_mentioned_in_p, operands_match_p,
23813         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
23814         copy_replacements, refers_to_regno_for_reload_p,
23815         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
23816         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
23817         Likewise.
23818
23819         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
23820         delete_address_reloads_1, count_occurrences,
23821         reload_cse_mem_conflict_p, reload_combine_note_use,
23822         add_auto_inc_notes): Likewise.
23823
23824         * resource.c (mark_referenced_resources, mark_set_resources):
23825         Likewise.
23826
23827         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
23828         reg_mentioned_p, regs_set_between_p, modified_between_p,
23829         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
23830         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
23831         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
23832         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
23833
23834         * sched.c (sched_analyze_2, attach_deaths): Likewise.
23835
23836         * stupid.c (stupid_mark_refs): Likewise.
23837
23838         * unroll.c (remap_split_bivs): Likewise.
23839
23840         * varasm.c (mark_constants): Likewise.
23841
23842         * a29k/a29k.c (uses_local_reg_p): Likewise.
23843
23844         * alpha/alpha.c (summarize_insn): Likewise.
23845
23846         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
23847         eliminate_lr2ip): Likewise.
23848
23849         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
23850
23851         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
23852         reg_mentioned_in_mem): Likewise.
23853
23854         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
23855         symbolic_reference_mentioned_p): Likewise.
23856
23857         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
23858
23859         * sh/sh.c (regs_used, mark_use): Likewise.
23860
23861         * vax/vax.c (vax_rtx_cost): Likewise.
23862
23863 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23864
23865         * machmode.h (mode_name): Constify a char*.
23866
23867         * rtl.c (mode_name): Likewise.
23868
23869         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
23870
23871         * optabs.c (init_libfuncs): Constify a char*.
23872
23873         * print-tree.c (mode_name): Remove redundant declaration.
23874         (print_node): Use accessor macro, not `mode_name'.
23875
23876         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
23877         not `mode_name'.
23878         (new_spill_reg): Constify a char*.
23879
23880         * tree.c (mode_name): Remove redundant declaration.
23881
23882 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23883
23884         * rtl.c (rtx_name): Constify a char*.
23885
23886         * rtl.h (rtx_name, fix_sched_param): Likewise.
23887
23888         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
23889         (mypr): Use accessor macro, not `rtx_name'.
23890
23891         * genemit.c (print_code): Constify a char*.
23892
23893         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
23894
23895         * genpeep.c (print_code): Constify a char*.
23896
23897         * genrecog.c (print_code): Likewise.
23898
23899         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
23900         end_bb): Add static prototype.
23901         (draw_edge): Constify a char*.
23902         (end_bb): Remove unused parameter.
23903
23904         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
23905         print_block_visualization): Constify a char*.
23906
23907 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
23908
23909         * c-common.c (c_get_alias_set): Update comment.
23910
23911 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
23912
23913         * linux.h (LIB_SPEC): Added.
23914
23915 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23916
23917         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
23918
23919 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
23920
23921         * tree.c (expr_check): Fix typo in last change.
23922
23923 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
23924
23925         * rtl.def (NOTE): Change format to "iuu0n".
23926         (ADDR_DIFF_VEC): Change format to "eEee0".
23927         (ADDRESSOF): Change format to "eit".
23928
23929         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
23930         (RTVEC_ELT): Change to match.
23931         (XVECEXP): Use XVEC and RTVEC_ELT.
23932         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
23933         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
23934         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
23935         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
23936         TRAP_CONDITION, TRAP_CODE): Use XEXP.
23937         (INTVAL): Use XWINT.
23938         (ADDRESSOF_DECL): Use XTREE.
23939         (SET_ADDRESSOF_DECL): Delete.
23940         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
23941         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
23942         ifdefed out since 2.6 at least.
23943         (gen_rtvec_vv): Delete prototype.
23944
23945         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
23946         not rtunion.
23947         (copy_most_rtx): Handle 't' format letter.
23948         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
23949         (gen_rtvec_vv): Delete function.  All callers changed to use
23950         gen_rtvec_v instead.
23951         * print-rtl.c (print_rtx): Move special casing of NOTEs to
23952         the '0' format letter.
23953
23954         * function.c (gen_mem_addressof): Don't use
23955         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
23956         instead.
23957         * integrate.c (copy_rtx_and_substitute): Likewise.
23958         Copy 't' slots with XTREE.
23959         (subst_constants): Treat 't' slots like '[swi]' slots.
23960         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
23961         * jump.c (rtx_equal_for_thread_p): Likewise.
23962         * rtlanal.c (rtx_equal_p): Likewise.
23963         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
23964         only four arguments.
23965         * gengenrtl.c (type_from_format): Provide correct types for
23966         'b' and 't' slots.
23967
23968
23969         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
23970         If a recent gcc is in use (always in stage2 and beyond), use
23971         statement expressions, so we don't make a function call unless
23972         the check fails.  Evaluate arguments exactly once.
23973         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
23974         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
23975         Delete.
23976         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
23977         they evaluate their arguments exactly once, irrespective of
23978         the compiler in use.
23979
23980         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
23981         is used by the currently-enabled check macros.  This is:
23982         (tree_check_failed, tree_class_check_failed): For gcc.
23983         (tree_check, tree_class_check, cst_or_constructor_check,
23984         expr_check): For other compilers.
23985
23986         * gencheck.c: Do not define any *_CHECK1 macros.
23987
23988 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
23989                           Mark Mitchell <mark@codesourcery.com>
23990
23991         * c-common.c (c_get_alias_set): Fix support for poitners and
23992         references.
23993
23994 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
23995
23996         * alias.c: Include tree.h.
23997         (nonlocal_reference_p, mark_constant_function): New functions.
23998         * flow.c (life_analysis): Call mark_constant_function.
23999         * rtl.h (mark_constant_function): Declare it.
24000
24001 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
24002
24003         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
24004         unrecognisable switches.
24005
24006 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24007
24008         * loop.c (recombine_givs): Set ix field after sorting.
24009         (recombine_givs): Remove bogus index / giv lockstep looping.
24010
24011 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24012
24013         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
24014         on CODE.
24015         (emit_store_flag_force): Use do_compare_rtx_and_jump.
24016         (do_cmp_and_jump): Formatting fixes.
24017         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
24018         do_compare_rtx_and_jump instead of compare_from_rtx.
24019         (do_compare_rtx_and_jump): New function; mostly copied from
24020         compare_from_rtx.
24021         (do_jump_for_compare): Delete.
24022         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
24023         MIN_EXPR.
24024         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
24025         of compare/do_jump_for_compare pairs.
24026         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
24027         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
24028         compare_from_rtx/do_jump_for_compare pairs.
24029         (do_jump_by_parts_equality): Likewise.
24030         (do_jump_by_parts_equality_rtx): Likewise.
24031         * expr.h (do_compare_rtx_and_jump): Declare.
24032         * optabs.c (prepare_cmp_insn): New function, contains most of the code
24033         that used to be in emit_cmp_insn.
24034         (cmp_available_p): New function.
24035         (prepare_operand): New function.
24036         (emit_cmp_and_jump_insn_1): New function, contains some code that used
24037         to be in emit_cmp_insn.
24038         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
24039         parameters to be pointers; don't emit final compare but modify some of
24040         the values pointed to by the args so the caller can perform the
24041         correct comparison.
24042         (expand_binop): Call emit_store_flag_force with signed forms of
24043         comparison code.
24044         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
24045         emit_jump_insn pair.
24046         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
24047         emit_cmp_and_jump_insn_1.  Call emit_queue.
24048         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
24049         arg.
24050         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
24051         jump sets cc0 before deleting it.
24052         * integrate.c (expand_inline_function): Likewise.
24053         * unroll.c (unroll_loop): Similar changes in several places.
24054         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
24055         before deleting it.
24056
24057 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24058
24059         * Makefile.in (insn-recog.o): Update dependencies.
24060         * genrecog.c (main): Make generated file include "function.h".
24061
24062 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
24063
24064         * cse.c (cse_insn): Call never_reached_warning when a jump is
24065         changed to be unconditional.
24066         * flags.h: Declare warn_notreached.
24067         * flow.c (delete_block): Call never_reached_warning when
24068         a block is deleted.
24069         * jump.c (delete_barrier_successors): Call never_reached_warning
24070         when we delete everything after a BARRIER.
24071         (never_reached_warning): New function.
24072         * rtl.h: Declare never_reached_warning.
24073         * toplev.c (warn_notreached): New variable.
24074         (lang_independent_options): Set warn_notreached
24075         when -Wunreachable-code.
24076         (compile_file): We need line numbers for -Wunreachable-code.
24077
24078 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
24079
24080         * haifa-sched.c (insn_unit): Fix typo on out of range test.
24081         * sched.c (insn_unit): Likewise.
24082
24083 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
24084
24085         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
24086
24087 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24088
24089         * flow.c (create_edge_list): Use xmalloc, not malloc.
24090
24091 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
24092
24093         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
24094         C-style comments.  Do not lose the character before double slash.
24095
24096 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24097
24098         * basic-block.h (struct edge_list): Stucture to maintain a vector
24099         of edges.
24100         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
24101          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
24102         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
24103         New function prototypes.
24104         * flow.c (create_edge_list): Function to create an edge list.
24105         (free_edge_list): Discards memory used by an edge list.
24106         (print_edge_list): Debug output showing an edge list.
24107         (verify_edge_list): Internal consistency check for an edge list.
24108         (find_edge_index): Function to find an edge index for a pred and succ.
24109
24110 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
24111
24112         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
24113         hashtable.
24114
24115 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
24116
24117         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
24118
24119 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
24120
24121         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24122
24123 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
24124
24125         * toplev.c (rest_of_compilation): Allow machine dependent
24126         reorganisation pass to place information into the RTL dump
24127         file if it so wishes.
24128
24129 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
24130
24131         * explow.c (hard_function_value): Use VOIDmode instead of
24132         MAX_MACHINE_MODE.
24133         * stmt.c (expand_return): Likewise.
24134         * stor-layout.c (get_best_mode): Likewise.
24135
24136         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
24137         emit call instead of emit_insn call.
24138
24139 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24140
24141         * configure.in: Handle --disable/enable-win32-registry.
24142         * install.texi: Document --disable/enable-win32-registry.
24143         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
24144         (WIN32_REGISTRY_KEY): New macro.
24145         * prefix.c: Use to enable/disable win32-specific code.
24146         (lookup_key): Use versioned key.
24147         * configure: Regenerate.
24148         * config.in: Likewise.
24149
24150 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
24151
24152         * cpplib.c (read_line_number): New fn, split out of...
24153         (do_line): Here.
24154
24155 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24156
24157         tree.c (lang_unsave_expr_now) : New.
24158         (unsave_expr_now): Call lang_unsave_expr_now.
24159         tree.h (lang_unsave_expr_now) : New.
24160
24161 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
24162
24163         * toplev.c (flag_new_exceptions): On by default.
24164
24165 1999-08-13  Michael Meissner  <meissner@cygnus.com>
24166
24167         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
24168
24169 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
24170
24171         * dwarfout.c (fundamental_type_code): Return FT_boolean for
24172         INTEGER_TYPE with precision==1, it's __java_boolean.
24173
24174 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24175
24176         * global.c (prune_preferences): Move some invariants out of the
24177         inner loop.
24178
24179 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
24180
24181         * configure.in (alpha*-dec-osf*): Add osf5.
24182
24183 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
24184
24185         * configure.in: Rework handling of ARM GNU/Linux slightly.
24186         (arm*-*-linux-gnuoldld): New target.
24187         * configure: Regenerate.
24188         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
24189         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
24190         * config/arm/linux-oldld.h: New file.
24191         * config/arm/linux-elf26.h: Don't include linux-elf.h.
24192         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
24193         Don't define.
24194         * config/arm/linux-elf.h (ASM_SPEC): Define.
24195         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
24196         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
24197         for 26-bit APCS and old linker.
24198         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
24199         `arm_elf'.
24200         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
24201         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
24202         don't define `arm' or `arm_elf'.
24203         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
24204         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
24205
24206 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
24207
24208         * rtl.texi: Fix typo.
24209
24210 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
24211
24212         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
24213
24214 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
24215
24216         * extend.texi (C++ Signatures): Remove node.
24217         * invoke.texi: Remove discussion of -fhandle-signatures,
24218         signature, sigof, __signature__, and __sigof__.
24219
24220 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
24221
24222         * Makefile.in (JAVAGC): Removed.
24223
24224 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24225
24226         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24227
24228 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
24229
24230         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24231
24232 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
24233
24234         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
24235         a register that is already known to be a pointer.
24236
24237 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
24238
24239         * fixinc/inclhack.tpl: Only install assert.h conditionally.
24240         * fixinc/inclhack.sh: Regenerated.
24241         * fixinc/fixincl.sh: Regenerated.
24242
24243 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
24244
24245         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
24246         Fix documentation of -ansi flag to describe its C++ behavior.
24247         Remove bogus reference to GCC 2.9.
24248
24249 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
24250
24251         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
24252         note if it is non-NULL.
24253
24254 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24255
24256         * except.h (eh_nesting_info): Add new structure defintion.
24257         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
24258         (reachable_handlers, update_rethrow_references): Add function
24259         prototypes.
24260         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
24261         a rethrow symbol instead of an integer exception region number.
24262         * flow.c (Make_edges): Use new exception nesting routines to determine
24263         which handlers are reachable from a CALL or asynchronous insn.
24264         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
24265         goto receivers.
24266         (delete_eh_regions): Update rethrow labels, and don't delete
24267         regions which are the target of a rethrow.
24268         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
24269         avoid overloading the SYMBOL_REF_USED flag.
24270         (rethrow_symbol_map): Use new rethrow_ref field.
24271         (rethrow_used): Use new rethrow_ref field.
24272         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
24273         of an integer.  Fix formatting.
24274         (output_exception_table_entry): Use new rethrow_ref field.
24275         (can_throw): Check for EH_REGION_NOTE before deciding
24276         whether a CALL can throw or not.
24277         (scan_region): Call rethrow_used() instead of accessing data structure.
24278         (update_rethrow_references): New function to make sure only regions
24279         which are still targets of a rethrow are flagged as such.
24280         (process_nestinfo): New static function to initialize a handler
24281         list for a specific region.
24282         (init_eh_nesting_info): New function to allocate and initialize
24283         the list of all EH handlers reachable from all regions.
24284         (reachable_handlers): New function to retrieve the list of handlers
24285         reachable from a specific region and insn.
24286         (free_eh_nesting_info): New function to dispose of a list of
24287         reachable handlers.
24288
24289 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24290
24291         * flow.c (split_edge): Set JUMP_LABEL field.
24292         (commit_one_edge_insertion): Set head correctly for insert_before.
24293         When inserting insns, update insn block numbers if allocated.
24294
24295 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24296
24297         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
24298         retry_incomplete_types): Add static prototype.
24299         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
24300         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
24301         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
24302         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
24303         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
24304         Constify a char*.
24305
24306         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
24307         dwarf2out_start_source_file, dwarf2out_line): Likewise.
24308
24309 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24310
24311         * output.h (assemble_name): Constify a char*.
24312
24313         * varasm.c (UNIQUE_SECTION, assemble_start_function,
24314         assemble_variable, assemble_name): Likewise.
24315
24316         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
24317
24318         * arm/pe.c (arm_pe_unique_section): Likewise.
24319
24320         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
24321
24322         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
24323
24324         * i386/interix.c (i386_pe_unique_section): Likewise.
24325
24326         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
24327
24328         * i386/winnt.c (i386_pe_unique_section): Likewise.
24329
24330         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
24331
24332         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
24333
24334         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
24335
24336         * pa/pa.c (output_call): Likewise.
24337
24338         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
24339
24340         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
24341
24342         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
24343         Likewise.
24344
24345         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
24346         Likewise.
24347
24348         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
24349
24350         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
24351         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
24352
24353         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
24354
24355 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24356
24357         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
24358
24359 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24360
24361         * tree.h (lang_identify): Constify a char*.
24362         (print_error_function): Add extern prototype.  Constify a char*.
24363
24364         * c-lang.c (lang_identify): Constify a char*.
24365
24366         * objc/objc-act.c (lang_identify): Constify a char*.
24367
24368 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24369
24370         * genpeep.c (main): Make generated file include "function.h".
24371         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
24372
24373 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24374
24375         * Makefile.in: Update dependencies.
24376         * alias.c: Include "function.h"
24377         * c-decl.c: Likewise.
24378         * caller-save.c: Likewise.
24379         * calls.c: Likewise.
24380         * combine.c: Likewise.
24381         * cse.c: Likewise.
24382         * explow.c: Likewise.
24383         * final.c: Likewise.
24384         * global.c: Likewise.
24385         * graph.c: Likewise.
24386         * local-alloc.c: Likewise.
24387         * loop.c: Likewise.
24388         * optabs.c: Likewise.
24389         * profile.c: Likewise.
24390         * recog.c: Likewise.
24391         * regclass.c: Likewise.
24392         * regmove.c: Likewise.
24393         * reload.c: Likewise.
24394         * reorg.c: Likewise.
24395         * resource.c: Likewise.
24396         * sched.c: Likewise.
24397         * stupid.c: Likewise.
24398         * config/1750a/1750a.c: Likewise.
24399         * config/a29k/a29k.c: Likewise.
24400         * config/arc/arc.c: Likewise.
24401         * config/arm/arm.c: Likewise.
24402         * config/arm/thumb.c: Likewise.
24403         * config/c4x/c4x.c: Likewise.
24404         * config/clipper/clipper.c: Likewise.
24405         * config/convex/convex.c: Likewise.
24406         * config/fx80/fx80.c: Likewise.
24407         * config/i860/i860.c: Likewise.
24408         * config/m68k/m68k.c: Likewise.
24409         * config/m88k/m88k.c: Likewise.
24410         * config/mips/mips.c: Likewise.
24411         * config/pdp11/pdp11.c: Likewise.
24412         * config/pyr/pyr.c: Likewise.
24413         * config/romp/romp.c: Likewise.
24414         * config/sh/sh.c: Likewise.
24415         * config/tahoe/tahoe.c: Likewise.
24416         * config/vax/vax.c: Likewise.
24417         * config/we32k/we32k.c: Likewise.
24418         * config/sparc/sparc.c: Include "function.h".
24419         (mem_min_alignment): Test current_function rather than
24420         regno_pointer_align.
24421         * config/pa/pa.c: Likewise.
24422         (compute_frame_size): Delete declaration of
24423         current_function_outgoing_args_size.
24424         * config/arc/arc.h (current_function_varargs): Delete declaration.
24425         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
24426         declaration.
24427         * config/i370/i370.h (current_function_outgoing_args_size): Delete
24428         declaration.
24429         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
24430         current_function_uses_pic_offset_table.
24431         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
24432         of current_function_returns_pointer.
24433         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24434         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24435         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24436         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24437         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24438         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24439         * config/m88k/m88k.c: Include "function.h"
24440         (call_used_regs, current_function_pretend_args_size,
24441         current_function_outgoing_args_size, frame_pointer_needed): Delete
24442         declarations.
24443         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
24444         declaration.
24445         * config/mips/mips.h (current_function_calls_alloca): Delete
24446         declaration.
24447         * config/mn10200/mn10200.h (current_function_needs_context,
24448         rtx_equal_function_value_matters): Delete declarations.
24449         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
24450         flag_pic): Delete declarations.
24451         * config/pa/pa.h (current_function_pretend_args_size,
24452         current_function_decl): Delete declarations.
24453         * config/pa/som.h (current_function_varargs): Delete declaration.
24454         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
24455         declaration.
24456         * config/pyr/pyr.h (current_function_pretend_args_size,
24457         current_function_args_size, current_function_calls_alloca): Delete
24458         declarations.
24459         * config/sh/sh.h (current_function_varargs): Delete declaration.
24460         * config/sparc/sparc.h (current_function_outgoing_args_size,
24461         current_function_calls_alloca, current_function_decl): Delete
24462         declarations.
24463         * config/spur/spur.h (current_function_pretend_args_size,
24464         current_function_calls_alloca): Delete declarations.
24465         * config/v850/v850.c (current_function_outgoing_args_size): Delete
24466         declaration.
24467         * config/vax/vms.h (current_function_name): Delete declaration.
24468         * gcse.c: Include "function.h".
24469         (current_function_name, current_function_calls_setjmp): Delete
24470         declarations.
24471         * haifa-sched.c: Include "function.h".
24472         (forced_labels): Delete declaration.
24473         * jump.c: Likewise.
24474         * reg-stack.c: Likewise.
24475         * reload1.c: Likewise.
24476         * genemit.c (main): Make generated file include function.h.
24477         * genoutput.c (output_prologue): Likewise.
24478
24479         * builtins.c (saveregs_value, apply_args_value): Delete variables.
24480         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
24481         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
24482         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
24483         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
24484         macros for some of them.
24485         (emit_filename, emit_lineno): Delete declarations.
24486         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
24487         regno_pointer_* variables through current_function.
24488         (gen_inline_header_rtx): Delete function.
24489         (save_emit_status): Delete function.
24490         (set_new_last_label_num): New function.
24491         (clear_emit_caches): New function.
24492         (restore_emit_status): Just clear last_labelnum and call
24493         clear_emit_caches.
24494         (get_last_insn_anywhere): Variable sequence_stack is now accessed
24495         through macro seq_stack.
24496         (add_insn_after): Likewise.
24497         (add_insn_before): Likewise.
24498         (remove_insn): Likewise.
24499         (pop_topmost_sequence): Likewise.
24500         (in_sequence_p): Likewise.
24501         (start_sequence_for_rtl_expr): Likewise.
24502         (start_sequence): Likewise, and likewise for
24503         sequence_rtl_expr/seq_rtl_expr.
24504         (push_topmost_sequence): Likewise.
24505         (end_sequence): Likewise.
24506         (init_virtual_regs): Now takes a "struct emit_status *" argument.
24507         All callers changed.  Store into that pointer instead of globals.
24508         (init_emit): Allocate emit elt of current_function.
24509         Changes for sequence_rtl_expr/sequence_stack renaming.
24510         Call clear_emit_caches instead of doing it in-line.
24511         Access regno_pointer_* variables through current_function.
24512         (init_emit_once) Don't clear sequence_stack.
24513
24514         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
24515         Delete variables.
24516         (arg_pointer_save_area): Delete declaration.
24517         (finish_expr_for_function): Renamed from init_queue; no longer static.
24518         (init_expr): Don't call init_queue.
24519         (save_expr_status, restore_expr_status): Delete functions.
24520         (expand_expr): Changes to reflect new layout of struct function.
24521         Don't access current_function_check_memory_usage when current_function
24522         is 0.
24523         * expr.h (forced_labels, save_expr_regs, saveregs_value,
24524         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
24525         current_function_outgoing_args_size, current_function_arg_offset_rtx,
24526         current_function_uses_const_pool, function_call_count,
24527         current_function_uses_pic_offset_table, nonlocal_labels,
24528         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
24529         current_function_check_memory_usage, nonlocal_goto_handler_slots,
24530         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
24531         declarations.
24532         (finish_expr_for_function): Declare.
24533         * flags.h (current_function_has_nonlocal_label,
24534         current_function_has_nonlocal_goto, current_function_is_thunk,
24535         current_function_has_computed_jump): Delete declarations.
24536         * flow.c (forced_labels): Delete declaration.
24537         * function.c (current_function_pops_args,
24538         current_function_returns_struct, current_function_returns_pcc_struct,
24539         current_function_needs_context, current_function_calls_setjmp,
24540         current_function_calls_longjmp, current_function_has_nonlocal_label,
24541         current_function_has_nonlocal_goto, current_function_is_thunk,
24542         current_function_has_computed_jump, current_function_calls_alloca,
24543         current_function_contains_functions, current_function_returns_pointer,
24544         current_function_epilogue_delay_list, current_function_args_size,
24545         current_function_pretend_args_size, current_function_arg_offset_rtx,
24546         current_function_outgoing_args_size, current_function_varargs,
24547         current_function_stdarg, current_function_args_info, cleanup_label,
24548         current_function_name, current_function_uses_const_pool,
24549         current_function_instrument_entry_exit, current_function_return_rtx,
24550         current_function_uses_pic_offset_table, nonlocal_labels,
24551         current_function_internal_arg_pointer, current_function_cannot_inline,
24552         current_function_check_memory_usage, function_call_count,
24553         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
24554         nonlocal_goto_stack_level, return_label, save_expr_regs,
24555         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
24556         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
24557         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
24558         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
24559         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
24560         Delete variables.
24561         (push_function_context_to): Don't save them.  Don't call
24562         save_storage_status, save_emit_status or save_expr_status.
24563         (pop_function_context_from): Don't restore them.  Don't call
24564         restore_storage_status or restore_expr_status.
24565         (get_func_frame_size): New function.
24566         (get_frame_size): Use it.
24567         (assign_outer_stack_local): Reflect some member name changes in struct
24568         function.
24569         (put_reg_into_stack): Likewise.
24570         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
24571         seq_rtl_expr.
24572         (fixup_var_refs): Likewise.
24573         (fix_lexical_addr): Likewise.
24574         (trampoline_address): Likewise.
24575         (prepare_function_start): Clear field inlinable of current_function.
24576         (init_function_for_compilation): New function.
24577         (expand_dummy_function_end): New function.
24578         (expand_function_end): Call finish_expr_for_function.
24579         * function.h (struct emit_status): New; fields moved here from struct
24580         function and from global variables.  Add accessor macros for some of
24581         the fields.
24582         (struct expr_status): Likewise.
24583         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
24584         (struct function): Add fields expr and emit, inlinable, inl_emit,
24585         original_arg_vector, original_decl_initial, inl_last_parm_insn,
24586         inl_max_label_num.  Add many comments.
24587         Add accessor macros for all elts of struct function that no longer
24588         have a global variable.
24589         (cleanup_label, return_label, frame_offset, tail_recursion_label,
24590         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
24591         stack_slot_list): Delete declarations.
24592         (get_func_frame_size): Declare.
24593         (save_expr_status, restore_expr_status, save_emit_status,
24594         save_storage_status, restore_storage_status): Delete declarations.
24595         (init_virtual_regs): Declare.
24596         * output.h (current_function_pops_args,
24597         current_function_returns_struct, current_function_returns_pcc_struct,
24598         current_function_needs_context, current_function_calls_setjmp,
24599         current_function_calls_longjmp, current_function_calls_alloca,
24600         current_function_has_nonlocal_label, current_function_varargs,
24601         current_function_has_computed_jump, current_function_returns_pointer,
24602         current_function_contains_functions, current_function_args_size,
24603         current_function_pretend_args_size, current_function_stdarg,
24604         current_function_outgoing_args_size, current_function_args_info,
24605         current_function_name, current_function_return_rtx,
24606         current_function_epilogue_delay_list,
24607         current_function_uses_const_pool, current_function_cannot_inline):
24608         Delete declarations.
24609         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
24610         regno_reg_rtx): Delete declaration.
24611         (REGNO_POINTER_FLAG): Delete macro.
24612         * stmt.c (expand_goto): Changes to reflect that some fields in struct
24613         function were renamed.
24614         * stor-layout.c (save_storage_status, restore_storage_status): Delete
24615         functions.
24616         * toplev.c: Include "function.h".
24617         (current_function_decl): Delete declaration.
24618         (compile_file): Call init_dummy_function_start and
24619         expand_dummy_function_end around some initializations that need to
24620         emit rtl.
24621         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
24622         Call init_function_for_compilation.
24623         * unroll.c: Include "function.h"
24624         (unroll_loop): Access regno_pointer_* variables through
24625         current_function.
24626
24627         * tree.h (struct tree_decl): Add elt f to saved_insns member.
24628         (DECL_SAVED_INSNS): use it.
24629         (expand_dummy_function_end): Declare.
24630         (init_function_for_compilation): Declare.
24631         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
24632         that it's no longer an INLINE_HEADER.
24633         (expand_call): Likewise.
24634         * integrate.c (finish_inline): Delete function.
24635         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
24636         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
24637         args.  Don't generate an INLINE_HEADER rtx, just return the arg
24638         vector.  All callers changed.
24639         (save_for_inline_copying):  Create a duplicate struct emit_status to
24640         hold the emit state for compiling the current function.  Use this and
24641         the other new fields in struct function that are for integration
24642         instead of an INLINE_HEADER.
24643         Use memcpy instead of bcopy.
24644         Store the current struct function in DECL_SAVED_INSNS of fndecl.
24645         (save_for_inline_nocopy): Similar changes, except no new emit_status
24646         is needed here.
24647         (expand_inline_function): Get information from function structure,
24648         not from an inline header rtx.
24649         (output_inline_function): Lose code to extract the necessary
24650         information from an inline header; simply put back the function
24651         structure into current_function.  Clear its inlinable elt.
24652         * rtl.def (INLINE_HEADER): Delete.
24653         * rtl.h: Delete all accessors for an INLINE_HEADER.
24654         (gen_inline_header_rtx): Delete declaration.
24655         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
24656         Delete declarations.
24657         (REGNO_POINTER_ALIGN): Delete.
24658         (clear_emit_caches): Declare.
24659         (set_new_last_label_num): Declare.
24660
24661 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
24662
24663         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
24664
24665         * except.c (expand_eh_region_start_for_decl): Always start a new block.
24666         * stmt.c (is_eh_region): Make sure current_function is present, too.
24667
24668 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
24669
24670         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
24671         for 64bit PA targets.
24672
24673         * pa.h (SELECT_SECTION): Define.
24674         * som.h (SELECT_SECTION): Delete.
24675
24676 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24677
24678         * alias.c (init_alias_analysis): Wrap call to
24679         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
24680
24681 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
24682
24683         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
24684         <sys/asm.h> contains an asm comment with an apostrophe
24685         * fixinc/inclhack.sh:  regen
24686         * fixinc/fixincl.x:  regen
24687
24688 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
24689
24690         * function.c (init_function_start): Clear prologue & epilogue.
24691         (prologue_epilogue_contains): New function.
24692         * alias.c (init_alias_analysis): Use it.
24693         * rtl.h (prologue_epilogue_contains): Declare it.
24694
24695 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
24696
24697         * jump.c (onlyjump_p): New function.
24698         * rtl.h: Declare it.
24699         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
24700         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
24701
24702 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
24703
24704         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
24705         to invert loops.  Simplify block scanning.
24706
24707 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
24708
24709         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
24710         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
24711
24712 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
24713
24714         * config/sparc/liteelf.h: New file to support sparclite-elf target
24715         * config/sparc/t-sp86x: New file to support sparc86x targets
24716         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
24717         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
24718         * configure.in: Support above target triplets
24719         * configure: Regenerated
24720
24721 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
24722
24723         * fixinc/server.c (server_setup): Do not prefix function used as
24724         parameter with `&'.
24725
24726 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
24727
24728         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
24729         Remove fp reg alternatives.
24730
24731 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
24732
24733         * Makefiin (TAROUTOPTS): Kill.
24734         (install-headers-tar): Use "xpf" for tar headerfile extraction
24735         * i370/x-oe (TAROUTOPTS): Delete.
24736         * m68k/x-apollo68 (TAROUTOPTS): Delete.
24737         * m68k/x-hp320 (TAROUTOPTS): Delete.
24738         * m68k/x-hp320g (TAROUTOPTS): Delete.
24739         * gcc.texi: Update bug reporting text.
24740
24741 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
24742
24743         * reg-stack.c (change_stack) Fixed problem with negative array index.
24744
24745 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
24746
24747         * extend.texi, install.texi: Fix spelling mistakes.
24748
24749         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
24750         (s-attrtab); No longer try to use pre-made insn-attrtab file.
24751         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
24752         PREMADE_ATTRTAB_MD.
24753         * mips/t-ecoff: Likewise.
24754         * mips/t-elf: Likewise.
24755         * mips/t-mips: Likewise.
24756         * mips/t-osfrose: Likewise.
24757         * mips/t-r3900: Likewise.
24758         * mips/t-svr3: Likewise.
24759         * mips/t-svr4: Likewise.
24760         * mips/t-ultrix: Likewise.
24761
24762         * gcc.texi: Document recommend means to provide software floating
24763         point libraries in libgcc.a
24764
24765 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
24766
24767         * c-lex.c (yylex): We can have a number with no digits.
24768
24769 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
24770
24771         * jump.c (delete_prior_computation): New function, broken
24772         out of delete_computation.  Check for side effects with
24773         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
24774         multi-word hard registers.
24775         (delete_computation): Use it.  Check for side effects with
24776         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
24777         missing REG_DEAD note for a register which is both set and
24778         used by an insn.
24779
24780 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
24781
24782         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
24783         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
24784         (ASM_FILE_START): Import _mcount with the right type.
24785         (ASM_DECLARE_FUNCTION_NAME): Define.
24786         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
24787         * pa.c (output_function_prologue): Always emit the function's label
24788         here.
24789         * pa.h (TEXT_SPACE_P): Define.
24790         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
24791         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
24792         * som.h (TEXT_SPACE_P): Delete.
24793         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
24794         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
24795
24796 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
24797
24798         * expr.c (emit_group_load): Allow src to be a CONCAT.
24799
24800 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24801
24802         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
24803         (___mulsi3): Use '!' comment character.
24804
24805 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24806
24807         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
24808
24809 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
24810
24811         * gcc.c: Update URLs and mail addresses.
24812         * gcc.texi: Likewise.
24813
24814 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
24815
24816         * rs6000.c (current_file_function_operand): Return zero for
24817         weak functions.
24818         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
24819         weak symbols.
24820         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
24821         for weak symbols.
24822
24823 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
24824
24825         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
24826         allocate space in the stack frame for the PIC register.
24827
24828 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
24829
24830         * m68k.md (xordi3, anddi3): These patterns are not available on
24831         the coldfire.
24832
24833 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
24834
24835         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
24836         (PUT_REAL): Likewise.
24837
24838 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24839
24840         * final.c (shorten_branches): Don't add an alignment for loops
24841         that have no label inside.
24842
24843 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24844
24845         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
24846         prototypes in macro HAVE_cmpstrsi.
24847
24848         * cpplib.c (cpp_get_token): Remove unused label `op3'.
24849
24850         * emit-rtl.c (operand_subword): Remove unused variable
24851         `bits_per_word'.
24852
24853         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
24854
24855         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
24856
24857 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
24858
24859         * cpphash.c (macroexpand): Delete leading whitespace when arg
24860         is concatenated before.
24861         (unsafe_chars): Correct test for whether + and - can extend a
24862         token.
24863
24864         * cppinit.c (cpp_start_read): Do dependencies for
24865         -include/-imacros files also.
24866
24867         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
24868         tokenizing non-directive lines.
24869         (cpp_expand_to_buffer): Temporarily disable no-output mode.
24870         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
24871         the input file.
24872
24873 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
24874
24875         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
24876
24877         * c-lex.c: Sync with C++ frontend.
24878         (linemode): New variable.
24879         (parse_float): imag, conversion_errno, and type are output only.
24880         (yylex): Adjust.  Move initial '.' case into main switch.
24881         Use linemode.
24882         (handle_generic_pragma): Just deal with tokens.
24883         (readescape): Use ISXDIGIT and ISGRAPH.
24884         * c-parse.in: Add END_OF_LINE token.
24885
24886         * c-lex.c (lang_init): Generalize.
24887         (nextchar): Remove.  Replace uses with UNGETC.
24888         (skip_white_space): Handle linemode here.  Optimize for cpplib.
24889         (skip_white_space_on_line): Remove.
24890         (extend_token_buffer_to): New fn.
24891         (extend_token_buffer): Use it.
24892         (read_line_number, check_newline): Just deal with tokens.
24893         (token_getch, token_put_back): New fns.
24894         (yylex): Use them.  More cpplib optimizations.  Simplify.
24895
24896 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
24897                           Jason Merrill  <jason@yorick.cygnus.com>
24898
24899         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
24900         (consume_string): Make this smart about USE_CPPLIB.
24901         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
24902         (yylex): Rewrite to be intelligent about USE_CPPLIB.
24903         Also, clean up cases where we redundantly set token_buffer[0].
24904         (read_line_number): New fn.
24905         (ignore_escape_flag): New variable.
24906
24907 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
24908
24909         * a29k/t-a29kbare: Fix some comments.
24910         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
24911         (FPBIT, DPBIT): Define.
24912         * a29k/t-vx29k: Likewise.
24913         * arc/t-arc: Likewise.
24914         * arm/t-arm-elf: Likewise.
24915         * arm/t-bare: Likewise.
24916         * arm/t-pe: Likewise.
24917         * arm/t-pe-thumb: Likewise.
24918         * arm/t-semi: Likewise.
24919         * arm/t-thumb: Likewise.
24920         * arm/t-thumb-elf: Likewise.
24921         * arm/t-thumb-linux: Likewise.
24922         * h8300/t-h8300: Likewise.
24923         * i960/t-i960: Likewise.
24924         * i960/t-vxworks960: Likewise.
24925         * m32r/t-m32r: Likewise.
24926         * mips/t-ecoff: Likewise.
24927         * mips/t-elf: Likewise.
24928         * mips/t-r3900: Likewise.
24929         * pa/t-pro: Likewise.
24930         * rs6000/t-aix43: Likewise.
24931         * rs6000/t-beos: Likewise.
24932         * rs6000/t-newas: Likewise.
24933         * rs6000/t-ppccomm: Likewise.
24934         * rs6000/t-rs6000: Likewise.
24935         * rs6000/t-winnt: Likewise.
24936         * rs6000/t-xnewas: Likewise.
24937         * rs6000/t-xrs6000: Likewise.
24938         * sh/t-sh: Likewise.
24939         * sparc/t-elf: Likewise.
24940         * sparc/t-sparcbare: Likewise.
24941         * sparc/t-sparclite: Likewise.
24942         * sparc/t-splet: Likewise.
24943         * v850/t-v850: Likewise.
24944         * mn10200/t-mn10200: Fix comments.
24945         * mn10300/t-mn10300: Likewise.
24946
24947         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
24948         dummy operand.  Allocate a new pseudo for the dummy operand.
24949         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
24950
24951         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
24952
24953 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
24954
24955         * configure: Rebuilt.
24956         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
24957
24958 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
24959
24960         * recog.c (preproces_constraints): Zero recog_op_alt before
24961         processing the constraints.
24962
24963         * arm.c (typedef minipool_node): Renamed from pool_node.
24964         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
24965         (add_minipool_constant): New function.
24966         (dump_minipool): New function.
24967         (find_barrier): Remove special case for getting the insn size of
24968         an insn that references the constant pool.
24969         (minipool_fixup): New structure.
24970         (push_minipool_barrier): New function.
24971         (push_minipool_fix): New function.
24972         (note_invalid_constants): New function.
24973         (add_pool_constant, dump_table, fixit, broken_move): Delete.
24974         (arm_reorg): Rewrite code to fix up the constant pool into a
24975         series of mini-pools embedded in the insn stream.
24976         (arm_output_epilogue): New function, made mainly from the body
24977         of output_func_epilogue.
24978         (output_func_epilogue): Move insn generation part of epilogue code
24979         to arm_output_epilogue.
24980         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
24981         * arm.md (pool_range): New attribute.
24982         (zero_extendqidi2): Add attribute pool_range.
24983         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
24984         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
24985         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
24986         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
24987         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
24988         (epilogue): New expand.
24989         (epilogue_insn): New insn.  Call arm_output_epilogue.
24990
24991         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
24992         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
24993
24994 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
24995
24996         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24997
24998 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
24999
25000         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
25001
25002 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
25003
25004         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
25005
25006 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
25007
25008         * global.c: Fix comment.
25009
25010 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
25011
25012         * gcc.c (access_check): New static function.
25013         (find_a_file): Use it when searching a directory list.
25014         * collect2.c (find_a_file): Don't accept directories found when
25015         searching a directory list.
25016
25017 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
25018
25019         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
25020         function parameters with `&'.
25021         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
25022
25023 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
25024
25025         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
25026         or tidy_fallthru_edge if the last insn in the block is not
25027         an unconditional jump or a simple conditional jump.
25028
25029 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25030
25031         * Makefile.in (c-decl.o): Depends on defaults.h.
25032
25033 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
25034
25035         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
25036         PA1.1 and above.
25037         (CLASS_MAX_NREGS): Likewise.
25038
25039 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
25040
25041         * cse.c (cse_insn): Fix dumb thinko in last change.
25042
25043 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25044
25045         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
25046         "const char *".
25047
25048 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
25049
25050         * dwarf2out.c (add_location_or_const_value_attribute): Correct
25051         test for sizes of passed and declared parameter types.
25052
25053 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25054
25055         * fixincludes: Fix the return type of bsearch, char* -> void*.
25056
25057         * fixinc/inclhack.def: Likewise.
25058
25059 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
25060
25061         * invoke.texi (-fdump-translation-unit): New option.
25062
25063 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
25064
25065         * expr.h (PROMOTE_PROTOTYPES): Move ...
25066         * defaults.h: ... to here.
25067         * c-decl.c: Include defaults.h instead of expr.h.
25068         * c-typeck.c: Include defaults.h.
25069
25070 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
25071
25072         * toplev.h (errorcount): Declare.
25073         (warningcount): Likewise.
25074         (sorrycount): Likewise.
25075         * c-lex.c (errorcount): Don't declare.
25076         * dwarf2out.c (errorcount): Don't declare.
25077
25078 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
25079
25080         * config/libgloss.h: Add a note discouraging use with ELF.
25081         * configure.in: Don't use libgloss.h for ELF targets.
25082         Always use_collect2 on a.out targets.
25083
25084 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
25085
25086         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
25087         (force_to_mode, case ASHIFTRT): Add shiftrt label.
25088
25089 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25090
25091         * loop.c (strength_reduce): When doing biv->giv conversion, update
25092         reg note of NEXT->insn.
25093
25094 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25095
25096         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
25097
25098 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25099
25100         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
25101         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
25102         Ensure expr.h is included.
25103         * c-typecheck.c (convert_arguments): Ditto.
25104
25105         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
25106
25107         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
25108         * config/convex/convex.h: Ditto.
25109         * config/dsp16xx/dsp16xx.h: Ditto.
25110         * config/fx80/fx80.h: Ditto.
25111         * config/gmicro/gmicro.h: Ditto.
25112         * config/i370/i370.h: Ditto.
25113         * config/i386/i386.h: Ditto.
25114         * config/m32r/m32r.h: Ditto.
25115         * config/m68k/m68k.h: Ditto.
25116         * config/m88k/m88k.h: Ditto.
25117         * config/mips/mips.h: Ditto.
25118         * config/pa/pa.h: Ditto.
25119         * config/pyr/pyr.h: Ditto.
25120         * config/tahoe/tahoe.h: Ditto.
25121         * config/we32k/we32k.h: Ditto.
25122
25123         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
25124         based on arch size.
25125
25126         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
25127
25128         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
25129         from comment.
25130
25131         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
25132
25133 1999-08-02  Richard Henderson  <rth@cygnus.com>
25134
25135         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
25136         for the register spill block.
25137         (m32r_va_arg): New.
25138         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
25139         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
25140
25141         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
25142         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
25143         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
25144
25145 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25146
25147         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
25148         MAX_WCHAR_TYPE defined in sparc.h.
25149         * config/sparc/linuxaout.h: Likewise.
25150         * config/sparc/linux64.h: Likewise.
25151         Also default to -mvis if CPU is UltraSPARC.
25152
25153 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25154
25155         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
25156         (RTX_OK_FOR_OLO10): Likewise.
25157         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
25158         %lo(), allow it in addresses...
25159         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
25160         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
25161         does not make sense.
25162         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
25163         (sparc_output_scratch_registers): New function.
25164         (output_function_prologue, sparc_flat_output_function_prologue): Use
25165         it.
25166         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
25167         defined.
25168         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
25169         * configure.in: Add check for .register pseudo-op support in as and
25170         check for offsetable %lo().
25171         * acconfig.h: Add templates for the above checks.
25172         * configure: Regenerate.
25173
25174 1999-08-02  Richard Henderson  <rth@cygnus.com>
25175
25176         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
25177         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
25178         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
25179
25180 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25181
25182         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25183         reg_biv_class.
25184
25185 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25186
25187         * config/float-sparc.h: New file.
25188         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
25189         sparc-*-linux-gnu and sparc64-*-linux*.
25190
25191 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25192
25193         * rs6000.c (rs6000_va_list): Type is an array.
25194         (rs6000_va_start): Don't doubly adjust for varargs.
25195         (rs6000_va_arg): Evaluate long long GPR adjustment.
25196
25197 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
25198
25199         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
25200         -maix64 and -maix32.
25201         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
25202         LINK_SPEC): Change appropriately.
25203         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
25204         (u_short_cint_operand): Likewise.
25205         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
25206         for 64-bit hosts.
25207         * rs6000/t-aix43 (MULTILIB): Change to -m64.
25208
25209         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
25210
25211 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
25212
25213         * rs6000/rs6000.c (num_insns_constant_wide): Correct
25214         for type promotion.
25215         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
25216         (non_add_cint_operand): Likewise.
25217         (logical_operand): Likewise.
25218         (non_logical_cint_operand): Likewise.
25219         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
25220         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
25221         (rs6000_select_rtx_section): Suppress warning.
25222         (small_data_operand): Suppress warning.
25223         (rs6000_got_register): Suppress warning.
25224         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
25225         type, so `J' is generally the wrong constraint for a SImode value;
25226         use `L' instead.
25227         (andsi3_internal2): Likewise.
25228         (andsi3_internal3): Likewise.
25229         (iorsi3_internal1): Likewise.
25230         (xorsi3_internal1): Likewise.
25231         (movsi): Likewise.
25232         (movsf_softfloat): Likewise.
25233         (scc insns): Likewise.
25234         (movsi+2): Preserve sign bits of SImode constant.
25235         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
25236         (movdf+1): Sign-extend properly.
25237         (movdi_32+1): Sign-extend properly.
25238         (scc insns): Sign-extend properly.
25239
25240         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
25241         K, L, and T.
25242
25243 1999-08-02  Richard Henderson  <rth@cygnus.com>
25244
25245         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
25246         -mcpu parsing code.
25247         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
25248         * alpha.md (all fp insns): Likewise.
25249
25250 1999-08-02  Nick Clifton  <nickc@cygnus.com>
25251
25252         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
25253         already defined.
25254
25255 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
25256
25257         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
25258         pic_load_label generator directly.
25259         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
25260         No longer a named pattern.
25261
25262 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
25263
25264         * explow.c (force_reg): Call force_operand if X does not
25265         satisfy general_operand.
25266
25267 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
25268
25269         * fix-header.c (main): When testing for CONTINUED, use string
25270         equality, not pointer equality.
25271
25272 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
25273
25274         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
25275
25276 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
25277
25278         * cse.c (cse_insn): Fix loop which deletes insns after a jump
25279         that has become an unconditional jump.
25280
25281         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
25282         (output_function_epilogue): Similarly.
25283
25284 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25285
25286         * tree.h (init_dummy_function_start): Declare.
25287
25288 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25289
25290         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
25291         last_expr_type, last_expr_value, block_start_count, block_stack,
25292         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
25293         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
25294         dynamically in stmt elt of struct function for each function.
25295         (struct nesting): Rename function_call_count elt to n_function_calls,
25296         target_temp_slot_level to block_target_temp_slot_level.  All users
25297         changed.
25298         (struct stmt_status): New structure definition.
25299         Add many accessor macros for stmt_status elements which previously
25300         were global variables.
25301         (init_stmt_for_function): Allocate stmt elt for current_function.
25302         Reflect that block_start_count was renamed to
25303         current_block_start_count.
25304         (save_stmt_status, restore_stmt_status): Delete functions.
25305         (preserve_subexpressions_p): Don't access loop_stack when outside
25306         a function.
25307         (expand_start_bindings): Reflect that block_start_count was renamed to
25308         current_block_start_count.
25309         (expand_fixup): Likewise.
25310         (expand_decl): Don't access block_stack when outside a function.
25311         (expand_decl_cleanup): Likewise.
25312         (expand_dcc_cleanup): Likewise.
25313         (expand_dhc_cleanup): Likewise.
25314         (expand_anon_union_decl): Likewise.
25315         (set_file_and_line_for_stmt): New function.
25316         (in_control_zone_p): New function.
25317
25318         * function.h (struct function): Add new elt stmt.
25319         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
25320         case_stack, nesting_stack, nesting_depth, block_start_count,
25321         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
25322         emit_lineno, goto_fixup_chain.
25323         (save_eh_status, restore_eh_status, save_stmt_status,
25324         restore_stmt_status): Delete declarations.
25325         * function.c (push_function_context_to): Don't call save_stmt_status.
25326         (pop_function_context_to): Don't call restore_stmt_status.
25327         * tree.h (in_control_zone_p): Declare.
25328         * rtl.h (set_file_and_line_for_stmt): Declare.
25329
25330         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
25331         call set_file_and_line_for_stmt.
25332
25333 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
25334
25335         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
25336         Also update copyright.
25337
25338 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25339
25340         * c-pragma.c: Don't include "except.h".
25341         * emit-rtl.c: Likewise.
25342         * stor-layout.c: Likewise.
25343         * tree.c: Likewise.
25344         * varasm.c: Likewise.
25345
25346         * flow.c: Include "function.h".
25347         * tree.h (init_dummy_function_start): Declare new function.
25348
25349         * except.h (struct eh_status): New structure.
25350         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
25351         been included.
25352         (eh_return_stub_label, ehstack, catchstack, ehqueue,
25353         catch_clauses, false_label_stack, caught_return_label_stack,
25354         protect_list, current_function_ehc): Add accessor macros for the
25355         corresponding fields in current_function->eh; delete declarations
25356         for all items that used to be declared here.
25357         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
25358         catch_clauses, false_label_stack, caught_return_label_stack,
25359         protect_list, current_function_ehc): Delete variables.
25360         (init_eh_for_function): Allocate current_function->eh.
25361         (save_eh_status, restore_eh_status): Delete functions.
25362
25363         * function.h (struct function): Add fields next_global and eh.
25364         Delete all exception handling related fields.
25365         * function.c (current_function): New variable.
25366         (all_functions): New variable.
25367         (push_function_context_to): Don't allocate a struct function,
25368         use current_function instead.  Call init_dummy_function_start when
25369         outside a function.  Clear current_function before returning.
25370         (pop_function_context_from): Restore current_function.
25371         Don't free the restored struct function.
25372         (prepare_function_start): New function.
25373         (init_dummy_function_start): New function.
25374         (init_function_start): Break out some code into prepare_function_start
25375         and call it here.
25376
25377         * stmt.c (save_stmt_status): Don't call save_eh_status.
25378         (restore_stmt_status): Don't call restore_eh_status.
25379
25380         * Makefile.in: Update dependencies.
25381
25382 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
25383
25384         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
25385         of depending on a magic constant value.  Update comments.
25386         (hppa_expand_prologue): Similarly.
25387
25388         * pa.md (reload_indi, reload_outdi): Allow any register for the
25389         original reload register.
25390
25391 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
25392
25393         * cccp.c (print_help): Change marcos to macros.
25394
25395 1999-07-30  Richard Henderson  <rth@cygnus.com>
25396
25397         * c-typeck.c (initializer_constant_valid_p): Move ...
25398         * c-common.c (initializer_constant_valid_p): ... here.  Use
25399         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
25400         of label addresses.
25401         * c-common.h (initializer_constant_valid_p): Declare.
25402         * c-tree.h (initializer_constant_valid_p): Remove.
25403
25404 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
25405
25406         * config/i386/sol2-c1.asm: Align the stack.
25407         * config/i386/sol2-gc1.asm: Likewise.
25408
25409 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
25410
25411         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
25412         -Asparclite for sparc86x.
25413         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
25414         sparc86x.
25415         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
25416
25417 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
25418
25419         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
25420         the user if using the non-default arch size in BI_ARCH configuration.
25421         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
25422
25423         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
25424         Fix patterns so that they actually match.
25425         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
25426         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
25427         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
25428         TARGET_HARD_MUL32.
25429         (mulsidi3): Reflect this in the expand.
25430         (smulsi3_highpart): Only on TARGET_ARCH32.
25431         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
25432         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
25433         (umulsidi3): Reflect this in the expand.
25434         (umulsi3_highpart): Only on TARGET_ARCH32.
25435         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
25436         don't require g0 to be zero.
25437         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
25438         ({,u}divsi3): New expands.
25439         ({,u}divsi3_sp64): New patterns.
25440         (after lshrdi3_v8plus): Four new patterns to help combiner
25441         optimizing nested mixed mode shifts.
25442
25443         * config/sparc/sparc.c (sparc_override_options): Use deprecated
25444         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
25445         speed things up. Don't use them by default on plain v9 in 64bit
25446         mode, according to what SPAMv9 sais.
25447
25448         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
25449         top 32 bits of %[og][0-7] in signal handlers.
25450         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
25451
25452 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
25453
25454         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
25455         (ashlsi3): Corresponding changes.
25456
25457         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
25458
25459 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
25460
25461         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
25462
25463 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25464
25465         * arm.h (Hint): Delete macro.
25466         Substitute HOST_WIDE_INT for Hint in some prototypes.
25467         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
25468
25469 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
25470
25471         * builtins.c (expand_builtin_setjmp): Use force_operand to
25472         make sure that the buffer address is in a suitable form to be
25473         passed to force_reg.
25474
25475 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
25476
25477         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
25478         them here.
25479
25480 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
25481
25482         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
25483         proper mode in the condition string.
25484         (icacheflush, dcacheflush): Remove modes from match_operands.
25485
25486         * pa.c (emit_move_sequence): Always convert scratch_reg to the
25487         proper mode before using it.
25488
25489         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
25490         pair.
25491
25492         * pa.c (store_reg): Do not call add_high_const generator directly.
25493         (load_reg, set_reg_plus_d): Likewise.
25494         * pa.md (add_high_const): No longer a named pattern.
25495
25496         * pa.c (legitimize_address): Consistently use Pmode rather than
25497         SImode.  Do not call gen_pic2_highpart directly anymore.
25498         * pa.md (pic2_highpart): No longer a named pattern.
25499         (pic2_lo_sum): Similarly.  Reformat to make more readable.
25500
25501         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
25502         needed.
25503
25504         * README: Update.
25505
25506 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25507
25508         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
25509
25510 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
25511
25512         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
25513         and tag the spill mems.
25514         (hppa_va_start): New.
25515         (hppa_va_arg): New.
25516         * pa.h (EXPAND_BUILTIN_VA_START): New.
25517         (EXPAND_BUILTIN_VA_ARG): New.
25518
25519 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
25520
25521         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
25522         and tag the spill mems.
25523         (mn10300_va_start): New.
25524         (mn10300_va_arg): New.
25525         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
25526         (EXPAND_BUILTIN_VA_ARG): New.
25527
25528 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
25529
25530         * mn10200.c (mn10200_va_arg): New.
25531         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
25532
25533 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
25534
25535         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
25536         rather than play with TREE_INT_CST_LOW.
25537
25538 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
25539
25540         * config/arm/telf.h: Include dbxelf.h.
25541         (CPP_PREDEFINES): Only define if not already defined.
25542         (ASM_IDENTIFY_GCC): Likewise.
25543         (SUBTARGET_EXTRA_SECTIONS): Likewise.
25544         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
25545         * config/arm/thumb.h (LINK_SPEC): Only define if not already
25546         defined.
25547         (DBX_DEBUGGING_INFO): Don't define.
25548         * config/arm/linux-telf.h: New file.
25549         * config/arm/linux-tgas.h: New file.
25550         * config/arm/t-thumb-linux: New file.
25551         * config/arm/uclinux-elf.h: New file.
25552         * config/arm/uclinux-telf.h: New file.
25553         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
25554         thumb-*-uclinux): New targets.
25555         * configure: Regenerate.
25556
25557 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
25558
25559         * pa.md (post_store, pre_load): New expanders.
25560         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
25561         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
25562         need to directly generate RTL for them.
25563         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
25564         changes.
25565
25566 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
25567
25568         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
25569         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
25570         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
25571         (secndary_reload_class): Make TARGET_ELF conditional compile.
25572         (print_operand_address): Similar.
25573         (output_toc): Print all values as hex.
25574         (get_issue_rate): Rearrange and add RS64A and PPC630.
25575         * rs6000.h (processor_type): Add RS64A and PPC630.
25576         (PROCESSOR_POWERPC64): New.
25577         (PROMOTE_MODE): Use word_mode.
25578         (RTX_COSTS): Add RS64A and PPC630.
25579         * rs6000.md (scheduling information): Add lmul and ldiv
25580         representing 64-bit integer multiply and divide.  Add rs64a and
25581         PPC630 information.
25582         (ashldi3): Add support for "rldic" instruction.
25583         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
25584
25585 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
25586
25587         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
25588         instead of V8 for sparclite86x in cpu_table.
25589
25590 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25591
25592         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
25593         output_file_directive.
25594
25595 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
25596
25597         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
25598         tree for op1, not the rtl.
25599
25600 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
25601
25602         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
25603         to m88k_va_start, leaving only the register spill.
25604         (m88k_build_va_list): New.
25605         (m88k_va_start): New.
25606         (m88k_va_arg): New.
25607         * m88k.h (BUILD_VA_LIST_TYPE): New.
25608         (EXPAND_BUILTIN_VA_START): New.
25609         (EXPAND_BUILTIN_VA_ARG): New.
25610
25611 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
25612
25613         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
25614         Rename from expand_builtin_saveregs.
25615         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
25616
25617 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
25618
25619         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
25620         for the register spill block.
25621         (i960_build_va_list): New.
25622         (i960_va_start): New.
25623         (i960_va_arg): New.
25624         * i960.h (BUILD_VA_LIST_TYPE): New.
25625         (EXPAND_BUILTIN_VA_START): New.
25626         (EXPAND_BUILTIN_VA_ARG): New.
25627         * i960.md (store_multiple): Use change_address on individul mems.
25628
25629 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
25630
25631         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
25632         an ARRAY_TYPE.
25633         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
25634         (expand_builtin_va_end): Evaluate arg for side effects.
25635         * c-common.c (c_common_nodes_and_builtins): Construct a
25636         va_list_arg_type_node to handle array decomposition to pointer.
25637
25638 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
25639
25640         * except.c (st_dynamic_cleanup): Use force_operand on the
25641         buffer's address.
25642
25643 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
25644
25645         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
25646         * c4x.c (c4x_va_arg): New.
25647
25648 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
25649
25650         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
25651         has manual_pop set.
25652
25653 1999-07-26  Nathan Sidwell  <nathan@acm.org>
25654
25655         * eh-common.h (__eh_matcher): Prototype correctly.
25656
25657 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
25658
25659         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
25660         (TARGET_SINGLE_PIC_BASE): Likewise.
25661         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
25662         definitions.
25663         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
25664         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
25665         (TARGET_OPTIONS): Add -mpic-register=N.
25666         (OUTPUT_INT_ADDR_CONST): New macro.
25667         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
25668         LEGITIMATE_PIC_OPERAND_P): Likewise.
25669         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
25670         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
25671         output_addr_const directly.
25672         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
25673         ARM port.
25674         (thumb_pic_register, thumb_pic_register_string): Declare.
25675
25676         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
25677         from arm.c.
25678         (label_mentioned_p): New function: Imported from arm.c.
25679         (legitimize_pic_address): New function: Imported from arm.c.
25680         (is_pic):New function: Imported from arm.c.
25681         (thumb_finalize_pic):New function: Imported from arm.c.
25682         (add_constant): Cope with PIC constants.
25683         (fixit): Cope with PIC constants.
25684         (output_return): Do not treat the PIC register as live if
25685         TARGET_SINGLE_PIC_BASE is true.
25686         (thumb_function_prologue): Do not treat the PIC register as live if
25687         TARGET_SINGLE_PIC_BASE is true.
25688         (thumb_expand_prologue): Do not treat the PIC register as live if
25689         TARGET_SINGLE_PIC_BASE is true.
25690         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
25691         TARGET_SINGLE_PIC_BASE is true.
25692         (thumb_print_operand): Accept '|'.
25693         (thumb_override_options): Process PIC options.
25694
25695         * config/arm/thumb.md (movsi): Support PIC.
25696         (call_insn): Change "i" constraint to "X".
25697         (call_value_insn): Likewise.
25698         (consttable_4, consttable_8, consttable_end): Set and clear
25699         "making_const_table" as appropriate.
25700         (pic_load_addr, pic_add_dot_plus_four): New insns.
25701
25702         * invoke.texi (Thumb Options): Fix spelling.  Document new
25703         options -msingle-pic-base and -mpic-register=.
25704
25705 1999-07-26  Andrew Haley  <aph@cygnus.com>
25706
25707         * config/m32r/initfini.c (__init): Use a full word immediate for
25708         __fini: this allows it to be placed in any memory region.
25709
25710         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
25711         -mmodel=medium.  This is OK for all memory models.
25712
25713 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
25714
25715         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
25716         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
25717
25718 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
25719
25720         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
25721         defined.
25722
25723         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
25724
25725 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
25726
25727         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
25728         (BUILD_VA_LIST_TYPE): New.
25729         (EXPAND_BUILTIN_VA_START): New.
25730         (EXPAND_BUILTIN_VA_ARG): New.
25731         * i860.c (output_delayed_branch): Disable.
25732         (output_delay_insn): Likewise.
25733         (i860_saveregs): New.
25734         (i860_build_va_list): New.
25735         (i860_va_start): New.
25736         (i860_va_arg): New.
25737         * i860.md: Disable all peepholes using output_delayed_branch.
25738         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
25739
25740 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
25741
25742         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
25743         (BUILD_VA_LIST_TYPE): New.
25744         (EXPAND_BUILTIN_VA_START): New.
25745         (EXPAND_BUILTIN_VA_ARG): New.
25746         * clipper.c (clipper_builtin_saveregs): Only dump registers.
25747         Return the address of the save area.
25748         (clipper_build_va_list): New.
25749         (clipper_va_start): New.
25750         (clipper_va_arg): New.
25751
25752 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
25753
25754         * arc.h (EXPAND_BUILTIN_VA_START): New.
25755         (EXPAND_BUILTIN_VA_ARG): New.
25756         * arc.c (arc_setup_incoming_varargs): Set alias set of
25757         varargs save area.
25758         (arc_va_start): New.
25759         (arc_va_arg): New.
25760
25761 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
25762
25763         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
25764         (BUILD_VA_LIST_TYPE): New.
25765         (EXPAND_BUILTIN_VA_START): New.
25766         (EXPAND_BUILTIN_VA_ARG): New.
25767         * alpha.c (alpha_builtin_saveregs): Delete.
25768         (alpha_build_va_list): New.
25769         (alpha_va_start): New.
25770         (alpha_va_arg): New.
25771
25772 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
25773
25774         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
25775         column zero.
25776         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
25777         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
25778
25779         * gcc.texi: More changes related to list conversion.
25780         * invoke.texi: Likewise.
25781
25782 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
25783
25784         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
25785         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
25786         (expand_builtin_next_arg): Accept ARGLIST not EXP.
25787         (stabilize_va_list): New function.
25788         (std_expand_builtin_va_start): New function.
25789         (expand_builtin_va_start): New function.
25790         (get_varargs_alias_set): New function.
25791         (std_expand_builtin_va_arg): New function.
25792         (expand_builtin_va_arg): New function.
25793         (expand_builtin_va_end): New function.
25794         (expand_builtin_va_copy): New function.
25795         (expand_builtin): Call them.
25796         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
25797         __builtin_{varargs_start,stdarg_start,end,copy}.
25798         (build_va_arg): New function.
25799         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
25800         (build_va_arg): Declare.
25801         * c-decl.c (ptr_type_node, va_list_type_node): New.
25802         * c-parse.gperf (__builtin_va_arg): New.
25803         * c-parse.in (VA_ARG): New token.
25804         (unary_expr): Recognize it.
25805         * expr.c (expand_expr): Expand VA_ARG_EXPR.
25806         * expr.h (std_expand_builtin_va_start): Declare.
25807         (std_expand_builtin_va_arg): Declare.
25808         (expand_builtin_va_arg): Declare.
25809         (get_varargs_alias_set): Declare.
25810         * tree.def (VA_ARG_EXPR): New.
25811         * tree.h (BUILT_IN_VARARGS_START): New.
25812         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
25813         (ptr_type_node, va_list_type_node): Declare.
25814         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
25815         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
25816         * m88k.h, m88k.c: Likewise.
25817         * mn10300.h, mn10300.c: Likewise.
25818         * pa.h, pa.c: Likewise.
25819         * rs6000.h, rs6000.c: Likewise.
25820         * sh.h, sh.c: Likewise.
25821         * sparc.h, sparc.c: Likewise.
25822
25823         * emit-rtl.c (operand_subword): Copy alias set.
25824         (change_address): Likewise.
25825
25826 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
25827
25828         * pa.c (compute_frame_size): Scan all the used callee saved registers,
25829         not just the first one.
25830
25831 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
25832
25833         * config/arm/arm.h (TARGET_SWITCHES): Add
25834         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
25835         (TARGET_OPTIONS): Add -mpic-register=.
25836         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
25837         (arm_pic_register_string): Declare.
25838         (NEED_PLT_GOT): Delete, replace with ...
25839         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
25840         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
25841         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
25842         * config/arm/arm.c (arm_override_options): Add new option
25843         -mpic-register=N.
25844         (arm_pic_register_string): New variable.
25845         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
25846         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
25847         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
25848         (output_return_instruction): Likewise.
25849         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
25850         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
25851         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
25852
25853         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
25854         mention of -msched-prolog.  Document new options -msingle-pic-base
25855         and -mpic-register=.
25856
25857 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
25858
25859         * haifa-sched.c (reemit_notes): Tidy.
25860         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
25861         haifa's routine.
25862
25863 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
25864
25865         * explow.c (trunc_int_for_mode): New function.
25866         (plus_constant_wide): Use it.
25867         * combine.c (simplify_and_const_int): Likewise.
25868         (merge_outer_ops): Likewise.
25869         (simplify_shift_const): Likewise.
25870         * cse.c (simplify_unary_operation): Likewise.
25871         (simplify_binary_operation): Likewise.
25872         * emit-rtl.c (operand_subword): Likewise.
25873         * rtl.h: Declare it.
25874
25875 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25876
25877         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
25878         (use NUM_REGS instead of NUM_INTS).
25879
25880 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25881
25882         * builtins.c: New file.
25883         * expr.c (saveregs_value, apply_args_value):  Delete definition,
25884         moved into builtins.c.
25885         (string_constant): No longer static.
25886         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
25887         apply_args_size, apply_result_size, result_vector,
25888         expand_builtin_apply_args, expand_builtin_apply,
25889         expand_builtin_return): Delete functions, moved into builtins.c.
25890         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
25891         * expr.h (saveregs_value, apply_args_value): Declare variables.
25892         (expand_builtin, string_constant): Declare functions.
25893         * Makefile.in: Update to build builtin.o.
25894
25895 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
25896
25897         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
25898         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
25899         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
25900         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
25901         false.
25902         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
25903         Define to zero.
25904
25905 1999-07-21  Michael Meissner  <meissner@cygnus.com>
25906
25907         * print-rtl.c (print_rtx): Print the names of the virtual
25908         registers.
25909
25910 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
25911
25912         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
25913         introduced in previous delta.
25914
25915 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25916
25917         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
25918         to avoid name clash.
25919
25920 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25921
25922         * c-lex.c (yylex) : Correct the test for overflow when lexing
25923         integer literals.
25924
25925 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
25926
25927         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
25928         (adjust_priority): Always call ADJUST_PRIORITY.
25929         (schedule_insn): Only put insns into the ready at cost 0.
25930         (schedule_block): Remove redundant initial sort.  Give clock_var
25931         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
25932         is not 0.
25933         * tm.texi (MD_SCHED_REORDER): Update docs.
25934
25935         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
25936         * sparc.c (ultra_reorder_called_this_block): Delete.
25937         (ultrasparc_sched_init): Don't set it.
25938         (ultrasparc_sched_reorder): Don't check it.
25939
25940 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
25941
25942         * rs6000.h (struct rs6000_args): Add sysv_gregno.
25943         * rs6000.c (init_cumulative_args): Init sysv_gregno.
25944         (function_arg_boundary): Align DFmode.
25945         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
25946         to get fp reg and stack overflow correct.
25947         (function_arg): Likewise.
25948         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
25949         (setup_incoming_varargs): Restructure for ABI_V4; use
25950         function_arg_advance to skip final named argument.
25951         (expand_builtin_saveregs): Properly unskip the last integer arg
25952         when doing varargs.  Adjust overflow location calculation.
25953
25954         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
25955         explicitly unsigned.
25956         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
25957         (__VA_GP_REGSAVE): Similarly.
25958         (__va_longlong_p): Delete.
25959         (__va_arg_type_violation): New declaration.
25960         (va_arg): Restructure.  Flag promotion errors.  Align double.
25961         TFmode passed by reference.
25962
25963         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
25964         in the HOST_BITS_PER_WIDE_INT > 32 case.
25965
25966 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
25967
25968         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
25969
25970 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
25971
25972         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
25973         * toplev.c (documented_lang_options): Add -fpreprocessed.
25974         * cpplib.h (struct cpp_buffer): Add preprocessed.
25975         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
25976         (cpp_start_read): Don't expand macros or emit an initial #line
25977         directive if -fpreprocessed.
25978
25979 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
25980
25981         * cpplib.h (struct cpp_buffer): Added manual_pop for
25982         better C++ tokenization.
25983         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
25984         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
25985         * c-common.c (cpp_token): Make non-static.
25986
25987 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25988
25989         * c-common.h: New file.
25990         * c-common.c (permanent_obstack): Delete unused declaration.
25991         (c_global_trees): New array.
25992         (c_common_nodes_and_builtins): New function; split off common code
25993         from init_decl_processing in both c-decl.c and cp/decl.c.
25994         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
25995         c_global_trees and accessor macros defined in c-common.h.
25996         Include c-common.h.
25997         * c-decl.c: Delete definitions for tree nodes that were replaced by
25998         c_global_trees.
25999         (init_decl_processing): Build void_list_node.
26000         Call c_common_nodes_and_builtins; delete code to generate the common
26001         builtins here.
26002         * objc/objc-act.c (build_module_descriptor): Rename variable
26003         void_list_node to avoid clash with c-common.h.
26004
26005         * Makefile.in: Update dependencies.
26006         * objc/Make-lang.in: Likewise.
26007
26008 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
26009
26010         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
26011         (UNIQUE_SECTION_P): Likewise.
26012         (UNIQUE_SECTION): Likewise.
26013
26014 1999-07-19  Linas Vepstas  <linas@linas.org>
26015
26016         * config/i370/README: New file.
26017         * config/i370/linux.h: New file.
26018         * config/i370/mvs.h: New file.
26019         * config/i370/oe.h: New file.
26020         * config/i370/t-linux: New file.
26021         * config/i370/t-mvs: New file.
26022         * config/i370/t-oe: New file.
26023         * config/i370/x-oe: New file.
26024         * config/i370/xm-linux.h: New file.
26025         * config/i370/xm-mvs.h: New file.
26026         * config/i370/xm-oe.h: New file.
26027
26028         * i370.c (label_node_t): Add first_ref_page, label_addr,
26029         label_first_ref, label_last_ref members.
26030         (mvs_need_base_reload): Renamed from mvs_label_emitted.
26031         (MAX_MVS_LABEL_SIZE): Define.
26032         (MAX_LONG_LABEL_SIZE): Define.
26033         (alias_node_t, alias_anchor, alias_number): New.
26034         (mvs_function_table): Reorder for EBCDIC.
26035         (ascebc, ebcasc): Unconditionally define.
26036         (i370_branch_dest, i370_branch_length): New functions.
26037         (i370_short_branch, i370_label_scan): New functions.
26038         (mvs_get_label): Renamed from mvs_add_label.  Search for
26039         an existing label before creating a new one.
26040         (mvs_add_label): New function.
26041         (mvs_get_label_page): New function.
26042         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
26043         over the entire list.
26044         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
26045         (mvs_check_page) [TARGET_ELF_ABI]: New function.
26046         (mvs_add_alias, mvs_need_alias): New functions.
26047         (mvs_get_alias, mvs_check_alias): New functions.
26048         (handle_pragma): New function.
26049         (mvs_function_check): New function.
26050         (unsigned_jump_follows_p): Search harder.
26051         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
26052         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
26053         * i370.h (TARGET_VERSION): Delete.
26054         (CPP_SPEC, CPP_PREDEFINES): Delete.
26055         (mvs_label_emitted): Delete.
26056         (TARGET_EBCDIC): Delete.
26057         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
26058         (HANDLE_PRAGMA): Define.
26059         (HARD_REGNO_NREGS): Handle complex modes.
26060         (HARD_REGNO_MODE_OK): Likewise.
26061         (CLASS_MAX_NREGS): Likewise.
26062         (RET_REG): Likewise.
26063         (EXTRA_CONSTRAINT): Define.
26064         (RETURN_IN_MEMORY): True for DImode.
26065         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
26066         (FUNCTION_PROFILER): Delete.
26067         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
26068         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
26069         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
26070         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
26071         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
26072         (ASM_FILE_START): Add "RMODE ANY".
26073         (ASM_OUTPUT_EXTERNAL): Check for aliases.
26074         (ASM_GLOBALIZE_LABEL): Likewise.
26075         (ASM_OUTPUT_LABELREF): Likewise.
26076         (ASM_OUTPUT_COMMON): Likewise.
26077         (PRINT_OPERAND): Handle 'K', 'W', default.
26078         (PRINT_OPERAND_ADDRESS): New.
26079         (Lots of defines): Add support for TARGET_ELF_ABI.
26080         * i370.md (attr length): New.  Define for all patterns.
26081         (*): Lots of tweeks to assembly output and constraints.
26082
26083 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
26084
26085         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
26086         Disable patterns performing SImode comparisons with SImode values
26087         if TARGET_POWERPC64 and instruction does not sign-extend or does
26088         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
26089         differ for signed quantities.
26090         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
26091         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
26092         (decrement_and_branch_on_count): Add 64-bit variant.
26093
26094 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26095
26096         * final.c (output_asm_insn): When searching for the matching string
26097         for a given dialect, don't run past the end of the list of
26098         alternatives if there are fewer alternatives in the template than
26099         dialects.
26100
26101 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
26102
26103         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
26104         Removed paragraph about compression of files and size limitation,
26105         duplicated in the FAQ.  Use gcc-patches for posting patches.
26106         * gcc.c (main): Updated URL with bug reporting instructions to
26107         gcc.gnu.org.  Removed e-mail address.
26108         * system.h (abort): Likewise.
26109
26110 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26111
26112         * Makefile.in (stmp-multilib-sub): Make the files extracted
26113         from $(LIBGCC1) writable.
26114
26115 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
26116
26117         * config/arm/aout.h: Reformat for improved readability.
26118
26119         * config/arm/arm.h: Reformat for improved readability.
26120         Replace uses of fprintf with asm_fprintf where appropriate.
26121         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
26122         function declaration assembler actions.
26123         (NUM_INTS): New macro: Convert from bytes to words.
26124         (NUM_REGS): New macro: Compute number of registers required to
26125         hold a quanitity of tyep MODE.
26126         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
26127         types.
26128         (NUM_ARG_REGS): New macro: The number of argument registers
26129         available.
26130         (ARG_REGISTER): New macro: Compute the register number of the Nth
26131         argument register.
26132         (LAST_ARG_REGNUM): New macro: The number of the last argument
26133         register.
26134         (SP_REGNUM): New macro: Register number of the stack pointer.
26135         (FP_REGNUM): New macro: Register number of the frame pointer.
26136         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
26137         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
26138         CUMULATIVE_ARGS so that it counts registers not bytes.
26139
26140         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
26141         TARGET_INTERWORK.
26142         Replace uses of fprintf with asm_fprintf where appropriate.
26143         (output_ascii_pseudo_op): Replace with version from thumb.c
26144
26145         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
26146
26147         * config/arm/elf.h (CPP_PREDEFINES): Replace with
26148         SUBTARGET_CPP_SPEC.
26149         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
26150         (ASM_FILE_START): Emit ASM_APP_OFF.
26151
26152 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
26153
26154         * pa.c (compute_frame_size): Round frame according to
26155         STACK_BOUNDARY rather than a hardwired value.
26156
26157         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
26158
26159         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
26160         of "1".
26161         * configure: Rebuilt.
26162
26163         * configure.in (hppa*-*-linux*): New configuration.
26164         * configure: Rebuilt.
26165         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
26166         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
26167         * pa/pa-linux.h: New file.
26168         * pa/t-linux: New file.
26169         * pa/xm-linux.h: New file.
26170
26171         * pa.c (hppa_legitimize_address): Change references from SImode to
26172         either Pmode or word_mode as appropriate.
26173         (emit_move_sequence, store_reg, load_reg): Likewise.
26174         (set_reg_plus_d, hppa_expand_prologue): Likewise.
26175         (output_mul_insn): Likewise.
26176         * pa.h (PROMOTE_MODE): Likewise.
26177         (INITIALZE_TRAMPOLINE): Likewise.
26178         (Pmode): Define to word_mode.
26179
26180         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
26181         value of 4.  Allocate 8 bytes for each FP register save.
26182         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
26183         value of 4.
26184         (hppa_expand_prologue): Likewise.
26185         * pa.h (PROMOTE_MODE): Likewise.
26186         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
26187         (FUNCTION_ARG_BOUNDARY): Likewise.
26188
26189         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
26190
26191         * pa.c (out_of_line_prologue_epilogue): Delete.
26192         (override_options): Remove -mspace related code.
26193         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
26194         (compute_frame_size): Only allocate space for register that
26195         actually need to be saved.
26196         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
26197         (TARGET_SWITCHES): Remove -mspace, -mno-space
26198         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
26199         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
26200         * pa/ee.asm, pa/ee_fp.asm: Delete.
26201
26202         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
26203
26204         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
26205         directive in column zero.
26206
26207 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
26208
26209         * m68k.c (output_function_prologue): Fix computation of save mask
26210         when generating PIC code.
26211
26212 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
26213
26214         * tree.c (build_type_attribute_variant): Move current_obstack restore
26215         after build_qualified_type call.
26216
26217 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
26218
26219         * configure.in: Use t-iris6, even with GNU LD.
26220         * config/mips/iris6gld.h: Fix typo in linker spec.
26221         * config/mips/t-iris6gld: Remove.
26222
26223 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
26224
26225         * rs6000.md (insv, extzv): Remove SImode dependence in named
26226         patterns.  Explicitly generate DImode RTL if PowerPC64 and
26227         operand is DImode.
26228         (insvdi): Reverse start and size in instruction template.
26229
26230 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
26231
26232         * invoke.texi: Typo fixes.
26233
26234 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
26235
26236         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
26237         handle at this time instead of silently generating incorrect code.
26238         (gen_imagpart): Likewise.
26239
26240         * reload.c (find_reloads): Emit a USE for a pseudo register without
26241         a hard register if we could not create an optional reload for the
26242         pseudo.
26243
26244 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26245
26246         * c-typeck.c (output_init_element, process_init_element):
26247         When advancing constructor_unfilled_fields for a RECORD_TYPE,
26248         check for nameless bit fields.
26249
26250 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
26251
26252         * regclass.c (scan_one_insn): Notice subregs that change the
26253         size of their operand.
26254         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
26255
26256 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
26257
26258         * configure.in (alpha*-*-*): Include alpha/t-ieee.
26259         * configure: Rebuilt.
26260         * alpha/t-ieee: New file.
26261
26262 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
26263
26264         * rs6000.c (find_addr_reg): Do not select r0 as an address
26265         register.
26266
26267 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
26268
26269         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
26270
26271 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
26272
26273         * rs6000.md (movsf): Do not force easy FP constants into memory.
26274
26275         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
26276         immed_double_const to ensure they are properly truncated then
26277         sign extended.
26278
26279 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
26280
26281         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
26282         always unless NO_DEBUG is used.  Compile this code
26283         unconditionally.
26284         (replace_symbols_in_block): Compile it unconditionally.
26285
26286 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
26287
26288         * configure.in (i?86-*-elf*): New target.
26289         * configure: Rebuilt.
26290         * i386/i386elf.h, i386/t-i386elf: New files.
26291
26292 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
26293
26294         * toplev.c (main): Don't complain about saying -gdwarf.
26295         (rest_of_compilation): Remove redundant code.
26296
26297 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
26298
26299         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
26300
26301 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
26302
26303         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
26304         "Li960R:", to avoid name clash.
26305
26306 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26307
26308         * loop.c (check_dbra_loop): When reversing a loop, delete all
26309         REG_EQUAL notes referencing the reversed biv except those which are
26310         for a giv based on it.
26311
26312 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
26313
26314         * version.c: Drop "gcc-" prefix from version #.
26315
26316 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
26317
26318         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
26319         the label if we're being verbose.
26320
26321 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
26322
26323         * m68k.c (output_function_prologue): Add pic register to mask
26324         if live and flag_pic.
26325         (output_function_epilogue): Likewise.
26326
26327 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
26328
26329         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
26330         directives in column zero.
26331
26332         * pa/elf.h (ASM_FILE_START): Define.
26333         * pa/som.h (ASM_FILE_START): Include .level directives.
26334         * pa/hpux10.h (ASM_FILE_START): Delete.
26335         * pa/hpux11.h (ASM_FILE_START): Delete.
26336
26337         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
26338
26339 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26340
26341         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
26342         when reload_out equals reload_in.
26343
26344 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
26345
26346         * invoke.texi (Spec Files): New node: Describe the contents of
26347         spec files.
26348
26349 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
26350
26351         * invoke.texi (DEC Alpha Options): Put @end table at
26352         beginning of line, to avoid confusing texi2html.
26353
26354 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
26355
26356         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
26357         introduced in previous delta.
26358
26359 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26360
26361         * reload1.c (gen_reload): When synthesizing a 3 operand add
26362         sequence, improve test for when to reload OP1 into the reload
26363         register instead of OP0.
26364
26365 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
26366
26367         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
26368
26369 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
26370
26371         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
26372         string literal.
26373
26374 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
26375
26376         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
26377         (va_dcl): Use __builtin_va_alist_t.
26378
26379 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
26380
26381         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
26382         on the permanent_obstack.
26383         * dwarfout.c (output_type): Likewise.
26384
26385 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26386
26387         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26388         Merged from c-typeck.c and cp/typeck.c.
26389         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26390         Merged into c-common.
26391
26392 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
26393
26394         * c-lex.c (errorcount): Declare it.
26395         (finish_parse): Update errorcount when using CPPLIB.
26396
26397 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
26398
26399         * fixinc/inclhack.def(end_else_label): Double the backslash so
26400         sed gets a chance to see it.
26401         * fixinc/inclhack.sh: regen
26402         * fixinc/fixincl.x: regen
26403
26404 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
26405
26406         Add framework to support armv5 architecture when it becomes
26407         available:
26408
26409         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
26410         (arm_arch5): New variable.
26411         (all_architectures): Add armv5 line.
26412         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
26413         -march=armv5 is specified on the command line.
26414         (arm_arch5): Export this variable.
26415         * invoke.texi: Document new string accepted by -march= switch for
26416         ARM ports.
26417
26418         * config/arm/arm.h: Replace use of constant 12 as a register
26419         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
26420         * config/arm/arm.c: Replace use of constant 12 as a register
26421         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
26422
26423         * config/arm/elf.h: Tidy up.
26424         * config/arm/coff.h: Tidy up.
26425
26426 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
26427
26428         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
26429         * gcc/config/mips/t-iris6gld: New file.
26430         * gcc/config/mips/iris6gld.h: Likewise.
26431
26432 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26433
26434         * c-decl.c (widest_integer_literal_type_node,
26435         widest_unsigned_literal_type) : New.
26436         (init_decl_processing): Handle/use the two new types.
26437         * c-common.c (type_for_size,type_for_mode) : Same.
26438         * c-lex.c (yylex) : Same.
26439         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26440         Same.
26441         * c-tree.h (widest_integer_literal_type_node,
26442         widest_unsigned_literal_type) : New.
26443
26444 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
26445
26446         * dwarfout.c (field_byte_offset): Correctly compute the object's
26447         byte offset for the first bit of a field which crosses an alignment
26448         boundary on a !BYTES_BIG_ENDIAN target.
26449
26450 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
26451
26452         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
26453         ntohs.
26454
26455 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
26456                           Jeff Law <law@cygnus.com>
26457
26458         * ginclude/varargs.h (va_dcl): Use word_mode for type of
26459         __builtin_va_list.
26460
26461         * except.c: Include intl.h.
26462         (expand_eh_return): Set current_function_cannot_inline.
26463         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
26464         * function.h (struct function): Add eh_return_stub_label.
26465         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
26466         * Makefile.in (except.o): Depend on intl.h.
26467
26468 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
26469
26470         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
26471         same as offsettable in cases 1 and 2.
26472
26473 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
26474
26475         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
26476         (extlh, extwh): Likewise.
26477
26478 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26479
26480         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
26481
26482 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
26483
26484         * configure.in: Add arm-pe and thumb-pe targets.
26485         * configure: Regenerate.
26486
26487         * thumb.c (arm_naked_function_p): New function: Determines if
26488         a function is naked (has no gcc generated prologue/epilogue).
26489         (is_called_in_ARM_mode): Return true if the func has the
26490         interfacearm attribute.
26491         (output_return): Do not generate a return for naked functions.
26492         (thumb_function_prologue): Do not generate a prologue for
26493         naked functions.
26494         (thumb_expand_prologue): Do not generate a prologue for naked
26495         functions.
26496         (thumb_expand_epilogue): Do not generate an epilogue for naked
26497         functions.
26498         (arm_valid_machine_decl_attribute): New function, copied from
26499         arm.c:  Permit naked and interfacearm attributes.
26500
26501         * config/arm/pe.c: New file: Support code for arm-pe target.
26502         * config/arm/pe.h: New file: Header file for arm-pe target.
26503         * config/arm/tpe.h: New file: Header file for thumb-pe target.
26504         * config/arm/t-thumb-pe: New file: Makefile fragment for
26505         thumb-pe target.
26506
26507 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
26508
26509         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
26510         -fPIC or -fpic is specified.
26511
26512 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
26513
26514         * expr.c (emit_block_move): Use copy_to_mode_reg for
26515         !TARGET_MEM_FUNCTIONS case too.
26516
26517         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
26518         appropriate.
26519         * configure: Rebuilt.
26520         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
26521         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
26522         definitions made redundant by dbxelf.h inclusion.  Delete
26523         lots of definitions related to assembly output that are
26524         specific to the SOM object format.
26525         * pa.c (output_function_prologue): Do not emit the function's
26526         name for OBJ_ELF.
26527         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
26528         * pa-pro.h: Deleted.
26529         * som.h: New file with SOM specific definitions.
26530         * elf.h: New file with ELF specific definitions.
26531
26532         * elfos.h (const_section): Output a tab before assembler directives.
26533         (ctors_section, dtors_section): Likewise.
26534         (ASM_OUTPUT_SECTION_NAME): Likewise.
26535
26536         * pa/pa1.h: Delete unused file.
26537
26538 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
26539
26540         * configure.in (hppa*-hp-hpux11*): New configuration.
26541         * configure: Rebuilt.
26542         * pa/pa-hpux11.h: New file.
26543         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
26544         command line.
26545
26546         * mips.md (leasi, leadi): New patterns.
26547
26548         * expr.c (emit_block_move): Properly handle case where one of the
26549         block move arguments has a queued increment or decrement.
26550         (clear_storage): Similarly.  Fix formatting goof.
26551
26552 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
26553
26554         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
26555         semicolon from the BSD VA_LIST replacement expression.
26556
26557         * fixinc/inclhack.sh: regen
26558         * fixinc/fixincl.x: regen
26559
26560         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
26561         now use the fixincl program.
26562
26563 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
26564
26565         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
26566         case.  Also make the PIC register call_used.
26567
26568         * m68k.h (FINALIZE_PIC): Delete.
26569         * m68k.c (finalize_pic): Delete.
26570
26571 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
26572
26573         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
26574         to memory.
26575
26576 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
26577
26578         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
26579
26580 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
26581
26582         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
26583
26584 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
26585
26586         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
26587
26588 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
26589
26590         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
26591
26592 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
26593
26594         * rs6000.c (output_toc): Always use hex values for floating-point
26595         constants.  Store single-precision values in upper-half of TOC
26596         entry in 64-bit mode.
26597         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
26598         to final constraints.
26599         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
26600         (fctiwz): Improve accuracy of RTL for pattern.
26601
26602 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26603
26604         * expr.c (expand_expr): Allow RTL_EXPR's through the
26605         MAX_INTEGER_COMPUTATION_MODE checks.
26606
26607 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
26608
26609         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
26610         such that MASK_SUPPORT_ARCH is not negative.
26611
26612 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
26613
26614         * loop.c (verify_dominator): Properly handle ADDR_VEC and
26615         ADDR_DIFF_VEC insns that appear inside loops.
26616
26617 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
26618                           Jeff Law <law@cygnus.com>
26619
26620         * rs6000.md (movdf_hardfloat32): Revert previous patch.
26621         Handle LO_SUM the same as offsettable in cases 1 and 2.
26622         * rs6000.c (find_addr_reg): Revert previous patch.
26623
26624 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
26625
26626         * system.h (strstr): New external function declaration.
26627         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
26628         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
26629         * config.in, configure: Rebuilt.
26630
26631 1999-06-24  Tom Tromey  <tromey@cygnus.com>
26632
26633         * gcc.c (main): Read user-specified specs files after computing
26634         additional startfile_prefixes.
26635
26636 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
26637
26638         Revert these two patches:
26639
26640         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26641         * loop.c (strength_reduce): When doing biv->giv conversion, update
26642         reg note of NEXT->insn.
26643
26644         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26645         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26646         reg_biv_class.
26647         (recombine_givs): Set ix field after sorting.
26648
26649 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26650
26651         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
26652         for the parts of an UNSPEC / UNSPEC_VOLATILE.
26653
26654 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
26655
26656         *fixinc/inclhack.def:  Add fix development commentary
26657         (read_ret_type): reactivate and add selection clause
26658         (zzz_*): tweak output file name to match what is used in hackshell.tpl
26659         *fixinc/{fixincl.x|inclhack.sh}: regen
26660
26661 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
26662
26663         * expr.c (expand_expr): STRIP_NOPS before checking against
26664         MAX_INTEGER_COMPUTATION_MODE
26665         (check_max_integer_computation_mode): Likewise.
26666
26667 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
26668
26669         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
26670
26671 1999-06-22  Jim Wilson  <wilson@cygnus.com>
26672
26673         * expr.c (store_expr): When target is a promoted subreg, return a
26674         promoted subreg as a result.
26675
26676 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
26677
26678         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
26679         coding standards.
26680         (dwarf2out_define): Mark unused parameters appropriately.
26681         (gen_unspecified_parameters_die): Ditto.
26682         (gen_subprogram_die): Fix signed/unsigned warnings.
26683         (gen_variable_die): Ditto.
26684
26685 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
26686
26687         * fixinc/inclhack.def(end_else_label): combined else_label
26688         and endif_label and fixed the sed expression.
26689         *fixinc/{fixincl.x|inclhack.sh}: regen
26690
26691 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
26692
26693         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
26694         'x' when handling non-offsettable addresses
26695
26696 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
26697
26698         * final.c (shorten_branches): Don't try to split an insn that has
26699         been deleted.
26700
26701 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
26702
26703         * config/mips/mips.c (symbolic_expression_p): New function.
26704         (mips_select_rtx_section): Put symbolic expressions in the
26705         data section, not the read-only data section.
26706
26707 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
26708
26709         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
26710
26711 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
26712
26713         * collect2.c (main): Log frame table count.
26714         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
26715         (scan_prog_file) [COFF]: Handle frame tables.
26716
26717         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
26718         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
26719         * alpha/elf.h: Undef them again.
26720         * alpha/vms.h: Remove their definitions.
26721
26722 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26723
26724         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
26725         remove the clobber of r0 and change the REG_UNUSED note to
26726         REG_INC.
26727
26728 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
26729
26730         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
26731         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
26732         fits in HOST_WIDE_INT and one uses union to access a long constant
26733         as double.
26734
26735 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
26736
26737         * sparc.c (sparc_override_options): Don't allow profiling for
26738         code models other than medlow.
26739         (sparc_function_profiler): New function from old FUNCTION_PROFILER
26740         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
26741         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
26742         (sparc_block_profiler): Likewise.
26743         (sparc_function_block_profiler_exit): Likewise.
26744         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
26745         (FUNCTION_BLOCK_PROFILER): Likewise.
26746         (BLOCK_PROFILER): Likewise.
26747         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
26748         (MCOUNT_FUNCTION): New.
26749         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
26750         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
26751         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
26752         (MCOUNT_FUNCTION): New.
26753         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
26754         (BLOCK_PROFILER): Delete.
26755         (MCOUNT_FUNCTION): New.
26756
26757 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
26758
26759         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
26760
26761 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
26762
26763         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26764         Add the macros.
26765
26766         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26767         Ditto.
26768
26769         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26770         Ditto.
26771
26772         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26773         Ditto.
26774
26775 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
26776
26777         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
26778         types.
26779
26780 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
26781
26782         * i386/djgpp.h (LIB_SPEC): New.
26783         (STARTFILE_SPEC): New.
26784
26785         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
26786
26787 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
26788
26789         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
26790         compiler flags.
26791
26792         * system.h (WSTOPSIG): New macro.
26793
26794 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26795
26796         * c-pragma.c (push_alignment): Don't ignore alignments greater than
26797         4 bytes.
26798         (insert_pack_attributes): Take into account member natural
26799         alignment.
26800
26801         * i386/winnt.c (exports_head): New static variable.
26802         (i386_pe_record_exported_symbol): New function.
26803         (i386_pe_asm_file_end): Use.
26804         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
26805         symbols to be emitted at end of assembly.
26806         (ASM_DECLARE_OBJECT_NAME): Likewise.
26807         (ASM_DECLARE_FUNCTION_NAME): Likewise.
26808
26809         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
26810         -iwithprefix.
26811
26812 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
26813
26814         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
26815         in last change.
26816
26817 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
26818
26819         * haifa-sched.c (sched_analyze_1): Use free_list instead of
26820         zapping reg_last_uses directly.
26821         (sched_analyze_2, sched_analyze_insn): Likewise.
26822         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
26823
26824 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
26825
26826         * rs6000.md (movdf_hardfloat32): Use worst case insn length
26827         attributes for cases 1 and 2.
26828
26829 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
26830
26831         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
26832         instead of set.
26833
26834 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
26835
26836         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
26837
26838 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
26839
26840         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
26841         PIC_OFFSET_TABLE_REGNUM for general alloaction.
26842         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
26843         must be stacked if it is used for PIC accesses.
26844         * arm.c (use_return_insn): Handle PIC register specially.
26845         (output_return_instruction): Likewise.
26846         (output_func_{prologue,epilogue}): Likewise.
26847         (output_expand_prologue): Likewise.
26848
26849         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
26850         (*strsi_predec): Renamed from *strqi_predec.
26851         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
26852         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
26853
26854         * arm.c (arm_override_options): Remove warning about PIC code
26855         not being supported.
26856
26857 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
26858
26859         * rs6000.c (find_addr_reg): New function.
26860         * rs6000.h (find_addr_reg): Declare.
26861         (offsettable_addr_operand): Delete.
26862         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
26863         from and stores to GPRs.
26864
26865 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
26866
26867         * alpha.c (alpha_expand_block_move): Use get_insns rather than
26868         gen_sequence as argument to emit_no_conflict_block.
26869
26870 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26871
26872         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
26873         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
26874         *fixinc/fixincl.x: regen
26875         *fixinc/inclhack.sh: regen
26876
26877 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
26878
26879         * added support for -mpcrel (PC relative addressing for m68k)
26880         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
26881         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
26882         * m68k.c (print_operand_address): Handle 32-bit PIC case.
26883         (comments for general_src_operand): Add some explanation
26884         about EXTRA_CONSTRAINTS.
26885         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
26886         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
26887         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
26888         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
26889         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
26890         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
26891         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
26892         if not already set.
26893         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
26894         * m68k.h (TARGET_PCREL): New target flag.
26895         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
26896         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
26897         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
26898         contains a SYMBOL_REF.  Relax this constraint during reload, since
26899         we want to use the predicates, not reload's built-in concept of a
26900         valid memory address, to control what insns need reloading.
26901         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
26902         operands (essentially 'g', 'm', and 's' under normal circumstances).
26903         * m68k.c (print_operand): Cause printing of pc-relative addresses
26904         to include pc register.
26905         (print_operand_address): Ditto.
26906         (general_src_operand): Accept operands that are not only
26907         general_operands, but are also valid when used as a pc-relative
26908         source.
26909         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
26910         (memory_src_operand): Similar, for memory_operands.
26911         (pcrel_address): New predicate to accept the special case of a
26912         pc-relative address.
26913         * m68k.md (many patterns): Rewrite common SImode, HImode, and
26914         QImode insns to accept *_src_operand instead of *_operand where
26915         pc-relative operands can fit.  For example, a pc-relative operand
26916         can be used as a memory source operand for addsi3, but not as a
26917         memory destination.
26918         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
26919
26920 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
26921
26922         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
26923         .thumb_set pseudo op to mark aliases of thumb functions.
26924
26925 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
26926
26927         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
26928         preference to ASM_OUTPUT_DEF, if it is defined.
26929
26930         * tm.texi: Document new, optional target macro
26931         ASM_OUTPUT_DEF_FROM_DECLS.
26932
26933 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26934
26935         * fixincludes: ISCNTL patch
26936         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
26937         (dgux_int_varargs): new for DG/UX
26938         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
26939
26940 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
26941
26942         * invoke.texi (ia32 options): Fix typo.
26943
26944 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26945
26946         * loop.c (strength_reduce): When doing biv->giv conversion, update
26947         reg note of NEXT->insn.
26948
26949 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
26950
26951         * loop.c (move_movables): Note issues with replacing REGs with
26952         SUBREGs.
26953         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
26954
26955 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
26956
26957         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
26958
26959         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
26960         the reference to `mcount' was not correct for the ELF on FreeBSD.
26961
26962 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26963
26964         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26965         reg_biv_class.
26966
26967         (recombine_givs): Set ix field after sorting.
26968
26969 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
26970
26971         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
26972         to safe to extract a subword out of a REG.
26973
26974 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26975
26976         * sh.md (mulsi3): Don't add a no-op move at the end.
26977
26978 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26979
26980         * cse.c (cse_insn): Don't put hard register source into tables for
26981         the last insn of a libcall.
26982
26983 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26984
26985         * loop.c (strength_reduce): Insert sets of derived givs at every
26986         biv increment, even if it's the only one.
26987
26988 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
26989
26990         * dwarfout.c (add_incomplete_type): New fn.
26991         (output_type): Call it.
26992         (retry_incomplete_types): New fn.
26993         (dwarfout_finish): Call it.
26994
26995         From Eric Raskin <ehr@listworks.com>:
26996         (output_type): Output types for bases.
26997
26998 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
26999
27000         * mips.c (mips_output_conditional_branch): Add `break'
27001         between `default' label and `close braces'.
27002
27003 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
27004
27005         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
27006         specifications and make it realistic.
27007         (LIB_SPEC): Likewise.
27008
27009 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
27010
27011         * config/mips/mips.c (mips_secondary_reload_class): Check for
27012         (PLUS (SP) (REG)) and return appropriate register class.
27013         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
27014         Handle (PLUS (SP) (REG)).
27015         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
27016         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
27017         of emit_insn for tablejump.
27018
27019 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
27020
27021         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
27022         asm_fprintf format string by itself.
27023         (output_function_profiler): Likewise.
27024
27025 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
27026
27027         * combine.c (simplify_logical, case AND): Only call
27028         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
27029         or the constant is positive.
27030
27031 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
27032
27033         * configure.in: Fix typo in rs6000-ibm-aix4 case.
27034         * configure: Regenerate.
27035
27036 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
27037
27038         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
27039         require a sub-version #.
27040         * configure: Rebuilt.
27041
27042 1999-06-14  Robert Lipe  (robertlipe@usa.net)
27043
27044         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
27045
27046 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
27047
27048         * c-typeck.c (process_init_element): Detect excess elements in
27049         char array initializer.
27050
27051 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
27052
27053         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
27054
27055 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27056
27057         * invoke.texi (Option Summary): Add -fpermissive flag.
27058
27059 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
27060
27061         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
27062         that require PIC code sequences.
27063
27064 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
27065
27066         * configure.in: Add new target: thumb-elf.
27067         * configure: Regenerate.
27068         * config/arm/t-thumb-elf: New file: Makefile fragment for
27069         thumb-elf build.
27070         * config/arm/telf.h: New file: Header file for thumb-elf
27071         build.
27072
27073 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
27074
27075         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
27076         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
27077         initializers is some circumstances.
27078
27079         * fixinc/inclhack.def (endif_label): Add additional selector for
27080         more bogus stuff after #endif statements.
27081         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
27082
27083 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27084
27085         * i386/cygwin.h (SET_ASM_OP): Define.
27086
27087 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27088
27089         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
27090
27091 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27092
27093         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
27094         latter.
27095
27096         * sh.md (ic_invalidate_line_i): Remove second alternative.
27097
27098 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27099
27100         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
27101         test for the presence of valid prototypes.  Delete bypass expr.
27102         (ioctl_fix_ctrl): Correct the selection expression.
27103         (no_double_slash): Correct quoting rules
27104         *fixinc/fixincl.x: regen
27105         *fixinc/inclhack.sh: regen
27106
27107 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
27108
27109         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
27110
27111 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27112
27113         * rs6000.md (movsi_got_internal_mem): Delete.
27114         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
27115         (GOT_TOC_REGNUM): Delete.
27116         (PIC_OFFSET_TABLE_REGNUM): Define.
27117         (FINALIZE_PIC): Disable.
27118         * rs6000.c (rs6000_got_register): New code for fixed pic register.
27119         (rs6000_replace_regno): Delete.
27120         (rs6000_finalize_pic): Likewise.
27121         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
27122
27123 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27124
27125         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
27126         is a note; use <= for the compare; advance P while it is
27127         a NOTE.
27128
27129 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
27130
27131         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
27132         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
27133
27134         * varasm.c (remove_from_pending_weak_list): Verify t->name
27135         is non-NULL before passing it to strcmp.
27136
27137 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27138
27139         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
27140         the typed arguments are not part of a comment
27141         (ioctl_fix_ctrl): Added a purpose comment
27142         *fixinc/fixincl.x: regenerate
27143         *fixinc/inclhack.sh: regenerate
27144
27145 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
27146
27147         * invoke.texi: Add C4x invocation docs.
27148
27149 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
27150
27151         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
27152         Define new macros.
27153         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
27154         TARGET_EXPOSE_LDP.
27155         (c4x_legitimize_reload_address): New function.
27156         * config/c4x/c4x.md: Update docs.
27157
27158 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
27159
27160         * fixincludes: Avoid removing '.'.
27161         * fixinc/fixinc.svr4: Likewise.
27162         * fixinc/fixinc.winnt: Likewise.
27163         * fixinc/inclhack.tpl: Likewise.
27164         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
27165
27166 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27167
27168         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
27169         pattern.
27170         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
27171
27172 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27173
27174         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
27175         correctly.
27176
27177 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
27178
27179         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
27180         * configure: Regenerate.
27181
27182 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
27183
27184         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
27185         values.
27186
27187 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
27188
27189         * fixinc/inclhack.def (avoid_bool): Also catch
27190         "typedef [unsigned] int bool".
27191         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27192
27193         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
27194         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
27195         * configure: Rebuilt.
27196
27197 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
27198
27199         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
27200         such that we can override its definitions if necessary.
27201         (CPP_SPEC): New define.  Support processor specific predefines via
27202         %(cpp_cpu).
27203         (CC1_SPEC): New define.  Support processor specific compiler
27204         options via %(cc1_cpu).
27205         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
27206         -static.
27207
27208 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27209
27210         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
27211         between sed's -e flag, and the open-quote following it.
27212         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27213
27214 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
27215                           Jeffrey A Law  (law@cygnus.com)
27216
27217         * varasm.c (assemble_start_function): Remove the function
27218         from the pending weak decls list when we define a function.
27219         (assemble_variable): Similarly for variables.
27220         (weak_finish): Ignore items on the list with a NULL name.
27221         (remove_from_ending_weak_list); New function to "remove" an item
27222         from the pending weak declarations list.
27223
27224 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27225
27226         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
27227
27228 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
27229
27230         * c-lex.c (GETC): Redefine to call getch.
27231         (UNGETC): Redefine to call put_back.
27232         (putback_buffer): New structure type.
27233         (putback): New static structure.
27234         (getch): New function.
27235         (put_back): New function.
27236         (yylex): Replace unused bytes from bad multibyte character.
27237
27238 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
27239
27240         * cpplib.c (do_define): Cast `alloca' return value.
27241         (do_include, do_undef, do_pragma): Likewise.
27242         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
27243         values.
27244         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
27245         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
27246
27247 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
27248
27249         * sparc.md (abstf2): This should be an expand.
27250         (split after abstf2_notv9): Fix mode.
27251         (abstf2_hq_v9): New pattern.
27252         (abstf2_v9): Only use when no hard quad.
27253         (absdf2_v9): Fix if target is not the same as source.
27254         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
27255         Add correct output constraints.
27256
27257 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
27258
27259         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
27260         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
27261
27262 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
27263
27264         * mips.h (mips_output_conditional_branch): New function.
27265         (mips_adjust_insn_length): Likewise.
27266         (ASSEMBLER_SCRATCH_REGNUM): New macro.
27267         (ADJUST_INSN_LENGTH): Likewise.
27268         * mips.c (print_operand): Add `F' and `W' for floating-point
27269         comparison opcodes.
27270         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
27271         are now in bytes.
27272         (mips_adjust_insn_length): New function.
27273         (mips_output_conditional_branch): New function.
27274         * mips.md (length): Adjust attribute definition to handle
27275         conditional branches.  Change lengths to bytes, rather than
27276         instructions throughout.  Remove length attribute from
27277         instructions whose length is four bytes, and rely on the default
27278         instead.
27279         (dslot): Fix typo in comment.
27280         Reword conditional branch patterns to use
27281         mips_output_conditional_branch.
27282
27283 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
27284
27285         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
27286         (LIB_SPEC): Likewise.
27287         Link with -lprof1_r for -g/-pg.
27288
27289 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27290
27291         * loop.c (check_dbra_loop): Fix change of Jan 19.
27292
27293 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
27294
27295         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
27296         (STARTFILE_SPEC):  Define, override the svr4.h version.
27297         (ENDFILE_SPEC):  Likewise.
27298
27299 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
27300
27301         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
27302         * fixinc/fixincl.x: Regenerated.
27303         * fixinc/inclhack.sh: Regenerated.
27304
27305 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27306
27307         * sh.c (barrier_align): Don't return early for normal branch/barrier
27308         when optimizing for SH2.
27309
27310 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
27311
27312         * i386/udk.h (LINK_SPEC): Correct linker search path for
27313         system libraries.
27314
27315 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27316
27317         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
27318         (braf_label_ref_operand): Delete.
27319         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
27320         * sh.md (casesi_jump_2): Operand1 is now the inside of a
27321         label_ref, and has no predicate.
27322         The patten has a predicate to guard against invalid substitutions.
27323         (dummy_jump): Delete.
27324         (casesi): Update use of casesi_jump_2.
27325
27326 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27327
27328         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
27329         *fixinc/fixincl.x: regenerate
27330         *fixinc/inclhack.sh: regenerate
27331
27332 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
27333
27334         * dwarf2out.c (add_incomplete_type): New fn.
27335         (gen_struct_or_union_type_die): Call it.
27336         (retry_incomplete_types): New fn.
27337         (dwarf2out_finish): Call it.
27338
27339 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
27340
27341         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
27342         current block starts with a CODE_LABEL and ends with a CALL and
27343         we can not find all the argument setup instructions for the CALL.
27344
27345 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
27346
27347         Revert this change:
27348         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27349         something is a candidate for optimize_bit_field_compare.
27350
27351 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27352
27353         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
27354
27355 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
27356
27357         * alpha.c (override_options): Thinko in last patch.
27358
27359         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
27360         (LIB_SPEC): Recognize -pthread.
27361
27362 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
27363
27364         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
27365         definition in config/arm/coff.h
27366         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
27367
27368 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27369
27370         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
27371         fixes that need "file=xxx\n" prepended before invocation
27372         (start_fixer - new): starting the fixer process is complex enough
27373         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
27374         (process): uses the new routine; omit usage of putenv()
27375         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
27376         * fixinc/fixincl.x: regenerate
27377
27378 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
27379
27380         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
27381         and version #s (1.1 -> 2.96) as needed.
27382         * README.g77: Kill way out of date file in the toplevel directory.
27383
27384 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
27385
27386         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
27387         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
27388         * configure: Rebuilt.
27389         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
27390         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
27391         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
27392         (SWITCH_TAKES_ARG): Likewise.
27393         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
27394         * config/t-freebsd: Moved from config/i386/ so it can used for all
27395         FreeBSD targets.
27396
27397 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
27398
27399         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
27400
27401 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
27402
27403         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
27404         * configure: Rebuilt.
27405
27406 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
27407
27408         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
27409         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
27410         * rs6000/rs6000.c (rs6000_file_start): Use putc.
27411         (rs6000_output_load_toc_table): Same.
27412         (output_prolog, output_mi_thunk): Same.
27413         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
27414         (ASM_GLOBALIZE_LABEL): Use putc.
27415
27416 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
27417
27418         * alpha.md (reload_*_help): New patterns and splitters.
27419         (reload_*): Use them.
27420         (mov[qh]i): Likewise.
27421
27422 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
27423
27424         * cccp.c (handle_directive): Handle backslash-newlines in quoted
27425         strings correctly.
27426
27427 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
27428
27429         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
27430
27431 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
27432
27433         * flow.c (mark_regs_live_at_end, insn_dead_p,
27434         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
27435         and HARD_FRAME_POINTER_REGNUM special treatment if reload
27436         hasn't run or the frame pointer is needed.
27437         * haifa-sched.c (attach_deaths): Likewise.
27438         * sched.c (attach_deaths): Likewise.
27439
27440 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
27441
27442         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
27443         calculate_can_reach_end returns nonzero.
27444
27445         * configure.in (native gas tests): Search for an assembler in the
27446         same manner that the installed compiler will.
27447         * configure: Rebuilt.
27448         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
27449
27450         * alias.c (find_base_term): Improve handling of addresses
27451         constructed from binary operations.
27452
27453 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
27454
27455         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
27456
27457 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
27458
27459         * function.h (cleanup_label, frame_offset): Declare.
27460         (tail_recursion_label, tail_recursion_reentry): Likewise.
27461         (arg_pointer_save_area, rtl_expr_chain): Likewise.
27462         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
27463         (tail_recursion_label, tail_recursion_reentry): Likewise.
27464         (arg_pointer_save_area, rtl_expr_chain): Likewise.
27465
27466 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
27467
27468         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
27469         defined.
27470         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
27471         (MAX_OFILE_ALIGNMENT): Define.
27472
27473 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
27474
27475         * fixincl.c: Replace local include scheme with #includes of
27476         gansidecl.h and system.h.
27477         * procopen.c:  Likewise.
27478         * server.c:  Likewise.
27479
27480 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
27481
27482         * i386/t-dgux (EXTRA_PARTS): Add crti.o
27483         (crti.o): Add build rule and dependencies.
27484         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
27485
27486 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27487
27488         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
27489         (LIB_LINUX_SPEC): Likewise.
27490         (LIB_LINUX_SPEC): Add support for -pthread
27491         (CPP_OS_LINUX_SPEC): Likewise.
27492         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
27493         specified.
27494
27495 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
27496
27497         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
27498         conditional move.
27499         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
27500         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
27501         for IEEE math and CC_FCOMI.
27502         (put_jump_code): No IEEE if CC_FCOMI is set.
27503
27504 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27505
27506         * fold-const.c (fold_truthop): Make the field reference unsigned
27507         when converting a single bit compare.
27508
27509 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27510
27511         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
27512
27513 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
27514
27515         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
27516         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
27517         version did.
27518
27519         * reload.c (push_reload): Do not call remove_address_replacements
27520         when presented with identical optional reloads.
27521
27522 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
27523
27524         * alpha.h (MASK_FIX, TARGET_FIX): New.
27525         (MASK_*): Reorganize constants.
27526         (CPP_AM_FIX_SPEC): New.
27527         (TARGET_SWITCHES): Add FIX.
27528         (EXTRA_SPECS): Likewise.
27529         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
27530         (SECONDARY_MEMORY_NEEDED): Likewise.
27531         (REGISTER_MOVE_COST): Likewise.
27532         * alpha.c (override_options): Add FIX support.  Always use
27533         ALPHA_TP_PROG for ev6.
27534         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
27535         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
27536         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
27537
27538 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
27539
27540         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27541         something is a candidate for optimize_bit_field_compare.
27542
27543 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
27544
27545         * gcc.texi (Passes): Document branch-shortening.
27546         * invoke.texi (Debugging Options): Document the fact that `-dp'
27547         outputs length information for instructions.
27548
27549 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
27550
27551         * flow.c: Revert previous delta.
27552
27553 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
27554
27555         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
27556         FRAME_POINTER_REGNUM.
27557         (mark_set_1): Ditto.
27558         (mark_used_regs): Ditto.
27559
27560 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
27561
27562         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
27563         (GOT_PCREL): New macro.  Define to 1 if not already defined.
27564         * arm/elf.h (GOT_PCREL): Define to 0.
27565         * arm.c (arm_finalize_pic): Take into account the setting of
27566         GOT_PCREL.
27567
27568 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
27569
27570         * output.h (STRIP_NAME_ENCODING): Provide default definition.
27571         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
27572
27573         * flow.c (mark_set_1): Do not record BLKmode stores as dead
27574         store elimination candidates.
27575
27576 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
27577
27578         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
27579         TARGET_GAS.
27580
27581 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
27582
27583         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
27584         Add use of x-aix41-gld.
27585
27586 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
27587
27588         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
27589         (ASM_OUTPUT_DESTRUCTOR): Define.
27590
27591 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
27592
27593         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
27594         last CODE_LABEL in a loop if we have previously passed a jump
27595         to the top of the loop.
27596
27597 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
27598
27599         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
27600         applying Philip's patch.
27601
27602 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
27603
27604         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
27605         are not VAR_DECLs.
27606
27607 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
27608
27609         * loop.c (strength_reduce): Grow reg_single_usage as needed.
27610
27611 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
27612
27613         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
27614         Also remove a useless comment.
27615
27616 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27617
27618         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
27619
27620 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
27621
27622         * collect2.c (main): Only generate import or export file and add
27623         to link arguments if non-empty.  Use xmalloc not alloca.
27624         (write_{export,import}_file): Delete.
27625         (write_aix_file): New function.
27626         (locatelib): Use xmalloc not malloc.
27627         (GCC_OK_SYMBOL): Do not check type if aix64.
27628
27629 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
27630
27631         Based on patch by Scott Bambrough and Pat Beirne:
27632         * config/arm/arm.c (making_const_table): New variable.
27633         * config/arm/arm.h (making_const_table): Declare.
27634         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
27635         appropriate.
27636         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
27637         Keep track of when we are building the constant table.
27638
27639 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
27640
27641         * config/arm/arm.c (arm_override_options): Fix erroneous warning
27642         message.
27643
27644 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
27645
27646         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
27647         defined.
27648
27649 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
27650
27651         * tm.texi (FUNCTION_ARG): Correct description of a stack element
27652         in a PARALLEL.
27653
27654 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
27655
27656         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
27657
27658 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27659
27660         * rs6000.c (output_mi_thunk): Enable full support again.
27661
27662 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27663
27664         * sh.h (BRANCH_COST): Define.
27665
27666 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
27667
27668         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
27669
27670 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
27671
27672         * function.c (assign_stack_local): Align stack slot propertly.
27673         (assign_outer_stack_local): Likewise.
27674
27675 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
27676
27677         * expr.h (lang_expand_constant): Declare.
27678         * toplev.c (lang_expand_constant): Define it.
27679         * varasm.c (output_constant): Use it.
27680
27681 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27682
27683         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
27684         Change function definitions to K&R style.
27685
27686 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27687
27688         * fixinc/fixincl.c: We must not ignore SIGCLD now.
27689
27690 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
27691
27692         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
27693         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
27694         (several places): omit static initialization
27695         (process): use single fd, since only the read fd is used
27696         * fixinc/gnu-regex.c: define 'const' away, if not supported
27697         * fixinc/procopen.c(several places): omit static initialization
27698         * fixinc/server.c: define 'volitile' away, if not supported
27699
27700 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27701
27702         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
27703         asm_fprintf and %L to generate the label name.
27704         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
27705         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
27706
27707 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
27708
27709         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
27710         insn for a conditional jump can not be found.
27711
27712 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
27713
27714         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
27715         on variables in specific sections other than .sbss and .sdata.
27716
27717 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
27718
27719         * stmt.c (expand_return): Call start_cleanup_deferral and
27720         end_cleanup_deferral around conditional code.
27721
27722 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27723
27724         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
27725         filename lists.  Utilizes new "krstr" AutoGen function.
27726         * fixinc/fixincl.x: Rebuilt.
27727
27728 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
27729
27730         * i386.c (output_float_compare): Avoid GNU-C extensions.
27731
27732 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
27733
27734         * version.c: Bump to distinguish mainline tree from the
27735         gcc-2.95 branch.
27736
27737 See ChangeLog.1 for earlier changes.