OSDN Git Service

be2cd8a000a3591aae8959677ba988515b6355f5
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-04-22  Richard Henderson  <rth@cygnus.com>
2
3         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
4         the collected condition is not a constant.
5
6 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
7
8         * diagnostic.h: New file.
9
10         * Makefile.in (diagnostic.o): Depends on diagnostic.h
11
12         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
13         various function prototypes.
14         (diagnostic.h): #include.
15         (struct output_buffer): Move into diagnostic.h.
16         (get_output_prefix): Rename to output_get_prefix.  Export.
17         (init_output_buffer): Export. Break out.  Ajust intialization.
18         (output_space_left, output_append): Export.
19         (output_newline): Rename to output_add_newline.  Export.
20         (output_clear): Nullify additional output_buffer fields.
21         (output_puts): Rename to output_add_string.  Export.
22         (dump_output): Rename to output_flush_on.  Export.
23         (build_location_prefix): Constify return-type.
24         (emit_output_prefix): Rename to output_emit_prefix. Export.
25         (set_real_maximum_length): New function.
26         (output_set_maximum_length): Ditto
27         (output_clear): Ditto.
28         (output_add_character): Ditto.
29         (output_add_integer): Ditto.
30         (output_add_space): Ditto.
31         (output_format): Ditto.
32         (output_printf): Adjust buffer initialization.
33         (vline_wrapper_message_with_location): Ditto.
34         (v_message_with_decl): Ditto.  Adjust call to output_puts
35         and get_output_prefix.
36         (default_print_error_function): Adjust buffer intialization.
37
38 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
39
40         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
41         of VOID_TYPE.
42
43 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
44
45         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
46         of explicit 0.
47
48 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
49
50         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
51         accurate data about SP moves.
52
53 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
54
55         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
56         aliases to AM33 registers.
57
58 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
59
60         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
61         to all EXTENDED bitmaps.
62
63 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
64
65         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
66         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
67         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
68
69 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
70
71         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
72         the operand is not constant.
73
74 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
75
76         * reload.c (find_equiv_reg): Checks all valueno and regno regs
77         as a call-clobbered regs.
78
79 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
80
81         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
82         * rtl.h: Likewise.
83         * rtl.def: Update comment.
84         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
85         * integrate.c (expand_inline_function): Likewise.
86         * profile.c (branch_prob): Likewise.
87         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
88         * print-rtl.c (print_rtx): Likewise.
89         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
90         (reemit_notes): Likewise; also use enum insn_note.
91
92         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
93         (place_field): Properly compute know and actual alignment.
94
95         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
96         in proper format.
97
98         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
99         note for REG1.
100
101 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
102
103         * cpphash.c (struct arg, struct arglist): Const-ify strings.
104         (warn_trad_stringify, duplicate_arg_p): New helper functions.
105         (collect_expansion): Rewrite to scan over a token list.
106         Remove -traditional support.
107         (collect_formal_parameters): Rename to collect_params; rewrite
108         to scan over a token list.
109         (_cpp_create_definition): Adjust to scan a token list.
110         (_cpp_macroexpand): Remove -traditional support.
111         (_cpp_compare_defs): Whitespace is now canonicalized.
112         (comp_def_part): Delete function.
113
114         * cpphash.h: Update prototypes.
115         * cpplex.c (init_token_list): Don't set lineno if there is no
116         buffer.
117         (pedantic_whitespace): New function.
118         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
119         consume a newline.  Use pedantic_whitespace.
120         (_cpp_lex_token): Remove support for -traditional macros.
121         (_cpp_get_define_token): Delete.
122         (_cpp_get_directive_token): Do the real work here.  Use
123         pedantic_whitespace.
124         (_cpp_init_input_buffer): Initialize pfile->directbuf.
125
126         * cpplib.c (get_macro_name): Delete.
127         (do_define): Read the entire line into pfile->directbuf, then
128         feed the token list to _cpp_create_definition.
129         * cpplib.h (HSPACE_BEFORE): new define.
130         (struct cpp_reader): Add a toklist member, "directbuf".
131
132         * predict.c (estimate_probability): New heuristic: if a jump
133         branches around a block with no successors, predict it taken.
134         Disentangle control flow.
135
136 2000-04-20  Richard Henderson  <rth@cygnus.com>
137
138         * loop.c (emit_iv_add_mult): Revert last change.
139
140 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
141
142         * cpplib.h (enum cpp_ttype): Add token types for all
143         punctuators.  Distinguish pp-numbers from valid C numbers.
144         Give some tokens better names.  Initialize from macro.    
145         (struct cpp_name, cpp_token, cpp_toklist): New data   
146         structures.
147         Update prototypes.
148         * cpplex.c (bump_column, expand_name_space,
149         expand_token_space, init_token_list, cpp_output_list,
150         _cpp_scan_line):  New functions.
151         (output_line_command): Add third argument, new line number.
152         * cpphash.h: Update prototypes.
153         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
154         token names.
155
156 2000-04-20  Richard Henderson  <rth@cygnus.com>
157
158         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
159
160 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
161
162         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
163         object pointed to.
164
165 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
166
167         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
168         REG_EQUAL note explaining the calculated value.
169
170         * calls.c (expand_call): Avoid unnecesary precalculation
171         and outgoing parameters space guarding for sibling calls.
172         (store_one_arg): Likewise.
173
174 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
175
176         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
177         (rest_of_compilation): Write sibling dump file and account
178         for time as jump time.
179         * invoke.texi: Update documentation on dump flags.
180
181 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
182
183         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
184
185 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
186
187         * cpphash.c (special_symbol): Represent an empty macro with
188         "\r \r " not just "\r ".
189         (_cpp_macroexpand): Correct condition for the foo ( ) special
190         case.
191         (unsafe_chars): Handle EOF as second argument.
192         (push_macro_expansion): Simplify test for removing escape at
193         end.  Do not trim both escapes if there is no text in between.
194
195 2000-04-19  Jim Blandy  <jimb@redhat.com>
196
197         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
198         of PTR_SIZE, when appropriate.
199
200 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
201
202         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
203         (USE_ENUM_BITFIELDS): Fix typo.
204
205 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
206
207         * stor-layout.c (place_field): Set rli->offset_align properly.
208
209 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
210
211         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
212         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
213         PARM_BOUNDARY): Remove unnecessary casts.
214
215 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
216
217         * calls.c (precompute_arguments): Remove must_preallocate and
218         args_size calls.
219         (expand_call): Update call of precompute_arguments.
220
221         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
222         check_insn_for_givs): Break out from ...
223         (strength_reduce) ... here; use for_every_insn_in_loop to call
224         check_insn_for_givs.
225         * loop.h (for_every_insn_in_loop): Declare.
226         (loop_insn_callback): New type.
227
228 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
229
230         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
231         not nul-terminated.
232
233 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
234
235         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
236         flag_pic and RELOC.
237
238 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
239
240         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
241
242         * configure.in: Delete --disable-cpplib option and all
243         references to cpp_main.
244         * configure: Regenerate.
245         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
246         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
247         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
248         cpp$(exeext).  Add --no-headers to makeinfo command line when
249         generating INSTALL.  Install and uninstall cpp.1 manpage, not
250         cccp.1.
251         * install.texi: Delete all references to cexp.y/cexp.c.
252         Delete ancient instructions for compiling GCC on 3b1.
253         * INSTALL: Regenerate.
254
255         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
256         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
257         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
258         cexp.c/cexp.y.
259         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
260         which is no longer tested anywhere.
261         
262         * cppinit.c (handle_option): Don't run error message through
263         gettext twice.
264
265 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
266
267         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
268         * cpperror.c (hashtab.h): Now include.
269         * cppexp.c (hashtab.h): Likewise.
270         * cpplex.c (hashtab.h): Likewise.
271         * cppfiles.c (hashtab.h): Likewise.
272         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
273         to htab_find_slot_with_hash.
274         * cpphash.c (hashtab.h): Now include.
275         (_cpp_lookup_slot): INSERT is now enum insert_option.
276         * cpphash.h (_cpp_lookup_slot): Likewise.
277         * cppinit.c (hashtab.h): Include earlier.
278         (initialize_builtins): Pass enum to htab_find_slot.
279         * cpplib.c (hashtab.h): Now include.
280         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
281         (do_pragma_poison, do_assert): Likewise.
282         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
283         htab_find_slot_with_hash.
284         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
285         * tree.c (type_hash_add): Likewise.
286         (build1): Minor cleanup.
287
288         * ggc-common.c: Add missing blanks.
289         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
290         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
291
292         * stmt.c (mark_case_node): New function.
293         (mark_case_nesting): Call it.
294
295         * expmed.c (emit_store_flag): If comparing two-word integer
296         with zero, can optimize NE, EQ, GE, and LT.
297
298         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
299         * conflict.c: Minor cleanups.
300         * optabs.c: Add blank line
301         * simplify-rtx.c: Minor cleanups.
302
303 2000-04-18  Stan Cox  <scox@cygnus.com>
304
305         * gengenrtl.c (genlegend): Fix misspelling.
306
307 2000-04-18  Robert Lipe  <robertlipe@usa.net>
308
309         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
310         bitfields of the host compiler are not signed quantities.
311         * config.in: Regenerate.
312         * configure: Regenerate.
313         * system.h (USE_ENUM_BITFIELDS): Added.
314         (ENUM_BITFIELDS): Added.
315         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
316         (SHORT_ENUM_BUG): Deleted.
317         * tree.h (tree_common): Members `code', `mode', `built_in_class', 
318         now ENUM_BITFIELD.
319         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
320         (CODE_FIELD_BUG): Likewise.
321         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
322         (OLD_CC): Likewise.
323         * config/m68k/x-ccur (X_CFLAGS): Likewise.
324
325 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
326
327         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
328         mark is active.
329
330 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
331
332         * cppexp.c (lex): Don't assume tokens are NUL terminated.
333         * cpplib.c (do_include, do_import, do_include_next,
334         read_line_number, detect_if_not_defined): Likewise.
335         * cpphash.c (collect_expansion): Likewise.
336         (special_symbol, _cpp_macroexpand): Check return from
337         cpp_file_buffer.
338         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
339         macros.  Delete all uses.
340
341         * gcc.dg/cpp-mi.c: Add two more test cases.
342         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
343
344 2000-04-17  Richard Henderson  <rth@cygnus.com>
345
346         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
347         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
348
349 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
350
351         * function.c (expand_function_start): Use hard_function_value to
352         compute the RTL to use for DECL_RESULT.
353
354 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
355
356         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
357         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
358          x86_memory_mismatch_stall): New global variables.
359         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
360         alloved; fix load penalties for Athlon.
361         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
362         x86_memory_mismatch_stall): Declare.
363         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
364          TARGET_MEMORY_MISMATCH_STALL): New.
365         * i386.md (athlon scheduling parameters): Fix latencies according to
366         Athlon Optimization Manual.
367         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
368         vector.
369         (fsqrt instruction patterns): Set athlon_decode to direct.
370         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
371         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
372         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
373         and TARGET_PARTIAL_REGISTER_STALL machines.
374         (pushdf_nointeger): New pattern.
375         (pushdf_integer): Rename from pushdf.
376         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
377         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
378
379 2000-04-17  Richard Henderson  <rth@cygnus.com>
380
381         * loop.c (canonicalize_condition): Add WANT_REG argument.
382         Stop the search if we match it.
383         * expr.h (canonicalize_condition): Update decl.
384         * predict.c (expected_value_to_br_prob): Use it.  Track last
385         expected value note.
386         (find_expected_value): Remove.
387
388         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
389
390 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
391
392         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
393         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
394         a plain file.
395         * configure.in: Call AC_FUNC_MMAP_FILE.
396         * configure: Regenerate.
397         * config.in: Regenerate.
398
399         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
400         * fixinc/fixincl.c: Likewise.
401
402 2000-04-17  Richard Henderson  <rth@cygnus.com>
403
404         * builtins.c (expand_builtin_expect): New.
405         (expand_builtin): Call it.
406         * builtins.def (BUILT_IN_EXPECT): New.
407         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
408         * extend.texi: Document it.
409
410         * predict.c (expected_value_to_br_prob): New.
411         (find_expected_value): New.
412         * basic-block.h (expected_value_to_br_prob): Declare.
413         * toplev.c (rest_of_compilation): Invoke it.
414
415         * rtl.h (NOTE_EXPECTED_VALUE): New.
416         (NOTE_INSN_EXPECTED_VALUE): New.
417         * rtl.c (note_insn_name): Update.
418         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
419         cases; handle NOTE_INSN_EXPECTED_VALUE.
420
421 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
422
423         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
424         leaf sibcall delay slot if flag_pic.
425         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
426
427 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
428
429         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
430
431         * fixproto: If fix-header fails, exit with an error.
432
433 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
434
435         * cse.c (struct check_depdendence_data): New.
436         (check_dependence): New function.
437         (invalidate): Use check_depdenence.
438
439 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
440
441         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
442         UNITS_PER_WORD is unsigned.
443
444         * tree.h (struct tree_common): Remove misleading comment.
445
446 2000-04-16  Dave Pitts  <dpitts@cozx.com>
447
448         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
449         message in quotes. Otherwise, IBM's make program treats the '#' as the
450         start of a comment and ignores the remainder of the line.
451
452         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
453         upper case.
454         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
455         * cexp.y (initialize_random_junk): Likewise.
456         * cppfiles.c (find_include_file): Cast alloca return value.
457         * cppinit.c (initialize_standard_includes): Likewise.
458         * cpplib.c (cpp_define, cpp_undef): Likewise.
459         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
460         * final.c (output_asm_insn): Allow for holes in EBCDIC.
461         * fold-const.c (CHARMASK): New.
462         (real_hex_to_f): Use it.
463         * real.c (CHARMASK): New.
464         (etoasc, asctoeg): Use it.
465         (asctoeg): EBCDIC lower case characters preceed upper case.
466
467         * i370.c (mvs_add_label): Change spacing for coding conventions.
468         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
469         outputing case vectors.
470         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
471         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
472         since vector in in the data CSECT.
473         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
474         * i370.md (Many patterns): Put the length in the XL directives.
475         (movdi): Put back STM and MVC in definition.
476         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
477         pattern using the TCA.
478         * oe.h (CPP_SPEC): Added to allow trigraphs.
479         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
480         not support the "long long" type.
481
482 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
483
484         * config/mips/mips-protos.h (mips_legitimate_address_p): New
485         function.
486         (mips_reg_mode_ok_for_base_p): Likewise.
487         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
488         (REG_OK_FOR_INDEX_P): Define unconditionally.
489         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
490         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
491         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
492         that GET_MODE_SIZE is unsigned.
493         (mips_reg_mode_ok_for_base_p): Define.
494         (mips_legitimate_address_p): Likewise.  Adjust now
495         that GET_MODE_SIZE is unsigned.
496         (block_move_loop): Make the number of bytes unsigned.
497         (expand_block_move): Likewise.
498         (function_arg): Make the loop counter unsigned to match the
499         boundary condition.
500
501 2000-04-16  Richard Henderson  <rth@cygnus.com>
502
503         * rtl.h (enum insn_note): New enumeration.  Subsume
504         NOTE_INSN_DELETED and friends.
505         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
506         * rtl.c (note_insn_name): Tweak string order.
507
508 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
509
510         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
511         to offset * 2.
512
513         * cpplex.c (output_line_command): Remove debugging prints.
514         (cpp_output_tokens): Don't write out a zero-length buffer or
515         try to see if it has a newline in it.
516         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
517         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
518         the end of the loop.  Use memmove.  Don't read past the end of
519         the buffer.  Remove trailing newlines from error messages.
520
521 2004-04-16  Neil Booth  <NeilB@earthling.net>
522
523         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
524         * cpplib.c: Add new syntax flags to directive table, and
525         supporting macros.
526
527 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
528
529         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
530         using ret $N.
531
532 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
533
534         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
535         * haifa-sched.c: Update -fsched-verbose comments to use "=".
536
537 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
538
539         * Makefile.in (ggc-page.o): Now includes toplev.h.
540         * ggc-page.c (toplev.h): Now included.
541         (gc_time): Remove declaration.
542         (ggc_collect): TIME now long.
543         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
544         others static.
545         * toplev.h (gc_time, parse_time, gc_time): New declarations.
546
547         * toplev.c: Make *_time variable long to reduce chance of overflow.
548         (TIMEVAR): Likewise for `otime'.
549         (print_time): Arg is now long; compute percentage in FP and round.
550         * toplev.h (print_time): Arg is long.
551
552         * tree.c: Minor whitespace changes.
553
554         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
555         * configure: Rebuilt.
556         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
557         (__fixunsxfDI): Renamed from __fixunsxfdi.
558         (__fixunsdfDI): Renamed from __fixunsdfdi.
559         (__fixunssfDI): Renamed from __fixunssfdi.
560         (__floatdisf): Use proper type in REP_BIT macro.
561         (__fixunsxfSI): Renamed from __fixunsxfsi.
562         (__fixunsdfSI): Renamed from __fixunsdfsi.
563         (__fixunssfSI): Renamed from __fixunssfsi.
564         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
565         Change location of macros and upper-case some names as above.
566         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
567         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
568
569         * varasm.c (assemble_variable): Add cast to remove warning.
570         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
571
572         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
573         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
574         region number to -1.
575
576 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
577
578         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
579         call unshare_all_rtl.
580
581         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
582
583 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
584
585         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
586         Use .s1 not .s0 for all FP instructions.
587
588 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
589
590         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
591         interfaces.
592         (safe_fwrite, output_line_command): New static functions.
593         (cpp_expand_to_buffer): Now private to cpplib.
594         (cpp_scan_buffer): Take a printer.
595
596         * cpphash.h: Update prototypes.
597         * cpplib.h: Update prototypes.
598         (cpp_printer): New.
599         (cpp_buffer): Remove last_nominal_fname.
600         (cpp_reader): Remove lineno.
601
602         * cppmain.c: Use a cpp_printer.
603         * fix-header.c: No need to inhibit line commands.  Call
604         cpp_start_read with no printer.
605
606         * cpperror.c (cpp_notice_from_errno): Provide default name.
607         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
608         (find_include_file, cpp_read_file): Use make_IHASH.
609         (file_cleanup): Set control_macro and clear
610         input_stack_listing_current here.
611         (_cpp_execute_include): Don't output entering-file marker.
612         * cpphash.c (special_symbol): Look for the line number in the
613         buffer, not the reader.
614         (_cpp_macroexpand): No need to disable line commands.
615         (_cpp_dump_definition): No need to generate line commands.
616         (dump_hash_helper): Remove excess newline from output.
617         * cppinit.c (dump_special_to_buffer): No need to generate line
618         commands.
619         (cpp_printer_init): New.
620         (cpp_start_read): Take a printer, and start it up if it's not
621         NULL.  No need to generate line commands.
622         (cpp_finish): Expect no buffers stacked at all.  Take a
623         printer argument, and flush the output buffer if it's not
624         NULL.
625         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
626         Don't put two hashes at the beginning of an assertion.
627         (cpp_get_token): Don't increment pfile->lineno or emit line
628         commands here.  Return EOF if there's no buffer when we get
629         EOF.
630         * cpplib.c (do_define, skip_if_group): 
631         No need to disable line commands.
632         (_cpp_output_line_command): Delete function.
633         (do_line): Don't emit line commands here, but set things up so
634         they will be emitted if necessary.  Use _cpp_fake_ihash to
635         make unique nominal_fnames if necessary.
636         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
637         with 0 for column, not -1.
638         (_cpp_handle_eof): Don't set the control macro here.  Don't
639         clear input_stack_listing_current here.  Don't emit line
640         commands.
641
642 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
643
644         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
645         always, use the default SVR4 start address.
646
647         * config/rs6000/linux.h (LINK_SPEC): Don't define.
648         (LINK_SHLIB_SPEC): Define.
649         (LINK_START_DEFAULT_SPEC): Define.
650         (LINK_OS_DEFAULT_SPEC): Define.
651
652         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
653
654         * config/rs6000/eabi.asm (__eabi): Call __init rather than 
655         __do_global_ctors to handle constructors.
656         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
657         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
658         (STARTFILE_MVME_SPEC): Likewise.
659         (STARTFILE_SIM_SPEC): Likewise.
660         (ENDFILE_ADS_SPEC): Use crtend.
661         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
662         (ENDFILE_MVME_SPEC): Likewise.
663         (ENDFILE_SIM_SPEC): Likewise.
664         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
665         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
666         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
667         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
668         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
669         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
670         (CRTSTUFF_T_CFLAGS_S): Define.
671         * config/rs6000/eabi-ctors.c: Delete.
672         
673         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
674         boundary.
675         (__fini): Likewise.
676         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
677         boundary.
678         (__fini): Likewise.
679
680 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
681
682         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
683         plus mask size is smaller or equal to the mode size.
684
685 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
686
687         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
688         not yet set.
689
690         * expr.c (reload.h): Now included.
691         (emit_block_move): Set volatile_ok when checking for movstr.
692         (emit_move_1): Check for replacements in addresses in multi-word case.
693         * Makefile.in (expr.o): Now includes reload.h.
694
695         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
696         Never have a LIBCALL end a basic block.
697         (find_basic_blocks_1): Likewise.
698         Reorganize CALL_INSN cases.
699
700         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
701
702 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
703
704         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
705         completers from mov.ret instruction.
706
707 2000-04-14  Richard Henderson  <rth@cygnus.com>
708
709         * fold-const.c (extract_muldiv): Don't distribute and widen
710         multiply across plus for non-sizetype unsigned types.
711
712 2000-04-14  Richard Henderson  <rth@cygnus.com>
713
714         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
715         If the original source is dead in the incr insn, it's dead now.
716
717 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
718
719         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
720         see if DECL_BIT_FIELD needs to still be set.
721
722         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
723
724         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
725         print_int_cst_octal with something that's not an INTEGER_CST.
726
727         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
728         and not a SUBREG to a FLOAT rtl.
729
730 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
731
732         * emit-rtl.c (try_split): Avoid infinite loop if the split
733         results in a sequence that contains the original insn.
734
735 2000-04-13  Andreas Jaeger  <aj@suse.de>
736
737         * config/mips/mips.c (expand_block_move): Pass alignment
738         argument to move_by_pieces in bits, not bytes.
739
740         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
741         __pic__ for little endian.
742
743 2000-04-13  Andreas Jaeger  <aj@suse.de>
744
745         * config/i386/i386-protos.h: Add prototype for
746         uno_comparison_operator.
747
748 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
749
750         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
751         * calls.c (ECF_PURE): New flag.
752         (emit_call_1): Handle ECF_PURE calls.
753         (initialize_argument_information): Unset ECF_PURE flag too.
754         (precompute_arguments): Precompute for ECF_PURE too.
755         (expand_call): Handle ECF_PURE calls too.
756         (emit_library_call_value_1): Rename no_queue argument to fn_type,
757         accept value of 2 as pure function.
758         (emit_library_call_value, emit_library_call): Rename no_queue argument
759         to fn_type.
760         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
761
762         * tree.h (DECL_IS_PURE): New macro.
763         (struct tree_decl): Add pure_flag.
764         * c-common.c (enum attrs): Add attribute "pure".
765         (init_attributes): Initialize attribute "pure"
766         (decl_attributes): Handle attribute "pure".
767         * extend.texi (Attribute "pure"): Document.
768         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
769         in pure function.
770         (flags_from_decl_or_type): Support attribute "pure".
771
772 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
773
774         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
775         the token except for numbers and identifiers.
776
777 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
778
779         * i386.c (ix86_expand_binary_operator,
780         ix86_expand_unary_operator): Check no_new_pseudos
781         instead of reload_in_progress and reload_completed.
782         (ix86_split_ashldi, ix86_split_ashrdi,
783         ix86_split_lshrdi): Check no_new_pseudos instead
784         of reload_completed.
785
786 2000-04-12  Jeffrey A Law  (law@cygnus.com)
787
788         * function.c (purge_addressof): Unshare any shared rtl created by
789         purge_addressof and its children.
790
791 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
792
793         * function.c (aggregate_value_p): VOID_TYPE nodes are never
794         aggregates.
795
796 2000-04-05  Andreas Jaeger  <aj@suse.de>
797
798         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
799         not compiling PIC code, add flags for mabi=64.
800         (SUBTARGET_CPP_SIZE_SPEC): New.
801         (SUBTARGET_CPP_SPEC): New.
802         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
803         for MIPS/Linux and lots of code needs these defines.
804
805 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
806
807         * reorg.c (fill_slots_from_thread): Check side_effects_p when
808         trying the "opposite arithmetic" approach.
809
810 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
811
812         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
813         (struct sh_args): Add new field force_mem.
814         (INIT_CUMULATIVE_ARGS): Initialize it.
815         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
816
817 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
818
819         * calls.c (expand_call): Do not reverse args in "equal from" field.
820         (emit_library_call_value_1): Emit_libcall_block for const and pure
821         function.
822
823 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
824
825         * reload1.c (reload_combine): Don't enable optimization for fixed
826         registers when encountering a BARRIER.
827
828 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
829
830         * builtins.c (expand_builtin_memcmp): Do expansion even with
831         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
832
833         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
834         stack is propertly aligned; add sanity checking for aligned
835         stack pointer.
836         (expand_library_call_value_1): Add sanity checking for aligned
837         stack pointer.
838
839 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
840  
841         * calls.c (emit_library_call_value_1): Change 3rd arg to
842         locate_and_pad_parm to disregard the setting of partial.
843
844 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
845
846         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
847
848         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
849         CALL_INSN from the normal case.
850
851 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
852
853         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
854         New global variables.
855         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
856         adjustment.
857         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
858         Declare,
859         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
860          TARGET_ADD_ESP_8): New macros.
861         * i386.md: Add peep2s to convert esp adjustments to push and pop
862         instructions.
863         (pushsi_prologue, popsi_epilogue): New patterns.
864
865 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
866
867         * real.c (toe64): Remove stale #endif from the last change.
868
869 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
870
871         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
872         * real.c (toe64): Revert previous change.
873
874 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
875
876         * objc/objc-act.c: Include ggc.h.
877         (objc_tree_index, objc_global_trees): Convert most of the
878         static tree variables into a static array with previous names
879         as defines.
880         (objc_ellipsis_node): New variable.
881         (lang_init): Call objc_act_parse_init and c_parse_init.
882         Create objc_ellipsis_node.
883         (build_selector_translation_table): Use objc_ellipsis_node instead
884         of (tree)1.
885         (hack_method_prototype): Likewise.
886         (get_arg_type_list): Likewise.
887         (start_method_def): Likewise.
888         (continue_method_def): Likewise.
889         (gen_method_decl): Likewise.
890         (ggc_mark_imp_list): New function.
891         (ggc_mark_hash_table): New function.
892         (objc_act_parse_init): New function.
893         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
894         * c-parse.in (c_parse_init): For objc add roots of objc specific
895         local tree variables.
896         * objc/objc-parse.y: Rebuilt.
897         * objc/objc-parse.c: Rebuilt.
898         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
899
900 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
901
902         * cse.c (delete_trivially_dead_insns): Also delete insns
903         that copy a register to itself where the destination is
904         a strict_low_part.
905
906 2000-04-11  Richard Henderson  <rth@cygnus.com>
907
908         * flow.c (struct propagate_block_info): Add new_dead, new_live.
909         (propagate_block): Initialize them.  Use them in parallel instead
910         of one tmp variable, ie revert much of the 0408 and 0407 functional
911         changes, but keep the structural changes.
912         (mark_set_regs): Take new_dead from propagate_block_info instead.
913         (mark_set_1, mark_set_reg): Likewise.
914         (mark_used_regs): Likewise with new_live.
915         (mark_used_reg): Likewise.  Revert 0408 change.
916
917 2000-04-11  Nick Clifton  <nickc@cygnus.com>
918
919         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
920         restriction.
921         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
922
923 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
924
925         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
926         const section to output a CONSTRUCTOR based on the same conditions
927         used for VAR_DECLs.
928
929 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
930
931         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
932         * pa/pa-protos.h (output_call): Add additional argument indicating
933         if the call is a sibling/tail call.
934         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
935         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
936         (function_arg, function_arg_partial_nregs): Likewise
937         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
938         (emit_move_sequence): Zero extend certain constants as needed
939         for TARGET_64BIT.
940         (compute_zdepdi_operands, output_64bit_and): New functions.
941         (output_64bit_ior, function_arg): Likewise.
942         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
943         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
944         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
945         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
946         (output_bvb): Likewise.
947         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
948         (output_call): New argument 'sibcall'.  Generate sibcall sequences
949         as needed.
950         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
951         (ouput_arg_descriptor): Do not emit argument descriptors for
952         TARGET_64BIT.
953         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
954         defined.
955         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
956         (FUNCTION_OK_FOR_SIBALL): Define.
957         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
958         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
959         (CPP_SPEC): Use new spec infrastructure.
960         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
961         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
962         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
963         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
964         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
965         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
966         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
967         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
968         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
969         (FUNCTION_ARG); Call out to C code.
970         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
971         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
972         (MIN_UNITS_PER_WORD): Likewise.
973         * pa/pa.md (cmpdi): New expander.
974         (scc patterns, movstrsi): Not available for TARGET_64BIT.
975         (64bit conditional arithmetic): New patterns.
976         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
977         (movsicc): Not available if modes on all the operands to not match.     
978         (movdicc): New expander and associated patterns.
979         (64bit branches): New patterns.
980         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
981         (pre_ldd, post_std): New patterns.
982         (64bit addil, load low part): New patterns.
983         (special movsf constant): Not available for TARGET_64BIT.
984         (movsf, movdf expanders): Force constants into memory.
985         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
986         (64bit movdf/movdi patterns): New patterns.
987         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
988         for TARGET_64BIT.
989         (extendqidi2, extendhidi2, extendsidi2): Similarly.
990         (adddi3 expander): Allow "arith_operand" for second input.
991         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
992         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
993         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
994         (muldi3): New expander for TARGET_64BIT.
995         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
996         for TARGET_64BIT.
997         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
998         patterns for TARGET_64BIT.
999         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
1000         patterns for TARGET_64BIT.
1001         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
1002         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
1003         (sibcall_epilogue): New expander.
1004         (casesi): Tweak for TARGET_64BIT.
1005         (call expanders): Set & use the outgoing argument pointer.  Use the
1006         64bit call patterns as needed. Add additional arg to output_call.
1007         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
1008         (sibcall, sibcall_internal_symref): New expanders.
1009         (sibcall_value, sibcall_value_internal_symref
1010         (interspace_jump): Turn into an expander + matching patterns.
1011         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
1012         * pa/pa64-regs.h: Eliminate trigraph sequences.
1013         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
1014
1015 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
1016
1017         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
1018         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
1019         cpp_token with cpp_ttype everywhere.
1020         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
1021         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
1022         CPP_BUF_COL.  Line and column numbers are unsigned int, not
1023         long.
1024         * cpplex.c (cpp_buf_line_and_col): Delete.
1025         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
1026         'long lineno' to 'unsigned int lineno'.
1027         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
1028
1029 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1030
1031         * extend.texi: ISO C99 is not a draft anymore.
1032         * invoke.texi: ISO C++ is not a draft anymore.
1033         * cpp.texi: __cplusplus is required by the ISO standard.
1034
1035         * extend.texi (-fthis-is-variable): Undocument.
1036         * flags.h (warn_template_debugging): Remove declaration.
1037         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
1038         -Wenum-clash, -Wtemplate-debugging): Undocument.
1039
1040 2000-04-10  Nick Clifton  <nickc@cygnus.com>
1041
1042         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
1043         integer.
1044         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
1045         integer.
1046         (ARM_SIGN_EXTEND): Use HOST_UINT.
1047         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
1048         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
1049         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
1050         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
1051
1052         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
1053         (arm_gen_constant): Use HOST_UINT.
1054         (arm_canonicalize_constant): Use HOST_UINT.
1055         (arm_reload_in_hi): Use HOST_UINT.
1056         (arm_reload_out_hi): Use HOST_UINT.
1057         (output_multi_immediate): Use HOST_UINT.
1058         (int_log2): Use HOST_UINT.
1059         (arm_poke_function_name): Use HOST_UINT.
1060         (arm_output_epilogue): Use arm_volatile_func().
1061         (output_thumb_prologue): Use arm_strip_name_encoding().
1062         
1063 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1064
1065         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
1066         of sequence point problems.
1067
1068 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
1069
1070         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
1071         Recomment.
1072         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
1073
1074 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1075
1076         * sbitmap.h: Whitespace changes and use upper-case macro args.
1077         (struct simple_bitmap_def): All sizes now unsigned.
1078         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
1079         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
1080         (sbitmap_vector_alloc): Parms and local vars now unsigned.
1081         (sbitmap_zero): Cast bzero arg to PTR.
1082         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
1083         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
1084         loop to make structure clearer.
1085         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
1086         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
1087         (sbitmap_a_and_b_or_c): Likewise.
1088         (sbitmap_intersection_of_succs): Minor cleanups.
1089         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
1090         (sbitmap_union_of_preds): Likewise.
1091         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
1092         (debug_sbitmap): New function.
1093         
1094         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
1095         * c-typeck.c (convert_for_assignment): Likewise.
1096
1097         * expmed.c (init_expmed): Don't free objects we make.
1098         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
1099
1100         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
1101         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
1102
1103         * gcse.c (expr_hash_table_size): Now unsigned.
1104         (compute_ae_gen): Local variable `i' now unsigned.
1105         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
1106         (compute_transout, hoist_code): Likewise.
1107         (compute_local_properties): Likewise, also hash_table_size.
1108         (alloc_expr_hash_table): N_INSNS now unsigned.
1109         (delete_null_pointer_checks): Mark arg F as unused.
1110
1111         * regrename.c: Minor cleanups, including chang some variables
1112         to unsigned int.
1113
1114 2000-04-10  Neil Booth  <NeilB@earthling.net>
1115
1116         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
1117         than GETC ().
1118         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
1119
1120 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1121
1122         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
1123         __classof__, and __headof__ from the list of gnu keywords.
1124         (-ansi): Remove -foperator-names from list of implied options. 
1125         Do not call it ANSI C++.
1126         (-foperator-names): Document as -fno-operator-names.
1127
1128 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
1129
1130         * cpphash.c (timestamp): Delete.
1131         (del_HASHNODE): If type is T_MCONST, free value.cpval.
1132         (special_symbol): Remove unnecessary braces.  Remove
1133         T_VERSION.  Treat T_STDC like T_CONST unless
1134         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
1135         when one is encountered, then convert them into T_MCONST
1136         nodes.
1137         * cppinit.c (builtin_array): version_string is T_MCONST.
1138         __STDC__ has a "1" in its cpval.  Don't have a terminator
1139         entry.  Clean up which entries are dumped.
1140         (initialize_builtins): Only __STDC__ gets the special
1141         -traditional treatment.  Count the length of builtin_array.
1142         Render version_string here.
1143         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
1144         * cpplib.h (struct cpp_reader): Remove timebuf. 
1145
1146 2000-04-09  Richard Henderson  <rth@cygnus.com>
1147
1148         * genrecog.c (pred): Update comparison_operator for the unordered
1149         operators.
1150
1151         * config/i386/i386.c (no_comparison_operator): Disallow unordered
1152         operators.
1153         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
1154         (uno_comparison_operator): New.
1155         (put_condition_code): Handle UNORDERED/ORDERED.
1156         (unsigned_comparison): Likewise.
1157         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
1158         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
1159         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
1160         update all callers.  Handle all 8 unordered operators.
1161         (ix86_expand_setcc): Lose the unordered argument, update all callers.
1162         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
1163         * config/i386/i386.h (PREDICATE_CODES): Update.
1164         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
1165         (ix86_expand_branch, ix86_expand_setcc): Update.
1166         * config/i386/i386.md (sunordered, sordered): New.
1167         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
1168         (bunordered, bordered): New.
1169         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
1170         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
1171         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
1172
1173 2000-04-09  Philip Blundell  <philb@gnu.org>
1174
1175         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
1176         
1177 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
1178
1179         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
1180         fix_truncxfhi2): New patterns.
1181         * i386.c (output_fix_trunc): Handle converting to HImode.
1182
1183 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
1184
1185         * ssa.c (convert_to_ssa): Eliminate dead code when calling
1186         life_analysis.  
1187         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
1188         (for_each_successor_phi): Change parameter to basic_block.
1189         (coalesce_regs_in_successor_phi_nodes): Likewise.
1190         (coalesce_regs_in_copies): Likewise.
1191         (compute_coalesced_reg_partition): Use basic_block instead of index.
1192         * rtl.h (convert_to_ssa): Delete.
1193         (convert_from_ssa): Likewise.
1194         (successor_phi_fn): Likewise.
1195         (for_each_successor_phi): Likewise.
1196         (in_ssa_form): Likewise.
1197         * basic-block.h (convert_to_ssa): Moved from rtl.h.
1198         (convert_from_ssa): Likewise.
1199         (successor_phi_fn): Likewise.
1200         (in_ssa_form): Likewise.
1201         (for_each_successor_phi): Likewise.  Change parameter to basic_block. 
1202         * flow.c (calculate_global_regs_live): Pass a basic_block to
1203         for_each_successor_phi.
1204
1205 2000-04-08  Richard Henderson  <rth@cygnus.com>
1206
1207         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
1208         was modified in the current insn.
1209
1210 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
1211
1212         * arm/thumb.md: Delete.
1213         * arm/thumb-protos.h: Delete.
1214
1215 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
1216
1217         Merge changes from merged-arm-thumb-backend-branch onto trunk.
1218
1219         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
1220
1221         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
1222         into branch.
1223
1224         * arm.md (nop): Use the standard RTL expression.  Don't code as a
1225         define_expand.
1226         (*arm_nop, *thumb_nop): Delete.
1227
1228         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
1229         constants.  Use casts instead.
1230         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
1231         output_multi_immediate, arm_poke_function_name): Likewise.
1232         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
1233         MASK_RETURN_ADDDR): Likewise.
1234
1235         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
1236
1237         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325 
1238         into branch.
1239         
1240         * arm.md (eh_epilogue): New function.
1241         * arm.h (struct machine_function): Move to here ...
1242         * arm.c: ... from here.
1243         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
1244         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
1245         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
1246
1247         2000-03-30  Nick Clifton  <nickc@cygnus.com>
1248
1249         * config/arm/semi.h (ASM_SPEC): Restore definition.
1250         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
1251
1252         * config/arm/elf.h (ASM_SPEC): Restore definition.
1253         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
1254
1255         * config/arm/arm.h (ASM_SPEC): Remove definition.
1256         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
1257
1258         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
1259
1260         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
1261
1262         2000-03-24  Nick Clifton  <nickc@cygnus.com>
1263
1264         Various formating tidyups, elimination of compile time
1265         warnings and synchronisation with internal sources:
1266         
1267         * config/arm/arm-protos.h (assemble_align): Add prototype.
1268         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
1269         (gen_comapre_reg): Rename to arm_gen_compare_reg.
1270         (arm_return_addr_rtx): Rename to arm_return_addr.
1271
1272         * config/arm/arm.c: Include except.h.
1273         Define shorter typenames for strict minipool_node and struct
1274         minipool_fix.
1275         (arm_return_in_memory): For WinCE return all structures <= 32 bits
1276         in memory.
1277         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
1278         (gen_comapre_reg): Rename to arm_gen_compare_reg.
1279
1280         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1281         already defined.
1282         (ASM_SPEC): Define if not already defined.
1283         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
1284
1285         * config/arm/arm.md: Rename references to gen_rotated_half_load to
1286         arm_gen_rotated_half_load, and references to gen_comapre_reg to
1287         arm_gen_compare_reg.
1288         (indirect_jump):  Only accept register operands.
1289         (load_indirect_jump): Keep this pattern since combine can generate
1290         it.
1291
1292         * config/arm/coff.h: Include aout.h.
1293         (MULTILIB_DEFAULTS): Only define if not already defined.
1294
1295         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
1296         into arm.h (so that COFF ports can support thumb based aliases).
1297         (ASM_SPEC): Move definition into arm.h
1298         
1299         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
1300         redundant apcs spec.
1301         (ASM_SPEC): Move definition to arm.h
1302
1303         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
1304
1305         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
1306         for entries in the .bss section
1307
1308         2000-03-23  Nick Clifton  <nickc@cygnus.com>
1309
1310         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
1311         to thumb_far_jump_used_p.
1312
1313         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
1314         single integer parameter.
1315
1316         * config/arm/arm.c (struct machine_function): Add two new
1317         fields, 'far_jump_used' and 'arg_pointer_live'.
1318         (thumb_far_jump_used_p): Once the decision has been made that
1319         far jumps might be used, always return true.
1320         If being called from the initial elimination offset macro then
1321         do not bother to perform the test if the arg pointer is not
1322         being used.
1323         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
1324         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
1325
1326         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
1327
1328         * arm.c (output_return_instruction): Handle more cases where we can
1329         return from a function with an ldr instruction.
1330         (arm_output_epilogue): Likewise.
1331
1332         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
1333         if we need to push a large stack frame and there are no callee-saved
1334         registers.
1335
1336         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
1337         in ARM code if the frame pointer has been eliminated.
1338
1339         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
1340         unspec_volatile arguments to avoid duplicates.
1341         (consttable_1, consttable_2): Fixes for big-endian mode.
1342
1343         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
1344         as appropriate.
1345
1346         Re-write constant pool code.
1347         * arm.c (minipool_node, minipool_fix): New types.
1348         (minifix): Delete type.
1349         (arm_add_minipool_constant): Delete.
1350         (arm_compute_minipool_offsets, arm_find_barrier, 
1351         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
1352         (get_jump_table_size): Now returns HOST_WIDE_INT.
1353         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
1354         functions.
1355         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
1356         (assign_minipool_offsets, arm_print_value): Likewise.
1357         (dump_minipool): Rewrite.
1358         (arm_barrier_cost): New function.
1359         (create_fix_barrier): New function.
1360         (push_minipool_barrier): New function.
1361         (push_minipool_fix): Record additional information about the fixup 
1362         required.
1363         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
1364         check the mode of what needs fixing.
1365         (arm_reorg): Rewrite.
1366
1367         2000-03-08  Nick Clifton  <nickc@cygnus.com>
1368
1369         * config/arm/arm.md (indirect_jump): Force constant addresses into
1370         a register. 
1371
1372         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
1373
1374         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
1375
1376         2000-02-24  Nick Clifton  <nickc@cygnus.com>
1377
1378         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
1379         adjust is word aligned.
1380         (thumb_expand_epilogue): Make sure that stack adjust is word
1381         aligned.
1382
1383         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
1384         
1385         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
1386
1387         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
1388         pointer relative addresses.
1389
1390         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
1391
1392         * arm.c (find_barrier): Find the last barrier within the allowed 
1393         range.
1394
1395         2000-02-09  Nick Clifton  <nickc@cygnus.com>
1396
1397         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
1398
1399         2000-02-09  Nick Clifton  <nickc@cygnus.com>
1400
1401         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
1402         ARM_FUNCTION_PROFILER. 
1403
1404         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
1405         ARM_FUNCTION_PROFILER. 
1406
1407         * config/arm/linux-oldld.h: Imported from mainline sources.
1408
1409         2000-02-07  Nick Clifton  <nickc@cygnus.com>
1410
1411         * config/arm/lib1funcs.asm: Merge in thumb functions from
1412         lib1thumb.asm.
1413         
1414         * config/arm/lib1thumb.asm: Delete.
1415
1416         2000-02-04  Nick Clifton  <nickc@cygnus.com>
1417
1418         * config/arm/arm.c: Sychronised with current Red hat local
1419         sources. 
1420         * config/arm/arm.h: Ditto.
1421         * config/arm/arm-protos.h: Ditto.
1422
1423         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
1424
1425         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
1426
1427         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
1428         byte stores.
1429
1430         2000-02-02  Nick Clifton  <nickc@cygnus.com>
1431
1432         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
1433
1434         * config/arm/arm.md (epilogue): Fix rtl checking abort because
1435         (return) was emited using an emit_insn() call. 
1436         
1437         2000-01-31  Nick Clifton  <nickc@cygnus.com>
1438
1439         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
1440         thumb stack frame.
1441         (thumb_exit): Move frame pointer back into hard frame pointer
1442         register if backtracing is being used.
1443
1444         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
1445
1446         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113 
1447         into branch.
1448
1449         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
1450
1451         * config/arm/arm.md (neg_pool_offset): Provide default for new
1452         attribute.
1453         (arm_movsi_insn): Add neg_pool_offset attribute.
1454         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
1455         rtx for the insn that starts the scan and an unsigned long for its
1456         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
1457         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
1458         instructions in *PINSERTED.
1459         (struct minipool_fixup): Add MIN_ADDRESS elt.
1460         (sort_fixups): Compute it.
1461         (arm_reorg): Changes to support inserting pools before the insn to be
1462         fixed up.
1463
1464         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
1465
1466         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
1467         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
1468         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
1469
1470         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
1471
1472         * config/arm/semi.h (TARGET_VERSION): Do not define if already
1473         defined.
1474         (TARGET_DEFAULT): Do not define if already defined.
1475
1476         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
1477
1478         * config/arm/arm.md (anddi3): Allow disjoint source operands.
1479         (iordi3): Allow disjoint source operands.
1480         (xordi3): Allow disjoint source operands.
1481         (negdi2): Permit construction for ARM and Thumb.
1482         (arm_negdi2): Renamed version of old negdi2 pattern.
1483         (thumb_negdi2): New pattern: Only permit non-overlapping
1484         source and destination.
1485
1486         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
1487
1488         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
1489         scratch low register so that it will not be deleted.
1490
1491         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
1492
1493         * config/arm/pe.h (ARM_PE): Define.
1494         
1495         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
1496         interfacearm attribute if this is a PE toolchain.
1497         (output_return_instruction): Do not emit anything if the function
1498         has the naked attribute set.
1499         (is_called_in_ARM_mode): If the function has the interfacearm
1500         attribute then return true.
1501         (thumb_expand_prologue): Do not generate a prologue for naked
1502         functions.
1503         (thumb_expand_epilogue): Do not generate an epilogie for a naked
1504         function.
1505         (output_thumb_prologue): Do not bother if the function is naked.
1506         Strip PE encoding from function name before emitting.
1507
1508         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
1509
1510         * arm.md (pic_load_addr): Fix constraints.
1511
1512         * arm.md (casesi_insn): Fix mis-applied patch.
1513
1514         * arm.md ("core" function unit): Add rules for single- and
1515         multi-cycle insns.
1516         (All TARGET_THUMB patterns): Add "type" attribute information
1517         where needed.
1518         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
1519         the following insn is a CALL.
1520
1521         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
1522         pointer.
1523         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the 
1524         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
1525         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
1526         
1527         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
1528
1529         * config/arm/linux-gas.h: oops - this file was missed out when the
1530         branch was created...
1531
1532         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
1533
1534         * thumb.c: Deleted.  Move contents to ...
1535         * arm.c: ... here.
1536         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
1537         rule for thumb.o
1538         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
1539         * configure: Regen.
1540
1541         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
1542         declare a prototype for asm_output_align();
1543
1544         * arm.c (thumb_condition_code): Delete.
1545         (arm_print_operand): Always use arm_condition_code array.
1546
1547         * arm.c (thumb_return_addr_rtx): Delete.
1548         (arm_save_machine_status, arm_restore_machine_status): Delete.
1549         (arm_init_machine_status, arm_mark_machine_status): New functions.
1550         (arm_init_expanders): Update accordingly.
1551         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
1552         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
1553         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
1554         
1555         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
1556
1557         * configure.in : Fix arm-*-aout target to use new t-arm-aout
1558         script. 
1559         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
1560         targets.
1561
1562         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
1563
1564         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
1565         stack backtrace structure.
1566
1567         * config/arm/arm-protos.h: Add prototypes for functions defined in
1568         arm/pe.h.
1569         
1570         * config/arm/arm.c (arm_override_options): Fix selection of 
1571         attributes of default processor.
1572         
1573         * config/arm/coff.h: Delete needless #include.
1574         
1575         * config/arm/pe.c: Delete unused code.
1576         
1577         * config/arm/pe.h (CPP_DEFINES): Delete
1578         (SUBTARGET_CPP_SPEC): Define.
1579         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
1580         
1581         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
1582
1583         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
1584
1585         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
1586         updated.
1587         (CAN_DEBUG_WITHOUT_FP): Define.
1588         (FIXED_REGISTERS): Make r11 call-saved.
1589         (CALL_USED_REGISTERS): Likewise.
1590         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
1591         (FRAME_POINTER_REQUIRED): Correct logic for determining when a 
1592         frame-pointer is required.
1593         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
1594         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
1595         if the target normally needs a stack frame in non-leaf functions.
1596         (use_return_insn): Correct logic for determining when a return
1597         instruction can be used.
1598         (output_return_instruction): Handle the frame-pointer register as
1599         a normal register when not TARGET_APCS_FRAME.
1600         (arm_output_prologue): Likewise.
1601         (arm_output_epilogue): Likewise.
1602         (output_func_epilogue): Likewise.
1603         (arm_expand_prologue): Likewise.
1604         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
1605
1606         * arm.c (use_return_insn): No need to check floating point regs if
1607         TARGET_SOFT_FLOAT.
1608         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
1609         the code of value stored in the minipool array.
1610         (arm_add_minipool_constant): Likewise.
1611
1612 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1613
1614         * basic-block.h (conflict_graph_enum_fn): K&R fix.
1615
1616 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1617
1618         * tree.c (tree_expr_nonnegative_p): New function.
1619
1620         * tree.h (tree_expr_nonnegative_p): Declare.
1621
1622         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
1623         elide some sign_compare warnings.
1624         (build_conditional_expr): Likewise.
1625
1626 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
1627
1628         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
1629
1630         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
1631         * i386.c (print_operand): Use the proper suffix for a 387 HImode
1632         operand.  Abort if a 387 operand has an unsupported size.
1633
1634 2000-04-08  Neil Booth  <NeilB@earthling.net>
1635
1636         * cppexp.c (parse_charconst): Null does not end character
1637         constants.
1638         * cppinit.c (ISTABLE): Null character handled as whitespace.
1639         * cpplex.c (null_warning):  new function.
1640         (skip_string): Emit warning if nulls encountered.
1641         (_cpp_skip_hspace): Emit warning if nulls encountered.
1642         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
1643         them.
1644         * cpp.texi: Update.
1645
1646 2000-04-07  Richard Henderson  <rth@cygnus.com>
1647
1648         * flow.c (loop_depth): Remove.
1649         (reg_next_use, cc0_live, mem_set_list): Replace with ...
1650         (struct propagate_block_info): New.
1651         (life_analysis): Don't allocate reg_next_use.
1652         (propagate_block_delete_insn): Break out of propagate_block.
1653         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
1654         (propagate_block_delete_libcall): Likewise.
1655         (propagate_block): Create a propagate_block_info struct to pass
1656         to subroutines.  Allocate one not two temporary regsets.  Don't
1657         clobber memory for const calls.  Look for clobbers in
1658         CALL_INSN_FUNCTION_USAGE.
1659         (mark_set_regs): Recognize COND_EXEC.
1660         (mark_set_reg): Break out of mark_set_1.
1661         (mark_used_reg): Break out of mark_used_regs.
1662         (mark_used_regs): Recognize COND_EXEC.
1663         (insn_dead_p): Use propagate_block_info struct.
1664         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
1665         (find_auto_inc, try_pre_increment_1): Likewise.
1666         (print_rtl_with_bb): Dump regs live at end too.
1667         (count_reg_sets_1): Pass in loop_depth.
1668         (count_reg_sets, count_reg_references): Likewise.
1669         (recompute_reg_usage): Provide it.
1670
1671 2000-04-07  Richard Henderson  <rth@cygnus.com>
1672
1673         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
1674         not the raw files.
1675
1676 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
1677
1678         * cpplib.c (do_elif): Skip the rest of the line if we're
1679         not going to bother evaluating it.
1680         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
1681         to avoid pointless calls to the lexer.
1682
1683 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
1684
1685         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
1686
1687 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
1688
1689         * calls.c (expand_call): emit_queue if we're trying a sibcall.
1690
1691 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
1692
1693         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
1694
1695 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
1696
1697         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
1698         crtend so they can be multilibbed.
1699         (STAGESTUFF): Remove s-crt and s-crtS.
1700
1701 2000-04-07  Richard Henderson  <rth@cygnus.com>
1702
1703         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
1704         if we discover we need a pseudo and no_new_pseudos is true.
1705         * config/alpha/alpha.md (ne:DI insn): New.
1706         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
1707
1708 2000-04-07  Richard Henderson  <rth@cygnus.com>
1709
1710         * rtl.def (COND_EXEC): New.
1711         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
1712         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
1713
1714         * genconfig.c (have_cond_arith_flag): Remove.
1715         (have_cond_exec_flag): New.
1716         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
1717         (main): Print HAVE_conditional_execution.
1718
1719         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
1720         (sched_analyze_insn, print_pattern): Likewise.
1721         * reload.c (find_equiv_reg): Likewise.
1722         * rtlanal.c (reg_referenced_p): Likewise.
1723         (note_stores, dead_or_set_regno_p): Likewise.
1724         (reg_overlap_mentioned_p): Rewrite to use a switch.
1725
1726         * ggc.h (struct rtx_def): Forward declare.
1727
1728         * print-rtl.c (debug_rtx_range): New.
1729         * rtl.h (debug_rtx_range): Declare.
1730
1731         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
1732
1733         * gcse.c (gcse_main): Don't rebuild the CFG here.
1734         (delete_null_pointer_checks): Likewise.
1735         * ssa.c (convert_to_ssa): Likewise.
1736         * toplev.c (rest_of_compilation): Do it here instead.  Combine
1737         sequential calls to TIMEVAR.  Consistently use `insns' instead of
1738         `get_insns()'.  Always split insns after reload when optimizing.
1739
1740         * basic-block.h (merge_blocks_nomove): Declare.
1741         (tidy_fallthru_edge): Declare.
1742         * flow.c (merge_blocks_nomove): Document as merging into previous
1743         blocks.  Remove cruft from between blocks; remove all edges out of A.
1744         (tidy_fallthru_edge): Export.
1745
1746 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
1747
1748         * ssa.c (compute_conservative_reg_partition): Declare with
1749         void arguments.
1750         * toplev.c (clean_dump_file): Remove previously-deleted function
1751         inadvertantly merged back in.
1752         * conflict.c (conflict_graph_add): Use a single call to
1753         htab_find_slot to look up and insert.
1754
1755 2000-04-06  Richard Henderson  <rth@cygnus.com>
1756
1757         * genrecog.c (*): Rename _last_insn to last_insn.
1758         (make_insn_sequence): Set the position of the peephole2 C test
1759         to be at the last insn.
1760
1761 2000-04-06  Richard Henderson  <rth@cygnus.com>
1762
1763         * flow.c (compute_flow_dominators): Free worklist.
1764
1765 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
1766
1767         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
1768
1769 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
1770
1771         * rtl.h (INSN_P): New macro.
1772         (successor_phi_fn): New typedef.
1773         (for_each_successor_phi): New prototype.
1774         (in_ssa_form): New variable.
1775         (PHI_NODE_P): Likewise.
1776         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
1777         phi nodes in successors.
1778         (mark_used_regs): Add PHI case.
1779         (set_phi_alternative_reg): New function.
1780         (life_analysis): Assert that dead code elimination is not selected
1781         when in SSA form.
1782         * toplev.c (to_ssa_time): New variable.
1783         (from_ssa_time): Likewise.
1784         (compile_file): Zero to_ssa_time and from_ssa_time.
1785         Print time to convert to and from SSA.
1786         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
1787         (print_time): Compute percent fraction as integer.
1788         * ssa.c (PHI_NODE_P): Moved to rtl.h.
1789         (convert_to_ssa): Check if we're already in SSA.  
1790         Don't eliminate dead code in life_analysis.
1791         Rerun flow and life analysis at bottom.
1792         (eliminate_phi): Use canonical regnos when adding nodes.
1793         (mark_reg_in_phi): New function.
1794         (mark_phi_and_copy_regs): Likewise.
1795         (convert_from_ssa): Rerun life analysis at top.  
1796         Use coalesced partition.
1797         Check for removing a phi node at the end of the block.
1798         (compute_coalesced_reg_partition): New function.
1799         (coalesce_regs_in_copies): Likewise.
1800         (coalesce_reg_in_phi): Likewise.
1801         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
1802         (for_each_successor_phi): Likewise.
1803         (rename_context): New struct.
1804         (rename_block): Use a rename_context with rename_insn_1.  When
1805         renaming sets of a subreg, emit a copy of the entire reg first.
1806         (rename_insn_1): Treat data as a rename_context *.  Save current
1807         insn in set_data.
1808         (rename_set_data): Add field set_insn.
1809         * Makefile.in (HASHTAB_H): Move up in file.
1810         (OBSTACK_H): New macro.
1811         (collect2.o): Use OBSTACK_H in dependencies.
1812         (sdbout.o): Likewise.
1813         (emit-rtl.o): Likewise.
1814         (simplify-rtx.o): Likewise.
1815         (fix-header.o): Likewise.
1816         (OBJS): Add conflict.o.
1817         (conflict.o): New rule.
1818         * basic-block.h: Include partition.h.
1819         (conflict_graph): New typedef.
1820         (conflict_graph_enum_fn): Likewise.
1821         (conflict_graph_new): New prototype.
1822         (conflict_graph_delete): Likewise.
1823         (conflict_graph_add): Likewise.
1824         (conflict_graph_conflict_p): Likewise.
1825         (conflict_graph_enum): Likewise.
1826         (conflict_graph_merge_regs): Likewise.
1827         (conflict_graph_print): Likewise.
1828         (conflict_graph_compute): Likewise.
1829         * conflict.c: New file.
1830
1831 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1832
1833         * tlink.c (read_repo_files): Don't look for .rpo info for
1834         linker flags.
1835
1836 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1837
1838         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
1839
1840 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1841
1842         * config/sh/lib1funcs.asm (___udivsi3_i4):
1843         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
1844         only depends on FMOVD_WORKS.
1845
1846 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1847
1848         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
1849         make double constant 8-byte aligned.
1850
1851 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
1852
1853         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
1854         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
1855         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
1856         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
1857         Accept storing GENERAL_REGS into offsetable memory.
1858         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
1859         building a TFmode constant other than 0.0L into GENERAL_REGS.
1860
1861 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
1862
1863         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
1864         
1865 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
1866
1867         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
1868         (macro_cleanup): No need to cast pbuf->macro.
1869         (collect_expansion): Use _cpp_get_define_token.  Goto done if
1870         it returns VSPACE.  Remove check for trailing space after
1871         CPP_COMMENT.
1872         (_cpp_create_definition): Don't diddle flags here.  Return
1873         directly on error.
1874         (unsafe_chars): Handle c1 being EOF.
1875         (push_macro_expansion): Use unsafe_chars for both accidental-paste
1876         checks.  Don't push the buffer till after we're done with
1877         them.
1878         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
1879         (PEEKN, FORWARD, GETC, PEEKC): Use them.
1880         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
1881         appropriately.
1882         (_cpp_parse_assertion): Don't NUL terminate.
1883         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
1884         hspace before calling _cpp_parse_assertion.  Remove all sets
1885         of only_seen_white. Treat '\f' as hspace.  Don't do anything
1886         special with '\n' here.
1887         (maybe_macroexpand): Handle T_EMPTY hash entries without
1888         pushing a buffer at all.
1889         (cpp_get_token): Handle clearing only_seen_white here.  Handle
1890         incrementing the line number here.  Clear
1891         potential_control_macro as well as only_seen_white, if
1892         appropriate.
1893         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
1894         (_cpp_get_define_token): New function, basically like
1895         _cpp_get_directive_token was but doesn't eat horizontal space.
1896         Don't do anything with only_seen_white here.
1897         (_cpp_get_directive_token): Just call _cpp_get_define_token
1898         repeatedly till it returns non-hspace.
1899
1900         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
1901         (conditional_skip, skip_if_group): Return int.
1902         (DIRECTIVE_TABLE): Change origin of all conditional directives
1903         to "COND".
1904         (TRAD_DIRECT_P): New macro.
1905         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
1906         an error for a bogus directive, unless -lang-asm.  Use
1907         TRAD_DIRECT_P. Loop calling handler functions till one returns
1908         zero.
1909         (get_macro_name): Don't diddle flags here.
1910         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
1911         Create T_EMPTY nodes for #define macro /* nothing */.
1912         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
1913         Use hp->name when calling pass_thru_directive.
1914         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
1915         Return the result of conditional_skip and/or skip_if_group.
1916         Don't call _cpp_output_line_command.
1917         (consider_directive_while_skipping): Use _cpp_get_directive_token.
1918         Issue -Wtraditional warnings as appropriate.  Don't complain
1919         about unrecognized directives.  If we are to stop skipping,
1920         return the number of the directive that ended the skip.
1921         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
1922         expansion and line commands while skipping.  Return the result
1923         of consider_directive_while_skipping, if nonzero.
1924         (do_endif): Just set potential_control_macro here.
1925         (validate_else): Use _cpp_get_directive_token.
1926         (do_assert, do_unassert): Don't save pointers into the
1927         token_buffer across calls to the lexer.  Use
1928         _cpp_get_directive_token.  
1929
1930         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
1931         pointer, not an offset.  Replace 'data', which was a generic
1932         pointer, with 'macro', which points to a struct hashnode.
1933         (cpp_reader): Add 'potential_control_macro' pointer.
1934         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
1935         (CPP_BUF_GET, CPP_FORWARD): Delete.
1936         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
1937         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
1938         ACTIVE_MARK_P): Update.
1939         (_cpp_get_define_token): New internal function.
1940         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
1941
1942 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
1943
1944         * configure.in: And here.
1945         * configure: Regenerate.
1946         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
1947         --enable-libstdcxx-v3 is passed at configure time.
1948         * config.h.in: Regenerate.
1949
1950 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
1951
1952         * final.c (final): Use xcalloc to allocate line_note_exists.
1953         * function.c (free_after_compilation): Free the temp_slots.
1954         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
1955         (combine_temp_slot): Free temp_slots when they get combined.
1956         (purge_addressof): Fix typo in comment.
1957         * stmt.c (mark_goto_fixup): Mark the fixup itself.
1958         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
1959
1960         * ggc.h: Include varray.h.
1961         (ggc_pending_trees): Declare.
1962         (ggc_mark_tree_children): Remove declaration.
1963         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
1964         * ggc-common.c (ggc_pending_trees): New variable.
1965         (ggc_mark_roots): Call ggc_mark_trees.
1966         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
1967         the ggc_pending_trees.
1968         * Makefile.in (GGC_H): New variable.  Use it throughout in place
1969         of ggc.h.
1970         
1971 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1972
1973         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
1974         GET_MODE_SIZE.
1975
1976 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1977
1978         * sh.c (sh_insn_length_adjustment): New function.
1979         * sh-protos.h (sh_insn_length_adjustment): Declare.
1980         * sh.h (ADJUST_INSN_LENGTH): Use it.
1981
1982 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
1983
1984         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
1985         from the insn where REG_RETVAL is added.
1986         (emit_no_conflict_block): Ditto.
1987
1988         * md.texi (Standard Names): Clarify when movX is needed.
1989
1990         * combine.c (simplify_comparison) [MINUS]: Do not replace
1991         all (op (minus A B) 0) with (op A B).
1992
1993 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
1994                           J"orn Rennecke <amylaar@cygnus.co.uk>
1995
1996         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
1997         (block_lump_real): Likewise.
1998
1999 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
2000
2001         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
2002         remaining non-zero debugging masks.
2003
2004 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
2005
2006         * basic-block.h (verify_flow_info): Declare.
2007         (flow_loop_outside_edge_p): Declare.
2008         * flow.c (verify_flow_info): Remove declaration.
2009         (clear_log_links, flow_loop_outside_edge_p): Likewise.
2010
2011 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
2012
2013         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
2014         not C++ comments.
2015
2016 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
2017
2018         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
2019         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
2020         seqdi_zero_trunc+1): Allow splits only if registers are
2021         different.
2022
2023 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
2024
2025         * acconfig.h: Add HAVE_GAS_HIDDEN.
2026         * config.in: Regenerated.
2027         * configure.in: Add test for .hidden pseudo-op in gas.
2028         * configure: Regenerated.
2029         * crtstuff.c: Include auto-host.h.
2030         Emit additional .hidden pseudo-op for __dso_handle if the
2031         assembler knows about it.
2032
2033 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
2034
2035         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
2036         before freeing argnames.
2037         * cpplib.c (do_ifndef): Cast return value of xstrdup.
2038
2039 2000-04-05  Michael Meissner  <meissner@redhat.com>
2040
2041         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
2042         Walton <jonboy@gordian.com> to make memory references with update
2043         work wtih -mregnames.
2044
2045 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2046
2047         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
2048         (regrename_optimize): Rename variables `def_uses' and
2049         `ext_basic_blocks' to avoid conflicts with similarly named
2050         typedefs in traditional C.
2051
2052         * calls.c (initialize_argument_information): Fix typo in previous
2053         change.
2054
2055 2000-04-04  Richard Henderson  <rth@cygnus.com>
2056
2057         * regrename.c (consider_available): Test fixed_regs not
2058         PIC_OFFSET_TABLE_REGNUM.
2059
2060 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
2061
2062         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
2063         crtend.
2064         (CRTSTUFF_T_CFLAGS_S): Delete definition.
2065         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
2066         (ENDFILE_LINUX_SPEC): Always use crtend.
2067         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
2068         (powerpc-*-linux-gnu): Likewise.
2069         * configure: Regenerate.
2070
2071         * config/rs6000/eabi.h: Don't include sysv4.h.
2072         (MULTILIB_DEFAULTS): Don't define.
2073         * config/rs6000/eabiaix.h: Don't include eabi.h.
2074         * config/rs6000/eabile.h: Delete.
2075         * config/rs6000/eabilesim.h: Delete.
2076         * config/rs6000/eabisim.h: Don't include eabi.h.
2077         * config/rs6000/linux.h: Don't include sysv4.h.
2078         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
2079         (MULTILIB_DEFAULTS): Don't redefine.
2080         * config/rs6000/rtems.h: Don't include eabi.h.
2081         * config/rs6000/sol2.h: Don't include sysv4le.h.
2082         * config/rs6000/sysv4le.h: Don't include sysv4.h.
2083         * config/rs6000/t-ppc: Delete.
2084         * config/rs6000/t-ppcgas: Correct comment.
2085         * config/rs6000/t-ppcos: Correct comment.  Don't build 
2086         multilibs for -fPIC, rather use -fPIC -mstrict-align 
2087         as default.
2088         * config/rs6000/t-ppc: Delete.
2089         * config/rs6000/vxppc.h: Don't include sysv4.h.
2090         * config/rs6000/vxppcle.h: Delete.
2091         * configure.in: Use multiple header files for p2pc ELF targets
2092         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
2093         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
2094         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
2095         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
2096         always available for these platforms.
2097
2098 2000-04-04  Richard Henderson  <rth@cygnus.com>
2099
2100         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
2101
2102 2000-04-04  Stan Cox  <scox@cygnus.com> 
2103
2104         * Makefile.in: Add rules for regrename.o
2105         * regrename.c: New file.
2106         * rtl.h (regrename_optimize): Add prototype.
2107         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
2108         (compile_file, decode_d_option): Add support for -frename-registers.
2109         (rest_of_compilation): Call regrename_optimize.
2110         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
2111         New macros.     
2112         
2113 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2114
2115         * Makefile (gccbug): New target.
2116         (doc): Depend on it.
2117         * gcc.texi (Bugs): Link subnodes.
2118         (gccbug): New node.
2119         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
2120         Document severities, priorities, and classes in bug form.
2121
2122 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
2123
2124         * cpplex.c (trigraph_map, speccase): Combine into single
2125         table, chartab.
2126         (NORMAL, NONTRI): New macros.
2127         (_cpp_read_and_prescan): Change to use unified table.  Use
2128         is_hspace to test for whitespace.
2129
2130         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
2131         definition that doesn't provoke the "empty body in an
2132         if-statement" warning.
2133
2134 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
2135
2136         * builtins.c (expand_builtin_strlen): Force the source to
2137         be a memory address.
2138
2139 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2140
2141         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
2142
2143 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2144
2145         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
2146          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
2147         (ECF_IS_CONST): Rename to ECF_CONST.
2148         (special_function_p): Make static, change interface.
2149         (flags_from_decl_or_type, try_to_integrate): Break out from ...
2150         (expand_call) ... here; convert number of variables to flags.
2151         (emit_library_call_vlue_1): Likewise.
2152         (setjmp_call_p): New function.
2153         (initialize_argument_information): Accepts flags as argument;
2154         return flags.
2155         (precompute_arguments): Likewise.
2156         * tree.h (special_function_p): Remove.
2157         (setjmp_call_p): Add prototype.
2158
2159 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
2160
2161         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
2162         so that addresses are offsetable by up to 16 bytes.
2163         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
2164         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
2165         offsetable.
2166
2167         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
2168         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
2169         (movsf): Don't force any constant to memory if target is integer
2170         hard register.
2171         Move fp_zero_operand check below the const0_rtx check.
2172         (movtf): Likewise. Also allow fp_zero_operand for stores into
2173         memory.
2174         (movdf): Likewise. Also allow fp_zero_operand for stores into
2175         memory and into integer hard registers.
2176         (clear_df, clear_dfp, movdf_const_intreg_sp32,
2177         movdf_const_intreg_sp64): Remove.
2178         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
2179         conditions.
2180         (movdf_no_e_insn_v9_sp32): New pattern.
2181         (movdf_insn_v9only): Remove.
2182         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
2183         (movdf_insn_sp64): Remove.
2184         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
2185         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
2186         (following splits): Rewrite conditions. Add two new splits
2187         for storing 0.0 into memory and registers.
2188         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
2189         (movtf_insn_sp32): Redo constraints and conditions.
2190         (movtf_insn_vis_sp32): New pattern.
2191         (movtf_no_e_insn_sp32): Redo constraints and conditions.
2192         (movtf_insn_hq_sp64): Likewise.
2193         (movtf_insn_hq_vis_sp64): New pattern.
2194         (movtf_insn_sp64): Redo constraints and conditions.
2195         (movtf_insn_vis_sp64): New pattern.
2196         (movtf_no_e_insn_sp64): Redo constraints and conditions.
2197         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
2198         or memory.
2199         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
2200         -mvis or -m64 to take down the number of various reload patterns.
2201
2202 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
2203
2204         * pa/pa-64.h: New file.
2205         * pa/pa64-regs.h: New file.
2206         * pa/pa64-start.h: New file.
2207         * pa/t-pa64: New file.
2208         * pa/xm-pa64hpux.h: New file.
2209
2210 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2211
2212         * sparc.c (output_restore_regs): Prototype.
2213         (sparc_emit_float_lib_cmp): Constification.
2214
2215         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
2216
2217         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
2218         Prototype.
2219
2220         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
2221         (get_value_hash, hash_rtx): Likewise.
2222
2223         * ssa.c (compute_conservative_reg_partition): Prototype.
2224
2225         * tree.c (mark_hash_entry): Prototype.
2226
2227 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
2228
2229         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
2230         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
2231         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
2232
2233         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
2234         * objc/lang-specs.h: Likewise.
2235
2236 2000-04-03  Neil Booth  <NeilB@earthling.net>
2237
2238         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
2239         and SYNTAX_ERROR2. Replace `' in messages with ''.
2240         (op_to_str): Make re-entrant.
2241         (_cpp_parse_expr): Implement new error macros. Use | rather
2242         than || to logically or 2 boolean integers.  Simply expression
2243         checking we have a left operand iff needed.
2244
2245 2000-04-03  Nick Clifton  <nickc@cygnus.com>
2246
2247         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
2248
2249 2000-04-03  Philip Blundell  <philb@gnu.org>
2250
2251         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
2252
2253 2000-04-03  Felix Lee  <flee@cygnus.com>
2254
2255         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
2256         (run_shell): Use it. 
2257
2258 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
2259
2260         * Makefile.in (stmp-int-hdrs): Make include subdir here...
2261         (stmp-fixproto): ...rather than here.
2262
2263 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
2264
2265         * pa.c (print_operand): Compute 'base' only inside the code paths
2266         that use it.
2267
2268 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
2269
2270         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
2271         CEIL_DIV_EXPR.
2272
2273 2000-04-03  Philipp Thomas  <pthomas@suse.de>
2274
2275         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
2276
2277 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
2278
2279         * Makefile.in (alias.o): Depend on $(TREE_H).
2280
2281 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
2282
2283         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
2284         processing C++.
2285         * cpplib.c (_cpp_handle_directive): Improve warnings for
2286         traditional C and indented directives.
2287
2288         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
2289         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
2290         fixinc/inclhack.def: Indent the # of #include_next one space.
2291         * cp/rtti.c: Un-indent #if and #endif.
2292
2293         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
2294         syntax error, but an error has already been printed.
2295         * cpplex.c (_cpp_parse_assertion): Give a more specific error
2296         message when called with nothing remaining on the line.
2297         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
2298         OTHER token, not an ASSERTION.
2299         * cpplib.c (do_assert): When we create a 'base' node, clear
2300         its aschain pointer.
2301
2302 2000-04-02  Neil Booth <NeilB@earthling.net>
2303
2304         * cppexp.c:  New typedef op_t.  struct operation and struct 
2305         token updated to use it.
2306         (op_to_str): New function.
2307         (_cpp_parse_expr): Error messages modified to use op_to_str.
2308
2309 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2310
2311         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
2312         before checking MUST_PASS_IN_STACK.
2313
2314 2000-04-02  Neil Booth <NeilB@earthling.net>
2315
2316         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
2317         flags and initial priority into a single constant.  New
2318         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
2319         (_parse_cpp_expr): Implement new constants.  Take left operand
2320         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
2321         parse indicated by reducing FINISHED token.  Remove new lines
2322         from cpp_error messages.
2323
2324 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
2325
2326         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
2327         permanent obstack.
2328
2329 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
2330
2331         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
2332         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
2333         the strings and function names on the fly.  Take the #sccs
2334         entry out of the table if SCCS_DIRECTIVE is not defined.
2335         (_cpp_handle_directive): Decide if the # was at the beginning
2336         of the line here.  Issue -pedantic warnings for extended
2337         directives here.  Warn about K+R directives with the #
2338         indented, and C89/extended directives with the # not indented,
2339         here.
2340         (do_import, do_include_next, do_warning, do_ident, do_sccs,
2341         do_assert, do_unassert): Don't issue pedantic warning here.
2342
2343         * cpphash.h: Add CPP_WTRADITIONAL macro.
2344         * cpplib.h (struct cpp_options): Rename warn_stringify to
2345         warn_traditional; update comments.
2346         * cppinit.c (handle_option): Set warn_traditional not
2347         warn_stringify.
2348         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
2349         CPP_WTRADITIONAL (pfile).
2350         * cpplex.c (_cpp_lex_token): Don't decide if directives should
2351         be ignored in -traditional mode here.
2352
2353         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
2354         to initialize speccase[] and trigraph_map[].  Delete all
2355         references to pfile->input_speccase.  Always treat '?' as a
2356         special character.  Remove table-initialization code from
2357         _cpp_init_input_buffer.
2358
2359         * cpplib.h (struct cpp_reader): Remove input_speccase field.
2360         * cppinit.c (cpp_cleanup): Don't free input_speccase.
2361
2362 2000-04-01  Richard Henderson  <rth@cygnus.com>
2363
2364         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
2365         (mostlyclean): Likewise.
2366
2367         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
2368         (struct dump_file_info, enum dump_file_index, dump_file): New.
2369         (open_dump_file): Take a dump_file_index not a suffix, and a decl
2370         not a string.  Clean out file if we havn't yet done so.  Do nothing
2371         if the dump isn't enabled.
2372         (close_dump_file): Do nothing if the dump isn't open.  Dump 
2373         graph data if requested.
2374         (dump_rtl, clean_dump_file): Remove.
2375         (compile_file): Don't clean the dump files.  Only finalize .bp dump
2376         if flag_test_coverage or flag_branch_probabilities.  Only finalize
2377         .combine dump if optimizing.  Iterate over dump_file to finalize the
2378         graph dumps.
2379         (rest_of_compilation): Update for open_dump_file/close_dump_file.
2380         Convert all uses of dump_rtl.
2381         (decode_d_option): Iterate over dump_file to implement 'a' and to
2382         locate pass-specific dumps.
2383
2384 2000-04-01  Neil Booth <NeilB@earthling.net>
2385
2386         * cppexp.c: Redefine priority constants.
2387         (_cpp_parse_expr): Replace left and right priority scheme with
2388         single priority logic.  Move LOGICAL to same place as COMPARE.
2389         Remove bogus check for multiple unary +/- operators.
2390
2391 2000-04-01  Neil Booth <NeilB@earthling.net>
2392
2393         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
2394         within the switch statement.  Binary operations break out of
2395         the switch naturally.  '(' tokens handled by forcing
2396         immediate shift.  ')' handled by forcing immediate reduce to
2397         the previous '('.  New error messages.
2398         
2399 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
2400
2401         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
2402         part', it's already in use.  Use %K instead.  Add a return at the
2403         end of what is now %K.
2404         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
2405
2406 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2407
2408         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
2409         allocate_dynamic_stack_space.
2410         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
2411         update stack_pointer_delta; do not update arg_size_so_far.
2412         (compute_argument_block_size): Use stack_delta instead of
2413         stack_pointer_pending and arg_size_so_far.
2414         (expand_call): Add sanity checking for stack_pointer_delta;
2415         save and restore stack_pointer_delta for SIB, use
2416         stack_pointer_delta for alignment; do not update arg_space_so_far.
2417         (emit_library_call_value): Use stack_pointer_delta for alignment.
2418         (store_one_arg): Do not update arg_space_so_far.
2419         * explow.c (adjust_stack, anti_adjust_stack): Update
2420         stack_pointer_delta.
2421         (allocate_dynamic_stack_space): Add sanity checking for
2422         stack_pointer_delta.
2423         * expr.c (init_expr, clear_pending_stack_adjust): Clear
2424         stack_pointer_delta.
2425         (emit_push_insn): Update stack_pointer_delta.
2426         * function.h (struct expr_status): Add x_stack_pointer_delta;
2427         remove x_arg_space_so_far.
2428         (arg_space_so_far): Remove.
2429         (stack_pointer_delta): New macro.
2430
2431 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
2432
2433         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
2434         Reorder struct cpp_options and struct cpp_reader for better 
2435         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
2436         takes two args.  Change all 'char' flags to 'unsigned char'.
2437         Move show_column flag into struct cpp_options.  Don't
2438         prototype cpp_options_init.
2439         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
2440         cppinit.c, cpplex.c, cpplib.c:
2441         Replace CPP_OPTIONS (pfile)->whatever with
2442         CPP_OPTION (pfile, whatever), and likewise for
2443         opts = CPP_OPTIONS (pfile); ... opts->whatever;
2444
2445         * cppinit.c (merge_include_chains): Take a cpp_reader *.
2446         Extract CPP_OPTION (pfile, pending) and work with that
2447         directly.
2448         (cpp_options_init): Delete.
2449         (cpp_reader_init): Turn on on-by-default options here.
2450         Allocate the pending structure here.              
2451         (cl_options, enum opt_code): Define these from the same table,
2452         kept in a large macro.  Add -fshow-column and -fno-show-column
2453         options.
2454
2455         * cpperror.c (v_message): If show_column is off, don't print
2456         the column number.
2457
2458         * cppmain.c: Update for new interface.
2459         * fix-header.c: Likewise.
2460
2461 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
2462
2463         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
2464         definition.
2465         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
2466         are passed to any invocation of AR_FOR_TARGET.
2467         (AR_CREATE_FOR_TARGET): New macro.
2468         (AR_EXTRACT_FOR_TARGET): New macro.
2469         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
2470         AR_EXTRACT_FOR_TARGET.
2471         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
2472         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
2473         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
2474         AR_EXTRACT_FOR_TARGET to sub-makes.
2475
2476 2000-03-31  Neil Booth <NeilB@earthling.net>
2477
2478         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
2479         PAREN_INNER_PRIO.
2480         (_cpp_parse_expr): Check for multiple unary +/- operators.
2481         Correct priorities of ':' and '?'.  Treat ')' as having a
2482         value.  Ensure conditional expression is not void.
2483         
2484 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
2485
2486         * alias.c (canon_rtx): Make it global.
2487         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
2488         equality.
2489         * cse.c (struct table_elt): Add canon_exp.
2490         (insert): Clear it.
2491         (invalidate): Canonicalize expressions only once.
2492         * rtl.h (canon_rtx): Declare.
2493
2494 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
2495
2496         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
2497         * alias.c (reg_known_value): Add comments.
2498         (init_alias_analysis): Likewise.
2499         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
2500         address.
2501         (cse_basic_block): Fix typo in comment.
2502         * emit-rtl.c: Include hashtab.h.
2503         (const_int_htab): New variable.
2504         (const_int_htab_hash): New function.
2505         (const_int_htab_eq): Likewise.
2506         (rtx_htab_mark_1): Likewise.
2507         (rtx_htab_mark): Likewise.
2508         (gen_rtx_CONST_INT): Cache all CONST_INTs.
2509         (unshare_all_rtx): Fix formatting.
2510         (init_emit_once): Initialize const_int_htab.
2511         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
2512         address.
2513         * rtl.texi: Document the fact that all CONST_INTs with the same
2514         value are shared.
2515
2516 2000-03-30  Richard Henderson  <rth@cygnus.com>
2517
2518         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
2519
2520 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
2521
2522         * configure.in: Comment out --enable-c-cpplib stanza.
2523         * configure: Regenerate.
2524
2525 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2526
2527         * expr.c (store_constructor): Properly compute displacement and
2528         alignment when offset is variable.
2529
2530         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
2531         cases of alignment in bytes.
2532
2533 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
2534
2535         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
2536         since it is used to generate c-parse.y.
2537         * objc-parse.c, objc-parse.y: Regenerated.
2538
2539         * function.c (expand_function_end): Pass alignment argument to
2540         emit_block_move in bits, not bytes.
2541
2542 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2543
2544         * expr.c (move_by_pieces_ninsns): Fix one more missing align
2545         correction.
2546
2547         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
2548
2549         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
2550         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
2551         * function.c (assign_parms): Likewise.
2552         * integrate.c (expand_inline_function): Likewise.
2553         * stmt.c (expand_decl): Likewise.
2554         (copy_rtx_and_substitute): Likewise.
2555         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
2556         (clear_by_pieces): Fix error in last change.
2557         * emit-rtl.c (init_emit): Set known registers alignment in bits.
2558         * function.h (regno_pointer_align): Now unsigned.
2559         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
2560         is in bits.
2561         * config/i386/i386.c (aligned_operand): Likewise.
2562         * config/sparc/sparc.c (mem_min_alignment): Likewise.
2563         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
2564         (unaligned_memory_operand): Likewise.
2565         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
2566         Also make alignments and sizes unsigned and some whitespace cleanup.
2567         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
2568
2569         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
2570         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
2571         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
2572         (expand_builtin_memset): Likewise, but to clear_storage.
2573         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
2574         (restore_fixed_argument_area): Likewise.
2575         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
2576         (load_register_parameters): Likewise, to emit_group_load.
2577         (expand_call): Likewise, to emit_group_store and emit_block_move.
2578         (emit_library_call_value_1): Likewise, to emit_block_move.
2579         (store_one_arg): Likewise, and to emit_push_insn.
2580         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
2581         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
2582         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
2583         (emit_block_move, emit_group_load, emit_group_store): Likewise.
2584         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
2585         (expand_assigment, store_expr, store_constructor_field): Likewise.
2586         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
2587         (store_constructor, store_field, get_inner_reference): Likewise.
2588         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
2589         (expand_expr, case COMPONENT_REF): Likewise.
2590         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
2591         and positions; reindent code.
2592         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
2593         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
2594         (assign_parms): Likewise to emit_group_store.
2595         * optabs.c (prepare_cmp_insn): Alignment is in bits.
2596         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
2597         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
2598         (expand_return): Likewise to {extract,store}_bit_field.
2599         * stor-layout.c (get_mode_alignment): Minor cleanup.
2600         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
2601         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
2602         
2603 2000-03-29  Nick Clifton  <nickc@cygnus.com>
2604
2605         * config/arm/arm.h: Undo effects of previous delta:
2606         (ASM_SPEC): Do not define.
2607         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
2608
2609         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
2610         typo. 
2611
2612 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
2613
2614         * cppinit.c (cpp_start_read): Call initialize_dependency_output
2615         only after reading in the primary source file.
2616
2617 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
2618
2619         * c-common.c (c_common_nodes_and_builtins): The first parameter to
2620         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
2621         or a reference to a va_list.
2622         * builtins.c (stabilize_va_list): Simplify now we don't have to
2623         work around C array address decay.
2624         * c-typeck.c (convert_for_assignment): Handle assignment to
2625         a reference parameter by taking the address of the RHS.
2626         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
2627         (va_copy): Likewise.
2628         (__va_copy): Likewise.
2629         * ginclude/varargs.h (va_start): Likewise.
2630         (__va_copy): Likewise.
2631
2632 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
2633
2634         * i386/djgpp.h: Remove extraneous "+".
2635
2636         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
2637
2638         * calls.c (expand_call): Fix typo in last change.
2639
2640 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
2641
2642         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
2643         been expanded.
2644
2645 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2646
2647         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
2648         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
2649         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
2650         * tree.c (bit_position, byte_position): Likewise.
2651         * tree.h: Declare new functions.
2652
2653 2000-03-29  Nick Clifton  <nickc@cygnus.com>
2654
2655         * config/arm/arm.c: Minor formatting changes/
2656         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
2657         already defined.
2658         (ASM_SPEC): Define if not already defined.
2659
2660 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
2661
2662         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
2663         _cpp_calc_hash.
2664
2665 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
2666
2667         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
2668         value, don't output it as unsigned.
2669
2670 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
2671
2672         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
2673
2674 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2675
2676         * c-common.c (c_common_nodes_and_builtins): Don't special case
2677         cplus_mode when declaring builtin bzero/bcmp, always avoid
2678         prototype arguments.
2679
2680 2000-03-29  Bruce Korb  <bkorb@gnu.org>
2681
2682         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
2683         to a non-file
2684
2685 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2686
2687         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
2688         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
2689         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
2690         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
2691         (save_fixed_argument_area, restore_fixed_argument_area):
2692         conditionize by #ifdef REG_PARM_STACK_SPACE only.
2693         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
2694         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
2695         (precompute_register_parameters): Avoid #ifdefs on
2696         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
2697         (stire_one_args): Likewise.
2698         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
2699         (emit_library_call_value_1): Likewise.
2700         (compute_argument_block_size): Align to STACK_BOUNDARY only for
2701         ACCUMULATE_OUTGOING_ARGS.
2702         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
2703         value.
2704         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
2705         (use_crosses_set_p): Likewise.
2706         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
2707         #define ACCUMULATE_OUTGOING_ARGS 1.
2708         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
2709         frames.
2710         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
2711         constants.
2712         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
2713         (TARGET_SWITCHES): Add push-args, no-push-args,
2714         accumulate-outgoing-args and no-accumulate-outgoing-args.
2715         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
2716         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
2717         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
2718         and PUSH_ROUNDING.
2719         (emit_push_insn): Likewise.
2720         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
2721         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
2722         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
2723         (STACK_DYNAMIC_OFFSET): Define correctly for both
2724         ACCUMULATE_OUTGOING_ARGS and normal mode.
2725         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
2726         * tm.texi (PUSH_ARGS): Document.
2727         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
2728
2729 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2730
2731         * flags.h (flag_optimize_sibling_calls): Declare.
2732         * calls.c (expand_call): Fail sibcall when
2733         !flag_optimize_sibling_calls
2734         * invoke.texi (flag_optimize_sibling_calls): Document.
2735         * toplev.c (flag_optimize_sibling_calls): New global variable.
2736         (f_options): Add flag_optimize_sibling_calls.
2737         (rest_of_compilation): Conditionize
2738         optimize_sibling_and_tail_recursive_calls by
2739         flag_optimize_sibling_calls.
2740         (main): Set flag_optimize_sibling_calls for -O2.
2741         * stmt.c (expand_return): Conditionize tail recursion by
2742         flag_optimize_sibling_calls.
2743
2744 2000-03-29  Richard Henderson  <rth@cygnus.com>
2745
2746         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
2747         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
2748
2749 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
2750
2751         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
2752
2753 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2754
2755         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
2756         is given.
2757         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
2758         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
2759         * config/rs6000/aix.h: then modified likewise.
2760
2761 2000-03-28  Richard Henderson  <rth@cygnus.com>
2762
2763         * rtl.h: Redistribute enum reg_note documentation. 
2764         Kill trailing whitespace.
2765         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
2766         Kill trailing whitespace.
2767
2768 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
2769
2770         * cppfiles.c (hash_IHASH): Just return i->hash.
2771         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
2772         htab_find_with_hash.
2773         (cpp_read_file): Likewise.
2774         (find_include_file): Likewise.  Properly initialize
2775         ih->nshort.  Share ih->name and ih->nshort if possible.
2776         * cpphash.c (_cpp_calc_hash): New function.
2777         (hash_HASHNODE): Just return h->hash.
2778         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
2779         htab_find_with_hash.
2780         * cpphash.h: Prototype _cpp_calc_hash.
2781         * cppinit.c (initialize_builtins): Provide a valid hash
2782         to _cpp_make_hashnode, using _cpp_calc_hash.
2783
2784         * cpphash.c (collect_expansion): # is not a special character
2785         in object-like macros.  In -traditional mode, /**/ is not
2786         token paste at the beginning or end of the line.
2787         * cpplib.c (do_include, do_import, do_include_next): If
2788         parse_include fails, return immediately.
2789
2790 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
2791
2792         * config/arm/arm.md (return peepholes): Update to reflect the new
2793         call insn patterns.
2794         * config/arm/arm.c (arm_volatile_func): Also check
2795         current_function_nothrow.
2796         (output_return_instruction, output_func_prologue): Use it.
2797         (arm_output_epilogue, arm_expand_prologue): Likewise.
2798
2799 2000-03-27  Tom Tromey  <tromey@cygnus.com>
2800
2801         * gcc.c (handle_braces): In {x*...} case, break out of loop if
2802         switch is found.
2803
2804 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2805
2806         * expr.c (store_constructor): SIZE now signed.
2807         For EXPR_SIZE, don't evaluate size; just needed if constant.
2808         * fold-const.c (fold): Fix a number of cases when folded tree is
2809         wrong type.
2810         * function.c (flush_addressof): Reenable.
2811         * tree.h (flush_addressof): Likewise.
2812         * toplev.c (independent_decode_option): Look at strings_processed.
2813         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
2814
2815 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
2816
2817         * sibcall.c (indentify_call_return_value): Find last call in the chain;
2818         Allow stack adjustment after function call.
2819
2820         * regmove.c (struct csa_memlist): Make mem field rtx *.
2821         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
2822         (try_apply_stack_adjustment): Replace whole MEM rtx.
2823         (combine_stack_adjustments_for_block): Update calls
2824         to record_one_stack_ref.
2825
2826 2000-03-28  Neil Booth  <NeilB@earthling.net>
2827
2828         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
2829         '\\' rather than a null character, so nulls are not special.  Fix
2830         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
2831         speed trigraph conversion.
2832         (_cpp_init_input_buffer): Initialize trigraph map.
2833
2834 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2835
2836         * config/i386/i386.c (output_387_binary_op): Correct intel
2837         mode assembly output, and add spaces after commas in AT&T
2838         output.  Correct Unixware assembler comment.  Document input
2839         constraints.  Comment fp operations.  Reduce profligate buffer
2840         size.  Remove extraneous abort.  Localize temp var.
2841         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
2842         (output_fix_trunc): Add spaces after commas in assembly output.
2843
2844 2000-03-27  Richard Henderson  <rth@cygnus.com>
2845
2846         * i386-protos.h (ix86_match_ccmode): Declare.
2847         * i386.c (ix86_match_ccmode): New.
2848         (ix86_expand_fp_compare): Update for pattern renames.
2849         (ix86_expand_strlensi_unroll_1): Likewise.
2850         * i386.h (EXTRA_CC_MODES): Add CCZ.
2851         (SELECT_CC_MODE): Use it for EQ/NE zero.
2852         * i386.md (cmpsi_ccz_1): New.
2853         (cmpqi_ccz_1): New.
2854         (*testsi_ccz_1): New.
2855         (testqi_ccz_1): New.
2856         (cmpsi_ccno_1): Rename from cmpsi_0.
2857         (testsi_ccno_1): Rename from testsi_1.
2858         (testqi_ccno_1): Rename from testqi_1.
2859         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
2860         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
2861         (*cmphi_0): Use ix86_match_ccmode.
2862         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
2863         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
2864         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
2865         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
2866         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
2867         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
2868         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
2869         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
2870         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
2871         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
2872         (appropriate peepholes): Likewise.
2873         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
2874         (*subsi_3, *subhi_3, *subqi_3): Remove.
2875         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
2876         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
2877         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
2878         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
2879         (x86_shift_adj_1): Use CCZ.
2880         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
2881
2882 2000-03-27  Stan Cox  <scox@cygnus.com> 
2883
2884         * resource.h (mark_resource_type): New.
2885         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
2886         find_free_register): Use mark_resource_type.
2887         (mark_set_resources): Change include_delayed_effects
2888         to mark_resource_type.
2889         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
2890         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
2891         Use mark_resource_type.
2892         
2893 2000-03-27  Richard Henderson  <rth@cygnus.com>
2894
2895         * i386.md (call_pop_0, call_value_pop_0): New.
2896         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
2897         (call_value_pop_1): Likewise.
2898         (call_0, call_value_0): New.
2899         (call_1, call_value_1): Remove constraint from unused arg.
2900
2901 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2902
2903         * invoke.texi (Spec Files): Document new spec % command created by
2904         Tom Tromey's recent patch.
2905
2906 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
2907
2908         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
2909         if not defined.
2910
2911 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2912
2913         * expr.c (expand_assignment): Fix typo in last change.
2914
2915         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
2916
2917 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2918
2919         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
2920         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
2921         and DECL_INLINE if FUNCTION_DECL.
2922         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
2923         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
2924         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
2925         (combine_parm_decls): Likewise.
2926         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
2927         * print-tree.c (print_node): Likewise.
2928         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
2929         DECL_TRANSPARENT_UNION on proper decl types.
2930         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
2931         * stor-layout.c (layout_decl): Only check DECL_PACKED and
2932         DECL_BIT_FIELD of FIELD_DECL.
2933         * tree.h (DECL_RESULT_FLD): New macro.
2934         
2935         * expr.c (expand_assignment): Add code to handle variable-sized
2936         BLKmode case.
2937
2938 2000-03-26  Richard Henderson  <rth@cygnus.com>
2939
2940         * calls.c (expand_call): Pass parms not original exp to
2941         optimize_tail_recursion.  Mind return value instead of looking
2942         for a barrier.
2943         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
2944         call_expr.  Move checks for call_expr and current_function_decl ...
2945         (expand_return): ... here.
2946
2947 2000-03-26  Tom Tromey  <tromey@cygnus.com>
2948
2949         * gcc.c (handle_braces): Recognize `%{<S}' construct.
2950         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
2951         defines.
2952         (process_command): Use them.
2953         (check_live_switch): Likewise.
2954         (give_switch): Skip ignored switches.
2955
2956 2000-03-26  Jan Hubicka  <jh@suse.cz>
2957
2958         * jump.c (jump_optimize_1): Fix typo in elide optimizations
2959         for minimal jump pass test.
2960
2961 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
2962
2963         * integrate.c (function_cannot_inline_p): Do inline functions that
2964         return `void'.
2965
2966 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2967
2968         * stor-layout.c (layout_type, set_sizetype): early_type_list is
2969         now a list of TREE_LIST entries, not types.
2970         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
2971
2972         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
2973         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
2974         int_bit_position.
2975         * config/mips/mips.c (function_arg): Likewise; also remove cast
2976         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
2977         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
2978         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
2979         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
2980         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
2981         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
2982         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
2983         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
2984         num_adjusts now unsigned.
2985         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
2986         * config/sparc/sparc.c (struct function_arg_record_value_parms):
2987         NREGS now unsigned.
2988         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
2989         as is BITPOS variable; use host_integerp and int_bit_position.
2990         (function_arg_record_value_2): Likewise.
2991         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
2992         Variable REGNO now unsigned.
2993         (function_arg_record_value): NREGS now unsigned.
2994
2995 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
2996
2997         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
2998
2999 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3000
3001         * Rework fields used to describe positions of bitfields and
3002         modify sizes to be unsigned and use HOST_WIDE_INT.
3003         * alias.c (reg_known_value_size): Now unsigned.
3004         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
3005         (really_start_incremental_init): Use bitsize_zero_node.
3006         (push_init_level, pop_init_level, output_init_element): Likewise.
3007         Use bitsize_unit_node and bitsize_one_node.
3008         (output_pending_init_elements, process_init_element): Likewise.
3009         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
3010         (make_extraction): Position and length HOST_WIDE_INT and unsigned
3011         HOST_WIDE_INT, respectively.
3012         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
3013         (num_sign_bit_copies): Returns unsigned.
3014         BITWIDTH now unsigned; rework arithmetic.
3015         Remove recursive call from arg to MAX.
3016         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
3017         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
3018         REGNO now unsigned.
3019         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
3020         (find_split_point, expand_compound_operation, make_extraction): LEN
3021         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
3022         (make_field_assignment): Likewise.
3023         (combine_simplify_rtx): Add cast.
3024         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
3025         (force_to_mode): WIDTH now unsigned; add cast.
3026         (if_then_else_cond): SIZE now unsigned.
3027         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
3028         (extended_count): Now returns unsigned.
3029         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
3030         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
3031         (simplify_comparison): MODE_WIDTH now unsigned.
3032         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
3033         (mark_used_regs_combine): Likewise; rework arithmetic.
3034         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
3035         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
3036         (record_promoted_value): REGNO now unsigned.
3037         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
3038         (get_last_value): REGNO now unsigned.
3039         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
3040         (reg_dead_regno, reg_dead_endregno): Now unsigned.
3041         (remove_death): Arg REGNO now unsigned.
3042         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
3043         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
3044         now unsigned.
3045         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
3046         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
3047         (struct cse_reg_info): REGNO now unsigned.
3048         (cached_regno): Now unsigned.
3049         (REGNO_QTY_VALID_P): Add cast.
3050         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
3051         (remove_invalid_regs): Likewise.
3052         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
3053         as are variables END and I.
3054         (get_cse_reg_info, insert): Likewise.
3055         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
3056         (canon_hash): Likewise.
3057         (insert_regs, lookup_for_remove): REGNO now unsigned.
3058         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
3059         New variable RN.
3060         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
3061         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
3062         * emit-rtl.c (subreg_realpart_p): Add cast.
3063         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
3064         (operand_subword_force): Arg I is now unsigned.
3065         * except.c (eh_regs): Variable I is now unsigned.
3066         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
3067         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
3068         length is unsigned HOST_WIDE_INT; likewise for internal variables.
3069         (store_split_bit_field, extract_fixed_bit_field): Likewise.
3070         (extract_split_bit_field, store_bit_field, extract_bit_field):
3071         Likewise.
3072         * expr.c (store_constructor_fields, store_constructor, store_field):
3073         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
3074         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
3075         (do_jump): Likewise.
3076         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
3077         MAX_SIZE is now unsigned.
3078         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
3079         (emit_group_store): Likewise.
3080         (emit_move_insn): I now unsigned.
3081         (store_constructor): Use host_integerp, tree_low_cst, and
3082         bitsize_unit_node.
3083         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
3084         Rework all calculations to use trees and new fields.
3085         * expr.h (promoted_input_arg): Regno now unsigned.
3086         (store_bit_field, extract_bit_field): Adjust types of pos and size.
3087         (mark_seen_cases): Arg is HOST_WIDE_INT.
3088         * flow.c (verify_wide_reg_1): REGNO now unsigned.
3089         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
3090         precisions and alignments are unsigned.
3091         (optimize_bit_field_compare, fold_truthop): Likewise.
3092         (int_const_binop): Adjust threshold for size_int_type_wide call.
3093         (fold_convert): Likewise.
3094         (size_int_type_wide): Make table larger and fix thinko that only
3095         had half of table used.
3096         (all_ones_mask_p, fold): Precisions are unsigned.
3097         * function.c (put_reg_info_stack): REGNO is unsigned.
3098         (instantiate_decl): Size is HOST_WIDE_INT.
3099         (instantiate_virtual_regs): I is unsigned.
3100         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
3101         (promoted_input_arg): REGNO is unsigned.
3102         * function.h (struct function): x_max_parm_reg is now unsigned.
3103         * gcse.c (max_gcse_regno): Now unsigned.
3104         (struct null_pointer_info): min_reg and max_reg now unsigned.
3105         (lookup_set, next_set): REGNO arg now unsigned.
3106         (compute_hash_table): REGNO and I now unsigned.
3107         (handle_avail_expr): regnum_for_replacing now unsigned.
3108         (cprop_insn): REGNO now unsigned.
3109         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
3110         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
3111         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
3112         * hard-reg-set.h (reg_class_size): Now unsigned.
3113         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
3114         * jump.c (mark_modified_reg): I now unsigned; add cast.
3115         (rtx_equal_for_thread_p): Add cast.
3116         * loop.c (max_reg_before_loop): Now unsigned.
3117         (struct_movable): REGNO now unsigned.
3118         (try_copy_prop): REGNO arg unsigned.
3119         (regs_match_p): XN and YN now unsigned.
3120         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
3121         (strength_reduce): Likewise; NREGS also unsigned.
3122         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
3123         * loop.h (struct iv_class): REGNO now unsigned.
3124         (max_reg_before_loop, first_increment_giv, last_increment_giv):
3125         Now unsigned.
3126         * machmode.h (mode_size, mode_unit_size): Now unsigned.
3127         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
3128         * optabs.c (expand_binop): I and NWORDS now unsigned.
3129         (expand_unop): I now unsigned.
3130         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
3131         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
3132         * real.c (significand_size): Now returns unsigned.
3133         * real.h (significand_size): Likewise.
3134         * regclass.c (reg_class_size): Now unsigned.
3135         (choose_hard_reg_mode): Both operands now unsigned.
3136         (record_reg_classes): REGNO and NR now unsigned.
3137         (reg_scan): NREGS now unsigned.
3138         (reg_scan_update): old_max_regno now unsigned.
3139         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
3140         * reload.c (find_valid_class): BEST_SIZE now unsigned.
3141         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
3142         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
3143         Likewise for variable R.
3144         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
3145         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
3146         (find_equiv_reg): Add casts.
3147         (regno_clobbered_p): Arg REGNO now unsigned.
3148         * reload.h (struct reload): NREGS now unsigned.
3149         (refers_to_regno_for_reload_p): Regno args are unsigned.
3150         (regno_clobbered_p): Likewise.
3151         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
3152         (compute_use_by_pseudos): REGNO now unsigned.
3153         (find_reg): I and J now unsigned, new variable K, and change loop
3154         variables accordingly; THIS_NREGS now unsigned.
3155         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
3156         (spill_hard_reg): REGNO arg now unsigned; add casts.
3157         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
3158         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
3159         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
3160         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
3161         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
3162         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
3163         (emit_reload_insns): REGNO now unsigned.
3164         (reload_cse_move2add): Add cast.
3165         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
3166         and rework loop.
3167         * resource.c (mark_referenced_resources, mark_set_resources): New
3168         variable R; REGNO and LAST_REGNO now unsigned.
3169         (mark_target_live_regs): J and REGNO now unsigned.
3170         * rtl.c (mode_size, mode_unit_size): Now unsigned.
3171         * rtl.h (union rtunion_def): New field rtuint.
3172         (XCUINT): New macro.
3173         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
3174         (operand_subword, operand_subword_force): Word number is unsigned.
3175         (choose_hard_reg_mode): Operands are unsigned.
3176         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
3177         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
3178         (regno_use_in, combine_instructions, remove_death): Likewise.
3179         (reg_scan, reg_scan_update): Likewise.
3180         (extended_count): Return is unsigned.
3181         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
3182         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
3183         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
3184         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
3185         (reg_reg_last_1): FIRS and LAST now unsigned.
3186         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
3187         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
3188         now unsigned.
3189         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
3190         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
3191         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
3192         (replace_regs): Arg NREGS now unsigned.
3193         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
3194         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
3195         (simplify_binary_operation): Likewise.
3196         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
3197         THIS_LAST now unsigned.
3198         (cselib_record_set): Add cast.
3199         * ssa.c (ssa_max_reg_num): Now unsigned.
3200         (rename_block): REGNO now unsigned.
3201         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
3202         sizes now unsigned.
3203         (all_cases_count): Just return -1 not -2.
3204         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
3205         Rework tests to use trees whenever possible.
3206         Use host_integerp and tree_low_cst.
3207         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
3208         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
3209         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
3210         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
3211         (smallest_mode_for_size): Likewise.
3212         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
3213         KNOWN_ALIGN is now an alignment, so simplify code.
3214         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
3215         (start_record_layout): Renamed from new_record_layout_info.
3216         Update to new fields.
3217         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
3218         New functions.
3219         (place_union_field): Renamed from layout_union_field.
3220         Update to use new fields in rli.
3221         (place_field): Renamed from layout_field.
3222         Major rewrite to use new fields in rli; pass alignment to layout_decl.
3223         (finalize_record_size): Rework to use new fields in rli and handle
3224         union.
3225         (compute_record_mode): Rework to simplify and to use new DECL fields.
3226         (finalize_type_size): Make rounding more consistent.
3227         (finish_union_layout): Deleted.
3228         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
3229         (layout_type, case RECORD_TYPE): Call new function names.
3230         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
3231         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
3232         (get_best_mode): UNIT is now unsigned; remove casts.
3233         * tree.c (bit_position): Compute from new fields.
3234         (byte_position, int_byte_position): New functions.
3235         (print_type_hash_statistics): Cast to remove warning.
3236         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
3237         (build_index_type): Likewise; make subtype of sizetype.
3238         (build_index_2_type): Pass sizetype to build_range_type.
3239         (build_common_tree_nodes): Use size_int and bitsize_int to
3240         initialize nodes; add bitsize_{zero,one,unit}_node.
3241         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
3242         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
3243         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
3244         (DECL_FIELD_BITPOS): Deleted.
3245         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
3246         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
3247         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
3248         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
3249         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
3250         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
3251         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
3252         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
3253         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
3254         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
3255         (DECL_ALIGN): Adjust to new field in union.
3256         (DECL_OFFSET_ALIGN): New field.
3257         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
3258         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
3259         (union tree_decl): Add struct for both aligns.
3260         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
3261         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
3262         (struct record_layout_info): Rework fields to have offset
3263         alignment and byte and bit position.
3264         (start_record_layout, place_field): Renamed from old names.
3265         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
3266         (byte_position, int_byte_position): Likewise.
3267         (get_inner_reference): Change types of position and length.
3268         * unroll.c (unroll_loop): New variable R; use for some loops.
3269         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
3270         (calculate_giv_inc): Arg REGNO now unsigned.
3271         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
3272         * varasm.c (assemble_variable): Clean up handling of size using
3273         host_integerp and tree_low_cst.
3274         (decode_addr_const): Use byte, not bit, position.
3275         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
3276         use tree_low_cst and int_bit_position.
3277         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
3278         
3279 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
3280
3281         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
3282         (reorder_block_def): New members eff_head and eff_end.
3283         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
3284         (verify_insn_chain): New function.
3285         (skip_insns_between_block): Add code to skip deleted insns.
3286         Check for note before using.
3287         (chain_reorder_blocks): Replace calls to skip_insns_between_block
3288         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
3289         Check for note before using.
3290         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
3291         (fixup_reorder_chain): Restructure, clean up, defect removal.
3292         (reorder_basic_blocks): Remove last_insn and references to it.
3293         Moved insn chain verification code into a new function (see above).
3294         Delete defective code that sets last insn.
3295         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
3296         all blocks.
3297
3298 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3299
3300         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
3301
3302 2000-03-24  Richard Henderson  <rth@cygnus.com>
3303
3304         * tree.c (lang_safe_for_unsave): Remove.
3305         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
3306         allowing for two levels of unsafeness.  Remove lang hook.
3307         * tree.h: Update declarations.
3308         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
3309         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
3310         Always fail sibcalls when there are pending cleanups.
3311
3312 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
3313
3314         * flow.c (propagate_block): When we delete an ADDR_VEC,
3315         also delete the BARRIER following it if there is one.
3316
3317 2000-03-24  Richard Henderson  <rth@cygnus.com>
3318
3319         * builtins.c (expand_builtin_bzero): Convert `length' argument
3320         to sizetype.
3321
3322 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
3323
3324         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
3325         comparison if regno's are equal.
3326         * calls.c (initialize_argument_informat): Add ecf_flags argument.
3327         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
3328         (expand_call): Update caller.
3329         Avoid making a sibling call if argument size of the callee is larger
3330         than argument size of the caller.
3331         Call hard_function_value with outgoing set if in sibcall pass.
3332         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
3333
3334         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
3335         Change LEAF_REGISTERS from an array initializer to actual array
3336         identifier. Move static global variable into the function.
3337         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
3338         sequences for leaf functions.
3339         * global.c (global_alloc): Likewise.
3340         * tm.texi (LEAF_REGISTERS): Update documentation.
3341
3342         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
3343         TARGET_FLAT leaf disabling hack.
3344         (LEAF_REGISTERS): Changed from an array initializer to actual array
3345         identifier to avoid duplication and remove the above hack.
3346         (FUNCTION_OK_FOR_SIBCALL): Define.
3347         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
3348         always like call attribute.
3349         (eligible_for_sibcall_delay): New attribute.
3350         (sibcall): New delay type.
3351         (sibcall, sibcall_value, sibcall_epilogue): New expands.
3352         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
3353         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
3354         * config/sparc/sparc.c (sparc_leaf_regs): New array.
3355         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
3356         New functions.
3357         (output_function_epilogue): Move part of the code into
3358         output_restore_regs.
3359         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
3360         TYPE_SIBCALL.
3361         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
3362         prototypes.
3363
3364         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
3365         until infrastructure is finished.
3366
3367 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
3368
3369         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
3370         (save_parm_insns): Not here.
3371
3372 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3373
3374         * builtins.c (expand_builtin_bzero): New function.
3375         (expand_builtin): Handle bzero.
3376
3377         * builtins.def: Add BUILT_IN_BZERO.
3378
3379         * c-common.c (c_common_nodes_and_builtins): Provide builtin
3380         prototype & function for bzero.
3381
3382 2000-03-23  Michael Meissner  <meissner@redhat.com>
3383
3384         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
3385         change adding TARGET_FP to the TF floating point insns, except for
3386         trunctfsf2, which generates direct calls to truncdfsf2.
3387
3388 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
3389
3390         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
3391         try to protect against middle-end changes that break binary
3392         compatibility.
3393         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
3394
3395 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3396
3397         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
3398
3399 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3400
3401         * calls.c (expand_call): If TARGET is passed by reference and
3402         is readonly, write a CLOBBER.
3403
3404 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3405
3406         * builtins.c (expand_builtin): Handle bcmp.
3407
3408         * builtins.def: Add BUILT_IN_BCMP.
3409
3410         * c-common.c (c_common_nodes_and_builtins): Provide builtin
3411         prototype & function for bcmp.
3412
3413 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
3414
3415         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
3416         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
3417         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
3418
3419 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
3420
3421         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
3422         alternative when using -fp64 -gp32.
3423
3424 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
3425
3426         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
3427         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
3428         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
3429
3430         * frame.h (frame_state): Revert last change.
3431         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
3432         * libgcc2.c (throw_helper): Revert last change.
3433         
3434 2000-03-22  Richard Henderson  <rth@cygnus.com>
3435
3436         * stmt.c (expand_asm_operands): Don't promote the temporary.
3437
3438 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3439
3440         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
3441         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
3442           c_get_alias_set): Likewise.
3443         * c-decl.c (duplicate_decls): Likewise.
3444         * c-typeck.c (default_conversion,build_unary_op): Likewise.
3445         * calls.c (initialize_argument_information): Likewise.
3446         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
3447         Likewise.
3448         * dwarfout.c (decl_class_context,output_type): Likewise.
3449         * expr.c (get_inner_reference): Likewise.
3450         * fold-const.c (simple_operand_p,fold): Likewise.
3451         * function.c (aggregate_value_p): Likewise.
3452         * stmt.c (expand_asm_operands): Likewise.
3453         * varasm.c (named_section): Likewise.
3454
3455 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
3456
3457         Implement dwarf2 exception handling for the ARM.
3458         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
3459         (DWARF_FRAME_RETURN_COLUMN): Define.
3460         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
3461         REG_FRAME_RELATED_EXPR note.
3462         (emit_sfm): Likewise.
3463         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
3464         * dwarf2out.c (reg_save): Handle saving a register to itself.
3465         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
3466         * except.c (eh_regs): Don't use the static chain reg if it's
3467         callee-saved.
3468         * frame.h (frame_state): Add cfa_saved field.
3469         * frame.c (execute_cfa_insn): Set it.
3470         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
3471         the epilogue.
3472         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
3473         Now takes a parm.
3474         (instantiate_virtual_regs): Adjust.
3475         * tm.texi: Adjust.
3476         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
3477         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
3478         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
3479
3480         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
3481         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
3482
3483 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3484
3485         * builtins.def: New file.
3486
3487         * Makefile.in (TREE_H): Depend on builtins.def.
3488
3489         * builtins.c (built_in_names): Use builtins.def.
3490
3491         * tree.h (built_in_function): Likewise.
3492
3493 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
3494
3495         * tree.c (size_in_bytes): Return size_zero_node, not
3496         integer_zero_node.
3497
3498 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
3499
3500         * config/fp-bit.c (pack_d): Correct the case when a denormal
3501         is rounded up and stops being denormal.
3502
3503 2000-03-21  Richard Henderson  <rth@cygnus.com>
3504
3505         * config/alpha/alpha.c (function_arg): Check for void_type_node
3506         before using MUST_PASS_IN_STACK.
3507
3508 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
3509
3510         * regmove.c (combine_stack_adjustments_for_block): Check that
3511         the stack pointer is a valid memory address.
3512
3513 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
3514
3515         * calls.c: re-install Mar 16 emit_library_call merge.
3516
3517 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
3518
3519         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
3520         we cannot be sure that if reload_completed base register will
3521         be properly aligned.
3522
3523 2000-03-21  Richard Henderson  <rth@cygnus.com>
3524
3525         * flow.c (delete_block): Fix typo last change.
3526
3527 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
3528
3529         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
3530         not COMPLETE_TYPE_P, to check the type of the expression.
3531
3532 2000-03-21  Michael Meissner  <meissner@redhat.com>
3533
3534         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
3535         all floating point insns that just tested the macro
3536         TARGET_HAS_XFLOATING_LIBS.
3537         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
3538         used to only use the gprs.
3539
3540 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
3541
3542         * tree.h (COMPLETE_TYPE_P): New macro.
3543         (COMPLETE_OR_VOID_TYPE_P): New macro.
3544         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
3545         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
3546         * c-aux-info.c (gen_type): Use them.
3547         * c-common.c (c_expand_expr_stmt): Likewise.
3548         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
3549         grokdeclarator, grokparms, finish_struct, start_function,
3550         store_parm_decls, combine_parm_decls): Likewise.
3551         * c-parse.y (cast_expr): Likewise.
3552         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
3553         c_size_in_bytes, c_alignof, build_component_ref,
3554         build_indirect_ref, build_array_ref, convert_arguments,
3555         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
3556         * calls.c (initialize_argument_information): Likewise.
3557         * convert.c (convert_to_integer): Likewise.
3558         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
3559         * dwarfout.c (location_or_const_value_attribute,
3560         output_enumeration_type_die, output_structure_type_die,
3561         output_union_type_die, output_type): Likewise.
3562         * expr.c (safe_from_p, expand_expr): Likewise.
3563         * function.c (assign_parms): Likewise.
3564         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
3565         * tree.c (build_array_type, build_function_type,
3566         build_method_type, build_offset_type, build_complex_type): Likewise.
3567         * c-parse.c, c-parse.h: Regenerated.
3568
3569 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3570
3571         * config/c4x/rtems.h: Include config/rtems.h.
3572
3573 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
3574
3575         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
3576         decl is a FUNCTION_DECL
3577
3578 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
3579
3580         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
3581         function uses output registers.  Don't save RP for leaf functions.
3582         Do save RP even if no epilogue.
3583         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
3584         (CALL_USED_REGISTERS): Unmark in registers.
3585         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
3586         to near the middle.
3587
3588 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
3589
3590         * config/rs6000/rs6000.md (bunordered): New expander.
3591         (bordered): New expander.
3592         (buneq): New expander.
3593         (bunge): New expander.
3594         (bungt): New expander.
3595         (bunle): New expander.
3596         (bunlt): New expander.
3597         (bltgt): New expander.
3598  
3599         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
3600         (ccr_bit_negated_p): New function.
3601         (print_operand): For %C, generate appropriate cror for UNEQ,
3602         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
3603
3604 2000-03-20  Andreas Jaeger  <aj@suse.de>
3605
3606         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
3607         warning.
3608
3609         * tree.h (safe_for_unsave): Prototype.
3610
3611 2000-03-20  Richard Henderson  <rth@cygnus.com>
3612
3613         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
3614         (combine_stack_adjustments_for_block): Don't allow sp references
3615         in the side of a set we're not fixing up.
3616         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
3617         after life_analysis.
3618
3619 2000-03-20  Richard Henderson  <rth@cygnus.com>
3620
3621         * calls.c (expand_call): Don't bother generating tail call
3622         sequences if there are pending cleanups.  Use
3623         expand_start_target_temps/expand_end_target_temps to elide
3624         cleanups created during sibcall expansion.
3625
3626 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
3627
3628         * configure.in: Set $IFS to a value if it doesn't already have one
3629         in the --enable-checking handling.
3630         * configure: Regenerate.
3631
3632 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3633
3634         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
3635         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3636         Regenerated.
3637
3638 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
3639
3640         * jump.c (delete_noop_moves): Remove code attempting to
3641         combine stack adjustments.
3642
3643 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3644
3645         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
3646         * except.c (emit_cleanup_handler): Use them.
3647         (expand_end_all_catch): Likewise.
3648         * function.c (fixup_var_refs): Likewise.
3649         (expand_function_end): Clear catch_clauses_last.
3650         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
3651         * except.h (struct eh_status): New field x_catch_clauses_last.
3652         (catch_clauses_last): New define.
3653
3654         * Makefile.in (tree.o): Depend on HASHTAB_H.
3655         * tree.c: Include hashtab.h.
3656         (struct type_hash): Remove next field.
3657         (TYPE_HASH_SIZE): Remove.
3658         (TYPE_HASH_INITIAL_SIZE): New define.
3659         (type_hash_table): Change type to htab_t.
3660         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
3661         mark_hash_entry): New functions.
3662         (init_obstacks): Allocate type hash.
3663         (type_hash_lookup): Use htab functions.
3664         (type_hash_add, mark_type_hash): Likewise.
3665         (dump_tree_statistics): Call print_type_hash_statistics.
3666
3667 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3668
3669         * rs6000/t-aix41: New file.
3670
3671         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
3672
3673 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
3674
3675         * tm.texi (Driver): Fix typos and tweak entry for
3676         INCLUDE_DEFAULTS.
3677         Move misplaced STRUCT_FORCE_BLK entry ...
3678         (Storage Layout): ... to here.
3679         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
3680
3681 2000-03-19  Richard Henderson  <rth@cygnus.com>
3682
3683         * flow.c (delete_block): Delete the addr_vec along with the block.
3684         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
3685         reference labels.
3686
3687         * fold-const.c (extract_muldiv): Apply type check for defined
3688         overflow to multiply as well as divide.
3689
3690         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
3691
3692 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
3693
3694         * emit-rtl.c (remove_unncessary_notes): Check that all
3695         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
3696         associated NOTE_BLOCK.
3697         * function.h (identify_blocks): Update comments.
3698         (reorder_blocks): Declare.
3699         * function.c (identify_blocks): Don't take paramters.
3700         (reorder_blocks): Don't take parameters.
3701         * loop.h (find_loop_tree_blocks): Remove.
3702         (unroll_block_trees): Likewise.
3703         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
3704         reorder_blocks instead of unroll_block_trees.h
3705         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
3706         * stmt.c (find_loop_tree_blocks): Remove.
3707         (unroll_block_trees): Likewise.
3708         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
3709         in whole-function mode.
3710         * tree.h (reorder_blocks): Remove declaration.
3711
3712         * expr.c: Include intl.h.
3713         * Makefile.in (expr.o): Depend on intl.h.
3714         
3715 2000-03-18  Richard Henderson  <rth@cygnus.com>
3716
3717         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
3718
3719 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
3720
3721         * tree.h (tree_index): Remove enumerals for integer types.
3722         (integer_type_kind): New type.
3723         (integer_types): New variable.
3724         (char_type_node): Adjust.
3725         (signed_char_type_node): Likewise.
3726         (unsigned_char_type_node): Likewise.
3727         (short_integer_type_node): Likewise.
3728         (short_unsigned_type_node): Likewise.
3729         (integer_type_node): Likewise.
3730         (unsigned_type_node): Likewise.
3731         (long_integer_type_node): Likewise.
3732         (long_unsigned_type_node): Likewise.
3733         (long_long_integer_type_node): Likewise.
3734         (long_long_unsigned_type_node): Likewise.
3735         * tree.c (integer_types): New variable.
3736         (init_obstacks): Register it as a root.
3737
3738 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
3739
3740         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
3741         NEXT_INSN. Update last insn in chain.
3742
3743 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
3744
3745         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
3746         with TYPE_DECL_SUPPRESS_DEBUG set.
3747
3748 2000-03-18  Richard Henderson  <rth@cygnus.com>
3749
3750         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
3751
3752 2000-03-18  Richard Henderson  <rth@cygnus.com>
3753
3754         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
3755         care for HALF_PIC_P.
3756         (expander_call_insn_operand): Remove.
3757         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
3758         * i386.h (PREDICATE_CODES): Update.
3759         * i386.md (all call expanders): Remove predicates, remove special
3760         handling for half-pic.
3761         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
3762         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
3763         (sibcall_epilogue): New.
3764
3765 2000-03-17  Richard Henderson  <rth@cygnus.com>
3766
3767         * rtlanal.c (single_set): Reject if the parallel has anything
3768         except SET or USE or CLOBBER.
3769
3770 2000-03-17  Jeff Law  <law@cygnus.com>
3771             Richard Henderson  <rth@cygnus.com>
3772
3773         * Makefile.in (OBJS): Add sibcall.o.
3774         (sibcall.o): New.
3775         * sibcall.c: New file.
3776         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
3777         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
3778         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
3779         Emit sibcall patterns when requested.  Update all callers.
3780         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
3781         elimination seems feasable.
3782         * final.c (leaf_function_p): Sibling calls don't discount being
3783         a leaf function.
3784         * flow.c (HAVE_sibcall_epilogue): Provide default.
3785         (find_basic_blocks_1): Sibling calls don't throw.
3786         (make_edges): Make edge from sibling call to EXIT.
3787         (propagate_block): Don't remove sibcall_epilogue insns.
3788         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
3789         (sibcall_epilogue): New.
3790         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
3791         (identify_blocks_1): Likewise.  Break out from ...
3792         (identify_blocks): ... here.
3793         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
3794         (reorder_blocks): ... here.
3795         (init_function_for_compilation): Zap prologue/epilogue as varrays.
3796         (record_insns): Extend a varray instead of mallocing new memory.
3797         (contains): Read a varray not array of ints.
3798         (sibcall_epilogue_contains): New.
3799         (thread_prologue_and_epilogue_insns): Emit and record
3800         sibcall_epilogue patterns.
3801         (init_function_once): Allocate prologue/epilogue varrays.
3802         * genflags.c (gen_insn): Treat sibcall patterns as calls.
3803         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
3804         Broken out from ...
3805         (save_for_inline_nocopy): ... here.
3806         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
3807         Broken out from ...
3808         (expand_inline_function): ... here.
3809         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
3810         (subst_constants): Handle 'n' formats.
3811         * jump.c (jump_optimize_minimal): New.
3812         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
3813         optimizations if it's set.
3814         * rtl.c (copy_rtx): Do copy jump & call for insns.
3815         * rtl.h (struct rtx_def): Document use of jump and call for insns.
3816         (SIBLING_CALL_P): New.
3817         (sibcall_use_t): New.
3818         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
3819         Invoke optimize_sibling_and_tail_recursive_calls.
3820         * tree.c (lang_safe_for_unsave): New.
3821         (safe_for_unsave): New.
3822         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
3823
3824         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
3825         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
3826         (*sibcall_osf_1, *sibcall_value_osf_1): New.
3827
3828 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
3829
3830         * objc/objc-act.c (encode_method_prototype): Pass types, not
3831         PARM_DECLs, to int_size_in_bytes.
3832
3833 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
3834
3835         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
3836
3837         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3838         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
3839
3840 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3841
3842         * Clean up usages of TREE_INT_CST_LOW.
3843         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
3844         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3845         Regenerated.
3846         * c-tree.h (min_precision): Move declaration to here.
3847         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
3848         (build_unary_op, add_pending_init): Use bit_position.
3849         (pending_init_member, process_init_element): Likewise.
3850         (really_start_incremental_init, push_init_level, pop_init_level):
3851         Don't make copies of nodes or modify them in place, use consistent
3852         types when tracking positions, and use tree routines computations.
3853         (set_init_index, output_init_element): Likewise.
3854         (output_pending_init_elements, process_init_element): Likewise.
3855         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
3856         tree_low_cst and int_bit_position; also minor cleanup.
3857         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
3858         (print_cst_octal): Precision is unsigned.
3859         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
3860         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
3861         (simple_type_align_in_bits): Result is unsigned int.
3862         Use tree_int_low_cst and host_integerp.
3863         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
3864         (field_byte_offset): Result is HOST_WIDE_INT.
3865         Change types of internal variables so alignments are unsigned int,
3866         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
3867         Use host_integerp, tree_low_cst, and int_bit_position.
3868         (add_bit_offset_attribute): Likewise.
3869         (add_data_member_location_attribute): Use tree_cst_low.
3870         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
3871         (add_bit_size_attribute): Use tree_low_cst.
3872         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
3873         * dwarfout.c: Similar changes to dwarf2out.c.
3874         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
3875         * genoutput.c (n_occurences): Return -1 for null string.
3876         (strip_whitespace): Accept null string and make into function.
3877         (scan_operands): Reflect above changes.
3878         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
3879         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
3880         * ssa.c (rename_registers): Add missing cast of arg to bzero.
3881         * tree.c (int_size_in_bytes): Check for too big to represent.
3882         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
3883         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
3884         New declarations.
3885         (min_precision): Delete from here.
3886         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
3887         and int_bit_position.
3888         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
3889         (encode_method_def): Likewise.
3890         (build_ivar_list_initializer): Use int_bit_position.
3891         (generate_shared_structures): Convert size.
3892         (encode_type, encode_complete_bitfield): Use integer_zerop.
3893         (encode_bitfield): Use tree_low_cst and int_bit_position.
3894         
3895 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3896
3897         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
3898
3899 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3900
3901         * call.c (special_function_p): It is only malloc if it returns
3902         Pmode.
3903
3904 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3905
3906         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
3907         (C33_FLAG, TARGET_C3X): Add macros.
3908         (TARGET_SWITCHES): Add -m33 option.
3909         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
3910         
3911 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3912         
3913         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
3914         (PARALLEL_PACK_FLAG): Delete.
3915         (TARGET_SWITCHES): Update.
3916         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
3917
3918 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3919
3920         * fold-const.c (fold): Fix a few cases when the returned result
3921         is not of the same type as the input.
3922
3923 2000-03-16  Nick Clifton  <nickc@cygnus.com>
3924
3925         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
3926         warning.
3927
3928 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3929
3930         * libgcc2.h: Move prototypes above macros with the same name.
3931         Wrap some function prototypes in the conditional which indicates
3932         whether they are supported, i.e. "BITS_PER_UNIT == 8".
3933
3934 2000-03-16  Richard Henderson  <rth@cygnus.com>
3935
3936         * calls.c: Revert last two changes.
3937
3938 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
3939
3940         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
3941         has exponent 0 is a zero.
3942
3943         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
3944         HASH may already be nonzero.  Add code/mode into hash value
3945         immediately after repeat label.
3946         (cselib_lookup): Don't leave the hash table in an inconsistent
3947         state before a hash lookup operation.
3948
3949 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
3950
3951         * i386.md (all HI and QI mode non-move patterns):  Conditionize
3952         by TARGET_[HQ]IMODE_MATH.
3953         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3954         x86_promote_qi_regs): Declare.
3955         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
3956         TARGET_PROMOTE_QI_REGS): New macros.
3957         (PROMOTE_MODE): New macro.
3958         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3959         x86_promote_qi_regs): New global variables.
3960
3961 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
3962
3963         * calls.c (emit_library_call_value_1): Break out from ...; handle
3964         VOIDmode function calls too.
3965         (emit_library_call_value): ... here.
3966         (emit_library_call): Implement by calling emit_library_call_value_1.
3967
3968 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
3969
3970         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
3971         Update arg_space_so_far on stack adjustments.
3972         (emit_library_call, emit_library_call_value): Likewise; take into
3973         account arg_space_so_far and pending_stack_adjust when calculcating
3974         the boundary.
3975
3976 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
3977
3978         * flow.c: Move all basic block reordering code into its own file.
3979         (create_basic_block): Externalize.
3980         * bb-reorder.c: New file. Copy all basic block reordering code from
3981         flow.c to this file.
3982         (reorder_basic_blocks): Fix fencepost error in for-loop.
3983         (reorder_basic_blocks): Remove braces from single statement for-loops.
3984         * basic-block.h: Add declaration for create_basic_block.
3985         * Makefile.in: Add rules for bb-reorder.o.
3986
3987 2000-03-16  Neil Booth  <NeilB@earthling.net>
3988
3989         * cppinit.c (handle_option):  Implement #unassert directive
3990         as -A- command line option.
3991         (print_help):  Update.
3992         * cpptexi.c:  Update.
3993
3994 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3995
3996         * md.texi (Standard Names): Document `jump'.
3997
3998 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
3999
4000         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
4001         gotos.
4002
4003 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
4004
4005         Merge changes from newppc-branch onto trunk.
4006
4007         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
4008
4009         * rs6000.c (toc_hash_table): Update for new hash table functions.
4010         (toc_hash_function): Likewise.
4011         (toc_hash_eq): Likewise.
4012         (toc_hash_mark_entry): Likewise.
4013         (toc_hash_mark_table): Likewise.
4014         (output_toc): Likewise.
4015         (rs6000_add_gc_roots): Likewise.
4016
4017         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4018
4019         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
4020         (AR_FLAGS_FOR_TARGET): here.  New macro.
4021
4022         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
4023
4024         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
4025         fpmem_operand) Delete.
4026         (xer_operand) New.
4027         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
4028         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
4029         (rs6000_save_machine_status, rs6000_restore_machine_status, 
4030         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove 
4031         references to above variables.
4032         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
4033         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
4034         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
4035         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
4036         (XER_REGNO_P, XER_REGNO): New.
4037         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
4038         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
4039         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to 
4040         XER_REGNO_P.
4041         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
4042         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
4043         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
4044         
4045         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4046
4047         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
4048         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
4049         * rs6000.h: from here.
4050
4051         * rs6000-protos.h (rs6000_select_section): Provide prototype.
4052         (rs6000_select_rtx_section): Likewise.
4053         (rs6000_encode_section_info): Likewise.
4054         (sdata_section): Likewise.
4055         (sdata2_section): Likewise.
4056         (sbss_section): Likewise.
4057         * sysv4.h (rs6000_select_section): Delete prototype.
4058         (rs6000_select_rtx_section): Likewise.
4059         (rs6000_encode_section_info): Likewise.
4060         (sdata_section): Likewise.
4061         (sdata2_section): Likewise.
4062         (sbss_section): Likewise.
4063         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
4064
4065         * sysv4.h: Delete various unnecessary #undef's and put a comment
4066         on the remaining ones.
4067         Change various comments according to coding standard.
4068
4069         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
4070
4071         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO, 
4072         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
4073         (CR0_REGNO_P) Remove.
4074         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand, 
4075         setup_incoming_varargs, mtcrf_operation, print_operand, 
4076         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue): 
4077         Use the above macros.
4078
4079         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
4080
4081         * config/rs6000/rs6000.md: Added a new alternative for each
4082         pattern that had a 'x' alternative but no 'y' alternative.
4083         Added a new split for each of the above patterns.
4084
4085         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
4086
4087         * aix41.h (ASM_CPU_SPEC): Delete.
4088         (CPP_CPU_SPEC): Delete.
4089
4090         * aix.h (RS6000_OUTPUT_BASENAME): Define.
4091         (ASM_OUTPUT_LABEL): Define.
4092         (ASM_GLOBALIZE_LABEL): Define.
4093         (STRIP_NAME_ENCODING): Define.
4094         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
4095         (STRIP_NAME_ENCODING): Don't define.
4096         (ASM_OUTPUT_LABEL): Don't define.
4097         (ASM_GLOBALIZE_LABEL): Don't define.
4098         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
4099         names, and ASM_OUTPUT_LABEL to output labels, rather than
4100         asm_fprintf.
4101         (ASM_OUTPUT_LABEL): Define.
4102         (ASM_OUTPUT_INT): Use assemble_name.
4103         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
4104         (STRIP_NAME_ENCODING): Don't undefine first.
4105         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
4106         ELF.
4107         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
4108         specified with 'asm' even with -fleading-underscore.
4109         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
4110         (output_epilog): Likewise.
4111         (output_toc): Likewise. 
4112         * tramp.asm: Handle -fleading-underscore correctly.
4113
4114         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
4115         -mminimal-toc.
4116         (nonlocal_goto_receiver): Delete.
4117         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
4118
4119         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
4120         (SET_ASM_OP): Define.
4121         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
4122
4123         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
4124         (ASM_LONG): Define.
4125
4126         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
4127         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
4128
4129         * rs6000.h: Add 'u' to more constants.
4130
4131         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
4132
4133         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
4134
4135         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
4136
4137         * rs6000.c (reg_or_u_cint_operand): New function.
4138         (logical_operand): Handle 64-bit hosts.
4139         (logical_u_operand): New function.
4140         (non_logical_cint_operand): Handle 64-bit hosts.
4141         (non_logical_u_cint_operand): New function.
4142         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
4143         (PREDICATE_CODES): Define new functions.
4144         * rs6000-protos.h: Declare new functions.
4145         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
4146         (movdi_64): Bracket code intended for 64-bit hosts.  Create
4147         CONST_DOUBLE for 32-bit values.
4148         (scc insns): Generate DImode compares.
4149         (mfcr insns): Create DImode versions.
4150         (sge matchers): New patterns.
4151         
4152         2000-02-15  Gabriel Paubert  <paubert@iram.es>
4153
4154         * rs6000.md: Correct instructions length attributes and
4155         constraints on unsigned compare instructions.
4156         (*ne0): Disable for PowerPC64.
4157
4158         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
4159
4160         * rs6000.c (output_function_profiler): Use .long for a 32-bit
4161         quantity, fix profile1.C test failure under -fPIC.
4162
4163         * rs6000.c: Add 'u' to many constants to suppress warnings.
4164         (constant_pool_expr_1): Make static.
4165         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
4166         * rs6000.h: Add 'u' to many constants to suppress warnings.
4167
4168         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
4169         for the start of the TOC, instead of LCTOC..0.
4170         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
4171         of the TOC.
4172         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
4173         (load_toc_aix_di): Use LCTOC..1.
4174
4175         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
4176         * rs6000.c (rs6000_legitimize_address): New function from
4177         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
4178         symbols in the constant pool that really are TOC references.
4179         (print_operand_address): For ELF, write TOC offsets under
4180         -fPIC as subtractions in the insn.
4181         (output_toc): For ELF, define symbols in TOC as normal labels,
4182         to match RTL.
4183         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
4184         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
4185         (create_TOC_reference): Prototype only when RTX_CODE is defined.
4186         * rs6000.md (movsi): Only use create_TOC_reference on
4187         symbols in the constant pool that really are TOC references.
4188
4189         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
4190         * rs6000.c (rs6000_reorg): Delete.
4191         * rs6000-protos.h (rs6000_reorg): Delete.
4192
4193         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
4194
4195         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
4196
4197         * aix.h (SETUP_FRAME_ADDRESSES): Define.
4198         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
4199         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
4200         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
4201         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
4202         rs6000_aix_emit_builtin_unwind_init.
4203         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call 
4204         rs6000_emit_eh_toc_restore on AIX.
4205         (return_eh_si): Use r2.
4206         (return_eh_di): Use r2.
4207
4208         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
4209         since we're breaking binary compatibility anyway.
4210
4211         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
4212
4213         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
4214         constant_pool_expr_p): Declare them.
4215         (constant_pool_expr_p): Declare it.
4216         * config/rs6000/rs6000.c (toc_label_name): Define.
4217         (rs6000_override_options): Set toc_label_name.
4218         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
4219         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
4220         uses_TOC): New functions.
4221         (print_operand): Delete old '*' case.
4222         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
4223         and strip off rtl for TOC before calling output_addr_const.
4224         (rs6000_emit_load_toc_table): Use toc_label_name.
4225         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
4226         the default.
4227         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
4228         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
4229         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
4230         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
4231         into explicit TOC_REGISTER offsets.
4232         (TOC_REGISTER): New macro.
4233         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under 
4234         TARGET_TOC to reference TOC_REGISTER.
4235         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
4236         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call  
4237         uses_TOC before emitting label references.
4238
4239         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
4240
4241         * rs6000.md (stack_tie): Fix warning.
4242
4243         * eabi-ctors.c: Use 'asm' names for the start/end variables,
4244         to handle -fleading-underscore.
4245         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
4246         (USER_LABEL_PREFIX): New macro.
4247         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
4248         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
4249         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
4250         call-linux can use the same multilibs.
4251         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
4252         and call-linux multilibs.  Do multilib with -fleading-underscore.
4253         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
4254         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
4255         to call-aix.
4256
4257         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
4258         have MASK_SOFT_FLOAT set.
4259         (CPP_FLOAT_DEFAULT_SPEC): New macro.
4260         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
4261         CPP_FLOAT_DEFAULT_SPEC.
4262
4263         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
4264         * rs6000.md: Whitespace change.
4265         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
4266         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
4267
4268         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
4269
4270         * rs6000.md (eh_epilogue): New expander.
4271         (eh_reg_restore): New expand/split/insn combination.
4272         (return_eh_si): New insn.
4273         (return_eh_di): New insn.
4274
4275         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
4276         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
4277         * eabi-ctors.c (__do_global_ctors): Register this object's
4278         frame.  Clean up.  Call atexit() after the constructors.
4279         (__do_global_dtors): Deregister this object's frame.  Clean up.
4280         Allow for recursive calls to exit().
4281         * rs6000.c (fixuplabelno): New variable.
4282         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
4283         TARGET_RELOCATABLE, it slows down exec() under linux.
4284         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
4285
4286         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
4287         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
4288         (ASM_OUTPUT_DWARF_DELTA2): New macro.
4289         (ASM_OUTPUT_DWARF_DELTA4): New macro.
4290         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
4291         (ASM_OUTPUT_DWARF_ADDR): New macro.
4292         (ASM_OUTPUT_DWARF_DATA4): New macro.
4293         (ASM_OUTPUT_DWARF_DATA2): New macro.
4294         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
4295         (ASM_OUTPUT_DWARF_OFFSET): New macro.
4296         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
4297
4298         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
4299
4300         * rs6000.c (rs6000_sr_alias_set): New variable.
4301         (rs6000_override_options): Initialise rs6000_sr_alias_set.
4302         (rs6000_emit_stack_tie): New function.
4303         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
4304         in a way that dwarf2out can understand.
4305         (rs6000_frame_related): New function.
4306         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
4307         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
4308         Use rs6000_emit_stack_tie when needed.
4309         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
4310         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
4311         * rs6000.md (stack_tie): New insn.
4312         (return_internal_si): Allow return value to be in the count
4313         register.
4314         (return_internal_di): Likewise.
4315
4316         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
4317
4318         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
4319
4320         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
4321
4322         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
4323
4324         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
4325
4326         * rs6000.md (stmw): Use the right POWER opcode.
4327         (lmw): Likewise.
4328
4329         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4330
4331         * rs6000-protos.h: New file.
4332
4333         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
4334         
4335         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
4336         warnings.
4337         
4338         * sysv4.h: Likewise.
4339
4340         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
4341
4342         * ../../configure.in: Delete powerpcle-*-winnt*
4343         and powerpcle-*-pe|powerpcle-*-cygwin*.
4344         * ../../configure: Regenerated.
4345         * cygwin.h: Delete.
4346         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
4347         (TARGET_WINDOWS_NT): Delete.
4348         (ABI_NT): Delete.
4349         (CALL_NT_DLLIMPORT): Delete.
4350         Delete NT-specific code.
4351         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
4352         * win-nt.h: Delete.
4353         * t-winnt: Delete.
4354         * nt-ci.asm: Delete.
4355         * nt-cn.asm: Delete.
4356         * ntstack.asm: Delete.
4357
4358         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4359
4360         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
4361         (ASM_FILE_START): Likewise.
4362         (ASM_DECLARE_FUNCTION_NAME): Likewise.
4363         (ASM_OUTPUT_LABELREF): Likewise.
4364         (ASM_OUTPUT_SKIP): Likewise.
4365         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
4366         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4367         (ASM_OUTPUT_CASE_LABEL): Likewise.
4368         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
4369         (ASM_OUTPUT_ASCII): Likewise.
4370
4371         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
4372
4373         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
4374         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
4375         increment rs6000_pic_labelno here.
4376         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
4377         and increment rs6000_pic_labelno here.
4378
4379         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
4380
4381         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
4382         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
4383         allocation knows (reg) is dead before the insn.
4384
4385         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
4386
4387         * rs6000.md (movsi_to_cr): Correct typo in output template.
4388
4389         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
4390
4391         * rs6000.c (rs6000_pic_labelno): Always define.
4392         (rs6000_pic_func_labelno): Delete.
4393         (lmw_operation): Check for a zero base register,
4394         which doesn't mean what we want.
4395         (stmw_operation): New function.
4396         (print_operand): Define new 'l' modifier.
4397         (rs6000_stack_info): We must save all 64 bits of the registers
4398         if TARGET_POWERPC64.
4399         (rs6000_output_load_toc_table): Delete.
4400         (rs6000_emit_load_toc_table): New function.
4401         (rs6000_allocate_stack_space): Delete.
4402         (rs6000_emit_allocate_stack): New function.
4403         (rs6000_emit_prologue): New function.
4404         (output_prolog): Use rs6000_emit_prologue.
4405         (rs6000_emit_epilogue): Change a few variable names to be
4406         more accurate.  Restore all 64 bits of the registers if
4407         TARGET_POWERPC64.  Only restore the FP registers which were used
4408         if they are being saved/restored one-at-a-time.
4409         (output_mi_thunk): Delete inefficient code generation.
4410         (output_function_profiler): Don't use rs6000_output_load_toc_table.
4411         * rs6000.h: Declare rs6000_emit_load_toc_table,
4412         rs6000_allocate_stack_space, stmw_operation.  Don't declare
4413         rs6000_output_load_toc_table.
4414         * rs6000.md (elf_high): Allow register 0, but discourage it
4415         heavily.
4416         (elf_low): Support loading into register 0.
4417         (load_toc_aix_si): New pattern.
4418         (load_toc_aix_di): New pattern.
4419         (load_toc_v4_pic_si): New pattern.
4420         (load_toc_v4_pic_di): New pattern.
4421         (load_toc_v4_PIC_1): New pattern.
4422         (load_toc_v4_PIC_1b): New pattern.
4423         (load_toc_v4_PIC_2): New pattern.
4424         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
4425         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
4426         (prologue): New expander.
4427         (movesi_from_cr): New pattern.
4428         (stmw): New pattern.
4429         (save_fpregs_si): New pattern.
4430         (save_fpregs_di): New pattern.
4431
4432         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4433
4434         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
4435         (movdi): Likewise.
4436         (movhi): Likewise.
4437         (movqi): Likewise.
4438
4439         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4440
4441         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
4442         at present.
4443         (movsi_got_internal): Likewise.
4444         (movsi_got_internal+1): Likewise.
4445         (set_sp): 'unspec 7' does a SImode clobber.
4446
4447         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4448
4449         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
4450         allocate a stack temporary.
4451         (floatsidf2_internal): Likewise.
4452         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
4453         with unspec.
4454         (floatunssidf2): Don't use the fpmem "register", just
4455         allocate a stack temporary.
4456         (floatunssidf2_internal): Likewise.
4457         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
4458         with unspec.
4459         (floatsidf2_loadaddr): Delete.
4460         (floatsidf2_store1): Delete.
4461         (floatsidf2_store2): Delete.
4462         (floatsidf2_load): Delete.
4463         (fix_truncdfsi2): Don't use the fpmem "register", just
4464         allocate a stack temporary.
4465         (fix_truncdfsi2_internal_si): Delete.
4466         (fix_truncdfsi2_internal_di): Delete.
4467         (fix_truncdfsi2_internal): New insn.
4468         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
4469         (fix_truncdfsi2_store): Delete.
4470         (fix_truncdfsi2_load): Delete.
4471         (fctiwz): Produce gen_fctiwz.
4472
4473         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
4474
4475         * eabi.h (INVOKE__main): Define.
4476         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
4477         specially.
4478         (rs6000_emit_prologue): Likewise.
4479         * rs6000.h (struct rs6000_stack): Don't keep track of whether
4480         this is the main program.
4481
4482         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4483
4484         * rs6000.c (rs6000_va_arg): Delete some unused variables.
4485
4486         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4487
4488         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
4489         goes after the argument.
4490
4491         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
4492
4493         * rs6000.md: Document 'unspec' values used.
4494         (epilogue): New expander.
4495         (movesi_to_cr_one): New expander.
4496         (movesi_to_cr and following): New pattern.
4497         (lmw): New pattern.
4498         (return_internal_si): New pattern.
4499         (return_internal_di): New pattern.
4500         (return_and_restore_fpregs_si): New pattern.
4501         (return_and_restore_fpregs_di): New pattern.
4502         * rs6000.h: Declare new functions.
4503         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
4504         rather than rs6000_calls_p.
4505         (rs6000_makes_calls): Delete.
4506         (lmw_operation): New function.
4507         (mtcrf_operation): New function.
4508         (rs6000_emit_epilogue): New function.
4509         (output_epilog): Call rs6000_emit_epilogue and final if
4510         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
4511
4512         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
4513
4514         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
4515         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
4516         * aix.h (SUBTARGET_SWITCHES): Document switches.
4517         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
4518         sched-prolog and sched-epilog the same.  Document all the
4519         switches.
4520         (TARGET_OPTIONS): No longer allow -mdebug-.
4521
4522         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
4523
4524         * rs6000.h (ASM_FILE_END): Move to aix.h.
4525         (EXTRA_SECTIONS): Move to aix.h.
4526         (READONLY_DATA_SECTION): Move to aix.h.
4527         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
4528         (SELECT_SECTION): Move to aix.h.
4529         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
4530         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
4531         (LINK_REGISTER_REGNUM): New definition.
4532         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
4533         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
4534         AIX and SVR4.
4535         * sysv4.h: Delete the code between the inclusion of rs6000.h
4536         and svr4.h.
4537         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
4538         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
4539         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
4540         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
4541         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
4542         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
4543         (fix_truncdfsi2_internal_di): New pattern.
4544         (fix_truncdfsi2_store): The second arg here is Pmode too.
4545         (fix_truncdfsi2_load): The second arg here is Pmode too.
4546         (tablejumpdi): Now that switch tables hold only SImode values,
4547         gcc needs to know how to add them to the pc which is DImode.
4548         * rs6000.c (rs6000_stack_info): Use symbolic name for 
4549         LINK_REGISTER_REGNUM.
4550         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
4551         (output_toc): Delete unused variables s1 and s2.
4552         (output_ascii): Use fputs not fprintf on a variable string.
4553
4554         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
4555
4556         * rs6000.c (processor_target_table): Add power3 as alias for 630.
4557         * aix43.h: Revert Aug 2 change.
4558         (HAS_INIT_SECTION): Define, not visible yet.
4559         (LD_INIT_SWITCH): Define, not visible yet.
4560         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
4561
4562         2000-01-04  Joel Sherrill (joel@OARcorp.com>
4563
4564         * config/rs6000/rtems.h: Include config/rtems.h.
4565
4566         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
4567
4568         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
4569         (SLOW_UNALIGNED_ACCESS): Define.
4570         (CASE_VECTOR_MODE): Always use 32-bit offsets.
4571         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
4572         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
4573         (toc_section): Likewise and .toc pseudo-op.
4574         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
4575         64-bit mode.
4576         (TEXT_SECTION_ASM_OP): Likewise.
4577         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
4578         32-bit offsets.
4579
4580         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
4581
4582         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
4583         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
4584         compiling libgcc2.
4585         
4586         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4587
4588         * rs6000.h: Move more stuff from here...
4589         * aix.h: to here.
4590         * sysv4.h: Cleanup accordingly.
4591         * netware.h: Likewise
4592
4593         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4594
4595         * rs6000.h: Continue cleanup.
4596         * aix.h: Likewise.
4597         * lynx.h: Likewise.
4598         * netware.h: Likewise.
4599         * sol2.h: Likewise.
4600         * sysv4.h: Likewise.
4601         * win-nt.h: Likewise.
4602
4603         * rs6000.h (TARGET_SWITCHES): Add descriptions.
4604         (TARGET_OPTIONS): Likewise.
4605
4606         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
4607         (SUBTARGET_OPTIONS): Likewise.
4608
4609         * rs6000.md: Fix compile time warnings.
4610
4611         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4612
4613         vxworks patches from the Cygnus tree originally by
4614         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
4615         <vmakarov@cygnus.com>.
4616         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
4617         (ENDFILE_SPEC): Likewise.
4618         (LIB_VXWORKS_SPEC): New macro.
4619         (STARTFILE_VXWORKS_SPEC): New macro.
4620         (ENDFILE_VXWORKS_SPEC): New macro.
4621         (LINK_START_VXWORKS_SPEC): New macro.
4622         (LINK_OS_VXWORKS_SPEC): New macro.
4623         (CPP_OS_VXWORKS_SPEC): New macro.
4624         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
4625         * vxppc.h: Rewrite to use proper configuration method.
4626         * vxppcle.h: New file.
4627         * ../../configure.in: Add powerpcle-wrs-vxworks*.
4628         * ../../configure: Rebuilt.
4629
4630         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4631
4632         Lots of changes to rs6000.h, sysv4.h, aix.h,
4633         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
4634         with the aim that rs6000.h is the first header
4635         included and the others override it.
4636         * aix.h: New file.
4637
4638         * x-aix41-gld: Remove.  
4639         * x-aix43: Remove.
4640         * x-aix41: Remove target-specific switches, and don't specify
4641         -Wl,-bbigtoc as we don't need it any more.
4642         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
4643         Use t-aix43 for AIX 4.3 and above.
4644         * ../../configure: Regenerated.
4645
4646         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
4647         options, that don't do anything yet.
4648         (MASK_SCHED_PROLOG): New macro.
4649         (MASK_SCHED_EPILOG): New macro.
4650         (TARGET_SCHED_PROLOG): New macro.
4651         (TARGET_SCHED_EPILOG): New macro.
4652
4653         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4654
4655         * rs6000.c: Correct comment, the `minimal' TOCs are actually
4656         one per translation unit, not one per function.
4657         (output_toc): Also do duplicate constant elimination
4658         for per-translation-unit TOCs.
4659
4660         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
4661         a comment explaining _exactly_ when this pattern gets used.
4662         (builtin_setjmp_receiver): New pattern for better clarity.
4663         (init_v4_pic): Move it into a section dealing with TOC registers.
4664
4665         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
4666
4667         * rs6000.c (toc_hash_table): New variable.
4668         (rs6000_hash_constant): New function.
4669         (toc_hash_function): New function.
4670         (toc_hash_eq): New function.
4671         (toc_hash_mark_entry): New function.
4672         (toc_hash_mark_table): New function.
4673         (output_toc): Don't output duplicate TOC entries in
4674         a single file.
4675         (rs6000_add_gc_roots): Add the hash table as a GC root.
4676         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
4677         where they clearly shouldn't be.  This may need to be fixed
4678         later when there is a GNU ar for AIX.
4679         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
4680         Don't define BOOT_LDFLAGS as it is now not necessary.
4681
4682         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
4683
4684         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
4685         for va_list on AIX.  Use unsigned_char_type_node rather than
4686         constructing our own version on svr4.
4687
4688         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
4689
4690         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
4691         since patently it's not.
4692
4693         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
4694
4695         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
4696         define_expand/define_insn pair, and handle restore of the
4697         SVR4 -fpic register.
4698
4699 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
4700
4701         * acconfig.h (HAVE_GAS_WEAK): New define.
4702         * configure.in (assembler weak support): Check for .weak support.
4703         * config.in, configure: Rebuilt.
4704         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
4705         HAVE_GAS_WEAK is defined.
4706
4707 2000-03-15  Nick Clifton  <nickc@cygnus.com>
4708
4709         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
4710         asm_fprintf().
4711
4712 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
4713
4714         * cppfiles.c (open_include_file): New function.
4715         (find_include_file, cpp_read_file): Use it.
4716
4717 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
4718
4719         * cpphash.c (dump_hash_helper): Take the slot, not the element.
4720
4721 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
4722
4723         * flow.c (verify_flow_info): Check for unconditional return.
4724
4725 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
4726
4727         * config/ia64/ia64.md (restore_stack_nonlocal): New.
4728         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
4729         (__ia64_restore_stack_nonlocal): New.
4730         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
4731
4732 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4733
4734         * cpphash.c (collect_formal_parameters): Do not complain about
4735         parameter names that just start with `__VA_ARGS__'.
4736
4737 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
4738
4739         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
4740         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
4741         * i386.c (pentiumpro_cost): Set mul cost to 4.
4742         (x86_use_movx): Set for PPro.
4743
4744 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
4745
4746         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
4747         STACK_BOUNDARY for empty frames now.
4748
4749 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
4750
4751         * stor-layout.c (layout_union): Remove.
4752         (layout_union_field): New function, split out from layout_union.
4753         (finish_union_layout): Likewise.
4754         (layout_field): Handle unions by calling layout_union_field.
4755         (finish_record_layout): Handle unions.
4756         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
4757         QUAL_UNION_TYPE handling.
4758
4759 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
4760
4761         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
4762         end of basic block is jump_insn, not barrier; use create_basic_block
4763         instead of creating basic block by hand.
4764
4765 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
4766
4767         * flow.c (reorder_basic_blocks): Account for barriers when writing
4768         over NEXT_INSN (last_bb->end).
4769         (verify_flow_info): Add check for missing barriers.
4770
4771 2000-03-14  Greg McGary  <gkm@gnu.org>
4772
4773         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
4774         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
4775         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
4776         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
4777         __unbounded, __unbounded__): New keywords.
4778         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
4779         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
4780         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
4781
4782 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4783
4784         * cselib.h: New file.
4785         * alias.c: Include "cselib.h".
4786         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
4787         MEMs as two new arguments.
4788         (get_addr): New static function.
4789         (find_base_term): Handle VALUEs.
4790         (memrefs_conflict_p): Likewise.
4791         (true_dependence): Call get_addr on the addresses.
4792         Call fixed_scalar_and_varying_struct_p with addresses that have been
4793         passed through get_addr and canon_rtx.
4794         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
4795         with true_dependence.
4796         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
4797         * loop.c: Include "cselib.h".
4798         (load_mems): Process extended basic block that enters the loop with
4799         cselib.  Use that information to change initialization of the shadow
4800         register so that a constant equivalence is seen by later passes.
4801         * reload1.c: Include "cselib.h".
4802         (reload_cse_invalidate_regno): Delete function.
4803         (reload_cse_mem_conflict_p): Likewise.
4804         (reload_cse_invalidate_mem): Likewise.
4805         (reload_cse_invalidate_rtx): Likewise.
4806         (reload_cse_regno_equal_p): Likewise.
4807         (reload_cse_check_clobber): Likewise.
4808         (reload_cse_record_set): Likewise.
4809         (reg_values): Delete static variable.
4810         (invalidate_regno_rtx): Likewise.
4811         (reload_cse_delete_noop_set): New static function.
4812         (reload_cse_simplify): New static function, broken out of
4813         reload_cse_regs_1.
4814         (reload_cse_noop_set_p): Delete unused argument INSN.
4815         Just call rtx_equal_for_cselib_p on set source and destination.
4816         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
4817         reload_cse_delete_noop_set.  Delete code to keep track of values; use
4818         cselib functions instead.  Delete code to push/pop obstacks.
4819         (reload_cse_simplify_set): Use cselib to find equivalent values.
4820         Delete code to push/pop obstacks.
4821         (reload_cse_simplify_operands): Likewise.
4822         * rtl.def (VALUE): New rtx code.
4823         * rtl.h (union rtunion_def): New elt rt_cselib.
4824         (X0CSELIB, CSELIB_VAL_PTR): New macros.
4825         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
4826         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
4827         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
4828         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
4829         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
4830         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
4831         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
4832         cselib_record_set, cselib_record_sets): New static functions.
4833         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
4834         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
4835         references_value_p): New functions.
4836         (MAX_USELESS_VALUES, REG_VALUES): New macros.
4837         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
4838         n_useless_values, reg_values, callmem, cselib_obstack,
4839         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
4840         New static variables.
4841         * varray.h (union varray_data_tag): New elt te.
4842         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
4843         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
4844         dependencies.
4845
4846 2000-03-14  Nick Clifton  <nickc@cygnus.com>
4847
4848         * gcc.c (do_spec_1): Catch the case where %* is used in a
4849         substitution pattern, but it has not been initialised.
4850         Issue a meaningful error message if an unrecognised operator
4851         is encountered in a spec string.
4852
4853 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
4854
4855         * function.c (prepare_function_start): Correctly initialize
4856         cfun->stack_alignment_needed.
4857
4858 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
4859
4860         * cppfiles.c (find_include_file): Don't assume nshort is a
4861         substring of name.
4862
4863 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
4864
4865         * configure.in (hppa configurations): Add pa32-regs.h to the
4866         list of tm files as appropriate.
4867         * configure: Rebuilt.
4868         * pa.c (compute_frame_size): Remove explicit knowledge about FP
4869         register numbering.
4870         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4871         (fmpyaddoperands, fmpysuboperands): Likewise.
4872         * pa.h: Remove various definitions which depend on knowing
4873         how registers are numbered.
4874         * pa32-regs.h: New file with PA32 register numbering specific
4875         definitions.
4876
4877 2000-03-14  Richard Henderson  <rth@cygnus.com>
4878
4879         * regmove.c (combine_stack_adjustments): New.
4880         (stack_memref_p, single_set_for_csa): New.
4881         (free_csa_memlist, record_one_stack_memref): New.
4882         (try_apply_stack_adjustment): New.
4883         (combine_stack_adjustments_for_block): New.
4884         * rtl.h (combine_stack_adjustments): Declare.
4885         * toplev.c (rest_of_compilation): Call it.
4886
4887         * i386.md: Revert 2000-01-16 change.
4888
4889 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4890
4891         * gccbug.in: Add web category, gcc specific classes.
4892
4893 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
4894
4895         * stor-layout.c (finalize_record_size): Fix typo.
4896
4897 2000-03-14  Stan Shebs  <shebs@apple.com>
4898
4899         * c-typeck.c (c_alignof): Error on incomplete types.
4900         * extend.texi (Alignment): Document this.
4901
4902 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4903
4904         * cppfiles.c: Include mkdeps.h.
4905         (find_include_file, read_include_file): Remove _cpp_ prefix
4906         from name, make static.
4907         (_cpp_execute_include): New function, broken out of
4908         do_include.
4909
4910         * cpplib.c: Don't include mkdeps.h.
4911         (struct directive): Remove type field. Reorder entries.  The
4912         function takes only one argument.
4913         (struct if_stack): Make type field an int.
4914         (directive_table): Rename to dtable.  Generate it, the
4915         prototypes of the directive handlers, and the enum for the
4916         directive numbers, from a template macro.
4917         (do_ifndef, do_include_next, do_import): New functions.
4918         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
4919         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
4920         do_ident, do_assert, do_unassert, do_sccs): Take only one
4921         argument.
4922         (do_sccs): Define always, but alter behavior based on
4923         SCCS_DIRECTIVE.
4924         (_cpp_handle_directive, consider_directive_while_skipping):
4925         Restructure for new directive table layout.
4926
4927         (pass_thru_directive): Take a directive number, not a pointer
4928         to a struct directive.
4929         (parse_include): New function, broken out of do_include.
4930         (do_include, do_import, do_include_next): Use parse_include
4931         and _cpp_execute_include.
4932         (do_elif, do_else): Test for T_ELSE specifically when checking
4933         for #elif/#else after #else.
4934         (parse_ifdef): New function, broken out of do_ifdef.
4935         (validate_else): Expect a name arg without a leading #.
4936         (if_directive_name): Delete.
4937         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
4938         directive handlers with only one argument.
4939
4940         * cpphash.h: Update prototypes.
4941         (enum node_type): Remove entries for directives.
4942         * Makefile.in: Update dependencies.
4943
4944         * cpphash.c (dump_hash_helper): Only dump nodes of type
4945         T_MACRO.  Emit a newline after each definition.
4946
4947 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4948
4949         * gccbug.in: New file.
4950         * configure.in (all_outputs): Add gccbug.
4951         * Makefile.in (install-common): Install gccbug.
4952         (GCCBUG_INSTALL_NAME): New variable.
4953         * configure: Rebuilt.
4954         
4955 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4956
4957         * function.c (put_var_into_stack): Use type_for_mode to calculate
4958         part_type.  Use MEM_SET_IN_STRUCT_P.
4959         * expr.c (store_field): Handle CONCAT.
4960         (store_constructor): Use fields_length.
4961         * tree.c (fields_length): New fn.
4962         * tree.h: Declare it.
4963
4964 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4965
4966         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
4967         (cpplex.o): New target.
4968         * po/POTFILES.in: Add cpplex.c.
4969
4970         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
4971         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
4972         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
4973         skip_block_comment, skip_line_comment, skip_comment,
4974         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
4975         _cpp_parse_name, skip_string, parse_string,
4976         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
4977         _cpp_get_directive_token, find_position,
4978         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
4979         (maybe_macroexpand, _cpp_lex_token): New functions.
4980
4981         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
4982         parse_goto_mark): Delete.
4983         (_cpp_handle_eof): New function.
4984         (_cpp_handle_directive): Rename from handle_directive.
4985         (_cpp_output_line_command): Rename from output_line_command.
4986         (do_if, do_elif): Call _cpp_parse_expr directly.
4987         * cppfiles.c (_cpp_read_include_file): Don't call
4988         init_input_buffer here.
4989         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
4990         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
4991         here; pop the token_buffer and skip the rest of the line here.
4992         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
4993         here.
4994
4995         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
4996         Define here.
4997         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
4998         CPP_GOTO_MARK): New macros.
4999         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
5000         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
5001         _cpp_read_and_prescan, _cpp_init_input_buffer,
5002         _cpp_grow_token_buffer, _cpp_get_directive_token,
5003         _cpp_handle_directive, _cpp_handle_eof,
5004         _cpp_output_line_command): Prototype them here.
5005         * cpplib.h (enum cpp_token): Add CPP_MACRO.
5006         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
5007         quote_string, output_line_command): Remove.
5008
5009 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
5010
5011         * stmt.c (expand_end_case): RANGE may be signed, and when checking
5012         whether it is too large we must also verify that it isn't negative.
5013
5014 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
5015
5016         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
5017         (movsi_zero_liveg0): Remove.
5018         (movsf_insn_novis_liveg0): Remove.
5019         (negsi2): Remove.
5020         (negsi2_not_liveg0): Rename to negsi2.
5021         (one_cmplsi2): Remove.
5022         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
5023         (one_cmplsi2_liveg0): Remove.
5024         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
5025         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
5026         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
5027         (PREDICATE_CODES): Remove zero_operand.
5028         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
5029         TARGET_BROKEN_SAVERESTORE.
5030         (zero_operand): Remove.
5031         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
5032         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
5033         options.
5034         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
5035         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
5036         TARGET_BROKEN_SAVERESTORE): Remove.
5037         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
5038         Remove.
5039         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
5040         Remove.
5041         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
5042         Remove.
5043
5044         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
5045
5046 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
5047
5048         * cpplib.c (do_pragma_implementation): Fix off-by-one error
5049         truncating a string.  Don't assume tokens are nul terminated.
5050         Problem noted by Andreas Jaeger <aj@suse.de>
5051
5052 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
5053
5054         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
5055         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
5056         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
5057
5058 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
5059
5060         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
5061         STRUCTURE_SIZE_BOUNDARY.
5062
5063 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
5064
5065         * tree.h (record_layout_info_s): New structure.
5066         (record_layout_info): New type.
5067         (new_record_layout_info): New function.
5068         (layout_field): Likewise.
5069         (finish_record_layout): Likewise.
5070         * stor-layout.c (layout_record): Remove.
5071         (new_record_layout_info): New function.
5072         (layout_field): New function, broken out from layout_record.
5073         (finalize_record_size): Likewise.
5074         (compute_record_mode): Likewise.
5075         (finalize_type_size): New function, broken out from layout_type.
5076         (finish_record_layout): Likewise.
5077         (layout_type): Use them.
5078         
5079 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
5080
5081         * cpphash.c: Don't include version.h.
5082         (special_symbol) [case T_VERSION]: Look for the string in
5083         hp->value.cpval; don't use version_string.
5084         * cppinit.c (initialize_builtins): Set hp->value.cpval for
5085         __VERSION__ to version_string.
5086         * Makefile.in (cpphash.o): Update deps.
5087
5088 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
5089
5090         Convert cpplib to use libiberty/hashtab.c.
5091
5092         * cpplib.h (struct cpp_reader): Make hashtab and
5093         all_include_files of type 'struct htab *'.  Delete HASHSIZE
5094         and ALL_INCLUDE_HASHSIZE macros.
5095
5096         * cpphash.h: Update prototypes.
5097         (struct hashnode): Remove next, prev, and bucket_hdr members.
5098         Make length a size_t.  Add hash member.
5099         (struct ihash): Remove next member.  Add hash member.  Make
5100         name a flexible array member.
5101
5102         * cppfiles.c: Include hashtab.h.
5103         (include_hash): Delete.
5104         (IHASHSIZE): New macro.
5105         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
5106         (cpp_included): Do the hash lookup here.
5107         (_cpp_find_include_file): Rewrite.
5108         (cpp_read_file): Put the "fake" hash entry into the hash
5109         table.  Honor the control_macro, if it turns out we've seen
5110         the file before.  Don't push the buffer here.
5111         (_cpp_read_include_file): Push the buffer here.
5112         (OMODES): New macro.  Use it whenever we call open(2).
5113
5114         * cpphash.c: Include hashtab.h.
5115         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
5116         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
5117         _cpp_lookup_slot): New functions.
5118         (HASHSIZE): new macro.
5119         (hashf, _cpp_install, _cpp_delete_macro): Delete.
5120         (_cpp_lookup): Use hashtab.h routines.
5121
5122         * cppinit.c: Include hashtab.h.
5123         (cpp_reader_init): Call _cpp_init_macro_hash and
5124         _cpp_init_include_hash.  Don't allocate hashtab directly.
5125         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
5126         pfile->all_include_files.
5127         (initialize_builtins): Use _cpp_make_hashnode and
5128         htab_find_slot to add hash entries.
5129         (cpp_finish): Just call _cpp_dump_macro_hash.
5130         * cpplib.c: Include hashtab.h.
5131         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
5132         create hash entries.
5133         (do_pragma_poison, do_assert): Likewise.
5134         (do_include): Don't push the buffer here.  Don't increment
5135         system_include_depth unless _cpp_read_include_file succeeds.
5136         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
5137         or htab_remove_elt.
5138         (do_pragma_implementation): Use alloca to create copy.
5139
5140         * Makefile.in: Update dependencies.
5141
5142 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5143
5144         * cppinit.c (cl_directive_handler): More K&R fixing.
5145
5146 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
5147
5148         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
5149         STACK_BOUNDARY.
5150         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
5151
5152 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5153
5154         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
5155         Change from char[] to macros.
5156
5157 2000-03-12  Neil Booth  <NeilB@earthling.net>
5158
5159         * cppinit.c (cpp_start_read): Update indirect function
5160         call to K&R C.
5161
5162 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
5163
5164         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
5165         entry.
5166
5167         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
5168         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
5169
5170 2000-03-11  Neil Booth  <NeilB@earthling.net>
5171
5172         * cppinit.c (struct pending option): Replace undef with a 
5173         pointer to a directive handling routine.
5174         (struct cpp_pending): Replace separate assert_ and define_ 
5175         lists with one directive_ list.
5176         (new_pending_define): Rename new_pending_directive. Extra
5177         argument is the directive's handling routine.
5178         (handle_option): Update to use new_pending_directive.
5179
5180 2000-03-11  Neil Booth  <NeilB@earthling.net>
5181
5182         * cppfiles.c (file_cleanup, _cpp_find_include_file,
5183         remap_filename, _cpp_read_include_file, actual_directory,
5184         hack_vms_include_specification): Replace bcopy(), index() etc
5185         calls.  Add casts to some allocations.  Make some variables
5186         pointers to const [unsigned] char.
5187         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
5188         collect_formal_parameters): Similarly.
5189         * cppinit.c (struct pending_option, append_include_chain,
5190         cpp_options_init, cpp_reader_init, initialize_standard_includes,
5191         cpp_start_read, new_pending_define, handle_option): Similarly.
5192         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
5193         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
5194         do_pragma_implementation, detect_if_not_defined,
5195         do_ifdef, skip_if_group, cpp_get_token, parse_string,
5196         do_assert, do_unassert): Similarly.
5197         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
5198         function prototypes.
5199         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
5200
5201 2000-03-10  Richard Henderson  <rth@cygnus.com>
5202
5203         * builtins.c (expand_builtin_strlen): Revert last change.
5204         Use emit_insn_before if we're at the beginning of a sequence.
5205
5206 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
5207
5208         * builtins.c (expand_builtin_strlen): Make sure that we have something
5209         at the beginning of the sequence.
5210
5211         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
5212         deferred inlines.
5213
5214         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
5215
5216 2000-03-10  Richard Henderson  <rth@cygnus.com>
5217
5218         * except.c (can_throw): Use INTVAL on a CONST_INT.
5219         (reachable_handlers): Likewise.
5220         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
5221
5222 2000-03-10  Andreas Jaeger  <aj@suse.de>
5223
5224         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
5225         MD_STARTFILE_PREFIX since those are not needed on linux.
5226         (ASM_FILE_START): New, from mips/gnu.h.
5227
5228 2000-03-09  Richard Henderson  <rth@cygnus.com>
5229             Alex Samuel  <samuel@codesourcery.com> and others
5230         
5231         * Makefile.in (ssa.o): New rule.
5232         (OBJS): Add ssa.o.
5233         (STAGESTUFF): Add *.ssa and *.ussa.
5234         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
5235         * rtl.def (PHI): New RTL expression.
5236         * rtl.h (clear_log_links): New declaration.
5237         (convert_to_ssa): Likewise.
5238         (convert_from_ssa): Likewise.
5239         * flow.c (split_edge): If the entry node falls through to the
5240         split edge's source block, split the entry edge.
5241         (clear_log_links): New function.
5242         * toplev.c (ssa_dump): New variable.
5243         (flag_ssa): Likewise.
5244         (f_options): Add "ssa".
5245         (compile_file): Create SSA dump files.
5246         (rest_of_compilation): Go to and from SSA if enabled.
5247         (decide_d_option): Handle -de for SSA dump files.
5248         * ssa.c: New file.
5249         
5250 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
5251
5252         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
5253         same as VAR_DECL.
5254
5255 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
5256
5257         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
5258
5259 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
5260
5261         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
5262         (MD_STARTFILE_PREFIX_1): New macro.
5263
5264 2000-03-09  Robert Lipe  <robertl@sco.com>
5265
5266         * config/ia64/ia64.c: Include system.h.
5267
5268 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
5269
5270         * except.c (nothrow_function_p): If -fno-exceptions, just return.
5271         (init_eh_nesting_info): Likewise.
5272
5273         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
5274         (TREE_NOTHROW): Rename from TREE_RAISES.
5275         * toplev.c (rest_of_compilation): Set it.
5276         * print-tree.c (print_node): Adjust.
5277         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
5278         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
5279         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
5280         REG_EH_REGION note as appropriate.
5281         (libfunc_nothrow): New fn.
5282         (emit_library_call, emit_library_call_value): Use it.
5283         (expand_call): Check TREE_NOTHROW.
5284
5285         * varasm.c (make_decl_rtl): Skip initial '*' when setting
5286         DECL_ASSEMBLER_NAME.
5287
5288 2000-03-09  Andreas Jaeger  <aj@suse.de>
5289
5290         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
5291         (TARGET_MEM_FUNCTIONS): Define.
5292
5293 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
5294
5295         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
5296
5297         * except.c (can_throw): See through a SEQUENCE.
5298         (nothrow_function_p): New fn.
5299         * except.h: Declare it.
5300         * function.c (current_function_nothrow): New var.
5301         (prepare_function_start): Initialize it.
5302         * output.h: Declare it.
5303         * toplev.c (rest_of_compilation): Set it.
5304         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
5305
5306 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
5307
5308         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
5309         match.  (cpp_compare_defs): Count the nul separator when
5310         advancing over argument names.
5311
5312 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
5313
5314         * recog.c (preprocess_constraints): Matching constraints affect
5315         same alternative/different operand, not same operand/different
5316         alternative.
5317         
5318         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
5319         register and a constant specially.
5320
5321 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5322
5323         * libgcc2.h: New file.
5324         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
5325
5326 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
5327
5328         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
5329         * configure: Regenerate.
5330         * config/ia64: New.
5331
5332 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
5333
5334         * Makefile.in (LIBCPP_DEPS): New macro.
5335         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
5336         it to declare deps.
5337         * cpperror.c: Include cpphash.h.
5338         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
5339         dingleberry.
5340         (lex): Don't use CPP_WARN_UNDEF.
5341         (_cpp_parse_expr): Return an int, the truth value.
5342         * cppfiles.c: Include cpphash.h.
5343         (_cpp_merge_include_chains): Move to cppinit.c and make static.
5344         * cppinit.c (include_defaults_array): Disentangle.
5345         (cpp_cleanup): Don't free the if stack here.
5346         (cpp_finish): Pop off all buffers, not just one.
5347         * cpplib.c (eval_if_expr): Return int.
5348         (do_xifdef): Rename do_ifdef.
5349         (handle_directive): Don't use CPP_PREPROCESSED. 
5350         (cpp_get_token): Don't use CPP_C89.
5351         * fix-header.c: Don't use CPP_OPTIONS.
5352
5353         * cpplib.h: Move U_CHAR, enum node_type, struct
5354         file_name_list, struct ihash, is_idchar, is_idstart,
5355         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
5356         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
5357         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
5358         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
5359         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
5360         of _cpp_simplify_pathname, _cpp_find_include_file,
5361         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
5362         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
5363         cppinit.c.
5364         Change all uses of U_CHAR to be unsigned char instead.
5365         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
5366
5367 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
5368
5369         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
5370         (dwarf2out_begin_prologue): Set it.
5371         (output_call_frame_info): Don't emit EH unwind info for leaves.
5372
5373         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
5374         can occur outside of an EH region.
5375         * except.c: Correct comments about rethrow behavior.
5376         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
5377
5378 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
5379
5380         * flow.c (make_edges): Always call make_eh_edge for calls.
5381
5382 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
5383
5384         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
5385         (struct cpp_buffer): Remove fname and underflow fields.
5386         (struct cpp_reader): Remove get_token field.
5387         (struct include_hash): Rename to struct ihash.  Add typedef to
5388         IHASH.
5389         (struct if_stack): Remove fname field.
5390         (IF_STACK_FRAME): Rename to IF_STACK.
5391
5392         * cpperror.c (print_containing_files): Trust that there are no
5393         macro buffers below the top file buffer.
5394         * cppfiles.c: Replace all references to 'struct include_hash'
5395         with 'IHASH'.  Rename initialize_input_buffer to
5396         init_input_buffer.  Don't set or reference cpp_buffer->fname,
5397         use buffer->ihash->name instead.
5398         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
5399         not CPP_NULL_BUFFER.
5400         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
5401         IF_STACK_FRAME, IHASH not struct include_hash.
5402         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
5403         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
5404         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
5405         references to cpp_buffer->fname (delete entirely, or use
5406         ->ihash->name instead) and IF_STACK->fname.
5407         (cpp_push_buffer): Don't set new->underflow.
5408         (do_include): Use cpp_file_buffer.
5409
5410         * cpphash.c (collect_formal_parameters): Remove duplicate
5411         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
5412         used as a macro argument name.  Don't append "..." to namebuf
5413         for varargs macros.  After we're done scanning, go through
5414         namebuf and make it NUL separated, not comma separated.
5415         (_cpp_compare_defs): Remove register tag from variables.
5416         Expect defn->argnames to be NUL separated.
5417         (_cpp_dump_definition): Expect defn->argnames to be NUL
5418         separated and in forward order.
5419         * cpphash.h: Update documentation of argnames field.
5420
5421 2000-03-08  Richard Henderson  <rth@cygnus.com>
5422
5423         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
5424         to fail.  Don't pre-expand the source operand.
5425
5426         * i386.md (strlensi): Initialize eoschar and align before use.
5427
5428 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
5429
5430         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
5431         CONSTRUCTOR element.
5432
5433 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
5434
5435         * mips.c (mips_expand_prologue): If the last 
5436         named argument is the vararg marker "va_list", treat it as
5437         an unnamed argument.
5438
5439 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
5440
5441         * dbxout.c (dbxout_parms): When correcting for promoted 
5442         big-endian parameters, use the mode of the DECL_RTL rather 
5443         than UNITS_PER_WORD.
5444
5445 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
5446
5447         * c-common.h (make_fname_decl): Declare.
5448         * c-common.c (make_fname_decl): Define.
5449         (declare_hidden_char_array): Remove.
5450         (declare_function_name): Use make_fname_decl.
5451         * c-decl.c (c_make_fname_decl): New function.
5452         (init_decl_processing): Set make_fname_decl.
5453
5454 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
5455
5456         * cccp.c (handle_directive): Initialize backslash_newlines_p.
5457
5458 2000-03-07  Philipp Thomas  <pthomas@suse.de>
5459
5460         * po/POTFILES.in: Remove cppalloc.c from file list.
5461
5462 2000-03-07  Steve Chamberlain  <sac@pobox.com>
5463
5464         * pj.c (pj_expand_prologue): current_function->args_info is
5465         now current_function_args_info.  
5466
5467         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
5468         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
5469         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
5470
5471 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5472
5473         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
5474         output as hexadecimal rather than the default octal.
5475
5476 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
5477
5478         * cpphash.c (special_symbol): Fix thinko in previous commit.
5479
5480 2000-03-07  Neil Booth  <NeilB@earthling.net>
5481
5482         * cppexp.c (struct operation, left_shift, right_shift,
5483         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
5484         "int"s to "unsigned int"s.
5485         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
5486         Similarly.
5487         * cpplib.h: Update for above.
5488         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
5489         returned from allocations.
5490
5491         * cppinit.c (opt_comp, parse_options): New functions.
5492         (handle_option): Use parse_option to parse a single command
5493         line option, that possibly takes an argument.
5494         (cpp_handle_options): Sort the array of command line options on
5495         first invocation (non-ASCII hosts only).
5496         (print_help): Update.
5497
5498 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
5499
5500         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
5501         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
5502         
5503         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
5504         initialized.
5505         * cppinit.c (cpp_cleanup): Free imp->nshort also.
5506
5507         * cpperror.c (cpp_print_containing_files,
5508         cpp_print_file_and_line, v_cpp_message): Rename to
5509         print_containing_files, print_file_and_line, and v_message.
5510         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
5511         to _cpp_parse_expr, parse_escape, and lex.
5512         (parse_charconst): Remove broken multibyte support.
5513         * cppfiles.c (include_hash): Make static.
5514         (cpp_included): New function.
5515         (merge_include_chains, find_include_file, finclude,
5516         simplify_pathname): Rename to _cpp_merge_include_chains,
5517         _cpp_find_include_file, _cpp_read_include_file, and
5518         _cpp_simplify_pathname.
5519         * cpphash.c (cpp_lookup, free_definition, delete_macro,
5520         cpp_install, create_definition, macroexpand, compare_defs,
5521         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
5522         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
5523         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
5524         * cppinit.c (cpp_handle_option): Rename to handle_option, make
5525         static.
5526         * cpplib.c: Remove extern prototype of cpp_parse_expr.
5527
5528         * cpphash.h: Update prototypes.
5529         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
5530
5531 2000-03-07  Andrew Haley  <aph@cygnus.com>
5532
5533         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
5534         PTRDIFF_TYPE should be based solely on Pmode.
5535         (SIZE_TYPE): ditto.
5536
5537 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5538
5539         * rtl.h (rtunion_def): Constify member `rtstr'.
5540         (emit_line_note_after, emit_line_note, emit_line_note_force,
5541         emit_note, decode_asm_operands): Constify.
5542         
5543         * cse.c (canon_hash): Likewise.
5544
5545         * dbxout.c (dbxout_block): Likewise.
5546
5547         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
5548         v_warning_for_asm): Likewise.
5549
5550         * dwarfout.c (function_start_label): Likewise.
5551
5552         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
5553         emit_line_note_force): Likewise.
5554
5555         * final.c (last_filename, asm_insn_count, final_scan_insn,
5556         output_source_line): Likewise.
5557
5558         * function.h (struct emit_status): Likewise.
5559
5560         * gcse.c (hash_expr_1): Likewise.
5561
5562         * genattr.c (gen_attr, main): Likewise.
5563
5564         * genattrtab.c (struct function_unit, current_alternative_string,
5565         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
5566         attr_numeral, check_attr_test, check_attr_value,
5567         convert_set_attr_alternative, convert_set_attr,
5568         compute_alternative_mask, simplify_by_exploding, gen_attr,
5569         gen_unit): Likewise.
5570
5571         * genflags.c (gen_insn): Likewise.
5572
5573         * gengenrtl.c (type_from_format): Likewise.
5574
5575         * genopinit.c (gen_insn): Likewise.
5576
5577         * genoutput.c (n_occurrences, process_template, process_template):
5578         Likewise.
5579
5580         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
5581         Likewise.
5582
5583         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
5584         Likewise.
5585
5586         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
5587         ggc_set_mark, ggc_get_size): Likewise.
5588
5589         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
5590
5591         * optabs.c (init_one_libfunc): Likewise.
5592
5593         * output.h (assemble_start_function): Likewise.
5594
5595         * recog.c (decode_asm_operands): Likewise.
5596
5597         * toplev.c (rest_of_compilation): Likewise.
5598
5599         * tree.h (emit_line_note_after, emit_line_note,
5600         emit_line_note_force): Likewise.
5601
5602         * varasm.c (asm_output_bss, asm_output_aligned_bss,
5603         asm_emit_uninitialised, assemble_start_function,
5604         assemble_variable, const_hash, compare_constant_1,
5605         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
5606
5607         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
5608
5609         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
5610
5611         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
5612
5613         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
5614
5615         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
5616         arm_dllimport_name_p): Likewise.
5617
5618         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
5619         Likewise.
5620
5621         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
5622
5623         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5624
5625         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
5626         arm_mark_dllexport, arm_mark_dllimport,
5627         arm_pe_encode_section_info): Likewise.
5628
5629         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
5630         ASM_FINISH_DECLARE_OBJECT): Likewise.
5631
5632         * arm/thumb.c (thumb_function_prologue): Likewise.
5633
5634         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
5635
5636         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5637
5638         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
5639
5640         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
5641
5642         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
5643
5644         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5645
5646         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
5647         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
5648
5649         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
5650
5651         * i386/i386.c (asm_output_function_prefix): Likewise.
5652
5653         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
5654
5655         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5656
5657         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
5658
5659         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
5660         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
5661         ASM_OUTPUT_SECTION_NAME): Likewise.
5662
5663         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
5664
5665         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
5666
5667         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
5668
5669         * m32r/m32r.c (m32r_encode_section_info): Likewise.
5670
5671         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5672
5673         * mcore/mcore.c (mcore_encode_section_info): Likewise.
5674
5675         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5676
5677         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5678
5679         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5680
5681         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
5682
5683         * mips/mips.md (movdi, movsi): Likewise.
5684
5685         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5686
5687         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5688
5689         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5690
5691         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
5692         ASM_OUTPUT_ASCII): Likewise.
5693
5694         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
5695         output_mi_thunk, output_toc): Likewise.
5696
5697         * rs6000/rs6000.md (movsi): Likewise.
5698
5699         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
5700
5701         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
5702
5703         * v850/v850.c (print_operand, print_operand_address,
5704         v850_encode_data_area): Likewise.
5705
5706 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
5707         
5708         * config/mips/mips.md (zero_extendsidi2): Always force operand
5709         one to memory for mips16.
5710
5711 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5712
5713         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
5714         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
5715         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
5716         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
5717         (min_precision): Result is unsigned.
5718         (add_double, neg_double, mul_double): Low word is unsigned.
5719         (lshift_double, rshift_double, lrotate_double): Likewise.
5720         (rrotate_double, div_and_round_double): Likewise.
5721         (tree_floor_log2, compare_tree_int): New functions.
5722         (preserve_rtl_expr_temps): New declaration.
5723         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
5724         (decl_attributes): Use tree_log2 to find alignment.
5725         Check for TREE_INT_CST_HIGH for format args.
5726         (min_precision): Now unsigned.
5727         Use tree_floor_log2.
5728         (truthvalue_conversion): Delete long-disabled code.
5729         * c-decl.c (finish_struct): Clean up tests on field width.
5730         (finish_function): Use compare_tree_int.
5731         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
5732         * c-typeck.c (comptypes): Use tree_int_cst_equal.
5733         (default_conversion, digest_init): Use compare_tree_int.
5734         (build_binary_op): Use integer_all_onesp and compare_tree_int.
5735         Fix type errors in forming masks.
5736         * calls.c (initialize_argument_information): Use compare_tree_int.
5737         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5738         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
5739         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
5740         (store_field): Use compare_tree_int.
5741         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
5742         (expand_expr, case ARRAY_REF): Use compare_tree_int.
5743         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
5744         (do_store_flag): Use compare_tree_int.
5745         * fold-const.c (encode, decode): Low part is always unsigned.
5746         (force_fit_type, add_double, neg_double, mul_double): Likewise.
5747         (lshift_double, rshift_double, lrotate_double): Likewise.
5748         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
5749         (fold_convert): Use compare_tree_int.
5750         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
5751         (invert_truthvalue, case INTEGER_CST): Likewise.
5752         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
5753         * mkdeps.c (deps_dummy_targets): Make I unsigned.
5754         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
5755         (lshift_double, rshift_double, lrotate_double, rrotate_double):
5756         Likewise.
5757         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
5758         (expand_end_case): Use compare_tree_int.
5759         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5760         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
5761         (layout_decl): Likewise.
5762         (layout_record, layout_union): Make sizes unsigned.
5763         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
5764         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
5765         * tree.c (struct type_hash): hashcode is unsigned.
5766         (build_type_attribute_variant, type_hash_list): Likewise.
5767         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
5768         (attribute_hash_list, build_array_type, build_method_type): Likewise.
5769         (build_complex_type): Likewise.
5770         (real_value_from_int_cst): Remove unneeded casts.
5771         (integer_all_onesp): Add casts.
5772         (tree_floor_log2, compare_tree_int): New functions.
5773         (build_index_type): Use tree_int_cst_sgn.
5774         * varasm.c (assemble_variable): Use compare_tree_int.
5775
5776 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
5777
5778         * cpphash.c (collect_expansion): Also catch ## at start of macro.
5779
5780         * varasm.c (make_decl_rtl): Don't add a number to members of
5781         local classes.
5782         (make_function_rtl): Likewise.
5783
5784 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5785
5786         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
5787         patch from 2000-01-28.
5788
5789 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
5790
5791         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
5792         filled with an insn from the jump target.
5793
5794 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5795
5796         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
5797         (c4x_external_ref): Likewise.
5798         * config/c4x/c4x.c (struct name_list): Likewise.
5799
5800 1999-12-16  Ben Collins  <bcollins@debian.org>
5801
5802         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
5803         argument to genmultilib.
5804         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
5805         the contents into the multilib.h header.
5806         * gcc.c: Declare multilib_exclusions for the specs file.
5807         (set_multilib_dir): Use it.
5808         (print_multilib_info): Likewise.
5809         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
5810         to pass to genmultilib.
5811
5812 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5813
5814         * builtins.c (built_in_class_names, built_in_names): Constify a
5815         char*.
5816
5817         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
5818         int.
5819         (_mcleanup): Ensure value matches format specifier in sprintf.
5820
5821         * cpphash.c (special_symbol): Don't needlessly cast away
5822         const-ness.
5823
5824         * cppinit.c (base_name): Delete unused prototype.
5825
5826         * mkdeps.c (deps_init): Make definition K&R safe.
5827
5828         * tree.h (built_in_class_names, built_in_names): Constify a
5829         char*.
5830
5831 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
5832
5833         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
5834         floating point instructions for epilogue delay.
5835
5836         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
5837         to gas if it supports .register pseudo.
5838
5839         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
5840         LONG_DOUBLE_TYPE_SIZE if not defined.
5841         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
5842         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
5843         * real.c: Likewise.
5844         * gengenrtl.c: Likewise.
5845         * print-rtl.c: Likewise.
5846         * rtl.c: Likewise.
5847         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
5848         MASK_LONG_DOUBLE_128.
5849         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
5850         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
5851         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
5852         (SUBTARGET_SWITCHES): Define.
5853         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
5854         with -mlong-double-128.
5855         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5856         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5857         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5858         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
5859         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
5860         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
5861         with -mlong-double-128.
5862         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5863         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5864         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5865         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
5866         TARGET_LONG_DOUBLE_128): Define.
5867         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
5868         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
5869         long double on TARGET_ARCH64.
5870
5871 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
5872
5873         * function.c (free_temps_for_rtl_expr): Don't free slots
5874         that have been pushed into a higher level.
5875         
5876         Revert this patch:
5877         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5878
5879 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5880
5881         * basic-block.h (ALLOCA_REG_SET): Remove.
5882         (INITIALIZE_REG_SET): New macro.
5883         * flow.c (update_life_info): Use it.
5884         (calculate_global_regs_live): Likewise.
5885         (propagate_block): Likewise.
5886         * global.c (build_insn_chain): Likewise.
5887         * haifa-sched.c (schedule_region): Likewise.
5888
5889 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
5890
5891         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
5892         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
5893         (DWARF_ARANGES_PAD_SIZE): New define.
5894         (output_aranges): Use it to pad the address range header.
5895         (DWARF_ROUND): Fix for non power of 2 rounding.
5896
5897 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
5898
5899         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
5900
5901 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5902
5903         * tree.def (RTL_EXPR): Update documentation.
5904         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
5905         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
5906         * function.c (preserve_rtl_expr_temp): New function.
5907         (preserve_rtl_expr_temps): Likewise.
5908         (preserve_rtl_expr_result): Use it.
5909
5910         Revert this patch:
5911         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5912
5913 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
5914
5915         * regmove.c (copy_src_to_dest)  Do not create src->dest move
5916         for unchanging destination.
5917
5918 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5919
5920         * function.h (struct sequence_stack): Remove rtl_expr.
5921         (struct emit_staus): Likewise.
5922         (seq_rtl_expr): Remove.
5923         * tree.h (free_temps_for_rtl_expr): Don't declare.
5924         (start_sequence_for_rtl_expr): Likewise.
5925         * rtl.h (preserve_rtl_expr_result): Likewise.
5926         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
5927         (start_sequence_for_rtl_expr): Remove.
5928         (push_topmost_sequence): Don't save sequence_rtl_expr.
5929         (pop_topmost_sequence): Remove comment about not restoring it.
5930         (end_sequence): Don't set seq_rtl_expr.
5931         (init_emit): Don't initialize it.
5932         (mark_sequence_stack): Don't mark it.
5933         (mark_emit_status): Likewise.
5934         * except.c (protect_with_terminate): Use
5935         start_sequence_for_rtl_expr, not start_sequence.
5936         * expr.c (expand_expr, case RTL_EXPR): Don't call
5937         preserve_rtl_expr_result or free_temps_for_rtl_expr.
5938         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
5939         (preserve_rtl_expr_result): Remove.
5940         (free_temps_for_rtl_expr): Likewise.
5941         (pop_temp_slots): Likewise.
5942         (mark_temp_slot): Don't mark the rtl_expr.
5943         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
5944         start_sequence_for_rtl_expr.
5945         
5946 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
5947
5948         * mkdeps.c, mkdeps.h: New files.
5949         * po/POTFILES.in: Add them.
5950         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
5951         (cpplib.o, cppinit.o): Depend on mkdeps.h.
5952         (mkdeps.o): New target.
5953
5954         * cppfiles.c: Delete deps_output.
5955         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
5956         OBJECT_SUFFIX, and base_name.
5957         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
5958         the include hash.
5959         (initialize_dependency_output): Use deps_init,
5960         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
5961         all the unnecessary string bashing.
5962         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
5963         level.
5964         * cpplib.c (do_include): Use deps_add_dep.
5965         * cpplib.h (struct cpp_reader): Replace deps_buffer,
5966         deps_allocated_size, deps_size, deps_column members with
5967         single pointer to a struct deps.  Delete prototype of
5968         deps_output.
5969
5970         * cppinit.c: Fix thinko in previous patch.
5971
5972 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5973
5974         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
5975         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
5976         (mode_for_size_tree): New function.
5977         (layout_decl, layout_type): Call it and clean up BLKmode checks.
5978         * tree.h (mode_for_size_tree): New declaration.
5979         
5980         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
5981
5982 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
5983
5984         * stmt.c (is_body_block): Move...
5985         * dwarfout.c, dwarf2out.c: ...from here.
5986         * tree.h: Declare it.
5987         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
5988         * final.c (final_start_function): Do call remove_unnecessary_notes
5989         when scheduling.
5990
5991 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5992
5993         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
5994         
5995         * cpplib.h (_dollar_ok): New macro.
5996         (is_idchar, is_idstart): Use it.
5997         (IStable): Rename to _cpp_IStable.  Declare it const if
5998         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
5999         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
6000         is_space): Update for renamed IStable.
6001
6002         * cppinit.c: Delete all references to FAKE_CONST and CAT
6003         macros. Define init_IStable as empty macro if gcc >=2.7 or
6004         C99. Change TABLE() to ISTABLE and hardcode name of table.
6005         (cpp_start_read): Don't change the IStable based on
6006         dollars_in_ident.
6007
6008         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
6009         changed.  Handle '$' for char1 correctly.
6010         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
6011
6012         * cppexp.c (tokentab2): Make const.
6013         (cpp_lex): Make toktab const.
6014         * cppinit.c (include_defaults_array): Make const.
6015         (initialize_standard_includes): Make default_include const.
6016
6017 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
6018
6019         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
6020         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
6021         (gen_decl_die): Likewise.
6022         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
6023         (output_decl): Likewise.
6024
6025         * varasm.c (make_function_rtl): If we change the name used in the
6026         rtl, update DECL_ASSEMBLER_NAME accordingly.
6027         (make_decl_rtl): Likewise.
6028
6029         * toplev.c (rest_of_compilation): Tweak formatting.
6030
6031         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
6032         remove_unnecessary_notes.
6033         (debug_ignore_block): New fn.
6034         * toplev.h: Declare it.
6035         * emit-rtl.c (remove_unncessary_notes): Call it.
6036         * dwarf2out.c (dwarf2out_ignore_block): New fn.
6037         * dwarf2out.h: Declare it.
6038         * final.c (final_start_function): Don't call remove_unnecessary_notes
6039         if we did insn scheduling.
6040
6041 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
6042
6043         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
6044         * cpplib.h: Delete SET_CPP_PEDANTIC.
6045
6046 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6047
6048         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
6049         result is a RECORD_TYPE.
6050
6051 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
6052
6053         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
6054
6055 2000-03-03  Richard Henderson  <rth@cygnus.com>
6056
6057         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
6058         addition over compliments over shifts.
6059
6060 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6061
6062         * reload1.c (reload_combine_note_use): Handle return register USEs.
6063         REG case: Handle multi-hard-register hard regs.
6064
6065 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6066
6067         * md.texi: Document use of '*' in insn pattern name.
6068
6069 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
6070
6071         * calls.c (special_function_p): operator new may not be malloc-like.
6072
6073         * gcse.c (dump_hash_table): Really fix error in last change.
6074
6075 2000-03-02  Denis Chertykov  <denisc@overta.ru>
6076
6077         * avr.c (print_operand): Use print_operand_address instead of
6078         output_addr_const.
6079         * avr/libgcc.S: Cleanup code.
6080
6081 2000-03-02  Richard Henderson  <rth@cygnus.com>
6082
6083         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
6084
6085 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
6086
6087         * tree.h (TYPE_ALIGN_UNIT): New macro.
6088
6089 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
6090
6091         * i386.c: (constant_call_address_operand): Reject CONST_INT.
6092
6093 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
6094
6095         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
6096         for the buffer.
6097         (SET_CPP_PEDANTIC): New macro.
6098         * cpplib.c (do_include): Don't bother checking system_header_p.
6099         (do_warning, do_ident, do_assert, do_unassert): Likewise.
6100         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
6101
6102         * function.h (struct expr_status): Add x_arg_space_so_far.
6103         (arg_space_so_far): New macro.
6104         * expr.c (init_expr): Initialize it.
6105         * calls.c (emit_call_1): Reset it.
6106         (compute_argument_block_size, expand_call): Use it.
6107         (expand_call, store_one_arg): Increment it.
6108
6109 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6110
6111         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
6112         a UNION_TYPE.
6113
6114 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
6115
6116         * cppfiles.c (cpp_read_file): New function.
6117
6118         * cpphash.c (collect_expansion): Make sure to reset last_token
6119         to NORM when we hit a string.  Handle trailing whitespace
6120         properly when the expansion is empty.
6121         (create_definition): Disable line commands while parsing the
6122         directive line.
6123         (dump_definition): If pfile->lineno == 0, output a line
6124         command ahead of the dump, and add a trailing newline.
6125
6126         * cppinit.c (append_include_chain): Add fifth argument, which
6127         indicates whether or not system headers are C++ aware.
6128         (initialize_standard_includes): New function,
6129         broken out of read_and_prescan.  Pass 'cxx_aware' value from
6130         the include_defaults_array on to append_include_chain.
6131         (dump_special_to_buffer): Const-ify char array.
6132         (builtin_array): Don't dump __BASE_FILE__.
6133         (cpp_start_read): Use cpp_read_file.  Reorder code for
6134         clarity.  Don't output line commands here for -D/-A/-U
6135         switches.  Don't call deps_output for files included with
6136         -include or -imacros.
6137
6138         * cpplib.c (do_define): Don't pay any attention to the second
6139         argument.
6140         (cpp_expand_to_buffer): Disable line commands while scanning.
6141         (output_line_command): Work in the file buffer.
6142         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
6143         Fix formatting of comments.  Prototype cpp_read_file.
6144
6145 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6146
6147         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
6148         reference the language-equivalent of sizetype.
6149         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
6150         * fold-const.c (size_binop, size_diffop): Put back checks.
6151         * gcse.c (dump_hash_table): Fix minor error in last change.
6152         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
6153         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
6154         all sizetypes.
6155
6156 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
6157
6158         * calls.c (expand_call)  Do not attempt to combine stack adjustments
6159         with inhibit_defer_pop set.
6160
6161 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
6162
6163         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
6164         the DECL_SIZE for a FIELD_DECL.
6165
6166 2000-03-01  Bruce Korb  <bkorb@gnu.org>
6167
6168         * fixinc/inclhack.tpl: remove unused symlinks
6169         * fixinc/README: GCC Maintainer info
6170         * fixinc/inclhack.sh: regen
6171         * fixinc/fixincl.sh: regen
6172
6173 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
6174
6175         * cpphash.c (collect_expansion): Trim trailing white space
6176         from macro definitions, but don't go past the last insertion
6177         point.
6178
6179 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
6180
6181         * i386.md (mulqi3): New pattern.
6182
6183 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
6184
6185         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
6186         token types.
6187         (struct cpp_reader): Add parsing_if_directive and
6188         parsing_define_directive flags.               
6189         (struct cpp_options): Remove output_conditionals flag.
6190         (check_macro_name): Delete prototype.
6191
6192         * cpphash.h (struct macrodef): Delete.
6193         (struct reflist): Separate from struct definition.
6194         (struct definition): Remove unused fields.  Add column number.
6195         (create_definition): Returns a DEFINITION *.  Takes a
6196         cpp_reader * and an int.
6197
6198         * cpphash.c (SKIP_WHITE_SPACE): Delete.
6199         (PEEKC): Copy defn from cpplib.c.
6200         (rest_extension, REST_EXTENSION_LENGTH): Delete.
6201         (struct arg): New.
6202         (struct arglist): Simplify.
6203         (collect_expansion): Rewrite.  Get tokens by calling
6204         cpp_get_token.  Add more error checking.
6205         (collect_formal_parameters): New function, broken out of
6206         create_definition and reworked to use get_directive_token.
6207         (create_definition): All real work is now in collect_expansion
6208         and collect_formal_parameters.  do_define handles finding the
6209         macro name.  Return a DEFINITION, not a MACRODEF.
6210         (macroexpand): Replace bcopy with memcpy throughout.  Replace
6211         character-at-a-time copy loop with memcpy and pointer increments.
6212         (compare-defs): d1->argnames / d2->argnames might be null.
6213
6214         * cpplib.c (copy_rest_of_line): Delete function.
6215         (skip_rest_of_line): Do all the work ourselves.
6216         (skip_string): New function.
6217         (parse_string): Use skip_string.
6218         (get_macro_name): New function.
6219         (check_macro_name): Delete.
6220         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
6221         (cpp_skip_hspace): Use CPP_BUMP_LINE.
6222         (handle_directive): ICE if we're called on a macro buffer.
6223         (do_define): Determine macro name and type (funlike/objlike)
6224         here.  Expunge all uses of MACRODEF.
6225         (cpp_push_buffer): Set line_base to NULL.
6226         (do_undef, read_line_number): Don't worry about getting a POP token.
6227         (eval_if_expression): Set/reset parsing_if_directive around
6228         cpp_parse_expr. Don't clear only_seen_white.
6229         (skip_if_group): Remove output_conditionals logic.  Use
6230         skip_rest_of_line.
6231         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
6232         tokens under appropriate conditions.
6233         (cpp_unassert): Call do_unassert not do_assert.  Oops.
6234
6235         * cppexp.c (parse_defined): New function, break out of
6236         cpp_lex.
6237         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
6238         ourselves, with cpp_defined.
6239         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
6240
6241         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
6242         * gcc.dg/strpaste-2.c: New.
6243
6244 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
6245
6246         * fold-const.c (size_binop): Don't asert inputs are the same and
6247         have TYPE_IS_SIZETYPE set.
6248         (size_diffop): Likewise.
6249
6250 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
6251
6252         * dwarfout.c (output_block): Output abstract blocks even if they
6253         don't have TREE_ASM_WRITTEN set.
6254
6255         * calls.c (emit_library_call): Check for null REG.
6256
6257 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
6258
6259         * c-decl.c (current_function_decl): Move to toplev.c.
6260         (init_decl_processing): Don't add current_function_decl as a ggc
6261         root here.
6262         * dbxout.c (dbxout_symbol): Change return type to int.
6263         (dbxout_symbol_location, dbxout_syms): Likewise.
6264         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
6265         any locals. Use current_function_func_begin_label if set.
6266         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
6267         * dwarf2out.c (dwarf2out_begin_prologue): Set
6268         current_function_func_begin_label.
6269         * final.c (final_start_function): Reset it.
6270         * toplev.c (current_function_decl): Define it here.
6271         (current_function_func_begin_label): New variable.
6272         (main): Add both as ggc roots.
6273         * tree.h (current_function_func_begin_label): Declare.
6274
6275 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6276
6277         * gcse.c: Cleanups throughout: mostly white-space, but also
6278         some minor rearrangement of code.
6279
6280 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
6281
6282         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
6283         returns a PARALLEL.  Use emit_group_load and use_group_regs
6284         as needed.  
6285         (emit_library_call_value): Similarly.
6286
6287         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
6288         * pa/quadlib.asm: Remove.
6289         * pa/quadlib.c: New file.
6290
6291         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
6292         * configure: Rebuilt.
6293
6294 2000-02-29  Philip Blundell  <pb@futuretv.com>
6295
6296         * config/arm/conix-elf.h: New file.
6297         * configure.in (arm*-*-conix*): New configuration.
6298         * configure: Regenerate.
6299
6300 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
6301
6302         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
6303         don't have TREE_ASM_WRITTEN set.
6304
6305 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6306
6307         * Eliminate DECL_FIELD_SIZE.
6308         * builtins.c (built_in_class_names, built_in_names): New variables.
6309         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
6310         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
6311         DECL_SIZE, not DECL_FIELD_SIZE.
6312         * print-tree.c (print_node): Remove code that prints extra blank
6313         lines in some cases.
6314         Properly handle inline and builtin function cases.
6315         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
6316         * tree.h (built_in_class_named, built_in_names): New declarations.
6317         (union tree_decl): Rename internal unions to u1 and u2 and change
6318         some of their components.
6319         Add new field built_in_class.
6320         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
6321         Reflect above changes.
6322         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
6323         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
6324         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
6325         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
6326
6327 2000-02-28  Dmitri Makarov  <dim@windriver.com>
6328
6329         * extend.texi: Document ARM's support for long/short calls.
6330
6331         * invoke.texi: Document ARM's -mlong-calls command line switch.
6332         
6333         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
6334         (arm_encode_call_attribute): Add prototype.
6335         (arm_set_default_type_attribute): Add prototype.
6336         (arm_strip_name_encoding): Add prototype.
6337
6338         * config/arm/arm.c (arm_init_cumulative_args): replace
6339         initialisation og 'long_calls' field with initialisation of
6340         'call_cookie' field.
6341         (enum arm_pragma_enum): New enum.
6342         (arm_pragma_long_calls): New static variable.
6343         (arm_process_pragma): Also process "#pragma long_calls_off".
6344         (arm_valid_type_attribute_p): Accept short_call attribute.
6345         (arm_comp_type_attributes): Check long/short call attributes.
6346         (arm_encode_call_attribute):  New function:  Encode long_call
6347         or short_call attribute in function name.
6348         (arm_set_default_type_attributes): New function: Assign
6349         default attributes to newly defined type.
6350         (current_file_function_operand): New function: Return true if
6351         the symbol is a function which has already been compiled.
6352         (arm_is_longcall_p): New function: Return true if the
6353         indicated function should be called via a long call.
6354         (arm_get_strip_length): New function.  Returns number of
6355         prefix characters to be stripped from a function's name.
6356         (arm_strip_name_encoding): New function.  Strip prefix characters
6357         from a function's name.
6358
6359         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
6360         with 'call_cookie'.
6361         (SHORT_CALL_FAG_CHAR): Define.
6362         (LONG_CALL_FAG_CHAR): Define.
6363         (ENCODED_SHORT_CALL_ATTR_P): Define.
6364         (ENCODED_LONG_CALL_ATTR_P): Define.
6365         (ARM_NAME_ENCODING_LENGTHS): Define.
6366         (STRIP_NAME_ENCODING): Define.
6367         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
6368         (ARM_ENCODE_CALL_TYPE): Define.
6369         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
6370         (ARM_DECLARE_FUNCTION_SIZE): Define.
6371         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
6372
6373         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
6374         if a long call is needed.
6375         (call_value): Ditto.
6376         (call_symbol): Ditto.
6377
6378         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
6379         ARM_DECLARE_FUNCTION_SIZE.
6380
6381         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
6382         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
6383         (ARM_STRIP_NAME_ENCODING): Undefine.
6384         (STRIP_NAME_ENCODING): Undefine.
6385         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
6386         (ASM_DECLARE_FUNCTION_NAME): Ditto.
6387         (ASM_OUTPUT_COMMON): Ditto.
6388         (ASM_DECLARE_OBJECT_NAME): Ditto.
6389
6390         * config/arm/pe.c (arm_dllexport_name_p): Check for
6391         ARM_PE_FLAG_CHAR.
6392         (arm_dllimport_name_p): Ditto.
6393         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
6394         (arm_mark_dllimport): Ditto.
6395         
6396 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6397
6398         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
6399
6400 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
6401
6402         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
6403
6404 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
6405
6406         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
6407         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
6408         NO_BUILTIN_WCHAR_TYPE is not defined.
6409         (CPP_WCHAR_TYPE): Delete.
6410         * cccp.c (main): Don't change wchar_type if cplusplus.
6411         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
6412
6413 2000-02-28  Nick Clifton  <nickc@cygnus.com>
6414
6415         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
6416
6417 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
6418
6419         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
6420         (ASM_WEAKEN_LABEL): Define.
6421  
6422 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
6423
6424         * expr.c (store_constructor): Do not emit USE.
6425         * rtl.h (stupid_life_analysis): Remove.
6426
6427 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6428
6429         * function.c (number_blocks): Reset next_block_index based on
6430         what debugging format is used, not what is defined.
6431         
6432         * lcm.c: Minor reformatting throughout.
6433         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
6434         
6435         * toplev.c (rest_of_compilation): Account for time in
6436         optimize_mode_switching.
6437
6438         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
6439         if only marking labels.
6440
6441 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
6442
6443         * calls.c (expand_call): Attempt to combine stack adjustments with
6444         pending stack adjustments.
6445
6446 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6447
6448         * loop.c (reg_in_basic_block_p): Don't abort when falling through
6449         to the end of the function.
6450
6451 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
6452
6453         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
6454         blocks.
6455         * final.c (next_block_index): Remove.
6456         (max_block_depth): Likewise.
6457         (pending_blocks): Likewise.
6458         (init_final): Don't initialize them.
6459         (final_start_function): Don't set next_block_index.  Set up
6460         BLOCK_NUMBER.
6461         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
6462         * function.h (number_blocks): New function.
6463         * function.c (get_block_vector): New function.
6464         (identify_blocks): Use it.
6465         (reorder_blocks): Set NOTE_BLOCK.
6466         (number_blocks): New function.
6467         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
6468         * tree.h (BLOCK_NUMBER): New macro.
6469         (tree_block): Add block_num field.
6470         * dbxout.c (next_block_number): Remove.
6471         (dbxout_init): Don't set it.
6472         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
6473         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
6474         block numbers.
6475         * toplev.c (rest_of_compilation): Always call
6476         find_loop_tree_blocks.  Fix indentation.
6477         * dwarf2out.c (next_block_number): Remove.
6478         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
6479         to determine block numbers.
6480         (gen_inlined_subroutine_die): Likewise.
6481         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
6482         (decls_for_scope): Don't increment next_block_number.
6483         * dwarfout.c (next_block_number): Remove.
6484         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
6485         to determine block numbers. 
6486         (output_inlined_subroutine_die): Likewise.
6487         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
6488         (output_decls_for_scope): Don't increment next_block_number.
6489         * sdbout.c (next_block_number): Remove.
6490         (sdbout_block): Use BLOCK_NUMBER.
6491         (sdbout_begin_block): Simplify.
6492         * xcoffout.c (next_block_number): Remove.
6493         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
6494         (xcoffout_begin_block): Don't set next_block_number.
6495         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
6496         next_block_number.
6497         
6498 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6499
6500         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
6501         (expand_builtin_strcpy): Pass correct type to size_binop.
6502         (expand_builtin_strcmp): Likewise.
6503         Clean up conditional structure.
6504         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
6505         (complete_array_type): Don't use size_binop for MAXINDEX.
6506         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
6507         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
6508         (c_alignof): Use size_one_node.
6509         (build_unary_op): Pass arg of proper type to size_binop.
6510         (really_start_incremental_init, push_init_level): Use sizetype for
6511         constructor{,_bit,_unfilled}_index.
6512         (pop_init_label, output_init_element): Likewise.
6513         (output_pending_init_elements, process_init_element): Likewise.
6514         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
6515         * expr.c (store_expr): Use size_int.
6516         (store_constructor): Use proper types for size_binop args.
6517         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
6518         (expand_expr_unaligned): Likewise.
6519         (string_contant): Return object of sizetype.
6520         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
6521         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
6522         (ARGS_SIZE_TREE): Pass proper types to size_binop.
6523         * fold-const.c (int_const_binop): Refine when size_int is called.
6524         (fold_convert): Likewise.
6525         (size_int_wide): Rework to take KIND as arg, only take low order
6526         bits, handle new sizetype_tab datatype, and chain entries in
6527         size_table.
6528         (size_int_type_wide): New function.
6529         (size_binop): Validate types of arguments.
6530         (ssize_binop): Deleted.
6531         (size_diffop): New function.
6532         (extract_muldiv): Only fold division into multiplication for sizetypes.
6533         * function.c (assign_parms): Use size_diffop and make sure
6534         VAR field is of ssizetype; also pass proper type to size_binop.
6535         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
6536         (round_down): Deleted from here.
6537         * store-layout.c (sizetype_tab): Now an array.
6538         (sizetype_set, early_root_list): New variables.
6539         (variable_size): Use size_one_node.
6540         (round_up): Pass proper type to size_binop.
6541         (round_down): Moved to here and corrected as above.
6542         (layout_record): Pass proper arg types to size_binop.
6543         (layout_type): Likewise.
6544         If sizetype_set is zero, record the type just laid out.
6545         (make_unsigned_type): Don't call set_sizetype;
6546         (make_signed_type): Likewise; also, call fixup_signed_type.
6547         (initialize_sizetypes): New function.
6548         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
6549         set name of bitsizetype to "bit_size_type".
6550         Fix up type of sizes of all types made before call.
6551         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
6552         * tree.c (fix_sizetype): Deleted.
6553         (build_common_tree_nodes): Call initialize_sizetypes.
6554         (build_common_tree_nodes_2): Don't call fix_sizetype.
6555         * tree.h (TYPE_IS_SIZETYPE): New macro.
6556         (initialize_sizetype): New declaration.
6557         (enum size_type_kind): New type.
6558         (struct sizetype_tab): Deleted.
6559         (sizetype_tab): Now array; adjust sizetype macros.
6560         (size_diffop, size_int_type_wide): New functions.
6561         (size_int_wide): Change number of args and type; access macros changed.
6562         (ssize_int, sbitsize_int): New macros.
6563         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
6564         (ROUND_TYPE_SIZE_UNIT): New macro.
6565
6566 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
6567
6568         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
6569
6570 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6571
6572         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
6573         Mark as possibly unused.
6574
6575         * cse.c (cse_insn): Delete dead code involving tablejump.
6576         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
6577
6578         * Makefile.in (libcpp.a): Start by deleting it.
6579
6580 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6581
6582         * cpplib.h (enum file_change_code): Added rename_file.
6583         * cpplib.c (do_line): If a filename is given, set file_change to
6584         rename_file.
6585         (output_line_command): If file_change is rename_file, always
6586         output a # directive with the file name.
6587
6588         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
6589
6590 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
6591
6592         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
6593         when copying a PARM_DECL or RESULT_DECL.
6594
6595 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6596
6597         * fix-header.c (recognized_function): Also fix prototypes for
6598         functions taking "void".
6599
6600 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
6601
6602         * reload1.c (do_output_reload): Check reg_reloaded_valid before
6603         looking at reg_reloaded_contents.
6604
6605 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
6606
6607         * Makefile.in (STMP_FIXINC): New toggle.
6608         (LIBGCC2_DEPS): Delete all references.
6609         (stmp-headers): Delete target.  All references either deleted
6610         or changed to stmp-int-headers.
6611         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
6612         (LIBCPP_OBJS): Take out cppalloc.o.
6613         (cppalloc.o): Delete target.
6614         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
6615         (gen-protos, fix-header): Link with libiberty.a.
6616         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
6617         to empty.
6618
6619         * configure.in: Remove refs to strerror.
6620         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
6621         * system.h: Take out strerror stanza.
6622
6623         * cpperror.c (my_strerror): Delete function.
6624         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
6625         * cppmain.c (main): Call xmalloc_set_program_name first thing.
6626         * cppalloc.c: Delete file.
6627         * gen-protos.c: Don't provide xrealloc.
6628
6629         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
6630         xstrerror throughout.
6631
6632 2000-02-26  Bruce Korb  <bkorb@gnu.org>
6633
6634         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
6635         match for DOS headers, too.
6636         * fixinc/inclhack.sh,fixincl.x: Regenerate.
6637
6638 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
6639
6640         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
6641         is right for most ELF targets.
6642         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
6643         Let the default file use %U properly.
6644         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
6645         default.
6646
6647         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
6648         numbers.
6649
6650 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6651
6652         * toplev.c (documented_lang_options): Correct spelling error.
6653         (decode_d_option, decode_f_option, main): Likewise.
6654
6655         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
6656
6657         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
6658         to tell assembler it is permitted to expand large constants.
6659
6660 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
6661
6662         * protoize.c: (AUX_INFO_SUFFIX): New macro.
6663         (aux_info_suffix): Use.
6664         (SAVE_SUFFIX): New macro.
6665         (save_suffix): Use.
6666         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
6667         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
6668         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
6669
6670         * invoke.texi (Running Protoize): Update documentation.
6671
6672 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
6673
6674         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
6675
6676 2000-02-25  John Wehle  (john@feith.com)
6677
6678         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
6679
6680 2000-02-25  Anthony Green  <green@cygnus.com>
6681
6682         * toplev.c (rest_of_compilation): Rebuild jump labels if
6683         combine_instructions has created a new direct jump.
6684         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
6685         when appropriate.
6686         (combine_instructions): Call try_combine with new argument.
6687         Return non-null value when new direct jump instruction is created.
6688         * rtl.h: combine_instructions returns an int.
6689
6690 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
6691
6692         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
6693         jump when changing a computed jump into a jump to a known
6694         target.
6695
6696 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
6697
6698         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
6699         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
6700
6701         * i386.md (define_expand "clrstrsi"): Fix typo.
6702
6703 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
6704
6705         * rtl.texi: Fix typo.
6706
6707 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6708
6709         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
6710         UNITS_PER_WORD.  Change caller initial_elimination_offset.
6711         (rounded_frame_size): Take into account that argument pushed has
6712         changed.  Fix TARGET_ALIGN_DOUBLE problem.
6713
6714 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
6715
6716         * haifa-sched.c (schedule_block): Explain the real reason
6717         we delete REG_SAVE_NOTEs on the first insn of a block.
6718         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
6719
6720 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
6721
6722         * input.h (push_srcloc): New function.
6723         (pop_srcloc): Likewise.
6724         * toplev.c (push_srcloc): Define it.
6725         (pop_srcloc): Likewise.
6726
6727 2000-02-24  Richard Henderson  <rth@cygnus.com>
6728
6729         * flow.c (life_analysis): When collecting reg info, clear
6730         regs_ever_live.
6731
6732 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6733
6734         Fix bug exposed by reload.c no longer rounding the frame
6735         size to BIGGEST_ALIGNMENT:
6736         * sh.c (rounded_frame_size): New function.
6737         (sh_expand_prologue, sh_expand_epilogue): Use it.
6738         (initial_elimination_offset): Likewise.
6739
6740 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6741
6742         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
6743         * sh-protos.h (sh_need_epilogue): Declare.
6744         * sh.c (sh_need_epilogue_known): New static variable.
6745         (sh_need_epilogue): New function.
6746         (function_epilogue): Clear need_epilogue_known.
6747         * sh.md (return): Split into expander / insn pattern.
6748         Make the expander conditional on ! sh_need_epilogue ().
6749
6750 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
6751
6752         * machmode.h (get_mode_alignment): Declare.
6753         (GET_MODE_ALIGNMENT): Call it.
6754         * stor-layout.c (get_mode_alignment): New function. Make
6755         sure alignment is always power of 2.
6756
6757 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6758
6759         * i386.h: Remove useless definition of "I386" and misleading
6760         comment above it.
6761
6762 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6763
6764         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
6765         under which TREE_PERMANENT will be set.
6766         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
6767         build1): Use TREE_SET_PERMANENT.
6768         * print-tree.c (print_node): Don't report value of
6769         TREE_PERMANENT if ggc_p is true.
6770
6771         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
6772         decide whether to give a type a new alias set.
6773         * objc/objc-act.c (build_objc_string_object): Never copy the string.
6774         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
6775         of value of 'obstack'.
6776
6777
6778 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6779
6780         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
6781
6782 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6783
6784         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
6785         * cpplib.c (cpp_get_token): Produce them.
6786         * cppexp.c (cpp_lex): Handle them.
6787
6788 2000-02-23  Nick Clifton  <nickc@cygnus.com>
6789
6790         * config/arm/arm.c (arm_comp_type_attributes): Simply and
6791         comment tests on type attributes.
6792
6793 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6794
6795         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
6796         conform to documentation.
6797         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
6798         to check for special cases.
6799         * sh-protos.h (sh_loop_align): Declare.
6800         * sh.c (sh_loop_align): Define.
6801
6802 2000-02-22  Andrew Haley  <aph@cygnus.com>
6803
6804         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
6805         (SIZE_TYPE): Is 32 bits when using -mgp32.
6806         (PTRDIFF_TYPE): Ditto.
6807
6808 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6809
6810         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
6811
6812 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6813
6814         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
6815         BIGGEST_FIELD_ALIGNMENT a constant.
6816
6817 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
6818
6819         * dwarf2out.c (output_line_info): Put the marker for the end of
6820         the line number info at the actual end.
6821         (gen_struct_or_union_type_die): Use decl_function_context 
6822         to check for local classes.
6823         * dwarfout.c (output_type): Likewise.
6824
6825 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
6826
6827         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
6828         for arguments with a mode, but no type.
6829         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
6830         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
6831         * pa/long_double.h: New file.
6832         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
6833         both have 128bit wide long doubles.
6834         * configure: Rebuilt.
6835
6836 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6837
6838         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
6839
6840         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
6841         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
6842         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
6843
6844         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
6845
6846         * integrate.c (compare_blocks, find_block): Likewise.
6847
6848         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
6849
6850         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
6851
6852         * stmt.c (stmt_status, set_file_and_line_for_stmt,
6853         expand_asm_operands): Likewise.
6854
6855 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
6856
6857         * predict.c (estimate_probability): Added the pointer heuristic to
6858         the collection of static branch predictors.
6859
6860 2000-02-21  Catherine Moore  <clm@cygnus.com>
6861
6862         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
6863         * invoke.texi (-mfix7000): Document.
6864
6865 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
6866
6867         * diagnostic.c (init_output_buffer): Make it possible to output at
6868         least 32 characters if we're given a too long prefix.
6869
6870 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
6871
6872         * varasm.c (initializer_constant_valid_p): Call
6873         lang_expand_constant to simplify the constant.
6874
6875 2000-02-20  Bruce Korb  <bkorb@gnu.org>
6876
6877         * fixinc/inclhack.def(stdio_va_list):
6878         typedef needs to be disabled.
6879         * fixinc/inclhack.sh: regen
6880         * fixinc/fixincl.x: regen
6881
6882 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
6883
6884         * print-rtl.c (print_rtx): Don't print addresses when
6885         flag_dump_unnumbered.
6886
6887 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6888
6889         * sparc.c (sparc_output_scratch_registers): Mark parameter with
6890         ATTRIBUTE_UNUSED.
6891         (sparc_va_arg, sparc_flat_output_function_prologue,
6892         sparc_flat_output_function_epilogue): Cast value to unsigned in
6893         comparison.
6894         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
6895         
6896         * sparc.md: Add default case in switch.
6897
6898 2000-02-19  Richard Henderson  <rth@cygnus.com>
6899
6900         * c-typeck.c (add_pending_init): Don't abort for multiple
6901         fields at the same offset.
6902         (pending_init_member): Test the correct member.
6903
6904 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6905
6906         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
6907         instead of SImode.
6908         (start_catch_handler) : Same.
6909
6910 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
6911
6912         * Makefile.in: Have flow.o depend on $(EXPR_H)
6913
6914 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6915
6916         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
6917         * c-decl.c (duplicate_decls, finish_enum): Likewise.
6918         (finish_decl): Remove -Wlarger-than code from here.
6919         * flags.h (id_clash_len): Now int.
6920         (larger_than_size): Now HOST_WIDE_INT.
6921         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
6922         Clean up checking to see if in table.
6923         (make_bit_field_ref): Remove extra parm to bitsize_int.
6924         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
6925         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
6926         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
6927         and for computing size of decl.
6928         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
6929         Move -Wlarger-than code to here.
6930         (layout_record): Remove extra arg to bitsize_int.
6931         Set TYPE_BINFO_SIZE_UNIT.
6932         (layout_union): Remove extra arg to bitsize_int.
6933         Use proper type for size of QUAL_UNION.
6934         (layout_type): Remove extra arg to bitsize_int.
6935         * toplev.c (id_clash_len): Now int.
6936         (larger_than_size): Now HOST_WIDE_INT.
6937         (decode_W_option): Clean up id-clash and larger-than- cases.
6938         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
6939         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
6940         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
6941         (struct tree_decl): New field size_unit.
6942         (size_int_wide): No HIGH operand; NUMBER is now signed.
6943         (size_int_2): Deleted.
6944         (size_int, bitsize_int): Don't use it and rework args.
6945         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
6946
6947 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
6948
6949         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
6950
6951 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6952
6953         * invoke.texi (Warning Options): Add an explanation of why
6954         you might want the -Wfloat-equal flag.
6955
6956 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6957
6958         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
6959         * cppinit.c (new_pending_define): Add cast to avoid warning.
6960         * expmed.c (extract_bit_field): Likewise.
6961         * flow.c (enum reorder_skip_type): New type.
6962         (skip_insns_between_blcok): New it.
6963         Rework to avoid warning about possibly undefined variable.
6964         * function.c (assign_parms): Make thisparm_boundary unsigned.
6965         * genrecog.c (write_switch): Cast XWINT result to int.
6966         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
6967         * mips-tfile.c (init_file): Make two versions of FDR intializer:
6968         one for MIPS and one for Alpha.
6969         (get_tag, copy_object): Add casts to avoid warnings.
6970         * optabs.c (init_one_libfunc): Cast NAME to (char *).
6971         * reload.c (find_reloads): Make TYPE enum reload_type.
6972         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
6973         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
6974         * varasm.c (compare_constant_1): Add cast to avoid warning.
6975         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
6976         to (char *).
6977         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
6978         Cast switch operand of size to int.
6979         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
6980         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
6981         in unhandled case.
6982
6983 2000-02-18  Nick Clifton  <nickc@cygnus.com>
6984
6985         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
6986         anything for an alignment of zero.
6987
6988         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
6989         anything for an alignment of zero.
6990
6991 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
6992
6993         * gcc.texi (Bug Reporting): Refer to bugs.html.
6994         (Bug Lists): Likewise.
6995         * system.h (GCCBUGURL): New preprocessor define.
6996         * rtl.c (fancy_abort): Use it.
6997         * gcc.c (main): Likewise.
6998
6999 2000-02-18  Richard Henderson  <rth@cygnus.com>
7000
7001         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
7002         (life_analysis_1): Subsume into ...
7003         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
7004         Use update_life_info for the relaxation.
7005         (update_life_info): Update REG_BASIC_BLOCK for registers live on
7006         entry and regs_live_at_setjmp.
7007         (set_noop_p): Simplify.
7008         (notice_stack_pointer_modification_1): Renamed from s/_1//.
7009         (record_volatile_insns): Split into ...
7010         (delete_noop_moves): ... here,
7011         (notice_stack_pointer_modification): ... here,
7012         (insn_dead_p): ... and here.
7013         (propagate_block): Don't query INSN_VOLATILE.
7014         (mark_used_regs): Mind !PROP_REG_INFO.
7015         * toplev.c (rest_of_compilation): Call mark_constant_function here,
7016         not in life_analysis.
7017
7018 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
7019
7020         * loop.c (canonicalize_condition): New function,
7021         broken out of get_condition.
7022         (get_condition): Use it.
7023         * expr.h (canonicalize_condition): Prototype it.
7024
7025         * tree.h (tree_int_cst_msb): Declare.
7026         * tree.c (tree_int_cst_msb): New function.
7027
7028 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
7029
7030         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
7031         isn't set.
7032
7033         * invoke.texi (-fmessage-length=n): Document.
7034
7035 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
7036
7037         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
7038
7039 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
7040
7041         * function.c (thread_prologue_and_epilogue_insns): Put a line note
7042         after the prologue.
7043
7044 2000-02-17  Nick Clifton  <nickc@cygnus.com>
7045
7046         * config/arm/thumb.c: Replace includes of system headers with
7047         #include "system.h".
7048
7049 2000-02-16  Richard Henderson  <rth@cygnus.com>
7050
7051         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
7052         Add crtbeginS.o and crtendS.o.
7053         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
7054         (ENDFILE_SPEC): Use crtendS.o.
7055         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
7056
7057         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
7058         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
7059         shared and present.
7060         (__dso_handle): New variable.
7061         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
7062         bias to __CTOR_END__.
7063         
7064 2000-02-16  Richard Henderson  <rth@cygnus.com>
7065
7066         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
7067
7068 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7069
7070         * longlong.h (__clz_tab): Declare as static to match definition.
7071
7072 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
7073         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
7074         (XREF_FILE_NAME): Define.
7075
7076         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
7077         (EH_FRAME_SECTION_ASM_OP): Define.
7078         (IDENT_ASM_OP): Define.
7079         (TEXT_SECTION_ASM_OP): Define.
7080         (CPP_SPEC): Define.
7081         (CTORS_SECTION_ASM_OP): Define.
7082         (CTOR_SECTION_FUNCTION): Use it.
7083         (DTORS_SECTION_ASM_OP): Define.
7084         (DTOR_SECTION_FUNCTION): Use it.
7085
7086 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
7087
7088         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
7089         NOTE_BASIC_BLOCK.
7090
7091         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
7092         debug_bb_n): New functions.
7093         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
7094         * basic-block.h: Prototype new functions.
7095
7096 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
7097
7098         * configure.in: Add support for avr target.
7099         * configure: Rebuilt.
7100
7101         * invoke.texi: Add AVR invocation docs.
7102         * install.texi: Add information about AVR.
7103         * md.texi: Add AVR constraint letters description.
7104         * extend.texi: Add description for AVR specific attributes.
7105
7106 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
7107
7108         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
7109
7110 2000-02-16  Nick Clifton  <nickc@cygnus.com>
7111
7112         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
7113         (make_insn_raw): Move RTL check here.
7114
7115 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7116
7117         * version.c: Include gansidecl.h and version.h.
7118
7119         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
7120         
7121         * configure.in (gcc_version): When setting, narrow search to
7122         lines containing `version_string'.
7123
7124         * Makefile.in (mainversion): Likewise. 
7125         (GCC_H): New variable.
7126         (gcc.h): Delete target.
7127         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
7128         (version.o): Depend on version.h.
7129         (dbxout.o): Don't depend on gcc.h.
7130
7131 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7132                           Michael Meissner  <meissner@cygnus.com>
7133
7134         * md.texi (Simple Constraints): Add item about whitespace.
7135         * genoutput.c (strip_whitespace): New.
7136         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
7137         strip_whitespace for constraints.
7138         Test pointer using NULL, not 0.
7139
7140 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7141
7142         * cpplib.c (do_line): Pedwarn for #line > 32767.
7143
7144         * c-lex.c (readescape): Warn about '\x', but do not reject it.
7145
7146 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
7147
7148         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
7149         to default cpp spec.
7150         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
7151         * cpp.texi: Document __GNUC_PATCHLEVEL__.
7152         * cpp.1: Likewise.
7153
7154         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
7155         default spec.
7156
7157 2000-02-15  Denis Chertykov  <denisc@overta.ru>
7158
7159         * configure.in: Add support for avr target.
7160
7161 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7162
7163         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
7164         (sh_addr_diff_vec_mode): Don't declare.
7165         * sh.c (sh_addr_diff_vec_mode): Delete.
7166
7167 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7168
7169         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
7170
7171 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7172
7173         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
7174         (smulsi3_highpart_i): Name.
7175         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
7176         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
7177         (smulsi3_highpart, umulsi3_highpart): Likewise.
7178
7179         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
7180         correctly independent of endianness.
7181         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
7182         confuse the optimizers.
7183         (mulsidi3+1, umulsidi3+1): New define_split.
7184
7185 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
7186
7187         * config/sh/sh.md: Guard insn splits against illegal registers.
7188         * config/sh/sh.h: Correct comment about macros.
7189
7190 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7191                           Andrew MacLeod  <amacleod@cygnus.com>
7192
7193         * Makefile.in (lcm.o): Depend on insn-attr.h.
7194         * basic-block.h (optimize_mode_switching): Declare.
7195         * lcm.c (tm_p.h, insn-attr.h): #include.
7196         (seginfo, bb_info): New structs.
7197         (antic, transp, comp, delete, insert) : New file-scope static variables.
7198         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
7199         (reg_becomes_live, optimize_mode_switching): Likewise.
7200         * tm.texi: Add description of mode switching macros.
7201         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
7202
7203         * sh-protos.h (remove_dead_before_cse): Remove prototype.
7204         (fldi_ok, fpscr_set_from_mem): New prototypes.
7205         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
7206         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
7207         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
7208         (sh_flag_remove_dead_before_cse): Remove declaration.
7209         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
7210         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
7211         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
7212         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
7213         (barrier_align): Allow for JUMP_INSNS containing a parallel.
7214         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
7215         (fldi_ok): New function.
7216         (get_fpscr_rtx): Add fpscr_rtx as GC root.
7217         (emit_sf_insn): Only generate fpu switches when optimize < 1.
7218         (emit_df_insn): Likewise.
7219         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
7220         (sh_flag_remove_dead_before_cse): Delete.
7221         (get_free_reg, fpscr_set_from_mem): New functions.
7222         * sh.md (movdf, movsf): Remove no_new_pseudos code.
7223         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
7224
7225 2000-02-15  Loren Rittle  <ljrittle@acm.org>
7226
7227         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
7228
7229 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7230
7231         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
7232         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
7233
7234         * cccp.c: Include version.h and/or don't declare `version_string'.
7235         * collect2.c: Likewise.
7236         * alpha.c: Likewise.
7237         * arm/aof.h: Likewise.
7238         * arm/coff.h: Likewise.
7239         * arm/elf.h: Likewise.
7240         * arm/pe.h: Likewise.
7241         * arm/tcoff.h: Likewise.
7242         * arm/telf.h: Likewise.
7243         * arm/tpe.h: Likewise.
7244         * arm/vxarm.h: Likewise.
7245         * convex/convex.c: Likewise.
7246         * i386/dgux.c: Likewise.
7247         * i386/sun386.h: Likewise.
7248         * m88k/m88k.c: Likewise.
7249         * mcore/mcore-pe.h: Likewise.
7250         * mips/mips.h: Likewise.
7251         * romp/romp.h: Likewise.
7252         * sh/sh.c: Likewise.
7253         * cpphash.c: Likewise.
7254         * cppinit.c: Likewise.
7255         * dwarf2out.c: Likewise.
7256         * dwarfout.c: Likewise.
7257         * gcc.c: Likewise.
7258         * gcc.h: Likewise.
7259         * mips-tfile.c: Likewise.
7260         * protoize.c: Likewise.
7261         * toplev.c: Likewise.
7262         * tree.h: Likewise.
7263         
7264         * version.c (version_string): Constify a char*.
7265
7266         * version.h: New file.
7267
7268 2000-02-14  Nick Clifton  <nickc@cygnus.com>
7269
7270         * configure.in: Add mcore-elf and mcore-pe targets.
7271         * configure: Regenerate.
7272
7273         * NEWS: Add note that MCore port has been contributed.
7274
7275         * invoke.texi: Document command line switches for MCore port.
7276         * install.texi: Add MCore to list of supported targets.
7277
7278 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
7279
7280         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
7281         then we will need to import the frame handling functions.
7282         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
7283         to import the frames themselves.
7284
7285 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
7286                           Jason Eckhardt  <jle@cygnus.com>
7287
7288         * basic_block.h: Added prototype for reorder_basic_blocks.
7289         * toplev.c: Changes to add -freorder-blocks and graph dump after
7290         block reordering is done.
7291         * flow.c (reorder_block_def): New structure for use during block
7292         reordering.
7293         (REORDER_BLOCK_*): New macros to access members of above structure.
7294         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
7295         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
7296         functions for block reordering.
7297
7298 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7299
7300         * gcc.texi (Passes): Fix typo.
7301         * md.texi (Standard Names): Ditto.
7302         * tm.texi (Storage Layout): Ditto.
7303
7304 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
7305
7306         * cpplib.c (do_define): Only free the old definition if it
7307         actually had one.
7308
7309 2000-02-13   Neil Booth  <NeilB@earthling.net>
7310
7311         * cppfiles.c (read_and_prescan): When emitting deferred
7312         newlines, test speccase[] again instead of checking each
7313         possible whitespace character in turn.  When we encounter \r,
7314         look behind for \n first, then ahead.
7315
7316 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
7317
7318         * cse.c (cse_altered): New internal flag.
7319         (cse_insn): Set it if we changed an insn.
7320         (cse_main): Clear cse_altered before each basic block.
7321         Only garbage collect if cse_altered is true afterward.
7322
7323 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7324
7325         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
7326
7327 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
7328
7329         * combine.c (simplify_comparison): Fix typo.
7330
7331 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
7332
7333         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
7334         consistently.
7335
7336 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7337
7338         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
7339         previously inserted node instead of root node.  Caller changed.
7340
7341 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7342
7343         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
7344
7345 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7346
7347         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
7348         __dereg_frame_dtor): Add prototype argument.
7349
7350         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
7351
7352         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
7353
7354         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
7355
7356         * gthr-vxworks.h (__gthread_once): Likewise.
7357
7358         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
7359
7360 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
7361
7362         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
7363         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
7364         stack pointer in functions w/o saved registers, output LEAVE more often
7365         on TARGET_USE_LEAVE machines.
7366
7367 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
7368
7369         * config/arm/arm.c (arm_init_cumulative_args); New function:
7370         Initlaise the CUMULATIE_ARGS strcuture for a function
7371         defintion. 
7372         (arm_function_arg): New function: Determine where to place a
7373         function's argument.  Also handles deciding the function's
7374         call cookie.
7375         (current_file_function_operand): New function: Return true if
7376         the symbol is a function which has already been compiled.
7377         (arm_is_long_call_p): New function: Return true if the
7378         indicated function should be called via a long call.
7379         (arm_valid_type_attribute_p): New function: Return true if the
7380         attribute is a valid, arm specific, attribute.
7381         (arm_comp_type_attribute): New function: Return true if the
7382         two types have compatable, arm specific, attributes.
7383
7384         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
7385         structure.
7386         (FUNCTION_ARG): Redefine to call arm_function_arg.
7387         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
7388         structure field.
7389         (INIT_CUMULATIVE_ARGS): Redefine to call
7390         arm_init_cumulative_args.
7391         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
7392         field. 
7393         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
7394         field. 
7395         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
7396         functions.
7397         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
7398         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
7399         (COMP_TYPE_ATTRIBUTES): Define.
7400
7401         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
7402         if a long call is needed.
7403         (call_value): Call arm_is_long_call_p to decide if a long call
7404         is needed.
7405         (call_symbol): Call arm_is_long_call_p to decide if a long call
7406         is needed.
7407
7408         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
7409
7410 2000-02-11  Denis Chertykov  <denisc@overta.ru>
7411
7412         * README.AVR: New file with information about the avr ports.
7413         * config/avr: New directory with avr port files.
7414
7415 2000-02-11  Andreas Jaeger  <aj@suse.de>
7416
7417         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
7418
7419 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
7420
7421         * cpphash.c: Fix formatting, update commentary.
7422         (dump_definition): Take three separate arguments instead of a
7423         MACRODEF structure argument.
7424         * cpphash.h: Update prototype of dump_definition.
7425         * cppinit.c (cpp_finish): Update call of dump_definition.
7426
7427         * cpplib.c (do_define): Always create new hash entry with
7428         T_MACRO type.  Remove redundant check for redefinition of
7429         poisoned identifier.  Update call of dump_definition.
7430         (do_undef): Don't call check_macro_name.  Rename sym_length to
7431         len.
7432         (do_error, do_warning): Don't use copy_rest_of_line or
7433         SKIP_WHITE_SPACE.
7434         (do_warning): Don't use pedwarn for the actual warning,
7435         only the notice about its not being in the standard.  (Fixes
7436         bug with #warning in system headers.)
7437         (do_ident): Stricter argument checking - accept only a single
7438         string after #ident.  Also, macro-expand the line.
7439         (do_xifdef): Use cpp_defined.  De-obfuscate.
7440
7441         (do_pragma): Split out specific pragma handling to separate
7442         functions.  Use get_directive_token.  Update commentary.  Do
7443         not pass on #pragma once or #pragma poison to the front end.
7444         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
7445         do_pragma_default): New.
7446
7447 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
7448
7449         * jump.c (jump_optimize_1): The first operand in a relational
7450         can be a CONST_INT.
7451         * optabs.c (emit_conditional_move): Handle relationals which
7452         have a known true/false result.
7453
7454 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
7455
7456         * function.c (thread_prologue_and_epilogue_insns): Don't insert
7457         a RETURN insn into a block which already ends with a jump.
7458
7459 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
7460
7461         * haifa-sched.c (BUF_LEN): Increase a lot.
7462
7463 2000-02-11  Nick Clifton  <nickc@cygnus.com>
7464
7465         * configure.in: Add tm_p_file specification for thumb targets.
7466         * configure: Regenerate.
7467
7468         * config/arm/thumb-protos.h: New file: Prototypes for exported
7469         functions defined in thumb.c.
7470
7471 2000-02-11  Robert Lipe  <robertl@sco.com>
7472
7473         * Makefile.in (bootstrap-lean): Remove additional files.
7474         (bootstrap2-lean): Likewise.
7475         (VOL_FILES): List of files for above.
7476
7477 2000-02-11  Nathan Sidwell  <nathan@acm.org>
7478
7479         * cpphash.c (special_symbol): Remove spurious argument to
7480         cpp_lookup.
7481
7482 2000-02-11  Joel Sherrill (joel@OARcorp.com>
7483
7484         * configure.in: (i*86-*-rtems*): Swapped elf and coff
7485         stanzas.
7486         * configure: Rebuilt.
7487
7488 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
7489         
7490         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
7491
7492 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
7493
7494         * pa.c, pa.h: Remove trigraph sequences within comments.
7495
7496 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
7497
7498         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
7499
7500 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
7501
7502         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
7503
7504 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7505         
7506         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
7507
7508 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7509
7510         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
7511         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
7512         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
7513         (ASM_FILE_END): Use c4x_file_end.
7514         * config/c4x/c4x.c (c4x_global_label): New function.
7515         (c4x_external_ref, c4x_file_end): Likewise.
7516
7517         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
7518         (c4x_external_ref, c4x_end_file): Likewise.
7519
7520 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
7521
7522         * cppexp.c: Don't include cpphash.h.
7523         (parse_charconst, cpp_lex): Use cpp_defined.
7524         (cpp_lex): Use get_directive_token throughout.  Remove
7525         unnecessary cases from switch.  Move assertion-handling code
7526         down to OTHER case.
7527         (cpp_parse_expr): If we see '+' or '-', check the context to
7528         determine if they are unary or binary operators.  Streamline
7529         the jumps a bit.  Do not call skip_rest_of_line.
7530
7531         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
7532         static.  Export get_directive_token.  Update commentary.
7533         (cpp_defined): New function.
7534         (do_define): Remove reference to T_PCSTRING.  Call
7535         free_definition to release memory for old definition, when
7536         redefining a macro.
7537         (eval_if_expression): Set only_seen_white to 0 before calling
7538         cpp_parse_expr.  Call skip_rest_of_line after it returns.
7539         (cpp_read_check_assertion): Don't preserve a pointer into the
7540         token buffer across a call to cpp_get_token.
7541
7542         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
7543         * cppfiles.c (redundant_include_p): Use cpp_defined.
7544         * cpphash.c (free_definition): New function.
7545         (delete_macro): Use it.  Update commentary.
7546         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
7547         free_definition.
7548         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
7549         from enum node_type.  Prototype cpp_defined and get_directive_token.
7550         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
7551
7552         * fix-header.c (check_macro_names): Use cpp_defined.
7553         (read_scan_file): Set inhibit_warnings and inhibit_errors in
7554         the options structure.
7555
7556 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7557
7558         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
7559
7560 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
7561
7562         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
7563         rather than die->die_tag.
7564
7565 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7566
7567         * combine.c (make_extraction, force_to_mode): Avoid warning on
7568         mixed-signedness conditionals.
7569         (make_field_assignment, nonzero_bits): Likewise.
7570         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
7571         (store_split_bit_field, extract_split_bit_field): Likewise.
7572         (extract_fixed_bit_field, store_bit_field, 
7573         * expr.c: Change alignment to be unsigned everywhere.
7574         (move_by_pieces, store_constructor_field, store_constructor): 
7575         Alignment parm is unsigned.
7576         (emit_block_move, emit_group_load, emit_group_store): Likewise.
7577         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
7578         (do_compare_rtx_and_jump): Likewise.
7579         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
7580         Compare align with GET_MODE_ALIGNMENT.
7581         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
7582         (get_inner_reference): Likewise.
7583         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
7584         (expand_assignment): Local vars for alignment now unsigned.
7585         (store_constructor, store_field, expand_expr, do_jump): Likewise.
7586         (do_compare_and_jump): Likewise.
7587         (store_field): Call new function expr_align.
7588         * expr.h (emit_block_move, emit_group_load, emit_group_store):
7589         Alignment arg now unsigned.
7590         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
7591         (do_compare_rtx_and_jump, store_bit_field): Likewise.
7592         (extract_bit_field): Likewise.
7593         * fold-const.c (add_double): Add cast to eliminate signedness warning.
7594         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
7595         (get_best_mode): Alignment arg is unsigned.
7596         * rtl.h (move_by_pieces): Likewise.
7597         * store-layout.c (maximum_field_alignment, set_alignment):
7598         Now unsigned.
7599         (layout_decl): Alignment arg is now unsigned.
7600         Remove unneeded casts.
7601         (layout_record, layout_union, layout_type): Remove unneeded casts.
7602         Local alignment variables now unsigned.
7603         (get_best_mode): Alignment arg now unsigned.
7604         * tree.c (expr_align): New function.
7605         * tree.h (expr_align): Likewise.
7606         (maximum_field_alignment, set_alignment): Now unsigned.
7607         (get_inner_reference): Alignment argument is now pointer to unsigned.
7608         * varasm.c (assemble_variable): Add cast to eliminate warning.
7609
7610 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
7611
7612         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
7613         then store directly into op0.
7614
7615         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
7616         the CALL_INSN, and emit the note immediately after it.
7617
7618 2000-02-10  Nick Clifton  <nickc@cygnus.com>
7619
7620         * config/arm/thumb.md (epilogue): Include a (return) in the
7621         generated insn, and emit it using emit_jump_insn not
7622         emit_insn. 
7623
7624 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
7625
7626         * function.c (assign_temp): Change zero-sized arrays to size 1.
7627         * integrate.c (expand_inline_function): Do not update
7628         stack_alignment_needed
7629         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
7630         add some sanity checking, remove optimization for function with
7631         zero frame size.
7632
7633 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7634
7635         * flow.c (mark_regs_live_at_end): Delete unused variables.
7636
7637         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
7638
7639         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
7640         in macro FRAME_GROWS_DOWNWARD.
7641
7642         * stmt.c (expand_end_bindings): Delete unused variable.
7643
7644         * unroll.c (iteration_info): Mark parameter `loop' with
7645         ATTRIBUTE_UNUSED.
7646
7647 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7648
7649         * fixinc/server.c (load_data): Return NULL if the marker line is
7650         not found.
7651         (run_shell): If load_data returns NULL, retry the command once, in
7652         a new shell.
7653
7654         * configure: Rebuilt.
7655
7656 2000-02-09  Bruce Korb  <bkorb@gnu.org>
7657
7658         * gcc/fixincludes:  ** DELETED **
7659         * gcc/fixcpp:  ** DELETED **
7660         * gcc/fixinc-nt.sed:  ** DELETED **
7661         * gcc/just-fixinc:  ** DELETED **
7662         * gcc/Makefile.in:  Removed out-dated commentary
7663         * gcc/configure.in: Removed fast-fixincludes disablement.
7664         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
7665
7666 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7667         * function.c (thread_prologue_and_epilogue_insns): Uncomment
7668         last change.
7669
7670 2000-02-09  Richard Henderson  <rth@cygnus.com>
7671
7672         * jump.c (delete_insn): Don't delete user labels at -O0.
7673
7674 2000-02-09  Robert Lipe  <robertl@sco.com>
7675
7676         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
7677         Don't link with HOST_LIBS. 
7678
7679 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7680
7681         * configure.in: Correct --help text for --with-dwarf2.
7682         Put tm-dwarf2.h after other tm files, if it's requested.
7683         * configure: Regenerate.
7684         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
7685         defining it.
7686
7687 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7688
7689         * cpplib.h: Provide HASHNODE typedef and forward decl of
7690         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
7691         DEFINITION, struct hashnode, struct macrodef, struct
7692         definition, scan_decls prototype, default defn of
7693         INCLUDE_LEN_FUDGE moved elsewhere.
7694
7695         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
7696         definition, and struct hashnode moved here. Remove the unused
7697         'predefined' field from struct definition.  Replace the 'args'
7698         union with its sole member.  All users updated (cpphash.c).
7699         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
7700         multiple include guard.
7701
7702         * cpphash.c (hashf): Make static; use better algorithm; drop
7703         HASHSIZE parameter; return an unsigned int.
7704         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
7705         used. Calculate HASHSIZE modulus here.
7706         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
7707         here.
7708         (create_definition): Drop PREDEFINITION parameter.
7709         * cpplib.c (do_define): Don't calculate a hash value here.
7710         Don't pass (keyword == NULL) to create_definition.
7711
7712         * scan.h: Prototype scan_decls here.
7713         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
7714         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
7715         callers of cpp_lookup and cpp_install updated.
7716         
7717         * cpphash.c (macarg): Hoist all the flag diddling out of the
7718         function...
7719         (macroexpand): ... and out of the loop that calls macarg.
7720         Skip over the initial paren before macro arguments with
7721         cpp_get_non_space_token; point may be some distance before
7722         that paren.  Abort if it's not there.
7723
7724         * cpplib.c (parse_clear_mark): Delete function.
7725         (parse_set_mark, parse_goto_mark): Make static.
7726         (ACTIVE_MARK_P): New macro.
7727         (skip_block_comment, skip_line_comment): Do not bump the line
7728         if ACTIVE_MARK_P is true.
7729         (cpp_pop_buffer): The buffer to be popped may not have an
7730         active mark.
7731         (cpp_get_token): When looking for the initial paren before
7732         macro arguments, only set a mark in a file buffer, Always
7733         return to that mark before proceeding to call macroexpand or
7734         return a NAME token.
7735
7736         * cpplib.h: Remove prototypes of parse_set_mark,
7737         parse_clear_mark, parse_goto_mark.
7738         (struct cpp_options): Rename 'put_out_comments' to
7739         'discard_comments' and invert its sense.
7740         * cppinit.c, cpphash.c, cpplib.c: All users of
7741         put_out_comments changed to use discard_comments, with
7742         opposite sense.
7743
7744 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7745
7746         * function.c (thread_prologue_and_epilogue_insns): Don't delete
7747         the edge from a block that both jumps and falls through to the
7748         fallthru block.
7749
7750 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
7751
7752         * config/arm/arm.md (movsi): In PIC mode, make sure that a
7753         constant source address is legitimate.
7754
7755 2000-02-09  Philip Blundell  <pb@futuretv.com>
7756
7757         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
7758         correctly.
7759
7760         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
7761         generating PIC.
7762         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
7763
7764 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7765
7766         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
7767         ends with a newline and a NUL.  Don't be so clever manipulating
7768         strings.
7769
7770 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
7771
7772         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
7773         not to BIGGEST_ALIGNMENT.
7774
7775 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
7776
7777         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
7778         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
7779         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
7780         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
7781         * frame.c (execute_cfa_insn): Handle 
7782         DW_CFA_GNU_negative_offset_extended.
7783
7784 2000-02-08  Richard Henderson  <rth@cygnus.com>
7785
7786         * flow.c (tidy_fallthru_edges): Split out from ...
7787         (delete_unreachable_blocks): ... here.
7788         (find_basic_blocks): Use it.
7789
7790 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7791
7792         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
7793
7794 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
7795
7796         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
7797         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
7798         (fix-header.o): Don't depend on cpphash.h.
7799
7800         * scan.c (hashstr): New function. 
7801         * scan.h: Prototype it.
7802         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
7803         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
7804         hashstr.  Report hash table statistics.  Add private     
7805         definition of xrealloc.
7806
7807 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7808
7809         * i386.h (TARGET_SWITCHES): Fix typo in option name.
7810
7811 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
7812
7813         * function.c (thread_prologue_and_epilogue_insns): Don't replace
7814         jumps with returns unless they are jumps to the fallthru block.
7815
7816 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
7817
7818         * i386.md (addqi3_cc): Fix contraints.
7819
7820 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7821
7822         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
7823
7824 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
7825
7826         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
7827         carriage return after a macro name.
7828
7829 2000-02-07  Fred Fish  <fnf@be.com>
7830
7831         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
7832         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
7833
7834 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
7835
7836         * cppfiles.c (deps_output): Count spacers in deps_column.
7837
7838 2000-02-07  Neil Booth  <NeilB@earthling.net>
7839
7840         * cppinit.c (initialize_dependency_output): If there is no
7841         suffix, don't try to look for known suffixes.  Use strrchr.
7842         (cpp_start_read): Remove duplicate initialization.
7843
7844 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
7845
7846         * calls.c (compute_argument_block_size): New argument
7847         preferred_stack_boundary.
7848         (expand_call): update cfun->preferred_stack_boundary, update call of
7849         compute_argument_block_size
7850         (emit_library_call): Increate cfun->preferred_stack_boundary
7851         to PREFERRED_STACK_BOUNDARY
7852         (emit_library_call_value): Likewise.
7853         * explow.c (allocate_dynamic_stack_spave): Likewise.
7854         * function.c (prepare_function_start): Set
7855         cfun->preferred_stack_boundary
7856         * function.h (struct function): Add preferred_stack_boundary field.
7857         * integrate.c (expand_inline_function): Update
7858         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
7859         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
7860         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
7861
7862 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
7863
7864         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
7865         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
7866         cpp_pedwarn, cpp_pedwarn_with_line,
7867         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
7868         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
7869         v_cpp_error_with_line, v_cpp_warning_with_line,
7870         cpp_message_from_errno, cpp_perror_with_name): Delete.
7871
7872         * cpperror.c (cpp_print_containing_files): Take starting
7873         buffer as argument.
7874         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
7875         (v_cpp_message): Now called directly by all entry points.
7876         Remove -1 case.
7877         (cpp_pfatal_with_name, cpp_message): Delete.
7878         (cpp_notice_from_errno, cpp_ice): New functions.
7879         (cpp_notice): Is now for reporting error conditions, just
7880         without an associated file.
7881         (cpp_error, cpp_error_with_line): Don't do anything if
7882         opts->inhibit_errors is on.
7883         (cpp_pedwarn_with_file_and_line): Take column argument also.
7884
7885         * cpplib.h: Update prototypes of exported functions.
7886         (struct cpp_options): Add inhibit_errors.
7887
7888         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
7889         non-error messages.  Include intl.h.
7890
7891         * cppinit.c, cppmain.c: Likewise.  Also, use
7892         cpp_notice_from_errno instead of cpp_perror_with_name or
7893         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
7894
7895         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
7896         report internal errors.
7897
7898         * cpplib.c (do_define): Switch bcopy to memcpy.
7899         Give cpp_pedwarn_with_file_and_line a dummy column argument.
7900
7901         * cpplib.c (copy_rest_of_line): Revert previous change: don't
7902         bail out early if we hit a line comment.
7903
7904 2000-02-06  Richard Henderson  <rth@cygnus.com>
7905
7906         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
7907         * basic-block.h: Declare them.
7908         * emit-rtl.h (active_insn_p): New.
7909         (next_active_insn, prev_active_insn): Use it.
7910         * rtl.h: Declare it.
7911         * function.c (emit_return_into_block): New.
7912         (thread_prologue_and_epilogue_insns): Insert return insns instead
7913         of epilogues when possible.
7914         * jump.c (jump_optimize_1): Remove code to insert a return insn
7915         on the fallthru to the exit block.
7916
7917         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
7918         and for non-empty stack frames.
7919         * i386.md (return): Expand to return-pop as needed.
7920
7921 2000-02-06  Richard Henderson  <rth@cygnus.com>
7922
7923         * simplify-rtx.c (simplify_relational_operation): Canonicalize
7924         constant to op1 for testing.
7925
7926 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7927
7928         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
7929         (fixuns_truncqfqi2): Use it.
7930
7931 2000-02-06  Richard Henderson  <rth@cygnus.com>
7932
7933         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
7934         as a TYPE_LEA insn.
7935
7936         * i386.md (widening and peepholes): Mask the constant instead of
7937         using gen_lowpart.
7938
7939 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7940
7941         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
7942         input pointer before possibly branching off to the backslash
7943         code.
7944         * cpphash.c (macroexpand): Correctly delete \r escapes when
7945         stringifying parameters.
7946         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
7947         if we can; bail out early if we hit a line comment.
7948         (handle_directive): Treat '# 123' in an .S file just like
7949         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
7950         Return 1 for '# not_a_directive'.
7951         (get_directive_token): Pop macro buffers here, so that
7952         cpp_get_token can't sneakily move past a newline.
7953         Add sanity checks. 
7954         (cpp_get_token): goto randomchar if handle_directive returns 0.
7955
7956         * cppalloc.c: Update copyright.
7957         * cpplib.c: Merge all the static function prototypes into one
7958         block.
7959         * cpplib.h: Remove #if 0 block.
7960
7961         * cpperror.c: Remove #ifdef EMACS block.
7962         * cppmain.c: Likewise.
7963         * cpphash.c: Remove #if 0 blocks.
7964         * cppinit.c: Remove #if 0 blocks, and the -lint option.
7965         * cpplib.c: Remove #if 0 blocks and code referencing
7966         pcp_inside_if or for_lint.  Remove duplicate error message.
7967         Fix error messages for #else after #else or #elif.  Reformat.
7968         Remove archaic TODO list.
7969         * cpplib.h: Remove pcp_inside_if and for_lint flags.
7970
7971 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7972
7973         * i386/osf1elf.h: Add missing backslash to multiline string.
7974
7975 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7976
7977         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
7978
7979 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7980
7981         * Makefile.in (c-common.o): Depend on $(EXPR_H).
7982
7983         * c-common.c: Include expr.h.
7984
7985         * c-pragma.c (mark_align_stack): Add prototype.
7986
7987         * caller-save.c (add_stored_regs): Likewise.
7988
7989         * combine.c (record_promoted_value): Likewise.
7990
7991         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
7992         Likewise.
7993
7994         * cppinit.c (new_pending_define): Likewise.
7995
7996         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
7997
7998         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
7999         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
8000         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
8001         class_scope_p): Likewise.
8002
8003         * dwarf2out.h (dwarf2out_set_demangle_name_func,
8004         dwarf2out_add_library_unit_info): Likewise.
8005
8006         * ggc.h (ggc_page_print_statistics): Likewise.
8007
8008         * haifa-sched.c (propagate_deps): Likewise.
8009
8010         * reg-stack.c (next_flags_user, record_label_references): Likewise.
8011
8012         * rtl.h (set_stack_check_libfunc): Likewise.
8013
8014         * toplev.h (set_fatal_function): Likewise.
8015
8016         * toplev.c (set_fatal_function): Delete prototype.
8017         
8018         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
8019         
8020 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
8021
8022         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
8023         (FUNC_END): Likewise.
8024
8025 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8026
8027         * caller-save.c: Include tm_p.h.
8028
8029 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8030
8031         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
8032
8033 2000-02-04  Neil Booth  <NeilB@earthling.net>
8034
8035         * cccp.c (main): Check 'dir' for a NULL pointer before passing
8036         it to strcmp.
8037
8038 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
8039
8040         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
8041         * genflags.c: Use the max_operand_1 logic from genemit.c to
8042         calculate how many arguments gen_insn prototypes have.  Remove
8043         NO_MD_PROTOTYPES ifdefs from the generated file.
8044         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
8045         file.  Cast gen_insn initializers to insn_gen_fn.
8046         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
8047         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
8048
8049 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8050
8051         * fixinc/Makefile.in (HDR): Add machname.h.
8052         (clean): Likewise.
8053
8054 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8055
8056         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
8057         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
8058         (c4x_cpu_version): Ditto.
8059         * config/c4x/c4x-protos.h: ... here.
8060
8061 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
8062
8063         * dwarf2out.c (add_abstract_origin_attribute): Don't call
8064         gen_abstract_function on our context if we're a nested function.
8065
8066 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8067
8068         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
8069         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
8070
8071 2000-02-04  Bruce Korb  <bkorb@gnu.org>
8072
8073         * fixinc/genfixes(machname.h):
8074         Move the functionality from gen-machine.h into this file.
8075         UNdef MN_NAME_PAT if there are no names to change.
8076         Also, be a little kinder when AutoGen is not present.
8077
8078         * fixinc/Makefile.in(machname.h):
8079         Change the generation rule to use genfixes.
8080
8081         * fixinc/fixfixes.c(machine_name):
8082         machine_name_fix's functionality now dependent upon whether
8083         MN_NAME_PAT is defined.
8084
8085         * fixinc/fixtests.c(machine_name):
8086         ditto.
8087
8088         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
8089         of MN_NAME_PAT.
8090
8091         * fixinc/fixlib.h(mn_get_regexps):
8092         ditto
8093
8094         * fixinc/gen-machine.h: DELETED
8095
8096 2000-02-04  Jan Hubicka  <jh@suse.cz>
8097             Richard Henderson  <rth@cygnus.com>
8098
8099         * i386.c (SAVE_REGS_FIRST): Remove.
8100         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
8101         (ix86_compute_frame_size): Likewise.
8102         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
8103         (ix86_emit_restore_regs): Remove.
8104         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
8105         when a frame pointer is in use.
8106         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
8107         instead of pop to restore a register when profitable; emit leave
8108         when profitable.
8109         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
8110         as a TYPE_LEA insn.
8111         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
8112         * i386.md (prologue_allocate_stack): Remove.
8113         (epilogue_deallocate_stack): Remove.
8114         (pro_epilogue_adjust_stack): New.
8115
8116 2000-02-04  Richard Henderson  <rth@cygnus.com>
8117
8118         * function.c (diddle_return_value): Rework to use a callback function.
8119         Use current_function_return_rtx if it's been set up.
8120         (do_clobber_return_reg, clobber_return_register): New.
8121         (do_use_return_reg, use_return_register): New.
8122         (expand_function_end): Use them.
8123         * stmt.c (expand_null_return): Likewise.
8124         * function.h: Declare them.
8125         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
8126         (mark_reg): Change arguments as appropriate for callback.
8127         * integrate.c (expand_inline_function): Revert 19 Jan change.
8128
8129 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8130
8131         * tm.texi (Values in Registers): Fix typo: "fo" "for".
8132         (Misc): Say the scheduler, not the Haifa scheduler.
8133
8134 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
8135
8136         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
8137         when in_mem is set.  Update all callers.
8138
8139 2000-02-04  Richard Henderson  <rth@cygnus.com>
8140
8141         * i386/openbsd.h (INT_ASM_OP): Define.
8142
8143 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8144
8145         * tm.texi: Fix various typos.
8146
8147 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
8148
8149         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
8150         (MD_STARTFILE_PREFIX_1): New macro.
8151
8152 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
8153
8154         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
8155         destination when needed.
8156         (strmovsi, strsetsi): New expander.
8157         (strmovsi_1, strsetsi_1): New pattern.
8158         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
8159         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
8160         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
8161         * invoke.texi (align-stringops, inline-all-stringops): Document.
8162
8163 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
8164
8165         * i386/netbsd.h (INT_ASM_OP): Define.
8166
8167 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
8168
8169         * cpplib.h (cpp_reader): Add new flag, no_directives.
8170         * cpphash.c (macarg): Set it.
8171         * cpplib.c (handle_directive): If no_directives is on and we
8172         find a directive, issue an error and discard the line.
8173
8174 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
8175
8176         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
8177         FP constants.  Add ! TARGET_FPU check for FP constants.
8178
8179 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
8180         
8181         * flow.c (find_basic_blocks): Don't kill label_value_list
8182         here.
8183         (cleanup_cfg): Kill it here.
8184
8185 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8186
8187         * expr.c (store_field): Ensure ALIGN is no stricter than the
8188         alignment of EXP.
8189
8190 2000-02-02  Richard Henderson  <rth@cygnus.com>
8191
8192         * jump.c (delete_insn): Partially revert 19 Jan change; 
8193         don't convert unused code labels to notes at -O0.
8194
8195 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8196
8197         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
8198         split_all_insns to recreate REG_LABEL notes for flow2 pass.
8199
8200 2000-02-01  Richard Henderson  <rth@cygnus.com>
8201
8202         * i386.c (general_no_elim_operand): New.
8203         (nonmemory_no_elim_operand): New.
8204         (ix86_expand_move): Copy eliminable operands before a push.
8205         * i386-protos.h: Declare new functions.
8206         * i386.h (CAN_ELIMINATE): Simplify.
8207         (PREDICATE_CODES): Update.
8208         * i386.md (push insns): Don't allow eliminable register operands.
8209
8210 2000-02-01  Richard Henderson  <rth@cygnus.com>
8211
8212         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
8213         replace BLKmode with DECL_RTL's mode.
8214
8215 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
8216
8217         * frame.c (find_fde): Convert for loop to do-while so compiler
8218         sees it's always executed at least once.
8219         * libgcc2.c (BBINBUFSIZE): Kill.
8220         (__bb_init_prg): Use fgets.
8221         (__bb_exit_trace_func): Don't paste strings.
8222         * unroll.c (unroll_loop): Initialize unroll_type, not
8223         unroll_number, and tweak logic to match.
8224
8225         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
8226         all failure paths.
8227         (ix86_flags_dependant): Likewise.  Disentangle control flow.
8228         (ix86_sched_reorder): Break guts out to
8229         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
8230         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
8231         any possible use.
8232
8233         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
8234         use string concatenation.  Don't save and restore esi.
8235
8236         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
8237         (machname.h): Remove script to separate file.  Use two-step
8238         sequence so target is not created if script fails.
8239         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
8240         identifiers are defined.
8241         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
8242         an empty string, machine_name doesn't need to do anything at
8243         all.
8244         (is_cxx_header): Add more cases to regexp.
8245         * fixinc/fixlib.h: Update prototype.
8246         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
8247         mn_get_regexps.
8248         * fixinc/fixincl.c: Define NO_BOGOSITY.
8249
8250         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
8251         (hp_sysfile): Add missing comma.
8252         (math_exception): Put the wrapper ifdefs at the beginning and
8253         the end of the file.
8254         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
8255
8256 2000-02-01  Richard Henderson  <rth@cygnus.com>
8257
8258         * sparc.c (fp_zero_operand): Turn into a normal predicate.
8259         Use CONST0_RTX.  Update all callers.
8260         * sparc.h, sparc-protos.h: Update accordingly.
8261         * sparc.md (fp mov insns): Use fp_zero_operand directly
8262         where applicable.
8263
8264 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8265
8266         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
8267         example.
8268
8269 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8270
8271         * Makefile.in (specs.ready): New target.
8272         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
8273
8274 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8275
8276         * fixinc.irix: Use unique filenames for writing into /tmp,
8277         * fixinc.ptx: Likewise.
8278         * fixinc.sco: Likewise.
8279         * fixinc.svr4: Likewise.
8280         * fixinc.winnt: Likewise.
8281
8282 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8283
8284         * tsystem.h: New file.
8285
8286         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
8287         s-crtS): Depend on tsystem.h.
8288
8289         * crtstuff.c: Include tsystem.h.
8290         * frame.c: Likewise.
8291         * libgcc2.c: Likewise.
8292
8293 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
8294
8295         * builtins.c (expand_builtin_memset): Expand for variable sized
8296         lengths too.
8297
8298 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
8299
8300         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
8301         on ABI.
8302
8303 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8304
8305         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
8306
8307         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
8308
8309 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
8310
8311         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
8312         case 3->2 combining (combining with splitting) in which 2 is CC0
8313         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
8314         checked at the begining of the function with the aid of calling 
8315         function 'can_combine_p'. 
8316
8317 2000-01-31  Dave Brolley  <brolley@redhat.com>
8318
8319         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
8320
8321 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
8322
8323         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
8324         new label.
8325
8326 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8327
8328         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
8329         
8330         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
8331         PROTO -> PARAMS.
8332
8333 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
8334
8335         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
8336         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
8337         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
8338         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
8339         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
8340         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
8341         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
8342         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
8343         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
8344         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
8345         
8346         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
8347         Add %(cpp_cpu) to CPP_SPEC.
8348
8349         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
8350         Add %(cc1_cpu) to CC1_SPEC.
8351
8352 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
8353
8354         * c-decl.c (c_decode_option): Accept optional numeric argument to
8355         -Wformat and set warn_format.
8356         * c-common.c: Don't emit warning about non-constant printf format
8357         string unless warn_format > 1.
8358
8359 2000-01-30  Richard Henderson  <rth@cygnus.com>
8360
8361         * alpha.md (return_internal): Allow after reload only.
8362
8363 2000-01-30  Richard Henderson  <rth@cygnus.com>
8364
8365         * i386.c (ix86_compute_frame_size): Omit padding1 if the
8366         local frame size is zero.
8367
8368 2000-01-30  Richard Henderson  <rth@cygnus.com>
8369
8370         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
8371         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
8372         * alpha.md (return): Turn into an expander.
8373         (return_internal): Don't use $26.
8374         (epilogue): Emit the return insn.
8375
8376 2000-01-30  Richard Henderson  <rth@cygnus.com>
8377
8378         * alpha.md (negtf2, abstf2): Fix word order thinko.
8379         (extendsftf2): New.
8380         (trunctfsf2): Avoid intermediate rounding errors.
8381
8382 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
8383
8384         * cppfiles.c (find_position): Drop 'colp' argument, return the
8385         new line base.
8386         (read_and_prescan): Adjust to match.  Don't ever manipulate
8387         line or line_base except via find_position.
8388
8389 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
8390
8391         * c-parse.in: Apply Ulrich's changes from c-parse.y.
8392         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
8393         Regenerate.
8394
8395 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
8396
8397         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
8398         just print "<command line>".  If 'filename' is null or an
8399         empty string, print "<stdin>" for the filename.
8400         * cpplib.c (do_define): Don't print the 'location of the
8401         previous definition' message if we're still parsing the
8402         command line.
8403         (cpp_pedwarn_with_file_and_line): Always call
8404         cpp_file_line_for_message.
8405
8406 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
8407
8408         * flow.c (mark_regs_live_at_end): Fix typo.
8409
8410 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
8411
8412         * c-common.c: Adjust variable names, comments, help strings to c99.
8413         * c-lex.c: Likewise.
8414         * c-parse.y: Likewise.
8415         * c-tree.h: Likewise.
8416         * cccp.c: Likewise.
8417         * cpplib.h: Likewise.
8418         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
8419         * cppinit.c: Likewise.
8420
8421 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8422
8423         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
8424         * c4x.c: Define the optab rtx values.
8425         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
8426         (c4x_emit_libcall): Use new optab rtx values.
8427         (c4x_emit_libcall3): Likewise.
8428         (c4x_emit_libcall_mulhi): Likewise.
8429         * c4x-protos.h: Add prototypes for optab rtx values and change
8430         prototypes for above c4x_emit_libcall functions.
8431
8432 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8433
8434         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
8435         syntax is used.
8436         (c4x_function_prologue): Use regnames intead of float_reg_names when
8437         TI syntax is used.
8438         (c4x_function_epilogue): Likewise.
8439         (c4x_print_operand): Likewise.
8440         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
8441         * c4x.md (set_high): Disable for TARGET_TI.
8442
8443 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8444
8445         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
8446         of framepointer + constant to ADDR_REGS class.
8447         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
8448         * c4x.c (std_or_reg_operand): New function.
8449         * c4x-protos.h (std_or_reg_operand): Prototype it.
8450
8451 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8452
8453         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
8454                 object names as libgcc2.c.
8455         * libgcc.S: Use newly defined names.
8456
8457 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
8458         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
8459         function.
8460         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
8461         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
8462         (FLOW_LOOP_LAST_BLOCK): Likewise.
8463
8464 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8465
8466         * basic-block.h (struct loop): New fields 'first' and 'last'.
8467         * flow.c (flow_loops_find): Compute loop->first and loop->last.
8468         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
8469         and loop->last to check for NOTE_INSN_LOOP_END.
8470
8471 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
8472
8473         * predict.c (estimate_probability): Use the new FIRST and LAST fields
8474         of the loop descriptor rather than HEADER and LATCH. Also added
8475         missing break statements as well making some coding style modifications
8476         as suggested by Michael Hayes.
8477
8478 2000-01-28  Richard Henderson  <rth@cygnus.com>
8479
8480         * flow.c (find_basic_blocks): Remove do_cleanup argument.
8481         Break out that code ...
8482         (cleanup_cfg): ... here.
8483         (commit_one_edge_insertion): Detect a return instruction being
8484         emitted to an edge.  Emit a barrier following; clear fallthru.
8485         (commit_edge_insertions): Verify CFG consistency.
8486         * function.c (expand_function_start): Kill unused variable.
8487         (expand_function_end): Likewise.
8488         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
8489         to insert the epilogue.
8490
8491         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
8492         (delete_null_pointer_checks): Likewise.
8493         * output.h: Likewise.
8494         * reg-stack.c (reg_to_stack): Likewise.
8495         * toplev.c (rest_of_compilation): Likewise.  Run
8496         thread_prologue_and_epilogue_insns after rebuilding the CFG.
8497
8498 2000-01-28  Richard Henderson  <rth@cygnus.com>
8499
8500         * Makefile.in (flow.o): Revert 24 Jan change.
8501         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
8502         FUNCTION_VALUE result to DECL_RESULT's mode.
8503
8504         * haifa-sched.c (schedule_insns): Don't recompute reg info
8505         after reload.
8506
8507 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
8508
8509         * configure.in: Make --enable-cpplib the default.
8510         * configure: Regenerate.
8511         * gcc.dg/990119-1.c: No longer expected to fail.
8512
8513 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
8514
8515         * jump.c (jump_optimize_1): Delete an optimization that is also done
8516         by merge_blocks in flow.
8517
8518 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8519
8520         * diagnostic.c (build_message_string, output_printf,
8521         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
8522         (build_location_prefix): Fix non-literal format string.
8523
8524 2000-01-27  Richard Henderson  <rth@cygnus.com>
8525
8526         * alpha.md (trunctfsf2): New.
8527
8528 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
8529
8530         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
8531
8532 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
8533
8534         * cppinit.c (cpp_handle_option): Recognize C++ comments under
8535         -std=gnu89.
8536         * cpplib.c (skip_block_comment, skip_line_comment): Split code
8537         out of...
8538         (skip_comment) ... here.  Permit C++ comments in system
8539         headers always.  Warn about C++ comments in user code under
8540         -std=gnu89 -pedantic.
8541         (copy_comment): Use skip_comment.
8542         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
8543         return EOF.
8544         (consider_directive_while_skipping, do_else, do_endif): Call
8545         validate_else unconditionally.
8546         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
8547         text after the conditional in a system header.
8548         * cpplib.h (struct cpp_buffer): Add flag
8549         warned_cplusplus_comments.
8550
8551 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
8552
8553         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
8554         Use unshare_all_rtl_1.
8555         (unshare_all_rtl_again): New function.
8556         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
8557
8558         * function.c (purge_addressof_1): Use unshare_all_rtl_again
8559         rather than resetting the 'used' flags ourself.
8560
8561         * toplev.c (rest_of_compilation): Add current_function_decl
8562         to the unshare_all_rtl call.
8563         * tree.h: Prototype unshare_all_rtl.
8564         * rtl.h: Prototype unshare_all_rtl_again here.
8565
8566 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
8567
8568         * genoutput.c (output_prologue): Include ggc.h in generated
8569         files.
8570         * Makefile.in (insn-output.o): Depends on ggc.h.
8571
8572 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
8573             Hans-Peter Nilsson  <hp@bitrange.com>
8574
8575         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
8576         Remove redundant include of xm-ns32k.h.
8577         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
8578         Remove redundant include of xm-ns32k.h.
8579         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
8580         Remove redundant include of xm-ns32k.h.
8581         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
8582
8583         * ns32k/ns32k.h: Update comment on multiply-add instructions.
8584         (TARGET_SWITCHES): Add documentation strings.
8585         (DWARF_FRAME_REGNUM): Override default definition.
8586         (REG_CLASS_CONTENTS): Add comments.
8587         (SUBSET_P): Format to reduce line length.
8588         (SMALL_REGISTER_CLASSES): Make a run time option.
8589         (GO_IF_NONINDEXED_ADDRESS): Reformat.
8590         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
8591         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
8592         (regclass_map): fix typo in comment.
8593         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
8594         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
8595         (trace, reg_or_mem_operand): Delete, unused function.
8596         (calc_address_cost): Small offsets are cheaper than large ones.
8597         (expand_block_move): Generate more efficient code when bytes is a
8598         known at compile time.
8599         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
8600         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
8601         instead of reg_or_mem_operand.
8602
8603         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
8604         not general_operand.  Similarly use "=rm" or stricter, not "=g".
8605         For input operands, use stricter constraints than "g" if not
8606         general_operand.  Similarly use stricter predicate than
8607         "general_operand" when stricter constraints than "g" are present,
8608         except for matching constraints.
8609         (movstrsi): Use "memory_operand" for operands 0 and 1.
8610         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
8611         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
8612         not reg_or_mem_operand.
8613         (udivmoddisi4): Ditto.
8614         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
8615         Use nonimmediate_operand for operand 3, not register_operand.
8616         (udivmoddiqi4_internal): Use register_operand for operand 1, not
8617         reg_or_mem_operand.
8618
8619 2000-01-27  Fred Fish  <fnf@be.com>
8620
8621         * gthr-posix.h: Fix typo; compatibily -> compatibility.
8622         * gthr-single.h: Likewise.
8623         * gthr-solaris.h: Likewise.
8624         * gthr-vxworks.h: Likewise.
8625         * gthr-win32.h: Likewise.
8626         * gthr.h: Likewise.
8627
8628 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
8629
8630         * cppinit.c: Add " (cpplib)" to end of string printed by
8631         -v / --version.
8632
8633 2000-01-27  Richard Henderson  <rth@cygnus.com>
8634
8635         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
8636         testing for a signed comparison.
8637         (alpha_emit_floatuns): New.
8638         * alpha-protos.h: Declare it.
8639         * alpha.md (floatunsdisf2, floatunsdidf2): New.
8640         (extendsfdf2): Tidy.
8641
8642 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
8643
8644         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
8645         no -g option specifying debugging format, default to -gstabs+.
8646
8647 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
8648
8649         * calls.c (special_function_p): New argument fork_or_exec.
8650         (expand_call): When profile_arc_flag is set and the function
8651         is in the fork_or_exec group, call __bb_fork_func first.
8652         * libgcc2.c, _bb module (__bb_fork_func): New function.
8653         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
8654         output file.
8655         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
8656         * tree.h (special_function_p): Update prototype.
8657
8658 2000-01-26  Richard Henderson  <rth@cygnus.com>
8659
8660         * alpha.c (alpha_split_tfmode_pair): New.
8661         * alpha-protos.h: Declare it.
8662         * alpha.md (abstf2, negtf2): New.
8663         (movtf insn): Add input G constraint.
8664         (movtf splitter): Use alpha_split_tfmode_pair.
8665
8666 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8667
8668         * i386/cygwin.h: PROTO -> PARAMS.
8669
8670 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
8671
8672         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
8673         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
8674         using _Qp_cmp/_Q_cmp and testing the return value.
8675         (print_operand): Call reverse_condition_maybe_unordered if
8676         we are handling CCFPmode or CCFPEmode.
8677         Handle ORDERED, UN* and LTGT comparisons.
8678         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
8679         if not TARGET_HARD_QUAD.
8680         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
8681         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
8682         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
8683         Adjust gen_b* calls so that they reflect return comparison of
8684         sparc_emit_float_lib_cmp.
8685
8686 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8687
8688         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
8689         incoming operands array is large enough for one more operand.
8690         (alpha_emit_xfloating_arith): Likewise.
8691
8692 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8693
8694         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
8695         file with one line and no trailing newline.
8696         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
8697         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
8698         checking if the match is on the line.
8699         * fixinc/gnu-regex.c: Provide regerror not __regerror.
8700
8701 2000-01-25  Richard Henderson  <rth@cygnus.com>
8702
8703         * sparc.c (output_cbranch): Fix accidental squashing of the
8704         fp branch pre-delay nop.
8705
8706 2000-01-25  Richard Henderson  <rth@cygnus.com>
8707
8708         * tree.def (UNNE_EXPR): Remove.
8709         * c-typeck.c (build_binary_op): Don't handle it.
8710         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
8711
8712         * rtl.def (UNNE): Remove.
8713         (LTGT): Add.
8714         * jump.c (reverse_condition): Update accordingly.
8715         (swap_condition): Likewise.
8716         (comparison_dominates_p): Handle unordered comparisons.
8717         (reverse_condition_maybe_unordered): New.
8718         * rtl.h (reverse_condition_maybe_unordered): Declare.
8719
8720         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
8721         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
8722         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
8723         * sparc.md (bltgt): New.
8724
8725 2000-01-25  Nick Clifton  <nickc@redhat.com>
8726
8727         * emit-rtl.c (emit_insn): Only check machine class insns for
8728         improper emission of a RETURN.
8729
8730 2000-01-25  Richard Henderson  <rth@cygnus.com>
8731
8732         * Makefile.in (flow.o): Depend on $(EXPR_H).
8733         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
8734         duplicate the structure of diddle_return_value for keeping regs live.
8735
8736 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8737
8738         * loop.c (current_loop_info): Delete.
8739         (consec_sets_invariant_p): Add loop argument, update callers.
8740         (get_condition_for_loop): Likewise.
8741         (count_nonfixed_reads, update_giv_derive): Likewise.
8742         (simplify_giv_expr, general_induction_var): Likewise.
8743         (consec_sets_giv, recombine_givs): Likewise.
8744         (move_movables): Delete loop_start and loop_end arguments,
8745         add loop argument, and update callers.
8746         (find_mem_givs, check_final_value): Likewise.
8747         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
8748         (loop_invariant_p): Rename from invariant_p, add loop argument, and
8749         update callers.
8750         (basic_induction_var): Add loop argument, delete loop_level argument,
8751         and update callers.
8752         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
8753         add loop argument, and update callers.
8754         (find_splittable_regs, find_splittable_givs): Likewise.
8755         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
8756         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
8757         (biv_total_increment): Delete loop_start and loop_end arguments;
8758         update callers.
8759         (precondition_loop_p): Delete loop_start and loop_info arguments;
8760         update callers.
8761         * loop.h (get_condition_for_loop): Add loop argument.
8762         (biv_total_increment): Delete loop_start and loop_end arguments.
8763         (precondition_loop_p): Delete loop_start and loop_info arguments;
8764         add loop argument.
8765         (final_biv_value): Delete loop_start and loop_end arguments;
8766         add loop argument.
8767         (final_giv_value, back_branch_in_range_p): Likewise.
8768
8769 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
8770
8771         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
8772
8773 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
8774
8775         * Makefile.in (c-gperf.h) : Change the "See" pointer to
8776         point to the new "generated_files" doc.
8777
8778 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
8779
8780         * config/fp-bit.c (_unord_f2): Fix typo.
8781
8782 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8783
8784         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
8785         c-typeck.c, objc/objc-act.c: Remove all references to obstack
8786         functions obsoleted by GC, such as push_obstacks_nochange,
8787         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
8788         and code which existed only to decide whether or not to call
8789         them.  Remove now-unused NESTED argument from start_function;
8790         all callers changed.  Do not change behavior based on ggc_p.
8791         The use of the ixp_obstack in c-iterate.c and the util_obstack
8792         in objc/objc-act.c remain; these are not obsoleted by garbage
8793         collection.
8794         * c-tree.h: Update prototype for start_function.
8795
8796         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
8797
8798 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
8799
8800         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
8801         mips16.
8802
8803 2000-01-25  Richard Henderson  <rth@cygnus.com>
8804
8805         * sparc-protos.h (select_cc_mode): Declare.
8806         * sparc.c (select_cc_mode): New.  Handle unordered compares.
8807         (output_cbranch): Always reverse via code change.  Handle
8808         unordered compares.  Factor tests and string updates.
8809         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
8810         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
8811         * sparc.md (bunordered, bordered): New.
8812         (bungt, bunlt, buneq, bunge, bunle): New.
8813
8814 2000-01-25  Richard Henderson  <rth@cygnus.com>
8815
8816         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
8817         * ggc-common.c (ggc_add_rtx_varray_root): New.
8818         (ggc_mark_rtx_varray): New.
8819         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
8820         functions down below ggc_mark_foo.
8821         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
8822
8823 2000-01-25  Richard Henderson  <rth@cygnus.com>
8824
8825         * alpha.c (secondary_reload_class): Don't allocate a secondary
8826         for integral mode memories into FLOAT_REGS.  Rearrange the more
8827         complicated memory expression inward.
8828
8829 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8830
8831         * inclhack.def: Fixes to play nicer with FreeBSD, and
8832         corrections to comments.
8833         (cxx_unready): Add select expression.
8834         (irix_sockaddr): Add bypass expression.
8835         (machine_ansi_h_va_list): New fix.
8836         (stdio_va_list): No need to edit _BSD_VA_LIST_.
8837         Split out addition of "#include <stdarg.h>" to...
8838         (stdio_stdarg_h): ... here.
8839         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
8840         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
8841         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
8842         size_t.
8843         (ultrix_ifdef): Tighten up select expression.
8844
8845         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
8846         re_ct and max_mach to avoid use of shell.  Make printed names
8847         match names in inclhack.def.  Use static copyright date.
8848         Don't count c_test and test expressions as requiring regex_t
8849         slots.  Add some commentary.
8850         * inclhack.tpl: Do not include the 'This script contains N
8851         fixup scripts' line if PROGRAM is defined.  Use static
8852         copyright date.
8853
8854 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
8855
8856         * dwarf2out.c: include "varray.h", not dyn-string.h.
8857         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
8858         (addr_const_to_string, addr_to_string): Lose.
8859         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
8860         (struct dw_val_struct): val_addr is now an rtx.
8861         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
8862         (used_rtx_varray): New varray.
8863         (dwarf2out_init): Initialize it.
8864         (save_rtx): New fn.
8865         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
8866         addr_to_string.
8867         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
8868         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
8869         * Makefile.in (dwarf2out.o): Update dependencies.
8870
8871 2000-01-24  Richard Henderson  <rth@cygnus.com>
8872
8873         * i386.c (i386_dwarf_output_addr_const): New.
8874         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
8875
8876         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
8877         if defined.
8878         * dwarfout.c (output_mem_loc_descriptor): Likewise.
8879         * i386.c (i386_simplify_dwarf_addr): New.
8880         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
8881
8882 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
8883
8884         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
8885         TYPE_STUB_DECL is NULL.
8886
8887 2000-01-24  Richard Henderson  <rth@cygnus.com>
8888
8889         * builtins.c (expand_tree_builtin): Move ...
8890         * c-common.c (expand_tree_builtin): ... here.
8891
8892 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8893
8894         * loop.h (LOOP_INFO): New accessor macro.
8895         * basic-block.h (struct loop): Rename field `info' to `aux'.
8896         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
8897         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
8898         * unroll.c (loop_iterations, unroll_loop): Likewise.
8899
8900 2000-01-24  Christopher Faylor <cgf@cygnus.com>
8901
8902         * config/i386/t-cygwin: Accomodate new winsup directory layout
8903         when searching for include files.
8904
8905 2000-01-24  Richard Henderson  <rth@cygnus.com>
8906
8907         * rtl.def: Add unordered fp comparisions.
8908         * tree.def: Likewise.
8909         * tree.h: Add ISO C 9x unordered fp comparision builtins.
8910
8911         * builtins.c (expand_tree_builtin): New function.
8912         * c-typeck.c (build_function_call): Use it.
8913         (build_binary_op): Support unordered compares.
8914         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
8915
8916         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
8917         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
8918         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
8919         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
8920         * jump.c (reverse_condition): Don't abort for UNLE etc, but
8921         return UNKNOWN.
8922         (swap_condition): Handle unordered compares.
8923         (thread_jumps): Check can_reverse before reversing.
8924         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
8925         reversed for FP.
8926
8927         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
8928         setcc is present before acking for cmp_optab.  Update all callers.
8929         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
8930         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
8931         * expr.c (expand_expr): Likewise.  Support unordered compares.
8932         (do_jump, do_store_flag): Likewise.
8933         * expr.h (enum libfunc_index): Add unordered compares.
8934
8935         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
8936         (DPBIT_FUNCS): Add _unord_df.
8937         * config/fp-bit.c (_unord_f2): New.
8938         * fp-test.c (main): Try unordered compare builtins.
8939
8940         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
8941         * alpha.c (alpha_comparison_operator): Check mode properly.
8942         (alpha_swapped_comparison_operator): Likewise.
8943         (signed_comparison_operator): Likewise.
8944         (alpha_fp_comparison_operator): New.
8945         (alpha_emit_conditional_branch): Handle unordered compares.
8946         * alpha.h (PREDICATE_CODES): Update.
8947         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
8948         (bunordered, bordered): New.
8949
8950 2000-01-24  Richard Henderson  <rth@cygnus.com>
8951
8952         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
8953         * alpha.md (movtf): New expander, insn, and splitter.
8954
8955 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
8956
8957         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8958         dead registers.
8959
8960 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8961
8962         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
8963         (FIXED_REGISTERS, CALL_USED_REGISTERS,
8964          REG_ALLOC_ORDER): Add frame pointer
8965         (FRAME_POINTER_REGNUM): Set to 20
8966         (HARD_FRAME_POINTER_REGNUM): New macro.
8967         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
8968         to HARD_FRAME_POINTER.
8969         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
8970         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
8971         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
8972         (HI_REGISTER_NAMES): Add "frame".
8973         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
8974         (debug_reg): Handle FRAME_POINTER_REGNUM.
8975         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
8976         GENERAL_REGS and INDEX_REGS.
8977         * i386.c (SAVED_REGS_FIRST): new macro.
8978         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
8979         (ix86_decompose_address, memory_address_length): Likewise.
8980         (regclass_map): Add frame pointer.
8981         (call_insn_operand): Handle frame_pointer_rtx.
8982         (reg_no_sp_operand): Likewise.
8983         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
8984         (print_operand, legitimize_pic_address): Fix formating.
8985         (ix86_compute_frame_size): Make static, update prototype, new
8986         parameters padding1, padding2, use ix86_nsaved_regs, use
8987         stack_alignment_needed.
8988         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
8989         to HARD_FRAME_POINTER_REGNUM conversions.
8990         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
8991         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
8992         (print_reg): Abort on FRAME_POINTER_REGNUM
8993
8994 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
8995
8996         * i386.h (PREDICATE_CODES): Add aligned_operand.
8997         * i386.c (aligned_operand): New function.
8998         (ix86_aligned_p): Kill.
8999         * i386.md (movhi_1): Emit mov for aligned operands.
9000         (promoting peep2s): Use aligned_operand.
9001
9002 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
9003
9004         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
9005         expression to allow underscores in macro names.
9006         (fix_char_macro_defines): Increment scanning pointer.
9007
9008 2000-01-23  Richard Henderson  <rth@cygnus.com>
9009
9010         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
9011         * alpha/osf5.h: New file.
9012         * configure.in (alpha-*-osf5): Add it to tm_file.
9013
9014         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
9015
9016         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
9017         (alpha_emit_xfloating_cvt, function_arg): Declare.
9018         * alpha.c (alpha_emit_conditional_branch): Call
9019         alpha_emit_xfloating_compare for TFmode compares.
9020         (alpha_lookup_xfloating_lib_func): New.
9021         (alpha_compute_xfloating_mode_arg): New.
9022         (alpha_emit_xfloating_libcall): New.
9023         (alpha_emit_xfloating_arith): New.
9024         (alpha_emit_xfloating_compare): New.
9025         (alpha_emit_xfloating_cvt): New.
9026         (print_operand): Add default abort case.
9027         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
9028         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
9029         (BIGGEST_ALIGNMENT): Increase to 128 bits.
9030         (RETURN_IN_MEMORY): True for TF/TCmode.
9031         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
9032         (FUNCTION_ARG): Move to function_arg.
9033         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
9034         (ASM_OUTPUT_LONG_DOUBLE): New.
9035         (ASM_OUTPUT_DOUBLE): Always output bits.
9036         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
9037         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
9038         (extenddftf2, trunctfdf2): New.
9039
9040 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9041
9042         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
9043         * config/sparc/sol2.h: ... here.
9044
9045 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9046
9047         * basic-block.h (struct loops): New field `levels'.
9048         * flow.c (flow_loops_level_compute): Traverse all outer loops.
9049         (flow_loop_level_compute): Initialise level to 1.
9050         (flow_loops_find): Set loops->levels.
9051         (flow_loops_dump): Print loops->levels.
9052
9053 2000-01-23  Richard Henderson  <rth@cygnus.com>
9054
9055         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
9056         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
9057
9058 2000-01-23  Richard Henderson  <rth@cygnus.com>
9059
9060         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
9061         * i386.h (DBX_REGISTER_NUMBER): Use them.
9062         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
9063         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
9064         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
9065         * i386/sequent.h: Kill incorrect comment.
9066
9067 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
9068
9069         * ggc-page.c (struct page_entry): Make `context_depth' an
9070         `unsigned short'.
9071         (struct globals): Likewise.
9072
9073 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
9074
9075         * loop.c (check_dbra_loop): When checking a loop for
9076         reversability, check the source of any stores to ensure
9077         they don't depend on an initial value.
9078
9079 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9080
9081         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
9082
9083 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
9084
9085         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
9086         'pz_scan' into scope of entire function.  Only affects
9087         compiles with -DDEBUG.
9088
9089 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
9090
9091         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
9092         section naming to that prior to 2000-01-07 patch.
9093         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
9094         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
9095         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
9096         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
9097         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
9098
9099 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
9100
9101         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
9102         constant.
9103
9104 2000-01-21  Jim Wilson  <wilson@cygnus.com>
9105
9106         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
9107         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
9108
9109 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
9110
9111         * cpphash.c (change_newlines): Delete function.
9112         (struct argdata): Delete 'newlines' and 'use_count' fields.
9113         (macroexpand): Remove code referencing those fields.
9114
9115 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9116
9117         * loop.c (loops_info): New variable.
9118         (loop_optimize): Allocate loops->array and free it on exit.
9119         Allocate memory for loops_info and assign to each loop,
9120         replacing alloca.
9121         (find_and_verify_loops): Do not allocate loops->array.
9122
9123 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
9124
9125         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
9126
9127 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
9128
9129         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
9130         pseudos if expanded after first flow.
9131         (movdi_pic_label_ref): Likewise.
9132
9133 2000-01-20  Richard Henderson  <rth@cygnus.com>
9134
9135         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
9136
9137 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
9138
9139         * Makefile.in (fixinc.sh): Depend on specs.
9140         * fixinc/Makefile.in: Add rule to create machname.h.
9141         (fixlib.o): Depend on machname.h.
9142         * fixinc/fixtests.c (machine_name): New test.
9143         * fixinc/fixfixes.c (machine_name): New fix.
9144         * fixinc/fixlib.c (mn_get_regexps): New helper function for
9145         the machine_name test and fix.
9146         * fixinc/fixlib.h: Prototype it.
9147         * fixinc/inclhack.def (machine_name): Use the C test and fix.
9148         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
9149
9150         * gcc.c (do_spec_1) [case P]: Take care not to create
9151         identifiers with three leading or trailing underscores.
9152
9153         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
9154         (fixincl): Don't specify libraries twice on link line.
9155         (gnu-regex.o): Remove special rule.
9156         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
9157         defined by config.h.  Do not define _REGEX_RE_COMP.
9158         (regcomp): Allocate and initialize a fastmap.
9159         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
9160
9161 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
9162
9163         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
9164
9165 2000-01-19  Richard Henderson  <rth@cygnus.com>
9166
9167         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
9168         arguments with BB.  Update all callers.  Tidy line wrapping.
9169
9170 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
9171
9172         * emit-rtl.c (try_split): Return last_insn if we split the
9173         last_insn.
9174
9175 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
9176
9177         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
9178         (ix86_initial_elimination_offset): Declare.
9179         * i386.c (ix86_nsaved_regs): Break out from ...
9180         (ix86_can_use_return_insn_p): ... here.
9181         (ix86_emit_save_regs): Break out from ...
9182         (ix86_expand_prologue): ... here.
9183         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
9184         out from ...
9185         (ix86_expand_epilogue): ... here.
9186         (ix86_compute_frame_size): Make static, add prototype.
9187         (ix86_initial_elimination_offset): Break out from ...
9188         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
9189
9190 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9191
9192         * recog.h (OUT_FCN): Delete.
9193
9194         * vax.md: Call `get_insn_template' instead of OUT_FCN.
9195
9196 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9197
9198         * cppalloc.c: PROTO -> PARAMS.
9199         * cpperror.c: Likewise.
9200         * cppfiles.c: Likewise.
9201         * cpplib.c: Likewise.
9202         * cpplib.h: Likewise.
9203
9204         * config/arm/arm-protos.h: PROTO -> PARAMS.
9205         * config/arm/arm.c: Likewise.
9206         * config/c4x/c4x.c: Likewise.
9207         * config/fr30/fr30-protos.h: Likewise.
9208         * config/nextstep.c: Likewise.
9209         * config/pa/pa.c: Likewise.
9210         * config/pj/pj.c: Likewise.
9211         * config/rs6000/rs6000.c: Likewise.
9212         * config/v850/v850-protos.h: Likewise.
9213         * config/v850/v850.c: Likewise.
9214
9215 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9216
9217         * i370-protos.h: New file.
9218
9219         * i370.c: Include tm_p.h.  Fix compile time warnings.
9220
9221         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
9222         warnings.
9223
9224         * i370.md: Likewise.
9225
9226 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9227
9228         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
9229         (target_isinf, target_isnan, eisnan): Mark parameter with
9230         ATTRIBUTE_UNUSED.
9231         (eiisinf): Wrap in INFINITY.
9232         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
9233         (ibmtoe): Remove unused variable `rndsav'.
9234
9235 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9236
9237         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
9238         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
9239
9240 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
9241
9242         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
9243         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
9244         (fix_char_macro_defines, fix_char_macro_uses): New functions.
9245
9246         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
9247         Recognize Emacs mode markers also.
9248         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
9249         C++ comments in C++ headers.  Call is_cxx_header only if
9250         necessary.
9251
9252         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
9253         bypass for ncurses.
9254         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
9255         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
9256         ... these, which use the new C fixes.
9257         (math_exception): Escape literal '+' in bypass expression.
9258
9259         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
9260         Regenerate.
9261
9262 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
9263
9264         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
9265         inside the MEM.
9266
9267 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9268
9269         * loop.c (loop_optimize): Allocate loop_info structure for each loop
9270         prior to calling scan_loop.
9271
9272 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9273
9274         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
9275         (split_branches, calc_live_regs): Likewise.
9276
9277 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9278
9279         * sh.md (fpu_single, fp_mode): New attributes.
9280
9281 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9282
9283         * loop.c (current_loop_info): Renamed from loop_info_data
9284         and changed to a pointer.
9285         (loop_optimize): Allocate loop_info structure for each loop
9286         and initialise to zero.
9287         (scan_loop): Set current_loop_info.
9288
9289         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
9290         on iteration_var.
9291
9292 2000-01-19  Richard Henderson  <rth@cygnus.com>
9293
9294         * stupid.c: Die die die.
9295         * Makefile.in (OBJS): Remove stupid.o.
9296         (stupid.o): Likewise.
9297
9298         * except.c (emit_eh_context): Don't emit USEs for stupid.
9299         * explow.c (probe_stack_range): Likewise.
9300         * flags.h (obey_regdecls): Remove.
9301         * flow.c (find_basic_blocks): Don't run try_merge_blocks
9302         when not optimizing.
9303         (life_analysis): Limit data collection when not optimizing.
9304         (mark_regs_live_at_end): Always mark the return value registers.
9305         (mark_used_regs): Remove dummy RETURN case.
9306         (print_rtl_with_bb): Don't consult obey_regdecls.
9307         * function.c (use_variable, use_variable_after): Remove.
9308         (assign_parms): Consult optimize not obey_regdecls.
9309         (expand_function_start): Don't emit USEs for stupid.
9310         (expand_function_end): Likewise.
9311         * global.c (build_insn_chain): Export.
9312         * integrate.c (expand_inline_function): Kill return-value USE
9313         handling code.
9314         * jump.c (jump_optimize_1): Do simple jump optimizations and
9315         dead code elimination.
9316         (calculate_can_reach_end): Remove check_deleted argument.
9317         (delete_insn): Patch out insns even when not optimizing.
9318         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
9319         * rtl.h (use_variable, use_variable_after): Remove declarations.
9320         (build_insn_chain): Declare.
9321         * stmt.c (expand_value_return): Don't emit USEs for stupid.
9322         (expand_end_bindings): Likewise.
9323         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
9324         * toplev.c (obey_regdecls): Remove.
9325         (rest_of_compilation): Don't set it.  Kill stupid in favour of
9326         flow1, local-alloc, and reload.
9327         (main): Don't set obey_regdecls.
9328
9329         * config/nextstep.c (handle_pragma): Likewise.
9330
9331         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
9332
9333         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
9334
9335 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9336
9337         * alpha-protos.h: PROTO -> PARAMS.
9338         * alpha.c: Likewise.
9339         * elf.h: Likewise.
9340         * h8300.c: Likewise.
9341         * i386-protos.h: Likewise.
9342         * i386.c: Likewise.
9343         * m32r-protos.h: Likewise.
9344         * m32r.c: Likewise.
9345         * mips.c: Likewise.
9346         * mips.md: Likewise.
9347         * gmon-sol2.c: Likewise.
9348         * sparc.c: Likewise.
9349
9350 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9351
9352         * ns32k-protos.h: New file.
9353
9354         * ns32k.c: Fix compile time warnings.
9355
9356         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
9357         warnings.
9358
9359         * ns32k.md: Likewise.
9360
9361 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9362
9363         * vax-protos.h: New file.
9364
9365         * vax.c: Fix compile time warnings.
9366
9367         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
9368         warnings.
9369
9370         * vax.md: Likewise.
9371
9372         * vaxv.md: Likewise.
9373
9374 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9375
9376         * romp-protos.h: New file.
9377
9378         * romp.c: Fix compile time warnings.
9379
9380         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
9381         warnings.
9382
9383         * romp.md: Likewise.
9384
9385 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9386
9387         * we32k-protos.h: New file.
9388
9389         * we32k.c: Fix compile time warnings.
9390
9391         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
9392         warnings.
9393
9394 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9395
9396         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
9397
9398         * except.c (eh_regs): Likewise.
9399
9400         * final.c (output_operand): Likewise.
9401
9402         * fold-const.c (target_isinf, target_isnan): Likewise.
9403
9404 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9405
9406         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
9407         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
9408
9409         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
9410         when optimize_size.
9411         (clrstrsi): Rewrite.
9412         (strsethi, strsetqi): New expanders.
9413         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
9414         (cmpstrsi): Emit compare insn before cmpstrsi_1
9415         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
9416         (strlensi_1): Likewise.
9417         (cmpstrsi_1): Likewise; do not output compare.
9418         (strlen expander): Do not unroll when optimizing for size.
9419         (*subsi3_carry): Rename to subsi3_carry
9420         (addqi3_cc): New pattern.
9421         * i386.h (processor_costs): Add move_ratio field.
9422         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
9423         * i386.c (*_cost): Set move_ratio.
9424         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
9425         (x86_expand_strlensi_1): Rewrite the main loop.
9426
9427 2000-01-17  Richard Henderson  <rth@cygnus.com>
9428
9429         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
9430         * cse.c (find_comparison_args, fold_rtx): Likewise.
9431         * integrate.c (subst_constants): Likewise.
9432         * loop.c (get_condition): Likewise.
9433
9434         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
9435
9436         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
9437
9438 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9439
9440         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
9441         (RESTORE_WARN_FLAGS): Unpack it.
9442         Change semantic type of extension to ttype.
9443         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
9444         * c-parse.y, c-parse.c, objc/objc-parse.y,
9445         objc/objc-parse.c: Regenerate.
9446
9447 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
9448
9449         * fixinc/fixlib.c: Add copyright notice.
9450         (compile_re): New function.
9451         * fixinc/fixlib.h: Prototype compile_re.
9452
9453         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
9454         Use compile_re to compile regular expressions.
9455
9456         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
9457         where the pattern matched.
9458
9459         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
9460         use 'replace'.
9461         (ultrix_ansi_compat): Likewise.
9462         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
9463         add egrep test.
9464         (interactv_add2, interactv_add3): Delete.
9465         (x11_sprintf): Don't use filename glob.
9466         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
9467         Regenerate.
9468
9469 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9470
9471         * print-rtl.c: PROTO -> PARAMS.
9472         * real.c: Likewise.
9473         * reg-stack.c: Likewise.
9474         * resource.c: Likewise.
9475         * sdbout.h: Likewise.
9476         * simplify-rtx.c: Likewise.
9477         * stor-layout.c: Likewise.
9478         * stupid.c: Likewise.
9479         * xcoffout.c: Likewise.
9480         * xcoffout.h: Likewise.
9481
9482 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9483
9484         * toplev.c: PROTO -> PARAMS.
9485         * toplev.h: Likewise.
9486         * tree.c: Likewise.
9487         * tree.h: Likewise.
9488         * unroll.c: Likewise.
9489         * varasm.c: Likewise.
9490         * varray.c: Likewise.
9491         * varray.h: Likewise.
9492
9493 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9494
9495         * reload.c: PROTO -> PARAMS.
9496         * reload.h: Likewise.
9497         * reload1.c: Likewise.
9498         * reorg.c: Likewise.
9499         * resource.h: Likewise.
9500         * rtl.c: Likewise.
9501         * rtl.h: Likewise.
9502         * rtlanal.c: Likewise.
9503         * sbitmap.h: Likewise.
9504         * sdbout.c: Likewise.
9505         * stack.h: Likewise.
9506         * stmt.c: Likewise.
9507         * system.h: Likewise.
9508
9509 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9510
9511         * machmode.h: PROTO -> PARAMS.
9512         * mbchar.h: Likewise.
9513         * mips-tdump.c: Likewise.
9514         * mips-tfile.c: Likewise.
9515         * optabs.c: Likewise.
9516         * output.h: Likewise.
9517         * prefix.c: Likewise.
9518         * profile.c: Likewise.
9519         * protoize.c: Likewise.
9520         * real.h: Likewise.
9521         * recog.c: Likewise.
9522         * recog.h: Likewise.
9523         * regclass.c: Likewise.
9524         * regmove.c: Likewise.
9525         * regs.h: Likewise.
9526
9527 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9528
9529         * ggc-common.c: PROTO -> PARAMS.
9530         * ggc-page.c: Likewise.
9531         * ggc-simple.c: Likewise.
9532         * ggc.h: Likewise.
9533         * global.c: Likewise.
9534         * graph.c: Likewise.
9535         * gthr-win32.h: Likewise.
9536         * haifa-sched.c: Likewise.
9537         * halfpic.h: Likewise.
9538         * integrate.c: Likewise.
9539         * integrate.h: Likewise.
9540         * jump.c: Likewise.
9541         * lcm.c: Likewise.
9542         * local-alloc.c: Likewise.
9543         * loop.c: Likewise.
9544         * loop.h: Likewise.
9545
9546 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9547
9548         * genattr.c: PROTO -> PARAMS.
9549         * genattrtab.c: Likewise.
9550         * gencheck.c: Likewise.
9551         * gencodes.c: Likewise.
9552         * genconfig.c: Likewise.
9553         * genemit.c: Likewise.
9554         * genextract.c: Likewise.
9555         * genflags.c: Likewise.
9556         * gengenrtl.c: Likewise.
9557         * genopinit.c: Likewise.
9558         * genoutput.c: Likewise.
9559         * genpeep.c: Likewise.
9560         * genrecog.c: Likewise.
9561
9562 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
9563
9564         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
9565
9566 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9567
9568         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
9569         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
9570         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
9571         * configure, config.in: Rebuilt.
9572
9573 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
9574
9575         * config/i386/i386.md: Add peephole to merge successive stack
9576         adjusts.
9577
9578 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
9579
9580         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
9581         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
9582         when walking backwards to find all the parameter loads when
9583         the basic block ends in a call.
9584
9585 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9586
9587         * loop.c (this_loop_info): Delete.
9588         (uid_loop): Add in place of uid_loop_num.  All uses updated.
9589         (loop_number_exit_count): Delete and replace with entry in loop
9590         structure.  All uses updated.
9591         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
9592         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
9593         (loop_outer_loop): Likewise.
9594         (loop_invalid, loop_number_exit_labels): Likewise.
9595         (loop_used_count_register): Delete and replace with entry in
9596         loop_info structure.
9597         (find_and_verify_loops): Add loops argument.
9598         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
9599         loop_end, etc. arguments with loop structure pointer.  All callers
9600         changed.
9601         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
9602         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
9603         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
9604         (insert_bct): Likewise.
9605         (basic_induction_var): New argument level.
9606         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
9607         vtop, and cont.  Add used_count_register.
9608         (uid_loop): Delete declaration.
9609         (loop_number_exit_count): Likewise.
9610         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
9611         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
9612         (loop_outer_loop, loop_used_count_register): Likewise.
9613         (loop_invalid, loop_number_exit_labels): Likewise.
9614         (unroll_loop): Replace loop_start and loop_end arguments
9615         with loop structure pointer.
9616         (loop_precondition_p, loop_iterations): Likewise.
9617         Include basic-block.h.
9618         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
9619         with loop structure pointer.
9620         (loop_precondition_p, loop_iterations): Likewise.
9621         * basic-block.h (struct loop): New entries vtop, cont,
9622         cont_dominator, start, end, top, scan_start, exit_labels,
9623         exit_count.
9624         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
9625
9626 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9627
9628         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
9629
9630 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
9631
9632         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
9633
9634 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9635
9636         * pdp11-protos.h: New file.
9637
9638         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
9639         time warnings.
9640
9641         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
9642         warnings.
9643
9644         * pdp11.md: Likewise.
9645
9646         * 2bsd.h: Likewise.
9647
9648 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9649
9650         * mn10300-protos.h: New file.
9651
9652         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
9653         time warnings.
9654
9655         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
9656         warnings.
9657
9658         * mn10300.md: Likewise.
9659
9660 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9661
9662         * mn10200-protos.h: New file.
9663
9664         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
9665         time warnings.
9666
9667         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
9668         warnings.
9669
9670         * mn10200.md: Likewise.
9671
9672 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9673
9674         * h8300-protos.h: New file.
9675
9676         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
9677         time warnings.
9678
9679         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
9680         warnings.
9681
9682         * h8300.md: Likewise.
9683
9684 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9685
9686         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
9687         (asm_emit_uninitialised): Likewise.
9688
9689 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
9690
9691         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
9692         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
9693
9694 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9695
9696         * config/mips/mips.c (override_options): Don't turn on extra
9697         alignment for mips16.
9698
9699 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9700
9701         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
9702         eabi, and make sure queued POSTINCREMENT rtl is emitted at
9703         the right point.
9704
9705 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9706
9707         * builtins.c (PAD_VARARGS_DOWN): Define.
9708         (std_expand_builtin_va_arg): Use the above macro.
9709         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
9710         * tm.texi (Register Arguments): Document the above macro.
9711
9712 2000-01-14  Nick Clifton  <nickc@cygnus.com>
9713
9714         * emit-rtl.c (emit_insn): If checking is enabled, make sure
9715         that this function has not been used to emit a jump
9716         instruction.
9717
9718         * jump.c (return_jump_1): Cope with being passed a null rtx.
9719
9720 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9721
9722         * eh-common.h: PROTO -> PARAMS.
9723         * emit-rtl.c: Likewise.
9724         * errors.c: Likewise.
9725         * errors.h: Likewise.
9726         * except.c: Likewise.
9727         * except.h: Likewise.
9728         * explow.c: Likewise.
9729         * expmed.c: Likewise.
9730         * expr.c: Likewise.
9731         * expr.h: Likewise.
9732         * final.c: Likewise.
9733         * fix-header.c: Likewise.
9734         * flow.c: Likewise.
9735         * fold-const.c: Likewise.
9736         * function.c: Likewise.
9737         * function.h: Likewise.
9738         * gcc.c: Likewise.
9739         * gcov-io.h: Likewise.
9740         * gcov.c: Likewise.
9741         * gcse.c: Likewise.
9742
9743 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9744
9745         * sh-protos.h: New file.
9746
9747         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
9748         Add static prototypes.  Fix compile time warnings.
9749
9750         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
9751         * sh.md: Likewise.
9752         * elf.h: Likewise.
9753
9754 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9755
9756         * arc-protos.h: New file.
9757
9758         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
9759         time warnings.
9760
9761         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
9762         warnings.
9763
9764         * arc.md: Likewise.
9765
9766 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9767
9768         * dsp16xx-protos.h: New file.
9769
9770         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
9771         time warnings.
9772
9773         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
9774         warnings.
9775
9776         * dsp16xx.md: Likewise.
9777
9778 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9779
9780         * convex-protos.h: New file.
9781
9782         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
9783         time warnings.
9784
9785         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
9786         warnings.
9787
9788 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9789
9790         * elxsi-protos.h: New file.
9791
9792         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
9793         time warnings.
9794
9795         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
9796         warnings.
9797
9798         * elxsi.md: Likewise.
9799
9800 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9801
9802         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
9803         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
9804         match the comment for MIPS16.
9805
9806 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
9807
9808         * flow.c (split_edge): Do not call set_block_for_insn if we
9809         do not have a basic_block_for_insn structure.
9810
9811         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
9812         and destination functions are 32bit aligned within the trampoline.
9813         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
9814         (TRAMPOLINE_ALIGNMENT): Define.
9815
9816         * cse.c (cse_insn): When changing (set (pc) (reg)) to
9817         (set (pc) (label_ref)), verify the change creates a valid insn.
9818
9819         * fr30.c (call_operand): Tighten and rework to match rules for
9820         call RTL expressions.
9821         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
9822         * fr30.md (call patterns): Improve constraints.
9823
9824 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
9825
9826         * fr30.c (fr30_expand_epilogue): Revert last change.
9827         Use emit_jump_insn for the return insn.
9828
9829 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
9830                           Stan Cox  <scox@cygnus.com>
9831
9832         * predict.c: New file. Preliminary infrastructure work for static
9833         branch prediction and basic block reordering.
9834         * basic-block.h: Add prototype for estimate_probability.
9835         * Makefile.in: Add rules for predict.o.
9836
9837 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
9838
9839         * fixincludes (va_list): Use __not_va_list__ for the dummy.
9840         * fixinc/*: Likewise.
9841
9842 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9843
9844         * cccp.c: PROTO -> PARAMS.
9845         * cexp.y: Likewise.
9846         * collect2.c: Likewise.
9847         * combine.c: Likewise.
9848         * convert.h: Likewise.
9849         * cse.c: Likewise.
9850         * dbxout.c: Likewise.
9851         * dbxout.h: Likewise.
9852         * diagnostic.c: Likewise.
9853         * doprint.c: Likewise.
9854         * dwarf2out.c: Likewise.
9855         * dwarf2out.h: Likewise.
9856         * dwarfout.c: Likewise.
9857         * dwarfout.h: Likewise.
9858         * dyn-string.h: Likewise.
9859
9860 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9861
9862         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
9863         macro conditionals guarding use.
9864
9865         * dwarf2out.c: Include "tm_p.h".
9866
9867         * function.c (locate_and_pad_parm): Mark parameter with
9868         ATTRIBUTE_UNUSED.
9869         (expand_function_end): Likewise for variable `context'.
9870
9871         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
9872
9873 2000-01-13  Nick Clifton  <nickc@cygnus.com>
9874
9875         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
9876         register to prevent compile time warnings.
9877
9878 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
9879
9880         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
9881         to avoid -Wtraditional warning.
9882
9883 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9884
9885         * 1750a-protos.h: New file.
9886
9887         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
9888         time warnings.
9889
9890         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
9891         warnings.
9892
9893         * 1750a.md: Likewise.
9894
9895 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9896
9897         * a29k-protos.h: New file.
9898
9899         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9900         time warnings.
9901
9902         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
9903         warnings.
9904
9905 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9906
9907         * clipper-protos.h: New file.
9908
9909         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
9910         time warnings.
9911
9912         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
9913         warnings.
9914
9915 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9916
9917         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
9918
9919 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
9920
9921         * configure.in (--enable-new-gxx-abi): New option.
9922         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
9923         * Makefile.in (GXX_ABI_FLAG): New variable.
9924         * configure: Regenerate.
9925
9926 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9927
9928         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
9929         * tm.texi (FORCE_STRUCT_BLK): Document.
9930         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
9931
9932 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
9933
9934         * config/ns32k/ns32k.md: Revert Jan 9 change.
9935
9936         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
9937         to a mode-test, if the predicate is address_operand.
9938
9939 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
9940
9941         * combine.c (if_then_else_cond): Be careful about what kinds
9942         of RTL expressions are passed to operand_subword.
9943
9944         * flow.c (split_edge): If we have to insert a new jump, make
9945         sure to associate it with a basic block.
9946
9947         * flow.c (commit_one_edge_insertion): A block with one successor
9948         can end in a JUMP_INSN that is not a simplejump.
9949
9950 2000-01-12  Robert Lipe  <robertl@sco.com>
9951
9952         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
9953         (BUILD_VA_LIST_TYPE): Define.
9954         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
9955         with crtstuff.c.
9956
9957 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
9958
9959         * cccp.c (do_pragma): Add cast to (char *).
9960
9961 2000-01-12  Richard Henderson  <rth@cygnus.com>
9962             Fred Fish  <fnf@be.com>
9963             Jason Merrill  <jason@cygnus.com>
9964
9965         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
9966         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
9967         * i386/beos-elf.h, i386/beos-pe.h: New files.
9968
9969         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
9970         * cross-make (SYSTEM_HEADER_DIR): Define using
9971         CROSS_SYSTEM_HEADER_DIR.
9972
9973         * gcc.c (LIBRARY_PATH_ENV): Provide default.
9974         (process_command): Use it.
9975         (main): Likewise.  Kill trailing = from env vars.
9976         (build_search_list): Put it back.
9977         * collect2.c (main): Use LIBRARY_PATH_ENV.
9978
9979         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
9980         * toplev.c: Use NEED_DECLARATION_ENVIRON.
9981
9982         * tm.texi (Frame Layout): Document SMALL_STACK.
9983         * c-common.c (c_common_nodes_and_builtins): Check it.
9984
9985         * system.h: Undef alloca after including glibc's <stdlib.h>,
9986         if USE_C_ALLOCA is defined.
9987
9988         * gcc.c (set_input): New fn.
9989         (main): After all input files are compiled, reset the input file
9990         info to the first.
9991
9992         * aclocal.m4 (rindex, index): If already defined, don't attempt
9993         to redefine.
9994
9995         * ginclude/varargs.h: (__va_list__): Define ifndef.
9996         * ginclude/stdarg.h: Likewise.
9997
9998         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
9999         instead of unsigned char.
10000
10001         * hash.h (true, false, boolean): Undef before enum.
10002
10003         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
10004         proper type of "HOST_WIDE_INT *", rather than their natural type of
10005         "unsigned HOST_WIDE_INT *".
10006
10007 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10008
10009         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
10010
10011         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
10012
10013         * regclass.c (choose_hard_reg_mode): Likewise.
10014
10015         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
10016
10017         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
10018
10019 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10020
10021         * c-common.c: PROTO -> PARAMS.
10022         * c-common.h: Likewise.
10023         * c-decl.c: Likewise.
10024         * c-iterate.c: Likewise.
10025         * c-lang.c: Likewise.
10026         * c-lex.c: Likewise.
10027         * c-lex.h: Likewise.
10028         * c-parse.in: Likewise.
10029         * c-pragma.c: Likewise.
10030         * c-pragma.h: Likewise.
10031         * c-tree.h: Likewise.
10032         * c-typeck.c: Likewise.
10033         * objc/objc-act.c: Likewise.
10034         * objc/objc-act.h: Likewise.
10035
10036 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10037
10038         * m88k-protos.h: New file.
10039
10040         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
10041         time warnings.
10042
10043         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
10044
10045         * m88k.md: Likewise.
10046
10047         * tekXD88.h: Likewise.
10048
10049 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10050
10051         * m68k-protos.h: New file.
10052
10053         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
10054         time warnings.
10055
10056         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
10057
10058         * mot3300.h: Likewise.
10059
10060 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
10061
10062         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
10063         extract_bitlst.
10064         (extract_bitlist): Declare bitlen.
10065
10066 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
10067
10068         * cccp.c: Accept and ignore -lang-fortran.
10069
10070         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
10071         qualifiers don't match at any level of pointerness.
10072
10073 2000-01-12  Robert Lipe  <robertl@sco.com>
10074
10075         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
10076
10077 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
10078
10079         * reload1.c (reload_reg_unavailable): New static variable.
10080         (reload_reg_free_p): Test it.
10081         (reload_reg_free_for_value_p): Test it instead of
10082         reload_reg_used.
10083         (choose_reload_regs_init): Compute it.
10084
10085 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
10086
10087         * reorg.c (fill_slots_from_thread): Check modified_in_p
10088         before replacing.
10089
10090 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
10091
10092         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
10093         these nodes even if INTERNALS is not set.
10094
10095 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
10096
10097         * gcse.c (delete_null_pointer_checks_1): Cope when
10098         get_condition cannot determine the condition.
10099
10100 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
10101
10102         * toplev.h (set_message_length): Declare.
10103
10104         * diagnostic.c (obstack_chunk_alloc): Define macro.
10105         (obstack_chunk_free): Likewise.
10106         (struct output_buffer): New data structure.
10107         (vmessage): Remove.
10108         (output_maximum_width): New variable.
10109         (doing_line_wrapping, set_message_length, init_output_buffer,
10110         get_output_prefix, output_space_left, emit_output_prefix,
10111         output_newline, output_append, output_puts, dump_output,
10112         vbuild_message_string, build_message_string, build_location_prefix,
10113         voutput_notice, output_printf, line_wrapper_printf,
10114         vline_wrapper_message_with_location):  New functions. Implement
10115         automatic line wrapping.
10116         (v_message_with_decl): Make it handle automatic line wrapping.
10117         (v_error_with_file_and_line): Likewise.
10118         (v_warning_with_file_and_line): Likewise.
10119         (announce_function): Likewise.
10120         (default_print_error_function): Likewise.
10121
10122 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
10123
10124         * cpplib.h (struct cpp_options): Change lang_asm to char.
10125         Add lang_fortran.
10126         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
10127         done in cpp_handle_option now.
10128         (initialize_builtins): Take out special case code used only by
10129         __STDC_VERSION__.
10130         (cpp_handle_option): Turn off trigraphs and trigraph warnings
10131         if -traditional.  Recognize -lang-fortran and set
10132         lang_fortran, also turn off cplusplus_comments.
10133         (print_help): Document -lang-fortran.
10134         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
10135         lang_asm. Ignore all directives other than `# 123 "file"' if
10136         CPP_PREPROCESSED.
10137         (cpp_get_token): If -traditional, don't recognize directives
10138         unless the # is in column 1.
10139         (parse_string): If lang_fortran or lang_asm, silently
10140         terminate strings ('' or "") at end of line.
10141         Remove unnecessary braces.
10142
10143 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10144             Richard Henderson  <rth@cygnus.com>
10145
10146         * resource.c (mark_referenced_resources): Mark a set strict_low_part
10147         as used.
10148         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
10149         strict_low_part when possible.
10150
10151 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10152
10153         * alias.c: PROTO -> PARAMS.
10154         * basic-block.h: Likewise.
10155         * bitmap.c: Likewise.
10156         * bitmap.h: Likewise.
10157         * builtins.c: Likewise.
10158         * c-aux-info.c: Likewise.
10159         * caller-save.c: Likewise.
10160         * calls.c: Likewise.
10161
10162 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10163
10164         * Makefile.in (toplev.o): Depend on regs.h.
10165
10166         * output.h (tdesc_section): Prototype.
10167
10168         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
10169
10170         * sdbout.c: Include "tm_p.h".
10171
10172         * toplev.c: Include "regs.h".
10173
10174 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
10175
10176         * unroll.c (unroll_loop): Add EH support.
10177
10178 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10179
10180         * pa-protos.h: New file.
10181
10182         * pa.c: Include recog.h and tm_p.h.
10183         (compute_zdepwi_operands, compute_movstrsi_length,
10184         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
10185         find_addr_reg, import_milli): Add static prototypes.
10186         (pa_cpu_string, pa_arch_string): Constify a char*.
10187         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
10188         (read_only_operand): Add argument `mode'.
10189         (singlemove_string, output_move_double, output_fp_move_double,
10190         output_block_move, output_and, output_ior, output_ascii,
10191         remove_useless_addtr_insns, milli_names, output_mul_insn,
10192         output_div_insn, output_mod_insn, output_arg_descriptor,
10193         output_cbranch, output_bb, output_bvb, output_dbra, ,
10194         output_millicode_call, output_call, hppa_encode_label,
10195         output_parallel_movb, output_parallel_addb): Constify a char*.
10196         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
10197         (output_parallel_addb): Remove extra arg to `constrain_operands'
10198
10199         * pa.h:  Move all prototypes to pa-protos.h.
10200         (pa_cpu_string, pa_arch_string): Constify a char*.
10201         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
10202
10203         * pa.md: Call `function_label_operand' with mode argument.
10204         Likewise for `read_only_operand'.
10205         Fix nesting of parens in call to `symbolic_operand'.
10206
10207 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10208
10209         * i860-protos.h: New file.
10210
10211         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
10212         time warnings.
10213
10214         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
10215
10216         * i860.md: Likewise.
10217
10218 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
10219
10220         * i386.md (movstrsi expander): Rewrite.
10221         (movstrsi_1 insn): Deleted.
10222         (strmovhi, strmovqi expander): New expanders.
10223         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
10224         * i386.c (x86_single_stringop): New global variable.
10225         * i386.h (x86_single_stringop): Declare.
10226         (TARGET_SINGLE_STRINGOP): New macro.
10227
10228 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
10229
10230         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
10231         integer vararg POSTINCREMENT before the destination of the jump
10232         for the hard fp case.
10233         (function_arg_pass_by_reference): Pass a copy of CUM to
10234         FUNCTION_ARG.
10235
10236         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
10237         for CONSTANT_ADDRESS_P above while loop for subreg.
10238
10239 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
10240
10241         * flow.c (propagate_block): When a prologue/epilogue insn
10242         is marked dead, unconditionally clear libcall_is_dead and
10243         insn_is_dead, and only dump rtl if warnings aren't being
10244         suppressed.
10245
10246 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
10247
10248         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
10249         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
10250         (FIXED_REGISTERS): Set dirflag as fixed.
10251         (CALL_USED_REGISTERS): Set dirflag as used.
10252         (REG_ALLOC_ORDER): Set dirflag as last one.
10253         (DIRFLAG_REG): New macro.
10254         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
10255         (HI_REGISTER_NAMES): Add dirflag.
10256         (DEBUF_PRINT_REG): Handle dirflag.
10257         * i386.md (type attribute): New cld and str types.
10258         (length_opcode attribute): Set cld and str to 1.
10259         (memory attribute): Set str to unknown - it is not clear from the
10260         patterns.
10261         (pent_np function unit): Prefixed string operations takes 12 cycles
10262         minimally; cld takes 2 cycles.
10263         (ppro_uops attribute): Str is "many" and cld is "few".
10264         (ppro_p0 unit): Handle cld here.
10265         (k6_alux unit): Handle cld and str types.
10266         (k6_load unit): It is ocupied by str opcodes.
10267         (k6_store unit): It is ocupied by str opcodes.
10268         (athlon_decode): Str is vector decoded.
10269         (athlon_ieu): Handle str and cld.
10270         (cld pattern): New.
10271         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
10272         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
10273         cmpstrsi_nz_1 insn): Do not output cld instruction
10274
10275 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
10276
10277         * gcc.texi (G++ and GCC): Add Java and Chill.
10278         (Bug Critera): Don't list languages.
10279
10280         * gcc.texi (Incompatibilities): No longer claim most C compilers
10281         are K&R.
10282
10283         * gcc.texi (G++ and GCC): Update other front-ends list.
10284
10285 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
10286
10287         * i386.c (ix86_expand_setcc): Fix typo.
10288         (ix86_expand_movcc): Similarly.
10289
10290         * Band-aid until haifa's bitset implementation is nuked.
10291         * haifa-sched.c (extract_bitlst): New parameter for size of the
10292         bitset in bits.  All callers changed.  Avoid looking at undefined
10293         bits in the bitset.
10294         (edgeset_bitsize): New variable.
10295         (schedule_region): Initialize edgeset_bitsize.
10296
10297 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10298
10299         * Makefile.in (optabs.o): Depend on real.h
10300         (resource.o): Depend on insn-attr.h
10301
10302         * builtins.c (result_vector): Wrap prototype in macro conditions
10303         governing definition and use.
10304
10305         * c-common.c: Include tm_p.h.
10306
10307         * c-lex.c: Likewise.
10308
10309         * elfos.h: Constify a char*.
10310
10311         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
10312         (get_attr_length, shorten_branches, profile_after_prologue): Mark
10313         parameter with ATTRIBUTE_UNUSED.
10314
10315         * fold-const.c (exact_real_inverse): Wrap variable `i' in
10316         CHECK_FLOAT_VALUE.
10317
10318         * haifa-sched.c (schedule_insns): Mark parameter with
10319         ATTRIBUTE_UNUSED.
10320
10321         * optabs.c: Include real.h.
10322
10323         * real.h (ereal_atof): Add prototype arguments.
10324
10325         * resource.c: Include insn-attr.h.
10326
10327         * sdbout.c (sdbout_queue_anonymous_type,
10328         sdbout_dequeue_anonymous_types): Wrap in macro
10329         SDB_ALLOW_FORWARD_REFERENCES.
10330         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
10331         ATTRIBUTE_UNUSED.
10332
10333         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
10334
10335         * stupid.c: Include tm_p.h.
10336
10337         * tree.c (real_value_from_int_cst): Mark parameter with
10338         ATTRIBUTE_UNUSED.
10339
10340 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10341
10342         * i960-protos.h: New file.
10343
10344         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
10345         time warnings.
10346
10347         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
10348
10349 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10350
10351         * combine.c (expand_field_assignment): Do not discard SUBREGs
10352         while computing nonzero_bits.
10353
10354 2000-01-09  Nick Clifton  <nickc@cygnus.com>
10355
10356         * config/arm/arm.c: Fix compile time warnings about signed vs
10357         unsigned constants.
10358         * config/arm/arm.h: Fix compile time warnings about signed vs
10359         unsigned constants.
10360
10361 2000-01-09  Philip Blundell  <philb@gnu.org>
10362
10363         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
10364         than `ldm' with only one register.
10365         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
10366         only one register.
10367
10368         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
10369         clobbered.
10370
10371 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
10372
10373         * config/ns32k/ns32k.md (load or push effective address): Operand 1
10374         must have SImode.
10375
10376 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10377
10378         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
10379         assignment used as truth value.
10380
10381         * function.c (assign_temp): Mark parameter `dont_promote' with
10382         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
10383         PROMOTE_FOR_CALL_ONLY.
10384
10385         * genrecog.c (write_subroutine): Mark variable `operands' with
10386         ATTRIBUTE_UNUSED.
10387
10388         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
10389         ATTRIBUTE_UNUSED.
10390
10391         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
10392         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
10393
10394         * toplev.c (note_deferral_of_defined_inline_function): Likewise
10395         for `decl'.
10396
10397 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10398
10399         * config/c4x.h: Tidy up comments.
10400         * config/c4x.c: Likewise.
10401
10402 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
10403
10404         * fold-const.c (lshift_double, rshift_double): Handle
10405         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
10406
10407 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10408
10409         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
10410         in prepare_function_start().
10411
10412 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
10413
10414         * config/v850/v850.c (expand_epilogue): Interrupt functions no
10415         longer allocate extra stack for function calls.
10416
10417 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10418
10419         * config/c4x/c4x.md (*subqf3_set): Fix typo.
10420
10421 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10422
10423         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
10424
10425 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
10426
10427         * rs6000.c (processor_target_table): Add power3 as alias for 630.
10428         * aix43.h: Revert Aug 2 change.
10429         (HAS_INIT_SECTION): Define, not visible yet.
10430         (LD_INIT_SWITCH): Define, not visible yet.
10431         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
10432
10433         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
10434
10435         * collect2.c (main): Expand ld2 size further.
10436         (export_object_lst): Cast assignment to avoid warning.
10437         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
10438         (scan_prog_file, COFF): Do not collect initialization or
10439         finalization functions generated for entire shared object if
10440         init/fini support present.
10441
10442 2000-01-07  Nick Clifton  <nickc@cygnus.com>
10443
10444         * config/elfos.h: Tidy up formatting of marcos.  Make sure
10445         that .section directives are always prefixed by a tab.
10446
10447         * config/svr4.h: Add #include "elfos.h" and remove duplicate
10448         definitions.
10449
10450 2000-01-07  Matt Austern  <austern@sgi.com>
10451
10452         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
10453         expon.
10454
10455 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
10456
10457         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
10458         crtstuff.c.
10459         (crtbegin.o, s-crtS): Likewise.
10460
10461 2000-01-06  Richard Henderson  <rth@cygnus.com>
10462
10463         * alpha.md (adddi_2+1): Limit offset such that it will be
10464         loadable with a single ldah+lda pair.
10465         (adddi_2+2): Explicitly fail split if we can't make it work.
10466
10467 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
10468
10469         * protoize.c: Conditionally include unistd.h.
10470         (IS_SAME_PATH_CHAR): New macro.
10471         (IS_SAME_PATH): New macro.
10472         (CPLUS_FILE_SUFFIX): New macro.
10473         (cplus_suffix): New static variable.
10474         (is_abspath): New static function.
10475         (in_system_include_dir): Handle DOS style pathnames.
10476         (file_could_be_converted): Likewise.
10477         (file_normally_convertible): Likewise.
10478         (directory_specified_p): Likewise.
10479         (file_excluded_p): Likewise.
10480         (abspath): Likewise.
10481         (shortpath): Likewise.
10482         (referenced_file_is_newer): Likewise.
10483         (save_def_or_dec): Likewise.
10484         (do_processing): Likewise.
10485         (main): Likewise.
10486         (edit_file): Likewise. Use rename instead of link.
10487         (rename_c_file): Likewise. Don't rename syscalls file.
10488         (munge_compile_params): Define null device for DOS based systems.
10489         (process_aux_info_file): Use binary mode if appliable.
10490         (edit_file): Likewise.
10491         * invoke.texi (Running Protoize): Document C++ suffixes used.
10492
10493         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
10494         IS_DIR_SEPARATOR macros.
10495         * collect2.c: Likewise.
10496         * cppinit.c: Likewise.
10497         * dwarf2out.c: Likewise.
10498         * gcc.c: Likewise.
10499         * gcov.c: Likewise.
10500         * prefix.c: Likewise.
10501         * rtl.c: Likewise.
10502         * toplev.c: Likewise.
10503         * system.h: And move to here.
10504
10505         * prefix.c (update_path): Fix typo in variable name.
10506
10507 2000-01-06  Richard Henderson  <rth@cygnus.com>
10508
10509         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
10510         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
10511         (count_reg_sets_1, count_reg_references): Likewise.
10512         (flow_loops_level_compute): Start counting actual loop depth at 1.
10513         (flow_loops_find): Likewise.
10514         * local-alloc.c (update_equiv_regs): Likewise.
10515         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
10516
10517 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
10518
10519         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
10520         FIRST_PSEUDO_REGISTER
10521         * dwarf2out.c: Don't include frame.h
10522         * dwarfout.c: Likewise
10523         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
10524         frame.h
10525
10526 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
10527
10528         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
10529         dead registers.
10530
10531         * i386.c (movsf splitter): Fix typo in my last checkin.
10532
10533 2000-01-05  Nick Clifton  <nickc@cygnus.com>
10534
10535         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
10536         own definition of this macro.
10537         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
10538         flag_data_sections or UNIQUE_SECTION_P are true.
10539
10540         * tm.texi (UNIQUE_SECTION): Document that it can be called for
10541         unitialised data decls.
10542
10543         * config/i386/winnt.c (i386_pe_unique_section): Cope with
10544         being called for uninitialised data.
10545
10546         * config/i386/interix.c (i386_pe_unique_section): Cope with
10547         being called for uninitialised data.
10548
10549         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
10550         for uninitialised data.
10551
10552         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
10553         for uninitialised data.
10554
10555         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
10556         for uninitialised data.
10557
10558         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
10559         (UNIQUE_SECTION_P): Always generate a unique section if
10560         flag_data_sections is true.
10561         (UNIQUE_SECTION): Also generate unique sections for
10562         uninitialised data.
10563         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
10564         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
10565         named_section().
10566
10567 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10568
10569         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
10570         SI, or DI.
10571
10572 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10573
10574         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
10575         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
10576         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
10577         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
10578         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
10579
10580         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
10581
10582 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
10583
10584         * c-decl.c (finish_enum): Simplify code to determine minimum and
10585         maximum values of the enum, and calculate the type.  Remove check
10586         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
10587         the DECL_INITIAL of each enumeration constant with a copy converted
10588         to the enumeration type.  When updating variant types, don't bother
10589         updating the type itself.
10590
10591         * c-typeck.c (build_binary_op): Simplify conditional expressions
10592         when weeding out spurious signed-unsigned warnings.  Add new
10593         spurious warning category: if the unsigned quantity is an enum
10594         and its maximum value fits in signed_type(result_type).  Update
10595         commentary.
10596         (build_conditional_expr): Warn here if one alternative is signed
10597         and the other is unsigned.
10598
10599 2000-01-05  Nick Clifton  <nickc@cygnus.com>
10600
10601         * config/fr30/fr30.h: Remove extraneous comments.
10602
10603 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
10604
10605         * reload1.c (choose_reload_regs): When disabling a reload, also
10606         set reload_spill_index to -1.
10607
10608 2000-01-04  Joel Sherrill (joel@OARcorp.com>
10609
10610         * configure.in (m68*-*-rtemscoff*): New target, formal name for
10611         old m68*-*-rtems*.
10612         (m68*-*-rtemself*): New target.
10613         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
10614         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
10615         (sparc*-*-rtemself*): New target.
10616         (sparc*-*-rtems*): Now elf not a.out.
10617         * config/i386/rtems.h: Include config/rtems.h.
10618         * config/i386/rtemself.h: Include config/rtems.h.
10619         * config/i960/rtems.h: Include config/rtems.h.
10620         * config/m68k/rtems.h: Include config/rtems.h.
10621         * config/m68k/rtemself.h: Include config/rtems.h.
10622         * config/mips/rtems64.h: Include config/rtems.h.
10623         * config/pa/rtems.h: Include config/rtems.h.
10624         * config/rs6000/rtems.h: Include config/rtems.h.
10625         * config/sh/rtems.h: Include config/rtems.h.
10626         * config/sh/rtemself.h: Include config/rtems.h.
10627         * config/sparc/rtems.h: Include config/rtems.h.
10628         * config/sparc/rtemself.h: Include config/rtems.h
10629
10630 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
10631
10632         * final.c (shorten_branches): Correctly compute length of
10633         asms without operands.
10634
10635 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
10636
10637         * configure.in: Add pj target.
10638         * configure: Regenerate.
10639         * config/pj: New directory.
10640         * config/pj/lib1funcs.S: New file.
10641         * config/pj/linux.h: New file.
10642         * config/pj/pj.c: New file.
10643         * config/pj/pj.md: New file.
10644         * config/pj/pjl.h: New file.
10645         * config/pj/t-pj: New file.
10646         * config/pj/xm-pj.h: New file
10647
10648 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
10649
10650         * toplev.c (rest_of_compilation): Run shorten-branches before
10651         reg-stack for now.
10652
10653 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10654
10655         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
10656         macros so that they're consistent with their names.
10657         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
10658         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
10659
10660 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10661
10662         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
10663         modified inadvertently.
10664
10665 2000-01-04  Joel Sherrill <joel@OARcorp.com>
10666
10667         * configure.in (v850*-*-rtems*): New target.
10668         * configure: Regenerate.
10669         * config/v850/rtems.h: New file.
10670
10671 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
10672
10673         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
10674         (__gthread_key_create): Likewise.
10675         (__gthread_key_dtor):  Likewise.
10676         (__gthread_once): Fix logic.
10677         (__gthread_key_delete): Cast away constness.
10678
10679         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
10680         * invoke.texi: Document.
10681         * i386/mingw32.h (CPP_SPEC): Use.
10682         (LIBGCC_SPEC): Likewise.
10683         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
10684
10685 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
10686
10687         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
10688         (HANDLE_PRAGMA_PACK): Undefine.
10689         (SLOW_UNALIGNED_ACCESS): Define.
10690
10691 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
10692
10693         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
10694         to default definition.
10695         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
10696         (store_fixed_bit_field): Call macro with word_mode and alignment.
10697         (extract_bit_field): Call macro with relevant mode and alignment.
10698         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
10699         to default definition.
10700         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
10701         and alignment.
10702         (move_by_pieces_ninsns): Likewise.
10703         (clear_by_pieces): Likewise.
10704         (emit_push_insn): Likewise.
10705         (store_field): Call macro with relevant mode and alignment.
10706         (expand_expr): Likewise.
10707         (expand_expr_unaligned): Likewise.
10708
10709         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
10710         (SLOW_UNALIGNED_ACCESS): Define.
10711         (CASE_VECTOR_MODE): Always use 32-bit offsets.
10712         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
10713         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
10714         (toc_section): Likewise and .toc pseudo-op.
10715         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
10716         64-bit mode.
10717         (TEXT_SECTION_ASM_OP): Likewise.
10718         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
10719         32-bit offsets.
10720
10721         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
10722         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
10723         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
10724         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
10725         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
10726
10727 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
10728
10729         * regclass.c: Revert my Jan 4 change to loop cost computation.
10730
10731 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10732
10733         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
10734         compilation.
10735
10736 2000-01-04  Stan Cox  <scox@cygnus.com>
10737
10738         * haifa-sched.c (build_control_flow): Change unreachable simple
10739         loop test to check if current block has only one predecessor.
10740         (find_rgns): Initialize degree.  Use dest as degree index, not src.
10741
10742 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10743
10744         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
10745
10746         * calls.c (expand_call): Likewise for
10747         `old_stack_arg_under_construction'.
10748
10749         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
10750
10751         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
10752         `save_constant'.
10753
10754         * gcc.c (execute): Likewise for `ut' and `st'.
10755
10756         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
10757
10758         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
10759
10760         * jump.c (jump_optimize_1): Likewise for `temp2'.
10761
10762         * local-alloc.c (block_alloc): Likewise for `r1'.
10763
10764         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
10765
10766         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
10767         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
10768
10769         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
10770         and `set2'.
10771
10772         * reload.c (find_reloads): Likewise for `goal_alternative_number'
10773         and `goal_earlyclobber'.
10774
10775         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
10776
10777         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
10778
10779         * stupid.c (stupid_life_analysis): Likewise for `chain'.
10780
10781         * unroll.c (copy_loop_body): Likewise for `copy'.
10782
10783         * varasm.c (output_constructor): Likewise for `byte'.
10784
10785 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10786
10787         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
10788         all FP constants for constant->reg moves.
10789         (ix86_split_to_parts): Try to convert memory address into immediate
10790         when available in the constant pool.
10791         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
10792         moves.
10793         (LEGITIMATE_CONSTANT_P): Return 1.
10794         * i386.md (pushsf): New splitter to convert constant pool memory
10795         reference to immediate.
10796         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
10797         reload.
10798
10799 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
10800
10801         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
10802         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
10803         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
10804         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
10805         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
10806
10807 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
10808
10809         * ginclude/stdbool.h:  Support compilation as C++.
10810
10811 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10812
10813         * fold-const.c (make_range): Don't try to reverse an unbounded range.
10814
10815 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
10816
10817         * regclass.c (regclass): Properly compute loop_cost.  Adjust
10818         comments.
10819
10820         * regclass.c: Fix minor whitespace problems.
10821
10822 2000-01-03  Anthony Green  <green@cygnus.com>
10823
10824         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
10825         Restore the pic register if required.
10826
10827 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
10828
10829         * c-common.c (format_char_info): Update comment.
10830         (check_format_info): Recognize 'z' modifier in the same way 'Z'
10831         was recognized.  Emit warning for formats new in ISO C99 only
10832         if flag_isoc9x is not set.
10833
10834 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
10835
10836         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
10837
10838 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10839
10840         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
10841         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
10842         (make_compound_operation): Choose cheaper alternative between
10843         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
10844
10845         * regclass.c (op_costs): Remove global variable.
10846         (record_reg_classes): New parameter "op_costs" and "reg_pref".
10847         (record_operand_costs): Break out from ...
10848         (scan_one_insn): ... here.
10849         (dump_regclass): Make dumps nicer.
10850         (regclass): Dump preferrences choosed and changes done during passes.
10851
10852 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
10853
10854         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
10855
10856 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
10857
10858         * config/sparc/sparc.c (gen_df_reg): New function.
10859         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
10860         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
10861         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
10862         movtf_cc_reg_sp64+1): Use it.
10863
10864 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10865
10866         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
10867         copied LABEL_DECLs.
10868
10869 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10870
10871         * config/i386/i386.c (ix86_expand_unary_operator): Function
10872         definition made void.
10873         (ix86_expand_binary_operator): Update outdated preceding comment.
10874         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
10875         prototype.
10876
10877         * config/i386/i386.c (override_options): Fix option-name typo.
10878
10879 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10880
10881         * system.h (CEIL): Define.
10882         * builtins.c (CEIL): Remove.
10883         * expmed.c (CEIL): Likewise.
10884         * expr.c (CEIL): Likewise.
10885         * stor-layout.c (CEIL): Likewise.
10886
10887 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10888
10889         * expr.c (store_constructor_field): Fix typo introduced with last
10890         gcc2 merge.
10891
10892 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
10893
10894         * tree.h (BINFO_N_BASETYPES): New macro.
10895
10896 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
10897
10898         * expmed.c (emit_store_flag): Prevent losing a pending stack
10899         adjust the same way we prevent losing queued increments.
10900
10901 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10902
10903         * function.c (update_temp_slot_address): Handle case where sum of
10904         temporary address plus offset in register is a valid address.
10905
10906 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
10907
10908         * genrecog.c (change_state) Corrected typo.
10909
10910 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10911
10912         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
10913         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
10914         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
10915
10916 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10917
10918         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
10919         case, expand GT comparisons correctly.  Fix a comment before this
10920         part of the code.
10921
10922 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
10923
10924         * dwarfout.c: Include "frame.h"
10925         * dwarf2out.c: Likewise.
10926         * Makefile.in (dwarfout.o): Depend on frame.h
10927         (dwarf2out.o): Likewise.
10928
10929 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
10930
10931         Restore i386 binary compatibility in Dwarf EH info.
10932         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
10933         value of FIRST_PSEUDO_REGISTER.
10934         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
10935         (struct frame_state): Use DWARF_FRAME_REGISTERS.
10936         * dwarfout.c (output_reg_number): Ditto.
10937         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
10938         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
10939
10940 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
10941
10942         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
10943         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
10944         (<hack>_RE_CT): not needed
10945         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
10946         rewritten to scan the file text once only
10947         "template<..." test added
10948         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
10949         (is_cxx_header): declaration added
10950         * fixinc/fixtests.c(is_cxx_header): removed
10951         (apply_fix_p_t): removed
10952         (double_slash_test): is_cxx_header is only called once now
10953         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
10954         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
10955         within the templates.
10956         The borken spelling of "broken" was fixed.
10957         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
10958         The default level depends on FIXINC_DEBUG.
10959
10960 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10961
10962         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
10963         Otherwise provide a declaration for atexit.
10964         (init_dummy): Make sure dummy call to atexit is nevertheless
10965         called with correct number of args.
10966
10967         * frame.c: Update comments referring to other files.
10968
10969         * libgcc2.c: Likewise.
10970
10971 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10972
10973         * cse.c (free_element, get_element): Remove unused prototypes.
10974
10975         * fold-const.c (extract_muldiv): Initialize variables `op0' and
10976         `op1'.
10977
10978         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
10979         `else' clauses.
10980
10981 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
10982
10983         * configure.in,configure: case arm for mn10200-*-* now sets
10984         float_format=i32 so that float.h will correctly claim "double"
10985         to be 32 bits. Ran autoconf to generate configure from .in file.
10986
10987 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
10988
10989         * pa.md (conditional zero): If op1 is a register, force it into
10990         the same register as op0.
10991
10992 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
10993
10994         * tree.h (BINFO_BASETYPES): Improve documentation.
10995
10996 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10997
10998         * configure.in (--enable-checking): Use a more portable `for'
10999         loop syntax.
11000
11001 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11002
11003         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
11004         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
11005
11006         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
11007         Delete files.
11008
11009         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
11010         Delete descriptions.
11011
11012         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
11013         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
11014         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
11015         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
11016         xm-svr4.h: Remove all instances of sys_siglist handling.
11017
11018 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
11019
11020         * config/sparc/sparc.md (cmp_zero_qi,
11021         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
11022         cmp_zero_extendqidi2_andcc_set): New patterns.
11023
11024 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
11025
11026         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
11027         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
11028         (fpgnulib.c, xfgnulib.c): Add rules.
11029         * m68k/t-mot3300-gas: Likewise.
11030
11031 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
11032
11033         * configure.in: Avoid [[ by using test and changequote.  Add
11034         changequote required by 1999-12-14 change.
11035         * configure: Rebuild.
11036
11037 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
11038
11039         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
11040
11041 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
11042
11043         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
11044         * flow.c (find_use_as_address): Likewise.
11045         * function.c (fixup_var_refs_1): Likewise.
11046         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
11047         * jump.c (invert_exp, redirect_exp): Likewise.
11048         * loop.c (replace_call_address): Likewise.
11049         (count_nonfixed_reads): Likewise.
11050         * rtlanal.c (modified_between_p): Likewise.
11051         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
11052         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
11053         * unroll.c (remap_split_bivs): Likewise.
11054
11055 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11056
11057         * diagnostic.c (v_message_with_decl): Use .* format specifier
11058         instead of building the format specifier width manually.
11059
11060         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
11061         determining whether to provide a prototype.  Remove the
11062         sys_siglist clause in the conditional.
11063
11064 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11065
11066         * fold-const.c (operand_equal_p): Use memcmp to compare string
11067         constants.
11068         Suggested by D. J. Bernstein
11069
11070 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
11071
11072         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
11073         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
11074         compiling libgcc2.
11075         * config/mips/mips.h (TARGET_64BIT): Likewise.
11076         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
11077         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
11078         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
11079         dsps.  Give routines proper names if SI/DI modes are not used.
11080         * longlong.h: Use DWunion instead of DIunion.
11081
11082 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
11083
11084         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
11085         GC_CHECKING, GC_ALWAYS_COLLECT.
11086         * configure.in: Allow --enable-checking with an argument
11087         listing check modes to enable.
11088         * config.in, configure: Rebuilt.
11089         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
11090         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
11091         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
11092         ENABLE_GC_ALWAYS_COLLECT.
11093         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
11094         throughout.
11095         * tree.h, tree.c: Change ENABLE_CHECKING to
11096         ENABLE_TREE_CHECKING throughout.
11097
11098 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11099
11100         * fold-const.c (fold_truthop): Properly check for FP RHS.
11101
11102 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
11103
11104         * toplev.h (note_deferall_of_defined_inline_function): Declare.
11105         * toplev.c (note_deferral_of_defined_inline_function): New
11106         function, split out from ...
11107         (rest_of_compilation): ... here.  Use it.
11108
11109 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11110
11111         * expr.c (store_constructor): Don't call clear_storage if size is
11112         variable.
11113
11114 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11115
11116         * Makefile.in (toplev.o): Depend on loop.h.
11117
11118         * dwarfout.c: Include tm_p.h.
11119
11120         * emit-rtl.c (restore_emit_status): Mark parameter with
11121         ATTRIBUTE_UNUSED.
11122
11123         * final.c (final_scan_insn): Likewise.
11124
11125         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
11126         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
11127         flow_depth_first_order_compute, flow_loop_pre_header_find,
11128         flow_loop_tree_node_add, flow_loops_tree_build,
11129         flow_loop_level_compute, flow_loops_level_compute,
11130         flow_loop_outside_edge_p): Add prototypes.
11131         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
11132
11133         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
11134         Mark with ATTRIBUTE_NORETURN.
11135
11136         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
11137
11138         * local-alloc.c (no_conflict_p): Likewise.
11139
11140         * loop.c (insert_bct): Hide definitions of variables with hidden
11141         usage.
11142         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
11143
11144         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
11145         with ATTRIBUTE_UNUSED.
11146         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
11147         (reg_scan): Likewise.
11148
11149         * reload.c (find_reloads): Remove unused variables `changed'.
11150
11151         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
11152         away const-ness.
11153         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
11154         Remove unused variable `insn'.
11155
11156         * toplev.c: Include loop.h.
11157         (report_file_and_line): Remove unnecessary prototype.
11158
11159         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
11160
11161         * unroll.c (biv_total_increment): Likewise.
11162
11163 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11164
11165         * reload1.c (emit_input_reload_insns): Restore old behaviour
11166         wrt. 'special' reloads.
11167
11168 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
11169
11170         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
11171         hash.h.  (cse.c): Don't depend on hashtab.h.
11172
11173         * cse.c: Don't include hashtab.h.
11174         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
11175         of dead functions.
11176         * ggc-simple.c: Don't include hash.h.
11177
11178 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
11179
11180         * dwarf2out.c (add_abstract_origin_attribute): Call
11181         gen_abstract_function on our function context.
11182
11183 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
11184
11185         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
11186
11187 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11188
11189         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
11190         case in switch.
11191
11192 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11193
11194         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
11195         constraints to "a!r".
11196
11197 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
11198
11199         * Makefile.in (calls.o): Depend on function.h.
11200         (alias.o): Likewise.
11201
11202 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
11203
11204         * reload1.c (emit_reload_insns): Break out code and variables into...
11205         (input_reload_insns, other_input_address_reload_insns,
11206         other_input_reload_insns, input_address_reload_insns,
11207         inpaddr_address_reload_insns, output_reload_insns,
11208         output_address_reload_insns, outaddr_address_reload_insns,
11209         operand_reload_insns, other_operand_reload_insns,
11210         other_output_reload_insns): ... new static variables, and...
11211         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
11212         do_output_reload): ... new functions.
11213
11214 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11215
11216         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
11217
11218 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11219
11220         * md.texi: Add c4x constraints documentation.
11221
11222 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11223
11224         * config/i386/dgux.c (struct option): Rename to
11225         lang_independent_option.
11226         (struct m_options): Add description field.
11227         (output_options): Rename option type, add sep declaration, output
11228         ix86_cpu_string and ix86_arch_string only if set.
11229         (output_file_start): Rename option type.
11230
11231 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
11232
11233         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
11234         stmp-int-hdrs.
11235         (libgcc2.a): Similarly.
11236
11237 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
11238
11239         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
11240         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
11241         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
11242
11243 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
11244
11245         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
11246         Remove redundant initialization of "frexpon" and "expon".
11247
11248 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11249
11250         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
11251
11252         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
11253         (store_constructor_field, expand_expr): Pass new arg.
11254
11255 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
11256
11257         * Makefile.in (explow.o): Depend on function.h.
11258
11259         * stor-layout.c (set_sizetype): Fix typo.
11260
11261 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
11262
11263         * function.c (cfun): Renamed from current_function.  All users
11264         changed.
11265         * function.h (cfun): Rename declaration as well.
11266
11267         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
11268         to be of type regset_head, not regset.  All users changed by adding
11269         address operator.
11270         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
11271
11272 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11273
11274         * config/c4x/rtems.h: New file.
11275
11276 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
11277
11278         * reload1.c (spill_failure): Take class of failed reload as argument
11279         and print it.  Caller changed.
11280
11281 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11282
11283         * rs6000.h (SUBTARGET_DEFAULT): New macro.
11284         (TARGET_SWITCHES): Allow subtargets to default switches.
11285         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
11286
11287 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
11288
11289         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
11290         in a main program.
11291
11292 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
11293
11294         * cccp.c (main): Define __STDC_VERSION__ as necessary.
11295         * cppinit.c (cpp_handle_option): Likewise.
11296
11297         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
11298         determine when to define.
11299
11300 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
11301
11302         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
11303         cmove with mismatched test and data modes.
11304
11305 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
11306
11307         * c-typeck.c (c_expand_start_case): Don't warn for long switch
11308         in system headers.
11309
11310 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11311
11312         * alias.c: Minor reformatting.
11313         * flow.c: Likewise.
11314         * regs.h: Likewise.
11315         * stor-layout.c: Likewise.
11316         * fold-const.c: Likewise.
11317         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
11318         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
11319         not arg itself.
11320         (size_int_wide): Cache nodes even if garbage collecting.
11321         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
11322         of SAVE_EXPR has no side effects.
11323         * cse.c: Move a comment.
11324         * tree.c: Minor reformatting.
11325         (int_size_in_bytes): Return -1 if constant overflows.
11326
11327 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11328
11329         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
11330
11331 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
11332
11333         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
11334         after any change to c-parse.in, even if objc-parse.y didn't
11335         change.  Oops.
11336
11337 1999-12-18  David S. Miller  <davem@redhat.com>
11338
11339         * toplev.c (rest_of_compilation): Restore BLOCK tree
11340         reconstruction and branch shortening changes lost in
11341         December 18th change.
11342
11343 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
11344
11345         * config/arm/linux-elf.h: Change all instances of
11346         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
11347         * config/arm/uclinux-elf.h: Likewise.
11348
11349 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
11350
11351         * toplev.c (notice, vmessage, v_message_with_file_and_line,
11352         v_message_with_decl, file_and_line_for_asm,
11353         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
11354         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
11355         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
11356         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
11357         pfatal_with_name, fatal_io_error, need_error_newline,
11358         last_error_function, last_error_tick, announce_function,
11359         default_print_error_function, print_error_function,
11360         report_error_function, fnotice, error_with_file_and_line,
11361         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
11362         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
11363         warning_with_decl, warning_for_asm, warning, pedwarn,
11364         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
11365         diagnostic.c
11366         (compile_file): Use fnotice instead of notice.  Adjust call.
11367
11368         * diagnostic.c: New file.
11369
11370         * Makefile.in (OBJS): Include diagnostic.o
11371         (diagnostic.o): Define dependence.
11372
11373 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11374
11375         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
11376         Tweak formatting.
11377
11378 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11379
11380         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
11381
11382 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
11383
11384         * fixtests.c (is_cxx_header): New fn, split out of
11385         double_slash_test.
11386         (else_endif_label): Allow "#endif // comment" in C++ headers,
11387         as determined by is_cxx_header.
11388         * fixfixes.c (else_endif_label_fix): Update comment.
11389         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
11390         a tty.
11391         * genfixes: Correct double thinko in commandline parsing.
11392         * hackshell.tpl: Generate correct sh syntax for bypass
11393         entries.
11394
11395         * inclhack.def (all): Whenever an inserted preprocessor
11396         conditional is split over multiple lines, use double
11397         backslashes in this file so the fixed header will be readable.
11398
11399         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
11400         and add bypass entry for correct version of this header.
11401         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
11402         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
11403
11404         (hpux8_bogus_inlines): New fix, split from...
11405         (ultrix_atof_param) ... here.
11406         (math_expression): Add bypass entry keyed to glibc comment
11407         indicating the problem has been dealt with; disable
11408         unnecessary sed operations; update commentary.
11409         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
11410         add select and bypass entries, simplify shell operation.
11411         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
11412
11413         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
11414          ultrix_atof_param): Add select entry.
11415         (stdio_va_list, sunos_mather_decl): Add bypass entry.
11416         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
11417         comments with the fixes they describe.
11418
11419         * c-parse.in (string action): Do not warn about ANSI string
11420         concatenation in system headers.  Affects C parser only.
11421         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
11422
11423 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
11424
11425         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
11426         compiling libgcc2 the macro depends always on arch cpp defines.
11427
11428 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
11429
11430         * loop.c (insert_loop_mem): Don't record MEMs from inside
11431         EXPR_LISTs.
11432
11433 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
11434
11435         * regclass.c (regclass): Do not use flowgraph when not optimizing.
11436
11437         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
11438         notes too, create one when replacement failed, attempt to simplify
11439         resulting notes.
11440         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
11441         or REG_EQUIV notes.
11442
11443 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
11444
11445         * crtstuff.c (__dso_handle): Declare.
11446         (__cxa_finalize): Likewise.
11447         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
11448         non-NULL.
11449
11450         * invoke.texi: Document -fuse-cxa-atexit.
11451
11452         * tree.h (ptr_type_node): Document.
11453         (const_ptr_type_node): Likewise.
11454
11455 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11456
11457         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
11458         (optimize_reg_copy_2): Likewise.
11459         (optimize_reg_copy_3): Likewise.
11460         (fixup_match_2): Likewise.
11461         (regmove_optimize): Likewise.
11462         (fixup_match_1): Liekwise.
11463
11464         * i386.md (HI to SImode promoting splitters): Rewrite.
11465         (pushsf mem peep2): New.
11466         (testhi to andhi peep2): Remove.
11467         * i386.h (x86_promote_QImode): New.
11468         (TARGET_PROMOTE_QImode): New.
11469         (PREDICATE_CODES): Add promotable_binary_operator.
11470         * i386.c (x86_promote_QImode0: New.
11471         (promotable_binary_operator): New.
11472         * i386-protos.h (promotable_binary_operator): New.
11473
11474         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
11475         condition.
11476         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
11477
11478 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
11479
11480         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
11481         * function.c (insert_block_after_note): Remove.
11482         (retrofit_block): Likewise.
11483         (identify_blocks): Fix indentation.
11484         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
11485         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
11486         * function.h (insert_block_after_note): Remove prototype.
11487         (retrofit_block): Likewise.
11488         * integrate.c (expand_inline_function): Don't call
11489         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
11490         just expand_start_bindings.  Use the block_map to remap old
11491         NOTE_BLOCKs to new ones.
11492         (integrate_decl_tree): Keep track of remapped blocks.
11493         * integrate.h (struct inline_remap): Add block_map.
11494         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
11495         NOTE_BLOCK on the notes.
11496         (expand_start_bindings): Rename to ...
11497         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
11498         (expand_end_bindings): Set NOTE_BLOCK.
11499         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
11500         reconstruct the BLOCK tree.
11501         * tree.h (expand_start_bindings): Macroize.  Call ...
11502         (expand_start_bindings_and_block): New function.
11503
11504 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
11505
11506         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
11507         to match the format.
11508
11509 1999-12-16  David S. Miller  <davem@redhat.com>
11510
11511         * expr.c (emit_move_insn_1): Only emit clobbers if one of
11512         the outputs is a SUBREG.
11513         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
11514         change.
11515
11516         * config/sparc/sparc.c (epilogue_renumber): Add default case
11517         to switch stmt.
11518
11519 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11520
11521         * toplev.c (rest_of_compilation): Run branch shortening after
11522         reg-stack.
11523
11524         * regclass.c (loop_depth): Remove
11525         (scan_one_insn): Do not handle LOOP_NOTE insns.
11526         (regclass): Go through basic blocks and set loop_cost
11527
11528 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
11529
11530         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
11531
11532 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11533
11534         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
11535         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
11536         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
11537
11538 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
11539
11540         * loop.c (insert_loop_mem): Ignore memory clobbers.
11541
11542         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
11543         to (OP A B).
11544
11545 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
11546
11547         * profile.c: Remove redundant #include "output.h".
11548
11549         * h8300.md (HImode preinc peephole): Fix typo.
11550
11551 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11552
11553         * function.c (retrofit_block): Abort if we don't find a suitable insn.
11554         (insert_block_after_note): Abort if we don't have a previous block.
11555         Remove FN parameter.
11556         * function.h: Adjust.
11557
11558 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
11559
11560         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
11561         argument more than once.
11562
11563 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11564
11565         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
11566
11567 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
11568
11569         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
11570
11571 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11572
11573         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
11574         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
11575         update stack_alignment_needed.
11576         (prepare_function_start): Initialize stack_alignment_needed
11577         * function.h (struct function): Add field stack_alignment_needed.
11578
11579 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11580
11581         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
11582         Handle live_throughout / dead_or_set instead of live_before /
11583         live_after.
11584         (save_call_clobbered_regs): Get register livenessinformation from
11585         chain->live_throughout.
11586         (add_stored_regs): New function.
11587         (insert_restore, insert_save): Add restored / saved registers to
11588         dead_or_set.
11589         * global.c (reg_dies): New parameter chain.
11590         (reg_becomes_live): Third parameter is regs_set now.
11591         Changed all callers.
11592         (reg_dies): New parameter chain.  Changed all callers.
11593         (build_insn_chain): Set live_throughout instead of
11594         live_before / live_after.
11595         * reload.h (struct insn_chain): Replace members live_before /
11596         live_after with live_throughout / dead_or_set.
11597         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
11598         instead of live_before / live_after.
11599         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
11600         (order_regs_for_reload, find_reg, finish_spills): Likewise.
11601         (choose_reload_regs_init): Likewise.
11602         * stupid.c (current_chain, find_clobbered_regs): Delete.
11603         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
11604         instead of chain->live_before / chain->live_after.
11605         (mark_hard_ref): New function.
11606         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
11607
11608 1999-12-15  David S. Miller  <davem@redhat.com>
11609
11610         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
11611
11612 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11613
11614         * flow.c (calculate_loop_depth): Make global, remove prototype,
11615         rewrite to use new loop infrastructure.
11616         (find_basic_block): Remove calculate_loop_depth call.
11617         * toplev.c (rest_of_compilation): Call find_basic_block.
11618         * output.h (calculate_loop_depth): Declare.
11619
11620         * flow.c (dump_flow_info): Dump loop_depth.
11621         (flow_loops_nodes_find): Increase loop_depth for basic block in the
11622         body.
11623         (flow_loops_find): Initialize the loop_depth for each basic block.
11624
11625 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11626
11627         * tree.c (decl_function_context): Handle virtual functions.
11628
11629         * tlink.c (scan_linker_output): Don't look in demangled name when
11630         looking for linker output keywords.
11631
11632         * dwarfout.c (output_type): We can defer namespace-scope classes.
11633
11634 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
11635
11636         * regclass.c (record_reg_classes): Update comment for merging
11637         register class preferences in reg->reg copies.  Tighten conditions
11638         for merging register class preferences in reg->reg copies.
11639
11640 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
11641
11642         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
11643
11644 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
11645
11646         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
11647         (INIT_SECTION_ASM_OP): Delete.
11648         (FINI_SECTION_ASM_OP): Delete.
11649         (STARTFILE_SPEC): Define to hold just crtbegin.o.
11650
11651 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
11652
11653         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
11654         the abstract origin wasn't emitted.
11655
11656         * dwarf2out.c (class_scope_p): New fn.
11657         (gen_subprogram_die): Use it.
11658         (gen_variable_die): Use it.  Tweak logic.
11659         (gen_struct_or_union_type_die): Check context_die to determine
11660         if we're function-local.
11661         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
11662
11663 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11664
11665         * loop.c (check_dbra_loop): Can't reverse a biv that has
11666         maybe_multiple set.
11667
11668 1999-12-14  Nick Clifton  <nickc@cygnus.com>
11669
11670         * config/arm/arm.c: Add support for -mcpu=arm720 command line
11671         switch.
11672
11673 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11674
11675         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
11676         for givs made from biv increments.
11677
11678 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
11679
11680         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
11681         * alpha.c (override_options): Recognize -mcpu=ev67.
11682         * alpha.h (CPP_CPU_EV67_SPEC): New.
11683         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
11684         (EXTRA_SPECS): Update.
11685
11686 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
11687
11688         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
11689         appropriate for -lang-c89 and -std=*.
11690         * cppinit.c (cpp_handle_option): Likewise.
11691         (new_pending_define): New, split out from cpp_handle_option.
11692         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
11693         or enable trigraphs for -ansi/-std=*.
11694
11695         * ginclude/stdarg.h (__va_copy): New.
11696         (va_copy): Don't define for C89.
11697
11698 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
11699
11700         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
11701         for long long multiply-accumulate.
11702
11703 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11704
11705         * regclass.c (scan_one_insn): Set loop_cost to 1 when
11706         optimizing for size.
11707
11708 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11709
11710         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
11711         if something changed.  Back out that part of yesterday's changes.
11712
11713         * loop.c (loop_max_reg): New static variable.
11714         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
11715         max_reg_num.
11716         (scan_loop): Call reg_scan_update whenever we may have added new
11717         registers, and update loop_max_reg.
11718
11719 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11720
11721         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
11722         when source does not die.
11723
11724         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
11725
11726 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
11727
11728         * config/sparc/linux64.h (TARGET_LIVE_G0,
11729         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
11730         variants on Linux.
11731         * config/sparc/linux.h (TARGET_LIVE_G0,
11732         TARGET_BROKEN_SAVERESTORE): Likewise.
11733         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
11734         TARGET_BROKEN_SAVERESTORE): Likewise.
11735
11736         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
11737         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
11738         not %g2.
11739         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
11740         as sparc64 block profiling register.
11741         * config/sparc/sparc.c (sparc_override_options): Allow block
11742         profiling with -m32.
11743         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
11744         profiling register.
11745         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
11746         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
11747         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
11748
11749         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
11750         for sparc64.
11751         * config/sparc/sparc.h: Likewise.
11752         * config/sparc/xm-sysv4-64.h: Likewise.
11753         * config/float-sparc.h: Likewise.
11754         * glimits.h: Likewise.
11755         * longlong.h: Likewise.
11756
11757         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
11758         (ASM_IDENTIFY_GCC): Remove.
11759
11760 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11761
11762         * combine.c (combine_simplify_rtx): Don't make shared rtl.
11763         (simplify_logical): Likewise.
11764
11765 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
11766
11767         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
11768         * cppfiles.c (INO_T_EQ): Likewise.
11769
11770 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
11771
11772         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
11773         * i386/mingw32.h (LIB_SPEC): Likewise.
11774         (STARTFILE_SPEC): Likewise.
11775         * i386/uwin.h (LIB_SPEC): Likewise.
11776         (STARTFILE_SPEC): Likewise.
11777
11778         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
11779         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
11780
11781 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
11782
11783         * combine.c (combine_simplify_rtx): Fix order of checks for
11784         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
11785
11786 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
11787
11788         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
11789         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
11790
11791 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
11792
11793         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
11794         defined.
11795         * regclass.c (inv_reg_alloc_order): New array.
11796         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
11797
11798         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
11799         counted_for_groups, counted_for_nongroups.  Add fields rld and
11800         n_reloads.
11801         * reload.c (push_secondary_reload): Don't set nongroup field of
11802         new reloads.
11803         (push_reload): Likewise.
11804         (find_reloads): Delete code to compute nongroup fields.
11805         * reload1.c (reload_insn_firstobj): New static variable.
11806         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
11807         users changed.
11808         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
11809         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
11810         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
11811         functions.
11812         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
11813         functions.
11814         (struct hard_reg_n_uses): Deleted.
11815         (potential_reload_regs): Deleted.
11816         (init_reload): Initialize spilled_pseudos and pseudos_counted.
11817         (reload): Don't try to allocate reload registers if we already know
11818         we have to make another pass.  Call select_reload_regs.  Free memory
11819         starting with reload_firstobj when starting another pass.
11820         Don't allocate spilled_pseudos.
11821         (calculate_needs_all_insns): Call copy_reloads for an insn that
11822         needs reloads; don't call calculate_needs.
11823         (spill_cost): New static array.
11824         (used_spill_regs_local): New static variable.
11825         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
11826         to compute potential_reload_regs.
11827         (find_reload_regs): Completely rewritten to use find_reg.
11828         (allocate_reload_reg): Don't test counted_for_groups or
11829         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
11830         all cllers changed.
11831         (choose_reload_regs): Add fallback code that uses the existing
11832         register allocation from find_reload_regs.
11833
11834 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
11835
11836         * flow.c (create_edge_list): Cast xmalloc return value.
11837
11838 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
11839
11840         * doprnt.c: Remove incorrect comment closure.
11841
11842         * cse.c: Fix a few minor whitespace goofs.
11843
11844 1999-12-13  Don Bowman  <don@pixstream.com>
11845
11846         * mips/vxworks.h: Fix problem with comment termination.
11847         (EXTRA_SECTIONS): Add in_sbss.
11848         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
11849
11850 1999-12-12  David S. Miller  <davem@redhat.com>
11851
11852         * cse.c (struct cse_reg_info): Add hash_next member,
11853         reorder rest of struct for better packing on 64-bit
11854         hosts.
11855         (cse_reg_info_tree): Kill.
11856         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
11857         REGHASH_FN): New custom pow2 hash mechanism.
11858         (NBUCKETS): Kill.
11859         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
11860         use a pow2 hash table.
11861         (get_cse_reg_info): Rework to use new REGHASH.
11862         (new_basic_block): Likewise, use HASH_SIZE, and inline
11863         free_element call.
11864         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
11865         and inline free_element call.
11866         (lookup_as_function, insert, flush_hash_table, invalidate,
11867         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
11868         invalidate_for_call, use_related_value, find_comparison_args,
11869         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
11870         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
11871         get_element): Kill.
11872
11873 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
11874
11875         * cse.c (cse_basic_block): Free qty_table consistently.
11876
11877 1999-12-12  David S. Miller  <davem@redhat.com>
11878             Jakub Jelinek    <jakub@redhat.com>
11879
11880         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
11881         SUBREGs by hand, gen the appropriate hard reg directly.
11882         (movtf reg/mem split): Likewise and alter_subreg on destination
11883         if necessary.
11884         (movtf mem/reg split): Similarly.
11885         (movdf_cc_sp64): Rename from hidden pattern.
11886         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
11887         (movtf_cc_sp64, following split): New pattern and splitter.
11888         (movdf_cc_reg_sp64): Rename from hidden pattern.
11889         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
11890         TARGET_HARD_QUAD.
11891         (movtf_cc_reg_sp64, following split): New pattern and splitter.
11892
11893 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
11894
11895         * loop.c (load_mems): Don't hoist written floating point mem
11896         if -ffloat-store.
11897
11898 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
11899
11900         * except.h (struct eh_queue): Add `next' pointer.
11901         (struct eh_status): Make x_ehqueue a pointer.
11902         (push_ehqueue):  Declare.
11903         (pop_ehqueue): Likewise.
11904         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
11905         pointer.
11906         (expand_fixup_region_end): Likewise.
11907         (expand_leftover_cleanups): Likewise.
11908         (push_ehqueue): Define.
11909         (pop_ehqueue): Likewise.
11910         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
11911         than doing it inline.
11912         (expand_start_all_catch):  Adjust now that ehqueue is a
11913         pointer.
11914         (mark_eh_queue): Mark all level of the queue.
11915         (mark_eh_status):  Adjust now that ehqueue is a
11916         pointer.
11917         (init_eh_for_function): Allocate ehqueue.
11918         (free_eh_status): Free it.
11919         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
11920         expansion for a fixup.
11921
11922 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11923
11924         * gthr-single.h (__gthread_active_p): Add prototype arguments.
11925
11926         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
11927         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
11928         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
11929         function_ptr, getpagesize, __enable_execute_stack,
11930         __enable_execute_stack, __clear_insn_cache,
11931         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
11932         _cleanup, _exit, __default_terminate, __terminate_func,
11933         __terminate, __empty, __throw, new_eh_context,
11934         eh_context_initialize, eh_context_static, eh_context_specific,
11935         get_eh_context, __get_eh_context, __get_eh_info,
11936         init_reg_size_table, eh_threads_initialize,
11937         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
11938         __unwinding_cleanup, throw_helper, __throw, __rethrow,
11939         __pure_virtual): Add prototype arguments.
11940         (__bb_exit_func): Cast a sizeof to long when comparing against one.
11941         Cast a signed value to unsigned long when comparing against one.
11942         (new_eh_context): Wrap in _GTHREADS macro.
11943         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
11944         declaration.
11945         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
11946         (throw_helper): Initialize variables `handler_p' and `pc_p'.
11947
11948 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11949
11950         * combine.c (record_promoted_value): Remove unused variable
11951         `links2'.
11952
11953         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
11954
11955         * global.c (record_conflicts): Likewise for `j'.
11956
11957         * genoutput.c (output_insn_data): Don't unnecessarily cast away
11958         const-ness.
11959
11960 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11961
11962         * i386-protos.h (output_387_binary_op, output_fix_trunc,
11963         output_fp_compare): Constify a char*.
11964
11965         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
11966         static prototypes.
11967         (override_options, ix86_comp_type_attributes, print_operand,
11968         output_387_binary_op, output_fix_trunc, output_fp_compare):
11969         Constify a char*.
11970         (ix86_sched_reorder): Mark parameter `clock_var' with
11971         ATTRIBUTE_UNUSED.
11972
11973         * i386.h (DEBUG_PRINT_REG): Constify a char*.
11974
11975 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
11976
11977         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
11978         operand, for use in the Java front-end.
11979
11980 1999-12-10  Ben Collins  <bcollins@debian.org>
11981
11982         * configure.in: Fix typo for "-64" in 64bit as check.
11983         * configure: Rebuilt.
11984
11985 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
11986
11987         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
11988         appropriate.
11989
11990 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11991
11992         * c-parse.in (string): With -Wtraditional, warn if ANSI string
11993         concatenation is utilized.
11994
11995         * invoke.texi (-Wtraditional): Document it.
11996
11997 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11998
11999         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
12000         Cast a ptrdiff_t to long and pass it to printf with %ld.
12001
12002 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
12003
12004         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
12005         68881, we have no 68881 registers at all.
12006         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
12007         value in a 68881 register if it is available.
12008
12009 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
12010
12011         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
12012         for long long multiply-accumulate.
12013
12014 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
12015
12016         * loop.c (insert_loop_mem): Undo last change.
12017
12018 1999-12-10  David S. Miller  <davem@redhat.com>
12019
12020         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
12021         New functions.
12022         * config/sparc/sparc-protos.h: Add them.
12023         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
12024         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
12025         constraints which use those helpers.
12026         (EXTRA_CONSTRAINT): Use this new macro.
12027         * md.texi: Update sparc target constraints documentation.
12028         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
12029         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
12030         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
12031         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
12032         (movsf high/lo_sum split): Rework for new patterns.
12033         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
12034
12035 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
12036
12037         * c-common.c (c_common_nodes_and_builtins):
12038         Create __builtin_ptrdiff_t and __builtin_size_t.
12039
12040 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
12041
12042         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
12043
12044 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12045
12046         * regclass.c (globalize_reg): Re-instate test that allows
12047         fixed registers to be declared as a variable even after functions
12048         are defined.
12049
12050 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12051
12052         * i386.md (cpu attribute): Add "athlon".
12053         (athlon_decode): New attribute.
12054         (Athlon scheduling units definitions): New.
12055         (fcmp and shld patterns): Set athlon_decode to "vector".
12056         * i386.c (athlon_cost): New.
12057         (m_ATHLON): New.
12058         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
12059         x86_use_sahf): Set for Athlon.
12060         (x86_use_fiop): Unset for Athlon.
12061         (override_options): Define Athlon alignments and "athlon" name.
12062         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
12063         * i386.h (TARGET_ATHLON): New.
12064         (enum processor_type): Add PROCESSOR_ATHLON.
12065         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
12066         for CPU_DEFAULT==5
12067         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
12068
12069 1999-12-09  Andreas Jaeger  <aj@suse.de>
12070
12071         * loop.c (record_biv): Declare parameter as int.
12072
12073         * config/i386/i386-protos.h: Declare long_memory_operand.
12074
12075 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
12076
12077         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
12078         EXPR_WITH_FILE_LOCATION.
12079
12080 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
12081
12082         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
12083         in expander.
12084
12085         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
12086
12087         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
12088         updating code.
12089
12090 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
12091
12092         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
12093         default on linux64 again.
12094         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
12095         models for multilibing.
12096         * genmultilib: Accept | as alternative separator within a set in
12097         MULTILIB_OPTIONS.
12098
12099         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
12100
12101         * calls.c (precompute_arguments): Make sure initial_value contains
12102         value pseudo which CSE expects.
12103         * cse.c (struct set): New entry orig_src.
12104         (cse_insn): Set it early on entry, use it for libcall EQUIV note
12105         replacement.
12106
12107 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
12108
12109         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
12110
12111 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
12112
12113         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
12114
12115 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
12116
12117         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
12118         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
12119
12120         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
12121         if TARGET_ARCH32.
12122
12123         * longlong.h: Merge in changes from glibc.
12124         Also don't clobber %g2 register in 32bit SPARC assembly, so that
12125         -mno-app-regs libgcc can be compiled.
12126         * libgcc2.c: Add defines so that the updated longlong.h
12127         can be used in libgcc2.a. Also, make sure on most architectures
12128         (at least on all which have optimized code in longlong.h defined
12129         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
12130
12131 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12132
12133         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
12134         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
12135         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
12136         is GNU ld.
12137         * configure: Rebuilt.
12138
12139 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
12140
12141         * alpha.c (secondary_reload_class): For !BWX, sub-simode
12142         outputs require a register.
12143
12144 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
12145
12146         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
12147         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
12148         functions like dptoul will be resolved.
12149         (libgcc2.a): Make sure that the object files from DPBIT are named
12150         differently (prefix `_dp') from those that would be coming from
12151         FPBIT.
12152
12153 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
12154
12155         * configure.in: When target is sparc* and tm_file contains 64,
12156         test for 64bit support in assembler.  If not supported, remove
12157         sparc/t-sol2-64 from target-dependent Makefile fragments.
12158         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
12159         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
12160         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
12161         * acconfig.h (AS_SPARC64_FLAG): Added.
12162         * configure, config.in: Rebuilt.
12163         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
12164         support.  Use AS_SPARC64_FLAG.
12165
12166 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
12167
12168         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
12169         suitable for holding OFmode values so that gcc works with complex
12170         quad long doubles.
12171         (hard_64bit_mode_classes): Likewise.
12172
12173         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
12174         so that it is actually matched.
12175         (sethi_di_medlow): Likewise.
12176
12177         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
12178         as legitimate constant if -mvis.
12179         * config/sparc/sparc.md (movtf): Likewise.
12180         (clear_sf): Use const_double_operand.
12181         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
12182
12183         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
12184         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
12185         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
12186         routines, _Qp_* cannot be handled like that now.
12187         (INIT_TARGET_OPTABS): Likewise.
12188         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
12189         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
12190         sparc_emit_float_lib_cmp if ARCH64 and soft float.
12191         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
12192         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
12193         divtf3, sqrttf3): New expanders.
12194         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
12195         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
12196         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
12197         non-_hq patterns.
12198
12199         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
12200         * configure: Rebuilt.
12201         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
12202         -mcpu is given and we're doing 64bit compiles.
12203
12204 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
12205
12206         * loop.h (struct induction): Add multi_insn_incr.
12207         * loop.c (basic_induction_var): New multi_insn_incr argument.
12208         Set it if we search back through previous insns for the biv.
12209         (record_biv): New multi_insn_incr argument; fill in struct induction.
12210         (strength_reduce): Discard an iv with multiple bivs, any of
12211         which require multiple insns to increment.
12212
12213 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12214
12215         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
12216         documentation.
12217
12218 1999-12-06  David S. Miller  <davem@redhat.com>
12219
12220         * combine.c (check_promoted_subreg): Do not conditionalize this upon
12221         PROMOTE_FUNCTION_RETURN.
12222
12223 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
12224
12225         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
12226         and handle REG_UNUSED note on insn.
12227
12228         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
12229         inner_mask instead of mask.
12230
12231 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
12232
12233         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
12234         zero if there was an error.
12235
12236 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
12237
12238         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
12239         output string.
12240
12241         * longlong.h: Fix clobbers in SPARC asm statements.
12242
12243         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
12244         valid sethi operations when TARGET_ARCH64.
12245
12246         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
12247         always use move_by_pieces to avoid infinite recursion.
12248         (restore_fixed_argument_area): Likewise.
12249
12250         * combine.c (check_promoted_subreg, record_promoted_value): New
12251         functions.
12252         (combine_instructions): Use them to retain nonzero and sign bit
12253         information after SUBREGs are eliminated by optimizations in
12254         this pass if PROMOTE_FUNCTION_RETURN.
12255
12256         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
12257         .register declaration. Don't use variables with __ prefixes.
12258
12259 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12260
12261         * fold-const.c (optimize_bit_field_compare): Only use one mode
12262         for both RHS and LHS in non-constant case.
12263
12264 1999-12-06  Nathan Sidwell  <nathan@acm.org>
12265
12266         * frame.c (start_fde_sort): Only allocate erratic array, if
12267         linear one was allocated. Return allocated flag.
12268         (fde_insert): Only insert, if there's a valid array.
12269         (fde_end_sort): Split, sort and merge if linear and erratic
12270         arrays exist, else just sort linear one.
12271         (search_fdes): New function. Linear search through original fde
12272         structure.
12273         (frame_init): Permit multiple initializations. Cope with
12274         memory shortages.
12275         (find_fde): Fallback on linear search, if failed to sort array.
12276         (__deregister_frame_info): Only free sorted array, if we
12277         allocated it.
12278
12279 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
12280
12281         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
12282
12283 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
12284
12285         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
12286
12287 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
12288
12289         * tree.h (special_function_p): Declare.
12290         * calls.c (special_function_p): Make it global.  Don't take `name'
12291         as a parameter.  Fix typo in 1999-11-28 change.
12292         (expand_cal): Adjust.
12293
12294 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
12295
12296         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
12297         * tree.h (EXPR_WFL_FILENAME): Define in terms of
12298         EXPR_WFL_FILENAME_NODE.
12299         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
12300         the TREE_CHAIN.
12301         * print-tree.c (print_note): Print TREE_PRIVATE and
12302         TREE_PROTECTED.
12303
12304         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
12305         the original die cannot be found.
12306
12307         * varray.h (varray_head_tag): Add elements_used.
12308         (VARRAY_PUSH): New macro.
12309         (VARRAY_POP): Likewise.
12310         (VARRAY_TOP): Likewise.
12311         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
12312         types.
12313         * varray.c (varray_init): Initialize elements_used.
12314         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
12315         (INTEGRATE_H): New variable.
12316         (integrate.o): Depend on INTEGRATE_H.
12317         (unroll.o): Likewise.
12318
12319         * function.h (insert_block_after_note): Declare.
12320         * function.c (insert_block_after_note): Split out from ...
12321         (retrofit_block): ... here.
12322
12323         * stmt.c (expand_fixup): Fix typo in comment.
12324
12325 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12326
12327         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
12328         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
12329         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
12330         (regmove_optimize, fixup_match_1): Likewise.
12331
12332 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12333
12334         * flow.c (flow_loops_dump): Add missing argument when calling
12335         flow_loop_nested_p.
12336
12337 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
12338             Greg McGary  <gkm@gnu.org>
12339
12340         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
12341         (init_attributes): Add A_NO_LIMIT_STACK.
12342         (decl_attributes): Handle A_NO_LIMIT_STACK.
12343         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
12344         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
12345         Handle stack bounds checking.
12346         * flags.h (flag_stack_check): Use the word 'probe' rather than
12347         'check', because the flag doesn't actually cause any checking to
12348         be done.
12349         * function.c (expand_function_start): Set
12350         current_function_limit_stack.
12351         * function.h (struct function): Add limit_stack.
12352         (current_function_limit_stack): Define.
12353         * invoke.texi (Code Gen Options): Document new options.
12354         * rtl.h: Declare stack_limit_rtx.
12355         * toplev.c (stack_limit_rtx): New variable.
12356         (decode_f_option): Handle new options -fstack-limit-register=REG,
12357         -fstack-limit-symbol=IDENT, -fno-stack-limit.
12358         (main): Add stack_limit_rtx as GC root.
12359         * tree.h (DECL_NO_LIMIT_STACK): New macro.
12360         (struct tree_decl): New member no_limit_stack.
12361
12362         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
12363         stack_limit_rtx.
12364         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
12365         (conditional_trap+1): Get new mnemonic correct.
12366         (conditional_trap+2): New pattern for DImode traps.
12367
12368         * config/m68k/m68k.c (output_function_prologue): Handle
12369         stack_limit_rtx.
12370         * config/m68k/m68k.md (trap): New insn.
12371         (conditional_trap): New insn.
12372         * md.texi (Standard Names): Document `trap' and
12373         `conditional_trap'.
12374         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
12375         so a cc0 setter doesn't get emitted at some random place in the
12376         function.
12377
12378         * config/i960/i960.md (trap): New insn.
12379         (conditional_trap): New expander.
12380         (conditional_trap+1, conditional_trap+2): New insns for signed
12381         and unsigned cases.
12382         * config/i960/i960.c (i960_function_prologue): Use
12383         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
12384
12385 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
12386                           Geoffrey Keating  <geoffk@cygnus.com>
12387
12388         * flags.h (warn_padded, warn_packed): Add global var decls.
12389         * toplev.c (warn_padded, warn_packed): Add global var defns.
12390         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
12391         * stor-layout.c (layout_record): Add local variable `type'
12392         to hold often-used TREE_TYPE (field).  Add local variable
12393         `unpacked_align' to hold alignment that would be in force
12394         if no `packed' attribute were present.  Warn if `packed' attribute
12395         is unnecessary, or even harmful.  Warn when gcc inserts padding
12396         to satisfy alignment requirements of members.  Use NULL_TREE
12397         when checking whether var_size is set.
12398         * invoke.texi: Document new flags.
12399
12400 1999-12-03  Nathan Sidwell  <nathan@acm.org>
12401
12402         * frame.c (fde_split): Reimplement to avoid variable sized array.
12403
12404 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12405
12406         * combine.c (try_combine): Before fixing up LOG_LINKS for the
12407         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
12408
12409 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
12410
12411         * invoke.texi: Document the mips option -mno-crt0
12412
12413 1999-12-02  Mike Karr  <mkarr@mathworks.com>
12414
12415         * cccp.c (argdata): Added free_ptr member.
12416         (macroexpand): Initialize free_ptr of each argument. When an
12417         argument's buffers are freed, if the argument's free_ptr corresponds
12418         to a buffer on the input stack, then return the free_ptr to that stack
12419         frame, otherwise, free it.
12420         (macarg): If an argument begins and ends on the same input stack level,
12421         then transfer the free_ptr of that buffer to the argument in case
12422         the stack is popped during the processing of a subsequent argument.
12423
12424 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
12425
12426         * loop.c (note_reg_stored): New function.
12427         (struct note_reg_stored_arg): New structure.
12428         (try_copy_prop): Change to be more conservative; only replace within
12429         one extended basic block and stop replacing if a store to the
12430         replacement reg is seen.
12431
12432 1999-12-02  Nick Clifton  <nickc@cygnus.com>
12433
12434         * config/fp-bit.c: Initialise all fields of the NAN
12435         constants.
12436
12437         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
12438         to HANDLE_PRAGMA.
12439
12440 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
12441
12442         * i386.md (extend?f?f2): Force the input into a register, not
12443         the output.
12444
12445 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
12446
12447         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
12448         regclass' sake.
12449         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
12450         alternative because setting up 64bit constant is usually costly,
12451         especially when reload is in progress or completed.
12452         (movdf_const_intreg_sp64): Likewise.
12453         (movdf_const_intreg split): Fix building up constants when
12454         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
12455
12456 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
12457
12458         * combine.c (if_then_else_cond): Use const_true_rtx instead of
12459         const1_rtx for return values in EQ/NE comparison against (const_int 0)
12460         case.
12461
12462         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
12463         (asm_file_start): Emit .am33 into assembly file when compiling for
12464         the AM33.
12465         (print_operand_address): Handle POST_INC addresses.
12466         (can_use_return_insn, initial_offset): Check AM33 registers too.
12467         (expand_prologue): Check & save AM33 registers too.
12468         (expand_epilogue): Similarly.
12469         (secondary_reload_class): Handle AM33 specific secondary reloads.
12470         (output_tst): Emit efficient code for the AM33 too.
12471         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
12472         (TARGET_SWITCHES): Add -mam33 switch.
12473         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
12474         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
12475         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
12476         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
12477         (enum reg_class, REG_CLASS_NAMES): Likewise.
12478         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
12479         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
12480         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
12481         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
12482         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
12483         (HAVE_POST_INCREMENT): Define.
12484         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
12485         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
12486         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
12487         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
12488         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
12489         (zero_extend to SI from QI/HI): Likewise.
12490         (sign_extend to SI from QI/HI): Likewise.
12491         (mulsidi3, umulsidi3): New patterns for the AM33.
12492         (tstsi with zero extension from QI/HI): Add AM33 variants.
12493         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
12494         (return_internal_regs, store_movm): Handle new AM33 registers.
12495         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
12496         (LIBGCC, INSTALL_LIBGCC): Likewise.
12497         * invoke.texi: Document new flags.
12498
12499 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12500
12501         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
12502         (addsi3_carry): Likewise.
12503         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
12504         (sbbsi3_carry): Likewise.
12505         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
12506         (mulhi3): Likewise.
12507         (test?i_1): Ensure that only one operand is memory.
12508         (conditional move patterns): likewise.
12509         (shift and rotate patterns): Rewrite to expander, add
12510         "binary_operator_ok" to the condition.
12511
12512         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
12513         * i386.h (procesor_costs): Add movzbl_load field.
12514         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
12515         non-Q registers, accept DImode registers anywhere.
12516         (Q_CLASS_P): New.
12517         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
12518         * i386.c (*_cost): Set value for movxbl_load field.
12519
12520         * (addsi): New add to lea splitter.
12521         (ashlsi): Likewise.
12522         (lea to add/shift peep2): New.
12523
12524 1999-12-01  Mark Salter <msalter@cygnus.com>
12525
12526         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
12527         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
12528         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
12529
12530 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12531
12532         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
12533         * i386.md (movsi_xor): New.
12534         (movsi_or): New.
12535         (movsi_1, movhi_1, movqi_1): Remove.
12536         (movsi_2): Rename to movsi_1.
12537         (movhi_2): Rename to movhi_1.
12538         (movqi_2): Rename to movqi_1.
12539         (movdi_1): Remove; remove splitter.
12540         (movdi_2): Rename to movdi_1.
12541         (divmodsi4 splitter): Do not emit clobbers for move patterns.
12542         (long move peep2): Do not create QI or HI mode mov0s
12543         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
12544
12545         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
12546         rewrite splitters.
12547
12548         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
12549         (abs?f2_if): Likewise.
12550
12551 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
12552
12553         * ggc.h (ggc_test_and_set_mark): New macro.
12554         (ggc_mark_rtx): Use ggc_test_and_set_mark.
12555         (ggc_mark_tree): Likewise.
12556         (ggc_mark_rtvec): Likewise.
12557         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
12558
12559 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
12560
12561         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
12562         containing types.
12563         (decl_scope_table): Just an array of trees now.
12564         (push_decl_scope): Simplify.
12565         (dwarf2out_init): Adjust.
12566         (local_scope_p): New fn.
12567         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
12568         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
12569         (gen_typedef_die): Likewise.
12570         (gen_lexical_block_die): Don't call push/pop_decl_scope.
12571         (gen_inlined_subroutine_die): Likewise.
12572         (gen_abstract_function): Set current_function_decl temporarily.
12573         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
12574         Handle block extern declarations.  Don't call push/pop_decl_scope.
12575         (gen_decl_die): Fix logic for block externs.
12576
12577 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12578
12579         * calls.c (special_function_p): Remove `realloc' and add `strdup'
12580         to the list of functions which have attribute malloc by default.
12581
12582 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12583
12584         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
12585         integer constant does not match the traditional type, limit the
12586         warnings to cases where the base of the type is ten.
12587
12588         * invoke.texi (-Wtraditional): Document it.
12589
12590 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12591
12592         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
12593         * rs6000.md: Only access a CONST_INT with INTVAL
12594
12595 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
12596
12597         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
12598         (compute_nearerout): Likewise.
12599         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
12600         size_t to unsigned long for formatting.
12601
12602 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
12603
12604         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
12605         Allow the user to override call-used/fixed state of %g2-5
12606         registers from the command line (with the exception of %g4 for
12607         embedded model).
12608         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
12609         there is a higher chance of having a leaf function.
12610         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
12611         for ARCH64 which has %ccr register.
12612         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
12613         patterns.
12614         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
12615         insn accept into delay slot any insn which does not use %[ol]
12616         registers.  Accept some LO_SUM and shift left by 1 for the normal
12617         restore case.
12618         (output_function_epilogue): Likewise.
12619         (epilogue_renumber): Added argument which inhibits any renumbering
12620         and just tests if the rtx does not use any %[ol] registers.
12621         (output_return): Reflect above change.
12622
12623 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
12624
12625         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
12626         aggregate passing for sizes <= 16 bytes.
12627
12628 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
12629
12630         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
12631         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
12632         * reload.c (find_dummy_reload): Likewise.
12633         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
12634         * reload1.c (reload_as_needed): Likewise.
12635         * stupid.c (stupid_find_reg): Likewise.
12636         * tm.texi (Obsolete Register Macros): Delete section.
12637         * gmicro.h: Remove all traces of the two macros.
12638         * i386.h: Likewise.
12639         * m88k.h: Likewise.
12640         * mips.h: Likewise.
12641
12642 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
12643
12644         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
12645         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
12646         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
12647         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
12648         units for the sparclite86x chip.
12649         (flush): Revert October 14th change; add SImode specifically.
12650         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
12651         * invoke.texi: Document it.
12652
12653 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
12654
12655         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
12656         psimode_truncation_operand.
12657
12658         * config/mn10200/mn10200.c (psimode_truncation_operand): New
12659         function.  Return true if the operand is either a MEM valid
12660         for a PSImode address or not a MEM at all.
12661
12662         * config/mn10200/mn10200.md (truncsipsi2): Use
12663         psimode_truncation_operand.
12664
12665 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12666
12667         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
12668         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
12669         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
12670         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
12671         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
12672         (flow_loop_level_compute, low_loops_level_compute): Likewise.
12673         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
12674         * basic-block.h: Protect from multiple inclusion.
12675         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
12676         (struct loops, struct loop): Define structures.
12677         * sbitmap.c (sbitmap_a_subset_b_p): New function.
12678         * sbitmap.h: Protect from multiple inclusion.
12679         (sbitmap_a_subset_b_p): Add prototype.
12680         * Makefile.in (LOOP_H): New macro.
12681         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
12682
12683 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
12684
12685         * cppinit.c (CAT): The argument list of this macro may not contain
12686         spaces !
12687
12688 1999-11-29  David S. Miller  <davem@redhat.com>
12689
12690         Move quantity tables and register equivalence chains into
12691         per-qty and per-register structure arrays respectively.
12692         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
12693         qty_const_insn, qty_comparison_code, qty_comparison_const,
12694         qty_comparison_qty): Delete, replace with...
12695         (qty_table): this structure table.
12696         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
12697         (reg_eqv_table): this structure table.
12698         (make_new_qty): Add argument MODE.  Caller updated.
12699         Update to use qty_table and reg_eqv_table.
12700         (make_regs_eqv, delete_reg_equiv, insert_regs,
12701         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
12702         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
12703         cse_process_notes, cse_main, cse_basic_block): Likewise.
12704
12705 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12706
12707         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
12708         operation if C is negative.
12709         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
12710         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
12711         law for some divisions if constant is negative and change other
12712         divisions to the opposite rounding.
12713
12714         * expr.c (store_constructor_field): If bit position is not multiple
12715         of alignment of TARGET's mode, use BLKmode.
12716
12717         * expr.c (expand_expr_unaligned): Add more code from full case
12718         that is needed when OP0 is in a register.
12719
12720 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12721
12722         * dwarfout.c (field_byte_offset): Size can be zero if there was
12723         an error.
12724
12725 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12726
12727         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
12728         (associate_trees): Delete unused var TEM.
12729         (extract_muldiv): Delete unused var CANCEL_P.
12730
12731         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
12732         (target_isinf, target_isnan, target_negative): Add return types to
12733         function definitions.
12734
12735 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
12736
12737         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
12738         * fixinc/hackshell.tpl: ditto
12739         * fixinc/fixtests.c(double_slash_test): more C++ header testing
12740         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
12741
12742 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12743
12744         * reload.c (push_reload): When looking for a register to put into
12745         reg_rtx, make sure all hard regs in a multi-reg register are in the
12746         right class and nonfixed.
12747
12748         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
12749         pending_read_insns, pending_write_insns, pending_read_mems,
12750         pending_write_mems, pending_list_length, last_pending_memory_flush,
12751         last_function_call, sched_before_next_call): Move static variables
12752         into a structure.
12753         (bb_ prefixed versions): Replace with single array bb_deps.
12754         (struct deps): New structure.
12755         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
12756         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
12757         argument of type "struct deps *"; use that instead of global
12758         variables.  All callers changed.
12759         (init_rgn_data_dependencies): Delete function.
12760         (init_rtx_vector): Delete function.
12761         (init_deps): New function.
12762
12763         (free_pending_lists): Simplify, we always use the bb_deps array even
12764         if only one basic block.
12765         (compute_block_backward_dependences): Likewise.
12766         (schedule_region): Likewise.
12767
12768         (propagate_deps): New function, broken out of
12769         compute_block_backward_dependences.
12770         (compute_block_backward_dependences): Use it.
12771
12772         * alpha.md: Delete useless patterns that tried to work around
12773         register elimination problems.
12774
12775         * unroll.c (loop_iterations): Don't abort if iteration variable
12776         was made by loop.
12777
12778         From Joern Rennecke:
12779         * reload1.c (reloads_conflict): Reverse test comparing operand
12780         numbers when testing for conflict between output/outaddr reloads.
12781
12782 1999-11-29  David S. Miller  <davem@redhat.com>
12783
12784         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
12785         arg.
12786         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
12787
12788 1999-11-28  Robert Lipe  <robertl@cygnus.com>
12789
12790         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
12791         table from .fini into .dtor.
12792
12793 1999-11-28  Anthony Green  <green@cygnus.com>
12794
12795         * tree.h (struct tree_decl): Add malloc_flag.
12796         (DECL_IS_MALLOC): Define.
12797         * c-common.c (attrs): Add A_MALLOC attribute.
12798         (init_attributes): Add this attribute to the table.
12799         (decl_attributes): Handle malloc attribute.
12800         * calls.c (special_function_p): Check for the malloc attribute.
12801         * extend.texi (Function Attributes): Document malloc attribute.
12802
12803 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
12804
12805         * pa.md (reload shift-add patterns): Remove.
12806
12807 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12808
12809         * reorg.c (dbr_schedule) Print more statistics. Corrected
12810         problem when printing info when 3 delay slots are filled.
12811
12812 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
12813
12814         * combine.c (setup_incoming_promotions): Pass an outgoing
12815         regno to FUNCTION_ARG_REGNO_P which it expects.
12816
12817 1999-11-28  Andreas Jaeger  <aj@suse.de>
12818
12819         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
12820
12821 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
12822
12823         * cccp.c (do_include): Avoid initialization of automatic variable.
12824
12825         * integrate.c (mark_stores): Function definition made void, to match
12826         previous declaration.
12827         * regclass.c (dump_regclass): Ditto.
12828         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
12829
12830 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12831
12832         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
12833         known to be multiple of divisor.
12834
12835         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
12836
12837         * combine.c (try_combine): Add code to try to merge a set of a
12838         two-word pseudo to a constant with a setting of one of those words
12839         to a constant.
12840
12841         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
12842         (split_tree): Completely rework to make more general.
12843         (make_range, fold): Call negate_expr.
12844         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
12845         (fold, associate): Call new split_tree and associate_trees.
12846         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
12847
12848 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
12849
12850         * loop.c (try_copy_prop): Avoid GNU C extension.
12851
12852 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12853
12854         * except.c (init_eh_for_function): Still zero eh_return_context,
12855         eh_return_stack_adjust, and eh_return_handler.
12856
12857         * except.h (eh_status): Adjust documentation for x_protect_list.
12858         (begin_protect_partials): New function.
12859         * except.c (enqueue_eh_entry): Fix formatting.
12860         (get_first_handler): Add consistency check.
12861         (add_partial_entry): Adjust usage of protect_list.
12862         (emit_cleanup_handler): Save and restore ehqueue.
12863         (expand_start_all_catch): Add comment.
12864         (begin_protect_partials): New function.
12865         (end_protect_partials): Adjust usage of protect_list.
12866         (init_eh_for_function): Use xcalloc.
12867
12868 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12869
12870         * c-common.c (check_format_info): Don't call a variadic function
12871         with a non-literal format string.
12872
12873         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
12874
12875         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
12876         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
12877         Likewise.
12878
12879         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
12880         Likewise.
12881
12882         * collect2.c (collect_wait): Likewise.
12883
12884         * dbxout.c (dbxout_type): Likewise.
12885
12886         * gcc.c (do_spec_1): Likewise.
12887
12888         * genemit.c (gen_insn, gen_expand): Likewise.
12889
12890         * genrecog.c (write_switch, write_subroutine): Likewise.
12891
12892         * mips-tfile.c (catch_signal, botch): Likewise.
12893
12894         * print-rtl.c (print_rtx): Likewise.
12895
12896         * toplev.c (default_print_error_function, report_error_function,
12897         _fatal_insn): Likewise.
12898
12899 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12900
12901         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
12902
12903 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12904
12905         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
12906         operations when needed.
12907         * i386.md (fop_?f_comm): New.
12908         (fop_?f_1): Do not accept commutative operands.
12909
12910 1999-11-25  Andreas Jaeger  <aj@suse.de>
12911
12912         * config/mips/mips.md (casesi_internal): Add missing brace.
12913
12914 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
12915
12916         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
12917         (splice_child_die): Handle moving a child DIE from the declaration
12918         DIE of a class to its specification.
12919         (gen_struct_or_union_type_die): Use 'complete' consistently.
12920         (gen_decl_die): Generate the virtual context DIE first.
12921         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
12922
12923 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
12924
12925         * config/mips/mips.md (call_value_multiple_interanal1): New.
12926
12927 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
12928
12929         * dwarf2out.c (free_AT, free_die): New fns.
12930         (remove_children): Call them.
12931         (output_line_info): Disable removal of duplicate notes.
12932
12933         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12934         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
12935         means pretend the type isn't defined.
12936         Don't defer emitting types.
12937         (gen_type_die_for_member): New fn.
12938         (gen_decl_die): Call it.
12939         (splice_child_die): New fn.
12940         (gen_member_die): Call it rather than generate duplicate dies.
12941
12942         Defer emitting information for the abstract instance of an inline
12943         until we either inline it or emit an out-of-line copy.
12944         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
12945         from output_inline_function if DECL_ABSTRACT is also set.
12946         (block_ultimate_origin): Likewise.
12947         (gen_abstract_function): New fn.
12948         (gen_decl_die, gen_inlined_subroutine_die): Call it.
12949         (gen_subprogram_die):  An abstract instance is not a declaration
12950         just because it doesn't match current_function_decl.  Don't abort
12951         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
12952         has an abstract origin.
12953         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
12954         abstract instance here.
12955
12956 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
12957
12958         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
12959         where we need to reload fpul from a system register.
12960
12961 1999-11-24  Andreas Jaeger  <aj@suse.de>
12962
12963         * config/mips/linux.h (CPP_PREDEFINES): Added.
12964         (LINK_SPEC): Remove -Y since this is only needed on sparc.
12965
12966 1999-11-24  Andreas Jaeger  <aj@suse.de>
12967
12968         * config/mips/linux.h (TARGET_VERSION): Added.
12969         (HANDLE_SYSV_PRAGMA): Added.
12970         (DEFAULT_VTABLE_THUNKS): Added.
12971
12972 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12973
12974         * local-alloc.c (qty): New structure and static variable.
12975         (qty_phys_reg): Remove, all references changed to qty.
12976         (qty_n_refs): Likewise.
12977         (qty_min_class): Likewise.
12978         (qty_birth): Likewise.
12979         (qty_death): Likewise.
12980         (qty_size): Likewise.
12981         (qty_mode): Likewise.
12982         (qty_n_calls_crossed): Likewise.
12983         (qty_alternate_class): Likewise.
12984         (qty_changes_size): Likewise.
12985         (qty_first_reg): Likewise.
12986         (alloc_qty): Rename variable QTY to QTYNO.
12987         (finf_free_reg): Likewise.
12988         (local_alloc): Allocate qty, do not allocate the removed variables.
12989
12990 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
12991
12992         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
12993         when -membedded-pic is passed.
12994
12995         * config/mips/mips.md (casesi): Handle 64-bit case too.
12996         (casesi_internal_di): New insn.
12997
12998         * config/mips/mips.c (embedded_pic_offset): Always make the
12999         embedded-pic subtractions relative to the name of the current
13000         function by use of the magic string "..CURRENT_FUNCTION".
13001         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
13002
13003 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
13004
13005         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
13006         of (const_int 0), when what we really care about is
13007         whether it's a zero constant anyway.
13008         (div_trap_mips16): Likewise.
13009
13010 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
13011
13012         * loop.c (loop_optimize): Always find_loop_tree_blocks and
13013         unroll_block_trees when generating debuggable code.
13014
13015         * tree.h (unsave_expr_1): New function.
13016         (lang_unsave): New variable.
13017         (get_callee_fndecl): New function.
13018         * tree.c (unsave_expr_now_r): New function.
13019         (lang_unsave): Define.
13020         (unsave_expr_1): Likewise.
13021         (unsave_expr_now_r): Split out from unsave_expr_now.
13022         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
13023         call unsave_expr_now_r.
13024         (get_callee_fndecl): Define.
13025
13026         * Makefile.in (gencheck): Don't depend on lang_tree_files.
13027         (gencheck.o): Do depend on lang_tree_files.
13028
13029         * integrate.h (copy_decl_for_inlining): New declaration.
13030         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
13031         (copy_decl_for_inlining): New function.
13032         (integrate_parm_decls): Use it.
13033         (integrate_decl_tree): Likewise.
13034
13035 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
13036
13037         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
13038         the second two from the first.
13039         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
13040         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
13041         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
13042         ISA_HAS_FP4.
13043         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
13044         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
13045         ISA_HAS_FP4.
13046
13047 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
13048
13049         * pa.md (call_internal_symref, call_value_internal_symref): No mode
13050         needed on the address operand.
13051         * pa.c (call_operand_address): Check for the correct mode.
13052
13053 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
13054
13055         * loop.c: Include "basic-block.h".
13056         (try_copy_prop, replace_loop_reg): New functions.
13057         (load_mems): Detect registers that just hold copies of the hoisted
13058         mem, and call try_copy_prop to eliminate them.
13059         * Makefile.in (loop.o): Update dependencies.
13060
13061 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
13062
13063         * Makefile.in (gencheck.o): Depend on gencheck.h.
13064         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
13065         (insn-peep.o): Depend on except.h and function.h.
13066         (insn-attrtab.o): Depend on RECOG_H.
13067         (insn-output.o): Depend on toplev.h and flags.h.
13068         (gengenrtl.o): Depend on real.h.
13069         (gen-protos.o): Depend on cpplib.h and cpphash.h.
13070         Unify all dependencies to be on RECOG_H rather than recog.h.
13071
13072 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13073
13074         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
13075         * configure.in: Try building a bi-arch 32/64-bit compiler on
13076         sparc-*-solaris2.7 and higher.
13077         * configure: Rebuild.
13078
13079 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
13080
13081         * config/freebsd.h: New, FreeBSD architecture independent file.
13082         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
13083         independent pieces.
13084         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
13085         directly by i386/freebsd.h.
13086         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
13087         independent configuration file.
13088         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
13089         directly by i386/freebsd.h.
13090         * configure: Rebuilt.
13091
13092         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
13093         which is in the user's namespace.
13094         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
13095         `i386' which is not in our namespace.
13096
13097 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
13098
13099         * invoke.texi (ARM Options): Add in -mno-alignment-traps
13100
13101 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
13102
13103         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
13104         (add_dwarf_attr, add_child_die): Just push onto the front.
13105         (reverse_die_lists): New fn.
13106         (add_sibling_attributes): Use it.
13107         (push_decl_scope): Reorganize.
13108         (add_name_and_src_coords_attributes): Don't set file and line for
13109         an artificial decl.
13110         (gen_subprogram_die): An artificial function doesn't need to match
13111         file and line.
13112         (gen_compile_unit_die): Return the generated die.  Only add
13113         AT_comp_dir if the filename is relative.
13114         (remove_AT): Simplify loop.  Also free string values.
13115         (output_die): A DIE ref can't be null.
13116         (output_value_format, value_format): Take a dw_attr_ref.
13117         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
13118         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
13119         AT_addr, AT_lbl): New fns.
13120         (various): Use them.
13121         (various): Constify.
13122
13123 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13124
13125         * combine.c (combine_simplify_rtx): When handling a SUBREG,
13126         take SUBREG_WORD into account.
13127         (if_then_else_cond): Likewise.
13128
13129 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
13130
13131         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
13132         clause from BSD license, pursuant with
13133
13134           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
13135
13136 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
13137
13138         * loop.c (load_mems): Reformat slightly.
13139         * basic-block.h (regset_head): New typedef.
13140         (INIT_REG_SET): New macro.
13141
13142 1999-11-22  Bruce Korb  <autogen@linuxbox.com
13143
13144         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
13145         (mips-dec-bsd*): non-functional code
13146         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
13147
13148         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
13149         added three replacement fixes
13150         (no_double_slash): removed comments that are not (any longer) pertinent
13151         (bad_lval): this fix currently runs against many files.
13152         The comment seems to indicate that we should select for files
13153         containing 'pragma extern_prefix'.
13154
13155         * fixinc/fixinc.x86-linux-gnu: deleted
13156         * fixinc/inclhack.sh:  regen
13157         * fixinc/fixincl.x:  regen
13158         * fixinc/fixincl.sh:  regen
13159
13160 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
13161
13162         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
13163         its code is INSN and it has no notes.
13164
13165 1999-11-22  Andrew Haley  <aph@cygnus.com>
13166
13167         * varasm.c (function_defined): Remove.
13168         (make_function_rtl): Don't set function_defined.
13169         (make_decl_rtl): Remove global register warning.
13170         * regclass.c (no_global_reg_vars): New variable.
13171         (globalize_reg): Warn if function has already been defined.
13172         (regclass_init): Set no_global_reg_vars.
13173
13174 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13175
13176         * regclass.c (reg_pref): New structure and static variable
13177         (prefclass): Delete.
13178         (altclass): Delete.
13179         (all uses of prefclass and altclass): Use reg_pref instead.
13180
13181 1999-11-21  Nick Clifton  <nickc@cygnus.com>
13182
13183         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
13184         -malignment-traps.
13185         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
13186         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
13187         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
13188
13189 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
13190
13191         * varasm.c (output_constructor): Solve problem with long long
13192         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
13193
13194 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13195
13196         * global.c (allocno): New structure and static variable.
13197         (allocno_reg): Remove, all references replaced by allocno.
13198         (allocno_size): Likewise.
13199         (hard_reg_conflicts): Likewise.
13200         (hard_reg_preferences): Likewise.
13201         (hard_reg_copy_preferences): Likewise.
13202         (hard_reg_full_preferences): Likewise.
13203         (regs_someone_prefers): Likewise.
13204         (allocno_calls_crossed): Likewise.
13205         (allocno_n_refs): Likewise.
13206         (allocno_live_length): Likewise.
13207         (find_reg): Rename ALLOCNO to NUM.
13208
13209         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
13210         references updated.
13211         (may_move_out_cost): New variable.
13212         (init_reg_sets_1): Initialize may_move_out_cost.
13213         (record_reg_classes): Use may_move_out_cost.
13214
13215         * regclass.c (dump_regclass): New function.
13216         (regclass): New parameter DUMP, call DUMP_REGCLASS.
13217         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
13218         pass rtl_dump_file to regclass.
13219         * rtl.h (regclass): Update prototype.
13220
13221 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13222
13223         * i386.md (neg, not and abs patterns): Revmap to use
13224         ix86_expand_unary_operator and ix86_unary_operator_ok.
13225         (add?f and sub?f expanders): Force operand 1 to register.
13226         * i386.c (ix86_expand_unary_operator): Rewrite.
13227         (ix86_unary_operator_ok): Ensure that memory operands
13228         match real opcode.
13229         (ix86_binary_operator_ok): Do not allow operand 1 to
13230         come into memory and operand 0 not.
13231         (ix86_expand_binary_operator): Ensure that
13232         src1 is not non-matching memory.
13233
13234         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
13235         to support integer registers and memory.
13236         (abss?2_integer): Likewise.
13237
13238         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
13239         (REG_CLASS_NAMES): Likewise.
13240         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
13241         and GENERAL_REGS.
13242         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
13243         (movsf): Likewise; unify 4th and 5th alternative.
13244         (pushdf): Likewise.
13245         (movdf_1): Likewise; rename to movdf_integer.
13246         (pushxf): Likewise; rename to pushxf_integer; fix output template;
13247         remove redundant splitter.
13248         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
13249         (movdf_nointeger): New.
13250         (movxf_nointeger): New.
13251         (pushxf_nointeger): New.
13252
13253         * i386.md (extend?f?f): Split to expander and pattern, refuse two
13254         memory operands in patterns.
13255         (fop*): Refuse two memory operands.
13256
13257         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
13258         on !TARGET_USE_CLTD CPUs.
13259
13260 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
13261
13262         * extend.texi: Document C++ restricted pointers and references.
13263
13264 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
13265
13266         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
13267         (invalidate_skipped_set): Call it unconditionally.
13268         (cse_set_around_loop): Likewise.
13269
13270 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
13271
13272         * rtl.texi (mem): Add documentation for alias-set argument
13273         to RTX `mem'.
13274
13275 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13276
13277         * i386.h (struct_processor_costs): New fields int_load, int_store,
13278         fp_move, fp_load and fp_store
13279         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
13280         fp->int moves
13281         (MEMORY_MOVE_COST): New macro.
13282         * i386.c (386_cost): Define new fields.
13283         (i486_cost): Likewise.
13284         (pentium_cost): Likewise.
13285         (pentiumpro_cost): Likewise.
13286         (k6_cost): Likewise.
13287
13288 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
13289                           Geoffrey Keating  <geoffk@cygnus.com>
13290
13291         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
13292
13293         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
13294         MASK_ALIGN_INT.
13295
13296         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
13297         (TARGET_STRICT_ALIGNMENT): New macro.
13298         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
13299         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
13300         * invoke.texi (M680x0 Options): Document -mstrict-align.
13301
13302 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
13303                           Richard Henderson  <rth@cygnus.com>
13304
13305         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
13306         (ix86_split_long_move): Declare.
13307         * i386.c (split_xf, ix86_split_movdi): Remove.
13308         (ix86_split_to_parts, ix86_split_long_move): New.
13309         * i386.md (dimode move splitters): Use ix86_split_long_move.
13310         (dfmode move splitters): Likewise.
13311         (xfmode move splitters): Likewise.
13312         (movsf_1): Allow F->r.
13313         (movdf_1, movxf_1): Allow F->ro.
13314
13315 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
13316
13317         * except.h (struct eh_entry): Add goto_entry_p.
13318         (eh_region_from_symbol): Remove prototype.
13319         * except.c (find_func_region_from_symbol): New function.
13320         (emit_cleanup_handler): Likewise.
13321         (eh_region_from_symbol): Make it static.
13322         (add_new_handler): Verify the argument.
13323         (find_func_region): Update comment.
13324         (expand_eh_region_end): Expand handlers here, rater than waiting
13325         until expand_leftover_cleanups or start_all_catch.
13326         (expand_leftover_cleanups): Don't expand here.
13327         (expand_start_all_catch): Or here.
13328         (expand_rethrow): Check the return value from find_func_region.
13329         * function.c (expand_function_end): Emit the catch_clauses.
13330
13331 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
13332
13333         * integrate.c (expand_inline_function): Add necessary check for NULL.
13334
13335 1999-11-18  Nick Clifton  <nickc@cygnus.com>
13336
13337         * toplev.c (main): Correctly detect an unrecognised option.
13338
13339         * cppinit.c (cpp_handle_option): Do not claim to have consumed
13340         a -f option if it has not been recognised.
13341
13342 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
13343
13344         * basic-block.h (update_life_extent): Remove trailing comma on
13345         enumeration type list.
13346
13347 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13348
13349         * varasm.c (output_constructor) Solved problem with long long
13350         bitfields. Corrected calculating this_time and shift. Also
13351         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
13352
13353 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
13354
13355         * flow.c (split_edge): Take looping structure into account when
13356         determining where to put the new block note.
13357
13358 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
13359
13360         * Makefile.in (ggc-none.o): Provide host specific version if
13361         needed.
13362
13363 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
13364
13365         * cse.c (delete_trivially_dead_insns): Identify no-op insns
13366         containing subregs too.
13367
13368 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
13369
13370         * invoke.texi: Add documentation for -muninit-const-in-rodata.
13371         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
13372         (TARGET_UNINIT_CONST_IN_RODATA): Define.
13373         (text_section): Add switches -munint-const-in-rodata and
13374         -mno-uninit-const-in-rodata.
13375         (ASM_OUTPUT_COMMON): Remove.
13376         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
13377         const objects should be placed in read-only data. Otherwise declare
13378         them in common.
13379
13380 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
13381
13382         * jump.c (jump_optimize_1): Revert last change.
13383
13384 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
13385
13386         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
13387         test if optimizing for size.
13388
13389 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
13390
13391         * Makefile.in (toplev.o): Depend on except.h.
13392         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
13393
13394 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13395
13396         * i386.md (divmodsi4): Rewrite to expander.
13397         (*divmodsi4_nocltd): New.
13398         (*divmodsi4_cltd): New.
13399         (divmodsi4 splitter): Handle the case when input comes in edx.
13400         (udivmodhi4): Do not use constraints in exander.
13401         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
13402
13403 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
13404
13405         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
13406         for the common case.
13407
13408 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
13409
13410         * explow.c (hard_function_value): Add outgoing argument.
13411         * expr.h (hard_function_value): Declare it.
13412         * calls.c (expand_call, emit_library_call_value): Update callers.
13413         * function.c (aggregate_value_p): Ditto.
13414         (diddle_return_value): Must look at the outgoing registers
13415         on archs with register windows.
13416
13417 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
13418
13419         * alpha.c (alpha_build_va_list): Use make_lang_type and
13420         initialize TYPE_NAME for the va_list record.
13421
13422         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
13423
13424         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
13425         for printing.
13426         * ggc.h (struct ggc_statistics): Rearrange elements for better
13427         packing on 64-bit hosts.
13428         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
13429         (compute_nearerout): Likewise.
13430
13431 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
13432
13433         * config/rs6000/rs6000.c (first_reg_to_save): Save
13434         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
13435
13436 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
13437
13438         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
13439         notion of nesting to find the DIE for a type or function.
13440         DIEs can go in limbo even if we got a context_die.
13441         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
13442         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
13443         for local type.
13444         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
13445         (gen_type_die): Writing out the context doesn't cause member class
13446         template instantiations to be written out as well.
13447
13448 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
13449
13450         * rs6000.h (ASM_OUTPUT_DEF): New.
13451         Based on proposed addition from David Edelsohn.
13452
13453 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
13454             Bruce Korb  <autogen@linuxbox.com>
13455
13456         * fixinc/inclhack.def
13457         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
13458         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
13459                 in net/inet.h.
13460         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
13461         (svr4_endian): enabled with SVR5
13462         (svr4_mkdev): simplified syntax and enabled with SVR5
13463
13464 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
13465
13466         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
13467         * configure: Rebuilt.
13468         * config/t-freebsd-thread: New file.
13469
13470 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
13471
13472         * i386.c (ix86_decompose_address): Verify the base is a REG
13473         before trying to examine its register number.
13474
13475         * basic-block.h: Remove all #defines and prototypes related to
13476         integer lists.
13477         (free_bb_mem, compute_preds_succs): Remove prototype.
13478         * rtl.h (free_bb_mem): Remove prototype.
13479         * flow.c (alloc_int_list_node); Remove function.
13480         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
13481         (compute_preds_succs, free_bb_mem): Likewise.
13482         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
13483         * toplev.c (rest_of_compilation): Likewise.
13484         * haifa-sched.c (build_control_flow): Use flow generated edge
13485         list to build the haifa specific edge list.
13486         (find_rgns): Use new CFG data structures instead of pred/succ lists.
13487         (schedule_insns): Do not build pred/succ lists anymore.  Instead
13488         build the edge table.
13489
13490         * basic-block.h (dump_bb_data): Remove declaration.
13491         * flow.c (dump_bb_data): Remove function.
13492         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
13493         (sbitmap_union_of_predsucc): Likewise.
13494
13495         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
13496         argument.  All callers changed.
13497         (delete_null_pointer_checks_1): No longer need to compute the
13498         pred/succ lists.
13499
13500         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
13501         All callers changed.
13502         (pre_expr_reaches_here_p_work): Likewise.
13503         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
13504         * lcm.c (compute_laterin): Fix initialization of LATER.
13505         (compute_nearerout): Similarly for NEARER.
13506
13507 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13508
13509         * cse.c (set_nonvarying_address_components): Delete unused function.
13510         (refers_to_p): Likewise.
13511
13512 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
13513
13514         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
13515         needed.
13516
13517 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13518
13519         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
13520         definition in do while (0).
13521
13522 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
13523
13524         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
13525
13526 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
13527
13528         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
13529
13530 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
13531
13532         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
13533         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
13534         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
13535         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
13536
13537         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
13538         saved on the stack.  Output more accurate stack frame statistics
13539         into assembler file.
13540
13541 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
13542
13543         * genextract.c (record_insn_name): New function.
13544         (get_insn_name): No longer a stub.
13545         (main): Call record_insn_name for each insn.  After each label
13546         written, print the insn name in a comment.
13547
13548 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13549
13550         * output.h (const_section, init_section, fini_section): Add
13551         prototypes.
13552
13553         * alpha/elf.h (const_section): Delete declaration.
13554
13555         * svr4.h (const_section): Likewise.
13556
13557 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
13558
13559         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
13560         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
13561         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
13562         expressions.
13563         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
13564         variable-sized array bounds.
13565
13566 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
13567
13568         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
13569         ASM_OUTPUT_LABEL.
13570
13571 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13572
13573         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
13574         addresses the same way GO_IF_LEGITIMATE_INDEX does.
13575
13576 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13577
13578         * cse.c (hash_arg_in_struct): Delete.
13579         (struct table_elt): Delete elt in_struct.
13580         (struct set): Delete elt src_in_struct.
13581         (merge_equiv_classes): Don't set either hash_arg_in_struct or
13582         the corresponding in_struct elts.
13583         (canon_hash): Likewise.
13584         (safe_hash): Likewise.
13585         (find_best_addr): Likewise.
13586         (record_jump_cond): Likewise.
13587         (cse_insn): Likewise.
13588
13589 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
13590
13591         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
13592
13593         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
13594         unsigned types.
13595
13596 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
13597
13598         * function.c (diddle_return_value): Put back check that the DECL_RTL
13599         for the function is a register.
13600
13601         * function.c (diddle_return_value): Use hard_function_value to
13602         get an rtx suitable for use in the USE/CLOBBER insn.
13603
13604         * global.c (global_conflicts): Update comments.
13605         (record_conflicts): No need to record conflicts between pseudos here.
13606
13607 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
13608
13609         * fixinc/fixincl.c: Added verbose levels for status messages
13610
13611 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13612
13613         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
13614         operand as argument to expand_and or expand_binop.
13615
13616 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
13617
13618         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
13619         gcc_add_string_root.
13620
13621 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
13622
13623         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
13624
13625 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
13626
13627         * flow.c (compute_flow_dominators): Initially put all blocks on
13628         the worklist.
13629         * lcm.c (compute_antinout_edge, compute_available): Similarly.
13630         * gcse.c (compute_cprop_avinout): Remove.
13631         (compute_cprop_data): Use compute_available.
13632         (delete_null_pointer_checks_1): Use compute_available.
13633
13634         * basic-block.h (compute_available): Returns a void now.
13635         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
13636         to return a value anymore.
13637         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
13638         worklists.  Fix boundary cases. Compute maximal solutions.
13639         (compute_laterin, compute_nearerout): Similarly.
13640
13641         * dwarf2out.c (add_AT_location_description): Allow
13642         (mem (plus (pseudo) (...)) too.
13643
13644 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
13645
13646         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
13647
13648 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
13649                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13650
13651         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
13652
13653         * gansidecl.h: Likewise.
13654
13655         * rtl.c: Likewise.
13656
13657         * rtl.h: Likewise.
13658
13659         * toplev.h: Likewise.
13660
13661         * tree.c: Likewise.
13662
13663         * tree.h: Likewise.
13664
13665         * varray.c: Likewise.
13666
13667         * varray.h: Likewise.
13668
13669 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
13670
13671         * gcov.c (struct arcdata): Add hits and total, remove prob.
13672         (output_branch_counts): New.
13673         (process_args): Set output_branch_counts if -c.
13674         (calculate_branch_probs): Store hits and total instead of
13675         percentage.
13676         (output_data): Emit counts if output_branch_counts is true.
13677         * gcov.texi (Invoking Gcov): Document -c switch..
13678
13679 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
13680
13681         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
13682         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
13683
13684 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
13685
13686         * invoke.texi (C Dialect Options): Add missing builtins from
13687         c-common.c to list.
13688         * extend.texi (Other Builtins): Copy to this list.
13689
13690 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13691
13692         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
13693         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
13694         redundant bitmap.h.
13695
13696 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
13697
13698         * flow.c (compute_flow_dominators): No longer treat basic block 0
13699         or (n_basic_blocks - 1) specially.  Clear the AUX field before
13700         starting computation of doms/pdoms.  Fix initial state for pdoms.
13701
13702 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13703
13704         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
13705         match rtl.o's: added ggc.h and toplev.h
13706         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
13707         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
13708         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
13709
13710 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
13711
13712         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
13713         from HAVE_DOS_BASED_FILESYSTEM.
13714         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
13715         HAVE_DOS_BASED_FILESYSTEM.
13716         (main): Likewise.
13717         (split_directories): Only special-case DOS file names if
13718         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
13719         instead of explicit tests.  Conditionalize on !VMS.
13720         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
13721         tests.  Conditionalize on !VMS.
13722         (process_command): Only use make_relative_prefix if !VMS.
13723         (free_split_directories): Conditionalize on !VMS.
13724         (DIR_UP): Conditionalize on !VMS.
13725
13726 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13727
13728         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
13729
13730 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13731
13732         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
13733         case.
13734
13735 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
13736
13737         * invoke.texi (Environment Variables): Document relative path
13738         lookup.
13739         * gcc.c (DIR_UP): If not defined, define as "..".
13740         (standard_bindir_prefix): New static, holds target location to
13741         install binaries.
13742         (split_directories): New function to split a filename into
13743         component directories.
13744         (free_split_directories): New function, release memory allocated
13745         by split_directories.
13746         (make_relative_prefix): New function, make a relative pathname if
13747         the compiler is not in the expected location.
13748         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
13749         can figure out an appropriate prefix from argv[0].
13750         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
13751         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
13752         STANDARD_BINDIR_PREFIX.
13753
13754 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13755
13756         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
13757         in c4x.c.
13758         * config/c4x/c4x.h: Moved prototypes to c4x.h.
13759         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
13760         c4x_secondary_memory_needed) Delete.
13761         (fp_zero_operand): Add mode argument.
13762
13763 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
13764
13765         * reload1.c (reload_reg_free_for_value_p): Don't use a register
13766         that is in reload_reg_used.
13767
13768 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
13769
13770         * config/arm/arm-protos.h: New file: Prototypes for functions
13771         defined in arm.c and pe.c.
13772         * config/arm/arm.h: Fix compile time warnings.
13773         * config/arm/arm.c: Fix compile time warnings.
13774         * config/arm/pe.h: Fix compile time warnings.
13775         * config/arm/aout.h: Fix compile time warnings.
13776
13777 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
13778
13779         * config/m32r/m32r-protos.h: New file: Prototypes for functions
13780         defined in m32r.c
13781
13782         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
13783         Add support for subtargets.
13784         Add prototypes for new predicates.
13785         Add scheduling macros.
13786
13787         * config/m32r/m32r.c: Fix compile time warnings.
13788         (int8_operand): New predicate function.
13789         (reg_or_cmp_int16_operand): New predicate function.
13790         (extend_operand): New predicate function.
13791         (m32r_adjust_code): New scheduling function.
13792         (m32r_adjust_priorty): New scheduling function.
13793         (m32r_sched_init): New scheduling function.
13794         (m32r_sched_reorder): New scheduling function.
13795         (m32r_sched_variable_issue): New scheduling function.
13796         (direct_return): New codegen function.
13797         (m32r_not_same_reg): New rtl testsing function.
13798
13799         * config/m32r/m32r.md: Fix compile time warnings.
13800         Add support for pre decrement and post increment memory
13801         references.
13802         Add S<cc> patterns.
13803         Add fabs patterns.
13804
13805 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13806
13807         * global.c (EXECUTE_IF_CONFLICT): Don't define.
13808         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
13809         (find_reg): Likewise.
13810
13811 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
13812
13813         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
13814         to avoid assembler errors.
13815
13816 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
13817
13818         * config/v850/v850-protos.h: New file: Prototypes for functions
13819         defined in v850.c
13820         * config/v850/v850.h: Move prototypes to v850-protos.h
13821         * config/v850/v850.c: Move prototypes to v850-protos.h
13822         * config/v850/v850.md: Fix compile time warnings.
13823
13824         * config/fr30/fr30-protos.h: New file: Prototypes for functions
13825         defined in fr30.c
13826         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
13827         * config/fr30/fr30.c: Fix compile time warnings.
13828         * config/fr30/fr30.md: Fix compile time warnings.
13829
13830 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
13831
13832         * tree.h (get_containing_scope): Declare it.
13833         * tree.c (get_containing_scope): New fucntion.
13834         (decl_function_context): Use it.
13835         * toplev.c (rest_of_compilation): Use get_containing_scope.
13836
13837 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13838
13839         * Makefile.in (rtl.o): Depend on toplev.h.
13840
13841 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
13842
13843         * cse.c (delete_trivially_dead_insns): Replace alloca with
13844         xmalloc/xcalloc.
13845         * except.c (update_rethrow_references): Likewise.
13846         (init_eh_nesting_info): Likewise.
13847         * function.c (identify_blocks): Likewise.
13848         * gcse.c (dump_hash_table): Likewise.
13849         * graph.c (print_rtl_graph_with_bb): Likewise.
13850         * loop.c (combine_movables): Likewise.
13851         (move_movables): Likewise.
13852         (count_loop_regs_set): Likewise.
13853         (strength_reduce): Likewise.
13854         * profile.c (compute_branch_probabilities): New function, split
13855         out from ...
13856         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
13857         * regclass.c (regclass): Likewise.
13858         * regmove.c (regmove_optimize): Likewise.
13859         * toplev.c (compile_file): Likewise.
13860         (main): Don't mess with the stack rlimit.
13861
13862 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
13863
13864         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
13865         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
13866
13867 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
13868
13869         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
13870
13871 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
13872
13873         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
13874         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
13875         macro expansion.
13876
13877 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
13878
13879         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
13880
13881 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
13882
13883         * gcse.c (post_dominators): Kill.
13884         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
13885         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
13886         pass in a pdom array since we do not need pdoms.
13887         * haifa-sched.c (schedule_insns): Similarly.
13888         * flow.c (compute_dominators): Remove dead function.
13889         (compute_flow_dominators): Do not compute doms or pdoms if the
13890         caller does not request them.  Split up loop to build doms and
13891         pdoms.  Use a worklist to compute doms and pdoms.
13892         * basic-block.h (compute_dominators): Remove prototype.
13893
13894 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
13895
13896         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
13897         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
13898         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
13899         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
13900         (cant_move, fed_by_spec_load, is_load_insn): Remove.
13901         (schedule_region): Remove unused variable.
13902         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
13903
13904 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
13905
13906         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
13907         (update_equiv_regs): Likewise.
13908         (block_alloc): Likewise.
13909         * reg-stack.c (reg_to_stack): Likewise.
13910         (convert_regs_2): Likewise.
13911         * reload1.c (reload_as_needed): Likewise.
13912
13913 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
13914
13915         * Makefile.in (dbxout.o): Depend on ggc.h.
13916         (dwarf2out.o): Likewise.
13917         (xcoffout.o): Likewise.
13918         * dbxout.c: Include ggc.h.
13919         (dbxout_init): Register lastfile as a root.
13920         * dwarf2out.c: Include ggc.h.
13921         (dwarf2out_line): Register lastfile as a root.
13922         * xcoffout.c: Include ggc.h.
13923         (xcoffout_source_line): Register xcoff_lastfile as a root.
13924
13925 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
13926
13927         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
13928
13929 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
13930
13931         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
13932         defined.
13933         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13934
13935 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13936
13937         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
13938         (EXECUTE_IF_CONFLICT): Likewise.
13939         (ALLOCNO_LIVE_P): Avoid signed division.
13940         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
13941         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
13942         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
13943
13944 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
13945
13946         * haifa-sched.c (schedule_block): Don't crash if there's no
13947         next insn for an interblock movement.
13948         (add_branch_dependences): Don't allow clobber insns to move either.
13949
13950 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
13951
13952         * i386.c (split_xf): New.
13953         * i386-protos.h: Declare it.
13954         * i386.md (movxf_1): Add general regs alternatives.
13955         (movxf_1+1): New splitter for same.
13956
13957 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
13958
13959         * function.c (purge_addressof_1): Add missing return values.
13960
13961 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
13962
13963         * function.c (is_addressof): New function.  Returns true if
13964         the given piece of RTL is an ADDRESSOF.
13965         (purge_addressof_1): Make boolean.  Return false if the
13966         ADDRESSOFs could not be purged.
13967         (purge_addressof): If ADDRESSOFs could not be purged from the
13968         notes attached to an insn, remove the offending note(s),
13969         unless they are attached to a libcall.
13970
13971 1999-11-05  Andreas Jaeger  <aj@suse.de>
13972
13973         * genoutput.c (null_operand =): Initialize all fields.
13974
13975         * errors.h: Add extern to prototypes.
13976
13977 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
13978
13979         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
13980         * configure: Rebuilt.
13981
13982 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13983
13984         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
13985         (mirror_conflicts): New function.
13986         (global_alloc): Call it.
13987         (expand_preferences): Remove redundant CONFLICTP test.
13988         (find_reg, dump_conflicts): Likewise.
13989         (prune_preferences): Process conflicts one word at a time.
13990
13991 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
13992
13993         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
13994         instead of an explicit loop.
13995
13996 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
13997
13998         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
13999         if REG_RETVAL check succeeds, then put classp in src_elt.
14000
14001 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
14002
14003         * function.c (pad_to_arg_alignment): Only update argument_pad
14004         if the argument's alignment is greater than STACK_BOUNDARY.
14005
14006 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
14007
14008         * bitmap.h (BITMAP_XFREE): New.
14009         * flow.c (life_analysis): Use it.
14010         (life_analysis_1): Free blocks.
14011
14012         * combine.c (undo_commit): New.
14013         (try_combine): Use it.  Don't zap undobuf.undos.
14014         (combine_instructions): Don't zap undobuf.undos; free the
14015         undobuf.frees list.
14016
14017         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
14018
14019         * stmt.c (cost_table_): New.
14020         (estimate_case_costs): Use it instead of xmalloc.
14021
14022         * toplev.c (compile_file): Reuse dumpname memory instead
14023         of strdup'ing it.
14024
14025 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
14026
14027         * reg-stack.c (convert_regs_1): Initialize target_stack->top
14028         after verifying an EH edge.
14029
14030         * haifa-sched.c (init_rgn_data_dependences): Correctly
14031         size bb_pending_lists_length when zeroing.
14032
14033 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
14034
14035         * function.c (diddle_return_value): New.
14036         (expand_function_end): Use it.
14037         * stmt.c (expand_null_return): Likewise.
14038         (expand_value_return): Likewise.
14039
14040         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
14041
14042         * reload1.c (reload): Don't remove return value clobbers.
14043
14044 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
14045
14046         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
14047
14048 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
14049
14050         * cse.c (cse_main): Use xmalloc, not alloca.
14051         (cse_basic_block): Likewise.
14052         * local-alloc.c (local_alloc): Likewise.
14053
14054 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
14055                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14056
14057         * rtl.c: Include toplev.h.
14058         (fatal): Remove declaration.
14059
14060 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
14061
14062         * haifa-sched.c (schedule_block): Fix thinko.
14063
14064 1999-11-03  James McKelvey <mckelvey@fafnir.com>
14065
14066         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
14067         S_IR* defined values
14068
14069 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
14070
14071         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
14072         call `malloc' instead.
14073
14074 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
14075
14076         * flags.h (flag_renumber_insns): Declare.
14077         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
14078         renumbering table.
14079         * rtl.h (renumber_insns): Change prototype.
14080         * toplev.c (flag_renumber_insns): Define.
14081         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
14082
14083 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
14084
14085         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
14086         and fpsqrtd.  Use them and create fdiv function unit to more
14087         accurately represent fpu sqrt pipeline semantics on UltraSparc.
14088         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
14089
14090 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
14091
14092         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
14093         3 on UltraSparc.
14094         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
14095         insn into ready list, do not use just a raw swap.
14096
14097 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
14098
14099         * rtl.h (renumber_insns): New function.
14100         (remove_unnecessary_notes): Likewise.
14101         * emit-rtl.c (renumber_insns): Define.
14102         (remove_unncessary_notes): Likewise.
14103         * toplev.c (rest_of_compilation): Remove dead code.
14104         Use renumber_insns and remove_unncessary_notes.
14105
14106         * gcse.c (struct null_pointer_info): New type.
14107         (get_bitmap_width): New function.
14108         (current_block): Remove.
14109         (nonnull_local): Likewise.
14110         (nonnull_killed): Likewise.
14111         (invalidate_nonnull_info): Take a null_pointer_info as input.
14112         (delete_null_pointer_checks_1): New function.
14113         (delete_null_pointer_checks): Use it.
14114
14115         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
14116         (split_edges): Likewise.
14117         (schedule_block): Likewise.
14118         (compute_block_backward_dependencies): Likewise.
14119         (schedule_region): Likewise.
14120         (schedule_insns): Likewise.
14121
14122 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
14123
14124         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
14125         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
14126         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
14127         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
14128         * jump.c (delete_unreferenced_labels): Don't delete if
14129         LABEL_ALTERNATE_NAME is set.
14130         * print-rtl.c (print_rtx): Dump alternate name.
14131         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
14132         * rtl.h (LABEL_ALTERNATE_NAME): Define.
14133         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
14134         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
14135
14136 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14137
14138         * fix-header.c (recognized_extern, recognized_function): Constify
14139         a char*.
14140
14141         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
14142         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
14143         (compute_available): Remove unused variable `last'.
14144         (compute_nearerout): Remove unused variable `temp_bitmap'.
14145         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
14146         Remove unused variable `x'.
14147
14148         * scan.h (recognized_function, recognized_extern): Constify a
14149         char*.
14150
14151         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
14152
14153 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14154
14155         * varasm.c (decode_rtx_const): Use XSTR to access the string
14156         of a SYMBOL_REF.
14157
14158 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
14159
14160         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
14161
14162 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14163
14164         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
14165
14166 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
14167
14168         * pa.c (ireg_operand): New function.
14169         * pa.h (PREDICATE_CODES): Handle ireg_operand.
14170         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
14171         Fix out of date comment.
14172
14173         * pa.md (negdi2): Turn into expander + anonymous pattern.
14174
14175         * reload.c (find_reloads): Fix typos in recent change.
14176
14177         * dwarf2out.c: Do not include ctype.h.
14178
14179 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14180
14181         * regclass.c (record_reg_classes): Always use may_move_cost when
14182         seeing how operand fits with various register classes.
14183
14184 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
14185
14186         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
14187         * toplev.c: Revert Nov 1 13:22 change.
14188
14189 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
14190
14191         * config/pa/pa.md (height reduction patterns): Add checks for
14192         overlapping operands to avoid semantic-destroying splits for
14193         height reduction patterns.
14194
14195 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14196
14197         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
14198         have been an hyphen, fixed.
14199         * configure: Rebuilt.
14200
14201 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
14202
14203         * config/arm/tpe.h: Add prototypes for exported functions.
14204         * config/arm/pe.c: Fix compile time warnings.
14205         * config/arm/semi.h: Fix compile time warnings.
14206         * config/arm/arm.c: Fix compile time warnings.
14207         * config/arm/arm.h: Fix compile time warnings.
14208         * config/arm/arm.md: Fix compile time warnings.
14209         * config/arm/thumb.c: Fix compile time warnings.
14210         * config/arm/thumb.h: Fix compile time warnings.
14211         * config/arm/thumb.md: Fix compile time warnings.
14212
14213 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
14214
14215         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
14216         detection code
14217
14218         * unroll.c (unroll_loop): Remove LOOP notes when loop is
14219         completely unrolled.
14220
14221 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14222
14223         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
14224
14225 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
14226
14227         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
14228         * rtl.h (rtx_equal_p): Move prototype.
14229         * rtl.c (rtx_equal_function_value_matters): Move from
14230         rtlanal.c
14231         (rtx_equal_p): Likewise.
14232         * rtlanal.c (rtx_equal_function_value_matters): Delete.
14233         (rtx_equal_p): Likewise.
14234
14235 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
14236
14237         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
14238         ! HAS_INIT_SECTION.
14239
14240 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
14241
14242         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
14243
14244         * pa.h (ADDR_VEC_ALIGN): Define.
14245
14246         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
14247         notes when presented with "if (foo) break; end_of_loop" and
14248         the break sequence gets moved out of the loop.
14249
14250         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
14251         Remove explicit zero initializations of entries within MAP.
14252
14253 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
14254
14255         * reg-stack.c (convert_regs_1): Handle EH edges specially.
14256
14257 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
14258
14259         * bitmap.h (BITMAP_XMALLOC): New macro.
14260         * flow.c (CLEAN_ALLOCA): Remove.
14261         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
14262         (life_analysis): Likewise.
14263         (update_life_info): Don't use CLEAN_ALLOCA.
14264         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
14265         (calculate_global_regs_live): Likewise.
14266         (print_rtl_with_bb): Likewise.
14267         (verify_flow_info): Likewise.
14268         * global.c (global_alloc): Likewise.
14269         (global_conflicts): Likewise.
14270         * integrate.c (save_for_inline_nocopy): Likewise.
14271         (expand_inline_function): Likewise.
14272         * jump.c (jump_optimize_1): Likewise.
14273         (duplicate_loop_exit_test): Likewise.
14274         (thread_jumps): Likewise.
14275         * loop.c (loop_optimize): Likewise.
14276         (combine_givs): Likewise.
14277         (recombine_givs): Likewise.
14278         * reorg.c (dbr_schedule): Likewise.
14279         * unroll.c (unroll_loop): Likewise.
14280
14281         * combine.c (combine_instructions): Use xmalloc instead of alloca.
14282
14283 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
14284
14285         * toplev.c (rest_of_compilation): Don't optimize the CFG
14286         when rebuilding, just before dbr.
14287
14288 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14289
14290         * output.h (assemble_end_function, assemble_destructor,
14291         assemble_constructor, assemble_gc_entry, assemble_global,
14292         assemble_label, output_constant_pool) Constify a char*.
14293
14294         * varasm.c (assemble_destructor, assemble_constructor,
14295         assemble_gc_entry, assemble_end_function, assemble_global,
14296         assemble_label, output_constant_pool): Likewise.
14297
14298 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
14299
14300         * config/arm/thumb.c (thumb_expand_prologue): Add comments
14301         explaining what is goin on in this function.
14302
14303 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14304
14305         * regclass.c (record_reg_classes): In matching case, recompute
14306         costs since the direction of movement is different.
14307
14308 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
14309
14310         * resource.c (mark_target_live_regs): For unconditional branches,
14311         the resources found at the branch target should be added to the
14312         resources found so far, not intersected.
14313
14314 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
14315
14316         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
14317         old cpp's.
14318         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
14319         (sys/mman.h): Include this file only if #HAVE_MMAP.
14320         (run_compiles): Initialize `esac_fmt' with one old KR string, not
14321         with automatically concatenated ANSI strings.
14322
14323 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
14324
14325         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
14326         (DIV_ROUND_UP): Robustify.
14327         (ggc_recalculate_in_use_p): New function.
14328         (release_pages): Don't inline it.
14329         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
14330         outer contexts.
14331         (ggc_pop_context): Use ggc_recalculate_in_use_p.
14332         (clear_marks): Always save in_use_p.
14333         (sweep_pages): Use ggc_recalculate_in_use_p.
14334         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
14335         Release pages before counting statistics.
14336
14337 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
14338
14339         * toplev.c (rest_of_compilation): Fix thinko in this change:
14340
14341         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
14342
14343         (rest_of_compilation): If inside an inlined external function,
14344         pretend we are just being declared.
14345
14346 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
14347
14348         * flow.c (calculate_global_regs_live): Fix thinko.
14349
14350         * integrate.c (expand_inline_function): Fix bugs in previous
14351         change from Oct 28, 1999.
14352
14353 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
14354
14355         * stmt.c (expand_value_return): Fix typo in this change:
14356
14357         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14358         (expand_value_return): Correctly convert VAL when promoting function
14359         return; support RETURN_REG being a PARALLEL.
14360
14361 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
14362
14363         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
14364
14365 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14366
14367         * hard-reg-set.h (reg_names): Constify a char*.
14368
14369         * regclass.c  (reg_names): Likewise.
14370
14371         * regs.h (reg_names): Likewise
14372
14373         * a29k/a29k.c (reg_names): Delete declaration.
14374
14375         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
14376
14377         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
14378         arc_output_function_epilogue): Likewise.
14379
14380         * elxsi/elxsi.c (reg_names): Likewise.
14381
14382         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
14383
14384         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
14385         Likewise.
14386
14387         * m88k/m88k.c (output_function_profiler): Likewise.
14388
14389         * sparc/sparc.c (sparc_flat_output_function_prologue,
14390         sparc_flat_output_function_epilogue): Likewise.
14391
14392 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
14393
14394         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
14395         warning from -Wuninitialized and put it under -W.
14396         * function.c (uninitialized_vars_warning): Warn only when the
14397         corresponding flag is set.
14398
14399 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
14400
14401         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
14402         is nonzero and the single set does not have an elt, then assign
14403         it an elt.
14404
14405         * simplify-rtx.c: New file.
14406         * Makefile.in (OBJS): Add simplify-rtx.o
14407         (simplify-rtx.o): Add dependencies.
14408         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
14409         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
14410         (cse_gen_binary, simplify_unary_operation): Delete.
14411         (simplify_binary_operation, simplify_plus_minus): Likewise.
14412         (check_fold_consts, simplify_relation_operation): Likewise.
14413         (simplify_ternary_operation): Likewise.
14414         (delete_trivially_dead_insns): Simplify the contents of the
14415         REG_EQUAL note before trying to substitute it into the source
14416         of the reg-reg copy at the end of a libcall sequence.
14417
14418         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
14419         references/callers changed.
14420
14421         * mn10200.c (mn10200_va_arg): Force the return value into a
14422         register.
14423
14424         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
14425
14426         * cccp.c (macroexpand): Avoid out of range accesses for omitted
14427         arguments.
14428
14429 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
14430
14431         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
14432
14433 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
14434
14435         * fold-const.c (fold): Fix thinko when optimizing comparisons
14436         against -0.0.
14437
14438 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
14439
14440         * gcc.texi (Passes): Update front-end files to their current
14441         location.
14442
14443 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
14444
14445         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
14446         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
14447         (PREDICATE_CODES): Add addition_operation.
14448         * alpha-protos.h (addition_operation): Declare.
14449         (secondary_reload_class): Likewise.
14450         * alpha.c (addition_operation): New.
14451         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
14452         * alpha.md (adddi3): Turn into expander.
14453         (*lda, *adddi_2): New.
14454         (movsf, movdf patterns): Don't preference integer regs.
14455         (movsi, movdi patterns): Don't preference fp regs.
14456
14457 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
14458
14459         * genrecog.c (write_switch): Check for duplicate CODE cases.
14460
14461 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
14462
14463         * ggc-common.c: Update pre-function commentary.
14464         * ggc-page.c: Likewise.
14465         (poison): Remove.
14466         (poison_pages): Use memset directly.
14467         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
14468         (ggc_collect): Poison before sweeping.
14469         * ggc-simple.c: Update pre-function commentary.
14470         (ggc_alloc_obj): Poison non-zeroed memory.
14471
14472 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
14473
14474         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
14475         match format string, even on 64-bit hosts.
14476         * gcc-page.c (ggc_page_print_statistics): Likewise.
14477
14478 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
14479
14480         * config/i386/i386.c (ix86_cpu): Revert last patch.
14481         * config/i386/i386.h (ix86_cpu): Ditto.
14482
14483 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
14484
14485         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
14486         TYPE_SIZE, convert type of result to sizetype.
14487
14488 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
14489
14490         * flow.c (count_or_remove_death_notes): Equate NULL with the
14491         universal set.
14492
14493         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
14494         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
14495         dbr_schedule.
14496
14497         * i386.c (pic_label_no): Delete.
14498         (ix86_attr_length_default): Don't use single_set to peek
14499         inside a parallel.
14500
14501         * recog.c (peephole2_optimize): Allow recog_next_insn to index
14502         the first insn after bb->end.
14503         * i386.md (push mem peeps): Scratch is live after evaluation
14504         of the memory.
14505         (cmp mem peep): Similarly.
14506
14507 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
14508
14509         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
14510         * function.c (pad_to_arg_alignment): Add missing braces.
14511
14512 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14513
14514         * alpha/alpha-protos.h (literal_section): Add prototype.
14515         (alpha_need_linkage, alpha_start_function,alpha_end_function):
14516         Constify a char*.
14517
14518         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
14519         prototype.
14520         (alpha_start_function, alpha_end_function, float_strings,
14521         alpha_need_linkage): Constify a char*
14522
14523         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
14524
14525         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
14526
14527         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
14528
14529         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
14530
14531 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14532
14533         * flow.c (debug_flow_info): Add prototype.
14534
14535         * gcc.c (main): Likewise.
14536
14537         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
14538         Likewise.
14539
14540         * reload1.c (failed_reload, set_reload_reg): Likewise.
14541
14542         * mips-tfile.c (main): Likewise.
14543         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
14544         with ATTRIBUTE_NORETURN.
14545
14546 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
14547
14548         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
14549         DECL is not a memory ref.
14550
14551 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
14552
14553         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
14554         * config/i386/i386.c (ix86_cpu): Add extern attribute.
14555
14556 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
14557
14558         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
14559         * config/mips/elf64.h: ditto.
14560
14561 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
14562
14563         * expr.c (emit_push_insn): New argument alignment_pad.
14564         Update all callers.  Adjust stack pointer based on alignment pad.
14565         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
14566         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
14567         (locate_and_pad_parm): New argument alignment_pad.  Update all
14568         callers.
14569         * expr.h (emit_push_insn): Update prototype.
14570         (locate_and_pad_parm): Update prototype.
14571         * calls.c (arg_data):  Add new field alignment_pad.
14572         (initialize_argument_information): Initialize alignment_pad.
14573
14574 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
14575
14576         * except.c (free_eh_nesting_info): Free the info itself.
14577         * function.c (free_after_compilation): Don't free NULL.
14578         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
14579         (pre_edge_insert): Free inserted.
14580         * stmt.c (free_stmt_status): Don't free NULL.
14581
14582 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
14583
14584         * gcov.c (DIR_SEPARATOR): Provide default.
14585         (output_data): Add test for MS-DOS format absolute filename.
14586         (fancy_abort): Correct program name.
14587         (open_files): Open all files in binary mode.
14588         * libgcc2.c (__bb_exit_func): Likewise.
14589
14590         * profile.c (init_branch_prob): Specify binary when opening files.
14591
14592         * flags.h (flag_unwind_tables): New decl.
14593         * toplev.c (flag_unwind_table): New definition.
14594         (f_options): Add -funwind-tables.
14595         (decode_g_option): Clarify warning when unknown -g option is given.
14596         (rest_of_compilation): If inside an inlined external function,
14597         pretend we are just being declared.
14598
14599         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
14600         (dwarf2out_frame_finish): Likewise.
14601
14602 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
14603
14604         * fold-const.c (merge_ranges): If not in0, but in1, handle
14605         upper bounds equal like subset case.
14606
14607 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
14608
14609         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
14610         passed in a register but moved to the stack.
14611
14612 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
14613
14614         * gcc.c (pass_exit_codes, greatest_status): New variables.
14615         (struct option_map): Add entry for "--pass-exit-codes".
14616         (execute): Update greatest_status if error.
14617         (display_help): Add documentation for -pass-exit-codes.
14618         (process_command): Handle -pass-exit-codes.
14619         (main): Look at pass_exit_codes and greatest_status on call to exit.
14620
14621 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14622
14623         * reload.c (find_reloads): Refine test for no input reload
14624         case to not includes reloads emitted after insn.
14625
14626         * function.c (find_temp_slots_from_address): Handle sum involving
14627         a register that points to a temp slot.
14628         (update_temp_slot_address): Make recursive call if both old and
14629         new are PLUS with a common operand.
14630         * calls.c (expand_call): Mark temp slot for result as having
14631         address taken.
14632
14633         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
14634
14635         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
14636         component as well as "BINUTILS".
14637
14638         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
14639         * integrate.c (copy_rtx_and_substitute): Likewise.
14640         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
14641         All callers changed.
14642         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
14643
14644         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
14645         gdb extensions, write size of type; also be more consistent
14646         in using references when this is a subtype.
14647
14648         * pa.md (extv, extzv, insv): Use define_expand to reject constant
14649         that is out of range.
14650
14651         * loop.c (unknown_constant_address_altered): New variable.
14652         (prescan_loop): Initialize it.
14653         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
14654         (invariant_p, case MEM): Remove handling for volatile and readonly;
14655         check new variable if readonly.
14656         (check_dbra_loop): Chdeck unknown_constant_address_altered.
14657
14658         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
14659         (addr_affects_sp_p): Removed from note_mem_written and only
14660         define #ifdef AUTO_INC_DEC.
14661
14662         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
14663
14664         * regclass.c (record_reg_classes): Properly handle register move
14665         directions.
14666
14667         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
14668         Don't think valid if both operands are invalid.
14669         (struct constant_descriptor): New field RTL.
14670         (mark_const_hash_entry): Mark it.
14671         (record_constant{,_rtx}): Initialize it.
14672         (output_constant_def): Allocate RTL in permanent obstack and
14673         save in table.
14674         ({record,compare}_constant_1): Modes must match for
14675         CONSTRUCTOR of ARRAY_TYPE.
14676
14677         * c-common.h (initializer_constant_valid_p): Delete decl from here.
14678         * output.h (initializer_constant_valid_p): Move decl to here.
14679         * c-common.c (initializer_constant_valid_p): Delete function from here.
14680         * varasm.c (initializer_constant_valid_p): Move function to here.
14681
14682         * tree.h (STRIP_SIGN_NOPS): New macro.
14683         * fold-const.c (optimize_minmax_comparison): New function.
14684         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
14685         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
14686         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
14687         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
14688         widening conversions.
14689         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
14690         to look at size of mode, not precision of type; also add missing cases.
14691         (optimize_bit_field_compare, decode_field_reference): Don't try to
14692         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
14693
14694         * dwarf2out.c (ctype.h): Include.
14695         (dwarf2out_set_demangle_name_func): New function.
14696         (size_of_line_info): Deleted.
14697         (output_line_info): Compute size of line info table from difference
14698         of labels.
14699         (base_type_die, add_name_attribute): Call demangle function, if any.
14700         (field_byte_offset): Use bits per word for variable length fields.
14701         (gen_array_type_die): Add array name.
14702         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
14703         (dwarf2out_add_library_unit_info): New function.
14704
14705         * explow.c (set_stack_check_libfunc): New function.
14706         (stack_check_libfunc): New static variable.
14707         (probe_stack_range): Allow front-end to set up a libfunc to call.
14708
14709         * combine.c (simplify_comparison): When making comparison in wider
14710         mode, check for having commuted an AND and a SUBREG.
14711         (contains_muldiv): New function.
14712         (try_combine): Call it when dividing a PARALLEL.
14713         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
14714         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
14715         a PLUS.
14716         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
14717         use one of the CLOBBERs instead.
14718         (if_then_else_cond): If comparing against zero, just return thing
14719         being compared.
14720
14721         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
14722         Don't generate shifts and subtract if have conditional arithmetic.
14723
14724         * rtl.h (delete_barrier): New declaration.
14725         * jump.c (jump_optimize): Set up to handle conditional call.
14726         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
14727         (delete_barrier): New function.
14728
14729         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
14730
14731         * recog.c (nonmemory_operand): Accept ADDRESSOF.
14732
14733         * tree.c (build_type_attribute_variant): Push to obstack of
14734         ttype around type_hash_canon call.
14735
14736         * expr.c (placeholder_list): Move decl to file scope.
14737         (expand_expr): Don't force access to volatile just because its
14738         address is taken.
14739         If ignoring reference operations, just expand the operands.
14740         (expand_expr, case COMPONENT_REF): Propagate
14741         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
14742         Refine test for using bitfield operations vs pointer punning.
14743         (expand_expr, case CONVERT_EXPR): If converting to
14744         BLKmode UNION_TYPE from BLKmode, just return inner object.
14745         Use proper mode in store_field call.
14746         Properly set sizes of object to store and total size in store_field
14747         call for convert to union.
14748         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
14749         memory (like for ADDR_EXPR).  Also, don't put constant in register if
14750         we'll want it in memory.
14751         (readonly_fields_p): New function.
14752         (expand_expr, case INDIRECT_REF): Call it if LHS.
14753         (expand_assignment): Handle a RESULT_DECL where
14754         DECL_RTL is a PARALLEL.
14755         (do_jump, case WITH_RECORD_EXPR): New case.
14756         (get_inner_reference): Always go inside a CONVERT_EXPR
14757         and NOP_EXPR if both modes are the same.
14758         (store_field): Use bitfield operations if size of bitsize is not same
14759         as size of RHS's type.
14760         Check for bitpos not a multiple of alignment in BLKmode case.
14761         Do block move in largest possible alignment.
14762         (store_constructor): Set BITSIZE to -1 for variable size and properly
14763         in case of array of BLKmode.
14764         (expand_expr_unaligned): New function.
14765         (do_compare_and_jump): Call it.
14766
14767         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
14768         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
14769         does not include 'o'.
14770
14771         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
14772         both SET_DEST and SET_SRC reference a virtual register.
14773         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
14774
14775         * integrate.c (expand_inline_function): Handle case of setting
14776         virtual stack vars register (from built in setjmp); when parameter
14777         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
14778         (subst_constant): Add new parm, MEMONLY.
14779         (expand_inline_function, integrate_parm_decls): Pass new parm.
14780         (integrate_decl_tree): Likewise.
14781         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
14782         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
14783         (copy_rtx_and_substitute, case SET): Add explicit calls to
14784         copy_rtx_and_substitute for both sides.
14785
14786         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
14787         constraints.
14788         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
14789         within INDEX_TYPE, instead of before.
14790         (fixup_gotos): Use f->target_rtl, not the next insn,
14791         since latter may be from a later fixup.
14792         (expand_value_return): Correctly convert VAL when promoting function
14793         return; support RETURN_REG being a PARALLEL.
14794         (expand_return): When checking for result in regs and having
14795         cleanup, consider PARALLEL in DECL_RTL as being in regs.
14796
14797 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
14798
14799         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
14800         last_nominal_fname): Mark const.
14801         (struct include_hash: name, nshort, control_macro): Mark
14802         const.
14803         (struct macrodef: symnam): Mark const.
14804         (struct if_stack: fname): Mark const.
14805         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
14806         (IStable): New character-syntax array which encompasses all
14807         the old is_foo arrays.
14808         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
14809         is_space): New macros for interrogating IStable.
14810         (check_macro_name): Kill last argument.  All callers changed.
14811
14812         * cppinit.c (initialize_char_syntax): Delete.
14813         (is_idchar, is_idstart, is_hor_space, is_space,
14814         trigraph_table): Delete.
14815         (IStable): New.  Initialize with clever macros to avoid
14816         information duplication.
14817         (builtin_array): Table of builtins to get rid of explicit list
14818         in initialize_builtins.
14819         (initialize_builtins): Use builtins_array.
14820         (cpp_start_read): Call init_IStable, and set IStable['$'] if
14821         opts->dollars_in_ident.
14822
14823         * cppexp.c: Change all refs to is_xyz[] arrays to use new
14824         is_xyz() macros.
14825         (cpp_parse_expr): Avoid 'format string is not constant'
14826         warning. Use ISGRAPH to identify printable chars.
14827         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
14828         is_xyz() macros.
14829         (read_and_prescan): Map trigraphs to chars with open-coded
14830         if-else-if-... sequence, not a lookup table.
14831         * cpphash.c: Change all refs to is_xyz[] arrays to use new
14832         is_xyz() macros.
14833         * cpplib.c: Change all refs to is_xyz[] arrays to use new
14834         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
14835         (check_macro_name): Remove ability to report an invalid
14836         assertion name, which is never used.
14837         (do_line): Constify a couple of char *'s.
14838         * cppmain.c (main): Call cpp_cleanup before returning.
14839
14840 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
14841
14842         * ggc.h (struct ggc_statistics): New type.
14843         (ggc_get_size): New function.
14844         (ggc_print_statistics): Likewise.
14845         * ggc-common.c (ggc_stats): New variable.
14846         (ggc_mark_rtx_children): Keep statistics.
14847         (ggc_mark_tree_children): Likewise.
14848         (ggc_print_statistics): New function.
14849         * ggc-page.c (struct globals): Add bytes_mapped field.
14850         (alloc_anon): Update it.
14851         (release_pages): Likewise.
14852         (ggc_get_size): New function.
14853         (ggc_page_print_statistics): New function.
14854         * ggc-simple.c (ggc_get_size): New function.
14855
14856 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
14857
14858         * flow.c (propagate_block): When the last reference to a label
14859         before an ADDR_VEC is deleted because the reference is a dead
14860         store, delete the ADDR_VEC.
14861
14862 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
14863
14864         * resource.c (find_free_register): Don't use the frame pointer
14865         if frame_pointer_needed.
14866
14867 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
14868
14869         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
14870         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
14871
14872         * config/i960/i960.c (i960_va_start): New locals base, num.
14873         Use INDIRECT_REF instead of ARRAY_REF on valist.
14874         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
14875
14876 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
14877
14878         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
14879
14880 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
14881
14882         * tree.def (PLACEHOLDER_EXPR): Update comments.
14883
14884 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14885
14886         * c-common.c (check_format_info): Avoid non-literal format string
14887         warnings when `first_arg_num' is zero.
14888
14889 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14890
14891         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
14892
14893 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
14894
14895         * arm.md (casesi_insn): Add a clobber of the condition code
14896         register.
14897
14898 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
14899
14900         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
14901         used by both cc1 and cc1plus.
14902
14903 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
14904
14905         * config/arm/arm.c: Initialise arm_structure_size_boundary to
14906         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
14907         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
14908         to the value 32 if it has not already been defined.
14909         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
14910         Override definition in arm.h with a value of 8.
14911
14912 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
14913
14914         * c-pragma.c (push_alignment): Don't check the return value
14915         of xmalloc.
14916
14917 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
14918
14919         * sparc.h (ADJUST_COST): Fix thinko.
14920
14921 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
14922
14923         * cccp.c (rescan): Fixed obp pointer handling around call to
14924         check_expand subroutine.
14925
14926 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
14927
14928         * gcse.c (delete_null_pointer_checks): Only record non-null info
14929         for pseudos when examining stores.
14930
14931         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
14932         splitters for these patterns.  Use "#" for output templates.
14933         (addsi3_carryin_shift): New pattern.
14934
14935 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
14936
14937         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
14938         of the function return register into a plain REG until
14939         after function inlining is done.
14940
14941 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
14942
14943         * jump.c (jump_optimize_1): If we did cross-jumping, and
14944         the data will matter, rebuild the CFG.
14945         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
14946         not optimizing.  Don't run shorten_branches.
14947         * toplev.c (rest_of_compilation): Run shorten_branches after
14948         reg_to_stack.
14949
14950 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
14951
14952         * rtl.h (note_stores): Add additional paramter.
14953         * rtlanal.c (reg_set_p_1): Take additional paramter.
14954         (reg_set_last_1): Likewise.
14955         (reg_set_p): Adjust call to note_stores.
14956         (reg_set_last): Likewise.
14957         (note_stores): Pass data parameter to worker function.
14958         * alias.c (record_set): Take additional parameter.
14959         (init_alias_analysis): Pass it.
14960         * caller-save.c (mark_set_regs): Take additional parameter.
14961         (save_call_clobbered_regs): Pass NULL to note_stores.
14962         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
14963         parameter.
14964         (record_dead_and_set_regs_1): Likewise.
14965         (reg_dead_at_p_1): Likewise.
14966         (combine_instructions): Adjust calls to note_stores.
14967         (try_combine): Likewise.
14968         (record_dead_insn): Remove.
14969         (record_dead_and_set_regs): Adjust calls to note_stores.
14970         (reg_dead_at_p): Likewise.
14971         * cse.c (invalidate_skipped_set): Take additional parameter.
14972         (cse_check_loop_start): Likewise.
14973         (cse_check_loop_start_value): Remove.
14974         (cse_set_around_loop): Adjust calls to note_stores.
14975         * flow.c (notice_stack_pointer_modification): Take additional
14976         parameter.  Remove duplicate declaration.
14977         (record_volatile_insns): Adjust calls to note_stores.
14978         * gcse.c (record_set_info): Take additional parameter.
14979         (record_last_set_info): Likewise.
14980         (invalidate_nonnull_info): Likewise.
14981         (record_set_insn): Remove.
14982         (compute_sets): Adjust calls to note_stores.
14983         (last_set_insn): Remove.
14984         (compute_hash_table): Adjust calls to note_stores.
14985         (insert_insn_end_bb): Likewise.
14986         (delete_null_pointer_checks): Likewise.
14987         * global.c (mark_reg_store): Take additional parameter.
14988         (mark_reg_clobber): Likewise.
14989         (reg_becomes_live): Likewise.
14990         (global_conflicts): Adjust calls to note_stores.
14991         (build_insn_chain): Likewise.
14992         * integrate.c (note_modified_parmregs): Take additional parameter.
14993         (mark_stores): Likewise.  Make it static.
14994         (save_for_inline_nocopy): Adjust calls to note_stores.
14995         (try_constants): Likewise.
14996         * integrate.h (mark_stores): Remove declaration.
14997         * jump.c (mark_modified_reg): Take additional parameter.
14998         (thread_jumps): Adjust calls to note_stores.
14999         * local-alloc.c (validate_equiv_mem_from_store): Take additional
15000         parameter.
15001         (no_equiv): Likewise.
15002         (reg_is_set): Likewise.
15003         (validate_equiv_mem): Adjust calls to note_stores.
15004         (update_equiv_regs): Likewise.
15005         (block_alloc): Likewise.
15006         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
15007         (note_addr_stored): Take additional parameter.
15008         (note_set_pseudo_multiple_uses): Likewise.
15009         (record_initial): Likewise.
15010         (prescan_loop): Adjust calls to note_stores.
15011         (strength_reduce): Likewise.
15012         (check_dbra_loop): Likewise.
15013         * regmove.c (flags_set_1): Take additional paramter.
15014         (mark_flags_life_zones): Adjust calls to note_stores.
15015         * reload1.c (mark_not_eliminable): Take additional parameter.
15016         (forget_old_reloads_1): Likewise.
15017         (reload_cse_invalidate_rtx): Likewise.
15018         (reload_cse_check_clobber): Likewise.
15019         (reload_combine_note_store): Likewise.
15020         (move2add_note_store): Likewise.
15021         (reload): Adjust calls to note_stores.
15022         (reload_as_needed): Likewise.
15023         (emit_reload_insns): Likewise.
15024         (reload_cse_regs_1): Likewise.
15025         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
15026         (reload_combine): Adjust calls to note_stores.
15027         * resource.c (update_live_status): Take additional paramter.
15028         (mark_target_live_regs): Adjust calls to note_stores.
15029         * stupid.c (find_clobbered_regs): Take additional parameter.
15030         (stupid_life_analysis): Adjust calls to note_stores.
15031
15032 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
15033
15034         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
15035         definition.
15036
15037         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
15038         definition.
15039
15040         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
15041         of the variable arm_structure_size_boundary.
15042
15043 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
15044
15045         * alias.c (init_alias_analysis): Allocate reg_known_value and
15046         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
15047         and reg_seen.
15048         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
15049         * cse.c (cse_main): Call end_alias_analysis.
15050         * haifa-sched.c (schedule_insns): Likewise.
15051         * local-alloc. (update_equiv_regs): Likewise.
15052         * reload1.c (reload_cse_regs): Likewise.
15053
15054 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15055
15056         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
15057         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
15058         mapping from MASK_FPU.
15059
15060 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
15061
15062         * sparc.md (call): Don't bound structure return size to 0xfff.
15063
15064 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
15065
15066         * resource.c (mark_target_live_regs): Check that the target
15067         insn wasn't created after compute_bb_for_insn.
15068
15069 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
15070
15071         * ggc-page.c (poison_pages): Don't be overzealous.
15072
15073 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
15074
15075         * alias.c: Update comments for ADDRESS.
15076         (nonlocal_reference_p): Look inside the ADDRESS to determine if
15077         it is a local memory reference.
15078
15079         * c-typeck.c (build_function_call): Check that the built-in
15080         function is of class BUILT_IN_NORMAL before trying to recongize
15081         it as BUILT_IN_ABS.
15082         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
15083         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
15084
15085 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
15086
15087         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
15088         of alloca.
15089         (pre_gcse): Likewise.
15090         (hoist_expr_reaches_here_p): Likewise.
15091         (hoist_code): Likewise.
15092         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
15093         code to ...
15094         (pre_expr_reaches_here_p_work): ... here.
15095         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
15096         code to ...
15097         (expr_reaches_here_p_work): ... here.
15098
15099 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
15100
15101         * resource.c (find_basic_block): Delete.
15102         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
15103         (init_resource_info): Call compute_bb_for_insn.
15104
15105 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
15106
15107         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
15108         with already adjacent blocks, but no fallthru.
15109         (merge_blocks_move_successor_nojumps): Simplify.
15110         (debug_flow_info): New.
15111
15112         * toplev.c (rest_of_compilation): Open jump1 dump file before
15113         jump and close after, as opposed to just using dump_rtl.
15114
15115 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15116
15117         * reload.h (earlyclobber_operand_p): Declare.
15118         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
15119         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
15120         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
15121         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
15122
15123 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
15124                           Richard Henderson  <rth@cygnus.com>
15125
15126         * emit-rtl.c (emit_block_insn_before): New.
15127         (emit_block_insn_after): New.
15128         * basic-block.h: Declare them.
15129
15130         * bitmap.h: Protect from multiple inclusion.
15131
15132         * recog.c (scratch_operand): Handle VOIDmode correctly.
15133
15134         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
15135
15136         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
15137         * function.c (assign_parms): Likewise.
15138         * global.c (global_conflicts): Clarify STACK_REGS commentary.
15139
15140         * reg-stack.c (max_uid): Remove.
15141         (blocks, block_begin, block_end, block_drops_in): Remove.
15142         (block_stack_in, block_out_reg_set, block_number): Remove.
15143         (struct block_info_def, BLOCK_INFO): New.
15144         (enum emit_where): New.
15145         (current_block): New.
15146         (BLOCK_NUM): Remove.
15147         (mark_regs_pat, record_label_references): Remove.
15148         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
15149         (nan): New.
15150         (goto_block_pat, print_blocks, dump_stack_info): Remove.
15151         (reg_to_stack): Simplified test for existance of fp code.  Use
15152         flow.c code.  Call shorten_branches after cross-jump opt.
15153         (check_asm_stack_operands): Renamed from record_asm_reg_life.
15154         Return false if the asm doesn't use stack regs.  Don't do life
15155         analysis on the asm.
15156         (emit_pop_insn): Replace function pointer arg `when' with
15157         enum `where'.  Update all callers.
15158         (change_stack): Likewise.  Update basic block end.
15159         (emit_swap_insn): Use current_block->head to limit reverse search
15160         for start of block.  Use emit_block_insn_after.
15161         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
15162         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
15163         structure assignment instead of bcopy.
15164         (print_stack): New.
15165         (convert_regs_entry, convert_regs_exit): New.
15166         (convert_regs_1, convert_regs_2): Split out from convert_regs.
15167         Work on basic blocks and the CFG.
15168         (convert_regs): Use them.
15169
15170         * i386.c (output_fix_trunc): Remove code for DImode input operand
15171         not at top-of-stack.
15172         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
15173         appropriate mode.
15174         (fix_truncdi_1): Allow any mode scratch.
15175
15176 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
15177
15178         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
15179         * linux.h, netbsd.h, vms.h: Not here.
15180
15181 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
15182
15183         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
15184         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
15185         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
15186         CONDITIONAL_REGISTER_USEAGE): Use them.
15187         * config/mips/mips.c (mips_move_1word,mips_move_2words,
15188         gen_conditional_branch,override_options) : Use them.
15189         * config/mips/mips.md : Use them.
15190
15191 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
15192
15193         * i386.md (zero_extendqihi2): Use SImode register name with andl.
15194
15195 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
15196
15197         * integrate.c (function_cannot_inline_p): Don't allow inlining
15198         if setjmp is used.
15199
15200 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15201
15202         * c-parse.in (cast_expr): Constify.
15203
15204         * cccp.c (special_symbol): Likewise.
15205
15206         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
15207
15208         * dwarf2out.c (base_type_die): Likewise.
15209
15210         * global.c (allocno_compare): Likewise.
15211
15212         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
15213
15214         * regclass.c (fix_register): Likewise.
15215
15216         * rtl.h (fix_register): Likewise.
15217
15218         * stupid.c (stupid_reg_compare): Likewise.
15219
15220         * toplev.c (decode_f_option): Likewise.
15221
15222         * tree.c (build_complex_type): Likewise.
15223
15224 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
15225
15226         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
15227
15228 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15229
15230         * reload.c (find_reloads): Compute mode and nregs fields of all
15231         reloads.
15232         * reload1.c (calculate_needs_all_insns): Simplify a bit.
15233         (calculate_needs): Use precomputed mode/nregs values.
15234         (allocate_reload_reg): Likewise.
15235         Break out two...
15236         (failed_reload, set_reload_reg): ... new functions.
15237         (choose_reload_regs_init): New function, mostly broken out from...
15238         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
15239         Also lose one #if 0 block.
15240
15241 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
15242
15243         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
15244         substitution.
15245
15246 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
15247
15248         * tree.h (BLOCK_TYPE_TAGS): Remove.
15249         (BLOCK_END_NOTE): Likewise.
15250         (BLOCK_LIVE_RANGE_FLAG): Likewise.
15251         (BLOCK_LIVE_RANGE_START): Likewise.
15252         (BLOCK_LIVE_RANGE_END): Likewise.
15253         (tree_block): Remove live_range_flag, live_range_var_flag, and
15254         type_tags.  Remove end_note, live_range_start, and live_range_end.
15255         (remember_end_note): Remove prototype.
15256         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
15257         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
15258         remember_end_note.
15259         * ggc-common.c (ggc_mark_tree_children): Don't mark
15260         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
15261         * integrate.c (adjust_copied_decl_tree): Remove.
15262         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
15263         * stmt.c (last_block_end_note): Remove.
15264         (init_stmt): Don't add a GC root for it.
15265         (expand_fixup): Don't set it.
15266         (remember_end_note): Remove.
15267         (expand_end_bindings): Don't set last_block_end_note.
15268
15269 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15270
15271         * reload1.c (reload_reg_free_for_value_p): Show
15272         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
15273         reloads.
15274
15275 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
15276
15277         * expmed.c (extract_bit_field): Allow for the case of non-integer
15278         objects that are smaller than a word (like SFmode on a 64-bit
15279         machine).
15280
15281         * loop.c (basic_induction_var): A non-integer variable which is
15282         being set by a paradoxical subreg is probably not a biv.
15283
15284 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15285
15286         * prefix.c (translate_name) Check for empty prefix string.
15287
15288 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
15289
15290         * Makefile.in (CPP_CROSS_NAME): New variable.
15291         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
15292         xcpp.
15293         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
15294         names of the files to be uninstalled.
15295
15296 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
15297
15298         * collect2.c (IS_DIR_SEPARATOR): Define.
15299         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
15300
15301         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
15302         functions too.
15303
15304         * haifa-sched.c (add_dependence): Update the true dependency
15305         cache the first time we add a true dependence to the LOG_LINKS chain.
15306
15307 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
15308
15309         * fold-const.c (fold): Fix comment.
15310
15311 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15312
15313         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
15314         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
15315         dbxout_start_new_source_file, dbxout_source_file,
15316         dbxout_source_line, dbxout_finish, dbxout_type_fields,
15317         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
15318         Constify a char*.
15319         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
15320         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
15321         (dbxout_block): Initialize variable `blocknum'.
15322
15323         * dbxout.h (dbxout_init, dbxout_finish,
15324         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
15325         dbxout_args, dbxout_source_line): Constify a char*.
15326
15327         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
15328         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
15329         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
15330         low_pc_attribute, high_pc_attribute, body_begin_attribute,
15331         body_end_attribute, comp_dir_attribute, sf_names_attribute,
15332         src_info_attribute, mac_info_attribute, producer_attribute,
15333         lookup_filename, generate_macinfo_entry, fundamental_type_code,
15334         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
15335         dwarfout_undef): Constify a char*.
15336         (add_incomplete_type, retry_incomplete_types): Add prototypes.
15337
15338         * dwarfout.h (dwarfout_define, dwarfout_undef,
15339         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
15340
15341 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
15342
15343         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
15344         (MULTILIB_ISA_DEFAULT): New.
15345         (MULTILIB_DEFAULTS): Use it.
15346         * config/mips/mips.c (): Remove the now unnecessary definition
15347         of MIPS_ISA_DEFAULT.
15348         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
15349         unnecessary definition.
15350
15351 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
15352
15353         * arm.md (pic_load_addr): Add constraints to operand 1.
15354
15355 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
15356
15357         * fixinc/genfixes:  Provide a means for specifying -D options to
15358         AutoGen
15359
15360 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
15361
15362         * arm.c (arm_override_options): Correct initialization of
15363         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
15364         arm_is_strong, and arm_is_6_or_7.
15365
15366         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
15367         (note_set_pseudo_multiple_uses): New function.
15368         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
15369         if a pseudo set in the loop exit is used elsewhere.
15370
15371 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
15372
15373         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
15374
15375 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
15376
15377         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
15378         a single load-address pattern.
15379
15380 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
15381
15382         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
15383         depending on whether or not line-number notes are present.
15384
15385 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15386
15387         * cccp.c (progname, file_buf, default_include, include_file,
15388         macrodef, definition, hashval, wchar_type, user_label_prefix,
15389         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
15390         expand_to_temp_buffer, is_system_include, base_name,
15391         absolute_filename, read_name_map, open_include_file,
15392         record_control_macro, check_precompiled, check_preconditions,
15393         pcfinclude, pass_thru_directive, create_definition,
15394         check_macro_name, comp_def_part, collect_expansion,
15395         check_assertion, read_token_list, assertion_install,
15396         assertion_lookup, eval_if_expression, conditional_skip,
15397         validate_else, skip_quoted_string, quote_string, macarg1,
15398         error_from_errno, install, lookup, hashf, dump_defn_1,
15399         perror_with_name, pfatal_with_name, main, trigraph_pcp,
15400         check_white_space, rescan, handle_directive, monthnames,
15401         special_symbol, do_include, remap_include_file, write_output,
15402         arglist, do_assert, do_unassert, do_line, do_error, do_once,
15403         do_ident, do_sccs, do_xifdef, skip_if_group,
15404         output_line_directive, macroexpand, macarg, change_newlines,
15405         initialize_builtins, make_definition): Constify a char*.
15406
15407         * pcp.h (stringdef): Likewise.
15408
15409 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
15410
15411         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
15412         not of pattern.
15413
15414 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
15415                           Richard Henderson  <rth@cygnus.com>
15416
15417         * alias.c: Include ggc.h.
15418         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
15419         (record_set): Verify enough room in reg_base_value.
15420         (init_alias_analysis): Allocate reg_base_value with xcalloc.
15421         Register it as a GC root.
15422         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
15423         * Makefile.in (alias.o): Depend on ggc.h.
15424
15425         * unroll.c (unroll_loop): Verify the insn before a barrier
15426         is a JUMP_INSN before checking JUMP_LABEL.
15427
15428 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15429
15430         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
15431         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
15432         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
15433         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
15434         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
15435         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
15436
15437 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15438
15439         * output.h (ctors_section, dtors_section, bss_section): Prototype.
15440
15441         * alpha/alpha-interix.h (text_section): Delete prototype.
15442         * alpha/elf.h (text_section): Likewise.
15443         * arm/linux-elf.h (text_section): Likewise.
15444         * arm/linux-telf.h (text_section): Likewise.
15445         * c4x/c4x.h (text_section): Likewise.
15446         * dsp16xx/dsp16xx.h (bss_section): Likewise.
15447         * elfos.h (text_section): Likewise.
15448         * i386/aix386ng.h (text_section): Likewise.
15449         * i386/i386-interix.h (text_section): Likewise.
15450         * i386/sco5.h (text_section): Likewise.
15451         * i386/svr3gas.h (text_section): Likewise.
15452         * nextstep.h (text_section): Likewise.
15453         * psos.h (text_section): Likewise.
15454         * ptx4.h (text_section): Likewise.
15455         * svr3.h (text_section): Likewise.
15456         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
15457
15458 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15459
15460         * final.c (peephole): Delete prototype.
15461
15462         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
15463         (pre_insert_copies): Remove unused variable `bb'.
15464
15465         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
15466         prototypes.
15467
15468         * output.h (peephole): Add prototype.
15469
15470 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
15471
15472         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
15473         -O0.
15474
15475 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
15476
15477         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
15478         for inlined declarations.
15479
15480 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
15481
15482         * arm.c (logical_binary_operator): New fucntion.
15483         * arm.h (logical_binary_operator): Declare it.
15484         (PREDICATE_CODES): Handle logical_binary_operator.
15485         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
15486         output constraints.  Add appropriate splitters.
15487         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
15488         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
15489         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
15490
15491 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15492
15493         * genoutput.c (struct operand_data): New elt eliminable.
15494         (output_operand_data): Write it.
15495         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
15496         (compare_operands): Take it into account.
15497         * recog.h (struct insn_operand_data): New elt eliminable.
15498         * reload1.c (check_eliminable_occurrences, elimination_effects): New
15499         functions.
15500         (old_asm_operands_vec, new_asm_operands_vec): Delete.
15501         (eliminate_regs): Move code that detects changes to elimination
15502         target regs into new function elimination_effects.
15503         Delete one #if 0 block.
15504         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
15505         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
15506         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
15507         Only call eliminate_regs for real operands of the insn, not for parts
15508         of its structure or parts matched by things like match_operator.
15509         Use elimination_effects and check_eliminable_occurrences.  Use
15510         copy_insn to duplicate the pattern when not in the final pass.
15511
15512 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
15513
15514         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
15515         and fld.
15516
15517 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
15518
15519         * fixinc/README: document the "mach" machine matching test
15520         * fixinc/fixfixes.c: Implement the #else/#endif label fix
15521         * fixinc/fixtests.c: Implement the #else/#endif label test
15522         * fixinc/inclhack.def: utilize these tests and fixes
15523         * fixinc/inclhack.sh:  regen
15524         * fixinc/fixincl.x:  regen
15525         * fixinc/fixincl.sh:  regen
15526
15527 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
15528
15529         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
15530         depend on ggc.h.
15531
15532 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
15533
15534         * gcc.1: Document exit codes.
15535
15536 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15537
15538         * calls.c: Include tm_p.h later, so everything we need is defined.
15539         * expr.c: Likewise.
15540         * function.c: Likewise.
15541
15542         * except.c: Include tm_p.h.
15543
15544         * sparc.c: Likewise.
15545         (dwarf2out_cfi_label): Don't prototype.
15546         (check_return_regs, epilogue_renumber,
15547         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
15548         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
15549         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
15550         ultra_schedule_insn): Add static prototype.
15551         (data_segment_operand, text_segment_operand): Call itself with the
15552         proper number of arguments.
15553         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
15554
15555         * sparc.h: Move all declarations to sparc-protos.h.
15556         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
15557         symbolic_operand.
15558
15559         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
15560
15561         * config/svr4.h (text_section, ctors_section, dtors_section): Add
15562         Prototypes.
15563         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
15564         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
15565         ASM_OUTPUT_ASCII): Constify a char*.
15566
15567         * sparc-protos.h: New file for sparc prototypes.
15568
15569 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15570
15571         * function.c (record_insns, contains): Always declare and define.
15572         (record_insns): Mark with ATTRIBUTE_UNUSED.
15573
15574 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15575
15576         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
15577         to .section when outputting a .bss section to deal with multiple
15578         .bss input sections (as happens with -fdata-sections)
15579         Also output %progbits, not @progbits so the assembler doesn't treat as
15580         a comment.
15581         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
15582
15583         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
15584         thumb parts even when building with non-thumb CPUs, by forcing
15585         thumb mode.
15586
15587 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
15588
15589         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
15590         (movdf_const_intreg_sp64): Similarly.
15591
15592         * local-alloc.c (update_equiv_regs): Check the correct insn
15593         for pre-existing REG_EQUIV notes.
15594
15595 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
15596
15597         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
15598         block reached by a branch if we're not going to actually process
15599         this block.
15600
15601 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
15602
15603         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
15604         a local extern function declaration.
15605
15606 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
15607
15608         * i386.c (ix86_expand_prologue): Properly wrap USE around
15609         reg for CALL_INSN_FUNCTION_USAGE.
15610
15611 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
15612
15613         * config/mips/mips.md (movdf_internal1a): Allow floating-point
15614         move between GP_REGs.
15615
15616 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
15617
15618         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
15619         the mode size when finding out if an offset is legal.
15620
15621 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
15622
15623         * basic-block.h (PROP_*): Move constants from ...
15624         * flow.c: ... here.
15625         (compute_bb_for_insn): Free the array before reallocating.
15626         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
15627         (allocate_reg_life_data): Reset all reg variables collected by
15628         propagate_block.
15629         (get_block_head_tail): Don't convert from bb to block.
15630         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
15631         (find_insn_reg_weight): Take block not bb.
15632         (schedule_block): Don't set block num for moved insns.
15633         (schedule_region): Don't update_life_info or find_insn_reg_weight.
15634         (schedule_insns): Do it here instead.
15635         * combine.c (combine_instructions): Invoke compute_bb_for_insn
15636         before update_life_info.
15637         * recog.c (split_all_insns, peephole2_optimize): Update for
15638         new arg to update_life_info.
15639         * rtlanal.c (remove_note): Cope with NULL note.
15640         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
15641         if we did sched1.
15642
15643 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
15644
15645         * jump.c (jump_optimize_1): More accurately detect casesi insns.
15646
15647         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
15648         block records so that merge_blocks_nomove will clean up correctly.
15649         (split_edge): Handle casesi insns.
15650
15651         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
15652
15653 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
15654
15655         * pa.md (call, call_value): Do not emit a blockage after restoring
15656         the PIC register.
15657
15658 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
15659
15660         * c-typeck.c (c_expand_asm_operands): Fix typo.
15661
15662 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15663
15664         * arm.c (fpu_rhs_operand): Verify modes.
15665         (fpu_add_operand): Likewise.
15666         (di_operand): Likewise.
15667         (soft_df_operand): Likewise.
15668
15669 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
15670
15671         * arm.c (arm_return_in_memory): APCS rules state that the elements
15672         of a structure returned in a register must be 'integer-like'.
15673
15674 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
15675
15676         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
15677         in the source tree when the generated targets are out of date
15678         * fixinc/genfixes: Alter it to run individual fixes for make.
15679         * fixinc/README: rewrite
15680         * fixinc/inclhack.def: moved initial comments to README
15681
15682 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
15683
15684         * toplev.c (main): Do not generate an error message if an
15685         unrecognised command line switch is recognisable by another
15686         language.  If extra_warnings are enabled, then generate a
15687         warning message instead.
15688
15689 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15690
15691         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
15692         (insert_pack_attributes): Delete prototype.
15693
15694         * c-pragma.c (default_alignment): New static variable.
15695         (push_alignment): Initialize to current effective alignment.
15696         (pop_alignment): Use to set new alignment.
15697         (insert_pack_attributes): Delete function.
15698         (handle_pragma_token): Set default_alignment as well each time
15699         a #pragma pack(<n>) is encountered.
15700
15701 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
15702
15703         * reg-stack.c (stack_result): Aggregates are not returned in
15704         stack registers.
15705
15706 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
15707
15708         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
15709
15710 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
15711
15712         * basic-block.h (set_block_num): Declare.
15713         * flow.c (update_life_info): Don't call compute_bb_for_insn
15714         or free_basic_block_vars.
15715         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
15716         (insn_orig_block): Remove.
15717         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
15718         (schedule_block): Keep BLOCK_NUM up-to-date.
15719         (schedule_insns): Use compute_bb_for_insn.
15720         * recog.c (split_all_insns): Likewise.
15721         (peephole2_optimize): Likewise.
15722
15723 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
15724
15725         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
15726         if the pic register is used.
15727
15728 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15729
15730         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
15731         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
15732         if that tests TREE_PERMANENT.
15733
15734 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
15735
15736         * cse.c (invalidate_for_call): Do not remove memory references from
15737         the table here.  It's handled elsewhere.
15738
15739         * haifa-sched.c (add_dependence): Protect references to the
15740         true dependency cache with #ifdef INSN_SCHEDULING.
15741         (remove_dependence): Similarly.
15742
15743         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
15744         to the cfg code that this is a return instruction.
15745         * mn10300.md (return_internal): Similarly.
15746
15747         * combine.c (get_last_value): If the last set of a register
15748         is after subst_low_cuid, then we can not use it to determine
15749         the register's last value.
15750
15751 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
15752
15753         * Makefile.in: Back out previous change.
15754
15755 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
15756
15757         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
15758
15759         * haifa-sched.c (add_dependence): Only check/update the cache
15760         if it exists.
15761         (remove_dependence): Likewise.
15762         (schedule_insns): Only create the true_dependency_cache if the
15763         average number of instructions in a basic block is very large.
15764
15765 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
15766
15767         * Makefile.in (ggc-common.o): Depend on genrtl.h.
15768         (ggc-simple.o): Likewise.
15769         (ggc-page.o): Likewise.
15770
15771 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
15772
15773         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
15774         Prototype for exported functions.
15775         (pre_lcm, pre_rev_lcm): Remove prototypes.
15776         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
15777         (compute_available): Move to lcm.c, and change parameter order.
15778         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
15779         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
15780         (gcse_main): No longer call compute_preds_succs.  Rebuild the
15781         set table after reach pre pass.
15782         (pre_insert_map, pre_delete_map, edge_list): New.
15783         (alloc_pre_mem): Allocate edge vectors.
15784         (free_pre_mem): Delete edge vectors.
15785         (compute_pre_data): Call new edge based lcm routines.
15786         (process_insert_insn): New function.
15787         (insert_insn_end_bb): Use it.
15788         (pre_edge_insert): New function.
15789         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
15790         needed.
15791         (pre_insert_copies): Revamp using new edge based lcm outputs.
15792         (pre_delete): Likewise.
15793         (one_pre_gcse_pass): Insert & remove fake edges to the exit
15794         block.
15795         (compute_code_hoist_vbeinout): New new edge based routines.
15796         * lcm.c: Remove all the old LCM functions.  Replace with new ones
15797         that work with the new cfg datastructures and work with edges
15798         instead of blocks.
15799
15800 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15801
15802         * reload.h (struct reload): Add new fields "mode" and "nregs".
15803         * reload1.c: Change all occurrences of reload_mode and reload_nregs
15804         to reference the "mode" and "nregs" field within struct reload.
15805
15806 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
15807
15808         * haifa-sched.c (true_dependency_cache): New.
15809         (add_dependence): Use the true dependency cache to avoid expensive
15810         walks down the LOG_LINKS dependency list.  Add entries to the
15811         cache as necessary.
15812         (remove_dependence): Remove entries from the true dependency cache
15813         as needed.
15814         (schedule_insns): Allocate and initialize and free the true
15815         dependency cache.
15816
15817         * haifa-sched.c (schedule_insns): Do not remove inter-block
15818         dependencies anymore.
15819
15820 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
15821
15822         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
15823         * i386/t-winnt: Likewise.
15824
15825 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
15826
15827         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
15828
15829 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
15830
15831         * Makefile.in (LANGUAGES): Omit "proto".
15832         (clean): Remove stale comment about removing unprotoize.c.
15833
15834 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15835
15836         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
15837         using arithmetic on void pointers.
15838
15839 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
15840
15841         * haifa-sched.c (compute_block_forward_dependencies): Only check
15842         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
15843
15844 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
15845
15846         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
15847         (expr_equiv_p): Reject memories with different alias sets.
15848
15849 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
15850
15851         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
15852         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
15853         (f_options): Add "bounded-pointers" and "bounds-check" entries.
15854         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
15855         (lang_init): Set default for flag_bounds_check if still "unspecified".
15856
15857 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15858
15859         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
15860
15861 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15862
15863         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
15864         instructions.
15865
15866 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15867
15868         * config/c4x/c4x.md (*db_noclobber,
15869         *decrement_and_branch_until_zero_noclobber): New patterns and
15870         associated splitters.
15871
15872 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15873
15874         * config/c4x/c4x.md (parallel instruction patterns): Rework
15875         constraints to keep reload happy.
15876
15877 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15878
15879         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
15880         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
15881         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
15882         Add new patterns and associated post-reload splitters.
15883
15884 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15885
15886         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
15887
15888 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15889
15890         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
15891         if appropriate.
15892         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
15893
15894 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15895
15896         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
15897         memory mode.
15898
15899 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
15900
15901         * pa.c (move_operand): Rely on memory_address_p to determine the
15902         validity of non-indexed memory addresses.
15903         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
15904         operand in DFmode and SFmode when generating PA2.0 code.
15905
15906 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
15907
15908         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
15909
15910 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
15911
15912         * mips.c (function_prologue): Fix argument types.
15913         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
15914         (casesi_internal): Write to the scratch register.
15915
15916 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
15917
15918         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
15919         to U_CHAR **.
15920         (parse_charconst): Delete unnecessary cast when calling
15921         cpp_parse_escape.
15922         (cpplib.h): Kill prototype of cpp_parse_escape.
15923
15924 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
15925
15926         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
15927         * unroll.c (unroll_loop): Cast return value of alloca.
15928         * i370/i370.c: Include function.h and toplev.h.
15929         (i370_label_scan): Remove c++ commented abort.
15930         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
15931         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
15932         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
15933         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
15934
15935 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
15936
15937         * config/t-freebsd: Do not override USER_H.
15938         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
15939
15940 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
15941                           Mumit Khan  <khan@xraylith.wisc.edu>
15942
15943         * c-parse.in (component_decl): Support anonymous struct/union.
15944         (%expect): Update.
15945         * c-parse.y: Regenerate.
15946         * c-parse.c: Likewise.
15947         * objc/objc-parse.y: Likewise.
15948         * objc/objc-parse.c: Likewise.
15949         * c-decl.c (finish_struct): Don't sort the fields.
15950         (field_decl_cmp): Delete unused function.
15951
15952 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
15953
15954         * sparc.md (movsf_const_intreg): Revert last constraint change.
15955         (movdf_const_intreg_sp32): Likewise.
15956
15957 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
15958
15959         * cse.c: Include hashtab.h instead of splay-tree.h
15960         (struct cse_reg_info): No longer use variant union.  Add new
15961         field "regno".  All references changed to avoid union.
15962         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
15963         (free_cse_reg_info): Remove.
15964         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
15965         (get_cse_reg_info): Revamp to use expandable hash tables instead
15966         of splay trees.  Initialize new fields in cse_reg_info structure.
15967         (new_basic_block): Similarly.
15968
15969 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
15970
15971         * genrecog.c (message_with_line): Prototype.
15972         (validate_pattern): Pass along the set for the dest, not a flag.
15973         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
15974         Check for PC/CC0 as sources.
15975         (nodes_identical): Check for children position match before
15976         allowing the combination.
15977
15978         * rtl.c (read_rtx): Track line number across \\\n.
15979
15980 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
15981
15982         * mips.h (SPECIAL_MODE_PREDICATES): New.
15983         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
15984         (movdi+1, movsi+1): Add output reload constraint.
15985         (casesi_internal): Likewise.  Fix commentary.
15986         (return_internal): Use pmode_register_operand.
15987
15988 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
15989
15990         * 1750a.md (movstrqi): Add missing output reload constraint.
15991         (call_value): Likewise.
15992         * a29k.md (cpxxx patterns): Add missing match_operator mode.
15993         (jmpfdec): Add missing inout reload constraint.
15994         * elxsi.md (addsi patterns): Add missing output reload constraint.
15995         (move from sp): Use @ alternates.
15996         (call_value): No constraint on output.
15997         * fr30.md (movsi_pop): Add missing output reload constraint.
15998         (movsf_constant_store): Likewise.
15999         (splits): Remove constraints.
16000         (subsi3): Add missing mode.
16001         * i370.md (cmpstrsi+1): Add missing output reload constraint.
16002         (call_value): Likewise.
16003         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
16004         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
16005         * m32r.md (movsicc_internal): Add output reload constraint.
16006         (movstrsi_internal): Add inout reload constraints.
16007         * m88k.h (reg_names): Don't declare.
16008         (SPECIAL_MODE_PREDICATES): New.
16009         * m88k.md (*): Use register_operand not reg_or_0_operand
16010         on destinations.
16011         * mn10200.h (PREDICATE_CODES): New.
16012         * ns32k.md (ffs pattern): Add output reload constraint.
16013         * pdp11.md (sob pattern): Add inout reload constraint.
16014         * sh.md (splits): Remove constraints.
16015         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
16016         * v850.md (pattern_is_ok_for_epilogue): Likewise.
16017         * vax.md (jgequ pattern): Add inout reload constraint.
16018
16019 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
16020
16021         * configure.in (djgpp): Revert previous patch.
16022         * configure: Rebuit.
16023         * config/i386/djgpp.h: Revert previous patch.
16024
16025 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
16026
16027         * fixinc/inclhack.def: Restore patch lost during last merge of
16028         "no_bogosity" branch.
16029         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
16030
16031 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16032
16033         * fixincludes: Add a HPUX 11 fix for inttypes.h.
16034         * fixinc/inclhack.def: Same.
16035         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
16036
16037 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
16038
16039         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
16040         as the base of a PLUS.
16041
16042 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16043
16044         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
16045         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
16046
16047 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
16048
16049         * pa.md (post_stw+1): Use pmode_register_operand.
16050         (dcacheflush, icacheflush): Likewise.
16051
16052         * i386.md (movstricthi_1): Allow r/r.
16053
16054 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
16055
16056         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
16057         to (not (and (arg0) (arg1))). Similary for and.
16058
16059         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
16060         fallthrough to associate code.
16061         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
16062         bits in common.
16063
16064         * combine.c (simplify_logical): Convert XOR to IOR if operands have
16065         no bits in common; remove XOR to ROTATE conversion.
16066
16067 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16068
16069         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
16070
16071 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16072
16073         * config/c4x/c4x.c (dst_operand): New.
16074         (PREDICATE_CODES): Update.
16075         * config/c4x/c4x.h (dst_operand): Declare it.
16076         * config/c4x/c4x.md:  Define mode for each unspec usage.
16077         (move patterns):  Use dst_operand predicate instead of src_operand.
16078         (movqi_update, movqf_update): Delete.
16079
16080 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
16081
16082         * recog.c (pmode_register_operand): New.
16083         * recog.h: Declare it.
16084         * genrecog.c (pred_codes): Likewise.
16085         (special_mode_pred_table): Likewise.
16086         (validate_pattern): Don't warn no mode for address_operand.
16087
16088         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
16089         if the operand is not insn-like.
16090
16091 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
16092                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
16093
16094         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
16095
16096 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
16097
16098         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
16099         instead of general_operand in a SET_DEST.  Use const_double_operand
16100         instead of an explicit test against CONST_DOUBLE.
16101         (movsf_const_lo): Add missing register mode.
16102         (goto_handler_and_restore): Add auxiliary test for Pmode.
16103         (flush): Adjust to use address_operand.
16104         (return_sf_no_fpu): Add missing output constraint.
16105
16106 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
16107
16108         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
16109         for call return value.
16110         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
16111
16112 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
16113
16114         * toplev.c (main): Only warn about options for other languages.
16115         * collect2.c (main): Pass -w to sub-gcc.
16116
16117 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
16118
16119         * flow.c (propagate_block): Add call-clobbered registers to
16120         significant too.
16121
16122         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
16123         zapping mem_set_list.
16124         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
16125         (mark_set_1, mark_used_regs): Likewise.
16126
16127 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
16128
16129         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
16130
16131 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16132
16133         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
16134         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
16135         options. Also add a new item "C-only Warning Options" to the
16136         option summary.
16137
16138 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
16139
16140         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
16141         from multiple calls.
16142
16143 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
16144
16145         * i386.md (call value patterns): Move to the end of the file.
16146         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
16147
16148 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
16149
16150         * configure.in (djgpp configuration): Define extra_objects..
16151         * configure: Rebuilt.
16152         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
16153         (DTORS_SECTION_ASM_OP): Define.
16154         (INIT_SECTION_ASM_OP): Define.
16155         (FINI_SECTION_ASM_OP): Define.
16156         (DATA_SECTION_ASM_OP): Define.
16157         (TEXT_SECTION_ASM_OP): Define.
16158         (EH_FRAME_SECTION_ASM_OP): Define.
16159         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
16160         (STARTFILE_SPEC): Add crtbegin.o.
16161         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
16162         to here from LINK_COMMAND_SPEC.
16163         (DO_GLOBAL_CTORS_BODY): Define.
16164         (CRTSTUFF_USE_FINI_SECTION): Define
16165         (HAS_INIT_SECTION): Delete.
16166
16167 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
16168
16169         * Makefile.in (all.cross): Depend on xcpp$(exeext).
16170
16171 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
16172
16173         * pa.h (PREDICATE_CODES): New.
16174
16175         * genrecog.c (validate_pattern): Condense the destination
16176         non-lvalue message.
16177
16178 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
16179
16180         * alpha.md (call-1): Supply missing mode for operator.
16181         (*): Add missing output reload constraints.  Remove constraints
16182         from define_splits.
16183
16184         * i386.h (SPECIAL_MODE_PREDICATES): New.
16185         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
16186         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
16187         (addsi_lea_3): Add missing mode for op 3.
16188         (prologue_set_got, prologue_get_pc): Add missing modes.
16189         (*) Add missing output reload constraints.
16190
16191 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
16192
16193         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
16194         check for member bit-size overflow and use var_size if it occurs.
16195         (layout_record): Use bitsize_int() to define the type size in bits.
16196         Likewise for computation and assignment to DECL_FIELD_BITPOS.
16197         (layout_decl): Likewise when assigning to DECL_SIZE.
16198
16199 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
16200
16201         * genrecog.c (validate_pattern): Typo last change.  Verify
16202         that output operands have output reloads.
16203
16204 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
16205
16206         * genrecog.c (special_mode_pred_table): New.
16207         (NUM_SPECIAL_MODE_PREDS): New.
16208         (find_operand): New.
16209         (validate_pattern): New argument `insn'.  Warn for assignment to
16210         any predicate accepting non-lvalues.  Conditionaly warn for
16211         match_operand without a mode.  Try much harder to match source
16212         and destination modes on a set.
16213         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
16214
16215 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
16216
16217         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
16218
16219 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
16220
16221         * combine.c (simplify_logical): Recognize xor pattern that encodes
16222         rotation.
16223
16224 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16225
16226         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
16227         alignment.
16228
16229 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
16230
16231         * ggc-page.c (MAP_FAILED): Provide default.
16232
16233 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
16234
16235         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
16236         * sparc.h (PREDICATE_CODES): Update.
16237
16238 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
16239
16240         * alpha.c (some_ni_operand): New.
16241         * alpha-protos.h: Declare it.
16242         * alpha.h (PREDICATE_CODES): Update.
16243         * alpha.md (sXaddq reload insns): Use some_ni_operand
16244         for SET_DEST instead of some_operand.
16245
16246 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
16247                           Jim Wilson  <wilson@cygnus.com>
16248
16249         * genrecog.c (maybe_both_true_2): Don't compare modes of
16250         two DT_pred tests.
16251         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
16252         after find_afterward.
16253         (debug_decision_1): Dump next and afterward codes.
16254
16255 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
16256
16257         * rtl.c (dump_and_abort): Remove.
16258         (fatal_with_file_and_line): New.
16259         (fatal_expected_char): New.
16260         (read_rtx_lineno, read_rtx_filename): New.
16261         (read_skip_spaces): Track line number.
16262         (read_name): Use fatal_with_file_and_line.
16263         (read_rtx): Use fatal_expected_char.  Track line number.
16264         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
16265
16266         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
16267         if it isn't a CODE_LABEL.
16268
16269         * genattr.c (main): Set read_rtx_filename.
16270         * genattrtab.c (main): Likewise.
16271         * gencodes.c (main): Likewise.
16272         * genconfig.c (main): Likewise.
16273         * genemit.c (main): Likewise.
16274         * genextract.c (main): Likewise.
16275         * genflags.c (main): Likewise.
16276         * genopinit.c (main): Likewise.
16277         * genoutput.c (main): Likewise.
16278         * genpeep.c (main): Likewise.
16279
16280         * genrecog.c (decision_test.u.insn): Add `lineno'.
16281         (pattern_lineno, error_count): New variables.
16282         (message_with_line): New.
16283         (add_to_sequence): Break out checking code to ...
16284         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
16285         (merge_insn): Use message_with_line.
16286         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
16287         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
16288
16289 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16290
16291         * expr.c (store_constructor): Clear union if constructor is empty.
16292
16293 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
16294
16295         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
16296         Add !endian checks.  Change %{...} to %(...).
16297
16298 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
16299
16300         * i386.md (*addsi3_cc): Renamed from addcsi3.
16301         (*addsi3_carry): Renamed from addxsi3.
16302         (*subsi3_cc): Renamed from subcsi3.
16303         (*subsi3_carry): Renamed from subxsi3.
16304         (*xorqi_cc_1): Renamed from xorcqi_1.
16305         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
16306         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
16307
16308 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
16309
16310         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
16311         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
16312
16313 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
16314
16315         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
16316         climb up the chain of insns.
16317
16318 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
16319
16320         * genrecog.c (write_subroutine): Careful for null trees.
16321         (process_tree): Don't elide empty functions.
16322
16323 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
16324
16325         * Makefile.in (genrtl.o): Depend on ggc.h.
16326         * configure.in (valloc): Probe for it.
16327         (with-gc): Use ggc-page if valloc present.
16328         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
16329         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
16330         (ggc_alloc_string): Moved from ggc-page.c.
16331         * ggc-none.c (ggc_alloc_obj): New.
16332         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
16333         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
16334         (struct globals): Likewise for dev_zero_fd.
16335         (init_ggc): Likewise for it's initialization.
16336         (ggc_allocated_p): Move careful dereference from ...
16337         (ggc_lookup_page_table): ... here.  Delete.
16338         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
16339         (alloc_anon): Use valloc if no mmap.
16340         (release_pages): Use free if using valloc.
16341         (ggc_alloc_obj): Renamed from alloc_obj.
16342         (ggc_set_mark): Renamed from mark_obj.
16343         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
16344         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
16345         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
16346         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
16347         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
16348         (ggc_collect): Use fp printing instead of our own rounding.
16349         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
16350         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
16351         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
16352         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
16353         (struct ggc_string, struct ggc_any): Delete.
16354         (offsetof): Provide default definition.
16355         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
16356         (PTR_KEY): New.
16357         (struct ggc_mem): New, from corpse of ggc_any.
16358         (struct ggc_status): Delete.
16359         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
16360         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
16361         (n_strings_collected, n_anys_collected): Delete.
16362         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
16363         (ggc_alloc_string, ggc_alloc): Delete.
16364         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
16365         (ggc_free_string, ggc_free_any): Delete.
16366         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
16367         (ggc_compare_addresses, ggc_mark_string): Delete.
16368         (ggc_mark_string_if_gcable, ggc_mark): Delete.
16369         (search_data): Delete.
16370         (struct globals): New.
16371         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
16372         (tree_insert, tree_lookup): New.
16373         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
16374         (clear_marks, sweep_objs): New.
16375         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
16376         (init_ggc): Set allocated_last_gc.
16377         (ggc_push_context): Gut.  Use G.context.
16378         (ggc_pop_context): Likewise.
16379         (ggc_pop_context_1): New.
16380         (debug_ggc_tree): New.
16381         (debug_ggc_balance, tally_leaves): New.
16382         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
16383         (ggc_mark_string_if_gcable): Remove decl.
16384         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
16385         (ggc_mark_rtvec_children): New.
16386         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
16387         (ggc_mark_if_gcable): New decl.
16388         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
16389         (ggc_alloc_tree, ggc_alloc): Likewise.
16390         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
16391         (ggc_alloc_obj): New decl.
16392         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
16393         (ggc_alloc_tree, ggc_alloc): Likewise.
16394         (ggc_set_mark): New decl.
16395         * rtl.h (struct rtx_def): Remove gc_mark.
16396         (struct rtvec_def): Likewise.
16397         * tree.h (struct tree_common): Likewise.
16398
16399 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
16400
16401         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
16402         float_format and thread_file definitions.
16403         * configure: Rebuilt.
16404
16405 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
16406
16407         * extend.texi (Function Names): Document types of function names.
16408
16409 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16410
16411         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
16412         an earlyclobbered output conflict with RELOAD_INPUT reloads.
16413
16414 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16415
16416         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
16417
16418 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16419
16420         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
16421
16422 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
16423
16424         * collect2.c (main): Do prelimnary link on AIX if rflag.
16425
16426 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
16427
16428         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
16429         __CTOR_LIST__ in opposite order, which is the correct order for sorted
16430         constructors.
16431         (__do_global_dtors): similarly for __DTOR_LIST__.
16432
16433 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16434                                 Diego Novillo <dnovillo@cygnus.com>
16435
16436         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
16437         FPUL_REGS.
16438
16439 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
16440
16441         * fixincl/*: Merged "no_bogosity" branch
16442         * fixincl/fixlib.h: protect against doubly defining t_bool
16443         * fixincl/server.h: protect against doubly defining t_bool
16444
16445 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
16446
16447         * genoutput.c: Include toplev.h.
16448
16449 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
16450
16451         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
16452         Undef.
16453         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
16454         * configure: Regenerate.
16455
16456 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
16457
16458         * gcse.c (delete_null_pointer_checks): Returns void.
16459
16460 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16461
16462         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
16463         * emit-rtl.c (copy_insn_1): Likewise.
16464
16465 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16466
16467         * config/mips/mips.c (mips_build_va_list): Correct
16468         TREE_CHAIN setting when hard-float.
16469         (mips_va_start): Use corrected setting.
16470         (mips_va_arg): Likewise.  Also pass a tree to build of
16471         POSTINCREMENT_EXPR rather than a naked 'int'.
16472
16473 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
16474
16475         * ggc.h (ggc_push_context): Fix comment.
16476         (ggc_pop_context): Likewise.
16477         (mark_string_if_gcable): Likewise.
16478         * ggc-common.c (ggc_mark_rtx_children): Use
16479         ggc_mark_string_if_gcable.
16480         * ggc-page.c (ggc_lookup_page_table): New function.
16481         (ggc_allocated_p): Likewise.
16482         (mark_obj): Fix formatting.
16483         (ggc_mark_string_if_gcable): New function.
16484         * ggc-simple.c (ggc_allocated_strings): New variable.
16485         (ggc_strings_used): Likewise.
16486         (ggc_compare_addresses): New function.
16487         (ggc_pop_context): Pop the `any' memory too.
16488         (ggc_mark_string_if_gcable): New function.
16489         (ggc_collect): Initialize and tear down ggc_allocated_strings.
16490
16491 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
16492
16493         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
16494         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
16495         * rs6000.c (expand_block_move): Match movstrsi_?reg register
16496         changes.
16497
16498 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
16499
16500         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
16501         (sched_reg_live_length, sched_reg_basic_block): Delete.
16502         (current_block_num, bb_live_regs, old_live_regs): Delete.
16503         (dead_notes, struct sometimes): Delete.
16504         (sched_note_set, birthing_insn_p): Delete.
16505         (adjust_priority): Gut useless reg lifetime code.
16506         (create_reg_dead_note, attach_deaths): Delete.
16507         (attach_deaths_insn, new_sometimes_live): Delete.
16508         (finish_sometimes_live): Delete.
16509         (find_pre_sched_live, find_post_sched_live): Delete.
16510         (update_reg_usage): Delete.
16511         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
16512         (schedule_insns): Delete reg lifetime code.
16513         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
16514         (unlink_other_notes): Adjust REG_NOTE commentary.
16515         (reemit_notes): Use REG_SAVE_NOTE.
16516         (schedule_block): Likewise.
16517         (schedule_region): Allocate bitmap of blocks in region.  Use
16518         count_or_remove_death_notes.  Use update_life_info.
16519
16520         * rtl.h (REG_SAVE_NOTE): New.
16521         * rtl.c (reg_note_name): Update.
16522
16523 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
16524
16525         * combine.c (refresh_blocks, need_refresh): New.
16526         (combine_instructions): Allocate refresh_blocks.  Invoke
16527         update_life_info if needed.
16528         (distribute_notes): Mark refresh_blocks instead of installing
16529         USE insns.
16530         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
16531         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
16532
16533         * Makefile.in (recog.o): Depend on basic-block.h.
16534
16535 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
16536
16537         * genrecog.c (add_to_sequence): Thinko last change: delete
16538         shadowing allow_const_int variable.
16539
16540 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16541
16542         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
16543         __GNUC__ and __GNUC_MINOR__.
16544
16545         * gansidecl.h: Likewise.
16546
16547         * rtl.c: Likewise.
16548
16549         * rtl.h: Likewise.
16550
16551         * toplev.h: Likewise.
16552
16553         * tree.c: Likewise.
16554
16555         * tree.h: Likewise.
16556
16557         * varray.c: Likewise.
16558
16559         * varray.h: Likewise.
16560
16561 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16562
16563         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
16564         use one before a jump table.
16565
16566         * rtl.def (ADDRESS): Change documentation to match reality.
16567         * md.texi: Don't document it.
16568         * gmicro.md (load address pattern): Use 'p' constraint, delete use
16569         of ADDRESS rtx.
16570
16571         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
16572
16573 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
16574
16575         * genrecog.c (add_to_sequence): Move allow_const_int test outside
16576         known predicate block; default allow_const_int true.
16577         (debug_decision_list): New.
16578
16579 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
16580
16581         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
16582
16583 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
16584
16585         * gcse.c (gcse_main): Avoid global optimizations if we have a
16586         large number of basic blocks and the ratio of edges to blocks
16587         is high.
16588         (delete_null_pointer_checks): Likewise.
16589
16590 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
16591
16592         * c-common.c (check_format_info): Warn if format string isn't a
16593         string literal.
16594
16595 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
16596
16597         * configure.in (arm*-*-*): Don't let autoconf remove brackets
16598         * configure: regenerate
16599
16600 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
16601
16602         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
16603         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
16604         (peepholes): Re-enable.
16605
16606 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
16607
16608         * Makefile.in (flow.o): Depend on TREE_H.
16609         * basic-block.h (REG_SET_EQUAL_P): New.
16610         (XOR_REG_SET): New.
16611         (n_edges): Declare.
16612         (free_regset_vector): Remove declaration.
16613         (flow_delete_insn_chain): Declare.
16614         (enum update_life_extent): New.
16615         (update_life_info, count_or_remove_death_notes): Declare.
16616         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
16617         Verify register live at bb->global_live_at_start before adding USE.
16618         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
16619         (CLEAN_ALLOCA): New.
16620         (n_edges): New.
16621         (PROP_*): New flags.
16622         (find_basic_blocks_1): Use alloc_EXPR_LIST.
16623         (clear_edges): Zero n_edges.
16624         (make_edge): Increment n_edges.
16625         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
16626         (flow_delete_insn_chain): Export.
16627         (delete_block): Decrement n_edges.
16628         (merge_blocks_nomove): Likewise.
16629         (life_analysis): Give life_analysis_1 PROP flags.
16630         (verify_wide_reg_1, verify_wide_reg): New.
16631         (verify_local_live_at_start): New.
16632         (update_life_info): Rewrite to call into propogate_block.
16633         (mark_reg): New.
16634         (mark_regs_live_at_end): After reload, if epilogue as rtl,
16635         always mark stack pointer.  Conditionally mark PIC register.
16636         After reload, mark call-saved registers, return regsiters.
16637         (life_analysis_1): Accept PROP flags not remove_dead_code.
16638         Call mark_regs_live_at_end before zeroing regs_ever_live.
16639         Use calculate_global_regs_live.  Copy global_live_at_end before
16640         calling final propagate_block.  Zero reg_next_use on exit.
16641         (calculate_global_regs_live): New.
16642         (allocate_bb_life_data): Don't allocate bb->local_set.
16643         (init_regset_vector, free_regset_vector): Remove.
16644         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
16645         Test flags before every operation.  Warn if prologue/epilogue insn
16646         would have been deleted.
16647         (mark_set_regs, mark_set_1): Accept and use FLAGS.
16648         Use alloc_EXPR_LIST.
16649         (mark_used_regs): Accept and use FLAGS, not FINAL.
16650         Remove special handling for RETURN.
16651         (try_pre_increment): Use alloc_EXPR_LIST.
16652         (dump_flow_info): Dump n_edges.
16653         (unlink_insn_chain, split_hard_reg_notes): Remove.
16654         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
16655         (find_insn_with_note, new_insn_dead_notes): Remove.
16656         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
16657         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
16658         (replace_insns): Remove.
16659         (count_or_remove_death_notes): New.
16660         (verify_flow_info): Abort on error after all checks.
16661         (remove_edge): Decrement n_edges.
16662         (remove_fake_edges): Tweak format.
16663         * haifa-sched.c (schedule_insns): Use split_all_insns.
16664         * output.h (update_life_info): Remove declaration.
16665         * recog.c (split_all_insns): From the corpse of split_block_insns,
16666         do the whole function block by block.  Use update_life_info.
16667         (recog_last_allowed_insn): New.
16668         (recog_next_insn): Mind it.
16669         (peephole2_optimize): Set it.  Walk backwards through blocks.
16670         Use update_life_info.
16671         * rtl.h (update_flow_info, replace_insns): Remove declarations.
16672         (split_all_insns): Declare.
16673         * toplev.c (rest_of_compilation): Thread prologue before flow2.
16674         Use split_all_insns.
16675
16676         * i386.md (or -1 peep2s): Disable.
16677
16678 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
16679
16680         * config/mips/mips.md (movstrsi+[123]) : Combine these into
16681         a single pattern.  Scrap the 'd' versions as unnecessary.
16682
16683         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
16684         tablejump_mips162,tablejump_internal4): The operands to a
16685         label_ref must be VOIDmode.
16686
16687 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16688
16689         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
16690
16691 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
16692
16693         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
16694
16695 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
16696
16697         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
16698         cache every function if ggc_p.
16699
16700 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16701
16702         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
16703         instead of copy_rtx.  Accept sequences that contain asm statements.
16704         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
16705         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
16706         orig_asm_operands_vector, copy_asm_operands_vector,
16707         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
16708         variables.
16709         * rtl.h (copy_insn, copy_insn_1): Declare.
16710
16711 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16712
16713         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
16714
16715         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
16716         arguments to `current_file_function_operand'.
16717
16718         * genrecog.c: Include hard-reg-set.h and resource.h in the
16719         generated output file.
16720
16721         * real.c: Include tm_p.h.
16722
16723 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16724
16725         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
16726         output operand.
16727
16728 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
16729
16730         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
16731         before the fctiwz insn.
16732
16733 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16734                           Mark Mitchell  <mark@codesourcery.com>
16735
16736         * tree.c (make_lang_type_fn): New funtion pointer.
16737         (make_lang_type): Call it.
16738         * tree.h (make_lang_type): Declare.
16739         (make_lang_type_fn): Likewise.
16740         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
16741
16742 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
16743
16744         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
16745         make sure that HIGH instructions are copied into BASE_REGS.
16746
16747 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
16748
16749         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
16750
16751 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
16752
16753         * c-decl.c (finish_struct): Use simpler method of
16754         removing elements of a singly-linked list.
16755
16756 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
16757
16758         * alpha.md (peephole2's): Comment out peephole2's that generate
16759         buggy code.
16760
16761 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
16762
16763         * genrecog.c (add_to_sequence): Disable mode check for
16764         wildcard matches.
16765
16766 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16767
16768         * ggc-simple.c (init_ggc): Set empty_string.
16769
16770 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
16771
16772         * configure.in: Detect mmap.  Add --with-gc=foo to select
16773         garbage collector; default to page if mmap available.
16774         * Makefile.in (GGC): Substitute.
16775
16776 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
16777
16778         * c-decl.c (ggc_p): Enable.
16779
16780 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16781
16782         * flow.c (verify_flow_info): Make it extern & unconditionally define.
16783
16784 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
16785
16786         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
16787         string for little-endian-data.
16788
16789 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
16790
16791         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
16792         case somebody tries to compile --enable-checking code with gcc
16793         1.34 or such.
16794
16795 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
16796
16797         * genrecog.c (add_to_sequence): Verify operand to label_ref is
16798         VOIDmode.
16799
16800 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
16801
16802         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
16803         * jump.c (jump_optimize_1): Document why.
16804
16805 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16806
16807         * collect2.c (scan_prog_file, scan_libraries): Prototype function
16808         pointers and casts for `int_handler' and `quit_handler'.
16809
16810         * flow.c (verify_flow_info, split_hard_reg_notes,
16811         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
16812         remove_edge, remove_fake_successors): Add static prototypes.
16813         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
16814         (mark_set_1): Initialize variable `regno'.
16815         (unlink_insn_chain): Likewise for variable `curr'.
16816         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
16817
16818         * loop.c (strength_reduce): Initialize variable
16819         `unrolled_insn_copies'.
16820         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
16821         prototypes.  Change these functions to take const PTR parameters
16822         to avoid prototype conflict when used as the comparson argument
16823         for qsort.
16824         (check_dbra_loop): Initialize variable `comparison_val'.
16825
16826         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
16827         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
16828         (find_valid_class): Initialize variable `best_class'.
16829         (find_reloads): Call memcpy, not bcopy.
16830
16831         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
16832         (hard_reg_use_compare): Don't needlessly cast away const.
16833         (reload_reg_class_lower): Likewise.
16834         (choose_reload_regs): Initialize variable `regno'.
16835
16836 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
16837
16838         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
16839
16840 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
16841
16842         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
16843         ({,d}discard): Add forward declarations.  Declare parameter as
16844         unused.
16845         (main_without_main): Explicitly declare return type to be int.
16846         (memcpy): Properly declare.
16847
16848         * libgcc2.c (toplevel): If inhibit_libc is defined and not
16849         building the trampoline support, declare malloc, free, and
16850         atexit.
16851         (__clear_cache): Mark arguments as potentially unused.
16852
16853         * frame.c (toplevel): If inhibit_libc is defined, declare
16854         malloc and free.
16855
16856 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
16857
16858         * flow.c (make_edge): Accept an optional 2D bitmap in which
16859         to cache edge existence.  Update all callers.
16860         (make_label_edge, make_eh_edge): Pass through the edge cache.
16861         (make_edges): Provide the cache.
16862
16863 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16864
16865         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
16866         a char*.
16867         (local_mbtowc): Change the type of variable `i' from int to size_t.
16868
16869         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
16870         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
16871
16872 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
16873
16874         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
16875         after other includes that define the appropriate types.  Include
16876         tm_p.h for getting user prototypes.
16877         * ggc-callbacks.c (toplevel): Ditto.
16878         * ggc-none.c (toplevel): Ditto.
16879         * gcc-page.c (toplevel): Ditto.
16880         * ggc-simple.c (toplevel): Ditto.
16881
16882 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
16883                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
16884
16885         * config/mips/mips.c (mips_move_2words): Split doubles if
16886         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
16887
16888 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
16889
16890         * genrecog.c (struct decision_test): New.
16891         (struct decision): Remove test-related members, sort the rest by size.
16892         (IS_SPLIT): Simplify.
16893         (new_decision, new_decision_test): New.
16894         (add_to_sequence): Use them.  No special handling for args of
16895         non-MATCH codes.
16896         (maybe_both_true): Renamed from not_both_true; return sense changed.
16897         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
16898         of maybe_both_true and adjusted for decision_test.
16899         (position_merit): Remove.
16900         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
16901         (merge_accept_insn): New, broken out of merge_trees.
16902         (merge_trees): Use them.  No special case for c_test; no node
16903         splitting; use test type instead of position_merit.
16904         (factor_tests): New.
16905         (simplify_tests): New.
16906         (break_out_subroutines): Don't write code now.
16907         (find_afterward): New.
16908         (write_afterward, write_switch, write_cond): New.
16909         (write_action, is_unconditional): New.
16910         (write_node): New.  Use them.
16911         (write_tree_1): Rewrite.  Use the new functions above.
16912         (write_tree): Remove afterward processing.
16913         (write_subroutine): Simplify function variant emission.
16914         (write_subroutines): New.
16915         (same_codes, clear_codes): Remove.
16916         (same_modes, clear_modes): Remove.
16917         (write_header): New, broken out of main.
16918         (make_insn_sequence): Use new_decision and new_decision_test.
16919         (process_tree): New, broken out of main.
16920         (main): Adjust for merge_trees interface change.
16921         Don't #define operands in the output file.
16922         (record_insn_name): New, broken out of make_insn_sequence.
16923         (debug_decision_2, debug_decision_1, debug_decision_0): New.
16924         (debug_decision): New.
16925
16926 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
16927
16928         * resource.c (find_free_register): Mark class_str argument const.
16929         * resource.h: Update prototype to match.
16930
16931         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
16932         * i386.md: Give all anonymous insns names.
16933
16934 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
16935
16936         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
16937         blocks.
16938
16939 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
16940
16941         * toplev.c (dbr_sched_time): Unconditional.
16942         (peephole2_time): New.
16943         (compile_file): Add pass numbers to all of the dump file suffixes.
16944         Dump peephole2_time.  Don't dump times for non-applicable passes.
16945         (rest_of_compilation): Add pass numbers to dump file suffixes.
16946         Conditionalize calls to the scheduler.
16947         * invoke.texi: Update.
16948
16949 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
16950
16951         * flow.c (make_edges): Fix insn iteration.
16952         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
16953         (find_basic_blocks_1): Fix spelling mistake.
16954
16955 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
16956
16957         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
16958         always have side-effects.  Use memset not bzero.
16959         (make_node): Likewise.
16960
16961 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
16962
16963         * stmt.c (expand_anon_union_decl): When any of the elements of the
16964         union is addressable, so is the entire union.
16965
16966 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
16967
16968         * sbitmap.c (sbitmap_ones): Don't set too many bits.
16969
16970         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
16971         * bitmap.c (bitmap_operation): Return true iff TO changed.
16972         (bitmap_equal_p): New.
16973         (bitmap_bit_p): Tidy arithmetic.
16974         (debug_bitmap_file): Likewise.
16975
16976 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
16977
16978         * toplev.c (rest_of_compilation): Turn on cse_not_expected
16979         before cse2 instead of after.
16980
16981 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
16982
16983         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
16984         register offsets.
16985
16986 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16987
16988         * cppinit.c (is_idchar initializer): Loosen tests to accept
16989         gcc 2.>6 and >2.
16990
16991 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
16992
16993         * mips.md: Define conditional move patterns for floating point
16994         operands and DI mode conditions.
16995
16996 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
16997
16998         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
16999         always have side-effects.
17000
17001 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
17002
17003         * mn10200.c (asm_file_start): Fix typo.
17004
17005         * cppinit.c (is_idchar initializer): Tighten tests for when
17006         to put the table into initialized memory.
17007
17008         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
17009         not an array of rtunion.
17010         * gcc-page.c (ggc_alloc_rtvec): Similarly.
17011         * gcc-simple (ggc_free_rtvec): Similarly.
17012
17013         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
17014         of rtunions.
17015
17016         * mbchar.h: Add missing #endif.
17017
17018         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
17019         (FPBIT, DPBIT): Define.
17020
17021 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17022
17023         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
17024
17025         * profile.c (instrument_arcs, output_gcov_string,
17026         tablejump_entry_p): Add static prototypes.
17027         (output_gcov_string): Constify a char*.
17028
17029         * regmove.c (replacement_quality, fixup_match_2): Add static
17030         prototypes.
17031
17032         * resource.h (reg_dead_p): Add extern prototype.
17033
17034         * rtl.c (trim_filename): Add static prototype.
17035
17036         * scan-decls.c (skip_to_closing_brace): Likewise.
17037
17038         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
17039         (expand_end_case): Initialize variable `range'.
17040         (emit_case_nodes): Remove unused prototype `rtx_fn'.
17041
17042         * varasm.c (asm_emit_uninitialised): Add static prototype.
17043         (asm_emit_uninitialised, assemble_variable): Mark parameter with
17044         ATTRIBUTE_UNUSED.
17045
17046 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17047
17048         * cpplib.c (if_directive_nameo): Add static prototype.
17049
17050         * cse.c (cse_insn): Remove unused variable `p'.
17051
17052         * except.c (create_rethrow_ref, push_entry,
17053         receive_exception_label, new_eh_region_entry, find_func_region,
17054         clear_function_eh_region, process_nestinfo): Add static prototypes.
17055         (get_reg_for_handler): Hide definition.
17056         (process_nestinfo): Initialize variable `extra_handlers'.
17057
17058         * expr.h (expand_builtin_longjmp): Add extern prototype.
17059
17060         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
17061
17062         * function.c (prepare_function_start): Likewise.
17063         (pop_function_context_from): Mark parameter `context' with
17064         ATTRIBUTE_UNUSED.
17065         (push_temp_slots_for_block, flush_addressof): Hide definition.
17066
17067         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
17068         solve_program_flow_graph, calculate_branch_probs,
17069         function_summary, main, fancy_abort): Add prototypes.
17070
17071         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
17072         (add_hash): Constify a char*.
17073
17074         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
17075         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
17076         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
17077
17078         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
17079
17080         * lists.c (free_list, zap_lists): Likewise.
17081
17082 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17083
17084         * alias.c (nonlocal_reference_p): Add static prototype.
17085
17086         * bitmap.c (bitmap_element_allocate): Prototype args in function
17087         pointer cast.
17088
17089         * builtins.c (stabilize_va_list): Add static prototype.
17090         (expand_builtin_va_arg): Constify a char*.
17091
17092         * c-lex.c (getch, put_back, extend_token_buffer_to,
17093         read_line_number, token_getch, token_put_back): Add static
17094         prototypes.
17095
17096         * c-parse.gperf (hash, is_reserved_word): Likewise.
17097
17098         * cccp.c (is_dir_separator): Likewise.
17099
17100 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17101
17102         * graph.h: New file to prototype functions exported by graph.c.
17103
17104         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
17105
17106         * graph.c: Include graph.h.
17107
17108         * toplev.c: Likewise.  Remove redundant prototypes.
17109
17110 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
17111
17112         * invoke.texi: Removed duplicated description for -Q.
17113
17114 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
17115
17116         * extend.texi: Grammar fix in __extension__ text.
17117
17118 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
17119
17120         * md.texi (define_peephole2): New section.
17121
17122 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
17123
17124         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
17125         (mov $-1 to or peepholer): Enable for pentium when optimizing for
17126         speed.
17127
17128 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
17129
17130         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
17131
17132 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
17133
17134         * i386.md (ffs expander): Emit Pentium friendly code for
17135         TARGET_PENTIUM.
17136
17137 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
17138
17139         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
17140         for non-trees.
17141         (build1): Likewise.
17142
17143 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17144
17145         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
17146
17147 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
17148
17149         * config/m68k/m68k.c (use_return_insn): Return false if the pic
17150         register is in use.
17151
17152 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17153
17154         * md.texi (No Constraints): Delete section.
17155         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
17156         * final.c (final_scan_insn): We always have register constraints.
17157         * genattrtab.c: Don't include "insn-config.h".
17158         (write_attr_case): We always have register constraints.
17159         * genconfig.c (register_constraint_flag): Delete.
17160         (walk_insn_part): Don't check whether we have register constraints.
17161         (main): Don't write out "#define REGISTER_CONSTRAINTS".
17162         * genoutput.c (have_constraints): Delete.
17163         (main): Don't set it.
17164         (output_operand_data): We always have constraints.
17165         (scan_operands): Likewise.
17166         (compare_operands): Likewise.
17167         * local-alloc.c (block_alloc): We always have constraints.
17168         (requires_inout): Always compile this function.
17169         * recog.c (extract_insn): We always have constraints.
17170         (constrain_operands, reg_fits_class_p): Always compile these
17171         functions.
17172         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
17173         fields.
17174         (struct insn_operand_data): Likewise.
17175         * regclass.c (regclass): We always have constraints.
17176         (record_reg_classes, copy_cost, record_address_regs,
17177         auto_inc_dec_reg_p): Always compile these functions.
17178         * regmove.c (regmove_optimize): We always have constraints.
17179         * reload.c (find_reloads): Likewise.
17180         * reload1.c (reload): Likewise.
17181         (reload_cse_simplify_operands): Likewise.
17182         * i860.c (output_delay_insn): Likewise.
17183
17184 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
17185
17186         * iris6.h (BUILD_VA_LIST_TYPE): Define.
17187
17188 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17189
17190         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
17191         for the va_list record.
17192
17193 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
17194
17195         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
17196         prologues.
17197
17198 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
17199
17200         * alias.c: Include insn-flags.h.
17201         * Makefile.in (alias.o): Update.
17202
17203 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
17204
17205         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
17206         to LTU and GEU.  Handle more cases using sbb.
17207
17208 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
17209
17210         * i386.md (truncatexfdf splitters): Do not use subreg.
17211         (fop XFmode patterns): Fix mode in operand testing.
17212
17213 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
17214
17215         * jump.c (jump_optimize_1): Amend last change to test only the
17216         form of the operand, not the insn.
17217
17218         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
17219         not register_operand to determine when B may need preloading.
17220
17221 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
17222
17223         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
17224         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
17225         (call-value patterns): Move to end of file.
17226         (*): Remove mode from label_ref in (pc) context.
17227         (movstrqi): Use memory not general_operand for BLKmode operands.
17228         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
17229         to register_operand operands.
17230         (peep2 patterns): Convert from commented-out peephole patterns.
17231
17232 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17233
17234         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
17235         to BUILT_IN_INIT_DWARF_REG_SIZES.
17236         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
17237         Renamed from BUILT_IN_DWARF_REG_SIZE; call
17238         expand_builtin_init_dwarf_reg_sizes.
17239         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
17240         with __builtin_init_dwarf_reg_size_table.
17241         * dwarf2out.c (struct reg_size_range): Delete.
17242         (expand_builtin_init_dwarf_reg_sizes): New function.
17243         (expand_builtin_dwarf_reg_size): Delete.
17244         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
17245         (expand_builtin_dwarf_reg_size): Don't declare.
17246         * libgcc2.c (dwarf_reg_size_table_initialized): New.
17247         (dwarf_reg_size_table): New.
17248         (init_reg_size_table): New function.
17249         (copy_reg): Use dwarf_reg_size_table.
17250         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
17251         before use.
17252
17253 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
17254
17255         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
17256         Correctly build argument list to constructor and destructor functions.
17257
17258 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
17259
17260         * c-tree.h (warn_float_equal): Declare.
17261         * c-decl.c (warn_float_equal): Define.
17262         (c_decode_option): Recognize -W[no-]float-equal.
17263         * c-typeck.c (build_binary_op): Conditionally warn
17264         about equality tests of floating point types.
17265         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
17266         * invoke.texi: Add docs for -Wfloat-equal warning.
17267
17268 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
17269
17270         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
17271         generating RTL directly.
17272         * mips.h (INIT_TARGET_OPTABS): Likewise.
17273         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
17274
17275         * expr.h (init_mov_optab): Delete declaration
17276
17277         * h8300.c (WORD_REG_USED): Update to avoid useless register
17278         saves in interrupt functions and functions which never return.
17279
17280         * cse.c (struct set): Delete inner_dest_loc field.
17281         (cse_insn): Remove assignments to inner_dest_loc field.
17282
17283 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
17284
17285         * ggc-page.c: Don't include <unistd.h> etc taken care of
17286         by "system.h".  Include <sys/mman.h> afterward.
17287
17288 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
17289
17290         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
17291         ggc_alloc_string.
17292
17293 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
17294
17295         * xcoffout.c (xcoffout_declare_function): Add documentation.
17296         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
17297         TARGET_64BIT.  Compare constant to -1, not bit pattern.
17298         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
17299         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
17300         gen_movsi typos.
17301
17302 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
17303
17304         * dwarf2out.c (add_abstract_origin_attribute): Abort if
17305         origin_die is NULL.
17306         (gen_inlined_enumeration_type_die): Do not abort if the type has
17307         not been writeen out.
17308         (gen_inlined_structure_type_die): Do not abort if the type has
17309         not been writeen out.
17310         (gen_inlined_union_type_die): Do not abort if the type has
17311         not been writeen out.
17312         (gen_tagged_type_instantiation_die): Do not abort if the type
17313         has not been written out.
17314
17315 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17316
17317         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
17318         call it.
17319         * reg-stack.c (straighten_stack): Copy hard reg set with
17320         COPY_HARD_REG_SET.
17321
17322 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
17323
17324         * builtins.c (stabilize_va_list): Stabilize array type va_list
17325         to a pointer type, not the base record type.
17326         (expand_builtin_va_copy): Dereference the pointers explicitly;
17327         use the correct size for the copy.
17328
17329         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
17330         (rs6000_va_arg): Likewise.
17331
17332 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
17333
17334         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
17335
17336 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
17337
17338         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
17339         field.
17340         (DECL_BUILT_IN_CLASS): Adjust accordingly.
17341
17342 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
17343
17344         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
17345         (init_ggc): Use it instead of a constant.
17346         (ggc_collect): Bound allocated_last_gc by it.
17347
17348 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
17349
17350         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
17351         with va_list.
17352
17353 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
17354
17355         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
17356         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
17357         * configure:  Regen.
17358         * config/mips/openbsd.h:  New, OpenBSD little endian target.
17359         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
17360         * config/mips/xm-openbsd.h:  New, OpenBSD host.
17361
17362 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
17363
17364         * config/m68k/m68k.c (output_function_prologue,
17365         output_function_epilogue): Use
17366         current_function_uses_pic_offset_table instead of regs_ever_live
17367         to decide whether to save/restore pic register.
17368         (legitimize_pic_address): Don't modify regs_ever_live any more.
17369
17370 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
17371
17372         * function.h (struct function): Add x_dont_save_pending_sizes_p.
17373         * stor-layout.c (variable_size): Don't add sizes to the pending
17374         sizes list if x_dont_save_pending_sizes_p is set.
17375
17376 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
17377
17378         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
17379         for symbolic_operand().
17380         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
17381
17382 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17383
17384         * combine.c (gen_rtx_combine): Add missing call to va_end().
17385
17386         * final.c (asm_fprintf): Likewise.
17387
17388         * genattrtab.c (attr_rtx): Likewise.
17389
17390 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
17391
17392         * cse.c: Update comments.
17393         (cse_insn): When converting a conditional/computed jump into
17394         an unconditional jump, always make sure a BARRIER immediately
17395         follows the converted jump.  Do not delete unreachable code.
17396         (cse_basic_block): Do not delete unreachable code.
17397         * toplev.c (rest_of_compilation): Move call to
17398         delete_trivially_dead_insns after the conditional call to
17399         jump_optimize.
17400
17401 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17402
17403         * collect2.c (make_temp_file): Don't prototype.
17404
17405         * gcc.c (make_temp_file): Likewise.
17406
17407         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
17408
17409 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
17410
17411         * varasm.c (asm_emit_uninitialised): New function: Generate
17412         the assembler statements necessary to declare an uninitialised
17413         variable.
17414         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
17415         variable.
17416         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
17417         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
17418         section.
17419         (assemble_variable): Use asm_emit_uninitialised to emit an
17420         uninitialised variable.
17421
17422 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
17423
17424         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
17425         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
17426         <geoffk@cygnus.com>.
17427
17428 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17429
17430         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
17431         * c-common.h (builtin_function): Don't declare.
17432
17433         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
17434         DECL_BUILT_IN.
17435         (pushdecl): Likewise.
17436         (finish_decl): Likewise.
17437         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
17438         int.  All callers changed.
17439         Set the builtin's DECL_BUILT_IN_CLASS.
17440         * tree.h (enum built_in_class): New.
17441         (enum built_in_function): Delete NOT_BUILT_IN.
17442         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
17443         in a union.
17444         (DECL_SET_FUNCTION_CODE): Likewise.
17445         (DECL_BUILT_IN_CLASS): New macro.
17446         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
17447         (struct tree_decl): Split builtin function code field into a
17448         struct.
17449         (builtin_function): Declare.
17450
17451 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
17452
17453         * optabs.c (init_traps): Fix typo in last change.
17454
17455 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
17456
17457         * toplev.c (rest_of_decl_compilation): Update comment.
17458
17459 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
17460
17461         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
17462         in .sbss if appropriate.
17463         (EXTRA_SECTION_FUNCTIONS): Add sbss.
17464         (SBSS_SECTION_ASM_OP): New macro.
17465         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
17466         (EXTRA_SECTIONS): Add in_sbss.
17467         * config/mips/mips.h: Prototype sbss_section.
17468
17469 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
17470
17471         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
17472         to disappear.
17473
17474 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
17475
17476         * optabs.c (init_traps): Register trap_rtx as a GC root.
17477
17478 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17479
17480         * config/mips/mips.c (function_arg_pass_by_reference): Define
17481         unconditionally, since it's called unconditionally.
17482
17483 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
17484
17485         * toplev.c (documented_lang_options): Add -fshort-wchar.
17486         * c-decl.c (c_decode_option): Likewise.
17487         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
17488         for wchar_t.
17489         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
17490         * gcc.c (default_compilers): If -fshort-wchar,
17491         override __WCHAR_TYPE__.
17492         * tm.texi (C Dialect Options): Add -fshort-wchar.
17493
17494         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
17495         symbol for a variable.
17496
17497         * cpplib.h (CPP_PREPROCESSED): New macro.
17498         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
17499         we're seeing this input for a second time.
17500
17501 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
17502
17503         * emit-rtl.c (init_emit_once): Initialize modes first.
17504
17505 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
17506
17507         * config/i386/i386.c (pic_label_name): Change to char pointer.
17508         (global_offset_table): New variable.
17509         (load_pic_register): Fill global_offset_table if it hasn't
17510         already been done.  Allocate pic_label_name dynamically.
17511         * ggc.h (empty_string): New variable.
17512         * ggc-simple.c (empty_string): Likewise.
17513         (init_ggc): Allocate empty_string and add as root.
17514         * stmt.c (digit_strings): New variable.
17515         (init_stmt): Add last_block_end_note as root.  Allocate and
17516         initialize digit_strings.
17517         (expand_asm_operands): Use empty_string instead of string
17518         constant.  Use digit_strings instead of string constants.
17519         * profile.c (init_arc_profiler): Allocate string with
17520         ggc_alloc_string instead of xmalloc.
17521         (output_func_start_profiler): Likewise.
17522         * c-typeck.c (digest_init): Check if init is error_mark_node.
17523
17524 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
17525                           Richard Henderson  <rth@cygnus.com>
17526
17527         * ggc-page.c: New file.
17528         * Makefile.in (ggc-page.o): New.
17529
17530 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
17531
17532         * invoke.texi: Document -fdelete-null-pointer-checks
17533         * toplev.c (flag_delete_null_pointer_checks): New.
17534         (f_options): Add entry for -fdelete-null-pointer-checks.
17535         (rest_of_compilation): Conditionalize null pointer check
17536         elimination on flag_delete_null_pointer_checks.
17537         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
17538
17539 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
17540
17541         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
17542         copyright notice and special exception to GPL.
17543
17544 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17545
17546         * abi64.h (mips_function_value): Add prototype arguments.
17547
17548         * mips-protos.h: New file with mips prototypes.
17549
17550         * mips.c: Include "tm_p.h".
17551         (mktemp, lookup_name): Add prototype arguments.
17552         (extern_list, string_constant, mips_fill_delay_slot,
17553         mips_output_external, mips_output_external_libcall,
17554         mips_output_filename, mips_declare_object, function_prologue,
17555         mips_expand_prologue, function_epilogue, mips16_constant,
17556         build_mips16_function_stub, mips_output_conditional_branch):
17557         Constify a char*.
17558         (mips_va_start): Remove unused variable `u'.
17559         (mips_va_arg): Cast value to unsigned when comparing against one.
17560         (trace): Delete.
17561         (save_restore_insns, mips_expand_prologue): Add missing arg in
17562         call to `large_int'.
17563
17564         * mips.h: Move prototypes to mips-protos.h.
17565         (data_section, memory_address_p, rdata_section,
17566         readonly_data_section, simple_epilogue_p, text_section): Delete
17567         prototypes delcared elsewhere.
17568         (mips_epilogue_delay_slots, print_options): Delete unused decls.
17569         (trace): Delete.
17570         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
17571
17572         * mips.md: Delete extra args in call to `mips_move_2words'.
17573
17574         * xm-iris6.h (alloca): Add prototype argument.
17575
17576         * genpeep.c: Include "tm_p.h" in generated output file.
17577
17578 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17579
17580         * basic-block.h (find_edge_index): Change parameters.
17581         * flow.c (verify_edge_list): Pass basic_block parameters to
17582         find_edge_index instead of integers.
17583
17584 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
17585
17586         * combine.c (simplify_comparison): Use an unsigned shift to adjust
17587         the constant.
17588
17589 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
17590
17591         * gcc.1: Fix a formatting error.
17592
17593 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
17594
17595         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
17596         i786, mn10200, mn10300, pdp11, v850.
17597
17598 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
17599
17600         * libgcc2.c (num_digits): Add prototype with
17601         __attribute__((const)).
17602         (__terminate): Add prototype.
17603
17604 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
17605
17606         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
17607
17608         * alpha/alpha.c (print_operand): Fix type of `code'.
17609         (alpha_output_filename): Constify.
17610         * alpha/alpha.h: Move all function declarations ...
17611         * alpha/alpha-protos.h: ... here.  New file.
17612         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
17613         (SECTION_FUNCTION_TEMPLATE): Likewise.
17614
17615 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17616
17617         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
17618         * expr.c (expand_expr): Likewise.
17619         (do_jump): Likewise.
17620         (do_store_flag): Pass ccp_store_flag to can_compare_p.
17621         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
17622         accessor macros.
17623         (enum can_compare_purpose): New.
17624         (can_compare_p): Adjust prototype.
17625         (prepare_cmp_insn, prepare_operand): Declare.
17626         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
17627         * optabs.c (cmp_available_p): Deleted.
17628         (expand_abs): Pass ccp_jump to can_compare_p.
17629         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
17630         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
17631         Call can_compare_p rather than cmp_available_p.
17632         (prepare_operand): No longer static.
17633         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
17634         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
17635         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
17636         sequence to use emit_cmp_and_jump_insns.
17637         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
17638
17639 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
17640
17641         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
17642         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
17643         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
17644         (plus (reg) (const_int 0))
17645         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
17646
17647 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
17648
17649         * rs6000.c (expand_block_move): DImode loads and stores require
17650         word-aligned displacements.  Increment address registers with
17651         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
17652
17653 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
17654
17655         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
17656         is no name for the base type, rather than segfault.  If we are
17657         writing out a complex integer type, use DW_ATE_lo_user.
17658
17659         * expr.c (emit_move_insn_1): If we are copying a complex that fits
17660         in one word or less (complex char, complex short, or on 64 bit
17661         systems complex float) to/from a hard register, copy it through
17662         memory instead of dying in gen_{real,imag}part.  If we have a
17663         short complex type, prevent inlining since it allocates stack
17664         memory.
17665
17666         * tree.c (build_complex_type): If we are writing dwarf2 output,
17667         generate a name for complex integer types.
17668
17669 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17670
17671         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
17672         * flow.c (remove_edge): Remove extra whitespace.
17673         (remove_fake_edges): Fix comment.
17674         (add_noreturn_fake_exit_edges): Use the correct name.
17675
17676 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
17677
17678         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
17679         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
17680         (clean): Depend on INTL_CLEAN.
17681         (maintainer-clean): Adjust.
17682
17683 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17684
17685         * configure.in (AC_PREREQ): Bump to 2.13.
17686         (AC_C_STRINGIZE): Call this instead of using a custom macro.
17687
17688         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
17689
17690         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
17691
17692         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
17693
17694         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
17695         (HAVE_STRINGIZE): Define.
17696
17697 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
17698
17699         * c-parse.in: save and restore warn_pointer_arith on __extension__
17700         along with pedantic.
17701         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
17702         Set the type of extension to itype rather than $<itype>1 kludge.
17703         * extend.texi (Alternate Keywords): Adjust documentation.
17704         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
17705
17706 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
17707
17708         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
17709         most assembler templates.
17710
17711         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
17712         FP loads and stores.
17713         (following_call): Always return zero for the PA8000.
17714         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
17715         FP loads and stores.
17716         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
17717
17718         * pa.h (BRANCH_COST): Define.
17719
17720         * pa.md (return, return_internal): Use bve for PA2.0.
17721
17722         * pa.md (fused multiply): Add variants which reduce height for the
17723         fused multiply, but which still generate 2 insns.
17724         (fnegabs): Similarly.
17725
17726         * pa.md (subsi3): Turn into an expander.  Create two anonymous
17727         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
17728         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
17729
17730         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
17731         for TARGET_PA_20.
17732         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
17733         code generation.
17734         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
17735         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
17736
17737         * regclass.c (init_regs): Add "top_of_stack" as a garbage
17738         collection root.
17739
17740         * flow.c (record_active_eh_regions): Terminate loop after finding
17741         the last insn in the last basic block.
17742
17743 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17744
17745         * config/c4x/c4x.md: Delete parallel instruction peepholes.
17746
17747 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17748
17749         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
17750
17751 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17752
17753         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
17754         splitting to not use output template.
17755
17756 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17757
17758         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
17759         * config/c4x/c4x.c (c4x_va_start): New function.
17760
17761 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
17762
17763         * genrecog.c (not_both_true): Handle correctly cases when called for
17764         tests with different positions in the insn.
17765
17766 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17767
17768         * machmode.h (HOST_PTR_PRINTF): Move from here ...
17769
17770         * system.h (HOST_PTR_PRINTF): ... to here.
17771
17772         * mips-tfile.c: Don't include machmode.h.
17773
17774         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
17775         (mips-tfile.o): Don't depend on machmode.h.
17776
17777 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17778
17779         * haifa-sched.c (sched_analyze): Rename local variable `region' to
17780         avoid conflicts with typedef struct `region' at the top level scope.
17781
17782 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
17783
17784         * basic-block.h (basic_block): Add eh_beg, eh_end.
17785         * flow.c (entry_exit_blocks): Update.
17786         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
17787         Call new functions.
17788         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
17789         lists.c functions to allocate insn lists.
17790         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
17791         edge creation ...
17792         (make_eh_edge): ... here.  New.
17793         (move_stray_eh_region_notes): New.
17794         (record_active_eh_regions): New.
17795         (delete_unreachable_blocks): Split out block merging ...
17796         (try_merge_blocks): ... here.  New.
17797         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
17798         Dump debugging data.
17799         (merge_blocks_move_successor_nojumps): Likewise.
17800         (merge_blocks): Use eh_beg+eh_end to validate block movement.
17801
17802 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
17803
17804         * extend.texi (Bound member functions): Document unbound pmf
17805         conversion.
17806
17807 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17808
17809         * flow.c (split_edge): Handle insertion on a fallthrough edge which
17810         has the EXIT_BLOCK as a dest.
17811
17812 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17813
17814         * flow.c (remove_edge): New function to remove an edge from the
17815         flow graph.
17816         (remove_fake_successors): New function to remove fake successor edges.
17817         (remove_fake_edges): New function to remove all fake edges from the
17818         flow graph.
17819         (add_fake_exit_edges): New function to add fake edges from all blocks
17820         with no successors to the exit block.
17821         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
17822         prototypes for new functions.
17823
17824 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17825
17826         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
17827         Use Pmode to determine whether to output .dword or .word.
17828
17829 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
17830
17831         * tree.c (built_in_filename): New variable.
17832         (BUILT_IN_FILENAME): New macro.
17833         (init_tree_codes): Allocate built_in_filename.
17834         (make_node): Use built_in_filename instead of string constant.
17835
17836 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
17837
17838         * configure.in: Add fr30 target.
17839         * configure: Regenerate.
17840         * config/fr30: New directory.
17841         * config/fr30/crti.asm: New file.
17842         * config/fr30/fr30.c: New file.
17843         * config/fr30/crtn.asm: New file.
17844         * config/fr30/fr30.h: New file.
17845         * config/fr30/fr30.md: New file.
17846         * config/fr30/lib1funcs.asm: New file.
17847         * config/fr30/t-fr30: New file.
17848         * config/fr30/xm-fr30.h: New file.
17849
17850 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
17851
17852         * flow.c (merge_blocks_move_successor_nojumps): Delete the
17853         BARRIER at the end of the successor, not the BARRIER before
17854         the successor.
17855
17856         * pa.c (pa_add_gc_roots): Fix thinko in last change.
17857
17858 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
17859
17860         * stmt.c (any_pending_cleanups): Don't crash when
17861         current_function->stmt is unset.
17862
17863 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17864
17865         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
17866         other initializations that may use it for relative offsets.
17867
17868 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17869
17870         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
17871         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
17872         * config/i386/sol2dbg.h: Removed.
17873         * config/i386/sol2gas.h: New file, to enable gas work-around.
17874         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
17875         Don't use sol2dbg.h.
17876         * configure: Rebuilt.
17877
17878 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
17879
17880         * invoke.texi (-fthis-is-variable): Remove documentation.
17881
17882 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
17883
17884         * basic-block.h (compute_bb_for_insn): Declare.
17885         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
17886         to use; set size of basic_block_for_insn directly.
17887         (find_basic_blocks): Update.
17888
17889 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17890
17891         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
17892
17893 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17894
17895         * crtstuff.c (ON_EXIT): Delete empty macro definition.
17896         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
17897
17898 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
17899
17900         * c-decl.c (c_decode_option): Extend comment.
17901
17902 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
17903
17904         * toplev.c (progname): Make 'const char *'
17905         (flag_print_mem): Move out of main.
17906         (version_flag): Move out of main.
17907         (filename): Move out of main.
17908         (debug_args): Remove g prefix from options.
17909         (documented_lang_options): Remove cpplib specific options.
17910         (display_help): Add g prefix to debug options.
17911         (check_lang_option): Delete this function.
17912         (decode_d_option): New function: Decode -d... option.
17913         (decode_f_option): New function: Decode -f... option.
17914         (decode_W_option): New function: Decode -W... option.
17915         (decode_g_option): New function: Decode -g... option.
17916         (independent_decode_option): New function: Decode a language
17917         independent command line option.
17918         (main): Invoke lang_decode_option and then
17919         independent_decode_option on each command line option in
17920         turn.
17921
17922 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
17923
17924         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
17925          * fold-const.c (fold_range_test): Do not try to fold the range
17926          test if the rhs or lhs has side effects.
17927
17928         * basic-block.h (compute_flow_dominators): Declare.
17929
17930         * gcse.c (alloc_code_hoist_mem): New function.
17931         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
17932         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
17933         (hoist_code, one_code_hoisting_pass): Likewise.
17934         (gcse_main): If optimizing for size, then hoist expressions
17935         computed in multiple dominated basic blocks.
17936
17937         * gcse.c (invalid_nonnull_info): New function.
17938         (delete_null_pointer_checks): Likewise.
17939         * rtl.h (delete_null_pointer_checks): Declare.
17940         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
17941
17942         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
17943         (merge-blocks_move_successor_nojumps): Likewise.
17944         (merge_blocks): Allow merging of some blocks, even if it requires
17945         physical movement of the blocks, but not if it requires new jumps.
17946
17947         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
17948         Callers and prototype changed.
17949         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
17950
17951 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17952
17953         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
17954         -YP when both -p and -pg are present.  From i386/sol2.h.
17955
17956 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17957
17958         * Makefile.in (distclean): Delete tm_p.h.
17959         * configure.in: Create a new file, "tm_p.h", from a list in
17960         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
17961         "i386/i386-protos.h".
17962
17963         * alias.c: Include "tm_p.h".
17964         * c-typeck.c: Likewise.
17965         * calls.c: Likewise.
17966         * cse.c: Likewise.
17967         * emit-rtl.c: Likewise.
17968         * explow.c: Likewise.
17969         * expmed.c: Likewise.
17970         * expr.c: Likewise.
17971         * final.c: Likewise.
17972         * flow.c: Likewise.
17973         * fold-const.c: Likewise.
17974         * function.c: Likewise.
17975         * gcse.c: Likewise.
17976         * global.c: Likewise.
17977         * haifa-sched.c: Likewise.
17978         * integrate.c: Likewise.
17979         * jump.c: Likewise.
17980         * local-alloc.c: Likewise.
17981         * loop.c: Likewise.
17982         * optabs.c: Likewise.
17983         * recog.c: Likewise.
17984         * reg-stack.c: Likewise.
17985         * regclass.c: Likewise.
17986         * regmove.c: Likewise.
17987         * reload.c: Likewise.
17988         * reload1.c: Likewise.
17989         * reorg.c: Likewise.
17990         * resource.c: Likewise.
17991         * stmt.c: Likewise.
17992         * stor-layout.c: Likewise.
17993         * toplev.c: Likewise.
17994         * tree.c: Likewise.
17995         * unroll.c: Likewise.
17996         * genattrtab.c (main): Make generated file include "tm_p.h".
17997         * genemit.c (main): Likewise.
17998         * genoutput.c (main): Likewise.
17999         * genrecog.c (main): Likewise.
18000
18001         * i386.h: Delete all prototypes.
18002         * i386.c: Include "tm_p.h".
18003         (ix86_attr_length_default): Call constant_call_address_operand
18004         with correct number of arguments.
18005         * i386-protos.h: New file.
18006         * i386.md (unnamed patterns): Call constant_call_address_operand
18007         with correct number of arguments.
18008         (exception_receiver): Call load_pic_register with correct number
18009         of arguments.
18010
18011 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
18012
18013         * c-pragma.c (mark_align_stack): Dereference the void* properly.
18014
18015 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
18016
18017         * rtl.h (insns_safe_to_move_p): New function.
18018         * loop.c (find_and_verify_loops): Use it.
18019         * rtlanal.c (insns_safe_to_move_p): Define it.
18020
18021 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
18022
18023         * c-pragma.c: Include ggc.h.
18024         * Makefile.in (c-pragma.o): Update.
18025
18026 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18027
18028         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
18029         (LIB_SPEC): Likewise.
18030         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
18031         Reindent -YP/-p/-pg.
18032         Copied from config/sparc/sol2.h.
18033
18034 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
18035
18036         * c-pragma.c (mark_align_stack): New.
18037         (init_pragma): New.
18038         * c-pragma.h (init_pragma): Declare it.
18039         * c-lex.c (init_parse): Call it.
18040
18041 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18042
18043         * configure.in: Pick up thread library on Solaris/x86 just
18044         like on Solaris/sparc.
18045         * configure: Rebuilt.
18046
18047 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
18048
18049         * rtl.h (global_rtx_index): New enum.
18050         (global_rtl): Change to array of rtx.
18051         (pc_rtx, cc0_rtx): Redefine accordingly.
18052         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
18053         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
18054         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
18055         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
18056         (const_int_rtx): Change to array of rtx.
18057         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
18058         accordingly.
18059         * emit-rtl.c (global_rtl): Change to array of rtx.
18060         (const_int_rtx): Change to aray of rtx.
18061         (gen_rtx_CONST_INT): Redefine accordingly.
18062         (init_emit_once): Allocate and initialize global_rtl.  Likewise
18063         for const_int_rtx.  Add both as GC roots.
18064         * genattrtab.c (global_rtl): Update declaration.
18065
18066 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
18067
18068         * Makefile (USER_H): Add iso646.h back.
18069
18070 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
18071
18072         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
18073         zapping the LOG_LINKS of sched_before_next_call.
18074
18075         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
18076         * pa.c (insn_refs_are_delayed): Renamed from
18077         insn_sets_and_refs_are_delayed.
18078
18079 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
18080
18081         * functiion.h (struct function): Add x_whole_function_mode_p.
18082         (retrofit_block): Declare.
18083         * function.c (retrofit_block): New function.
18084         (identify_blocks): Add assertions.  Allow an incomplete set of
18085         block notes if we're still generating code for the function.
18086         * integrate.c: Include loop.h.
18087         (expand_inline_function): Call find_loop_tree_blocks to map block
18088         notes to blocks when in whole-function mode.  Use retrofit_block
18089         to insert new BLOCKs for the inlined function, rather than
18090         insert_block.
18091         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
18092         * Makefile.in (integrate.o): Depend on loop.h.
18093
18094 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
18095
18096         * tree.h (warn_about_unused_variables): Declare.
18097         * stmt.c (warn_about_unused_variables): New function, split out
18098         from ...
18099         (expand_end_bindings): Here.
18100
18101 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
18102
18103         * stmt.c (preserve_subexpressions_p): Don't crash when
18104         current_function->stmt is unset.
18105
18106 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
18107
18108         * stmt.c (expand_start_bindings): Allow callers to pass a flag
18109         indicating that no NOTE_INSN_BLOCK_BEG note is required.
18110         (expand_start_target_temps): Use it.
18111         * except.c (expand_eh_region_start_for_decl): Likewise.
18112         * expr.c (expand_expr): Likewise.
18113
18114 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18115
18116         * fold-const.c (operand_equal_p): Pay attention to side effects.
18117
18118 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
18119
18120         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
18121         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
18122
18123         * tlink.c (scan_linker_output): Look for keywords before accepting
18124         a mangled name in quotes.
18125
18126 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
18127
18128         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
18129         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
18130
18131 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
18132
18133         * alpha.md: Revert Thu Nov 26 change that came in through the
18134         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
18135         Avoid earlyclobber when possible.
18136
18137 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18138
18139         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
18140
18141         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
18142         Define HAVE_ON_EXIT.
18143
18144 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18145
18146         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
18147         CTYPE_CONV in all ctype macros.
18148
18149         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
18150         from system.h.
18151
18152         * cexp.y (initialize_random_junk): Likewise.
18153
18154         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
18155
18156         * i370.c (handle_pragma): Likewise.
18157
18158         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
18159
18160         * v850.c (override_options): Likewise.
18161
18162         * doprint.c (_doprnt): Likewise.
18163
18164         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
18165         Likewise.
18166
18167         * fixinc/server.c (load_data): Likewise.
18168
18169         * fold-const.c (real_hex_to_f): Likewise.
18170
18171         * genattr.c (write_upcase, gen_attr): Likewise.
18172
18173         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
18174         write_upcase): Likewise.
18175
18176         * genemit.c (print_code): Likewise.
18177
18178         * genopinit.c (gen_insn): Likewise.
18179
18180         * genpeep.c (print_code): Likewise.
18181
18182         * genrecog.c (print_code): Likewise.
18183
18184         * optabs.c (init_libfuncs): Likewise.
18185
18186 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
18187
18188         * haifa-sched.c (sched_analyze): Keep the list of notes organized
18189         in pairs.
18190         (reemit_notes): Likewise.
18191
18192 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
18193
18194         * ggc.h (ggc_root): Move to ggc-common.c.
18195         (roots): Remove.
18196         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
18197         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
18198         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
18199         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
18200         * ggc-common.c (ggc_root): Move from ggc.h.
18201         (roots): Declare, static.
18202         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
18203         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
18204         null or check/set mark bit.
18205         (ggc_mark_roots): New.
18206         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
18207
18208 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
18209
18210         * m32r.c: Include toplev.h.
18211         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
18212         (gen_compare): Rename swap_p to must_swap to match uses.
18213         Add default abort case.
18214         (m32r_output_function_epilogue): Remove unused variables.
18215         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
18216         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
18217         define to empty parameter list.  Update all uses.
18218         (predicate decls): Use enum machine_mode not int.
18219         * m32r.md (movsi): Call abort, not fatal_insn.
18220         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
18221
18222 1999-09-14  Andrew Haley  <aph@cygnus.com>
18223
18224         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
18225         use $0 instead of 0.
18226
18227 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18228
18229         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
18230         computation out of loop over hard regs.
18231
18232 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
18233
18234         * function.c (identify_blocks): Don't shadow a variable in an
18235         outer scope.
18236         * integrate.c (integrate_decl_tree): Don't use pushlevel,
18237         pushdecl, or poplevel to build up the new BLOCK tree.
18238         (expand_inline_function): Likewise.
18239         (integrate_parm_decls): Likewise.
18240
18241 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
18242
18243         * c-typeck.c (qualify_type): Merge qualifiers from both types.
18244
18245 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
18246
18247         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
18248         * invoke.texi: Document this change.
18249
18250 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
18251
18252         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
18253         Free the struct.
18254         (mark_emit_status): Renamed from mark_emit_state.
18255         * except.c (mark_eh_status): Renamed from mark_eh_state.
18256         Check not null before marking.
18257         (free_eh_status): New.
18258         * expr.c (mark_expr_status, free_expr_status): New.
18259         * function.c (free_machine_status): New.
18260         (free_after_parsing): New.
18261         (free_after_compilation): Move bits to free_after_parsing; call
18262         free_eh_status, free_expr_status; zero the marked members of the
18263         function state.
18264         (prepare_function_start): No can_garbage_collect.
18265         Call init_eh_for_function.
18266         (expand_dummy_function_end): Free up current_function state.
18267         (mark_function_status): Renamed from mark_function_state.
18268         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
18269         * function.h (struct function): No can_garbage_collect.
18270         (free_machine_status, free_after_parsing): Declare.
18271         (free_eh_status, free_expr_status): Declare.
18272         * ggc.h (mark_expr_status): Declare.
18273         * stmt.c (free_stmt_status): Free the struct.
18274         (mark_stmt_status): Renamed from mark_stmt_state.
18275         (init_stmt): Don't call init_eh.
18276         (init_stmt_for_function): Don't call init_eh_for_function.
18277         * toplev.c (compile_file): Call init_eh.
18278         (rest_of_compilation): Free basic block info before ggc_collect.
18279         Call free_after_parsing; conditionally call free_after_compilation.
18280         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
18281         Check not null before marking.
18282         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
18283
18284 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
18285
18286         * c-lex.c (yylex): Initialize warn.
18287
18288 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
18289
18290         * pa.c (emit_move_sequence): Properly set the mode of the scratch
18291         register when performing secondary reloads for the SAR register.
18292
18293 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
18294
18295         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
18296         (NOTE_BLOCK): New macro.
18297         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
18298         * function.h (identify_blocks): Change prototype.
18299         * function.c (identify_blocks): Simplify.
18300         (reorder_blocks): Likewise.
18301         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
18302         NOTE_INSN_BLOCK_{BEG,END}.
18303         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
18304         the list of saved notes if the note isn't a
18305         NOTE_INSN_BLOCK_{BEG,END}.
18306         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
18307         NOTE_BLOCK_NUMBER.
18308         (reemit_notes): Adjust recreation of notes to reflect new saved
18309         note structure.
18310         * print-rtl.c (print_rtx): Print the address of the BLOCK when
18311         printing a block note.
18312         * stmt.c (block_vector): Remove.
18313         (find_loop_tree_blocks): Simplify.
18314         (unroll_block_trees): Likewise.
18315         * tree.h (reorder_block): Change prototype.
18316
18317 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
18318
18319         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
18320         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
18321         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
18322         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
18323         (atexit, exit): Simplify.
18324         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
18325         * config/lots: Remove defns of HAVE_ATEXIT.
18326
18327 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
18328
18329         * calls.c (precompute_arguments): Fix typo in comment.
18330         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
18331         TARGET_EXPR.
18332
18333 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
18334
18335         * dsp16xx.c (override_options): Fix typos in GC root registration.
18336
18337 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
18338
18339         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
18340         from config/svr4.h.
18341         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
18342         (FUNCTION_PROFILER): Redefine appropriately for Linux.
18343         (CC1_SPEC): Likewise.
18344
18345 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18346
18347         * genattr.c (main): Add extern prototype.  Call return, not exit.
18348         * genattrtab.c (main): Likewise.
18349         * gencheck.c (main): Likewise.
18350         * gencodes.c (main): Likewise.
18351         * genconfig.c (main): Likewise.
18352         * genemit.c (main): Likewise.
18353         * genextract.c (main): Likewise.
18354         * genflags.c (main): Likewise.
18355         * gengenrtl.c (main): Likewise.
18356         * genopinit.c (main): Likewise.
18357         * genoutput.c (main): Likewise.
18358         * genpeep.c (main): Likewise.
18359         * genrecog.c (main): Likewise.
18360
18361         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
18362         * genattrtab.c (get_insn_name): Likewise.
18363         * gencodes.c (get_insn_name): Likewise.
18364         * genconfig.c (get_insn_name): Likewise.
18365         * genemit.c (get_insn_name): Likewise.
18366         * genextract.c (get_insn_name): Likewise.
18367         * genflags.c (get_insn_name): Likewise.
18368         * genopinit.c (get_insn_name): Likewise.
18369         * genpeep.c (get_insn_name): Likewise.
18370
18371         * gencheck.c (usage): Add static prototype.
18372         * genextract.c (print_path): Constify a char*.
18373         * genopinit.c (optabs): Likewise.
18374         * genoutput.c (operand_data, data, output_predicate_decls,
18375         compare_operands): Likewise.
18376         * genrecog.c (write_tree): Add default case in switch.
18377
18378 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18379
18380         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
18381
18382         * print-rtl.c (get_insn_name): Remove prototype.
18383
18384         * toplev.h (progname): Declare const.
18385
18386         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
18387         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
18388         dump_sched_info, dump_local_alloc, regset_release_memory,
18389         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
18390         error_with_file_and_line, error_with_decl, error_for_asm, error,
18391         fatal, warning_with_file_and_line, warning_with_decl, warning,
18392         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
18393         Remove redundant prototypes.
18394
18395         (notice, check_lang_option, report_file_and_line, vnotice,
18396         mark_file_stack): Add static prototype.
18397         (set_fatal_function): Add prototype.
18398         (vnotice, report_file_and_line, set_fatal_function,
18399         check_lang_option): Constify a char*.
18400         (main): Prototype.  Call return, not exit.
18401
18402 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18403
18404         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
18405
18406         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
18407
18408         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
18409
18410         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
18411
18412 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18413
18414         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
18415         behave as if it's zero in all cases.
18416         (expand_function_start): Adjust call to assign_parms.
18417         * tree.h (assign_parms): Adjust prototype.
18418         * objc/objc-act.c (hack_method_prototype): Adjust call to
18419         assign_parms.
18420
18421 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
18422
18423         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
18424         arg_pointer_rtx fixed if the argument pointer register is
18425         not fixed.
18426         (NONZERO_BASE_PLUS_P): Likewise.
18427
18428 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
18429
18430         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
18431         match_insn2 to match_insn.
18432         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
18433
18434 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
18435
18436         * Makefile.in (USER_H): Remove va-foo.h.
18437
18438         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
18439         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
18440         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
18441         va-spur.h,va-v850.h}: Remove.
18442
18443 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
18444
18445         * sparc/sparc.md (eligible_for_return_delay): New attribute.
18446         (in_return_delay): Use it instead of match_insn.
18447
18448 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18449
18450         * config/alpha/va_list.h (va-alpha.h): Do not include.
18451         (__gnuc_va_list): Typedef as in varargs.h.
18452
18453 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
18454
18455         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
18456         DECL_LIVE_RANGE_RTL.
18457
18458 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
18459
18460         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
18461         not NOTE_BLOCK_NUMBER.
18462         (expand_eh_region_end): Likewise.
18463         (find_exception_handler_labels): Likewise.
18464         (scan_region): Likewise.
18465         (exception_optimize): Likewise.
18466         (update_rethrow_references): Likewise.
18467         (set_insn_eh_region): Likewise.
18468         * final.c (final_scan_insn): Likewise.
18469         * flow.c (make_edges): Likewise.
18470         * integrate.c (expand_inline_function): Likewise.
18471         * print-rtl.c (print_rtx): Likewise.
18472
18473 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
18474
18475         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
18476         terms of builtin functions and types.
18477
18478         * mips.c (mips_build_va_list): New.
18479         (mips_va_start, mips_va_arg): New.
18480         * mips.h (BUILD_VA_LIST_TYPE): New.
18481         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
18482
18483         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
18484         (sh_build_va_list, sh_va_start, sh_va_arg): New.
18485         * sh.h (BUILD_VA_LIST_TYPE): New.
18486         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
18487
18488 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
18489
18490         * recog.h (struct recog_data): Make dup_num, operand_address_p,
18491         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
18492         (struct insn_data): Likewise with n_operands, n_dups,
18493         n_alternatives, output_format.
18494         * regclass.c (scan_one_insn): Cast n_operands to int before
18495         arithmetic inside comparison.
18496
18497 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
18498
18499         * toplev.c (compile_function): Unconditionally emit nop.
18500
18501 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18502
18503         * haifa-sched.c (actual_hazard): Move declaration of variable
18504         `this_cost' into the scope where it is used.
18505
18506 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18507
18508         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
18509         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
18510         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
18511
18512         * genrecog.c (make_insn_sequence): Call memset, not bzero.
18513
18514         * jump.c (find_insert_position): Don't declare or define unless
18515         !HAVE_conditional_arithmetic.
18516         (returnjump_p_1, delete_prior_computation): Add static prototypes.
18517
18518         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
18519
18520         * recog.c (offsettable_address_p): Prototype function pointer.
18521         (preprocess_constraints): Call memset, not bzero.
18522
18523         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
18524         (gcc_obstack_init): Don't declare.
18525         (fix_sizetype): Add static prototype.
18526         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
18527         (tree_cons): Call memset, not bzero.
18528
18529         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
18530         definition in macro ASM_WEAKEN_LABEL.
18531         (mark_const_hash_entry): Add static prototype.
18532
18533 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18534
18535         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
18536
18537         * unroll.c (find_common_reg_term, subtract_reg_term,
18538         loop_find_equiv_value): Add static prototypes.
18539         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
18540         (copy_loop_body): Remove unreachable break statement.
18541
18542         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
18543
18544         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
18545
18546 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18547
18548         Undo some changes from the gcc2 merge:
18549         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
18550         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
18551         pointers.
18552
18553         Undo this change:
18554         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
18555         * emit-rtl.c (gen_lowpart_common): Disable optimization of
18556         initialized float-int union if the value is a NaN.
18557
18558 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18559
18560         * gthr-win32.h: New file.
18561
18562         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
18563         shared as a valid attribute.
18564         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
18565         * extend.texi: Document `shared' variable attribute.
18566
18567 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
18568
18569         * configure.in: Handle --enable-threads on FreeBSD.
18570         * configure: Rebuit.
18571
18572 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
18573
18574         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
18575         thread support.
18576         * configure: Rebuilt.
18577
18578 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
18579                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
18580                           Rosimildo DaSilva <rdasilva@connecttel.com>
18581
18582         * configure.in (m68k-*-rtemscoff*): Added.
18583         * configure.in (mips64orion-*-rtems*): Converted to ELF.
18584         * configure.in (sparc-*-rtemsaout*): Added as alias for old
18585         sparc-rtems configuration.
18586         * configure.in (sparc-*-rtemself*): Added.
18587         * configure.in (sparc-*-rtems*): Now ELF not a.out.
18588         * config/i386/rtems.h: Added comment.
18589         * config/sparc/rtemself.h: New file.
18590
18591         * configure.in (m68k-rtemself): Added.
18592         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
18593         and DWARF_DEBUGGING_INFO.
18594         * config/m68k/crti.s: New file.
18595         * config/m68k/crtn.s: New file.
18596         * config/m68k/t-crtstuff: New file.
18597         * config/m68k/rtemself.h: New file.
18598
18599         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
18600         global ctor/dtor and C++ exception handling.
18601         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
18602         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
18603         ENDFILE_SPEC.
18604         * config/i386/t-rtems-i386: New File.
18605
18606 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
18607
18608         * stmt.c (expand_end_case): Return right away if the case stack is
18609         empty.
18610
18611 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
18612
18613         * Makefile.in (version.c): Remove rule incorrectly brought in from
18614         the gcc2 merge.
18615
18616 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
18617
18618         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
18619         * msdos/top.sed:  Take into account a prepended $(SHELL) to
18620         move-if-change.
18621         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
18622
18623         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
18624
18625 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18626
18627         * regmove.c (fixup_match_1): Don't change an unchanging register.
18628         (stable_but_for_p): Renamed to:
18629         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
18630         Changed all callers.
18631
18632 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
18633
18634         * loop.c (strength_reduce): Don't call reg_used_between_p if the
18635         insn from BL2 is after the insn from BL.
18636
18637 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
18638
18639         * recog.h (INSN_OUTPUT_FORMAT_*): New.
18640         (struct insn_data): Merge `template' and `outfun' into `output'.
18641         Add `output_format'.
18642         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
18643         (struct data): Remove `outfun'; add `output_format'.
18644         (name_for_index): Remove declaration.
18645         (output_insn_data): Handle output formats.
18646         (process_template): Emit the bare array for @.
18647         (gen_expand, gen_split): Set output_format to NONE.
18648         * output.h (get_insn_template): Declare.
18649         * final.c (get_insn_template): New.
18650         (final_scan_insn): Use it.
18651         * toplev.c (compile_file): Likewise.
18652
18653         * c4x/c4x.c (c4x_process_after_reload): Likewise.
18654         * i860/i860.c (output_delayed_branch): Likewise.
18655         (output_delay_insn): Likewise.
18656
18657 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18658
18659         * rtl.c (obstack_alloc_rtx): Removed.
18660
18661 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
18662
18663         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
18664
18665 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
18666
18667         * i386.c (call_insn_operand): Reject const_int.
18668         (expander_call_insn_operand): Use call_insn_operand.
18669
18670 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18671
18672         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
18673
18674 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
18675
18676         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
18677         Use DImode operation.
18678
18679 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
18680
18681         * gcc.c: Include sys/resource.h.
18682         (report_times): New flag.
18683         (execute):  If report_times is set, calculate and report the
18684         CPU time consumed by each subprocess.
18685
18686         (rus, prus): New globals.
18687         (option_map): Add --time.
18688         (display_help): Document -time.
18689         (process_command): Set report_times if -time is given.
18690         Turn off -pipe if -time is given.
18691
18692         * invoke.texi: Document new option -time.
18693
18694         * configure.in: Check for getrusage.  Check if we have to
18695         prototype getrusage.
18696         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
18697         * configure: Regenerate.
18698         * config.in: Regenerate.
18699
18700 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
18701
18702         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
18703         fields.
18704
18705 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
18706
18707         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
18708         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
18709         (nan): Return _thenan_sf or _thenan_df as appropriate.
18710         (L_thenan_sf): Define _thenan_sf.
18711         (L_thenan_df): Define _thenan_df.
18712
18713         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
18714         (DPBIT_FUNCS): Add _thenan_df.
18715
18716 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
18717
18718         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
18719         TYPE_SIZE_UNIT.
18720
18721 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18722
18723         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
18724
18725         * gcc.h: New file.
18726         (lang_specific_driver): Don't take a function pointer parameter.
18727         All callers changed.
18728
18729         * gcc.c: Include gcc.h.
18730         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
18731         lang_specific_extra_outfiles, fatal): Don't declare.
18732         (multilib_defaults_raw): Constify.
18733         (read_specs): Call memset, rather than bzero.
18734         (main): Call return, not exit.
18735         (lookup_compiler): Call memcpy, not bcopy.
18736         (fatal): Make extern.
18737
18738         * cppspec.c: Include gcc.h.
18739         (lang_specific_driver): Initialize variable `quote'.  Constify a
18740         char*.  All calls to the function pointer parameter now
18741         explicitly call `fatal'.
18742
18743         * gccspec.c (lang_specific_driver): Include gcc.h.
18744
18745 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
18746
18747         * arm.c (note_invalid_constants): Use recog_data.operand_type
18748         for recog_op_type.
18749
18750 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18751
18752         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
18753         Declare.
18754
18755         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
18756         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18757         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18758         reload_secondary_in_reload, reload_secondary_out_reload,
18759         reload_secondary_in_icode, reload_secondary_out_icode,
18760         reload_reg_rtx, reload_when_needed): Delete declarations.
18761         (struct reload): New structure.
18762         (rld): Declare new array.
18763         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
18764         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18765         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18766         reload_secondary_in_reload, reload_secondary_out_reload,
18767         reload_secondary_in_icode, reload_secondary_out_icode,
18768         reload_reg_rtx, reload_when_needed): Delete definitions.
18769         (rld): New array.
18770         (whole file): Replace uses of the deleted arrays with uses of rld.
18771         * reload1.c (whole file): Replace uses of the deleted arrays with
18772         uses of rld.
18773         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
18774         explicit loops, not with bcopy.
18775
18776 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
18777
18778         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
18779         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
18780         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
18781         insn_name): Delete and consolidate into new structures.
18782         (insn_operand_predicate_fn): New.
18783         (insn_output_fn): New.
18784         (insn_gen_fn): New.
18785         (struct insn_operand_data): New.
18786         (struct insn_data): New.
18787         (insn_data): New.
18788         (OUT_FCN): Update for insn_data change.
18789         * builtins.c (expand_builtin_strlen): Likewise.
18790         (expand_builtin_memcmp): Likewise.
18791         * combine.c (make_extraction, simplify_comparison): Likewise.
18792         * cse.c (canon_reg, cse_insn): Likewise.
18793         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
18794         * expmed.c (store_bit_field, extract_bit_field): Likewise.
18795         (emit_store_flag): Likewise.
18796         * expr.c (convert_move, emit_block_move): Likewise.
18797         (clear_storage, emit_push_insn, expand_increment): Likewise.
18798         (do_store_flag): Likewise.
18799         * expr.h (GEN_FCN): Likewise.
18800         (insn_gen_function): Die.
18801         * final.c (final_scan_insn): Update for insn_data change.
18802         (output_asm_name): Likewise.
18803         * function.c (fixup_var_refs_1): Likewise.
18804         * loop.c (check_dbra_loop): Likewise.
18805         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
18806         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
18807         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
18808         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
18809         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
18810         * regmove.c (gen_add3_insn): Likewise.
18811         * reload.c (push_secondary_reload, combine_reloads): Likewise.
18812         (find_reloads, find_reloads_address_1): Likewise.
18813         (debug_reload_to_stream): Likewise.
18814         * reload1.c (emit_reload_insns, gen_reload): Likewise.
18815         * stmt.c (expand_end_case): Likewise.
18816         * toplev.c (compile_file): Likewise.
18817
18818         * c4x/c4x.c (c4x_process_after_reload): Likewise.
18819         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18820
18821         * print-rtl.c (insn_name_ptr): Remove declaration.
18822         (get_insn_name): Declare.
18823         (print_rtx): Use it.
18824         * genoutput.c (insn_name_ptr): Remove.
18825         (next_operand_number): New.
18826         (struct operand_data): New.
18827         (null_operand, odata, odata_end): New.
18828         (struct data): Use struct operand_data.
18829         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
18830         (get_insn_name): Renamed from name_for_index.
18831         (output_prologue): Define NO_MD_PROTOTYPES.
18832         (output_predicate_decls): Break out from output_epilogue.
18833         Iterate over the operands list.
18834         (output_operand_data): Break out from output_epilogue.  Emit
18835         just the operands list.
18836         (output_insn_data): Break out from output_epilogue.  Emit just
18837         the insn data.
18838         (output_epilogue): Remove.
18839         (output_get_insn_name): New.
18840         (constraints, op_n_alternatives, predicates, address_p): Die.
18841         (modes, strict_low, seen): Die.
18842         (scan_operands): Take new param `d' instead of writing to
18843         seven global variables.
18844         (compare_operands): New.
18845         (place_operands): New.
18846         (validate_insn_alternatives): Update for struct data change.
18847         (gen_insn): Don't zero or copy 7 global arrays.  Update for
18848         scan_operands; call place_operands.
18849         (gen_peephole, gen_expand, gen_split): Likewise.
18850         (main): Update for new output routines.
18851
18852         * genattr.c (insn_name_ptr): Remove.
18853         (get_insn_name): New function.
18854         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
18855         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
18856         * genrecog.c: Likewise.
18857
18858         * alpha.md (adddi3): Make `pattern' array static.
18859
18860 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18861
18862         * config/c4x/c4x.h (c4x_rpts_cycles_string,
18863         c4x_cpu_version_string): Constify char *.
18864         * config/c4x/c4x.c (c4x_rpts_cycles_string,
18865         c4x_cpu_version_string): Likewise.
18866
18867 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
18868
18869         * tree.c (save_tree_status): Revert 10 Sep change.
18870         (restore_tree_status): Likewise.  Call obstack_free with NULL
18871         before freeing the obstack proper.
18872
18873 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
18874
18875         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
18876
18877         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
18878         surrounding context.
18879
18880 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
18881
18882         * tree.c (type_hash_canon): Put all types in the hash-table, when
18883         GC'ing.
18884
18885 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
18886
18887         * recog.h (struct recog_data, recog_data): New.
18888         (recog_foo variables): Kill.
18889         * recog.c (recog_operand, recog_operand_loc): Kill.
18890         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
18891         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
18892         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
18893         (recog_data): Define.
18894         (extract_insn): Update all recog_foo references to use recog_data.
18895         (preprocess_constraints, constrain_operands): Likewise.
18896         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
18897         * genattrtab.c (main): Likewise.
18898         * genextract.c (main): Likewise.
18899         * genoutput.c: Likewise.
18900         * genrecog.c (write_subroutine, main): Likewise.
18901         * local-alloc.c (block_alloc): Likewise.
18902         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
18903         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
18904         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
18905         * reload.c (find_reloads, find_reloads_toplev): Likewise.
18906         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
18907         (reload_cse_simplify_operands): Likewise.
18908
18909         * arc/arc.c (arc_final_prescan_insn): Likewise.
18910         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
18911         * h8300/h8300.c (notice_update_cc): Likewise.
18912         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
18913         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18914         * mn10200/mn10200.c (notice_update_cc): Likewise.
18915         * mn10300/mn10300.c (notice_update_cc): Likewise.
18916         * romp/romp.c (update_cc): Likewise.
18917         * sparc/sparc.c (check_pic): Likewise.
18918         * v850/v850.c (notice_update_cc): Likewise.
18919
18920         * genemit.c (main): Don't declare recog_operand.
18921
18922 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
18923
18924         * ggc.h (rtvec_def): Forward declare.
18925         (tree_node): Likewise.
18926         (ggc_root): Define.
18927         (roots): Declare.
18928         (ggc_set_mark_rtx): Add prototype.
18929         (ggc_set_mark_rtvec): Likewise.
18930         (ggc_set_mark_tree): Likewise.
18931         * ggc-simple.c (ggc_root): Don't define.
18932         (roots): Don't declare.
18933         (ggc_mark_rtx): Remove.
18934         (ggc_mark_rtvec): Likewise.
18935         (ggc_mark_tree): Likewise.
18936         (ggc_mark_varray): Likewise.
18937         (ggc_mark_tree_hash_table_entry): Likewise.
18938         (ggc_mark_tree_hash_table): Likewise.
18939         (ggc_set_mart_rtx): New function.
18940         (ggc_set_mark_rtvec): Likewise.
18941         (ggc_set_mark_tree): Likewise.
18942         (ggc_add_root): Remove.
18943         (ggc_add_rtx_root): Likewise.
18944         (ggc_remove_tree_root): Likewise.
18945         (ggc_add_string_root): Likewise.
18946         (ggc_add_tree_varray_root): Likewise.
18947         (ggc_add_tree_hash_table_root): Likewise.
18948         (ggc_del_root): Likewise.
18949         (ggc_mark_rtx_ptr): Likewise.
18950         (ggc_mark_tree_ptr): Likewise.
18951         (ggc_mark_string_ptr): Likewise.
18952         (ggc_mark_tree_varray_ptr): Likewise.
18953         (ggc_mark_tree_hash_table_ptr): Likewise.
18954         * ggc-common.c: New file.
18955         * Makefile.in (OBJS): Add ggc-common.o.
18956         (ggc-common.o): List dependencies.
18957
18958 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
18959
18960         * cppalloc.c (xstrdup): Use memcpy.
18961         * cpperror.c (cpp_print_containing_files): Don't use
18962         cpp_notice.
18963         * cpplib.c (conditional_skip): Set temp->lineno.
18964         (do_endif): Make error message less obscure.
18965         (if_directive_name): New function.
18966         (cpp_get_token [case EOF]): Unwind the if stack and generate
18967         error messages for each unterminated conditional in this file.
18968         (parse_string):  Do not behave differently if -traditional.
18969
18970 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
18971
18972         * builtins.c (expand_builtin_va_arg): Cope with an array-type
18973         va_list decomposing to pointer-type.
18974         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
18975         (rs6000_va_arg): Likewise.
18976
18977 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
18978
18979         * except.c (start_dynamic_handler): Compute size using
18980         STACK_SAVEAREA_MODE.
18981
18982 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18983
18984         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
18985         include directory headers.  Don't define strrchr.  Don't provide
18986         my_* replacement functions.  Prefer PTR over `pointer_type'.
18987         Don't prototype system functions.  Don't redefine getopt.
18988
18989         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
18990         safe_read, safe_write, save_pointers, restore_pointers,
18991         is_id_char, in_system_include_dir, directory_specified_p,
18992         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
18993         find_corresponding_lparen, referenced_file_is_newer,
18994         save_def_or_dec, munge_compile_params, gen_aux_info_file,
18995         process_aux_info_file, identify_lineno, check_source,
18996         seek_to_line, forward_to_next_token_char, output_bytes,
18997         output_string, output_up_to, other_variable_style_function,
18998         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
18999         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
19000         find_static_definition, connect_defs_and_decs, add_local_decl,
19001         add_global_decls, needs_to_be_converted, visit_each_hash_node,
19002         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
19003         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
19004         scan_for_missed_items, edit_file, string_list_cons): Add static
19005         prototypes.
19006         (standard_exec_prefix, target_machine, target_version,
19007         default_syscalls_dir, string_list, string_list_cons, find_file,
19008         do_cleaning): Constify a char*.
19009         (safe_read, safe_write): Use PTR, not a char*.
19010         (is_id_char): Take an int, not a char.
19011         (main): Add prototype.  Call return, not exit.
19012
19013 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
19014
19015         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
19016         when comparing types.
19017
19018 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
19019
19020         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
19021         (strength_reduce): Release the varrays from the no-bivs early exit.
19022
19023         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
19024         the loop over the registers.
19025
19026         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
19027         for a new obstack.
19028         (restore_tree_status): Check that instead when freeing the obstack.
19029
19030 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
19031
19032         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
19033         as pointers.
19034
19035 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19036
19037         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
19038         operand size modifiers.
19039
19040 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19041
19042         * c-common.c (c_common_nodes_and_builtins): Don't build
19043         va_list_type_node.
19044         * c-common.h (enum c_tree_index and related accesor macros): Remove
19045         everything now declared in tree.h.
19046         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
19047         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
19048         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
19049         (error_mark_node, void_type_node, char_type_node, integer_type_node,
19050         unsigned_type_node, ptr_type_node, va_list_type_node,
19051         integer_zero_node, null_pointer_node, integer_one_node): Delete.
19052         (init_decl_processing): Call build_common_tree_nodes and
19053         build_common_tree_nodes_2 instead of building their nodes here.
19054         Don't add roots for these nodes.
19055         * stor-layout.c (size_zero_node, size_one_node): Delete.
19056         (set_sizetype): Make a new node for bitsizetype each time.
19057         * tree.c (global_trees): New variable.
19058         (init_obstacks): Add a gc root for it.
19059         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
19060         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
19061         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
19062         (build_common_tree_nodes): New function.
19063         (fix_sizetype): New function.
19064         (build_common_tree_nodes_2): New function.
19065         * tree.h (enum tree_index): New.
19066         (global_trees): Declare.
19067         Add accessor macros for all nodes now moved to global_trees.
19068         Delete their declarations.
19069
19070 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
19071
19072         * c-decl.c (finish_function): When processing a nested function,
19073         push and pop GC context around rest_of_compilation.
19074
19075 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
19076
19077         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
19078         Default ix86_arch to PROCESSOR_I386.
19079         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
19080         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
19081         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
19082         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
19083         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
19084         (EXTRA_SPECS): Remove deleted specs.
19085
19086 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
19087
19088         * function.c (assign_stack_local_1): Allocate from
19089         function->x_frame_offset, not frame_offset.
19090
19091 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
19092
19093         * ggc.h (lang_cleanup_tree): Remove.
19094         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
19095         * ggc-callbacks.c (lang_cleanup_tree): Remove.
19096
19097         * c-decl.c (finish_struct): Use ggc_alloc to allocate
19098         TYPE_LANG_SPECIFIC when garbage collecting.
19099         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
19100         (lang_cleanup_tree): Remove.
19101
19102 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
19103
19104         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
19105         * crtstuff.c: Not here.
19106         * dwarf2out.c: Or here.
19107         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
19108         info.
19109
19110 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
19111
19112         * function.h (free_after_compilation): Remove decl parameter.
19113         (free_varasm_status0: Likewise.
19114         (free_emit_status): Likewise.
19115         (free_stmt_status): Likewise.
19116         (free_after_compilation): Likewise.
19117         (init_lang_status): New variable.
19118         (free_lang_status): Likewise.
19119         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
19120         * function.c (init_lang_status): New variable.
19121         (free_lang_status): Likewise.
19122         (push_function_context_to): Don't set function::decl here.
19123         (free_after_copmilation): Make decl parameter implicit.  Call
19124         free_lang_status if defined.
19125         (prepare_function_start): Call init_lang_status if defined.
19126         (init_function_start): Set function::decl here.
19127         * profile.c (output_func_start_profiler): Don't call pushdecl
19128         until we've actually started the function.
19129         * stmt.c (free_stmt_status): Make decl parameter implicit.
19130         * toplev.c (rest_of_compilation): Don't pass decl to
19131         free_after_compilation.
19132         * varasm.c (free_varasm_status): Likewise.
19133
19134 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19135
19136         * except.c (call_get_eh_context): Add root when allocating static
19137         tree variable.
19138
19139 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
19140
19141         * arm.c: Include "ggc.h".
19142         (arm_add_gc_roots): New function.
19143         (arm_override_options): Call it.
19144         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
19145
19146         * arm.md (define_asm_attributes): Add a pool_range attribute.
19147
19148 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
19149
19150         * extend.texi (Volatiles): New node.
19151
19152 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
19153
19154         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
19155         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
19156         (struct ggc_any): Replace `mark' with `magic_mark'.
19157         (ggc_alloc_string): Use memcpy, not bcopy.
19158         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
19159         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
19160         (ggc_free_any): New.
19161         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
19162         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
19163         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
19164         Use IS_MARKED. Use ggc_free_any.
19165
19166 1999-09-09  Scott Bambrough <scottb@netwinder.org>
19167
19168         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
19169
19170 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
19171
19172         * toplev.c (main): Always init_ggc.
19173
19174 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
19175
19176         * except.c (find_all_handler_type_matches): Free the list if
19177         we found no matches.
19178
19179         * combine.c (SUBST): Break out to a real function do_SUBST.
19180         (SUBST_INT): Likewise.
19181         * gcse.c (free_pre_mem): Free `temp_bitmap'.
19182         (pre_insert): Free `inserted'.
19183         * loop.c (basic_induction_var): Always set `location'.
19184
19185         * function.c (expand_function_end): Add initial_trampoline as a root.
19186         * rtl.h (init_varasm_once): Declare.
19187         * toplev.c (compile_file): Call it.
19188         * ggc-simple.c (ggc_mark_string_ptr): New.
19189         (ggc_add_string_root): New.
19190         (ggc_collect): Disable collection avoidance temporarily.
19191         * ggc.h (ggc_add_string_root): Declare.
19192         * except.c (create_rethrow_ref): Use ggc_alloc_string.
19193         * optabs.c (init_libfuncs): Likewise.
19194         * varasm.c (named_section): Use ggc_alloc_string.
19195         (make_function_rtl): Likewise.
19196         (make_decl_rtl): Likewise.
19197         (assemble_static_space): Likewise.
19198         (assemble_trampoline_template): Likewise.
19199         (output_constant_def): Likewise.
19200         (force_const_mem): Likewise.
19201         (mark_const_hash_entry): New.
19202         (mark_pool_sym_hash_table): New.
19203         (mark_varasm_state): Use it.
19204         (init_varasm_once): New.
19205
19206         * expr.h (init_one_libfunc): Declare.
19207         * optabs.c (init_one_libfunc): New.
19208         (init_optabs): Use it.
19209         * config/gofast.h: Likewise.
19210         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
19211         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
19212
19213 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
19214
19215         * Makefile.in (cppexp.o): Depend on cpphash.h.
19216         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
19217         Include cpphash.h.
19218         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
19219         * cpplib.c (do_define): Generalise to handle poisoned definitions,
19220         redefining poisoned identifiers, etc.
19221         (do_undef): Don't allow poisoned identifiers to be undefined.
19222         (do_pragma): Add #pragma poison.
19223         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
19224
19225         * cccp.c: Add T_POISON node type.
19226         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
19227         poisoned xxx.
19228         (do_define): Generalise to handle poisoned definitions,
19229         redefining poisoned identifiers, etc.
19230         (do_undef): Don't allow poisoned identifiers to be undefined.
19231         (do_pragma): Add #pragma poison.
19232         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
19233
19234         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
19235         * c-pragma.h: Add ps_poison state.  We now always have generic
19236         pragmas.
19237
19238 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
19239
19240         * ggc.h (ggc_alloc): New function.
19241         (ggc_mark): Likewise.
19242         * ggc-simple.c (ggc_any): New structure.
19243         (ggc_status): Add anys.
19244         (n_anys_collected): New variable.
19245         (ggc_alloc): Define.
19246         (ggc_mark): Likewise.
19247         (ggc_collect): Collect the anys.
19248
19249 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19250
19251         * c-decl.c (mark_binding_level): Make static to match prototype.
19252
19253 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
19254
19255         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
19256
19257 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
19258
19259         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
19260         will use into account.  Expand the max width to 5.
19261         * rtl.c: Likewise.
19262
19263 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
19264
19265         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
19266         for the rtx length.
19267
19268 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
19269
19270         * alpha.md (call value patterns): Remove the result predicates.
19271
19272 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
19273
19274         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
19275         last change.
19276
19277 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19278
19279         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
19280         changed from extern char *, to extern PTR.  Also fix typo in
19281         NEED_DECLARATION_REALLOC test.
19282
19283         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
19284
19285 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19286
19287         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
19288         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
19289         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
19290         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
19291
19292         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
19293
19294         * cccp.c (pcfinclude): Likewise.
19295
19296         * global.c (allocno_compare): Likewise.
19297
19298         * haifa-sched.c (rank_for_schedule): Likewise.
19299
19300         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
19301
19302         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
19303
19304         * stupid.c (stupid_reg_compare): Likewise.
19305
19306         * tree.c (_obstack_allocated_p): Likewise.
19307
19308         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
19309
19310 1999-09-08  Bruce Korb  autogen@linuxbox.com
19311
19312         * Makefile.in: Give the hapless gperf user a hint about
19313         why "gperf -F" fails.
19314
19315 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
19316
19317         * lists.c: Include ggc.h.
19318         (zap_lists): New.
19319         (init_EXPR_INSN_LIST_cache): Install it.
19320
19321         * ggc-simple.c (init_ggc): Absorb the old init.
19322         (ggc_push_context): Use xcalloc.
19323         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
19324         (ggc_collect): Add [rvts] tags to the collection stats.
19325
19326 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
19327
19328         * cccp.c (main): Fix handling of -include and -imacros options.
19329
19330 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
19331
19332         * cpplib.c (cpp_push_buffer): Fix order of arguments.
19333
19334 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19335
19336         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
19337         genrtl.c.
19338
19339 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
19340
19341         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
19342         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
19343         and SET_DEST. Update comment.
19344
19345 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19346
19347         * config/c4x/c4x.c: Include ggc.h.
19348         (c4x_add_gc_roots): New function.
19349         (c4x_override_options): Call c4x_add_gc_roots.
19350
19351 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
19352
19353         * defaults.h (TARGET_ESC): Move ...
19354         * system.h: ... here, where Linas had it in the first place.  Silly me.
19355
19356 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
19357
19358         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
19359         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
19360         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
19361         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
19362         * defaults.h (TARGET_ESC): Add default.
19363
19364 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
19365
19366         * configure.in: add i370-*-openedition, i370-*-mvs and
19367         i370-*-linux targets
19368
19369 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
19370
19371         * dsp16xxx.c: Include ggc.h
19372         (override_options): Mark GC roots.
19373         * mn10200.c: Include ggc.h.
19374         (asm_file_start): Mark GC roots.
19375         * tahoe.c: Include ggc.h.
19376         (extensible_operand): Mark GC roots.
19377
19378 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
19379
19380         * README: Add section discussing status of ELF ABI.
19381         * i370.c: Fix misc spelling mistakes.
19382         (i370_label_scan): Updated notes, exception handling.
19383         (i370_function_prolog): Simplify ELF stack handling.
19384         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
19385         (STACK_GROWS_DOWNWARD): ELF stack grows down.
19386         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
19387         * i370.md: (movdi): Add notes.
19388         (floatsidf2): Use stack not rtca for scratch float area.
19389         (iorsi3): Correct operand constraints.
19390         * x-oe: Restore TAROUTOPTS which are used by pax.
19391
19392 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
19393
19394         * rs6000.c: Include ggc.h.
19395         (rs6000_add_gc_roots): New function.
19396         (override_options): Call it.
19397
19398 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
19399
19400         * alpha.h (alpha_compare): New.
19401         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
19402         * alpha.c: Likewise for the definitions.
19403         (alpha_emit_conditional_branch): Update for alpha_compare.
19404         (alpha_emit_conditional_move): Likewise.
19405         * alpha.md (cmpdf, cmpdi): Likewise.
19406         (setcc patterns): Likewise.  Zero alpha_compare after use.
19407         (sne): Optimize (x != 0) into (0U < x).
19408
19409 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
19410
19411         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
19412         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
19413         (INIT_EXPANDERS): Remove.
19414         * alpha.c: Include ggc.h.
19415         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
19416         (alpha_init_machine_status, alpha_mark_machine_status): New.
19417         (override_options): Install them.
19418         (struct machine_function): Moved to alpha.h.
19419         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
19420         (alpha_init_expanders): Remove.
19421         (alpha_return_addr): Adjust to use current_function->machine.
19422         (alpha_ra_ever_killed): Likewise.
19423         (alpha_expand_epilogue): Likewise.
19424         * alpha.md (eh_epilogue): Likewise.
19425
19426 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
19427                           Melissa O'Neill  <oneill@cs.sfu.ca>
19428                           Geoffrey Keating  <geoffk@cygnus.com>
19429
19430         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
19431         call-used registers (call-saved registers must still be contiguous
19432         and end with r31, of course).
19433
19434 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
19435
19436         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
19437         (self_promoting_type_p): Delete.
19438         (self_promoting_args_p): Move ...
19439         * c-common.c: ... here.
19440         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
19441         (simple_type_promotes_to): New.
19442         * builtins.c (lang_type_promotes_to): New.
19443         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
19444         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
19445         * c-common.h: ... here.
19446         (self_promoting_args_p, simple_type_promotes_to): Declare.
19447         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
19448         (grokdeclarator): Likewise.
19449         * tree.h (lang_type_promotes_to): Declare.
19450
19451 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
19452
19453         Add some machine-dependent GC roots.
19454         * sparc.c: Include ggc.h.
19455         (sparc_add_gc_roots): New function.
19456         (mark_ultrasparc_pipeline_state): Likewise.
19457         (override_options): Call sparc_add_gc_roots.
19458         * pa.c: Include ggc.h.
19459         (pa_add_gc_roots): New function.
19460         (mark_deferred_plabels): Likewise.
19461         (override_options): Call pa_add_gc_roots.
19462         * mips.c: Include ggc.h.
19463         (mips_add_gc_roots): New function.
19464         (override_options): Use it.
19465
19466 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19467
19468         * cpperror.c (cpp_file_line_for_message): Constify a char*.
19469
19470         * cppexp.c (parse_number, parse_charconst, cpp_lex,
19471         cpp_parse_expr): Add static prototypes.
19472         (parse_charconst): Don't cast away const-ness.
19473         (token): Constify a char*.
19474
19475         * cppfiles.c (file_name_list, include_hash, find_include_file,
19476         finclude, initialize_input_buffer): Constify a char*.
19477         (file_cleanup, find_position): Add static prototypes.
19478
19479         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
19480         collect_expansion): Add static prototypes.
19481         (cpp_install, create_definition, monthnames): Constify a char*.
19482
19483         * cpphash.h (cpp_install): Likewise.
19484
19485         * cppinit.c (known_suffixes, default_include,
19486         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
19487         (base_name, dump_special_to_buffer, initialize_dependency_output):
19488         Add static prototypes.
19489
19490         * cpplib.c (my_strerror): Constify a char*.
19491         (null_underflow, null_cleanup, skip_comment, copy_comment,
19492         copy_rest_of_line, handle_directive, pass_thru_directive,
19493         get_directive_token, read_line_number, cpp_print_file_and_line,
19494         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
19495         v_cpp_warning_with_line, detect_if_not_defined,
19496         consider_directive_while_skipping): Add static prototypes.
19497         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
19498         cpp_pedwarn_with_file_and_line): Constify a char*.
19499
19500         * cpplib.h (cpp_options, include_hash, progname, definition,
19501         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
19502         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
19503         find_include_file, deps_output, include_hash): Constify a char*.
19504
19505         * cppmain.c (progname): Constify.
19506         (main): Add prototype.  Use return, not exit.
19507
19508         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
19509         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
19510         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
19511         check_protection): Add static prototype.
19512         (xfree): Remove.
19513         (progname, recognized_macrom, recognized_extern): Constify a char*.
19514         (main): Add prototype.
19515
19516         * gen-protos.c (progname): Constify a char*.
19517
19518 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
19519
19520         * emit-rtl.c (free_emit_status): Take decl as a parameter.
19521         (init_emit_once): Add more GC roots.
19522         * except.c (mark_func_eh_entry): New function.
19523         (mark_eh_node): Mark false_label and rethrow_label.
19524         (init_eh): Add more GC roots.
19525         * function.c (free_after_compilation): Take decl as a paramter.
19526         Call free_stmt_status.
19527         (mark_function_state): Don't assume x_parm_reg_stack_loc is
19528         non-NULL.
19529         * function.h (free_after_compilation): Change prototype.
19530         (free_varasm_status): Likewise.
19531         (free_emit_status): Likewise.
19532         (free_stmt_status): New function.
19533         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
19534         Remove, replacing with ...
19535         (ggc_status): New structure.
19536         (ggc_chain): New variable.
19537         (init_gcc): Define.
19538         (ggc_push_context): New function.
19539         (ggc_pop_context): Likewise.
19540         (ggc_alloc_rtx): Adjust for use of ggc_chain.
19541         (ggc_alloc_rtvec): Likewise.
19542         (ggc_alloc_tree): Likewise.
19543         (ggc_alloc_string): Likewise.
19544         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
19545         (ggc_mark_tree): Give language-dependent code a chance to mark
19546         `x' nodes.
19547         (ggc_mark_tree_varray): Handle empty arrays.
19548         (ggc_collect): Adjust for use of ggc_chain.  Clear
19549         bytes_alloced_since_last_gc.
19550         * ggc.h (ggc_pop_context): New function.
19551         (ggc_push_context): Likewise.
19552         * print-tree.c (print_node): Don't print obstacks when GC'ing.
19553         * stmt.c (free_stmt_status): New function.
19554         (init_stmt_for_function): Clear last_expr_value.
19555         * toplev.c (rest_of_compilation): Always call free_after_compilation.
19556         Conditionalize call to ggc_collect.
19557         (main): Call init_ggc.
19558         * tree.c (push_obstacks): Do the push, even when GC'ing.
19559         (push_obstacks_nochange): Likewise.
19560         (pop_obstacks): Liekwise.
19561         * varasm.c (free_varasm_status): Take decl as a parameter.
19562
19563 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19564
19565         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
19566         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
19567         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
19568         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
19569
19570 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
19571
19572         * pa/x-pa-mpeix: New file for the MPE port.
19573
19574         * pa/quadlib.asm: New file for long double support.
19575
19576         * configure.in: Add hppa1.0-*-mpeix for MPE port.
19577         * configure: Rebuilt.
19578
19579 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
19580
19581         * final.c (shorten_branches): Fix last change.
19582
19583 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
19584
19585         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
19586
19587 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
19588
19589         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
19590         details.
19591
19592 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19593
19594         * c-aux-info.c (concat): Don't define.
19595
19596         * cccp.c (my_strerror): Likewise.  All callers changed to use
19597         xstrerror instead.
19598         (do_include): Call xstrdup, not xmalloc/strcpy.
19599         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
19600         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
19601
19602         * collect2.c (my_strsignal): Likewise.  All callers changed to use
19603         strsignal instead.
19604         (locatelib): Call xstrdup, not xmalloc/strcpy.
19605
19606         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
19607
19608         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
19609
19610         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
19611
19612         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
19613
19614         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
19615
19616         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
19617
19618         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
19619         malloc/realloc.
19620         (find_all_handler_type_matches): Likewise.  Don't check return
19621         value.
19622         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
19623         xmalloc, not malloc.
19624         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
19625
19626         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
19627         (init_spec): Call xcalloc, not xmalloc/bzero.
19628         (set_spec): Call xstrdup, not save_string.
19629         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
19630         (find_a_file): Call xstrdup, not xmalloc/strcpy.
19631         (process_command): Call xstrdup, not save_string.
19632         (main): Call xcalloc, not xmalloc/bzero.
19633
19634         * gcov.c (xmalloc): Don't define.
19635         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
19636         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
19637         (output_data): Call xcalloc, not xmalloc/bzero.
19638
19639         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
19640
19641         * mips-tdump.c (xmalloc): Don't define.
19642         (print_symbol): Call xmalloc, not malloc.
19643         (read_tfile): Call xcalloc, not calloc.
19644
19645         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
19646         Don't define.  All callers of xfree/my_strsignal changed to use
19647         free/strsignal instead.
19648         (allocate_cluster): Call xcalloc, not calloc.
19649
19650         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
19651         Fix memory leak, free allocated memory.
19652
19653         * prefix.c (translate_name): Call xstrdup, not save_string.
19654         (update_path): Likewise.
19655
19656         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
19657
19658         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
19659         Don't define.  Callers of xfree/savestring2 changed to use
19660         free/concat instead.
19661
19662         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
19663         (init_elim_table): Likewise.
19664
19665         * resource.c (init_resource_info): Likewise.
19666
19667         * stupid.c (stupid_life_analysis): Likewise.
19668
19669         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
19670         (open_dump_file): Call concat, not xmalloc/strcpy/...
19671         (clean_dump_file): Likewise.
19672         (compile_file): Call xstrdup, not xmalloc/strcpy.
19673
19674 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
19675
19676         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
19677         * v850.c (v850_va_arg): New.
19678
19679 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19680
19681         * haifa-sched.c: Tidy comments.
19682
19683 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19684
19685         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
19686         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
19687         $(out_object_file)): Depend on ggc.h.
19688         * c-common.c: Include "ggc.h".
19689         (combine_strings): If doing GC, use ggc_alloc_string.
19690         * c-decl.c: Include "ggc.h".
19691         (ggc_p): Define with value 0.
19692         (mark_binding_level): New function.
19693         (init_decl_processing): Add GC roots.
19694         (mark_c_function_context): New function.
19695         (lang_mark_false_label_stack): New function.
19696         (lang_mark_tree): New function.
19697         (lang_cleanup_tree): New function.
19698         * c-lang.c: Include "ggc.h".
19699         (lang_init): Call c_parse_init.
19700         * c-lex.c: Include "ggc.h".
19701         (check_linenum): If doing GC, don't copy filenames to permanent
19702         obstack.
19703         * c-parse.in: Include "ggc.h".
19704         (c_parse_init): New function.
19705         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
19706         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
19707
19708         * except.c (mark_eh_state): Mark more state.
19709         * function.c (mark_function_state): Likewise.
19710         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
19711         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
19712         * toplev.c (mark_file_stack): New function.
19713         (compile_file): If doing GC, use ggc_alloc_string on input filename.
19714         (main): Add root for input_file_stack.
19715
19716         * i386.c: Include "ggc.h".
19717         (ix86_mark_machine_status): New function.
19718         (override_options): Set mark_machine_status.
19719
19720 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19721
19722         * tree.c (copy_node): Copy node contents also if doing GC.
19723
19724 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19725
19726         * collect2.c (scan_libraries): Fix double-thinko :-).
19727
19728 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
19729
19730         * collect2.c (scan_libraries): Fix thinko.
19731
19732         * cse.c (delete_trivially_dead_insns): Do not skip the last
19733         insn if it is a real insn.
19734
19735 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
19736
19737         * Makefile.in (ggc-simple.o): Depend on hash.h.
19738         * ggc.h (ggc_add_tree_hash_table_root): Declare.
19739         (ggc_mark_tree_varray): Likewise.
19740         (ggc_mark_tree_hash_table): Likewise.
19741         * ggc-simple.c: Include hash.h.
19742         (ggc_mark_tree_hash_table_ptr): New function.
19743         (ggc_mark_tree_hash_table_entry): Likewise.
19744         (ggc_mark_tree_hash_table): Likewise.
19745         (ggc_add_tree_hash_table_root): Likewise.
19746         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
19747         rtx, when defining fields.
19748
19749 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19750
19751         * profile.c (output_func_start_profiler): Remove apparently
19752         nonsensical call to start_sequence.
19753
19754 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
19755
19756         * clipper/clipper.c (clipper_va_start): Fix typos.
19757
19758         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
19759         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
19760         (spur_va_arg): New stub.
19761
19762         * configure.in: Comment out pyramid.
19763
19764 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
19765
19766         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
19767         don't conflict with the bits that win32, cygwin, and dgux
19768         defines.
19769
19770 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
19771                           Bernd Schmidt <bernds@cygnus.co.uk>
19772
19773         * integrate.c (function_cannot_inline_p): Do not inline
19774         functions with forced labels.
19775
19776 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
19777                           Bernd Schmidt <bernds@cygnus.co.uk>
19778                           Mark Mitchell  <mark@codesourcery.com>
19779
19780         * Makefile.in (ggc-simple.o): Depend on varray.h.
19781         (rtl.o): Depend on ggc.h.
19782         (genattrtab.o): Depend on ggc.h.
19783         (print-tree.o): Likewise.
19784         (fold-const.o): Likewise.
19785         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
19786         (make_insn_raw): Don't cache insns when GC'ing.
19787         (emit_insn_before): Likewise.
19788         (emit_insn_after): Likewise.
19789         (emit_insn): Likewise.
19790         (start_sequence): Use xmalloc to allocate the sequence_stack.
19791         (end_sequence): Add free to free it.
19792         (gen_sequence): Don't cache insns when GC'ing.
19793         (clear_emit_caches): Don't use sequence_element_free_list.
19794         (init_emit): Use xcalloc, not xmalloc+bzero.
19795         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
19796         * function.c (pop_function_context_from): Use free to free the
19797         fixup_var_refs_queue.
19798         (put_reg_into_stack): Allocate it with xmalloc.
19799         * genattrtab.c: Include ggc.h.
19800         (operate_exp): Don't use obstack_free when GC'ing.
19801         (simplify_cond): Likewise.
19802         (simplify_text_exp): Likewise.
19803         (optimize_attrs): Likewise.
19804         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
19805         GC'ing.
19806         (gencode): Generate a #include for ggc.h.
19807         * ggc-callbacks.c (ggc_p): Define it to zero.
19808         * ggc-none.c (ggc_p): Likewise.
19809         * ggc-simple.c: Include varray.h.
19810         (ggc_mark_tree_varray): New function.
19811         (ggc_add_tree_varray_root): Likewise.
19812         (ggc_mark_tree_varray_ptr): Likewise.
19813         * ggc.h (ggc_p): Declare.
19814         (varray_head_tag): Likewise.
19815         (ggc_add_tree_varray_root): Declare.
19816         * print-tree.c (print_node): Don't check for TREE_PERMANENT
19817         inconsistencies when GC'ing.
19818         * rtl.c: Include ggc.h.
19819         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
19820         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
19821         (rtx_free): Don't call obstack_free when GC'ing.
19822         * toplev.c (rest_of_compilation): Call ggc_collect after every
19823         pass, if GC'ing.
19824         * tree.c (push_obstacks): Do nothing, if GC'ing.
19825         (pop_obstacks_nochange): Likewise.
19826         (pop_obstacks): Likewise.
19827         (make_node): Use ggc_alloc_tree when GC'ing.
19828         (copy_node): Likewise.
19829         (get_identifier): Use ggc_alloc_string when GC'ing.
19830         (build_string): Likewise.
19831         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
19832         (tree_cons): Likewise.
19833         (build1): Likewise.
19834         (type_hash_canon): Don't call obstack_free when GC'ing.
19835
19836 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
19837
19838         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
19839         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
19840
19841 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
19842                           Bernd Schmidt <bernds@cygnus.co.uk>
19843                           Mark Mitchell  <mark@codesourcery.com>
19844
19845         * Makefile.in (stor-layout.o): Depend on ggc.h.
19846         (expr.o): Depend on ggc.h.
19847         (profile.o): Depend on ggc.h.
19848         (stor-layout.o): Depend on ggc.h.
19849         * emit-rtl.c (init_emit_once): Add gc roots.
19850         * expr.c: Include ggc.h.
19851         (emit_block_move): Add gc roots.
19852         (clear_storage): Likewise.
19853         * expr.h (init_stor_layout_once): New function.
19854         * profile.c: Include ggc.h.
19855         (init_arc_profiler): profiler_label is a root.
19856         * scan.c (make_sstring_space): Trust xrealloc to function
19857         correctly with first parameter NULL.
19858         * stor-layout.c: Include ggc.h.
19859         (set_sizetype): Add gc root.
19860         (init_stor_layout_once): New function.
19861         * toplev.c (compile_file): Call it.
19862
19863 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
19864                           Bernd Schmidt <bernds@cygnus.co.uk>
19865                           Mark Mitchell  <mark@codesourcery.com>
19866
19867         * Makefile.in (tree.o): Depend on ggc.h.
19868         (varasm.o): Likewise.
19869         (function.o): Likewise.
19870         (stmt.o): Likewise.
19871         (except.o): Likewise.
19872         (optabs.o): Likewise.
19873         (emit-rtl.o): Likewise.
19874         * emit-rtl.c: Include ggc.h.
19875         (sequence_element_free_list): Remove, and all references.
19876         (mark_sequence): New functions.
19877         (mark_emit_state): New function.
19878         * except.c: Include ggc.h.
19879         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
19880         (mark_tree_label_node): New functions.
19881         (mark_eh_state): New function.
19882         * function.c: Include ggc.h.
19883         (mark_temp_slot, mark_function_chain): New functions.
19884         (mark_function_state): New function.
19885         (init_function_once): New function.
19886         * function.h (init_function_once): New function.
19887         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
19888         * ggc.h (label_node): Declare.
19889         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
19890         (lang_mark_false_label_stack): New function.
19891         (mark_temp_slot): Remove declaration.
19892         (mark_function_chain): Likewise.
19893         (mark_eh_state): Adjust prototype.
19894         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
19895         Likewise.
19896         * optabs.c: Include ggc.h.
19897         (mark_optab): New function.
19898         (init_optabs): Add gc roots.
19899         * stmt.c: Include ggc.h.
19900         (mark_cond_nesting, mark_loop_nesting): New functions.
19901         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
19902         (mark_stmt_state): New function.
19903         * toplev.c (compile_file): Call init_function_once.
19904         * tree.c: Include ggc.h.
19905         (type_hash): Move declaration earlier in file.
19906         (TYPE_HASH_SIZE, type_hash_table): Likewise.
19907         (init_obstacks): Add gc roots.
19908         (mark_type_hash): New function.
19909         * varasm.c: Include ggc.h.
19910         (mark_pool_constant): New function.
19911         (mark_varasm_state): New function.
19912
19913 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19914
19915         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
19916
19917 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
19918
19919         * c-decl.c (struct language_function): Renamed from struct c_function.
19920         Delete elt NEXT.
19921         (c_function_chain): Delete.
19922         (push_c_function_context): New arg F.  Don't warn about nested
19923         functions here.  Fill LANGUAGE elt of F.  Delete code to update
19924         c_function_chain.  Don't call push_function_context.
19925         (pop_c_function_context): New arg F.  Restore from there instead of
19926         from c_function_chain.  Don't call pop_function_context.  Clear out
19927         LANGUAGE field of F when done.
19928         * c-lang.c: Include "function.h"
19929         (lang_init): Initialize save_lang_status and restore_lang_status.
19930         * c-parse.in (nested_function, nested_function_notype): Warn about
19931         nested functions.  Call push_function_context/pop_function_context
19932         instead of the _c_ variants.
19933         * c-tree.h (push_c_function_context, pop_c_function_context): Update
19934         prototype.
19935         * Makefile.in (c-lang.o): Update dependencies.
19936
19937         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
19938         regno_pointer_flag, regno_pointer_align.
19939         (gen_reg_rtx): Use xrealloc to enlarge them.
19940         (free_emit_status): New function.
19941         * function.c (mark_machine_status, mark_lang_status): New variables.
19942         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
19943         in some bits from assign_stack_local.  All callers changed to use new
19944         name.
19945         (assign_stack_local): Just call assign_stack_local_1.
19946         (free_after_compilation): New function.
19947         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
19948         (trampoline_address): Likewise.
19949         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
19950         (prepare_function_start): Explicitly clear some more variables.
19951         * function.h (struct function): New elt can_garbage_collect.
19952         (mark_machine_status, mark_lang_status): Declare variables.
19953         (free_after_compilation, free_emit_status, free_varasm_status,
19954         init_varasm_status): Declare functions.
19955         * toplev.c (rest_of_compilation): Call free_after_compilation when
19956         done with the current function.
19957         * varasm.c (free_varasm_status): New function.
19958
19959 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
19960
19961         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
19962         (EXPAND_BUILTIN_VA_ARG): Define.
19963         * sparc.c (sparc_va_start): New.
19964         (sparc_va_arg): New.
19965
19966 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19967
19968         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
19969
19970 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19971
19972         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
19973
19974 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
19975
19976         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
19977         (OBJS): Add $(GGC).
19978         (ggc-callbacks.o): New target.
19979         * ggc-callbacks.c: New file.
19980
19981 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19982
19983         * expr.h: Collapse individual optab and libfunc vars to arrays.
19984         (optab_index, libfunc_index): New enumerations.
19985         (optab_table, libfunc_table): New arrays.
19986         Add accessor macros for both.
19987
19988         * optabs.c (optab_table, libfunc_table): New.
19989         Delete declarations for individual optab and libfunc vars.
19990
19991 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
19992
19993         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
19994
19995 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
19996
19997         * Makefile.in (GGC, GGC_LIB): New.
19998         (HOST_RTL): Include ggc-none.o.
19999         (ggc-simple.o): New target.
20000         (ggc-none.o): Likewise.
20001         * tree.h (tree_common): Add gc_mark.
20002         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
20003         (struct rtvec_def): Add gc_mark.
20004         * emit-rtl.c (global_rtl): Update static initializers to contain
20005         enough initializers.
20006         * ggc.h, ggc-none.c, ggc-simple.c: New files.
20007         * toplev.c (gc_time): New variable.
20008         (all_time): New variable.
20009         (compile_file): Print gc time.
20010         (print_time): Calculate percentage of the whole.
20011
20012 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20013
20014         Change obstack memory management and varasm constant pool handling so
20015         that nested functions are treated like any other functions.
20016         * function.c (init_machine_status): New variable.
20017         (push_function_context_to): Set contains_functions for the outer
20018         function.  Don't call save_varasm_status.
20019         (pop_function_context_from): Don't call restore_varasm_status.  Don't
20020         set current_function_contains_functions.
20021         (prepare_function_start): Call init_varasm_status rather than
20022         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
20023         is non-null.
20024         * function.h (struct function) Add field varasm.  Delete fields
20025         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
20026         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
20027         (init_machine_status): Declare.
20028         (save_varasm_status, restore_varasm_status): Delete declarations.
20029         (save_tree_status, restore_tree_status): Delete last argument.
20030         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
20031         code.  All callers changed.
20032         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
20033         save_constants_in_decl_trees, restore_constants, save_constants,
20034         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
20035         functions.
20036         (inlining): New variable.
20037         (reg_map, label_map, insn_map, orig_asm_operands_vector,
20038         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
20039         variables.
20040         (save_for_inline_nocopy): Don't save constants.
20041         Don't set inl_emit field in current_function.
20042         (expand_inline_function): Use emit field, not inl_emit, of the inlined
20043         function.  Set new variable inlining before
20044         calling copy_rtx_and_substitute.
20045         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
20046         constant pool references if inlining is nonzero.
20047         Delete ADDRESS and (most of the) CONST cases.
20048         (output_inline_function): Save and restore current_function/
20049         current_function_decl.  Delete restore_constants code.  Don't call
20050         init_const_rtx_hash_table.
20051         * output.h (init_const_rtx_hash_table): Don't declare.
20052         * rtl.h (struct function): Declare.
20053         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
20054         * toplev.c (rest_of_compilation): Don't treat nested functions or
20055         functions containing them specially.  Delete all code to deal with
20056         save_for_inline_copying.
20057         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
20058         inline_obstacks): Delete variables.
20059         (save_tree_status): Lose arg CONTEXT.  All callers changed.
20060         Simply allocate a new function_maybepermanent_obstack for the new
20061         function, delete all the special cases.
20062         Don't save inline_obstacks.
20063         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
20064         Delete special handling for function_maybepermanent_obstack; simply
20065         free it if empty.
20066         Don't restore inline_obstacks.
20067         (permanent_allocation):  Delete code that frees inline_obstacks.
20068         (print_inline_obstack_statistics): Delete function.
20069         (dump_tree_statistics): Don't call it.
20070         * varasm.c (struct varasm_status): New.
20071         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
20072         last_pool, pool_offset, const_double_chain): Delete global
20073         variables, replace with accessor macros.
20074         (immed_double_const): Don't walk const_double_chain outside a
20075         function, but don't treat nested functions specially anymore.
20076         (immed_real_const_1): Likewise.
20077         (clear_const_double_mem): Don't treat nested functions specially.
20078         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
20079         (save_varasm_status, restore_varasm_status): Delete functions.
20080         (init_varasm_status): New function.
20081         (force_const_mem): Don't treat nested functions specially.
20082         (find_pool_constant): Accept new arg F, search for constants in
20083         that function's pool rather than the current one.  All callers
20084         changed.
20085         (get_pool_constant_for_function, get_pool_mode_for_function): New
20086         functions.
20087
20088         * i386.c (init_386_machine_status): New function, mostly from
20089         clear_386_stack_locals.
20090         (struct machine_functions): Rename element names to avoid name
20091         clashes.
20092         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
20093         macros, replacing global variables.
20094         (clear_386_stack_locals, save_386_machine_status,
20095         restore_386_machine_status): Delete functions.
20096         (override_options): Initialize init_machine_status.
20097         * i386.h (INIT_EXPANDERS): Delete macro.
20098         (save_386_machine_status, restore_386_machine_status,
20099         clear_386_stack_locals): Delete declarations.
20100
20101 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20102
20103         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
20104         (doloop_begin):  Simplify pattern and use emit_jump_insn.
20105         (doloop_end): Simplify pattern, switch operand order,
20106         and use emit_jump_insn.
20107
20108 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
20109
20110         * function.h (struct function): Add new element LANGUAGE.
20111         (save_lang_status): Declare new variable.
20112         (restore_lang_status): Likewise.
20113         * function.c (save_lang_status): Define.
20114         (restore_lang_status): Likewise.
20115         (push_function_context_to): Call language-specific save function.
20116         (pop_function_context_from): Call language-specific restore function.
20117
20118 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
20119
20120         * i386.md (movsf_1): Check REG_P before use of REGNO.
20121         (movdf_1): Likewise.
20122         (movxf_1): Likewise.
20123         (extendsfdf2): Likewise.
20124         (extendsfxf2): Likewise.
20125         (extenddfxf2): Likewise.
20126
20127 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20128
20129         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
20130         constants into memory.
20131         (c4x_shiftable_constant): New function.
20132         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
20133         (c4x_shiftable_constant): Declare.
20134         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
20135         ashlqi3_noclobber): Add new patterns and associated splitters.
20136
20137 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
20138
20139         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
20140         * dwarf2out.c (dwarf2out_frame_init): Likewise.
20141         * final.c (shorten_branches): Likewise.
20142         * global.c (global_alloc): Likewise.
20143         * haifa-sched.c (build_control_flow): Likewise.
20144         * stmt.c (check_for_full_enumeration_handling): Likewise.
20145         (estimate_case_costs): Likewise.
20146
20147 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
20148
20149         * rtl.h (RTL_CHECKC2): Fix typo in last change.
20150
20151 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
20152
20153         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
20154         (recompute_reg_usage): Likewise.
20155         * rtlanal.c (find_regno_fusage): Likewise.
20156
20157         * rtl.c (rtl_check_failed_code1): New function.
20158         (rtl_check_failed_code2): New.
20159         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
20160         (RTL_CHECKC1, RTL_CHECKC2): New.
20161         (XC*): New accessor macros.
20162         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
20163         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
20164         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
20165         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
20166         (TRAP_*, RANGE_INFO_*): Likewise.
20167
20168 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20169
20170         * Makefile.in (tlink.o): Don't depend on toplev.h.
20171
20172         * collect2.c (c_file, o_file, export_file, import_file, ldout,
20173         output_file, nm_file_name, ldd_file_name, strip_file_name,
20174         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
20175         add_prefix, prefix_from_env, prefix_from_string, do_wait,
20176         fork_execute, maybe_unlink, add_to_list,
20177         extract_init_priority, write_list, dump_list,
20178         dump_prefix_list, write_list_with_asm, write_c_file,
20179         write_c_file_stat, write_c_file_glob, scan_prog_file,
20180         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
20181         ignore_library, extract_string, notice, dump_file, target_machine,
20182         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
20183         read_file, print_load_command): Constify a char*.
20184         (fdopen, error, fatal, fatal_perror): Don't prototype.
20185         (my_strerror): Remove.  All callers use xstrerror instead.
20186         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
20187         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
20188         to xcalloc/strcpy/strcat/...  to one call to concat.
20189         (main, scan_prog_file, scan_libraries): Use an intermediate
20190         `const char **' to build an argv array.
20191         (mapfile, libselect, libcompare, locatelib): Add prototypes.
20192
20193         * collect2.h (collect_execute, collect_wait, dump_file,
20194         file_exists): Constify a char*.
20195         (ldout, c_file_name, temporary_obstack, permanent_obstack,
20196         temporary_firstobj, vflag, debug): Add extern declarations.
20197         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
20198
20199         * tlink.c: Don't include toplev.h.
20200         (vflag, debug, ldout, c_file_name, temporary_obstack,
20201         permanent_obstack, temporary_firstobj): Don't declare.
20202         (tlink_execute, frob_extension, symbol_hash_lookup,
20203         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
20204         recompile_files, read_repo_files, demangle_new_symbols,
20205         scan_linker_output): Constify a char*.
20206         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
20207         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
20208
20209 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
20210
20211         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
20212         (relative) rather than jsr (absolute) subroutine call insns.
20213         * config/m68k/m68k-coff.h: Ditto.
20214
20215 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
20216
20217         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
20218         now rework these too.
20219         (arm_reorg): If an insn can't reach the end of the current pool,
20220         ensure that we emit that pool before the insn.
20221
20222 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
20223
20224         * tlink.c (scan_linker_output): Skip the initial underscore in
20225         a mangled name if appropriate.
20226
20227 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20228
20229         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
20230         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
20231         error_with_ivar, gen_declarator, create_builtin_decl,
20232         my_build_string, generate_descriptor_table, generate_ivars_list,
20233         generate_dispatch_table, check_protocols, TAG_GETCLASS,
20234         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
20235         dump_base_name, lang_decode_option, build_encode_expr,
20236         start_class, finish_class, encode_pointer, really_start_method,
20237         gen_declaration, dump_interface, handle_class_ref, handle_impent):
20238         Constify.
20239         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
20240         Add static prototypes.
20241         (build_objc_string_decl, build_selector_reference_decl,
20242         encode_bitfield, build_class_reference_decl): Remove unused
20243         parameter, all callers changed.
20244         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
20245         (objc_printable_name): Likewise.  Change second parameter to type int.
20246         (init_objc): Use memcpy, not bcopy, to avoid casts.
20247
20248 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
20249
20250         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
20251         reg notes on a deleted insn.
20252         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
20253
20254 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
20255
20256         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
20257
20258 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20259
20260         * stmt.c (expand_asm_operands): Fix index into inout_mode when
20261         reading it.
20262
20263 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
20264
20265         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
20266         * tm.texi (MD_ASM_CLOBBERS): Document it.
20267
20268 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
20269
20270         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
20271         * except.c (expand_rethrow): Remove unused variable.
20272         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
20273         * flow.c (replace_insns): Likewise.
20274         (create_edge_list, verify_edge_list): Likewise.
20275         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
20276
20277         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
20278         is special code to run.
20279         (main): Don't define operands to emit_operand.
20280         * genrecog.c (main): Don't emit an empty peephole2_insn function.
20281
20282         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
20283
20284         * alpha/alpha.h (normal_memory_operand): Declare.
20285         (reg_no_subreg_operand): Declare.
20286         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
20287
20288 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
20289
20290         * c-parse.in (compstmt_primary_start): New, broken out of first
20291         part of compstmt handling in primary.
20292         (primary): Use it.  Add an error clause.
20293         (compstmt_nostart): Renamed from compstmt; remove all
20294         initial invocations of compstmt_start.
20295         (compstmt): New.
20296
20297 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
20298
20299         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
20300         needed.
20301
20302 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
20303
20304         * combine.c (simplify_shift_const): Remove extra semicolon.
20305         * dwarf2out.c (remove_AT): Likewise.
20306         * expmed.c (expand_mult): Likewise.
20307         * gcov.c (create_program_flow_graph): Likewise.
20308         * reorg.c (mostly_true_jump): Likewise.
20309
20310 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
20311
20312         * fold-const.c (fold_range_test): Do not try to fold the range
20313         test if the rhs or lhs has side effects.
20314
20315         * combine.c (simplify_rtx): Recognize another case of a synthesized
20316         sign extension.
20317
20318         * varasm.c (mark_constant_pool): When marking indirect references,
20319         only look at SYMBOL_REFs.
20320
20321         * except.c (expand_fixup_region_end): Do not peek at
20322         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
20323
20324 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
20325
20326         * flags.h: New variables align_loops, align_loops_log,
20327         align_jumps, align_jumps_log, align_labels, align_labels_log,
20328         align_functions, align_functions_log.
20329         * toplev.c: Define them.
20330         (f_options): Handle -falign-* when they have no argument.
20331         (main): Add logic to set variables for -falign-functions,
20332         -falign-jumps, -falign-labels, -falign-loops.
20333         Make it -fsched-verbose=<n> and -finline-limit=<n>.
20334         (display_help): Change help to match options.
20335         * final.c (LABEL_ALIGN): Default to align_labels_log.
20336         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
20337         (LOOP_ALIGN): Default to align_loops_log.
20338         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
20339         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
20340         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
20341         * varasm.c (assemble_start_function): Handle align_functions.
20342
20343         * config/sparc/sparc.h: Don't declare sparc_align_*.
20344         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
20345         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
20346         sparc.c.
20347         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
20348         it's a promise.
20349         * config/sparc/sparc.c: Delete sparc_align_loops,
20350         sparc_align_jumps, sparc_align_funcs and the corresponding string
20351         variables.
20352         (sparc_override_options): Default align_functions on ultrasparc.
20353         Delete -malign-* handling.
20354
20355         * config/mips/mips.c (override_options):  On 64-bit targets,
20356         try to align code to 64-bit boundaries.
20357         (print_operand): New substitution, %~,
20358         which aligns labels to align_labels_log.
20359         * config/mips/mips.md (div_trap_normal): Use %~.
20360         (div_trap_mips16): Likewise.
20361         (abssi): Likewise.
20362         (absdi2): Likewise.
20363         (ffssi2): Likewise.
20364         (ffsdi2): Likewise.
20365         (ashldi3_internal): Likewise.
20366         (ashrdi3_internal): Likewise.
20367         (lshrdi3_internal): Likewise.
20368         (casesi_internal): Likewise.
20369
20370 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
20371
20372         Merge new ia32 backend from the branch!
20373
20374         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
20375         See ChangeLog.P2 on new_ia32_branch for details.
20376
20377         * rtl.h (stack_regs_mentioned_p): Delete prototype.
20378         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
20379         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
20380         * i386/gas.h (ASM_FILE_START): Define.
20381         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
20382         for name change of ix86_valid_decl_attribute_p.
20383         (i386_pe_valid_type_attribute_p): Similarly.
20384
20385 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
20386
20387         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
20388         to step through CC modes.
20389
20390 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20391
20392         * regmove.c (fixup_match_1): Don't move INSN in front of P if
20393         it would end up in the shadow of a live flags regsiter.
20394
20395 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20396
20397         * reload1.c: Fix many indentation problems.
20398         * reload.c: Likewise.
20399
20400 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
20401
20402         * alias.c (non_local_reference_p): Constify fmt.
20403
20404 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
20405
20406         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
20407
20408 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
20409
20410         * cse.c (delete_trivially_dead_insns): Do not delete stores to
20411         the internal_arg_pointer.
20412
20413 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
20414
20415         Merge peephole2 from new_ia32_branch:
20416         * Makefile.in (STAGESTUFF): Add *.peephole2.
20417         (mostlyclean): Likewise.
20418         (recog.o): Depend on resource.h.
20419
20420         * final.c (peephole): Conditionalize decl on HAVE_peephole.
20421         (final_scan_insn): Likewise for the invocation of peephole.
20422         * genconfig.c (main): Look for peephole and peephole2 patterns.
20423         Emit HAVE_peephole* accordingly.
20424         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
20425         * flags.h (flag_peephole2): Declare.
20426         * toplev.c: New pass peephole2.  New flag -fpeephole2.
20427
20428         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
20429         * gencodes.c (main): Likewise.
20430         * genextract.c (main): Likewise.
20431         * genoutput.c (main): Likewise.
20432         * genemit.c (max_operand_1): Look for the max scratch operand.
20433         (gen_rtx_scratch): New.
20434         (gen_exp): Use it, and pass on new arg subroutine_type.
20435         (gen_expand): Take max scratch into account.
20436         (gen_split): Emit peephole2 functions.
20437         (output_peephole2_scratch): New.
20438         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
20439         * genrecog.c (routine_type): Add PEEPHOLE2.
20440         (IS_SPLIT): New.
20441         (make_insn_sequence): Match outer parallel for peep2.  Discard
20442         top level scratches and dups.
20443         (add_to_sequence): New args insn_type and top.  Update all callers.
20444         Handle toplevel peep2 matching insns.
20445         (write_subroutine): Handle peep2.
20446         (write_tree_1): Likewise.
20447         (write_tree): Likewise.
20448         (main): Likewise.
20449         (change_state): New arg afterward.  Update all callers.
20450         Handle matching separate insns.
20451         * recog.c (recog_next_insn): New.
20452         (peephole2_optimize): New.
20453         * rtl.def (DEFINE_PEEPHOLE2): New.
20454         * resource.c (find_free_register): New argument last_insn.  Use it
20455         to find a register available through the entire span.
20456         * resource.h (find_free_register): Update prototype.
20457
20458 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
20459
20460         * i386.c (output_strlen_unroll): Don't write xops[7]
20461         label if it wasn't set.
20462
20463 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
20464
20465         * cpplib.c (struct directive): Const-ify name pointer and
20466         function pointer prototype.
20467         (validate_else, do_define, do_line, do_include, do_undef,
20468         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
20469         do_elif, do_endif, do_sccs, do_assert, do_unassert,
20470         do_warning): Const-ify second arg.
20471         (directive_table): Mark const.  Reorder entries by frequency
20472         of usage, record statistics.
20473
20474 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
20475
20476         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
20477         bounds- check RTL accesses if --enable-checking.
20478         (RTVEC_ELT): Bounds check if --enable-checking.
20479         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
20480         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
20481         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
20482         GET_NUM_ELEM.
20483         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
20484         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
20485
20486         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
20487         (NOTE_SOURCE_FILE): Use X0STR.
20488         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
20489         MEM_ALIAS_SET): Use X0INT.
20490         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
20491         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
20492         Use X0EXP.
20493         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
20494         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
20495         (rtl_check_failed_bounds, rtl_check_failed_type1,
20496         rtl_check_failed_type2, rtvec_check_failed_bounds): New
20497         functions.
20498         (fancy_abort): Fix comment.
20499
20500         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
20501         (cse_insn): Decrement LABEL_NUSES for jump target before
20502         deleting jump insn.
20503         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
20504         * final.c (alter_subreg): Compute regno before changing x to
20505         REG; set REGNO(x) after changing it.
20506         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
20507         notes containing CONST_INTs.
20508         (delete_eh_regions): Use NOTE_EH_HANDLER.
20509         * function.c (put_reg_into_stack): Make reg a MEM before
20510         initializing it.
20511         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
20512         delete insn.
20513         (gen_mem_addressof): Make reg a MEM before initializing it.
20514         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
20515         X0WINT.
20516         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
20517         deleting an insn, not after.
20518         (block_alloc): Only look at PATTERN(insn) if we have to, and
20519         only if it's format class 'i'.
20520         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
20521         CONST_INT before using its INTVAL.
20522         * print-rtl.c (print_rtx): Use X0STR.
20523         * regmove.c (fixup_match_1): Don't look at PATTERN of
20524         non-class-'i' insn chain elements.
20525         * reload.c (loc_mentioned_in_p): Take address of
20526         in->fld[1].rtx directly.
20527         * reload1.c (reload): Change reg to a MEM before initializing
20528         it.
20529         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
20530         have no names.
20531         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
20532
20533 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
20534
20535         * config/mips/mips.c (machine_dependent_reorg): Force a
20536         barrier to output the local constant pool if a barrier hasn't
20537         been found at a natural point in the instruction stream.
20538
20539 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20540
20541         * c-parse.in (language_string): Constify.
20542
20543         * dwarf2out.c (language_string): Remove declaration.
20544
20545         * dwarfout.c (language_string): Likewise.
20546
20547         * toplev.c (language_string, init_parse, finish_parse): Likewise.
20548
20549         * tree.h (language_string, init_parse, finish_parse): Declare.
20550
20551         * i386/sun386.h (language_string): Remove declaration.
20552
20553         * mips.h (language_string): Likewise.
20554
20555         * nextstep.h (language_string): Likewise.
20556
20557         * nextstep21.h (language_string): Likewise.
20558
20559         * rs6000.c (language_string): Likewise.
20560
20561 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20562
20563         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
20564         (getpwd.o): Remove target.
20565
20566         * getpwd.c: Delete file.  Its in libiberty now.
20567
20568         * dbxout.c (getpwd): Don't prototype.
20569         * dwarf2out.c (getpwd): Likewise
20570         * dwarfout.c (getpwd): Likewise
20571         * final.c (getpwd): Likewise.
20572         * protoize.c (getpwd): Likewise.
20573
20574 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20575
20576         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
20577
20578 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
20579
20580         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
20581         mark_set_resources.
20582
20583 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
20584
20585         * fixinc/Makefile.in (subdir): New.
20586         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
20587         (Makefile): New.
20588
20589 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
20590
20591         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
20592         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
20593         be shared.
20594
20595         * invoke.texi: Fix typo.
20596
20597         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
20598         changed.  Handle autoincrement addressing modes.
20599
20600         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
20601         just like we would the virtual incoming args register when
20602         integrating.
20603
20604 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
20605
20606         * rs6000.h (ASM_FILE_START): Specify complete filename, including
20607         path, in .file directive.
20608
20609 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
20610
20611         * gcc.texi (External Bugs): Remove obsolete note about Perl on
20612         SunOS.
20613
20614 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
20615
20616         * stdbool.h: Make the typedef name _Bool, with bool a #defined
20617         alias.
20618
20619 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20620
20621         * tree.c (tree_code_name): Constify a char*.
20622
20623         * tree.h (tree_code_name, decl_printable_name): Likewise.
20624
20625         * function.h (struct function): Likewise.
20626
20627         * toplev.c (decl_name, decl_printable_name): Likewise.
20628
20629         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
20630
20631         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
20632         (init_objc): Remove function pointer cast.
20633
20634 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
20635
20636         * pa.md (interspace_jump): New pattern.
20637         (builtin_longjmp): New expander.
20638
20639 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
20640
20641         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
20642         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
20643         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
20644
20645 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
20646
20647         * jump.c (delete_prior_computation): Also check calls
20648         to constant functions.  Don't bother checking for a
20649         REG_UNUSED note before adding it.
20650         (delete_computation): Handle multi-word hard registers
20651         when synthesizing missing REG_DEAD notes for a register
20652         which is both set and used by an insn.
20653
20654 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20655
20656         * loop.c (this_loop_info): New variable.
20657         (loop_has_call, loop_has_volatile, loop_has_tablejump,
20658         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
20659         All uses updated.
20660         (prescan_loop, strength_reduce): New argument loop_info.  All callers
20661         updated.
20662         (scan_loop): New variable loop_info, initialise to address of
20663         this_loop_info.
20664         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
20665         Delete variable loop_has_multiple_exit targets and replace with
20666         field in this_loop_info.
20667         (find_and_verify_loops): Rename this_loop to this_loop_num.
20668         (strength_reduce): Delete loop_iteration_info.  Replace variable
20669         loop_info with function argument of same name.
20670         (insert_bct): Rework test for loop being completely unrolled.
20671
20672         * loop.h (struct loop_info): New fields num, loops_enclosed,
20673         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
20674         has_indirect_jump, and cont.  Redefine use of unroll_number.
20675         (loop_unroll_number): Delete.
20676
20677         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
20678         field of loop_info.
20679         (loop_iterations): Delete variable vtop and instead use
20680         loop_info->vtop computed in prescan_loop.
20681
20682 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
20683
20684         * fix-header.c (main): Do not pass a null pointer to strcmp.
20685
20686 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
20687
20688         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
20689         filenames.
20690         * configure: Rebuilt.
20691
20692 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
20693
20694         * jump.c (jump_optimize_1): Do not delete assignments to
20695         internal_arg_pointer.
20696         * cse.c (delete_trivially_dead_insns): Always consider a set of
20697         the internal_arg_pointer live.
20698
20699 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
20700
20701         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
20702         (update_life_info) [REG_WAS_0]: Search the original insns rather
20703         than the new insns for the note.  Fix typos finding note_dest.
20704         If no dest found, discard the note rather than abort.
20705         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
20706         (replace_insns): Remove the old insn list after update_life_info
20707         not before.
20708
20709 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
20710
20711         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
20712         sched_analyze_insn.
20713         (sched_analyze_1): Let add_dependence care for not adding dups.
20714         (sched_analyze_2): Likewise.
20715         (add_branch_dependences): Likewise.
20716
20717 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20718
20719         * i386/winnt.c (export_list): New type.
20720         (exports_head): Rename to
20721         (export_head):  this.
20722         (i386_pe_record_exported_symbol): Add is_data flag.
20723         (i386_pe_asm_file_end): Emit directive for exported variables.
20724         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
20725         prototype.
20726         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
20727         (ASM_DECLARE_OBJECT_NAME): Likewise.
20728         (ASM_DECLARE_FUNCTION_NAME): Likewise.
20729         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
20730
20731 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
20732
20733         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
20734
20735         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
20736         operand.
20737
20738 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
20739
20740         * config/openbsd.h: Define SET_ASM_OP.
20741         * tm.texi: cross-reference SET_ASM_OP in the index.
20742
20743 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
20744
20745         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
20746         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
20747         and class_narrowest_mode at compile time.  Kill init_rtl.
20748         Mark rtx_length, mode_class, mode_size, mode_unit_size,
20749         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
20750         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
20751         EXTRA_CC_NAMES.
20752         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
20753         format.
20754         * rtl.h: Declare rtx_length and rtx_format as const.
20755         * machmode.def: Define CC().  Use CC() to define CCmode.  If
20756         EXTRA_CC_MODES is defined, expand it here.
20757         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
20758         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
20759         const.  Kill all references to EXTRA_CC_MODES.
20760
20761         * toplev.c: Don't prototype or call init_rtl.
20762         * optabs.c: Don't call init_mov_optab.
20763         * genemit.c: Don't generate init_mov_optab.  Don't call
20764         init_rtl.
20765         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
20766         here.
20767         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
20768         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
20769         genrecog.c: Don't call init_rtl.
20770
20771         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
20772         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
20773         definition of EXTRA_CC_MODES.
20774
20775         * md.texi: Kill ref to EXTRA_CC_NAMES.
20776         * tm.texi: Document new way to define EXTRA_CC_MODES.
20777
20778         * genrecog.c: Do not look up the name of a define_split.
20779         (Unrelated bugfix.)
20780
20781 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
20782
20783         * config/v850/v850.md: Fix typo introduced by previous delta.
20784
20785 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20786
20787         * gcc.c (fatal): Make definition static to match prototype.
20788
20789 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20790
20791         * combine.c (get_last_value): Don't look for earlier sets if the last
20792         known set is somewhere in between the insns being combined.
20793
20794 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
20795
20796         * configure.in: Don't use shell ! to negate exit codes
20797         * configure: Regenerate
20798
20799 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
20800
20801         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
20802         the fact that ALIGN is measured in bits, not bytes.
20803
20804 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
20805
20806         * errors.c: New file; defines functions error, warning, and
20807         fatal, variables have_error and progname.
20808         * errors.h: New file; prototypes and decls for stuff in errors.c.
20809
20810         * Makefile: Add rules to build errors.o and
20811         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
20812         genopinit, genrecog, genextract, genpeep, genattr, and
20813         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
20814         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
20815         genpeep.o, genattr.o, and genoutput.o.
20816
20817         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
20818         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
20819         define or prototype fatal.  Set progname at beginning of main.
20820         * genoutput.c:  Likewise, and don't define or prototype error
20821         either.
20822
20823         * c-typeck.c (c_expand_start_case): Return immediately if exp
20824         is an ERROR_MARK.
20825         * fold-const.c (operand_equal_p): Return immediately if arg1
20826         or arg0 are ERROR_MARKs.
20827         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
20828         fields of type ERROR_MARK when calculating if the record can
20829         go in a register.
20830
20831 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
20832         with much help from Jeffrey A Law and Richard Henderson
20833
20834         * i386.md: In the 6 insns which call output_fix_trunc,
20835         earlyclobber operands[0].
20836
20837 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
20838
20839         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
20840         creating new registers.
20841
20842 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
20843
20844         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
20845         i386_reg_alloc_order, i386_regparm_string,
20846         i386_align_loops_string, i386_align_jumps_string,
20847         i386_align_funcs_string, i386_preferred_stack_boundary_string,
20848         and i386_branch_cost_string as type "const char *".
20849         * i386.c: Define all above strings as type "const char *".
20850
20851 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
20852
20853         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
20854         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
20855
20856 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
20857
20858         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
20859         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
20860
20861 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
20862
20863         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
20864         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
20865         (dwarf2out_line, dwarf2out_finish): Likewise.
20866         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
20867
20868 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20869
20870         * tree.c (lang_unsave_expr_now) : Correct return type.
20871         * tree.h (lang_unsave_expr_now) : Same.
20872
20873 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
20874
20875         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
20876         instead of duplicating code.
20877
20878 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20879
20880         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
20881
20882 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
20883
20884         * tree.h: fancy_abort always takes three args.
20885         * resource.c: Move include of system.h before toplev.h.
20886
20887 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
20888
20889         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
20890         as SYMBOL_REFs.
20891
20892 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
20893
20894         * system.h: Don't redefine abort or trim_filename.
20895         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
20896         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
20897         whether or not __FUNCTION__ is available.
20898         * tree.h: Duplicate rtl.h's definition of abort, for files
20899         that don't include rtl.h.  Delete all code to perform type
20900         checking with a compiler other than GCC.
20901         * varray.h: Delete all code to perform type checking with a
20902         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
20903         its arguments exactly once, using a statement expression.
20904         Adjust the VARRAY_<type> accessor macros to match.
20905         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20906         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
20907         caller's location.  Define fatal_insn and fatal_insn_not_found
20908         as macros that use _fatal_insn and _fatal_insn_not_found.
20909         (fancy_abort, trim_filename): Kill prototypes.
20910
20911         * rtl.c (trim_filename): Move here from toplev.c.
20912         (fancy_abort): New function.
20913         (DIR_SEPARATOR): Provide default definition.
20914         * tree.c (tree_check_failed, tree_class_check_failed): Go
20915         through fancy_abort.
20916         (tree_check, tree_class_check, cst_or_constructor_check,
20917         expr_check): Delete.
20918         * varray.c (varray_check_failed): New function.
20919         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
20920         _fatal_insn and _fatal_insn_not_found.  Go through
20921         fancy_abort.
20922         (trim_filename, fancy_abort): Delete.
20923
20924         * builtins.c (expand_builtin_args_info): Report ICE with abort.
20925         * except.c (start_catch_handler): Report ICE with error/abort
20926         combo.
20927         * final.c (output_operand_lossage): Likewise.
20928         * flow.c (verify_flow_info): Likewise.
20929
20930         * gcc.c: Prototype fatal.
20931         * gengenrtl.c: Undef abort after including rtl.h not system.h.
20932         * genattr.c, genattrtab.c, genemit.c, genextract.c,
20933         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
20934         Don't define fancy_abort.
20935
20936 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
20937
20938         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
20939         canonization.
20940
20941 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
20942
20943         * m88k.h (VERSION_INFO2): Kill.
20944         (VERSION_STRING): Kill.
20945         (TM_RCS_ID): Kill.
20946         (VERSION_INFO1): Tidy.
20947         (TARGET_VERSION): Update.
20948         * m88k/dgux.h (VERSION_INFO2): Kill.
20949         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
20950         * m88k/luna.h (VERSION_INFO1): Tidy.
20951         * m88k/sysv4.h (VERSION_INFO1): Likewise.
20952         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
20953         (output_file_start): Adjust for death of VERSION_STRING.
20954
20955 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
20956
20957         * cpplib.c (detect_if_not_defined): New function.
20958         (do_if): Use it to detect potential once-only headers.
20959
20960 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
20961
20962         * c-common.c (combine_strings): Always set TREE_CONSTANT.
20963
20964 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20965
20966         * combine.c (nonzero_bits) : Allow single-ly set registers to be
20967         anywere in the function only if they are pseudos and set before
20968         being used (not live at the start of the function).
20969         (num_sign_bit_copies) : Same.
20970         (get_last_value_validate) : Same.
20971         (get_last_value) : Same.
20972
20973 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
20974
20975         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
20976         where N and M are constant and N is an integer multiple of M.
20977
20978 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20979
20980         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
20981         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
20982         sbitmap_union_of_preds): Add prototypes.
20983         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
20984         the intersection of successors with the new flow graph structures.
20985         (sbitmap_intersection_of_preds): New function to compute the
20986         intersection of predecessors with the new flow graph structures.
20987         (sbitmap_union_of_succs): New function to compute the union of
20988         successors with the new flow graph structures.
20989         (sbitmap_union_of_preds): New function to compute the union of
20990         predecessors with the new flow graph structures.
20991         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
20992         (expr_reaches_here_p): Use edge and basic_block structures instead
20993         of s_preds and s_succs.
20994         (compute_cprop_avinout): Use new sbitmap routines.
20995         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
20996         of s_preds and s_succs.
20997         * flow.c (compute_flow_dominators): Compute dominators using
20998         edges and basic blocks instead of s_preds and s_succs.
20999
21000 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21001
21002         * lists.c (unused_insn_list, unused_expr_list): New file for
21003         maintaining various types of lists. New statics for maintaining a
21004         cache of available INSN_LIST and EXPR_LIST nodes.
21005         (free_list): Static function for freeing a list of INSN/EXPR nodes.
21006         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
21007         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
21008         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
21009         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
21010         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
21011         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
21012         (free_INSN_LIST_node): Free an individual INSN_LIST node.
21013         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
21014         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
21015         (remove_dependence, free_pending_lists): Use new global routines.
21016         (flush_pending_lists, sched_analyze_insn): Use new global routines.
21017         (sched_analyze, compute_block_backward_dependences): Use new routines.
21018         (sched_analyze_1, sched_analyze_2): Use new routines.
21019         (schedule_insns): Use new global routines.
21020         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
21021         prototypes.
21022         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
21023         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
21024         prototypes.
21025         * toplev.c (rest_of_compilation): Initialize node cache.
21026         * Makefile.in (OBJS): Add lists.o to list of object files.
21027         (lists.o): Add dependancies.
21028
21029 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
21030
21031         * config/v850/v850.md: Fix compile time warning messages.
21032         * config/v850/v850.c: Fix compile time warning messages.
21033         * config/v850/v850.h: Fix compile time warning messages.
21034
21035 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21036
21037         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
21038         Remove unused prototype for `init_lengths'.
21039
21040 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21041
21042         * calls.c (emit_call_1): Mark parameter `stack_size' with
21043         ATTRIBUTE_UNUSED.
21044         (expand_call): Initialize variable `insn'.
21045         (emit_library_call): Likewise for variable `high_to_save'.
21046         (emit_library_call_value): Likewise.
21047         (store_one_arg): Likewise for variables `lower_bound' and
21048         `upper_bound'.
21049
21050         * combine.c (try_combine): Likewise for variables `i2_code_number'
21051         and `other_code_number'.
21052         (find_split_point): Likewise for variables `pos', `unsignedp' and
21053         `inner'.
21054         (simplify_if_then_else): Likewise for variables `op' and `c1'.
21055         (simplify_and_const_int): Remove unused variable `width'.
21056         (merge_outer_ops): Likewise.
21057
21058         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
21059         HOST_WIDE_INT' when comparing against one.
21060         (simplify_relational_operation): Likewise.
21061         (cse_insn): Initialize variables `src_eqv_volatile',
21062         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
21063
21064         * final.c (init_final): Constify parameter `filename'.
21065         (final_start_function): Mark parameter `optimize' with
21066         ATTRIBUTE_UNUSED.
21067         (profile_function): Likewise for parameters `first' and `optimize'.
21068         (output_source_line): Likewise for parameter `file'.
21069
21070         * integrate.c (subst_constants): Cast a value to `size_t' when
21071         comparing against one.
21072         (mark_stores): Initialize variable `mode'.  Cast a value to
21073         `size_t' when comparing against one.
21074
21075         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
21076
21077         * loop.c (move_movables): Initialize variable `first'.
21078         (strength_reduce): Likewise for variable `increment'.
21079         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
21080         value to `size_t' when comparing against one.
21081         (load_mems): Initialize variable `end_label'.
21082
21083         * output.h (init_final): Constify parameter.
21084
21085         * reload.c (decompose): Initialize variable `base'.
21086
21087         * reload1.c (reload): Likewise for variable `is_scalar'.
21088         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
21089         (choose_reload_regs): Initialize variable `mode'.
21090         (emit_reload_insns): Likewise for variable `store_insn'.
21091         (reload_cse_noop_set_p): Mark parameter `insn' with
21092         ATTRIBUTE_UNUSED.
21093         (reload_combine): Initialize variable `set'.
21094
21095         * unroll.c (unroll_loop): Likewise for variable `local_label'.
21096         (copy_loop_body): Cast a value to `size_t' when comparing against
21097         one.
21098
21099         * varasm.c (assemble_variable): Initialize variable `size_tree'.
21100         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
21101         (remove_from_pending_weak_list): Mark parameter `name' with
21102         ATTRIBUTE_UNUSED.
21103
21104 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21105
21106         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
21107         gcse dump file.
21108
21109 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
21110
21111         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
21112         (ASM_DECLARE_FUNCTION_NAME): Define.
21113         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
21114         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
21115         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
21116         not already defined.
21117
21118 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
21119
21120         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
21121         of n_popped when call/call_value are not defined.
21122
21123 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
21124
21125         * tm.texi: GNU CC -> GCC conversion.
21126         (CC1_SPEC): Indicate it is used for all language front ends.
21127
21128 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
21129
21130         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
21131         NOTE_INSN_EH_REGION_END correctly.
21132
21133 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21134                           Jeff Law <law@cygnus.com>
21135
21136         * loop.c (strength_reduce): Automatically unroll loops if the
21137         unrolled loop size is smaller than the rolled loop size.
21138
21139         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
21140         and delete comment that code should be rewritten.
21141
21142 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
21143
21144         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
21145         as reachable.
21146
21147         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
21148
21149 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21150
21151         * fixinc/mkfixinc.sh: Don't fix uwin headers.
21152         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
21153         (LINK_SPEC): Add -u _main when building executables.
21154         (ASM_DECLARE_FUNCTION): Update from Cygwin.
21155         (ASM_FILE_END): Use the default for ix86-pe.
21156         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
21157
21158 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
21159
21160         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
21161         and ASM_CLOSE_PAREN are empty strings.
21162
21163 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
21164                           Geoffrey Keating <geoffk@cygnus.com>
21165
21166         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
21167         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
21168         (unprotoize.o): Ditto.
21169         (test-protoize-simple): Don't define STD_PROTO_DIR.
21170         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
21171         changes to make 'test-protoize-simple' pass.
21172         (STD_PROTO_DIR): Remove define.
21173         (STANDARD_EXEC_PREFIX): Supply default define.
21174         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
21175         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
21176         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
21177         (GET_ENV_PATH_LIST): New macro.
21178         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
21179         (do_processing): Initialize default_syscalls_dir using new
21180         macros.  Use it to initialize syscalls_absolute_filename.
21181
21182 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
21183
21184         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
21185         B into a register before emit_conditional_move.
21186
21187 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
21188
21189         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
21190         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
21191         multiplicand out of (+ (* a b) (* c d)).
21192
21193 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
21194                           Richard Henderson  <rth@cygnus.com>
21195
21196         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
21197         (new_insn_dead_notes): Likewise.
21198         (update_n_sets): Likewise.
21199         (update_flow_info): Move to flow.c, renamed to update_life_info;
21200         extend to handle multiple source insns.
21201         * flow.c: Include resource.h
21202         (unlink_insn_chain): New.
21203         (split_hard_reg_notes): New.
21204         (maybe_add_dead_note): New.
21205         (maybe_add_dead_note_use): New.
21206         (find_insn_with_note): New.
21207         (new_insn_dead_notes): New.
21208         (update_n_sets): New.
21209         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
21210         (maybe_remove_dead_notes): New.
21211         (update_life_info): New.
21212         (prepend_reg_notes): New.
21213         (replace_insns): New.
21214         * output.h (update_life_info): Declare.
21215         * recog.c (split_block_insns): Use update_life_info.
21216         * resource.c (find_free_register): Use reg_alloc_order, don't use
21217         fixed regs, make sure the mode is supported, don't use new regs.
21218         (reg_dead_p): New.
21219         * rtl.h (replace_insns): Declare.
21220
21221 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
21222
21223         * expr.c (expand_expr): Cope with COND_EXPRs with one
21224         non-returning branch.
21225
21226 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
21227
21228         * expr.c (store_expr): Always pass down the target, even when not
21229         doing CSE.
21230
21231 1999-08-24  Nick Clifton  <nickc@cygnus.com>
21232
21233         * configure.in: Define target_cpu_default for v850 targets.
21234         * configure: Regenerate
21235
21236         * config/v850/v850.h (TARGET_CPU_generic): Define.
21237         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
21238         addresses are 4 byte aligned.
21239
21240         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
21241         addresses.
21242
21243 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21244
21245         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
21246         (main): Add prototypes.
21247
21248         * genattrtab.c (substitute_address, write_const_num_delay_slots,
21249         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
21250         (write_attr_get): Emit prototypes along with function definition.
21251         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
21252         (write_complex_function): Emit static prototype along with
21253         function definition.
21254
21255         * genemit.c (gen_split): Emit prototypes along with function
21256         definition.
21257
21258         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
21259         Likewise for predicates and `insn_operand_predicate'.
21260         (process_template): Emit static prototype along with function
21261         definition.
21262
21263         * genrecog.c (make_insn_sequence): Constify a char*.  Add
21264         prototypes for get_split_*().
21265         (write_subroutine): Emit prototypes along with function
21266         definition.
21267
21268 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21269
21270         * gcse.c (find_avail_set): Follow chains of register-register copies.
21271         Use oprs_not_set_p to guarantee that the returned value can be
21272         substituted.
21273         (cprop_insn): Don't verify the return value of find_avail_set with
21274         oprs_not_set_p.
21275
21276         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
21277         (cprop_cc0_jump): New function.
21278         (cprop_insn): Break out new function cprop_jump and use it.
21279         Also use cprop_cc0_jump for machines with CC0.
21280         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
21281
21282         * tree.h (current_function_calls_setjmp,
21283         current_function_calls_longjmp): Delete declarations.
21284         * dsp16xx.c: Include "function.h".
21285         * elxsi.c: Likewise.
21286         * gmicro.c: Likewise.
21287         * h8300.c: Likewise.
21288         * i370.c: Likewise.
21289         * m32r.c: Likewise.
21290         * mn10200.c: Likewise.
21291         * mn10300.c: Likewise.
21292         * ns32k.c: Likewise.
21293         * spur.c: Likewise.
21294         * v850.c: Likewise.
21295
21296         * rtl.h (rtx_equal_function_value_matters): Declare.
21297         * toplev.c (rtx_equal_function_value_matters): Don't declare.
21298         * cse.c: Likewise.
21299         * function.c: Likewise.
21300         * emit-rtl.c: Likewise.
21301
21302 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
21303
21304         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
21305         call.
21306
21307 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21308
21309         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
21310         exactly.
21311
21312 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
21313
21314         * cpp.texi: Add a node documenting macro varargs (copied
21315         from extend.texi).
21316
21317 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
21318
21319         * cppspec.c: Put a null pointer at the end of the new argv.
21320
21321 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
21322
21323         * configure.in: Remove code to select/de-select the haifa
21324         scheduler.  Every scheduled port gets haifa now.
21325         * configure: Rebuilt.
21326         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
21327         * sched.c Deleted.
21328         * Makefile.in: Corresponding changes.
21329
21330 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21331
21332         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
21333         All callers changed.
21334         (prepare_float_lib_cmp): Likewise.
21335         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
21336         * expr.h (emit_float_lib_cmp): Delete declaration.
21337         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
21338         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
21339         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
21340         specially.
21341         (cmptf): Now conditional on TARGET_HARD_QUAD.
21342
21343 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
21344
21345         * resource.c (mark_target_live_regs): Use
21346         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
21347
21348 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21349
21350         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
21351
21352         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
21353
21354         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
21355
21356 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21357
21358         * rtl.h (rtx_format): Constify a char*.
21359
21360         * rtl.c (rtx_format): Likewise.
21361         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
21362         (init_rtl): Use accessor macro, not `rtx_format'.
21363
21364         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
21365         char*.
21366
21367         * caller-save.c (mark_referenced_regs): Likewise.
21368
21369         * combine.c (subst, make_compound_operation, known_cond,
21370         gen_rtx_combine, update_table_tick, get_last_value_validate,
21371         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
21372
21373         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
21374         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
21375         count_reg_usage): Likewise.
21376
21377         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
21378         Likewise.
21379
21380         * final.c (leaf_renumber_regs_insn): Likewise.
21381
21382         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
21383         dump_edge_info, count_reg_references): Likewise.
21384
21385         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
21386         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
21387         Likewise.
21388
21389         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
21390         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
21391         add_label_notes): Likewise.
21392
21393         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
21394         clear_struct_flag, count_sub_rtxs, count_alternatives,
21395         compares_alternatives_p, contained_in_p, walk_attr_value,
21396         write_expr_attr_cache): Likewise.
21397
21398         * genconfig.c (walk_insn_part): Likewise.
21399
21400         * genemit.c (max_operand_1, gen_exp): Likewise.
21401
21402         * genextract.c (walk_rtx): Likewise.
21403
21404         * genflags.c (num_operands): Likewise.
21405
21406         * genoutput.c (scan_operands): Likewise.
21407
21408         * genpeep.c (match_rtx): Likewise.
21409
21410         * genrecog.c (add_to_sequence): Likewise.
21411
21412         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
21413         Likewise.
21414
21415         * integrate.c (save_constants, copy_for_inline,
21416         copy_rtx_and_substitute, subst_constants, restore_constants):
21417         Likewise.
21418
21419         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
21420         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
21421
21422         * local-alloc.c (contains_replace_regs, memref_referenced_p):
21423         Likewise.
21424
21425         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
21426         add_label_notes, replace_call_address, count_nonfixed_reads,
21427         invariant_p, find_single_use_in_loop, find_mem_givs,
21428         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
21429         Likewise.
21430
21431         * print-rtl.c (reg_names, print_rtx): Likewise.
21432
21433         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
21434
21435         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
21436         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
21437         print_blocks): Likewise.
21438
21439         * regclass.c (fix_register, record_address_regs,
21440         reg_scan_mark_refs): Likewise.
21441
21442         * regmove.c (stable_but_for_p): Likewise.
21443
21444         * reload.c (loc_mentioned_in_p, operands_match_p,
21445         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
21446         copy_replacements, refers_to_regno_for_reload_p,
21447         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
21448         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
21449         Likewise.
21450
21451         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
21452         delete_address_reloads_1, count_occurrences,
21453         reload_cse_mem_conflict_p, reload_combine_note_use,
21454         add_auto_inc_notes): Likewise.
21455
21456         * resource.c (mark_referenced_resources, mark_set_resources):
21457         Likewise.
21458
21459         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
21460         reg_mentioned_p, regs_set_between_p, modified_between_p,
21461         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
21462         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
21463         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
21464         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
21465
21466         * sched.c (sched_analyze_2, attach_deaths): Likewise.
21467
21468         * stupid.c (stupid_mark_refs): Likewise.
21469
21470         * unroll.c (remap_split_bivs): Likewise.
21471
21472         * varasm.c (mark_constants): Likewise.
21473
21474         * a29k/a29k.c (uses_local_reg_p): Likewise.
21475
21476         * alpha/alpha.c (summarize_insn): Likewise.
21477
21478         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
21479         eliminate_lr2ip): Likewise.
21480
21481         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
21482
21483         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
21484         reg_mentioned_in_mem): Likewise.
21485
21486         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
21487         symbolic_reference_mentioned_p): Likewise.
21488
21489         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
21490
21491         * sh/sh.c (regs_used, mark_use): Likewise.
21492
21493         * vax/vax.c (vax_rtx_cost): Likewise.
21494
21495 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21496
21497         * machmode.h (mode_name): Constify a char*.
21498
21499         * rtl.c (mode_name): Likewise.
21500
21501         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
21502
21503         * optabs.c (init_libfuncs): Constify a char*.
21504
21505         * print-tree.c (mode_name): Remove redundant declaration.
21506         (print_node): Use accessor macro, not `mode_name'.
21507
21508         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
21509         not `mode_name'.
21510         (new_spill_reg): Constify a char*.
21511
21512         * tree.c (mode_name): Remove redundant declaration.
21513
21514 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21515
21516         * rtl.c (rtx_name): Constify a char*.
21517
21518         * rtl.h (rtx_name, fix_sched_param): Likewise.
21519
21520         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
21521         (mypr): Use accessor macro, not `rtx_name'.
21522
21523         * genemit.c (print_code): Constify a char*.
21524
21525         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
21526
21527         * genpeep.c (print_code): Constify a char*.
21528
21529         * genrecog.c (print_code): Likewise.
21530
21531         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
21532         end_bb): Add static prototype.
21533         (draw_edge): Constify a char*.
21534         (end_bb): Remove unused parameter.
21535
21536         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
21537         print_block_visualization): Constify a char*.
21538
21539 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
21540
21541         * c-common.c (c_get_alias_set): Update comment.
21542
21543 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
21544
21545         * linux.h (LIB_SPEC): Added.
21546
21547 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21548
21549         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
21550
21551 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
21552
21553         * tree.c (expr_check): Fix typo in last change.
21554
21555 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
21556
21557         * rtl.def (NOTE): Change format to "iuu0n".
21558         (ADDR_DIFF_VEC): Change format to "eEee0".
21559         (ADDRESSOF): Change format to "eit".
21560
21561         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
21562         (RTVEC_ELT): Change to match.
21563         (XVECEXP): Use XVEC and RTVEC_ELT.
21564         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
21565         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
21566         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
21567         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
21568         TRAP_CONDITION, TRAP_CODE): Use XEXP.
21569         (INTVAL): Use XWINT.
21570         (ADDRESSOF_DECL): Use XTREE.
21571         (SET_ADDRESSOF_DECL): Delete.
21572         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
21573         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
21574         ifdefed out since 2.6 at least.
21575         (gen_rtvec_vv): Delete prototype.
21576
21577         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
21578         not rtunion.
21579         (copy_most_rtx): Handle 't' format letter.
21580         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
21581         (gen_rtvec_vv): Delete function.  All callers changed to use
21582         gen_rtvec_v instead.
21583         * print-rtl.c (print_rtx): Move special casing of NOTEs to
21584         the '0' format letter.
21585
21586         * function.c (gen_mem_addressof): Don't use
21587         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
21588         instead.
21589         * integrate.c (copy_rtx_and_substitute): Likewise.
21590         Copy 't' slots with XTREE.
21591         (subst_constants): Treat 't' slots like '[swi]' slots.
21592         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
21593         * jump.c (rtx_equal_for_thread_p): Likewise.
21594         * rtlanal.c (rtx_equal_p): Likewise.
21595         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
21596         only four arguments.
21597         * gengenrtl.c (type_from_format): Provide correct types for
21598         'b' and 't' slots.
21599
21600
21601         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
21602         If a recent gcc is in use (always in stage2 and beyond), use
21603         statement expressions, so we don't make a function call unless
21604         the check fails.  Evaluate arguments exactly once.
21605         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
21606         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
21607         Delete.
21608         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
21609         they evaluate their arguments exactly once, irrespective of
21610         the compiler in use.
21611
21612         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
21613         is used by the currently-enabled check macros.  This is:
21614         (tree_check_failed, tree_class_check_failed): For gcc.
21615         (tree_check, tree_class_check, cst_or_constructor_check,
21616         expr_check): For other compilers.
21617
21618         * gencheck.c: Do not define any *_CHECK1 macros.
21619
21620 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
21621                           Mark Mitchell <mark@codesourcery.com>
21622
21623         * c-common.c (c_get_alias_set): Fix support for poitners and
21624         references.
21625
21626 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
21627
21628         * alias.c: Include tree.h.
21629         (nonlocal_reference_p, mark_constant_function): New functions.
21630         * flow.c (life_analysis): Call mark_constant_function.
21631         * rtl.h (mark_constant_function): Declare it.
21632
21633 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
21634
21635         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
21636         unrecognisable switches.
21637
21638 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21639
21640         * loop.c (recombine_givs): Set ix field after sorting.
21641         (recombine_givs): Remove bogus index / giv lockstep looping.
21642
21643 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21644
21645         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
21646         on CODE.
21647         (emit_store_flag_force): Use do_compare_rtx_and_jump.
21648         (do_cmp_and_jump): Formatting fixes.
21649         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
21650         do_compare_rtx_and_jump instead of compare_from_rtx.
21651         (do_compare_rtx_and_jump): New function; mostly copied from
21652         compare_from_rtx.
21653         (do_jump_for_compare): Delete.
21654         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
21655         MIN_EXPR.
21656         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
21657         of compare/do_jump_for_compare pairs.
21658         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
21659         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
21660         compare_from_rtx/do_jump_for_compare pairs.
21661         (do_jump_by_parts_equality): Likewise.
21662         (do_jump_by_parts_equality_rtx): Likewise.
21663         * expr.h (do_compare_rtx_and_jump): Declare.
21664         * optabs.c (prepare_cmp_insn): New function, contains most of the code
21665         that used to be in emit_cmp_insn.
21666         (cmp_available_p): New function.
21667         (prepare_operand): New function.
21668         (emit_cmp_and_jump_insn_1): New function, contains some code that used
21669         to be in emit_cmp_insn.
21670         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
21671         parameters to be pointers; don't emit final compare but modify some of
21672         the values pointed to by the args so the caller can perform the
21673         correct comparison.
21674         (expand_binop): Call emit_store_flag_force with signed forms of
21675         comparison code.
21676         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
21677         emit_jump_insn pair.
21678         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
21679         emit_cmp_and_jump_insn_1.  Call emit_queue.
21680         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
21681         arg.
21682         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
21683         jump sets cc0 before deleting it.
21684         * integrate.c (expand_inline_function): Likewise.
21685         * unroll.c (unroll_loop): Similar changes in several places.
21686         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
21687         before deleting it.
21688
21689 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21690
21691         * Makefile.in (insn-recog.o): Update dependencies.
21692         * genrecog.c (main): Make generated file include "function.h".
21693
21694 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
21695
21696         * cse.c (cse_insn): Call never_reached_warning when a jump is
21697         changed to be unconditional.
21698         * flags.h: Declare warn_notreached.
21699         * flow.c (delete_block): Call never_reached_warning when
21700         a block is deleted.
21701         * jump.c (delete_barrier_successors): Call never_reached_warning
21702         when we delete everything after a BARRIER.
21703         (never_reached_warning): New function.
21704         * rtl.h: Declare never_reached_warning.
21705         * toplev.c (warn_notreached): New variable.
21706         (lang_independent_options): Set warn_notreached
21707         when -Wunreachable-code.
21708         (compile_file): We need line numbers for -Wunreachable-code.
21709
21710 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
21711
21712         * haifa-sched.c (insn_unit): Fix typo on out of range test.
21713         * sched.c (insn_unit): Likewise.
21714
21715 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
21716
21717         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
21718
21719 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21720
21721         * flow.c (create_edge_list): Use xmalloc, not malloc.
21722
21723 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
21724
21725         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
21726         C-style comments.  Do not lose the character before double slash.
21727
21728 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21729
21730         * basic-block.h (struct edge_list): Stucture to maintain a vector
21731         of edges.
21732         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
21733          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
21734         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
21735         New function prototypes.
21736         * flow.c (create_edge_list): Function to create an edge list.
21737         (free_edge_list): Discards memory used by an edge list.
21738         (print_edge_list): Debug output showing an edge list.
21739         (verify_edge_list): Internal consistency check for an edge list.
21740         (find_edge_index): Function to find an edge index for a pred and succ.
21741
21742 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
21743
21744         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
21745         hashtable.
21746
21747 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
21748
21749         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
21750
21751 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
21752
21753         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21754
21755 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
21756
21757         * toplev.c (rest_of_compilation): Allow machine dependent
21758         reorganisation pass to place information into the RTL dump
21759         file if it so wishes.
21760
21761 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
21762
21763         * explow.c (hard_function_value): Use VOIDmode instead of
21764         MAX_MACHINE_MODE.
21765         * stmt.c (expand_return): Likewise.
21766         * stor-layout.c (get_best_mode): Likewise.
21767
21768         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
21769         emit call instead of emit_insn call.
21770
21771 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21772
21773         * configure.in: Handle --disable/enable-win32-registry.
21774         * install.texi: Document --disable/enable-win32-registry.
21775         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
21776         (WIN32_REGISTRY_KEY): New macro.
21777         * prefix.c: Use to enable/disable win32-specific code.
21778         (lookup_key): Use versioned key.
21779         * configure: Regenerate.
21780         * config.in: Likewise.
21781
21782 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
21783
21784         * cpplib.c (read_line_number): New fn, split out of...
21785         (do_line): Here.
21786
21787 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21788
21789         tree.c (lang_unsave_expr_now) : New.
21790         (unsave_expr_now): Call lang_unsave_expr_now.
21791         tree.h (lang_unsave_expr_now) : New.
21792
21793 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
21794
21795         * toplev.c (flag_new_exceptions): On by default.
21796
21797 1999-08-13  Michael Meissner  <meissner@cygnus.com>
21798
21799         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
21800
21801 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21802
21803         * dwarfout.c (fundamental_type_code): Return FT_boolean for
21804         INTEGER_TYPE with precision==1, it's __java_boolean.
21805
21806 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21807
21808         * global.c (prune_preferences): Move some invariants out of the
21809         inner loop.
21810
21811 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
21812
21813         * configure.in (alpha*-dec-osf*): Add osf5.
21814
21815 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
21816
21817         * configure.in: Rework handling of ARM GNU/Linux slightly.
21818         (arm*-*-linux-gnuoldld): New target.
21819         * configure: Regenerate.
21820         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
21821         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
21822         * config/arm/linux-oldld.h: New file.
21823         * config/arm/linux-elf26.h: Don't include linux-elf.h.
21824         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
21825         Don't define.
21826         * config/arm/linux-elf.h (ASM_SPEC): Define.
21827         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
21828         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
21829         for 26-bit APCS and old linker.
21830         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
21831         `arm_elf'.
21832         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
21833         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
21834         don't define `arm' or `arm_elf'.
21835         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
21836         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
21837
21838 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
21839
21840         * rtl.texi: Fix typo.
21841
21842 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
21843
21844         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
21845
21846 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
21847
21848         * extend.texi (C++ Signatures): Remove node.
21849         * invoke.texi: Remove discussion of -fhandle-signatures,
21850         signature, sigof, __signature__, and __sigof__.
21851
21852 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
21853
21854         * Makefile.in (JAVAGC): Removed.
21855
21856 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21857
21858         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21859
21860 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
21861
21862         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21863
21864 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
21865
21866         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
21867         a register that is already known to be a pointer.
21868
21869 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
21870
21871         * fixinc/inclhack.tpl: Only install assert.h conditionally.
21872         * fixinc/inclhack.sh: Regenerated.
21873         * fixinc/fixincl.sh: Regenerated.
21874
21875 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
21876
21877         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
21878         Fix documentation of -ansi flag to describe its C++ behavior.
21879         Remove bogus reference to GCC 2.9.
21880
21881 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
21882
21883         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
21884         note if it is non-NULL.
21885
21886 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21887
21888         * except.h (eh_nesting_info): Add new structure defintion.
21889         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
21890         (reachable_handlers, update_rethrow_references): Add function
21891         prototypes.
21892         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
21893         a rethrow symbol instead of an integer exception region number.
21894         * flow.c (Make_edges): Use new exception nesting routines to determine
21895         which handlers are reachable from a CALL or asynchronous insn.
21896         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
21897         goto receivers.
21898         (delete_eh_regions): Update rethrow labels, and don't delete
21899         regions which are the target of a rethrow.
21900         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
21901         avoid overloading the SYMBOL_REF_USED flag.
21902         (rethrow_symbol_map): Use new rethrow_ref field.
21903         (rethrow_used): Use new rethrow_ref field.
21904         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
21905         of an integer.  Fix formatting.
21906         (output_exception_table_entry): Use new rethrow_ref field.
21907         (can_throw): Check for EH_REGION_NOTE before deciding
21908         whether a CALL can throw or not.
21909         (scan_region): Call rethrow_used() instead of accessing data structure.
21910         (update_rethrow_references): New function to make sure only regions
21911         which are still targets of a rethrow are flagged as such.
21912         (process_nestinfo): New static function to initialize a handler
21913         list for a specific region.
21914         (init_eh_nesting_info): New function to allocate and initialize
21915         the list of all EH handlers reachable from all regions.
21916         (reachable_handlers): New function to retrieve the list of handlers
21917         reachable from a specific region and insn.
21918         (free_eh_nesting_info): New function to dispose of a list of
21919         reachable handlers.
21920
21921 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21922
21923         * flow.c (split_edge): Set JUMP_LABEL field.
21924         (commit_one_edge_insertion): Set head correctly for insert_before.
21925         When inserting insns, update insn block numbers if allocated.
21926
21927 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21928
21929         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
21930         retry_incomplete_types): Add static prototype.
21931         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
21932         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
21933         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
21934         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
21935         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
21936         Constify a char*.
21937
21938         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
21939         dwarf2out_start_source_file, dwarf2out_line): Likewise.
21940
21941 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21942
21943         * output.h (assemble_name): Constify a char*.
21944
21945         * varasm.c (UNIQUE_SECTION, assemble_start_function,
21946         assemble_variable, assemble_name): Likewise.
21947
21948         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
21949
21950         * arm/pe.c (arm_pe_unique_section): Likewise.
21951
21952         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
21953
21954         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
21955
21956         * i386/interix.c (i386_pe_unique_section): Likewise.
21957
21958         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
21959
21960         * i386/winnt.c (i386_pe_unique_section): Likewise.
21961
21962         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
21963
21964         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
21965
21966         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
21967
21968         * pa/pa.c (output_call): Likewise.
21969
21970         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
21971
21972         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
21973
21974         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
21975         Likewise.
21976
21977         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
21978         Likewise.
21979
21980         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
21981
21982         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
21983         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
21984
21985         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
21986
21987 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21988
21989         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
21990
21991 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21992
21993         * tree.h (lang_identify): Constify a char*.
21994         (print_error_function): Add extern prototype.  Constify a char*.
21995
21996         * c-lang.c (lang_identify): Constify a char*.
21997
21998         * objc/objc-act.c (lang_identify): Constify a char*.
21999
22000 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22001
22002         * genpeep.c (main): Make generated file include "function.h".
22003         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
22004
22005 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22006
22007         * Makefile.in: Update dependencies.
22008         * alias.c: Include "function.h"
22009         * c-decl.c: Likewise.
22010         * caller-save.c: Likewise.
22011         * calls.c: Likewise.
22012         * combine.c: Likewise.
22013         * cse.c: Likewise.
22014         * explow.c: Likewise.
22015         * final.c: Likewise.
22016         * global.c: Likewise.
22017         * graph.c: Likewise.
22018         * local-alloc.c: Likewise.
22019         * loop.c: Likewise.
22020         * optabs.c: Likewise.
22021         * profile.c: Likewise.
22022         * recog.c: Likewise.
22023         * regclass.c: Likewise.
22024         * regmove.c: Likewise.
22025         * reload.c: Likewise.
22026         * reorg.c: Likewise.
22027         * resource.c: Likewise.
22028         * sched.c: Likewise.
22029         * stupid.c: Likewise.
22030         * config/1750a/1750a.c: Likewise.
22031         * config/a29k/a29k.c: Likewise.
22032         * config/arc/arc.c: Likewise.
22033         * config/arm/arm.c: Likewise.
22034         * config/arm/thumb.c: Likewise.
22035         * config/c4x/c4x.c: Likewise.
22036         * config/clipper/clipper.c: Likewise.
22037         * config/convex/convex.c: Likewise.
22038         * config/fx80/fx80.c: Likewise.
22039         * config/i860/i860.c: Likewise.
22040         * config/m68k/m68k.c: Likewise.
22041         * config/m88k/m88k.c: Likewise.
22042         * config/mips/mips.c: Likewise.
22043         * config/pdp11/pdp11.c: Likewise.
22044         * config/pyr/pyr.c: Likewise.
22045         * config/romp/romp.c: Likewise.
22046         * config/sh/sh.c: Likewise.
22047         * config/tahoe/tahoe.c: Likewise.
22048         * config/vax/vax.c: Likewise.
22049         * config/we32k/we32k.c: Likewise.
22050         * config/sparc/sparc.c: Include "function.h".
22051         (mem_min_alignment): Test current_function rather than
22052         regno_pointer_align.
22053         * config/pa/pa.c: Likewise.
22054         (compute_frame_size): Delete declaration of
22055         current_function_outgoing_args_size.
22056         * config/arc/arc.h (current_function_varargs): Delete declaration.
22057         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
22058         declaration.
22059         * config/i370/i370.h (current_function_outgoing_args_size): Delete
22060         declaration.
22061         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
22062         current_function_uses_pic_offset_table.
22063         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
22064         of current_function_returns_pointer.
22065         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22066         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22067         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22068         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22069         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22070         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22071         * config/m88k/m88k.c: Include "function.h"
22072         (call_used_regs, current_function_pretend_args_size,
22073         current_function_outgoing_args_size, frame_pointer_needed): Delete
22074         declarations.
22075         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
22076         declaration.
22077         * config/mips/mips.h (current_function_calls_alloca): Delete
22078         declaration.
22079         * config/mn10200/mn10200.h (current_function_needs_context,
22080         rtx_equal_function_value_matters): Delete declarations.
22081         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
22082         flag_pic): Delete declarations.
22083         * config/pa/pa.h (current_function_pretend_args_size,
22084         current_function_decl): Delete declarations.
22085         * config/pa/som.h (current_function_varargs): Delete declaration.
22086         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
22087         declaration.
22088         * config/pyr/pyr.h (current_function_pretend_args_size,
22089         current_function_args_size, current_function_calls_alloca): Delete
22090         declarations.
22091         * config/sh/sh.h (current_function_varargs): Delete declaration.
22092         * config/sparc/sparc.h (current_function_outgoing_args_size,
22093         current_function_calls_alloca, current_function_decl): Delete
22094         declarations.
22095         * config/spur/spur.h (current_function_pretend_args_size,
22096         current_function_calls_alloca): Delete declarations.
22097         * config/v850/v850.c (current_function_outgoing_args_size): Delete
22098         declaration.
22099         * config/vax/vms.h (current_function_name): Delete declaration.
22100         * gcse.c: Include "function.h".
22101         (current_function_name, current_function_calls_setjmp): Delete
22102         declarations.
22103         * haifa-sched.c: Include "function.h".
22104         (forced_labels): Delete declaration.
22105         * jump.c: Likewise.
22106         * reg-stack.c: Likewise.
22107         * reload1.c: Likewise.
22108         * genemit.c (main): Make generated file include function.h.
22109         * genoutput.c (output_prologue): Likewise.
22110
22111         * builtins.c (saveregs_value, apply_args_value): Delete variables.
22112         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
22113         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
22114         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
22115         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
22116         macros for some of them.
22117         (emit_filename, emit_lineno): Delete declarations.
22118         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
22119         regno_pointer_* variables through current_function.
22120         (gen_inline_header_rtx): Delete function.
22121         (save_emit_status): Delete function.
22122         (set_new_last_label_num): New function.
22123         (clear_emit_caches): New function.
22124         (restore_emit_status): Just clear last_labelnum and call
22125         clear_emit_caches.
22126         (get_last_insn_anywhere): Variable sequence_stack is now accessed
22127         through macro seq_stack.
22128         (add_insn_after): Likewise.
22129         (add_insn_before): Likewise.
22130         (remove_insn): Likewise.
22131         (pop_topmost_sequence): Likewise.
22132         (in_sequence_p): Likewise.
22133         (start_sequence_for_rtl_expr): Likewise.
22134         (start_sequence): Likewise, and likewise for
22135         sequence_rtl_expr/seq_rtl_expr.
22136         (push_topmost_sequence): Likewise.
22137         (end_sequence): Likewise.
22138         (init_virtual_regs): Now takes a "struct emit_status *" argument.
22139         All callers changed.  Store into that pointer instead of globals.
22140         (init_emit): Allocate emit elt of current_function.
22141         Changes for sequence_rtl_expr/sequence_stack renaming.
22142         Call clear_emit_caches instead of doing it in-line.
22143         Access regno_pointer_* variables through current_function.
22144         (init_emit_once) Don't clear sequence_stack.
22145
22146         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
22147         Delete variables.
22148         (arg_pointer_save_area): Delete declaration.
22149         (finish_expr_for_function): Renamed from init_queue; no longer static.
22150         (init_expr): Don't call init_queue.
22151         (save_expr_status, restore_expr_status): Delete functions.
22152         (expand_expr): Changes to reflect new layout of struct function.
22153         Don't access current_function_check_memory_usage when current_function
22154         is 0.
22155         * expr.h (forced_labels, save_expr_regs, saveregs_value,
22156         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
22157         current_function_outgoing_args_size, current_function_arg_offset_rtx,
22158         current_function_uses_const_pool, function_call_count,
22159         current_function_uses_pic_offset_table, nonlocal_labels,
22160         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
22161         current_function_check_memory_usage, nonlocal_goto_handler_slots,
22162         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
22163         declarations.
22164         (finish_expr_for_function): Declare.
22165         * flags.h (current_function_has_nonlocal_label,
22166         current_function_has_nonlocal_goto, current_function_is_thunk,
22167         current_function_has_computed_jump): Delete declarations.
22168         * flow.c (forced_labels): Delete declaration.
22169         * function.c (current_function_pops_args,
22170         current_function_returns_struct, current_function_returns_pcc_struct,
22171         current_function_needs_context, current_function_calls_setjmp,
22172         current_function_calls_longjmp, current_function_has_nonlocal_label,
22173         current_function_has_nonlocal_goto, current_function_is_thunk,
22174         current_function_has_computed_jump, current_function_calls_alloca,
22175         current_function_contains_functions, current_function_returns_pointer,
22176         current_function_epilogue_delay_list, current_function_args_size,
22177         current_function_pretend_args_size, current_function_arg_offset_rtx,
22178         current_function_outgoing_args_size, current_function_varargs,
22179         current_function_stdarg, current_function_args_info, cleanup_label,
22180         current_function_name, current_function_uses_const_pool,
22181         current_function_instrument_entry_exit, current_function_return_rtx,
22182         current_function_uses_pic_offset_table, nonlocal_labels,
22183         current_function_internal_arg_pointer, current_function_cannot_inline,
22184         current_function_check_memory_usage, function_call_count,
22185         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
22186         nonlocal_goto_stack_level, return_label, save_expr_regs,
22187         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
22188         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
22189         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
22190         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
22191         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
22192         Delete variables.
22193         (push_function_context_to): Don't save them.  Don't call
22194         save_storage_status, save_emit_status or save_expr_status.
22195         (pop_function_context_from): Don't restore them.  Don't call
22196         restore_storage_status or restore_expr_status.
22197         (get_func_frame_size): New function.
22198         (get_frame_size): Use it.
22199         (assign_outer_stack_local): Reflect some member name changes in struct
22200         function.
22201         (put_reg_into_stack): Likewise.
22202         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
22203         seq_rtl_expr.
22204         (fixup_var_refs): Likewise.
22205         (fix_lexical_addr): Likewise.
22206         (trampoline_address): Likewise.
22207         (prepare_function_start): Clear field inlinable of current_function.
22208         (init_function_for_compilation): New function.
22209         (expand_dummy_function_end): New function.
22210         (expand_function_end): Call finish_expr_for_function.
22211         * function.h (struct emit_status): New; fields moved here from struct
22212         function and from global variables.  Add accessor macros for some of
22213         the fields.
22214         (struct expr_status): Likewise.
22215         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
22216         (struct function): Add fields expr and emit, inlinable, inl_emit,
22217         original_arg_vector, original_decl_initial, inl_last_parm_insn,
22218         inl_max_label_num.  Add many comments.
22219         Add accessor macros for all elts of struct function that no longer
22220         have a global variable.
22221         (cleanup_label, return_label, frame_offset, tail_recursion_label,
22222         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
22223         stack_slot_list): Delete declarations.
22224         (get_func_frame_size): Declare.
22225         (save_expr_status, restore_expr_status, save_emit_status,
22226         save_storage_status, restore_storage_status): Delete declarations.
22227         (init_virtual_regs): Declare.
22228         * output.h (current_function_pops_args,
22229         current_function_returns_struct, current_function_returns_pcc_struct,
22230         current_function_needs_context, current_function_calls_setjmp,
22231         current_function_calls_longjmp, current_function_calls_alloca,
22232         current_function_has_nonlocal_label, current_function_varargs,
22233         current_function_has_computed_jump, current_function_returns_pointer,
22234         current_function_contains_functions, current_function_args_size,
22235         current_function_pretend_args_size, current_function_stdarg,
22236         current_function_outgoing_args_size, current_function_args_info,
22237         current_function_name, current_function_return_rtx,
22238         current_function_epilogue_delay_list,
22239         current_function_uses_const_pool, current_function_cannot_inline):
22240         Delete declarations.
22241         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
22242         regno_reg_rtx): Delete declaration.
22243         (REGNO_POINTER_FLAG): Delete macro.
22244         * stmt.c (expand_goto): Changes to reflect that some fields in struct
22245         function were renamed.
22246         * stor-layout.c (save_storage_status, restore_storage_status): Delete
22247         functions.
22248         * toplev.c: Include "function.h".
22249         (current_function_decl): Delete declaration.
22250         (compile_file): Call init_dummy_function_start and
22251         expand_dummy_function_end around some initializations that need to
22252         emit rtl.
22253         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
22254         Call init_function_for_compilation.
22255         * unroll.c: Include "function.h"
22256         (unroll_loop): Access regno_pointer_* variables through
22257         current_function.
22258
22259         * tree.h (struct tree_decl): Add elt f to saved_insns member.
22260         (DECL_SAVED_INSNS): use it.
22261         (expand_dummy_function_end): Declare.
22262         (init_function_for_compilation): Declare.
22263         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
22264         that it's no longer an INLINE_HEADER.
22265         (expand_call): Likewise.
22266         * integrate.c (finish_inline): Delete function.
22267         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
22268         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
22269         args.  Don't generate an INLINE_HEADER rtx, just return the arg
22270         vector.  All callers changed.
22271         (save_for_inline_copying):  Create a duplicate struct emit_status to
22272         hold the emit state for compiling the current function.  Use this and
22273         the other new fields in struct function that are for integration
22274         instead of an INLINE_HEADER.
22275         Use memcpy instead of bcopy.
22276         Store the current struct function in DECL_SAVED_INSNS of fndecl.
22277         (save_for_inline_nocopy): Similar changes, except no new emit_status
22278         is needed here.
22279         (expand_inline_function): Get information from function structure,
22280         not from an inline header rtx.
22281         (output_inline_function): Lose code to extract the necessary
22282         information from an inline header; simply put back the function
22283         structure into current_function.  Clear its inlinable elt.
22284         * rtl.def (INLINE_HEADER): Delete.
22285         * rtl.h: Delete all accessors for an INLINE_HEADER.
22286         (gen_inline_header_rtx): Delete declaration.
22287         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
22288         Delete declarations.
22289         (REGNO_POINTER_ALIGN): Delete.
22290         (clear_emit_caches): Declare.
22291         (set_new_last_label_num): Declare.
22292
22293 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
22294
22295         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
22296
22297         * except.c (expand_eh_region_start_for_decl): Always start a new block.
22298         * stmt.c (is_eh_region): Make sure current_function is present, too.
22299
22300 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
22301
22302         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
22303         for 64bit PA targets.
22304
22305         * pa.h (SELECT_SECTION): Define.
22306         * som.h (SELECT_SECTION): Delete.
22307
22308 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22309
22310         * alias.c (init_alias_analysis): Wrap call to
22311         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
22312
22313 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
22314
22315         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
22316         <sys/asm.h> contains an asm comment with an apostrophe
22317         * fixinc/inclhack.sh:  regen
22318         * fixinc/fixincl.x:  regen
22319
22320 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
22321
22322         * function.c (init_function_start): Clear prologue & epilogue.
22323         (prologue_epilogue_contains): New function.
22324         * alias.c (init_alias_analysis): Use it.
22325         * rtl.h (prologue_epilogue_contains): Declare it.
22326
22327 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
22328
22329         * jump.c (onlyjump_p): New function.
22330         * rtl.h: Declare it.
22331         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
22332         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
22333
22334 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
22335
22336         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
22337         to invert loops.  Simplify block scanning.
22338
22339 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
22340
22341         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
22342         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
22343
22344 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
22345
22346         * config/sparc/liteelf.h: New file to support sparclite-elf target
22347         * config/sparc/t-sp86x: New file to support sparc86x targets
22348         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
22349         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
22350         * configure.in: Support above target triplets
22351         * configure: Regenerated
22352
22353 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
22354
22355         * fixinc/server.c (server_setup): Do not prefix function used as
22356         parameter with `&'.
22357
22358 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
22359
22360         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
22361         Remove fp reg alternatives.
22362
22363 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
22364
22365         * Makefiin (TAROUTOPTS): Kill.
22366         (install-headers-tar): Use "xpf" for tar headerfile extraction
22367         * i370/x-oe (TAROUTOPTS): Delete.
22368         * m68k/x-apollo68 (TAROUTOPTS): Delete.
22369         * m68k/x-hp320 (TAROUTOPTS): Delete.
22370         * m68k/x-hp320g (TAROUTOPTS): Delete.
22371         * gcc.texi: Update bug reporting text.
22372
22373 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
22374
22375         * reg-stack.c (change_stack) Fixed problem with negative array index.
22376
22377 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
22378
22379         * extend.texi, install.texi: Fix spelling mistakes.
22380
22381         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
22382         (s-attrtab); No longer try to use pre-made insn-attrtab file.
22383         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
22384         PREMADE_ATTRTAB_MD.
22385         * mips/t-ecoff: Likewise.
22386         * mips/t-elf: Likewise.
22387         * mips/t-mips: Likewise.
22388         * mips/t-osfrose: Likewise.
22389         * mips/t-r3900: Likewise.
22390         * mips/t-svr3: Likewise.
22391         * mips/t-svr4: Likewise.
22392         * mips/t-ultrix: Likewise.
22393
22394         * gcc.texi: Document recommend means to provide software floating
22395         point libraries in libgcc.a
22396
22397 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
22398
22399         * c-lex.c (yylex): We can have a number with no digits.
22400
22401 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
22402
22403         * jump.c (delete_prior_computation): New function, broken
22404         out of delete_computation.  Check for side effects with
22405         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
22406         multi-word hard registers.
22407         (delete_computation): Use it.  Check for side effects with
22408         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
22409         missing REG_DEAD note for a register which is both set and
22410         used by an insn.
22411
22412 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
22413
22414         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
22415         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
22416         (ASM_FILE_START): Import _mcount with the right type.
22417         (ASM_DECLARE_FUNCTION_NAME): Define.
22418         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
22419         * pa.c (output_function_prologue): Always emit the function's label
22420         here.
22421         * pa.h (TEXT_SPACE_P): Define.
22422         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
22423         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
22424         * som.h (TEXT_SPACE_P): Delete.
22425         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
22426         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
22427
22428 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
22429
22430         * expr.c (emit_group_load): Allow src to be a CONCAT.
22431
22432 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22433
22434         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
22435         (___mulsi3): Use '!' comment character.
22436
22437 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22438
22439         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
22440
22441 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
22442
22443         * gcc.c: Update URLs and mail addresses.
22444         * gcc.texi: Likewise.
22445
22446 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
22447
22448         * rs6000.c (current_file_function_operand): Return zero for
22449         weak functions.
22450         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
22451         weak symbols.
22452         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
22453         for weak symbols.
22454
22455 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
22456
22457         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
22458         allocate space in the stack frame for the PIC register.
22459
22460 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
22461
22462         * m68k.md (xordi3, anddi3): These patterns are not available on
22463         the coldfire.
22464
22465 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
22466
22467         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
22468         (PUT_REAL): Likewise.
22469
22470 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22471
22472         * final.c (shorten_branches): Don't add an alignment for loops
22473         that have no label inside.
22474
22475 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22476
22477         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
22478         prototypes in macro HAVE_cmpstrsi.
22479
22480         * cpplib.c (cpp_get_token): Remove unused label `op3'.
22481
22482         * emit-rtl.c (operand_subword): Remove unused variable
22483         `bits_per_word'.
22484
22485         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
22486
22487         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
22488
22489 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
22490
22491         * cpphash.c (macroexpand): Delete leading whitespace when arg
22492         is concatenated before.
22493         (unsafe_chars): Correct test for whether + and - can extend a
22494         token.
22495
22496         * cppinit.c (cpp_start_read): Do dependencies for
22497         -include/-imacros files also.
22498
22499         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
22500         tokenizing non-directive lines.
22501         (cpp_expand_to_buffer): Temporarily disable no-output mode.
22502         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
22503         the input file.
22504
22505 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
22506
22507         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
22508
22509         * c-lex.c: Sync with C++ frontend.
22510         (linemode): New variable.
22511         (parse_float): imag, conversion_errno, and type are output only.
22512         (yylex): Adjust.  Move initial '.' case into main switch.
22513         Use linemode.
22514         (handle_generic_pragma): Just deal with tokens.
22515         (readescape): Use ISXDIGIT and ISGRAPH.
22516         * c-parse.in: Add END_OF_LINE token.
22517
22518         * c-lex.c (lang_init): Generalize.
22519         (nextchar): Remove.  Replace uses with UNGETC.
22520         (skip_white_space): Handle linemode here.  Optimize for cpplib.
22521         (skip_white_space_on_line): Remove.
22522         (extend_token_buffer_to): New fn.
22523         (extend_token_buffer): Use it.
22524         (read_line_number, check_newline): Just deal with tokens.
22525         (token_getch, token_put_back): New fns.
22526         (yylex): Use them.  More cpplib optimizations.  Simplify.
22527
22528 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
22529                           Jason Merrill  <jason@yorick.cygnus.com>
22530
22531         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
22532         (consume_string): Make this smart about USE_CPPLIB.
22533         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
22534         (yylex): Rewrite to be intelligent about USE_CPPLIB.
22535         Also, clean up cases where we redundantly set token_buffer[0].
22536         (read_line_number): New fn.
22537         (ignore_escape_flag): New variable.
22538
22539 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
22540
22541         * a29k/t-a29kbare: Fix some comments.
22542         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
22543         (FPBIT, DPBIT): Define.
22544         * a29k/t-vx29k: Likewise.
22545         * arc/t-arc: Likewise.
22546         * arm/t-arm-elf: Likewise.
22547         * arm/t-bare: Likewise.
22548         * arm/t-pe: Likewise.
22549         * arm/t-pe-thumb: Likewise.
22550         * arm/t-semi: Likewise.
22551         * arm/t-thumb: Likewise.
22552         * arm/t-thumb-elf: Likewise.
22553         * arm/t-thumb-linux: Likewise.
22554         * h8300/t-h8300: Likewise.
22555         * i960/t-i960: Likewise.
22556         * i960/t-vxworks960: Likewise.
22557         * m32r/t-m32r: Likewise.
22558         * mips/t-ecoff: Likewise.
22559         * mips/t-elf: Likewise.
22560         * mips/t-r3900: Likewise.
22561         * pa/t-pro: Likewise.
22562         * rs6000/t-aix43: Likewise.
22563         * rs6000/t-beos: Likewise.
22564         * rs6000/t-newas: Likewise.
22565         * rs6000/t-ppccomm: Likewise.
22566         * rs6000/t-rs6000: Likewise.
22567         * rs6000/t-winnt: Likewise.
22568         * rs6000/t-xnewas: Likewise.
22569         * rs6000/t-xrs6000: Likewise.
22570         * sh/t-sh: Likewise.
22571         * sparc/t-elf: Likewise.
22572         * sparc/t-sparcbare: Likewise.
22573         * sparc/t-sparclite: Likewise.
22574         * sparc/t-splet: Likewise.
22575         * v850/t-v850: Likewise.
22576         * mn10200/t-mn10200: Fix comments.
22577         * mn10300/t-mn10300: Likewise.
22578
22579         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
22580         dummy operand.  Allocate a new pseudo for the dummy operand.
22581         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
22582
22583         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
22584
22585 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
22586
22587         * configure: Rebuilt.
22588         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
22589
22590 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
22591
22592         * recog.c (preproces_constraints): Zero recog_op_alt before
22593         processing the constraints.
22594
22595         * arm.c (typedef minipool_node): Renamed from pool_node.
22596         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
22597         (add_minipool_constant): New function.
22598         (dump_minipool): New function.
22599         (find_barrier): Remove special case for getting the insn size of
22600         an insn that references the constant pool.
22601         (minipool_fixup): New structure.
22602         (push_minipool_barrier): New function.
22603         (push_minipool_fix): New function.
22604         (note_invalid_constants): New function.
22605         (add_pool_constant, dump_table, fixit, broken_move): Delete.
22606         (arm_reorg): Rewrite code to fix up the constant pool into a
22607         series of mini-pools embedded in the insn stream.
22608         (arm_output_epilogue): New function, made mainly from the body
22609         of output_func_epilogue.
22610         (output_func_epilogue): Move insn generation part of epilogue code
22611         to arm_output_epilogue.
22612         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
22613         * arm.md (pool_range): New attribute.
22614         (zero_extendqidi2): Add attribute pool_range.
22615         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
22616         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
22617         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
22618         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
22619         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
22620         (epilogue): New expand.
22621         (epilogue_insn): New insn.  Call arm_output_epilogue.
22622
22623         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
22624         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
22625
22626 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
22627
22628         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
22629
22630 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
22631
22632         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
22633
22634 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
22635
22636         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
22637
22638 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
22639
22640         * global.c: Fix comment.
22641
22642 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
22643
22644         * gcc.c (access_check): New static function.
22645         (find_a_file): Use it when searching a directory list.
22646         * collect2.c (find_a_file): Don't accept directories found when
22647         searching a directory list.
22648
22649 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
22650
22651         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
22652         function parameters with `&'.
22653         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
22654
22655 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
22656
22657         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
22658         or tidy_fallthru_edge if the last insn in the block is not
22659         an unconditional jump or a simple conditional jump.
22660
22661 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22662
22663         * Makefile.in (c-decl.o): Depends on defaults.h.
22664
22665 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
22666
22667         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
22668         PA1.1 and above.
22669         (CLASS_MAX_NREGS): Likewise.
22670
22671 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
22672
22673         * cse.c (cse_insn): Fix dumb thinko in last change.
22674
22675 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22676
22677         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
22678         "const char *".
22679
22680 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
22681
22682         * dwarf2out.c (add_location_or_const_value_attribute): Correct
22683         test for sizes of passed and declared parameter types.
22684
22685 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22686
22687         * fixincludes: Fix the return type of bsearch, char* -> void*.
22688
22689         * fixinc/inclhack.def: Likewise.
22690
22691 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
22692
22693         * invoke.texi (-fdump-translation-unit): New option.
22694
22695 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
22696
22697         * expr.h (PROMOTE_PROTOTYPES): Move ...
22698         * defaults.h: ... to here.
22699         * c-decl.c: Include defaults.h instead of expr.h.
22700         * c-typeck.c: Include defaults.h.
22701
22702 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
22703
22704         * toplev.h (errorcount): Declare.
22705         (warningcount): Likewise.
22706         (sorrycount): Likewise.
22707         * c-lex.c (errorcount): Don't declare.
22708         * dwarf2out.c (errorcount): Don't declare.
22709
22710 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
22711
22712         * config/libgloss.h: Add a note discouraging use with ELF.
22713         * configure.in: Don't use libgloss.h for ELF targets.
22714         Always use_collect2 on a.out targets.
22715
22716 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
22717
22718         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
22719         (force_to_mode, case ASHIFTRT): Add shiftrt label.
22720
22721 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22722
22723         * loop.c (strength_reduce): When doing biv->giv conversion, update
22724         reg note of NEXT->insn.
22725
22726 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22727
22728         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
22729
22730 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22731
22732         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
22733         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
22734         Ensure expr.h is included.
22735         * c-typecheck.c (convert_arguments): Ditto.
22736
22737         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
22738
22739         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
22740         * config/convex/convex.h: Ditto.
22741         * config/dsp16xx/dsp16xx.h: Ditto.
22742         * config/fx80/fx80.h: Ditto.
22743         * config/gmicro/gmicro.h: Ditto.
22744         * config/i370/i370.h: Ditto.
22745         * config/i386/i386.h: Ditto.
22746         * config/m32r/m32r.h: Ditto.
22747         * config/m68k/m68k.h: Ditto.
22748         * config/m88k/m88k.h: Ditto.
22749         * config/mips/mips.h: Ditto.
22750         * config/pa/pa.h: Ditto.
22751         * config/pyr/pyr.h: Ditto.
22752         * config/tahoe/tahoe.h: Ditto.
22753         * config/we32k/we32k.h: Ditto.
22754
22755         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
22756         based on arch size.
22757
22758         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
22759
22760         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
22761         from comment.
22762
22763         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
22764
22765 1999-08-02  Richard Henderson  <rth@cygnus.com>
22766
22767         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
22768         for the register spill block.
22769         (m32r_va_arg): New.
22770         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
22771         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
22772
22773         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
22774         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
22775         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
22776
22777 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22778
22779         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
22780         MAX_WCHAR_TYPE defined in sparc.h.
22781         * config/sparc/linuxaout.h: Likewise.
22782         * config/sparc/linux64.h: Likewise.
22783         Also default to -mvis if CPU is UltraSPARC.
22784
22785 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22786
22787         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
22788         (RTX_OK_FOR_OLO10): Likewise.
22789         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
22790         %lo(), allow it in addresses...
22791         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
22792         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
22793         does not make sense.
22794         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
22795         (sparc_output_scratch_registers): New function.
22796         (output_function_prologue, sparc_flat_output_function_prologue): Use
22797         it.
22798         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
22799         defined.
22800         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
22801         * configure.in: Add check for .register pseudo-op support in as and
22802         check for offsetable %lo().
22803         * acconfig.h: Add templates for the above checks.
22804         * configure: Regenerate.
22805
22806 1999-08-02  Richard Henderson  <rth@cygnus.com>
22807
22808         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
22809         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
22810         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
22811
22812 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22813
22814         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22815         reg_biv_class.
22816
22817 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22818
22819         * config/float-sparc.h: New file.
22820         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
22821         sparc-*-linux-gnu and sparc64-*-linux*.
22822
22823 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22824
22825         * rs6000.c (rs6000_va_list): Type is an array.
22826         (rs6000_va_start): Don't doubly adjust for varargs.
22827         (rs6000_va_arg): Evaluate long long GPR adjustment.
22828
22829 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
22830
22831         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
22832         -maix64 and -maix32.
22833         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
22834         LINK_SPEC): Change appropriately.
22835         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
22836         (u_short_cint_operand): Likewise.
22837         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
22838         for 64-bit hosts.
22839         * rs6000/t-aix43 (MULTILIB): Change to -m64.
22840
22841         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
22842
22843 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
22844
22845         * rs6000/rs6000.c (num_insns_constant_wide): Correct
22846         for type promotion.
22847         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
22848         (non_add_cint_operand): Likewise.
22849         (logical_operand): Likewise.
22850         (non_logical_cint_operand): Likewise.
22851         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
22852         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
22853         (rs6000_select_rtx_section): Suppress warning.
22854         (small_data_operand): Suppress warning.
22855         (rs6000_got_register): Suppress warning.
22856         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
22857         type, so `J' is generally the wrong constraint for a SImode value;
22858         use `L' instead.
22859         (andsi3_internal2): Likewise.
22860         (andsi3_internal3): Likewise.
22861         (iorsi3_internal1): Likewise.
22862         (xorsi3_internal1): Likewise.
22863         (movsi): Likewise.
22864         (movsf_softfloat): Likewise.
22865         (scc insns): Likewise.
22866         (movsi+2): Preserve sign bits of SImode constant.
22867         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
22868         (movdf+1): Sign-extend properly.
22869         (movdi_32+1): Sign-extend properly.
22870         (scc insns): Sign-extend properly.
22871
22872         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
22873         K, L, and T.
22874
22875 1999-08-02  Richard Henderson  <rth@cygnus.com>
22876
22877         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
22878         -mcpu parsing code.
22879         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
22880         * alpha.md (all fp insns): Likewise.
22881
22882 1999-08-02  Nick Clifton  <nickc@cygnus.com>
22883
22884         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
22885         already defined.
22886
22887 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
22888
22889         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
22890         pic_load_label generator directly.
22891         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
22892         No longer a named pattern.
22893
22894 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
22895
22896         * explow.c (force_reg): Call force_operand if X does not
22897         satisfy general_operand.
22898
22899 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
22900
22901         * fix-header.c (main): When testing for CONTINUED, use string
22902         equality, not pointer equality.
22903
22904 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
22905
22906         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
22907
22908 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
22909
22910         * cse.c (cse_insn): Fix loop which deletes insns after a jump
22911         that has become an unconditional jump.
22912
22913         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
22914         (output_function_epilogue): Similarly.
22915
22916 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22917
22918         * tree.h (init_dummy_function_start): Declare.
22919
22920 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22921
22922         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
22923         last_expr_type, last_expr_value, block_start_count, block_stack,
22924         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
22925         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
22926         dynamically in stmt elt of struct function for each function.
22927         (struct nesting): Rename function_call_count elt to n_function_calls,
22928         target_temp_slot_level to block_target_temp_slot_level.  All users
22929         changed.
22930         (struct stmt_status): New structure definition.
22931         Add many accessor macros for stmt_status elements which previously
22932         were global variables.
22933         (init_stmt_for_function): Allocate stmt elt for current_function.
22934         Reflect that block_start_count was renamed to
22935         current_block_start_count.
22936         (save_stmt_status, restore_stmt_status): Delete functions.
22937         (preserve_subexpressions_p): Don't access loop_stack when outside
22938         a function.
22939         (expand_start_bindings): Reflect that block_start_count was renamed to
22940         current_block_start_count.
22941         (expand_fixup): Likewise.
22942         (expand_decl): Don't access block_stack when outside a function.
22943         (expand_decl_cleanup): Likewise.
22944         (expand_dcc_cleanup): Likewise.
22945         (expand_dhc_cleanup): Likewise.
22946         (expand_anon_union_decl): Likewise.
22947         (set_file_and_line_for_stmt): New function.
22948         (in_control_zone_p): New function.
22949
22950         * function.h (struct function): Add new elt stmt.
22951         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
22952         case_stack, nesting_stack, nesting_depth, block_start_count,
22953         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
22954         emit_lineno, goto_fixup_chain.
22955         (save_eh_status, restore_eh_status, save_stmt_status,
22956         restore_stmt_status): Delete declarations.
22957         * function.c (push_function_context_to): Don't call save_stmt_status.
22958         (pop_function_context_to): Don't call restore_stmt_status.
22959         * tree.h (in_control_zone_p): Declare.
22960         * rtl.h (set_file_and_line_for_stmt): Declare.
22961
22962         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
22963         call set_file_and_line_for_stmt.
22964
22965 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
22966
22967         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
22968         Also update copyright.
22969
22970 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22971
22972         * c-pragma.c: Don't include "except.h".
22973         * emit-rtl.c: Likewise.
22974         * stor-layout.c: Likewise.
22975         * tree.c: Likewise.
22976         * varasm.c: Likewise.
22977
22978         * flow.c: Include "function.h".
22979         * tree.h (init_dummy_function_start): Declare new function.
22980
22981         * except.h (struct eh_status): New structure.
22982         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
22983         been included.
22984         (eh_return_stub_label, ehstack, catchstack, ehqueue,
22985         catch_clauses, false_label_stack, caught_return_label_stack,
22986         protect_list, current_function_ehc): Add accessor macros for the
22987         corresponding fields in current_function->eh; delete declarations
22988         for all items that used to be declared here.
22989         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
22990         catch_clauses, false_label_stack, caught_return_label_stack,
22991         protect_list, current_function_ehc): Delete variables.
22992         (init_eh_for_function): Allocate current_function->eh.
22993         (save_eh_status, restore_eh_status): Delete functions.
22994
22995         * function.h (struct function): Add fields next_global and eh.
22996         Delete all exception handling related fields.
22997         * function.c (current_function): New variable.
22998         (all_functions): New variable.
22999         (push_function_context_to): Don't allocate a struct function,
23000         use current_function instead.  Call init_dummy_function_start when
23001         outside a function.  Clear current_function before returning.
23002         (pop_function_context_from): Restore current_function.
23003         Don't free the restored struct function.
23004         (prepare_function_start): New function.
23005         (init_dummy_function_start): New function.
23006         (init_function_start): Break out some code into prepare_function_start
23007         and call it here.
23008
23009         * stmt.c (save_stmt_status): Don't call save_eh_status.
23010         (restore_stmt_status): Don't call restore_eh_status.
23011
23012         * Makefile.in: Update dependencies.
23013
23014 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
23015
23016         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
23017         of depending on a magic constant value.  Update comments.
23018         (hppa_expand_prologue): Similarly.
23019
23020         * pa.md (reload_indi, reload_outdi): Allow any register for the
23021         original reload register.
23022
23023 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
23024
23025         * cccp.c (print_help): Change marcos to macros.
23026
23027 1999-07-30  Richard Henderson  <rth@cygnus.com>
23028
23029         * c-typeck.c (initializer_constant_valid_p): Move ...
23030         * c-common.c (initializer_constant_valid_p): ... here.  Use
23031         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
23032         of label addresses.
23033         * c-common.h (initializer_constant_valid_p): Declare.
23034         * c-tree.h (initializer_constant_valid_p): Remove.
23035
23036 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
23037
23038         * config/i386/sol2-c1.asm: Align the stack.
23039         * config/i386/sol2-gc1.asm: Likewise.
23040
23041 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
23042
23043         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
23044         -Asparclite for sparc86x.
23045         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
23046         sparc86x.
23047         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
23048
23049 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
23050
23051         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
23052         the user if using the non-default arch size in BI_ARCH configuration.
23053         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
23054
23055         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
23056         Fix patterns so that they actually match.
23057         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
23058         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
23059         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
23060         TARGET_HARD_MUL32.
23061         (mulsidi3): Reflect this in the expand.
23062         (smulsi3_highpart): Only on TARGET_ARCH32.
23063         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
23064         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
23065         (umulsidi3): Reflect this in the expand.
23066         (umulsi3_highpart): Only on TARGET_ARCH32.
23067         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
23068         don't require g0 to be zero.
23069         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
23070         ({,u}divsi3): New expands.
23071         ({,u}divsi3_sp64): New patterns.
23072         (after lshrdi3_v8plus): Four new patterns to help combiner
23073         optimizing nested mixed mode shifts.
23074
23075         * config/sparc/sparc.c (sparc_override_options): Use deprecated
23076         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
23077         speed things up. Don't use them by default on plain v9 in 64bit
23078         mode, according to what SPAMv9 sais.
23079
23080         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
23081         top 32 bits of %[og][0-7] in signal handlers.
23082         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
23083
23084 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
23085
23086         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
23087         (ashlsi3): Corresponding changes.
23088
23089         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
23090
23091 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
23092
23093         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
23094
23095 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23096
23097         * arm.h (Hint): Delete macro.
23098         Substitute HOST_WIDE_INT for Hint in some prototypes.
23099         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
23100
23101 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
23102
23103         * builtins.c (expand_builtin_setjmp): Use force_operand to
23104         make sure that the buffer address is in a suitable form to be
23105         passed to force_reg.
23106
23107 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
23108
23109         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
23110         them here.
23111
23112 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
23113
23114         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
23115         proper mode in the condition string.
23116         (icacheflush, dcacheflush): Remove modes from match_operands.
23117
23118         * pa.c (emit_move_sequence): Always convert scratch_reg to the
23119         proper mode before using it.
23120
23121         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
23122         pair.
23123
23124         * pa.c (store_reg): Do not call add_high_const generator directly.
23125         (load_reg, set_reg_plus_d): Likewise.
23126         * pa.md (add_high_const): No longer a named pattern.
23127
23128         * pa.c (legitimize_address): Consistently use Pmode rather than
23129         SImode.  Do not call gen_pic2_highpart directly anymore.
23130         * pa.md (pic2_highpart): No longer a named pattern.
23131         (pic2_lo_sum): Similarly.  Reformat to make more readable.
23132
23133         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
23134         needed.
23135
23136         * README: Update.
23137
23138 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23139
23140         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
23141
23142 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
23143
23144         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
23145         and tag the spill mems.
23146         (hppa_va_start): New.
23147         (hppa_va_arg): New.
23148         * pa.h (EXPAND_BUILTIN_VA_START): New.
23149         (EXPAND_BUILTIN_VA_ARG): New.
23150
23151 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
23152
23153         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
23154         and tag the spill mems.
23155         (mn10300_va_start): New.
23156         (mn10300_va_arg): New.
23157         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
23158         (EXPAND_BUILTIN_VA_ARG): New.
23159
23160 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
23161
23162         * mn10200.c (mn10200_va_arg): New.
23163         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
23164
23165 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
23166
23167         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
23168         rather than play with TREE_INT_CST_LOW.
23169
23170 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
23171
23172         * config/arm/telf.h: Include dbxelf.h.
23173         (CPP_PREDEFINES): Only define if not already defined.
23174         (ASM_IDENTIFY_GCC): Likewise.
23175         (SUBTARGET_EXTRA_SECTIONS): Likewise.
23176         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
23177         * config/arm/thumb.h (LINK_SPEC): Only define if not already
23178         defined.
23179         (DBX_DEBUGGING_INFO): Don't define.
23180         * config/arm/linux-telf.h: New file.
23181         * config/arm/linux-tgas.h: New file.
23182         * config/arm/t-thumb-linux: New file.
23183         * config/arm/uclinux-elf.h: New file.
23184         * config/arm/uclinux-telf.h: New file.
23185         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
23186         thumb-*-uclinux): New targets.
23187         * configure: Regenerate.
23188
23189 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
23190
23191         * pa.md (post_store, pre_load): New expanders.
23192         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
23193         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
23194         need to directly generate RTL for them.
23195         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
23196         changes.
23197
23198 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
23199
23200         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
23201         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
23202         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
23203         (secndary_reload_class): Make TARGET_ELF conditional compile.
23204         (print_operand_address): Similar.
23205         (output_toc): Print all values as hex.
23206         (get_issue_rate): Rearrange and add RS64A and PPC630.
23207         * rs6000.h (processor_type): Add RS64A and PPC630.
23208         (PROCESSOR_POWERPC64): New.
23209         (PROMOTE_MODE): Use word_mode.
23210         (RTX_COSTS): Add RS64A and PPC630.
23211         * rs6000.md (scheduling information): Add lmul and ldiv
23212         representing 64-bit integer multiply and divide.  Add rs64a and
23213         PPC630 information.
23214         (ashldi3): Add support for "rldic" instruction.
23215         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
23216
23217 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
23218
23219         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
23220         instead of V8 for sparclite86x in cpu_table.
23221
23222 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23223
23224         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
23225         output_file_directive.
23226
23227 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
23228
23229         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
23230         tree for op1, not the rtl.
23231
23232 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
23233
23234         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
23235         to m88k_va_start, leaving only the register spill.
23236         (m88k_build_va_list): New.
23237         (m88k_va_start): New.
23238         (m88k_va_arg): New.
23239         * m88k.h (BUILD_VA_LIST_TYPE): New.
23240         (EXPAND_BUILTIN_VA_START): New.
23241         (EXPAND_BUILTIN_VA_ARG): New.
23242
23243 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
23244
23245         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
23246         Rename from expand_builtin_saveregs.
23247         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
23248
23249 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
23250
23251         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
23252         for the register spill block.
23253         (i960_build_va_list): New.
23254         (i960_va_start): New.
23255         (i960_va_arg): New.
23256         * i960.h (BUILD_VA_LIST_TYPE): New.
23257         (EXPAND_BUILTIN_VA_START): New.
23258         (EXPAND_BUILTIN_VA_ARG): New.
23259         * i960.md (store_multiple): Use change_address on individul mems.
23260
23261 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
23262
23263         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
23264         an ARRAY_TYPE.
23265         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
23266         (expand_builtin_va_end): Evaluate arg for side effects.
23267         * c-common.c (c_common_nodes_and_builtins): Construct a
23268         va_list_arg_type_node to handle array decomposition to pointer.
23269
23270 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
23271
23272         * except.c (st_dynamic_cleanup): Use force_operand on the
23273         buffer's address.
23274
23275 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
23276
23277         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
23278         * c4x.c (c4x_va_arg): New.
23279
23280 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
23281
23282         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
23283         has manual_pop set.
23284
23285 1999-07-26  Nathan Sidwell  <nathan@acm.org>
23286
23287         * eh-common.h (__eh_matcher): Prototype correctly.
23288
23289 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
23290
23291         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
23292         (TARGET_SINGLE_PIC_BASE): Likewise.
23293         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
23294         definitions.
23295         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
23296         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
23297         (TARGET_OPTIONS): Add -mpic-register=N.
23298         (OUTPUT_INT_ADDR_CONST): New macro.
23299         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
23300         LEGITIMATE_PIC_OPERAND_P): Likewise.
23301         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
23302         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
23303         output_addr_const directly.
23304         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
23305         ARM port.
23306         (thumb_pic_register, thumb_pic_register_string): Declare.
23307
23308         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
23309         from arm.c.
23310         (label_mentioned_p): New function: Imported from arm.c.
23311         (legitimize_pic_address): New function: Imported from arm.c.
23312         (is_pic):New function: Imported from arm.c.
23313         (thumb_finalize_pic):New function: Imported from arm.c.
23314         (add_constant): Cope with PIC constants.
23315         (fixit): Cope with PIC constants.
23316         (output_return): Do not treat the PIC register as live if
23317         TARGET_SINGLE_PIC_BASE is true.
23318         (thumb_function_prologue): Do not treat the PIC register as live if
23319         TARGET_SINGLE_PIC_BASE is true.
23320         (thumb_expand_prologue): Do not treat the PIC register as live if
23321         TARGET_SINGLE_PIC_BASE is true.
23322         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
23323         TARGET_SINGLE_PIC_BASE is true.
23324         (thumb_print_operand): Accept '|'.
23325         (thumb_override_options): Process PIC options.
23326
23327         * config/arm/thumb.md (movsi): Support PIC.
23328         (call_insn): Change "i" constraint to "X".
23329         (call_value_insn): Likewise.
23330         (consttable_4, consttable_8, consttable_end): Set and clear
23331         "making_const_table" as appropriate.
23332         (pic_load_addr, pic_add_dot_plus_four): New insns.
23333
23334         * invoke.texi (Thumb Options): Fix spelling.  Document new
23335         options -msingle-pic-base and -mpic-register=.
23336
23337 1999-07-26  Andrew Haley  <aph@cygnus.com>
23338
23339         * config/m32r/initfini.c (__init): Use a full word immediate for
23340         __fini: this allows it to be placed in any memory region.
23341
23342         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
23343         -mmodel=medium.  This is OK for all memory models.
23344
23345 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
23346
23347         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
23348         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
23349
23350 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
23351
23352         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
23353         defined.
23354
23355         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
23356
23357 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
23358
23359         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
23360         (BUILD_VA_LIST_TYPE): New.
23361         (EXPAND_BUILTIN_VA_START): New.
23362         (EXPAND_BUILTIN_VA_ARG): New.
23363         * i860.c (output_delayed_branch): Disable.
23364         (output_delay_insn): Likewise.
23365         (i860_saveregs): New.
23366         (i860_build_va_list): New.
23367         (i860_va_start): New.
23368         (i860_va_arg): New.
23369         * i860.md: Disable all peepholes using output_delayed_branch.
23370         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
23371
23372 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
23373
23374         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
23375         (BUILD_VA_LIST_TYPE): New.
23376         (EXPAND_BUILTIN_VA_START): New.
23377         (EXPAND_BUILTIN_VA_ARG): New.
23378         * clipper.c (clipper_builtin_saveregs): Only dump registers.
23379         Return the address of the save area.
23380         (clipper_build_va_list): New.
23381         (clipper_va_start): New.
23382         (clipper_va_arg): New.
23383
23384 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
23385
23386         * arc.h (EXPAND_BUILTIN_VA_START): New.
23387         (EXPAND_BUILTIN_VA_ARG): New.
23388         * arc.c (arc_setup_incoming_varargs): Set alias set of
23389         varargs save area.
23390         (arc_va_start): New.
23391         (arc_va_arg): New.
23392
23393 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
23394
23395         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
23396         (BUILD_VA_LIST_TYPE): New.
23397         (EXPAND_BUILTIN_VA_START): New.
23398         (EXPAND_BUILTIN_VA_ARG): New.
23399         * alpha.c (alpha_builtin_saveregs): Delete.
23400         (alpha_build_va_list): New.
23401         (alpha_va_start): New.
23402         (alpha_va_arg): New.
23403
23404 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
23405
23406         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
23407         column zero.
23408         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
23409         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
23410
23411         * gcc.texi: More changes related to list conversion.
23412         * invoke.texi: Likewise.
23413
23414 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
23415
23416         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
23417         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
23418         (expand_builtin_next_arg): Accept ARGLIST not EXP.
23419         (stabilize_va_list): New function.
23420         (std_expand_builtin_va_start): New function.
23421         (expand_builtin_va_start): New function.
23422         (get_varargs_alias_set): New function.
23423         (std_expand_builtin_va_arg): New function.
23424         (expand_builtin_va_arg): New function.
23425         (expand_builtin_va_end): New function.
23426         (expand_builtin_va_copy): New function.
23427         (expand_builtin): Call them.
23428         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
23429         __builtin_{varargs_start,stdarg_start,end,copy}.
23430         (build_va_arg): New function.
23431         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
23432         (build_va_arg): Declare.
23433         * c-decl.c (ptr_type_node, va_list_type_node): New.
23434         * c-parse.gperf (__builtin_va_arg): New.
23435         * c-parse.in (VA_ARG): New token.
23436         (unary_expr): Recognize it.
23437         * expr.c (expand_expr): Expand VA_ARG_EXPR.
23438         * expr.h (std_expand_builtin_va_start): Declare.
23439         (std_expand_builtin_va_arg): Declare.
23440         (expand_builtin_va_arg): Declare.
23441         (get_varargs_alias_set): Declare.
23442         * tree.def (VA_ARG_EXPR): New.
23443         * tree.h (BUILT_IN_VARARGS_START): New.
23444         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
23445         (ptr_type_node, va_list_type_node): Declare.
23446         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
23447         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
23448         * m88k.h, m88k.c: Likewise.
23449         * mn10300.h, mn10300.c: Likewise.
23450         * pa.h, pa.c: Likewise.
23451         * rs6000.h, rs6000.c: Likewise.
23452         * sh.h, sh.c: Likewise.
23453         * sparc.h, sparc.c: Likewise.
23454
23455         * emit-rtl.c (operand_subword): Copy alias set.
23456         (change_address): Likewise.
23457
23458 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
23459
23460         * pa.c (compute_frame_size): Scan all the used callee saved registers,
23461         not just the first one.
23462
23463 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
23464
23465         * config/arm/arm.h (TARGET_SWITCHES): Add
23466         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
23467         (TARGET_OPTIONS): Add -mpic-register=.
23468         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
23469         (arm_pic_register_string): Declare.
23470         (NEED_PLT_GOT): Delete, replace with ...
23471         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
23472         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
23473         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
23474         * config/arm/arm.c (arm_override_options): Add new option
23475         -mpic-register=N.
23476         (arm_pic_register_string): New variable.
23477         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
23478         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
23479         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
23480         (output_return_instruction): Likewise.
23481         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
23482         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
23483         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
23484
23485         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
23486         mention of -msched-prolog.  Document new options -msingle-pic-base
23487         and -mpic-register=.
23488
23489 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
23490
23491         * haifa-sched.c (reemit_notes): Tidy.
23492         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
23493         haifa's routine.
23494
23495 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
23496
23497         * explow.c (trunc_int_for_mode): New function.
23498         (plus_constant_wide): Use it.
23499         * combine.c (simplify_and_const_int): Likewise.
23500         (merge_outer_ops): Likewise.
23501         (simplify_shift_const): Likewise.
23502         * cse.c (simplify_unary_operation): Likewise.
23503         (simplify_binary_operation): Likewise.
23504         * emit-rtl.c (operand_subword): Likewise.
23505         * rtl.h: Declare it.
23506
23507 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23508
23509         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
23510         (use NUM_REGS instead of NUM_INTS).
23511
23512 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23513
23514         * builtins.c: New file.
23515         * expr.c (saveregs_value, apply_args_value):  Delete definition,
23516         moved into builtins.c.
23517         (string_constant): No longer static.
23518         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
23519         apply_args_size, apply_result_size, result_vector,
23520         expand_builtin_apply_args, expand_builtin_apply,
23521         expand_builtin_return): Delete functions, moved into builtins.c.
23522         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
23523         * expr.h (saveregs_value, apply_args_value): Declare variables.
23524         (expand_builtin, string_constant): Declare functions.
23525         * Makefile.in: Update to build builtin.o.
23526
23527 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
23528
23529         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
23530         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
23531         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
23532         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
23533         false.
23534         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
23535         Define to zero.
23536
23537 1999-07-21  Michael Meissner  <meissner@cygnus.com>
23538
23539         * print-rtl.c (print_rtx): Print the names of the virtual
23540         registers.
23541
23542 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
23543
23544         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
23545         introduced in previous delta.
23546
23547 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23548
23549         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
23550         to avoid name clash.
23551
23552 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23553
23554         * c-lex.c (yylex) : Correct the test for overflow when lexing
23555         integer literals.
23556
23557 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
23558
23559         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
23560         (adjust_priority): Always call ADJUST_PRIORITY.
23561         (schedule_insn): Only put insns into the ready at cost 0.
23562         (schedule_block): Remove redundant initial sort.  Give clock_var
23563         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
23564         is not 0.
23565         * tm.texi (MD_SCHED_REORDER): Update docs.
23566
23567         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
23568         * sparc.c (ultra_reorder_called_this_block): Delete.
23569         (ultrasparc_sched_init): Don't set it.
23570         (ultrasparc_sched_reorder): Don't check it.
23571
23572 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
23573
23574         * rs6000.h (struct rs6000_args): Add sysv_gregno.
23575         * rs6000.c (init_cumulative_args): Init sysv_gregno.
23576         (function_arg_boundary): Align DFmode.
23577         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
23578         to get fp reg and stack overflow correct.
23579         (function_arg): Likewise.
23580         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
23581         (setup_incoming_varargs): Restructure for ABI_V4; use
23582         function_arg_advance to skip final named argument.
23583         (expand_builtin_saveregs): Properly unskip the last integer arg
23584         when doing varargs.  Adjust overflow location calculation.
23585
23586         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
23587         explicitly unsigned.
23588         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
23589         (__VA_GP_REGSAVE): Similarly.
23590         (__va_longlong_p): Delete.
23591         (__va_arg_type_violation): New declaration.
23592         (va_arg): Restructure.  Flag promotion errors.  Align double.
23593         TFmode passed by reference.
23594
23595         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
23596         in the HOST_BITS_PER_WIDE_INT > 32 case.
23597
23598 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
23599
23600         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
23601
23602 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
23603
23604         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
23605         * toplev.c (documented_lang_options): Add -fpreprocessed.
23606         * cpplib.h (struct cpp_buffer): Add preprocessed.
23607         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
23608         (cpp_start_read): Don't expand macros or emit an initial #line
23609         directive if -fpreprocessed.
23610
23611 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23612
23613         * cpplib.h (struct cpp_buffer): Added manual_pop for
23614         better C++ tokenization.
23615         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
23616         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
23617         * c-common.c (cpp_token): Make non-static.
23618
23619 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23620
23621         * c-common.h: New file.
23622         * c-common.c (permanent_obstack): Delete unused declaration.
23623         (c_global_trees): New array.
23624         (c_common_nodes_and_builtins): New function; split off common code
23625         from init_decl_processing in both c-decl.c and cp/decl.c.
23626         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
23627         c_global_trees and accessor macros defined in c-common.h.
23628         Include c-common.h.
23629         * c-decl.c: Delete definitions for tree nodes that were replaced by
23630         c_global_trees.
23631         (init_decl_processing): Build void_list_node.
23632         Call c_common_nodes_and_builtins; delete code to generate the common
23633         builtins here.
23634         * objc/objc-act.c (build_module_descriptor): Rename variable
23635         void_list_node to avoid clash with c-common.h.
23636
23637         * Makefile.in: Update dependencies.
23638         * objc/Make-lang.in: Likewise.
23639
23640 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
23641
23642         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
23643         (UNIQUE_SECTION_P): Likewise.
23644         (UNIQUE_SECTION): Likewise.
23645
23646 1999-07-19  Linas Vepstas  <linas@linas.org>
23647
23648         * config/i370/README: New file.
23649         * config/i370/linux.h: New file.
23650         * config/i370/mvs.h: New file.
23651         * config/i370/oe.h: New file.
23652         * config/i370/t-linux: New file.
23653         * config/i370/t-mvs: New file.
23654         * config/i370/t-oe: New file.
23655         * config/i370/x-oe: New file.
23656         * config/i370/xm-linux.h: New file.
23657         * config/i370/xm-mvs.h: New file.
23658         * config/i370/xm-oe.h: New file.
23659
23660         * i370.c (label_node_t): Add first_ref_page, label_addr,
23661         label_first_ref, label_last_ref members.
23662         (mvs_need_base_reload): Renamed from mvs_label_emitted.
23663         (MAX_MVS_LABEL_SIZE): Define.
23664         (MAX_LONG_LABEL_SIZE): Define.
23665         (alias_node_t, alias_anchor, alias_number): New.
23666         (mvs_function_table): Reorder for EBCDIC.
23667         (ascebc, ebcasc): Unconditionally define.
23668         (i370_branch_dest, i370_branch_length): New functions.
23669         (i370_short_branch, i370_label_scan): New functions.
23670         (mvs_get_label): Renamed from mvs_add_label.  Search for
23671         an existing label before creating a new one.
23672         (mvs_add_label): New function.
23673         (mvs_get_label_page): New function.
23674         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
23675         over the entire list.
23676         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
23677         (mvs_check_page) [TARGET_ELF_ABI]: New function.
23678         (mvs_add_alias, mvs_need_alias): New functions.
23679         (mvs_get_alias, mvs_check_alias): New functions.
23680         (handle_pragma): New function.
23681         (mvs_function_check): New function.
23682         (unsigned_jump_follows_p): Search harder.
23683         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
23684         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
23685         * i370.h (TARGET_VERSION): Delete.
23686         (CPP_SPEC, CPP_PREDEFINES): Delete.
23687         (mvs_label_emitted): Delete.
23688         (TARGET_EBCDIC): Delete.
23689         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
23690         (HANDLE_PRAGMA): Define.
23691         (HARD_REGNO_NREGS): Handle complex modes.
23692         (HARD_REGNO_MODE_OK): Likewise.
23693         (CLASS_MAX_NREGS): Likewise.
23694         (RET_REG): Likewise.
23695         (EXTRA_CONSTRAINT): Define.
23696         (RETURN_IN_MEMORY): True for DImode.
23697         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
23698         (FUNCTION_PROFILER): Delete.
23699         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
23700         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
23701         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
23702         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
23703         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
23704         (ASM_FILE_START): Add "RMODE ANY".
23705         (ASM_OUTPUT_EXTERNAL): Check for aliases.
23706         (ASM_GLOBALIZE_LABEL): Likewise.
23707         (ASM_OUTPUT_LABELREF): Likewise.
23708         (ASM_OUTPUT_COMMON): Likewise.
23709         (PRINT_OPERAND): Handle 'K', 'W', default.
23710         (PRINT_OPERAND_ADDRESS): New.
23711         (Lots of defines): Add support for TARGET_ELF_ABI.
23712         * i370.md (attr length): New.  Define for all patterns.
23713         (*): Lots of tweeks to assembly output and constraints.
23714
23715 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
23716
23717         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
23718         Disable patterns performing SImode comparisons with SImode values
23719         if TARGET_POWERPC64 and instruction does not sign-extend or does
23720         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
23721         differ for signed quantities.
23722         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
23723         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
23724         (decrement_and_branch_on_count): Add 64-bit variant.
23725
23726 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23727
23728         * final.c (output_asm_insn): When searching for the matching string
23729         for a given dialect, don't run past the end of the list of
23730         alternatives if there are fewer alternatives in the template than
23731         dialects.
23732
23733 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
23734
23735         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
23736         Removed paragraph about compression of files and size limitation,
23737         duplicated in the FAQ.  Use gcc-patches for posting patches.
23738         * gcc.c (main): Updated URL with bug reporting instructions to
23739         gcc.gnu.org.  Removed e-mail address.
23740         * system.h (abort): Likewise.
23741
23742 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23743
23744         * Makefile.in (stmp-multilib-sub): Make the files extracted
23745         from $(LIBGCC1) writable.
23746
23747 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
23748
23749         * config/arm/aout.h: Reformat for improved readability.
23750
23751         * config/arm/arm.h: Reformat for improved readability.
23752         Replace uses of fprintf with asm_fprintf where appropriate.
23753         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
23754         function declaration assembler actions.
23755         (NUM_INTS): New macro: Convert from bytes to words.
23756         (NUM_REGS): New macro: Compute number of registers required to
23757         hold a quanitity of tyep MODE.
23758         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
23759         types.
23760         (NUM_ARG_REGS): New macro: The number of argument registers
23761         available.
23762         (ARG_REGISTER): New macro: Compute the register number of the Nth
23763         argument register.
23764         (LAST_ARG_REGNUM): New macro: The number of the last argument
23765         register.
23766         (SP_REGNUM): New macro: Register number of the stack pointer.
23767         (FP_REGNUM): New macro: Register number of the frame pointer.
23768         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
23769         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
23770         CUMULATIVE_ARGS so that it counts registers not bytes.
23771
23772         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
23773         TARGET_INTERWORK.
23774         Replace uses of fprintf with asm_fprintf where appropriate.
23775         (output_ascii_pseudo_op): Replace with version from thumb.c
23776
23777         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
23778
23779         * config/arm/elf.h (CPP_PREDEFINES): Replace with
23780         SUBTARGET_CPP_SPEC.
23781         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
23782         (ASM_FILE_START): Emit ASM_APP_OFF.
23783
23784 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
23785
23786         * pa.c (compute_frame_size): Round frame according to
23787         STACK_BOUNDARY rather than a hardwired value.
23788
23789         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
23790
23791         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
23792         of "1".
23793         * configure: Rebuilt.
23794
23795         * configure.in (hppa*-*-linux*): New configuration.
23796         * configure: Rebuilt.
23797         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
23798         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
23799         * pa/pa-linux.h: New file.
23800         * pa/t-linux: New file.
23801         * pa/xm-linux.h: New file.
23802
23803         * pa.c (hppa_legitimize_address): Change references from SImode to
23804         either Pmode or word_mode as appropriate.
23805         (emit_move_sequence, store_reg, load_reg): Likewise.
23806         (set_reg_plus_d, hppa_expand_prologue): Likewise.
23807         (output_mul_insn): Likewise.
23808         * pa.h (PROMOTE_MODE): Likewise.
23809         (INITIALZE_TRAMPOLINE): Likewise.
23810         (Pmode): Define to word_mode.
23811
23812         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
23813         value of 4.  Allocate 8 bytes for each FP register save.
23814         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
23815         value of 4.
23816         (hppa_expand_prologue): Likewise.
23817         * pa.h (PROMOTE_MODE): Likewise.
23818         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
23819         (FUNCTION_ARG_BOUNDARY): Likewise.
23820
23821         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
23822
23823         * pa.c (out_of_line_prologue_epilogue): Delete.
23824         (override_options): Remove -mspace related code.
23825         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
23826         (compute_frame_size): Only allocate space for register that
23827         actually need to be saved.
23828         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
23829         (TARGET_SWITCHES): Remove -mspace, -mno-space
23830         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
23831         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
23832         * pa/ee.asm, pa/ee_fp.asm: Delete.
23833
23834         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
23835
23836         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
23837         directive in column zero.
23838
23839 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
23840
23841         * m68k.c (output_function_prologue): Fix computation of save mask
23842         when generating PIC code.
23843
23844 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
23845
23846         * tree.c (build_type_attribute_variant): Move current_obstack restore
23847         after build_qualified_type call.
23848
23849 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
23850
23851         * configure.in: Use t-iris6, even with GNU LD.
23852         * config/mips/iris6gld.h: Fix typo in linker spec.
23853         * config/mips/t-iris6gld: Remove.
23854
23855 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
23856
23857         * rs6000.md (insv, extzv): Remove SImode dependence in named
23858         patterns.  Explicitly generate DImode RTL if PowerPC64 and
23859         operand is DImode.
23860         (insvdi): Reverse start and size in instruction template.
23861
23862 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
23863
23864         * invoke.texi: Typo fixes.
23865
23866 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
23867
23868         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
23869         handle at this time instead of silently generating incorrect code.
23870         (gen_imagpart): Likewise.
23871
23872         * reload.c (find_reloads): Emit a USE for a pseudo register without
23873         a hard register if we could not create an optional reload for the
23874         pseudo.
23875
23876 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23877
23878         * c-typeck.c (output_init_element, process_init_element):
23879         When advancing constructor_unfilled_fields for a RECORD_TYPE,
23880         check for nameless bit fields.
23881
23882 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
23883
23884         * regclass.c (scan_one_insn): Notice subregs that change the
23885         size of their operand.
23886         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
23887
23888 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
23889
23890         * configure.in (alpha*-*-*): Include alpha/t-ieee.
23891         * configure: Rebuilt.
23892         * alpha/t-ieee: New file.
23893
23894 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
23895
23896         * rs6000.c (find_addr_reg): Do not select r0 as an address
23897         register.
23898
23899 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
23900
23901         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
23902
23903 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
23904
23905         * rs6000.md (movsf): Do not force easy FP constants into memory.
23906
23907         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
23908         immed_double_const to ensure they are properly truncated then
23909         sign extended.
23910
23911 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23912
23913         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
23914         always unless NO_DEBUG is used.  Compile this code
23915         unconditionally.
23916         (replace_symbols_in_block): Compile it unconditionally.
23917
23918 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
23919
23920         * configure.in (i?86-*-elf*): New target.
23921         * configure: Rebuilt.
23922         * i386/i386elf.h, i386/t-i386elf: New files.
23923
23924 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23925
23926         * toplev.c (main): Don't complain about saying -gdwarf.
23927         (rest_of_compilation): Remove redundant code.
23928
23929 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
23930
23931         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
23932
23933 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
23934
23935         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
23936         "Li960R:", to avoid name clash.
23937
23938 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23939
23940         * loop.c (check_dbra_loop): When reversing a loop, delete all
23941         REG_EQUAL notes referencing the reversed biv except those which are
23942         for a giv based on it.
23943
23944 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
23945
23946         * version.c: Drop "gcc-" prefix from version #.
23947
23948 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
23949
23950         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
23951         the label if we're being verbose.
23952
23953 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
23954
23955         * m68k.c (output_function_prologue): Add pic register to mask
23956         if live and flag_pic.
23957         (output_function_epilogue): Likewise.
23958
23959 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
23960
23961         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
23962         directives in column zero.
23963
23964         * pa/elf.h (ASM_FILE_START): Define.
23965         * pa/som.h (ASM_FILE_START): Include .level directives.
23966         * pa/hpux10.h (ASM_FILE_START): Delete.
23967         * pa/hpux11.h (ASM_FILE_START): Delete.
23968
23969         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
23970
23971 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23972
23973         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
23974         when reload_out equals reload_in.
23975
23976 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
23977
23978         * invoke.texi (Spec Files): New node: Describe the contents of
23979         spec files.
23980
23981 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
23982
23983         * invoke.texi (DEC Alpha Options): Put @end table at
23984         beginning of line, to avoid confusing texi2html.
23985
23986 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
23987
23988         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
23989         introduced in previous delta.
23990
23991 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23992
23993         * reload1.c (gen_reload): When synthesizing a 3 operand add
23994         sequence, improve test for when to reload OP1 into the reload
23995         register instead of OP0.
23996
23997 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
23998
23999         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
24000
24001 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
24002
24003         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
24004         string literal.
24005
24006 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
24007
24008         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
24009         (va_dcl): Use __builtin_va_alist_t.
24010
24011 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
24012
24013         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
24014         on the permanent_obstack.
24015         * dwarfout.c (output_type): Likewise.
24016
24017 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24018
24019         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
24020         Merged from c-typeck.c and cp/typeck.c.
24021         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
24022         Merged into c-common.
24023
24024 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
24025
24026         * c-lex.c (errorcount): Declare it.
24027         (finish_parse): Update errorcount when using CPPLIB.
24028
24029 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
24030
24031         * fixinc/inclhack.def(end_else_label): Double the backslash so
24032         sed gets a chance to see it.
24033         * fixinc/inclhack.sh: regen
24034         * fixinc/fixincl.x: regen
24035
24036 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
24037
24038         Add framework to support armv5 architecture when it becomes
24039         available:
24040
24041         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
24042         (arm_arch5): New variable.
24043         (all_architectures): Add armv5 line.
24044         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
24045         -march=armv5 is specified on the command line.
24046         (arm_arch5): Export this variable.
24047         * invoke.texi: Document new string accepted by -march= switch for
24048         ARM ports.
24049
24050         * config/arm/arm.h: Replace use of constant 12 as a register
24051         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
24052         * config/arm/arm.c: Replace use of constant 12 as a register
24053         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
24054
24055         * config/arm/elf.h: Tidy up.
24056         * config/arm/coff.h: Tidy up.
24057
24058 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
24059
24060         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
24061         * gcc/config/mips/t-iris6gld: New file.
24062         * gcc/config/mips/iris6gld.h: Likewise.
24063
24064 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24065
24066         * c-decl.c (widest_integer_literal_type_node,
24067         widest_unsigned_literal_type) : New.
24068         (init_decl_processing): Handle/use the two new types.
24069         * c-common.c (type_for_size,type_for_mode) : Same.
24070         * c-lex.c (yylex) : Same.
24071         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
24072         Same.
24073         * c-tree.h (widest_integer_literal_type_node,
24074         widest_unsigned_literal_type) : New.
24075
24076 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
24077
24078         * dwarfout.c (field_byte_offset): Correctly compute the object's
24079         byte offset for the first bit of a field which crosses an alignment
24080         boundary on a !BYTES_BIG_ENDIAN target.
24081
24082 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
24083
24084         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
24085         ntohs.
24086
24087 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
24088                           Jeff Law <law@cygnus.com>
24089
24090         * ginclude/varargs.h (va_dcl): Use word_mode for type of
24091         __builtin_va_list.
24092
24093         * except.c: Include intl.h.
24094         (expand_eh_return): Set current_function_cannot_inline.
24095         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
24096         * function.h (struct function): Add eh_return_stub_label.
24097         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
24098         * Makefile.in (except.o): Depend on intl.h.
24099
24100 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
24101
24102         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
24103         same as offsettable in cases 1 and 2.
24104
24105 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
24106
24107         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
24108         (extlh, extwh): Likewise.
24109
24110 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24111
24112         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
24113
24114 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
24115
24116         * configure.in: Add arm-pe and thumb-pe targets.
24117         * configure: Regenerate.
24118
24119         * thumb.c (arm_naked_function_p): New function: Determines if
24120         a function is naked (has no gcc generated prologue/epilogue).
24121         (is_called_in_ARM_mode): Return true if the func has the
24122         interfacearm attribute.
24123         (output_return): Do not generate a return for naked functions.
24124         (thumb_function_prologue): Do not generate a prologue for
24125         naked functions.
24126         (thumb_expand_prologue): Do not generate a prologue for naked
24127         functions.
24128         (thumb_expand_epilogue): Do not generate an epilogue for naked
24129         functions.
24130         (arm_valid_machine_decl_attribute): New function, copied from
24131         arm.c:  Permit naked and interfacearm attributes.
24132
24133         * config/arm/pe.c: New file: Support code for arm-pe target.
24134         * config/arm/pe.h: New file: Header file for arm-pe target.
24135         * config/arm/tpe.h: New file: Header file for thumb-pe target.
24136         * config/arm/t-thumb-pe: New file: Makefile fragment for
24137         thumb-pe target.
24138
24139 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
24140
24141         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
24142         -fPIC or -fpic is specified.
24143
24144 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
24145
24146         * expr.c (emit_block_move): Use copy_to_mode_reg for
24147         !TARGET_MEM_FUNCTIONS case too.
24148
24149         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
24150         appropriate.
24151         * configure: Rebuilt.
24152         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
24153         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
24154         definitions made redundant by dbxelf.h inclusion.  Delete
24155         lots of definitions related to assembly output that are
24156         specific to the SOM object format.
24157         * pa.c (output_function_prologue): Do not emit the function's
24158         name for OBJ_ELF.
24159         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
24160         * pa-pro.h: Deleted.
24161         * som.h: New file with SOM specific definitions.
24162         * elf.h: New file with ELF specific definitions.
24163
24164         * elfos.h (const_section): Output a tab before assembler directives.
24165         (ctors_section, dtors_section): Likewise.
24166         (ASM_OUTPUT_SECTION_NAME): Likewise.
24167
24168         * pa/pa1.h: Delete unused file.
24169
24170 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
24171
24172         * configure.in (hppa*-hp-hpux11*): New configuration.
24173         * configure: Rebuilt.
24174         * pa/pa-hpux11.h: New file.
24175         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
24176         command line.
24177
24178         * mips.md (leasi, leadi): New patterns.
24179
24180         * expr.c (emit_block_move): Properly handle case where one of the
24181         block move arguments has a queued increment or decrement.
24182         (clear_storage): Similarly.  Fix formatting goof.
24183
24184 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
24185
24186         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
24187         semicolon from the BSD VA_LIST replacement expression.
24188
24189         * fixinc/inclhack.sh: regen
24190         * fixinc/fixincl.x: regen
24191
24192         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
24193         now use the fixincl program.
24194
24195 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
24196
24197         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
24198         case.  Also make the PIC register call_used.
24199
24200         * m68k.h (FINALIZE_PIC): Delete.
24201         * m68k.c (finalize_pic): Delete.
24202
24203 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
24204
24205         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
24206         to memory.
24207
24208 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
24209
24210         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
24211
24212 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
24213
24214         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
24215
24216 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
24217
24218         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
24219
24220 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
24221
24222         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
24223
24224 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
24225
24226         * rs6000.c (output_toc): Always use hex values for floating-point
24227         constants.  Store single-precision values in upper-half of TOC
24228         entry in 64-bit mode.
24229         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
24230         to final constraints.
24231         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
24232         (fctiwz): Improve accuracy of RTL for pattern.
24233
24234 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24235
24236         * expr.c (expand_expr): Allow RTL_EXPR's through the
24237         MAX_INTEGER_COMPUTATION_MODE checks.
24238
24239 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
24240
24241         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
24242         such that MASK_SUPPORT_ARCH is not negative.
24243
24244 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
24245
24246         * loop.c (verify_dominator): Properly handle ADDR_VEC and
24247         ADDR_DIFF_VEC insns that appear inside loops.
24248
24249 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
24250                           Jeff Law <law@cygnus.com>
24251
24252         * rs6000.md (movdf_hardfloat32): Revert previous patch.
24253         Handle LO_SUM the same as offsettable in cases 1 and 2.
24254         * rs6000.c (find_addr_reg): Revert previous patch.
24255
24256 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
24257
24258         * system.h (strstr): New external function declaration.
24259         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
24260         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
24261         * config.in, configure: Rebuilt.
24262
24263 1999-06-24  Tom Tromey  <tromey@cygnus.com>
24264
24265         * gcc.c (main): Read user-specified specs files after computing
24266         additional startfile_prefixes.
24267
24268 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
24269
24270         Revert these two patches:
24271
24272         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24273         * loop.c (strength_reduce): When doing biv->giv conversion, update
24274         reg note of NEXT->insn.
24275
24276         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24277         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24278         reg_biv_class.
24279         (recombine_givs): Set ix field after sorting.
24280
24281 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24282
24283         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
24284         for the parts of an UNSPEC / UNSPEC_VOLATILE.
24285
24286 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
24287
24288         *fixinc/inclhack.def:  Add fix development commentary
24289         (read_ret_type): reactivate and add selection clause
24290         (zzz_*): tweak output file name to match what is used in hackshell.tpl
24291         *fixinc/{fixincl.x|inclhack.sh}: regen
24292
24293 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
24294
24295         * expr.c (expand_expr): STRIP_NOPS before checking against
24296         MAX_INTEGER_COMPUTATION_MODE
24297         (check_max_integer_computation_mode): Likewise.
24298
24299 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
24300
24301         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
24302
24303 1999-06-22  Jim Wilson  <wilson@cygnus.com>
24304
24305         * expr.c (store_expr): When target is a promoted subreg, return a
24306         promoted subreg as a result.
24307
24308 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
24309
24310         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
24311         coding standards.
24312         (dwarf2out_define): Mark unused parameters appropriately.
24313         (gen_unspecified_parameters_die): Ditto.
24314         (gen_subprogram_die): Fix signed/unsigned warnings.
24315         (gen_variable_die): Ditto.
24316
24317 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
24318
24319         * fixinc/inclhack.def(end_else_label): combined else_label
24320         and endif_label and fixed the sed expression.
24321         *fixinc/{fixincl.x|inclhack.sh}: regen
24322
24323 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
24324
24325         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
24326         'x' when handling non-offsettable addresses
24327
24328 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
24329
24330         * final.c (shorten_branches): Don't try to split an insn that has
24331         been deleted.
24332
24333 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
24334
24335         * config/mips/mips.c (symbolic_expression_p): New function.
24336         (mips_select_rtx_section): Put symbolic expressions in the
24337         data section, not the read-only data section.
24338
24339 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
24340
24341         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
24342
24343 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
24344
24345         * collect2.c (main): Log frame table count.
24346         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
24347         (scan_prog_file) [COFF]: Handle frame tables.
24348
24349         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
24350         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
24351         * alpha/elf.h: Undef them again.
24352         * alpha/vms.h: Remove their definitions.
24353
24354 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24355
24356         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
24357         remove the clobber of r0 and change the REG_UNUSED note to
24358         REG_INC.
24359
24360 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
24361
24362         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
24363         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
24364         fits in HOST_WIDE_INT and one uses union to access a long constant
24365         as double.
24366
24367 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
24368
24369         * sparc.c (sparc_override_options): Don't allow profiling for
24370         code models other than medlow.
24371         (sparc_function_profiler): New function from old FUNCTION_PROFILER
24372         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
24373         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
24374         (sparc_block_profiler): Likewise.
24375         (sparc_function_block_profiler_exit): Likewise.
24376         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
24377         (FUNCTION_BLOCK_PROFILER): Likewise.
24378         (BLOCK_PROFILER): Likewise.
24379         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
24380         (MCOUNT_FUNCTION): New.
24381         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
24382         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
24383         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
24384         (MCOUNT_FUNCTION): New.
24385         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
24386         (BLOCK_PROFILER): Delete.
24387         (MCOUNT_FUNCTION): New.
24388
24389 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
24390
24391         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
24392
24393 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
24394
24395         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24396         Add the macros.
24397
24398         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24399         Ditto.
24400
24401         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24402         Ditto.
24403
24404         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24405         Ditto.
24406
24407 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
24408
24409         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
24410         types.
24411
24412 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
24413
24414         * i386/djgpp.h (LIB_SPEC): New.
24415         (STARTFILE_SPEC): New.
24416
24417         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
24418
24419 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
24420
24421         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
24422         compiler flags.
24423
24424         * system.h (WSTOPSIG): New macro.
24425
24426 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24427
24428         * c-pragma.c (push_alignment): Don't ignore alignments greater than
24429         4 bytes.
24430         (insert_pack_attributes): Take into account member natural
24431         alignment.
24432
24433         * i386/winnt.c (exports_head): New static variable.
24434         (i386_pe_record_exported_symbol): New function.
24435         (i386_pe_asm_file_end): Use.
24436         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
24437         symbols to be emitted at end of assembly.
24438         (ASM_DECLARE_OBJECT_NAME): Likewise.
24439         (ASM_DECLARE_FUNCTION_NAME): Likewise.
24440
24441         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
24442         -iwithprefix.
24443
24444 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
24445
24446         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
24447         in last change.
24448
24449 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
24450
24451         * haifa-sched.c (sched_analyze_1): Use free_list instead of
24452         zapping reg_last_uses directly.
24453         (sched_analyze_2, sched_analyze_insn): Likewise.
24454         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
24455
24456 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
24457
24458         * rs6000.md (movdf_hardfloat32): Use worst case insn length
24459         attributes for cases 1 and 2.
24460
24461 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
24462
24463         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
24464         instead of set.
24465
24466 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
24467
24468         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
24469
24470 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
24471
24472         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
24473         PIC_OFFSET_TABLE_REGNUM for general alloaction.
24474         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
24475         must be stacked if it is used for PIC accesses.
24476         * arm.c (use_return_insn): Handle PIC register specially.
24477         (output_return_instruction): Likewise.
24478         (output_func_{prologue,epilogue}): Likewise.
24479         (output_expand_prologue): Likewise.
24480
24481         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
24482         (*strsi_predec): Renamed from *strqi_predec.
24483         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
24484         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
24485
24486         * arm.c (arm_override_options): Remove warning about PIC code
24487         not being supported.
24488
24489 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
24490
24491         * rs6000.c (find_addr_reg): New function.
24492         * rs6000.h (find_addr_reg): Declare.
24493         (offsettable_addr_operand): Delete.
24494         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
24495         from and stores to GPRs.
24496
24497 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
24498
24499         * alpha.c (alpha_expand_block_move): Use get_insns rather than
24500         gen_sequence as argument to emit_no_conflict_block.
24501
24502 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24503
24504         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
24505         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
24506         *fixinc/fixincl.x: regen
24507         *fixinc/inclhack.sh: regen
24508
24509 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
24510
24511         * added support for -mpcrel (PC relative addressing for m68k)
24512         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
24513         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
24514         * m68k.c (print_operand_address): Handle 32-bit PIC case.
24515         (comments for general_src_operand): Add some explanation
24516         about EXTRA_CONSTRAINTS.
24517         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
24518         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
24519         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
24520         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
24521         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
24522         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
24523         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
24524         if not already set.
24525         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
24526         * m68k.h (TARGET_PCREL): New target flag.
24527         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
24528         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
24529         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
24530         contains a SYMBOL_REF.  Relax this constraint during reload, since
24531         we want to use the predicates, not reload's built-in concept of a
24532         valid memory address, to control what insns need reloading.
24533         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
24534         operands (essentially 'g', 'm', and 's' under normal circumstances).
24535         * m68k.c (print_operand): Cause printing of pc-relative addresses
24536         to include pc register.
24537         (print_operand_address): Ditto.
24538         (general_src_operand): Accept operands that are not only
24539         general_operands, but are also valid when used as a pc-relative
24540         source.
24541         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
24542         (memory_src_operand): Similar, for memory_operands.
24543         (pcrel_address): New predicate to accept the special case of a
24544         pc-relative address.
24545         * m68k.md (many patterns): Rewrite common SImode, HImode, and
24546         QImode insns to accept *_src_operand instead of *_operand where
24547         pc-relative operands can fit.  For example, a pc-relative operand
24548         can be used as a memory source operand for addsi3, but not as a
24549         memory destination.
24550         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
24551
24552 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
24553
24554         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
24555         .thumb_set pseudo op to mark aliases of thumb functions.
24556
24557 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
24558
24559         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
24560         preference to ASM_OUTPUT_DEF, if it is defined.
24561
24562         * tm.texi: Document new, optional target macro
24563         ASM_OUTPUT_DEF_FROM_DECLS.
24564
24565 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24566
24567         * fixincludes: ISCNTL patch
24568         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
24569         (dgux_int_varargs): new for DG/UX
24570         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
24571
24572 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
24573
24574         * invoke.texi (ia32 options): Fix typo.
24575
24576 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24577
24578         * loop.c (strength_reduce): When doing biv->giv conversion, update
24579         reg note of NEXT->insn.
24580
24581 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
24582
24583         * loop.c (move_movables): Note issues with replacing REGs with
24584         SUBREGs.
24585         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
24586
24587 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
24588
24589         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
24590
24591         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
24592         the reference to `mcount' was not correct for the ELF on FreeBSD.
24593
24594 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24595
24596         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24597         reg_biv_class.
24598
24599         (recombine_givs): Set ix field after sorting.
24600
24601 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
24602
24603         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
24604         to safe to extract a subword out of a REG.
24605
24606 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24607
24608         * sh.md (mulsi3): Don't add a no-op move at the end.
24609
24610 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24611
24612         * cse.c (cse_insn): Don't put hard register source into tables for
24613         the last insn of a libcall.
24614
24615 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24616
24617         * loop.c (strength_reduce): Insert sets of derived givs at every
24618         biv increment, even if it's the only one.
24619
24620 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
24621
24622         * dwarfout.c (add_incomplete_type): New fn.
24623         (output_type): Call it.
24624         (retry_incomplete_types): New fn.
24625         (dwarfout_finish): Call it.
24626
24627         From Eric Raskin <ehr@listworks.com>:
24628         (output_type): Output types for bases.
24629
24630 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
24631
24632         * mips.c (mips_output_conditional_branch): Add `break'
24633         between `default' label and `close braces'.
24634
24635 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
24636
24637         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
24638         specifications and make it realistic.
24639         (LIB_SPEC): Likewise.
24640
24641 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
24642
24643         * config/mips/mips.c (mips_secondary_reload_class): Check for
24644         (PLUS (SP) (REG)) and return appropriate register class.
24645         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
24646         Handle (PLUS (SP) (REG)).
24647         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
24648         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
24649         of emit_insn for tablejump.
24650
24651 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
24652
24653         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
24654         asm_fprintf format string by itself.
24655         (output_function_profiler): Likewise.
24656
24657 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
24658
24659         * combine.c (simplify_logical, case AND): Only call
24660         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
24661         or the constant is positive.
24662
24663 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
24664
24665         * configure.in: Fix typo in rs6000-ibm-aix4 case.
24666         * configure: Regenerate.
24667
24668 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
24669
24670         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
24671         require a sub-version #.
24672         * configure: Rebuilt.
24673
24674 1999-06-14  Robert Lipe  (robertlipe@usa.net)
24675
24676         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
24677
24678 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
24679
24680         * c-typeck.c (process_init_element): Detect excess elements in
24681         char array initializer.
24682
24683 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
24684
24685         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
24686
24687 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24688
24689         * invoke.texi (Option Summary): Add -fpermissive flag.
24690
24691 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
24692
24693         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
24694         that require PIC code sequences.
24695
24696 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
24697
24698         * configure.in: Add new target: thumb-elf.
24699         * configure: Regenerate.
24700         * config/arm/t-thumb-elf: New file: Makefile fragment for
24701         thumb-elf build.
24702         * config/arm/telf.h: New file: Header file for thumb-elf
24703         build.
24704
24705 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
24706
24707         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
24708         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
24709         initializers is some circumstances.
24710
24711         * fixinc/inclhack.def (endif_label): Add additional selector for
24712         more bogus stuff after #endif statements.
24713         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
24714
24715 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24716
24717         * i386/cygwin.h (SET_ASM_OP): Define.
24718
24719 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24720
24721         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
24722
24723 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24724
24725         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
24726         latter.
24727
24728         * sh.md (ic_invalidate_line_i): Remove second alternative.
24729
24730 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24731
24732         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
24733         test for the presence of valid prototypes.  Delete bypass expr.
24734         (ioctl_fix_ctrl): Correct the selection expression.
24735         (no_double_slash): Correct quoting rules
24736         *fixinc/fixincl.x: regen
24737         *fixinc/inclhack.sh: regen
24738
24739 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
24740
24741         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
24742
24743 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24744
24745         * rs6000.md (movsi_got_internal_mem): Delete.
24746         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
24747         (GOT_TOC_REGNUM): Delete.
24748         (PIC_OFFSET_TABLE_REGNUM): Define.
24749         (FINALIZE_PIC): Disable.
24750         * rs6000.c (rs6000_got_register): New code for fixed pic register.
24751         (rs6000_replace_regno): Delete.
24752         (rs6000_finalize_pic): Likewise.
24753         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
24754
24755 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24756
24757         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
24758         is a note; use <= for the compare; advance P while it is
24759         a NOTE.
24760
24761 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
24762
24763         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
24764         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
24765
24766         * varasm.c (remove_from_pending_weak_list): Verify t->name
24767         is non-NULL before passing it to strcmp.
24768
24769 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24770
24771         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
24772         the typed arguments are not part of a comment
24773         (ioctl_fix_ctrl): Added a purpose comment
24774         *fixinc/fixincl.x: regenerate
24775         *fixinc/inclhack.sh: regenerate
24776
24777 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24778
24779         * invoke.texi: Add C4x invocation docs.
24780
24781 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24782
24783         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
24784         Define new macros.
24785         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
24786         TARGET_EXPOSE_LDP.
24787         (c4x_legitimize_reload_address): New function.
24788         * config/c4x/c4x.md: Update docs.
24789
24790 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
24791
24792         * fixincludes: Avoid removing '.'.
24793         * fixinc/fixinc.svr4: Likewise.
24794         * fixinc/fixinc.winnt: Likewise.
24795         * fixinc/inclhack.tpl: Likewise.
24796         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
24797
24798 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24799
24800         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
24801         pattern.
24802         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
24803
24804 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24805
24806         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
24807         correctly.
24808
24809 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
24810
24811         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
24812         * configure: Regenerate.
24813
24814 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
24815
24816         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
24817         values.
24818
24819 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
24820
24821         * fixinc/inclhack.def (avoid_bool): Also catch
24822         "typedef [unsigned] int bool".
24823         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24824
24825         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
24826         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
24827         * configure: Rebuilt.
24828
24829 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
24830
24831         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
24832         such that we can override its definitions if necessary.
24833         (CPP_SPEC): New define.  Support processor specific predefines via
24834         %(cpp_cpu).
24835         (CC1_SPEC): New define.  Support processor specific compiler
24836         options via %(cc1_cpu).
24837         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
24838         -static.
24839
24840 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24841
24842         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
24843         between sed's -e flag, and the open-quote following it.
24844         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24845
24846 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
24847                           Jeffrey A Law  (law@cygnus.com)
24848
24849         * varasm.c (assemble_start_function): Remove the function
24850         from the pending weak decls list when we define a function.
24851         (assemble_variable): Similarly for variables.
24852         (weak_finish): Ignore items on the list with a NULL name.
24853         (remove_from_ending_weak_list); New function to "remove" an item
24854         from the pending weak declarations list.
24855
24856 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24857
24858         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
24859
24860 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
24861
24862         * c-lex.c (GETC): Redefine to call getch.
24863         (UNGETC): Redefine to call put_back.
24864         (putback_buffer): New structure type.
24865         (putback): New static structure.
24866         (getch): New function.
24867         (put_back): New function.
24868         (yylex): Replace unused bytes from bad multibyte character.
24869
24870 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
24871
24872         * cpplib.c (do_define): Cast `alloca' return value.
24873         (do_include, do_undef, do_pragma): Likewise.
24874         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
24875         values.
24876         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
24877         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
24878
24879 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24880
24881         * sparc.md (abstf2): This should be an expand.
24882         (split after abstf2_notv9): Fix mode.
24883         (abstf2_hq_v9): New pattern.
24884         (abstf2_v9): Only use when no hard quad.
24885         (absdf2_v9): Fix if target is not the same as source.
24886         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
24887         Add correct output constraints.
24888
24889 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
24890
24891         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
24892         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
24893
24894 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
24895
24896         * mips.h (mips_output_conditional_branch): New function.
24897         (mips_adjust_insn_length): Likewise.
24898         (ASSEMBLER_SCRATCH_REGNUM): New macro.
24899         (ADJUST_INSN_LENGTH): Likewise.
24900         * mips.c (print_operand): Add `F' and `W' for floating-point
24901         comparison opcodes.
24902         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
24903         are now in bytes.
24904         (mips_adjust_insn_length): New function.
24905         (mips_output_conditional_branch): New function.
24906         * mips.md (length): Adjust attribute definition to handle
24907         conditional branches.  Change lengths to bytes, rather than
24908         instructions throughout.  Remove length attribute from
24909         instructions whose length is four bytes, and rely on the default
24910         instead.
24911         (dslot): Fix typo in comment.
24912         Reword conditional branch patterns to use
24913         mips_output_conditional_branch.
24914
24915 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
24916
24917         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
24918         (LIB_SPEC): Likewise.
24919         Link with -lprof1_r for -g/-pg.
24920
24921 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24922
24923         * loop.c (check_dbra_loop): Fix change of Jan 19.
24924
24925 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
24926
24927         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
24928         (STARTFILE_SPEC):  Define, override the svr4.h version.
24929         (ENDFILE_SPEC):  Likewise.
24930
24931 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
24932
24933         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
24934         * fixinc/fixincl.x: Regenerated.
24935         * fixinc/inclhack.sh: Regenerated.
24936
24937 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24938
24939         * sh.c (barrier_align): Don't return early for normal branch/barrier
24940         when optimizing for SH2.
24941
24942 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
24943
24944         * i386/udk.h (LINK_SPEC): Correct linker search path for
24945         system libraries.
24946
24947 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24948
24949         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
24950         (braf_label_ref_operand): Delete.
24951         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
24952         * sh.md (casesi_jump_2): Operand1 is now the inside of a
24953         label_ref, and has no predicate.
24954         The patten has a predicate to guard against invalid substitutions.
24955         (dummy_jump): Delete.
24956         (casesi): Update use of casesi_jump_2.
24957
24958 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24959
24960         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
24961         *fixinc/fixincl.x: regenerate
24962         *fixinc/inclhack.sh: regenerate
24963
24964 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
24965
24966         * dwarf2out.c (add_incomplete_type): New fn.
24967         (gen_struct_or_union_type_die): Call it.
24968         (retry_incomplete_types): New fn.
24969         (dwarf2out_finish): Call it.
24970
24971 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
24972
24973         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
24974         current block starts with a CODE_LABEL and ends with a CALL and
24975         we can not find all the argument setup instructions for the CALL.
24976
24977 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
24978
24979         Revert this change:
24980         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24981         something is a candidate for optimize_bit_field_compare.
24982
24983 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24984
24985         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
24986
24987 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
24988
24989         * alpha.c (override_options): Thinko in last patch.
24990
24991         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
24992         (LIB_SPEC): Recognize -pthread.
24993
24994 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
24995
24996         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
24997         definition in config/arm/coff.h
24998         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
24999
25000 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25001
25002         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
25003         fixes that need "file=xxx\n" prepended before invocation
25004         (start_fixer - new): starting the fixer process is complex enough
25005         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
25006         (process): uses the new routine; omit usage of putenv()
25007         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
25008         * fixinc/fixincl.x: regenerate
25009
25010 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
25011
25012         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
25013         and version #s (1.1 -> 2.96) as needed.
25014         * README.g77: Kill way out of date file in the toplevel directory.
25015
25016 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
25017
25018         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
25019         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
25020         * configure: Rebuilt.
25021         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
25022         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
25023         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
25024         (SWITCH_TAKES_ARG): Likewise.
25025         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
25026         * config/t-freebsd: Moved from config/i386/ so it can used for all
25027         FreeBSD targets.
25028
25029 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
25030
25031         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
25032
25033 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
25034
25035         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
25036         * configure: Rebuilt.
25037
25038 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
25039
25040         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
25041         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
25042         * rs6000/rs6000.c (rs6000_file_start): Use putc.
25043         (rs6000_output_load_toc_table): Same.
25044         (output_prolog, output_mi_thunk): Same.
25045         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
25046         (ASM_GLOBALIZE_LABEL): Use putc.
25047
25048 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
25049
25050         * alpha.md (reload_*_help): New patterns and splitters.
25051         (reload_*): Use them.
25052         (mov[qh]i): Likewise.
25053
25054 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
25055
25056         * cccp.c (handle_directive): Handle backslash-newlines in quoted
25057         strings correctly.
25058
25059 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
25060
25061         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
25062
25063 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
25064
25065         * flow.c (mark_regs_live_at_end, insn_dead_p,
25066         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
25067         and HARD_FRAME_POINTER_REGNUM special treatment if reload
25068         hasn't run or the frame pointer is needed.
25069         * haifa-sched.c (attach_deaths): Likewise.
25070         * sched.c (attach_deaths): Likewise.
25071
25072 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
25073
25074         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
25075         calculate_can_reach_end returns nonzero.
25076
25077         * configure.in (native gas tests): Search for an assembler in the
25078         same manner that the installed compiler will.
25079         * configure: Rebuilt.
25080         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
25081
25082         * alias.c (find_base_term): Improve handling of addresses
25083         constructed from binary operations.
25084
25085 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
25086
25087         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
25088
25089 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
25090
25091         * function.h (cleanup_label, frame_offset): Declare.
25092         (tail_recursion_label, tail_recursion_reentry): Likewise.
25093         (arg_pointer_save_area, rtl_expr_chain): Likewise.
25094         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
25095         (tail_recursion_label, tail_recursion_reentry): Likewise.
25096         (arg_pointer_save_area, rtl_expr_chain): Likewise.
25097
25098 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
25099
25100         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
25101         defined.
25102         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
25103         (MAX_OFILE_ALIGNMENT): Define.
25104
25105 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
25106
25107         * fixincl.c: Replace local include scheme with #includes of
25108         gansidecl.h and system.h.
25109         * procopen.c:  Likewise.
25110         * server.c:  Likewise.
25111
25112 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
25113
25114         * i386/t-dgux (EXTRA_PARTS): Add crti.o
25115         (crti.o): Add build rule and dependencies.
25116         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
25117
25118 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25119
25120         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
25121         (LIB_LINUX_SPEC): Likewise.
25122         (LIB_LINUX_SPEC): Add support for -pthread
25123         (CPP_OS_LINUX_SPEC): Likewise.
25124         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
25125         specified.
25126
25127 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
25128
25129         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
25130         conditional move.
25131         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
25132         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
25133         for IEEE math and CC_FCOMI.
25134         (put_jump_code): No IEEE if CC_FCOMI is set.
25135
25136 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
25137
25138         * fold-const.c (fold_truthop): Make the field reference unsigned
25139         when converting a single bit compare.
25140
25141 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25142
25143         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
25144
25145 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
25146
25147         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
25148         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
25149         version did.
25150
25151         * reload.c (push_reload): Do not call remove_address_replacements
25152         when presented with identical optional reloads.
25153
25154 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
25155
25156         * alpha.h (MASK_FIX, TARGET_FIX): New.
25157         (MASK_*): Reorganize constants.
25158         (CPP_AM_FIX_SPEC): New.
25159         (TARGET_SWITCHES): Add FIX.
25160         (EXTRA_SPECS): Likewise.
25161         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
25162         (SECONDARY_MEMORY_NEEDED): Likewise.
25163         (REGISTER_MOVE_COST): Likewise.
25164         * alpha.c (override_options): Add FIX support.  Always use
25165         ALPHA_TP_PROG for ev6.
25166         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
25167         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
25168         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
25169
25170 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
25171
25172         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
25173         something is a candidate for optimize_bit_field_compare.
25174
25175 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
25176
25177         * gcc.texi (Passes): Document branch-shortening.
25178         * invoke.texi (Debugging Options): Document the fact that `-dp'
25179         outputs length information for instructions.
25180
25181 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
25182
25183         * flow.c: Revert previous delta.
25184
25185 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
25186
25187         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
25188         FRAME_POINTER_REGNUM.
25189         (mark_set_1): Ditto.
25190         (mark_used_regs): Ditto.
25191
25192 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
25193
25194         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
25195         (GOT_PCREL): New macro.  Define to 1 if not already defined.
25196         * arm/elf.h (GOT_PCREL): Define to 0.
25197         * arm.c (arm_finalize_pic): Take into account the setting of
25198         GOT_PCREL.
25199
25200 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
25201
25202         * output.h (STRIP_NAME_ENCODING): Provide default definition.
25203         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
25204
25205         * flow.c (mark_set_1): Do not record BLKmode stores as dead
25206         store elimination candidates.
25207
25208 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25209
25210         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
25211         TARGET_GAS.
25212
25213 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
25214
25215         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
25216         Add use of x-aix41-gld.
25217
25218 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
25219
25220         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
25221         (ASM_OUTPUT_DESTRUCTOR): Define.
25222
25223 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
25224
25225         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
25226         last CODE_LABEL in a loop if we have previously passed a jump
25227         to the top of the loop.
25228
25229 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
25230
25231         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
25232         applying Philip's patch.
25233
25234 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
25235
25236         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
25237         are not VAR_DECLs.
25238
25239 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
25240
25241         * loop.c (strength_reduce): Grow reg_single_usage as needed.
25242
25243 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
25244
25245         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
25246         Also remove a useless comment.
25247
25248 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
25249
25250         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
25251
25252 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
25253
25254         * collect2.c (main): Only generate import or export file and add
25255         to link arguments if non-empty.  Use xmalloc not alloca.
25256         (write_{export,import}_file): Delete.
25257         (write_aix_file): New function.
25258         (locatelib): Use xmalloc not malloc.
25259         (GCC_OK_SYMBOL): Do not check type if aix64.
25260
25261 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
25262
25263         Based on patch by Scott Bambrough and Pat Beirne:
25264         * config/arm/arm.c (making_const_table): New variable.
25265         * config/arm/arm.h (making_const_table): Declare.
25266         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
25267         appropriate.
25268         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
25269         Keep track of when we are building the constant table.
25270
25271 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
25272
25273         * config/arm/arm.c (arm_override_options): Fix erroneous warning
25274         message.
25275
25276 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
25277
25278         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
25279         defined.
25280
25281 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
25282
25283         * tm.texi (FUNCTION_ARG): Correct description of a stack element
25284         in a PARALLEL.
25285
25286 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
25287
25288         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
25289
25290 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25291
25292         * rs6000.c (output_mi_thunk): Enable full support again.
25293
25294 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25295
25296         * sh.h (BRANCH_COST): Define.
25297
25298 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
25299
25300         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
25301
25302 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
25303
25304         * function.c (assign_stack_local): Align stack slot propertly.
25305         (assign_outer_stack_local): Likewise.
25306
25307 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
25308
25309         * expr.h (lang_expand_constant): Declare.
25310         * toplev.c (lang_expand_constant): Define it.
25311         * varasm.c (output_constant): Use it.
25312
25313 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25314
25315         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
25316         Change function definitions to K&R style.
25317
25318 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25319
25320         * fixinc/fixincl.c: We must not ignore SIGCLD now.
25321
25322 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
25323
25324         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
25325         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
25326         (several places): omit static initialization
25327         (process): use single fd, since only the read fd is used
25328         * fixinc/gnu-regex.c: define 'const' away, if not supported
25329         * fixinc/procopen.c(several places): omit static initialization
25330         * fixinc/server.c: define 'volitile' away, if not supported
25331
25332 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
25333
25334         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
25335         asm_fprintf and %L to generate the label name.
25336         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
25337         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
25338
25339 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
25340
25341         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
25342         insn for a conditional jump can not be found.
25343
25344 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
25345
25346         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
25347         on variables in specific sections other than .sbss and .sdata.
25348
25349 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
25350
25351         * stmt.c (expand_return): Call start_cleanup_deferral and
25352         end_cleanup_deferral around conditional code.
25353
25354 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25355
25356         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
25357         filename lists.  Utilizes new "krstr" AutoGen function.
25358         * fixinc/fixincl.x: Rebuilt.
25359
25360 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
25361
25362         * i386.c (output_float_compare): Avoid GNU-C extensions.
25363
25364 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
25365
25366         * version.c: Bump to distinguish mainline tree from the
25367         gcc-2.95 branch.
25368
25369 See ChangeLog.1 for earlier changes.
25370
25371