OSDN Git Service

b1e00d1212c5c78a55a24a948ab2442ed230ae15
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
2
3         * ifcvt.c (if_convert): Scan and kill dead code.
4
5         * emit-rtl.c (unshare_all_rtl): Store the copied rtx.
6
7 2000-05-20  Zack Weinberg  <zack@wolery.cumb.org>
8
9         * diagnostic.c: Eliminate implicit int.
10         * except.c, gcc.c: Add static prototypes.
11         * final.c (final_end_function): Mark file arg ATTRIBUTE_UNUSED.
12         * gensupport.c (process_rtx): Use XVEC to initialize vector
13         slot of 'split'.
14
15         * print-rtl.c: If DEBUG_REGISTER_NAMES, define static 
16         debug_reg_names instead of static reg_names.  If not, define
17         global reg_names.
18         * regclass.c: Don't define global reg_names unless
19         DEBUG_REGISTER_NAMES is defined.
20
21         * reload1.c (order_regs_for_reload): Remove unused variable.
22         * varasm.c: Include output.h after defaults.h.  Define
23         eh_frame_section as function of no args, not of unspecified args.
24
25         * gcc.c: Constify argbuf; arguments to store_arg,
26         process_command, main; elements of struct command and struct
27         switchstr; local variables in execute, process_command, main.
28
29 2000-05-20  Bruce Korb  <bkorb@gnu.org>
30
31         * fixinc/inclhack.def:  many applications of c_fix=format + tests
32         * fixinc/check.diff:  regenerated
33         * fixinc/fixincl.x:  regenerated
34
35 Sat May 20 09:30:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
36
37         * alias.c: Clarify some comments.
38         (record_base_value): REGNO is unsigned.
39         * rtl.h (record_base_value): Likewise.
40
41         * alias.c (aliases_everything_p): Don't special-case QImode here.
42         * c-common.c (c_get_alias_set): Do it here.
43         Handle BIT_FIELD_REF by getting alias info for arg.
44         Use POINTER_TYPE_P.
45
46 2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
47
48         * mklibgcc.in: Restore rule to create ${dir}.
49
50 Sat May 20 08:45:41 2000  H.J. Lu  <hjl@gnu.org>
51
52         * Makefile.in (libgcc.mk): Depend on xgcc$(exeext) for
53         GCC_FOR_TARGET used by MULTILIBS.
54         * mklibgcc.in: Make sure each .o file depends on the
55         directory it will be in.
56         Make the multilib directory depends libgcc.
57
58 Sat May 20 08:29:28 2000  H.J. Lu  <hjl@gnu.org>
59
60         * Makefile.in (bootstrap): Unset LANG_LIB2FUNCS for stage 1.
61
62 Sat May 20 07:27:35 2000  Alexandre Oliva  <aoliva@cygnus.com>
63
64         * fold-const.c (make_range): Handle degenerated intervals.
65         Fixes c-torture/execute/991221-1.c
66
67 Fri May 19 18:16:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
68
69         * cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0.
70         * reload.c (find_equiv_reg): Likewise.
71         * alias.c (init_alias_analysis): Likewise.
72         Only call prologue_epilogue_contains on insns.
73         * basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
74         * bb-reorder.c (hard-reg-set.h): Include earlier.
75         * haifa-sched.c (hard-reg-set.h): Likewise.
76         * ifcvt.c (hard-reg-set.h): Likewise.
77         * local-alloc.c (hard-reg-set.h): Likewise.
78         * loop.c (hard-reg-set.h): Likewise.
79         * predict.c (hard-reg-set.h): Likewise.
80         * regrename.c (hard-reg-set.h): Likewise.
81         * flow.c (hard-reg-set.h): Likewise.
82         (reg_set_to_hard_reg_set): New function.
83         * bitmap.c (regs.h, basic-block.h): No longer include.
84         (bitmap.h): Now include.
85         * conflict.c (hard-reg-set.h): Include.
86         * profile.c (hard-reg-set.h): Likewise.
87         * print-rtl.c (hard-reg-set.h): Likewise.
88         * sbitmap.c (hard-reg-set.h): Likewise.
89         * toplev.c (hard-reg-set.h): Likewise.
90         * unroll.c (hard-reg-set.h, basic-block.h): Likewise.
91         * hard-reg-set.h (reg_names): Now constant.
92         * regs.h (reg_names): Likewise.
93         * regclass.c (reg_names): Likewise.
94         * loop.h (basic-block.h): No longer include.
95         (bitmap.h): Now include.
96         * reload1.c (order_regs_for_reload): Avoid loop over reg sets.
97         * Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
98         (toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
99
100 2000-05-19  Jan Hubicka  <jh@suse.cz>
101             Richard Henderson  <rth@cygnus.com>
102
103         * basic-block.h (struct edge_def): New field "count".
104         (struct basic_block_def): Likewise.
105         * flow.c (entry_exit_blocks): Add count fileds.
106         (split_edge): Keep count information up-to-date.
107         (dump_edge_info, dump_flow_info): Dump count fields.
108
109         * final.c (count_instrumented_edges): Rename to edge from arc.
110         (end_final): Update users.
111         * profile.c: Include expr.h, basic-block.h.
112         (struct adj_list, ARC_TARGET, ARC_SOURCE, ARC_COUNT): Kill.
113         (struct bb_info, label_to_bb, label_to_bb_size, bb_graph): Kill.
114         (ignore_next_note, return_label_execution_count): Kill.
115         (bbg_file_name, da_file_name): Kill.
116         (edge_info, bb_info): New structures.
117         (EDGE_INFO, BB_INFO, GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): New macros.
118         (count_instrumented_edges, total_num_edges): Rename to edge from arc.
119         (total_num_edges_instrumented): Likewise.
120         (init_arc, expand_spanning_tree): Kill.
121         (fill_spanning_tree, tablejump_entry_p): Kill.
122         (instrument_edges):  Rewrite from instrument_arcs to use
123         commit_edge_insertions infrastructure.
124         (compute_branch_probabilities): Remove arguments; rewrite for
125         CFG infrastructure; use rtl_dump_file directly.
126         (branch_prob, find_spanning_tree): Likewise.
127         (union_groups, find_group): New.
128         (init_branch_prob): Make bbg_file_name and da_file_name local.
129         (end_branch_prob): Use rtl_dump_file directly.
130         (init_edge_profiler): Rename to edge from arc.
131         (output_arc_profiler): Kill.
132         (gen_edge_profiler): New.
133         (output_func_start_profiler): Turn off profiling.  Make the
134         constructor static when we can.
135         * rtl.h (branch_prob, end_branch_prob): Update prototypes.
136
137         * toplev.c (DFI_flow): Remove.
138         (DFI_cfg, DFI_life): New.
139         (dump_file): Update accordingly.
140         (compile_file): Call end_branch_prob if profile_arc_flag too.
141         (rest_of_compilation): Move flow1 cfg creation to DFI_cfg.  Do edge
142         profiling after the CFG is built.  Move flow1 life analysis to
143         DFI_life.  Always estimate remaining probabilities.
144
145 2000-05-19  Richard Henderson  <rth@cygnus.com>
146
147         * ifcvt.c (find_if_case_2): Don't allow THEN to be EXIT.
148
149         * flow.c (make_edges): The sibling call edge to exit is abnormal.
150
151 2000-05-19  Richard Henderson  <rth@cygnus.com>
152
153         * jump.c (redirect_jump): Add delete_unused argument.  Don't
154         remove labels and code following when LABEL_NUSES goes to zero.
155         (invert_jump): Likewise.
156         (jump_optimize_1): Fix redirect/invert arguments.
157         (do_cross_jump, thread_jumps): Likewise.
158         * flow.c (split_edge): Likewise.
159         * reorg.c (optimize_skip): Likewise.
160         (reorg_redirect_jump, relax_delay_slots, dbr_schedule): Likewise.
161         * profile.c (instrument_arcs): Likewise.
162         * loop.c (find_and_verify_loops): Likewise.  Fix indentation.
163         * rtl.h: Update prototypes.
164
165 Fri May 19 12:05:13 2000  Clinton Popetz  <cpopetz@cygnus.com>
166
167         * ssa.c (convert_from_ssa): Tell life_analysis we need death 
168         notes.
169         (make_regs_equivalent_over_bad_edges): Only look at abnormal
170         critical edges.
171
172 2000-05-19  Zack Weinberg  <zack@wolery.cumb.org>
173
174         * cpphash.c (funlike_macroexpand): Make sure not to walk p1
175         past l1 when deleting whitespace and markers.              
176
177         * cpplex.c (_cpp_scan_until): Clear AUX field of tokens.
178         * cpplib.c (do_unassert): Put the list to compare against on
179         the stack.
180
181 2000-05-19  Bruce Korb  <bkorb@gnu.org>
182
183         * fixinc/README:  cleaned up old documentation
184         * fixinc/check.diff: regenerated & verified on OSR5 on ix86
185         * fixinc/check.tpl: compute the list of needed directories
186         emit "#if defined(name)" because of conflict
187         omit machine name differences from output differences
188         * fixinc/inclhack.def( m88k_multi_incl ):  Use `wrap' function
189         (machine_name): change test text to use `sed' markers
190         * fixinc/fixincl.x: regen
191
192 Fri May 19 06:49:35 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
193
194         * config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
195         a CONSTRUCTOR.
196
197 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
198
199         * gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update
200         it to match the current practice.
201
202 2000-05-18  Mark Mitchell  <mark@codesourcery.com>
203
204         * Makefile.in (STAGESTUFF): Fix typo in spelling of s-under.
205
206 2000-05-18  Richard Henderson  <rth@cygnus.com>
207
208         * rtlanal.c (insn_dependant_p, insn_dependant_p_1): New.
209         * rtl.h (insn_dependant_p): Declare it.
210         * loop.c (strength_reduce): Use it.
211
212 2000-05-18  Alexandre Oliva  <aoliva@cygnus.com>
213
214         * config/mn10300/mn10300.c (expand_prologue, expand_epilogue):
215         16-bit and 64-bit clean-up.
216
217 2000-05-18 Mark Elbrecht <snowball3@bigfoot.com>
218
219         * configure.in (*-pc-msdosdjgpp): Set float_format to none.
220         * configure: Rebuilt.
221
222 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
223
224         * genopinit.c: Use $ for escape sequences in optab patterns.
225         Remove backslashes from optab patterns.  Change $A, $B, $C to
226         expand to (int) whatever instead of just whatever; remove
227         explicit (int) from all optab patterns.
228
229         * gensupport.c (xmalloc, xrealloc, xstrdup): Provide.
230         * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
231         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
232         genrecog.c: Remove private copies of xmalloc, xrealloc, and
233         xstrdup.
234
235 2000-05-18  Richard Henderson  <rth@cygnus.com>
236
237         * jump.c (jump_optimize_1): Base minimum insn count during
238         find_cross_jump on BRANCH_COST.
239
240 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
241
242         * print-rtl.c (print_rtx): Only print note line number as string
243         if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
244         * final.c (final_scan_insn): Do nothing for note line number 0.
245
246 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
247
248         * gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
249         from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from
250         NOTE_INSN_DELETED_LABEL.
251
252 2000-05-18  Nick Clifton  <nickc@cygnus.com>
253
254         * config/arm/unknown-elf.h (UNIQUE_SECTION): Place constant,
255         uninitialised data in .rodata not .bss, and do not interpret an
256         error in the initialisation value as meaning that the variable
257         should be placed in the .bss section.
258
259 Thu May 18 12:10:18 2000  Philippe De Muyter  <phdm@macqel.be>
260
261         * configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
262         not `$ac_cv_prog_cc_cc_c_o'.
263         * configure: Regenerated.
264
265 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
266             Richard Henderson  <rth@cygnus.com>
267
268         * c-common.h (enum c_tree_index): Add g77 type entries.
269         (g77_integer_type_node, g77_uinteger_type_node): New.
270         (g77_longint_type_node, g77_ulongint_type_node): New.
271         * c-decl.c (init_decl_processing): Initialize them.
272
273 2000-05-18  Richard Henderson  <rth@cygnus.com>
274
275         * config/h8300/h8300.md (subs patterns): Use %G to negate.
276
277         * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
278         (small_power_of_two): Likewise; use exact_log2.
279         (adds_subs_operand, one_insn_adds_subs_operand): Remove.
280         (output_adds_subs): Remove.
281         (two_insn_adds_subs_operand): New.
282         (split_adds_subs): New.
283         * config/h8300/h8300-protos.h: Update.
284         * config/h8300/h8300.h (CONST_OK_FOR_J): Cast to uns HOST_WIDE_INT.
285         (CONST_OK_FOR_L): Match strict adds operands.
286         (CONST_OK_FOR_N): Match struct subs operands.
287         * config/h8300/h8300.md (adds_subs insns): Remove.
288         (addhi patterns): Output adds/subs directly.
289         (addsi_h8300h): Likewise.
290         (addhi/addsi splitters): New.  Decompose two_insn_adds_subs_operand.
291
292 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
293
294         * cppexp.c (parse_assertion): New.
295         (lex): Call it for CPP_HASH.  Remove CPP_ASSERTION case.
296         (_cpp_parse_expr): Remove case '#'.  Don't set
297         parsing_if_directive.
298         * cpphash.c (collect_objlike_expansion,
299         collect_funlike_expansion, collect_params,
300         _cpp_create_definition): The list no longer has a trailing
301         VSPACE token.
302         * cpphash.h (enum node_type): Add T_ASSERTION.
303         (struct hashnode): Remove aschain, add pred.
304         (struct predicate): New.
305         Update prototypes.
306
307         * cpplex.c (expand_token_space): Handle both offset and
308         nonoffset lists.
309         (init_token_list, _cpp_free_token_list, _cpp_parse_assertion): Delete.
310         (_cpp_init_toklist, _cpp_clear_toklist, _cpp_free_toklist,
311         _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_equiv_tokens,
312         _cpp_equiv_toklists): New.
313         (_cpp_scan_line): Rename to _cpp_scan_until; add ability to
314         stop at any single-character token, not just newline.
315         (_cpp_lex_token): Remove special cases for #define and #if.
316         (cpp_get_token): Expect # as a separate token type.  Remove
317         DIRECTIVE case.
318         (_cpp_get_directive_token): Remove DIRECTIVE case.
319         (_cpp_lex_line, _cpp_lex_file, _cpp_init_input_buffer): Update.
320
321         * cpplib.c (_cpp_check_directive): Set dirno and
322         SYNTAX_INCLUDE bit of flags, not dir_handler and dir_flags.
323         (_cpp_handle_directive): Run # <number> through the same logic
324         as normal directives.
325         (do_define): Don't set parsing_define_directive.  Use
326         _cpp_scan_until.  The list does not have a VSPACE at the end.
327         (do_if): Save, clear, and restore only_seen_white around 
328         _cpp_parse_expr.
329         (skip_if_group): s/CPP_DIRECTIVE/CPP_HASH/
330         (do_assert, do_unassert): Rewrite.
331
332         * cpplib.h (TTYPE_TABLE): Remove CPP_ASSERTION.
333         (LIST_OFFSET): New flag.
334         (struct cpp_toklist): Replace dir_handler and dir_flags with
335         dirno and flags.
336         (struct cpp_reader): Remove parsing_if_directive and
337         parsing_define_directive.
338
339 2000-05-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
340
341         * fixinc/inclhack.def (broken_cabs): Update fix to handle comments
342         following the cabs decl which terminate on the following line.
343         Add the corresponding test_text case.
344
345 2000-05-18  Neil Booth  <NeilB@earthling.net>
346
347         * cppinit.c (cpp_reader_init): Initialise col_adjust and
348         default tab stop size.
349         (no_num, OPT_ftabstop): New.
350         (handle_option): Handle "ftabstop=" command-line option.
351         (print_help): Document it.
352         * cpplex.c (COLUMN): Remove.
353         (handle_newline): Reset col_adjust.
354         (skip_whitespace): Update col_adjust as tabs encountered.
355         (_cpp_lex_line): Update to use col_adjust.  Call
356         skip_whitespace for all whitespace.
357         * cpplib.h (struct cpp_options): New member tabstop.
358         (struct cpp_reader): New member col_adjust.
359         (CPP_BUF_COL): Update.
360         (CPP_BUF_COLUMN): New.
361         * cpp.texi: Document "-ftabstop=" command line option.
362
363 Wed May 17 18:19:41 2000  Philippe De Muyter  <phdm@macqel.be>
364
365         * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
366         files.
367         * configure: Rebuilt.
368
369 Wed May 17 18:06:12 2000  John David Anglin <dave@hiauly1.hia.nrc.ca>
370
371         * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
372
373         * tree.c (build_common_tree_nodes): Do not build TI nodes unless
374         HOST_BITS_PER_WIDE_INT is >= 64.
375
376 2000-05-17  Richard Henderson  <rth@cygnus.com>
377
378         * jump.c (jump_optimize_1): Remove inactive but real insns
379         in jump-to-next-insn optimization.
380
381 2000-05-17  Richard Henderson  <rth@cygnus.com>
382
383         * toplev.c (rest_of_compilation): Don't call optimize_mode_switching
384         unless OPTIMIZE_MODE_SWITCHING.  Conditionally set no_new_pseudos.
385         Don't call recompute_reg_usage if no_new_pseudos is true.
386         * lcm.c (optimize_mode_switching): Move ifdefs outside function.
387         Return true if we did work; update global life information.
388         * basic-block.h (optimize_mode_switching): Update decl.
389
390 2000-05-17  Neil Booth  <neilb@earthling.net>
391
392         * cpplex.c (expand_name_space): Don't use ptrdiff_t.
393
394 2000-05-17  Zack Weinberg  <zack@wolery.cumb.org>
395
396         * cpplib.c: New feature, #pragma system_header.
397         * cpp.texi: Document special treatment of system headers, and
398         the various mechanisms to get a header that special treatment.
399
400 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
401
402         * system.h (offsetof): Define at the very end, to ensure we prefer
403         the platform's definition if available.
404
405 2000-05-16  Bruce Korb  <bkorb@gnu.org>
406
407         * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
408         * fixinc/server.c: likewise
409         * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
410         + #ifdef debugging code + use #def constant for
411         sub-pattern count
412         * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
413         on C++ math namespace
414
415 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
416
417         * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
418         Don't check the return value of sprintf.  Use asprintf to avoid
419         buffer overflows.
420
421 Wed May 17 17:27:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>
422
423         * flags.h (warn_unused_function, warn_unused_label,
424         warn_unused_parameter, warn_unused_variable, warn_unused_value):
425         Replace ``warn_unused''.
426         (set_Wunused): Add declaration.
427         * toplev.c (set_Wunused): New function.
428         (warn_unused_function, warn_unused_label, warn_unused_parameter,
429         warn_unused_variable, warn_unused_value): New variables.
430         (W_options): Add -Wunused-function, -Wunused-function,
431         -Wunused-label, -Wunused-parameter, -Wunused-variable and
432         -Wunused-value.  Delete -Wunused.  Handled in decode_W_option.
433
434         * toplev.c (decode_W_option): Update -Wunused flags by calling
435         set_Wunused.
436         * c-decl.c (c_decode_option): Ditto for -Wall.
437
438         * stmt.c (expand_expr_stmt, expand_expr_stmt,
439         warn_about_unused_variables): Replace warn_unused with more
440         explicit warn_unused_value et.al.
441         * function.c (expand_function_end): Ditto.
442         * c-typeck.c (internal_build_compound_expr,
443         internal_build_compound_expr): Ditto.
444         * c-decl.c (poplevel, pop_label_level): Ditto.
445         * toplev.c (check_global_declarations): Replace warn_unused with
446         check for either warn_unused_function or warn_unused_variable.
447
448         * gcc.1, invoke.texi (Warning Options): Document
449         -Wunused-function, -Wunused-function, -Wunused-label,
450         -Wunused-parameter, -Wunused-variable and -Wunused-value options.
451
452 Wed May 17 10:28:12 2000  Philippe De Muyter  <phdm@macqel.be>
453
454         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
455         $(srcdir), not in the current directory.
456
457 2000-05-16  Richard Henderson  <rth@cygnus.com>
458
459         * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
460         assembler supports it.
461         (.fini, .init): Use a gp-relative indirect call.
462         (__do_global_dtors_aux): Preserve the gp; rebundle.
463         (__do_frame_setup): Likewise.
464         * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
465         (.init): Use a gp-relative indirect call.
466         (__do_global_ctors_aux): Preserve the gp.
467
468 2000-05-16  Richard Henderson  <rth@cygnus.com>
469
470         * flow.c (commit_one_edge_insertion): Be prepared for a return
471         insn to be inserted on the edge with a normal jump.
472         * jump.c (jump_optimize_1): Don't look to create return isns.
473
474         * flow.c (flow_delete_insn): Don't adjust reference count of notes.
475         * jump.c (jump_optimize_1): Likewise.
476         (returnjump_p): Verify the argument is a JUMP_INSN.
477         * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
478
479 2000-05-16  Nick Clifton  <nickc@cygnus.com>
480
481         * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
482         GET_RTX_CLASS (GET_CODE ()) == 'i'.
483         (large_insn_p): Ditto.
484         (m32r_is_insn): New function: Return true if the insn contains
485         an executable instruction.
486         (m32r_adjust_insn): Use m32r_is_insn.
487         (m32r_sched_reorder): Use m32r_is_insn.
488         (m32r_sched_variable_issue): Use m32r_is_insn.
489
490 2000-05-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
491
492         * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
493         VAR_DECL.
494
495         * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
496
497         * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
498         according to given options.
499
500 Tue May 16 12:17:31 2000  Jeffrey A Law  (law@cygnus.com)
501
502         * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
503         if X has VOIDmode either.
504         (LIMIT_RELOAD_CLASS): Similarly.
505
506         * mn10200.md (indirect_jump, tablejump): Use "register_operand",
507         not "general_operand" to match the processor's capabilities.
508
509 2000-05-16  Bruce Korb  <bkorb@gnu.org>
510
511         * fixinc/README:  corrected return address
512         * fixinc/check.diff:  regenerate, now that test works
513         * fixinc/fixfixes.c(format_fix,format_write): reformatted
514         (char_macro_def_fix,char_macro_use_fix): corrected and
515         rewrote to use regex to parse the text
516         * fixinc/inclhack.def: more testing
517         * fixinc/fixincl.x:  regenerated
518
519         * fixinc/inclhack.def: added several "test_text" attributes
520         changed several fixes to use `c_fix = format'
521         re-alphabetized the fixes
522
523         * fixinc/check.diff: regenerate
524         * fixinc/fixincl.x: regenerate
525         * fixinc/check.tpl: added `sparc' and `netinet' to the list
526         of created dirs
527
528
529 2000-05-16  Alexandre Oliva  <aoliva@cygnus.com>
530
531         * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
532
533 2000-05-15  Richard Henderson  <rth@cygnus.com>
534
535         * toplev.c (rest_of_compilation): Run full jump pass before
536         find_basic_blocks of flow2.
537
538 2000-05-15  Richard Henderson  <rth@cygnus.com>
539
540         * jump.c: Fix typos and clarify commentary from last change.
541         (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
542         (safe_to_remove_jump_p): Remove.
543         (condjump_label): Use pc_set.
544
545 2000-05-15  Richard Henderson  <rth@cygnus.com>
546
547         * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
548         that get in the way after reload.
549         (cond_exec_process_if_block): Skip a label heading THEN block.
550
551 2000-05-15  Richard Henderson  <rth@cygnus.com>
552
553         * varasm.c (output_constant_pool): Abort instead of converting
554         (improperly) deleted labels to zero.
555
556 2000-05-16  Neil Booth  <NeilB@earthling.net>
557
558         * cpplex.c (parse_string2): Update comment.
559         (cpp_lex_line): No special assertion treatment for '('.
560         * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
561         * cpplib.h (SYNTAX_ASSERT): Remove.
562
563 Mon May 15 21:45:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
564
565         * jump.c (condjump_p):  Mark as depreached.
566         (any_condump_p): New.
567         (any_uncondump_p): New.
568         (pc_set): New.
569         (safe_to_remove_jump_p): New.
570         * rtl.h (any_condump_p, any_uncondjump_p, pc_set
571         safe_to_remove_jump_p): Declare.
572
573 Mon May 15 21:07:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
574
575         * calls.c: Re-install both patches reverted by last patch.
576         (struct arg_data): New field tail_call_reg.
577         (initialize_argument_information): Initialize tail_call_reg
578         (load_register_parameters): New argument flags, use
579         tail_call_reg when emiting tail call sequence.
580         (expand_call): Update call of load_register_parameters;
581         copy unadjusted_args_size to adjusted_args_size.
582
583 Mon May 15 19:01:42 MET DST 2000  Jan Hubicka  <jh@suse.cz>
584
585         * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
586         and bct_p parameters to flags.
587         * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
588         * rtl.h (loop_optimize): Update prototype.
589         * toplev.c (rest_of_compilation): Update call of loop_optimize.
590
591 2000-05-15  Jakub Jelinek  <jakub@redhat.com>
592
593         * calls.c (expand_call): Move expand_start_target_temps call after
594         start_sequence().
595
596 2000-05-15  Neil Booth  <NeilB@earthling.net>
597
598         * cpphash.c (trad_stringify, warn_trad_stringify,
599         collect_params): Make some pointers pointers to const.
600         * cpplex.c (auto_expand_name_space) Guaranteed to always
601         expand by at least one character.
602         (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
603         (struct token_spelling): Use const U_CHAR * rather than PTR.
604         (expand_name_space): Fix up token pointers if name space
605         is moved when expanding.
606         (INIT_NAME, cpp_scan_line, parse_name, parse_number,
607         parse_string2, save_comment, spell_token, cpp_output_list):
608         Update so the routines handle tokens with a direct pointer to
609         their text, rather than an offset into the token's list's namebuf.
610         (_cpp_lex_line): Rearrange for clarity.
611
612         * cpplib.c (_cpp_check_directive): Similarly.
613         (do_define): Make SYM a pointer to const.
614         * cpplib.h (struct cpp_name): Replace offset with direct pointer.
615         (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
616         (TOK_OFFSET): Delete.
617         (TOK_NAME): Update.
618
619 2000-05-14  Geoffrey Keating  <geoffk@cygnus.com>
620
621         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
622         64-bit ABI.
623
624         * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE 
625         into account.
626         (logical_u_operand): Delete.
627         (non_logical_cint_operand): Rewrite to take MODE into account.
628         (non_logical_u_cint_operand): Delete.
629         (boolean_operator): New function.
630         (print_operand): Add new %q operand.
631         * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
632         remove logical_u_operand and non_logical_u_cint_operand,
633         update logical_operand and non_logical_cint_operand.
634         * config/rs6000/rs6000.md: Rewrite the patterns for performing
635         logical operations to use %q.
636
637         * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
638         (movdi): Make similar to movsi.
639         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
640         is no such thing as a DImode CONST_DOUBLE.
641         * config/rs6000/rs6000.c (output_toc): Likewise.
642         
643         * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
644         codes when old mnemonics are in use.  Print register names
645         for cc registers when requested.
646
647         * optabs.c (expand_float): Don't allow mode widening that causes
648         double rounding.
649
650         * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
651         flags to their current names -maix64 and -maix32.
652
653 2000-05-14  Bruce Korb  <bkorb@gnu.org>
654
655         * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
656         and/or after current text of file
657         * fixinc/fixlib.c(must_malloc):
658         * fixinc/fixlib.h(must_malloc): + reformatting
659         * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
660         with usages of ``c_fix = wrap;''
661         Add several tests and use the ``c_fix = format'' fixer more.
662         * fixinc/fixincl.x: regen
663         * fixinc/check.diff: regen
664         * fixinc/check.tpl: emit the associated header with the missing
665         test message
666
667 Sun May 14 17:58:59 2000  Hans-Peter Nilsson  <hp@axis.com>
668
669         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
670         variables $src and $dst.
671         
672 2000-05-13  Gabriel Dos Reis <gdr@codesourcery.com>
673
674         * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
675         (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
676         (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
677         (struct output_buffer: emitted_prefix_p, prefixing_rule): New
678         fields. 
679         (set_message_prefixing_rule): Declare.
680
681         * diagnostic.c: (current_prefixing_rule): New variable.
682         (set_message_prefixing_rule): Define.
683         (output_set_prefix): Adjust buffer->emitted_prefix_p.
684         (init_output_buffer): Adjust Initialization.
685         (output_emit_prefix): Rewrite.  Take prefixing rules into account.
686         
687 Sat May 13 11:05:47 2000  Philippe De Muyter  <phdm@macqel.be>
688
689         * ifcvt.c (if_convert): Do not free NULL.
690
691 2000-05-12  Nick Clifton  <nickc@cygnus.com>
692
693         * config/fr30/fr30.c (fr30_move_double): New function:  Emit code
694         to move a double word value.
695         (di_operand): New function: Return true if the operand is suitbale
696         for a double word move operation.
697         (nonimmediate_di_operand): New function: Return true if the
698         operand is a DImode register or MEM.
699
700         * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
701         nonimmediate_di_operand.
702
703         * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
704         nonimmediate_di_operand.
705
706         * config/fr30/fr30.md (movdi): New pattern.  Required because
707         other patterns generate DImode results.
708         (movdi_insn): New pattern.
709
710 2000-05-12  Richard Henderson  <rth@cygnus.com>
711
712         * config/alpha/alpha.c (struct shadow_summary): Define
713         bitfields as type unsigned int.
714
715 Sat May 13 00:09:59 2000  Denis Chertykov  <denisc@overta.ru>
716
717         * config/avr/t-avr: Added definition of FLOAT while generates
718         fp-bit.c
719
720         * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
721         peepholes for tst+jump = sbrs/sbrc optimization.
722
723 Fry May 12 20:03:00 CEST 2000  Jan Hubicka  <jh@suse.cz>
724
725         * expr.c (emit_push_insn): Do not adjust stack pointer when
726         preallocating.
727
728 Fri May 12 19:03:58 2000  Philippe De Muyter  <phdm@macqel.be>
729
730         * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
731         * system.h (offsetof): ... to here.
732
733 2000-05-12  Richard Henderson  <rth@cygnus.com>
734
735         * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
736         * final.c (final_end_function): Use app_disable.  Rearrange note
737         handling into a switch.  Emit deleted labels.
738         (output_asm_label): Generate label strings for deleted labels.
739         * flow.c (tail_recursion_label_list): New.
740         (find_basic_blocks_1): Set label_value_list directly.  Collect list
741         of tail recursion labels from call_placeholders.  Don't add deleted
742         labels to the label value list.
743         (cleanup_cfg): Use free_EXPR_LIST_list.
744         (flow_delete_insn_chain): Turn non-removable labels into notes.
745         (flow_delete_block): Don't disable deleting the block because of
746         a non-removable label.
747         (tail_recursion_label_p): New.
748         (merge_blocks_move_predecessor_nojumps): Don't disable the merge
749         because of a label.
750         (merge_blocks_move_successor_nojumps): Likewise.  Also move a
751         jump table.
752         (merge_blocks): Disable a merge because of tail recursion labels.
753         * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
754         Use a more accurate measure of not merging the join block.
755         (find_if_block): Don't disable conversion because of a label.
756         (find_if_case_1, find_if_case_2): Likewise.
757         * jump.c (duplicate_loop_exit_test): Preserve the kind of list
758         element when copying.
759         (squeeze_notes): Also leave EH notes.
760         (mark_jump_label): Ignore deleted labels.  Use an INSN_LIST for
761         REG_LABEL notes.
762         (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
763         deleting a label.
764         * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
765         NOTE_INSN_DELETED_LABEL.  Print `[# deleted]' for a label_ref
766         referring to a deleted label.  Convert tail handling to a switch.
767         * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
768         for NOTE_INSN_DELETED_LABEL.
769         (NOTE): Fix commentary.
770         * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
771         (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
772         (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
773         (LABEL_NUSES, LABEL_REFS): Likewise.
774         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
775
776 2000-05-12  Bruce Korb  <bkorb@gnu.org>
777
778         * fixinc/fixfixes.c(format_write): buglet & relaxed rules
779         * fixinc/check.diff: updated
780         * fixinc/inclhack.def: corrected & added some test_text-s
781         * fixinc/genfixes: removed unneeded options to autogen invocation
782         * fixinc/fixincl.tpl: Specified the output file
783         * fixinc/fixfixes.c: visual appearance
784         * fixinc/fixincl.x: regenerate
785
786 2000-05-12  Zack Weinberg <zack@wolery.cumb.org>
787
788         * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
789         CTRL_defn_fix): Delete.
790         (fix_char_macro_defines, fix_char_macro_uses): Rename to
791         char_macro_def_fix and char_macro_use_fix, respectively.  Put
792         them into the FIXUP_TABLE.  Get the string to search for from
793         a c_fix_arg.
794
795         (format_write): New function.
796         (format_fix): Use it.
797
798         (FIX_PROC_HEAD): Constify text parameter.
799         (machine_name_fix): Constify all char *s.
800         * fixtests.c (skip_quote): Remove double static.
801
802         * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
803         ctrl_use_quotes): Update for new scheme.
804         * fixincl.x: Regenerate.
805
806 2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
807
808         * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
809         DWARF2_DEBUG.
810         (DWARF2_ASM_LINE_DEBUG_INFO): Define.
811         (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
812
813 2000-05-11  Robert Lipe <robertlipe@usa.net>
814
815         * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
816         * fixincl.x: Regenerate.
817
818 2000-05-11  Richard Henderson  <rth@cygnus.com>
819
820         * calls.c: Revert both 05-09 patches.
821
822 2000-05-11  Alexandre Oliva  <aoliva@cygnus.com>
823
824         * config/mn10300/mn10300.c (print_operand): Print FP constants in
825         hexadecimal.
826         * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
827         for FP values.
828
829         * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
830         and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
831
832 2000-05-11  Jason Merrill  <jason@casey.cygnus.com>
833
834         * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
835
836 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
837
838         * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
839
840 Thu May 11 22:28:05 2000  Denis Chertykov  <denisc@overta.ru>
841
842         * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
843         * config/avr/avr.c (jump_over_one_insn_p): New function.
844         * config/avr/avr.md: New peepholes added. Output test and
845         conditional jump to "sbrc" or "sbrs" command.
846
847 2000-05-11  Mark Elbrecht  <snowball3@bigfoot.com>
848
849         * cppmain.c (main): Use IS_DIR_SEPARATOR.
850
851 2000-05-11  Jakub Jelinek  <jakub@redhat.com>
852
853         * except.c (find_exception_handler_labels_1): New function.
854         (find_exception_handler_labels): Split into two functions, dive
855         into CALL_PLACEHOLDERs when looking for exception handler labels.
856
857 2000-05-11 Stan Cox <scox@cygnus.com>
858
859         * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
860         * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
861         * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
862
863 2000-05-11  Bruce Korb  <bkorb@gnu.org>
864
865         * fixinc/fixfixes.c (double_slash_fix):  obsolete
866         (else_endif_label_fix): obsolete
867         (format_fix):  new, unused as yet
868         (main): obsolete
869         * fixinc/fixlib.h: added fix description struct for use by format_fix
870         * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
871         * fixinc/Makefile.in:  compile fixfixes.c and fixtests.c as separate
872         modules.  Removed the vestiges of the script version.
873         Added support for "make check".
874         * fixinc/check.diff: base diff file (needs work!!)
875         * fixinc/check.tpl: quiet the fixup output
876         * fixinc/fixtests.c (main): obsolete
877         * fixinc/fixincl.sh:  don't bother copying fixincl to ..
878         * fixinc/fixincl.tpl:  provide for arguments to c_fix routines
879
880 Thu May 11 11:57:02 MET DST 2000  Jan Hubicka <jh@suse.cz>
881
882         * toplev.c (rest_of_compilation): Remove dead code after
883         combine.
884
885 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
886
887         * cpphash.c (collect_funlike_expansion): Make "# is not
888         followed by a macro argument name" a pedwarn, not an error.
889         Preserve the # in the output.  Suppress the warning if lang_asm.
890
891 Thu May 11 01:19:31 2000  Jeffrey A Law  (law@cygnus.com)
892
893         * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
894         * configure: Rebuilt.
895
896 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
897
898         * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
899
900 2000-05-10  Kazu Hirata  <kazu@hxi.com>
901
902         * combine.c (try_combine): Fix a typo.
903
904 Wed May 10 21:31:44 2000  Jim Wilson  <wilson@cygnus.com>
905
906         * config/ia64/ia64.md (insv): Add comment.
907
908 2000-05-10  Richard Henderson  <rth@cygnus.com>
909
910         * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
911         * mklibgcc.in: Rewrite to not use functions.  Don't shortcut
912         dependancies on FPBIT and DPBIT.
913
914 2000-05-10  Nick Clifton  <nickc@redhat.com>
915
916         * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
917         when optimising for size.
918         (mark_used_regs:) Ditto.
919         (try_pre_increment_1): Ditto.
920
921 2000-05-10  Zack Weinberg  <zack@wolery.cumb.org>
922
923         * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
924         Make error message friendlier.
925
926         * cpphash.h (struct hashnode): Use struct hack for name
927         member.
928         * cpphash.c (struct hashdummy): New.
929         (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
930         (make_HASHNODE): No need to set ->name pointer.  Correct
931         setting of p.
932         (cpp_lookup): Make 'dummy' a struct hashdummy.  Tidy up a bit.
933
934 2000-05-10  Richard Henderson  <rth@cygnus.com>
935
936         * flow.c (find_basic_blocks_1): Remove any spare bb_note
937         after completion.
938
939 2000-05-10  Bruce Korb  <bkorb@gnu.org>
940
941         * fixinc/gnu-regex.c:  reg_syntax_t re_syntax_options must be static
942
943 2000-05-10  Eric Schweitz  <schweitz@nortelnetworks.com>
944
945         * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
946         after we enter .debug.
947
948 2000-05-10  Jason Merrill  <jason@casey.cygnus.com>
949
950         * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
951         abstract instance of a nested inline function.
952
953         * stor-layout.c (finish_record_layout): finalize_type_size
954         before laying out the pending_statics.
955
956 Wed 10 May 09:36:47 2000  Neil Booth  <NeilB@earthling.net>
957
958         * cpplex.c (spell_token): New function.
959         (spell_string, spell_comment, spell_name): fold into
960         spell_token.    
961         (I, S): Add macros.
962         (E, H): Remove macros.
963         (save_comment): Save comment opening characters too.
964         (_cpp_lex_file): Update to use spell_token.  Tidy up comment
965         handling.
966         * cpplib.h (I, S): Add macros.
967         (E, H): Remove macros.
968         (TTYPE_TABLE): Update entries for new speller.
969         (SYNTAX_ASSERT): Remove.
970
971 Wed 10 May 09:08:30 2000  Neil Booth  <NeilB@earthling.net>
972
973         * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
974         when removing escaped newlines.  Reverse sense of test for
975         escaped newline.
976
977 2000-05-09  Richard Henderson  <rth@cygnus.com>
978
979         * flow.c (find_basic_blocks_1): Do not delete the first
980         bb_note we run across.
981         (create_basic_block): Use reorder_insns to move an existing
982         bb_note to the correct place.
983
984 2000-05-09  Richard Henderson  <rth@cygnus.com>
985
986         * calls.c (expand_call): Increment currently_expanding_call
987         before calling optimize_tail_recursion.
988
989 Tue May  9 18:54:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
990
991         * reload1.c (reload_combine): Fix errors in last change.
992
993 2000-05-09  Zack Weinberg  <zack@wolery.cumb.org>
994
995         * gcc.c (used_arg): Skip over a semicolon at the end of the
996         split-up loop; don't break out of it.
997
998         * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
999         (tree.o): Depend on output.h.
1000
1001         * c-decl.c (pending_invalid_xref_file,
1002         current_function_prototype_file): Constify.
1003         (pushdecl): Constify a local char *.
1004         (define_label): Constify filename parameter.
1005         * c-lex.c (init_parse): Constify parameter and return value.
1006         * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
1007         * c-tree.h: Update prototypes.
1008         * c-parse.in: Constify filename member of %union, and if_stmt_file.
1009         * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
1010         objc/objc-parse.c: Regenerate.
1011
1012         * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
1013         * dwarfout.h: Update prototypes.
1014         * expr.c (expand_expr): Constify a local char *.
1015         * flags.h: Constify main_input_filename.
1016         * function.c (expand_function_end): Constify filename parameter.
1017         * genrecog.c (make_insn_sequence): Use a character array for
1018         c_test_pos.
1019         (main): Remove unused variables.
1020         * input.h: Constify input_filename, main_input_filename, and
1021         file_stack.name.  Update prototypes.
1022         * output.h: Declare first_global_object_name and
1023         weak_global_object_name here, as const char *.
1024         * stmt.c (expand_asm_operands): Constify filename parameter.
1025         * toplev.c (compile_file, push_srcloc, debug_start_source_file):
1026         Constify filename parameter.
1027         (input_filename, main_input_filename): Constify.
1028         * toplev.h: Update prototypes.
1029         * tree.c: Include output.h.  Don't declare
1030         first_global_object_name or weak_global_object_name.  Clean up string
1031         bashing in get_file_function_name_long.
1032         * tree.h (struct tree_decl): Constify filename member.
1033         (input_filename): Constify.
1034         Update prototypes.
1035         * varasm.c (first_global_object_name, weak_global_object_name):
1036         Constify.
1037         (assemble_start_function, assemble_variable): Clean up string bashing.
1038
1039         * gcc.c: Constify all spec-related strings initialized,
1040         transitively, from string constants.  Constify all strings
1041         and string variables related to multilibs.
1042         (set_spec, read_specs): Cast argument to free to PTR.
1043         (used_arg): Do not modify multilib_matches.  Use strncmp plus
1044         length comparison to compare multilib switches.
1045         * genmultilib: Constify everything declared in multilib.h.
1046
1047 Tue May  9 22:28:03 2000  Denis Chertykov  <denisc@overta.ru>
1048
1049         * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
1050         as deleted.
1051
1052 Tue May  9 20:52:43 2000  Denis Chertykov  <denisc@overta.ru>
1053
1054         * config/avr/avr-protos.h (extra_constraint): change a type of
1055         second argument from char to int to avoid warnings.
1056         (asm_output_byte): Likewise.
1057         
1058         * config/avr/avr.c (MAX_LD_OFFSET) New macro.
1059         (initial_elimination_offset): Handle elimination from
1060         FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
1061         (legitimate_address_p): Use MAX_LD_OFFSET.
1062         (legitimize_address): Likewise.
1063         (out_movqi_r_mr): Likewise.
1064         (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
1065         (out_movsi_r_mr): Use MAX_LD_OFFSET.
1066         (out_movsi_mr_r): Likewise.
1067         (out_movqi_mr_r): Likewise.
1068         (out_movhi_mr_r): Likewise.
1069         (notice_update_cc): Correct CC for the ashrqi3 with the shift
1070         count as CONST_INT != 6.
1071         (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
1072         shift count is a CONSTANT_P, but not a CONST_INT.
1073         (ashlhi3_out): Coding style modifications.
1074         (ashlsi3_out): Likewise.
1075         (ashrhi3_out): Likewise.
1076         (ashrsi3_out): Likewise.
1077         (lshrhi3_out): Likewise.
1078         (lshrsi3_out): Likewise.
1079         (ashrqi3_out): Generate shift for any known constant count without
1080         scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
1081         but not a CONST_INT.
1082         (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
1083         shift count is a CONSTANT_P, but not a CONST_INT. 
1084         (extra_constraint): change a type of
1085         second argument from char to int to avoid warnings.
1086         (asm_output_byte): Likewise.
1087         (asm_file_end): Output size generated commands count as a hex
1088         number too.
1089
1090         * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
1091
1092         * config/avr/avr.md (addhi3): Fragment commented by &&0 is
1093         removed.
1094         (ashlqi3): Values of "length" attribute changed. Shift count
1095         uses constraints 'n' instead of 'i'.
1096         (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
1097         shifts without clobber register.
1098         (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
1099         (call_insn): Correct test for which_alternative == 1 (was 0).
1100         (call_value_insn): Likewise.
1101         
1102         * config/avr/t-avr: Remove definition of FLOAT while generates
1103         fp-bit.c
1104
1105 2000-05-09  Bruce Korb  <bkorb@gnu.org>
1106
1107         * fixinc/check.tpl:  Template for checking fixes
1108         * fixinc/inclhack.def:  Added 'test_text' for many fixes
1109         disable hpux8_bogus_inlines on SCO
1110         * fixinc/fixinc.sco:  Oh, yes, we don't need this any more.
1111
1112 Tue May  9 16:30:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1113
1114         * calls.c (expand_call): Reorganize somewhat in order
1115         to avoid unnecesary recalculation inside loop and make
1116         tail call failure code cleaner.
1117         
1118 Tue May  9 06:30:20 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1119
1120         * alias.c (nonlocal_reference_p): Minor reformatting.
1121         * reload.c (find_equiv_reg): Simplify logic for
1122         CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
1123         some some reformatting.
1124         * reload1.c (reload_combine): Don't assume everything in
1125         CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
1126
1127 2000-05-08  Richard Henderson  <rth@cygnus.com>
1128
1129         * final.c (current_insn_predicate): New.
1130         (final_scan_insn): Set it.
1131         * output.h (current_insn_predicate): Declare.
1132
1133         * ifcvt.c (cond_exec_process_insns): New argument prob_val.
1134         Attach it to call insns.
1135         (cond_exec_process_if_block): Track probability for true and
1136         false branches.
1137         (dead_or_predicable): Likewise.
1138
1139         * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
1140         (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
1141         (PROB_VERY_LIKELY, PROB_ALWAYS): New.
1142         (estimate_probability, expected_value_to_br_prob): Use them.
1143
1144         * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
1145         * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
1146         (ia64_expand_prediction): New.
1147         (emit_insn_group_barriers): Don't look at notes.  Emit barriers
1148         as needed after calls.
1149         (ia64_epilogue_uses): Mark b0 used.
1150         * config/ia64/ia64.md (beq_true, beq_false): Remove.
1151         (bne_true, bne_false): Remove.
1152         (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
1153         (br_true, br_false): New.  Use predicate_operator and
1154         ia64_expand_prediction.
1155         (return_true, return_false): Likewise.
1156         (call_internal): Use ia64_expand_prediction.  Don't emit stop bit.
1157         (call_internal1, call_value_internal): Likewise.
1158         (call_value_internal1, call_multiple_values_internal1): Likewise.
1159
1160         * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
1161
1162         * config/ia64/ia64.md (extendsfdf2): Split only after reload.
1163
1164 2000-05-08  Richard Henderson  <rth@cygnus.com>
1165
1166         * rtlanal.c (may_trap_p): Consider old-style and volatile
1167         asms to trap.
1168
1169 Mon May  8 17:16:48 2000  Jim Wilson  <wilson@cygnus.com>
1170
1171         * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
1172
1173 2000-05-08  Richard Henderson  <rth@cygnus.com>
1174
1175         * config/ia64/ia64.h (predicate_operator): Declare.
1176
1177         * config/ia64/ia64.md (extendsfdf2): Split the nop case out
1178         of existance.
1179
1180         * gensupport.c (process_rtx): Copy and post-process each member
1181         of the define_insn rtvec individually.
1182
1183 Mon  8 May 22:17:35 2000  Neil Booth  <NeilB@earthling.net>
1184
1185         * cpplex.c (spell_token): New function.
1186         (TOKEN_LEN): Add 1 for whitespace.
1187         (_cpp_lex_file): Update to use spell_token.
1188         * cpplib.h (E): Remove.
1189         (TTYPE_TABLE): Update CPP_VSPACE entry.
1190
1191 2000-05-08  Richard Henderson  <rth@cygnus.com>
1192
1193         * flow.c (init_propagate_block_info): Watch out for conditional
1194         branch to next instruction, and thus one outgoing edge.
1195
1196         * config/ia64/ia64.c (ia64_encode_section_info): Exit early
1197         for global register variables; don't special case __[CD]TOR_LIST__;
1198         mind ggc_p for string allocation.
1199
1200 2000-05-08  Nick Clifton  <nickc@cygnus.com>
1201
1202         * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
1203
1204 2000-05-08  Bruce Korb  <bkorb@gnu.org>
1205
1206         * fixinc/mkfixinc.sh:  fixinc.sco is no longer used
1207         i?86-*-msdosdjgpp* no longer uses fixincludes
1208         * fixinc/genfixes:  inclhack.sh and fixincl.sh are no longer generated
1209         * fixinc/inclhack.sh:  deleted
1210         * fixinc/hackshell.tpl:  deleted
1211         * fixinc/inclhack.tpl:  deleted
1212         * fixinc/Makefile.in:  Remove dependencies on above
1213         * fixinc/fixincl.sh:  "DO NOT EDIT" text modified
1214
1215 2000-05-08  Andreas Jaeger  <aj@suse.de>
1216
1217         * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
1218         support.
1219
1220 2000-05-07  Zack Weinberg  <zack@wolery.cumb.org>
1221
1222         * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
1223         substitutions.
1224
1225 Sun  7 May 08:43:53 2000  Neil Booth  <NeilB@earthling.net>
1226
1227         * cpplex.c: Move new lexer definitions and prototypes
1228         to top.  Conditional include these and the code if
1229         NEW_LEXER is defined.  Rename functions whose names
1230         clash if this code included.
1231
1232 Sun May  7 00:54:57 EDT 2000  John Wehle  (john@feith.com)
1233
1234         * rtl.def (COND_EXEC): Clarify.
1235
1236         * i386.md (extendsidi2): Clobber (reg:CC 17) in the
1237         same fashion as zero_extendsidi2.
1238
1239 2000-05-06  Richard Henderson  <rth@cygnus.com>
1240
1241         * config/ia64/ia64.c (predicate_operator): New.
1242         (ia64_print_operand): Handle 'J'.
1243         (rtx_needs_barrier): Handle COND_EXEC.
1244         * config/ia64/ia64.h (BRANCH_COST): Define.
1245         (PREDICATE_CODES): Update.
1246         * config/ia64/ia64.md: Docuement used unspec values.
1247         (attr predicable): New.
1248         (movxf, movxf_internal): New.
1249         (extendsfdf2): Don't comment out nop.
1250         (floatdidf2): Remove.
1251         (truncxfsf2, truncxfdf2, floatdixf2): New.
1252         (abssi2, absdi2): Put the neg in the "true" slot.
1253         (conditional branch instructions): Mark not predicable.
1254         (cmov*_internal): Use predicate_operator.  Split to cond_exec.
1255         (abs*_internal): Likewise.
1256         (alloc, set_bsp): Mark not predicable.
1257         (barrier, insn_group_barrier, flush_cache): Likewise.
1258         (define_cond_exec): New.
1259
1260 2000-05-06  Richard Henderson  <rth@cygnus.com>
1261
1262         * c-decl.c: Include "tm_p.h".
1263
1264         * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
1265         (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
1266         (ia64_expand_op_and_fetch): Declare.
1267         * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
1268         (setjmp_operand): Constify variables for XSTR.
1269         (ia64_encode_section_info): Likewise.
1270         (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
1271         values to int.
1272         (ia64_asm_output_external): Constify name.
1273         (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
1274         (process_for_unwind_directive): Provide switch default.
1275         (ia64_expand_compare_and_swap): Remove unused variables.
1276         (ia64_expand_builtin): Likewise.
1277         * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
1278         for printing.
1279
1280         * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
1281         (symbolic_operand, function_operand, setjmp_operand): Likewise.
1282         (shift_count_operand, shift_32bit_count_operand): Likewise.
1283         (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
1284         (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
1285         (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
1286         (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
1287         (ia64_expand_builtin): Likewise.
1288         (call_multiple_values_operation): Make dest_regno unsigned.
1289
1290 2000-05-06  Richard Henderson  <rth@cygnus.com>
1291
1292         * rtl.def (DEFINE_COND_EXEC): New.
1293         * md.texi: Document it.
1294
1295         * gensupport.c (input_file): Remove.
1296         (struct queue_elem): Add lineno.
1297         (rtx_ready_queue): Remove.
1298         (errors): New.
1299         (predicable_default): New.
1300         (predicable_true, predicable_false): New.
1301         (define_attr_queue, define_attr_tail): New.
1302         (define_insn_queue, define_insn_tail): New.
1303         (define_cond_exec_queue, define_cond_exec_tail): New.
1304         (other_queue, other_tail): New.
1305         (queue_pattern): New.
1306         (process_rtx): Add patterns to the appropriate queues.
1307         (is_predicable, identify_predicable_attribute): New.
1308         (n_alternatives, collect_insn_data): New.
1309         (alter_predicate_for_insn, alter_test_for_insn): New.
1310         (shift_output_template, alter_output_for_insn): New.
1311         (process_one_cond_exec, process_define_cond_exec): New.
1312         (init_md_reader): Read the entire file.  Process define_cond_exec.
1313         (read_md_rtx): Return elements from the queues.
1314
1315 2000-05-06  Richard Henderson  <rth@cygnus.com>
1316
1317         * flow.c (mark_set_1): Don't update conditional life info
1318         if the register is not_dead.
1319
1320 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
1321
1322         * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
1323         (mostlyclean): Also delete fixincl, fixinc.sh, and
1324         specs.ready, and make clean in the fixinc subdir.
1325
1326 2000-05-06  Richard Henderson  <rth@cygnus.com>
1327
1328         * Makefile.in (gensupport.o): Compile for the host.
1329         (host-prefix gensuuprt.o): Remove.
1330         (genflags.o): Depend on gensupport.h and OBSTACK_H.
1331         (genattrtab.o): Likewise.
1332         (gencodes.o): Depend on gensupport.h.
1333         (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
1334         (genpeep.o, genattr.o, genoutput.o): Likewise.
1335
1336         * gensupport.c (obstack, rtl_obstack): New.
1337         (init_md_reader): Initialize rtl_obstack.
1338         * gensupport.h (rtl_obstack): Declare.
1339         (message_with_line): Declare.
1340
1341         * genattr.c: Remove all traces of obstack manipulation.
1342         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
1343         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
1344
1345         * genattrtab.c (obstack, rtl_obstack): Remove.
1346         (main): Don't init rtl_obstack.
1347         * genflags.c: Likewise.
1348
1349         * genrecog.c (message_with_line): Move ...
1350         * gensupport.c: ... here.
1351
1352 2000-05-06  Richard Henderson  <rth@cygnus.com>
1353
1354         * c-typeck.c (build_c_cast): Remove dead code.
1355
1356 2000-05-06  Richard Henderson  <rth@cygnus.com>
1357
1358         * flow.c (split_edge): Don't allocate global_live_at_start for
1359         the new block unless the old blocks had them as well.
1360
1361         * flow.c (mark_set_1): Respect not_dead when updating reg_live.
1362
1363         * ifcvt.c (noce_process_if_block): Don't use an insn_b from
1364         test_bb if a or b uses x.
1365
1366 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
1367
1368         * cpphash.h: Remove conditional #define of __extension__.
1369         * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
1370         RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
1371         (ENABLE_RTL_CHECKING only).
1372         * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
1373         CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
1374         (ENABLE_TREE_CHECKING only).
1375         * varray.h: Add __extension__ to VARRAY_CHECK macro
1376         (ENABLE_CHECKING only).
1377
1378 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
1379
1380         Use new tail-calling mechanism on ARM.
1381         * arm.md (sibcall, sibcall_value): New expands.
1382         (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
1383         (tailcalling peepholes): Delete.
1384         (push_multi): Simplify.
1385         * arm.c (lr_save_eliminated): Delete definition.
1386         (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
1387         (output_return_instruction): Remove checks on lr_save_eliminated.
1388         (output_arm_prologue): Remove old tail-calling code.
1389         (arm_output_epilogue): New parameter, really_return.  All callers
1390         changed.  Handle tail-calling epilogues.
1391         * arm.h (lr_save_eliminated): Delete declaration.
1392         (frame_pointer_needed): Delete declaration.
1393         * arm-protos.h (arm_output_epilogue): Adjust prototype.
1394
1395         * arm.md (is_thumb): Examine symbol thumb_code, not expression
1396         TARGET_ARM.
1397         * arm.c (thumb_code): Define it.
1398         (arm_override_options): Set it.
1399         * arm.h (thumb_code): Declare it.
1400         
1401 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
1402
1403         * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
1404
1405 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
1406
1407         * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
1408         bogus clobber to insns.
1409         (load_multiple_operation, store_mulitple_operation): Don't check 
1410         for it.
1411         * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
1412
1413         * arm.md (and_scc, ior_scc): Add missing mode.
1414
1415         * arm.md (call_value_symbol): Remove predicate from op2.
1416
1417         * arm.h (SPECIAL_MODE_PREDICATES): Define.
1418         
1419 Sat May  6 06:25:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1420
1421         * expr.c (get_subtarget): New function.
1422         (force_operand, expand_expr, do_store_flag): Use it.
1423
1424         * toplev.c (compile_file): Don't take strlen of NAME if null.
1425
1426 2000-05-06  David Edelsohn  <edelsohn@gnu.org>
1427
1428         * xcoffout.c (xcoff_current_include_file,
1429         xcoff_current_function_file, xcoff_lastfile): Constify char *.
1430         (xcoffout_source_file, xcoffout_source_line): Make filename 'const
1431         char *'.
1432         (xcoffout_declare_function): Make name 'const char *'.
1433         (xcoffout_end_epilogue): Make fname 'const char *'
1434         * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
1435         xcoffout_declare_function, xcoffout_source_line): Match above.
1436
1437         * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
1438         -maix64 is error.
1439         * rs6000.c (print_operand): Fix lossage typo.
1440         (output_cbranch): Remove "cr" decoration for now.
1441         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'. 
1442
1443 Sat May  6 06:55:32 2000  Denis Chertykov  <denisc@overta.ru>
1444
1445         * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
1446         constant count.
1447
1448 2000-05-05  Bruce Korb  <bkorb@gnu.org>
1449
1450         * fixinc/genfixes: Improve the matching for make target names
1451
1452 2000-05-05  Catherine Moore  <clm@cygnus.com>
1453
1454         * c-common.c (decl_attributes):  For TYPE_DECLs attach the
1455         attribute to the decl.
1456         * c-decl.c (pushdecl): Propagate the USED attribute to the 
1457         type copy.
1458
1459 2000-05-05  Richard Henderson  <rth@cygnus.com>
1460
1461         * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
1462         same way emit_group_load does.
1463
1464 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
1465
1466         * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
1467
1468         * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
1469         (main): Likewise.
1470
1471 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
1472
1473         * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
1474
1475 Fri May  5 10:29:21 2000  Marc Espie <espie@cvs.openbsd.org>
1476
1477         * config/openbsd.h (LINK_SPEC): pass correct flags to ld 
1478         to support -shared, on platforms with dynamic libraries.
1479
1480 Fri May  5 10:27:06 2000  Philippe De Muyter  <phdm@macqel.be>
1481
1482         * system.h (S_ISBLK): Provide fallback definition.
1483
1484 2000-05-05  Geoff Berry  <geoffb@bops.com>
1485
1486         * extend.texi (Extended Asm): Document inability to give asm
1487         statements access to condition codes.
1488
1489 2000-05-05  Marek Michalkiewicz  <marekm@linux.org.pl>
1490
1491         * varasm.c (asm_emit_uninitialised): Use 0, not NULL
1492         as arg 2 of UNIQUE_SECTION.
1493
1494 Fri May  5 10:11:41 2000  Jeffrey A Law  (law@cygnus.com)
1495
1496         * predict.c: Remove May 4 change.
1497         * bb-reorder.c (make_reorder_chain): Do not perform block movement
1498         if we have predicted the branch at 50-50 probability.
1499
1500 2000-05-05  Richard Henderson  <rth@cygnus.com>
1501
1502         * flow.c (init_propagate_block_info): Fix merge error
1503         in HAVE_conditional_execution code.
1504
1505 Fri May  5 07:43:50 2000  Denis Chertykov  <denisc@overta.ru>
1506
1507         * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
1508         shift cycle for unknown shift count. Also generates dec + brpl.
1509         (ashlqi3_out): Don't generate dec + brpl which now generates by
1510         `out_shift_with_cnt'.
1511         (ashlhi3_out): Likewise.
1512         (ashlsi3_out): Likewise.
1513         (ashrqi3_out): Likewise.
1514         (ashrhi3_out): Likewise.
1515         (ashrsi3_out): Likewise.
1516         (lshrqi3_out): Likewise.
1517         (lshrhi3_out): Likewise.
1518         (lshrsi3_out): Likewise.
1519
1520 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
1521
1522         * gcc.c (free_split_directories): Correct typo in explanation
1523         of make_relative_prefix.
1524
1525 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
1526
1527         * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
1528         comparison codes to branch_comparison_operator.
1529
1530 2000-05-04  Richard Henderson  <rth@cygnus.com>
1531
1532         * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
1533
1534 2000-05-04  Richard Henderson  <rth@cygnus.com>
1535
1536         * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
1537         (DPBIT_FUNCS): Remove _sf_to_usi.
1538         (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
1539
1540         * ifcvt.c (noce_process_if_block): Fail if A or B modified
1541         between condition and jump.
1542
1543         * libgcc2.c (near eh_context_specific): Comment #endif string.
1544         * longlong.h: Don't use strings with embedded newlines.
1545
1546 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
1547
1548         * config/rs6000/rs6000-protos.h: Add output_cbranch.
1549         * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
1550         (print_operand): Delete %t and %T codes.
1551         (output_cbranch): New function.  Support branch prediction.
1552         * config/rs6000/rs6000.md: Use output_cbranch for
1553         conditional branches and returns.
1554
1555 2000-05-04  Jason Merrill  <jason@casey.cygnus.com>
1556
1557         * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
1558         * stor-layout.c (place_field): Likewise.
1559         * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
1560         * expr.c (store_expr): Make align unsigned.
1561         * explow.c (plus_constant_wide): Make low words unsigned.
1562         * expmed.c (choose_multiplier): Likewise.
1563         * fold-const.c (fold):  Likewise.
1564         * tree.h (build_int_2): Likewise.
1565         * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
1566         * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
1567         (init_emit): Change cast to unsigned char*.
1568         * varasm.c (compare_constant_1): Add cast to char*.
1569         * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
1570         * reload1.c (reload): Likewise.
1571
1572         * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
1573
1574 Thu May  4 14:37:23 2000  Jeffrey A Law  (law@cygnus.com)
1575
1576         * predict.c (estimate_probability): If no prediction was found, then
1577         predict the successor that is the next physical block (if such a
1578         successor exists).
1579
1580 2000-05-04  Richard Henderson  <rth@cygnus.com>
1581
1582         * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
1583
1584 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1585
1586         * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
1587
1588 2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
1589
1590         * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move 
1591         attribute macros from here ...
1592         (CPP_SPEC): to here.
1593         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
1594         (CPP_SPEC): Likewise.
1595         * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros. 
1596
1597         * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
1598         (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
1599
1600 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1601
1602         * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
1603         
1604         * diagnostic (vbuild_message_string, build_message_string,
1605         build_location_prefix, output_get_prefix, init_output_buffer,
1606         output_notice, vline_wrapper_message_with_location,
1607         v_message_with_decl, default_print_error_function): De-constify.
1608         (set_real_maximum_length): Prototype.
1609
1610         * diagnostic.h (struct output_buffer, init_output_buffer,
1611         output_get_prefix, output_set_prefix): De-constify.
1612
1613         * function.c (init_function_start): Constify.
1614
1615         * gensupport.c (remove_constraints, process_rtx): Prototype.
1616
1617         * gthr-posix.h: Indent uses of #pragma.
1618
1619         * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
1620         Prototype.
1621
1622         * predict.c (find_expected_value): Delete prototype.
1623         (expected_value_to_br_prob): Initialize variable `ev_reg'.
1624
1625         * sbitmap.h (debug_sbitmap): Prototype.
1626
1627         * ssa.c (compute_coalesced_reg_partition): Prototype.
1628
1629         * stor-layout.c (debug_rli): Prototype.
1630
1631         * tree.h (round_down): Prototype.
1632         (init_function_start): Constify.
1633
1634 2000-05-04  Zack Weinberg  <zack@wolery.cumb.org>
1635
1636         * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
1637         (overly conservative).  Change extern inline wrappers to
1638         static inline, define them always, use PARAMS properly.
1639         * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
1640         whitespace warnings for \f and \v at the beginning of a line.
1641
1642 Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
1643
1644         * haifa-sched.c (schedule_insns): Free the flow edge list when it
1645         is no longer needed
1646
1647 2000-05-04  Bruce Korb  <bkorb@gnu.org>
1648
1649         * fixincl/inclhack.def: added broken_cabs -
1650         Remove `extern double cabs' declarations from math.h
1651         * fixincl/inclhack.sh: regen
1652         * fixincl/fixincl.x: regen
1653         * fixincl/fixincl.c: Remove BOGOSITY code
1654         * fixincl/mkfixinc.sh: Remove code for installing "shell" version
1655
1656 Thu May  4 09:45:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1657
1658         * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
1659         MEM_ALIAS_SET.
1660         * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
1661         when calling MEM_COPY_ATTRIBUTES.
1662         * emit-rtl.c (operand_subword, change_address): Likewise.
1663         * explow.c (stabilize): Likewise.
1664         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
1665         * integrate.c (copy_rtx_and_substitute): Likewise.
1666         * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
1667         when calling MEM_COPY_ATTRIBUTES.
1668         (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
1669         Likewise.
1670         * cse.c (gen_lowpart_if_possible): Likewise.
1671         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
1672         * optabs.c (gen_move_insn): Likewise.
1673         * recog.c (validate_replace_rtx_1): Likewise.
1674         * simplify-rtx.c (add_mem_for_addr): Likewise.
1675         * stmt.c (expand_anon_union_decl): Likewise.
1676         * config/arm/arm.md: Likewise.
1677         * config/h8300/h7300.c (fix_bit_operand): Likewise.
1678         * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
1679         (block_move_no_loop, block_move_sequence): Likewise.
1680         * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
1681         * config/alpha/alpha.c (get_aligned_mem): Likewise.
1682         Clear MEM_ALIAS_SET.
1683         * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
1684         MEM_COPY_ATTRIBUTES.
1685
1686 2000-05-03  Robert Lipe <robertlipe@usa.net>
1687         
1688         * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
1689         to suppress libgcc1.
1690         (i[34567]86-*-sco3.2v5*) Likewise.
1691         (i[34567]86-*-sco3.2v4*) Likewise.
1692         (i[34567]86-*-sco) Likewise.
1693         (i[34567]86-*-solaris2) Likewise.
1694         (i[34567]86-*-sysv5*) Likewise.
1695         (i[34567]86-*-sysv4*) Likewise.
1696         (i[34567]86-*-udk*) Likewise.
1697         (i[34567]86-*-sysv*) Likewise.
1698
1699 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
1700
1701         * cpphash.h (U): New define, to correct type of string constants.
1702         (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
1703         routines, to do casts when passing unsigned strings to libc.
1704         * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
1705
1706         * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
1707         * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
1708         * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
1709         * cpplex.c (parse_ifdef, parse_include, validate_else): Make
1710         second argument an U_CHAR *.
1711
1712         * cppinit.c (builtin_array): Make name and value U_CHAR *, add
1713         length field, clean up initializer.
1714         (ISTABLE): Add __extension__ to designated-
1715         initializers version.
1716         * cpplex.c (CHARTAB): Likewise.
1717
1718         * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
1719         case so the file won't be empty.
1720
1721 Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
1722
1723         * bb-reorder.c (struct reorder_block_def): Member succ removed.
1724         (REORDER_BLOCK_SUCC): Removed.
1725         (enum reorder_skip_type): Removed.
1726         (skip_insns_between_block): Renamed to skip_insns_after_block.
1727         Removed second argument. Removed dead code and cleaned up.
1728         (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
1729         (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
1730         second parameter to skip_insns_after_block.
1731
1732 Wed May  3 13:29:54 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1733
1734         * tree.c (staticp, case LABEL_DECL): New case.
1735
1736 2000-05-03  Richard Henderson  <rth@cygnus.com>
1737
1738         * Makefile.in (start.encap): Do not depend on LIBGCC1.
1739
1740         * mklibgcc1.in: Fix typo last change.
1741
1742 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
1743
1744         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
1745         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
1746         (GCC_CFLAGS): Use it.
1747         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
1748         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
1749         objc/Make-lang.in: Use it.
1750
1751 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
1752
1753         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
1754
1755 2000-05-03  Richard Henderson  <rth@cygnus.com>
1756
1757         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
1758         LIBGCC1 empty with libgcc1.null.
1759
1760 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
1761
1762         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
1763         change.
1764
1765 2000-05-03  Greg McGary  <gkm@gnu.org>
1766
1767         * tree.h (tree_common): Add bounded_flag member.  Remove
1768         inaccurate comment about number of remaining bits.
1769         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
1770         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
1771         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
1772         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
1773         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
1774         (TYPE_QUAL_BOUNDED): New constant.
1775         (TYPE_QUALS): Handle bounded qualifier.
1776         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
1777         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
1778         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
1779         TYPE_AMBIENT_BOUNDEDNESS): New macros.
1780         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
1781         (tree_type): Add pointer_depth member.  Remove
1782         inaccurate comment about number of remaining bits.
1783         (DECL_POINTER_DEPTH): Add macro.
1784         (tree_decl): Add pointer_depth member.
1785
1786 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
1787
1788         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
1789         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
1790         (lshrhi3_out): Likewise.
1791         (ashrsi3_out): bugfix in shift by 8.
1792         (test_hard_reg_class): New function.
1793         * config/avr/avr.md: Bugfix inside conditions in peepholes.
1794         (ashlhi3): removed define_expand of this pattern.
1795         (*ashlhi3_insn): renamed to ashlhi3.
1796         (ashlsi3): removed define_expand of this pattern.
1797         (*ashlsi3_insn): renamed to ashlsi3.
1798         (ashrqi3): removed define_expand of this pattern.
1799         (*ashrqi3_insn): renamed to ashrqi3.
1800         (ashrhi3): removed define_expand of this pattern.
1801         (*ashrhi3_insn): renamed to ashrhi3.
1802         (ashrsi3): removed define_expand of this pattern.
1803         (*ashrsi3_insn): renamed to ashrsi3.
1804         (lshrhi3): removed define_expand of this pattern.
1805         (*lshrhi3_insn): renamed to lshrhi3.
1806         (lshrsi3): removed define_expand of this pattern.
1807         (*lshrsi3_insn): renamed to lshrsi3.
1808
1809 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
1810
1811         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
1812         inclusion of "system.h".
1813
1814 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
1815
1816         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
1817         TREE_ASM_WRITTEN.
1818
1819 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
1820
1821         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
1822         if -mauto-pic is on.
1823         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
1824         -mconstant-gp is in effect and function-descriptors are being used
1825         to make indirect calls.
1826         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
1827         (MASK_AUTO_PIC): Ditto.
1828         (TARGET_CONST_GP): Ditto.
1829         (TARGET_AUTO_PIC): Ditto.
1830         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
1831         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
1832         -mno-pic is in effect.
1833         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
1834         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
1835         -mauto-pic is in effect.
1836         (gprel64_offset): New pattern.
1837         (load_gprel64): Ditto.
1838         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
1839         -mconstant-gp is in effect, no need to preserve gp around direct
1840         calls.
1841         (call_value): Ditto.
1842         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
1843         (FUNCTION_PROFILER): Define.
1844         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
1845         @fptr() directive when -mno-pic or -mauto-pic is in effect.
1846         (ASM_OUTPUT_DESTRUCTOR): Ditto.
1847
1848 2000-05-03  Richard Henderson  <rth@cygnus.com>
1849
1850         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
1851         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
1852         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
1853         (mklibgcc, libgcc.mk): New targets.
1854         (libgcc.a): Use libgcc.mk.
1855         (stmp-multilib): Likewise.
1856         (stmp-multilib-sub): Remove.
1857         (mostlyclean): Don't delete libgcc2 temp files.
1858         * configure.in (AC_PROG_CC_C_O): Add.
1859         (NO_MINUS_C_MINUS_O): Substitute it.
1860         (all_outputs): Add mklibgcc.
1861         * mklibgcc.in: New file.
1862
1863 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
1864
1865         * cppexp.c (op_t): Make an int.
1866
1867         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
1868
1869         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
1870
1871         * gensupport.c (process_rtx): Fix macros used.
1872
1873 2000-05-03  Richard Henderson  <rth@cygnus.com>
1874
1875         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
1876         call-clobbered registers of a call.
1877
1878 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
1879
1880         * gensupport.c: New file.
1881         * gensupport.h: New file.
1882         * Makefile.in (HOST_RTL): Depend on gensupport.
1883         (gensupport.o) New rule.
1884         * genattr.c: Use gensupport for reading .md files.
1885         * genattrtab.c: Ditto. 
1886         * gencodes.c: Ditto. 
1887         * genconfig.c: Ditto. 
1888         * genemit.c: Ditto. 
1889         * genextract.c: Ditto. 
1890         * genflags.c: Ditto. 
1891         * genopinit.c: Ditto. 
1892         * genoutput.c: Ditto. 
1893         * genpeep.c: Ditto. 
1894         * genrecog.c: Ditto.
1895         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
1896         * md.texi (Insn Splitting): Document define_insn_and_split.
1897
1898 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
1899
1900         * flow.c (verify_flow_info): Added two more sanity checks. The
1901         first checks that the blocks are numbered consecutively. The second
1902         checks that n_basic_blocks is actually equal to the number of
1903         basic blocks in the insn chain.
1904
1905 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
1906
1907         * cpplib.h: Add accessor macros for token lists.
1908         * cpplib.c, cpphash.c, cpplex.c: Use them.
1909
1910 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1911
1912         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
1913         memory usage if not in a function.
1914         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
1915         return address if static.
1916
1917 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1918
1919         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
1920         whether address may trap.
1921
1922 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
1923
1924         * bb-reorder (chain_reorder_blocks): Changed code to test for
1925         EDGE_FALLTHRU rather than making erroneous assumption that the
1926         first outgoing edge is the fall-through edge.
1927
1928 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
1929
1930         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new 
1931         ABI for varargs, across all MIPS. This is incompatible because the
1932         va_list (__builtin_va_list) structure is different, so a compilation
1933         unit passing a va_list and a compilation unit being passed one, should
1934         both be compiled with the same ABI. (The old structure had two 
1935         pointers, now it has three.)
1936
1937 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
1938
1939         * bb-reorder.c (struct reorder_block_def): Remove members end,
1940         block_begin, and block_end.
1941         (REORDER_BLOCK_OLD_END): Delete.
1942         (REORDER_BLOCK_BEGIN): Delete.
1943         (REORDER_BLOCK_END): Delete.
1944         (chain_reorder_blocks): Remove dead code.
1945
1946 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
1947
1948         * bb-reorder.c (remove_scope_notes): Check for both types of scope
1949         notes as the end of a basic block before deleting.
1950
1951 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
1952
1953         * final.c (final_start_function): Fix spelling of "necessary".
1954
1955 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
1956
1957         * toplev.c (debug_ignore_block): Return int.
1958         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
1959         * toplev.h, dwarf2out.h: Adjust.
1960         * emit-rtl.c (remove_unnecessary_notes): Test return value.
1961
1962         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
1963         * toplev.c, final.c, rtl.h: Adjust.
1964
1965 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1966
1967         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
1968         * configure.in: Look for makeinfo in the unified tree, then
1969         for a system makeinfo which is sufficiently new.
1970         * Makefile.in: If configure says makeinfo is too old, don't
1971         build or install Info documentation.
1972
1973 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1974
1975         * cpphash.c (collect_params): Fix off-by-one error.
1976         (dump_hash_helper): Dump all four macro nodetypes.
1977
1978 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
1979
1980         * cpphash.c (trad_stringify): Adjust p after stringification as
1981         well.
1982
1983 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1984
1985         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
1986         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
1987
1988         * cppfiles.c (file_cleanup): Delete.
1989         * cpphash.c (macro_cleanup): Delete.
1990         (collect_objlike_expansion, collect_funlike_expansion,
1991         macarg, scan_arguments): Remove CPP_POP case.
1992
1993         * cpplex.c (null_cleanup): Delete.
1994         (cpp_pop_buffer): Do the work that was done in the cleanups
1995         here.  Call _cpp_unwind_if_stack from here.
1996         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
1997         cpp_scan_buffer): Run until we see CPP_EOF and the top of
1998         stack is the buffer _below_ the one we stacked.
1999         (cpp_get_token): Always pop an exhausted buffer.  Return
2000         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
2001         * cpplib.c (skip_if_group): Don't call cpp_get_token to
2002         increment the line number.
2003         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
2004
2005         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
2006         we see CPP_EOF and the top of stack is the buffer _below_ the
2007         one we stacked.
2008         * scan-decls.c: Likewise.
2009
2010 2000-05-02  Andrew Haley  <aph@cygnus.com>
2011
2012         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
2013         where this function is called for the second time on a decl that
2014         has had its section info changed in such a way as to move it out
2015         of small data/bss.  
2016         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
2017
2018 2000-05-01  Richard Henderson  <rth@cygnus.com>
2019
2020         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
2021         the sequence we're moving, not to merge_bb->head.
2022
2023 2000-05-01  Richard Henderson  <rth@cygnus.com>
2024
2025         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
2026         reference to alpha/t-linux.
2027         (alpha*-*-linux-gnu*): Likewise.
2028         * configure: Rebuild.
2029
2030         * calls.c (expand_call): Don't emit reg notes for a sibcall.
2031
2032         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
2033         if not in SSA form.
2034
2035         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
2036
2037 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
2038
2039         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
2040         TREE_THIS_VOLATILE.
2041
2042 2000-05-01  Richard Henderson  <rth@cygnus.com>
2043
2044         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
2045         emit_conditional_move.
2046
2047 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
2048
2049         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
2050         as the dynamic linker.
2051
2052 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
2053
2054         * cppfiles.c (open_include_file): Open file in blocking mode.
2055         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
2056         Only exclude block devices and directories.
2057
2058         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
2059         static.  Allocate the hashnode and its string in the same
2060         block of memory.
2061         (del_HASHNODE): Don't free h->name.
2062         (_cpp_lookup): If there is no entry for this string, create
2063         one, of type T_VOID.
2064         (_cpp_lookup_slot): Delete.
2065         * cpphash.h: Update prototypes.
2066
2067         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
2068         not hp == NULL.
2069         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
2070         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
2071         node here, just fill in the value field properly.  "Delete"
2072         entries by setting the value field to T_VOID.  Check for
2073         hp->type == T_VOID, not hp == NULL.
2074
2075         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
2076         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
2077         hashtab.h.
2078
2079 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
2080
2081         * config/mn10300/mn10300.c (print_operand_address): Do not add
2082         zero to SP.
2083
2084         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
2085         adjusted by less than 256 bytes, use ret regardless of having any
2086         callee-saved register to restore.
2087
2088 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
2089
2090         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
2091
2092 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
2093
2094         * config/i386/djgpp.h (INT_ASM_OP): Define.
2095         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
2096         (ASM_WEAKEN_LABEL): Define.
2097         (MASK_BNU210): Define.
2098         (SUBTARGET_SWITCHES): Define.
2099         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
2100         (MAKE_DECL_ONE_ONLY): Define.
2101         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
2102
2103 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
2104
2105         * i386/cygwin.h (INT_ASM_OP): Define.
2106
2107 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
2108
2109         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
2110         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
2111
2112 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
2113
2114         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
2115         __tmp_reg__ and __zero_reg__ initialization.
2116
2117 2000-04-30  Richard Henderson  <rth@cygnus.com>
2118
2119         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
2120
2121         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
2122         referenced bewteen the condition and the jump.  Don't delete
2123         anything but the jump.
2124
2125 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
2126
2127         * bb-reorder.c (scope_def): New struct.
2128         (scope_forest_info): New struct.
2129         (struct reorder_block_def): New member "scope".
2130         (REORDER_BLOCK_SCOPE): New macro.
2131         (relate_bbs_with_scopes): New function and prototype.
2132         (make_new_scope): Likewise.
2133         (build_scope_forest): Likewise.
2134         (remove_scope_notes): Likewise.
2135         (insert_intra_1): Likewise.
2136         (insert_intra_bb_scope_notes): Likewise.
2137         (insert_inter_bb_scope_notes): Likewise.
2138         (rebuild_scope_notes): Likewise.
2139         (free_scope_forest_1): Likewise.
2140         (free_scope_forest): Likewise.
2141         (dump_scope_forest): Likewise.
2142         (dump_scope_forest_1): Likewise.
2143         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
2144         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
2145         block.
2146         (reorder_basic_blocks): Added calls to build_scope_scope_forest
2147         and remove_scope_notes before reordering is done. Added calls to
2148         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
2149         after reordering is done.
2150
2151 2000-40-30  Bruce Korb  <bkorb@gnu.org>
2152
2153         * fixinc/inclhack.def:  Added definitions needed by OSR5,
2154         removed two stale entries (defined away with OLD_CPP).
2155         * fixinc/inclhack.sh: regen
2156         * fixinc/fixincl.x: regen
2157
2158 2000-04-30  Richard Henderson  <rth@cygnus.com>
2159
2160         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
2161         from the last insn in the sequence.
2162
2163 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
2164
2165         * cpplex.c (cpp_idcmp): New function.
2166         * cpplib.h: Prototype it.
2167         * scan_decls.c (scan_decls): Use it to inspect token names.
2168         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
2169         the file being run through the preprocessor.
2170         (check_macro_names): Provide length of token to cpp_defined.
2171
2172         * Makefile.in: Remove stale warning message.
2173
2174         * cppfiles.c (redundant_include_p): Provide length of token to
2175         cpp_defined.
2176         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
2177         values are unsigned int.
2178         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
2179         (_cpp_lookup_slot): Do not calculate the hash, either.
2180         * cpphash.h: Update prototypes.
2181         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
2182         Hashes are unsigned int.  Calculate hash here, pass by value
2183         to _cpp_lookup_slot.
2184
2185 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
2186
2187         * simplify-rtx.c (check_value_useless): Delete function.
2188         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
2189         by hand.
2190         (cselib_invalidate_regno): Likewise.
2191         (cselib_invalidate_mem_1): Likewise.
2192         (references_value_p): Recognize useless values by the fact that they
2193         have no locations.
2194         (discard_useless_values): Likewise.
2195         (cselib_record_set): This may turn a useless value
2196         into a useful one.
2197
2198 2000-04-30  Richard Henderson  <rth@cygnus.com>
2199
2200         * config/d30v: New port.
2201
2202         * configure.in (d30v-*): Set fp format.
2203         * configure: Rebuild.
2204
2205 2000-04-30  Richard Henderson  <rth@cygnus.com>
2206
2207         * ifcvt.c: New file.
2208         * Makefile.in (OBJS): Add it.
2209         (ifcvt.o): New target.
2210         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
2211         and conditional arithmetic.
2212         (find_insert_position): Remove.
2213         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
2214         * toplev.c (DFI_ce, DFI_ce2): New.
2215         (dump_file): Add ce and ce2 dumps.
2216         (rest_of_compilation): Run if_convert a couple o times.  Set
2217         cse_not_expected after cse2.  Don't set no_new_pseudos until
2218         after sched1 or recompute_reg_usage.
2219
2220 2000-04-30  Richard Henderson  <rth@cygnus.com>
2221
2222         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
2223         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
2224
2225 2000-04-30  Richard Henderson  <rth@cygnus.com>
2226
2227         * flow.c (struct reg_cond_life_info): New.
2228         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
2229         (init_propagate_block_info): Initialize them.
2230         (free_propagate_block_info): Destruct them.
2231         (mark_set_1): Consider conditional life before killing a register.
2232         (mark_regno_cond_dead): New.
2233         (free_reg_cond_life_info): New.
2234         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
2235         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
2236         (mark_used_reg): Record conditional life.
2237
2238         * haifa-sched.c (schedule_insns): Disable death counting
2239         sanity check for HAVE_conditional_execution.
2240
2241 2000-04-30  Richard Henderson  <rth@cygnus.com>
2242
2243         * Makefile.in (TIMEVAR_H): New.
2244         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
2245         (timevar.h): Remove rule.
2246
2247 2000-04-29  Richard Henderson  <rth@cygnus.com>
2248
2249         * config/alpha/crtend.asm: Use C comments instead of #.
2250         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
2251
2252         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
2253
2254 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
2255
2256         * cpphash.h (enum node_type: Take out T_MCONST.
2257         (union hashval): Move into struct hashnode.
2258         (struct hashnode): Pack tighter.  Remove file, line, col
2259         members.
2260         * cpphash.c: Constify most of the macro-definition structures.
2261         (struct definition): Replace by struct object_defn
2262         and struct funct_defn.  Put file, line, column information
2263         here.  All users updated to match.
2264         (_cpp_create_definition, _cpp_macroexpand): Remove special
2265         case for #define WORD OTHERWORD.
2266         * cpplib.c (do_undef): Remove T_MCONST case.
2267
2268         * cpphash.h: Move struct reflist, struct definition, and the
2269         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
2270         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
2271         * cpphash.c (_cpp_free_definition): Free data pointed to by
2272         MCONST, XCONST, MACRO, and FMACRO nodes properly.
2273         (_cpp_create_definition, del_HASHNODE): Just call
2274         _cpp_free_definition to clear out a hashnode.
2275         * cpplib.c (do_pragma_poison): Likewise.
2276
2277 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
2278
2279         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
2280         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
2281         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
2282         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
2283         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
2284         REGNO_AM33_P): Redefine in terms of the new macros.
2285         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
2286         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
2287         STRUCT_VALUE): Likewise.
2288         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
2289         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
2290
2291 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2292
2293         * regmove.c (struct record_stack_memrefs_data): New.
2294         (record_stack_memrefs): New function.
2295         (combine_stack_adjustments_for_block): Use it.
2296
2297 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2298
2299         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
2300         use special_function_p to detect alloca.
2301
2302 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
2303
2304         * gcc.texi: Fixes for makeinfo 4.0 --html.
2305
2306 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
2307
2308         * pcp.h: Delete file.
2309
2310 2000-04-28  Kazu Hirata  <kazu@hxi.com>
2311
2312         * h8300.c (function_epilogue): Clean up flags when the last insn
2313         in a function is a barrier.
2314
2315 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
2316
2317         * configure.in (sparc-hal-solaris2*): protect [] glob from
2318         my expansion.
2319         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
2320         rather than hard-coded constants in target_cpu_default2.
2321         * configure: Regenerate.
2322
2323 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
2324
2325         * tree.c (get_callee_fndecl): Extract the initial value from
2326         a readonly decl.
2327
2328 2000-04-28  Richard Henderson  <rth@cygnus.com>
2329
2330         * varasm.c (record_constant_1): Record the CODE_LABEL when
2331         taking the address of a LABEL_REF.
2332
2333 2000-04-28  Richard Henderson  <rth@cygnus.com>
2334             Jan Hubicka  <jh@suse.cz>
2335
2336         * calls.c (combine_pending_stack_adjustment_and_call): Return the
2337         adjustment; don't do the stack adjust.
2338         (expand_call): Call compute_argument_block_size right before
2339         allocating the block; update comment; don't do alignment sanity
2340         checking for sibling call; use args_size instead of
2341         unadjusted_args_size before args_size is adjusted.  Use
2342         combine_pending_stack_adjustment_and_call to compute stack adjust
2343         for must_preallocate case.
2344
2345         * expr.c (push_block): Remove shadow `temp' in inner scope.
2346
2347 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
2348
2349         * toplev.c (rest_of_compilation): Call
2350         note_deferral_of_defined_inline_function even if the function
2351         can't be inlined.
2352
2353 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
2354
2355         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
2356
2357 2000-04-28  Richard Henderson  <rth@cygnus.com>
2358
2359         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
2360
2361 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2362
2363         * timevar.c (init_timevar): DeANSIfy function definition.
2364
2365 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
2366
2367         * Makefile.in (timevar.o): Depend on flags.h.
2368         * timevar.c (unused_stack_instances): New variable.
2369         (timevar_push): Take a timevar_stack_def from
2370         unused_stack_instances if available.
2371         (timevar_pop): Push the popped timevar_stack_def onto
2372         unused_stack_instances.
2373         (TIMEVAR_ENABLE): New macro.
2374         (timevar_def): Make standalone a 1-bit field.  Add field used.
2375         (get_time): Rename parameter to now.  Return after clearing it if
2376         not TIMEVAR_ENABLE.
2377         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
2378         (timevar_pop): Likewise.
2379         (timevar_stop): Likewise.
2380         (timevar_push): Likewise.  Mark the timing variable as used.
2381         (timevar_start): Likewise.
2382         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
2383         timevars that were never used.
2384
2385 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
2386
2387         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
2388         always TREE_READONLY.
2389
2390 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
2391
2392         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
2393         for call instruction with mode QImode.
2394
2395 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
2396
2397         * Makefile.in (OBJS): Add timevar.o.
2398         (toplev.o): Depend on timevar.h.
2399         (ggc-simple.o): Likewise.
2400         (ggc-page.o): Likewise.
2401         (timevar.o): New rule.
2402         (timevar.h): New rule.
2403
2404         * timevar.h: New file.
2405         * timevar.c: Likewise.
2406         * timevar.def: Likewise.
2407
2408         * toplev.h (gc_time, parse_time, varconst_time): Remove.
2409         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
2410         throughout.
2411         (TIMEVAR): Remove macro.
2412         (gc_time, parse_time, varconst_time, integration_time, jump_time,
2413         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
2414         flow_time, combine_time, regmove_time, sched_time,
2415         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
2416         sched2_time, dbr_sched_time, reorder_blocks_time,
2417         rename_registers_time, shorten_branch_time, stack_reg_time,
2418         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
2419         all_time): Remove.
2420         (compile_file): Don't initialize time variables.  Call
2421         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
2422         of many calls to print_time.
2423         (rest_of_compilation): Add timing for reload_cse_regs.
2424         (get_run_time): Removed to timevar.c.
2425         (print_time): Likewise.
2426         (get_run_time): Implement using TV_TOTAL time variable.
2427         (print_time): Get total run time from get_run_time.
2428         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
2429         computing elapsed time explicitly.
2430         * ggc-simple.c (ggc_collect): Likewise.
2431         (gc_time): Remove declaration.
2432
2433 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
2434
2435         * calls.c (combine_pending_stack_adjustment_and_call): New function.
2436         (expand_call): Use it.
2437
2438 2000-04-27  Jan Hubicka  <jh@suse.cz>
2439
2440         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
2441         fields.
2442
2443 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
2444
2445         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
2446         registers.
2447
2448 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2449
2450         * function.c (epilogue_done): Pass whole insn to record_insns.
2451
2452 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2453
2454         * cse.c (CSE_ADDRESS_COST): Remove.
2455         (find_best_addr): Add new parameter "MODE", use address_cost instead
2456         of CSE_ADDRESS_COST
2457         (address_cost): New.
2458         (fold_rtx): Update call of find_best_addr.
2459         * rtl.h (address_cost): Declare.
2460         * loop.c (general_induction_var): Add new parameter "MODE", use
2461         address_cost instead of ADDRESS_COST
2462         (init_loop): Use address_cost instead of ADDRESS_COST.
2463         (check_insn_for_givs): Update call of general_induction_var.
2464         (find_mem_givs): Likewise.
2465         (consec_sets_giv): Likewise.
2466         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
2467         * i386.c (ix86_address_cost): New.
2468         * i386-protos.h (ix86_address_cost): Declare.
2469
2470 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
2471
2472         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
2473         registers.
2474
2475 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2476
2477         * expr.c (store_expr): Use clear_storage instead of direct memset
2478         libcall.
2479
2480 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
2481
2482         * config/mn10300/mn10300.c (mn10300_address_cost): Test
2483         ASHIFT, AND and LABEL_REF.
2484
2485 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2486
2487         * invoke.texi (-foptimize-sibling-calls): Fix.
2488
2489 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2490
2491         * loop.c (load_mems)  Don't use hard registers for the hoisting.
2492
2493         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
2494         calculation; rename const_equiv array in the preconditioning code
2495         from loop_unroll to loop_unroll_precondition
2496
2497 2000-04-27  Richard Henderson  <rth@cygnus.com>
2498
2499         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
2500         add new_set.
2501         (propagate_one_insn): Clear it.  Don't update reg_live here.
2502         (init_propagate_block_info): Update for pbi member changes.
2503         (free_propagate_block_info): Likewise.
2504         (mark_set_1): Know that zero_extract, sign_extract, and
2505         strict_low_part don't kill their argument.  Alter hard subregs.
2506         Update new_set for non-CLOBBER sets.  Update reg_live.
2507         (find_auto_inc): Update reg_live, not new_dead.
2508         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
2509         to determine if the reg in question was set this insn.  Only update
2510         reg info with PROP_REG_INFO.
2511
2512 2000-04-26  Richard Henderson  <rth@cygnus.com>
2513
2514         * flow.c (allocate_reg_life_data): Set max_regno here ...
2515         (life_analysis): ... not here.
2516
2517         * flow.c (calculate_global_regs_live): Force stack pointer
2518         live at end.
2519
2520 2000-04-26  Richard Henderson  <rth@cygnus.com>
2521
2522         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
2523         commit change group changes.
2524         (invert_exp_1): Similarly.
2525         (redirect_exp, invert_exp): Use them.
2526         (redirect_jump_1): New.
2527         (invert_jump_1): New.
2528         (jump_optimize_1): Remove code subsumed by condexec.c.
2529         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
2530
2531 2000-04-26  Richard Henderson  <rth@cygnus.com>
2532
2533         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
2534
2535         * genconfig.c (main): Set all HAVE_foo to 1.
2536
2537         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
2538
2539 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
2540
2541         * invoke.texi: Document -fssa flag.
2542
2543 2000-04-26  Richard Henderson  <rth@cygnus.com>
2544
2545         * flow.c (count_reg_sets_1): Remove.
2546         (count_reg_sets, count_reg_references): Remove.
2547         (recompute_reg_usage): Implement with update_life_info.
2548         Reallocate life data.
2549
2550 2000-04-26  Richard Henderson  <rth@cygnus.com>
2551
2552         * flow.c (update_life_info): Consider blocks null to mean the
2553         universal set.
2554         (calculate_global_regs_live): Likewise.
2555         (life_analysis): Do that instead of collecting all_blocks.
2556
2557 2000-04-26  Richard Henderson  <rth@cygnus.com>
2558
2559         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
2560         a still-valid conditional jump.
2561
2562 2000-04-26  Richard Henderson  <rth@cygnus.com>
2563
2564         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
2565
2566         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
2567         * flow.c (calculate_loop_depth): Remove.
2568         * output.h (calculate_loop_depth): Don't declare.
2569         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
2570         inline; run estimate_probability at the same time.
2571
2572 2000-04-26  Neil Booth  <NeilB@earthling.net>
2573
2574         * cpplib.h: "~=" is not a single pp-token.
2575         * cpplex.c: Correct commentary.
2576
2577 2000-04-26  Richard Henderson  <rth@cygnus.com>
2578
2579         * flow.c (mark_set_1): New arguments code and flags; update all
2580         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
2581         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
2582         loop_depth when optimizing for size.  Do new_dead update after
2583         emitting REG_UNUSED notes.  Merge mark_set_reg code.
2584         (mark_set_reg): Remove.
2585         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
2586         arrange to not emit REG_UNUSED notes.
2587
2588 2000-04-26  Richard Henderson  <rth@cygnus.com>
2589
2590         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
2591         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
2592
2593 2000-04-26  Richard Henderson  <rth@cygnus.com>
2594
2595         * flow.c (propagate_one_insn): Break out from propagate_block.
2596         (init_propagate_block_info): Likewise.
2597         (free_propagate_block_info): Likewise.
2598         (propagate_block): Use them.  Export.
2599         * basic-block.h: Declare them all.
2600
2601 2000-04-26  Richard Henderson  <rth@cygnus.com>
2602
2603         * basic-block.h (life_analysis): Declare here ...
2604         * output.h: ... not here.
2605         * flow.c (life_analysis): Remove nregs parameter; replace
2606         remove_dead_code with flags.  Remove ssa dead code check.
2607         Only init alias analysis if we'll use it.
2608         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
2609         * ssa.c (convert_to_ssa): Likewise.
2610         (convert_from_ssa): Likewise.
2611         * toplev.c (rest_of_compilation): Likewise.
2612
2613 2000-04-26  Richard Henderson  <rth@cygnus.com>
2614
2615         * flow.c (flow_delete_block): Rename from delete_block.  Export.
2616         * basic-block.h (flow_delete_block): Declare.
2617
2618 2000-04-26  David S. Miller  <davem@redhat.com>
2619
2620         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
2621         taking a PATTERN of it.
2622
2623 2000-04-26  <NeilB@earthling.net>
2624
2625         * cpplex.c (spell_other, spell_char): Remove.
2626         (SPELL_CHAR): New.
2627         (token_spelling, trigraph_map): Use unsigned chars.
2628         (_cpp_lex_line): Tidy up the switch statement.
2629         * cpplib.h: Implement spell_char with spell_string.
2630         (C): New.
2631
2632 2000-04-26  <RodneyBrown@pmsc.com>
2633
2634         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
2635         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
2636
2637 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2638
2639         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
2640         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
2641         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
2642         dwarf2out_return_save, dwarf2out_return_reg,
2643         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
2644         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
2645         gen_compile_unit_die, dwarf2out_init): Constify a char*.
2646
2647         * dwarf2out.h (dwarf2out_init): Likewise.
2648
2649         * dwarfout.c (filename_entry, primary_filename, last_filename,
2650         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
2651
2652         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
2653         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
2654         dwarf2out_return_reg): Likewise.
2655
2656 2000-04-26  Andreas Jaeger  <aj@suse.de>
2657
2658         * extend.texi (Function Attributes): Fix description of pure
2659         attribute.
2660
2661 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
2662
2663         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
2664         before calling rest_of_compilation.
2665
2666 2000-04-26  Andreas Jaeger  <aj@suse.de>
2667
2668         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
2669         last patch.
2670
2671 2000-04-25  Richard Henderson  <rth@cygnus.com>
2672
2673         * cse.c (cse_insn): Emit barrier after unconditional jump.
2674
2675         * calls.c (expand_call): Disable tail call generation once
2676         rtx_equal_function_value_matters is false.
2677
2678         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
2679         like EDGE_EH edges.
2680
2681 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
2682
2683         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
2684
2685         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
2686
2687         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
2688         is the primary DIE for a member function.
2689         (gen_decl_die): Call set_decl_origin_self here.
2690         * dwarfout.c (output_decl): And here.
2691         * integrate.c (output_inline_function): Not here.
2692         Don't clear DECL_INLINE until after calling rest_of_compilation.
2693         (set_decl_origin_self): No longer static.
2694         * tree.h: Add prototype.
2695         * toplev.c (note_deferral_of_defined_inline_function): Only write
2696         out abstract instance for actual inlines.
2697
2698 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
2699
2700         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
2701         EXTENDED_REGS only if TARGET_AM33.
2702         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
2703         SP_REGS to register allocation and reloading unless absolutely
2704         necessary.
2705         (movsi3): Remove special-case of adding non-constants to SP.
2706
2707 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2708
2709         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
2710         INCLUDES to search and does not provide any of its own.  Also it
2711         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
2712         parameters.  Also it does not call AC_DEFINE.
2713         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
2714         AC_DEFINE and provides for automatic entries for autoheader.
2715         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
2716
2717         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
2718         so we can pass -I flags and include gansidecl.h/system.h in this
2719         test.
2720
2721         * acconfig.h: Delete all NEED_DECLARATION_* entries.
2722
2723 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2724
2725         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2726         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2727         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
2728
2729         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2730         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2731         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
2732         for these macros.  Clean up spacing and linewraps.
2733
2734 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
2735
2736         * calls.c (expand_call): Use get_callee_fndecl.
2737
2738         * print-tree.c (print_node): Print the chain of an _EXPR.
2739
2740 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
2741                           Jim Wilson  <wilson@cygnus.com>
2742                           Andrew Haley  <aph@cygnus.com>
2743
2744         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
2745         and gp save/restore problems.
2746         * config/ia64/crtend.asm: Add IA-64 unwind support.
2747         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
2748         in fr_pad_size calculation.
2749         (save_restore_insns): Move PR save area.  Correct uses of
2750         RTX_FRAME_RELATED_P.
2751         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
2752         (ia64_expand_epilogue): Add eh_epilogue support.
2753         (ia64_function_prologue): Emit .prologue directive.
2754         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
2755         (ia64_override_options): Set init_machine_status and
2756         mark_machine_status.
2757         (rtx_needs_barrier): Handle bsp reads and writes.
2758         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
2759         New static variables.
2760         (process_set, process_for_unwind_directive): New functions.
2761         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
2762         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
2763         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
2764         macros.
2765         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
2766         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
2767         (struct machine_function): Define.
2768         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
2769
2770 2000-04-25  Bruce Korb  <bkorb@gnu.org>
2771
2772         * fixinc/Makefile.in: make the removal of old programs more
2773         robust
2774         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
2775         install-bin and install-sh
2776
2777 2000-04-25  Nick Clifton  <nickc@cygnus.com>
2778
2779         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
2780         defined, define to return zero.
2781         (function_cannot_inline_p): If a function has any target
2782         specific attributes, then use the macro
2783         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
2784         whether it can be inlined.  If it cannot, issue a suitable
2785         explanation.
2786
2787         * tm.texi: Add a new node 'Inlining' to document the new macro
2788         FUNCTION_ATTRIBUTE_INLINABLE_P.
2789
2790 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
2791
2792         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
2793         commentary.
2794
2795 2000-04-25  Neil Booth  <NeilB@earthling.net>
2796
2797         Restore previous patch, plus the following fixes:
2798
2799         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
2800         flags, not CPP_OPEN_PAREN.
2801         * cpplex.c (expand_token_space, init_token_list,
2802         cpp_free_token_list): Put the dummy token at list->tokens[-1].
2803         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
2804
2805 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2806
2807         * config/i386/freebsd.h (INT_ASM_OP): Define.
2808
2809 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2810
2811         * loop.c (strength_reduce): Fix typo in the last checkin.
2812
2813 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2814
2815         * stor-layout.c (finalize_record_size): Simplify to use existing
2816         functions.
2817         (compute_record_mode): No longer static.
2818         * tree.h (compute_record_mode): New declaration.
2819
2820 2000-04-25  Neil Booth  <NeilB@earthling.net>
2821
2822         * Revert my patch below until cause of build failures
2823         determined.
2824
2825 2000-04-25  Richard Henderson  <rth@cygnus.com>
2826
2827         * combine.c (combine_instructions): Add missing argument
2828         to try_combine.
2829
2830         * toplev.c (rest_of_compilation): Delay sibcall optimization
2831         until after emit_eh_context.
2832
2833 2000-04-24  Nick Clifton  <nickc@redhat.com>
2834
2835         * combine.c (combine_instructions): Do not try to combine a
2836         sequence of insns when the second insn has been replaced by a
2837         note.
2838
2839 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
2840
2841         * gcc.c (load_specs): New static function.
2842         (read_specs): Use it.
2843
2844         * gcc.c (lookup_compiler): Make multiple passes for case
2845         insensitive filesystems.
2846
2847 2000-04-24  Neil Booth  <NeilB@earthling.net>
2848
2849         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
2850         * cpphash.h (_cpp_check_directive): new.
2851         * cpplex.c (handle_newline, cpp_free_token_list,
2852         init_trigraph_map, trigraph_ok, trigraph_replace,
2853         backslash_start, skip_block_comment, skip_line_comment,
2854         skip_whitespace, parse_name, parse_number, parse_string,
2855         copy_comment, _cpp_lex_line, spell_char, spell_string,
2856         spell_comment, spell_name, spell_other, _cpp_lex_file,
2857         _cpp_output_list): new.
2858         (expand_name_space): take length argument.
2859         (init_token_list): add comment list initialisation.
2860         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
2861         instead of HSPACE_BEFORE.
2862
2863         * cpplib.c (_cpp_check_directive): new
2864         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
2865         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
2866         (HSPACE_BEFORE): delete.
2867         (TTYPE_TABLE): rearrange.
2868         (struct cpp_toklist): update.
2869
2870 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2871
2872         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
2873         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
2874         argument form of AC_DEFINE.
2875
2876         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
2877         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
2878         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
2879         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
2880         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
2881
2882         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
2883
2884 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2885
2886         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
2887         deduced.h): Use -isystem, not -I, for including system headers.
2888
2889 2000-04-24  Nick Clifton  <nickc@cygnus.com>
2890
2891         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
2892         the source register is the frame pointer or arg pointer.
2893         (addsi3_small_int): Disallow if source register is the frame
2894         pointer or arg pointer.
2895
2896 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2897
2898         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
2899         call to AC_MSG_RESULT.
2900
2901 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2902
2903         * invoke.texi: Correct grammatical errors, document
2904         -fno-gnu-keywords as identical to -fno-asm for C++.
2905
2906 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2907
2908         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
2909         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
2910         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
2911         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
2912         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
2913
2914         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
2915         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
2916         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
2917         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
2918         new macros names.
2919
2920 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
2921
2922         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
2923         (pop_alignment): Likewise.
2924         (handle_pragma_token): Likewise.
2925
2926 2000-04-24  Robert Lipe <robertlipe@usa.net>
2927
2928         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
2929
2930 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
2931
2932         * combine.c (try_combine): Update reg_nonzero_bits of
2933         newi2pat before newpat.
2934
2935 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2936
2937         * loop.c (strength_reduce): Simplify test to INSN_P.
2938         (record_giv): Attempt to simplify the add value, use CONSTANT_P
2939         expressions instead of CONST_INT.
2940         (express_from_1): Likewise.
2941
2942 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
2943
2944         * regs.h (reg_n_max): Don't declare.
2945         * flow.c (reg_n_max): Don't define.
2946         * regclass.c (renumber): Don't initialize to zero.
2947         (regno_allocated): Likewise.
2948         (reg_n_max): Define.
2949         (allocate_reg_info): Don't initialize unnecessarily.
2950
2951 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
2952
2953         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
2954         and blockage_p in the newly allocated attribute.
2955
2956 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
2957
2958         * config/mn10300/mn10300.md (addsi): `inc4' on address
2959         registers does not modify cc, but `inc' on an extended
2960         register does.
2961
2962 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
2963
2964         * reload.c (find_equiv_reg): Checks all valueno regs
2965         as a reload_reg_p regs.
2966
2967 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2968
2969         * cpphash.c (collect_objlike_expansion): Add sanity check.
2970         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
2971         the buffer is the empty string, return.  Mark __DATE__ and
2972         __TIME__ as XCONST nodes, not MCONST.
2973         (_cpp_macroexpand): Avoid pushing an empty buffer.
2974         (funlike_macroexpand): Don't pop token_buffer here.
2975
2976 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
2977
2978         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
2979         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
2980         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
2981         (REGNO_OK_FOR_BASE_P): Define in terms of them.
2982         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
2983         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
2984         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
2985
2986 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2987
2988         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
2989         constant MULT givs.
2990
2991 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2992
2993         * cpphash.h (struct definition): Move file, line, col members...
2994         (struct hashnode): ... here.  Also add 'disabled' flag.
2995         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
2996         T_IDENTITY.  Remove T_DISABLED.
2997         Update prototypes.
2998
2999         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
3000         (collect_expansion): Split into collect_objlike_expansion and
3001         collect_funlike_expansion.
3002         (_cpp_macroexpand): Split out scan_arguments, stringify, and
3003         funlike_macroexpand.
3004         (_cpp_compare_defs): Rename compare_defs, make static.
3005         (_cpp_make_hashnode): Initialize hp->disabled.
3006         (macro_cleanup): Adjust for new token types.  Clear
3007         m->disabled.
3008         (_cpp_create_definition): Move code here to determine what
3009         sort of macro it is, and code to check for redefinitions, from
3010         do_define.  Implement a few simple cases without creating a
3011         full DEFINITION.
3012         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
3013         Handle the simple cases.
3014         (push_macro_expansion): Set buf->has_escapes and hp->disabled
3015         here.
3016
3017         * cppinit.c (builtin_array): Change MCONST to XCONST
3018         everywhere.
3019         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
3020         fix check for disabled and function-like macros.
3021         * cpplib.c (do_define): Move most logic to
3022         _cpp_create_definition.
3023         (do_undef): Handle new special token types.
3024
3025 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3026
3027         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
3028         of CONSTANT_P for mult_val; always use validate_change to update insn.
3029
3030 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
3031
3032         * cpphash.c (trad_stringify, add_pat): New functions.
3033         (collect_expansion): Restore support for -traditional syntax.
3034         Use trad_stringify and add_pat.
3035         (_cpp_macroexpand): Restore support for -traditional semantics.
3036         * cpplex.c (_cpp_scan_line): Don't change space_before if we
3037         get a COMMENT token.
3038         (_cpp_lex_token): Provide COMMENT tokens to caller if
3039         traditional and parsing_define_directive.
3040         (skip_comment): Warn about // comments if -Wtraditional.
3041         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
3042         proper node type.
3043         (do_undef): Don't warn about undefining EMPTY nodes.
3044
3045 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3046
3047         * loop.c (strength_reduce): Fix biv removal code.
3048
3049 2000-04-22  Richard Henderson  <rth@cygnus.com>
3050
3051         * predict.c (estimate_probability): Examine both sides of
3052         a branch for no exits.  Use 90% not 50% for predict taken.
3053         Reorg for one copy of note generation code.
3054
3055 2000-04-22  Richard Henderson  <rth@cygnus.com>
3056
3057         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
3058
3059 2000-04-22  Richard Henderson  <rth@cygnus.com>
3060
3061         * diagnostic.c (init_output_buffer): Don't initialize format_args.
3062         (output_clear): Likewise.
3063         (output_printf): Use va_copy.
3064         (vline_wrapper_message_with_location): Likewise.
3065         (v_message_with_decl): Likewise.
3066         (line_wrapper_printf): VA_START infor buffer.format_args directly.
3067         * system.h (va_copy): Provide default implementation.
3068
3069 2000-04-22  Richard Henderson  <rth@cygnus.com>
3070
3071         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
3072         the collected condition is not a constant.
3073
3074 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
3075
3076         * diagnostic.h: New file.
3077
3078         * Makefile.in (diagnostic.o): Depends on diagnostic.h
3079
3080         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
3081         various function prototypes.
3082         (diagnostic.h): #include.
3083         (struct output_buffer): Move into diagnostic.h.
3084         (get_output_prefix): Rename to output_get_prefix.  Export.
3085         (init_output_buffer): Export. Break out.  Ajust intialization.
3086         (output_space_left, output_append): Export.
3087         (output_newline): Rename to output_add_newline.  Export.
3088         (output_clear): Nullify additional output_buffer fields.
3089         (output_puts): Rename to output_add_string.  Export.
3090         (dump_output): Rename to output_flush_on.  Export.
3091         (build_location_prefix): Constify return-type.
3092         (emit_output_prefix): Rename to output_emit_prefix. Export.
3093         (set_real_maximum_length): New function.
3094         (output_set_maximum_length): Ditto
3095         (output_clear): Ditto.
3096         (output_add_character): Ditto.
3097         (output_add_integer): Ditto.
3098         (output_add_space): Ditto.
3099         (output_format): Ditto.
3100         (output_printf): Adjust buffer initialization.
3101         (vline_wrapper_message_with_location): Ditto.
3102         (v_message_with_decl): Ditto.  Adjust call to output_puts
3103         and get_output_prefix.
3104         (default_print_error_function): Adjust buffer intialization.
3105
3106 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3107
3108         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
3109         of VOID_TYPE.
3110
3111 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
3112
3113         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
3114         of explicit 0.
3115
3116 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
3117
3118         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
3119         accurate data about SP moves.
3120
3121 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
3122
3123         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
3124         aliases to AM33 registers.
3125
3126 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
3127
3128         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
3129         to all EXTENDED bitmaps.
3130
3131 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
3132
3133         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
3134         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
3135         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
3136
3137 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
3138
3139         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
3140         the operand is not constant.
3141
3142 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
3143
3144         * reload.c (find_equiv_reg): Checks all valueno and regno regs
3145         as a call-clobbered regs.
3146
3147 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3148
3149         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
3150         * rtl.h: Likewise.
3151         * rtl.def: Update comment.
3152         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
3153         * integrate.c (expand_inline_function): Likewise.
3154         * profile.c (branch_prob): Likewise.
3155         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
3156         * print-rtl.c (print_rtx): Likewise.
3157         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
3158         (reemit_notes): Likewise; also use enum insn_note.
3159
3160         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
3161         (place_field): Properly compute know and actual alignment.
3162
3163         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
3164         in proper format.
3165
3166         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
3167         note for REG1.
3168
3169 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
3170
3171         * cpphash.c (struct arg, struct arglist): Const-ify strings.
3172         (warn_trad_stringify, duplicate_arg_p): New helper functions.
3173         (collect_expansion): Rewrite to scan over a token list.
3174         Remove -traditional support.
3175         (collect_formal_parameters): Rename to collect_params; rewrite
3176         to scan over a token list.
3177         (_cpp_create_definition): Adjust to scan a token list.
3178         (_cpp_macroexpand): Remove -traditional support.
3179         (_cpp_compare_defs): Whitespace is now canonicalized.
3180         (comp_def_part): Delete function.
3181
3182         * cpphash.h: Update prototypes.
3183         * cpplex.c (init_token_list): Don't set lineno if there is no
3184         buffer.
3185         (pedantic_whitespace): New function.
3186         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
3187         consume a newline.  Use pedantic_whitespace.
3188         (_cpp_lex_token): Remove support for -traditional macros.
3189         (_cpp_get_define_token): Delete.
3190         (_cpp_get_directive_token): Do the real work here.  Use
3191         pedantic_whitespace.
3192         (_cpp_init_input_buffer): Initialize pfile->directbuf.
3193
3194         * cpplib.c (get_macro_name): Delete.
3195         (do_define): Read the entire line into pfile->directbuf, then
3196         feed the token list to _cpp_create_definition.
3197         * cpplib.h (HSPACE_BEFORE): new define.
3198         (struct cpp_reader): Add a toklist member, "directbuf".
3199
3200         * predict.c (estimate_probability): New heuristic: if a jump
3201         branches around a block with no successors, predict it taken.
3202         Disentangle control flow.
3203
3204 2000-04-20  Richard Henderson  <rth@cygnus.com>
3205
3206         * loop.c (emit_iv_add_mult): Revert last change.
3207
3208 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
3209
3210         * cpplib.h (enum cpp_ttype): Add token types for all
3211         punctuators.  Distinguish pp-numbers from valid C numbers.
3212         Give some tokens better names.  Initialize from macro.
3213         (struct cpp_name, cpp_token, cpp_toklist): New data
3214         structures.
3215         Update prototypes.
3216         * cpplex.c (bump_column, expand_name_space,
3217         expand_token_space, init_token_list, cpp_output_list,
3218         _cpp_scan_line):  New functions.
3219         (output_line_command): Add third argument, new line number.
3220         * cpphash.h: Update prototypes.
3221         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
3222         token names.
3223
3224 2000-04-20  Richard Henderson  <rth@cygnus.com>
3225
3226         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
3227
3228 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
3229
3230         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
3231         object pointed to.
3232
3233 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3234
3235         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
3236         REG_EQUAL note explaining the calculated value.
3237
3238         * calls.c (expand_call): Avoid unnecesary precalculation
3239         and outgoing parameters space guarding for sibling calls.
3240         (store_one_arg): Likewise.
3241
3242 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3243
3244         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
3245         (rest_of_compilation): Write sibling dump file and account
3246         for time as jump time.
3247         * invoke.texi: Update documentation on dump flags.
3248
3249 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
3250
3251         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
3252
3253 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
3254
3255         * cpphash.c (special_symbol): Represent an empty macro with
3256         "\r \r " not just "\r ".
3257         (_cpp_macroexpand): Correct condition for the foo ( ) special
3258         case.
3259         (unsafe_chars): Handle EOF as second argument.
3260         (push_macro_expansion): Simplify test for removing escape at
3261         end.  Do not trim both escapes if there is no text in between.
3262
3263 2000-04-19  Jim Blandy  <jimb@redhat.com>
3264
3265         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
3266         of PTR_SIZE, when appropriate.
3267
3268 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
3269
3270         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
3271         (USE_ENUM_BITFIELDS): Fix typo.
3272
3273 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3274
3275         * stor-layout.c (place_field): Set rli->offset_align properly.
3276
3277 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3278
3279         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
3280         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
3281         PARM_BOUNDARY): Remove unnecessary casts.
3282
3283 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3284
3285         * calls.c (precompute_arguments): Remove must_preallocate and
3286         args_size calls.
3287         (expand_call): Update call of precompute_arguments.
3288
3289         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
3290         check_insn_for_givs): Break out from ...
3291         (strength_reduce) ... here; use for_every_insn_in_loop to call
3292         check_insn_for_givs.
3293         * loop.h (for_every_insn_in_loop): Declare.
3294         (loop_insn_callback): New type.
3295
3296 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
3297
3298         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
3299         not nul-terminated.
3300
3301 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
3302
3303         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
3304         flag_pic and RELOC.
3305
3306 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
3307
3308         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
3309
3310         * configure.in: Delete --disable-cpplib option and all
3311         references to cpp_main.
3312         * configure: Regenerate.
3313         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
3314         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
3315         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
3316         cpp$(exeext).  Add --no-headers to makeinfo command line when
3317         generating INSTALL.  Install and uninstall cpp.1 manpage, not
3318         cccp.1.
3319         * install.texi: Delete all references to cexp.y/cexp.c.
3320         Delete ancient instructions for compiling GCC on 3b1.
3321         * INSTALL: Regenerate.
3322
3323         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
3324         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
3325         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
3326         cexp.c/cexp.y.
3327         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
3328         which is no longer tested anywhere.
3329
3330         * cppinit.c (handle_option): Don't run error message through
3331         gettext twice.
3332
3333 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3334
3335         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
3336         * cpperror.c (hashtab.h): Now include.
3337         * cppexp.c (hashtab.h): Likewise.
3338         * cpplex.c (hashtab.h): Likewise.
3339         * cppfiles.c (hashtab.h): Likewise.
3340         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
3341         to htab_find_slot_with_hash.
3342         * cpphash.c (hashtab.h): Now include.
3343         (_cpp_lookup_slot): INSERT is now enum insert_option.
3344         * cpphash.h (_cpp_lookup_slot): Likewise.
3345         * cppinit.c (hashtab.h): Include earlier.
3346         (initialize_builtins): Pass enum to htab_find_slot.
3347         * cpplib.c (hashtab.h): Now include.
3348         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
3349         (do_pragma_poison, do_assert): Likewise.
3350         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
3351         htab_find_slot_with_hash.
3352         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
3353         * tree.c (type_hash_add): Likewise.
3354         (build1): Minor cleanup.
3355
3356         * ggc-common.c: Add missing blanks.
3357         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
3358         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
3359
3360         * stmt.c (mark_case_node): New function.
3361         (mark_case_nesting): Call it.
3362
3363         * expmed.c (emit_store_flag): If comparing two-word integer
3364         with zero, can optimize NE, EQ, GE, and LT.
3365
3366         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
3367         * conflict.c: Minor cleanups.
3368         * optabs.c: Add blank line
3369         * simplify-rtx.c: Minor cleanups.
3370
3371 2000-04-18  Stan Cox  <scox@cygnus.com>
3372
3373         * gengenrtl.c (genlegend): Fix misspelling.
3374
3375 2000-04-18  Robert Lipe  <robertlipe@usa.net>
3376
3377         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
3378         bitfields of the host compiler are not signed quantities.
3379         * config.in: Regenerate.
3380         * configure: Regenerate.
3381         * system.h (USE_ENUM_BITFIELDS): Added.
3382         (ENUM_BITFIELDS): Added.
3383         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
3384         (SHORT_ENUM_BUG): Deleted.
3385         * tree.h (tree_common): Members `code', `mode', `built_in_class',
3386         now ENUM_BITFIELD.
3387         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
3388         (CODE_FIELD_BUG): Likewise.
3389         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
3390         (OLD_CC): Likewise.
3391         * config/m68k/x-ccur (X_CFLAGS): Likewise.
3392
3393 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
3394
3395         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
3396         mark is active.
3397
3398 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
3399
3400         * cppexp.c (lex): Don't assume tokens are NUL terminated.
3401         * cpplib.c (do_include, do_import, do_include_next,
3402         read_line_number, detect_if_not_defined): Likewise.
3403         * cpphash.c (collect_expansion): Likewise.
3404         (special_symbol, _cpp_macroexpand): Check return from
3405         cpp_file_buffer.
3406         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
3407         macros.  Delete all uses.
3408
3409         * gcc.dg/cpp-mi.c: Add two more test cases.
3410         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
3411
3412 2000-04-17  Richard Henderson  <rth@cygnus.com>
3413
3414         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
3415         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
3416
3417 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
3418
3419         * function.c (expand_function_start): Use hard_function_value to
3420         compute the RTL to use for DECL_RESULT.
3421
3422 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3423
3424         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
3425         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
3426          x86_memory_mismatch_stall): New global variables.
3427         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
3428         alloved; fix load penalties for Athlon.
3429         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
3430         x86_memory_mismatch_stall): Declare.
3431         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
3432          TARGET_MEMORY_MISMATCH_STALL): New.
3433         * i386.md (athlon scheduling parameters): Fix latencies according to
3434         Athlon Optimization Manual.
3435         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
3436         vector.
3437         (fsqrt instruction patterns): Set athlon_decode to direct.
3438         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
3439         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
3440         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
3441         and TARGET_PARTIAL_REGISTER_STALL machines.
3442         (pushdf_nointeger): New pattern.
3443         (pushdf_integer): Rename from pushdf.
3444         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
3445         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
3446
3447 2000-04-17  Richard Henderson  <rth@cygnus.com>
3448
3449         * loop.c (canonicalize_condition): Add WANT_REG argument.
3450         Stop the search if we match it.
3451         * expr.h (canonicalize_condition): Update decl.
3452         * predict.c (expected_value_to_br_prob): Use it.  Track last
3453         expected value note.
3454         (find_expected_value): Remove.
3455
3456         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
3457
3458 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
3459
3460         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
3461         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
3462         a plain file.
3463         * configure.in: Call AC_FUNC_MMAP_FILE.
3464         * configure: Regenerate.
3465         * config.in: Regenerate.
3466
3467         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
3468         * fixinc/fixincl.c: Likewise.
3469
3470 2000-04-17  Richard Henderson  <rth@cygnus.com>
3471
3472         * builtins.c (expand_builtin_expect): New.
3473         (expand_builtin): Call it.
3474         * builtins.def (BUILT_IN_EXPECT): New.
3475         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
3476         * extend.texi: Document it.
3477
3478         * predict.c (expected_value_to_br_prob): New.
3479         (find_expected_value): New.
3480         * basic-block.h (expected_value_to_br_prob): Declare.
3481         * toplev.c (rest_of_compilation): Invoke it.
3482
3483         * rtl.h (NOTE_EXPECTED_VALUE): New.
3484         (NOTE_INSN_EXPECTED_VALUE): New.
3485         * rtl.c (note_insn_name): Update.
3486         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
3487         cases; handle NOTE_INSN_EXPECTED_VALUE.
3488
3489 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
3490
3491         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
3492         leaf sibcall delay slot if flag_pic.
3493         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
3494
3495 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3496
3497         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
3498
3499         * fixproto: If fix-header fails, exit with an error.
3500
3501 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3502
3503         * cse.c (struct check_depdendence_data): New.
3504         (check_dependence): New function.
3505         (invalidate): Use check_depdenence.
3506
3507 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
3508
3509         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
3510         UNITS_PER_WORD is unsigned.
3511
3512         * tree.h (struct tree_common): Remove misleading comment.
3513
3514 2000-04-16  Dave Pitts  <dpitts@cozx.com>
3515
3516         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
3517         message in quotes. Otherwise, IBM's make program treats the '#' as the
3518         start of a comment and ignores the remainder of the line.
3519
3520         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
3521         upper case.
3522         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
3523         * cexp.y (initialize_random_junk): Likewise.
3524         * cppfiles.c (find_include_file): Cast alloca return value.
3525         * cppinit.c (initialize_standard_includes): Likewise.
3526         * cpplib.c (cpp_define, cpp_undef): Likewise.
3527         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
3528         * final.c (output_asm_insn): Allow for holes in EBCDIC.
3529         * fold-const.c (CHARMASK): New.
3530         (real_hex_to_f): Use it.
3531         * real.c (CHARMASK): New.
3532         (etoasc, asctoeg): Use it.
3533         (asctoeg): EBCDIC lower case characters preceed upper case.
3534
3535         * i370.c (mvs_add_label): Change spacing for coding conventions.
3536         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
3537         outputing case vectors.
3538         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
3539         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
3540         since vector in in the data CSECT.
3541         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
3542         * i370.md (Many patterns): Put the length in the XL directives.
3543         (movdi): Put back STM and MVC in definition.
3544         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
3545         pattern using the TCA.
3546         * oe.h (CPP_SPEC): Added to allow trigraphs.
3547         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
3548         not support the "long long" type.
3549
3550 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
3551
3552         * config/mips/mips-protos.h (mips_legitimate_address_p): New
3553         function.
3554         (mips_reg_mode_ok_for_base_p): Likewise.
3555         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
3556         (REG_OK_FOR_INDEX_P): Define unconditionally.
3557         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
3558         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
3559         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
3560         that GET_MODE_SIZE is unsigned.
3561         (mips_reg_mode_ok_for_base_p): Define.
3562         (mips_legitimate_address_p): Likewise.  Adjust now
3563         that GET_MODE_SIZE is unsigned.
3564         (block_move_loop): Make the number of bytes unsigned.
3565         (expand_block_move): Likewise.
3566         (function_arg): Make the loop counter unsigned to match the
3567         boundary condition.
3568
3569 2000-04-16  Richard Henderson  <rth@cygnus.com>
3570
3571         * rtl.h (enum insn_note): New enumeration.  Subsume
3572         NOTE_INSN_DELETED and friends.
3573         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
3574         * rtl.c (note_insn_name): Tweak string order.
3575
3576 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
3577
3578         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
3579         to offset * 2.
3580
3581         * cpplex.c (output_line_command): Remove debugging prints.
3582         (cpp_output_tokens): Don't write out a zero-length buffer or
3583         try to see if it has a newline in it.
3584         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
3585         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
3586         the end of the loop.  Use memmove.  Don't read past the end of
3587         the buffer.  Remove trailing newlines from error messages.
3588
3589 2004-04-16  Neil Booth  <NeilB@earthling.net>
3590
3591         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
3592         * cpplib.c: Add new syntax flags to directive table, and
3593         supporting macros.
3594
3595 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
3596
3597         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
3598         using ret $N.
3599
3600 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3601
3602         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
3603         * haifa-sched.c: Update -fsched-verbose comments to use "=".
3604
3605 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3606
3607         * Makefile.in (ggc-page.o): Now includes toplev.h.
3608         * ggc-page.c (toplev.h): Now included.
3609         (gc_time): Remove declaration.
3610         (ggc_collect): TIME now long.
3611         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
3612         others static.
3613         * toplev.h (gc_time, parse_time, gc_time): New declarations.
3614
3615         * toplev.c: Make *_time variable long to reduce chance of overflow.
3616         (TIMEVAR): Likewise for `otime'.
3617         (print_time): Arg is now long; compute percentage in FP and round.
3618         * toplev.h (print_time): Arg is long.
3619
3620         * tree.c: Minor whitespace changes.
3621
3622         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
3623         * configure: Rebuilt.
3624         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
3625         (__fixunsxfDI): Renamed from __fixunsxfdi.
3626         (__fixunsdfDI): Renamed from __fixunsdfdi.
3627         (__fixunssfDI): Renamed from __fixunssfdi.
3628         (__floatdisf): Use proper type in REP_BIT macro.
3629         (__fixunsxfSI): Renamed from __fixunsxfsi.
3630         (__fixunsdfSI): Renamed from __fixunsdfsi.
3631         (__fixunssfSI): Renamed from __fixunssfsi.
3632         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
3633         Change location of macros and upper-case some names as above.
3634         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
3635         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
3636
3637         * varasm.c (assemble_variable): Add cast to remove warning.
3638         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
3639
3640         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
3641         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
3642         region number to -1.
3643
3644 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
3645
3646         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
3647         call unshare_all_rtl.
3648
3649         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
3650
3651 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
3652
3653         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
3654         Use .s1 not .s0 for all FP instructions.
3655
3656 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
3657
3658         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
3659         interfaces.
3660         (safe_fwrite, output_line_command): New static functions.
3661         (cpp_expand_to_buffer): Now private to cpplib.
3662         (cpp_scan_buffer): Take a printer.
3663
3664         * cpphash.h: Update prototypes.
3665         * cpplib.h: Update prototypes.
3666         (cpp_printer): New.
3667         (cpp_buffer): Remove last_nominal_fname.
3668         (cpp_reader): Remove lineno.
3669
3670         * cppmain.c: Use a cpp_printer.
3671         * fix-header.c: No need to inhibit line commands.  Call
3672         cpp_start_read with no printer.
3673
3674         * cpperror.c (cpp_notice_from_errno): Provide default name.
3675         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
3676         (find_include_file, cpp_read_file): Use make_IHASH.
3677         (file_cleanup): Set control_macro and clear
3678         input_stack_listing_current here.
3679         (_cpp_execute_include): Don't output entering-file marker.
3680         * cpphash.c (special_symbol): Look for the line number in the
3681         buffer, not the reader.
3682         (_cpp_macroexpand): No need to disable line commands.
3683         (_cpp_dump_definition): No need to generate line commands.
3684         (dump_hash_helper): Remove excess newline from output.
3685         * cppinit.c (dump_special_to_buffer): No need to generate line
3686         commands.
3687         (cpp_printer_init): New.
3688         (cpp_start_read): Take a printer, and start it up if it's not
3689         NULL.  No need to generate line commands.
3690         (cpp_finish): Expect no buffers stacked at all.  Take a
3691         printer argument, and flush the output buffer if it's not
3692         NULL.
3693         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
3694         Don't put two hashes at the beginning of an assertion.
3695         (cpp_get_token): Don't increment pfile->lineno or emit line
3696         commands here.  Return EOF if there's no buffer when we get
3697         EOF.
3698         * cpplib.c (do_define, skip_if_group):
3699         No need to disable line commands.
3700         (_cpp_output_line_command): Delete function.
3701         (do_line): Don't emit line commands here, but set things up so
3702         they will be emitted if necessary.  Use _cpp_fake_ihash to
3703         make unique nominal_fnames if necessary.
3704         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
3705         with 0 for column, not -1.
3706         (_cpp_handle_eof): Don't set the control macro here.  Don't
3707         clear input_stack_listing_current here.  Don't emit line
3708         commands.
3709
3710 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
3711
3712         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
3713         always, use the default SVR4 start address.
3714
3715         * config/rs6000/linux.h (LINK_SPEC): Don't define.
3716         (LINK_SHLIB_SPEC): Define.
3717         (LINK_START_DEFAULT_SPEC): Define.
3718         (LINK_OS_DEFAULT_SPEC): Define.
3719
3720         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
3721
3722         * config/rs6000/eabi.asm (__eabi): Call __init rather than
3723         __do_global_ctors to handle constructors.
3724         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
3725         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
3726         (STARTFILE_MVME_SPEC): Likewise.
3727         (STARTFILE_SIM_SPEC): Likewise.
3728         (ENDFILE_ADS_SPEC): Use crtend.
3729         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
3730         (ENDFILE_MVME_SPEC): Likewise.
3731         (ENDFILE_SIM_SPEC): Likewise.
3732         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
3733         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
3734         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
3735         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
3736         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
3737         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
3738         (CRTSTUFF_T_CFLAGS_S): Define.
3739         * config/rs6000/eabi-ctors.c: Delete.
3740
3741         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
3742         boundary.
3743         (__fini): Likewise.
3744         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
3745         boundary.
3746         (__fini): Likewise.
3747
3748 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
3749
3750         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
3751         plus mask size is smaller or equal to the mode size.
3752
3753 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3754
3755         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
3756         not yet set.
3757
3758         * expr.c (reload.h): Now included.
3759         (emit_block_move): Set volatile_ok when checking for movstr.
3760         (emit_move_1): Check for replacements in addresses in multi-word case.
3761         * Makefile.in (expr.o): Now includes reload.h.
3762
3763         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
3764         Never have a LIBCALL end a basic block.
3765         (find_basic_blocks_1): Likewise.
3766         Reorganize CALL_INSN cases.
3767
3768         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
3769
3770 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
3771
3772         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
3773         completers from mov.ret instruction.
3774
3775 2000-04-14  Richard Henderson  <rth@cygnus.com>
3776
3777         * fold-const.c (extract_muldiv): Don't distribute and widen
3778         multiply across plus for non-sizetype unsigned types.
3779
3780 2000-04-14  Richard Henderson  <rth@cygnus.com>
3781
3782         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
3783         If the original source is dead in the incr insn, it's dead now.
3784
3785 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3786
3787         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
3788         see if DECL_BIT_FIELD needs to still be set.
3789
3790         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
3791
3792         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
3793         print_int_cst_octal with something that's not an INTEGER_CST.
3794
3795         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
3796         and not a SUBREG to a FLOAT rtl.
3797
3798 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
3799
3800         * emit-rtl.c (try_split): Avoid infinite loop if the split
3801         results in a sequence that contains the original insn.
3802
3803 2000-04-13  Andreas Jaeger  <aj@suse.de>
3804
3805         * config/mips/mips.c (expand_block_move): Pass alignment
3806         argument to move_by_pieces in bits, not bytes.
3807
3808         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
3809         __pic__ for little endian.
3810
3811 2000-04-13  Andreas Jaeger  <aj@suse.de>
3812
3813         * config/i386/i386-protos.h: Add prototype for
3814         uno_comparison_operator.
3815
3816 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3817
3818         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
3819         * calls.c (ECF_PURE): New flag.
3820         (emit_call_1): Handle ECF_PURE calls.
3821         (initialize_argument_information): Unset ECF_PURE flag too.
3822         (precompute_arguments): Precompute for ECF_PURE too.
3823         (expand_call): Handle ECF_PURE calls too.
3824         (emit_library_call_value_1): Rename no_queue argument to fn_type,
3825         accept value of 2 as pure function.
3826         (emit_library_call_value, emit_library_call): Rename no_queue argument
3827         to fn_type.
3828         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
3829
3830         * tree.h (DECL_IS_PURE): New macro.
3831         (struct tree_decl): Add pure_flag.
3832         * c-common.c (enum attrs): Add attribute "pure".
3833         (init_attributes): Initialize attribute "pure"
3834         (decl_attributes): Handle attribute "pure".
3835         * extend.texi (Attribute "pure"): Document.
3836         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
3837         in pure function.
3838         (flags_from_decl_or_type): Support attribute "pure".
3839
3840 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
3841
3842         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
3843         the token except for numbers and identifiers.
3844
3845 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
3846
3847         * i386.c (ix86_expand_binary_operator,
3848         ix86_expand_unary_operator): Check no_new_pseudos
3849         instead of reload_in_progress and reload_completed.
3850         (ix86_split_ashldi, ix86_split_ashrdi,
3851         ix86_split_lshrdi): Check no_new_pseudos instead
3852         of reload_completed.
3853
3854 2000-04-12  Jeffrey A Law  (law@cygnus.com)
3855
3856         * function.c (purge_addressof): Unshare any shared rtl created by
3857         purge_addressof and its children.
3858
3859 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
3860
3861         * function.c (aggregate_value_p): VOID_TYPE nodes are never
3862         aggregates.
3863
3864 2000-04-05  Andreas Jaeger  <aj@suse.de>
3865
3866         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
3867         not compiling PIC code, add flags for mabi=64.
3868         (SUBTARGET_CPP_SIZE_SPEC): New.
3869         (SUBTARGET_CPP_SPEC): New.
3870         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
3871         for MIPS/Linux and lots of code needs these defines.
3872
3873 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
3874
3875         * reorg.c (fill_slots_from_thread): Check side_effects_p when
3876         trying the "opposite arithmetic" approach.
3877
3878 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3879
3880         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
3881         (struct sh_args): Add new field force_mem.
3882         (INIT_CUMULATIVE_ARGS): Initialize it.
3883         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
3884
3885 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3886
3887         * calls.c (expand_call): Do not reverse args in "equal from" field.
3888         (emit_library_call_value_1): Emit_libcall_block for const and pure
3889         function.
3890
3891 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3892
3893         * reload1.c (reload_combine): Don't enable optimization for fixed
3894         registers when encountering a BARRIER.
3895
3896 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3897
3898         * builtins.c (expand_builtin_memcmp): Do expansion even with
3899         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
3900
3901         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
3902         stack is propertly aligned; add sanity checking for aligned
3903         stack pointer.
3904         (expand_library_call_value_1): Add sanity checking for aligned
3905         stack pointer.
3906
3907 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
3908
3909         * calls.c (emit_library_call_value_1): Change 3rd arg to
3910         locate_and_pad_parm to disregard the setting of partial.
3911
3912 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3913
3914         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
3915
3916         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
3917         CALL_INSN from the normal case.
3918
3919 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3920
3921         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3922         New global variables.
3923         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
3924         adjustment.
3925         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3926         Declare,
3927         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
3928          TARGET_ADD_ESP_8): New macros.
3929         * i386.md: Add peep2s to convert esp adjustments to push and pop
3930         instructions.
3931         (pushsi_prologue, popsi_epilogue): New patterns.
3932
3933 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3934
3935         * real.c (toe64): Remove stale #endif from the last change.
3936
3937 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
3938
3939         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
3940         * real.c (toe64): Revert previous change.
3941
3942 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3943
3944         * objc/objc-act.c: Include ggc.h.
3945         (objc_tree_index, objc_global_trees): Convert most of the
3946         static tree variables into a static array with previous names
3947         as defines.
3948         (objc_ellipsis_node): New variable.
3949         (lang_init): Call objc_act_parse_init and c_parse_init.
3950         Create objc_ellipsis_node.
3951         (build_selector_translation_table): Use objc_ellipsis_node instead
3952         of (tree)1.
3953         (hack_method_prototype): Likewise.
3954         (get_arg_type_list): Likewise.
3955         (start_method_def): Likewise.
3956         (continue_method_def): Likewise.
3957         (gen_method_decl): Likewise.
3958         (ggc_mark_imp_list): New function.
3959         (ggc_mark_hash_table): New function.
3960         (objc_act_parse_init): New function.
3961         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
3962         * c-parse.in (c_parse_init): For objc add roots of objc specific
3963         local tree variables.
3964         * objc/objc-parse.y: Rebuilt.
3965         * objc/objc-parse.c: Rebuilt.
3966         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
3967
3968 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
3969
3970         * cse.c (delete_trivially_dead_insns): Also delete insns
3971         that copy a register to itself where the destination is
3972         a strict_low_part.
3973
3974 2000-04-11  Richard Henderson  <rth@cygnus.com>
3975
3976         * flow.c (struct propagate_block_info): Add new_dead, new_live.
3977         (propagate_block): Initialize them.  Use them in parallel instead
3978         of one tmp variable, ie revert much of the 0408 and 0407 functional
3979         changes, but keep the structural changes.
3980         (mark_set_regs): Take new_dead from propagate_block_info instead.
3981         (mark_set_1, mark_set_reg): Likewise.
3982         (mark_used_regs): Likewise with new_live.
3983         (mark_used_reg): Likewise.  Revert 0408 change.
3984
3985 2000-04-11  Nick Clifton  <nickc@cygnus.com>
3986
3987         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
3988         restriction.
3989         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
3990
3991 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3992
3993         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
3994         const section to output a CONSTRUCTOR based on the same conditions
3995         used for VAR_DECLs.
3996
3997 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
3998
3999         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
4000         * pa/pa-protos.h (output_call): Add additional argument indicating
4001         if the call is a sibling/tail call.
4002         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
4003         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
4004         (function_arg, function_arg_partial_nregs): Likewise
4005         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
4006         (emit_move_sequence): Zero extend certain constants as needed
4007         for TARGET_64BIT.
4008         (compute_zdepdi_operands, output_64bit_and): New functions.
4009         (output_64bit_ior, function_arg): Likewise.
4010         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
4011         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
4012         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
4013         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
4014         (output_bvb): Likewise.
4015         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
4016         (output_call): New argument 'sibcall'.  Generate sibcall sequences
4017         as needed.
4018         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
4019         (ouput_arg_descriptor): Do not emit argument descriptors for
4020         TARGET_64BIT.
4021         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
4022         defined.
4023         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
4024         (FUNCTION_OK_FOR_SIBALL): Define.
4025         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
4026         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
4027         (CPP_SPEC): Use new spec infrastructure.
4028         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
4029         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
4030         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
4031         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
4032         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
4033         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
4034         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
4035         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
4036         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
4037         (FUNCTION_ARG); Call out to C code.
4038         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
4039         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
4040         (MIN_UNITS_PER_WORD): Likewise.
4041         * pa/pa.md (cmpdi): New expander.
4042         (scc patterns, movstrsi): Not available for TARGET_64BIT.
4043         (64bit conditional arithmetic): New patterns.
4044         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
4045         (movsicc): Not available if modes on all the operands to not match.
4046         (movdicc): New expander and associated patterns.
4047         (64bit branches): New patterns.
4048         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
4049         (pre_ldd, post_std): New patterns.
4050         (64bit addil, load low part): New patterns.
4051         (special movsf constant): Not available for TARGET_64BIT.
4052         (movsf, movdf expanders): Force constants into memory.
4053         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
4054         (64bit movdf/movdi patterns): New patterns.
4055         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
4056         for TARGET_64BIT.
4057         (extendqidi2, extendhidi2, extendsidi2): Similarly.
4058         (adddi3 expander): Allow "arith_operand" for second input.
4059         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
4060         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
4061         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
4062         (muldi3): New expander for TARGET_64BIT.
4063         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
4064         for TARGET_64BIT.
4065         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
4066         patterns for TARGET_64BIT.
4067         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
4068         patterns for TARGET_64BIT.
4069         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
4070         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
4071         (sibcall_epilogue): New expander.
4072         (casesi): Tweak for TARGET_64BIT.
4073         (call expanders): Set & use the outgoing argument pointer.  Use the
4074         64bit call patterns as needed. Add additional arg to output_call.
4075         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
4076         (sibcall, sibcall_internal_symref): New expanders.
4077         (sibcall_value, sibcall_value_internal_symref
4078         (interspace_jump): Turn into an expander + matching patterns.
4079         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
4080         * pa/pa64-regs.h: Eliminate trigraph sequences.
4081         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
4082
4083 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
4084
4085         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
4086         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
4087         cpp_token with cpp_ttype everywhere.
4088         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
4089         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
4090         CPP_BUF_COL.  Line and column numbers are unsigned int, not
4091         long.
4092         * cpplex.c (cpp_buf_line_and_col): Delete.
4093         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
4094         'long lineno' to 'unsigned int lineno'.
4095         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
4096
4097 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4098
4099         * extend.texi: ISO C99 is not a draft anymore.
4100         * invoke.texi: ISO C++ is not a draft anymore.
4101         * cpp.texi: __cplusplus is required by the ISO standard.
4102
4103         * extend.texi (-fthis-is-variable): Undocument.
4104         * flags.h (warn_template_debugging): Remove declaration.
4105         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
4106         -Wenum-clash, -Wtemplate-debugging): Undocument.
4107
4108 2000-04-10  Nick Clifton  <nickc@cygnus.com>
4109
4110         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
4111         integer.
4112         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
4113         integer.
4114         (ARM_SIGN_EXTEND): Use HOST_UINT.
4115         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
4116         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
4117         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
4118         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
4119
4120         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
4121         (arm_gen_constant): Use HOST_UINT.
4122         (arm_canonicalize_constant): Use HOST_UINT.
4123         (arm_reload_in_hi): Use HOST_UINT.
4124         (arm_reload_out_hi): Use HOST_UINT.
4125         (output_multi_immediate): Use HOST_UINT.
4126         (int_log2): Use HOST_UINT.
4127         (arm_poke_function_name): Use HOST_UINT.
4128         (arm_output_epilogue): Use arm_volatile_func().
4129         (output_thumb_prologue): Use arm_strip_name_encoding().
4130
4131 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4132
4133         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
4134         of sequence point problems.
4135
4136 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
4137
4138         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
4139         Recomment.
4140         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
4141
4142 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4143
4144         * sbitmap.h: Whitespace changes and use upper-case macro args.
4145         (struct simple_bitmap_def): All sizes now unsigned.
4146         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
4147         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
4148         (sbitmap_vector_alloc): Parms and local vars now unsigned.
4149         (sbitmap_zero): Cast bzero arg to PTR.
4150         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
4151         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
4152         loop to make structure clearer.
4153         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
4154         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
4155         (sbitmap_a_and_b_or_c): Likewise.
4156         (sbitmap_intersection_of_succs): Minor cleanups.
4157         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
4158         (sbitmap_union_of_preds): Likewise.
4159         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
4160         (debug_sbitmap): New function.
4161
4162         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
4163         * c-typeck.c (convert_for_assignment): Likewise.
4164
4165         * expmed.c (init_expmed): Don't free objects we make.
4166         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
4167
4168         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
4169         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
4170
4171         * gcse.c (expr_hash_table_size): Now unsigned.
4172         (compute_ae_gen): Local variable `i' now unsigned.
4173         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
4174         (compute_transout, hoist_code): Likewise.
4175         (compute_local_properties): Likewise, also hash_table_size.
4176         (alloc_expr_hash_table): N_INSNS now unsigned.
4177         (delete_null_pointer_checks): Mark arg F as unused.
4178
4179         * regrename.c: Minor cleanups, including chang some variables
4180         to unsigned int.
4181
4182 2000-04-10  Neil Booth  <NeilB@earthling.net>
4183
4184         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
4185         than GETC ().
4186         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
4187
4188 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4189
4190         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
4191         __classof__, and __headof__ from the list of gnu keywords.
4192         (-ansi): Remove -foperator-names from list of implied options.
4193         Do not call it ANSI C++.
4194         (-foperator-names): Document as -fno-operator-names.
4195
4196 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
4197
4198         * cpphash.c (timestamp): Delete.
4199         (del_HASHNODE): If type is T_MCONST, free value.cpval.
4200         (special_symbol): Remove unnecessary braces.  Remove
4201         T_VERSION.  Treat T_STDC like T_CONST unless
4202         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
4203         when one is encountered, then convert them into T_MCONST
4204         nodes.
4205         * cppinit.c (builtin_array): version_string is T_MCONST.
4206         __STDC__ has a "1" in its cpval.  Don't have a terminator
4207         entry.  Clean up which entries are dumped.
4208         (initialize_builtins): Only __STDC__ gets the special
4209         -traditional treatment.  Count the length of builtin_array.
4210         Render version_string here.
4211         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
4212         * cpplib.h (struct cpp_reader): Remove timebuf.
4213
4214 2000-04-09  Richard Henderson  <rth@cygnus.com>
4215
4216         * genrecog.c (pred): Update comparison_operator for the unordered
4217         operators.
4218
4219         * config/i386/i386.c (no_comparison_operator): Disallow unordered
4220         operators.
4221         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
4222         (uno_comparison_operator): New.
4223         (put_condition_code): Handle UNORDERED/ORDERED.
4224         (unsigned_comparison): Likewise.
4225         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
4226         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
4227         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
4228         update all callers.  Handle all 8 unordered operators.
4229         (ix86_expand_setcc): Lose the unordered argument, update all callers.
4230         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
4231         * config/i386/i386.h (PREDICATE_CODES): Update.
4232         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
4233         (ix86_expand_branch, ix86_expand_setcc): Update.
4234         * config/i386/i386.md (sunordered, sordered): New.
4235         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
4236         (bunordered, bordered): New.
4237         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
4238         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
4239         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
4240
4241 2000-04-09  Philip Blundell  <philb@gnu.org>
4242
4243         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
4244
4245 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
4246
4247         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
4248         fix_truncxfhi2): New patterns.
4249         * i386.c (output_fix_trunc): Handle converting to HImode.
4250
4251 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
4252
4253         * ssa.c (convert_to_ssa): Eliminate dead code when calling
4254         life_analysis.
4255         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
4256         (for_each_successor_phi): Change parameter to basic_block.
4257         (coalesce_regs_in_successor_phi_nodes): Likewise.
4258         (coalesce_regs_in_copies): Likewise.
4259         (compute_coalesced_reg_partition): Use basic_block instead of index.
4260         * rtl.h (convert_to_ssa): Delete.
4261         (convert_from_ssa): Likewise.
4262         (successor_phi_fn): Likewise.
4263         (for_each_successor_phi): Likewise.
4264         (in_ssa_form): Likewise.
4265         * basic-block.h (convert_to_ssa): Moved from rtl.h.
4266         (convert_from_ssa): Likewise.
4267         (successor_phi_fn): Likewise.
4268         (in_ssa_form): Likewise.
4269         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
4270         * flow.c (calculate_global_regs_live): Pass a basic_block to
4271         for_each_successor_phi.
4272
4273 2000-04-08  Richard Henderson  <rth@cygnus.com>
4274
4275         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
4276         was modified in the current insn.
4277
4278 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
4279
4280         * arm/thumb.md: Delete.
4281         * arm/thumb-protos.h: Delete.
4282
4283 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
4284
4285         Merge changes from merged-arm-thumb-backend-branch onto trunk.
4286
4287         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
4288
4289         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
4290         into branch.
4291
4292         * arm.md (nop): Use the standard RTL expression.  Don't code as a
4293         define_expand.
4294         (*arm_nop, *thumb_nop): Delete.
4295
4296         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
4297         constants.  Use casts instead.
4298         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
4299         output_multi_immediate, arm_poke_function_name): Likewise.
4300         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
4301         MASK_RETURN_ADDDR): Likewise.
4302
4303         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
4304
4305         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
4306         into branch.
4307
4308         * arm.md (eh_epilogue): New function.
4309         * arm.h (struct machine_function): Move to here ...
4310         * arm.c: ... from here.
4311         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
4312         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
4313         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
4314
4315         2000-03-30  Nick Clifton  <nickc@cygnus.com>
4316
4317         * config/arm/semi.h (ASM_SPEC): Restore definition.
4318         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
4319
4320         * config/arm/elf.h (ASM_SPEC): Restore definition.
4321         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
4322
4323         * config/arm/arm.h (ASM_SPEC): Remove definition.
4324         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
4325
4326         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
4327
4328         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
4329
4330         2000-03-24  Nick Clifton  <nickc@cygnus.com>
4331
4332         Various formating tidyups, elimination of compile time
4333         warnings and synchronisation with internal sources:
4334
4335         * config/arm/arm-protos.h (assemble_align): Add prototype.
4336         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
4337         (gen_comapre_reg): Rename to arm_gen_compare_reg.
4338         (arm_return_addr_rtx): Rename to arm_return_addr.
4339
4340         * config/arm/arm.c: Include except.h.
4341         Define shorter typenames for strict minipool_node and struct
4342         minipool_fix.
4343         (arm_return_in_memory): For WinCE return all structures <= 32 bits
4344         in memory.
4345         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
4346         (gen_comapre_reg): Rename to arm_gen_compare_reg.
4347
4348         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
4349         already defined.
4350         (ASM_SPEC): Define if not already defined.
4351         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
4352
4353         * config/arm/arm.md: Rename references to gen_rotated_half_load to
4354         arm_gen_rotated_half_load, and references to gen_comapre_reg to
4355         arm_gen_compare_reg.
4356         (indirect_jump):  Only accept register operands.
4357         (load_indirect_jump): Keep this pattern since combine can generate
4358         it.
4359
4360         * config/arm/coff.h: Include aout.h.
4361         (MULTILIB_DEFAULTS): Only define if not already defined.
4362
4363         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
4364         into arm.h (so that COFF ports can support thumb based aliases).
4365         (ASM_SPEC): Move definition into arm.h
4366
4367         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
4368         redundant apcs spec.
4369         (ASM_SPEC): Move definition to arm.h
4370
4371         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
4372
4373         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
4374         for entries in the .bss section
4375
4376         2000-03-23  Nick Clifton  <nickc@cygnus.com>
4377
4378         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
4379         to thumb_far_jump_used_p.
4380
4381         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
4382         single integer parameter.
4383
4384         * config/arm/arm.c (struct machine_function): Add two new
4385         fields, 'far_jump_used' and 'arg_pointer_live'.
4386         (thumb_far_jump_used_p): Once the decision has been made that
4387         far jumps might be used, always return true.
4388         If being called from the initial elimination offset macro then
4389         do not bother to perform the test if the arg pointer is not
4390         being used.
4391         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
4392         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
4393
4394         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
4395
4396         * arm.c (output_return_instruction): Handle more cases where we can
4397         return from a function with an ldr instruction.
4398         (arm_output_epilogue): Likewise.
4399
4400         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
4401         if we need to push a large stack frame and there are no callee-saved
4402         registers.
4403
4404         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
4405         in ARM code if the frame pointer has been eliminated.
4406
4407         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
4408         unspec_volatile arguments to avoid duplicates.
4409         (consttable_1, consttable_2): Fixes for big-endian mode.
4410
4411         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
4412         as appropriate.
4413
4414         Re-write constant pool code.
4415         * arm.c (minipool_node, minipool_fix): New types.
4416         (minifix): Delete type.
4417         (arm_add_minipool_constant): Delete.
4418         (arm_compute_minipool_offsets, arm_find_barrier,
4419         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
4420         (get_jump_table_size): Now returns HOST_WIDE_INT.
4421         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
4422         functions.
4423         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
4424         (assign_minipool_offsets, arm_print_value): Likewise.
4425         (dump_minipool): Rewrite.
4426         (arm_barrier_cost): New function.
4427         (create_fix_barrier): New function.
4428         (push_minipool_barrier): New function.
4429         (push_minipool_fix): Record additional information about the fixup
4430         required.
4431         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
4432         check the mode of what needs fixing.
4433         (arm_reorg): Rewrite.
4434
4435         2000-03-08  Nick Clifton  <nickc@cygnus.com>
4436
4437         * config/arm/arm.md (indirect_jump): Force constant addresses into
4438         a register.
4439
4440         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
4441
4442         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
4443
4444         2000-02-24  Nick Clifton  <nickc@cygnus.com>
4445
4446         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
4447         adjust is word aligned.
4448         (thumb_expand_epilogue): Make sure that stack adjust is word
4449         aligned.
4450
4451         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
4452
4453         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
4454
4455         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
4456         pointer relative addresses.
4457
4458         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
4459
4460         * arm.c (find_barrier): Find the last barrier within the allowed
4461         range.
4462
4463         2000-02-09  Nick Clifton  <nickc@cygnus.com>
4464
4465         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
4466
4467         2000-02-09  Nick Clifton  <nickc@cygnus.com>
4468
4469         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
4470         ARM_FUNCTION_PROFILER.
4471
4472         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
4473         ARM_FUNCTION_PROFILER.
4474
4475         * config/arm/linux-oldld.h: Imported from mainline sources.
4476
4477         2000-02-07  Nick Clifton  <nickc@cygnus.com>
4478
4479         * config/arm/lib1funcs.asm: Merge in thumb functions from
4480         lib1thumb.asm.
4481
4482         * config/arm/lib1thumb.asm: Delete.
4483
4484         2000-02-04  Nick Clifton  <nickc@cygnus.com>
4485
4486         * config/arm/arm.c: Sychronised with current Red hat local
4487         sources.
4488         * config/arm/arm.h: Ditto.
4489         * config/arm/arm-protos.h: Ditto.
4490
4491         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
4492
4493         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
4494
4495         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
4496         byte stores.
4497
4498         2000-02-02  Nick Clifton  <nickc@cygnus.com>
4499
4500         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
4501
4502         * config/arm/arm.md (epilogue): Fix rtl checking abort because
4503         (return) was emited using an emit_insn() call.
4504
4505         2000-01-31  Nick Clifton  <nickc@cygnus.com>
4506
4507         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
4508         thumb stack frame.
4509         (thumb_exit): Move frame pointer back into hard frame pointer
4510         register if backtracing is being used.
4511
4512         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
4513
4514         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
4515         into branch.
4516
4517         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
4518
4519         * config/arm/arm.md (neg_pool_offset): Provide default for new
4520         attribute.
4521         (arm_movsi_insn): Add neg_pool_offset attribute.
4522         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
4523         rtx for the insn that starts the scan and an unsigned long for its
4524         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
4525         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
4526         instructions in *PINSERTED.
4527         (struct minipool_fixup): Add MIN_ADDRESS elt.
4528         (sort_fixups): Compute it.
4529         (arm_reorg): Changes to support inserting pools before the insn to be
4530         fixed up.
4531
4532         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
4533
4534         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
4535         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
4536         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
4537
4538         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
4539
4540         * config/arm/semi.h (TARGET_VERSION): Do not define if already
4541         defined.
4542         (TARGET_DEFAULT): Do not define if already defined.
4543
4544         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
4545
4546         * config/arm/arm.md (anddi3): Allow disjoint source operands.
4547         (iordi3): Allow disjoint source operands.
4548         (xordi3): Allow disjoint source operands.
4549         (negdi2): Permit construction for ARM and Thumb.
4550         (arm_negdi2): Renamed version of old negdi2 pattern.
4551         (thumb_negdi2): New pattern: Only permit non-overlapping
4552         source and destination.
4553
4554         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
4555
4556         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
4557         scratch low register so that it will not be deleted.
4558
4559         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
4560
4561         * config/arm/pe.h (ARM_PE): Define.
4562
4563         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
4564         interfacearm attribute if this is a PE toolchain.
4565         (output_return_instruction): Do not emit anything if the function
4566         has the naked attribute set.
4567         (is_called_in_ARM_mode): If the function has the interfacearm
4568         attribute then return true.
4569         (thumb_expand_prologue): Do not generate a prologue for naked
4570         functions.
4571         (thumb_expand_epilogue): Do not generate an epilogie for a naked
4572         function.
4573         (output_thumb_prologue): Do not bother if the function is naked.
4574         Strip PE encoding from function name before emitting.
4575
4576         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
4577
4578         * arm.md (pic_load_addr): Fix constraints.
4579
4580         * arm.md (casesi_insn): Fix mis-applied patch.
4581
4582         * arm.md ("core" function unit): Add rules for single- and
4583         multi-cycle insns.
4584         (All TARGET_THUMB patterns): Add "type" attribute information
4585         where needed.
4586         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
4587         the following insn is a CALL.
4588
4589         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
4590         pointer.
4591         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
4592         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
4593         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
4594
4595         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
4596
4597         * config/arm/linux-gas.h: oops - this file was missed out when the
4598         branch was created...
4599
4600         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
4601
4602         * thumb.c: Deleted.  Move contents to ...
4603         * arm.c: ... here.
4604         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
4605         rule for thumb.o
4606         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
4607         * configure: Regen.
4608
4609         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
4610         declare a prototype for asm_output_align();
4611
4612         * arm.c (thumb_condition_code): Delete.
4613         (arm_print_operand): Always use arm_condition_code array.
4614
4615         * arm.c (thumb_return_addr_rtx): Delete.
4616         (arm_save_machine_status, arm_restore_machine_status): Delete.
4617         (arm_init_machine_status, arm_mark_machine_status): New functions.
4618         (arm_init_expanders): Update accordingly.
4619         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
4620         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
4621         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
4622
4623         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
4624
4625         * configure.in : Fix arm-*-aout target to use new t-arm-aout
4626         script.
4627         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
4628         targets.
4629
4630         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
4631
4632         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
4633         stack backtrace structure.
4634
4635         * config/arm/arm-protos.h: Add prototypes for functions defined in
4636         arm/pe.h.
4637
4638         * config/arm/arm.c (arm_override_options): Fix selection of
4639         attributes of default processor.
4640
4641         * config/arm/coff.h: Delete needless #include.
4642
4643         * config/arm/pe.c: Delete unused code.
4644
4645         * config/arm/pe.h (CPP_DEFINES): Delete
4646         (SUBTARGET_CPP_SPEC): Define.
4647         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
4648
4649         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
4650
4651         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
4652
4653         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
4654         updated.
4655         (CAN_DEBUG_WITHOUT_FP): Define.
4656         (FIXED_REGISTERS): Make r11 call-saved.
4657         (CALL_USED_REGISTERS): Likewise.
4658         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
4659         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
4660         frame-pointer is required.
4661         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
4662         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
4663         if the target normally needs a stack frame in non-leaf functions.
4664         (use_return_insn): Correct logic for determining when a return
4665         instruction can be used.
4666         (output_return_instruction): Handle the frame-pointer register as
4667         a normal register when not TARGET_APCS_FRAME.
4668         (arm_output_prologue): Likewise.
4669         (arm_output_epilogue): Likewise.
4670         (output_func_epilogue): Likewise.
4671         (arm_expand_prologue): Likewise.
4672         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
4673
4674         * arm.c (use_return_insn): No need to check floating point regs if
4675         TARGET_SOFT_FLOAT.
4676         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
4677         the code of value stored in the minipool array.
4678         (arm_add_minipool_constant): Likewise.
4679
4680 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4681
4682         * basic-block.h (conflict_graph_enum_fn): K&R fix.
4683
4684 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4685
4686         * tree.c (tree_expr_nonnegative_p): New function.
4687
4688         * tree.h (tree_expr_nonnegative_p): Declare.
4689
4690         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
4691         elide some sign_compare warnings.
4692         (build_conditional_expr): Likewise.
4693
4694 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
4695
4696         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
4697
4698         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
4699         * i386.c (print_operand): Use the proper suffix for a 387 HImode
4700         operand.  Abort if a 387 operand has an unsupported size.
4701
4702 2000-04-08  Neil Booth  <NeilB@earthling.net>
4703
4704         * cppexp.c (parse_charconst): Null does not end character
4705         constants.
4706         * cppinit.c (ISTABLE): Null character handled as whitespace.
4707         * cpplex.c (null_warning):  new function.
4708         (skip_string): Emit warning if nulls encountered.
4709         (_cpp_skip_hspace): Emit warning if nulls encountered.
4710         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
4711         them.
4712         * cpp.texi: Update.
4713
4714 2000-04-07  Richard Henderson  <rth@cygnus.com>
4715
4716         * flow.c (loop_depth): Remove.
4717         (reg_next_use, cc0_live, mem_set_list): Replace with ...
4718         (struct propagate_block_info): New.
4719         (life_analysis): Don't allocate reg_next_use.
4720         (propagate_block_delete_insn): Break out of propagate_block.
4721         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
4722         (propagate_block_delete_libcall): Likewise.
4723         (propagate_block): Create a propagate_block_info struct to pass
4724         to subroutines.  Allocate one not two temporary regsets.  Don't
4725         clobber memory for const calls.  Look for clobbers in
4726         CALL_INSN_FUNCTION_USAGE.
4727         (mark_set_regs): Recognize COND_EXEC.
4728         (mark_set_reg): Break out of mark_set_1.
4729         (mark_used_reg): Break out of mark_used_regs.
4730         (mark_used_regs): Recognize COND_EXEC.
4731         (insn_dead_p): Use propagate_block_info struct.
4732         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
4733         (find_auto_inc, try_pre_increment_1): Likewise.
4734         (print_rtl_with_bb): Dump regs live at end too.
4735         (count_reg_sets_1): Pass in loop_depth.
4736         (count_reg_sets, count_reg_references): Likewise.
4737         (recompute_reg_usage): Provide it.
4738
4739 2000-04-07  Richard Henderson  <rth@cygnus.com>
4740
4741         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
4742         not the raw files.
4743
4744 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
4745
4746         * cpplib.c (do_elif): Skip the rest of the line if we're
4747         not going to bother evaluating it.
4748         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
4749         to avoid pointless calls to the lexer.
4750
4751 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
4752
4753         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
4754
4755 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
4756
4757         * calls.c (expand_call): emit_queue if we're trying a sibcall.
4758
4759 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
4760
4761         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
4762
4763 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
4764
4765         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
4766         crtend so they can be multilibbed.
4767         (STAGESTUFF): Remove s-crt and s-crtS.
4768
4769 2000-04-07  Richard Henderson  <rth@cygnus.com>
4770
4771         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
4772         if we discover we need a pseudo and no_new_pseudos is true.
4773         * config/alpha/alpha.md (ne:DI insn): New.
4774         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
4775
4776 2000-04-07  Richard Henderson  <rth@cygnus.com>
4777
4778         * rtl.def (COND_EXEC): New.
4779         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
4780         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
4781
4782         * genconfig.c (have_cond_arith_flag): Remove.
4783         (have_cond_exec_flag): New.
4784         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
4785         (main): Print HAVE_conditional_execution.
4786
4787         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
4788         (sched_analyze_insn, print_pattern): Likewise.
4789         * reload.c (find_equiv_reg): Likewise.
4790         * rtlanal.c (reg_referenced_p): Likewise.
4791         (note_stores, dead_or_set_regno_p): Likewise.
4792         (reg_overlap_mentioned_p): Rewrite to use a switch.
4793
4794         * ggc.h (struct rtx_def): Forward declare.
4795
4796         * print-rtl.c (debug_rtx_range): New.
4797         * rtl.h (debug_rtx_range): Declare.
4798
4799         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
4800
4801         * gcse.c (gcse_main): Don't rebuild the CFG here.
4802         (delete_null_pointer_checks): Likewise.
4803         * ssa.c (convert_to_ssa): Likewise.
4804         * toplev.c (rest_of_compilation): Do it here instead.  Combine
4805         sequential calls to TIMEVAR.  Consistently use `insns' instead of
4806         `get_insns()'.  Always split insns after reload when optimizing.
4807
4808         * basic-block.h (merge_blocks_nomove): Declare.
4809         (tidy_fallthru_edge): Declare.
4810         * flow.c (merge_blocks_nomove): Document as merging into previous
4811         blocks.  Remove cruft from between blocks; remove all edges out of A.
4812         (tidy_fallthru_edge): Export.
4813
4814 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
4815
4816         * ssa.c (compute_conservative_reg_partition): Declare with
4817         void arguments.
4818         * toplev.c (clean_dump_file): Remove previously-deleted function
4819         inadvertantly merged back in.
4820         * conflict.c (conflict_graph_add): Use a single call to
4821         htab_find_slot to look up and insert.
4822
4823 2000-04-06  Richard Henderson  <rth@cygnus.com>
4824
4825         * genrecog.c (*): Rename _last_insn to last_insn.
4826         (make_insn_sequence): Set the position of the peephole2 C test
4827         to be at the last insn.
4828
4829 2000-04-06  Richard Henderson  <rth@cygnus.com>
4830
4831         * flow.c (compute_flow_dominators): Free worklist.
4832
4833 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
4834
4835         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
4836
4837 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
4838
4839         * rtl.h (INSN_P): New macro.
4840         (successor_phi_fn): New typedef.
4841         (for_each_successor_phi): New prototype.
4842         (in_ssa_form): New variable.
4843         (PHI_NODE_P): Likewise.
4844         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
4845         phi nodes in successors.
4846         (mark_used_regs): Add PHI case.
4847         (set_phi_alternative_reg): New function.
4848         (life_analysis): Assert that dead code elimination is not selected
4849         when in SSA form.
4850         * toplev.c (to_ssa_time): New variable.
4851         (from_ssa_time): Likewise.
4852         (compile_file): Zero to_ssa_time and from_ssa_time.
4853         Print time to convert to and from SSA.
4854         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
4855         (print_time): Compute percent fraction as integer.
4856         * ssa.c (PHI_NODE_P): Moved to rtl.h.
4857         (convert_to_ssa): Check if we're already in SSA.
4858         Don't eliminate dead code in life_analysis.
4859         Rerun flow and life analysis at bottom.
4860         (eliminate_phi): Use canonical regnos when adding nodes.
4861         (mark_reg_in_phi): New function.
4862         (mark_phi_and_copy_regs): Likewise.
4863         (convert_from_ssa): Rerun life analysis at top.
4864         Use coalesced partition.
4865         Check for removing a phi node at the end of the block.
4866         (compute_coalesced_reg_partition): New function.
4867         (coalesce_regs_in_copies): Likewise.
4868         (coalesce_reg_in_phi): Likewise.
4869         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
4870         (for_each_successor_phi): Likewise.
4871         (rename_context): New struct.
4872         (rename_block): Use a rename_context with rename_insn_1.  When
4873         renaming sets of a subreg, emit a copy of the entire reg first.
4874         (rename_insn_1): Treat data as a rename_context *.  Save current
4875         insn in set_data.
4876         (rename_set_data): Add field set_insn.
4877         * Makefile.in (HASHTAB_H): Move up in file.
4878         (OBSTACK_H): New macro.
4879         (collect2.o): Use OBSTACK_H in dependencies.
4880         (sdbout.o): Likewise.
4881         (emit-rtl.o): Likewise.
4882         (simplify-rtx.o): Likewise.
4883         (fix-header.o): Likewise.
4884         (OBJS): Add conflict.o.
4885         (conflict.o): New rule.
4886         * basic-block.h: Include partition.h.
4887         (conflict_graph): New typedef.
4888         (conflict_graph_enum_fn): Likewise.
4889         (conflict_graph_new): New prototype.
4890         (conflict_graph_delete): Likewise.
4891         (conflict_graph_add): Likewise.
4892         (conflict_graph_conflict_p): Likewise.
4893         (conflict_graph_enum): Likewise.
4894         (conflict_graph_merge_regs): Likewise.
4895         (conflict_graph_print): Likewise.
4896         (conflict_graph_compute): Likewise.
4897         * conflict.c: New file.
4898
4899 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
4900
4901         * tlink.c (read_repo_files): Don't look for .rpo info for
4902         linker flags.
4903
4904 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4905
4906         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
4907
4908 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4909
4910         * config/sh/lib1funcs.asm (___udivsi3_i4):
4911         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
4912         only depends on FMOVD_WORKS.
4913
4914 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4915
4916         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
4917         make double constant 8-byte aligned.
4918
4919 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
4920
4921         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
4922         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
4923         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
4924         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
4925         Accept storing GENERAL_REGS into offsetable memory.
4926         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
4927         building a TFmode constant other than 0.0L into GENERAL_REGS.
4928
4929 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
4930
4931         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
4932
4933 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
4934
4935         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
4936         (macro_cleanup): No need to cast pbuf->macro.
4937         (collect_expansion): Use _cpp_get_define_token.  Goto done if
4938         it returns VSPACE.  Remove check for trailing space after
4939         CPP_COMMENT.
4940         (_cpp_create_definition): Don't diddle flags here.  Return
4941         directly on error.
4942         (unsafe_chars): Handle c1 being EOF.
4943         (push_macro_expansion): Use unsafe_chars for both accidental-paste
4944         checks.  Don't push the buffer till after we're done with
4945         them.
4946         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
4947         (PEEKN, FORWARD, GETC, PEEKC): Use them.
4948         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
4949         appropriately.
4950         (_cpp_parse_assertion): Don't NUL terminate.
4951         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
4952         hspace before calling _cpp_parse_assertion.  Remove all sets
4953         of only_seen_white. Treat '\f' as hspace.  Don't do anything
4954         special with '\n' here.
4955         (maybe_macroexpand): Handle T_EMPTY hash entries without
4956         pushing a buffer at all.
4957         (cpp_get_token): Handle clearing only_seen_white here.  Handle
4958         incrementing the line number here.  Clear
4959         potential_control_macro as well as only_seen_white, if
4960         appropriate.
4961         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
4962         (_cpp_get_define_token): New function, basically like
4963         _cpp_get_directive_token was but doesn't eat horizontal space.
4964         Don't do anything with only_seen_white here.
4965         (_cpp_get_directive_token): Just call _cpp_get_define_token
4966         repeatedly till it returns non-hspace.
4967
4968         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
4969         (conditional_skip, skip_if_group): Return int.
4970         (DIRECTIVE_TABLE): Change origin of all conditional directives
4971         to "COND".
4972         (TRAD_DIRECT_P): New macro.
4973         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
4974         an error for a bogus directive, unless -lang-asm.  Use
4975         TRAD_DIRECT_P. Loop calling handler functions till one returns
4976         zero.
4977         (get_macro_name): Don't diddle flags here.
4978         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
4979         Create T_EMPTY nodes for #define macro /* nothing */.
4980         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
4981         Use hp->name when calling pass_thru_directive.
4982         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
4983         Return the result of conditional_skip and/or skip_if_group.
4984         Don't call _cpp_output_line_command.
4985         (consider_directive_while_skipping): Use _cpp_get_directive_token.
4986         Issue -Wtraditional warnings as appropriate.  Don't complain
4987         about unrecognized directives.  If we are to stop skipping,
4988         return the number of the directive that ended the skip.
4989         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
4990         expansion and line commands while skipping.  Return the result
4991         of consider_directive_while_skipping, if nonzero.
4992         (do_endif): Just set potential_control_macro here.
4993         (validate_else): Use _cpp_get_directive_token.
4994         (do_assert, do_unassert): Don't save pointers into the
4995         token_buffer across calls to the lexer.  Use
4996         _cpp_get_directive_token.
4997
4998         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
4999         pointer, not an offset.  Replace 'data', which was a generic
5000         pointer, with 'macro', which points to a struct hashnode.
5001         (cpp_reader): Add 'potential_control_macro' pointer.
5002         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
5003         (CPP_BUF_GET, CPP_FORWARD): Delete.
5004         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
5005         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
5006         ACTIVE_MARK_P): Update.
5007         (_cpp_get_define_token): New internal function.
5008         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
5009
5010 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
5011
5012         * configure.in: And here.
5013         * configure: Regenerate.
5014         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
5015         --enable-libstdcxx-v3 is passed at configure time.
5016         * config.h.in: Regenerate.
5017
5018 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
5019
5020         * final.c (final): Use xcalloc to allocate line_note_exists.
5021         * function.c (free_after_compilation): Free the temp_slots.
5022         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
5023         (combine_temp_slot): Free temp_slots when they get combined.
5024         (purge_addressof): Fix typo in comment.
5025         * stmt.c (mark_goto_fixup): Mark the fixup itself.
5026         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
5027
5028         * ggc.h: Include varray.h.
5029         (ggc_pending_trees): Declare.
5030         (ggc_mark_tree_children): Remove declaration.
5031         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
5032         * ggc-common.c (ggc_pending_trees): New variable.
5033         (ggc_mark_roots): Call ggc_mark_trees.
5034         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
5035         the ggc_pending_trees.
5036         * Makefile.in (GGC_H): New variable.  Use it throughout in place
5037         of ggc.h.
5038
5039 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5040
5041         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
5042         GET_MODE_SIZE.
5043
5044 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5045
5046         * sh.c (sh_insn_length_adjustment): New function.
5047         * sh-protos.h (sh_insn_length_adjustment): Declare.
5048         * sh.h (ADJUST_INSN_LENGTH): Use it.
5049
5050 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
5051
5052         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
5053         from the insn where REG_RETVAL is added.
5054         (emit_no_conflict_block): Ditto.
5055
5056         * md.texi (Standard Names): Clarify when movX is needed.
5057
5058         * combine.c (simplify_comparison) [MINUS]: Do not replace
5059         all (op (minus A B) 0) with (op A B).
5060
5061 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
5062                           J"orn Rennecke <amylaar@cygnus.co.uk>
5063
5064         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
5065         (block_lump_real): Likewise.
5066
5067 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
5068
5069         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
5070         remaining non-zero debugging masks.
5071
5072 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
5073
5074         * basic-block.h (verify_flow_info): Declare.
5075         (flow_loop_outside_edge_p): Declare.
5076         * flow.c (verify_flow_info): Remove declaration.
5077         (clear_log_links, flow_loop_outside_edge_p): Likewise.
5078
5079 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
5080
5081         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
5082         not C++ comments.
5083
5084 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
5085
5086         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
5087         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
5088         seqdi_zero_trunc+1): Allow splits only if registers are
5089         different.
5090
5091 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
5092
5093         * acconfig.h: Add HAVE_GAS_HIDDEN.
5094         * config.in: Regenerated.
5095         * configure.in: Add test for .hidden pseudo-op in gas.
5096         * configure: Regenerated.
5097         * crtstuff.c: Include auto-host.h.
5098         Emit additional .hidden pseudo-op for __dso_handle if the
5099         assembler knows about it.
5100
5101 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
5102
5103         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
5104         before freeing argnames.
5105         * cpplib.c (do_ifndef): Cast return value of xstrdup.
5106
5107 2000-04-05  Michael Meissner  <meissner@redhat.com>
5108
5109         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
5110         Walton <jonboy@gordian.com> to make memory references with update
5111         work wtih -mregnames.
5112
5113 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5114
5115         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
5116         (regrename_optimize): Rename variables `def_uses' and
5117         `ext_basic_blocks' to avoid conflicts with similarly named
5118         typedefs in traditional C.
5119
5120         * calls.c (initialize_argument_information): Fix typo in previous
5121         change.
5122
5123 2000-04-04  Richard Henderson  <rth@cygnus.com>
5124
5125         * regrename.c (consider_available): Test fixed_regs not
5126         PIC_OFFSET_TABLE_REGNUM.
5127
5128 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
5129
5130         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
5131         crtend.
5132         (CRTSTUFF_T_CFLAGS_S): Delete definition.
5133         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
5134         (ENDFILE_LINUX_SPEC): Always use crtend.
5135         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
5136         (powerpc-*-linux-gnu): Likewise.
5137         * configure: Regenerate.
5138
5139         * config/rs6000/eabi.h: Don't include sysv4.h.
5140         (MULTILIB_DEFAULTS): Don't define.
5141         * config/rs6000/eabiaix.h: Don't include eabi.h.
5142         * config/rs6000/eabile.h: Delete.
5143         * config/rs6000/eabilesim.h: Delete.
5144         * config/rs6000/eabisim.h: Don't include eabi.h.
5145         * config/rs6000/linux.h: Don't include sysv4.h.
5146         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
5147         (MULTILIB_DEFAULTS): Don't redefine.
5148         * config/rs6000/rtems.h: Don't include eabi.h.
5149         * config/rs6000/sol2.h: Don't include sysv4le.h.
5150         * config/rs6000/sysv4le.h: Don't include sysv4.h.
5151         * config/rs6000/t-ppc: Delete.
5152         * config/rs6000/t-ppcgas: Correct comment.
5153         * config/rs6000/t-ppcos: Correct comment.  Don't build
5154         multilibs for -fPIC, rather use -fPIC -mstrict-align
5155         as default.
5156         * config/rs6000/t-ppc: Delete.
5157         * config/rs6000/vxppc.h: Don't include sysv4.h.
5158         * config/rs6000/vxppcle.h: Delete.
5159         * configure.in: Use multiple header files for p2pc ELF targets
5160         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
5161         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
5162         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
5163         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
5164         always available for these platforms.
5165
5166 2000-04-04  Richard Henderson  <rth@cygnus.com>
5167
5168         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
5169
5170 2000-04-04  Stan Cox  <scox@cygnus.com>
5171
5172         * Makefile.in: Add rules for regrename.o
5173         * regrename.c: New file.
5174         * rtl.h (regrename_optimize): Add prototype.
5175         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
5176         (compile_file, decode_d_option): Add support for -frename-registers.
5177         (rest_of_compilation): Call regrename_optimize.
5178         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
5179         New macros.
5180
5181 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5182
5183         * Makefile (gccbug): New target.
5184         (doc): Depend on it.
5185         * gcc.texi (Bugs): Link subnodes.
5186         (gccbug): New node.
5187         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
5188         Document severities, priorities, and classes in bug form.
5189
5190 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
5191
5192         * cpplex.c (trigraph_map, speccase): Combine into single
5193         table, chartab.
5194         (NORMAL, NONTRI): New macros.
5195         (_cpp_read_and_prescan): Change to use unified table.  Use
5196         is_hspace to test for whitespace.
5197
5198         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
5199         definition that doesn't provoke the "empty body in an
5200         if-statement" warning.
5201
5202 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
5203
5204         * builtins.c (expand_builtin_strlen): Force the source to
5205         be a memory address.
5206
5207 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5208
5209         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
5210
5211 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5212
5213         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
5214          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
5215         (ECF_IS_CONST): Rename to ECF_CONST.
5216         (special_function_p): Make static, change interface.
5217         (flags_from_decl_or_type, try_to_integrate): Break out from ...
5218         (expand_call) ... here; convert number of variables to flags.
5219         (emit_library_call_vlue_1): Likewise.
5220         (setjmp_call_p): New function.
5221         (initialize_argument_information): Accepts flags as argument;
5222         return flags.
5223         (precompute_arguments): Likewise.
5224         * tree.h (special_function_p): Remove.
5225         (setjmp_call_p): Add prototype.
5226
5227 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
5228
5229         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
5230         so that addresses are offsetable by up to 16 bytes.
5231         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
5232         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
5233         offsetable.
5234
5235         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
5236         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
5237         (movsf): Don't force any constant to memory if target is integer
5238         hard register.
5239         Move fp_zero_operand check below the const0_rtx check.
5240         (movtf): Likewise. Also allow fp_zero_operand for stores into
5241         memory.
5242         (movdf): Likewise. Also allow fp_zero_operand for stores into
5243         memory and into integer hard registers.
5244         (clear_df, clear_dfp, movdf_const_intreg_sp32,
5245         movdf_const_intreg_sp64): Remove.
5246         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
5247         conditions.
5248         (movdf_no_e_insn_v9_sp32): New pattern.
5249         (movdf_insn_v9only): Remove.
5250         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
5251         (movdf_insn_sp64): Remove.
5252         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
5253         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
5254         (following splits): Rewrite conditions. Add two new splits
5255         for storing 0.0 into memory and registers.
5256         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
5257         (movtf_insn_sp32): Redo constraints and conditions.
5258         (movtf_insn_vis_sp32): New pattern.
5259         (movtf_no_e_insn_sp32): Redo constraints and conditions.
5260         (movtf_insn_hq_sp64): Likewise.
5261         (movtf_insn_hq_vis_sp64): New pattern.
5262         (movtf_insn_sp64): Redo constraints and conditions.
5263         (movtf_insn_vis_sp64): New pattern.
5264         (movtf_no_e_insn_sp64): Redo constraints and conditions.
5265         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
5266         or memory.
5267         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
5268         -mvis or -m64 to take down the number of various reload patterns.
5269
5270 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
5271
5272         * pa/pa-64.h: New file.
5273         * pa/pa64-regs.h: New file.
5274         * pa/pa64-start.h: New file.
5275         * pa/t-pa64: New file.
5276         * pa/xm-pa64hpux.h: New file.
5277
5278 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5279
5280         * sparc.c (output_restore_regs): Prototype.
5281         (sparc_emit_float_lib_cmp): Constification.
5282
5283         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
5284
5285         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
5286         Prototype.
5287
5288         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
5289         (get_value_hash, hash_rtx): Likewise.
5290
5291         * ssa.c (compute_conservative_reg_partition): Prototype.
5292
5293         * tree.c (mark_hash_entry): Prototype.
5294
5295 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
5296
5297         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
5298         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
5299         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
5300
5301         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
5302         * objc/lang-specs.h: Likewise.
5303
5304 2000-04-03  Neil Booth  <NeilB@earthling.net>
5305
5306         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
5307         and SYNTAX_ERROR2. Replace `' in messages with ''.
5308         (op_to_str): Make re-entrant.
5309         (_cpp_parse_expr): Implement new error macros. Use | rather
5310         than || to logically or 2 boolean integers.  Simply expression
5311         checking we have a left operand iff needed.
5312
5313 2000-04-03  Nick Clifton  <nickc@cygnus.com>
5314
5315         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
5316
5317 2000-04-03  Philip Blundell  <philb@gnu.org>
5318
5319         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
5320
5321 2000-04-03  Felix Lee  <flee@cygnus.com>
5322
5323         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
5324         (run_shell): Use it.
5325
5326 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
5327
5328         * Makefile.in (stmp-int-hdrs): Make include subdir here...
5329         (stmp-fixproto): ...rather than here.
5330
5331 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
5332
5333         * pa.c (print_operand): Compute 'base' only inside the code paths
5334         that use it.
5335
5336 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
5337
5338         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
5339         CEIL_DIV_EXPR.
5340
5341 2000-04-03  Philipp Thomas  <pthomas@suse.de>
5342
5343         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
5344
5345 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
5346
5347         * Makefile.in (alias.o): Depend on $(TREE_H).
5348
5349 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
5350
5351         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
5352         processing C++.
5353         * cpplib.c (_cpp_handle_directive): Improve warnings for
5354         traditional C and indented directives.
5355
5356         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
5357         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
5358         fixinc/inclhack.def: Indent the # of #include_next one space.
5359         * cp/rtti.c: Un-indent #if and #endif.
5360
5361         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
5362         syntax error, but an error has already been printed.
5363         * cpplex.c (_cpp_parse_assertion): Give a more specific error
5364         message when called with nothing remaining on the line.
5365         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
5366         OTHER token, not an ASSERTION.
5367         * cpplib.c (do_assert): When we create a 'base' node, clear
5368         its aschain pointer.
5369
5370 2000-04-02  Neil Booth <NeilB@earthling.net>
5371
5372         * cppexp.c:  New typedef op_t.  struct operation and struct
5373         token updated to use it.
5374         (op_to_str): New function.
5375         (_cpp_parse_expr): Error messages modified to use op_to_str.
5376
5377 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5378
5379         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
5380         before checking MUST_PASS_IN_STACK.
5381
5382 2000-04-02  Neil Booth <NeilB@earthling.net>
5383
5384         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
5385         flags and initial priority into a single constant.  New
5386         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
5387         (_parse_cpp_expr): Implement new constants.  Take left operand
5388         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
5389         parse indicated by reducing FINISHED token.  Remove new lines
5390         from cpp_error messages.
5391
5392 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
5393
5394         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
5395         permanent obstack.
5396
5397 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
5398
5399         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
5400         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
5401         the strings and function names on the fly.  Take the #sccs
5402         entry out of the table if SCCS_DIRECTIVE is not defined.
5403         (_cpp_handle_directive): Decide if the # was at the beginning
5404         of the line here.  Issue -pedantic warnings for extended
5405         directives here.  Warn about K+R directives with the #
5406         indented, and C89/extended directives with the # not indented,
5407         here.
5408         (do_import, do_include_next, do_warning, do_ident, do_sccs,
5409         do_assert, do_unassert): Don't issue pedantic warning here.
5410
5411         * cpphash.h: Add CPP_WTRADITIONAL macro.
5412         * cpplib.h (struct cpp_options): Rename warn_stringify to
5413         warn_traditional; update comments.
5414         * cppinit.c (handle_option): Set warn_traditional not
5415         warn_stringify.
5416         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
5417         CPP_WTRADITIONAL (pfile).
5418         * cpplex.c (_cpp_lex_token): Don't decide if directives should
5419         be ignored in -traditional mode here.
5420
5421         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
5422         to initialize speccase[] and trigraph_map[].  Delete all
5423         references to pfile->input_speccase.  Always treat '?' as a
5424         special character.  Remove table-initialization code from
5425         _cpp_init_input_buffer.
5426
5427         * cpplib.h (struct cpp_reader): Remove input_speccase field.
5428         * cppinit.c (cpp_cleanup): Don't free input_speccase.
5429
5430 2000-04-01  Richard Henderson  <rth@cygnus.com>
5431
5432         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
5433         (mostlyclean): Likewise.
5434
5435         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
5436         (struct dump_file_info, enum dump_file_index, dump_file): New.
5437         (open_dump_file): Take a dump_file_index not a suffix, and a decl
5438         not a string.  Clean out file if we havn't yet done so.  Do nothing
5439         if the dump isn't enabled.
5440         (close_dump_file): Do nothing if the dump isn't open.  Dump
5441         graph data if requested.
5442         (dump_rtl, clean_dump_file): Remove.
5443         (compile_file): Don't clean the dump files.  Only finalize .bp dump
5444         if flag_test_coverage or flag_branch_probabilities.  Only finalize
5445         .combine dump if optimizing.  Iterate over dump_file to finalize the
5446         graph dumps.
5447         (rest_of_compilation): Update for open_dump_file/close_dump_file.
5448         Convert all uses of dump_rtl.
5449         (decode_d_option): Iterate over dump_file to implement 'a' and to
5450         locate pass-specific dumps.
5451
5452 2000-04-01  Neil Booth <NeilB@earthling.net>
5453
5454         * cppexp.c: Redefine priority constants.
5455         (_cpp_parse_expr): Replace left and right priority scheme with
5456         single priority logic.  Move LOGICAL to same place as COMPARE.
5457         Remove bogus check for multiple unary +/- operators.
5458
5459 2000-04-01  Neil Booth <NeilB@earthling.net>
5460
5461         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
5462         within the switch statement.  Binary operations break out of
5463         the switch naturally.  '(' tokens handled by forcing
5464         immediate shift.  ')' handled by forcing immediate reduce to
5465         the previous '('.  New error messages.
5466
5467 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
5468
5469         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
5470         part', it's already in use.  Use %K instead.  Add a return at the
5471         end of what is now %K.
5472         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
5473
5474 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5475
5476         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
5477         allocate_dynamic_stack_space.
5478         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
5479         update stack_pointer_delta; do not update arg_size_so_far.
5480         (compute_argument_block_size): Use stack_delta instead of
5481         stack_pointer_pending and arg_size_so_far.
5482         (expand_call): Add sanity checking for stack_pointer_delta;
5483         save and restore stack_pointer_delta for SIB, use
5484         stack_pointer_delta for alignment; do not update arg_space_so_far.
5485         (emit_library_call_value): Use stack_pointer_delta for alignment.
5486         (store_one_arg): Do not update arg_space_so_far.
5487         * explow.c (adjust_stack, anti_adjust_stack): Update
5488         stack_pointer_delta.
5489         (allocate_dynamic_stack_space): Add sanity checking for
5490         stack_pointer_delta.
5491         * expr.c (init_expr, clear_pending_stack_adjust): Clear
5492         stack_pointer_delta.
5493         (emit_push_insn): Update stack_pointer_delta.
5494         * function.h (struct expr_status): Add x_stack_pointer_delta;
5495         remove x_arg_space_so_far.
5496         (arg_space_so_far): Remove.
5497         (stack_pointer_delta): New macro.
5498
5499 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
5500
5501         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
5502         Reorder struct cpp_options and struct cpp_reader for better
5503         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
5504         takes two args.  Change all 'char' flags to 'unsigned char'.
5505         Move show_column flag into struct cpp_options.  Don't
5506         prototype cpp_options_init.
5507         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
5508         cppinit.c, cpplex.c, cpplib.c:
5509         Replace CPP_OPTIONS (pfile)->whatever with
5510         CPP_OPTION (pfile, whatever), and likewise for
5511         opts = CPP_OPTIONS (pfile); ... opts->whatever;
5512
5513         * cppinit.c (merge_include_chains): Take a cpp_reader *.
5514         Extract CPP_OPTION (pfile, pending) and work with that
5515         directly.
5516         (cpp_options_init): Delete.
5517         (cpp_reader_init): Turn on on-by-default options here.
5518         Allocate the pending structure here.
5519         (cl_options, enum opt_code): Define these from the same table,
5520         kept in a large macro.  Add -fshow-column and -fno-show-column
5521         options.
5522
5523         * cpperror.c (v_message): If show_column is off, don't print
5524         the column number.
5525
5526         * cppmain.c: Update for new interface.
5527         * fix-header.c: Likewise.
5528
5529 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
5530
5531         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
5532         definition.
5533         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
5534         are passed to any invocation of AR_FOR_TARGET.
5535         (AR_CREATE_FOR_TARGET): New macro.
5536         (AR_EXTRACT_FOR_TARGET): New macro.
5537         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
5538         AR_EXTRACT_FOR_TARGET.
5539         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
5540         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
5541         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
5542         AR_EXTRACT_FOR_TARGET to sub-makes.
5543
5544 2000-03-31  Neil Booth <NeilB@earthling.net>
5545
5546         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
5547         PAREN_INNER_PRIO.
5548         (_cpp_parse_expr): Check for multiple unary +/- operators.
5549         Correct priorities of ':' and '?'.  Treat ')' as having a
5550         value.  Ensure conditional expression is not void.
5551
5552 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
5553
5554         * alias.c (canon_rtx): Make it global.
5555         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
5556         equality.
5557         * cse.c (struct table_elt): Add canon_exp.
5558         (insert): Clear it.
5559         (invalidate): Canonicalize expressions only once.
5560         * rtl.h (canon_rtx): Declare.
5561
5562 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
5563
5564         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
5565         * alias.c (reg_known_value): Add comments.
5566         (init_alias_analysis): Likewise.
5567         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
5568         address.
5569         (cse_basic_block): Fix typo in comment.
5570         * emit-rtl.c: Include hashtab.h.
5571         (const_int_htab): New variable.
5572         (const_int_htab_hash): New function.
5573         (const_int_htab_eq): Likewise.
5574         (rtx_htab_mark_1): Likewise.
5575         (rtx_htab_mark): Likewise.
5576         (gen_rtx_CONST_INT): Cache all CONST_INTs.
5577         (unshare_all_rtx): Fix formatting.
5578         (init_emit_once): Initialize const_int_htab.
5579         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
5580         address.
5581         * rtl.texi: Document the fact that all CONST_INTs with the same
5582         value are shared.
5583
5584 2000-03-30  Richard Henderson  <rth@cygnus.com>
5585
5586         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
5587
5588 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
5589
5590         * configure.in: Comment out --enable-c-cpplib stanza.
5591         * configure: Regenerate.
5592
5593 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5594
5595         * expr.c (store_constructor): Properly compute displacement and
5596         alignment when offset is variable.
5597
5598         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
5599         cases of alignment in bytes.
5600
5601 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
5602
5603         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
5604         since it is used to generate c-parse.y.
5605         * objc-parse.c, objc-parse.y: Regenerated.
5606
5607         * function.c (expand_function_end): Pass alignment argument to
5608         emit_block_move in bits, not bytes.
5609
5610 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5611
5612         * expr.c (move_by_pieces_ninsns): Fix one more missing align
5613         correction.
5614
5615         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
5616
5617         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
5618         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
5619         * function.c (assign_parms): Likewise.
5620         * integrate.c (expand_inline_function): Likewise.
5621         * stmt.c (expand_decl): Likewise.
5622         (copy_rtx_and_substitute): Likewise.
5623         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
5624         (clear_by_pieces): Fix error in last change.
5625         * emit-rtl.c (init_emit): Set known registers alignment in bits.
5626         * function.h (regno_pointer_align): Now unsigned.
5627         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
5628         is in bits.
5629         * config/i386/i386.c (aligned_operand): Likewise.
5630         * config/sparc/sparc.c (mem_min_alignment): Likewise.
5631         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
5632         (unaligned_memory_operand): Likewise.
5633         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
5634         Also make alignments and sizes unsigned and some whitespace cleanup.
5635         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
5636
5637         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
5638         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
5639         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5640         (expand_builtin_memset): Likewise, but to clear_storage.
5641         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
5642         (restore_fixed_argument_area): Likewise.
5643         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
5644         (load_register_parameters): Likewise, to emit_group_load.
5645         (expand_call): Likewise, to emit_group_store and emit_block_move.
5646         (emit_library_call_value_1): Likewise, to emit_block_move.
5647         (store_one_arg): Likewise, and to emit_push_insn.
5648         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
5649         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
5650         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
5651         (emit_block_move, emit_group_load, emit_group_store): Likewise.
5652         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
5653         (expand_assigment, store_expr, store_constructor_field): Likewise.
5654         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
5655         (store_constructor, store_field, get_inner_reference): Likewise.
5656         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
5657         (expand_expr, case COMPONENT_REF): Likewise.
5658         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
5659         and positions; reindent code.
5660         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
5661         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
5662         (assign_parms): Likewise to emit_group_store.
5663         * optabs.c (prepare_cmp_insn): Alignment is in bits.
5664         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
5665         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
5666         (expand_return): Likewise to {extract,store}_bit_field.
5667         * stor-layout.c (get_mode_alignment): Minor cleanup.
5668         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
5669         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
5670
5671 2000-03-29  Nick Clifton  <nickc@cygnus.com>
5672
5673         * config/arm/arm.h: Undo effects of previous delta:
5674         (ASM_SPEC): Do not define.
5675         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
5676
5677         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
5678         typo.
5679
5680 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
5681
5682         * cppinit.c (cpp_start_read): Call initialize_dependency_output
5683         only after reading in the primary source file.
5684
5685 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
5686
5687         * c-common.c (c_common_nodes_and_builtins): The first parameter to
5688         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
5689         or a reference to a va_list.
5690         * builtins.c (stabilize_va_list): Simplify now we don't have to
5691         work around C array address decay.
5692         * c-typeck.c (convert_for_assignment): Handle assignment to
5693         a reference parameter by taking the address of the RHS.
5694         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
5695         (va_copy): Likewise.
5696         (__va_copy): Likewise.
5697         * ginclude/varargs.h (va_start): Likewise.
5698         (__va_copy): Likewise.
5699
5700 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
5701
5702         * i386/djgpp.h: Remove extraneous "+".
5703
5704         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
5705
5706         * calls.c (expand_call): Fix typo in last change.
5707
5708 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
5709
5710         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
5711         been expanded.
5712
5713 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5714
5715         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
5716         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
5717         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
5718         * tree.c (bit_position, byte_position): Likewise.
5719         * tree.h: Declare new functions.
5720
5721 2000-03-29  Nick Clifton  <nickc@cygnus.com>
5722
5723         * config/arm/arm.c: Minor formatting changes/
5724         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
5725         already defined.
5726         (ASM_SPEC): Define if not already defined.
5727
5728 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
5729
5730         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
5731         _cpp_calc_hash.
5732
5733 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
5734
5735         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
5736         value, don't output it as unsigned.
5737
5738 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
5739
5740         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
5741
5742 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5743
5744         * c-common.c (c_common_nodes_and_builtins): Don't special case
5745         cplus_mode when declaring builtin bzero/bcmp, always avoid
5746         prototype arguments.
5747
5748 2000-03-29  Bruce Korb  <bkorb@gnu.org>
5749
5750         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
5751         to a non-file
5752
5753 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5754
5755         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
5756         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
5757         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
5758         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
5759         (save_fixed_argument_area, restore_fixed_argument_area):
5760         conditionize by #ifdef REG_PARM_STACK_SPACE only.
5761         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
5762         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
5763         (precompute_register_parameters): Avoid #ifdefs on
5764         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
5765         (stire_one_args): Likewise.
5766         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
5767         (emit_library_call_value_1): Likewise.
5768         (compute_argument_block_size): Align to STACK_BOUNDARY only for
5769         ACCUMULATE_OUTGOING_ARGS.
5770         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
5771         value.
5772         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
5773         (use_crosses_set_p): Likewise.
5774         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
5775         #define ACCUMULATE_OUTGOING_ARGS 1.
5776         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
5777         frames.
5778         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
5779         constants.
5780         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
5781         (TARGET_SWITCHES): Add push-args, no-push-args,
5782         accumulate-outgoing-args and no-accumulate-outgoing-args.
5783         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
5784         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
5785         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
5786         and PUSH_ROUNDING.
5787         (emit_push_insn): Likewise.
5788         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5789         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
5790         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5791         (STACK_DYNAMIC_OFFSET): Define correctly for both
5792         ACCUMULATE_OUTGOING_ARGS and normal mode.
5793         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
5794         * tm.texi (PUSH_ARGS): Document.
5795         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
5796
5797 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5798
5799         * flags.h (flag_optimize_sibling_calls): Declare.
5800         * calls.c (expand_call): Fail sibcall when
5801         !flag_optimize_sibling_calls
5802         * invoke.texi (flag_optimize_sibling_calls): Document.
5803         * toplev.c (flag_optimize_sibling_calls): New global variable.
5804         (f_options): Add flag_optimize_sibling_calls.
5805         (rest_of_compilation): Conditionize
5806         optimize_sibling_and_tail_recursive_calls by
5807         flag_optimize_sibling_calls.
5808         (main): Set flag_optimize_sibling_calls for -O2.
5809         * stmt.c (expand_return): Conditionize tail recursion by
5810         flag_optimize_sibling_calls.
5811
5812 2000-03-29  Richard Henderson  <rth@cygnus.com>
5813
5814         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
5815         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
5816
5817 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
5818
5819         * except.c (add_eh_table_entry): Mark type_info's as referenced.
5820
5821 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5822
5823         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
5824         is given.
5825         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
5826         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
5827         * config/rs6000/aix.h: then modified likewise.
5828
5829 2000-03-28  Richard Henderson  <rth@cygnus.com>
5830
5831         * rtl.h: Redistribute enum reg_note documentation.
5832         Kill trailing whitespace.
5833         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
5834         Kill trailing whitespace.
5835
5836 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
5837
5838         * cppfiles.c (hash_IHASH): Just return i->hash.
5839         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
5840         htab_find_with_hash.
5841         (cpp_read_file): Likewise.
5842         (find_include_file): Likewise.  Properly initialize
5843         ih->nshort.  Share ih->name and ih->nshort if possible.
5844         * cpphash.c (_cpp_calc_hash): New function.
5845         (hash_HASHNODE): Just return h->hash.
5846         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
5847         htab_find_with_hash.
5848         * cpphash.h: Prototype _cpp_calc_hash.
5849         * cppinit.c (initialize_builtins): Provide a valid hash
5850         to _cpp_make_hashnode, using _cpp_calc_hash.
5851
5852         * cpphash.c (collect_expansion): # is not a special character
5853         in object-like macros.  In -traditional mode, /**/ is not
5854         token paste at the beginning or end of the line.
5855         * cpplib.c (do_include, do_import, do_include_next): If
5856         parse_include fails, return immediately.
5857
5858 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
5859
5860         * config/arm/arm.md (return peepholes): Update to reflect the new
5861         call insn patterns.
5862         * config/arm/arm.c (arm_volatile_func): Also check
5863         current_function_nothrow.
5864         (output_return_instruction, output_func_prologue): Use it.
5865         (arm_output_epilogue, arm_expand_prologue): Likewise.
5866
5867 2000-03-27  Tom Tromey  <tromey@cygnus.com>
5868
5869         * gcc.c (handle_braces): In {x*...} case, break out of loop if
5870         switch is found.
5871
5872 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5873
5874         * expr.c (store_constructor): SIZE now signed.
5875         For EXPR_SIZE, don't evaluate size; just needed if constant.
5876         * fold-const.c (fold): Fix a number of cases when folded tree is
5877         wrong type.
5878         * function.c (flush_addressof): Reenable.
5879         * tree.h (flush_addressof): Likewise.
5880         * toplev.c (independent_decode_option): Look at strings_processed.
5881         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
5882
5883 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
5884
5885         * sibcall.c (indentify_call_return_value): Find last call in the chain;
5886         Allow stack adjustment after function call.
5887
5888         * regmove.c (struct csa_memlist): Make mem field rtx *.
5889         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
5890         (try_apply_stack_adjustment): Replace whole MEM rtx.
5891         (combine_stack_adjustments_for_block): Update calls
5892         to record_one_stack_ref.
5893
5894 2000-03-28  Neil Booth  <NeilB@earthling.net>
5895
5896         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
5897         '\\' rather than a null character, so nulls are not special.  Fix
5898         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
5899         speed trigraph conversion.
5900         (_cpp_init_input_buffer): Initialize trigraph map.
5901
5902 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
5903
5904         * config/i386/i386.c (output_387_binary_op): Correct intel
5905         mode assembly output, and add spaces after commas in AT&T
5906         output.  Correct Unixware assembler comment.  Document input
5907         constraints.  Comment fp operations.  Reduce profligate buffer
5908         size.  Remove extraneous abort.  Localize temp var.
5909         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
5910         (output_fix_trunc): Add spaces after commas in assembly output.
5911
5912 2000-03-27  Richard Henderson  <rth@cygnus.com>
5913
5914         * i386-protos.h (ix86_match_ccmode): Declare.
5915         * i386.c (ix86_match_ccmode): New.
5916         (ix86_expand_fp_compare): Update for pattern renames.
5917         (ix86_expand_strlensi_unroll_1): Likewise.
5918         * i386.h (EXTRA_CC_MODES): Add CCZ.
5919         (SELECT_CC_MODE): Use it for EQ/NE zero.
5920         * i386.md (cmpsi_ccz_1): New.
5921         (cmpqi_ccz_1): New.
5922         (*testsi_ccz_1): New.
5923         (testqi_ccz_1): New.
5924         (cmpsi_ccno_1): Rename from cmpsi_0.
5925         (testsi_ccno_1): Rename from testsi_1.
5926         (testqi_ccno_1): Rename from testqi_1.
5927         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
5928         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
5929         (*cmphi_0): Use ix86_match_ccmode.
5930         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
5931         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
5932         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
5933         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
5934         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
5935         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
5936         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
5937         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
5938         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
5939         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
5940         (appropriate peepholes): Likewise.
5941         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
5942         (*subsi_3, *subhi_3, *subqi_3): Remove.
5943         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
5944         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
5945         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
5946         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
5947         (x86_shift_adj_1): Use CCZ.
5948         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
5949
5950 2000-03-27  Stan Cox  <scox@cygnus.com>
5951
5952         * resource.h (mark_resource_type): New.
5953         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
5954         find_free_register): Use mark_resource_type.
5955         (mark_set_resources): Change include_delayed_effects
5956         to mark_resource_type.
5957         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
5958         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
5959         Use mark_resource_type.
5960
5961 2000-03-27  Richard Henderson  <rth@cygnus.com>
5962
5963         * i386.md (call_pop_0, call_value_pop_0): New.
5964         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
5965         (call_value_pop_1): Likewise.
5966         (call_0, call_value_0): New.
5967         (call_1, call_value_1): Remove constraint from unused arg.
5968
5969 2000-03-27  Nick Clifton  <nickc@cygnus.com>
5970
5971         * invoke.texi (Spec Files): Document new spec % command created by
5972         Tom Tromey's recent patch.
5973
5974 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
5975
5976         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
5977         if not defined.
5978
5979 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5980
5981         * expr.c (expand_assignment): Fix typo in last change.
5982
5983         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
5984
5985 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5986
5987         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
5988         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
5989         and DECL_INLINE if FUNCTION_DECL.
5990         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
5991         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
5992         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
5993         (combine_parm_decls): Likewise.
5994         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
5995         * print-tree.c (print_node): Likewise.
5996         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
5997         DECL_TRANSPARENT_UNION on proper decl types.
5998         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
5999         * stor-layout.c (layout_decl): Only check DECL_PACKED and
6000         DECL_BIT_FIELD of FIELD_DECL.
6001         * tree.h (DECL_RESULT_FLD): New macro.
6002
6003         * expr.c (expand_assignment): Add code to handle variable-sized
6004         BLKmode case.
6005
6006 2000-03-26  Richard Henderson  <rth@cygnus.com>
6007
6008         * calls.c (expand_call): Pass parms not original exp to
6009         optimize_tail_recursion.  Mind return value instead of looking
6010         for a barrier.
6011         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
6012         call_expr.  Move checks for call_expr and current_function_decl ...
6013         (expand_return): ... here.
6014
6015 2000-03-26  Tom Tromey  <tromey@cygnus.com>
6016
6017         * gcc.c (handle_braces): Recognize `%{<S}' construct.
6018         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
6019         defines.
6020         (process_command): Use them.
6021         (check_live_switch): Likewise.
6022         (give_switch): Skip ignored switches.
6023
6024 2000-03-26  Jan Hubicka  <jh@suse.cz>
6025
6026         * jump.c (jump_optimize_1): Fix typo in elide optimizations
6027         for minimal jump pass test.
6028
6029 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
6030
6031         * integrate.c (function_cannot_inline_p): Do inline functions that
6032         return `void'.
6033
6034 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6035
6036         * stor-layout.c (layout_type, set_sizetype): early_type_list is
6037         now a list of TREE_LIST entries, not types.
6038         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
6039
6040         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
6041         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
6042         int_bit_position.
6043         * config/mips/mips.c (function_arg): Likewise; also remove cast
6044         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
6045         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
6046         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
6047         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
6048         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
6049         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
6050         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
6051         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
6052         num_adjusts now unsigned.
6053         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
6054         * config/sparc/sparc.c (struct function_arg_record_value_parms):
6055         NREGS now unsigned.
6056         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
6057         as is BITPOS variable; use host_integerp and int_bit_position.
6058         (function_arg_record_value_2): Likewise.
6059         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
6060         Variable REGNO now unsigned.
6061         (function_arg_record_value): NREGS now unsigned.
6062
6063 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
6064
6065         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
6066
6067 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6068
6069         * Rework fields used to describe positions of bitfields and
6070         modify sizes to be unsigned and use HOST_WIDE_INT.
6071         * alias.c (reg_known_value_size): Now unsigned.
6072         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
6073         (really_start_incremental_init): Use bitsize_zero_node.
6074         (push_init_level, pop_init_level, output_init_element): Likewise.
6075         Use bitsize_unit_node and bitsize_one_node.
6076         (output_pending_init_elements, process_init_element): Likewise.
6077         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
6078         (make_extraction): Position and length HOST_WIDE_INT and unsigned
6079         HOST_WIDE_INT, respectively.
6080         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
6081         (num_sign_bit_copies): Returns unsigned.
6082         BITWIDTH now unsigned; rework arithmetic.
6083         Remove recursive call from arg to MAX.
6084         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
6085         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
6086         REGNO now unsigned.
6087         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
6088         (find_split_point, expand_compound_operation, make_extraction): LEN
6089         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
6090         (make_field_assignment): Likewise.
6091         (combine_simplify_rtx): Add cast.
6092         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
6093         (force_to_mode): WIDTH now unsigned; add cast.
6094         (if_then_else_cond): SIZE now unsigned.
6095         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
6096         (extended_count): Now returns unsigned.
6097         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
6098         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
6099         (simplify_comparison): MODE_WIDTH now unsigned.
6100         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
6101         (mark_used_regs_combine): Likewise; rework arithmetic.
6102         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
6103         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
6104         (record_promoted_value): REGNO now unsigned.
6105         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
6106         (get_last_value): REGNO now unsigned.
6107         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
6108         (reg_dead_regno, reg_dead_endregno): Now unsigned.
6109         (remove_death): Arg REGNO now unsigned.
6110         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
6111         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
6112         now unsigned.
6113         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
6114         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
6115         (struct cse_reg_info): REGNO now unsigned.
6116         (cached_regno): Now unsigned.
6117         (REGNO_QTY_VALID_P): Add cast.
6118         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
6119         (remove_invalid_regs): Likewise.
6120         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
6121         as are variables END and I.
6122         (get_cse_reg_info, insert): Likewise.
6123         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
6124         (canon_hash): Likewise.
6125         (insert_regs, lookup_for_remove): REGNO now unsigned.
6126         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
6127         New variable RN.
6128         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
6129         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
6130         * emit-rtl.c (subreg_realpart_p): Add cast.
6131         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
6132         (operand_subword_force): Arg I is now unsigned.
6133         * except.c (eh_regs): Variable I is now unsigned.
6134         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
6135         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
6136         length is unsigned HOST_WIDE_INT; likewise for internal variables.
6137         (store_split_bit_field, extract_fixed_bit_field): Likewise.
6138         (extract_split_bit_field, store_bit_field, extract_bit_field):
6139         Likewise.
6140         * expr.c (store_constructor_fields, store_constructor, store_field):
6141         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
6142         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
6143         (do_jump): Likewise.
6144         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
6145         MAX_SIZE is now unsigned.
6146         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
6147         (emit_group_store): Likewise.
6148         (emit_move_insn): I now unsigned.
6149         (store_constructor): Use host_integerp, tree_low_cst, and
6150         bitsize_unit_node.
6151         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
6152         Rework all calculations to use trees and new fields.
6153         * expr.h (promoted_input_arg): Regno now unsigned.
6154         (store_bit_field, extract_bit_field): Adjust types of pos and size.
6155         (mark_seen_cases): Arg is HOST_WIDE_INT.
6156         * flow.c (verify_wide_reg_1): REGNO now unsigned.
6157         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
6158         precisions and alignments are unsigned.
6159         (optimize_bit_field_compare, fold_truthop): Likewise.
6160         (int_const_binop): Adjust threshold for size_int_type_wide call.
6161         (fold_convert): Likewise.
6162         (size_int_type_wide): Make table larger and fix thinko that only
6163         had half of table used.
6164         (all_ones_mask_p, fold): Precisions are unsigned.
6165         * function.c (put_reg_info_stack): REGNO is unsigned.
6166         (instantiate_decl): Size is HOST_WIDE_INT.
6167         (instantiate_virtual_regs): I is unsigned.
6168         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
6169         (promoted_input_arg): REGNO is unsigned.
6170         * function.h (struct function): x_max_parm_reg is now unsigned.
6171         * gcse.c (max_gcse_regno): Now unsigned.
6172         (struct null_pointer_info): min_reg and max_reg now unsigned.
6173         (lookup_set, next_set): REGNO arg now unsigned.
6174         (compute_hash_table): REGNO and I now unsigned.
6175         (handle_avail_expr): regnum_for_replacing now unsigned.
6176         (cprop_insn): REGNO now unsigned.
6177         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
6178         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
6179         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
6180         * hard-reg-set.h (reg_class_size): Now unsigned.
6181         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
6182         * jump.c (mark_modified_reg): I now unsigned; add cast.
6183         (rtx_equal_for_thread_p): Add cast.
6184         * loop.c (max_reg_before_loop): Now unsigned.
6185         (struct_movable): REGNO now unsigned.
6186         (try_copy_prop): REGNO arg unsigned.
6187         (regs_match_p): XN and YN now unsigned.
6188         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
6189         (strength_reduce): Likewise; NREGS also unsigned.
6190         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
6191         * loop.h (struct iv_class): REGNO now unsigned.
6192         (max_reg_before_loop, first_increment_giv, last_increment_giv):
6193         Now unsigned.
6194         * machmode.h (mode_size, mode_unit_size): Now unsigned.
6195         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
6196         * optabs.c (expand_binop): I and NWORDS now unsigned.
6197         (expand_unop): I now unsigned.
6198         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
6199         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
6200         * real.c (significand_size): Now returns unsigned.
6201         * real.h (significand_size): Likewise.
6202         * regclass.c (reg_class_size): Now unsigned.
6203         (choose_hard_reg_mode): Both operands now unsigned.
6204         (record_reg_classes): REGNO and NR now unsigned.
6205         (reg_scan): NREGS now unsigned.
6206         (reg_scan_update): old_max_regno now unsigned.
6207         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
6208         * reload.c (find_valid_class): BEST_SIZE now unsigned.
6209         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
6210         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
6211         Likewise for variable R.
6212         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
6213         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
6214         (find_equiv_reg): Add casts.
6215         (regno_clobbered_p): Arg REGNO now unsigned.
6216         * reload.h (struct reload): NREGS now unsigned.
6217         (refers_to_regno_for_reload_p): Regno args are unsigned.
6218         (regno_clobbered_p): Likewise.
6219         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
6220         (compute_use_by_pseudos): REGNO now unsigned.
6221         (find_reg): I and J now unsigned, new variable K, and change loop
6222         variables accordingly; THIS_NREGS now unsigned.
6223         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
6224         (spill_hard_reg): REGNO arg now unsigned; add casts.
6225         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
6226         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
6227         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
6228         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
6229         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
6230         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
6231         (emit_reload_insns): REGNO now unsigned.
6232         (reload_cse_move2add): Add cast.
6233         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
6234         and rework loop.
6235         * resource.c (mark_referenced_resources, mark_set_resources): New
6236         variable R; REGNO and LAST_REGNO now unsigned.
6237         (mark_target_live_regs): J and REGNO now unsigned.
6238         * rtl.c (mode_size, mode_unit_size): Now unsigned.
6239         * rtl.h (union rtunion_def): New field rtuint.
6240         (XCUINT): New macro.
6241         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
6242         (operand_subword, operand_subword_force): Word number is unsigned.
6243         (choose_hard_reg_mode): Operands are unsigned.
6244         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
6245         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
6246         (regno_use_in, combine_instructions, remove_death): Likewise.
6247         (reg_scan, reg_scan_update): Likewise.
6248         (extended_count): Return is unsigned.
6249         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
6250         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
6251         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
6252         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
6253         (reg_reg_last_1): FIRS and LAST now unsigned.
6254         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
6255         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
6256         now unsigned.
6257         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
6258         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
6259         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
6260         (replace_regs): Arg NREGS now unsigned.
6261         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
6262         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
6263         (simplify_binary_operation): Likewise.
6264         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
6265         THIS_LAST now unsigned.
6266         (cselib_record_set): Add cast.
6267         * ssa.c (ssa_max_reg_num): Now unsigned.
6268         (rename_block): REGNO now unsigned.
6269         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
6270         sizes now unsigned.
6271         (all_cases_count): Just return -1 not -2.
6272         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
6273         Rework tests to use trees whenever possible.
6274         Use host_integerp and tree_low_cst.
6275         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
6276         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
6277         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
6278         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
6279         (smallest_mode_for_size): Likewise.
6280         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
6281         KNOWN_ALIGN is now an alignment, so simplify code.
6282         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
6283         (start_record_layout): Renamed from new_record_layout_info.
6284         Update to new fields.
6285         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
6286         New functions.
6287         (place_union_field): Renamed from layout_union_field.
6288         Update to use new fields in rli.
6289         (place_field): Renamed from layout_field.
6290         Major rewrite to use new fields in rli; pass alignment to layout_decl.
6291         (finalize_record_size): Rework to use new fields in rli and handle
6292         union.
6293         (compute_record_mode): Rework to simplify and to use new DECL fields.
6294         (finalize_type_size): Make rounding more consistent.
6295         (finish_union_layout): Deleted.
6296         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
6297         (layout_type, case RECORD_TYPE): Call new function names.
6298         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
6299         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
6300         (get_best_mode): UNIT is now unsigned; remove casts.
6301         * tree.c (bit_position): Compute from new fields.
6302         (byte_position, int_byte_position): New functions.
6303         (print_type_hash_statistics): Cast to remove warning.
6304         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
6305         (build_index_type): Likewise; make subtype of sizetype.
6306         (build_index_2_type): Pass sizetype to build_range_type.
6307         (build_common_tree_nodes): Use size_int and bitsize_int to
6308         initialize nodes; add bitsize_{zero,one,unit}_node.
6309         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
6310         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
6311         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
6312         (DECL_FIELD_BITPOS): Deleted.
6313         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
6314         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
6315         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
6316         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
6317         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
6318         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
6319         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
6320         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
6321         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
6322         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
6323         (DECL_ALIGN): Adjust to new field in union.
6324         (DECL_OFFSET_ALIGN): New field.
6325         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
6326         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
6327         (union tree_decl): Add struct for both aligns.
6328         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
6329         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
6330         (struct record_layout_info): Rework fields to have offset
6331         alignment and byte and bit position.
6332         (start_record_layout, place_field): Renamed from old names.
6333         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
6334         (byte_position, int_byte_position): Likewise.
6335         (get_inner_reference): Change types of position and length.
6336         * unroll.c (unroll_loop): New variable R; use for some loops.
6337         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
6338         (calculate_giv_inc): Arg REGNO now unsigned.
6339         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
6340         * varasm.c (assemble_variable): Clean up handling of size using
6341         host_integerp and tree_low_cst.
6342         (decode_addr_const): Use byte, not bit, position.
6343         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
6344         use tree_low_cst and int_bit_position.
6345         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
6346
6347 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
6348
6349         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
6350         (reorder_block_def): New members eff_head and eff_end.
6351         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
6352         (verify_insn_chain): New function.
6353         (skip_insns_between_block): Add code to skip deleted insns.
6354         Check for note before using.
6355         (chain_reorder_blocks): Replace calls to skip_insns_between_block
6356         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
6357         Check for note before using.
6358         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
6359         (fixup_reorder_chain): Restructure, clean up, defect removal.
6360         (reorder_basic_blocks): Remove last_insn and references to it.
6361         Moved insn chain verification code into a new function (see above).
6362         Delete defective code that sets last insn.
6363         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
6364         all blocks.
6365
6366 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6367
6368         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
6369
6370 2000-03-24  Richard Henderson  <rth@cygnus.com>
6371
6372         * tree.c (lang_safe_for_unsave): Remove.
6373         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
6374         allowing for two levels of unsafeness.  Remove lang hook.
6375         * tree.h: Update declarations.
6376         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
6377         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
6378         Always fail sibcalls when there are pending cleanups.
6379
6380 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
6381
6382         * flow.c (propagate_block): When we delete an ADDR_VEC,
6383         also delete the BARRIER following it if there is one.
6384
6385 2000-03-24  Richard Henderson  <rth@cygnus.com>
6386
6387         * builtins.c (expand_builtin_bzero): Convert `length' argument
6388         to sizetype.
6389
6390 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
6391
6392         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
6393         comparison if regno's are equal.
6394         * calls.c (initialize_argument_informat): Add ecf_flags argument.
6395         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
6396         (expand_call): Update caller.
6397         Avoid making a sibling call if argument size of the callee is larger
6398         than argument size of the caller.
6399         Call hard_function_value with outgoing set if in sibcall pass.
6400         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
6401
6402         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
6403         Change LEAF_REGISTERS from an array initializer to actual array
6404         identifier. Move static global variable into the function.
6405         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
6406         sequences for leaf functions.
6407         * global.c (global_alloc): Likewise.
6408         * tm.texi (LEAF_REGISTERS): Update documentation.
6409
6410         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
6411         TARGET_FLAT leaf disabling hack.
6412         (LEAF_REGISTERS): Changed from an array initializer to actual array
6413         identifier to avoid duplication and remove the above hack.
6414         (FUNCTION_OK_FOR_SIBCALL): Define.
6415         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
6416         always like call attribute.
6417         (eligible_for_sibcall_delay): New attribute.
6418         (sibcall): New delay type.
6419         (sibcall, sibcall_value, sibcall_epilogue): New expands.
6420         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
6421         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
6422         * config/sparc/sparc.c (sparc_leaf_regs): New array.
6423         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
6424         New functions.
6425         (output_function_epilogue): Move part of the code into
6426         output_restore_regs.
6427         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
6428         TYPE_SIBCALL.
6429         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
6430         prototypes.
6431
6432         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
6433         until infrastructure is finished.
6434
6435 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
6436
6437         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
6438         (save_parm_insns): Not here.
6439
6440 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6441
6442         * builtins.c (expand_builtin_bzero): New function.
6443         (expand_builtin): Handle bzero.
6444
6445         * builtins.def: Add BUILT_IN_BZERO.
6446
6447         * c-common.c (c_common_nodes_and_builtins): Provide builtin
6448         prototype & function for bzero.
6449
6450 2000-03-23  Michael Meissner  <meissner@redhat.com>
6451
6452         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
6453         change adding TARGET_FP to the TF floating point insns, except for
6454         trunctfsf2, which generates direct calls to truncdfsf2.
6455
6456 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
6457
6458         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
6459         try to protect against middle-end changes that break binary
6460         compatibility.
6461         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
6462
6463 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6464
6465         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
6466
6467 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6468
6469         * calls.c (expand_call): If TARGET is passed by reference and
6470         is readonly, write a CLOBBER.
6471
6472 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6473
6474         * builtins.c (expand_builtin): Handle bcmp.
6475
6476         * builtins.def: Add BUILT_IN_BCMP.
6477
6478         * c-common.c (c_common_nodes_and_builtins): Provide builtin
6479         prototype & function for bcmp.
6480
6481 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
6482
6483         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
6484         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
6485         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
6486
6487 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
6488
6489         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
6490         alternative when using -fp64 -gp32.
6491
6492 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
6493
6494         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
6495         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
6496         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
6497
6498         * frame.h (frame_state): Revert last change.
6499         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
6500         * libgcc2.c (throw_helper): Revert last change.
6501
6502 2000-03-22  Richard Henderson  <rth@cygnus.com>
6503
6504         * stmt.c (expand_asm_operands): Don't promote the temporary.
6505
6506 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6507
6508         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
6509         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
6510           c_get_alias_set): Likewise.
6511         * c-decl.c (duplicate_decls): Likewise.
6512         * c-typeck.c (default_conversion,build_unary_op): Likewise.
6513         * calls.c (initialize_argument_information): Likewise.
6514         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
6515         Likewise.
6516         * dwarfout.c (decl_class_context,output_type): Likewise.
6517         * expr.c (get_inner_reference): Likewise.
6518         * fold-const.c (simple_operand_p,fold): Likewise.
6519         * function.c (aggregate_value_p): Likewise.
6520         * stmt.c (expand_asm_operands): Likewise.
6521         * varasm.c (named_section): Likewise.
6522
6523 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
6524
6525         Implement dwarf2 exception handling for the ARM.
6526         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
6527         (DWARF_FRAME_RETURN_COLUMN): Define.
6528         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
6529         REG_FRAME_RELATED_EXPR note.
6530         (emit_sfm): Likewise.
6531         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
6532         * dwarf2out.c (reg_save): Handle saving a register to itself.
6533         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
6534         * except.c (eh_regs): Don't use the static chain reg if it's
6535         callee-saved.
6536         * frame.h (frame_state): Add cfa_saved field.
6537         * frame.c (execute_cfa_insn): Set it.
6538         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
6539         the epilogue.
6540         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
6541         Now takes a parm.
6542         (instantiate_virtual_regs): Adjust.
6543         * tm.texi: Adjust.
6544         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
6545         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
6546         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
6547
6548         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
6549         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
6550
6551 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6552
6553         * builtins.def: New file.
6554
6555         * Makefile.in (TREE_H): Depend on builtins.def.
6556
6557         * builtins.c (built_in_names): Use builtins.def.
6558
6559         * tree.h (built_in_function): Likewise.
6560
6561 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
6562
6563         * tree.c (size_in_bytes): Return size_zero_node, not
6564         integer_zero_node.
6565
6566 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
6567
6568         * config/fp-bit.c (pack_d): Correct the case when a denormal
6569         is rounded up and stops being denormal.
6570
6571 2000-03-21  Richard Henderson  <rth@cygnus.com>
6572
6573         * config/alpha/alpha.c (function_arg): Check for void_type_node
6574         before using MUST_PASS_IN_STACK.
6575
6576 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
6577
6578         * regmove.c (combine_stack_adjustments_for_block): Check that
6579         the stack pointer is a valid memory address.
6580
6581 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
6582
6583         * calls.c: re-install Mar 16 emit_library_call merge.
6584
6585 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
6586
6587         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
6588         we cannot be sure that if reload_completed base register will
6589         be properly aligned.
6590
6591 2000-03-21  Richard Henderson  <rth@cygnus.com>
6592
6593         * flow.c (delete_block): Fix typo last change.
6594
6595 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
6596
6597         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
6598         not COMPLETE_TYPE_P, to check the type of the expression.
6599
6600 2000-03-21  Michael Meissner  <meissner@redhat.com>
6601
6602         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
6603         all floating point insns that just tested the macro
6604         TARGET_HAS_XFLOATING_LIBS.
6605         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
6606         used to only use the gprs.
6607
6608 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
6609
6610         * tree.h (COMPLETE_TYPE_P): New macro.
6611         (COMPLETE_OR_VOID_TYPE_P): New macro.
6612         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
6613         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
6614         * c-aux-info.c (gen_type): Use them.
6615         * c-common.c (c_expand_expr_stmt): Likewise.
6616         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
6617         grokdeclarator, grokparms, finish_struct, start_function,
6618         store_parm_decls, combine_parm_decls): Likewise.
6619         * c-parse.y (cast_expr): Likewise.
6620         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
6621         c_size_in_bytes, c_alignof, build_component_ref,
6622         build_indirect_ref, build_array_ref, convert_arguments,
6623         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
6624         * calls.c (initialize_argument_information): Likewise.
6625         * convert.c (convert_to_integer): Likewise.
6626         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
6627         * dwarfout.c (location_or_const_value_attribute,
6628         output_enumeration_type_die, output_structure_type_die,
6629         output_union_type_die, output_type): Likewise.
6630         * expr.c (safe_from_p, expand_expr): Likewise.
6631         * function.c (assign_parms): Likewise.
6632         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
6633         * tree.c (build_array_type, build_function_type,
6634         build_method_type, build_offset_type, build_complex_type): Likewise.
6635         * c-parse.c, c-parse.h: Regenerated.
6636
6637 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6638
6639         * config/c4x/rtems.h: Include config/rtems.h.
6640
6641 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
6642
6643         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
6644         decl is a FUNCTION_DECL
6645
6646 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
6647
6648         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
6649         function uses output registers.  Don't save RP for leaf functions.
6650         Do save RP even if no epilogue.
6651         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
6652         (CALL_USED_REGISTERS): Unmark in registers.
6653         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
6654         to near the middle.
6655
6656 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
6657
6658         * config/rs6000/rs6000.md (bunordered): New expander.
6659         (bordered): New expander.
6660         (buneq): New expander.
6661         (bunge): New expander.
6662         (bungt): New expander.
6663         (bunle): New expander.
6664         (bunlt): New expander.
6665         (bltgt): New expander.
6666
6667         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
6668         (ccr_bit_negated_p): New function.
6669         (print_operand): For %C, generate appropriate cror for UNEQ,
6670         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
6671
6672 2000-03-20  Andreas Jaeger  <aj@suse.de>
6673
6674         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
6675         warning.
6676
6677         * tree.h (safe_for_unsave): Prototype.
6678
6679 2000-03-20  Richard Henderson  <rth@cygnus.com>
6680
6681         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
6682         (combine_stack_adjustments_for_block): Don't allow sp references
6683         in the side of a set we're not fixing up.
6684         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
6685         after life_analysis.
6686
6687 2000-03-20  Richard Henderson  <rth@cygnus.com>
6688
6689         * calls.c (expand_call): Don't bother generating tail call
6690         sequences if there are pending cleanups.  Use
6691         expand_start_target_temps/expand_end_target_temps to elide
6692         cleanups created during sibcall expansion.
6693
6694 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
6695
6696         * configure.in: Set $IFS to a value if it doesn't already have one
6697         in the --enable-checking handling.
6698         * configure: Regenerate.
6699
6700 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6701
6702         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
6703         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6704         Regenerated.
6705
6706 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
6707
6708         * jump.c (delete_noop_moves): Remove code attempting to
6709         combine stack adjustments.
6710
6711 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6712
6713         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
6714         * except.c (emit_cleanup_handler): Use them.
6715         (expand_end_all_catch): Likewise.
6716         * function.c (fixup_var_refs): Likewise.
6717         (expand_function_end): Clear catch_clauses_last.
6718         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
6719         * except.h (struct eh_status): New field x_catch_clauses_last.
6720         (catch_clauses_last): New define.
6721
6722         * Makefile.in (tree.o): Depend on HASHTAB_H.
6723         * tree.c: Include hashtab.h.
6724         (struct type_hash): Remove next field.
6725         (TYPE_HASH_SIZE): Remove.
6726         (TYPE_HASH_INITIAL_SIZE): New define.
6727         (type_hash_table): Change type to htab_t.
6728         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
6729         mark_hash_entry): New functions.
6730         (init_obstacks): Allocate type hash.
6731         (type_hash_lookup): Use htab functions.
6732         (type_hash_add, mark_type_hash): Likewise.
6733         (dump_tree_statistics): Call print_type_hash_statistics.
6734
6735 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6736
6737         * rs6000/t-aix41: New file.
6738
6739         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
6740
6741 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
6742
6743         * tm.texi (Driver): Fix typos and tweak entry for
6744         INCLUDE_DEFAULTS.
6745         Move misplaced STRUCT_FORCE_BLK entry ...
6746         (Storage Layout): ... to here.
6747         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
6748
6749 2000-03-19  Richard Henderson  <rth@cygnus.com>
6750
6751         * flow.c (delete_block): Delete the addr_vec along with the block.
6752         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
6753         reference labels.
6754
6755         * fold-const.c (extract_muldiv): Apply type check for defined
6756         overflow to multiply as well as divide.
6757
6758         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
6759
6760 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
6761
6762         * emit-rtl.c (remove_unncessary_notes): Check that all
6763         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
6764         associated NOTE_BLOCK.
6765         * function.h (identify_blocks): Update comments.
6766         (reorder_blocks): Declare.
6767         * function.c (identify_blocks): Don't take paramters.
6768         (reorder_blocks): Don't take parameters.
6769         * loop.h (find_loop_tree_blocks): Remove.
6770         (unroll_block_trees): Likewise.
6771         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
6772         reorder_blocks instead of unroll_block_trees.h
6773         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
6774         * stmt.c (find_loop_tree_blocks): Remove.
6775         (unroll_block_trees): Likewise.
6776         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
6777         in whole-function mode.
6778         * tree.h (reorder_blocks): Remove declaration.
6779
6780         * expr.c: Include intl.h.
6781         * Makefile.in (expr.o): Depend on intl.h.
6782
6783 2000-03-18  Richard Henderson  <rth@cygnus.com>
6784
6785         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
6786
6787 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
6788
6789         * tree.h (tree_index): Remove enumerals for integer types.
6790         (integer_type_kind): New type.
6791         (integer_types): New variable.
6792         (char_type_node): Adjust.
6793         (signed_char_type_node): Likewise.
6794         (unsigned_char_type_node): Likewise.
6795         (short_integer_type_node): Likewise.
6796         (short_unsigned_type_node): Likewise.
6797         (integer_type_node): Likewise.
6798         (unsigned_type_node): Likewise.
6799         (long_integer_type_node): Likewise.
6800         (long_unsigned_type_node): Likewise.
6801         (long_long_integer_type_node): Likewise.
6802         (long_long_unsigned_type_node): Likewise.
6803         * tree.c (integer_types): New variable.
6804         (init_obstacks): Register it as a root.
6805
6806 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
6807
6808         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
6809         NEXT_INSN. Update last insn in chain.
6810
6811 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
6812
6813         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
6814         with TYPE_DECL_SUPPRESS_DEBUG set.
6815
6816 2000-03-18  Richard Henderson  <rth@cygnus.com>
6817
6818         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
6819
6820 2000-03-18  Richard Henderson  <rth@cygnus.com>
6821
6822         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
6823         care for HALF_PIC_P.
6824         (expander_call_insn_operand): Remove.
6825         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
6826         * i386.h (PREDICATE_CODES): Update.
6827         * i386.md (all call expanders): Remove predicates, remove special
6828         handling for half-pic.
6829         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
6830         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
6831         (sibcall_epilogue): New.
6832
6833 2000-03-17  Richard Henderson  <rth@cygnus.com>
6834
6835         * rtlanal.c (single_set): Reject if the parallel has anything
6836         except SET or USE or CLOBBER.
6837
6838 2000-03-17  Jeff Law  <law@cygnus.com>
6839             Richard Henderson  <rth@cygnus.com>
6840
6841         * Makefile.in (OBJS): Add sibcall.o.
6842         (sibcall.o): New.
6843         * sibcall.c: New file.
6844         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
6845         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
6846         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
6847         Emit sibcall patterns when requested.  Update all callers.
6848         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
6849         elimination seems feasable.
6850         * final.c (leaf_function_p): Sibling calls don't discount being
6851         a leaf function.
6852         * flow.c (HAVE_sibcall_epilogue): Provide default.
6853         (find_basic_blocks_1): Sibling calls don't throw.
6854         (make_edges): Make edge from sibling call to EXIT.
6855         (propagate_block): Don't remove sibcall_epilogue insns.
6856         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
6857         (sibcall_epilogue): New.
6858         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
6859         (identify_blocks_1): Likewise.  Break out from ...
6860         (identify_blocks): ... here.
6861         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
6862         (reorder_blocks): ... here.
6863         (init_function_for_compilation): Zap prologue/epilogue as varrays.
6864         (record_insns): Extend a varray instead of mallocing new memory.
6865         (contains): Read a varray not array of ints.
6866         (sibcall_epilogue_contains): New.
6867         (thread_prologue_and_epilogue_insns): Emit and record
6868         sibcall_epilogue patterns.
6869         (init_function_once): Allocate prologue/epilogue varrays.
6870         * genflags.c (gen_insn): Treat sibcall patterns as calls.
6871         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
6872         Broken out from ...
6873         (save_for_inline_nocopy): ... here.
6874         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
6875         Broken out from ...
6876         (expand_inline_function): ... here.
6877         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
6878         (subst_constants): Handle 'n' formats.
6879         * jump.c (jump_optimize_minimal): New.
6880         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
6881         optimizations if it's set.
6882         * rtl.c (copy_rtx): Do copy jump & call for insns.
6883         * rtl.h (struct rtx_def): Document use of jump and call for insns.
6884         (SIBLING_CALL_P): New.
6885         (sibcall_use_t): New.
6886         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
6887         Invoke optimize_sibling_and_tail_recursive_calls.
6888         * tree.c (lang_safe_for_unsave): New.
6889         (safe_for_unsave): New.
6890         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
6891
6892         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
6893         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
6894         (*sibcall_osf_1, *sibcall_value_osf_1): New.
6895
6896 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
6897
6898         * objc/objc-act.c (encode_method_prototype): Pass types, not
6899         PARM_DECLs, to int_size_in_bytes.
6900
6901 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
6902
6903         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
6904
6905         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
6906         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
6907
6908 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6909
6910         * Clean up usages of TREE_INT_CST_LOW.
6911         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
6912         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6913         Regenerated.
6914         * c-tree.h (min_precision): Move declaration to here.
6915         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
6916         (build_unary_op, add_pending_init): Use bit_position.
6917         (pending_init_member, process_init_element): Likewise.
6918         (really_start_incremental_init, push_init_level, pop_init_level):
6919         Don't make copies of nodes or modify them in place, use consistent
6920         types when tracking positions, and use tree routines computations.
6921         (set_init_index, output_init_element): Likewise.
6922         (output_pending_init_elements, process_init_element): Likewise.
6923         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
6924         tree_low_cst and int_bit_position; also minor cleanup.
6925         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
6926         (print_cst_octal): Precision is unsigned.
6927         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
6928         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
6929         (simple_type_align_in_bits): Result is unsigned int.
6930         Use tree_int_low_cst and host_integerp.
6931         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
6932         (field_byte_offset): Result is HOST_WIDE_INT.
6933         Change types of internal variables so alignments are unsigned int,
6934         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
6935         Use host_integerp, tree_low_cst, and int_bit_position.
6936         (add_bit_offset_attribute): Likewise.
6937         (add_data_member_location_attribute): Use tree_cst_low.
6938         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
6939         (add_bit_size_attribute): Use tree_low_cst.
6940         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
6941         * dwarfout.c: Similar changes to dwarf2out.c.
6942         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
6943         * genoutput.c (n_occurences): Return -1 for null string.
6944         (strip_whitespace): Accept null string and make into function.
6945         (scan_operands): Reflect above changes.
6946         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
6947         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
6948         * ssa.c (rename_registers): Add missing cast of arg to bzero.
6949         * tree.c (int_size_in_bytes): Check for too big to represent.
6950         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
6951         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
6952         New declarations.
6953         (min_precision): Delete from here.
6954         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
6955         and int_bit_position.
6956         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
6957         (encode_method_def): Likewise.
6958         (build_ivar_list_initializer): Use int_bit_position.
6959         (generate_shared_structures): Convert size.
6960         (encode_type, encode_complete_bitfield): Use integer_zerop.
6961         (encode_bitfield): Use tree_low_cst and int_bit_position.
6962
6963 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6964
6965         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
6966
6967 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6968
6969         * call.c (special_function_p): It is only malloc if it returns
6970         Pmode.
6971
6972 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6973
6974         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
6975         (C33_FLAG, TARGET_C3X): Add macros.
6976         (TARGET_SWITCHES): Add -m33 option.
6977         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
6978
6979 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6980
6981         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
6982         (PARALLEL_PACK_FLAG): Delete.
6983         (TARGET_SWITCHES): Update.
6984         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
6985
6986 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6987
6988         * fold-const.c (fold): Fix a few cases when the returned result
6989         is not of the same type as the input.
6990
6991 2000-03-16  Nick Clifton  <nickc@cygnus.com>
6992
6993         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
6994         warning.
6995
6996 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6997
6998         * libgcc2.h: Move prototypes above macros with the same name.
6999         Wrap some function prototypes in the conditional which indicates
7000         whether they are supported, i.e. "BITS_PER_UNIT == 8".
7001
7002 2000-03-16  Richard Henderson  <rth@cygnus.com>
7003
7004         * calls.c: Revert last two changes.
7005
7006 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
7007
7008         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
7009         has exponent 0 is a zero.
7010
7011         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
7012         HASH may already be nonzero.  Add code/mode into hash value
7013         immediately after repeat label.
7014         (cselib_lookup): Don't leave the hash table in an inconsistent
7015         state before a hash lookup operation.
7016
7017 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
7018
7019         * i386.md (all HI and QI mode non-move patterns):  Conditionize
7020         by TARGET_[HQ]IMODE_MATH.
7021         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
7022         x86_promote_qi_regs): Declare.
7023         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
7024         TARGET_PROMOTE_QI_REGS): New macros.
7025         (PROMOTE_MODE): New macro.
7026         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
7027         x86_promote_qi_regs): New global variables.
7028
7029 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
7030
7031         * calls.c (emit_library_call_value_1): Break out from ...; handle
7032         VOIDmode function calls too.
7033         (emit_library_call_value): ... here.
7034         (emit_library_call): Implement by calling emit_library_call_value_1.
7035
7036 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
7037
7038         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
7039         Update arg_space_so_far on stack adjustments.
7040         (emit_library_call, emit_library_call_value): Likewise; take into
7041         account arg_space_so_far and pending_stack_adjust when calculcating
7042         the boundary.
7043
7044 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
7045
7046         * flow.c: Move all basic block reordering code into its own file.
7047         (create_basic_block): Externalize.
7048         * bb-reorder.c: New file. Copy all basic block reordering code from
7049         flow.c to this file.
7050         (reorder_basic_blocks): Fix fencepost error in for-loop.
7051         (reorder_basic_blocks): Remove braces from single statement for-loops.
7052         * basic-block.h: Add declaration for create_basic_block.
7053         * Makefile.in: Add rules for bb-reorder.o.
7054
7055 2000-03-16  Neil Booth  <NeilB@earthling.net>
7056
7057         * cppinit.c (handle_option):  Implement #unassert directive
7058         as -A- command line option.
7059         (print_help):  Update.
7060         * cpptexi.c:  Update.
7061
7062 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7063
7064         * md.texi (Standard Names): Document `jump'.
7065
7066 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
7067
7068         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
7069         gotos.
7070
7071 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
7072
7073         Merge changes from newppc-branch onto trunk.
7074
7075         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
7076
7077         * rs6000.c (toc_hash_table): Update for new hash table functions.
7078         (toc_hash_function): Likewise.
7079         (toc_hash_eq): Likewise.
7080         (toc_hash_mark_entry): Likewise.
7081         (toc_hash_mark_table): Likewise.
7082         (output_toc): Likewise.
7083         (rs6000_add_gc_roots): Likewise.
7084
7085         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7086
7087         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
7088         (AR_FLAGS_FOR_TARGET): here.  New macro.
7089
7090         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
7091
7092         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
7093         fpmem_operand) Delete.
7094         (xer_operand) New.
7095         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
7096         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
7097         (rs6000_save_machine_status, rs6000_restore_machine_status,
7098         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
7099         references to above variables.
7100         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
7101         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
7102         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
7103         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
7104         (XER_REGNO_P, XER_REGNO): New.
7105         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
7106         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
7107         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
7108         XER_REGNO_P.
7109         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
7110         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
7111         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
7112
7113         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7114
7115         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
7116         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
7117         * rs6000.h: from here.
7118
7119         * rs6000-protos.h (rs6000_select_section): Provide prototype.
7120         (rs6000_select_rtx_section): Likewise.
7121         (rs6000_encode_section_info): Likewise.
7122         (sdata_section): Likewise.
7123         (sdata2_section): Likewise.
7124         (sbss_section): Likewise.
7125         * sysv4.h (rs6000_select_section): Delete prototype.
7126         (rs6000_select_rtx_section): Likewise.
7127         (rs6000_encode_section_info): Likewise.
7128         (sdata_section): Likewise.
7129         (sdata2_section): Likewise.
7130         (sbss_section): Likewise.
7131         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
7132
7133         * sysv4.h: Delete various unnecessary #undef's and put a comment
7134         on the remaining ones.
7135         Change various comments according to coding standard.
7136
7137         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
7138
7139         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
7140         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
7141         (CR0_REGNO_P) Remove.
7142         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
7143         setup_incoming_varargs, mtcrf_operation, print_operand,
7144         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
7145         Use the above macros.
7146
7147         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
7148
7149         * config/rs6000/rs6000.md: Added a new alternative for each
7150         pattern that had a 'x' alternative but no 'y' alternative.
7151         Added a new split for each of the above patterns.
7152
7153         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
7154
7155         * aix41.h (ASM_CPU_SPEC): Delete.
7156         (CPP_CPU_SPEC): Delete.
7157
7158         * aix.h (RS6000_OUTPUT_BASENAME): Define.
7159         (ASM_OUTPUT_LABEL): Define.
7160         (ASM_GLOBALIZE_LABEL): Define.
7161         (STRIP_NAME_ENCODING): Define.
7162         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
7163         (STRIP_NAME_ENCODING): Don't define.
7164         (ASM_OUTPUT_LABEL): Don't define.
7165         (ASM_GLOBALIZE_LABEL): Don't define.
7166         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
7167         names, and ASM_OUTPUT_LABEL to output labels, rather than
7168         asm_fprintf.
7169         (ASM_OUTPUT_LABEL): Define.
7170         (ASM_OUTPUT_INT): Use assemble_name.
7171         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
7172         (STRIP_NAME_ENCODING): Don't undefine first.
7173         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
7174         ELF.
7175         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
7176         specified with 'asm' even with -fleading-underscore.
7177         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
7178         (output_epilog): Likewise.
7179         (output_toc): Likewise.
7180         * tramp.asm: Handle -fleading-underscore correctly.
7181
7182         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
7183         -mminimal-toc.
7184         (nonlocal_goto_receiver): Delete.
7185         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
7186
7187         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
7188         (SET_ASM_OP): Define.
7189         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
7190
7191         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
7192         (ASM_LONG): Define.
7193
7194         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
7195         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
7196
7197         * rs6000.h: Add 'u' to more constants.
7198
7199         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
7200
7201         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
7202
7203         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
7204
7205         * rs6000.c (reg_or_u_cint_operand): New function.
7206         (logical_operand): Handle 64-bit hosts.
7207         (logical_u_operand): New function.
7208         (non_logical_cint_operand): Handle 64-bit hosts.
7209         (non_logical_u_cint_operand): New function.
7210         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
7211         (PREDICATE_CODES): Define new functions.
7212         * rs6000-protos.h: Declare new functions.
7213         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
7214         (movdi_64): Bracket code intended for 64-bit hosts.  Create
7215         CONST_DOUBLE for 32-bit values.
7216         (scc insns): Generate DImode compares.
7217         (mfcr insns): Create DImode versions.
7218         (sge matchers): New patterns.
7219
7220         2000-02-15  Gabriel Paubert  <paubert@iram.es>
7221
7222         * rs6000.md: Correct instructions length attributes and
7223         constraints on unsigned compare instructions.
7224         (*ne0): Disable for PowerPC64.
7225
7226         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
7227
7228         * rs6000.c (output_function_profiler): Use .long for a 32-bit
7229         quantity, fix profile1.C test failure under -fPIC.
7230
7231         * rs6000.c: Add 'u' to many constants to suppress warnings.
7232         (constant_pool_expr_1): Make static.
7233         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
7234         * rs6000.h: Add 'u' to many constants to suppress warnings.
7235
7236         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
7237         for the start of the TOC, instead of LCTOC..0.
7238         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
7239         of the TOC.
7240         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
7241         (load_toc_aix_di): Use LCTOC..1.
7242
7243         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
7244         * rs6000.c (rs6000_legitimize_address): New function from
7245         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
7246         symbols in the constant pool that really are TOC references.
7247         (print_operand_address): For ELF, write TOC offsets under
7248         -fPIC as subtractions in the insn.
7249         (output_toc): For ELF, define symbols in TOC as normal labels,
7250         to match RTL.
7251         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
7252         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
7253         (create_TOC_reference): Prototype only when RTX_CODE is defined.
7254         * rs6000.md (movsi): Only use create_TOC_reference on
7255         symbols in the constant pool that really are TOC references.
7256
7257         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
7258         * rs6000.c (rs6000_reorg): Delete.
7259         * rs6000-protos.h (rs6000_reorg): Delete.
7260
7261         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
7262
7263         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
7264
7265         * aix.h (SETUP_FRAME_ADDRESSES): Define.
7266         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
7267         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
7268         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
7269         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
7270         rs6000_aix_emit_builtin_unwind_init.
7271         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
7272         rs6000_emit_eh_toc_restore on AIX.
7273         (return_eh_si): Use r2.
7274         (return_eh_di): Use r2.
7275
7276         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
7277         since we're breaking binary compatibility anyway.
7278
7279         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7280
7281         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
7282         constant_pool_expr_p): Declare them.
7283         (constant_pool_expr_p): Declare it.
7284         * config/rs6000/rs6000.c (toc_label_name): Define.
7285         (rs6000_override_options): Set toc_label_name.
7286         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
7287         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
7288         uses_TOC): New functions.
7289         (print_operand): Delete old '*' case.
7290         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
7291         and strip off rtl for TOC before calling output_addr_const.
7292         (rs6000_emit_load_toc_table): Use toc_label_name.
7293         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
7294         the default.
7295         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
7296         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
7297         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
7298         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
7299         into explicit TOC_REGISTER offsets.
7300         (TOC_REGISTER): New macro.
7301         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
7302         TARGET_TOC to reference TOC_REGISTER.
7303         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
7304         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
7305         uses_TOC before emitting label references.
7306
7307         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
7308
7309         * rs6000.md (stack_tie): Fix warning.
7310
7311         * eabi-ctors.c: Use 'asm' names for the start/end variables,
7312         to handle -fleading-underscore.
7313         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
7314         (USER_LABEL_PREFIX): New macro.
7315         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
7316         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
7317         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
7318         call-linux can use the same multilibs.
7319         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
7320         and call-linux multilibs.  Do multilib with -fleading-underscore.
7321         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
7322         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
7323         to call-aix.
7324
7325         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
7326         have MASK_SOFT_FLOAT set.
7327         (CPP_FLOAT_DEFAULT_SPEC): New macro.
7328         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
7329         CPP_FLOAT_DEFAULT_SPEC.
7330
7331         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
7332         * rs6000.md: Whitespace change.
7333         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
7334         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
7335
7336         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
7337
7338         * rs6000.md (eh_epilogue): New expander.
7339         (eh_reg_restore): New expand/split/insn combination.
7340         (return_eh_si): New insn.
7341         (return_eh_di): New insn.
7342
7343         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
7344         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
7345         * eabi-ctors.c (__do_global_ctors): Register this object's
7346         frame.  Clean up.  Call atexit() after the constructors.
7347         (__do_global_dtors): Deregister this object's frame.  Clean up.
7348         Allow for recursive calls to exit().
7349         * rs6000.c (fixuplabelno): New variable.
7350         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
7351         TARGET_RELOCATABLE, it slows down exec() under linux.
7352         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
7353
7354         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
7355         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
7356         (ASM_OUTPUT_DWARF_DELTA2): New macro.
7357         (ASM_OUTPUT_DWARF_DELTA4): New macro.
7358         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
7359         (ASM_OUTPUT_DWARF_ADDR): New macro.
7360         (ASM_OUTPUT_DWARF_DATA4): New macro.
7361         (ASM_OUTPUT_DWARF_DATA2): New macro.
7362         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
7363         (ASM_OUTPUT_DWARF_OFFSET): New macro.
7364         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
7365
7366         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
7367
7368         * rs6000.c (rs6000_sr_alias_set): New variable.
7369         (rs6000_override_options): Initialise rs6000_sr_alias_set.
7370         (rs6000_emit_stack_tie): New function.
7371         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
7372         in a way that dwarf2out can understand.
7373         (rs6000_frame_related): New function.
7374         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
7375         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
7376         Use rs6000_emit_stack_tie when needed.
7377         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
7378         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
7379         * rs6000.md (stack_tie): New insn.
7380         (return_internal_si): Allow return value to be in the count
7381         register.
7382         (return_internal_di): Likewise.
7383
7384         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
7385
7386         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
7387
7388         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
7389
7390         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
7391
7392         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
7393
7394         * rs6000.md (stmw): Use the right POWER opcode.
7395         (lmw): Likewise.
7396
7397         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7398
7399         * rs6000-protos.h: New file.
7400
7401         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
7402
7403         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
7404         warnings.
7405
7406         * sysv4.h: Likewise.
7407
7408         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
7409
7410         * ../../configure.in: Delete powerpcle-*-winnt*
7411         and powerpcle-*-pe|powerpcle-*-cygwin*.
7412         * ../../configure: Regenerated.
7413         * cygwin.h: Delete.
7414         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
7415         (TARGET_WINDOWS_NT): Delete.
7416         (ABI_NT): Delete.
7417         (CALL_NT_DLLIMPORT): Delete.
7418         Delete NT-specific code.
7419         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
7420         * win-nt.h: Delete.
7421         * t-winnt: Delete.
7422         * nt-ci.asm: Delete.
7423         * nt-cn.asm: Delete.
7424         * ntstack.asm: Delete.
7425
7426         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7427
7428         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
7429         (ASM_FILE_START): Likewise.
7430         (ASM_DECLARE_FUNCTION_NAME): Likewise.
7431         (ASM_OUTPUT_LABELREF): Likewise.
7432         (ASM_OUTPUT_SKIP): Likewise.
7433         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
7434         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
7435         (ASM_OUTPUT_CASE_LABEL): Likewise.
7436         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
7437         (ASM_OUTPUT_ASCII): Likewise.
7438
7439         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
7440
7441         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
7442         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
7443         increment rs6000_pic_labelno here.
7444         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
7445         and increment rs6000_pic_labelno here.
7446
7447         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
7448
7449         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
7450         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
7451         allocation knows (reg) is dead before the insn.
7452
7453         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
7454
7455         * rs6000.md (movsi_to_cr): Correct typo in output template.
7456
7457         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
7458
7459         * rs6000.c (rs6000_pic_labelno): Always define.
7460         (rs6000_pic_func_labelno): Delete.
7461         (lmw_operation): Check for a zero base register,
7462         which doesn't mean what we want.
7463         (stmw_operation): New function.
7464         (print_operand): Define new 'l' modifier.
7465         (rs6000_stack_info): We must save all 64 bits of the registers
7466         if TARGET_POWERPC64.
7467         (rs6000_output_load_toc_table): Delete.
7468         (rs6000_emit_load_toc_table): New function.
7469         (rs6000_allocate_stack_space): Delete.
7470         (rs6000_emit_allocate_stack): New function.
7471         (rs6000_emit_prologue): New function.
7472         (output_prolog): Use rs6000_emit_prologue.
7473         (rs6000_emit_epilogue): Change a few variable names to be
7474         more accurate.  Restore all 64 bits of the registers if
7475         TARGET_POWERPC64.  Only restore the FP registers which were used
7476         if they are being saved/restored one-at-a-time.
7477         (output_mi_thunk): Delete inefficient code generation.
7478         (output_function_profiler): Don't use rs6000_output_load_toc_table.
7479         * rs6000.h: Declare rs6000_emit_load_toc_table,
7480         rs6000_allocate_stack_space, stmw_operation.  Don't declare
7481         rs6000_output_load_toc_table.
7482         * rs6000.md (elf_high): Allow register 0, but discourage it
7483         heavily.
7484         (elf_low): Support loading into register 0.
7485         (load_toc_aix_si): New pattern.
7486         (load_toc_aix_di): New pattern.
7487         (load_toc_v4_pic_si): New pattern.
7488         (load_toc_v4_pic_di): New pattern.
7489         (load_toc_v4_PIC_1): New pattern.
7490         (load_toc_v4_PIC_1b): New pattern.
7491         (load_toc_v4_PIC_2): New pattern.
7492         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
7493         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
7494         (prologue): New expander.
7495         (movesi_from_cr): New pattern.
7496         (stmw): New pattern.
7497         (save_fpregs_si): New pattern.
7498         (save_fpregs_di): New pattern.
7499
7500         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7501
7502         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
7503         (movdi): Likewise.
7504         (movhi): Likewise.
7505         (movqi): Likewise.
7506
7507         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7508
7509         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
7510         at present.
7511         (movsi_got_internal): Likewise.
7512         (movsi_got_internal+1): Likewise.
7513         (set_sp): 'unspec 7' does a SImode clobber.
7514
7515         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7516
7517         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
7518         allocate a stack temporary.
7519         (floatsidf2_internal): Likewise.
7520         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
7521         with unspec.
7522         (floatunssidf2): Don't use the fpmem "register", just
7523         allocate a stack temporary.
7524         (floatunssidf2_internal): Likewise.
7525         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
7526         with unspec.
7527         (floatsidf2_loadaddr): Delete.
7528         (floatsidf2_store1): Delete.
7529         (floatsidf2_store2): Delete.
7530         (floatsidf2_load): Delete.
7531         (fix_truncdfsi2): Don't use the fpmem "register", just
7532         allocate a stack temporary.
7533         (fix_truncdfsi2_internal_si): Delete.
7534         (fix_truncdfsi2_internal_di): Delete.
7535         (fix_truncdfsi2_internal): New insn.
7536         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
7537         (fix_truncdfsi2_store): Delete.
7538         (fix_truncdfsi2_load): Delete.
7539         (fctiwz): Produce gen_fctiwz.
7540
7541         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
7542
7543         * eabi.h (INVOKE__main): Define.
7544         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
7545         specially.
7546         (rs6000_emit_prologue): Likewise.
7547         * rs6000.h (struct rs6000_stack): Don't keep track of whether
7548         this is the main program.
7549
7550         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7551
7552         * rs6000.c (rs6000_va_arg): Delete some unused variables.
7553
7554         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7555
7556         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
7557         goes after the argument.
7558
7559         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
7560
7561         * rs6000.md: Document 'unspec' values used.
7562         (epilogue): New expander.
7563         (movesi_to_cr_one): New expander.
7564         (movesi_to_cr and following): New pattern.
7565         (lmw): New pattern.
7566         (return_internal_si): New pattern.
7567         (return_internal_di): New pattern.
7568         (return_and_restore_fpregs_si): New pattern.
7569         (return_and_restore_fpregs_di): New pattern.
7570         * rs6000.h: Declare new functions.
7571         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
7572         rather than rs6000_calls_p.
7573         (rs6000_makes_calls): Delete.
7574         (lmw_operation): New function.
7575         (mtcrf_operation): New function.
7576         (rs6000_emit_epilogue): New function.
7577         (output_epilog): Call rs6000_emit_epilogue and final if
7578         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
7579
7580         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
7581
7582         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
7583         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
7584         * aix.h (SUBTARGET_SWITCHES): Document switches.
7585         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
7586         sched-prolog and sched-epilog the same.  Document all the
7587         switches.
7588         (TARGET_OPTIONS): No longer allow -mdebug-.
7589
7590         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
7591
7592         * rs6000.h (ASM_FILE_END): Move to aix.h.
7593         (EXTRA_SECTIONS): Move to aix.h.
7594         (READONLY_DATA_SECTION): Move to aix.h.
7595         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
7596         (SELECT_SECTION): Move to aix.h.
7597         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
7598         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
7599         (LINK_REGISTER_REGNUM): New definition.
7600         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
7601         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
7602         AIX and SVR4.
7603         * sysv4.h: Delete the code between the inclusion of rs6000.h
7604         and svr4.h.
7605         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
7606         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
7607         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
7608         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
7609         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
7610         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
7611         (fix_truncdfsi2_internal_di): New pattern.
7612         (fix_truncdfsi2_store): The second arg here is Pmode too.
7613         (fix_truncdfsi2_load): The second arg here is Pmode too.
7614         (tablejumpdi): Now that switch tables hold only SImode values,
7615         gcc needs to know how to add them to the pc which is DImode.
7616         * rs6000.c (rs6000_stack_info): Use symbolic name for
7617         LINK_REGISTER_REGNUM.
7618         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
7619         (output_toc): Delete unused variables s1 and s2.
7620         (output_ascii): Use fputs not fprintf on a variable string.
7621
7622         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
7623
7624         * rs6000.c (processor_target_table): Add power3 as alias for 630.
7625         * aix43.h: Revert Aug 2 change.
7626         (HAS_INIT_SECTION): Define, not visible yet.
7627         (LD_INIT_SWITCH): Define, not visible yet.
7628         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
7629
7630         2000-01-04  Joel Sherrill (joel@OARcorp.com>
7631
7632         * config/rs6000/rtems.h: Include config/rtems.h.
7633
7634         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
7635
7636         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
7637         (SLOW_UNALIGNED_ACCESS): Define.
7638         (CASE_VECTOR_MODE): Always use 32-bit offsets.
7639         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
7640         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
7641         (toc_section): Likewise and .toc pseudo-op.
7642         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
7643         64-bit mode.
7644         (TEXT_SECTION_ASM_OP): Likewise.
7645         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
7646         32-bit offsets.
7647
7648         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
7649
7650         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
7651         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
7652         compiling libgcc2.
7653
7654         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7655
7656         * rs6000.h: Move more stuff from here...
7657         * aix.h: to here.
7658         * sysv4.h: Cleanup accordingly.
7659         * netware.h: Likewise
7660
7661         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7662
7663         * rs6000.h: Continue cleanup.
7664         * aix.h: Likewise.
7665         * lynx.h: Likewise.
7666         * netware.h: Likewise.
7667         * sol2.h: Likewise.
7668         * sysv4.h: Likewise.
7669         * win-nt.h: Likewise.
7670
7671         * rs6000.h (TARGET_SWITCHES): Add descriptions.
7672         (TARGET_OPTIONS): Likewise.
7673
7674         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
7675         (SUBTARGET_OPTIONS): Likewise.
7676
7677         * rs6000.md: Fix compile time warnings.
7678
7679         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7680
7681         vxworks patches from the Cygnus tree originally by
7682         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
7683         <vmakarov@cygnus.com>.
7684         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
7685         (ENDFILE_SPEC): Likewise.
7686         (LIB_VXWORKS_SPEC): New macro.
7687         (STARTFILE_VXWORKS_SPEC): New macro.
7688         (ENDFILE_VXWORKS_SPEC): New macro.
7689         (LINK_START_VXWORKS_SPEC): New macro.
7690         (LINK_OS_VXWORKS_SPEC): New macro.
7691         (CPP_OS_VXWORKS_SPEC): New macro.
7692         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
7693         * vxppc.h: Rewrite to use proper configuration method.
7694         * vxppcle.h: New file.
7695         * ../../configure.in: Add powerpcle-wrs-vxworks*.
7696         * ../../configure: Rebuilt.
7697
7698         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7699
7700         Lots of changes to rs6000.h, sysv4.h, aix.h,
7701         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
7702         with the aim that rs6000.h is the first header
7703         included and the others override it.
7704         * aix.h: New file.
7705
7706         * x-aix41-gld: Remove.
7707         * x-aix43: Remove.
7708         * x-aix41: Remove target-specific switches, and don't specify
7709         -Wl,-bbigtoc as we don't need it any more.
7710         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
7711         Use t-aix43 for AIX 4.3 and above.
7712         * ../../configure: Regenerated.
7713
7714         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
7715         options, that don't do anything yet.
7716         (MASK_SCHED_PROLOG): New macro.
7717         (MASK_SCHED_EPILOG): New macro.
7718         (TARGET_SCHED_PROLOG): New macro.
7719         (TARGET_SCHED_EPILOG): New macro.
7720
7721         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7722
7723         * rs6000.c: Correct comment, the `minimal' TOCs are actually
7724         one per translation unit, not one per function.
7725         (output_toc): Also do duplicate constant elimination
7726         for per-translation-unit TOCs.
7727
7728         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
7729         a comment explaining _exactly_ when this pattern gets used.
7730         (builtin_setjmp_receiver): New pattern for better clarity.
7731         (init_v4_pic): Move it into a section dealing with TOC registers.
7732
7733         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
7734
7735         * rs6000.c (toc_hash_table): New variable.
7736         (rs6000_hash_constant): New function.
7737         (toc_hash_function): New function.
7738         (toc_hash_eq): New function.
7739         (toc_hash_mark_entry): New function.
7740         (toc_hash_mark_table): New function.
7741         (output_toc): Don't output duplicate TOC entries in
7742         a single file.
7743         (rs6000_add_gc_roots): Add the hash table as a GC root.
7744         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
7745         where they clearly shouldn't be.  This may need to be fixed
7746         later when there is a GNU ar for AIX.
7747         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
7748         Don't define BOOT_LDFLAGS as it is now not necessary.
7749
7750         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
7751
7752         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
7753         for va_list on AIX.  Use unsigned_char_type_node rather than
7754         constructing our own version on svr4.
7755
7756         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
7757
7758         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
7759         since patently it's not.
7760
7761         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
7762
7763         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
7764         define_expand/define_insn pair, and handle restore of the
7765         SVR4 -fpic register.
7766
7767 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
7768
7769         * acconfig.h (HAVE_GAS_WEAK): New define.
7770         * configure.in (assembler weak support): Check for .weak support.
7771         * config.in, configure: Rebuilt.
7772         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
7773         HAVE_GAS_WEAK is defined.
7774
7775 2000-03-15  Nick Clifton  <nickc@cygnus.com>
7776
7777         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
7778         asm_fprintf().
7779
7780 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
7781
7782         * cppfiles.c (open_include_file): New function.
7783         (find_include_file, cpp_read_file): Use it.
7784
7785 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
7786
7787         * cpphash.c (dump_hash_helper): Take the slot, not the element.
7788
7789 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
7790
7791         * flow.c (verify_flow_info): Check for unconditional return.
7792
7793 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
7794
7795         * config/ia64/ia64.md (restore_stack_nonlocal): New.
7796         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
7797         (__ia64_restore_stack_nonlocal): New.
7798         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
7799
7800 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7801
7802         * cpphash.c (collect_formal_parameters): Do not complain about
7803         parameter names that just start with `__VA_ARGS__'.
7804
7805 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
7806
7807         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
7808         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
7809         * i386.c (pentiumpro_cost): Set mul cost to 4.
7810         (x86_use_movx): Set for PPro.
7811
7812 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
7813
7814         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
7815         STACK_BOUNDARY for empty frames now.
7816
7817 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
7818
7819         * stor-layout.c (layout_union): Remove.
7820         (layout_union_field): New function, split out from layout_union.
7821         (finish_union_layout): Likewise.
7822         (layout_field): Handle unions by calling layout_union_field.
7823         (finish_record_layout): Handle unions.
7824         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
7825         QUAL_UNION_TYPE handling.
7826
7827 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
7828
7829         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
7830         end of basic block is jump_insn, not barrier; use create_basic_block
7831         instead of creating basic block by hand.
7832
7833 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
7834
7835         * flow.c (reorder_basic_blocks): Account for barriers when writing
7836         over NEXT_INSN (last_bb->end).
7837         (verify_flow_info): Add check for missing barriers.
7838
7839 2000-03-14  Greg McGary  <gkm@gnu.org>
7840
7841         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
7842         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
7843         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
7844         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
7845         __unbounded, __unbounded__): New keywords.
7846         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
7847         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
7848         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
7849
7850 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
7851
7852         * cselib.h: New file.
7853         * alias.c: Include "cselib.h".
7854         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
7855         MEMs as two new arguments.
7856         (get_addr): New static function.
7857         (find_base_term): Handle VALUEs.
7858         (memrefs_conflict_p): Likewise.
7859         (true_dependence): Call get_addr on the addresses.
7860         Call fixed_scalar_and_varying_struct_p with addresses that have been
7861         passed through get_addr and canon_rtx.
7862         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
7863         with true_dependence.
7864         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
7865         * loop.c: Include "cselib.h".
7866         (load_mems): Process extended basic block that enters the loop with
7867         cselib.  Use that information to change initialization of the shadow
7868         register so that a constant equivalence is seen by later passes.
7869         * reload1.c: Include "cselib.h".
7870         (reload_cse_invalidate_regno): Delete function.
7871         (reload_cse_mem_conflict_p): Likewise.
7872         (reload_cse_invalidate_mem): Likewise.
7873         (reload_cse_invalidate_rtx): Likewise.
7874         (reload_cse_regno_equal_p): Likewise.
7875         (reload_cse_check_clobber): Likewise.
7876         (reload_cse_record_set): Likewise.
7877         (reg_values): Delete static variable.
7878         (invalidate_regno_rtx): Likewise.
7879         (reload_cse_delete_noop_set): New static function.
7880         (reload_cse_simplify): New static function, broken out of
7881         reload_cse_regs_1.
7882         (reload_cse_noop_set_p): Delete unused argument INSN.
7883         Just call rtx_equal_for_cselib_p on set source and destination.
7884         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
7885         reload_cse_delete_noop_set.  Delete code to keep track of values; use
7886         cselib functions instead.  Delete code to push/pop obstacks.
7887         (reload_cse_simplify_set): Use cselib to find equivalent values.
7888         Delete code to push/pop obstacks.
7889         (reload_cse_simplify_operands): Likewise.
7890         * rtl.def (VALUE): New rtx code.
7891         * rtl.h (union rtunion_def): New elt rt_cselib.
7892         (X0CSELIB, CSELIB_VAL_PTR): New macros.
7893         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
7894         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
7895         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
7896         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
7897         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
7898         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
7899         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
7900         cselib_record_set, cselib_record_sets): New static functions.
7901         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
7902         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
7903         references_value_p): New functions.
7904         (MAX_USELESS_VALUES, REG_VALUES): New macros.
7905         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
7906         n_useless_values, reg_values, callmem, cselib_obstack,
7907         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
7908         New static variables.
7909         * varray.h (union varray_data_tag): New elt te.
7910         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
7911         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
7912         dependencies.
7913
7914 2000-03-14  Nick Clifton  <nickc@cygnus.com>
7915
7916         * gcc.c (do_spec_1): Catch the case where %* is used in a
7917         substitution pattern, but it has not been initialised.
7918         Issue a meaningful error message if an unrecognised operator
7919         is encountered in a spec string.
7920
7921 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
7922
7923         * function.c (prepare_function_start): Correctly initialize
7924         cfun->stack_alignment_needed.
7925
7926 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
7927
7928         * cppfiles.c (find_include_file): Don't assume nshort is a
7929         substring of name.
7930
7931 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
7932
7933         * configure.in (hppa configurations): Add pa32-regs.h to the
7934         list of tm files as appropriate.
7935         * configure: Rebuilt.
7936         * pa.c (compute_frame_size): Remove explicit knowledge about FP
7937         register numbering.
7938         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
7939         (fmpyaddoperands, fmpysuboperands): Likewise.
7940         * pa.h: Remove various definitions which depend on knowing
7941         how registers are numbered.
7942         * pa32-regs.h: New file with PA32 register numbering specific
7943         definitions.
7944
7945 2000-03-14  Richard Henderson  <rth@cygnus.com>
7946
7947         * regmove.c (combine_stack_adjustments): New.
7948         (stack_memref_p, single_set_for_csa): New.
7949         (free_csa_memlist, record_one_stack_memref): New.
7950         (try_apply_stack_adjustment): New.
7951         (combine_stack_adjustments_for_block): New.
7952         * rtl.h (combine_stack_adjustments): Declare.
7953         * toplev.c (rest_of_compilation): Call it.
7954
7955         * i386.md: Revert 2000-01-16 change.
7956
7957 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7958
7959         * gccbug.in: Add web category, gcc specific classes.
7960
7961 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
7962
7963         * stor-layout.c (finalize_record_size): Fix typo.
7964
7965 2000-03-14  Stan Shebs  <shebs@apple.com>
7966
7967         * c-typeck.c (c_alignof): Error on incomplete types.
7968         * extend.texi (Alignment): Document this.
7969
7970 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7971
7972         * cppfiles.c: Include mkdeps.h.
7973         (find_include_file, read_include_file): Remove _cpp_ prefix
7974         from name, make static.
7975         (_cpp_execute_include): New function, broken out of
7976         do_include.
7977
7978         * cpplib.c: Don't include mkdeps.h.
7979         (struct directive): Remove type field. Reorder entries.  The
7980         function takes only one argument.
7981         (struct if_stack): Make type field an int.
7982         (directive_table): Rename to dtable.  Generate it, the
7983         prototypes of the directive handlers, and the enum for the
7984         directive numbers, from a template macro.
7985         (do_ifndef, do_include_next, do_import): New functions.
7986         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
7987         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
7988         do_ident, do_assert, do_unassert, do_sccs): Take only one
7989         argument.
7990         (do_sccs): Define always, but alter behavior based on
7991         SCCS_DIRECTIVE.
7992         (_cpp_handle_directive, consider_directive_while_skipping):
7993         Restructure for new directive table layout.
7994
7995         (pass_thru_directive): Take a directive number, not a pointer
7996         to a struct directive.
7997         (parse_include): New function, broken out of do_include.
7998         (do_include, do_import, do_include_next): Use parse_include
7999         and _cpp_execute_include.
8000         (do_elif, do_else): Test for T_ELSE specifically when checking
8001         for #elif/#else after #else.
8002         (parse_ifdef): New function, broken out of do_ifdef.
8003         (validate_else): Expect a name arg without a leading #.
8004         (if_directive_name): Delete.
8005         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
8006         directive handlers with only one argument.
8007
8008         * cpphash.h: Update prototypes.
8009         (enum node_type): Remove entries for directives.
8010         * Makefile.in: Update dependencies.
8011
8012         * cpphash.c (dump_hash_helper): Only dump nodes of type
8013         T_MACRO.  Emit a newline after each definition.
8014
8015 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8016
8017         * gccbug.in: New file.
8018         * configure.in (all_outputs): Add gccbug.
8019         * Makefile.in (install-common): Install gccbug.
8020         (GCCBUG_INSTALL_NAME): New variable.
8021         * configure: Rebuilt.
8022
8023 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
8024
8025         * function.c (put_var_into_stack): Use type_for_mode to calculate
8026         part_type.  Use MEM_SET_IN_STRUCT_P.
8027         * expr.c (store_field): Handle CONCAT.
8028         (store_constructor): Use fields_length.
8029         * tree.c (fields_length): New fn.
8030         * tree.h: Declare it.
8031
8032 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
8033
8034         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
8035         (cpplex.o): New target.
8036         * po/POTFILES.in: Add cpplex.c.
8037
8038         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
8039         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
8040         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
8041         skip_block_comment, skip_line_comment, skip_comment,
8042         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
8043         _cpp_parse_name, skip_string, parse_string,
8044         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
8045         _cpp_get_directive_token, find_position,
8046         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
8047         (maybe_macroexpand, _cpp_lex_token): New functions.
8048
8049         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
8050         parse_goto_mark): Delete.
8051         (_cpp_handle_eof): New function.
8052         (_cpp_handle_directive): Rename from handle_directive.
8053         (_cpp_output_line_command): Rename from output_line_command.
8054         (do_if, do_elif): Call _cpp_parse_expr directly.
8055         * cppfiles.c (_cpp_read_include_file): Don't call
8056         init_input_buffer here.
8057         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
8058         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
8059         here; pop the token_buffer and skip the rest of the line here.
8060         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
8061         here.
8062
8063         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
8064         Define here.
8065         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
8066         CPP_GOTO_MARK): New macros.
8067         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
8068         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
8069         _cpp_read_and_prescan, _cpp_init_input_buffer,
8070         _cpp_grow_token_buffer, _cpp_get_directive_token,
8071         _cpp_handle_directive, _cpp_handle_eof,
8072         _cpp_output_line_command): Prototype them here.
8073         * cpplib.h (enum cpp_token): Add CPP_MACRO.
8074         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
8075         quote_string, output_line_command): Remove.
8076
8077 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
8078
8079         * stmt.c (expand_end_case): RANGE may be signed, and when checking
8080         whether it is too large we must also verify that it isn't negative.
8081
8082 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
8083
8084         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
8085         (movsi_zero_liveg0): Remove.
8086         (movsf_insn_novis_liveg0): Remove.
8087         (negsi2): Remove.
8088         (negsi2_not_liveg0): Rename to negsi2.
8089         (one_cmplsi2): Remove.
8090         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
8091         (one_cmplsi2_liveg0): Remove.
8092         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
8093         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
8094         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
8095         (PREDICATE_CODES): Remove zero_operand.
8096         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
8097         TARGET_BROKEN_SAVERESTORE.
8098         (zero_operand): Remove.
8099         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
8100         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
8101         options.
8102         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
8103         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
8104         TARGET_BROKEN_SAVERESTORE): Remove.
8105         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
8106         Remove.
8107         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
8108         Remove.
8109         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
8110         Remove.
8111
8112         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
8113
8114 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
8115
8116         * cpplib.c (do_pragma_implementation): Fix off-by-one error
8117         truncating a string.  Don't assume tokens are nul terminated.
8118         Problem noted by Andreas Jaeger <aj@suse.de>
8119
8120 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
8121
8122         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
8123         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
8124         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
8125
8126 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
8127
8128         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
8129         STRUCTURE_SIZE_BOUNDARY.
8130
8131 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
8132
8133         * tree.h (record_layout_info_s): New structure.
8134         (record_layout_info): New type.
8135         (new_record_layout_info): New function.
8136         (layout_field): Likewise.
8137         (finish_record_layout): Likewise.
8138         * stor-layout.c (layout_record): Remove.
8139         (new_record_layout_info): New function.
8140         (layout_field): New function, broken out from layout_record.
8141         (finalize_record_size): Likewise.
8142         (compute_record_mode): Likewise.
8143         (finalize_type_size): New function, broken out from layout_type.
8144         (finish_record_layout): Likewise.
8145         (layout_type): Use them.
8146
8147 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
8148
8149         * cpphash.c: Don't include version.h.
8150         (special_symbol) [case T_VERSION]: Look for the string in
8151         hp->value.cpval; don't use version_string.
8152         * cppinit.c (initialize_builtins): Set hp->value.cpval for
8153         __VERSION__ to version_string.
8154         * Makefile.in (cpphash.o): Update deps.
8155
8156 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
8157
8158         Convert cpplib to use libiberty/hashtab.c.
8159
8160         * cpplib.h (struct cpp_reader): Make hashtab and
8161         all_include_files of type 'struct htab *'.  Delete HASHSIZE
8162         and ALL_INCLUDE_HASHSIZE macros.
8163
8164         * cpphash.h: Update prototypes.
8165         (struct hashnode): Remove next, prev, and bucket_hdr members.
8166         Make length a size_t.  Add hash member.
8167         (struct ihash): Remove next member.  Add hash member.  Make
8168         name a flexible array member.
8169
8170         * cppfiles.c: Include hashtab.h.
8171         (include_hash): Delete.
8172         (IHASHSIZE): New macro.
8173         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
8174         (cpp_included): Do the hash lookup here.
8175         (_cpp_find_include_file): Rewrite.
8176         (cpp_read_file): Put the "fake" hash entry into the hash
8177         table.  Honor the control_macro, if it turns out we've seen
8178         the file before.  Don't push the buffer here.
8179         (_cpp_read_include_file): Push the buffer here.
8180         (OMODES): New macro.  Use it whenever we call open(2).
8181
8182         * cpphash.c: Include hashtab.h.
8183         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
8184         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
8185         _cpp_lookup_slot): New functions.
8186         (HASHSIZE): new macro.
8187         (hashf, _cpp_install, _cpp_delete_macro): Delete.
8188         (_cpp_lookup): Use hashtab.h routines.
8189
8190         * cppinit.c: Include hashtab.h.
8191         (cpp_reader_init): Call _cpp_init_macro_hash and
8192         _cpp_init_include_hash.  Don't allocate hashtab directly.
8193         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
8194         pfile->all_include_files.
8195         (initialize_builtins): Use _cpp_make_hashnode and
8196         htab_find_slot to add hash entries.
8197         (cpp_finish): Just call _cpp_dump_macro_hash.
8198         * cpplib.c: Include hashtab.h.
8199         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
8200         create hash entries.
8201         (do_pragma_poison, do_assert): Likewise.
8202         (do_include): Don't push the buffer here.  Don't increment
8203         system_include_depth unless _cpp_read_include_file succeeds.
8204         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
8205         or htab_remove_elt.
8206         (do_pragma_implementation): Use alloca to create copy.
8207
8208         * Makefile.in: Update dependencies.
8209
8210 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8211
8212         * cppinit.c (cl_directive_handler): More K&R fixing.
8213
8214 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
8215
8216         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
8217         STACK_BOUNDARY.
8218         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
8219
8220 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8221
8222         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
8223         Change from char[] to macros.
8224
8225 2000-03-12  Neil Booth  <NeilB@earthling.net>
8226
8227         * cppinit.c (cpp_start_read): Update indirect function
8228         call to K&R C.
8229
8230 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
8231
8232         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
8233         entry.
8234
8235         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
8236         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
8237
8238 2000-03-11  Neil Booth  <NeilB@earthling.net>
8239
8240         * cppinit.c (struct pending option): Replace undef with a
8241         pointer to a directive handling routine.
8242         (struct cpp_pending): Replace separate assert_ and define_
8243         lists with one directive_ list.
8244         (new_pending_define): Rename new_pending_directive. Extra
8245         argument is the directive's handling routine.
8246         (handle_option): Update to use new_pending_directive.
8247
8248 2000-03-11  Neil Booth  <NeilB@earthling.net>
8249
8250         * cppfiles.c (file_cleanup, _cpp_find_include_file,
8251         remap_filename, _cpp_read_include_file, actual_directory,
8252         hack_vms_include_specification): Replace bcopy(), index() etc
8253         calls.  Add casts to some allocations.  Make some variables
8254         pointers to const [unsigned] char.
8255         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
8256         collect_formal_parameters): Similarly.
8257         * cppinit.c (struct pending_option, append_include_chain,
8258         cpp_options_init, cpp_reader_init, initialize_standard_includes,
8259         cpp_start_read, new_pending_define, handle_option): Similarly.
8260         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
8261         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
8262         do_pragma_implementation, detect_if_not_defined,
8263         do_ifdef, skip_if_group, cpp_get_token, parse_string,
8264         do_assert, do_unassert): Similarly.
8265         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
8266         function prototypes.
8267         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
8268
8269 2000-03-10  Richard Henderson  <rth@cygnus.com>
8270
8271         * builtins.c (expand_builtin_strlen): Revert last change.
8272         Use emit_insn_before if we're at the beginning of a sequence.
8273
8274 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
8275
8276         * builtins.c (expand_builtin_strlen): Make sure that we have something
8277         at the beginning of the sequence.
8278
8279         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
8280         deferred inlines.
8281
8282         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
8283
8284 2000-03-10  Richard Henderson  <rth@cygnus.com>
8285
8286         * except.c (can_throw): Use INTVAL on a CONST_INT.
8287         (reachable_handlers): Likewise.
8288         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
8289
8290 2000-03-10  Andreas Jaeger  <aj@suse.de>
8291
8292         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
8293         MD_STARTFILE_PREFIX since those are not needed on linux.
8294         (ASM_FILE_START): New, from mips/gnu.h.
8295
8296 2000-03-09  Richard Henderson  <rth@cygnus.com>
8297             Alex Samuel  <samuel@codesourcery.com> and others
8298
8299         * Makefile.in (ssa.o): New rule.
8300         (OBJS): Add ssa.o.
8301         (STAGESTUFF): Add *.ssa and *.ussa.
8302         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
8303         * rtl.def (PHI): New RTL expression.
8304         * rtl.h (clear_log_links): New declaration.
8305         (convert_to_ssa): Likewise.
8306         (convert_from_ssa): Likewise.
8307         * flow.c (split_edge): If the entry node falls through to the
8308         split edge's source block, split the entry edge.
8309         (clear_log_links): New function.
8310         * toplev.c (ssa_dump): New variable.
8311         (flag_ssa): Likewise.
8312         (f_options): Add "ssa".
8313         (compile_file): Create SSA dump files.
8314         (rest_of_compilation): Go to and from SSA if enabled.
8315         (decide_d_option): Handle -de for SSA dump files.
8316         * ssa.c: New file.
8317
8318 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
8319
8320         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
8321         same as VAR_DECL.
8322
8323 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
8324
8325         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
8326
8327 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
8328
8329         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
8330         (MD_STARTFILE_PREFIX_1): New macro.
8331
8332 2000-03-09  Robert Lipe  <robertl@sco.com>
8333
8334         * config/ia64/ia64.c: Include system.h.
8335
8336 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
8337
8338         * except.c (nothrow_function_p): If -fno-exceptions, just return.
8339         (init_eh_nesting_info): Likewise.
8340
8341         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
8342         (TREE_NOTHROW): Rename from TREE_RAISES.
8343         * toplev.c (rest_of_compilation): Set it.
8344         * print-tree.c (print_node): Adjust.
8345         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
8346         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
8347         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
8348         REG_EH_REGION note as appropriate.
8349         (libfunc_nothrow): New fn.
8350         (emit_library_call, emit_library_call_value): Use it.
8351         (expand_call): Check TREE_NOTHROW.
8352
8353         * varasm.c (make_decl_rtl): Skip initial '*' when setting
8354         DECL_ASSEMBLER_NAME.
8355
8356 2000-03-09  Andreas Jaeger  <aj@suse.de>
8357
8358         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
8359         (TARGET_MEM_FUNCTIONS): Define.
8360
8361 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
8362
8363         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
8364
8365         * except.c (can_throw): See through a SEQUENCE.
8366         (nothrow_function_p): New fn.
8367         * except.h: Declare it.
8368         * function.c (current_function_nothrow): New var.
8369         (prepare_function_start): Initialize it.
8370         * output.h: Declare it.
8371         * toplev.c (rest_of_compilation): Set it.
8372         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
8373
8374 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
8375
8376         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
8377         match.  (cpp_compare_defs): Count the nul separator when
8378         advancing over argument names.
8379
8380 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
8381
8382         * recog.c (preprocess_constraints): Matching constraints affect
8383         same alternative/different operand, not same operand/different
8384         alternative.
8385
8386         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
8387         register and a constant specially.
8388
8389 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8390
8391         * libgcc2.h: New file.
8392         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
8393
8394 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
8395
8396         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
8397         * configure: Regenerate.
8398         * config/ia64: New.
8399
8400 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
8401
8402         * Makefile.in (LIBCPP_DEPS): New macro.
8403         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
8404         it to declare deps.
8405         * cpperror.c: Include cpphash.h.
8406         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
8407         dingleberry.
8408         (lex): Don't use CPP_WARN_UNDEF.
8409         (_cpp_parse_expr): Return an int, the truth value.
8410         * cppfiles.c: Include cpphash.h.
8411         (_cpp_merge_include_chains): Move to cppinit.c and make static.
8412         * cppinit.c (include_defaults_array): Disentangle.
8413         (cpp_cleanup): Don't free the if stack here.
8414         (cpp_finish): Pop off all buffers, not just one.
8415         * cpplib.c (eval_if_expr): Return int.
8416         (do_xifdef): Rename do_ifdef.
8417         (handle_directive): Don't use CPP_PREPROCESSED.
8418         (cpp_get_token): Don't use CPP_C89.
8419         * fix-header.c: Don't use CPP_OPTIONS.
8420
8421         * cpplib.h: Move U_CHAR, enum node_type, struct
8422         file_name_list, struct ihash, is_idchar, is_idstart,
8423         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
8424         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
8425         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
8426         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
8427         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
8428         of _cpp_simplify_pathname, _cpp_find_include_file,
8429         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
8430         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
8431         cppinit.c.
8432         Change all uses of U_CHAR to be unsigned char instead.
8433         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
8434
8435 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
8436
8437         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
8438         (dwarf2out_begin_prologue): Set it.
8439         (output_call_frame_info): Don't emit EH unwind info for leaves.
8440
8441         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
8442         can occur outside of an EH region.
8443         * except.c: Correct comments about rethrow behavior.
8444         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
8445
8446 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
8447
8448         * flow.c (make_edges): Always call make_eh_edge for calls.
8449
8450 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
8451
8452         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
8453         (struct cpp_buffer): Remove fname and underflow fields.
8454         (struct cpp_reader): Remove get_token field.
8455         (struct include_hash): Rename to struct ihash.  Add typedef to
8456         IHASH.
8457         (struct if_stack): Remove fname field.
8458         (IF_STACK_FRAME): Rename to IF_STACK.
8459
8460         * cpperror.c (print_containing_files): Trust that there are no
8461         macro buffers below the top file buffer.
8462         * cppfiles.c: Replace all references to 'struct include_hash'
8463         with 'IHASH'.  Rename initialize_input_buffer to
8464         init_input_buffer.  Don't set or reference cpp_buffer->fname,
8465         use buffer->ihash->name instead.
8466         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
8467         not CPP_NULL_BUFFER.
8468         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
8469         IF_STACK_FRAME, IHASH not struct include_hash.
8470         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
8471         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
8472         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
8473         references to cpp_buffer->fname (delete entirely, or use
8474         ->ihash->name instead) and IF_STACK->fname.
8475         (cpp_push_buffer): Don't set new->underflow.
8476         (do_include): Use cpp_file_buffer.
8477
8478         * cpphash.c (collect_formal_parameters): Remove duplicate
8479         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
8480         used as a macro argument name.  Don't append "..." to namebuf
8481         for varargs macros.  After we're done scanning, go through
8482         namebuf and make it NUL separated, not comma separated.
8483         (_cpp_compare_defs): Remove register tag from variables.
8484         Expect defn->argnames to be NUL separated.
8485         (_cpp_dump_definition): Expect defn->argnames to be NUL
8486         separated and in forward order.
8487         * cpphash.h: Update documentation of argnames field.
8488
8489 2000-03-08  Richard Henderson  <rth@cygnus.com>
8490
8491         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
8492         to fail.  Don't pre-expand the source operand.
8493
8494         * i386.md (strlensi): Initialize eoschar and align before use.
8495
8496 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
8497
8498         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
8499         CONSTRUCTOR element.
8500
8501 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
8502
8503         * mips.c (mips_expand_prologue): If the last
8504         named argument is the vararg marker "va_list", treat it as
8505         an unnamed argument.
8506
8507 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
8508
8509         * dbxout.c (dbxout_parms): When correcting for promoted
8510         big-endian parameters, use the mode of the DECL_RTL rather
8511         than UNITS_PER_WORD.
8512
8513 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
8514
8515         * c-common.h (make_fname_decl): Declare.
8516         * c-common.c (make_fname_decl): Define.
8517         (declare_hidden_char_array): Remove.
8518         (declare_function_name): Use make_fname_decl.
8519         * c-decl.c (c_make_fname_decl): New function.
8520         (init_decl_processing): Set make_fname_decl.
8521
8522 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
8523
8524         * cccp.c (handle_directive): Initialize backslash_newlines_p.
8525
8526 2000-03-07  Philipp Thomas  <pthomas@suse.de>
8527
8528         * po/POTFILES.in: Remove cppalloc.c from file list.
8529
8530 2000-03-07  Steve Chamberlain  <sac@pobox.com>
8531
8532         * pj.c (pj_expand_prologue): current_function->args_info is
8533         now current_function_args_info.
8534
8535         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
8536         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
8537         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
8538
8539 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8540
8541         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
8542         output as hexadecimal rather than the default octal.
8543
8544 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
8545
8546         * cpphash.c (special_symbol): Fix thinko in previous commit.
8547
8548 2000-03-07  Neil Booth  <NeilB@earthling.net>
8549
8550         * cppexp.c (struct operation, left_shift, right_shift,
8551         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
8552         "int"s to "unsigned int"s.
8553         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
8554         Similarly.
8555         * cpplib.h: Update for above.
8556         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
8557         returned from allocations.
8558
8559         * cppinit.c (opt_comp, parse_options): New functions.
8560         (handle_option): Use parse_option to parse a single command
8561         line option, that possibly takes an argument.
8562         (cpp_handle_options): Sort the array of command line options on
8563         first invocation (non-ASCII hosts only).
8564         (print_help): Update.
8565
8566 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
8567
8568         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
8569         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
8570
8571         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
8572         initialized.
8573         * cppinit.c (cpp_cleanup): Free imp->nshort also.
8574
8575         * cpperror.c (cpp_print_containing_files,
8576         cpp_print_file_and_line, v_cpp_message): Rename to
8577         print_containing_files, print_file_and_line, and v_message.
8578         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
8579         to _cpp_parse_expr, parse_escape, and lex.
8580         (parse_charconst): Remove broken multibyte support.
8581         * cppfiles.c (include_hash): Make static.
8582         (cpp_included): New function.
8583         (merge_include_chains, find_include_file, finclude,
8584         simplify_pathname): Rename to _cpp_merge_include_chains,
8585         _cpp_find_include_file, _cpp_read_include_file, and
8586         _cpp_simplify_pathname.
8587         * cpphash.c (cpp_lookup, free_definition, delete_macro,
8588         cpp_install, create_definition, macroexpand, compare_defs,
8589         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
8590         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
8591         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
8592         * cppinit.c (cpp_handle_option): Rename to handle_option, make
8593         static.
8594         * cpplib.c: Remove extern prototype of cpp_parse_expr.
8595
8596         * cpphash.h: Update prototypes.
8597         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
8598
8599 2000-03-07  Andrew Haley  <aph@cygnus.com>
8600
8601         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
8602         PTRDIFF_TYPE should be based solely on Pmode.
8603         (SIZE_TYPE): ditto.
8604
8605 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8606
8607         * rtl.h (rtunion_def): Constify member `rtstr'.
8608         (emit_line_note_after, emit_line_note, emit_line_note_force,
8609         emit_note, decode_asm_operands): Constify.
8610
8611         * cse.c (canon_hash): Likewise.
8612
8613         * dbxout.c (dbxout_block): Likewise.
8614
8615         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
8616         v_warning_for_asm): Likewise.
8617
8618         * dwarfout.c (function_start_label): Likewise.
8619
8620         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
8621         emit_line_note_force): Likewise.
8622
8623         * final.c (last_filename, asm_insn_count, final_scan_insn,
8624         output_source_line): Likewise.
8625
8626         * function.h (struct emit_status): Likewise.
8627
8628         * gcse.c (hash_expr_1): Likewise.
8629
8630         * genattr.c (gen_attr, main): Likewise.
8631
8632         * genattrtab.c (struct function_unit, current_alternative_string,
8633         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
8634         attr_numeral, check_attr_test, check_attr_value,
8635         convert_set_attr_alternative, convert_set_attr,
8636         compute_alternative_mask, simplify_by_exploding, gen_attr,
8637         gen_unit): Likewise.
8638
8639         * genflags.c (gen_insn): Likewise.
8640
8641         * gengenrtl.c (type_from_format): Likewise.
8642
8643         * genopinit.c (gen_insn): Likewise.
8644
8645         * genoutput.c (n_occurrences, process_template, process_template):
8646         Likewise.
8647
8648         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
8649         Likewise.
8650
8651         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
8652         Likewise.
8653
8654         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
8655         ggc_set_mark, ggc_get_size): Likewise.
8656
8657         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
8658
8659         * optabs.c (init_one_libfunc): Likewise.
8660
8661         * output.h (assemble_start_function): Likewise.
8662
8663         * recog.c (decode_asm_operands): Likewise.
8664
8665         * toplev.c (rest_of_compilation): Likewise.
8666
8667         * tree.h (emit_line_note_after, emit_line_note,
8668         emit_line_note_force): Likewise.
8669
8670         * varasm.c (asm_output_bss, asm_output_aligned_bss,
8671         asm_emit_uninitialised, assemble_start_function,
8672         assemble_variable, const_hash, compare_constant_1,
8673         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
8674
8675         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
8676
8677         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
8678
8679         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
8680
8681         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
8682
8683         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
8684         arm_dllimport_name_p): Likewise.
8685
8686         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
8687         Likewise.
8688
8689         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
8690
8691         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8692
8693         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
8694         arm_mark_dllexport, arm_mark_dllimport,
8695         arm_pe_encode_section_info): Likewise.
8696
8697         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
8698         ASM_FINISH_DECLARE_OBJECT): Likewise.
8699
8700         * arm/thumb.c (thumb_function_prologue): Likewise.
8701
8702         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
8703
8704         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8705
8706         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
8707
8708         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
8709
8710         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
8711
8712         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8713
8714         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
8715         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
8716
8717         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
8718
8719         * i386/i386.c (asm_output_function_prefix): Likewise.
8720
8721         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
8722
8723         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8724
8725         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
8726
8727         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
8728         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
8729         ASM_OUTPUT_SECTION_NAME): Likewise.
8730
8731         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
8732
8733         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
8734
8735         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
8736
8737         * m32r/m32r.c (m32r_encode_section_info): Likewise.
8738
8739         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8740
8741         * mcore/mcore.c (mcore_encode_section_info): Likewise.
8742
8743         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8744
8745         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8746
8747         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8748
8749         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
8750
8751         * mips/mips.md (movdi, movsi): Likewise.
8752
8753         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8754
8755         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8756
8757         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8758
8759         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8760         ASM_OUTPUT_ASCII): Likewise.
8761
8762         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
8763         output_mi_thunk, output_toc): Likewise.
8764
8765         * rs6000/rs6000.md (movsi): Likewise.
8766
8767         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
8768
8769         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
8770
8771         * v850/v850.c (print_operand, print_operand_address,
8772         v850_encode_data_area): Likewise.
8773
8774 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
8775
8776         * config/mips/mips.md (zero_extendsidi2): Always force operand
8777         one to memory for mips16.
8778
8779 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8780
8781         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
8782         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
8783         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
8784         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
8785         (min_precision): Result is unsigned.
8786         (add_double, neg_double, mul_double): Low word is unsigned.
8787         (lshift_double, rshift_double, lrotate_double): Likewise.
8788         (rrotate_double, div_and_round_double): Likewise.
8789         (tree_floor_log2, compare_tree_int): New functions.
8790         (preserve_rtl_expr_temps): New declaration.
8791         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
8792         (decl_attributes): Use tree_log2 to find alignment.
8793         Check for TREE_INT_CST_HIGH for format args.
8794         (min_precision): Now unsigned.
8795         Use tree_floor_log2.
8796         (truthvalue_conversion): Delete long-disabled code.
8797         * c-decl.c (finish_struct): Clean up tests on field width.
8798         (finish_function): Use compare_tree_int.
8799         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
8800         * c-typeck.c (comptypes): Use tree_int_cst_equal.
8801         (default_conversion, digest_init): Use compare_tree_int.
8802         (build_binary_op): Use integer_all_onesp and compare_tree_int.
8803         Fix type errors in forming masks.
8804         * calls.c (initialize_argument_information): Use compare_tree_int.
8805         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8806         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
8807         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
8808         (store_field): Use compare_tree_int.
8809         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
8810         (expand_expr, case ARRAY_REF): Use compare_tree_int.
8811         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
8812         (do_store_flag): Use compare_tree_int.
8813         * fold-const.c (encode, decode): Low part is always unsigned.
8814         (force_fit_type, add_double, neg_double, mul_double): Likewise.
8815         (lshift_double, rshift_double, lrotate_double): Likewise.
8816         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
8817         (fold_convert): Use compare_tree_int.
8818         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
8819         (invert_truthvalue, case INTEGER_CST): Likewise.
8820         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
8821         * mkdeps.c (deps_dummy_targets): Make I unsigned.
8822         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
8823         (lshift_double, rshift_double, lrotate_double, rrotate_double):
8824         Likewise.
8825         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
8826         (expand_end_case): Use compare_tree_int.
8827         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8828         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
8829         (layout_decl): Likewise.
8830         (layout_record, layout_union): Make sizes unsigned.
8831         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
8832         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
8833         * tree.c (struct type_hash): hashcode is unsigned.
8834         (build_type_attribute_variant, type_hash_list): Likewise.
8835         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
8836         (attribute_hash_list, build_array_type, build_method_type): Likewise.
8837         (build_complex_type): Likewise.
8838         (real_value_from_int_cst): Remove unneeded casts.
8839         (integer_all_onesp): Add casts.
8840         (tree_floor_log2, compare_tree_int): New functions.
8841         (build_index_type): Use tree_int_cst_sgn.
8842         * varasm.c (assemble_variable): Use compare_tree_int.
8843
8844 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
8845
8846         * cpphash.c (collect_expansion): Also catch ## at start of macro.
8847
8848         * varasm.c (make_decl_rtl): Don't add a number to members of
8849         local classes.
8850         (make_function_rtl): Likewise.
8851
8852 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8853
8854         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
8855         patch from 2000-01-28.
8856
8857 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
8858
8859         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
8860         filled with an insn from the jump target.
8861
8862 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8863
8864         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
8865         (c4x_external_ref): Likewise.
8866         * config/c4x/c4x.c (struct name_list): Likewise.
8867
8868 1999-12-16  Ben Collins  <bcollins@debian.org>
8869
8870         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
8871         argument to genmultilib.
8872         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
8873         the contents into the multilib.h header.
8874         * gcc.c: Declare multilib_exclusions for the specs file.
8875         (set_multilib_dir): Use it.
8876         (print_multilib_info): Likewise.
8877         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
8878         to pass to genmultilib.
8879
8880 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8881
8882         * builtins.c (built_in_class_names, built_in_names): Constify a
8883         char*.
8884
8885         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
8886         int.
8887         (_mcleanup): Ensure value matches format specifier in sprintf.
8888
8889         * cpphash.c (special_symbol): Don't needlessly cast away
8890         const-ness.
8891
8892         * cppinit.c (base_name): Delete unused prototype.
8893
8894         * mkdeps.c (deps_init): Make definition K&R safe.
8895
8896         * tree.h (built_in_class_names, built_in_names): Constify a
8897         char*.
8898
8899 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
8900
8901         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
8902         floating point instructions for epilogue delay.
8903
8904         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
8905         to gas if it supports .register pseudo.
8906
8907         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
8908         LONG_DOUBLE_TYPE_SIZE if not defined.
8909         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
8910         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
8911         * real.c: Likewise.
8912         * gengenrtl.c: Likewise.
8913         * print-rtl.c: Likewise.
8914         * rtl.c: Likewise.
8915         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
8916         MASK_LONG_DOUBLE_128.
8917         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
8918         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
8919         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
8920         (SUBTARGET_SWITCHES): Define.
8921         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
8922         with -mlong-double-128.
8923         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8924         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8925         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8926         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
8927         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
8928         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
8929         with -mlong-double-128.
8930         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8931         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8932         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8933         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
8934         TARGET_LONG_DOUBLE_128): Define.
8935         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
8936         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
8937         long double on TARGET_ARCH64.
8938
8939 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
8940
8941         * function.c (free_temps_for_rtl_expr): Don't free slots
8942         that have been pushed into a higher level.
8943
8944         Revert this patch:
8945         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8946
8947 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8948
8949         * basic-block.h (ALLOCA_REG_SET): Remove.
8950         (INITIALIZE_REG_SET): New macro.
8951         * flow.c (update_life_info): Use it.
8952         (calculate_global_regs_live): Likewise.
8953         (propagate_block): Likewise.
8954         * global.c (build_insn_chain): Likewise.
8955         * haifa-sched.c (schedule_region): Likewise.
8956
8957 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
8958
8959         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
8960         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
8961         (DWARF_ARANGES_PAD_SIZE): New define.
8962         (output_aranges): Use it to pad the address range header.
8963         (DWARF_ROUND): Fix for non power of 2 rounding.
8964
8965 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
8966
8967         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
8968
8969 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8970
8971         * tree.def (RTL_EXPR): Update documentation.
8972         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
8973         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
8974         * function.c (preserve_rtl_expr_temp): New function.
8975         (preserve_rtl_expr_temps): Likewise.
8976         (preserve_rtl_expr_result): Use it.
8977
8978         Revert this patch:
8979         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8980
8981 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
8982
8983         * regmove.c (copy_src_to_dest)  Do not create src->dest move
8984         for unchanging destination.
8985
8986 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8987
8988         * function.h (struct sequence_stack): Remove rtl_expr.
8989         (struct emit_staus): Likewise.
8990         (seq_rtl_expr): Remove.
8991         * tree.h (free_temps_for_rtl_expr): Don't declare.
8992         (start_sequence_for_rtl_expr): Likewise.
8993         * rtl.h (preserve_rtl_expr_result): Likewise.
8994         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
8995         (start_sequence_for_rtl_expr): Remove.
8996         (push_topmost_sequence): Don't save sequence_rtl_expr.
8997         (pop_topmost_sequence): Remove comment about not restoring it.
8998         (end_sequence): Don't set seq_rtl_expr.
8999         (init_emit): Don't initialize it.
9000         (mark_sequence_stack): Don't mark it.
9001         (mark_emit_status): Likewise.
9002         * except.c (protect_with_terminate): Use
9003         start_sequence_for_rtl_expr, not start_sequence.
9004         * expr.c (expand_expr, case RTL_EXPR): Don't call
9005         preserve_rtl_expr_result or free_temps_for_rtl_expr.
9006         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
9007         (preserve_rtl_expr_result): Remove.
9008         (free_temps_for_rtl_expr): Likewise.
9009         (pop_temp_slots): Likewise.
9010         (mark_temp_slot): Don't mark the rtl_expr.
9011         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
9012         start_sequence_for_rtl_expr.
9013
9014 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
9015
9016         * mkdeps.c, mkdeps.h: New files.
9017         * po/POTFILES.in: Add them.
9018         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
9019         (cpplib.o, cppinit.o): Depend on mkdeps.h.
9020         (mkdeps.o): New target.
9021
9022         * cppfiles.c: Delete deps_output.
9023         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
9024         OBJECT_SUFFIX, and base_name.
9025         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
9026         the include hash.
9027         (initialize_dependency_output): Use deps_init,
9028         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
9029         all the unnecessary string bashing.
9030         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
9031         level.
9032         * cpplib.c (do_include): Use deps_add_dep.
9033         * cpplib.h (struct cpp_reader): Replace deps_buffer,
9034         deps_allocated_size, deps_size, deps_column members with
9035         single pointer to a struct deps.  Delete prototype of
9036         deps_output.
9037
9038         * cppinit.c: Fix thinko in previous patch.
9039
9040 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9041
9042         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
9043         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
9044         (mode_for_size_tree): New function.
9045         (layout_decl, layout_type): Call it and clean up BLKmode checks.
9046         * tree.h (mode_for_size_tree): New declaration.
9047
9048         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
9049
9050 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
9051
9052         * stmt.c (is_body_block): Move...
9053         * dwarfout.c, dwarf2out.c: ...from here.
9054         * tree.h: Declare it.
9055         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
9056         * final.c (final_start_function): Do call remove_unnecessary_notes
9057         when scheduling.
9058
9059 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
9060
9061         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
9062
9063         * cpplib.h (_dollar_ok): New macro.
9064         (is_idchar, is_idstart): Use it.
9065         (IStable): Rename to _cpp_IStable.  Declare it const if
9066         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
9067         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
9068         is_space): Update for renamed IStable.
9069
9070         * cppinit.c: Delete all references to FAKE_CONST and CAT
9071         macros. Define init_IStable as empty macro if gcc >=2.7 or
9072         C99. Change TABLE() to ISTABLE and hardcode name of table.
9073         (cpp_start_read): Don't change the IStable based on
9074         dollars_in_ident.
9075
9076         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
9077         changed.  Handle '$' for char1 correctly.
9078         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
9079
9080         * cppexp.c (tokentab2): Make const.
9081         (cpp_lex): Make toktab const.
9082         * cppinit.c (include_defaults_array): Make const.
9083         (initialize_standard_includes): Make default_include const.
9084
9085 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
9086
9087         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
9088         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
9089         (gen_decl_die): Likewise.
9090         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
9091         (output_decl): Likewise.
9092
9093         * varasm.c (make_function_rtl): If we change the name used in the
9094         rtl, update DECL_ASSEMBLER_NAME accordingly.
9095         (make_decl_rtl): Likewise.
9096
9097         * toplev.c (rest_of_compilation): Tweak formatting.
9098
9099         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
9100         remove_unnecessary_notes.
9101         (debug_ignore_block): New fn.
9102         * toplev.h: Declare it.
9103         * emit-rtl.c (remove_unncessary_notes): Call it.
9104         * dwarf2out.c (dwarf2out_ignore_block): New fn.
9105         * dwarf2out.h: Declare it.
9106         * final.c (final_start_function): Don't call remove_unnecessary_notes
9107         if we did insn scheduling.
9108
9109 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
9110
9111         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
9112         * cpplib.h: Delete SET_CPP_PEDANTIC.
9113
9114 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9115
9116         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
9117         result is a RECORD_TYPE.
9118
9119 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
9120
9121         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
9122
9123 2000-03-03  Richard Henderson  <rth@cygnus.com>
9124
9125         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
9126         addition over compliments over shifts.
9127
9128 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9129
9130         * reload1.c (reload_combine_note_use): Handle return register USEs.
9131         REG case: Handle multi-hard-register hard regs.
9132
9133 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9134
9135         * md.texi: Document use of '*' in insn pattern name.
9136
9137 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
9138
9139         * calls.c (special_function_p): operator new may not be malloc-like.
9140
9141         * gcse.c (dump_hash_table): Really fix error in last change.
9142
9143 2000-03-02  Denis Chertykov  <denisc@overta.ru>
9144
9145         * avr.c (print_operand): Use print_operand_address instead of
9146         output_addr_const.
9147         * avr/libgcc.S: Cleanup code.
9148
9149 2000-03-02  Richard Henderson  <rth@cygnus.com>
9150
9151         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
9152
9153 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
9154
9155         * tree.h (TYPE_ALIGN_UNIT): New macro.
9156
9157 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
9158
9159         * i386.c: (constant_call_address_operand): Reject CONST_INT.
9160
9161 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
9162
9163         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
9164         for the buffer.
9165         (SET_CPP_PEDANTIC): New macro.
9166         * cpplib.c (do_include): Don't bother checking system_header_p.
9167         (do_warning, do_ident, do_assert, do_unassert): Likewise.
9168         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
9169
9170         * function.h (struct expr_status): Add x_arg_space_so_far.
9171         (arg_space_so_far): New macro.
9172         * expr.c (init_expr): Initialize it.
9173         * calls.c (emit_call_1): Reset it.
9174         (compute_argument_block_size, expand_call): Use it.
9175         (expand_call, store_one_arg): Increment it.
9176
9177 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9178
9179         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
9180         a UNION_TYPE.
9181
9182 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
9183
9184         * cppfiles.c (cpp_read_file): New function.
9185
9186         * cpphash.c (collect_expansion): Make sure to reset last_token
9187         to NORM when we hit a string.  Handle trailing whitespace
9188         properly when the expansion is empty.
9189         (create_definition): Disable line commands while parsing the
9190         directive line.
9191         (dump_definition): If pfile->lineno == 0, output a line
9192         command ahead of the dump, and add a trailing newline.
9193
9194         * cppinit.c (append_include_chain): Add fifth argument, which
9195         indicates whether or not system headers are C++ aware.
9196         (initialize_standard_includes): New function,
9197         broken out of read_and_prescan.  Pass 'cxx_aware' value from
9198         the include_defaults_array on to append_include_chain.
9199         (dump_special_to_buffer): Const-ify char array.
9200         (builtin_array): Don't dump __BASE_FILE__.
9201         (cpp_start_read): Use cpp_read_file.  Reorder code for
9202         clarity.  Don't output line commands here for -D/-A/-U
9203         switches.  Don't call deps_output for files included with
9204         -include or -imacros.
9205
9206         * cpplib.c (do_define): Don't pay any attention to the second
9207         argument.
9208         (cpp_expand_to_buffer): Disable line commands while scanning.
9209         (output_line_command): Work in the file buffer.
9210         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
9211         Fix formatting of comments.  Prototype cpp_read_file.
9212
9213 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9214
9215         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
9216         reference the language-equivalent of sizetype.
9217         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
9218         * fold-const.c (size_binop, size_diffop): Put back checks.
9219         * gcse.c (dump_hash_table): Fix minor error in last change.
9220         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
9221         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
9222         all sizetypes.
9223
9224 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
9225
9226         * calls.c (expand_call)  Do not attempt to combine stack adjustments
9227         with inhibit_defer_pop set.
9228
9229 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
9230
9231         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
9232         the DECL_SIZE for a FIELD_DECL.
9233
9234 2000-03-01  Bruce Korb  <bkorb@gnu.org>
9235
9236         * fixinc/inclhack.tpl: remove unused symlinks
9237         * fixinc/README: GCC Maintainer info
9238         * fixinc/inclhack.sh: regen
9239         * fixinc/fixincl.sh: regen
9240
9241 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
9242
9243         * cpphash.c (collect_expansion): Trim trailing white space
9244         from macro definitions, but don't go past the last insertion
9245         point.
9246
9247 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
9248
9249         * i386.md (mulqi3): New pattern.
9250
9251 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
9252
9253         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
9254         token types.
9255         (struct cpp_reader): Add parsing_if_directive and
9256         parsing_define_directive flags.
9257         (struct cpp_options): Remove output_conditionals flag.
9258         (check_macro_name): Delete prototype.
9259
9260         * cpphash.h (struct macrodef): Delete.
9261         (struct reflist): Separate from struct definition.
9262         (struct definition): Remove unused fields.  Add column number.
9263         (create_definition): Returns a DEFINITION *.  Takes a
9264         cpp_reader * and an int.
9265
9266         * cpphash.c (SKIP_WHITE_SPACE): Delete.
9267         (PEEKC): Copy defn from cpplib.c.
9268         (rest_extension, REST_EXTENSION_LENGTH): Delete.
9269         (struct arg): New.
9270         (struct arglist): Simplify.
9271         (collect_expansion): Rewrite.  Get tokens by calling
9272         cpp_get_token.  Add more error checking.
9273         (collect_formal_parameters): New function, broken out of
9274         create_definition and reworked to use get_directive_token.
9275         (create_definition): All real work is now in collect_expansion
9276         and collect_formal_parameters.  do_define handles finding the
9277         macro name.  Return a DEFINITION, not a MACRODEF.
9278         (macroexpand): Replace bcopy with memcpy throughout.  Replace
9279         character-at-a-time copy loop with memcpy and pointer increments.
9280         (compare-defs): d1->argnames / d2->argnames might be null.
9281
9282         * cpplib.c (copy_rest_of_line): Delete function.
9283         (skip_rest_of_line): Do all the work ourselves.
9284         (skip_string): New function.
9285         (parse_string): Use skip_string.
9286         (get_macro_name): New function.
9287         (check_macro_name): Delete.
9288         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
9289         (cpp_skip_hspace): Use CPP_BUMP_LINE.
9290         (handle_directive): ICE if we're called on a macro buffer.
9291         (do_define): Determine macro name and type (funlike/objlike)
9292         here.  Expunge all uses of MACRODEF.
9293         (cpp_push_buffer): Set line_base to NULL.
9294         (do_undef, read_line_number): Don't worry about getting a POP token.
9295         (eval_if_expression): Set/reset parsing_if_directive around
9296         cpp_parse_expr. Don't clear only_seen_white.
9297         (skip_if_group): Remove output_conditionals logic.  Use
9298         skip_rest_of_line.
9299         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
9300         tokens under appropriate conditions.
9301         (cpp_unassert): Call do_unassert not do_assert.  Oops.
9302
9303         * cppexp.c (parse_defined): New function, break out of
9304         cpp_lex.
9305         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
9306         ourselves, with cpp_defined.
9307         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
9308
9309         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
9310         * gcc.dg/strpaste-2.c: New.
9311
9312 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
9313
9314         * fold-const.c (size_binop): Don't asert inputs are the same and
9315         have TYPE_IS_SIZETYPE set.
9316         (size_diffop): Likewise.
9317
9318 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
9319
9320         * dwarfout.c (output_block): Output abstract blocks even if they
9321         don't have TREE_ASM_WRITTEN set.
9322
9323         * calls.c (emit_library_call): Check for null REG.
9324
9325 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
9326
9327         * c-decl.c (current_function_decl): Move to toplev.c.
9328         (init_decl_processing): Don't add current_function_decl as a ggc
9329         root here.
9330         * dbxout.c (dbxout_symbol): Change return type to int.
9331         (dbxout_symbol_location, dbxout_syms): Likewise.
9332         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
9333         any locals. Use current_function_func_begin_label if set.
9334         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
9335         * dwarf2out.c (dwarf2out_begin_prologue): Set
9336         current_function_func_begin_label.
9337         * final.c (final_start_function): Reset it.
9338         * toplev.c (current_function_decl): Define it here.
9339         (current_function_func_begin_label): New variable.
9340         (main): Add both as ggc roots.
9341         * tree.h (current_function_func_begin_label): Declare.
9342
9343 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9344
9345         * gcse.c: Cleanups throughout: mostly white-space, but also
9346         some minor rearrangement of code.
9347
9348 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
9349
9350         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
9351         returns a PARALLEL.  Use emit_group_load and use_group_regs
9352         as needed.
9353         (emit_library_call_value): Similarly.
9354
9355         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
9356         * pa/quadlib.asm: Remove.
9357         * pa/quadlib.c: New file.
9358
9359         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
9360         * configure: Rebuilt.
9361
9362 2000-02-29  Philip Blundell  <pb@futuretv.com>
9363
9364         * config/arm/conix-elf.h: New file.
9365         * configure.in (arm*-*-conix*): New configuration.
9366         * configure: Regenerate.
9367
9368 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
9369
9370         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
9371         don't have TREE_ASM_WRITTEN set.
9372
9373 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9374
9375         * Eliminate DECL_FIELD_SIZE.
9376         * builtins.c (built_in_class_names, built_in_names): New variables.
9377         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
9378         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
9379         DECL_SIZE, not DECL_FIELD_SIZE.
9380         * print-tree.c (print_node): Remove code that prints extra blank
9381         lines in some cases.
9382         Properly handle inline and builtin function cases.
9383         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
9384         * tree.h (built_in_class_named, built_in_names): New declarations.
9385         (union tree_decl): Rename internal unions to u1 and u2 and change
9386         some of their components.
9387         Add new field built_in_class.
9388         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
9389         Reflect above changes.
9390         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
9391         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
9392         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
9393         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
9394
9395 2000-02-28  Dmitri Makarov  <dim@windriver.com>
9396
9397         * extend.texi: Document ARM's support for long/short calls.
9398
9399         * invoke.texi: Document ARM's -mlong-calls command line switch.
9400
9401         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
9402         (arm_encode_call_attribute): Add prototype.
9403         (arm_set_default_type_attribute): Add prototype.
9404         (arm_strip_name_encoding): Add prototype.
9405
9406         * config/arm/arm.c (arm_init_cumulative_args): replace
9407         initialisation og 'long_calls' field with initialisation of
9408         'call_cookie' field.
9409         (enum arm_pragma_enum): New enum.
9410         (arm_pragma_long_calls): New static variable.
9411         (arm_process_pragma): Also process "#pragma long_calls_off".
9412         (arm_valid_type_attribute_p): Accept short_call attribute.
9413         (arm_comp_type_attributes): Check long/short call attributes.
9414         (arm_encode_call_attribute):  New function:  Encode long_call
9415         or short_call attribute in function name.
9416         (arm_set_default_type_attributes): New function: Assign
9417         default attributes to newly defined type.
9418         (current_file_function_operand): New function: Return true if
9419         the symbol is a function which has already been compiled.
9420         (arm_is_longcall_p): New function: Return true if the
9421         indicated function should be called via a long call.
9422         (arm_get_strip_length): New function.  Returns number of
9423         prefix characters to be stripped from a function's name.
9424         (arm_strip_name_encoding): New function.  Strip prefix characters
9425         from a function's name.
9426
9427         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
9428         with 'call_cookie'.
9429         (SHORT_CALL_FAG_CHAR): Define.
9430         (LONG_CALL_FAG_CHAR): Define.
9431         (ENCODED_SHORT_CALL_ATTR_P): Define.
9432         (ENCODED_LONG_CALL_ATTR_P): Define.
9433         (ARM_NAME_ENCODING_LENGTHS): Define.
9434         (STRIP_NAME_ENCODING): Define.
9435         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
9436         (ARM_ENCODE_CALL_TYPE): Define.
9437         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
9438         (ARM_DECLARE_FUNCTION_SIZE): Define.
9439         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
9440
9441         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
9442         if a long call is needed.
9443         (call_value): Ditto.
9444         (call_symbol): Ditto.
9445
9446         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
9447         ARM_DECLARE_FUNCTION_SIZE.
9448
9449         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
9450         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
9451         (ARM_STRIP_NAME_ENCODING): Undefine.
9452         (STRIP_NAME_ENCODING): Undefine.
9453         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
9454         (ASM_DECLARE_FUNCTION_NAME): Ditto.
9455         (ASM_OUTPUT_COMMON): Ditto.
9456         (ASM_DECLARE_OBJECT_NAME): Ditto.
9457
9458         * config/arm/pe.c (arm_dllexport_name_p): Check for
9459         ARM_PE_FLAG_CHAR.
9460         (arm_dllimport_name_p): Ditto.
9461         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
9462         (arm_mark_dllimport): Ditto.
9463
9464 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9465
9466         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
9467
9468 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
9469
9470         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
9471
9472 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
9473
9474         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
9475         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
9476         NO_BUILTIN_WCHAR_TYPE is not defined.
9477         (CPP_WCHAR_TYPE): Delete.
9478         * cccp.c (main): Don't change wchar_type if cplusplus.
9479         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
9480
9481 2000-02-28  Nick Clifton  <nickc@cygnus.com>
9482
9483         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
9484
9485 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
9486
9487         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
9488         (ASM_WEAKEN_LABEL): Define.
9489
9490 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
9491
9492         * expr.c (store_constructor): Do not emit USE.
9493         * rtl.h (stupid_life_analysis): Remove.
9494
9495 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9496
9497         * function.c (number_blocks): Reset next_block_index based on
9498         what debugging format is used, not what is defined.
9499
9500         * lcm.c: Minor reformatting throughout.
9501         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
9502
9503         * toplev.c (rest_of_compilation): Account for time in
9504         optimize_mode_switching.
9505
9506         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
9507         if only marking labels.
9508
9509 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
9510
9511         * calls.c (expand_call): Attempt to combine stack adjustments with
9512         pending stack adjustments.
9513
9514 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9515
9516         * loop.c (reg_in_basic_block_p): Don't abort when falling through
9517         to the end of the function.
9518
9519 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
9520
9521         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
9522         blocks.
9523         * final.c (next_block_index): Remove.
9524         (max_block_depth): Likewise.
9525         (pending_blocks): Likewise.
9526         (init_final): Don't initialize them.
9527         (final_start_function): Don't set next_block_index.  Set up
9528         BLOCK_NUMBER.
9529         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
9530         * function.h (number_blocks): New function.
9531         * function.c (get_block_vector): New function.
9532         (identify_blocks): Use it.
9533         (reorder_blocks): Set NOTE_BLOCK.
9534         (number_blocks): New function.
9535         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
9536         * tree.h (BLOCK_NUMBER): New macro.
9537         (tree_block): Add block_num field.
9538         * dbxout.c (next_block_number): Remove.
9539         (dbxout_init): Don't set it.
9540         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
9541         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
9542         block numbers.
9543         * toplev.c (rest_of_compilation): Always call
9544         find_loop_tree_blocks.  Fix indentation.
9545         * dwarf2out.c (next_block_number): Remove.
9546         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
9547         to determine block numbers.
9548         (gen_inlined_subroutine_die): Likewise.
9549         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
9550         (decls_for_scope): Don't increment next_block_number.
9551         * dwarfout.c (next_block_number): Remove.
9552         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
9553         to determine block numbers.
9554         (output_inlined_subroutine_die): Likewise.
9555         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
9556         (output_decls_for_scope): Don't increment next_block_number.
9557         * sdbout.c (next_block_number): Remove.
9558         (sdbout_block): Use BLOCK_NUMBER.
9559         (sdbout_begin_block): Simplify.
9560         * xcoffout.c (next_block_number): Remove.
9561         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
9562         (xcoffout_begin_block): Don't set next_block_number.
9563         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
9564         next_block_number.
9565
9566 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9567
9568         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
9569         (expand_builtin_strcpy): Pass correct type to size_binop.
9570         (expand_builtin_strcmp): Likewise.
9571         Clean up conditional structure.
9572         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
9573         (complete_array_type): Don't use size_binop for MAXINDEX.
9574         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
9575         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
9576         (c_alignof): Use size_one_node.
9577         (build_unary_op): Pass arg of proper type to size_binop.
9578         (really_start_incremental_init, push_init_level): Use sizetype for
9579         constructor{,_bit,_unfilled}_index.
9580         (pop_init_label, output_init_element): Likewise.
9581         (output_pending_init_elements, process_init_element): Likewise.
9582         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
9583         * expr.c (store_expr): Use size_int.
9584         (store_constructor): Use proper types for size_binop args.
9585         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
9586         (expand_expr_unaligned): Likewise.
9587         (string_contant): Return object of sizetype.
9588         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
9589         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
9590         (ARGS_SIZE_TREE): Pass proper types to size_binop.
9591         * fold-const.c (int_const_binop): Refine when size_int is called.
9592         (fold_convert): Likewise.
9593         (size_int_wide): Rework to take KIND as arg, only take low order
9594         bits, handle new sizetype_tab datatype, and chain entries in
9595         size_table.
9596         (size_int_type_wide): New function.
9597         (size_binop): Validate types of arguments.
9598         (ssize_binop): Deleted.
9599         (size_diffop): New function.
9600         (extract_muldiv): Only fold division into multiplication for sizetypes.
9601         * function.c (assign_parms): Use size_diffop and make sure
9602         VAR field is of ssizetype; also pass proper type to size_binop.
9603         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
9604         (round_down): Deleted from here.
9605         * store-layout.c (sizetype_tab): Now an array.
9606         (sizetype_set, early_root_list): New variables.
9607         (variable_size): Use size_one_node.
9608         (round_up): Pass proper type to size_binop.
9609         (round_down): Moved to here and corrected as above.
9610         (layout_record): Pass proper arg types to size_binop.
9611         (layout_type): Likewise.
9612         If sizetype_set is zero, record the type just laid out.
9613         (make_unsigned_type): Don't call set_sizetype;
9614         (make_signed_type): Likewise; also, call fixup_signed_type.
9615         (initialize_sizetypes): New function.
9616         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
9617         set name of bitsizetype to "bit_size_type".
9618         Fix up type of sizes of all types made before call.
9619         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
9620         * tree.c (fix_sizetype): Deleted.
9621         (build_common_tree_nodes): Call initialize_sizetypes.
9622         (build_common_tree_nodes_2): Don't call fix_sizetype.
9623         * tree.h (TYPE_IS_SIZETYPE): New macro.
9624         (initialize_sizetype): New declaration.
9625         (enum size_type_kind): New type.
9626         (struct sizetype_tab): Deleted.
9627         (sizetype_tab): Now array; adjust sizetype macros.
9628         (size_diffop, size_int_type_wide): New functions.
9629         (size_int_wide): Change number of args and type; access macros changed.
9630         (ssize_int, sbitsize_int): New macros.
9631         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
9632         (ROUND_TYPE_SIZE_UNIT): New macro.
9633
9634 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
9635
9636         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
9637
9638 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9639
9640         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
9641         Mark as possibly unused.
9642
9643         * cse.c (cse_insn): Delete dead code involving tablejump.
9644         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
9645
9646         * Makefile.in (libcpp.a): Start by deleting it.
9647
9648 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9649
9650         * cpplib.h (enum file_change_code): Added rename_file.
9651         * cpplib.c (do_line): If a filename is given, set file_change to
9652         rename_file.
9653         (output_line_command): If file_change is rename_file, always
9654         output a # directive with the file name.
9655
9656         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
9657
9658 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
9659
9660         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
9661         when copying a PARM_DECL or RESULT_DECL.
9662
9663 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9664
9665         * fix-header.c (recognized_function): Also fix prototypes for
9666         functions taking "void".
9667
9668 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
9669
9670         * reload1.c (do_output_reload): Check reg_reloaded_valid before
9671         looking at reg_reloaded_contents.
9672
9673 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
9674
9675         * Makefile.in (STMP_FIXINC): New toggle.
9676         (LIBGCC2_DEPS): Delete all references.
9677         (stmp-headers): Delete target.  All references either deleted
9678         or changed to stmp-int-headers.
9679         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
9680         (LIBCPP_OBJS): Take out cppalloc.o.
9681         (cppalloc.o): Delete target.
9682         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
9683         (gen-protos, fix-header): Link with libiberty.a.
9684         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
9685         to empty.
9686
9687         * configure.in: Remove refs to strerror.
9688         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
9689         * system.h: Take out strerror stanza.
9690
9691         * cpperror.c (my_strerror): Delete function.
9692         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
9693         * cppmain.c (main): Call xmalloc_set_program_name first thing.
9694         * cppalloc.c: Delete file.
9695         * gen-protos.c: Don't provide xrealloc.
9696
9697         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
9698         xstrerror throughout.
9699
9700 2000-02-26  Bruce Korb  <bkorb@gnu.org>
9701
9702         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
9703         match for DOS headers, too.
9704         * fixinc/inclhack.sh,fixincl.x: Regenerate.
9705
9706 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
9707
9708         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
9709         is right for most ELF targets.
9710         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
9711         Let the default file use %U properly.
9712         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
9713         default.
9714
9715         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
9716         numbers.
9717
9718 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9719
9720         * toplev.c (documented_lang_options): Correct spelling error.
9721         (decode_d_option, decode_f_option, main): Likewise.
9722
9723         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
9724
9725         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
9726         to tell assembler it is permitted to expand large constants.
9727
9728 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
9729
9730         * protoize.c: (AUX_INFO_SUFFIX): New macro.
9731         (aux_info_suffix): Use.
9732         (SAVE_SUFFIX): New macro.
9733         (save_suffix): Use.
9734         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
9735         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
9736         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
9737
9738         * invoke.texi (Running Protoize): Update documentation.
9739
9740 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
9741
9742         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
9743
9744 2000-02-25  John Wehle  (john@feith.com)
9745
9746         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
9747
9748 2000-02-25  Anthony Green  <green@cygnus.com>
9749
9750         * toplev.c (rest_of_compilation): Rebuild jump labels if
9751         combine_instructions has created a new direct jump.
9752         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
9753         when appropriate.
9754         (combine_instructions): Call try_combine with new argument.
9755         Return non-null value when new direct jump instruction is created.
9756         * rtl.h: combine_instructions returns an int.
9757
9758 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
9759
9760         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
9761         jump when changing a computed jump into a jump to a known
9762         target.
9763
9764 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
9765
9766         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
9767         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
9768
9769         * i386.md (define_expand "clrstrsi"): Fix typo.
9770
9771 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
9772
9773         * rtl.texi: Fix typo.
9774
9775 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9776
9777         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
9778         UNITS_PER_WORD.  Change caller initial_elimination_offset.
9779         (rounded_frame_size): Take into account that argument pushed has
9780         changed.  Fix TARGET_ALIGN_DOUBLE problem.
9781
9782 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
9783
9784         * haifa-sched.c (schedule_block): Explain the real reason
9785         we delete REG_SAVE_NOTEs on the first insn of a block.
9786         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
9787
9788 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
9789
9790         * input.h (push_srcloc): New function.
9791         (pop_srcloc): Likewise.
9792         * toplev.c (push_srcloc): Define it.
9793         (pop_srcloc): Likewise.
9794
9795 2000-02-24  Richard Henderson  <rth@cygnus.com>
9796
9797         * flow.c (life_analysis): When collecting reg info, clear
9798         regs_ever_live.
9799
9800 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9801
9802         Fix bug exposed by reload.c no longer rounding the frame
9803         size to BIGGEST_ALIGNMENT:
9804         * sh.c (rounded_frame_size): New function.
9805         (sh_expand_prologue, sh_expand_epilogue): Use it.
9806         (initial_elimination_offset): Likewise.
9807
9808 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9809
9810         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
9811         * sh-protos.h (sh_need_epilogue): Declare.
9812         * sh.c (sh_need_epilogue_known): New static variable.
9813         (sh_need_epilogue): New function.
9814         (function_epilogue): Clear need_epilogue_known.
9815         * sh.md (return): Split into expander / insn pattern.
9816         Make the expander conditional on ! sh_need_epilogue ().
9817
9818 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
9819
9820         * machmode.h (get_mode_alignment): Declare.
9821         (GET_MODE_ALIGNMENT): Call it.
9822         * stor-layout.c (get_mode_alignment): New function. Make
9823         sure alignment is always power of 2.
9824
9825 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9826
9827         * i386.h: Remove useless definition of "I386" and misleading
9828         comment above it.
9829
9830 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9831
9832         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
9833         under which TREE_PERMANENT will be set.
9834         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
9835         build1): Use TREE_SET_PERMANENT.
9836         * print-tree.c (print_node): Don't report value of
9837         TREE_PERMANENT if ggc_p is true.
9838
9839         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
9840         decide whether to give a type a new alias set.
9841         * objc/objc-act.c (build_objc_string_object): Never copy the string.
9842         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
9843         of value of 'obstack'.
9844
9845
9846 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9847
9848         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
9849
9850 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9851
9852         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
9853         * cpplib.c (cpp_get_token): Produce them.
9854         * cppexp.c (cpp_lex): Handle them.
9855
9856 2000-02-23  Nick Clifton  <nickc@cygnus.com>
9857
9858         * config/arm/arm.c (arm_comp_type_attributes): Simply and
9859         comment tests on type attributes.
9860
9861 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9862
9863         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
9864         conform to documentation.
9865         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
9866         to check for special cases.
9867         * sh-protos.h (sh_loop_align): Declare.
9868         * sh.c (sh_loop_align): Define.
9869
9870 2000-02-22  Andrew Haley  <aph@cygnus.com>
9871
9872         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
9873         (SIZE_TYPE): Is 32 bits when using -mgp32.
9874         (PTRDIFF_TYPE): Ditto.
9875
9876 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9877
9878         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
9879
9880 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9881
9882         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
9883         BIGGEST_FIELD_ALIGNMENT a constant.
9884
9885 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
9886
9887         * dwarf2out.c (output_line_info): Put the marker for the end of
9888         the line number info at the actual end.
9889         (gen_struct_or_union_type_die): Use decl_function_context
9890         to check for local classes.
9891         * dwarfout.c (output_type): Likewise.
9892
9893 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
9894
9895         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
9896         for arguments with a mode, but no type.
9897         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
9898         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
9899         * pa/long_double.h: New file.
9900         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
9901         both have 128bit wide long doubles.
9902         * configure: Rebuilt.
9903
9904 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9905
9906         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
9907
9908         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
9909         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
9910         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
9911
9912         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
9913
9914         * integrate.c (compare_blocks, find_block): Likewise.
9915
9916         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
9917
9918         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
9919
9920         * stmt.c (stmt_status, set_file_and_line_for_stmt,
9921         expand_asm_operands): Likewise.
9922
9923 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
9924
9925         * predict.c (estimate_probability): Added the pointer heuristic to
9926         the collection of static branch predictors.
9927
9928 2000-02-21  Catherine Moore  <clm@cygnus.com>
9929
9930         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
9931         * invoke.texi (-mfix7000): Document.
9932
9933 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
9934
9935         * diagnostic.c (init_output_buffer): Make it possible to output at
9936         least 32 characters if we're given a too long prefix.
9937
9938 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
9939
9940         * varasm.c (initializer_constant_valid_p): Call
9941         lang_expand_constant to simplify the constant.
9942
9943 2000-02-20  Bruce Korb  <bkorb@gnu.org>
9944
9945         * fixinc/inclhack.def(stdio_va_list):
9946         typedef needs to be disabled.
9947         * fixinc/inclhack.sh: regen
9948         * fixinc/fixincl.x: regen
9949
9950 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
9951
9952         * print-rtl.c (print_rtx): Don't print addresses when
9953         flag_dump_unnumbered.
9954
9955 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9956
9957         * sparc.c (sparc_output_scratch_registers): Mark parameter with
9958         ATTRIBUTE_UNUSED.
9959         (sparc_va_arg, sparc_flat_output_function_prologue,
9960         sparc_flat_output_function_epilogue): Cast value to unsigned in
9961         comparison.
9962         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
9963
9964         * sparc.md: Add default case in switch.
9965
9966 2000-02-19  Richard Henderson  <rth@cygnus.com>
9967
9968         * c-typeck.c (add_pending_init): Don't abort for multiple
9969         fields at the same offset.
9970         (pending_init_member): Test the correct member.
9971
9972 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9973
9974         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
9975         instead of SImode.
9976         (start_catch_handler) : Same.
9977
9978 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
9979
9980         * Makefile.in: Have flow.o depend on $(EXPR_H)
9981
9982 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9983
9984         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
9985         * c-decl.c (duplicate_decls, finish_enum): Likewise.
9986         (finish_decl): Remove -Wlarger-than code from here.
9987         * flags.h (id_clash_len): Now int.
9988         (larger_than_size): Now HOST_WIDE_INT.
9989         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
9990         Clean up checking to see if in table.
9991         (make_bit_field_ref): Remove extra parm to bitsize_int.
9992         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
9993         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
9994         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
9995         and for computing size of decl.
9996         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
9997         Move -Wlarger-than code to here.
9998         (layout_record): Remove extra arg to bitsize_int.
9999         Set TYPE_BINFO_SIZE_UNIT.
10000         (layout_union): Remove extra arg to bitsize_int.
10001         Use proper type for size of QUAL_UNION.
10002         (layout_type): Remove extra arg to bitsize_int.
10003         * toplev.c (id_clash_len): Now int.
10004         (larger_than_size): Now HOST_WIDE_INT.
10005         (decode_W_option): Clean up id-clash and larger-than- cases.
10006         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
10007         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
10008         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
10009         (struct tree_decl): New field size_unit.
10010         (size_int_wide): No HIGH operand; NUMBER is now signed.
10011         (size_int_2): Deleted.
10012         (size_int, bitsize_int): Don't use it and rework args.
10013         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
10014
10015 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
10016
10017         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
10018
10019 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
10020
10021         * invoke.texi (Warning Options): Add an explanation of why
10022         you might want the -Wfloat-equal flag.
10023
10024 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10025
10026         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
10027         * cppinit.c (new_pending_define): Add cast to avoid warning.
10028         * expmed.c (extract_bit_field): Likewise.
10029         * flow.c (enum reorder_skip_type): New type.
10030         (skip_insns_between_blcok): New it.
10031         Rework to avoid warning about possibly undefined variable.
10032         * function.c (assign_parms): Make thisparm_boundary unsigned.
10033         * genrecog.c (write_switch): Cast XWINT result to int.
10034         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
10035         * mips-tfile.c (init_file): Make two versions of FDR intializer:
10036         one for MIPS and one for Alpha.
10037         (get_tag, copy_object): Add casts to avoid warnings.
10038         * optabs.c (init_one_libfunc): Cast NAME to (char *).
10039         * reload.c (find_reloads): Make TYPE enum reload_type.
10040         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
10041         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
10042         * varasm.c (compare_constant_1): Add cast to avoid warning.
10043         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
10044         to (char *).
10045         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
10046         Cast switch operand of size to int.
10047         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
10048         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
10049         in unhandled case.
10050
10051 2000-02-18  Nick Clifton  <nickc@cygnus.com>
10052
10053         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
10054         anything for an alignment of zero.
10055
10056         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
10057         anything for an alignment of zero.
10058
10059 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
10060
10061         * gcc.texi (Bug Reporting): Refer to bugs.html.
10062         (Bug Lists): Likewise.
10063         * system.h (GCCBUGURL): New preprocessor define.
10064         * rtl.c (fancy_abort): Use it.
10065         * gcc.c (main): Likewise.
10066
10067 2000-02-18  Richard Henderson  <rth@cygnus.com>
10068
10069         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
10070         (life_analysis_1): Subsume into ...
10071         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
10072         Use update_life_info for the relaxation.
10073         (update_life_info): Update REG_BASIC_BLOCK for registers live on
10074         entry and regs_live_at_setjmp.
10075         (set_noop_p): Simplify.
10076         (notice_stack_pointer_modification_1): Renamed from s/_1//.
10077         (record_volatile_insns): Split into ...
10078         (delete_noop_moves): ... here,
10079         (notice_stack_pointer_modification): ... here,
10080         (insn_dead_p): ... and here.
10081         (propagate_block): Don't query INSN_VOLATILE.
10082         (mark_used_regs): Mind !PROP_REG_INFO.
10083         * toplev.c (rest_of_compilation): Call mark_constant_function here,
10084         not in life_analysis.
10085
10086 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
10087
10088         * loop.c (canonicalize_condition): New function,
10089         broken out of get_condition.
10090         (get_condition): Use it.
10091         * expr.h (canonicalize_condition): Prototype it.
10092
10093         * tree.h (tree_int_cst_msb): Declare.
10094         * tree.c (tree_int_cst_msb): New function.
10095
10096 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
10097
10098         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
10099         isn't set.
10100
10101         * invoke.texi (-fmessage-length=n): Document.
10102
10103 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
10104
10105         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
10106
10107 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
10108
10109         * function.c (thread_prologue_and_epilogue_insns): Put a line note
10110         after the prologue.
10111
10112 2000-02-17  Nick Clifton  <nickc@cygnus.com>
10113
10114         * config/arm/thumb.c: Replace includes of system headers with
10115         #include "system.h".
10116
10117 2000-02-16  Richard Henderson  <rth@cygnus.com>
10118
10119         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
10120         Add crtbeginS.o and crtendS.o.
10121         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
10122         (ENDFILE_SPEC): Use crtendS.o.
10123         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
10124
10125         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
10126         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
10127         shared and present.
10128         (__dso_handle): New variable.
10129         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
10130         bias to __CTOR_END__.
10131
10132 2000-02-16  Richard Henderson  <rth@cygnus.com>
10133
10134         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
10135
10136 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10137
10138         * longlong.h (__clz_tab): Declare as static to match definition.
10139
10140 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
10141
10142         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
10143         (XREF_FILE_NAME): Define.
10144
10145         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
10146         (EH_FRAME_SECTION_ASM_OP): Define.
10147         (IDENT_ASM_OP): Define.
10148         (TEXT_SECTION_ASM_OP): Define.
10149         (CPP_SPEC): Define.
10150         (CTORS_SECTION_ASM_OP): Define.
10151         (CTOR_SECTION_FUNCTION): Use it.
10152         (DTORS_SECTION_ASM_OP): Define.
10153         (DTOR_SECTION_FUNCTION): Use it.
10154
10155 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
10156
10157         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
10158         NOTE_BASIC_BLOCK.
10159
10160         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
10161         debug_bb_n): New functions.
10162         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
10163         * basic-block.h: Prototype new functions.
10164
10165 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
10166
10167         * configure.in: Add support for avr target.
10168         * configure: Rebuilt.
10169
10170         * invoke.texi: Add AVR invocation docs.
10171         * install.texi: Add information about AVR.
10172         * md.texi: Add AVR constraint letters description.
10173         * extend.texi: Add description for AVR specific attributes.
10174
10175 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
10176
10177         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
10178
10179 2000-02-16  Nick Clifton  <nickc@cygnus.com>
10180
10181         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
10182         (make_insn_raw): Move RTL check here.
10183
10184 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10185
10186         * version.c: Include gansidecl.h and version.h.
10187
10188         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
10189
10190         * configure.in (gcc_version): When setting, narrow search to
10191         lines containing `version_string'.
10192
10193         * Makefile.in (mainversion): Likewise.
10194         (GCC_H): New variable.
10195         (gcc.h): Delete target.
10196         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
10197         (version.o): Depend on version.h.
10198         (dbxout.o): Don't depend on gcc.h.
10199
10200 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10201                           Michael Meissner  <meissner@cygnus.com>
10202
10203         * md.texi (Simple Constraints): Add item about whitespace.
10204         * genoutput.c (strip_whitespace): New.
10205         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
10206         strip_whitespace for constraints.
10207         Test pointer using NULL, not 0.
10208
10209 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10210
10211         * cpplib.c (do_line): Pedwarn for #line > 32767.
10212
10213         * c-lex.c (readescape): Warn about '\x', but do not reject it.
10214
10215 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
10216
10217         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
10218         to default cpp spec.
10219         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
10220         * cpp.texi: Document __GNUC_PATCHLEVEL__.
10221         * cpp.1: Likewise.
10222
10223         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
10224         default spec.
10225
10226 2000-02-15  Denis Chertykov  <denisc@overta.ru>
10227
10228         * configure.in: Add support for avr target.
10229
10230 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10231
10232         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
10233         (sh_addr_diff_vec_mode): Don't declare.
10234         * sh.c (sh_addr_diff_vec_mode): Delete.
10235
10236 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10237
10238         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
10239
10240 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10241
10242         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
10243         (smulsi3_highpart_i): Name.
10244         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
10245         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
10246         (smulsi3_highpart, umulsi3_highpart): Likewise.
10247
10248         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
10249         correctly independent of endianness.
10250         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
10251         confuse the optimizers.
10252         (mulsidi3+1, umulsidi3+1): New define_split.
10253
10254 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
10255
10256         * config/sh/sh.md: Guard insn splits against illegal registers.
10257         * config/sh/sh.h: Correct comment about macros.
10258
10259 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10260                           Andrew MacLeod  <amacleod@cygnus.com>
10261
10262         * Makefile.in (lcm.o): Depend on insn-attr.h.
10263         * basic-block.h (optimize_mode_switching): Declare.
10264         * lcm.c (tm_p.h, insn-attr.h): #include.
10265         (seginfo, bb_info): New structs.
10266         (antic, transp, comp, delete, insert) : New file-scope static variables.
10267         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
10268         (reg_becomes_live, optimize_mode_switching): Likewise.
10269         * tm.texi: Add description of mode switching macros.
10270         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
10271
10272         * sh-protos.h (remove_dead_before_cse): Remove prototype.
10273         (fldi_ok, fpscr_set_from_mem): New prototypes.
10274         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
10275         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
10276         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
10277         (sh_flag_remove_dead_before_cse): Remove declaration.
10278         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
10279         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
10280         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
10281         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
10282         (barrier_align): Allow for JUMP_INSNS containing a parallel.
10283         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
10284         (fldi_ok): New function.
10285         (get_fpscr_rtx): Add fpscr_rtx as GC root.
10286         (emit_sf_insn): Only generate fpu switches when optimize < 1.
10287         (emit_df_insn): Likewise.
10288         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
10289         (sh_flag_remove_dead_before_cse): Delete.
10290         (get_free_reg, fpscr_set_from_mem): New functions.
10291         * sh.md (movdf, movsf): Remove no_new_pseudos code.
10292         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
10293
10294 2000-02-15  Loren Rittle  <ljrittle@acm.org>
10295
10296         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
10297
10298 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10299
10300         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
10301         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
10302
10303         * cccp.c: Include version.h and/or don't declare `version_string'.
10304         * collect2.c: Likewise.
10305         * alpha.c: Likewise.
10306         * arm/aof.h: Likewise.
10307         * arm/coff.h: Likewise.
10308         * arm/elf.h: Likewise.
10309         * arm/pe.h: Likewise.
10310         * arm/tcoff.h: Likewise.
10311         * arm/telf.h: Likewise.
10312         * arm/tpe.h: Likewise.
10313         * arm/vxarm.h: Likewise.
10314         * convex/convex.c: Likewise.
10315         * i386/dgux.c: Likewise.
10316         * i386/sun386.h: Likewise.
10317         * m88k/m88k.c: Likewise.
10318         * mcore/mcore-pe.h: Likewise.
10319         * mips/mips.h: Likewise.
10320         * romp/romp.h: Likewise.
10321         * sh/sh.c: Likewise.
10322         * cpphash.c: Likewise.
10323         * cppinit.c: Likewise.
10324         * dwarf2out.c: Likewise.
10325         * dwarfout.c: Likewise.
10326         * gcc.c: Likewise.
10327         * gcc.h: Likewise.
10328         * mips-tfile.c: Likewise.
10329         * protoize.c: Likewise.
10330         * toplev.c: Likewise.
10331         * tree.h: Likewise.
10332
10333         * version.c (version_string): Constify a char*.
10334
10335         * version.h: New file.
10336
10337 2000-02-14  Nick Clifton  <nickc@cygnus.com>
10338
10339         * configure.in: Add mcore-elf and mcore-pe targets.
10340         * configure: Regenerate.
10341
10342         * NEWS: Add note that MCore port has been contributed.
10343
10344         * invoke.texi: Document command line switches for MCore port.
10345         * install.texi: Add MCore to list of supported targets.
10346
10347 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
10348
10349         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
10350         then we will need to import the frame handling functions.
10351         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
10352         to import the frames themselves.
10353
10354 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
10355                           Jason Eckhardt  <jle@cygnus.com>
10356
10357         * basic_block.h: Added prototype for reorder_basic_blocks.
10358         * toplev.c: Changes to add -freorder-blocks and graph dump after
10359         block reordering is done.
10360         * flow.c (reorder_block_def): New structure for use during block
10361         reordering.
10362         (REORDER_BLOCK_*): New macros to access members of above structure.
10363         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
10364         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
10365         functions for block reordering.
10366
10367 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10368
10369         * gcc.texi (Passes): Fix typo.
10370         * md.texi (Standard Names): Ditto.
10371         * tm.texi (Storage Layout): Ditto.
10372
10373 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
10374
10375         * cpplib.c (do_define): Only free the old definition if it
10376         actually had one.
10377
10378 2000-02-13   Neil Booth  <NeilB@earthling.net>
10379
10380         * cppfiles.c (read_and_prescan): When emitting deferred
10381         newlines, test speccase[] again instead of checking each
10382         possible whitespace character in turn.  When we encounter \r,
10383         look behind for \n first, then ahead.
10384
10385 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
10386
10387         * cse.c (cse_altered): New internal flag.
10388         (cse_insn): Set it if we changed an insn.
10389         (cse_main): Clear cse_altered before each basic block.
10390         Only garbage collect if cse_altered is true afterward.
10391
10392 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10393
10394         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
10395
10396 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
10397
10398         * combine.c (simplify_comparison): Fix typo.
10399
10400 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
10401
10402         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
10403         consistently.
10404
10405 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10406
10407         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
10408         previously inserted node instead of root node.  Caller changed.
10409
10410 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10411
10412         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
10413
10414 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10415
10416         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
10417         __dereg_frame_dtor): Add prototype argument.
10418
10419         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
10420
10421         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
10422
10423         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
10424
10425         * gthr-vxworks.h (__gthread_once): Likewise.
10426
10427         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
10428
10429 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
10430
10431         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
10432         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
10433         stack pointer in functions w/o saved registers, output LEAVE more often
10434         on TARGET_USE_LEAVE machines.
10435
10436 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
10437
10438         * config/arm/arm.c (arm_init_cumulative_args); New function:
10439         Initlaise the CUMULATIE_ARGS strcuture for a function
10440         defintion.
10441         (arm_function_arg): New function: Determine where to place a
10442         function's argument.  Also handles deciding the function's
10443         call cookie.
10444         (current_file_function_operand): New function: Return true if
10445         the symbol is a function which has already been compiled.
10446         (arm_is_long_call_p): New function: Return true if the
10447         indicated function should be called via a long call.
10448         (arm_valid_type_attribute_p): New function: Return true if the
10449         attribute is a valid, arm specific, attribute.
10450         (arm_comp_type_attribute): New function: Return true if the
10451         two types have compatable, arm specific, attributes.
10452
10453         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
10454         structure.
10455         (FUNCTION_ARG): Redefine to call arm_function_arg.
10456         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
10457         structure field.
10458         (INIT_CUMULATIVE_ARGS): Redefine to call
10459         arm_init_cumulative_args.
10460         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
10461         field.
10462         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
10463         field.
10464         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
10465         functions.
10466         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
10467         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
10468         (COMP_TYPE_ATTRIBUTES): Define.
10469
10470         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
10471         if a long call is needed.
10472         (call_value): Call arm_is_long_call_p to decide if a long call
10473         is needed.
10474         (call_symbol): Call arm_is_long_call_p to decide if a long call
10475         is needed.
10476
10477         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
10478
10479 2000-02-11  Denis Chertykov  <denisc@overta.ru>
10480
10481         * README.AVR: New file with information about the avr ports.
10482         * config/avr: New directory with avr port files.
10483
10484 2000-02-11  Andreas Jaeger  <aj@suse.de>
10485
10486         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
10487
10488 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
10489
10490         * cpphash.c: Fix formatting, update commentary.
10491         (dump_definition): Take three separate arguments instead of a
10492         MACRODEF structure argument.
10493         * cpphash.h: Update prototype of dump_definition.
10494         * cppinit.c (cpp_finish): Update call of dump_definition.
10495
10496         * cpplib.c (do_define): Always create new hash entry with
10497         T_MACRO type.  Remove redundant check for redefinition of
10498         poisoned identifier.  Update call of dump_definition.
10499         (do_undef): Don't call check_macro_name.  Rename sym_length to
10500         len.
10501         (do_error, do_warning): Don't use copy_rest_of_line or
10502         SKIP_WHITE_SPACE.
10503         (do_warning): Don't use pedwarn for the actual warning,
10504         only the notice about its not being in the standard.  (Fixes
10505         bug with #warning in system headers.)
10506         (do_ident): Stricter argument checking - accept only a single
10507         string after #ident.  Also, macro-expand the line.
10508         (do_xifdef): Use cpp_defined.  De-obfuscate.
10509
10510         (do_pragma): Split out specific pragma handling to separate
10511         functions.  Use get_directive_token.  Update commentary.  Do
10512         not pass on #pragma once or #pragma poison to the front end.
10513         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
10514         do_pragma_default): New.
10515
10516 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
10517
10518         * jump.c (jump_optimize_1): The first operand in a relational
10519         can be a CONST_INT.
10520         * optabs.c (emit_conditional_move): Handle relationals which
10521         have a known true/false result.
10522
10523 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
10524
10525         * function.c (thread_prologue_and_epilogue_insns): Don't insert
10526         a RETURN insn into a block which already ends with a jump.
10527
10528 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
10529
10530         * haifa-sched.c (BUF_LEN): Increase a lot.
10531
10532 2000-02-11  Nick Clifton  <nickc@cygnus.com>
10533
10534         * configure.in: Add tm_p_file specification for thumb targets.
10535         * configure: Regenerate.
10536
10537         * config/arm/thumb-protos.h: New file: Prototypes for exported
10538         functions defined in thumb.c.
10539
10540 2000-02-11  Robert Lipe  <robertl@sco.com>
10541
10542         * Makefile.in (bootstrap-lean): Remove additional files.
10543         (bootstrap2-lean): Likewise.
10544         (VOL_FILES): List of files for above.
10545
10546 2000-02-11  Nathan Sidwell  <nathan@acm.org>
10547
10548         * cpphash.c (special_symbol): Remove spurious argument to
10549         cpp_lookup.
10550
10551 2000-02-11  Joel Sherrill (joel@OARcorp.com>
10552
10553         * configure.in: (i*86-*-rtems*): Swapped elf and coff
10554         stanzas.
10555         * configure: Rebuilt.
10556
10557 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
10558
10559         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
10560
10561 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
10562
10563         * pa.c, pa.h: Remove trigraph sequences within comments.
10564
10565 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
10566
10567         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
10568
10569 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
10570
10571         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
10572
10573 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10574
10575         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
10576
10577 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10578
10579         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
10580         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
10581         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
10582         (ASM_FILE_END): Use c4x_file_end.
10583         * config/c4x/c4x.c (c4x_global_label): New function.
10584         (c4x_external_ref, c4x_file_end): Likewise.
10585
10586         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
10587         (c4x_external_ref, c4x_end_file): Likewise.
10588
10589 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
10590
10591         * cppexp.c: Don't include cpphash.h.
10592         (parse_charconst, cpp_lex): Use cpp_defined.
10593         (cpp_lex): Use get_directive_token throughout.  Remove
10594         unnecessary cases from switch.  Move assertion-handling code
10595         down to OTHER case.
10596         (cpp_parse_expr): If we see '+' or '-', check the context to
10597         determine if they are unary or binary operators.  Streamline
10598         the jumps a bit.  Do not call skip_rest_of_line.
10599
10600         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
10601         static.  Export get_directive_token.  Update commentary.
10602         (cpp_defined): New function.
10603         (do_define): Remove reference to T_PCSTRING.  Call
10604         free_definition to release memory for old definition, when
10605         redefining a macro.
10606         (eval_if_expression): Set only_seen_white to 0 before calling
10607         cpp_parse_expr.  Call skip_rest_of_line after it returns.
10608         (cpp_read_check_assertion): Don't preserve a pointer into the
10609         token buffer across a call to cpp_get_token.
10610
10611         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
10612         * cppfiles.c (redundant_include_p): Use cpp_defined.
10613         * cpphash.c (free_definition): New function.
10614         (delete_macro): Use it.  Update commentary.
10615         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
10616         free_definition.
10617         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
10618         from enum node_type.  Prototype cpp_defined and get_directive_token.
10619         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
10620
10621         * fix-header.c (check_macro_names): Use cpp_defined.
10622         (read_scan_file): Set inhibit_warnings and inhibit_errors in
10623         the options structure.
10624
10625 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10626
10627         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
10628
10629 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
10630
10631         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
10632         rather than die->die_tag.
10633
10634 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10635
10636         * combine.c (make_extraction, force_to_mode): Avoid warning on
10637         mixed-signedness conditionals.
10638         (make_field_assignment, nonzero_bits): Likewise.
10639         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
10640         (store_split_bit_field, extract_split_bit_field): Likewise.
10641         (extract_fixed_bit_field, store_bit_field,
10642         * expr.c: Change alignment to be unsigned everywhere.
10643         (move_by_pieces, store_constructor_field, store_constructor):
10644         Alignment parm is unsigned.
10645         (emit_block_move, emit_group_load, emit_group_store): Likewise.
10646         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
10647         (do_compare_rtx_and_jump): Likewise.
10648         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
10649         Compare align with GET_MODE_ALIGNMENT.
10650         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
10651         (get_inner_reference): Likewise.
10652         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
10653         (expand_assignment): Local vars for alignment now unsigned.
10654         (store_constructor, store_field, expand_expr, do_jump): Likewise.
10655         (do_compare_and_jump): Likewise.
10656         (store_field): Call new function expr_align.
10657         * expr.h (emit_block_move, emit_group_load, emit_group_store):
10658         Alignment arg now unsigned.
10659         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
10660         (do_compare_rtx_and_jump, store_bit_field): Likewise.
10661         (extract_bit_field): Likewise.
10662         * fold-const.c (add_double): Add cast to eliminate signedness warning.
10663         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
10664         (get_best_mode): Alignment arg is unsigned.
10665         * rtl.h (move_by_pieces): Likewise.
10666         * store-layout.c (maximum_field_alignment, set_alignment):
10667         Now unsigned.
10668         (layout_decl): Alignment arg is now unsigned.
10669         Remove unneeded casts.
10670         (layout_record, layout_union, layout_type): Remove unneeded casts.
10671         Local alignment variables now unsigned.
10672         (get_best_mode): Alignment arg now unsigned.
10673         * tree.c (expr_align): New function.
10674         * tree.h (expr_align): Likewise.
10675         (maximum_field_alignment, set_alignment): Now unsigned.
10676         (get_inner_reference): Alignment argument is now pointer to unsigned.
10677         * varasm.c (assemble_variable): Add cast to eliminate warning.
10678
10679 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
10680
10681         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
10682         then store directly into op0.
10683
10684         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
10685         the CALL_INSN, and emit the note immediately after it.
10686
10687 2000-02-10  Nick Clifton  <nickc@cygnus.com>
10688
10689         * config/arm/thumb.md (epilogue): Include a (return) in the
10690         generated insn, and emit it using emit_jump_insn not
10691         emit_insn.
10692
10693 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
10694
10695         * function.c (assign_temp): Change zero-sized arrays to size 1.
10696         * integrate.c (expand_inline_function): Do not update
10697         stack_alignment_needed
10698         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
10699         add some sanity checking, remove optimization for function with
10700         zero frame size.
10701
10702 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10703
10704         * flow.c (mark_regs_live_at_end): Delete unused variables.
10705
10706         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
10707
10708         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
10709         in macro FRAME_GROWS_DOWNWARD.
10710
10711         * stmt.c (expand_end_bindings): Delete unused variable.
10712
10713         * unroll.c (iteration_info): Mark parameter `loop' with
10714         ATTRIBUTE_UNUSED.
10715
10716 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10717
10718         * fixinc/server.c (load_data): Return NULL if the marker line is
10719         not found.
10720         (run_shell): If load_data returns NULL, retry the command once, in
10721         a new shell.
10722
10723         * configure: Rebuilt.
10724
10725 2000-02-09  Bruce Korb  <bkorb@gnu.org>
10726
10727         * gcc/fixincludes:  ** DELETED **
10728         * gcc/fixcpp:  ** DELETED **
10729         * gcc/fixinc-nt.sed:  ** DELETED **
10730         * gcc/just-fixinc:  ** DELETED **
10731         * gcc/Makefile.in:  Removed out-dated commentary
10732         * gcc/configure.in: Removed fast-fixincludes disablement.
10733         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
10734
10735 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10736         * function.c (thread_prologue_and_epilogue_insns): Uncomment
10737         last change.
10738
10739 2000-02-09  Richard Henderson  <rth@cygnus.com>
10740
10741         * jump.c (delete_insn): Don't delete user labels at -O0.
10742
10743 2000-02-09  Robert Lipe  <robertl@sco.com>
10744
10745         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
10746         Don't link with HOST_LIBS.
10747
10748 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10749
10750         * configure.in: Correct --help text for --with-dwarf2.
10751         Put tm-dwarf2.h after other tm files, if it's requested.
10752         * configure: Regenerate.
10753         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
10754         defining it.
10755
10756 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10757
10758         * cpplib.h: Provide HASHNODE typedef and forward decl of
10759         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
10760         DEFINITION, struct hashnode, struct macrodef, struct
10761         definition, scan_decls prototype, default defn of
10762         INCLUDE_LEN_FUDGE moved elsewhere.
10763
10764         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
10765         definition, and struct hashnode moved here. Remove the unused
10766         'predefined' field from struct definition.  Replace the 'args'
10767         union with its sole member.  All users updated (cpphash.c).
10768         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
10769         multiple include guard.
10770
10771         * cpphash.c (hashf): Make static; use better algorithm; drop
10772         HASHSIZE parameter; return an unsigned int.
10773         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
10774         used. Calculate HASHSIZE modulus here.
10775         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
10776         here.
10777         (create_definition): Drop PREDEFINITION parameter.
10778         * cpplib.c (do_define): Don't calculate a hash value here.
10779         Don't pass (keyword == NULL) to create_definition.
10780
10781         * scan.h: Prototype scan_decls here.
10782         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
10783         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
10784         callers of cpp_lookup and cpp_install updated.
10785
10786         * cpphash.c (macarg): Hoist all the flag diddling out of the
10787         function...
10788         (macroexpand): ... and out of the loop that calls macarg.
10789         Skip over the initial paren before macro arguments with
10790         cpp_get_non_space_token; point may be some distance before
10791         that paren.  Abort if it's not there.
10792
10793         * cpplib.c (parse_clear_mark): Delete function.
10794         (parse_set_mark, parse_goto_mark): Make static.
10795         (ACTIVE_MARK_P): New macro.
10796         (skip_block_comment, skip_line_comment): Do not bump the line
10797         if ACTIVE_MARK_P is true.
10798         (cpp_pop_buffer): The buffer to be popped may not have an
10799         active mark.
10800         (cpp_get_token): When looking for the initial paren before
10801         macro arguments, only set a mark in a file buffer, Always
10802         return to that mark before proceeding to call macroexpand or
10803         return a NAME token.
10804
10805         * cpplib.h: Remove prototypes of parse_set_mark,
10806         parse_clear_mark, parse_goto_mark.
10807         (struct cpp_options): Rename 'put_out_comments' to
10808         'discard_comments' and invert its sense.
10809         * cppinit.c, cpphash.c, cpplib.c: All users of
10810         put_out_comments changed to use discard_comments, with
10811         opposite sense.
10812
10813 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10814
10815         * function.c (thread_prologue_and_epilogue_insns): Don't delete
10816         the edge from a block that both jumps and falls through to the
10817         fallthru block.
10818
10819 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
10820
10821         * config/arm/arm.md (movsi): In PIC mode, make sure that a
10822         constant source address is legitimate.
10823
10824 2000-02-09  Philip Blundell  <pb@futuretv.com>
10825
10826         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
10827         correctly.
10828
10829         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
10830         generating PIC.
10831         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
10832
10833 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10834
10835         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
10836         ends with a newline and a NUL.  Don't be so clever manipulating
10837         strings.
10838
10839 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
10840
10841         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
10842         not to BIGGEST_ALIGNMENT.
10843
10844 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
10845
10846         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
10847         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
10848         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
10849         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
10850         * frame.c (execute_cfa_insn): Handle
10851         DW_CFA_GNU_negative_offset_extended.
10852
10853 2000-02-08  Richard Henderson  <rth@cygnus.com>
10854
10855         * flow.c (tidy_fallthru_edges): Split out from ...
10856         (delete_unreachable_blocks): ... here.
10857         (find_basic_blocks): Use it.
10858
10859 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10860
10861         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
10862
10863 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
10864
10865         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
10866         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
10867         (fix-header.o): Don't depend on cpphash.h.
10868
10869         * scan.c (hashstr): New function.
10870         * scan.h: Prototype it.
10871         * fix-header.c: Don't include cpphash.h.  Use hashstr.
10872         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
10873         hashstr.  Report hash table statistics.  Add private
10874         definition of xrealloc.
10875
10876 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10877
10878         * i386.h (TARGET_SWITCHES): Fix typo in option name.
10879
10880 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
10881
10882         * function.c (thread_prologue_and_epilogue_insns): Don't replace
10883         jumps with returns unless they are jumps to the fallthru block.
10884
10885 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
10886
10887         * i386.md (addqi3_cc): Fix contraints.
10888
10889 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10890
10891         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
10892
10893 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
10894
10895         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
10896         carriage return after a macro name.
10897
10898 2000-02-07  Fred Fish  <fnf@be.com>
10899
10900         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
10901         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
10902
10903 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
10904
10905         * cppfiles.c (deps_output): Count spacers in deps_column.
10906
10907 2000-02-07  Neil Booth  <NeilB@earthling.net>
10908
10909         * cppinit.c (initialize_dependency_output): If there is no
10910         suffix, don't try to look for known suffixes.  Use strrchr.
10911         (cpp_start_read): Remove duplicate initialization.
10912
10913 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
10914
10915         * calls.c (compute_argument_block_size): New argument
10916         preferred_stack_boundary.
10917         (expand_call): update cfun->preferred_stack_boundary, update call of
10918         compute_argument_block_size
10919         (emit_library_call): Increate cfun->preferred_stack_boundary
10920         to PREFERRED_STACK_BOUNDARY
10921         (emit_library_call_value): Likewise.
10922         * explow.c (allocate_dynamic_stack_spave): Likewise.
10923         * function.c (prepare_function_start): Set
10924         cfun->preferred_stack_boundary
10925         * function.h (struct function): Add preferred_stack_boundary field.
10926         * integrate.c (expand_inline_function): Update
10927         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
10928         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
10929         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
10930
10931 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
10932
10933         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
10934         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
10935         cpp_pedwarn, cpp_pedwarn_with_line,
10936         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
10937         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
10938         v_cpp_error_with_line, v_cpp_warning_with_line,
10939         cpp_message_from_errno, cpp_perror_with_name): Delete.
10940
10941         * cpperror.c (cpp_print_containing_files): Take starting
10942         buffer as argument.
10943         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
10944         (v_cpp_message): Now called directly by all entry points.
10945         Remove -1 case.
10946         (cpp_pfatal_with_name, cpp_message): Delete.
10947         (cpp_notice_from_errno, cpp_ice): New functions.
10948         (cpp_notice): Is now for reporting error conditions, just
10949         without an associated file.
10950         (cpp_error, cpp_error_with_line): Don't do anything if
10951         opts->inhibit_errors is on.
10952         (cpp_pedwarn_with_file_and_line): Take column argument also.
10953
10954         * cpplib.h: Update prototypes of exported functions.
10955         (struct cpp_options): Add inhibit_errors.
10956
10957         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
10958         non-error messages.  Include intl.h.
10959
10960         * cppinit.c, cppmain.c: Likewise.  Also, use
10961         cpp_notice_from_errno instead of cpp_perror_with_name or
10962         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
10963
10964         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
10965         report internal errors.
10966
10967         * cpplib.c (do_define): Switch bcopy to memcpy.
10968         Give cpp_pedwarn_with_file_and_line a dummy column argument.
10969
10970         * cpplib.c (copy_rest_of_line): Revert previous change: don't
10971         bail out early if we hit a line comment.
10972
10973 2000-02-06  Richard Henderson  <rth@cygnus.com>
10974
10975         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
10976         * basic-block.h: Declare them.
10977         * emit-rtl.h (active_insn_p): New.
10978         (next_active_insn, prev_active_insn): Use it.
10979         * rtl.h: Declare it.
10980         * function.c (emit_return_into_block): New.
10981         (thread_prologue_and_epilogue_insns): Insert return insns instead
10982         of epilogues when possible.
10983         * jump.c (jump_optimize_1): Remove code to insert a return insn
10984         on the fallthru to the exit block.
10985
10986         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
10987         and for non-empty stack frames.
10988         * i386.md (return): Expand to return-pop as needed.
10989
10990 2000-02-06  Richard Henderson  <rth@cygnus.com>
10991
10992         * simplify-rtx.c (simplify_relational_operation): Canonicalize
10993         constant to op1 for testing.
10994
10995 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10996
10997         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
10998         (fixuns_truncqfqi2): Use it.
10999
11000 2000-02-06  Richard Henderson  <rth@cygnus.com>
11001
11002         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
11003         as a TYPE_LEA insn.
11004
11005         * i386.md (widening and peepholes): Mask the constant instead of
11006         using gen_lowpart.
11007
11008 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
11009
11010         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
11011         input pointer before possibly branching off to the backslash
11012         code.
11013         * cpphash.c (macroexpand): Correctly delete \r escapes when
11014         stringifying parameters.
11015         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
11016         if we can; bail out early if we hit a line comment.
11017         (handle_directive): Treat '# 123' in an .S file just like
11018         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
11019         Return 1 for '# not_a_directive'.
11020         (get_directive_token): Pop macro buffers here, so that
11021         cpp_get_token can't sneakily move past a newline.
11022         Add sanity checks.
11023         (cpp_get_token): goto randomchar if handle_directive returns 0.
11024
11025         * cppalloc.c: Update copyright.
11026         * cpplib.c: Merge all the static function prototypes into one
11027         block.
11028         * cpplib.h: Remove #if 0 block.
11029
11030         * cpperror.c: Remove #ifdef EMACS block.
11031         * cppmain.c: Likewise.
11032         * cpphash.c: Remove #if 0 blocks.
11033         * cppinit.c: Remove #if 0 blocks, and the -lint option.
11034         * cpplib.c: Remove #if 0 blocks and code referencing
11035         pcp_inside_if or for_lint.  Remove duplicate error message.
11036         Fix error messages for #else after #else or #elif.  Reformat.
11037         Remove archaic TODO list.
11038         * cpplib.h: Remove pcp_inside_if and for_lint flags.
11039
11040 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
11041
11042         * i386/osf1elf.h: Add missing backslash to multiline string.
11043
11044 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11045
11046         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
11047
11048 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11049
11050         * Makefile.in (c-common.o): Depend on $(EXPR_H).
11051
11052         * c-common.c: Include expr.h.
11053
11054         * c-pragma.c (mark_align_stack): Add prototype.
11055
11056         * caller-save.c (add_stored_regs): Likewise.
11057
11058         * combine.c (record_promoted_value): Likewise.
11059
11060         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
11061         Likewise.
11062
11063         * cppinit.c (new_pending_define): Likewise.
11064
11065         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
11066
11067         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
11068         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
11069         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
11070         class_scope_p): Likewise.
11071
11072         * dwarf2out.h (dwarf2out_set_demangle_name_func,
11073         dwarf2out_add_library_unit_info): Likewise.
11074
11075         * ggc.h (ggc_page_print_statistics): Likewise.
11076
11077         * haifa-sched.c (propagate_deps): Likewise.
11078
11079         * reg-stack.c (next_flags_user, record_label_references): Likewise.
11080
11081         * rtl.h (set_stack_check_libfunc): Likewise.
11082
11083         * toplev.h (set_fatal_function): Likewise.
11084
11085         * toplev.c (set_fatal_function): Delete prototype.
11086
11087         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
11088
11089 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
11090
11091         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
11092         (FUNC_END): Likewise.
11093
11094 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11095
11096         * caller-save.c: Include tm_p.h.
11097
11098 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11099
11100         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
11101
11102 2000-02-04  Neil Booth  <NeilB@earthling.net>
11103
11104         * cccp.c (main): Check 'dir' for a NULL pointer before passing
11105         it to strcmp.
11106
11107 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
11108
11109         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
11110         * genflags.c: Use the max_operand_1 logic from genemit.c to
11111         calculate how many arguments gen_insn prototypes have.  Remove
11112         NO_MD_PROTOTYPES ifdefs from the generated file.
11113         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
11114         file.  Cast gen_insn initializers to insn_gen_fn.
11115         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
11116         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
11117
11118 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11119
11120         * fixinc/Makefile.in (HDR): Add machname.h.
11121         (clean): Likewise.
11122
11123 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11124
11125         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
11126         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
11127         (c4x_cpu_version): Ditto.
11128         * config/c4x/c4x-protos.h: ... here.
11129
11130 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
11131
11132         * dwarf2out.c (add_abstract_origin_attribute): Don't call
11133         gen_abstract_function on our context if we're a nested function.
11134
11135 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11136
11137         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
11138         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
11139
11140 2000-02-04  Bruce Korb  <bkorb@gnu.org>
11141
11142         * fixinc/genfixes(machname.h):
11143         Move the functionality from gen-machine.h into this file.
11144         UNdef MN_NAME_PAT if there are no names to change.
11145         Also, be a little kinder when AutoGen is not present.
11146
11147         * fixinc/Makefile.in(machname.h):
11148         Change the generation rule to use genfixes.
11149
11150         * fixinc/fixfixes.c(machine_name):
11151         machine_name_fix's functionality now dependent upon whether
11152         MN_NAME_PAT is defined.
11153
11154         * fixinc/fixtests.c(machine_name):
11155         ditto.
11156
11157         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
11158         of MN_NAME_PAT.
11159
11160         * fixinc/fixlib.h(mn_get_regexps):
11161         ditto
11162
11163         * fixinc/gen-machine.h: DELETED
11164
11165 2000-02-04  Jan Hubicka  <jh@suse.cz>
11166             Richard Henderson  <rth@cygnus.com>
11167
11168         * i386.c (SAVE_REGS_FIRST): Remove.
11169         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
11170         (ix86_compute_frame_size): Likewise.
11171         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
11172         (ix86_emit_restore_regs): Remove.
11173         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
11174         when a frame pointer is in use.
11175         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
11176         instead of pop to restore a register when profitable; emit leave
11177         when profitable.
11178         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
11179         as a TYPE_LEA insn.
11180         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
11181         * i386.md (prologue_allocate_stack): Remove.
11182         (epilogue_deallocate_stack): Remove.
11183         (pro_epilogue_adjust_stack): New.
11184
11185 2000-02-04  Richard Henderson  <rth@cygnus.com>
11186
11187         * function.c (diddle_return_value): Rework to use a callback function.
11188         Use current_function_return_rtx if it's been set up.
11189         (do_clobber_return_reg, clobber_return_register): New.
11190         (do_use_return_reg, use_return_register): New.
11191         (expand_function_end): Use them.
11192         * stmt.c (expand_null_return): Likewise.
11193         * function.h: Declare them.
11194         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
11195         (mark_reg): Change arguments as appropriate for callback.
11196         * integrate.c (expand_inline_function): Revert 19 Jan change.
11197
11198 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11199
11200         * tm.texi (Values in Registers): Fix typo: "fo" "for".
11201         (Misc): Say the scheduler, not the Haifa scheduler.
11202
11203 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
11204
11205         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
11206         when in_mem is set.  Update all callers.
11207
11208 2000-02-04  Richard Henderson  <rth@cygnus.com>
11209
11210         * i386/openbsd.h (INT_ASM_OP): Define.
11211
11212 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11213
11214         * tm.texi: Fix various typos.
11215
11216 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
11217
11218         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
11219         (MD_STARTFILE_PREFIX_1): New macro.
11220
11221 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
11222
11223         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
11224         destination when needed.
11225         (strmovsi, strsetsi): New expander.
11226         (strmovsi_1, strsetsi_1): New pattern.
11227         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
11228         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
11229         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
11230         * invoke.texi (align-stringops, inline-all-stringops): Document.
11231
11232 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
11233
11234         * i386/netbsd.h (INT_ASM_OP): Define.
11235
11236 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
11237
11238         * cpplib.h (cpp_reader): Add new flag, no_directives.
11239         * cpphash.c (macarg): Set it.
11240         * cpplib.c (handle_directive): If no_directives is on and we
11241         find a directive, issue an error and discard the line.
11242
11243 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
11244
11245         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
11246         FP constants.  Add ! TARGET_FPU check for FP constants.
11247
11248 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
11249
11250         * flow.c (find_basic_blocks): Don't kill label_value_list
11251         here.
11252         (cleanup_cfg): Kill it here.
11253
11254 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11255
11256         * expr.c (store_field): Ensure ALIGN is no stricter than the
11257         alignment of EXP.
11258
11259 2000-02-02  Richard Henderson  <rth@cygnus.com>
11260
11261         * jump.c (delete_insn): Partially revert 19 Jan change;
11262         don't convert unused code labels to notes at -O0.
11263
11264 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11265
11266         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
11267         split_all_insns to recreate REG_LABEL notes for flow2 pass.
11268
11269 2000-02-01  Richard Henderson  <rth@cygnus.com>
11270
11271         * i386.c (general_no_elim_operand): New.
11272         (nonmemory_no_elim_operand): New.
11273         (ix86_expand_move): Copy eliminable operands before a push.
11274         * i386-protos.h: Declare new functions.
11275         * i386.h (CAN_ELIMINATE): Simplify.
11276         (PREDICATE_CODES): Update.
11277         * i386.md (push insns): Don't allow eliminable register operands.
11278
11279 2000-02-01  Richard Henderson  <rth@cygnus.com>
11280
11281         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
11282         replace BLKmode with DECL_RTL's mode.
11283
11284 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
11285
11286         * frame.c (find_fde): Convert for loop to do-while so compiler
11287         sees it's always executed at least once.
11288         * libgcc2.c (BBINBUFSIZE): Kill.
11289         (__bb_init_prg): Use fgets.
11290         (__bb_exit_trace_func): Don't paste strings.
11291         * unroll.c (unroll_loop): Initialize unroll_type, not
11292         unroll_number, and tweak logic to match.
11293
11294         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
11295         all failure paths.
11296         (ix86_flags_dependant): Likewise.  Disentangle control flow.
11297         (ix86_sched_reorder): Break guts out to
11298         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
11299         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
11300         any possible use.
11301
11302         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
11303         use string concatenation.  Don't save and restore esi.
11304
11305         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
11306         (machname.h): Remove script to separate file.  Use two-step
11307         sequence so target is not created if script fails.
11308         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
11309         identifiers are defined.
11310         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
11311         an empty string, machine_name doesn't need to do anything at
11312         all.
11313         (is_cxx_header): Add more cases to regexp.
11314         * fixinc/fixlib.h: Update prototype.
11315         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
11316         mn_get_regexps.
11317         * fixinc/fixincl.c: Define NO_BOGOSITY.
11318
11319         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
11320         (hp_sysfile): Add missing comma.
11321         (math_exception): Put the wrapper ifdefs at the beginning and
11322         the end of the file.
11323         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
11324
11325 2000-02-01  Richard Henderson  <rth@cygnus.com>
11326
11327         * sparc.c (fp_zero_operand): Turn into a normal predicate.
11328         Use CONST0_RTX.  Update all callers.
11329         * sparc.h, sparc-protos.h: Update accordingly.
11330         * sparc.md (fp mov insns): Use fp_zero_operand directly
11331         where applicable.
11332
11333 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11334
11335         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
11336         example.
11337
11338 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11339
11340         * Makefile.in (specs.ready): New target.
11341         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
11342
11343 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11344
11345         * fixinc.irix: Use unique filenames for writing into /tmp,
11346         * fixinc.ptx: Likewise.
11347         * fixinc.sco: Likewise.
11348         * fixinc.svr4: Likewise.
11349         * fixinc.winnt: Likewise.
11350
11351 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11352
11353         * tsystem.h: New file.
11354
11355         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
11356         s-crtS): Depend on tsystem.h.
11357
11358         * crtstuff.c: Include tsystem.h.
11359         * frame.c: Likewise.
11360         * libgcc2.c: Likewise.
11361
11362 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
11363
11364         * builtins.c (expand_builtin_memset): Expand for variable sized
11365         lengths too.
11366
11367 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
11368
11369         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
11370         on ABI.
11371
11372 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11373
11374         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
11375
11376         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
11377
11378 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
11379
11380         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
11381         case 3->2 combining (combining with splitting) in which 2 is CC0
11382         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
11383         checked at the begining of the function with the aid of calling
11384         function 'can_combine_p'.
11385
11386 2000-01-31  Dave Brolley  <brolley@redhat.com>
11387
11388         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
11389
11390 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
11391
11392         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
11393         new label.
11394
11395 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11396
11397         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
11398
11399         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
11400         PROTO -> PARAMS.
11401
11402 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
11403
11404         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
11405         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
11406         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
11407         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
11408         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
11409         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
11410         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
11411         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
11412         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
11413         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
11414
11415         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
11416         Add %(cpp_cpu) to CPP_SPEC.
11417
11418         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
11419         Add %(cc1_cpu) to CC1_SPEC.
11420
11421 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
11422
11423         * c-decl.c (c_decode_option): Accept optional numeric argument to
11424         -Wformat and set warn_format.
11425         * c-common.c: Don't emit warning about non-constant printf format
11426         string unless warn_format > 1.
11427
11428 2000-01-30  Richard Henderson  <rth@cygnus.com>
11429
11430         * alpha.md (return_internal): Allow after reload only.
11431
11432 2000-01-30  Richard Henderson  <rth@cygnus.com>
11433
11434         * i386.c (ix86_compute_frame_size): Omit padding1 if the
11435         local frame size is zero.
11436
11437 2000-01-30  Richard Henderson  <rth@cygnus.com>
11438
11439         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
11440         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
11441         * alpha.md (return): Turn into an expander.
11442         (return_internal): Don't use $26.
11443         (epilogue): Emit the return insn.
11444
11445 2000-01-30  Richard Henderson  <rth@cygnus.com>
11446
11447         * alpha.md (negtf2, abstf2): Fix word order thinko.
11448         (extendsftf2): New.
11449         (trunctfsf2): Avoid intermediate rounding errors.
11450
11451 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
11452
11453         * cppfiles.c (find_position): Drop 'colp' argument, return the
11454         new line base.
11455         (read_and_prescan): Adjust to match.  Don't ever manipulate
11456         line or line_base except via find_position.
11457
11458 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
11459
11460         * c-parse.in: Apply Ulrich's changes from c-parse.y.
11461         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
11462         Regenerate.
11463
11464 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
11465
11466         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
11467         just print "<command line>".  If 'filename' is null or an
11468         empty string, print "<stdin>" for the filename.
11469         * cpplib.c (do_define): Don't print the 'location of the
11470         previous definition' message if we're still parsing the
11471         command line.
11472         (cpp_pedwarn_with_file_and_line): Always call
11473         cpp_file_line_for_message.
11474
11475 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
11476
11477         * flow.c (mark_regs_live_at_end): Fix typo.
11478
11479 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
11480
11481         * c-common.c: Adjust variable names, comments, help strings to c99.
11482         * c-lex.c: Likewise.
11483         * c-parse.y: Likewise.
11484         * c-tree.h: Likewise.
11485         * cccp.c: Likewise.
11486         * cpplib.h: Likewise.
11487         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
11488         * cppinit.c: Likewise.
11489
11490 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11491
11492         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
11493         * c4x.c: Define the optab rtx values.
11494         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
11495         (c4x_emit_libcall): Use new optab rtx values.
11496         (c4x_emit_libcall3): Likewise.
11497         (c4x_emit_libcall_mulhi): Likewise.
11498         * c4x-protos.h: Add prototypes for optab rtx values and change
11499         prototypes for above c4x_emit_libcall functions.
11500
11501 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11502
11503         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
11504         syntax is used.
11505         (c4x_function_prologue): Use regnames intead of float_reg_names when
11506         TI syntax is used.
11507         (c4x_function_epilogue): Likewise.
11508         (c4x_print_operand): Likewise.
11509         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
11510         * c4x.md (set_high): Disable for TARGET_TI.
11511
11512 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11513
11514         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
11515         of framepointer + constant to ADDR_REGS class.
11516         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
11517         * c4x.c (std_or_reg_operand): New function.
11518         * c4x-protos.h (std_or_reg_operand): Prototype it.
11519
11520 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11521
11522         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
11523                 object names as libgcc2.c.
11524         * libgcc.S: Use newly defined names.
11525
11526 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
11527         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
11528         function.
11529         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
11530         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
11531         (FLOW_LOOP_LAST_BLOCK): Likewise.
11532
11533 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11534
11535         * basic-block.h (struct loop): New fields 'first' and 'last'.
11536         * flow.c (flow_loops_find): Compute loop->first and loop->last.
11537         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
11538         and loop->last to check for NOTE_INSN_LOOP_END.
11539
11540 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
11541
11542         * predict.c (estimate_probability): Use the new FIRST and LAST fields
11543         of the loop descriptor rather than HEADER and LATCH. Also added
11544         missing break statements as well making some coding style modifications
11545         as suggested by Michael Hayes.
11546
11547 2000-01-28  Richard Henderson  <rth@cygnus.com>
11548
11549         * flow.c (find_basic_blocks): Remove do_cleanup argument.
11550         Break out that code ...
11551         (cleanup_cfg): ... here.
11552         (commit_one_edge_insertion): Detect a return instruction being
11553         emitted to an edge.  Emit a barrier following; clear fallthru.
11554         (commit_edge_insertions): Verify CFG consistency.
11555         * function.c (expand_function_start): Kill unused variable.
11556         (expand_function_end): Likewise.
11557         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
11558         to insert the epilogue.
11559
11560         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
11561         (delete_null_pointer_checks): Likewise.
11562         * output.h: Likewise.
11563         * reg-stack.c (reg_to_stack): Likewise.
11564         * toplev.c (rest_of_compilation): Likewise.  Run
11565         thread_prologue_and_epilogue_insns after rebuilding the CFG.
11566
11567 2000-01-28  Richard Henderson  <rth@cygnus.com>
11568
11569         * Makefile.in (flow.o): Revert 24 Jan change.
11570         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
11571         FUNCTION_VALUE result to DECL_RESULT's mode.
11572
11573         * haifa-sched.c (schedule_insns): Don't recompute reg info
11574         after reload.
11575
11576 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
11577
11578         * configure.in: Make --enable-cpplib the default.
11579         * configure: Regenerate.
11580         * gcc.dg/990119-1.c: No longer expected to fail.
11581
11582 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
11583
11584         * jump.c (jump_optimize_1): Delete an optimization that is also done
11585         by merge_blocks in flow.
11586
11587 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11588
11589         * diagnostic.c (build_message_string, output_printf,
11590         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
11591         (build_location_prefix): Fix non-literal format string.
11592
11593 2000-01-27  Richard Henderson  <rth@cygnus.com>
11594
11595         * alpha.md (trunctfsf2): New.
11596
11597 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
11598
11599         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
11600
11601 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
11602
11603         * cppinit.c (cpp_handle_option): Recognize C++ comments under
11604         -std=gnu89.
11605         * cpplib.c (skip_block_comment, skip_line_comment): Split code
11606         out of...
11607         (skip_comment) ... here.  Permit C++ comments in system
11608         headers always.  Warn about C++ comments in user code under
11609         -std=gnu89 -pedantic.
11610         (copy_comment): Use skip_comment.
11611         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
11612         return EOF.
11613         (consider_directive_while_skipping, do_else, do_endif): Call
11614         validate_else unconditionally.
11615         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
11616         text after the conditional in a system header.
11617         * cpplib.h (struct cpp_buffer): Add flag
11618         warned_cplusplus_comments.
11619
11620 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
11621
11622         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
11623         Use unshare_all_rtl_1.
11624         (unshare_all_rtl_again): New function.
11625         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
11626
11627         * function.c (purge_addressof_1): Use unshare_all_rtl_again
11628         rather than resetting the 'used' flags ourself.
11629
11630         * toplev.c (rest_of_compilation): Add current_function_decl
11631         to the unshare_all_rtl call.
11632         * tree.h: Prototype unshare_all_rtl.
11633         * rtl.h: Prototype unshare_all_rtl_again here.
11634
11635 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
11636
11637         * genoutput.c (output_prologue): Include ggc.h in generated
11638         files.
11639         * Makefile.in (insn-output.o): Depends on ggc.h.
11640
11641 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
11642             Hans-Peter Nilsson  <hp@bitrange.com>
11643
11644         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
11645         Remove redundant include of xm-ns32k.h.
11646         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
11647         Remove redundant include of xm-ns32k.h.
11648         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
11649         Remove redundant include of xm-ns32k.h.
11650         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
11651
11652         * ns32k/ns32k.h: Update comment on multiply-add instructions.
11653         (TARGET_SWITCHES): Add documentation strings.
11654         (DWARF_FRAME_REGNUM): Override default definition.
11655         (REG_CLASS_CONTENTS): Add comments.
11656         (SUBSET_P): Format to reduce line length.
11657         (SMALL_REGISTER_CLASSES): Make a run time option.
11658         (GO_IF_NONINDEXED_ADDRESS): Reformat.
11659         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
11660         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
11661         (regclass_map): fix typo in comment.
11662         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
11663         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
11664         (trace, reg_or_mem_operand): Delete, unused function.
11665         (calc_address_cost): Small offsets are cheaper than large ones.
11666         (expand_block_move): Generate more efficient code when bytes is a
11667         known at compile time.
11668         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
11669         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
11670         instead of reg_or_mem_operand.
11671
11672         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
11673         not general_operand.  Similarly use "=rm" or stricter, not "=g".
11674         For input operands, use stricter constraints than "g" if not
11675         general_operand.  Similarly use stricter predicate than
11676         "general_operand" when stricter constraints than "g" are present,
11677         except for matching constraints.
11678         (movstrsi): Use "memory_operand" for operands 0 and 1.
11679         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
11680         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
11681         not reg_or_mem_operand.
11682         (udivmoddisi4): Ditto.
11683         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
11684         Use nonimmediate_operand for operand 3, not register_operand.
11685         (udivmoddiqi4_internal): Use register_operand for operand 1, not
11686         reg_or_mem_operand.
11687
11688 2000-01-27  Fred Fish  <fnf@be.com>
11689
11690         * gthr-posix.h: Fix typo; compatibily -> compatibility.
11691         * gthr-single.h: Likewise.
11692         * gthr-solaris.h: Likewise.
11693         * gthr-vxworks.h: Likewise.
11694         * gthr-win32.h: Likewise.
11695         * gthr.h: Likewise.
11696
11697 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
11698
11699         * cppinit.c: Add " (cpplib)" to end of string printed by
11700         -v / --version.
11701
11702 2000-01-27  Richard Henderson  <rth@cygnus.com>
11703
11704         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
11705         testing for a signed comparison.
11706         (alpha_emit_floatuns): New.
11707         * alpha-protos.h: Declare it.
11708         * alpha.md (floatunsdisf2, floatunsdidf2): New.
11709         (extendsfdf2): Tidy.
11710
11711 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
11712
11713         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
11714         no -g option specifying debugging format, default to -gstabs+.
11715
11716 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
11717
11718         * calls.c (special_function_p): New argument fork_or_exec.
11719         (expand_call): When profile_arc_flag is set and the function
11720         is in the fork_or_exec group, call __bb_fork_func first.
11721         * libgcc2.c, _bb module (__bb_fork_func): New function.
11722         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
11723         output file.
11724         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
11725         * tree.h (special_function_p): Update prototype.
11726
11727 2000-01-26  Richard Henderson  <rth@cygnus.com>
11728
11729         * alpha.c (alpha_split_tfmode_pair): New.
11730         * alpha-protos.h: Declare it.
11731         * alpha.md (abstf2, negtf2): New.
11732         (movtf insn): Add input G constraint.
11733         (movtf splitter): Use alpha_split_tfmode_pair.
11734
11735 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11736
11737         * i386/cygwin.h: PROTO -> PARAMS.
11738
11739 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
11740
11741         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
11742         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
11743         using _Qp_cmp/_Q_cmp and testing the return value.
11744         (print_operand): Call reverse_condition_maybe_unordered if
11745         we are handling CCFPmode or CCFPEmode.
11746         Handle ORDERED, UN* and LTGT comparisons.
11747         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
11748         if not TARGET_HARD_QUAD.
11749         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
11750         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
11751         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
11752         Adjust gen_b* calls so that they reflect return comparison of
11753         sparc_emit_float_lib_cmp.
11754
11755 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11756
11757         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
11758         incoming operands array is large enough for one more operand.
11759         (alpha_emit_xfloating_arith): Likewise.
11760
11761 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11762
11763         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
11764         file with one line and no trailing newline.
11765         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
11766         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
11767         checking if the match is on the line.
11768         * fixinc/gnu-regex.c: Provide regerror not __regerror.
11769
11770 2000-01-25  Richard Henderson  <rth@cygnus.com>
11771
11772         * sparc.c (output_cbranch): Fix accidental squashing of the
11773         fp branch pre-delay nop.
11774
11775 2000-01-25  Richard Henderson  <rth@cygnus.com>
11776
11777         * tree.def (UNNE_EXPR): Remove.
11778         * c-typeck.c (build_binary_op): Don't handle it.
11779         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
11780
11781         * rtl.def (UNNE): Remove.
11782         (LTGT): Add.
11783         * jump.c (reverse_condition): Update accordingly.
11784         (swap_condition): Likewise.
11785         (comparison_dominates_p): Handle unordered comparisons.
11786         (reverse_condition_maybe_unordered): New.
11787         * rtl.h (reverse_condition_maybe_unordered): Declare.
11788
11789         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
11790         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
11791         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
11792         * sparc.md (bltgt): New.
11793
11794 2000-01-25  Nick Clifton  <nickc@redhat.com>
11795
11796         * emit-rtl.c (emit_insn): Only check machine class insns for
11797         improper emission of a RETURN.
11798
11799 2000-01-25  Richard Henderson  <rth@cygnus.com>
11800
11801         * Makefile.in (flow.o): Depend on $(EXPR_H).
11802         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
11803         duplicate the structure of diddle_return_value for keeping regs live.
11804
11805 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11806
11807         * loop.c (current_loop_info): Delete.
11808         (consec_sets_invariant_p): Add loop argument, update callers.
11809         (get_condition_for_loop): Likewise.
11810         (count_nonfixed_reads, update_giv_derive): Likewise.
11811         (simplify_giv_expr, general_induction_var): Likewise.
11812         (consec_sets_giv, recombine_givs): Likewise.
11813         (move_movables): Delete loop_start and loop_end arguments,
11814         add loop argument, and update callers.
11815         (find_mem_givs, check_final_value): Likewise.
11816         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
11817         (loop_invariant_p): Rename from invariant_p, add loop argument, and
11818         update callers.
11819         (basic_induction_var): Add loop argument, delete loop_level argument,
11820         and update callers.
11821         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
11822         add loop argument, and update callers.
11823         (find_splittable_regs, find_splittable_givs): Likewise.
11824         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
11825         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
11826         (biv_total_increment): Delete loop_start and loop_end arguments;
11827         update callers.
11828         (precondition_loop_p): Delete loop_start and loop_info arguments;
11829         update callers.
11830         * loop.h (get_condition_for_loop): Add loop argument.
11831         (biv_total_increment): Delete loop_start and loop_end arguments.
11832         (precondition_loop_p): Delete loop_start and loop_info arguments;
11833         add loop argument.
11834         (final_biv_value): Delete loop_start and loop_end arguments;
11835         add loop argument.
11836         (final_giv_value, back_branch_in_range_p): Likewise.
11837
11838 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
11839
11840         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
11841
11842 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
11843
11844         * Makefile.in (c-gperf.h) : Change the "See" pointer to
11845         point to the new "generated_files" doc.
11846
11847 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
11848
11849         * config/fp-bit.c (_unord_f2): Fix typo.
11850
11851 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11852
11853         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
11854         c-typeck.c, objc/objc-act.c: Remove all references to obstack
11855         functions obsoleted by GC, such as push_obstacks_nochange,
11856         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
11857         and code which existed only to decide whether or not to call
11858         them.  Remove now-unused NESTED argument from start_function;
11859         all callers changed.  Do not change behavior based on ggc_p.
11860         The use of the ixp_obstack in c-iterate.c and the util_obstack
11861         in objc/objc-act.c remain; these are not obsoleted by garbage
11862         collection.
11863         * c-tree.h: Update prototype for start_function.
11864
11865         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
11866
11867 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
11868
11869         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
11870         mips16.
11871
11872 2000-01-25  Richard Henderson  <rth@cygnus.com>
11873
11874         * sparc-protos.h (select_cc_mode): Declare.
11875         * sparc.c (select_cc_mode): New.  Handle unordered compares.
11876         (output_cbranch): Always reverse via code change.  Handle
11877         unordered compares.  Factor tests and string updates.
11878         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
11879         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
11880         * sparc.md (bunordered, bordered): New.
11881         (bungt, bunlt, buneq, bunge, bunle): New.
11882
11883 2000-01-25  Richard Henderson  <rth@cygnus.com>
11884
11885         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
11886         * ggc-common.c (ggc_add_rtx_varray_root): New.
11887         (ggc_mark_rtx_varray): New.
11888         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
11889         functions down below ggc_mark_foo.
11890         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
11891
11892 2000-01-25  Richard Henderson  <rth@cygnus.com>
11893
11894         * alpha.c (secondary_reload_class): Don't allocate a secondary
11895         for integral mode memories into FLOAT_REGS.  Rearrange the more
11896         complicated memory expression inward.
11897
11898 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11899
11900         * inclhack.def: Fixes to play nicer with FreeBSD, and
11901         corrections to comments.
11902         (cxx_unready): Add select expression.
11903         (irix_sockaddr): Add bypass expression.
11904         (machine_ansi_h_va_list): New fix.
11905         (stdio_va_list): No need to edit _BSD_VA_LIST_.
11906         Split out addition of "#include <stdarg.h>" to...
11907         (stdio_stdarg_h): ... here.
11908         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
11909         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
11910         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
11911         size_t.
11912         (ultrix_ifdef): Tighten up select expression.
11913
11914         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
11915         re_ct and max_mach to avoid use of shell.  Make printed names
11916         match names in inclhack.def.  Use static copyright date.
11917         Don't count c_test and test expressions as requiring regex_t
11918         slots.  Add some commentary.
11919         * inclhack.tpl: Do not include the 'This script contains N
11920         fixup scripts' line if PROGRAM is defined.  Use static
11921         copyright date.
11922
11923 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
11924
11925         * dwarf2out.c: include "varray.h", not dyn-string.h.
11926         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
11927         (addr_const_to_string, addr_to_string): Lose.
11928         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
11929         (struct dw_val_struct): val_addr is now an rtx.
11930         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
11931         (used_rtx_varray): New varray.
11932         (dwarf2out_init): Initialize it.
11933         (save_rtx): New fn.
11934         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
11935         addr_to_string.
11936         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
11937         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
11938         * Makefile.in (dwarf2out.o): Update dependencies.
11939
11940 2000-01-24  Richard Henderson  <rth@cygnus.com>
11941
11942         * i386.c (i386_dwarf_output_addr_const): New.
11943         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
11944
11945         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
11946         if defined.
11947         * dwarfout.c (output_mem_loc_descriptor): Likewise.
11948         * i386.c (i386_simplify_dwarf_addr): New.
11949         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
11950
11951 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
11952
11953         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
11954         TYPE_STUB_DECL is NULL.
11955
11956 2000-01-24  Richard Henderson  <rth@cygnus.com>
11957
11958         * builtins.c (expand_tree_builtin): Move ...
11959         * c-common.c (expand_tree_builtin): ... here.
11960
11961 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11962
11963         * loop.h (LOOP_INFO): New accessor macro.
11964         * basic-block.h (struct loop): Rename field `info' to `aux'.
11965         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
11966         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
11967         * unroll.c (loop_iterations, unroll_loop): Likewise.
11968
11969 2000-01-24  Christopher Faylor <cgf@cygnus.com>
11970
11971         * config/i386/t-cygwin: Accomodate new winsup directory layout
11972         when searching for include files.
11973
11974 2000-01-24  Richard Henderson  <rth@cygnus.com>
11975
11976         * rtl.def: Add unordered fp comparisions.
11977         * tree.def: Likewise.
11978         * tree.h: Add ISO C 9x unordered fp comparision builtins.
11979
11980         * builtins.c (expand_tree_builtin): New function.
11981         * c-typeck.c (build_function_call): Use it.
11982         (build_binary_op): Support unordered compares.
11983         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
11984
11985         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
11986         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
11987         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
11988         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
11989         * jump.c (reverse_condition): Don't abort for UNLE etc, but
11990         return UNKNOWN.
11991         (swap_condition): Handle unordered compares.
11992         (thread_jumps): Check can_reverse before reversing.
11993         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
11994         reversed for FP.
11995
11996         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
11997         setcc is present before acking for cmp_optab.  Update all callers.
11998         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
11999         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
12000         * expr.c (expand_expr): Likewise.  Support unordered compares.
12001         (do_jump, do_store_flag): Likewise.
12002         * expr.h (enum libfunc_index): Add unordered compares.
12003
12004         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
12005         (DPBIT_FUNCS): Add _unord_df.
12006         * config/fp-bit.c (_unord_f2): New.
12007         * fp-test.c (main): Try unordered compare builtins.
12008
12009         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
12010         * alpha.c (alpha_comparison_operator): Check mode properly.
12011         (alpha_swapped_comparison_operator): Likewise.
12012         (signed_comparison_operator): Likewise.
12013         (alpha_fp_comparison_operator): New.
12014         (alpha_emit_conditional_branch): Handle unordered compares.
12015         * alpha.h (PREDICATE_CODES): Update.
12016         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
12017         (bunordered, bordered): New.
12018
12019 2000-01-24  Richard Henderson  <rth@cygnus.com>
12020
12021         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
12022         * alpha.md (movtf): New expander, insn, and splitter.
12023
12024 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
12025
12026         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
12027         dead registers.
12028
12029 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
12030
12031         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
12032         (FIXED_REGISTERS, CALL_USED_REGISTERS,
12033          REG_ALLOC_ORDER): Add frame pointer
12034         (FRAME_POINTER_REGNUM): Set to 20
12035         (HARD_FRAME_POINTER_REGNUM): New macro.
12036         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
12037         to HARD_FRAME_POINTER.
12038         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
12039         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
12040         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
12041         (HI_REGISTER_NAMES): Add "frame".
12042         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
12043         (debug_reg): Handle FRAME_POINTER_REGNUM.
12044         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
12045         GENERAL_REGS and INDEX_REGS.
12046         * i386.c (SAVED_REGS_FIRST): new macro.
12047         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
12048         (ix86_decompose_address, memory_address_length): Likewise.
12049         (regclass_map): Add frame pointer.
12050         (call_insn_operand): Handle frame_pointer_rtx.
12051         (reg_no_sp_operand): Likewise.
12052         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
12053         (print_operand, legitimize_pic_address): Fix formating.
12054         (ix86_compute_frame_size): Make static, update prototype, new
12055         parameters padding1, padding2, use ix86_nsaved_regs, use
12056         stack_alignment_needed.
12057         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
12058         to HARD_FRAME_POINTER_REGNUM conversions.
12059         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
12060         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
12061         (print_reg): Abort on FRAME_POINTER_REGNUM
12062
12063 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
12064
12065         * i386.h (PREDICATE_CODES): Add aligned_operand.
12066         * i386.c (aligned_operand): New function.
12067         (ix86_aligned_p): Kill.
12068         * i386.md (movhi_1): Emit mov for aligned operands.
12069         (promoting peep2s): Use aligned_operand.
12070
12071 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
12072
12073         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
12074         expression to allow underscores in macro names.
12075         (fix_char_macro_defines): Increment scanning pointer.
12076
12077 2000-01-23  Richard Henderson  <rth@cygnus.com>
12078
12079         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
12080         * alpha/osf5.h: New file.
12081         * configure.in (alpha-*-osf5): Add it to tm_file.
12082
12083         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
12084
12085         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
12086         (alpha_emit_xfloating_cvt, function_arg): Declare.
12087         * alpha.c (alpha_emit_conditional_branch): Call
12088         alpha_emit_xfloating_compare for TFmode compares.
12089         (alpha_lookup_xfloating_lib_func): New.
12090         (alpha_compute_xfloating_mode_arg): New.
12091         (alpha_emit_xfloating_libcall): New.
12092         (alpha_emit_xfloating_arith): New.
12093         (alpha_emit_xfloating_compare): New.
12094         (alpha_emit_xfloating_cvt): New.
12095         (print_operand): Add default abort case.
12096         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
12097         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
12098         (BIGGEST_ALIGNMENT): Increase to 128 bits.
12099         (RETURN_IN_MEMORY): True for TF/TCmode.
12100         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
12101         (FUNCTION_ARG): Move to function_arg.
12102         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
12103         (ASM_OUTPUT_LONG_DOUBLE): New.
12104         (ASM_OUTPUT_DOUBLE): Always output bits.
12105         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
12106         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
12107         (extenddftf2, trunctfdf2): New.
12108
12109 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12110
12111         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
12112         * config/sparc/sol2.h: ... here.
12113
12114 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12115
12116         * basic-block.h (struct loops): New field `levels'.
12117         * flow.c (flow_loops_level_compute): Traverse all outer loops.
12118         (flow_loop_level_compute): Initialise level to 1.
12119         (flow_loops_find): Set loops->levels.
12120         (flow_loops_dump): Print loops->levels.
12121
12122 2000-01-23  Richard Henderson  <rth@cygnus.com>
12123
12124         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
12125         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
12126
12127 2000-01-23  Richard Henderson  <rth@cygnus.com>
12128
12129         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
12130         * i386.h (DBX_REGISTER_NUMBER): Use them.
12131         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
12132         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
12133         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
12134         * i386/sequent.h: Kill incorrect comment.
12135
12136 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
12137
12138         * ggc-page.c (struct page_entry): Make `context_depth' an
12139         `unsigned short'.
12140         (struct globals): Likewise.
12141
12142 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
12143
12144         * loop.c (check_dbra_loop): When checking a loop for
12145         reversability, check the source of any stores to ensure
12146         they don't depend on an initial value.
12147
12148 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12149
12150         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
12151
12152 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
12153
12154         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
12155         'pz_scan' into scope of entire function.  Only affects
12156         compiles with -DDEBUG.
12157
12158 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
12159
12160         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
12161         section naming to that prior to 2000-01-07 patch.
12162         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
12163         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
12164         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
12165         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
12166         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
12167
12168 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
12169
12170         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
12171         constant.
12172
12173 2000-01-21  Jim Wilson  <wilson@cygnus.com>
12174
12175         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
12176         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
12177
12178 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
12179
12180         * cpphash.c (change_newlines): Delete function.
12181         (struct argdata): Delete 'newlines' and 'use_count' fields.
12182         (macroexpand): Remove code referencing those fields.
12183
12184 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12185
12186         * loop.c (loops_info): New variable.
12187         (loop_optimize): Allocate loops->array and free it on exit.
12188         Allocate memory for loops_info and assign to each loop,
12189         replacing alloca.
12190         (find_and_verify_loops): Do not allocate loops->array.
12191
12192 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
12193
12194         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
12195
12196 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
12197
12198         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
12199         pseudos if expanded after first flow.
12200         (movdi_pic_label_ref): Likewise.
12201
12202 2000-01-20  Richard Henderson  <rth@cygnus.com>
12203
12204         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
12205
12206 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
12207
12208         * Makefile.in (fixinc.sh): Depend on specs.
12209         * fixinc/Makefile.in: Add rule to create machname.h.
12210         (fixlib.o): Depend on machname.h.
12211         * fixinc/fixtests.c (machine_name): New test.
12212         * fixinc/fixfixes.c (machine_name): New fix.
12213         * fixinc/fixlib.c (mn_get_regexps): New helper function for
12214         the machine_name test and fix.
12215         * fixinc/fixlib.h: Prototype it.
12216         * fixinc/inclhack.def (machine_name): Use the C test and fix.
12217         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
12218
12219         * gcc.c (do_spec_1) [case P]: Take care not to create
12220         identifiers with three leading or trailing underscores.
12221
12222         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
12223         (fixincl): Don't specify libraries twice on link line.
12224         (gnu-regex.o): Remove special rule.
12225         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
12226         defined by config.h.  Do not define _REGEX_RE_COMP.
12227         (regcomp): Allocate and initialize a fastmap.
12228         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
12229
12230 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
12231
12232         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
12233
12234 2000-01-19  Richard Henderson  <rth@cygnus.com>
12235
12236         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
12237         arguments with BB.  Update all callers.  Tidy line wrapping.
12238
12239 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
12240
12241         * emit-rtl.c (try_split): Return last_insn if we split the
12242         last_insn.
12243
12244 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
12245
12246         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
12247         (ix86_initial_elimination_offset): Declare.
12248         * i386.c (ix86_nsaved_regs): Break out from ...
12249         (ix86_can_use_return_insn_p): ... here.
12250         (ix86_emit_save_regs): Break out from ...
12251         (ix86_expand_prologue): ... here.
12252         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
12253         out from ...
12254         (ix86_expand_epilogue): ... here.
12255         (ix86_compute_frame_size): Make static, add prototype.
12256         (ix86_initial_elimination_offset): Break out from ...
12257         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
12258
12259 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12260
12261         * recog.h (OUT_FCN): Delete.
12262
12263         * vax.md: Call `get_insn_template' instead of OUT_FCN.
12264
12265 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12266
12267         * cppalloc.c: PROTO -> PARAMS.
12268         * cpperror.c: Likewise.
12269         * cppfiles.c: Likewise.
12270         * cpplib.c: Likewise.
12271         * cpplib.h: Likewise.
12272
12273         * config/arm/arm-protos.h: PROTO -> PARAMS.
12274         * config/arm/arm.c: Likewise.
12275         * config/c4x/c4x.c: Likewise.
12276         * config/fr30/fr30-protos.h: Likewise.
12277         * config/nextstep.c: Likewise.
12278         * config/pa/pa.c: Likewise.
12279         * config/pj/pj.c: Likewise.
12280         * config/rs6000/rs6000.c: Likewise.
12281         * config/v850/v850-protos.h: Likewise.
12282         * config/v850/v850.c: Likewise.
12283
12284 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12285
12286         * i370-protos.h: New file.
12287
12288         * i370.c: Include tm_p.h.  Fix compile time warnings.
12289
12290         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
12291         warnings.
12292
12293         * i370.md: Likewise.
12294
12295 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12296
12297         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
12298         (target_isinf, target_isnan, eisnan): Mark parameter with
12299         ATTRIBUTE_UNUSED.
12300         (eiisinf): Wrap in INFINITY.
12301         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
12302         (ibmtoe): Remove unused variable `rndsav'.
12303
12304 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12305
12306         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
12307         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
12308
12309 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
12310
12311         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
12312         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
12313         (fix_char_macro_defines, fix_char_macro_uses): New functions.
12314
12315         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
12316         Recognize Emacs mode markers also.
12317         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
12318         C++ comments in C++ headers.  Call is_cxx_header only if
12319         necessary.
12320
12321         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
12322         bypass for ncurses.
12323         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
12324         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
12325         ... these, which use the new C fixes.
12326         (math_exception): Escape literal '+' in bypass expression.
12327
12328         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
12329         Regenerate.
12330
12331 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
12332
12333         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
12334         inside the MEM.
12335
12336 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12337
12338         * loop.c (loop_optimize): Allocate loop_info structure for each loop
12339         prior to calling scan_loop.
12340
12341 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12342
12343         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
12344         (split_branches, calc_live_regs): Likewise.
12345
12346 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12347
12348         * sh.md (fpu_single, fp_mode): New attributes.
12349
12350 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12351
12352         * loop.c (current_loop_info): Renamed from loop_info_data
12353         and changed to a pointer.
12354         (loop_optimize): Allocate loop_info structure for each loop
12355         and initialise to zero.
12356         (scan_loop): Set current_loop_info.
12357
12358         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
12359         on iteration_var.
12360
12361 2000-01-19  Richard Henderson  <rth@cygnus.com>
12362
12363         * stupid.c: Die die die.
12364         * Makefile.in (OBJS): Remove stupid.o.
12365         (stupid.o): Likewise.
12366
12367         * except.c (emit_eh_context): Don't emit USEs for stupid.
12368         * explow.c (probe_stack_range): Likewise.
12369         * flags.h (obey_regdecls): Remove.
12370         * flow.c (find_basic_blocks): Don't run try_merge_blocks
12371         when not optimizing.
12372         (life_analysis): Limit data collection when not optimizing.
12373         (mark_regs_live_at_end): Always mark the return value registers.
12374         (mark_used_regs): Remove dummy RETURN case.
12375         (print_rtl_with_bb): Don't consult obey_regdecls.
12376         * function.c (use_variable, use_variable_after): Remove.
12377         (assign_parms): Consult optimize not obey_regdecls.
12378         (expand_function_start): Don't emit USEs for stupid.
12379         (expand_function_end): Likewise.
12380         * global.c (build_insn_chain): Export.
12381         * integrate.c (expand_inline_function): Kill return-value USE
12382         handling code.
12383         * jump.c (jump_optimize_1): Do simple jump optimizations and
12384         dead code elimination.
12385         (calculate_can_reach_end): Remove check_deleted argument.
12386         (delete_insn): Patch out insns even when not optimizing.
12387         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
12388         * rtl.h (use_variable, use_variable_after): Remove declarations.
12389         (build_insn_chain): Declare.
12390         * stmt.c (expand_value_return): Don't emit USEs for stupid.
12391         (expand_end_bindings): Likewise.
12392         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
12393         * toplev.c (obey_regdecls): Remove.
12394         (rest_of_compilation): Don't set it.  Kill stupid in favour of
12395         flow1, local-alloc, and reload.
12396         (main): Don't set obey_regdecls.
12397
12398         * config/nextstep.c (handle_pragma): Likewise.
12399
12400         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
12401
12402         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
12403
12404 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12405
12406         * alpha-protos.h: PROTO -> PARAMS.
12407         * alpha.c: Likewise.
12408         * elf.h: Likewise.
12409         * h8300.c: Likewise.
12410         * i386-protos.h: Likewise.
12411         * i386.c: Likewise.
12412         * m32r-protos.h: Likewise.
12413         * m32r.c: Likewise.
12414         * mips.c: Likewise.
12415         * mips.md: Likewise.
12416         * gmon-sol2.c: Likewise.
12417         * sparc.c: Likewise.
12418
12419 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12420
12421         * ns32k-protos.h: New file.
12422
12423         * ns32k.c: Fix compile time warnings.
12424
12425         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
12426         warnings.
12427
12428         * ns32k.md: Likewise.
12429
12430 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12431
12432         * vax-protos.h: New file.
12433
12434         * vax.c: Fix compile time warnings.
12435
12436         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
12437         warnings.
12438
12439         * vax.md: Likewise.
12440
12441         * vaxv.md: Likewise.
12442
12443 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12444
12445         * romp-protos.h: New file.
12446
12447         * romp.c: Fix compile time warnings.
12448
12449         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
12450         warnings.
12451
12452         * romp.md: Likewise.
12453
12454 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12455
12456         * we32k-protos.h: New file.
12457
12458         * we32k.c: Fix compile time warnings.
12459
12460         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
12461         warnings.
12462
12463 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12464
12465         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
12466
12467         * except.c (eh_regs): Likewise.
12468
12469         * final.c (output_operand): Likewise.
12470
12471         * fold-const.c (target_isinf, target_isnan): Likewise.
12472
12473 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
12474
12475         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
12476         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
12477
12478         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
12479         when optimize_size.
12480         (clrstrsi): Rewrite.
12481         (strsethi, strsetqi): New expanders.
12482         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
12483         (cmpstrsi): Emit compare insn before cmpstrsi_1
12484         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
12485         (strlensi_1): Likewise.
12486         (cmpstrsi_1): Likewise; do not output compare.
12487         (strlen expander): Do not unroll when optimizing for size.
12488         (*subsi3_carry): Rename to subsi3_carry
12489         (addqi3_cc): New pattern.
12490         * i386.h (processor_costs): Add move_ratio field.
12491         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
12492         * i386.c (*_cost): Set move_ratio.
12493         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
12494         (x86_expand_strlensi_1): Rewrite the main loop.
12495
12496 2000-01-17  Richard Henderson  <rth@cygnus.com>
12497
12498         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
12499         * cse.c (find_comparison_args, fold_rtx): Likewise.
12500         * integrate.c (subst_constants): Likewise.
12501         * loop.c (get_condition): Likewise.
12502
12503         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
12504
12505         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
12506
12507 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12508
12509         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
12510         (RESTORE_WARN_FLAGS): Unpack it.
12511         Change semantic type of extension to ttype.
12512         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
12513         * c-parse.y, c-parse.c, objc/objc-parse.y,
12514         objc/objc-parse.c: Regenerate.
12515
12516 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
12517
12518         * fixinc/fixlib.c: Add copyright notice.
12519         (compile_re): New function.
12520         * fixinc/fixlib.h: Prototype compile_re.
12521
12522         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
12523         Use compile_re to compile regular expressions.
12524
12525         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
12526         where the pattern matched.
12527
12528         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
12529         use 'replace'.
12530         (ultrix_ansi_compat): Likewise.
12531         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
12532         add egrep test.
12533         (interactv_add2, interactv_add3): Delete.
12534         (x11_sprintf): Don't use filename glob.
12535         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
12536         Regenerate.
12537
12538 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12539
12540         * print-rtl.c: PROTO -> PARAMS.
12541         * real.c: Likewise.
12542         * reg-stack.c: Likewise.
12543         * resource.c: Likewise.
12544         * sdbout.h: Likewise.
12545         * simplify-rtx.c: Likewise.
12546         * stor-layout.c: Likewise.
12547         * stupid.c: Likewise.
12548         * xcoffout.c: Likewise.
12549         * xcoffout.h: Likewise.
12550
12551 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12552
12553         * toplev.c: PROTO -> PARAMS.
12554         * toplev.h: Likewise.
12555         * tree.c: Likewise.
12556         * tree.h: Likewise.
12557         * unroll.c: Likewise.
12558         * varasm.c: Likewise.
12559         * varray.c: Likewise.
12560         * varray.h: Likewise.
12561
12562 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12563
12564         * reload.c: PROTO -> PARAMS.
12565         * reload.h: Likewise.
12566         * reload1.c: Likewise.
12567         * reorg.c: Likewise.
12568         * resource.h: Likewise.
12569         * rtl.c: Likewise.
12570         * rtl.h: Likewise.
12571         * rtlanal.c: Likewise.
12572         * sbitmap.h: Likewise.
12573         * sdbout.c: Likewise.
12574         * stack.h: Likewise.
12575         * stmt.c: Likewise.
12576         * system.h: Likewise.
12577
12578 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12579
12580         * machmode.h: PROTO -> PARAMS.
12581         * mbchar.h: Likewise.
12582         * mips-tdump.c: Likewise.
12583         * mips-tfile.c: Likewise.
12584         * optabs.c: Likewise.
12585         * output.h: Likewise.
12586         * prefix.c: Likewise.
12587         * profile.c: Likewise.
12588         * protoize.c: Likewise.
12589         * real.h: Likewise.
12590         * recog.c: Likewise.
12591         * recog.h: Likewise.
12592         * regclass.c: Likewise.
12593         * regmove.c: Likewise.
12594         * regs.h: Likewise.
12595
12596 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12597
12598         * ggc-common.c: PROTO -> PARAMS.
12599         * ggc-page.c: Likewise.
12600         * ggc-simple.c: Likewise.
12601         * ggc.h: Likewise.
12602         * global.c: Likewise.
12603         * graph.c: Likewise.
12604         * gthr-win32.h: Likewise.
12605         * haifa-sched.c: Likewise.
12606         * halfpic.h: Likewise.
12607         * integrate.c: Likewise.
12608         * integrate.h: Likewise.
12609         * jump.c: Likewise.
12610         * lcm.c: Likewise.
12611         * local-alloc.c: Likewise.
12612         * loop.c: Likewise.
12613         * loop.h: Likewise.
12614
12615 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12616
12617         * genattr.c: PROTO -> PARAMS.
12618         * genattrtab.c: Likewise.
12619         * gencheck.c: Likewise.
12620         * gencodes.c: Likewise.
12621         * genconfig.c: Likewise.
12622         * genemit.c: Likewise.
12623         * genextract.c: Likewise.
12624         * genflags.c: Likewise.
12625         * gengenrtl.c: Likewise.
12626         * genopinit.c: Likewise.
12627         * genoutput.c: Likewise.
12628         * genpeep.c: Likewise.
12629         * genrecog.c: Likewise.
12630
12631 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
12632
12633         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
12634
12635 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12636
12637         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
12638         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
12639         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
12640         * configure, config.in: Rebuilt.
12641
12642 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
12643
12644         * config/i386/i386.md: Add peephole to merge successive stack
12645         adjusts.
12646
12647 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
12648
12649         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
12650         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
12651         when walking backwards to find all the parameter loads when
12652         the basic block ends in a call.
12653
12654 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12655
12656         * loop.c (this_loop_info): Delete.
12657         (uid_loop): Add in place of uid_loop_num.  All uses updated.
12658         (loop_number_exit_count): Delete and replace with entry in loop
12659         structure.  All uses updated.
12660         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12661         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12662         (loop_outer_loop): Likewise.
12663         (loop_invalid, loop_number_exit_labels): Likewise.
12664         (loop_used_count_register): Delete and replace with entry in
12665         loop_info structure.
12666         (find_and_verify_loops): Add loops argument.
12667         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
12668         loop_end, etc. arguments with loop structure pointer.  All callers
12669         changed.
12670         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
12671         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
12672         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
12673         (insert_bct): Likewise.
12674         (basic_induction_var): New argument level.
12675         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
12676         vtop, and cont.  Add used_count_register.
12677         (uid_loop): Delete declaration.
12678         (loop_number_exit_count): Likewise.
12679         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12680         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12681         (loop_outer_loop, loop_used_count_register): Likewise.
12682         (loop_invalid, loop_number_exit_labels): Likewise.
12683         (unroll_loop): Replace loop_start and loop_end arguments
12684         with loop structure pointer.
12685         (loop_precondition_p, loop_iterations): Likewise.
12686         Include basic-block.h.
12687         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
12688         with loop structure pointer.
12689         (loop_precondition_p, loop_iterations): Likewise.
12690         * basic-block.h (struct loop): New entries vtop, cont,
12691         cont_dominator, start, end, top, scan_start, exit_labels,
12692         exit_count.
12693         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
12694
12695 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12696
12697         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
12698
12699 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
12700
12701         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
12702
12703 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12704
12705         * pdp11-protos.h: New file.
12706
12707         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
12708         time warnings.
12709
12710         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
12711         warnings.
12712
12713         * pdp11.md: Likewise.
12714
12715         * 2bsd.h: Likewise.
12716
12717 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12718
12719         * mn10300-protos.h: New file.
12720
12721         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
12722         time warnings.
12723
12724         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
12725         warnings.
12726
12727         * mn10300.md: Likewise.
12728
12729 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12730
12731         * mn10200-protos.h: New file.
12732
12733         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
12734         time warnings.
12735
12736         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
12737         warnings.
12738
12739         * mn10200.md: Likewise.
12740
12741 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12742
12743         * h8300-protos.h: New file.
12744
12745         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
12746         time warnings.
12747
12748         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
12749         warnings.
12750
12751         * h8300.md: Likewise.
12752
12753 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12754
12755         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
12756         (asm_emit_uninitialised): Likewise.
12757
12758 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
12759
12760         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
12761         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
12762
12763 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12764
12765         * config/mips/mips.c (override_options): Don't turn on extra
12766         alignment for mips16.
12767
12768 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12769
12770         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
12771         eabi, and make sure queued POSTINCREMENT rtl is emitted at
12772         the right point.
12773
12774 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12775
12776         * builtins.c (PAD_VARARGS_DOWN): Define.
12777         (std_expand_builtin_va_arg): Use the above macro.
12778         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
12779         * tm.texi (Register Arguments): Document the above macro.
12780
12781 2000-01-14  Nick Clifton  <nickc@cygnus.com>
12782
12783         * emit-rtl.c (emit_insn): If checking is enabled, make sure
12784         that this function has not been used to emit a jump
12785         instruction.
12786
12787         * jump.c (return_jump_1): Cope with being passed a null rtx.
12788
12789 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12790
12791         * eh-common.h: PROTO -> PARAMS.
12792         * emit-rtl.c: Likewise.
12793         * errors.c: Likewise.
12794         * errors.h: Likewise.
12795         * except.c: Likewise.
12796         * except.h: Likewise.
12797         * explow.c: Likewise.
12798         * expmed.c: Likewise.
12799         * expr.c: Likewise.
12800         * expr.h: Likewise.
12801         * final.c: Likewise.
12802         * fix-header.c: Likewise.
12803         * flow.c: Likewise.
12804         * fold-const.c: Likewise.
12805         * function.c: Likewise.
12806         * function.h: Likewise.
12807         * gcc.c: Likewise.
12808         * gcov-io.h: Likewise.
12809         * gcov.c: Likewise.
12810         * gcse.c: Likewise.
12811
12812 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12813
12814         * sh-protos.h: New file.
12815
12816         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
12817         Add static prototypes.  Fix compile time warnings.
12818
12819         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
12820         * sh.md: Likewise.
12821         * elf.h: Likewise.
12822
12823 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12824
12825         * arc-protos.h: New file.
12826
12827         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
12828         time warnings.
12829
12830         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
12831         warnings.
12832
12833         * arc.md: Likewise.
12834
12835 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12836
12837         * dsp16xx-protos.h: New file.
12838
12839         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
12840         time warnings.
12841
12842         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
12843         warnings.
12844
12845         * dsp16xx.md: Likewise.
12846
12847 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12848
12849         * convex-protos.h: New file.
12850
12851         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
12852         time warnings.
12853
12854         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
12855         warnings.
12856
12857 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12858
12859         * elxsi-protos.h: New file.
12860
12861         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
12862         time warnings.
12863
12864         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
12865         warnings.
12866
12867         * elxsi.md: Likewise.
12868
12869 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12870
12871         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
12872         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
12873         match the comment for MIPS16.
12874
12875 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
12876
12877         * flow.c (split_edge): Do not call set_block_for_insn if we
12878         do not have a basic_block_for_insn structure.
12879
12880         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
12881         and destination functions are 32bit aligned within the trampoline.
12882         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
12883         (TRAMPOLINE_ALIGNMENT): Define.
12884
12885         * cse.c (cse_insn): When changing (set (pc) (reg)) to
12886         (set (pc) (label_ref)), verify the change creates a valid insn.
12887
12888         * fr30.c (call_operand): Tighten and rework to match rules for
12889         call RTL expressions.
12890         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
12891         * fr30.md (call patterns): Improve constraints.
12892
12893 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
12894
12895         * fr30.c (fr30_expand_epilogue): Revert last change.
12896         Use emit_jump_insn for the return insn.
12897
12898 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
12899                           Stan Cox  <scox@cygnus.com>
12900
12901         * predict.c: New file. Preliminary infrastructure work for static
12902         branch prediction and basic block reordering.
12903         * basic-block.h: Add prototype for estimate_probability.
12904         * Makefile.in: Add rules for predict.o.
12905
12906 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
12907
12908         * fixincludes (va_list): Use __not_va_list__ for the dummy.
12909         * fixinc/*: Likewise.
12910
12911 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12912
12913         * cccp.c: PROTO -> PARAMS.
12914         * cexp.y: Likewise.
12915         * collect2.c: Likewise.
12916         * combine.c: Likewise.
12917         * convert.h: Likewise.
12918         * cse.c: Likewise.
12919         * dbxout.c: Likewise.
12920         * dbxout.h: Likewise.
12921         * diagnostic.c: Likewise.
12922         * doprint.c: Likewise.
12923         * dwarf2out.c: Likewise.
12924         * dwarf2out.h: Likewise.
12925         * dwarfout.c: Likewise.
12926         * dwarfout.h: Likewise.
12927         * dyn-string.h: Likewise.
12928
12929 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12930
12931         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
12932         macro conditionals guarding use.
12933
12934         * dwarf2out.c: Include "tm_p.h".
12935
12936         * function.c (locate_and_pad_parm): Mark parameter with
12937         ATTRIBUTE_UNUSED.
12938         (expand_function_end): Likewise for variable `context'.
12939
12940         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
12941
12942 2000-01-13  Nick Clifton  <nickc@cygnus.com>
12943
12944         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
12945         register to prevent compile time warnings.
12946
12947 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
12948
12949         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
12950         to avoid -Wtraditional warning.
12951
12952 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12953
12954         * 1750a-protos.h: New file.
12955
12956         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
12957         time warnings.
12958
12959         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
12960         warnings.
12961
12962         * 1750a.md: Likewise.
12963
12964 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12965
12966         * a29k-protos.h: New file.
12967
12968         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12969         time warnings.
12970
12971         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
12972         warnings.
12973
12974 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12975
12976         * clipper-protos.h: New file.
12977
12978         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
12979         time warnings.
12980
12981         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
12982         warnings.
12983
12984 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12985
12986         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
12987
12988 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
12989
12990         * configure.in (--enable-new-gxx-abi): New option.
12991         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
12992         * Makefile.in (GXX_ABI_FLAG): New variable.
12993         * configure: Regenerate.
12994
12995 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12996
12997         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
12998         * tm.texi (FORCE_STRUCT_BLK): Document.
12999         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
13000
13001 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
13002
13003         * config/ns32k/ns32k.md: Revert Jan 9 change.
13004
13005         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
13006         to a mode-test, if the predicate is address_operand.
13007
13008 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
13009
13010         * combine.c (if_then_else_cond): Be careful about what kinds
13011         of RTL expressions are passed to operand_subword.
13012
13013         * flow.c (split_edge): If we have to insert a new jump, make
13014         sure to associate it with a basic block.
13015
13016         * flow.c (commit_one_edge_insertion): A block with one successor
13017         can end in a JUMP_INSN that is not a simplejump.
13018
13019 2000-01-12  Robert Lipe  <robertl@sco.com>
13020
13021         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
13022         (BUILD_VA_LIST_TYPE): Define.
13023         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
13024         with crtstuff.c.
13025
13026 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
13027
13028         * cccp.c (do_pragma): Add cast to (char *).
13029
13030 2000-01-12  Richard Henderson  <rth@cygnus.com>
13031             Fred Fish  <fnf@be.com>
13032             Jason Merrill  <jason@cygnus.com>
13033
13034         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
13035         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
13036         * i386/beos-elf.h, i386/beos-pe.h: New files.
13037
13038         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
13039         * cross-make (SYSTEM_HEADER_DIR): Define using
13040         CROSS_SYSTEM_HEADER_DIR.
13041
13042         * gcc.c (LIBRARY_PATH_ENV): Provide default.
13043         (process_command): Use it.
13044         (main): Likewise.  Kill trailing = from env vars.
13045         (build_search_list): Put it back.
13046         * collect2.c (main): Use LIBRARY_PATH_ENV.
13047
13048         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
13049         * toplev.c: Use NEED_DECLARATION_ENVIRON.
13050
13051         * tm.texi (Frame Layout): Document SMALL_STACK.
13052         * c-common.c (c_common_nodes_and_builtins): Check it.
13053
13054         * system.h: Undef alloca after including glibc's <stdlib.h>,
13055         if USE_C_ALLOCA is defined.
13056
13057         * gcc.c (set_input): New fn.
13058         (main): After all input files are compiled, reset the input file
13059         info to the first.
13060
13061         * aclocal.m4 (rindex, index): If already defined, don't attempt
13062         to redefine.
13063
13064         * ginclude/varargs.h: (__va_list__): Define ifndef.
13065         * ginclude/stdarg.h: Likewise.
13066
13067         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
13068         instead of unsigned char.
13069
13070         * hash.h (true, false, boolean): Undef before enum.
13071
13072         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
13073         proper type of "HOST_WIDE_INT *", rather than their natural type of
13074         "unsigned HOST_WIDE_INT *".
13075
13076 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13077
13078         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
13079
13080         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
13081
13082         * regclass.c (choose_hard_reg_mode): Likewise.
13083
13084         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
13085
13086         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
13087
13088 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13089
13090         * c-common.c: PROTO -> PARAMS.
13091         * c-common.h: Likewise.
13092         * c-decl.c: Likewise.
13093         * c-iterate.c: Likewise.
13094         * c-lang.c: Likewise.
13095         * c-lex.c: Likewise.
13096         * c-lex.h: Likewise.
13097         * c-parse.in: Likewise.
13098         * c-pragma.c: Likewise.
13099         * c-pragma.h: Likewise.
13100         * c-tree.h: Likewise.
13101         * c-typeck.c: Likewise.
13102         * objc/objc-act.c: Likewise.
13103         * objc/objc-act.h: Likewise.
13104
13105 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13106
13107         * m88k-protos.h: New file.
13108
13109         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
13110         time warnings.
13111
13112         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
13113
13114         * m88k.md: Likewise.
13115
13116         * tekXD88.h: Likewise.
13117
13118 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13119
13120         * m68k-protos.h: New file.
13121
13122         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
13123         time warnings.
13124
13125         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
13126
13127         * mot3300.h: Likewise.
13128
13129 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
13130
13131         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
13132         extract_bitlst.
13133         (extract_bitlist): Declare bitlen.
13134
13135 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
13136
13137         * cccp.c: Accept and ignore -lang-fortran.
13138
13139         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
13140         qualifiers don't match at any level of pointerness.
13141
13142 2000-01-12  Robert Lipe  <robertl@sco.com>
13143
13144         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
13145
13146 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
13147
13148         * reload1.c (reload_reg_unavailable): New static variable.
13149         (reload_reg_free_p): Test it.
13150         (reload_reg_free_for_value_p): Test it instead of
13151         reload_reg_used.
13152         (choose_reload_regs_init): Compute it.
13153
13154 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
13155
13156         * reorg.c (fill_slots_from_thread): Check modified_in_p
13157         before replacing.
13158
13159 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
13160
13161         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
13162         these nodes even if INTERNALS is not set.
13163
13164 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
13165
13166         * gcse.c (delete_null_pointer_checks_1): Cope when
13167         get_condition cannot determine the condition.
13168
13169 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
13170
13171         * toplev.h (set_message_length): Declare.
13172
13173         * diagnostic.c (obstack_chunk_alloc): Define macro.
13174         (obstack_chunk_free): Likewise.
13175         (struct output_buffer): New data structure.
13176         (vmessage): Remove.
13177         (output_maximum_width): New variable.
13178         (doing_line_wrapping, set_message_length, init_output_buffer,
13179         get_output_prefix, output_space_left, emit_output_prefix,
13180         output_newline, output_append, output_puts, dump_output,
13181         vbuild_message_string, build_message_string, build_location_prefix,
13182         voutput_notice, output_printf, line_wrapper_printf,
13183         vline_wrapper_message_with_location):  New functions. Implement
13184         automatic line wrapping.
13185         (v_message_with_decl): Make it handle automatic line wrapping.
13186         (v_error_with_file_and_line): Likewise.
13187         (v_warning_with_file_and_line): Likewise.
13188         (announce_function): Likewise.
13189         (default_print_error_function): Likewise.
13190
13191 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
13192
13193         * cpplib.h (struct cpp_options): Change lang_asm to char.
13194         Add lang_fortran.
13195         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
13196         done in cpp_handle_option now.
13197         (initialize_builtins): Take out special case code used only by
13198         __STDC_VERSION__.
13199         (cpp_handle_option): Turn off trigraphs and trigraph warnings
13200         if -traditional.  Recognize -lang-fortran and set
13201         lang_fortran, also turn off cplusplus_comments.
13202         (print_help): Document -lang-fortran.
13203         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
13204         lang_asm. Ignore all directives other than `# 123 "file"' if
13205         CPP_PREPROCESSED.
13206         (cpp_get_token): If -traditional, don't recognize directives
13207         unless the # is in column 1.
13208         (parse_string): If lang_fortran or lang_asm, silently
13209         terminate strings ('' or "") at end of line.
13210         Remove unnecessary braces.
13211
13212 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13213             Richard Henderson  <rth@cygnus.com>
13214
13215         * resource.c (mark_referenced_resources): Mark a set strict_low_part
13216         as used.
13217         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
13218         strict_low_part when possible.
13219
13220 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13221
13222         * alias.c: PROTO -> PARAMS.
13223         * basic-block.h: Likewise.
13224         * bitmap.c: Likewise.
13225         * bitmap.h: Likewise.
13226         * builtins.c: Likewise.
13227         * c-aux-info.c: Likewise.
13228         * caller-save.c: Likewise.
13229         * calls.c: Likewise.
13230
13231 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13232
13233         * Makefile.in (toplev.o): Depend on regs.h.
13234
13235         * output.h (tdesc_section): Prototype.
13236
13237         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
13238
13239         * sdbout.c: Include "tm_p.h".
13240
13241         * toplev.c: Include "regs.h".
13242
13243 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
13244
13245         * unroll.c (unroll_loop): Add EH support.
13246
13247 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13248
13249         * pa-protos.h: New file.
13250
13251         * pa.c: Include recog.h and tm_p.h.
13252         (compute_zdepwi_operands, compute_movstrsi_length,
13253         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
13254         find_addr_reg, import_milli): Add static prototypes.
13255         (pa_cpu_string, pa_arch_string): Constify a char*.
13256         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
13257         (read_only_operand): Add argument `mode'.
13258         (singlemove_string, output_move_double, output_fp_move_double,
13259         output_block_move, output_and, output_ior, output_ascii,
13260         remove_useless_addtr_insns, milli_names, output_mul_insn,
13261         output_div_insn, output_mod_insn, output_arg_descriptor,
13262         output_cbranch, output_bb, output_bvb, output_dbra, ,
13263         output_millicode_call, output_call, hppa_encode_label,
13264         output_parallel_movb, output_parallel_addb): Constify a char*.
13265         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
13266         (output_parallel_addb): Remove extra arg to `constrain_operands'
13267
13268         * pa.h:  Move all prototypes to pa-protos.h.
13269         (pa_cpu_string, pa_arch_string): Constify a char*.
13270         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
13271
13272         * pa.md: Call `function_label_operand' with mode argument.
13273         Likewise for `read_only_operand'.
13274         Fix nesting of parens in call to `symbolic_operand'.
13275
13276 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13277
13278         * i860-protos.h: New file.
13279
13280         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
13281         time warnings.
13282
13283         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
13284
13285         * i860.md: Likewise.
13286
13287 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
13288
13289         * i386.md (movstrsi expander): Rewrite.
13290         (movstrsi_1 insn): Deleted.
13291         (strmovhi, strmovqi expander): New expanders.
13292         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
13293         * i386.c (x86_single_stringop): New global variable.
13294         * i386.h (x86_single_stringop): Declare.
13295         (TARGET_SINGLE_STRINGOP): New macro.
13296
13297 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
13298
13299         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
13300         integer vararg POSTINCREMENT before the destination of the jump
13301         for the hard fp case.
13302         (function_arg_pass_by_reference): Pass a copy of CUM to
13303         FUNCTION_ARG.
13304
13305         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
13306         for CONSTANT_ADDRESS_P above while loop for subreg.
13307
13308 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
13309
13310         * flow.c (propagate_block): When a prologue/epilogue insn
13311         is marked dead, unconditionally clear libcall_is_dead and
13312         insn_is_dead, and only dump rtl if warnings aren't being
13313         suppressed.
13314
13315 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
13316
13317         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
13318         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
13319         (FIXED_REGISTERS): Set dirflag as fixed.
13320         (CALL_USED_REGISTERS): Set dirflag as used.
13321         (REG_ALLOC_ORDER): Set dirflag as last one.
13322         (DIRFLAG_REG): New macro.
13323         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
13324         (HI_REGISTER_NAMES): Add dirflag.
13325         (DEBUF_PRINT_REG): Handle dirflag.
13326         * i386.md (type attribute): New cld and str types.
13327         (length_opcode attribute): Set cld and str to 1.
13328         (memory attribute): Set str to unknown - it is not clear from the
13329         patterns.
13330         (pent_np function unit): Prefixed string operations takes 12 cycles
13331         minimally; cld takes 2 cycles.
13332         (ppro_uops attribute): Str is "many" and cld is "few".
13333         (ppro_p0 unit): Handle cld here.
13334         (k6_alux unit): Handle cld and str types.
13335         (k6_load unit): It is ocupied by str opcodes.
13336         (k6_store unit): It is ocupied by str opcodes.
13337         (athlon_decode): Str is vector decoded.
13338         (athlon_ieu): Handle str and cld.
13339         (cld pattern): New.
13340         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
13341         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
13342         cmpstrsi_nz_1 insn): Do not output cld instruction
13343
13344 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
13345
13346         * gcc.texi (G++ and GCC): Add Java and Chill.
13347         (Bug Critera): Don't list languages.
13348
13349         * gcc.texi (Incompatibilities): No longer claim most C compilers
13350         are K&R.
13351
13352         * gcc.texi (G++ and GCC): Update other front-ends list.
13353
13354 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
13355
13356         * i386.c (ix86_expand_setcc): Fix typo.
13357         (ix86_expand_movcc): Similarly.
13358
13359         * Band-aid until haifa's bitset implementation is nuked.
13360         * haifa-sched.c (extract_bitlst): New parameter for size of the
13361         bitset in bits.  All callers changed.  Avoid looking at undefined
13362         bits in the bitset.
13363         (edgeset_bitsize): New variable.
13364         (schedule_region): Initialize edgeset_bitsize.
13365
13366 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13367
13368         * Makefile.in (optabs.o): Depend on real.h
13369         (resource.o): Depend on insn-attr.h
13370
13371         * builtins.c (result_vector): Wrap prototype in macro conditions
13372         governing definition and use.
13373
13374         * c-common.c: Include tm_p.h.
13375
13376         * c-lex.c: Likewise.
13377
13378         * elfos.h: Constify a char*.
13379
13380         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
13381         (get_attr_length, shorten_branches, profile_after_prologue): Mark
13382         parameter with ATTRIBUTE_UNUSED.
13383
13384         * fold-const.c (exact_real_inverse): Wrap variable `i' in
13385         CHECK_FLOAT_VALUE.
13386
13387         * haifa-sched.c (schedule_insns): Mark parameter with
13388         ATTRIBUTE_UNUSED.
13389
13390         * optabs.c: Include real.h.
13391
13392         * real.h (ereal_atof): Add prototype arguments.
13393
13394         * resource.c: Include insn-attr.h.
13395
13396         * sdbout.c (sdbout_queue_anonymous_type,
13397         sdbout_dequeue_anonymous_types): Wrap in macro
13398         SDB_ALLOW_FORWARD_REFERENCES.
13399         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
13400         ATTRIBUTE_UNUSED.
13401
13402         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
13403
13404         * stupid.c: Include tm_p.h.
13405
13406         * tree.c (real_value_from_int_cst): Mark parameter with
13407         ATTRIBUTE_UNUSED.
13408
13409 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13410
13411         * i960-protos.h: New file.
13412
13413         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
13414         time warnings.
13415
13416         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
13417
13418 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13419
13420         * combine.c (expand_field_assignment): Do not discard SUBREGs
13421         while computing nonzero_bits.
13422
13423 2000-01-09  Nick Clifton  <nickc@cygnus.com>
13424
13425         * config/arm/arm.c: Fix compile time warnings about signed vs
13426         unsigned constants.
13427         * config/arm/arm.h: Fix compile time warnings about signed vs
13428         unsigned constants.
13429
13430 2000-01-09  Philip Blundell  <philb@gnu.org>
13431
13432         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
13433         than `ldm' with only one register.
13434         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
13435         only one register.
13436
13437         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
13438         clobbered.
13439
13440 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
13441
13442         * config/ns32k/ns32k.md (load or push effective address): Operand 1
13443         must have SImode.
13444
13445 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13446
13447         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
13448         assignment used as truth value.
13449
13450         * function.c (assign_temp): Mark parameter `dont_promote' with
13451         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
13452         PROMOTE_FOR_CALL_ONLY.
13453
13454         * genrecog.c (write_subroutine): Mark variable `operands' with
13455         ATTRIBUTE_UNUSED.
13456
13457         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
13458         ATTRIBUTE_UNUSED.
13459
13460         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
13461         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
13462
13463         * toplev.c (note_deferral_of_defined_inline_function): Likewise
13464         for `decl'.
13465
13466 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13467
13468         * config/c4x.h: Tidy up comments.
13469         * config/c4x.c: Likewise.
13470
13471 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
13472
13473         * fold-const.c (lshift_double, rshift_double): Handle
13474         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
13475
13476 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13477
13478         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
13479         in prepare_function_start().
13480
13481 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
13482
13483         * config/v850/v850.c (expand_epilogue): Interrupt functions no
13484         longer allocate extra stack for function calls.
13485
13486 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13487
13488         * config/c4x/c4x.md (*subqf3_set): Fix typo.
13489
13490 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13491
13492         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
13493
13494 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
13495
13496         * rs6000.c (processor_target_table): Add power3 as alias for 630.
13497         * aix43.h: Revert Aug 2 change.
13498         (HAS_INIT_SECTION): Define, not visible yet.
13499         (LD_INIT_SWITCH): Define, not visible yet.
13500         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
13501
13502         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
13503
13504         * collect2.c (main): Expand ld2 size further.
13505         (export_object_lst): Cast assignment to avoid warning.
13506         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
13507         (scan_prog_file, COFF): Do not collect initialization or
13508         finalization functions generated for entire shared object if
13509         init/fini support present.
13510
13511 2000-01-07  Nick Clifton  <nickc@cygnus.com>
13512
13513         * config/elfos.h: Tidy up formatting of marcos.  Make sure
13514         that .section directives are always prefixed by a tab.
13515
13516         * config/svr4.h: Add #include "elfos.h" and remove duplicate
13517         definitions.
13518
13519 2000-01-07  Matt Austern  <austern@sgi.com>
13520
13521         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
13522         expon.
13523
13524 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
13525
13526         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
13527         crtstuff.c.
13528         (crtbegin.o, s-crtS): Likewise.
13529
13530 2000-01-06  Richard Henderson  <rth@cygnus.com>
13531
13532         * alpha.md (adddi_2+1): Limit offset such that it will be
13533         loadable with a single ldah+lda pair.
13534         (adddi_2+2): Explicitly fail split if we can't make it work.
13535
13536 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
13537
13538         * protoize.c: Conditionally include unistd.h.
13539         (IS_SAME_PATH_CHAR): New macro.
13540         (IS_SAME_PATH): New macro.
13541         (CPLUS_FILE_SUFFIX): New macro.
13542         (cplus_suffix): New static variable.
13543         (is_abspath): New static function.
13544         (in_system_include_dir): Handle DOS style pathnames.
13545         (file_could_be_converted): Likewise.
13546         (file_normally_convertible): Likewise.
13547         (directory_specified_p): Likewise.
13548         (file_excluded_p): Likewise.
13549         (abspath): Likewise.
13550         (shortpath): Likewise.
13551         (referenced_file_is_newer): Likewise.
13552         (save_def_or_dec): Likewise.
13553         (do_processing): Likewise.
13554         (main): Likewise.
13555         (edit_file): Likewise. Use rename instead of link.
13556         (rename_c_file): Likewise. Don't rename syscalls file.
13557         (munge_compile_params): Define null device for DOS based systems.
13558         (process_aux_info_file): Use binary mode if appliable.
13559         (edit_file): Likewise.
13560         * invoke.texi (Running Protoize): Document C++ suffixes used.
13561
13562         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
13563         IS_DIR_SEPARATOR macros.
13564         * collect2.c: Likewise.
13565         * cppinit.c: Likewise.
13566         * dwarf2out.c: Likewise.
13567         * gcc.c: Likewise.
13568         * gcov.c: Likewise.
13569         * prefix.c: Likewise.
13570         * rtl.c: Likewise.
13571         * toplev.c: Likewise.
13572         * system.h: And move to here.
13573
13574         * prefix.c (update_path): Fix typo in variable name.
13575
13576 2000-01-06  Richard Henderson  <rth@cygnus.com>
13577
13578         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
13579         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
13580         (count_reg_sets_1, count_reg_references): Likewise.
13581         (flow_loops_level_compute): Start counting actual loop depth at 1.
13582         (flow_loops_find): Likewise.
13583         * local-alloc.c (update_equiv_regs): Likewise.
13584         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
13585
13586 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
13587
13588         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
13589         FIRST_PSEUDO_REGISTER
13590         * dwarf2out.c: Don't include frame.h
13591         * dwarfout.c: Likewise
13592         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
13593         frame.h
13594
13595 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
13596
13597         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
13598         dead registers.
13599
13600         * i386.c (movsf splitter): Fix typo in my last checkin.
13601
13602 2000-01-05  Nick Clifton  <nickc@cygnus.com>
13603
13604         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
13605         own definition of this macro.
13606         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
13607         flag_data_sections or UNIQUE_SECTION_P are true.
13608
13609         * tm.texi (UNIQUE_SECTION): Document that it can be called for
13610         unitialised data decls.
13611
13612         * config/i386/winnt.c (i386_pe_unique_section): Cope with
13613         being called for uninitialised data.
13614
13615         * config/i386/interix.c (i386_pe_unique_section): Cope with
13616         being called for uninitialised data.
13617
13618         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
13619         for uninitialised data.
13620
13621         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
13622         for uninitialised data.
13623
13624         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
13625         for uninitialised data.
13626
13627         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
13628         (UNIQUE_SECTION_P): Always generate a unique section if
13629         flag_data_sections is true.
13630         (UNIQUE_SECTION): Also generate unique sections for
13631         uninitialised data.
13632         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
13633         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
13634         named_section().
13635
13636 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13637
13638         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
13639         SI, or DI.
13640
13641 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13642
13643         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
13644         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
13645         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
13646         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
13647         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
13648
13649         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
13650
13651 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
13652
13653         * c-decl.c (finish_enum): Simplify code to determine minimum and
13654         maximum values of the enum, and calculate the type.  Remove check
13655         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
13656         the DECL_INITIAL of each enumeration constant with a copy converted
13657         to the enumeration type.  When updating variant types, don't bother
13658         updating the type itself.
13659
13660         * c-typeck.c (build_binary_op): Simplify conditional expressions
13661         when weeding out spurious signed-unsigned warnings.  Add new
13662         spurious warning category: if the unsigned quantity is an enum
13663         and its maximum value fits in signed_type(result_type).  Update
13664         commentary.
13665         (build_conditional_expr): Warn here if one alternative is signed
13666         and the other is unsigned.
13667
13668 2000-01-05  Nick Clifton  <nickc@cygnus.com>
13669
13670         * config/fr30/fr30.h: Remove extraneous comments.
13671
13672 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
13673
13674         * reload1.c (choose_reload_regs): When disabling a reload, also
13675         set reload_spill_index to -1.
13676
13677 2000-01-04  Joel Sherrill (joel@OARcorp.com>
13678
13679         * configure.in (m68*-*-rtemscoff*): New target, formal name for
13680         old m68*-*-rtems*.
13681         (m68*-*-rtemself*): New target.
13682         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
13683         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
13684         (sparc*-*-rtemself*): New target.
13685         (sparc*-*-rtems*): Now elf not a.out.
13686         * config/i386/rtems.h: Include config/rtems.h.
13687         * config/i386/rtemself.h: Include config/rtems.h.
13688         * config/i960/rtems.h: Include config/rtems.h.
13689         * config/m68k/rtems.h: Include config/rtems.h.
13690         * config/m68k/rtemself.h: Include config/rtems.h.
13691         * config/mips/rtems64.h: Include config/rtems.h.
13692         * config/pa/rtems.h: Include config/rtems.h.
13693         * config/rs6000/rtems.h: Include config/rtems.h.
13694         * config/sh/rtems.h: Include config/rtems.h.
13695         * config/sh/rtemself.h: Include config/rtems.h.
13696         * config/sparc/rtems.h: Include config/rtems.h.
13697         * config/sparc/rtemself.h: Include config/rtems.h
13698
13699 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
13700
13701         * final.c (shorten_branches): Correctly compute length of
13702         asms without operands.
13703
13704 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
13705
13706         * configure.in: Add pj target.
13707         * configure: Regenerate.
13708         * config/pj: New directory.
13709         * config/pj/lib1funcs.S: New file.
13710         * config/pj/linux.h: New file.
13711         * config/pj/pj.c: New file.
13712         * config/pj/pj.md: New file.
13713         * config/pj/pjl.h: New file.
13714         * config/pj/t-pj: New file.
13715         * config/pj/xm-pj.h: New file
13716
13717 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
13718
13719         * toplev.c (rest_of_compilation): Run shorten-branches before
13720         reg-stack for now.
13721
13722 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13723
13724         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
13725         macros so that they're consistent with their names.
13726         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13727         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13728
13729 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13730
13731         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
13732         modified inadvertently.
13733
13734 2000-01-04  Joel Sherrill <joel@OARcorp.com>
13735
13736         * configure.in (v850*-*-rtems*): New target.
13737         * configure: Regenerate.
13738         * config/v850/rtems.h: New file.
13739
13740 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
13741
13742         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
13743         (__gthread_key_create): Likewise.
13744         (__gthread_key_dtor):  Likewise.
13745         (__gthread_once): Fix logic.
13746         (__gthread_key_delete): Cast away constness.
13747
13748         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
13749         * invoke.texi: Document.
13750         * i386/mingw32.h (CPP_SPEC): Use.
13751         (LIBGCC_SPEC): Likewise.
13752         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
13753
13754 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
13755
13756         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
13757         (HANDLE_PRAGMA_PACK): Undefine.
13758         (SLOW_UNALIGNED_ACCESS): Define.
13759
13760 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
13761
13762         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13763         to default definition.
13764         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
13765         (store_fixed_bit_field): Call macro with word_mode and alignment.
13766         (extract_bit_field): Call macro with relevant mode and alignment.
13767         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13768         to default definition.
13769         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
13770         and alignment.
13771         (move_by_pieces_ninsns): Likewise.
13772         (clear_by_pieces): Likewise.
13773         (emit_push_insn): Likewise.
13774         (store_field): Call macro with relevant mode and alignment.
13775         (expand_expr): Likewise.
13776         (expand_expr_unaligned): Likewise.
13777
13778         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
13779         (SLOW_UNALIGNED_ACCESS): Define.
13780         (CASE_VECTOR_MODE): Always use 32-bit offsets.
13781         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
13782         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
13783         (toc_section): Likewise and .toc pseudo-op.
13784         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
13785         64-bit mode.
13786         (TEXT_SECTION_ASM_OP): Likewise.
13787         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
13788         32-bit offsets.
13789
13790         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
13791         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
13792         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
13793         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
13794         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
13795
13796 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
13797
13798         * regclass.c: Revert my Jan 4 change to loop cost computation.
13799
13800 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13801
13802         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
13803         compilation.
13804
13805 2000-01-04  Stan Cox  <scox@cygnus.com>
13806
13807         * haifa-sched.c (build_control_flow): Change unreachable simple
13808         loop test to check if current block has only one predecessor.
13809         (find_rgns): Initialize degree.  Use dest as degree index, not src.
13810
13811 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13812
13813         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
13814
13815         * calls.c (expand_call): Likewise for
13816         `old_stack_arg_under_construction'.
13817
13818         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
13819
13820         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
13821         `save_constant'.
13822
13823         * gcc.c (execute): Likewise for `ut' and `st'.
13824
13825         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
13826
13827         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
13828
13829         * jump.c (jump_optimize_1): Likewise for `temp2'.
13830
13831         * local-alloc.c (block_alloc): Likewise for `r1'.
13832
13833         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
13834
13835         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
13836         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
13837
13838         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
13839         and `set2'.
13840
13841         * reload.c (find_reloads): Likewise for `goal_alternative_number'
13842         and `goal_earlyclobber'.
13843
13844         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
13845
13846         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
13847
13848         * stupid.c (stupid_life_analysis): Likewise for `chain'.
13849
13850         * unroll.c (copy_loop_body): Likewise for `copy'.
13851
13852         * varasm.c (output_constructor): Likewise for `byte'.
13853
13854 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13855
13856         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
13857         all FP constants for constant->reg moves.
13858         (ix86_split_to_parts): Try to convert memory address into immediate
13859         when available in the constant pool.
13860         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
13861         moves.
13862         (LEGITIMATE_CONSTANT_P): Return 1.
13863         * i386.md (pushsf): New splitter to convert constant pool memory
13864         reference to immediate.
13865         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
13866         reload.
13867
13868 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
13869
13870         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
13871         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
13872         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
13873         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
13874         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
13875
13876 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
13877
13878         * ginclude/stdbool.h:  Support compilation as C++.
13879
13880 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13881
13882         * fold-const.c (make_range): Don't try to reverse an unbounded range.
13883
13884 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
13885
13886         * regclass.c (regclass): Properly compute loop_cost.  Adjust
13887         comments.
13888
13889         * regclass.c: Fix minor whitespace problems.
13890
13891 2000-01-03  Anthony Green  <green@cygnus.com>
13892
13893         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
13894         Restore the pic register if required.
13895
13896 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
13897
13898         * c-common.c (format_char_info): Update comment.
13899         (check_format_info): Recognize 'z' modifier in the same way 'Z'
13900         was recognized.  Emit warning for formats new in ISO C99 only
13901         if flag_isoc9x is not set.
13902
13903 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
13904
13905         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
13906
13907 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13908
13909         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
13910         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
13911         (make_compound_operation): Choose cheaper alternative between
13912         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
13913
13914         * regclass.c (op_costs): Remove global variable.
13915         (record_reg_classes): New parameter "op_costs" and "reg_pref".
13916         (record_operand_costs): Break out from ...
13917         (scan_one_insn): ... here.
13918         (dump_regclass): Make dumps nicer.
13919         (regclass): Dump preferrences choosed and changes done during passes.
13920
13921 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13922
13923         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
13924
13925 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13926
13927         * config/sparc/sparc.c (gen_df_reg): New function.
13928         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
13929         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
13930         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
13931         movtf_cc_reg_sp64+1): Use it.
13932
13933 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13934
13935         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
13936         copied LABEL_DECLs.
13937
13938 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13939
13940         * config/i386/i386.c (ix86_expand_unary_operator): Function
13941         definition made void.
13942         (ix86_expand_binary_operator): Update outdated preceding comment.
13943         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
13944         prototype.
13945
13946         * config/i386/i386.c (override_options): Fix option-name typo.
13947
13948 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13949
13950         * system.h (CEIL): Define.
13951         * builtins.c (CEIL): Remove.
13952         * expmed.c (CEIL): Likewise.
13953         * expr.c (CEIL): Likewise.
13954         * stor-layout.c (CEIL): Likewise.
13955
13956 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13957
13958         * expr.c (store_constructor_field): Fix typo introduced with last
13959         gcc2 merge.
13960
13961 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
13962
13963         * tree.h (BINFO_N_BASETYPES): New macro.
13964
13965 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
13966
13967         * expmed.c (emit_store_flag): Prevent losing a pending stack
13968         adjust the same way we prevent losing queued increments.
13969
13970 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13971
13972         * function.c (update_temp_slot_address): Handle case where sum of
13973         temporary address plus offset in register is a valid address.
13974
13975 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
13976
13977         * genrecog.c (change_state) Corrected typo.
13978
13979 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13980
13981         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
13982         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
13983         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
13984
13985 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
13986
13987         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
13988         case, expand GT comparisons correctly.  Fix a comment before this
13989         part of the code.
13990
13991 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
13992
13993         * dwarfout.c: Include "frame.h"
13994         * dwarf2out.c: Likewise.
13995         * Makefile.in (dwarfout.o): Depend on frame.h
13996         (dwarf2out.o): Likewise.
13997
13998 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
13999
14000         Restore i386 binary compatibility in Dwarf EH info.
14001         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
14002         value of FIRST_PSEUDO_REGISTER.
14003         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
14004         (struct frame_state): Use DWARF_FRAME_REGISTERS.
14005         * dwarfout.c (output_reg_number): Ditto.
14006         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
14007         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
14008
14009 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
14010
14011         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
14012         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
14013         (<hack>_RE_CT): not needed
14014         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
14015         rewritten to scan the file text once only
14016         "template<..." test added
14017         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
14018         (is_cxx_header): declaration added
14019         * fixinc/fixtests.c(is_cxx_header): removed
14020         (apply_fix_p_t): removed
14021         (double_slash_test): is_cxx_header is only called once now
14022         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
14023         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
14024         within the templates.
14025         The borken spelling of "broken" was fixed.
14026         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
14027         The default level depends on FIXINC_DEBUG.
14028
14029 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14030
14031         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
14032         Otherwise provide a declaration for atexit.
14033         (init_dummy): Make sure dummy call to atexit is nevertheless
14034         called with correct number of args.
14035
14036         * frame.c: Update comments referring to other files.
14037
14038         * libgcc2.c: Likewise.
14039
14040 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14041
14042         * cse.c (free_element, get_element): Remove unused prototypes.
14043
14044         * fold-const.c (extract_muldiv): Initialize variables `op0' and
14045         `op1'.
14046
14047         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
14048         `else' clauses.
14049
14050 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
14051
14052         * configure.in,configure: case arm for mn10200-*-* now sets
14053         float_format=i32 so that float.h will correctly claim "double"
14054         to be 32 bits. Ran autoconf to generate configure from .in file.
14055
14056 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
14057
14058         * pa.md (conditional zero): If op1 is a register, force it into
14059         the same register as op0.
14060
14061 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
14062
14063         * tree.h (BINFO_BASETYPES): Improve documentation.
14064
14065 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14066
14067         * configure.in (--enable-checking): Use a more portable `for'
14068         loop syntax.
14069
14070 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14071
14072         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
14073         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
14074
14075         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
14076         Delete files.
14077
14078         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
14079         Delete descriptions.
14080
14081         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
14082         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
14083         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
14084         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
14085         xm-svr4.h: Remove all instances of sys_siglist handling.
14086
14087 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
14088
14089         * config/sparc/sparc.md (cmp_zero_qi,
14090         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
14091         cmp_zero_extendqidi2_andcc_set): New patterns.
14092
14093 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
14094
14095         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
14096         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
14097         (fpgnulib.c, xfgnulib.c): Add rules.
14098         * m68k/t-mot3300-gas: Likewise.
14099
14100 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
14101
14102         * configure.in: Avoid [[ by using test and changequote.  Add
14103         changequote required by 1999-12-14 change.
14104         * configure: Rebuild.
14105
14106 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
14107
14108         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
14109
14110 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
14111
14112         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
14113         * flow.c (find_use_as_address): Likewise.
14114         * function.c (fixup_var_refs_1): Likewise.
14115         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
14116         * jump.c (invert_exp, redirect_exp): Likewise.
14117         * loop.c (replace_call_address): Likewise.
14118         (count_nonfixed_reads): Likewise.
14119         * rtlanal.c (modified_between_p): Likewise.
14120         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
14121         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
14122         * unroll.c (remap_split_bivs): Likewise.
14123
14124 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14125
14126         * diagnostic.c (v_message_with_decl): Use .* format specifier
14127         instead of building the format specifier width manually.
14128
14129         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
14130         determining whether to provide a prototype.  Remove the
14131         sys_siglist clause in the conditional.
14132
14133 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
14134
14135         * fold-const.c (operand_equal_p): Use memcmp to compare string
14136         constants.
14137         Suggested by D. J. Bernstein
14138
14139 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
14140
14141         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
14142         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
14143         compiling libgcc2.
14144         * config/mips/mips.h (TARGET_64BIT): Likewise.
14145         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
14146         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
14147         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
14148         dsps.  Give routines proper names if SI/DI modes are not used.
14149         * longlong.h: Use DWunion instead of DIunion.
14150
14151 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
14152
14153         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
14154         GC_CHECKING, GC_ALWAYS_COLLECT.
14155         * configure.in: Allow --enable-checking with an argument
14156         listing check modes to enable.
14157         * config.in, configure: Rebuilt.
14158         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
14159         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
14160         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
14161         ENABLE_GC_ALWAYS_COLLECT.
14162         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
14163         throughout.
14164         * tree.h, tree.c: Change ENABLE_CHECKING to
14165         ENABLE_TREE_CHECKING throughout.
14166
14167 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14168
14169         * fold-const.c (fold_truthop): Properly check for FP RHS.
14170
14171 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
14172
14173         * toplev.h (note_deferall_of_defined_inline_function): Declare.
14174         * toplev.c (note_deferral_of_defined_inline_function): New
14175         function, split out from ...
14176         (rest_of_compilation): ... here.  Use it.
14177
14178 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14179
14180         * expr.c (store_constructor): Don't call clear_storage if size is
14181         variable.
14182
14183 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14184
14185         * Makefile.in (toplev.o): Depend on loop.h.
14186
14187         * dwarfout.c: Include tm_p.h.
14188
14189         * emit-rtl.c (restore_emit_status): Mark parameter with
14190         ATTRIBUTE_UNUSED.
14191
14192         * final.c (final_scan_insn): Likewise.
14193
14194         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
14195         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
14196         flow_depth_first_order_compute, flow_loop_pre_header_find,
14197         flow_loop_tree_node_add, flow_loops_tree_build,
14198         flow_loop_level_compute, flow_loops_level_compute,
14199         flow_loop_outside_edge_p): Add prototypes.
14200         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
14201
14202         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
14203         Mark with ATTRIBUTE_NORETURN.
14204
14205         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
14206
14207         * local-alloc.c (no_conflict_p): Likewise.
14208
14209         * loop.c (insert_bct): Hide definitions of variables with hidden
14210         usage.
14211         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
14212
14213         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
14214         with ATTRIBUTE_UNUSED.
14215         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
14216         (reg_scan): Likewise.
14217
14218         * reload.c (find_reloads): Remove unused variables `changed'.
14219
14220         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
14221         away const-ness.
14222         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
14223         Remove unused variable `insn'.
14224
14225         * toplev.c: Include loop.h.
14226         (report_file_and_line): Remove unnecessary prototype.
14227
14228         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
14229
14230         * unroll.c (biv_total_increment): Likewise.
14231
14232 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14233
14234         * reload1.c (emit_input_reload_insns): Restore old behaviour
14235         wrt. 'special' reloads.
14236
14237 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
14238
14239         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
14240         hash.h.  (cse.c): Don't depend on hashtab.h.
14241
14242         * cse.c: Don't include hashtab.h.
14243         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
14244         of dead functions.
14245         * ggc-simple.c: Don't include hash.h.
14246
14247 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
14248
14249         * dwarf2out.c (add_abstract_origin_attribute): Call
14250         gen_abstract_function on our function context.
14251
14252 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
14253
14254         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
14255
14256 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14257
14258         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
14259         case in switch.
14260
14261 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14262
14263         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
14264         constraints to "a!r".
14265
14266 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
14267
14268         * Makefile.in (calls.o): Depend on function.h.
14269         (alias.o): Likewise.
14270
14271 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
14272
14273         * reload1.c (emit_reload_insns): Break out code and variables into...
14274         (input_reload_insns, other_input_address_reload_insns,
14275         other_input_reload_insns, input_address_reload_insns,
14276         inpaddr_address_reload_insns, output_reload_insns,
14277         output_address_reload_insns, outaddr_address_reload_insns,
14278         operand_reload_insns, other_operand_reload_insns,
14279         other_output_reload_insns): ... new static variables, and...
14280         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
14281         do_output_reload): ... new functions.
14282
14283 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14284
14285         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
14286
14287 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14288
14289         * md.texi: Add c4x constraints documentation.
14290
14291 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
14292
14293         * config/i386/dgux.c (struct option): Rename to
14294         lang_independent_option.
14295         (struct m_options): Add description field.
14296         (output_options): Rename option type, add sep declaration, output
14297         ix86_cpu_string and ix86_arch_string only if set.
14298         (output_file_start): Rename option type.
14299
14300 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
14301
14302         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
14303         stmp-int-hdrs.
14304         (libgcc2.a): Similarly.
14305
14306 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
14307
14308         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
14309         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
14310         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
14311
14312 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
14313
14314         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
14315         Remove redundant initialization of "frexpon" and "expon".
14316
14317 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14318
14319         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
14320
14321         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
14322         (store_constructor_field, expand_expr): Pass new arg.
14323
14324 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
14325
14326         * Makefile.in (explow.o): Depend on function.h.
14327
14328         * stor-layout.c (set_sizetype): Fix typo.
14329
14330 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
14331
14332         * function.c (cfun): Renamed from current_function.  All users
14333         changed.
14334         * function.h (cfun): Rename declaration as well.
14335
14336         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
14337         to be of type regset_head, not regset.  All users changed by adding
14338         address operator.
14339         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
14340
14341 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14342
14343         * config/c4x/rtems.h: New file.
14344
14345 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
14346
14347         * reload1.c (spill_failure): Take class of failed reload as argument
14348         and print it.  Caller changed.
14349
14350 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14351
14352         * rs6000.h (SUBTARGET_DEFAULT): New macro.
14353         (TARGET_SWITCHES): Allow subtargets to default switches.
14354         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
14355
14356 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
14357
14358         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
14359         in a main program.
14360
14361 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
14362
14363         * cccp.c (main): Define __STDC_VERSION__ as necessary.
14364         * cppinit.c (cpp_handle_option): Likewise.
14365
14366         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
14367         determine when to define.
14368
14369 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
14370
14371         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
14372         cmove with mismatched test and data modes.
14373
14374 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
14375
14376         * c-typeck.c (c_expand_start_case): Don't warn for long switch
14377         in system headers.
14378
14379 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14380
14381         * alias.c: Minor reformatting.
14382         * flow.c: Likewise.
14383         * regs.h: Likewise.
14384         * stor-layout.c: Likewise.
14385         * fold-const.c: Likewise.
14386         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
14387         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
14388         not arg itself.
14389         (size_int_wide): Cache nodes even if garbage collecting.
14390         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
14391         of SAVE_EXPR has no side effects.
14392         * cse.c: Move a comment.
14393         * tree.c: Minor reformatting.
14394         (int_size_in_bytes): Return -1 if constant overflows.
14395
14396 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14397
14398         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
14399
14400 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
14401
14402         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
14403         after any change to c-parse.in, even if objc-parse.y didn't
14404         change.  Oops.
14405
14406 1999-12-18  David S. Miller  <davem@redhat.com>
14407
14408         * toplev.c (rest_of_compilation): Restore BLOCK tree
14409         reconstruction and branch shortening changes lost in
14410         December 18th change.
14411
14412 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
14413
14414         * config/arm/linux-elf.h: Change all instances of
14415         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
14416         * config/arm/uclinux-elf.h: Likewise.
14417
14418 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
14419
14420         * toplev.c (notice, vmessage, v_message_with_file_and_line,
14421         v_message_with_decl, file_and_line_for_asm,
14422         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
14423         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
14424         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
14425         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
14426         pfatal_with_name, fatal_io_error, need_error_newline,
14427         last_error_function, last_error_tick, announce_function,
14428         default_print_error_function, print_error_function,
14429         report_error_function, fnotice, error_with_file_and_line,
14430         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
14431         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
14432         warning_with_decl, warning_for_asm, warning, pedwarn,
14433         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
14434         diagnostic.c
14435         (compile_file): Use fnotice instead of notice.  Adjust call.
14436
14437         * diagnostic.c: New file.
14438
14439         * Makefile.in (OBJS): Include diagnostic.o
14440         (diagnostic.o): Define dependence.
14441
14442 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14443
14444         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
14445         Tweak formatting.
14446
14447 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14448
14449         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
14450
14451 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
14452
14453         * fixtests.c (is_cxx_header): New fn, split out of
14454         double_slash_test.
14455         (else_endif_label): Allow "#endif // comment" in C++ headers,
14456         as determined by is_cxx_header.
14457         * fixfixes.c (else_endif_label_fix): Update comment.
14458         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
14459         a tty.
14460         * genfixes: Correct double thinko in commandline parsing.
14461         * hackshell.tpl: Generate correct sh syntax for bypass
14462         entries.
14463
14464         * inclhack.def (all): Whenever an inserted preprocessor
14465         conditional is split over multiple lines, use double
14466         backslashes in this file so the fixed header will be readable.
14467
14468         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
14469         and add bypass entry for correct version of this header.
14470         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
14471         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
14472
14473         (hpux8_bogus_inlines): New fix, split from...
14474         (ultrix_atof_param) ... here.
14475         (math_expression): Add bypass entry keyed to glibc comment
14476         indicating the problem has been dealt with; disable
14477         unnecessary sed operations; update commentary.
14478         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
14479         add select and bypass entries, simplify shell operation.
14480         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
14481
14482         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
14483          ultrix_atof_param): Add select entry.
14484         (stdio_va_list, sunos_mather_decl): Add bypass entry.
14485         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
14486         comments with the fixes they describe.
14487
14488         * c-parse.in (string action): Do not warn about ANSI string
14489         concatenation in system headers.  Affects C parser only.
14490         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
14491
14492 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
14493
14494         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
14495         compiling libgcc2 the macro depends always on arch cpp defines.
14496
14497 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
14498
14499         * loop.c (insert_loop_mem): Don't record MEMs from inside
14500         EXPR_LISTs.
14501
14502 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
14503
14504         * regclass.c (regclass): Do not use flowgraph when not optimizing.
14505
14506         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
14507         notes too, create one when replacement failed, attempt to simplify
14508         resulting notes.
14509         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
14510         or REG_EQUIV notes.
14511
14512 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
14513
14514         * crtstuff.c (__dso_handle): Declare.
14515         (__cxa_finalize): Likewise.
14516         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
14517         non-NULL.
14518
14519         * invoke.texi: Document -fuse-cxa-atexit.
14520
14521         * tree.h (ptr_type_node): Document.
14522         (const_ptr_type_node): Likewise.
14523
14524 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14525
14526         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
14527         (optimize_reg_copy_2): Likewise.
14528         (optimize_reg_copy_3): Likewise.
14529         (fixup_match_2): Likewise.
14530         (regmove_optimize): Likewise.
14531         (fixup_match_1): Liekwise.
14532
14533         * i386.md (HI to SImode promoting splitters): Rewrite.
14534         (pushsf mem peep2): New.
14535         (testhi to andhi peep2): Remove.
14536         * i386.h (x86_promote_QImode): New.
14537         (TARGET_PROMOTE_QImode): New.
14538         (PREDICATE_CODES): Add promotable_binary_operator.
14539         * i386.c (x86_promote_QImode0: New.
14540         (promotable_binary_operator): New.
14541         * i386-protos.h (promotable_binary_operator): New.
14542
14543         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
14544         condition.
14545         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
14546
14547 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
14548
14549         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
14550         * function.c (insert_block_after_note): Remove.
14551         (retrofit_block): Likewise.
14552         (identify_blocks): Fix indentation.
14553         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
14554         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
14555         * function.h (insert_block_after_note): Remove prototype.
14556         (retrofit_block): Likewise.
14557         * integrate.c (expand_inline_function): Don't call
14558         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
14559         just expand_start_bindings.  Use the block_map to remap old
14560         NOTE_BLOCKs to new ones.
14561         (integrate_decl_tree): Keep track of remapped blocks.
14562         * integrate.h (struct inline_remap): Add block_map.
14563         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
14564         NOTE_BLOCK on the notes.
14565         (expand_start_bindings): Rename to ...
14566         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
14567         (expand_end_bindings): Set NOTE_BLOCK.
14568         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
14569         reconstruct the BLOCK tree.
14570         * tree.h (expand_start_bindings): Macroize.  Call ...
14571         (expand_start_bindings_and_block): New function.
14572
14573 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
14574
14575         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
14576         to match the format.
14577
14578 1999-12-16  David S. Miller  <davem@redhat.com>
14579
14580         * expr.c (emit_move_insn_1): Only emit clobbers if one of
14581         the outputs is a SUBREG.
14582         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
14583         change.
14584
14585         * config/sparc/sparc.c (epilogue_renumber): Add default case
14586         to switch stmt.
14587
14588 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14589
14590         * toplev.c (rest_of_compilation): Run branch shortening after
14591         reg-stack.
14592
14593         * regclass.c (loop_depth): Remove
14594         (scan_one_insn): Do not handle LOOP_NOTE insns.
14595         (regclass): Go through basic blocks and set loop_cost
14596
14597 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
14598
14599         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
14600
14601 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14602
14603         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
14604         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
14605         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
14606
14607 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
14608
14609         * loop.c (insert_loop_mem): Ignore memory clobbers.
14610
14611         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
14612         to (OP A B).
14613
14614 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
14615
14616         * profile.c: Remove redundant #include "output.h".
14617
14618         * h8300.md (HImode preinc peephole): Fix typo.
14619
14620 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
14621
14622         * function.c (retrofit_block): Abort if we don't find a suitable insn.
14623         (insert_block_after_note): Abort if we don't have a previous block.
14624         Remove FN parameter.
14625         * function.h: Adjust.
14626
14627 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
14628
14629         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
14630         argument more than once.
14631
14632 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
14633
14634         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
14635
14636 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
14637
14638         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
14639
14640 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14641
14642         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
14643         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
14644         update stack_alignment_needed.
14645         (prepare_function_start): Initialize stack_alignment_needed
14646         * function.h (struct function): Add field stack_alignment_needed.
14647
14648 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14649
14650         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
14651         Handle live_throughout / dead_or_set instead of live_before /
14652         live_after.
14653         (save_call_clobbered_regs): Get register livenessinformation from
14654         chain->live_throughout.
14655         (add_stored_regs): New function.
14656         (insert_restore, insert_save): Add restored / saved registers to
14657         dead_or_set.
14658         * global.c (reg_dies): New parameter chain.
14659         (reg_becomes_live): Third parameter is regs_set now.
14660         Changed all callers.
14661         (reg_dies): New parameter chain.  Changed all callers.
14662         (build_insn_chain): Set live_throughout instead of
14663         live_before / live_after.
14664         * reload.h (struct insn_chain): Replace members live_before /
14665         live_after with live_throughout / dead_or_set.
14666         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
14667         instead of live_before / live_after.
14668         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
14669         (order_regs_for_reload, find_reg, finish_spills): Likewise.
14670         (choose_reload_regs_init): Likewise.
14671         * stupid.c (current_chain, find_clobbered_regs): Delete.
14672         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
14673         instead of chain->live_before / chain->live_after.
14674         (mark_hard_ref): New function.
14675         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
14676
14677 1999-12-15  David S. Miller  <davem@redhat.com>
14678
14679         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
14680
14681 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14682
14683         * flow.c (calculate_loop_depth): Make global, remove prototype,
14684         rewrite to use new loop infrastructure.
14685         (find_basic_block): Remove calculate_loop_depth call.
14686         * toplev.c (rest_of_compilation): Call find_basic_block.
14687         * output.h (calculate_loop_depth): Declare.
14688
14689         * flow.c (dump_flow_info): Dump loop_depth.
14690         (flow_loops_nodes_find): Increase loop_depth for basic block in the
14691         body.
14692         (flow_loops_find): Initialize the loop_depth for each basic block.
14693
14694 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
14695
14696         * tree.c (decl_function_context): Handle virtual functions.
14697
14698         * tlink.c (scan_linker_output): Don't look in demangled name when
14699         looking for linker output keywords.
14700
14701         * dwarfout.c (output_type): We can defer namespace-scope classes.
14702
14703 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
14704
14705         * regclass.c (record_reg_classes): Update comment for merging
14706         register class preferences in reg->reg copies.  Tighten conditions
14707         for merging register class preferences in reg->reg copies.
14708
14709 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
14710
14711         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
14712
14713 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
14714
14715         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
14716         (INIT_SECTION_ASM_OP): Delete.
14717         (FINI_SECTION_ASM_OP): Delete.
14718         (STARTFILE_SPEC): Define to hold just crtbegin.o.
14719
14720 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
14721
14722         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
14723         the abstract origin wasn't emitted.
14724
14725         * dwarf2out.c (class_scope_p): New fn.
14726         (gen_subprogram_die): Use it.
14727         (gen_variable_die): Use it.  Tweak logic.
14728         (gen_struct_or_union_type_die): Check context_die to determine
14729         if we're function-local.
14730         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
14731
14732 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14733
14734         * loop.c (check_dbra_loop): Can't reverse a biv that has
14735         maybe_multiple set.
14736
14737 1999-12-14  Nick Clifton  <nickc@cygnus.com>
14738
14739         * config/arm/arm.c: Add support for -mcpu=arm720 command line
14740         switch.
14741
14742 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14743
14744         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
14745         for givs made from biv increments.
14746
14747 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
14748
14749         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
14750         * alpha.c (override_options): Recognize -mcpu=ev67.
14751         * alpha.h (CPP_CPU_EV67_SPEC): New.
14752         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
14753         (EXTRA_SPECS): Update.
14754
14755 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
14756
14757         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
14758         appropriate for -lang-c89 and -std=*.
14759         * cppinit.c (cpp_handle_option): Likewise.
14760         (new_pending_define): New, split out from cpp_handle_option.
14761         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
14762         or enable trigraphs for -ansi/-std=*.
14763
14764         * ginclude/stdarg.h (__va_copy): New.
14765         (va_copy): Don't define for C89.
14766
14767 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
14768
14769         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
14770         for long long multiply-accumulate.
14771
14772 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14773
14774         * regclass.c (scan_one_insn): Set loop_cost to 1 when
14775         optimizing for size.
14776
14777 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14778
14779         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
14780         if something changed.  Back out that part of yesterday's changes.
14781
14782         * loop.c (loop_max_reg): New static variable.
14783         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
14784         max_reg_num.
14785         (scan_loop): Call reg_scan_update whenever we may have added new
14786         registers, and update loop_max_reg.
14787
14788 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14789
14790         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
14791         when source does not die.
14792
14793         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
14794
14795 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
14796
14797         * config/sparc/linux64.h (TARGET_LIVE_G0,
14798         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
14799         variants on Linux.
14800         * config/sparc/linux.h (TARGET_LIVE_G0,
14801         TARGET_BROKEN_SAVERESTORE): Likewise.
14802         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
14803         TARGET_BROKEN_SAVERESTORE): Likewise.
14804
14805         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
14806         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
14807         not %g2.
14808         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
14809         as sparc64 block profiling register.
14810         * config/sparc/sparc.c (sparc_override_options): Allow block
14811         profiling with -m32.
14812         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
14813         profiling register.
14814         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
14815         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
14816         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
14817
14818         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
14819         for sparc64.
14820         * config/sparc/sparc.h: Likewise.
14821         * config/sparc/xm-sysv4-64.h: Likewise.
14822         * config/float-sparc.h: Likewise.
14823         * glimits.h: Likewise.
14824         * longlong.h: Likewise.
14825
14826         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
14827         (ASM_IDENTIFY_GCC): Remove.
14828
14829 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14830
14831         * combine.c (combine_simplify_rtx): Don't make shared rtl.
14832         (simplify_logical): Likewise.
14833
14834 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
14835
14836         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
14837         * cppfiles.c (INO_T_EQ): Likewise.
14838
14839 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
14840
14841         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
14842         * i386/mingw32.h (LIB_SPEC): Likewise.
14843         (STARTFILE_SPEC): Likewise.
14844         * i386/uwin.h (LIB_SPEC): Likewise.
14845         (STARTFILE_SPEC): Likewise.
14846
14847         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
14848         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
14849
14850 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
14851
14852         * combine.c (combine_simplify_rtx): Fix order of checks for
14853         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
14854
14855 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
14856
14857         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
14858         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
14859
14860 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
14861
14862         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
14863         defined.
14864         * regclass.c (inv_reg_alloc_order): New array.
14865         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
14866
14867         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
14868         counted_for_groups, counted_for_nongroups.  Add fields rld and
14869         n_reloads.
14870         * reload.c (push_secondary_reload): Don't set nongroup field of
14871         new reloads.
14872         (push_reload): Likewise.
14873         (find_reloads): Delete code to compute nongroup fields.
14874         * reload1.c (reload_insn_firstobj): New static variable.
14875         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
14876         users changed.
14877         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
14878         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
14879         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
14880         functions.
14881         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
14882         functions.
14883         (struct hard_reg_n_uses): Deleted.
14884         (potential_reload_regs): Deleted.
14885         (init_reload): Initialize spilled_pseudos and pseudos_counted.
14886         (reload): Don't try to allocate reload registers if we already know
14887         we have to make another pass.  Call select_reload_regs.  Free memory
14888         starting with reload_firstobj when starting another pass.
14889         Don't allocate spilled_pseudos.
14890         (calculate_needs_all_insns): Call copy_reloads for an insn that
14891         needs reloads; don't call calculate_needs.
14892         (spill_cost): New static array.
14893         (used_spill_regs_local): New static variable.
14894         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
14895         to compute potential_reload_regs.
14896         (find_reload_regs): Completely rewritten to use find_reg.
14897         (allocate_reload_reg): Don't test counted_for_groups or
14898         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
14899         all cllers changed.
14900         (choose_reload_regs): Add fallback code that uses the existing
14901         register allocation from find_reload_regs.
14902
14903 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
14904
14905         * flow.c (create_edge_list): Cast xmalloc return value.
14906
14907 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
14908
14909         * doprnt.c: Remove incorrect comment closure.
14910
14911         * cse.c: Fix a few minor whitespace goofs.
14912
14913 1999-12-13  Don Bowman  <don@pixstream.com>
14914
14915         * mips/vxworks.h: Fix problem with comment termination.
14916         (EXTRA_SECTIONS): Add in_sbss.
14917         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
14918
14919 1999-12-12  David S. Miller  <davem@redhat.com>
14920
14921         * cse.c (struct cse_reg_info): Add hash_next member,
14922         reorder rest of struct for better packing on 64-bit
14923         hosts.
14924         (cse_reg_info_tree): Kill.
14925         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
14926         REGHASH_FN): New custom pow2 hash mechanism.
14927         (NBUCKETS): Kill.
14928         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
14929         use a pow2 hash table.
14930         (get_cse_reg_info): Rework to use new REGHASH.
14931         (new_basic_block): Likewise, use HASH_SIZE, and inline
14932         free_element call.
14933         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
14934         and inline free_element call.
14935         (lookup_as_function, insert, flush_hash_table, invalidate,
14936         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
14937         invalidate_for_call, use_related_value, find_comparison_args,
14938         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
14939         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
14940         get_element): Kill.
14941
14942 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
14943
14944         * cse.c (cse_basic_block): Free qty_table consistently.
14945
14946 1999-12-12  David S. Miller  <davem@redhat.com>
14947             Jakub Jelinek    <jakub@redhat.com>
14948
14949         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
14950         SUBREGs by hand, gen the appropriate hard reg directly.
14951         (movtf reg/mem split): Likewise and alter_subreg on destination
14952         if necessary.
14953         (movtf mem/reg split): Similarly.
14954         (movdf_cc_sp64): Rename from hidden pattern.
14955         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
14956         (movtf_cc_sp64, following split): New pattern and splitter.
14957         (movdf_cc_reg_sp64): Rename from hidden pattern.
14958         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
14959         TARGET_HARD_QUAD.
14960         (movtf_cc_reg_sp64, following split): New pattern and splitter.
14961
14962 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
14963
14964         * loop.c (load_mems): Don't hoist written floating point mem
14965         if -ffloat-store.
14966
14967 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
14968
14969         * except.h (struct eh_queue): Add `next' pointer.
14970         (struct eh_status): Make x_ehqueue a pointer.
14971         (push_ehqueue):  Declare.
14972         (pop_ehqueue): Likewise.
14973         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
14974         pointer.
14975         (expand_fixup_region_end): Likewise.
14976         (expand_leftover_cleanups): Likewise.
14977         (push_ehqueue): Define.
14978         (pop_ehqueue): Likewise.
14979         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
14980         than doing it inline.
14981         (expand_start_all_catch):  Adjust now that ehqueue is a
14982         pointer.
14983         (mark_eh_queue): Mark all level of the queue.
14984         (mark_eh_status):  Adjust now that ehqueue is a
14985         pointer.
14986         (init_eh_for_function): Allocate ehqueue.
14987         (free_eh_status): Free it.
14988         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
14989         expansion for a fixup.
14990
14991 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14992
14993         * gthr-single.h (__gthread_active_p): Add prototype arguments.
14994
14995         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
14996         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
14997         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
14998         function_ptr, getpagesize, __enable_execute_stack,
14999         __enable_execute_stack, __clear_insn_cache,
15000         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
15001         _cleanup, _exit, __default_terminate, __terminate_func,
15002         __terminate, __empty, __throw, new_eh_context,
15003         eh_context_initialize, eh_context_static, eh_context_specific,
15004         get_eh_context, __get_eh_context, __get_eh_info,
15005         init_reg_size_table, eh_threads_initialize,
15006         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
15007         __unwinding_cleanup, throw_helper, __throw, __rethrow,
15008         __pure_virtual): Add prototype arguments.
15009         (__bb_exit_func): Cast a sizeof to long when comparing against one.
15010         Cast a signed value to unsigned long when comparing against one.
15011         (new_eh_context): Wrap in _GTHREADS macro.
15012         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
15013         declaration.
15014         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
15015         (throw_helper): Initialize variables `handler_p' and `pc_p'.
15016
15017 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15018
15019         * combine.c (record_promoted_value): Remove unused variable
15020         `links2'.
15021
15022         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
15023
15024         * global.c (record_conflicts): Likewise for `j'.
15025
15026         * genoutput.c (output_insn_data): Don't unnecessarily cast away
15027         const-ness.
15028
15029 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15030
15031         * i386-protos.h (output_387_binary_op, output_fix_trunc,
15032         output_fp_compare): Constify a char*.
15033
15034         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
15035         static prototypes.
15036         (override_options, ix86_comp_type_attributes, print_operand,
15037         output_387_binary_op, output_fix_trunc, output_fp_compare):
15038         Constify a char*.
15039         (ix86_sched_reorder): Mark parameter `clock_var' with
15040         ATTRIBUTE_UNUSED.
15041
15042         * i386.h (DEBUG_PRINT_REG): Constify a char*.
15043
15044 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
15045
15046         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
15047         operand, for use in the Java front-end.
15048
15049 1999-12-10  Ben Collins  <bcollins@debian.org>
15050
15051         * configure.in: Fix typo for "-64" in 64bit as check.
15052         * configure: Rebuilt.
15053
15054 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
15055
15056         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
15057         appropriate.
15058
15059 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15060
15061         * c-parse.in (string): With -Wtraditional, warn if ANSI string
15062         concatenation is utilized.
15063
15064         * invoke.texi (-Wtraditional): Document it.
15065
15066 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15067
15068         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
15069         Cast a ptrdiff_t to long and pass it to printf with %ld.
15070
15071 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
15072
15073         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
15074         68881, we have no 68881 registers at all.
15075         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
15076         value in a 68881 register if it is available.
15077
15078 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
15079
15080         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
15081         for long long multiply-accumulate.
15082
15083 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
15084
15085         * loop.c (insert_loop_mem): Undo last change.
15086
15087 1999-12-10  David S. Miller  <davem@redhat.com>
15088
15089         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
15090         New functions.
15091         * config/sparc/sparc-protos.h: Add them.
15092         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
15093         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
15094         constraints which use those helpers.
15095         (EXTRA_CONSTRAINT): Use this new macro.
15096         * md.texi: Update sparc target constraints documentation.
15097         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
15098         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
15099         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
15100         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
15101         (movsf high/lo_sum split): Rework for new patterns.
15102         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
15103
15104 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
15105
15106         * c-common.c (c_common_nodes_and_builtins):
15107         Create __builtin_ptrdiff_t and __builtin_size_t.
15108
15109 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
15110
15111         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
15112
15113 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15114
15115         * regclass.c (globalize_reg): Re-instate test that allows
15116         fixed registers to be declared as a variable even after functions
15117         are defined.
15118
15119 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15120
15121         * i386.md (cpu attribute): Add "athlon".
15122         (athlon_decode): New attribute.
15123         (Athlon scheduling units definitions): New.
15124         (fcmp and shld patterns): Set athlon_decode to "vector".
15125         * i386.c (athlon_cost): New.
15126         (m_ATHLON): New.
15127         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
15128         x86_use_sahf): Set for Athlon.
15129         (x86_use_fiop): Unset for Athlon.
15130         (override_options): Define Athlon alignments and "athlon" name.
15131         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
15132         * i386.h (TARGET_ATHLON): New.
15133         (enum processor_type): Add PROCESSOR_ATHLON.
15134         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
15135         for CPU_DEFAULT==5
15136         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
15137
15138 1999-12-09  Andreas Jaeger  <aj@suse.de>
15139
15140         * loop.c (record_biv): Declare parameter as int.
15141
15142         * config/i386/i386-protos.h: Declare long_memory_operand.
15143
15144 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
15145
15146         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
15147         EXPR_WITH_FILE_LOCATION.
15148
15149 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
15150
15151         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
15152         in expander.
15153
15154         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
15155
15156         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
15157         updating code.
15158
15159 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
15160
15161         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
15162         default on linux64 again.
15163         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
15164         models for multilibing.
15165         * genmultilib: Accept | as alternative separator within a set in
15166         MULTILIB_OPTIONS.
15167
15168         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
15169
15170         * calls.c (precompute_arguments): Make sure initial_value contains
15171         value pseudo which CSE expects.
15172         * cse.c (struct set): New entry orig_src.
15173         (cse_insn): Set it early on entry, use it for libcall EQUIV note
15174         replacement.
15175
15176 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
15177
15178         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
15179
15180 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
15181
15182         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
15183
15184 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
15185
15186         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
15187         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
15188
15189         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
15190         if TARGET_ARCH32.
15191
15192         * longlong.h: Merge in changes from glibc.
15193         Also don't clobber %g2 register in 32bit SPARC assembly, so that
15194         -mno-app-regs libgcc can be compiled.
15195         * libgcc2.c: Add defines so that the updated longlong.h
15196         can be used in libgcc2.a. Also, make sure on most architectures
15197         (at least on all which have optimized code in longlong.h defined
15198         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
15199
15200 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15201
15202         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
15203         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
15204         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
15205         is GNU ld.
15206         * configure: Rebuilt.
15207
15208 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
15209
15210         * alpha.c (secondary_reload_class): For !BWX, sub-simode
15211         outputs require a register.
15212
15213 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
15214
15215         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
15216         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
15217         functions like dptoul will be resolved.
15218         (libgcc2.a): Make sure that the object files from DPBIT are named
15219         differently (prefix `_dp') from those that would be coming from
15220         FPBIT.
15221
15222 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
15223
15224         * configure.in: When target is sparc* and tm_file contains 64,
15225         test for 64bit support in assembler.  If not supported, remove
15226         sparc/t-sol2-64 from target-dependent Makefile fragments.
15227         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
15228         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
15229         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
15230         * acconfig.h (AS_SPARC64_FLAG): Added.
15231         * configure, config.in: Rebuilt.
15232         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
15233         support.  Use AS_SPARC64_FLAG.
15234
15235 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
15236
15237         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
15238         suitable for holding OFmode values so that gcc works with complex
15239         quad long doubles.
15240         (hard_64bit_mode_classes): Likewise.
15241
15242         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
15243         so that it is actually matched.
15244         (sethi_di_medlow): Likewise.
15245
15246         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
15247         as legitimate constant if -mvis.
15248         * config/sparc/sparc.md (movtf): Likewise.
15249         (clear_sf): Use const_double_operand.
15250         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
15251
15252         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
15253         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
15254         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
15255         routines, _Qp_* cannot be handled like that now.
15256         (INIT_TARGET_OPTABS): Likewise.
15257         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
15258         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
15259         sparc_emit_float_lib_cmp if ARCH64 and soft float.
15260         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
15261         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
15262         divtf3, sqrttf3): New expanders.
15263         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
15264         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
15265         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
15266         non-_hq patterns.
15267
15268         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
15269         * configure: Rebuilt.
15270         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
15271         -mcpu is given and we're doing 64bit compiles.
15272
15273 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
15274
15275         * loop.h (struct induction): Add multi_insn_incr.
15276         * loop.c (basic_induction_var): New multi_insn_incr argument.
15277         Set it if we search back through previous insns for the biv.
15278         (record_biv): New multi_insn_incr argument; fill in struct induction.
15279         (strength_reduce): Discard an iv with multiple bivs, any of
15280         which require multiple insns to increment.
15281
15282 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15283
15284         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
15285         documentation.
15286
15287 1999-12-06  David S. Miller  <davem@redhat.com>
15288
15289         * combine.c (check_promoted_subreg): Do not conditionalize this upon
15290         PROMOTE_FUNCTION_RETURN.
15291
15292 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
15293
15294         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
15295         and handle REG_UNUSED note on insn.
15296
15297         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
15298         inner_mask instead of mask.
15299
15300 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
15301
15302         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
15303         zero if there was an error.
15304
15305 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
15306
15307         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
15308         output string.
15309
15310         * longlong.h: Fix clobbers in SPARC asm statements.
15311
15312         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
15313         valid sethi operations when TARGET_ARCH64.
15314
15315         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
15316         always use move_by_pieces to avoid infinite recursion.
15317         (restore_fixed_argument_area): Likewise.
15318
15319         * combine.c (check_promoted_subreg, record_promoted_value): New
15320         functions.
15321         (combine_instructions): Use them to retain nonzero and sign bit
15322         information after SUBREGs are eliminated by optimizations in
15323         this pass if PROMOTE_FUNCTION_RETURN.
15324
15325         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
15326         .register declaration. Don't use variables with __ prefixes.
15327
15328 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15329
15330         * fold-const.c (optimize_bit_field_compare): Only use one mode
15331         for both RHS and LHS in non-constant case.
15332
15333 1999-12-06  Nathan Sidwell  <nathan@acm.org>
15334
15335         * frame.c (start_fde_sort): Only allocate erratic array, if
15336         linear one was allocated. Return allocated flag.
15337         (fde_insert): Only insert, if there's a valid array.
15338         (fde_end_sort): Split, sort and merge if linear and erratic
15339         arrays exist, else just sort linear one.
15340         (search_fdes): New function. Linear search through original fde
15341         structure.
15342         (frame_init): Permit multiple initializations. Cope with
15343         memory shortages.
15344         (find_fde): Fallback on linear search, if failed to sort array.
15345         (__deregister_frame_info): Only free sorted array, if we
15346         allocated it.
15347
15348 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
15349
15350         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
15351
15352 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
15353
15354         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
15355
15356 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
15357
15358         * tree.h (special_function_p): Declare.
15359         * calls.c (special_function_p): Make it global.  Don't take `name'
15360         as a parameter.  Fix typo in 1999-11-28 change.
15361         (expand_cal): Adjust.
15362
15363 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
15364
15365         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
15366         * tree.h (EXPR_WFL_FILENAME): Define in terms of
15367         EXPR_WFL_FILENAME_NODE.
15368         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
15369         the TREE_CHAIN.
15370         * print-tree.c (print_note): Print TREE_PRIVATE and
15371         TREE_PROTECTED.
15372
15373         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
15374         the original die cannot be found.
15375
15376         * varray.h (varray_head_tag): Add elements_used.
15377         (VARRAY_PUSH): New macro.
15378         (VARRAY_POP): Likewise.
15379         (VARRAY_TOP): Likewise.
15380         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
15381         types.
15382         * varray.c (varray_init): Initialize elements_used.
15383         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
15384         (INTEGRATE_H): New variable.
15385         (integrate.o): Depend on INTEGRATE_H.
15386         (unroll.o): Likewise.
15387
15388         * function.h (insert_block_after_note): Declare.
15389         * function.c (insert_block_after_note): Split out from ...
15390         (retrofit_block): ... here.
15391
15392         * stmt.c (expand_fixup): Fix typo in comment.
15393
15394 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15395
15396         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
15397         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
15398         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
15399         (regmove_optimize, fixup_match_1): Likewise.
15400
15401 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15402
15403         * flow.c (flow_loops_dump): Add missing argument when calling
15404         flow_loop_nested_p.
15405
15406 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
15407             Greg McGary  <gkm@gnu.org>
15408
15409         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
15410         (init_attributes): Add A_NO_LIMIT_STACK.
15411         (decl_attributes): Handle A_NO_LIMIT_STACK.
15412         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
15413         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
15414         Handle stack bounds checking.
15415         * flags.h (flag_stack_check): Use the word 'probe' rather than
15416         'check', because the flag doesn't actually cause any checking to
15417         be done.
15418         * function.c (expand_function_start): Set
15419         current_function_limit_stack.
15420         * function.h (struct function): Add limit_stack.
15421         (current_function_limit_stack): Define.
15422         * invoke.texi (Code Gen Options): Document new options.
15423         * rtl.h: Declare stack_limit_rtx.
15424         * toplev.c (stack_limit_rtx): New variable.
15425         (decode_f_option): Handle new options -fstack-limit-register=REG,
15426         -fstack-limit-symbol=IDENT, -fno-stack-limit.
15427         (main): Add stack_limit_rtx as GC root.
15428         * tree.h (DECL_NO_LIMIT_STACK): New macro.
15429         (struct tree_decl): New member no_limit_stack.
15430
15431         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
15432         stack_limit_rtx.
15433         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
15434         (conditional_trap+1): Get new mnemonic correct.
15435         (conditional_trap+2): New pattern for DImode traps.
15436
15437         * config/m68k/m68k.c (output_function_prologue): Handle
15438         stack_limit_rtx.
15439         * config/m68k/m68k.md (trap): New insn.
15440         (conditional_trap): New insn.
15441         * md.texi (Standard Names): Document `trap' and
15442         `conditional_trap'.
15443         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
15444         so a cc0 setter doesn't get emitted at some random place in the
15445         function.
15446
15447         * config/i960/i960.md (trap): New insn.
15448         (conditional_trap): New expander.
15449         (conditional_trap+1, conditional_trap+2): New insns for signed
15450         and unsigned cases.
15451         * config/i960/i960.c (i960_function_prologue): Use
15452         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
15453
15454 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
15455                           Geoffrey Keating  <geoffk@cygnus.com>
15456
15457         * flags.h (warn_padded, warn_packed): Add global var decls.
15458         * toplev.c (warn_padded, warn_packed): Add global var defns.
15459         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
15460         * stor-layout.c (layout_record): Add local variable `type'
15461         to hold often-used TREE_TYPE (field).  Add local variable
15462         `unpacked_align' to hold alignment that would be in force
15463         if no `packed' attribute were present.  Warn if `packed' attribute
15464         is unnecessary, or even harmful.  Warn when gcc inserts padding
15465         to satisfy alignment requirements of members.  Use NULL_TREE
15466         when checking whether var_size is set.
15467         * invoke.texi: Document new flags.
15468
15469 1999-12-03  Nathan Sidwell  <nathan@acm.org>
15470
15471         * frame.c (fde_split): Reimplement to avoid variable sized array.
15472
15473 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15474
15475         * combine.c (try_combine): Before fixing up LOG_LINKS for the
15476         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
15477
15478 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
15479
15480         * invoke.texi: Document the mips option -mno-crt0
15481
15482 1999-12-02  Mike Karr  <mkarr@mathworks.com>
15483
15484         * cccp.c (argdata): Added free_ptr member.
15485         (macroexpand): Initialize free_ptr of each argument. When an
15486         argument's buffers are freed, if the argument's free_ptr corresponds
15487         to a buffer on the input stack, then return the free_ptr to that stack
15488         frame, otherwise, free it.
15489         (macarg): If an argument begins and ends on the same input stack level,
15490         then transfer the free_ptr of that buffer to the argument in case
15491         the stack is popped during the processing of a subsequent argument.
15492
15493 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
15494
15495         * loop.c (note_reg_stored): New function.
15496         (struct note_reg_stored_arg): New structure.
15497         (try_copy_prop): Change to be more conservative; only replace within
15498         one extended basic block and stop replacing if a store to the
15499         replacement reg is seen.
15500
15501 1999-12-02  Nick Clifton  <nickc@cygnus.com>
15502
15503         * config/fp-bit.c: Initialise all fields of the NAN
15504         constants.
15505
15506         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
15507         to HANDLE_PRAGMA.
15508
15509 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
15510
15511         * i386.md (extend?f?f2): Force the input into a register, not
15512         the output.
15513
15514 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
15515
15516         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
15517         regclass' sake.
15518         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
15519         alternative because setting up 64bit constant is usually costly,
15520         especially when reload is in progress or completed.
15521         (movdf_const_intreg_sp64): Likewise.
15522         (movdf_const_intreg split): Fix building up constants when
15523         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
15524
15525 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
15526
15527         * combine.c (if_then_else_cond): Use const_true_rtx instead of
15528         const1_rtx for return values in EQ/NE comparison against (const_int 0)
15529         case.
15530
15531         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
15532         (asm_file_start): Emit .am33 into assembly file when compiling for
15533         the AM33.
15534         (print_operand_address): Handle POST_INC addresses.
15535         (can_use_return_insn, initial_offset): Check AM33 registers too.
15536         (expand_prologue): Check & save AM33 registers too.
15537         (expand_epilogue): Similarly.
15538         (secondary_reload_class): Handle AM33 specific secondary reloads.
15539         (output_tst): Emit efficient code for the AM33 too.
15540         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
15541         (TARGET_SWITCHES): Add -mam33 switch.
15542         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
15543         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
15544         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
15545         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
15546         (enum reg_class, REG_CLASS_NAMES): Likewise.
15547         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
15548         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
15549         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
15550         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
15551         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
15552         (HAVE_POST_INCREMENT): Define.
15553         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
15554         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
15555         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
15556         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
15557         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
15558         (zero_extend to SI from QI/HI): Likewise.
15559         (sign_extend to SI from QI/HI): Likewise.
15560         (mulsidi3, umulsidi3): New patterns for the AM33.
15561         (tstsi with zero extension from QI/HI): Add AM33 variants.
15562         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
15563         (return_internal_regs, store_movm): Handle new AM33 registers.
15564         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
15565         (LIBGCC, INSTALL_LIBGCC): Likewise.
15566         * invoke.texi: Document new flags.
15567
15568 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15569
15570         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
15571         (addsi3_carry): Likewise.
15572         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
15573         (sbbsi3_carry): Likewise.
15574         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
15575         (mulhi3): Likewise.
15576         (test?i_1): Ensure that only one operand is memory.
15577         (conditional move patterns): likewise.
15578         (shift and rotate patterns): Rewrite to expander, add
15579         "binary_operator_ok" to the condition.
15580
15581         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
15582         * i386.h (procesor_costs): Add movzbl_load field.
15583         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
15584         non-Q registers, accept DImode registers anywhere.
15585         (Q_CLASS_P): New.
15586         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
15587         * i386.c (*_cost): Set value for movxbl_load field.
15588
15589         * (addsi): New add to lea splitter.
15590         (ashlsi): Likewise.
15591         (lea to add/shift peep2): New.
15592
15593 1999-12-01  Mark Salter <msalter@cygnus.com>
15594
15595         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
15596         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
15597         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
15598
15599 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15600
15601         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
15602         * i386.md (movsi_xor): New.
15603         (movsi_or): New.
15604         (movsi_1, movhi_1, movqi_1): Remove.
15605         (movsi_2): Rename to movsi_1.
15606         (movhi_2): Rename to movhi_1.
15607         (movqi_2): Rename to movqi_1.
15608         (movdi_1): Remove; remove splitter.
15609         (movdi_2): Rename to movdi_1.
15610         (divmodsi4 splitter): Do not emit clobbers for move patterns.
15611         (long move peep2): Do not create QI or HI mode mov0s
15612         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
15613
15614         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
15615         rewrite splitters.
15616
15617         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
15618         (abs?f2_if): Likewise.
15619
15620 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
15621
15622         * ggc.h (ggc_test_and_set_mark): New macro.
15623         (ggc_mark_rtx): Use ggc_test_and_set_mark.
15624         (ggc_mark_tree): Likewise.
15625         (ggc_mark_rtvec): Likewise.
15626         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
15627
15628 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
15629
15630         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
15631         containing types.
15632         (decl_scope_table): Just an array of trees now.
15633         (push_decl_scope): Simplify.
15634         (dwarf2out_init): Adjust.
15635         (local_scope_p): New fn.
15636         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
15637         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
15638         (gen_typedef_die): Likewise.
15639         (gen_lexical_block_die): Don't call push/pop_decl_scope.
15640         (gen_inlined_subroutine_die): Likewise.
15641         (gen_abstract_function): Set current_function_decl temporarily.
15642         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
15643         Handle block extern declarations.  Don't call push/pop_decl_scope.
15644         (gen_decl_die): Fix logic for block externs.
15645
15646 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15647
15648         * calls.c (special_function_p): Remove `realloc' and add `strdup'
15649         to the list of functions which have attribute malloc by default.
15650
15651 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15652
15653         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
15654         integer constant does not match the traditional type, limit the
15655         warnings to cases where the base of the type is ten.
15656
15657         * invoke.texi (-Wtraditional): Document it.
15658
15659 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15660
15661         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
15662         * rs6000.md: Only access a CONST_INT with INTVAL
15663
15664 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
15665
15666         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
15667         (compute_nearerout): Likewise.
15668         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
15669         size_t to unsigned long for formatting.
15670
15671 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
15672
15673         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
15674         Allow the user to override call-used/fixed state of %g2-5
15675         registers from the command line (with the exception of %g4 for
15676         embedded model).
15677         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
15678         there is a higher chance of having a leaf function.
15679         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
15680         for ARCH64 which has %ccr register.
15681         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
15682         patterns.
15683         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
15684         insn accept into delay slot any insn which does not use %[ol]
15685         registers.  Accept some LO_SUM and shift left by 1 for the normal
15686         restore case.
15687         (output_function_epilogue): Likewise.
15688         (epilogue_renumber): Added argument which inhibits any renumbering
15689         and just tests if the rtx does not use any %[ol] registers.
15690         (output_return): Reflect above change.
15691
15692 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
15693
15694         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
15695         aggregate passing for sizes <= 16 bytes.
15696
15697 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
15698
15699         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
15700         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
15701         * reload.c (find_dummy_reload): Likewise.
15702         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
15703         * reload1.c (reload_as_needed): Likewise.
15704         * stupid.c (stupid_find_reg): Likewise.
15705         * tm.texi (Obsolete Register Macros): Delete section.
15706         * gmicro.h: Remove all traces of the two macros.
15707         * i386.h: Likewise.
15708         * m88k.h: Likewise.
15709         * mips.h: Likewise.
15710
15711 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
15712
15713         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
15714         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
15715         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
15716         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
15717         units for the sparclite86x chip.
15718         (flush): Revert October 14th change; add SImode specifically.
15719         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
15720         * invoke.texi: Document it.
15721
15722 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
15723
15724         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
15725         psimode_truncation_operand.
15726
15727         * config/mn10200/mn10200.c (psimode_truncation_operand): New
15728         function.  Return true if the operand is either a MEM valid
15729         for a PSImode address or not a MEM at all.
15730
15731         * config/mn10200/mn10200.md (truncsipsi2): Use
15732         psimode_truncation_operand.
15733
15734 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15735
15736         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
15737         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
15738         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
15739         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
15740         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
15741         (flow_loop_level_compute, low_loops_level_compute): Likewise.
15742         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
15743         * basic-block.h: Protect from multiple inclusion.
15744         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
15745         (struct loops, struct loop): Define structures.
15746         * sbitmap.c (sbitmap_a_subset_b_p): New function.
15747         * sbitmap.h: Protect from multiple inclusion.
15748         (sbitmap_a_subset_b_p): Add prototype.
15749         * Makefile.in (LOOP_H): New macro.
15750         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
15751
15752 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
15753
15754         * cppinit.c (CAT): The argument list of this macro may not contain
15755         spaces !
15756
15757 1999-11-29  David S. Miller  <davem@redhat.com>
15758
15759         Move quantity tables and register equivalence chains into
15760         per-qty and per-register structure arrays respectively.
15761         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
15762         qty_const_insn, qty_comparison_code, qty_comparison_const,
15763         qty_comparison_qty): Delete, replace with...
15764         (qty_table): this structure table.
15765         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
15766         (reg_eqv_table): this structure table.
15767         (make_new_qty): Add argument MODE.  Caller updated.
15768         Update to use qty_table and reg_eqv_table.
15769         (make_regs_eqv, delete_reg_equiv, insert_regs,
15770         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
15771         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
15772         cse_process_notes, cse_main, cse_basic_block): Likewise.
15773
15774 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15775
15776         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
15777         operation if C is negative.
15778         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
15779         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
15780         law for some divisions if constant is negative and change other
15781         divisions to the opposite rounding.
15782
15783         * expr.c (store_constructor_field): If bit position is not multiple
15784         of alignment of TARGET's mode, use BLKmode.
15785
15786         * expr.c (expand_expr_unaligned): Add more code from full case
15787         that is needed when OP0 is in a register.
15788
15789 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15790
15791         * dwarfout.c (field_byte_offset): Size can be zero if there was
15792         an error.
15793
15794 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
15795
15796         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
15797         (associate_trees): Delete unused var TEM.
15798         (extract_muldiv): Delete unused var CANCEL_P.
15799
15800         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
15801         (target_isinf, target_isnan, target_negative): Add return types to
15802         function definitions.
15803
15804 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
15805
15806         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
15807         * fixinc/hackshell.tpl: ditto
15808         * fixinc/fixtests.c(double_slash_test): more C++ header testing
15809         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
15810
15811 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
15812
15813         * reload.c (push_reload): When looking for a register to put into
15814         reg_rtx, make sure all hard regs in a multi-reg register are in the
15815         right class and nonfixed.
15816
15817         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
15818         pending_read_insns, pending_write_insns, pending_read_mems,
15819         pending_write_mems, pending_list_length, last_pending_memory_flush,
15820         last_function_call, sched_before_next_call): Move static variables
15821         into a structure.
15822         (bb_ prefixed versions): Replace with single array bb_deps.
15823         (struct deps): New structure.
15824         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
15825         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
15826         argument of type "struct deps *"; use that instead of global
15827         variables.  All callers changed.
15828         (init_rgn_data_dependencies): Delete function.
15829         (init_rtx_vector): Delete function.
15830         (init_deps): New function.
15831
15832         (free_pending_lists): Simplify, we always use the bb_deps array even
15833         if only one basic block.
15834         (compute_block_backward_dependences): Likewise.
15835         (schedule_region): Likewise.
15836
15837         (propagate_deps): New function, broken out of
15838         compute_block_backward_dependences.
15839         (compute_block_backward_dependences): Use it.
15840
15841         * alpha.md: Delete useless patterns that tried to work around
15842         register elimination problems.
15843
15844         * unroll.c (loop_iterations): Don't abort if iteration variable
15845         was made by loop.
15846
15847         From Joern Rennecke:
15848         * reload1.c (reloads_conflict): Reverse test comparing operand
15849         numbers when testing for conflict between output/outaddr reloads.
15850
15851 1999-11-29  David S. Miller  <davem@redhat.com>
15852
15853         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
15854         arg.
15855         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
15856
15857 1999-11-28  Robert Lipe  <robertl@cygnus.com>
15858
15859         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
15860         table from .fini into .dtor.
15861
15862 1999-11-28  Anthony Green  <green@cygnus.com>
15863
15864         * tree.h (struct tree_decl): Add malloc_flag.
15865         (DECL_IS_MALLOC): Define.
15866         * c-common.c (attrs): Add A_MALLOC attribute.
15867         (init_attributes): Add this attribute to the table.
15868         (decl_attributes): Handle malloc attribute.
15869         * calls.c (special_function_p): Check for the malloc attribute.
15870         * extend.texi (Function Attributes): Document malloc attribute.
15871
15872 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
15873
15874         * pa.md (reload shift-add patterns): Remove.
15875
15876 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15877
15878         * reorg.c (dbr_schedule) Print more statistics. Corrected
15879         problem when printing info when 3 delay slots are filled.
15880
15881 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
15882
15883         * combine.c (setup_incoming_promotions): Pass an outgoing
15884         regno to FUNCTION_ARG_REGNO_P which it expects.
15885
15886 1999-11-28  Andreas Jaeger  <aj@suse.de>
15887
15888         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
15889
15890 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
15891
15892         * cccp.c (do_include): Avoid initialization of automatic variable.
15893
15894         * integrate.c (mark_stores): Function definition made void, to match
15895         previous declaration.
15896         * regclass.c (dump_regclass): Ditto.
15897         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
15898
15899 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15900
15901         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
15902         known to be multiple of divisor.
15903
15904         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
15905
15906         * combine.c (try_combine): Add code to try to merge a set of a
15907         two-word pseudo to a constant with a setting of one of those words
15908         to a constant.
15909
15910         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
15911         (split_tree): Completely rework to make more general.
15912         (make_range, fold): Call negate_expr.
15913         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
15914         (fold, associate): Call new split_tree and associate_trees.
15915         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
15916
15917 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
15918
15919         * loop.c (try_copy_prop): Avoid GNU C extension.
15920
15921 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15922
15923         * except.c (init_eh_for_function): Still zero eh_return_context,
15924         eh_return_stack_adjust, and eh_return_handler.
15925
15926         * except.h (eh_status): Adjust documentation for x_protect_list.
15927         (begin_protect_partials): New function.
15928         * except.c (enqueue_eh_entry): Fix formatting.
15929         (get_first_handler): Add consistency check.
15930         (add_partial_entry): Adjust usage of protect_list.
15931         (emit_cleanup_handler): Save and restore ehqueue.
15932         (expand_start_all_catch): Add comment.
15933         (begin_protect_partials): New function.
15934         (end_protect_partials): Adjust usage of protect_list.
15935         (init_eh_for_function): Use xcalloc.
15936
15937 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15938
15939         * c-common.c (check_format_info): Don't call a variadic function
15940         with a non-literal format string.
15941
15942         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
15943
15944         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
15945         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
15946         Likewise.
15947
15948         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
15949         Likewise.
15950
15951         * collect2.c (collect_wait): Likewise.
15952
15953         * dbxout.c (dbxout_type): Likewise.
15954
15955         * gcc.c (do_spec_1): Likewise.
15956
15957         * genemit.c (gen_insn, gen_expand): Likewise.
15958
15959         * genrecog.c (write_switch, write_subroutine): Likewise.
15960
15961         * mips-tfile.c (catch_signal, botch): Likewise.
15962
15963         * print-rtl.c (print_rtx): Likewise.
15964
15965         * toplev.c (default_print_error_function, report_error_function,
15966         _fatal_insn): Likewise.
15967
15968 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15969
15970         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
15971
15972 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15973
15974         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
15975         operations when needed.
15976         * i386.md (fop_?f_comm): New.
15977         (fop_?f_1): Do not accept commutative operands.
15978
15979 1999-11-25  Andreas Jaeger  <aj@suse.de>
15980
15981         * config/mips/mips.md (casesi_internal): Add missing brace.
15982
15983 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
15984
15985         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
15986         (splice_child_die): Handle moving a child DIE from the declaration
15987         DIE of a class to its specification.
15988         (gen_struct_or_union_type_die): Use 'complete' consistently.
15989         (gen_decl_die): Generate the virtual context DIE first.
15990         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
15991
15992 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
15993
15994         * config/mips/mips.md (call_value_multiple_interanal1): New.
15995
15996 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
15997
15998         * dwarf2out.c (free_AT, free_die): New fns.
15999         (remove_children): Call them.
16000         (output_line_info): Disable removal of duplicate notes.
16001
16002         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
16003         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
16004         means pretend the type isn't defined.
16005         Don't defer emitting types.
16006         (gen_type_die_for_member): New fn.
16007         (gen_decl_die): Call it.
16008         (splice_child_die): New fn.
16009         (gen_member_die): Call it rather than generate duplicate dies.
16010
16011         Defer emitting information for the abstract instance of an inline
16012         until we either inline it or emit an out-of-line copy.
16013         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
16014         from output_inline_function if DECL_ABSTRACT is also set.
16015         (block_ultimate_origin): Likewise.
16016         (gen_abstract_function): New fn.
16017         (gen_decl_die, gen_inlined_subroutine_die): Call it.
16018         (gen_subprogram_die):  An abstract instance is not a declaration
16019         just because it doesn't match current_function_decl.  Don't abort
16020         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
16021         has an abstract origin.
16022         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
16023         abstract instance here.
16024
16025 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
16026
16027         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
16028         where we need to reload fpul from a system register.
16029
16030 1999-11-24  Andreas Jaeger  <aj@suse.de>
16031
16032         * config/mips/linux.h (CPP_PREDEFINES): Added.
16033         (LINK_SPEC): Remove -Y since this is only needed on sparc.
16034
16035 1999-11-24  Andreas Jaeger  <aj@suse.de>
16036
16037         * config/mips/linux.h (TARGET_VERSION): Added.
16038         (HANDLE_SYSV_PRAGMA): Added.
16039         (DEFAULT_VTABLE_THUNKS): Added.
16040
16041 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16042
16043         * local-alloc.c (qty): New structure and static variable.
16044         (qty_phys_reg): Remove, all references changed to qty.
16045         (qty_n_refs): Likewise.
16046         (qty_min_class): Likewise.
16047         (qty_birth): Likewise.
16048         (qty_death): Likewise.
16049         (qty_size): Likewise.
16050         (qty_mode): Likewise.
16051         (qty_n_calls_crossed): Likewise.
16052         (qty_alternate_class): Likewise.
16053         (qty_changes_size): Likewise.
16054         (qty_first_reg): Likewise.
16055         (alloc_qty): Rename variable QTY to QTYNO.
16056         (finf_free_reg): Likewise.
16057         (local_alloc): Allocate qty, do not allocate the removed variables.
16058
16059 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
16060
16061         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
16062         when -membedded-pic is passed.
16063
16064         * config/mips/mips.md (casesi): Handle 64-bit case too.
16065         (casesi_internal_di): New insn.
16066
16067         * config/mips/mips.c (embedded_pic_offset): Always make the
16068         embedded-pic subtractions relative to the name of the current
16069         function by use of the magic string "..CURRENT_FUNCTION".
16070         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
16071
16072 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
16073
16074         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
16075         of (const_int 0), when what we really care about is
16076         whether it's a zero constant anyway.
16077         (div_trap_mips16): Likewise.
16078
16079 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
16080
16081         * loop.c (loop_optimize): Always find_loop_tree_blocks and
16082         unroll_block_trees when generating debuggable code.
16083
16084         * tree.h (unsave_expr_1): New function.
16085         (lang_unsave): New variable.
16086         (get_callee_fndecl): New function.
16087         * tree.c (unsave_expr_now_r): New function.
16088         (lang_unsave): Define.
16089         (unsave_expr_1): Likewise.
16090         (unsave_expr_now_r): Split out from unsave_expr_now.
16091         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
16092         call unsave_expr_now_r.
16093         (get_callee_fndecl): Define.
16094
16095         * Makefile.in (gencheck): Don't depend on lang_tree_files.
16096         (gencheck.o): Do depend on lang_tree_files.
16097
16098         * integrate.h (copy_decl_for_inlining): New declaration.
16099         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
16100         (copy_decl_for_inlining): New function.
16101         (integrate_parm_decls): Use it.
16102         (integrate_decl_tree): Likewise.
16103
16104 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
16105
16106         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
16107         the second two from the first.
16108         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
16109         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
16110         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
16111         ISA_HAS_FP4.
16112         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
16113         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
16114         ISA_HAS_FP4.
16115
16116 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
16117
16118         * pa.md (call_internal_symref, call_value_internal_symref): No mode
16119         needed on the address operand.
16120         * pa.c (call_operand_address): Check for the correct mode.
16121
16122 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
16123
16124         * loop.c: Include "basic-block.h".
16125         (try_copy_prop, replace_loop_reg): New functions.
16126         (load_mems): Detect registers that just hold copies of the hoisted
16127         mem, and call try_copy_prop to eliminate them.
16128         * Makefile.in (loop.o): Update dependencies.
16129
16130 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
16131
16132         * Makefile.in (gencheck.o): Depend on gencheck.h.
16133         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
16134         (insn-peep.o): Depend on except.h and function.h.
16135         (insn-attrtab.o): Depend on RECOG_H.
16136         (insn-output.o): Depend on toplev.h and flags.h.
16137         (gengenrtl.o): Depend on real.h.
16138         (gen-protos.o): Depend on cpplib.h and cpphash.h.
16139         Unify all dependencies to be on RECOG_H rather than recog.h.
16140
16141 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16142
16143         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
16144         * configure.in: Try building a bi-arch 32/64-bit compiler on
16145         sparc-*-solaris2.7 and higher.
16146         * configure: Rebuild.
16147
16148 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
16149
16150         * config/freebsd.h: New, FreeBSD architecture independent file.
16151         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
16152         independent pieces.
16153         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
16154         directly by i386/freebsd.h.
16155         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
16156         independent configuration file.
16157         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
16158         directly by i386/freebsd.h.
16159         * configure: Rebuilt.
16160
16161         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
16162         which is in the user's namespace.
16163         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
16164         `i386' which is not in our namespace.
16165
16166 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
16167
16168         * invoke.texi (ARM Options): Add in -mno-alignment-traps
16169
16170 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
16171
16172         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
16173         (add_dwarf_attr, add_child_die): Just push onto the front.
16174         (reverse_die_lists): New fn.
16175         (add_sibling_attributes): Use it.
16176         (push_decl_scope): Reorganize.
16177         (add_name_and_src_coords_attributes): Don't set file and line for
16178         an artificial decl.
16179         (gen_subprogram_die): An artificial function doesn't need to match
16180         file and line.
16181         (gen_compile_unit_die): Return the generated die.  Only add
16182         AT_comp_dir if the filename is relative.
16183         (remove_AT): Simplify loop.  Also free string values.
16184         (output_die): A DIE ref can't be null.
16185         (output_value_format, value_format): Take a dw_attr_ref.
16186         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
16187         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
16188         AT_addr, AT_lbl): New fns.
16189         (various): Use them.
16190         (various): Constify.
16191
16192 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16193
16194         * combine.c (combine_simplify_rtx): When handling a SUBREG,
16195         take SUBREG_WORD into account.
16196         (if_then_else_cond): Likewise.
16197
16198 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
16199
16200         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
16201         clause from BSD license, pursuant with
16202
16203           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
16204
16205 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
16206
16207         * loop.c (load_mems): Reformat slightly.
16208         * basic-block.h (regset_head): New typedef.
16209         (INIT_REG_SET): New macro.
16210
16211 1999-11-22  Bruce Korb  <autogen@linuxbox.com
16212
16213         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
16214         (mips-dec-bsd*): non-functional code
16215         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
16216
16217         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
16218         added three replacement fixes
16219         (no_double_slash): removed comments that are not (any longer) pertinent
16220         (bad_lval): this fix currently runs against many files.
16221         The comment seems to indicate that we should select for files
16222         containing 'pragma extern_prefix'.
16223
16224         * fixinc/fixinc.x86-linux-gnu: deleted
16225         * fixinc/inclhack.sh:  regen
16226         * fixinc/fixincl.x:  regen
16227         * fixinc/fixincl.sh:  regen
16228
16229 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
16230
16231         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
16232         its code is INSN and it has no notes.
16233
16234 1999-11-22  Andrew Haley  <aph@cygnus.com>
16235
16236         * varasm.c (function_defined): Remove.
16237         (make_function_rtl): Don't set function_defined.
16238         (make_decl_rtl): Remove global register warning.
16239         * regclass.c (no_global_reg_vars): New variable.
16240         (globalize_reg): Warn if function has already been defined.
16241         (regclass_init): Set no_global_reg_vars.
16242
16243 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16244
16245         * regclass.c (reg_pref): New structure and static variable
16246         (prefclass): Delete.
16247         (altclass): Delete.
16248         (all uses of prefclass and altclass): Use reg_pref instead.
16249
16250 1999-11-21  Nick Clifton  <nickc@cygnus.com>
16251
16252         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
16253         -malignment-traps.
16254         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
16255         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
16256         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
16257
16258 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
16259
16260         * varasm.c (output_constructor): Solve problem with long long
16261         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
16262
16263 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16264
16265         * global.c (allocno): New structure and static variable.
16266         (allocno_reg): Remove, all references replaced by allocno.
16267         (allocno_size): Likewise.
16268         (hard_reg_conflicts): Likewise.
16269         (hard_reg_preferences): Likewise.
16270         (hard_reg_copy_preferences): Likewise.
16271         (hard_reg_full_preferences): Likewise.
16272         (regs_someone_prefers): Likewise.
16273         (allocno_calls_crossed): Likewise.
16274         (allocno_n_refs): Likewise.
16275         (allocno_live_length): Likewise.
16276         (find_reg): Rename ALLOCNO to NUM.
16277
16278         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
16279         references updated.
16280         (may_move_out_cost): New variable.
16281         (init_reg_sets_1): Initialize may_move_out_cost.
16282         (record_reg_classes): Use may_move_out_cost.
16283
16284         * regclass.c (dump_regclass): New function.
16285         (regclass): New parameter DUMP, call DUMP_REGCLASS.
16286         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
16287         pass rtl_dump_file to regclass.
16288         * rtl.h (regclass): Update prototype.
16289
16290 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16291
16292         * i386.md (neg, not and abs patterns): Revmap to use
16293         ix86_expand_unary_operator and ix86_unary_operator_ok.
16294         (add?f and sub?f expanders): Force operand 1 to register.
16295         * i386.c (ix86_expand_unary_operator): Rewrite.
16296         (ix86_unary_operator_ok): Ensure that memory operands
16297         match real opcode.
16298         (ix86_binary_operator_ok): Do not allow operand 1 to
16299         come into memory and operand 0 not.
16300         (ix86_expand_binary_operator): Ensure that
16301         src1 is not non-matching memory.
16302
16303         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
16304         to support integer registers and memory.
16305         (abss?2_integer): Likewise.
16306
16307         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
16308         (REG_CLASS_NAMES): Likewise.
16309         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
16310         and GENERAL_REGS.
16311         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
16312         (movsf): Likewise; unify 4th and 5th alternative.
16313         (pushdf): Likewise.
16314         (movdf_1): Likewise; rename to movdf_integer.
16315         (pushxf): Likewise; rename to pushxf_integer; fix output template;
16316         remove redundant splitter.
16317         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
16318         (movdf_nointeger): New.
16319         (movxf_nointeger): New.
16320         (pushxf_nointeger): New.
16321
16322         * i386.md (extend?f?f): Split to expander and pattern, refuse two
16323         memory operands in patterns.
16324         (fop*): Refuse two memory operands.
16325
16326         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
16327         on !TARGET_USE_CLTD CPUs.
16328
16329 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
16330
16331         * extend.texi: Document C++ restricted pointers and references.
16332
16333 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
16334
16335         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
16336         (invalidate_skipped_set): Call it unconditionally.
16337         (cse_set_around_loop): Likewise.
16338
16339 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
16340
16341         * rtl.texi (mem): Add documentation for alias-set argument
16342         to RTX `mem'.
16343
16344 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16345
16346         * i386.h (struct_processor_costs): New fields int_load, int_store,
16347         fp_move, fp_load and fp_store
16348         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
16349         fp->int moves
16350         (MEMORY_MOVE_COST): New macro.
16351         * i386.c (386_cost): Define new fields.
16352         (i486_cost): Likewise.
16353         (pentium_cost): Likewise.
16354         (pentiumpro_cost): Likewise.
16355         (k6_cost): Likewise.
16356
16357 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
16358                           Geoffrey Keating  <geoffk@cygnus.com>
16359
16360         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
16361
16362         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
16363         MASK_ALIGN_INT.
16364
16365         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
16366         (TARGET_STRICT_ALIGNMENT): New macro.
16367         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
16368         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
16369         * invoke.texi (M680x0 Options): Document -mstrict-align.
16370
16371 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
16372                           Richard Henderson  <rth@cygnus.com>
16373
16374         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
16375         (ix86_split_long_move): Declare.
16376         * i386.c (split_xf, ix86_split_movdi): Remove.
16377         (ix86_split_to_parts, ix86_split_long_move): New.
16378         * i386.md (dimode move splitters): Use ix86_split_long_move.
16379         (dfmode move splitters): Likewise.
16380         (xfmode move splitters): Likewise.
16381         (movsf_1): Allow F->r.
16382         (movdf_1, movxf_1): Allow F->ro.
16383
16384 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
16385
16386         * except.h (struct eh_entry): Add goto_entry_p.
16387         (eh_region_from_symbol): Remove prototype.
16388         * except.c (find_func_region_from_symbol): New function.
16389         (emit_cleanup_handler): Likewise.
16390         (eh_region_from_symbol): Make it static.
16391         (add_new_handler): Verify the argument.
16392         (find_func_region): Update comment.
16393         (expand_eh_region_end): Expand handlers here, rater than waiting
16394         until expand_leftover_cleanups or start_all_catch.
16395         (expand_leftover_cleanups): Don't expand here.
16396         (expand_start_all_catch): Or here.
16397         (expand_rethrow): Check the return value from find_func_region.
16398         * function.c (expand_function_end): Emit the catch_clauses.
16399
16400 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
16401
16402         * integrate.c (expand_inline_function): Add necessary check for NULL.
16403
16404 1999-11-18  Nick Clifton  <nickc@cygnus.com>
16405
16406         * toplev.c (main): Correctly detect an unrecognised option.
16407
16408         * cppinit.c (cpp_handle_option): Do not claim to have consumed
16409         a -f option if it has not been recognised.
16410
16411 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
16412
16413         * basic-block.h (update_life_extent): Remove trailing comma on
16414         enumeration type list.
16415
16416 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16417
16418         * varasm.c (output_constructor) Solved problem with long long
16419         bitfields. Corrected calculating this_time and shift. Also
16420         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
16421
16422 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
16423
16424         * flow.c (split_edge): Take looping structure into account when
16425         determining where to put the new block note.
16426
16427 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
16428
16429         * Makefile.in (ggc-none.o): Provide host specific version if
16430         needed.
16431
16432 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
16433
16434         * cse.c (delete_trivially_dead_insns): Identify no-op insns
16435         containing subregs too.
16436
16437 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
16438
16439         * invoke.texi: Add documentation for -muninit-const-in-rodata.
16440         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
16441         (TARGET_UNINIT_CONST_IN_RODATA): Define.
16442         (text_section): Add switches -munint-const-in-rodata and
16443         -mno-uninit-const-in-rodata.
16444         (ASM_OUTPUT_COMMON): Remove.
16445         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
16446         const objects should be placed in read-only data. Otherwise declare
16447         them in common.
16448
16449 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
16450
16451         * jump.c (jump_optimize_1): Revert last change.
16452
16453 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
16454
16455         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
16456         test if optimizing for size.
16457
16458 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
16459
16460         * Makefile.in (toplev.o): Depend on except.h.
16461         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
16462
16463 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16464
16465         * i386.md (divmodsi4): Rewrite to expander.
16466         (*divmodsi4_nocltd): New.
16467         (*divmodsi4_cltd): New.
16468         (divmodsi4 splitter): Handle the case when input comes in edx.
16469         (udivmodhi4): Do not use constraints in exander.
16470         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
16471
16472 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
16473
16474         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
16475         for the common case.
16476
16477 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
16478
16479         * explow.c (hard_function_value): Add outgoing argument.
16480         * expr.h (hard_function_value): Declare it.
16481         * calls.c (expand_call, emit_library_call_value): Update callers.
16482         * function.c (aggregate_value_p): Ditto.
16483         (diddle_return_value): Must look at the outgoing registers
16484         on archs with register windows.
16485
16486 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
16487
16488         * alpha.c (alpha_build_va_list): Use make_lang_type and
16489         initialize TYPE_NAME for the va_list record.
16490
16491         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
16492
16493         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
16494         for printing.
16495         * ggc.h (struct ggc_statistics): Rearrange elements for better
16496         packing on 64-bit hosts.
16497         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
16498         (compute_nearerout): Likewise.
16499
16500 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
16501
16502         * config/rs6000/rs6000.c (first_reg_to_save): Save
16503         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
16504
16505 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
16506
16507         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
16508         notion of nesting to find the DIE for a type or function.
16509         DIEs can go in limbo even if we got a context_die.
16510         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
16511         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
16512         for local type.
16513         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
16514         (gen_type_die): Writing out the context doesn't cause member class
16515         template instantiations to be written out as well.
16516
16517 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
16518
16519         * rs6000.h (ASM_OUTPUT_DEF): New.
16520         Based on proposed addition from David Edelsohn.
16521
16522 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
16523             Bruce Korb  <autogen@linuxbox.com>
16524
16525         * fixinc/inclhack.def
16526         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
16527         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
16528                 in net/inet.h.
16529         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
16530         (svr4_endian): enabled with SVR5
16531         (svr4_mkdev): simplified syntax and enabled with SVR5
16532
16533 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
16534
16535         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
16536         * configure: Rebuilt.
16537         * config/t-freebsd-thread: New file.
16538
16539 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
16540
16541         * i386.c (ix86_decompose_address): Verify the base is a REG
16542         before trying to examine its register number.
16543
16544         * basic-block.h: Remove all #defines and prototypes related to
16545         integer lists.
16546         (free_bb_mem, compute_preds_succs): Remove prototype.
16547         * rtl.h (free_bb_mem): Remove prototype.
16548         * flow.c (alloc_int_list_node); Remove function.
16549         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
16550         (compute_preds_succs, free_bb_mem): Likewise.
16551         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
16552         * toplev.c (rest_of_compilation): Likewise.
16553         * haifa-sched.c (build_control_flow): Use flow generated edge
16554         list to build the haifa specific edge list.
16555         (find_rgns): Use new CFG data structures instead of pred/succ lists.
16556         (schedule_insns): Do not build pred/succ lists anymore.  Instead
16557         build the edge table.
16558
16559         * basic-block.h (dump_bb_data): Remove declaration.
16560         * flow.c (dump_bb_data): Remove function.
16561         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
16562         (sbitmap_union_of_predsucc): Likewise.
16563
16564         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
16565         argument.  All callers changed.
16566         (delete_null_pointer_checks_1): No longer need to compute the
16567         pred/succ lists.
16568
16569         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
16570         All callers changed.
16571         (pre_expr_reaches_here_p_work): Likewise.
16572         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
16573         * lcm.c (compute_laterin): Fix initialization of LATER.
16574         (compute_nearerout): Similarly for NEARER.
16575
16576 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16577
16578         * cse.c (set_nonvarying_address_components): Delete unused function.
16579         (refers_to_p): Likewise.
16580
16581 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
16582
16583         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
16584         needed.
16585
16586 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16587
16588         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
16589         definition in do while (0).
16590
16591 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
16592
16593         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
16594
16595 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
16596
16597         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
16598
16599 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
16600
16601         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
16602         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
16603         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
16604         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
16605
16606         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
16607         saved on the stack.  Output more accurate stack frame statistics
16608         into assembler file.
16609
16610 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
16611
16612         * genextract.c (record_insn_name): New function.
16613         (get_insn_name): No longer a stub.
16614         (main): Call record_insn_name for each insn.  After each label
16615         written, print the insn name in a comment.
16616
16617 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16618
16619         * output.h (const_section, init_section, fini_section): Add
16620         prototypes.
16621
16622         * alpha/elf.h (const_section): Delete declaration.
16623
16624         * svr4.h (const_section): Likewise.
16625
16626 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
16627
16628         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
16629         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
16630         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
16631         expressions.
16632         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
16633         variable-sized array bounds.
16634
16635 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
16636
16637         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
16638         ASM_OUTPUT_LABEL.
16639
16640 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16641
16642         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
16643         addresses the same way GO_IF_LEGITIMATE_INDEX does.
16644
16645 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16646
16647         * cse.c (hash_arg_in_struct): Delete.
16648         (struct table_elt): Delete elt in_struct.
16649         (struct set): Delete elt src_in_struct.
16650         (merge_equiv_classes): Don't set either hash_arg_in_struct or
16651         the corresponding in_struct elts.
16652         (canon_hash): Likewise.
16653         (safe_hash): Likewise.
16654         (find_best_addr): Likewise.
16655         (record_jump_cond): Likewise.
16656         (cse_insn): Likewise.
16657
16658 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
16659
16660         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
16661
16662         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
16663         unsigned types.
16664
16665 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
16666
16667         * function.c (diddle_return_value): Put back check that the DECL_RTL
16668         for the function is a register.
16669
16670         * function.c (diddle_return_value): Use hard_function_value to
16671         get an rtx suitable for use in the USE/CLOBBER insn.
16672
16673         * global.c (global_conflicts): Update comments.
16674         (record_conflicts): No need to record conflicts between pseudos here.
16675
16676 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
16677
16678         * fixinc/fixincl.c: Added verbose levels for status messages
16679
16680 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16681
16682         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
16683         operand as argument to expand_and or expand_binop.
16684
16685 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
16686
16687         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
16688         gcc_add_string_root.
16689
16690 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
16691
16692         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
16693
16694 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
16695
16696         * flow.c (compute_flow_dominators): Initially put all blocks on
16697         the worklist.
16698         * lcm.c (compute_antinout_edge, compute_available): Similarly.
16699         * gcse.c (compute_cprop_avinout): Remove.
16700         (compute_cprop_data): Use compute_available.
16701         (delete_null_pointer_checks_1): Use compute_available.
16702
16703         * basic-block.h (compute_available): Returns a void now.
16704         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
16705         to return a value anymore.
16706         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
16707         worklists.  Fix boundary cases. Compute maximal solutions.
16708         (compute_laterin, compute_nearerout): Similarly.
16709
16710         * dwarf2out.c (add_AT_location_description): Allow
16711         (mem (plus (pseudo) (...)) too.
16712
16713 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
16714
16715         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
16716
16717 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
16718                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16719
16720         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
16721
16722         * gansidecl.h: Likewise.
16723
16724         * rtl.c: Likewise.
16725
16726         * rtl.h: Likewise.
16727
16728         * toplev.h: Likewise.
16729
16730         * tree.c: Likewise.
16731
16732         * tree.h: Likewise.
16733
16734         * varray.c: Likewise.
16735
16736         * varray.h: Likewise.
16737
16738 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
16739
16740         * gcov.c (struct arcdata): Add hits and total, remove prob.
16741         (output_branch_counts): New.
16742         (process_args): Set output_branch_counts if -c.
16743         (calculate_branch_probs): Store hits and total instead of
16744         percentage.
16745         (output_data): Emit counts if output_branch_counts is true.
16746         * gcov.texi (Invoking Gcov): Document -c switch..
16747
16748 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
16749
16750         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
16751         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
16752
16753 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
16754
16755         * invoke.texi (C Dialect Options): Add missing builtins from
16756         c-common.c to list.
16757         * extend.texi (Other Builtins): Copy to this list.
16758
16759 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16760
16761         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
16762         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
16763         redundant bitmap.h.
16764
16765 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
16766
16767         * flow.c (compute_flow_dominators): No longer treat basic block 0
16768         or (n_basic_blocks - 1) specially.  Clear the AUX field before
16769         starting computation of doms/pdoms.  Fix initial state for pdoms.
16770
16771 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16772
16773         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
16774         match rtl.o's: added ggc.h and toplev.h
16775         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
16776         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
16777         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
16778
16779 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
16780
16781         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
16782         from HAVE_DOS_BASED_FILESYSTEM.
16783         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
16784         HAVE_DOS_BASED_FILESYSTEM.
16785         (main): Likewise.
16786         (split_directories): Only special-case DOS file names if
16787         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
16788         instead of explicit tests.  Conditionalize on !VMS.
16789         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
16790         tests.  Conditionalize on !VMS.
16791         (process_command): Only use make_relative_prefix if !VMS.
16792         (free_split_directories): Conditionalize on !VMS.
16793         (DIR_UP): Conditionalize on !VMS.
16794
16795 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16796
16797         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
16798
16799 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16800
16801         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
16802         case.
16803
16804 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
16805
16806         * invoke.texi (Environment Variables): Document relative path
16807         lookup.
16808         * gcc.c (DIR_UP): If not defined, define as "..".
16809         (standard_bindir_prefix): New static, holds target location to
16810         install binaries.
16811         (split_directories): New function to split a filename into
16812         component directories.
16813         (free_split_directories): New function, release memory allocated
16814         by split_directories.
16815         (make_relative_prefix): New function, make a relative pathname if
16816         the compiler is not in the expected location.
16817         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
16818         can figure out an appropriate prefix from argv[0].
16819         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
16820         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
16821         STANDARD_BINDIR_PREFIX.
16822
16823 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16824
16825         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
16826         in c4x.c.
16827         * config/c4x/c4x.h: Moved prototypes to c4x.h.
16828         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
16829         c4x_secondary_memory_needed) Delete.
16830         (fp_zero_operand): Add mode argument.
16831
16832 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
16833
16834         * reload1.c (reload_reg_free_for_value_p): Don't use a register
16835         that is in reload_reg_used.
16836
16837 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
16838
16839         * config/arm/arm-protos.h: New file: Prototypes for functions
16840         defined in arm.c and pe.c.
16841         * config/arm/arm.h: Fix compile time warnings.
16842         * config/arm/arm.c: Fix compile time warnings.
16843         * config/arm/pe.h: Fix compile time warnings.
16844         * config/arm/aout.h: Fix compile time warnings.
16845
16846 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
16847
16848         * config/m32r/m32r-protos.h: New file: Prototypes for functions
16849         defined in m32r.c
16850
16851         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
16852         Add support for subtargets.
16853         Add prototypes for new predicates.
16854         Add scheduling macros.
16855
16856         * config/m32r/m32r.c: Fix compile time warnings.
16857         (int8_operand): New predicate function.
16858         (reg_or_cmp_int16_operand): New predicate function.
16859         (extend_operand): New predicate function.
16860         (m32r_adjust_code): New scheduling function.
16861         (m32r_adjust_priorty): New scheduling function.
16862         (m32r_sched_init): New scheduling function.
16863         (m32r_sched_reorder): New scheduling function.
16864         (m32r_sched_variable_issue): New scheduling function.
16865         (direct_return): New codegen function.
16866         (m32r_not_same_reg): New rtl testsing function.
16867
16868         * config/m32r/m32r.md: Fix compile time warnings.
16869         Add support for pre decrement and post increment memory
16870         references.
16871         Add S<cc> patterns.
16872         Add fabs patterns.
16873
16874 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16875
16876         * global.c (EXECUTE_IF_CONFLICT): Don't define.
16877         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
16878         (find_reg): Likewise.
16879
16880 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
16881
16882         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
16883         to avoid assembler errors.
16884
16885 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
16886
16887         * config/v850/v850-protos.h: New file: Prototypes for functions
16888         defined in v850.c
16889         * config/v850/v850.h: Move prototypes to v850-protos.h
16890         * config/v850/v850.c: Move prototypes to v850-protos.h
16891         * config/v850/v850.md: Fix compile time warnings.
16892
16893         * config/fr30/fr30-protos.h: New file: Prototypes for functions
16894         defined in fr30.c
16895         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
16896         * config/fr30/fr30.c: Fix compile time warnings.
16897         * config/fr30/fr30.md: Fix compile time warnings.
16898
16899 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
16900
16901         * tree.h (get_containing_scope): Declare it.
16902         * tree.c (get_containing_scope): New fucntion.
16903         (decl_function_context): Use it.
16904         * toplev.c (rest_of_compilation): Use get_containing_scope.
16905
16906 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16907
16908         * Makefile.in (rtl.o): Depend on toplev.h.
16909
16910 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
16911
16912         * cse.c (delete_trivially_dead_insns): Replace alloca with
16913         xmalloc/xcalloc.
16914         * except.c (update_rethrow_references): Likewise.
16915         (init_eh_nesting_info): Likewise.
16916         * function.c (identify_blocks): Likewise.
16917         * gcse.c (dump_hash_table): Likewise.
16918         * graph.c (print_rtl_graph_with_bb): Likewise.
16919         * loop.c (combine_movables): Likewise.
16920         (move_movables): Likewise.
16921         (count_loop_regs_set): Likewise.
16922         (strength_reduce): Likewise.
16923         * profile.c (compute_branch_probabilities): New function, split
16924         out from ...
16925         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
16926         * regclass.c (regclass): Likewise.
16927         * regmove.c (regmove_optimize): Likewise.
16928         * toplev.c (compile_file): Likewise.
16929         (main): Don't mess with the stack rlimit.
16930
16931 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
16932
16933         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
16934         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
16935
16936 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
16937
16938         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
16939
16940 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
16941
16942         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
16943         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
16944         macro expansion.
16945
16946 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
16947
16948         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
16949
16950 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
16951
16952         * gcse.c (post_dominators): Kill.
16953         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
16954         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
16955         pass in a pdom array since we do not need pdoms.
16956         * haifa-sched.c (schedule_insns): Similarly.
16957         * flow.c (compute_dominators): Remove dead function.
16958         (compute_flow_dominators): Do not compute doms or pdoms if the
16959         caller does not request them.  Split up loop to build doms and
16960         pdoms.  Use a worklist to compute doms and pdoms.
16961         * basic-block.h (compute_dominators): Remove prototype.
16962
16963 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
16964
16965         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
16966         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
16967         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
16968         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
16969         (cant_move, fed_by_spec_load, is_load_insn): Remove.
16970         (schedule_region): Remove unused variable.
16971         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
16972
16973 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
16974
16975         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
16976         (update_equiv_regs): Likewise.
16977         (block_alloc): Likewise.
16978         * reg-stack.c (reg_to_stack): Likewise.
16979         (convert_regs_2): Likewise.
16980         * reload1.c (reload_as_needed): Likewise.
16981
16982 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
16983
16984         * Makefile.in (dbxout.o): Depend on ggc.h.
16985         (dwarf2out.o): Likewise.
16986         (xcoffout.o): Likewise.
16987         * dbxout.c: Include ggc.h.
16988         (dbxout_init): Register lastfile as a root.
16989         * dwarf2out.c: Include ggc.h.
16990         (dwarf2out_line): Register lastfile as a root.
16991         * xcoffout.c: Include ggc.h.
16992         (xcoffout_source_line): Register xcoff_lastfile as a root.
16993
16994 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
16995
16996         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
16997
16998 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
16999
17000         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
17001         defined.
17002         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
17003
17004 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17005
17006         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
17007         (EXECUTE_IF_CONFLICT): Likewise.
17008         (ALLOCNO_LIVE_P): Avoid signed division.
17009         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
17010         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
17011         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
17012
17013 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
17014
17015         * haifa-sched.c (schedule_block): Don't crash if there's no
17016         next insn for an interblock movement.
17017         (add_branch_dependences): Don't allow clobber insns to move either.
17018
17019 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
17020
17021         * i386.c (split_xf): New.
17022         * i386-protos.h: Declare it.
17023         * i386.md (movxf_1): Add general regs alternatives.
17024         (movxf_1+1): New splitter for same.
17025
17026 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
17027
17028         * function.c (purge_addressof_1): Add missing return values.
17029
17030 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
17031
17032         * function.c (is_addressof): New function.  Returns true if
17033         the given piece of RTL is an ADDRESSOF.
17034         (purge_addressof_1): Make boolean.  Return false if the
17035         ADDRESSOFs could not be purged.
17036         (purge_addressof): If ADDRESSOFs could not be purged from the
17037         notes attached to an insn, remove the offending note(s),
17038         unless they are attached to a libcall.
17039
17040 1999-11-05  Andreas Jaeger  <aj@suse.de>
17041
17042         * genoutput.c (null_operand =): Initialize all fields.
17043
17044         * errors.h: Add extern to prototypes.
17045
17046 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
17047
17048         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
17049         * configure: Rebuilt.
17050
17051 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17052
17053         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
17054         (mirror_conflicts): New function.
17055         (global_alloc): Call it.
17056         (expand_preferences): Remove redundant CONFLICTP test.
17057         (find_reg, dump_conflicts): Likewise.
17058         (prune_preferences): Process conflicts one word at a time.
17059
17060 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
17061
17062         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
17063         instead of an explicit loop.
17064
17065 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
17066
17067         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
17068         if REG_RETVAL check succeeds, then put classp in src_elt.
17069
17070 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
17071
17072         * function.c (pad_to_arg_alignment): Only update argument_pad
17073         if the argument's alignment is greater than STACK_BOUNDARY.
17074
17075 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
17076
17077         * bitmap.h (BITMAP_XFREE): New.
17078         * flow.c (life_analysis): Use it.
17079         (life_analysis_1): Free blocks.
17080
17081         * combine.c (undo_commit): New.
17082         (try_combine): Use it.  Don't zap undobuf.undos.
17083         (combine_instructions): Don't zap undobuf.undos; free the
17084         undobuf.frees list.
17085
17086         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
17087
17088         * stmt.c (cost_table_): New.
17089         (estimate_case_costs): Use it instead of xmalloc.
17090
17091         * toplev.c (compile_file): Reuse dumpname memory instead
17092         of strdup'ing it.
17093
17094 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
17095
17096         * reg-stack.c (convert_regs_1): Initialize target_stack->top
17097         after verifying an EH edge.
17098
17099         * haifa-sched.c (init_rgn_data_dependences): Correctly
17100         size bb_pending_lists_length when zeroing.
17101
17102 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
17103
17104         * function.c (diddle_return_value): New.
17105         (expand_function_end): Use it.
17106         * stmt.c (expand_null_return): Likewise.
17107         (expand_value_return): Likewise.
17108
17109         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
17110
17111         * reload1.c (reload): Don't remove return value clobbers.
17112
17113 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
17114
17115         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
17116
17117 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
17118
17119         * cse.c (cse_main): Use xmalloc, not alloca.
17120         (cse_basic_block): Likewise.
17121         * local-alloc.c (local_alloc): Likewise.
17122
17123 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
17124                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17125
17126         * rtl.c: Include toplev.h.
17127         (fatal): Remove declaration.
17128
17129 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
17130
17131         * haifa-sched.c (schedule_block): Fix thinko.
17132
17133 1999-11-03  James McKelvey <mckelvey@fafnir.com>
17134
17135         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
17136         S_IR* defined values
17137
17138 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
17139
17140         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
17141         call `malloc' instead.
17142
17143 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
17144
17145         * flags.h (flag_renumber_insns): Declare.
17146         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
17147         renumbering table.
17148         * rtl.h (renumber_insns): Change prototype.
17149         * toplev.c (flag_renumber_insns): Define.
17150         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
17151
17152 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
17153
17154         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
17155         and fpsqrtd.  Use them and create fdiv function unit to more
17156         accurately represent fpu sqrt pipeline semantics on UltraSparc.
17157         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
17158
17159 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
17160
17161         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
17162         3 on UltraSparc.
17163         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
17164         insn into ready list, do not use just a raw swap.
17165
17166 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
17167
17168         * rtl.h (renumber_insns): New function.
17169         (remove_unnecessary_notes): Likewise.
17170         * emit-rtl.c (renumber_insns): Define.
17171         (remove_unncessary_notes): Likewise.
17172         * toplev.c (rest_of_compilation): Remove dead code.
17173         Use renumber_insns and remove_unncessary_notes.
17174
17175         * gcse.c (struct null_pointer_info): New type.
17176         (get_bitmap_width): New function.
17177         (current_block): Remove.
17178         (nonnull_local): Likewise.
17179         (nonnull_killed): Likewise.
17180         (invalidate_nonnull_info): Take a null_pointer_info as input.
17181         (delete_null_pointer_checks_1): New function.
17182         (delete_null_pointer_checks): Use it.
17183
17184         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
17185         (split_edges): Likewise.
17186         (schedule_block): Likewise.
17187         (compute_block_backward_dependencies): Likewise.
17188         (schedule_region): Likewise.
17189         (schedule_insns): Likewise.
17190
17191 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
17192
17193         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
17194         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
17195         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
17196         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
17197         * jump.c (delete_unreferenced_labels): Don't delete if
17198         LABEL_ALTERNATE_NAME is set.
17199         * print-rtl.c (print_rtx): Dump alternate name.
17200         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
17201         * rtl.h (LABEL_ALTERNATE_NAME): Define.
17202         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
17203         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
17204
17205 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17206
17207         * fix-header.c (recognized_extern, recognized_function): Constify
17208         a char*.
17209
17210         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
17211         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
17212         (compute_available): Remove unused variable `last'.
17213         (compute_nearerout): Remove unused variable `temp_bitmap'.
17214         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
17215         Remove unused variable `x'.
17216
17217         * scan.h (recognized_function, recognized_extern): Constify a
17218         char*.
17219
17220         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
17221
17222 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17223
17224         * varasm.c (decode_rtx_const): Use XSTR to access the string
17225         of a SYMBOL_REF.
17226
17227 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
17228
17229         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
17230
17231 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17232
17233         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
17234
17235 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
17236
17237         * pa.c (ireg_operand): New function.
17238         * pa.h (PREDICATE_CODES): Handle ireg_operand.
17239         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
17240         Fix out of date comment.
17241
17242         * pa.md (negdi2): Turn into expander + anonymous pattern.
17243
17244         * reload.c (find_reloads): Fix typos in recent change.
17245
17246         * dwarf2out.c: Do not include ctype.h.
17247
17248 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17249
17250         * regclass.c (record_reg_classes): Always use may_move_cost when
17251         seeing how operand fits with various register classes.
17252
17253 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
17254
17255         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
17256         * toplev.c: Revert Nov 1 13:22 change.
17257
17258 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
17259
17260         * config/pa/pa.md (height reduction patterns): Add checks for
17261         overlapping operands to avoid semantic-destroying splits for
17262         height reduction patterns.
17263
17264 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17265
17266         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
17267         have been an hyphen, fixed.
17268         * configure: Rebuilt.
17269
17270 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
17271
17272         * config/arm/tpe.h: Add prototypes for exported functions.
17273         * config/arm/pe.c: Fix compile time warnings.
17274         * config/arm/semi.h: Fix compile time warnings.
17275         * config/arm/arm.c: Fix compile time warnings.
17276         * config/arm/arm.h: Fix compile time warnings.
17277         * config/arm/arm.md: Fix compile time warnings.
17278         * config/arm/thumb.c: Fix compile time warnings.
17279         * config/arm/thumb.h: Fix compile time warnings.
17280         * config/arm/thumb.md: Fix compile time warnings.
17281
17282 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
17283
17284         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
17285         detection code
17286
17287         * unroll.c (unroll_loop): Remove LOOP notes when loop is
17288         completely unrolled.
17289
17290 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17291
17292         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
17293
17294 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
17295
17296         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
17297         * rtl.h (rtx_equal_p): Move prototype.
17298         * rtl.c (rtx_equal_function_value_matters): Move from
17299         rtlanal.c
17300         (rtx_equal_p): Likewise.
17301         * rtlanal.c (rtx_equal_function_value_matters): Delete.
17302         (rtx_equal_p): Likewise.
17303
17304 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
17305
17306         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
17307         ! HAS_INIT_SECTION.
17308
17309 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
17310
17311         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
17312
17313         * pa.h (ADDR_VEC_ALIGN): Define.
17314
17315         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
17316         notes when presented with "if (foo) break; end_of_loop" and
17317         the break sequence gets moved out of the loop.
17318
17319         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
17320         Remove explicit zero initializations of entries within MAP.
17321
17322 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
17323
17324         * reg-stack.c (convert_regs_1): Handle EH edges specially.
17325
17326 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
17327
17328         * bitmap.h (BITMAP_XMALLOC): New macro.
17329         * flow.c (CLEAN_ALLOCA): Remove.
17330         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
17331         (life_analysis): Likewise.
17332         (update_life_info): Don't use CLEAN_ALLOCA.
17333         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
17334         (calculate_global_regs_live): Likewise.
17335         (print_rtl_with_bb): Likewise.
17336         (verify_flow_info): Likewise.
17337         * global.c (global_alloc): Likewise.
17338         (global_conflicts): Likewise.
17339         * integrate.c (save_for_inline_nocopy): Likewise.
17340         (expand_inline_function): Likewise.
17341         * jump.c (jump_optimize_1): Likewise.
17342         (duplicate_loop_exit_test): Likewise.
17343         (thread_jumps): Likewise.
17344         * loop.c (loop_optimize): Likewise.
17345         (combine_givs): Likewise.
17346         (recombine_givs): Likewise.
17347         * reorg.c (dbr_schedule): Likewise.
17348         * unroll.c (unroll_loop): Likewise.
17349
17350         * combine.c (combine_instructions): Use xmalloc instead of alloca.
17351
17352 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
17353
17354         * toplev.c (rest_of_compilation): Don't optimize the CFG
17355         when rebuilding, just before dbr.
17356
17357 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17358
17359         * output.h (assemble_end_function, assemble_destructor,
17360         assemble_constructor, assemble_gc_entry, assemble_global,
17361         assemble_label, output_constant_pool) Constify a char*.
17362
17363         * varasm.c (assemble_destructor, assemble_constructor,
17364         assemble_gc_entry, assemble_end_function, assemble_global,
17365         assemble_label, output_constant_pool): Likewise.
17366
17367 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
17368
17369         * config/arm/thumb.c (thumb_expand_prologue): Add comments
17370         explaining what is goin on in this function.
17371
17372 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17373
17374         * regclass.c (record_reg_classes): In matching case, recompute
17375         costs since the direction of movement is different.
17376
17377 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
17378
17379         * resource.c (mark_target_live_regs): For unconditional branches,
17380         the resources found at the branch target should be added to the
17381         resources found so far, not intersected.
17382
17383 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
17384
17385         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
17386         old cpp's.
17387         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
17388         (sys/mman.h): Include this file only if #HAVE_MMAP.
17389         (run_compiles): Initialize `esac_fmt' with one old KR string, not
17390         with automatically concatenated ANSI strings.
17391
17392 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
17393
17394         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
17395         (DIV_ROUND_UP): Robustify.
17396         (ggc_recalculate_in_use_p): New function.
17397         (release_pages): Don't inline it.
17398         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
17399         outer contexts.
17400         (ggc_pop_context): Use ggc_recalculate_in_use_p.
17401         (clear_marks): Always save in_use_p.
17402         (sweep_pages): Use ggc_recalculate_in_use_p.
17403         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
17404         Release pages before counting statistics.
17405
17406 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
17407
17408         * toplev.c (rest_of_compilation): Fix thinko in this change:
17409
17410         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
17411
17412         (rest_of_compilation): If inside an inlined external function,
17413         pretend we are just being declared.
17414
17415 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
17416
17417         * flow.c (calculate_global_regs_live): Fix thinko.
17418
17419         * integrate.c (expand_inline_function): Fix bugs in previous
17420         change from Oct 28, 1999.
17421
17422 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
17423
17424         * stmt.c (expand_value_return): Fix typo in this change:
17425
17426         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17427         (expand_value_return): Correctly convert VAL when promoting function
17428         return; support RETURN_REG being a PARALLEL.
17429
17430 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
17431
17432         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
17433
17434 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17435
17436         * hard-reg-set.h (reg_names): Constify a char*.
17437
17438         * regclass.c  (reg_names): Likewise.
17439
17440         * regs.h (reg_names): Likewise
17441
17442         * a29k/a29k.c (reg_names): Delete declaration.
17443
17444         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
17445
17446         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
17447         arc_output_function_epilogue): Likewise.
17448
17449         * elxsi/elxsi.c (reg_names): Likewise.
17450
17451         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
17452
17453         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
17454         Likewise.
17455
17456         * m88k/m88k.c (output_function_profiler): Likewise.
17457
17458         * sparc/sparc.c (sparc_flat_output_function_prologue,
17459         sparc_flat_output_function_epilogue): Likewise.
17460
17461 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
17462
17463         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
17464         warning from -Wuninitialized and put it under -W.
17465         * function.c (uninitialized_vars_warning): Warn only when the
17466         corresponding flag is set.
17467
17468 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
17469
17470         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
17471         is nonzero and the single set does not have an elt, then assign
17472         it an elt.
17473
17474         * simplify-rtx.c: New file.
17475         * Makefile.in (OBJS): Add simplify-rtx.o
17476         (simplify-rtx.o): Add dependencies.
17477         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
17478         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
17479         (cse_gen_binary, simplify_unary_operation): Delete.
17480         (simplify_binary_operation, simplify_plus_minus): Likewise.
17481         (check_fold_consts, simplify_relation_operation): Likewise.
17482         (simplify_ternary_operation): Likewise.
17483         (delete_trivially_dead_insns): Simplify the contents of the
17484         REG_EQUAL note before trying to substitute it into the source
17485         of the reg-reg copy at the end of a libcall sequence.
17486
17487         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
17488         references/callers changed.
17489
17490         * mn10200.c (mn10200_va_arg): Force the return value into a
17491         register.
17492
17493         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
17494
17495         * cccp.c (macroexpand): Avoid out of range accesses for omitted
17496         arguments.
17497
17498 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
17499
17500         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
17501
17502 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
17503
17504         * fold-const.c (fold): Fix thinko when optimizing comparisons
17505         against -0.0.
17506
17507 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
17508
17509         * gcc.texi (Passes): Update front-end files to their current
17510         location.
17511
17512 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
17513
17514         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
17515         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
17516         (PREDICATE_CODES): Add addition_operation.
17517         * alpha-protos.h (addition_operation): Declare.
17518         (secondary_reload_class): Likewise.
17519         * alpha.c (addition_operation): New.
17520         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
17521         * alpha.md (adddi3): Turn into expander.
17522         (*lda, *adddi_2): New.
17523         (movsf, movdf patterns): Don't preference integer regs.
17524         (movsi, movdi patterns): Don't preference fp regs.
17525
17526 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
17527
17528         * genrecog.c (write_switch): Check for duplicate CODE cases.
17529
17530 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
17531
17532         * ggc-common.c: Update pre-function commentary.
17533         * ggc-page.c: Likewise.
17534         (poison): Remove.
17535         (poison_pages): Use memset directly.
17536         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
17537         (ggc_collect): Poison before sweeping.
17538         * ggc-simple.c: Update pre-function commentary.
17539         (ggc_alloc_obj): Poison non-zeroed memory.
17540
17541 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
17542
17543         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
17544         match format string, even on 64-bit hosts.
17545         * gcc-page.c (ggc_page_print_statistics): Likewise.
17546
17547 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
17548
17549         * config/i386/i386.c (ix86_cpu): Revert last patch.
17550         * config/i386/i386.h (ix86_cpu): Ditto.
17551
17552 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
17553
17554         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
17555         TYPE_SIZE, convert type of result to sizetype.
17556
17557 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
17558
17559         * flow.c (count_or_remove_death_notes): Equate NULL with the
17560         universal set.
17561
17562         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
17563         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
17564         dbr_schedule.
17565
17566         * i386.c (pic_label_no): Delete.
17567         (ix86_attr_length_default): Don't use single_set to peek
17568         inside a parallel.
17569
17570         * recog.c (peephole2_optimize): Allow recog_next_insn to index
17571         the first insn after bb->end.
17572         * i386.md (push mem peeps): Scratch is live after evaluation
17573         of the memory.
17574         (cmp mem peep): Similarly.
17575
17576 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
17577
17578         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
17579         * function.c (pad_to_arg_alignment): Add missing braces.
17580
17581 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17582
17583         * alpha/alpha-protos.h (literal_section): Add prototype.
17584         (alpha_need_linkage, alpha_start_function,alpha_end_function):
17585         Constify a char*.
17586
17587         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
17588         prototype.
17589         (alpha_start_function, alpha_end_function, float_strings,
17590         alpha_need_linkage): Constify a char*
17591
17592         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
17593
17594         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
17595
17596         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
17597
17598         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
17599
17600 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17601
17602         * flow.c (debug_flow_info): Add prototype.
17603
17604         * gcc.c (main): Likewise.
17605
17606         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
17607         Likewise.
17608
17609         * reload1.c (failed_reload, set_reload_reg): Likewise.
17610
17611         * mips-tfile.c (main): Likewise.
17612         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
17613         with ATTRIBUTE_NORETURN.
17614
17615 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
17616
17617         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
17618         DECL is not a memory ref.
17619
17620 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
17621
17622         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
17623         * config/i386/i386.c (ix86_cpu): Add extern attribute.
17624
17625 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
17626
17627         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
17628         * config/mips/elf64.h: ditto.
17629
17630 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
17631
17632         * expr.c (emit_push_insn): New argument alignment_pad.
17633         Update all callers.  Adjust stack pointer based on alignment pad.
17634         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
17635         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
17636         (locate_and_pad_parm): New argument alignment_pad.  Update all
17637         callers.
17638         * expr.h (emit_push_insn): Update prototype.
17639         (locate_and_pad_parm): Update prototype.
17640         * calls.c (arg_data):  Add new field alignment_pad.
17641         (initialize_argument_information): Initialize alignment_pad.
17642
17643 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
17644
17645         * except.c (free_eh_nesting_info): Free the info itself.
17646         * function.c (free_after_compilation): Don't free NULL.
17647         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
17648         (pre_edge_insert): Free inserted.
17649         * stmt.c (free_stmt_status): Don't free NULL.
17650
17651 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
17652
17653         * gcov.c (DIR_SEPARATOR): Provide default.
17654         (output_data): Add test for MS-DOS format absolute filename.
17655         (fancy_abort): Correct program name.
17656         (open_files): Open all files in binary mode.
17657         * libgcc2.c (__bb_exit_func): Likewise.
17658
17659         * profile.c (init_branch_prob): Specify binary when opening files.
17660
17661         * flags.h (flag_unwind_tables): New decl.
17662         * toplev.c (flag_unwind_table): New definition.
17663         (f_options): Add -funwind-tables.
17664         (decode_g_option): Clarify warning when unknown -g option is given.
17665         (rest_of_compilation): If inside an inlined external function,
17666         pretend we are just being declared.
17667
17668         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
17669         (dwarf2out_frame_finish): Likewise.
17670
17671 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
17672
17673         * fold-const.c (merge_ranges): If not in0, but in1, handle
17674         upper bounds equal like subset case.
17675
17676 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
17677
17678         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
17679         passed in a register but moved to the stack.
17680
17681 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
17682
17683         * gcc.c (pass_exit_codes, greatest_status): New variables.
17684         (struct option_map): Add entry for "--pass-exit-codes".
17685         (execute): Update greatest_status if error.
17686         (display_help): Add documentation for -pass-exit-codes.
17687         (process_command): Handle -pass-exit-codes.
17688         (main): Look at pass_exit_codes and greatest_status on call to exit.
17689
17690 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17691
17692         * reload.c (find_reloads): Refine test for no input reload
17693         case to not includes reloads emitted after insn.
17694
17695         * function.c (find_temp_slots_from_address): Handle sum involving
17696         a register that points to a temp slot.
17697         (update_temp_slot_address): Make recursive call if both old and
17698         new are PLUS with a common operand.
17699         * calls.c (expand_call): Mark temp slot for result as having
17700         address taken.
17701
17702         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
17703
17704         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
17705         component as well as "BINUTILS".
17706
17707         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
17708         * integrate.c (copy_rtx_and_substitute): Likewise.
17709         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
17710         All callers changed.
17711         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
17712
17713         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
17714         gdb extensions, write size of type; also be more consistent
17715         in using references when this is a subtype.
17716
17717         * pa.md (extv, extzv, insv): Use define_expand to reject constant
17718         that is out of range.
17719
17720         * loop.c (unknown_constant_address_altered): New variable.
17721         (prescan_loop): Initialize it.
17722         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
17723         (invariant_p, case MEM): Remove handling for volatile and readonly;
17724         check new variable if readonly.
17725         (check_dbra_loop): Chdeck unknown_constant_address_altered.
17726
17727         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
17728         (addr_affects_sp_p): Removed from note_mem_written and only
17729         define #ifdef AUTO_INC_DEC.
17730
17731         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
17732
17733         * regclass.c (record_reg_classes): Properly handle register move
17734         directions.
17735
17736         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
17737         Don't think valid if both operands are invalid.
17738         (struct constant_descriptor): New field RTL.
17739         (mark_const_hash_entry): Mark it.
17740         (record_constant{,_rtx}): Initialize it.
17741         (output_constant_def): Allocate RTL in permanent obstack and
17742         save in table.
17743         ({record,compare}_constant_1): Modes must match for
17744         CONSTRUCTOR of ARRAY_TYPE.
17745
17746         * c-common.h (initializer_constant_valid_p): Delete decl from here.
17747         * output.h (initializer_constant_valid_p): Move decl to here.
17748         * c-common.c (initializer_constant_valid_p): Delete function from here.
17749         * varasm.c (initializer_constant_valid_p): Move function to here.
17750
17751         * tree.h (STRIP_SIGN_NOPS): New macro.
17752         * fold-const.c (optimize_minmax_comparison): New function.
17753         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
17754         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
17755         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
17756         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
17757         widening conversions.
17758         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
17759         to look at size of mode, not precision of type; also add missing cases.
17760         (optimize_bit_field_compare, decode_field_reference): Don't try to
17761         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
17762
17763         * dwarf2out.c (ctype.h): Include.
17764         (dwarf2out_set_demangle_name_func): New function.
17765         (size_of_line_info): Deleted.
17766         (output_line_info): Compute size of line info table from difference
17767         of labels.
17768         (base_type_die, add_name_attribute): Call demangle function, if any.
17769         (field_byte_offset): Use bits per word for variable length fields.
17770         (gen_array_type_die): Add array name.
17771         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
17772         (dwarf2out_add_library_unit_info): New function.
17773
17774         * explow.c (set_stack_check_libfunc): New function.
17775         (stack_check_libfunc): New static variable.
17776         (probe_stack_range): Allow front-end to set up a libfunc to call.
17777
17778         * combine.c (simplify_comparison): When making comparison in wider
17779         mode, check for having commuted an AND and a SUBREG.
17780         (contains_muldiv): New function.
17781         (try_combine): Call it when dividing a PARALLEL.
17782         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
17783         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
17784         a PLUS.
17785         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
17786         use one of the CLOBBERs instead.
17787         (if_then_else_cond): If comparing against zero, just return thing
17788         being compared.
17789
17790         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
17791         Don't generate shifts and subtract if have conditional arithmetic.
17792
17793         * rtl.h (delete_barrier): New declaration.
17794         * jump.c (jump_optimize): Set up to handle conditional call.
17795         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
17796         (delete_barrier): New function.
17797
17798         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
17799
17800         * recog.c (nonmemory_operand): Accept ADDRESSOF.
17801
17802         * tree.c (build_type_attribute_variant): Push to obstack of
17803         ttype around type_hash_canon call.
17804
17805         * expr.c (placeholder_list): Move decl to file scope.
17806         (expand_expr): Don't force access to volatile just because its
17807         address is taken.
17808         If ignoring reference operations, just expand the operands.
17809         (expand_expr, case COMPONENT_REF): Propagate
17810         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
17811         Refine test for using bitfield operations vs pointer punning.
17812         (expand_expr, case CONVERT_EXPR): If converting to
17813         BLKmode UNION_TYPE from BLKmode, just return inner object.
17814         Use proper mode in store_field call.
17815         Properly set sizes of object to store and total size in store_field
17816         call for convert to union.
17817         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
17818         memory (like for ADDR_EXPR).  Also, don't put constant in register if
17819         we'll want it in memory.
17820         (readonly_fields_p): New function.
17821         (expand_expr, case INDIRECT_REF): Call it if LHS.
17822         (expand_assignment): Handle a RESULT_DECL where
17823         DECL_RTL is a PARALLEL.
17824         (do_jump, case WITH_RECORD_EXPR): New case.
17825         (get_inner_reference): Always go inside a CONVERT_EXPR
17826         and NOP_EXPR if both modes are the same.
17827         (store_field): Use bitfield operations if size of bitsize is not same
17828         as size of RHS's type.
17829         Check for bitpos not a multiple of alignment in BLKmode case.
17830         Do block move in largest possible alignment.
17831         (store_constructor): Set BITSIZE to -1 for variable size and properly
17832         in case of array of BLKmode.
17833         (expand_expr_unaligned): New function.
17834         (do_compare_and_jump): Call it.
17835
17836         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
17837         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
17838         does not include 'o'.
17839
17840         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
17841         both SET_DEST and SET_SRC reference a virtual register.
17842         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
17843
17844         * integrate.c (expand_inline_function): Handle case of setting
17845         virtual stack vars register (from built in setjmp); when parameter
17846         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
17847         (subst_constant): Add new parm, MEMONLY.
17848         (expand_inline_function, integrate_parm_decls): Pass new parm.
17849         (integrate_decl_tree): Likewise.
17850         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
17851         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
17852         (copy_rtx_and_substitute, case SET): Add explicit calls to
17853         copy_rtx_and_substitute for both sides.
17854
17855         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
17856         constraints.
17857         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
17858         within INDEX_TYPE, instead of before.
17859         (fixup_gotos): Use f->target_rtl, not the next insn,
17860         since latter may be from a later fixup.
17861         (expand_value_return): Correctly convert VAL when promoting function
17862         return; support RETURN_REG being a PARALLEL.
17863         (expand_return): When checking for result in regs and having
17864         cleanup, consider PARALLEL in DECL_RTL as being in regs.
17865
17866 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
17867
17868         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
17869         last_nominal_fname): Mark const.
17870         (struct include_hash: name, nshort, control_macro): Mark
17871         const.
17872         (struct macrodef: symnam): Mark const.
17873         (struct if_stack: fname): Mark const.
17874         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
17875         (IStable): New character-syntax array which encompasses all
17876         the old is_foo arrays.
17877         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
17878         is_space): New macros for interrogating IStable.
17879         (check_macro_name): Kill last argument.  All callers changed.
17880
17881         * cppinit.c (initialize_char_syntax): Delete.
17882         (is_idchar, is_idstart, is_hor_space, is_space,
17883         trigraph_table): Delete.
17884         (IStable): New.  Initialize with clever macros to avoid
17885         information duplication.
17886         (builtin_array): Table of builtins to get rid of explicit list
17887         in initialize_builtins.
17888         (initialize_builtins): Use builtins_array.
17889         (cpp_start_read): Call init_IStable, and set IStable['$'] if
17890         opts->dollars_in_ident.
17891
17892         * cppexp.c: Change all refs to is_xyz[] arrays to use new
17893         is_xyz() macros.
17894         (cpp_parse_expr): Avoid 'format string is not constant'
17895         warning. Use ISGRAPH to identify printable chars.
17896         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
17897         is_xyz() macros.
17898         (read_and_prescan): Map trigraphs to chars with open-coded
17899         if-else-if-... sequence, not a lookup table.
17900         * cpphash.c: Change all refs to is_xyz[] arrays to use new
17901         is_xyz() macros.
17902         * cpplib.c: Change all refs to is_xyz[] arrays to use new
17903         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
17904         (check_macro_name): Remove ability to report an invalid
17905         assertion name, which is never used.
17906         (do_line): Constify a couple of char *'s.
17907         * cppmain.c (main): Call cpp_cleanup before returning.
17908
17909 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
17910
17911         * ggc.h (struct ggc_statistics): New type.
17912         (ggc_get_size): New function.
17913         (ggc_print_statistics): Likewise.
17914         * ggc-common.c (ggc_stats): New variable.
17915         (ggc_mark_rtx_children): Keep statistics.
17916         (ggc_mark_tree_children): Likewise.
17917         (ggc_print_statistics): New function.
17918         * ggc-page.c (struct globals): Add bytes_mapped field.
17919         (alloc_anon): Update it.
17920         (release_pages): Likewise.
17921         (ggc_get_size): New function.
17922         (ggc_page_print_statistics): New function.
17923         * ggc-simple.c (ggc_get_size): New function.
17924
17925 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
17926
17927         * flow.c (propagate_block): When the last reference to a label
17928         before an ADDR_VEC is deleted because the reference is a dead
17929         store, delete the ADDR_VEC.
17930
17931 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
17932
17933         * resource.c (find_free_register): Don't use the frame pointer
17934         if frame_pointer_needed.
17935
17936 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
17937
17938         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
17939         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
17940
17941         * config/i960/i960.c (i960_va_start): New locals base, num.
17942         Use INDIRECT_REF instead of ARRAY_REF on valist.
17943         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
17944
17945 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
17946
17947         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
17948
17949 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
17950
17951         * tree.def (PLACEHOLDER_EXPR): Update comments.
17952
17953 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17954
17955         * c-common.c (check_format_info): Avoid non-literal format string
17956         warnings when `first_arg_num' is zero.
17957
17958 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17959
17960         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
17961
17962 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
17963
17964         * arm.md (casesi_insn): Add a clobber of the condition code
17965         register.
17966
17967 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
17968
17969         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
17970         used by both cc1 and cc1plus.
17971
17972 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
17973
17974         * config/arm/arm.c: Initialise arm_structure_size_boundary to
17975         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
17976         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
17977         to the value 32 if it has not already been defined.
17978         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
17979         Override definition in arm.h with a value of 8.
17980
17981 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
17982
17983         * c-pragma.c (push_alignment): Don't check the return value
17984         of xmalloc.
17985
17986 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
17987
17988         * sparc.h (ADJUST_COST): Fix thinko.
17989
17990 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
17991
17992         * cccp.c (rescan): Fixed obp pointer handling around call to
17993         check_expand subroutine.
17994
17995 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
17996
17997         * gcse.c (delete_null_pointer_checks): Only record non-null info
17998         for pseudos when examining stores.
17999
18000         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
18001         splitters for these patterns.  Use "#" for output templates.
18002         (addsi3_carryin_shift): New pattern.
18003
18004 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
18005
18006         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
18007         of the function return register into a plain REG until
18008         after function inlining is done.
18009
18010 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
18011
18012         * jump.c (jump_optimize_1): If we did cross-jumping, and
18013         the data will matter, rebuild the CFG.
18014         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
18015         not optimizing.  Don't run shorten_branches.
18016         * toplev.c (rest_of_compilation): Run shorten_branches after
18017         reg_to_stack.
18018
18019 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
18020
18021         * rtl.h (note_stores): Add additional paramter.
18022         * rtlanal.c (reg_set_p_1): Take additional paramter.
18023         (reg_set_last_1): Likewise.
18024         (reg_set_p): Adjust call to note_stores.
18025         (reg_set_last): Likewise.
18026         (note_stores): Pass data parameter to worker function.
18027         * alias.c (record_set): Take additional parameter.
18028         (init_alias_analysis): Pass it.
18029         * caller-save.c (mark_set_regs): Take additional parameter.
18030         (save_call_clobbered_regs): Pass NULL to note_stores.
18031         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
18032         parameter.
18033         (record_dead_and_set_regs_1): Likewise.
18034         (reg_dead_at_p_1): Likewise.
18035         (combine_instructions): Adjust calls to note_stores.
18036         (try_combine): Likewise.
18037         (record_dead_insn): Remove.
18038         (record_dead_and_set_regs): Adjust calls to note_stores.
18039         (reg_dead_at_p): Likewise.
18040         * cse.c (invalidate_skipped_set): Take additional parameter.
18041         (cse_check_loop_start): Likewise.
18042         (cse_check_loop_start_value): Remove.
18043         (cse_set_around_loop): Adjust calls to note_stores.
18044         * flow.c (notice_stack_pointer_modification): Take additional
18045         parameter.  Remove duplicate declaration.
18046         (record_volatile_insns): Adjust calls to note_stores.
18047         * gcse.c (record_set_info): Take additional parameter.
18048         (record_last_set_info): Likewise.
18049         (invalidate_nonnull_info): Likewise.
18050         (record_set_insn): Remove.
18051         (compute_sets): Adjust calls to note_stores.
18052         (last_set_insn): Remove.
18053         (compute_hash_table): Adjust calls to note_stores.
18054         (insert_insn_end_bb): Likewise.
18055         (delete_null_pointer_checks): Likewise.
18056         * global.c (mark_reg_store): Take additional parameter.
18057         (mark_reg_clobber): Likewise.
18058         (reg_becomes_live): Likewise.
18059         (global_conflicts): Adjust calls to note_stores.
18060         (build_insn_chain): Likewise.
18061         * integrate.c (note_modified_parmregs): Take additional parameter.
18062         (mark_stores): Likewise.  Make it static.
18063         (save_for_inline_nocopy): Adjust calls to note_stores.
18064         (try_constants): Likewise.
18065         * integrate.h (mark_stores): Remove declaration.
18066         * jump.c (mark_modified_reg): Take additional parameter.
18067         (thread_jumps): Adjust calls to note_stores.
18068         * local-alloc.c (validate_equiv_mem_from_store): Take additional
18069         parameter.
18070         (no_equiv): Likewise.
18071         (reg_is_set): Likewise.
18072         (validate_equiv_mem): Adjust calls to note_stores.
18073         (update_equiv_regs): Likewise.
18074         (block_alloc): Likewise.
18075         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
18076         (note_addr_stored): Take additional parameter.
18077         (note_set_pseudo_multiple_uses): Likewise.
18078         (record_initial): Likewise.
18079         (prescan_loop): Adjust calls to note_stores.
18080         (strength_reduce): Likewise.
18081         (check_dbra_loop): Likewise.
18082         * regmove.c (flags_set_1): Take additional paramter.
18083         (mark_flags_life_zones): Adjust calls to note_stores.
18084         * reload1.c (mark_not_eliminable): Take additional parameter.
18085         (forget_old_reloads_1): Likewise.
18086         (reload_cse_invalidate_rtx): Likewise.
18087         (reload_cse_check_clobber): Likewise.
18088         (reload_combine_note_store): Likewise.
18089         (move2add_note_store): Likewise.
18090         (reload): Adjust calls to note_stores.
18091         (reload_as_needed): Likewise.
18092         (emit_reload_insns): Likewise.
18093         (reload_cse_regs_1): Likewise.
18094         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
18095         (reload_combine): Adjust calls to note_stores.
18096         * resource.c (update_live_status): Take additional paramter.
18097         (mark_target_live_regs): Adjust calls to note_stores.
18098         * stupid.c (find_clobbered_regs): Take additional parameter.
18099         (stupid_life_analysis): Adjust calls to note_stores.
18100
18101 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
18102
18103         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
18104         definition.
18105
18106         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
18107         definition.
18108
18109         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
18110         of the variable arm_structure_size_boundary.
18111
18112 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
18113
18114         * alias.c (init_alias_analysis): Allocate reg_known_value and
18115         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
18116         and reg_seen.
18117         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
18118         * cse.c (cse_main): Call end_alias_analysis.
18119         * haifa-sched.c (schedule_insns): Likewise.
18120         * local-alloc. (update_equiv_regs): Likewise.
18121         * reload1.c (reload_cse_regs): Likewise.
18122
18123 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
18124
18125         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
18126         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
18127         mapping from MASK_FPU.
18128
18129 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
18130
18131         * sparc.md (call): Don't bound structure return size to 0xfff.
18132
18133 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
18134
18135         * resource.c (mark_target_live_regs): Check that the target
18136         insn wasn't created after compute_bb_for_insn.
18137
18138 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
18139
18140         * ggc-page.c (poison_pages): Don't be overzealous.
18141
18142 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
18143
18144         * alias.c: Update comments for ADDRESS.
18145         (nonlocal_reference_p): Look inside the ADDRESS to determine if
18146         it is a local memory reference.
18147
18148         * c-typeck.c (build_function_call): Check that the built-in
18149         function is of class BUILT_IN_NORMAL before trying to recongize
18150         it as BUILT_IN_ABS.
18151         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
18152         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
18153
18154 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
18155
18156         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
18157         of alloca.
18158         (pre_gcse): Likewise.
18159         (hoist_expr_reaches_here_p): Likewise.
18160         (hoist_code): Likewise.
18161         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
18162         code to ...
18163         (pre_expr_reaches_here_p_work): ... here.
18164         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
18165         code to ...
18166         (expr_reaches_here_p_work): ... here.
18167
18168 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
18169
18170         * resource.c (find_basic_block): Delete.
18171         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
18172         (init_resource_info): Call compute_bb_for_insn.
18173
18174 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
18175
18176         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
18177         with already adjacent blocks, but no fallthru.
18178         (merge_blocks_move_successor_nojumps): Simplify.
18179         (debug_flow_info): New.
18180
18181         * toplev.c (rest_of_compilation): Open jump1 dump file before
18182         jump and close after, as opposed to just using dump_rtl.
18183
18184 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18185
18186         * reload.h (earlyclobber_operand_p): Declare.
18187         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
18188         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
18189         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
18190         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
18191
18192 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
18193                           Richard Henderson  <rth@cygnus.com>
18194
18195         * emit-rtl.c (emit_block_insn_before): New.
18196         (emit_block_insn_after): New.
18197         * basic-block.h: Declare them.
18198
18199         * bitmap.h: Protect from multiple inclusion.
18200
18201         * recog.c (scratch_operand): Handle VOIDmode correctly.
18202
18203         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
18204
18205         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
18206         * function.c (assign_parms): Likewise.
18207         * global.c (global_conflicts): Clarify STACK_REGS commentary.
18208
18209         * reg-stack.c (max_uid): Remove.
18210         (blocks, block_begin, block_end, block_drops_in): Remove.
18211         (block_stack_in, block_out_reg_set, block_number): Remove.
18212         (struct block_info_def, BLOCK_INFO): New.
18213         (enum emit_where): New.
18214         (current_block): New.
18215         (BLOCK_NUM): Remove.
18216         (mark_regs_pat, record_label_references): Remove.
18217         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
18218         (nan): New.
18219         (goto_block_pat, print_blocks, dump_stack_info): Remove.
18220         (reg_to_stack): Simplified test for existance of fp code.  Use
18221         flow.c code.  Call shorten_branches after cross-jump opt.
18222         (check_asm_stack_operands): Renamed from record_asm_reg_life.
18223         Return false if the asm doesn't use stack regs.  Don't do life
18224         analysis on the asm.
18225         (emit_pop_insn): Replace function pointer arg `when' with
18226         enum `where'.  Update all callers.
18227         (change_stack): Likewise.  Update basic block end.
18228         (emit_swap_insn): Use current_block->head to limit reverse search
18229         for start of block.  Use emit_block_insn_after.
18230         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
18231         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
18232         structure assignment instead of bcopy.
18233         (print_stack): New.
18234         (convert_regs_entry, convert_regs_exit): New.
18235         (convert_regs_1, convert_regs_2): Split out from convert_regs.
18236         Work on basic blocks and the CFG.
18237         (convert_regs): Use them.
18238
18239         * i386.c (output_fix_trunc): Remove code for DImode input operand
18240         not at top-of-stack.
18241         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
18242         appropriate mode.
18243         (fix_truncdi_1): Allow any mode scratch.
18244
18245 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
18246
18247         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
18248         * linux.h, netbsd.h, vms.h: Not here.
18249
18250 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
18251
18252         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
18253         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
18254         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
18255         CONDITIONAL_REGISTER_USEAGE): Use them.
18256         * config/mips/mips.c (mips_move_1word,mips_move_2words,
18257         gen_conditional_branch,override_options) : Use them.
18258         * config/mips/mips.md : Use them.
18259
18260 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
18261
18262         * i386.md (zero_extendqihi2): Use SImode register name with andl.
18263
18264 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
18265
18266         * integrate.c (function_cannot_inline_p): Don't allow inlining
18267         if setjmp is used.
18268
18269 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18270
18271         * c-parse.in (cast_expr): Constify.
18272
18273         * cccp.c (special_symbol): Likewise.
18274
18275         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
18276
18277         * dwarf2out.c (base_type_die): Likewise.
18278
18279         * global.c (allocno_compare): Likewise.
18280
18281         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
18282
18283         * regclass.c (fix_register): Likewise.
18284
18285         * rtl.h (fix_register): Likewise.
18286
18287         * stupid.c (stupid_reg_compare): Likewise.
18288
18289         * toplev.c (decode_f_option): Likewise.
18290
18291         * tree.c (build_complex_type): Likewise.
18292
18293 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
18294
18295         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
18296
18297 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18298
18299         * reload.c (find_reloads): Compute mode and nregs fields of all
18300         reloads.
18301         * reload1.c (calculate_needs_all_insns): Simplify a bit.
18302         (calculate_needs): Use precomputed mode/nregs values.
18303         (allocate_reload_reg): Likewise.
18304         Break out two...
18305         (failed_reload, set_reload_reg): ... new functions.
18306         (choose_reload_regs_init): New function, mostly broken out from...
18307         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
18308         Also lose one #if 0 block.
18309
18310 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
18311
18312         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
18313         substitution.
18314
18315 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
18316
18317         * tree.h (BLOCK_TYPE_TAGS): Remove.
18318         (BLOCK_END_NOTE): Likewise.
18319         (BLOCK_LIVE_RANGE_FLAG): Likewise.
18320         (BLOCK_LIVE_RANGE_START): Likewise.
18321         (BLOCK_LIVE_RANGE_END): Likewise.
18322         (tree_block): Remove live_range_flag, live_range_var_flag, and
18323         type_tags.  Remove end_note, live_range_start, and live_range_end.
18324         (remember_end_note): Remove prototype.
18325         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
18326         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
18327         remember_end_note.
18328         * ggc-common.c (ggc_mark_tree_children): Don't mark
18329         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
18330         * integrate.c (adjust_copied_decl_tree): Remove.
18331         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
18332         * stmt.c (last_block_end_note): Remove.
18333         (init_stmt): Don't add a GC root for it.
18334         (expand_fixup): Don't set it.
18335         (remember_end_note): Remove.
18336         (expand_end_bindings): Don't set last_block_end_note.
18337
18338 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18339
18340         * reload1.c (reload_reg_free_for_value_p): Show
18341         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
18342         reloads.
18343
18344 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
18345
18346         * expmed.c (extract_bit_field): Allow for the case of non-integer
18347         objects that are smaller than a word (like SFmode on a 64-bit
18348         machine).
18349
18350         * loop.c (basic_induction_var): A non-integer variable which is
18351         being set by a paradoxical subreg is probably not a biv.
18352
18353 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18354
18355         * prefix.c (translate_name) Check for empty prefix string.
18356
18357 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
18358
18359         * Makefile.in (CPP_CROSS_NAME): New variable.
18360         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
18361         xcpp.
18362         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
18363         names of the files to be uninstalled.
18364
18365 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
18366
18367         * collect2.c (IS_DIR_SEPARATOR): Define.
18368         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
18369
18370         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
18371         functions too.
18372
18373         * haifa-sched.c (add_dependence): Update the true dependency
18374         cache the first time we add a true dependence to the LOG_LINKS chain.
18375
18376 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
18377
18378         * fold-const.c (fold): Fix comment.
18379
18380 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18381
18382         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
18383         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
18384         dbxout_start_new_source_file, dbxout_source_file,
18385         dbxout_source_line, dbxout_finish, dbxout_type_fields,
18386         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
18387         Constify a char*.
18388         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
18389         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
18390         (dbxout_block): Initialize variable `blocknum'.
18391
18392         * dbxout.h (dbxout_init, dbxout_finish,
18393         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
18394         dbxout_args, dbxout_source_line): Constify a char*.
18395
18396         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
18397         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
18398         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
18399         low_pc_attribute, high_pc_attribute, body_begin_attribute,
18400         body_end_attribute, comp_dir_attribute, sf_names_attribute,
18401         src_info_attribute, mac_info_attribute, producer_attribute,
18402         lookup_filename, generate_macinfo_entry, fundamental_type_code,
18403         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
18404         dwarfout_undef): Constify a char*.
18405         (add_incomplete_type, retry_incomplete_types): Add prototypes.
18406
18407         * dwarfout.h (dwarfout_define, dwarfout_undef,
18408         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
18409
18410 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
18411
18412         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
18413         (MULTILIB_ISA_DEFAULT): New.
18414         (MULTILIB_DEFAULTS): Use it.
18415         * config/mips/mips.c (): Remove the now unnecessary definition
18416         of MIPS_ISA_DEFAULT.
18417         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
18418         unnecessary definition.
18419
18420 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
18421
18422         * arm.md (pic_load_addr): Add constraints to operand 1.
18423
18424 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
18425
18426         * fixinc/genfixes:  Provide a means for specifying -D options to
18427         AutoGen
18428
18429 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
18430
18431         * arm.c (arm_override_options): Correct initialization of
18432         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
18433         arm_is_strong, and arm_is_6_or_7.
18434
18435         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
18436         (note_set_pseudo_multiple_uses): New function.
18437         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
18438         if a pseudo set in the loop exit is used elsewhere.
18439
18440 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
18441
18442         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
18443
18444 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
18445
18446         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
18447         a single load-address pattern.
18448
18449 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
18450
18451         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
18452         depending on whether or not line-number notes are present.
18453
18454 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18455
18456         * cccp.c (progname, file_buf, default_include, include_file,
18457         macrodef, definition, hashval, wchar_type, user_label_prefix,
18458         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
18459         expand_to_temp_buffer, is_system_include, base_name,
18460         absolute_filename, read_name_map, open_include_file,
18461         record_control_macro, check_precompiled, check_preconditions,
18462         pcfinclude, pass_thru_directive, create_definition,
18463         check_macro_name, comp_def_part, collect_expansion,
18464         check_assertion, read_token_list, assertion_install,
18465         assertion_lookup, eval_if_expression, conditional_skip,
18466         validate_else, skip_quoted_string, quote_string, macarg1,
18467         error_from_errno, install, lookup, hashf, dump_defn_1,
18468         perror_with_name, pfatal_with_name, main, trigraph_pcp,
18469         check_white_space, rescan, handle_directive, monthnames,
18470         special_symbol, do_include, remap_include_file, write_output,
18471         arglist, do_assert, do_unassert, do_line, do_error, do_once,
18472         do_ident, do_sccs, do_xifdef, skip_if_group,
18473         output_line_directive, macroexpand, macarg, change_newlines,
18474         initialize_builtins, make_definition): Constify a char*.
18475
18476         * pcp.h (stringdef): Likewise.
18477
18478 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
18479
18480         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
18481         not of pattern.
18482
18483 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
18484                           Richard Henderson  <rth@cygnus.com>
18485
18486         * alias.c: Include ggc.h.
18487         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
18488         (record_set): Verify enough room in reg_base_value.
18489         (init_alias_analysis): Allocate reg_base_value with xcalloc.
18490         Register it as a GC root.
18491         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
18492         * Makefile.in (alias.o): Depend on ggc.h.
18493
18494         * unroll.c (unroll_loop): Verify the insn before a barrier
18495         is a JUMP_INSN before checking JUMP_LABEL.
18496
18497 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18498
18499         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
18500         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
18501         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
18502         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
18503         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
18504         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
18505
18506 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18507
18508         * output.h (ctors_section, dtors_section, bss_section): Prototype.
18509
18510         * alpha/alpha-interix.h (text_section): Delete prototype.
18511         * alpha/elf.h (text_section): Likewise.
18512         * arm/linux-elf.h (text_section): Likewise.
18513         * arm/linux-telf.h (text_section): Likewise.
18514         * c4x/c4x.h (text_section): Likewise.
18515         * dsp16xx/dsp16xx.h (bss_section): Likewise.
18516         * elfos.h (text_section): Likewise.
18517         * i386/aix386ng.h (text_section): Likewise.
18518         * i386/i386-interix.h (text_section): Likewise.
18519         * i386/sco5.h (text_section): Likewise.
18520         * i386/svr3gas.h (text_section): Likewise.
18521         * nextstep.h (text_section): Likewise.
18522         * psos.h (text_section): Likewise.
18523         * ptx4.h (text_section): Likewise.
18524         * svr3.h (text_section): Likewise.
18525         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
18526
18527 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18528
18529         * final.c (peephole): Delete prototype.
18530
18531         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
18532         (pre_insert_copies): Remove unused variable `bb'.
18533
18534         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
18535         prototypes.
18536
18537         * output.h (peephole): Add prototype.
18538
18539 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
18540
18541         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
18542         -O0.
18543
18544 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
18545
18546         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
18547         for inlined declarations.
18548
18549 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
18550
18551         * arm.c (logical_binary_operator): New fucntion.
18552         * arm.h (logical_binary_operator): Declare it.
18553         (PREDICATE_CODES): Handle logical_binary_operator.
18554         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
18555         output constraints.  Add appropriate splitters.
18556         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
18557         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
18558         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
18559
18560 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18561
18562         * genoutput.c (struct operand_data): New elt eliminable.
18563         (output_operand_data): Write it.
18564         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
18565         (compare_operands): Take it into account.
18566         * recog.h (struct insn_operand_data): New elt eliminable.
18567         * reload1.c (check_eliminable_occurrences, elimination_effects): New
18568         functions.
18569         (old_asm_operands_vec, new_asm_operands_vec): Delete.
18570         (eliminate_regs): Move code that detects changes to elimination
18571         target regs into new function elimination_effects.
18572         Delete one #if 0 block.
18573         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
18574         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
18575         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
18576         Only call eliminate_regs for real operands of the insn, not for parts
18577         of its structure or parts matched by things like match_operator.
18578         Use elimination_effects and check_eliminable_occurrences.  Use
18579         copy_insn to duplicate the pattern when not in the final pass.
18580
18581 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
18582
18583         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
18584         and fld.
18585
18586 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
18587
18588         * fixinc/README: document the "mach" machine matching test
18589         * fixinc/fixfixes.c: Implement the #else/#endif label fix
18590         * fixinc/fixtests.c: Implement the #else/#endif label test
18591         * fixinc/inclhack.def: utilize these tests and fixes
18592         * fixinc/inclhack.sh:  regen
18593         * fixinc/fixincl.x:  regen
18594         * fixinc/fixincl.sh:  regen
18595
18596 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
18597
18598         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
18599         depend on ggc.h.
18600
18601 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
18602
18603         * gcc.1: Document exit codes.
18604
18605 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18606
18607         * calls.c: Include tm_p.h later, so everything we need is defined.
18608         * expr.c: Likewise.
18609         * function.c: Likewise.
18610
18611         * except.c: Include tm_p.h.
18612
18613         * sparc.c: Likewise.
18614         (dwarf2out_cfi_label): Don't prototype.
18615         (check_return_regs, epilogue_renumber,
18616         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
18617         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
18618         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
18619         ultra_schedule_insn): Add static prototype.
18620         (data_segment_operand, text_segment_operand): Call itself with the
18621         proper number of arguments.
18622         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
18623
18624         * sparc.h: Move all declarations to sparc-protos.h.
18625         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
18626         symbolic_operand.
18627
18628         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
18629
18630         * config/svr4.h (text_section, ctors_section, dtors_section): Add
18631         Prototypes.
18632         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
18633         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
18634         ASM_OUTPUT_ASCII): Constify a char*.
18635
18636         * sparc-protos.h: New file for sparc prototypes.
18637
18638 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18639
18640         * function.c (record_insns, contains): Always declare and define.
18641         (record_insns): Mark with ATTRIBUTE_UNUSED.
18642
18643 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18644
18645         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
18646         to .section when outputting a .bss section to deal with multiple
18647         .bss input sections (as happens with -fdata-sections)
18648         Also output %progbits, not @progbits so the assembler doesn't treat as
18649         a comment.
18650         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
18651
18652         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
18653         thumb parts even when building with non-thumb CPUs, by forcing
18654         thumb mode.
18655
18656 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
18657
18658         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
18659         (movdf_const_intreg_sp64): Similarly.
18660
18661         * local-alloc.c (update_equiv_regs): Check the correct insn
18662         for pre-existing REG_EQUIV notes.
18663
18664 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
18665
18666         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
18667         block reached by a branch if we're not going to actually process
18668         this block.
18669
18670 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
18671
18672         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
18673         a local extern function declaration.
18674
18675 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
18676
18677         * i386.c (ix86_expand_prologue): Properly wrap USE around
18678         reg for CALL_INSN_FUNCTION_USAGE.
18679
18680 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
18681
18682         * config/mips/mips.md (movdf_internal1a): Allow floating-point
18683         move between GP_REGs.
18684
18685 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
18686
18687         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
18688         the mode size when finding out if an offset is legal.
18689
18690 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
18691
18692         * basic-block.h (PROP_*): Move constants from ...
18693         * flow.c: ... here.
18694         (compute_bb_for_insn): Free the array before reallocating.
18695         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
18696         (allocate_reg_life_data): Reset all reg variables collected by
18697         propagate_block.
18698         (get_block_head_tail): Don't convert from bb to block.
18699         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
18700         (find_insn_reg_weight): Take block not bb.
18701         (schedule_block): Don't set block num for moved insns.
18702         (schedule_region): Don't update_life_info or find_insn_reg_weight.
18703         (schedule_insns): Do it here instead.
18704         * combine.c (combine_instructions): Invoke compute_bb_for_insn
18705         before update_life_info.
18706         * recog.c (split_all_insns, peephole2_optimize): Update for
18707         new arg to update_life_info.
18708         * rtlanal.c (remove_note): Cope with NULL note.
18709         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
18710         if we did sched1.
18711
18712 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
18713
18714         * jump.c (jump_optimize_1): More accurately detect casesi insns.
18715
18716         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
18717         block records so that merge_blocks_nomove will clean up correctly.
18718         (split_edge): Handle casesi insns.
18719
18720         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
18721
18722 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
18723
18724         * pa.md (call, call_value): Do not emit a blockage after restoring
18725         the PIC register.
18726
18727 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
18728
18729         * c-typeck.c (c_expand_asm_operands): Fix typo.
18730
18731 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18732
18733         * arm.c (fpu_rhs_operand): Verify modes.
18734         (fpu_add_operand): Likewise.
18735         (di_operand): Likewise.
18736         (soft_df_operand): Likewise.
18737
18738 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
18739
18740         * arm.c (arm_return_in_memory): APCS rules state that the elements
18741         of a structure returned in a register must be 'integer-like'.
18742
18743 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
18744
18745         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
18746         in the source tree when the generated targets are out of date
18747         * fixinc/genfixes: Alter it to run individual fixes for make.
18748         * fixinc/README: rewrite
18749         * fixinc/inclhack.def: moved initial comments to README
18750
18751 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
18752
18753         * toplev.c (main): Do not generate an error message if an
18754         unrecognised command line switch is recognisable by another
18755         language.  If extra_warnings are enabled, then generate a
18756         warning message instead.
18757
18758 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18759
18760         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
18761         (insert_pack_attributes): Delete prototype.
18762
18763         * c-pragma.c (default_alignment): New static variable.
18764         (push_alignment): Initialize to current effective alignment.
18765         (pop_alignment): Use to set new alignment.
18766         (insert_pack_attributes): Delete function.
18767         (handle_pragma_token): Set default_alignment as well each time
18768         a #pragma pack(<n>) is encountered.
18769
18770 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
18771
18772         * reg-stack.c (stack_result): Aggregates are not returned in
18773         stack registers.
18774
18775 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
18776
18777         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
18778
18779 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
18780
18781         * basic-block.h (set_block_num): Declare.
18782         * flow.c (update_life_info): Don't call compute_bb_for_insn
18783         or free_basic_block_vars.
18784         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
18785         (insn_orig_block): Remove.
18786         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
18787         (schedule_block): Keep BLOCK_NUM up-to-date.
18788         (schedule_insns): Use compute_bb_for_insn.
18789         * recog.c (split_all_insns): Likewise.
18790         (peephole2_optimize): Likewise.
18791
18792 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
18793
18794         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
18795         if the pic register is used.
18796
18797 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18798
18799         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
18800         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
18801         if that tests TREE_PERMANENT.
18802
18803 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
18804
18805         * cse.c (invalidate_for_call): Do not remove memory references from
18806         the table here.  It's handled elsewhere.
18807
18808         * haifa-sched.c (add_dependence): Protect references to the
18809         true dependency cache with #ifdef INSN_SCHEDULING.
18810         (remove_dependence): Similarly.
18811
18812         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
18813         to the cfg code that this is a return instruction.
18814         * mn10300.md (return_internal): Similarly.
18815
18816         * combine.c (get_last_value): If the last set of a register
18817         is after subst_low_cuid, then we can not use it to determine
18818         the register's last value.
18819
18820 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
18821
18822         * Makefile.in: Back out previous change.
18823
18824 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
18825
18826         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
18827
18828         * haifa-sched.c (add_dependence): Only check/update the cache
18829         if it exists.
18830         (remove_dependence): Likewise.
18831         (schedule_insns): Only create the true_dependency_cache if the
18832         average number of instructions in a basic block is very large.
18833
18834 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
18835
18836         * Makefile.in (ggc-common.o): Depend on genrtl.h.
18837         (ggc-simple.o): Likewise.
18838         (ggc-page.o): Likewise.
18839
18840 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
18841
18842         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
18843         Prototype for exported functions.
18844         (pre_lcm, pre_rev_lcm): Remove prototypes.
18845         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
18846         (compute_available): Move to lcm.c, and change parameter order.
18847         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
18848         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
18849         (gcse_main): No longer call compute_preds_succs.  Rebuild the
18850         set table after reach pre pass.
18851         (pre_insert_map, pre_delete_map, edge_list): New.
18852         (alloc_pre_mem): Allocate edge vectors.
18853         (free_pre_mem): Delete edge vectors.
18854         (compute_pre_data): Call new edge based lcm routines.
18855         (process_insert_insn): New function.
18856         (insert_insn_end_bb): Use it.
18857         (pre_edge_insert): New function.
18858         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
18859         needed.
18860         (pre_insert_copies): Revamp using new edge based lcm outputs.
18861         (pre_delete): Likewise.
18862         (one_pre_gcse_pass): Insert & remove fake edges to the exit
18863         block.
18864         (compute_code_hoist_vbeinout): New new edge based routines.
18865         * lcm.c: Remove all the old LCM functions.  Replace with new ones
18866         that work with the new cfg datastructures and work with edges
18867         instead of blocks.
18868
18869 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18870
18871         * reload.h (struct reload): Add new fields "mode" and "nregs".
18872         * reload1.c: Change all occurrences of reload_mode and reload_nregs
18873         to reference the "mode" and "nregs" field within struct reload.
18874
18875 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
18876
18877         * haifa-sched.c (true_dependency_cache): New.
18878         (add_dependence): Use the true dependency cache to avoid expensive
18879         walks down the LOG_LINKS dependency list.  Add entries to the
18880         cache as necessary.
18881         (remove_dependence): Remove entries from the true dependency cache
18882         as needed.
18883         (schedule_insns): Allocate and initialize and free the true
18884         dependency cache.
18885
18886         * haifa-sched.c (schedule_insns): Do not remove inter-block
18887         dependencies anymore.
18888
18889 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
18890
18891         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
18892         * i386/t-winnt: Likewise.
18893
18894 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
18895
18896         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
18897
18898 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
18899
18900         * Makefile.in (LANGUAGES): Omit "proto".
18901         (clean): Remove stale comment about removing unprotoize.c.
18902
18903 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18904
18905         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
18906         using arithmetic on void pointers.
18907
18908 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
18909
18910         * haifa-sched.c (compute_block_forward_dependencies): Only check
18911         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
18912
18913 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
18914
18915         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
18916         (expr_equiv_p): Reject memories with different alias sets.
18917
18918 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
18919
18920         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
18921         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
18922         (f_options): Add "bounded-pointers" and "bounds-check" entries.
18923         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
18924         (lang_init): Set default for flag_bounds_check if still "unspecified".
18925
18926 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18927
18928         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
18929
18930 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18931
18932         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
18933         instructions.
18934
18935 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18936
18937         * config/c4x/c4x.md (*db_noclobber,
18938         *decrement_and_branch_until_zero_noclobber): New patterns and
18939         associated splitters.
18940
18941 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18942
18943         * config/c4x/c4x.md (parallel instruction patterns): Rework
18944         constraints to keep reload happy.
18945
18946 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18947
18948         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
18949         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
18950         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
18951         Add new patterns and associated post-reload splitters.
18952
18953 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18954
18955         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
18956
18957 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18958
18959         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
18960         if appropriate.
18961         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
18962
18963 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18964
18965         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
18966         memory mode.
18967
18968 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18969
18970         * pa.c (move_operand): Rely on memory_address_p to determine the
18971         validity of non-indexed memory addresses.
18972         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
18973         operand in DFmode and SFmode when generating PA2.0 code.
18974
18975 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
18976
18977         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
18978
18979 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
18980
18981         * mips.c (function_prologue): Fix argument types.
18982         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
18983         (casesi_internal): Write to the scratch register.
18984
18985 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
18986
18987         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
18988         to U_CHAR **.
18989         (parse_charconst): Delete unnecessary cast when calling
18990         cpp_parse_escape.
18991         (cpplib.h): Kill prototype of cpp_parse_escape.
18992
18993 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
18994
18995         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
18996         * unroll.c (unroll_loop): Cast return value of alloca.
18997         * i370/i370.c: Include function.h and toplev.h.
18998         (i370_label_scan): Remove c++ commented abort.
18999         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
19000         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
19001         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
19002         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
19003
19004 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
19005
19006         * config/t-freebsd: Do not override USER_H.
19007         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
19008
19009 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
19010                           Mumit Khan  <khan@xraylith.wisc.edu>
19011
19012         * c-parse.in (component_decl): Support anonymous struct/union.
19013         (%expect): Update.
19014         * c-parse.y: Regenerate.
19015         * c-parse.c: Likewise.
19016         * objc/objc-parse.y: Likewise.
19017         * objc/objc-parse.c: Likewise.
19018         * c-decl.c (finish_struct): Don't sort the fields.
19019         (field_decl_cmp): Delete unused function.
19020
19021 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
19022
19023         * sparc.md (movsf_const_intreg): Revert last constraint change.
19024         (movdf_const_intreg_sp32): Likewise.
19025
19026 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
19027
19028         * cse.c: Include hashtab.h instead of splay-tree.h
19029         (struct cse_reg_info): No longer use variant union.  Add new
19030         field "regno".  All references changed to avoid union.
19031         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
19032         (free_cse_reg_info): Remove.
19033         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
19034         (get_cse_reg_info): Revamp to use expandable hash tables instead
19035         of splay trees.  Initialize new fields in cse_reg_info structure.
19036         (new_basic_block): Similarly.
19037
19038 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
19039
19040         * genrecog.c (message_with_line): Prototype.
19041         (validate_pattern): Pass along the set for the dest, not a flag.
19042         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
19043         Check for PC/CC0 as sources.
19044         (nodes_identical): Check for children position match before
19045         allowing the combination.
19046
19047         * rtl.c (read_rtx): Track line number across \\\n.
19048
19049 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
19050
19051         * mips.h (SPECIAL_MODE_PREDICATES): New.
19052         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
19053         (movdi+1, movsi+1): Add output reload constraint.
19054         (casesi_internal): Likewise.  Fix commentary.
19055         (return_internal): Use pmode_register_operand.
19056
19057 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
19058
19059         * 1750a.md (movstrqi): Add missing output reload constraint.
19060         (call_value): Likewise.
19061         * a29k.md (cpxxx patterns): Add missing match_operator mode.
19062         (jmpfdec): Add missing inout reload constraint.
19063         * elxsi.md (addsi patterns): Add missing output reload constraint.
19064         (move from sp): Use @ alternates.
19065         (call_value): No constraint on output.
19066         * fr30.md (movsi_pop): Add missing output reload constraint.
19067         (movsf_constant_store): Likewise.
19068         (splits): Remove constraints.
19069         (subsi3): Add missing mode.
19070         * i370.md (cmpstrsi+1): Add missing output reload constraint.
19071         (call_value): Likewise.
19072         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
19073         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
19074         * m32r.md (movsicc_internal): Add output reload constraint.
19075         (movstrsi_internal): Add inout reload constraints.
19076         * m88k.h (reg_names): Don't declare.
19077         (SPECIAL_MODE_PREDICATES): New.
19078         * m88k.md (*): Use register_operand not reg_or_0_operand
19079         on destinations.
19080         * mn10200.h (PREDICATE_CODES): New.
19081         * ns32k.md (ffs pattern): Add output reload constraint.
19082         * pdp11.md (sob pattern): Add inout reload constraint.
19083         * sh.md (splits): Remove constraints.
19084         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
19085         * v850.md (pattern_is_ok_for_epilogue): Likewise.
19086         * vax.md (jgequ pattern): Add inout reload constraint.
19087
19088 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
19089
19090         * configure.in (djgpp): Revert previous patch.
19091         * configure: Rebuit.
19092         * config/i386/djgpp.h: Revert previous patch.
19093
19094 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
19095
19096         * fixinc/inclhack.def: Restore patch lost during last merge of
19097         "no_bogosity" branch.
19098         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
19099
19100 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19101
19102         * fixincludes: Add a HPUX 11 fix for inttypes.h.
19103         * fixinc/inclhack.def: Same.
19104         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
19105
19106 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
19107
19108         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
19109         as the base of a PLUS.
19110
19111 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19112
19113         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
19114         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
19115
19116 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
19117
19118         * pa.md (post_stw+1): Use pmode_register_operand.
19119         (dcacheflush, icacheflush): Likewise.
19120
19121         * i386.md (movstricthi_1): Allow r/r.
19122
19123 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
19124
19125         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
19126         to (not (and (arg0) (arg1))). Similary for and.
19127
19128         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
19129         fallthrough to associate code.
19130         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
19131         bits in common.
19132
19133         * combine.c (simplify_logical): Convert XOR to IOR if operands have
19134         no bits in common; remove XOR to ROTATE conversion.
19135
19136 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19137
19138         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
19139
19140 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19141
19142         * config/c4x/c4x.c (dst_operand): New.
19143         (PREDICATE_CODES): Update.
19144         * config/c4x/c4x.h (dst_operand): Declare it.
19145         * config/c4x/c4x.md:  Define mode for each unspec usage.
19146         (move patterns):  Use dst_operand predicate instead of src_operand.
19147         (movqi_update, movqf_update): Delete.
19148
19149 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
19150
19151         * recog.c (pmode_register_operand): New.
19152         * recog.h: Declare it.
19153         * genrecog.c (pred_codes): Likewise.
19154         (special_mode_pred_table): Likewise.
19155         (validate_pattern): Don't warn no mode for address_operand.
19156
19157         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
19158         if the operand is not insn-like.
19159
19160 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
19161                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
19162
19163         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
19164
19165 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
19166
19167         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
19168         instead of general_operand in a SET_DEST.  Use const_double_operand
19169         instead of an explicit test against CONST_DOUBLE.
19170         (movsf_const_lo): Add missing register mode.
19171         (goto_handler_and_restore): Add auxiliary test for Pmode.
19172         (flush): Adjust to use address_operand.
19173         (return_sf_no_fpu): Add missing output constraint.
19174
19175 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
19176
19177         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
19178         for call return value.
19179         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
19180
19181 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
19182
19183         * toplev.c (main): Only warn about options for other languages.
19184         * collect2.c (main): Pass -w to sub-gcc.
19185
19186 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
19187
19188         * flow.c (propagate_block): Add call-clobbered registers to
19189         significant too.
19190
19191         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
19192         zapping mem_set_list.
19193         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
19194         (mark_set_1, mark_used_regs): Likewise.
19195
19196 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
19197
19198         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
19199
19200 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
19201
19202         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
19203         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
19204         options. Also add a new item "C-only Warning Options" to the
19205         option summary.
19206
19207 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
19208
19209         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
19210         from multiple calls.
19211
19212 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
19213
19214         * i386.md (call value patterns): Move to the end of the file.
19215         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
19216
19217 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
19218
19219         * configure.in (djgpp configuration): Define extra_objects..
19220         * configure: Rebuilt.
19221         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
19222         (DTORS_SECTION_ASM_OP): Define.
19223         (INIT_SECTION_ASM_OP): Define.
19224         (FINI_SECTION_ASM_OP): Define.
19225         (DATA_SECTION_ASM_OP): Define.
19226         (TEXT_SECTION_ASM_OP): Define.
19227         (EH_FRAME_SECTION_ASM_OP): Define.
19228         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
19229         (STARTFILE_SPEC): Add crtbegin.o.
19230         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
19231         to here from LINK_COMMAND_SPEC.
19232         (DO_GLOBAL_CTORS_BODY): Define.
19233         (CRTSTUFF_USE_FINI_SECTION): Define
19234         (HAS_INIT_SECTION): Delete.
19235
19236 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
19237
19238         * Makefile.in (all.cross): Depend on xcpp$(exeext).
19239
19240 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
19241
19242         * pa.h (PREDICATE_CODES): New.
19243
19244         * genrecog.c (validate_pattern): Condense the destination
19245         non-lvalue message.
19246
19247 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
19248
19249         * alpha.md (call-1): Supply missing mode for operator.
19250         (*): Add missing output reload constraints.  Remove constraints
19251         from define_splits.
19252
19253         * i386.h (SPECIAL_MODE_PREDICATES): New.
19254         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
19255         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
19256         (addsi_lea_3): Add missing mode for op 3.
19257         (prologue_set_got, prologue_get_pc): Add missing modes.
19258         (*) Add missing output reload constraints.
19259
19260 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
19261
19262         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
19263         check for member bit-size overflow and use var_size if it occurs.
19264         (layout_record): Use bitsize_int() to define the type size in bits.
19265         Likewise for computation and assignment to DECL_FIELD_BITPOS.
19266         (layout_decl): Likewise when assigning to DECL_SIZE.
19267
19268 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
19269
19270         * genrecog.c (validate_pattern): Typo last change.  Verify
19271         that output operands have output reloads.
19272
19273 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
19274
19275         * genrecog.c (special_mode_pred_table): New.
19276         (NUM_SPECIAL_MODE_PREDS): New.
19277         (find_operand): New.
19278         (validate_pattern): New argument `insn'.  Warn for assignment to
19279         any predicate accepting non-lvalues.  Conditionaly warn for
19280         match_operand without a mode.  Try much harder to match source
19281         and destination modes on a set.
19282         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
19283
19284 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
19285
19286         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
19287
19288 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
19289
19290         * combine.c (simplify_logical): Recognize xor pattern that encodes
19291         rotation.
19292
19293 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19294
19295         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
19296         alignment.
19297
19298 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
19299
19300         * ggc-page.c (MAP_FAILED): Provide default.
19301
19302 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
19303
19304         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
19305         * sparc.h (PREDICATE_CODES): Update.
19306
19307 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
19308
19309         * alpha.c (some_ni_operand): New.
19310         * alpha-protos.h: Declare it.
19311         * alpha.h (PREDICATE_CODES): Update.
19312         * alpha.md (sXaddq reload insns): Use some_ni_operand
19313         for SET_DEST instead of some_operand.
19314
19315 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
19316                           Jim Wilson  <wilson@cygnus.com>
19317
19318         * genrecog.c (maybe_both_true_2): Don't compare modes of
19319         two DT_pred tests.
19320         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
19321         after find_afterward.
19322         (debug_decision_1): Dump next and afterward codes.
19323
19324 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
19325
19326         * rtl.c (dump_and_abort): Remove.
19327         (fatal_with_file_and_line): New.
19328         (fatal_expected_char): New.
19329         (read_rtx_lineno, read_rtx_filename): New.
19330         (read_skip_spaces): Track line number.
19331         (read_name): Use fatal_with_file_and_line.
19332         (read_rtx): Use fatal_expected_char.  Track line number.
19333         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
19334
19335         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
19336         if it isn't a CODE_LABEL.
19337
19338         * genattr.c (main): Set read_rtx_filename.
19339         * genattrtab.c (main): Likewise.
19340         * gencodes.c (main): Likewise.
19341         * genconfig.c (main): Likewise.
19342         * genemit.c (main): Likewise.
19343         * genextract.c (main): Likewise.
19344         * genflags.c (main): Likewise.
19345         * genopinit.c (main): Likewise.
19346         * genoutput.c (main): Likewise.
19347         * genpeep.c (main): Likewise.
19348
19349         * genrecog.c (decision_test.u.insn): Add `lineno'.
19350         (pattern_lineno, error_count): New variables.
19351         (message_with_line): New.
19352         (add_to_sequence): Break out checking code to ...
19353         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
19354         (merge_insn): Use message_with_line.
19355         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
19356         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
19357
19358 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19359
19360         * expr.c (store_constructor): Clear union if constructor is empty.
19361
19362 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
19363
19364         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
19365         Add !endian checks.  Change %{...} to %(...).
19366
19367 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
19368
19369         * i386.md (*addsi3_cc): Renamed from addcsi3.
19370         (*addsi3_carry): Renamed from addxsi3.
19371         (*subsi3_cc): Renamed from subcsi3.
19372         (*subsi3_carry): Renamed from subxsi3.
19373         (*xorqi_cc_1): Renamed from xorcqi_1.
19374         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
19375         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
19376
19377 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
19378
19379         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
19380         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
19381
19382 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
19383
19384         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
19385         climb up the chain of insns.
19386
19387 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
19388
19389         * genrecog.c (write_subroutine): Careful for null trees.
19390         (process_tree): Don't elide empty functions.
19391
19392 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
19393
19394         * Makefile.in (genrtl.o): Depend on ggc.h.
19395         * configure.in (valloc): Probe for it.
19396         (with-gc): Use ggc-page if valloc present.
19397         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
19398         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
19399         (ggc_alloc_string): Moved from ggc-page.c.
19400         * ggc-none.c (ggc_alloc_obj): New.
19401         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
19402         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
19403         (struct globals): Likewise for dev_zero_fd.
19404         (init_ggc): Likewise for it's initialization.
19405         (ggc_allocated_p): Move careful dereference from ...
19406         (ggc_lookup_page_table): ... here.  Delete.
19407         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
19408         (alloc_anon): Use valloc if no mmap.
19409         (release_pages): Use free if using valloc.
19410         (ggc_alloc_obj): Renamed from alloc_obj.
19411         (ggc_set_mark): Renamed from mark_obj.
19412         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
19413         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
19414         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
19415         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
19416         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
19417         (ggc_collect): Use fp printing instead of our own rounding.
19418         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
19419         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
19420         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
19421         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
19422         (struct ggc_string, struct ggc_any): Delete.
19423         (offsetof): Provide default definition.
19424         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
19425         (PTR_KEY): New.
19426         (struct ggc_mem): New, from corpse of ggc_any.
19427         (struct ggc_status): Delete.
19428         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
19429         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
19430         (n_strings_collected, n_anys_collected): Delete.
19431         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
19432         (ggc_alloc_string, ggc_alloc): Delete.
19433         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
19434         (ggc_free_string, ggc_free_any): Delete.
19435         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
19436         (ggc_compare_addresses, ggc_mark_string): Delete.
19437         (ggc_mark_string_if_gcable, ggc_mark): Delete.
19438         (search_data): Delete.
19439         (struct globals): New.
19440         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
19441         (tree_insert, tree_lookup): New.
19442         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
19443         (clear_marks, sweep_objs): New.
19444         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
19445         (init_ggc): Set allocated_last_gc.
19446         (ggc_push_context): Gut.  Use G.context.
19447         (ggc_pop_context): Likewise.
19448         (ggc_pop_context_1): New.
19449         (debug_ggc_tree): New.
19450         (debug_ggc_balance, tally_leaves): New.
19451         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
19452         (ggc_mark_string_if_gcable): Remove decl.
19453         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
19454         (ggc_mark_rtvec_children): New.
19455         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
19456         (ggc_mark_if_gcable): New decl.
19457         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
19458         (ggc_alloc_tree, ggc_alloc): Likewise.
19459         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
19460         (ggc_alloc_obj): New decl.
19461         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
19462         (ggc_alloc_tree, ggc_alloc): Likewise.
19463         (ggc_set_mark): New decl.
19464         * rtl.h (struct rtx_def): Remove gc_mark.
19465         (struct rtvec_def): Likewise.
19466         * tree.h (struct tree_common): Likewise.
19467
19468 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
19469
19470         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
19471         float_format and thread_file definitions.
19472         * configure: Rebuilt.
19473
19474 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
19475
19476         * extend.texi (Function Names): Document types of function names.
19477
19478 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19479
19480         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
19481         an earlyclobbered output conflict with RELOAD_INPUT reloads.
19482
19483 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19484
19485         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
19486
19487 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19488
19489         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
19490
19491 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
19492
19493         * collect2.c (main): Do prelimnary link on AIX if rflag.
19494
19495 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
19496
19497         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
19498         __CTOR_LIST__ in opposite order, which is the correct order for sorted
19499         constructors.
19500         (__do_global_dtors): similarly for __DTOR_LIST__.
19501
19502 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19503                                 Diego Novillo <dnovillo@cygnus.com>
19504
19505         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
19506         FPUL_REGS.
19507
19508 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
19509
19510         * fixincl/*: Merged "no_bogosity" branch
19511         * fixincl/fixlib.h: protect against doubly defining t_bool
19512         * fixincl/server.h: protect against doubly defining t_bool
19513
19514 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
19515
19516         * genoutput.c: Include toplev.h.
19517
19518 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
19519
19520         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
19521         Undef.
19522         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
19523         * configure: Regenerate.
19524
19525 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
19526
19527         * gcse.c (delete_null_pointer_checks): Returns void.
19528
19529 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19530
19531         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
19532         * emit-rtl.c (copy_insn_1): Likewise.
19533
19534 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
19535
19536         * config/mips/mips.c (mips_build_va_list): Correct
19537         TREE_CHAIN setting when hard-float.
19538         (mips_va_start): Use corrected setting.
19539         (mips_va_arg): Likewise.  Also pass a tree to build of
19540         POSTINCREMENT_EXPR rather than a naked 'int'.
19541
19542 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
19543
19544         * ggc.h (ggc_push_context): Fix comment.
19545         (ggc_pop_context): Likewise.
19546         (mark_string_if_gcable): Likewise.
19547         * ggc-common.c (ggc_mark_rtx_children): Use
19548         ggc_mark_string_if_gcable.
19549         * ggc-page.c (ggc_lookup_page_table): New function.
19550         (ggc_allocated_p): Likewise.
19551         (mark_obj): Fix formatting.
19552         (ggc_mark_string_if_gcable): New function.
19553         * ggc-simple.c (ggc_allocated_strings): New variable.
19554         (ggc_strings_used): Likewise.
19555         (ggc_compare_addresses): New function.
19556         (ggc_pop_context): Pop the `any' memory too.
19557         (ggc_mark_string_if_gcable): New function.
19558         (ggc_collect): Initialize and tear down ggc_allocated_strings.
19559
19560 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
19561
19562         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
19563         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
19564         * rs6000.c (expand_block_move): Match movstrsi_?reg register
19565         changes.
19566
19567 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
19568
19569         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
19570         (sched_reg_live_length, sched_reg_basic_block): Delete.
19571         (current_block_num, bb_live_regs, old_live_regs): Delete.
19572         (dead_notes, struct sometimes): Delete.
19573         (sched_note_set, birthing_insn_p): Delete.
19574         (adjust_priority): Gut useless reg lifetime code.
19575         (create_reg_dead_note, attach_deaths): Delete.
19576         (attach_deaths_insn, new_sometimes_live): Delete.
19577         (finish_sometimes_live): Delete.
19578         (find_pre_sched_live, find_post_sched_live): Delete.
19579         (update_reg_usage): Delete.
19580         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
19581         (schedule_insns): Delete reg lifetime code.
19582         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
19583         (unlink_other_notes): Adjust REG_NOTE commentary.
19584         (reemit_notes): Use REG_SAVE_NOTE.
19585         (schedule_block): Likewise.
19586         (schedule_region): Allocate bitmap of blocks in region.  Use
19587         count_or_remove_death_notes.  Use update_life_info.
19588
19589         * rtl.h (REG_SAVE_NOTE): New.
19590         * rtl.c (reg_note_name): Update.
19591
19592 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
19593
19594         * combine.c (refresh_blocks, need_refresh): New.
19595         (combine_instructions): Allocate refresh_blocks.  Invoke
19596         update_life_info if needed.
19597         (distribute_notes): Mark refresh_blocks instead of installing
19598         USE insns.
19599         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
19600         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
19601
19602         * Makefile.in (recog.o): Depend on basic-block.h.
19603
19604 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
19605
19606         * genrecog.c (add_to_sequence): Thinko last change: delete
19607         shadowing allow_const_int variable.
19608
19609 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19610
19611         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
19612         __GNUC__ and __GNUC_MINOR__.
19613
19614         * gansidecl.h: Likewise.
19615
19616         * rtl.c: Likewise.
19617
19618         * rtl.h: Likewise.
19619
19620         * toplev.h: Likewise.
19621
19622         * tree.c: Likewise.
19623
19624         * tree.h: Likewise.
19625
19626         * varray.c: Likewise.
19627
19628         * varray.h: Likewise.
19629
19630 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19631
19632         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
19633         use one before a jump table.
19634
19635         * rtl.def (ADDRESS): Change documentation to match reality.
19636         * md.texi: Don't document it.
19637         * gmicro.md (load address pattern): Use 'p' constraint, delete use
19638         of ADDRESS rtx.
19639
19640         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
19641
19642 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
19643
19644         * genrecog.c (add_to_sequence): Move allow_const_int test outside
19645         known predicate block; default allow_const_int true.
19646         (debug_decision_list): New.
19647
19648 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
19649
19650         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
19651
19652 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
19653
19654         * gcse.c (gcse_main): Avoid global optimizations if we have a
19655         large number of basic blocks and the ratio of edges to blocks
19656         is high.
19657         (delete_null_pointer_checks): Likewise.
19658
19659 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
19660
19661         * c-common.c (check_format_info): Warn if format string isn't a
19662         string literal.
19663
19664 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
19665
19666         * configure.in (arm*-*-*): Don't let autoconf remove brackets
19667         * configure: regenerate
19668
19669 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
19670
19671         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
19672         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
19673         (peepholes): Re-enable.
19674
19675 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
19676
19677         * Makefile.in (flow.o): Depend on TREE_H.
19678         * basic-block.h (REG_SET_EQUAL_P): New.
19679         (XOR_REG_SET): New.
19680         (n_edges): Declare.
19681         (free_regset_vector): Remove declaration.
19682         (flow_delete_insn_chain): Declare.
19683         (enum update_life_extent): New.
19684         (update_life_info, count_or_remove_death_notes): Declare.
19685         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
19686         Verify register live at bb->global_live_at_start before adding USE.
19687         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
19688         (CLEAN_ALLOCA): New.
19689         (n_edges): New.
19690         (PROP_*): New flags.
19691         (find_basic_blocks_1): Use alloc_EXPR_LIST.
19692         (clear_edges): Zero n_edges.
19693         (make_edge): Increment n_edges.
19694         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
19695         (flow_delete_insn_chain): Export.
19696         (delete_block): Decrement n_edges.
19697         (merge_blocks_nomove): Likewise.
19698         (life_analysis): Give life_analysis_1 PROP flags.
19699         (verify_wide_reg_1, verify_wide_reg): New.
19700         (verify_local_live_at_start): New.
19701         (update_life_info): Rewrite to call into propogate_block.
19702         (mark_reg): New.
19703         (mark_regs_live_at_end): After reload, if epilogue as rtl,
19704         always mark stack pointer.  Conditionally mark PIC register.
19705         After reload, mark call-saved registers, return regsiters.
19706         (life_analysis_1): Accept PROP flags not remove_dead_code.
19707         Call mark_regs_live_at_end before zeroing regs_ever_live.
19708         Use calculate_global_regs_live.  Copy global_live_at_end before
19709         calling final propagate_block.  Zero reg_next_use on exit.
19710         (calculate_global_regs_live): New.
19711         (allocate_bb_life_data): Don't allocate bb->local_set.
19712         (init_regset_vector, free_regset_vector): Remove.
19713         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
19714         Test flags before every operation.  Warn if prologue/epilogue insn
19715         would have been deleted.
19716         (mark_set_regs, mark_set_1): Accept and use FLAGS.
19717         Use alloc_EXPR_LIST.
19718         (mark_used_regs): Accept and use FLAGS, not FINAL.
19719         Remove special handling for RETURN.
19720         (try_pre_increment): Use alloc_EXPR_LIST.
19721         (dump_flow_info): Dump n_edges.
19722         (unlink_insn_chain, split_hard_reg_notes): Remove.
19723         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
19724         (find_insn_with_note, new_insn_dead_notes): Remove.
19725         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
19726         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
19727         (replace_insns): Remove.
19728         (count_or_remove_death_notes): New.
19729         (verify_flow_info): Abort on error after all checks.
19730         (remove_edge): Decrement n_edges.
19731         (remove_fake_edges): Tweak format.
19732         * haifa-sched.c (schedule_insns): Use split_all_insns.
19733         * output.h (update_life_info): Remove declaration.
19734         * recog.c (split_all_insns): From the corpse of split_block_insns,
19735         do the whole function block by block.  Use update_life_info.
19736         (recog_last_allowed_insn): New.
19737         (recog_next_insn): Mind it.
19738         (peephole2_optimize): Set it.  Walk backwards through blocks.
19739         Use update_life_info.
19740         * rtl.h (update_flow_info, replace_insns): Remove declarations.
19741         (split_all_insns): Declare.
19742         * toplev.c (rest_of_compilation): Thread prologue before flow2.
19743         Use split_all_insns.
19744
19745         * i386.md (or -1 peep2s): Disable.
19746
19747 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
19748
19749         * config/mips/mips.md (movstrsi+[123]) : Combine these into
19750         a single pattern.  Scrap the 'd' versions as unnecessary.
19751
19752         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
19753         tablejump_mips162,tablejump_internal4): The operands to a
19754         label_ref must be VOIDmode.
19755
19756 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19757
19758         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
19759
19760 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
19761
19762         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
19763
19764 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
19765
19766         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
19767         cache every function if ggc_p.
19768
19769 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19770
19771         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
19772         instead of copy_rtx.  Accept sequences that contain asm statements.
19773         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
19774         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
19775         orig_asm_operands_vector, copy_asm_operands_vector,
19776         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
19777         variables.
19778         * rtl.h (copy_insn, copy_insn_1): Declare.
19779
19780 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19781
19782         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
19783
19784         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
19785         arguments to `current_file_function_operand'.
19786
19787         * genrecog.c: Include hard-reg-set.h and resource.h in the
19788         generated output file.
19789
19790         * real.c: Include tm_p.h.
19791
19792 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19793
19794         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
19795         output operand.
19796
19797 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
19798
19799         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
19800         before the fctiwz insn.
19801
19802 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19803                           Mark Mitchell  <mark@codesourcery.com>
19804
19805         * tree.c (make_lang_type_fn): New funtion pointer.
19806         (make_lang_type): Call it.
19807         * tree.h (make_lang_type): Declare.
19808         (make_lang_type_fn): Likewise.
19809         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
19810
19811 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
19812
19813         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
19814         make sure that HIGH instructions are copied into BASE_REGS.
19815
19816 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
19817
19818         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
19819
19820 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
19821
19822         * c-decl.c (finish_struct): Use simpler method of
19823         removing elements of a singly-linked list.
19824
19825 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
19826
19827         * alpha.md (peephole2's): Comment out peephole2's that generate
19828         buggy code.
19829
19830 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
19831
19832         * genrecog.c (add_to_sequence): Disable mode check for
19833         wildcard matches.
19834
19835 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19836
19837         * ggc-simple.c (init_ggc): Set empty_string.
19838
19839 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
19840
19841         * configure.in: Detect mmap.  Add --with-gc=foo to select
19842         garbage collector; default to page if mmap available.
19843         * Makefile.in (GGC): Substitute.
19844
19845 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
19846
19847         * c-decl.c (ggc_p): Enable.
19848
19849 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19850
19851         * flow.c (verify_flow_info): Make it extern & unconditionally define.
19852
19853 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
19854
19855         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
19856         string for little-endian-data.
19857
19858 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
19859
19860         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
19861         case somebody tries to compile --enable-checking code with gcc
19862         1.34 or such.
19863
19864 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
19865
19866         * genrecog.c (add_to_sequence): Verify operand to label_ref is
19867         VOIDmode.
19868
19869 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
19870
19871         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
19872         * jump.c (jump_optimize_1): Document why.
19873
19874 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19875
19876         * collect2.c (scan_prog_file, scan_libraries): Prototype function
19877         pointers and casts for `int_handler' and `quit_handler'.
19878
19879         * flow.c (verify_flow_info, split_hard_reg_notes,
19880         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
19881         remove_edge, remove_fake_successors): Add static prototypes.
19882         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
19883         (mark_set_1): Initialize variable `regno'.
19884         (unlink_insn_chain): Likewise for variable `curr'.
19885         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
19886
19887         * loop.c (strength_reduce): Initialize variable
19888         `unrolled_insn_copies'.
19889         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
19890         prototypes.  Change these functions to take const PTR parameters
19891         to avoid prototype conflict when used as the comparson argument
19892         for qsort.
19893         (check_dbra_loop): Initialize variable `comparison_val'.
19894
19895         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
19896         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
19897         (find_valid_class): Initialize variable `best_class'.
19898         (find_reloads): Call memcpy, not bcopy.
19899
19900         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
19901         (hard_reg_use_compare): Don't needlessly cast away const.
19902         (reload_reg_class_lower): Likewise.
19903         (choose_reload_regs): Initialize variable `regno'.
19904
19905 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
19906
19907         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
19908
19909 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
19910
19911         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
19912         ({,d}discard): Add forward declarations.  Declare parameter as
19913         unused.
19914         (main_without_main): Explicitly declare return type to be int.
19915         (memcpy): Properly declare.
19916
19917         * libgcc2.c (toplevel): If inhibit_libc is defined and not
19918         building the trampoline support, declare malloc, free, and
19919         atexit.
19920         (__clear_cache): Mark arguments as potentially unused.
19921
19922         * frame.c (toplevel): If inhibit_libc is defined, declare
19923         malloc and free.
19924
19925 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
19926
19927         * flow.c (make_edge): Accept an optional 2D bitmap in which
19928         to cache edge existence.  Update all callers.
19929         (make_label_edge, make_eh_edge): Pass through the edge cache.
19930         (make_edges): Provide the cache.
19931
19932 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19933
19934         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
19935         a char*.
19936         (local_mbtowc): Change the type of variable `i' from int to size_t.
19937
19938         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
19939         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
19940
19941 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
19942
19943         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
19944         after other includes that define the appropriate types.  Include
19945         tm_p.h for getting user prototypes.
19946         * ggc-callbacks.c (toplevel): Ditto.
19947         * ggc-none.c (toplevel): Ditto.
19948         * gcc-page.c (toplevel): Ditto.
19949         * ggc-simple.c (toplevel): Ditto.
19950
19951 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
19952                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
19953
19954         * config/mips/mips.c (mips_move_2words): Split doubles if
19955         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
19956
19957 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
19958
19959         * genrecog.c (struct decision_test): New.
19960         (struct decision): Remove test-related members, sort the rest by size.
19961         (IS_SPLIT): Simplify.
19962         (new_decision, new_decision_test): New.
19963         (add_to_sequence): Use them.  No special handling for args of
19964         non-MATCH codes.
19965         (maybe_both_true): Renamed from not_both_true; return sense changed.
19966         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
19967         of maybe_both_true and adjusted for decision_test.
19968         (position_merit): Remove.
19969         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
19970         (merge_accept_insn): New, broken out of merge_trees.
19971         (merge_trees): Use them.  No special case for c_test; no node
19972         splitting; use test type instead of position_merit.
19973         (factor_tests): New.
19974         (simplify_tests): New.
19975         (break_out_subroutines): Don't write code now.
19976         (find_afterward): New.
19977         (write_afterward, write_switch, write_cond): New.
19978         (write_action, is_unconditional): New.
19979         (write_node): New.  Use them.
19980         (write_tree_1): Rewrite.  Use the new functions above.
19981         (write_tree): Remove afterward processing.
19982         (write_subroutine): Simplify function variant emission.
19983         (write_subroutines): New.
19984         (same_codes, clear_codes): Remove.
19985         (same_modes, clear_modes): Remove.
19986         (write_header): New, broken out of main.
19987         (make_insn_sequence): Use new_decision and new_decision_test.
19988         (process_tree): New, broken out of main.
19989         (main): Adjust for merge_trees interface change.
19990         Don't #define operands in the output file.
19991         (record_insn_name): New, broken out of make_insn_sequence.
19992         (debug_decision_2, debug_decision_1, debug_decision_0): New.
19993         (debug_decision): New.
19994
19995 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
19996
19997         * resource.c (find_free_register): Mark class_str argument const.
19998         * resource.h: Update prototype to match.
19999
20000         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
20001         * i386.md: Give all anonymous insns names.
20002
20003 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
20004
20005         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
20006         blocks.
20007
20008 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
20009
20010         * toplev.c (dbr_sched_time): Unconditional.
20011         (peephole2_time): New.
20012         (compile_file): Add pass numbers to all of the dump file suffixes.
20013         Dump peephole2_time.  Don't dump times for non-applicable passes.
20014         (rest_of_compilation): Add pass numbers to dump file suffixes.
20015         Conditionalize calls to the scheduler.
20016         * invoke.texi: Update.
20017
20018 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
20019
20020         * flow.c (make_edges): Fix insn iteration.
20021         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
20022         (find_basic_blocks_1): Fix spelling mistake.
20023
20024 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
20025
20026         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
20027         always have side-effects.  Use memset not bzero.
20028         (make_node): Likewise.
20029
20030 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
20031
20032         * stmt.c (expand_anon_union_decl): When any of the elements of the
20033         union is addressable, so is the entire union.
20034
20035 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
20036
20037         * sbitmap.c (sbitmap_ones): Don't set too many bits.
20038
20039         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
20040         * bitmap.c (bitmap_operation): Return true iff TO changed.
20041         (bitmap_equal_p): New.
20042         (bitmap_bit_p): Tidy arithmetic.
20043         (debug_bitmap_file): Likewise.
20044
20045 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
20046
20047         * toplev.c (rest_of_compilation): Turn on cse_not_expected
20048         before cse2 instead of after.
20049
20050 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
20051
20052         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
20053         register offsets.
20054
20055 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20056
20057         * cppinit.c (is_idchar initializer): Loosen tests to accept
20058         gcc 2.>6 and >2.
20059
20060 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
20061
20062         * mips.md: Define conditional move patterns for floating point
20063         operands and DI mode conditions.
20064
20065 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
20066
20067         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
20068         always have side-effects.
20069
20070 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
20071
20072         * mn10200.c (asm_file_start): Fix typo.
20073
20074         * cppinit.c (is_idchar initializer): Tighten tests for when
20075         to put the table into initialized memory.
20076
20077         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
20078         not an array of rtunion.
20079         * gcc-page.c (ggc_alloc_rtvec): Similarly.
20080         * gcc-simple (ggc_free_rtvec): Similarly.
20081
20082         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
20083         of rtunions.
20084
20085         * mbchar.h: Add missing #endif.
20086
20087         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
20088         (FPBIT, DPBIT): Define.
20089
20090 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20091
20092         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
20093
20094         * profile.c (instrument_arcs, output_gcov_string,
20095         tablejump_entry_p): Add static prototypes.
20096         (output_gcov_string): Constify a char*.
20097
20098         * regmove.c (replacement_quality, fixup_match_2): Add static
20099         prototypes.
20100
20101         * resource.h (reg_dead_p): Add extern prototype.
20102
20103         * rtl.c (trim_filename): Add static prototype.
20104
20105         * scan-decls.c (skip_to_closing_brace): Likewise.
20106
20107         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
20108         (expand_end_case): Initialize variable `range'.
20109         (emit_case_nodes): Remove unused prototype `rtx_fn'.
20110
20111         * varasm.c (asm_emit_uninitialised): Add static prototype.
20112         (asm_emit_uninitialised, assemble_variable): Mark parameter with
20113         ATTRIBUTE_UNUSED.
20114
20115 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20116
20117         * cpplib.c (if_directive_nameo): Add static prototype.
20118
20119         * cse.c (cse_insn): Remove unused variable `p'.
20120
20121         * except.c (create_rethrow_ref, push_entry,
20122         receive_exception_label, new_eh_region_entry, find_func_region,
20123         clear_function_eh_region, process_nestinfo): Add static prototypes.
20124         (get_reg_for_handler): Hide definition.
20125         (process_nestinfo): Initialize variable `extra_handlers'.
20126
20127         * expr.h (expand_builtin_longjmp): Add extern prototype.
20128
20129         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
20130
20131         * function.c (prepare_function_start): Likewise.
20132         (pop_function_context_from): Mark parameter `context' with
20133         ATTRIBUTE_UNUSED.
20134         (push_temp_slots_for_block, flush_addressof): Hide definition.
20135
20136         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
20137         solve_program_flow_graph, calculate_branch_probs,
20138         function_summary, main, fancy_abort): Add prototypes.
20139
20140         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
20141         (add_hash): Constify a char*.
20142
20143         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
20144         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
20145         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
20146
20147         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
20148
20149         * lists.c (free_list, zap_lists): Likewise.
20150
20151 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20152
20153         * alias.c (nonlocal_reference_p): Add static prototype.
20154
20155         * bitmap.c (bitmap_element_allocate): Prototype args in function
20156         pointer cast.
20157
20158         * builtins.c (stabilize_va_list): Add static prototype.
20159         (expand_builtin_va_arg): Constify a char*.
20160
20161         * c-lex.c (getch, put_back, extend_token_buffer_to,
20162         read_line_number, token_getch, token_put_back): Add static
20163         prototypes.
20164
20165         * c-parse.gperf (hash, is_reserved_word): Likewise.
20166
20167         * cccp.c (is_dir_separator): Likewise.
20168
20169 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20170
20171         * graph.h: New file to prototype functions exported by graph.c.
20172
20173         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
20174
20175         * graph.c: Include graph.h.
20176
20177         * toplev.c: Likewise.  Remove redundant prototypes.
20178
20179 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
20180
20181         * invoke.texi: Removed duplicated description for -Q.
20182
20183 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
20184
20185         * extend.texi: Grammar fix in __extension__ text.
20186
20187 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
20188
20189         * md.texi (define_peephole2): New section.
20190
20191 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
20192
20193         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
20194         (mov $-1 to or peepholer): Enable for pentium when optimizing for
20195         speed.
20196
20197 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
20198
20199         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
20200
20201 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
20202
20203         * i386.md (ffs expander): Emit Pentium friendly code for
20204         TARGET_PENTIUM.
20205
20206 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
20207
20208         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
20209         for non-trees.
20210         (build1): Likewise.
20211
20212 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20213
20214         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
20215
20216 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
20217
20218         * config/m68k/m68k.c (use_return_insn): Return false if the pic
20219         register is in use.
20220
20221 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20222
20223         * md.texi (No Constraints): Delete section.
20224         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
20225         * final.c (final_scan_insn): We always have register constraints.
20226         * genattrtab.c: Don't include "insn-config.h".
20227         (write_attr_case): We always have register constraints.
20228         * genconfig.c (register_constraint_flag): Delete.
20229         (walk_insn_part): Don't check whether we have register constraints.
20230         (main): Don't write out "#define REGISTER_CONSTRAINTS".
20231         * genoutput.c (have_constraints): Delete.
20232         (main): Don't set it.
20233         (output_operand_data): We always have constraints.
20234         (scan_operands): Likewise.
20235         (compare_operands): Likewise.
20236         * local-alloc.c (block_alloc): We always have constraints.
20237         (requires_inout): Always compile this function.
20238         * recog.c (extract_insn): We always have constraints.
20239         (constrain_operands, reg_fits_class_p): Always compile these
20240         functions.
20241         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
20242         fields.
20243         (struct insn_operand_data): Likewise.
20244         * regclass.c (regclass): We always have constraints.
20245         (record_reg_classes, copy_cost, record_address_regs,
20246         auto_inc_dec_reg_p): Always compile these functions.
20247         * regmove.c (regmove_optimize): We always have constraints.
20248         * reload.c (find_reloads): Likewise.
20249         * reload1.c (reload): Likewise.
20250         (reload_cse_simplify_operands): Likewise.
20251         * i860.c (output_delay_insn): Likewise.
20252
20253 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
20254
20255         * iris6.h (BUILD_VA_LIST_TYPE): Define.
20256
20257 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20258
20259         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
20260         for the va_list record.
20261
20262 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
20263
20264         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
20265         prologues.
20266
20267 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
20268
20269         * alias.c: Include insn-flags.h.
20270         * Makefile.in (alias.o): Update.
20271
20272 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
20273
20274         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
20275         to LTU and GEU.  Handle more cases using sbb.
20276
20277 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
20278
20279         * i386.md (truncatexfdf splitters): Do not use subreg.
20280         (fop XFmode patterns): Fix mode in operand testing.
20281
20282 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
20283
20284         * jump.c (jump_optimize_1): Amend last change to test only the
20285         form of the operand, not the insn.
20286
20287         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
20288         not register_operand to determine when B may need preloading.
20289
20290 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
20291
20292         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
20293         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
20294         (call-value patterns): Move to end of file.
20295         (*): Remove mode from label_ref in (pc) context.
20296         (movstrqi): Use memory not general_operand for BLKmode operands.
20297         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
20298         to register_operand operands.
20299         (peep2 patterns): Convert from commented-out peephole patterns.
20300
20301 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20302
20303         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
20304         to BUILT_IN_INIT_DWARF_REG_SIZES.
20305         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
20306         Renamed from BUILT_IN_DWARF_REG_SIZE; call
20307         expand_builtin_init_dwarf_reg_sizes.
20308         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
20309         with __builtin_init_dwarf_reg_size_table.
20310         * dwarf2out.c (struct reg_size_range): Delete.
20311         (expand_builtin_init_dwarf_reg_sizes): New function.
20312         (expand_builtin_dwarf_reg_size): Delete.
20313         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
20314         (expand_builtin_dwarf_reg_size): Don't declare.
20315         * libgcc2.c (dwarf_reg_size_table_initialized): New.
20316         (dwarf_reg_size_table): New.
20317         (init_reg_size_table): New function.
20318         (copy_reg): Use dwarf_reg_size_table.
20319         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
20320         before use.
20321
20322 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
20323
20324         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
20325         Correctly build argument list to constructor and destructor functions.
20326
20327 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
20328
20329         * c-tree.h (warn_float_equal): Declare.
20330         * c-decl.c (warn_float_equal): Define.
20331         (c_decode_option): Recognize -W[no-]float-equal.
20332         * c-typeck.c (build_binary_op): Conditionally warn
20333         about equality tests of floating point types.
20334         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
20335         * invoke.texi: Add docs for -Wfloat-equal warning.
20336
20337 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
20338
20339         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
20340         generating RTL directly.
20341         * mips.h (INIT_TARGET_OPTABS): Likewise.
20342         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
20343
20344         * expr.h (init_mov_optab): Delete declaration
20345
20346         * h8300.c (WORD_REG_USED): Update to avoid useless register
20347         saves in interrupt functions and functions which never return.
20348
20349         * cse.c (struct set): Delete inner_dest_loc field.
20350         (cse_insn): Remove assignments to inner_dest_loc field.
20351
20352 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
20353
20354         * ggc-page.c: Don't include <unistd.h> etc taken care of
20355         by "system.h".  Include <sys/mman.h> afterward.
20356
20357 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
20358
20359         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
20360         ggc_alloc_string.
20361
20362 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
20363
20364         * xcoffout.c (xcoffout_declare_function): Add documentation.
20365         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
20366         TARGET_64BIT.  Compare constant to -1, not bit pattern.
20367         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
20368         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
20369         gen_movsi typos.
20370
20371 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
20372
20373         * dwarf2out.c (add_abstract_origin_attribute): Abort if
20374         origin_die is NULL.
20375         (gen_inlined_enumeration_type_die): Do not abort if the type has
20376         not been writeen out.
20377         (gen_inlined_structure_type_die): Do not abort if the type has
20378         not been writeen out.
20379         (gen_inlined_union_type_die): Do not abort if the type has
20380         not been writeen out.
20381         (gen_tagged_type_instantiation_die): Do not abort if the type
20382         has not been written out.
20383
20384 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20385
20386         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
20387         call it.
20388         * reg-stack.c (straighten_stack): Copy hard reg set with
20389         COPY_HARD_REG_SET.
20390
20391 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
20392
20393         * builtins.c (stabilize_va_list): Stabilize array type va_list
20394         to a pointer type, not the base record type.
20395         (expand_builtin_va_copy): Dereference the pointers explicitly;
20396         use the correct size for the copy.
20397
20398         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
20399         (rs6000_va_arg): Likewise.
20400
20401 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
20402
20403         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
20404
20405 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
20406
20407         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
20408         field.
20409         (DECL_BUILT_IN_CLASS): Adjust accordingly.
20410
20411 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
20412
20413         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
20414         (init_ggc): Use it instead of a constant.
20415         (ggc_collect): Bound allocated_last_gc by it.
20416
20417 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
20418
20419         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
20420         with va_list.
20421
20422 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
20423
20424         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
20425         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
20426         * configure:  Regen.
20427         * config/mips/openbsd.h:  New, OpenBSD little endian target.
20428         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
20429         * config/mips/xm-openbsd.h:  New, OpenBSD host.
20430
20431 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
20432
20433         * config/m68k/m68k.c (output_function_prologue,
20434         output_function_epilogue): Use
20435         current_function_uses_pic_offset_table instead of regs_ever_live
20436         to decide whether to save/restore pic register.
20437         (legitimize_pic_address): Don't modify regs_ever_live any more.
20438
20439 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
20440
20441         * function.h (struct function): Add x_dont_save_pending_sizes_p.
20442         * stor-layout.c (variable_size): Don't add sizes to the pending
20443         sizes list if x_dont_save_pending_sizes_p is set.
20444
20445 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
20446
20447         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
20448         for symbolic_operand().
20449         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
20450
20451 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20452
20453         * combine.c (gen_rtx_combine): Add missing call to va_end().
20454
20455         * final.c (asm_fprintf): Likewise.
20456
20457         * genattrtab.c (attr_rtx): Likewise.
20458
20459 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
20460
20461         * cse.c: Update comments.
20462         (cse_insn): When converting a conditional/computed jump into
20463         an unconditional jump, always make sure a BARRIER immediately
20464         follows the converted jump.  Do not delete unreachable code.
20465         (cse_basic_block): Do not delete unreachable code.
20466         * toplev.c (rest_of_compilation): Move call to
20467         delete_trivially_dead_insns after the conditional call to
20468         jump_optimize.
20469
20470 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20471
20472         * collect2.c (make_temp_file): Don't prototype.
20473
20474         * gcc.c (make_temp_file): Likewise.
20475
20476         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
20477
20478 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
20479
20480         * varasm.c (asm_emit_uninitialised): New function: Generate
20481         the assembler statements necessary to declare an uninitialised
20482         variable.
20483         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
20484         variable.
20485         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
20486         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
20487         section.
20488         (assemble_variable): Use asm_emit_uninitialised to emit an
20489         uninitialised variable.
20490
20491 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
20492
20493         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
20494         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
20495         <geoffk@cygnus.com>.
20496
20497 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20498
20499         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
20500         * c-common.h (builtin_function): Don't declare.
20501
20502         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
20503         DECL_BUILT_IN.
20504         (pushdecl): Likewise.
20505         (finish_decl): Likewise.
20506         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
20507         int.  All callers changed.
20508         Set the builtin's DECL_BUILT_IN_CLASS.
20509         * tree.h (enum built_in_class): New.
20510         (enum built_in_function): Delete NOT_BUILT_IN.
20511         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
20512         in a union.
20513         (DECL_SET_FUNCTION_CODE): Likewise.
20514         (DECL_BUILT_IN_CLASS): New macro.
20515         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
20516         (struct tree_decl): Split builtin function code field into a
20517         struct.
20518         (builtin_function): Declare.
20519
20520 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
20521
20522         * optabs.c (init_traps): Fix typo in last change.
20523
20524 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
20525
20526         * toplev.c (rest_of_decl_compilation): Update comment.
20527
20528 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
20529
20530         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
20531         in .sbss if appropriate.
20532         (EXTRA_SECTION_FUNCTIONS): Add sbss.
20533         (SBSS_SECTION_ASM_OP): New macro.
20534         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
20535         (EXTRA_SECTIONS): Add in_sbss.
20536         * config/mips/mips.h: Prototype sbss_section.
20537
20538 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
20539
20540         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
20541         to disappear.
20542
20543 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
20544
20545         * optabs.c (init_traps): Register trap_rtx as a GC root.
20546
20547 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20548
20549         * config/mips/mips.c (function_arg_pass_by_reference): Define
20550         unconditionally, since it's called unconditionally.
20551
20552 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
20553
20554         * toplev.c (documented_lang_options): Add -fshort-wchar.
20555         * c-decl.c (c_decode_option): Likewise.
20556         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
20557         for wchar_t.
20558         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
20559         * gcc.c (default_compilers): If -fshort-wchar,
20560         override __WCHAR_TYPE__.
20561         * tm.texi (C Dialect Options): Add -fshort-wchar.
20562
20563         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
20564         symbol for a variable.
20565
20566         * cpplib.h (CPP_PREPROCESSED): New macro.
20567         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
20568         we're seeing this input for a second time.
20569
20570 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
20571
20572         * emit-rtl.c (init_emit_once): Initialize modes first.
20573
20574 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
20575
20576         * config/i386/i386.c (pic_label_name): Change to char pointer.
20577         (global_offset_table): New variable.
20578         (load_pic_register): Fill global_offset_table if it hasn't
20579         already been done.  Allocate pic_label_name dynamically.
20580         * ggc.h (empty_string): New variable.
20581         * ggc-simple.c (empty_string): Likewise.
20582         (init_ggc): Allocate empty_string and add as root.
20583         * stmt.c (digit_strings): New variable.
20584         (init_stmt): Add last_block_end_note as root.  Allocate and
20585         initialize digit_strings.
20586         (expand_asm_operands): Use empty_string instead of string
20587         constant.  Use digit_strings instead of string constants.
20588         * profile.c (init_arc_profiler): Allocate string with
20589         ggc_alloc_string instead of xmalloc.
20590         (output_func_start_profiler): Likewise.
20591         * c-typeck.c (digest_init): Check if init is error_mark_node.
20592
20593 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
20594                           Richard Henderson  <rth@cygnus.com>
20595
20596         * ggc-page.c: New file.
20597         * Makefile.in (ggc-page.o): New.
20598
20599 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
20600
20601         * invoke.texi: Document -fdelete-null-pointer-checks
20602         * toplev.c (flag_delete_null_pointer_checks): New.
20603         (f_options): Add entry for -fdelete-null-pointer-checks.
20604         (rest_of_compilation): Conditionalize null pointer check
20605         elimination on flag_delete_null_pointer_checks.
20606         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
20607
20608 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
20609
20610         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
20611         copyright notice and special exception to GPL.
20612
20613 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20614
20615         * abi64.h (mips_function_value): Add prototype arguments.
20616
20617         * mips-protos.h: New file with mips prototypes.
20618
20619         * mips.c: Include "tm_p.h".
20620         (mktemp, lookup_name): Add prototype arguments.
20621         (extern_list, string_constant, mips_fill_delay_slot,
20622         mips_output_external, mips_output_external_libcall,
20623         mips_output_filename, mips_declare_object, function_prologue,
20624         mips_expand_prologue, function_epilogue, mips16_constant,
20625         build_mips16_function_stub, mips_output_conditional_branch):
20626         Constify a char*.
20627         (mips_va_start): Remove unused variable `u'.
20628         (mips_va_arg): Cast value to unsigned when comparing against one.
20629         (trace): Delete.
20630         (save_restore_insns, mips_expand_prologue): Add missing arg in
20631         call to `large_int'.
20632
20633         * mips.h: Move prototypes to mips-protos.h.
20634         (data_section, memory_address_p, rdata_section,
20635         readonly_data_section, simple_epilogue_p, text_section): Delete
20636         prototypes delcared elsewhere.
20637         (mips_epilogue_delay_slots, print_options): Delete unused decls.
20638         (trace): Delete.
20639         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
20640
20641         * mips.md: Delete extra args in call to `mips_move_2words'.
20642
20643         * xm-iris6.h (alloca): Add prototype argument.
20644
20645         * genpeep.c: Include "tm_p.h" in generated output file.
20646
20647 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20648
20649         * basic-block.h (find_edge_index): Change parameters.
20650         * flow.c (verify_edge_list): Pass basic_block parameters to
20651         find_edge_index instead of integers.
20652
20653 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
20654
20655         * combine.c (simplify_comparison): Use an unsigned shift to adjust
20656         the constant.
20657
20658 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
20659
20660         * gcc.1: Fix a formatting error.
20661
20662 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
20663
20664         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
20665         i786, mn10200, mn10300, pdp11, v850.
20666
20667 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
20668
20669         * libgcc2.c (num_digits): Add prototype with
20670         __attribute__((const)).
20671         (__terminate): Add prototype.
20672
20673 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
20674
20675         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
20676
20677         * alpha/alpha.c (print_operand): Fix type of `code'.
20678         (alpha_output_filename): Constify.
20679         * alpha/alpha.h: Move all function declarations ...
20680         * alpha/alpha-protos.h: ... here.  New file.
20681         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
20682         (SECTION_FUNCTION_TEMPLATE): Likewise.
20683
20684 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20685
20686         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
20687         * expr.c (expand_expr): Likewise.
20688         (do_jump): Likewise.
20689         (do_store_flag): Pass ccp_store_flag to can_compare_p.
20690         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
20691         accessor macros.
20692         (enum can_compare_purpose): New.
20693         (can_compare_p): Adjust prototype.
20694         (prepare_cmp_insn, prepare_operand): Declare.
20695         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
20696         * optabs.c (cmp_available_p): Deleted.
20697         (expand_abs): Pass ccp_jump to can_compare_p.
20698         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
20699         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
20700         Call can_compare_p rather than cmp_available_p.
20701         (prepare_operand): No longer static.
20702         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
20703         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
20704         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
20705         sequence to use emit_cmp_and_jump_insns.
20706         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
20707
20708 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
20709
20710         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
20711         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
20712         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
20713         (plus (reg) (const_int 0))
20714         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
20715
20716 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
20717
20718         * rs6000.c (expand_block_move): DImode loads and stores require
20719         word-aligned displacements.  Increment address registers with
20720         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
20721
20722 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
20723
20724         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
20725         is no name for the base type, rather than segfault.  If we are
20726         writing out a complex integer type, use DW_ATE_lo_user.
20727
20728         * expr.c (emit_move_insn_1): If we are copying a complex that fits
20729         in one word or less (complex char, complex short, or on 64 bit
20730         systems complex float) to/from a hard register, copy it through
20731         memory instead of dying in gen_{real,imag}part.  If we have a
20732         short complex type, prevent inlining since it allocates stack
20733         memory.
20734
20735         * tree.c (build_complex_type): If we are writing dwarf2 output,
20736         generate a name for complex integer types.
20737
20738 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20739
20740         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
20741         * flow.c (remove_edge): Remove extra whitespace.
20742         (remove_fake_edges): Fix comment.
20743         (add_noreturn_fake_exit_edges): Use the correct name.
20744
20745 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
20746
20747         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
20748         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
20749         (clean): Depend on INTL_CLEAN.
20750         (maintainer-clean): Adjust.
20751
20752 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20753
20754         * configure.in (AC_PREREQ): Bump to 2.13.
20755         (AC_C_STRINGIZE): Call this instead of using a custom macro.
20756
20757         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
20758
20759         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
20760
20761         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
20762
20763         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
20764         (HAVE_STRINGIZE): Define.
20765
20766 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
20767
20768         * c-parse.in: save and restore warn_pointer_arith on __extension__
20769         along with pedantic.
20770         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
20771         Set the type of extension to itype rather than $<itype>1 kludge.
20772         * extend.texi (Alternate Keywords): Adjust documentation.
20773         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
20774
20775 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
20776
20777         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
20778         most assembler templates.
20779
20780         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
20781         FP loads and stores.
20782         (following_call): Always return zero for the PA8000.
20783         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
20784         FP loads and stores.
20785         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
20786
20787         * pa.h (BRANCH_COST): Define.
20788
20789         * pa.md (return, return_internal): Use bve for PA2.0.
20790
20791         * pa.md (fused multiply): Add variants which reduce height for the
20792         fused multiply, but which still generate 2 insns.
20793         (fnegabs): Similarly.
20794
20795         * pa.md (subsi3): Turn into an expander.  Create two anonymous
20796         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
20797         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
20798
20799         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
20800         for TARGET_PA_20.
20801         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
20802         code generation.
20803         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
20804         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
20805
20806         * regclass.c (init_regs): Add "top_of_stack" as a garbage
20807         collection root.
20808
20809         * flow.c (record_active_eh_regions): Terminate loop after finding
20810         the last insn in the last basic block.
20811
20812 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20813
20814         * config/c4x/c4x.md: Delete parallel instruction peepholes.
20815
20816 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20817
20818         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
20819
20820 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20821
20822         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
20823         splitting to not use output template.
20824
20825 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20826
20827         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
20828         * config/c4x/c4x.c (c4x_va_start): New function.
20829
20830 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
20831
20832         * genrecog.c (not_both_true): Handle correctly cases when called for
20833         tests with different positions in the insn.
20834
20835 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20836
20837         * machmode.h (HOST_PTR_PRINTF): Move from here ...
20838
20839         * system.h (HOST_PTR_PRINTF): ... to here.
20840
20841         * mips-tfile.c: Don't include machmode.h.
20842
20843         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
20844         (mips-tfile.o): Don't depend on machmode.h.
20845
20846 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20847
20848         * haifa-sched.c (sched_analyze): Rename local variable `region' to
20849         avoid conflicts with typedef struct `region' at the top level scope.
20850
20851 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
20852
20853         * basic-block.h (basic_block): Add eh_beg, eh_end.
20854         * flow.c (entry_exit_blocks): Update.
20855         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
20856         Call new functions.
20857         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
20858         lists.c functions to allocate insn lists.
20859         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
20860         edge creation ...
20861         (make_eh_edge): ... here.  New.
20862         (move_stray_eh_region_notes): New.
20863         (record_active_eh_regions): New.
20864         (delete_unreachable_blocks): Split out block merging ...
20865         (try_merge_blocks): ... here.  New.
20866         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
20867         Dump debugging data.
20868         (merge_blocks_move_successor_nojumps): Likewise.
20869         (merge_blocks): Use eh_beg+eh_end to validate block movement.
20870
20871 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
20872
20873         * extend.texi (Bound member functions): Document unbound pmf
20874         conversion.
20875
20876 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20877
20878         * flow.c (split_edge): Handle insertion on a fallthrough edge which
20879         has the EXIT_BLOCK as a dest.
20880
20881 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20882
20883         * flow.c (remove_edge): New function to remove an edge from the
20884         flow graph.
20885         (remove_fake_successors): New function to remove fake successor edges.
20886         (remove_fake_edges): New function to remove all fake edges from the
20887         flow graph.
20888         (add_fake_exit_edges): New function to add fake edges from all blocks
20889         with no successors to the exit block.
20890         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
20891         prototypes for new functions.
20892
20893 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20894
20895         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
20896         Use Pmode to determine whether to output .dword or .word.
20897
20898 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
20899
20900         * tree.c (built_in_filename): New variable.
20901         (BUILT_IN_FILENAME): New macro.
20902         (init_tree_codes): Allocate built_in_filename.
20903         (make_node): Use built_in_filename instead of string constant.
20904
20905 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
20906
20907         * configure.in: Add fr30 target.
20908         * configure: Regenerate.
20909         * config/fr30: New directory.
20910         * config/fr30/crti.asm: New file.
20911         * config/fr30/fr30.c: New file.
20912         * config/fr30/crtn.asm: New file.
20913         * config/fr30/fr30.h: New file.
20914         * config/fr30/fr30.md: New file.
20915         * config/fr30/lib1funcs.asm: New file.
20916         * config/fr30/t-fr30: New file.
20917         * config/fr30/xm-fr30.h: New file.
20918
20919 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
20920
20921         * flow.c (merge_blocks_move_successor_nojumps): Delete the
20922         BARRIER at the end of the successor, not the BARRIER before
20923         the successor.
20924
20925         * pa.c (pa_add_gc_roots): Fix thinko in last change.
20926
20927 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
20928
20929         * stmt.c (any_pending_cleanups): Don't crash when
20930         current_function->stmt is unset.
20931
20932 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20933
20934         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
20935         other initializations that may use it for relative offsets.
20936
20937 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20938
20939         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
20940         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
20941         * config/i386/sol2dbg.h: Removed.
20942         * config/i386/sol2gas.h: New file, to enable gas work-around.
20943         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
20944         Don't use sol2dbg.h.
20945         * configure: Rebuilt.
20946
20947 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
20948
20949         * invoke.texi (-fthis-is-variable): Remove documentation.
20950
20951 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
20952
20953         * basic-block.h (compute_bb_for_insn): Declare.
20954         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
20955         to use; set size of basic_block_for_insn directly.
20956         (find_basic_blocks): Update.
20957
20958 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20959
20960         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
20961
20962 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20963
20964         * crtstuff.c (ON_EXIT): Delete empty macro definition.
20965         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
20966
20967 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
20968
20969         * c-decl.c (c_decode_option): Extend comment.
20970
20971 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
20972
20973         * toplev.c (progname): Make 'const char *'
20974         (flag_print_mem): Move out of main.
20975         (version_flag): Move out of main.
20976         (filename): Move out of main.
20977         (debug_args): Remove g prefix from options.
20978         (documented_lang_options): Remove cpplib specific options.
20979         (display_help): Add g prefix to debug options.
20980         (check_lang_option): Delete this function.
20981         (decode_d_option): New function: Decode -d... option.
20982         (decode_f_option): New function: Decode -f... option.
20983         (decode_W_option): New function: Decode -W... option.
20984         (decode_g_option): New function: Decode -g... option.
20985         (independent_decode_option): New function: Decode a language
20986         independent command line option.
20987         (main): Invoke lang_decode_option and then
20988         independent_decode_option on each command line option in
20989         turn.
20990
20991 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
20992
20993         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
20994          * fold-const.c (fold_range_test): Do not try to fold the range
20995          test if the rhs or lhs has side effects.
20996
20997         * basic-block.h (compute_flow_dominators): Declare.
20998
20999         * gcse.c (alloc_code_hoist_mem): New function.
21000         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
21001         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
21002         (hoist_code, one_code_hoisting_pass): Likewise.
21003         (gcse_main): If optimizing for size, then hoist expressions
21004         computed in multiple dominated basic blocks.
21005
21006         * gcse.c (invalid_nonnull_info): New function.
21007         (delete_null_pointer_checks): Likewise.
21008         * rtl.h (delete_null_pointer_checks): Declare.
21009         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
21010
21011         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
21012         (merge-blocks_move_successor_nojumps): Likewise.
21013         (merge_blocks): Allow merging of some blocks, even if it requires
21014         physical movement of the blocks, but not if it requires new jumps.
21015
21016         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
21017         Callers and prototype changed.
21018         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
21019
21020 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
21021
21022         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
21023         -YP when both -p and -pg are present.  From i386/sol2.h.
21024
21025 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21026
21027         * Makefile.in (distclean): Delete tm_p.h.
21028         * configure.in: Create a new file, "tm_p.h", from a list in
21029         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
21030         "i386/i386-protos.h".
21031
21032         * alias.c: Include "tm_p.h".
21033         * c-typeck.c: Likewise.
21034         * calls.c: Likewise.
21035         * cse.c: Likewise.
21036         * emit-rtl.c: Likewise.
21037         * explow.c: Likewise.
21038         * expmed.c: Likewise.
21039         * expr.c: Likewise.
21040         * final.c: Likewise.
21041         * flow.c: Likewise.
21042         * fold-const.c: Likewise.
21043         * function.c: Likewise.
21044         * gcse.c: Likewise.
21045         * global.c: Likewise.
21046         * haifa-sched.c: Likewise.
21047         * integrate.c: Likewise.
21048         * jump.c: Likewise.
21049         * local-alloc.c: Likewise.
21050         * loop.c: Likewise.
21051         * optabs.c: Likewise.
21052         * recog.c: Likewise.
21053         * reg-stack.c: Likewise.
21054         * regclass.c: Likewise.
21055         * regmove.c: Likewise.
21056         * reload.c: Likewise.
21057         * reload1.c: Likewise.
21058         * reorg.c: Likewise.
21059         * resource.c: Likewise.
21060         * stmt.c: Likewise.
21061         * stor-layout.c: Likewise.
21062         * toplev.c: Likewise.
21063         * tree.c: Likewise.
21064         * unroll.c: Likewise.
21065         * genattrtab.c (main): Make generated file include "tm_p.h".
21066         * genemit.c (main): Likewise.
21067         * genoutput.c (main): Likewise.
21068         * genrecog.c (main): Likewise.
21069
21070         * i386.h: Delete all prototypes.
21071         * i386.c: Include "tm_p.h".
21072         (ix86_attr_length_default): Call constant_call_address_operand
21073         with correct number of arguments.
21074         * i386-protos.h: New file.
21075         * i386.md (unnamed patterns): Call constant_call_address_operand
21076         with correct number of arguments.
21077         (exception_receiver): Call load_pic_register with correct number
21078         of arguments.
21079
21080 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
21081
21082         * c-pragma.c (mark_align_stack): Dereference the void* properly.
21083
21084 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
21085
21086         * rtl.h (insns_safe_to_move_p): New function.
21087         * loop.c (find_and_verify_loops): Use it.
21088         * rtlanal.c (insns_safe_to_move_p): Define it.
21089
21090 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
21091
21092         * c-pragma.c: Include ggc.h.
21093         * Makefile.in (c-pragma.o): Update.
21094
21095 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
21096
21097         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
21098         (LIB_SPEC): Likewise.
21099         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
21100         Reindent -YP/-p/-pg.
21101         Copied from config/sparc/sol2.h.
21102
21103 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
21104
21105         * c-pragma.c (mark_align_stack): New.
21106         (init_pragma): New.
21107         * c-pragma.h (init_pragma): Declare it.
21108         * c-lex.c (init_parse): Call it.
21109
21110 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
21111
21112         * configure.in: Pick up thread library on Solaris/x86 just
21113         like on Solaris/sparc.
21114         * configure: Rebuilt.
21115
21116 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
21117
21118         * rtl.h (global_rtx_index): New enum.
21119         (global_rtl): Change to array of rtx.
21120         (pc_rtx, cc0_rtx): Redefine accordingly.
21121         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
21122         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
21123         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
21124         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
21125         (const_int_rtx): Change to array of rtx.
21126         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
21127         accordingly.
21128         * emit-rtl.c (global_rtl): Change to array of rtx.
21129         (const_int_rtx): Change to aray of rtx.
21130         (gen_rtx_CONST_INT): Redefine accordingly.
21131         (init_emit_once): Allocate and initialize global_rtl.  Likewise
21132         for const_int_rtx.  Add both as GC roots.
21133         * genattrtab.c (global_rtl): Update declaration.
21134
21135 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
21136
21137         * Makefile (USER_H): Add iso646.h back.
21138
21139 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
21140
21141         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
21142         zapping the LOG_LINKS of sched_before_next_call.
21143
21144         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
21145         * pa.c (insn_refs_are_delayed): Renamed from
21146         insn_sets_and_refs_are_delayed.
21147
21148 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
21149
21150         * functiion.h (struct function): Add x_whole_function_mode_p.
21151         (retrofit_block): Declare.
21152         * function.c (retrofit_block): New function.
21153         (identify_blocks): Add assertions.  Allow an incomplete set of
21154         block notes if we're still generating code for the function.
21155         * integrate.c: Include loop.h.
21156         (expand_inline_function): Call find_loop_tree_blocks to map block
21157         notes to blocks when in whole-function mode.  Use retrofit_block
21158         to insert new BLOCKs for the inlined function, rather than
21159         insert_block.
21160         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
21161         * Makefile.in (integrate.o): Depend on loop.h.
21162
21163 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
21164
21165         * tree.h (warn_about_unused_variables): Declare.
21166         * stmt.c (warn_about_unused_variables): New function, split out
21167         from ...
21168         (expand_end_bindings): Here.
21169
21170 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
21171
21172         * stmt.c (preserve_subexpressions_p): Don't crash when
21173         current_function->stmt is unset.
21174
21175 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
21176
21177         * stmt.c (expand_start_bindings): Allow callers to pass a flag
21178         indicating that no NOTE_INSN_BLOCK_BEG note is required.
21179         (expand_start_target_temps): Use it.
21180         * except.c (expand_eh_region_start_for_decl): Likewise.
21181         * expr.c (expand_expr): Likewise.
21182
21183 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21184
21185         * fold-const.c (operand_equal_p): Pay attention to side effects.
21186
21187 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
21188
21189         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
21190         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
21191
21192         * tlink.c (scan_linker_output): Look for keywords before accepting
21193         a mangled name in quotes.
21194
21195 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
21196
21197         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
21198         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
21199
21200 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
21201
21202         * alpha.md: Revert Thu Nov 26 change that came in through the
21203         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
21204         Avoid earlyclobber when possible.
21205
21206 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21207
21208         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
21209
21210         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
21211         Define HAVE_ON_EXIT.
21212
21213 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21214
21215         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
21216         CTYPE_CONV in all ctype macros.
21217
21218         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
21219         from system.h.
21220
21221         * cexp.y (initialize_random_junk): Likewise.
21222
21223         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
21224
21225         * i370.c (handle_pragma): Likewise.
21226
21227         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
21228
21229         * v850.c (override_options): Likewise.
21230
21231         * doprint.c (_doprnt): Likewise.
21232
21233         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
21234         Likewise.
21235
21236         * fixinc/server.c (load_data): Likewise.
21237
21238         * fold-const.c (real_hex_to_f): Likewise.
21239
21240         * genattr.c (write_upcase, gen_attr): Likewise.
21241
21242         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
21243         write_upcase): Likewise.
21244
21245         * genemit.c (print_code): Likewise.
21246
21247         * genopinit.c (gen_insn): Likewise.
21248
21249         * genpeep.c (print_code): Likewise.
21250
21251         * genrecog.c (print_code): Likewise.
21252
21253         * optabs.c (init_libfuncs): Likewise.
21254
21255 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
21256
21257         * haifa-sched.c (sched_analyze): Keep the list of notes organized
21258         in pairs.
21259         (reemit_notes): Likewise.
21260
21261 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
21262
21263         * ggc.h (ggc_root): Move to ggc-common.c.
21264         (roots): Remove.
21265         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
21266         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
21267         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
21268         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
21269         * ggc-common.c (ggc_root): Move from ggc.h.
21270         (roots): Declare, static.
21271         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
21272         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
21273         null or check/set mark bit.
21274         (ggc_mark_roots): New.
21275         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
21276
21277 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
21278
21279         * m32r.c: Include toplev.h.
21280         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
21281         (gen_compare): Rename swap_p to must_swap to match uses.
21282         Add default abort case.
21283         (m32r_output_function_epilogue): Remove unused variables.
21284         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
21285         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
21286         define to empty parameter list.  Update all uses.
21287         (predicate decls): Use enum machine_mode not int.
21288         * m32r.md (movsi): Call abort, not fatal_insn.
21289         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
21290
21291 1999-09-14  Andrew Haley  <aph@cygnus.com>
21292
21293         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
21294         use $0 instead of 0.
21295
21296 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21297
21298         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
21299         computation out of loop over hard regs.
21300
21301 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
21302
21303         * function.c (identify_blocks): Don't shadow a variable in an
21304         outer scope.
21305         * integrate.c (integrate_decl_tree): Don't use pushlevel,
21306         pushdecl, or poplevel to build up the new BLOCK tree.
21307         (expand_inline_function): Likewise.
21308         (integrate_parm_decls): Likewise.
21309
21310 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
21311
21312         * c-typeck.c (qualify_type): Merge qualifiers from both types.
21313
21314 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
21315
21316         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
21317         * invoke.texi: Document this change.
21318
21319 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
21320
21321         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
21322         Free the struct.
21323         (mark_emit_status): Renamed from mark_emit_state.
21324         * except.c (mark_eh_status): Renamed from mark_eh_state.
21325         Check not null before marking.
21326         (free_eh_status): New.
21327         * expr.c (mark_expr_status, free_expr_status): New.
21328         * function.c (free_machine_status): New.
21329         (free_after_parsing): New.
21330         (free_after_compilation): Move bits to free_after_parsing; call
21331         free_eh_status, free_expr_status; zero the marked members of the
21332         function state.
21333         (prepare_function_start): No can_garbage_collect.
21334         Call init_eh_for_function.
21335         (expand_dummy_function_end): Free up current_function state.
21336         (mark_function_status): Renamed from mark_function_state.
21337         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
21338         * function.h (struct function): No can_garbage_collect.
21339         (free_machine_status, free_after_parsing): Declare.
21340         (free_eh_status, free_expr_status): Declare.
21341         * ggc.h (mark_expr_status): Declare.
21342         * stmt.c (free_stmt_status): Free the struct.
21343         (mark_stmt_status): Renamed from mark_stmt_state.
21344         (init_stmt): Don't call init_eh.
21345         (init_stmt_for_function): Don't call init_eh_for_function.
21346         * toplev.c (compile_file): Call init_eh.
21347         (rest_of_compilation): Free basic block info before ggc_collect.
21348         Call free_after_parsing; conditionally call free_after_compilation.
21349         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
21350         Check not null before marking.
21351         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
21352
21353 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
21354
21355         * c-lex.c (yylex): Initialize warn.
21356
21357 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
21358
21359         * pa.c (emit_move_sequence): Properly set the mode of the scratch
21360         register when performing secondary reloads for the SAR register.
21361
21362 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
21363
21364         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
21365         (NOTE_BLOCK): New macro.
21366         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
21367         * function.h (identify_blocks): Change prototype.
21368         * function.c (identify_blocks): Simplify.
21369         (reorder_blocks): Likewise.
21370         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
21371         NOTE_INSN_BLOCK_{BEG,END}.
21372         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
21373         the list of saved notes if the note isn't a
21374         NOTE_INSN_BLOCK_{BEG,END}.
21375         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
21376         NOTE_BLOCK_NUMBER.
21377         (reemit_notes): Adjust recreation of notes to reflect new saved
21378         note structure.
21379         * print-rtl.c (print_rtx): Print the address of the BLOCK when
21380         printing a block note.
21381         * stmt.c (block_vector): Remove.
21382         (find_loop_tree_blocks): Simplify.
21383         (unroll_block_trees): Likewise.
21384         * tree.h (reorder_block): Change prototype.
21385
21386 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
21387
21388         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
21389         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
21390         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
21391         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
21392         (atexit, exit): Simplify.
21393         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
21394         * config/lots: Remove defns of HAVE_ATEXIT.
21395
21396 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
21397
21398         * calls.c (precompute_arguments): Fix typo in comment.
21399         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
21400         TARGET_EXPR.
21401
21402 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
21403
21404         * dsp16xx.c (override_options): Fix typos in GC root registration.
21405
21406 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
21407
21408         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
21409         from config/svr4.h.
21410         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
21411         (FUNCTION_PROFILER): Redefine appropriately for Linux.
21412         (CC1_SPEC): Likewise.
21413
21414 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21415
21416         * genattr.c (main): Add extern prototype.  Call return, not exit.
21417         * genattrtab.c (main): Likewise.
21418         * gencheck.c (main): Likewise.
21419         * gencodes.c (main): Likewise.
21420         * genconfig.c (main): Likewise.
21421         * genemit.c (main): Likewise.
21422         * genextract.c (main): Likewise.
21423         * genflags.c (main): Likewise.
21424         * gengenrtl.c (main): Likewise.
21425         * genopinit.c (main): Likewise.
21426         * genoutput.c (main): Likewise.
21427         * genpeep.c (main): Likewise.
21428         * genrecog.c (main): Likewise.
21429
21430         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
21431         * genattrtab.c (get_insn_name): Likewise.
21432         * gencodes.c (get_insn_name): Likewise.
21433         * genconfig.c (get_insn_name): Likewise.
21434         * genemit.c (get_insn_name): Likewise.
21435         * genextract.c (get_insn_name): Likewise.
21436         * genflags.c (get_insn_name): Likewise.
21437         * genopinit.c (get_insn_name): Likewise.
21438         * genpeep.c (get_insn_name): Likewise.
21439
21440         * gencheck.c (usage): Add static prototype.
21441         * genextract.c (print_path): Constify a char*.
21442         * genopinit.c (optabs): Likewise.
21443         * genoutput.c (operand_data, data, output_predicate_decls,
21444         compare_operands): Likewise.
21445         * genrecog.c (write_tree): Add default case in switch.
21446
21447 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21448
21449         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
21450
21451         * print-rtl.c (get_insn_name): Remove prototype.
21452
21453         * toplev.h (progname): Declare const.
21454
21455         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
21456         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
21457         dump_sched_info, dump_local_alloc, regset_release_memory,
21458         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
21459         error_with_file_and_line, error_with_decl, error_for_asm, error,
21460         fatal, warning_with_file_and_line, warning_with_decl, warning,
21461         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
21462         Remove redundant prototypes.
21463
21464         (notice, check_lang_option, report_file_and_line, vnotice,
21465         mark_file_stack): Add static prototype.
21466         (set_fatal_function): Add prototype.
21467         (vnotice, report_file_and_line, set_fatal_function,
21468         check_lang_option): Constify a char*.
21469         (main): Prototype.  Call return, not exit.
21470
21471 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21472
21473         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
21474
21475         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
21476
21477         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
21478
21479         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
21480
21481 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21482
21483         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
21484         behave as if it's zero in all cases.
21485         (expand_function_start): Adjust call to assign_parms.
21486         * tree.h (assign_parms): Adjust prototype.
21487         * objc/objc-act.c (hack_method_prototype): Adjust call to
21488         assign_parms.
21489
21490 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
21491
21492         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
21493         arg_pointer_rtx fixed if the argument pointer register is
21494         not fixed.
21495         (NONZERO_BASE_PLUS_P): Likewise.
21496
21497 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
21498
21499         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
21500         match_insn2 to match_insn.
21501         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
21502
21503 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
21504
21505         * Makefile.in (USER_H): Remove va-foo.h.
21506
21507         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
21508         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
21509         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
21510         va-spur.h,va-v850.h}: Remove.
21511
21512 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
21513
21514         * sparc/sparc.md (eligible_for_return_delay): New attribute.
21515         (in_return_delay): Use it instead of match_insn.
21516
21517 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
21518
21519         * config/alpha/va_list.h (va-alpha.h): Do not include.
21520         (__gnuc_va_list): Typedef as in varargs.h.
21521
21522 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
21523
21524         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
21525         DECL_LIVE_RANGE_RTL.
21526
21527 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
21528
21529         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
21530         not NOTE_BLOCK_NUMBER.
21531         (expand_eh_region_end): Likewise.
21532         (find_exception_handler_labels): Likewise.
21533         (scan_region): Likewise.
21534         (exception_optimize): Likewise.
21535         (update_rethrow_references): Likewise.
21536         (set_insn_eh_region): Likewise.
21537         * final.c (final_scan_insn): Likewise.
21538         * flow.c (make_edges): Likewise.
21539         * integrate.c (expand_inline_function): Likewise.
21540         * print-rtl.c (print_rtx): Likewise.
21541
21542 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
21543
21544         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
21545         terms of builtin functions and types.
21546
21547         * mips.c (mips_build_va_list): New.
21548         (mips_va_start, mips_va_arg): New.
21549         * mips.h (BUILD_VA_LIST_TYPE): New.
21550         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
21551
21552         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
21553         (sh_build_va_list, sh_va_start, sh_va_arg): New.
21554         * sh.h (BUILD_VA_LIST_TYPE): New.
21555         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
21556
21557 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
21558
21559         * recog.h (struct recog_data): Make dup_num, operand_address_p,
21560         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
21561         (struct insn_data): Likewise with n_operands, n_dups,
21562         n_alternatives, output_format.
21563         * regclass.c (scan_one_insn): Cast n_operands to int before
21564         arithmetic inside comparison.
21565
21566 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
21567
21568         * toplev.c (compile_function): Unconditionally emit nop.
21569
21570 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21571
21572         * haifa-sched.c (actual_hazard): Move declaration of variable
21573         `this_cost' into the scope where it is used.
21574
21575 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21576
21577         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
21578         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
21579         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
21580
21581         * genrecog.c (make_insn_sequence): Call memset, not bzero.
21582
21583         * jump.c (find_insert_position): Don't declare or define unless
21584         !HAVE_conditional_arithmetic.
21585         (returnjump_p_1, delete_prior_computation): Add static prototypes.
21586
21587         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
21588
21589         * recog.c (offsettable_address_p): Prototype function pointer.
21590         (preprocess_constraints): Call memset, not bzero.
21591
21592         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
21593         (gcc_obstack_init): Don't declare.
21594         (fix_sizetype): Add static prototype.
21595         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
21596         (tree_cons): Call memset, not bzero.
21597
21598         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
21599         definition in macro ASM_WEAKEN_LABEL.
21600         (mark_const_hash_entry): Add static prototype.
21601
21602 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21603
21604         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
21605
21606         * unroll.c (find_common_reg_term, subtract_reg_term,
21607         loop_find_equiv_value): Add static prototypes.
21608         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
21609         (copy_loop_body): Remove unreachable break statement.
21610
21611         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
21612
21613         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
21614
21615 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21616
21617         Undo some changes from the gcc2 merge:
21618         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
21619         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
21620         pointers.
21621
21622         Undo this change:
21623         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
21624         * emit-rtl.c (gen_lowpart_common): Disable optimization of
21625         initialized float-int union if the value is a NaN.
21626
21627 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21628
21629         * gthr-win32.h: New file.
21630
21631         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
21632         shared as a valid attribute.
21633         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
21634         * extend.texi: Document `shared' variable attribute.
21635
21636 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
21637
21638         * configure.in: Handle --enable-threads on FreeBSD.
21639         * configure: Rebuit.
21640
21641 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
21642
21643         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
21644         thread support.
21645         * configure: Rebuilt.
21646
21647 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
21648                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
21649                           Rosimildo DaSilva <rdasilva@connecttel.com>
21650
21651         * configure.in (m68k-*-rtemscoff*): Added.
21652         * configure.in (mips64orion-*-rtems*): Converted to ELF.
21653         * configure.in (sparc-*-rtemsaout*): Added as alias for old
21654         sparc-rtems configuration.
21655         * configure.in (sparc-*-rtemself*): Added.
21656         * configure.in (sparc-*-rtems*): Now ELF not a.out.
21657         * config/i386/rtems.h: Added comment.
21658         * config/sparc/rtemself.h: New file.
21659
21660         * configure.in (m68k-rtemself): Added.
21661         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
21662         and DWARF_DEBUGGING_INFO.
21663         * config/m68k/crti.s: New file.
21664         * config/m68k/crtn.s: New file.
21665         * config/m68k/t-crtstuff: New file.
21666         * config/m68k/rtemself.h: New file.
21667
21668         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
21669         global ctor/dtor and C++ exception handling.
21670         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
21671         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
21672         ENDFILE_SPEC.
21673         * config/i386/t-rtems-i386: New File.
21674
21675 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
21676
21677         * stmt.c (expand_end_case): Return right away if the case stack is
21678         empty.
21679
21680 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
21681
21682         * Makefile.in (version.c): Remove rule incorrectly brought in from
21683         the gcc2 merge.
21684
21685 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
21686
21687         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
21688         * msdos/top.sed:  Take into account a prepended $(SHELL) to
21689         move-if-change.
21690         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
21691
21692         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
21693
21694 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21695
21696         * regmove.c (fixup_match_1): Don't change an unchanging register.
21697         (stable_but_for_p): Renamed to:
21698         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
21699         Changed all callers.
21700
21701 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
21702
21703         * loop.c (strength_reduce): Don't call reg_used_between_p if the
21704         insn from BL2 is after the insn from BL.
21705
21706 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
21707
21708         * recog.h (INSN_OUTPUT_FORMAT_*): New.
21709         (struct insn_data): Merge `template' and `outfun' into `output'.
21710         Add `output_format'.
21711         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
21712         (struct data): Remove `outfun'; add `output_format'.
21713         (name_for_index): Remove declaration.
21714         (output_insn_data): Handle output formats.
21715         (process_template): Emit the bare array for @.
21716         (gen_expand, gen_split): Set output_format to NONE.
21717         * output.h (get_insn_template): Declare.
21718         * final.c (get_insn_template): New.
21719         (final_scan_insn): Use it.
21720         * toplev.c (compile_file): Likewise.
21721
21722         * c4x/c4x.c (c4x_process_after_reload): Likewise.
21723         * i860/i860.c (output_delayed_branch): Likewise.
21724         (output_delay_insn): Likewise.
21725
21726 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
21727
21728         * rtl.c (obstack_alloc_rtx): Removed.
21729
21730 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
21731
21732         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
21733
21734 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
21735
21736         * i386.c (call_insn_operand): Reject const_int.
21737         (expander_call_insn_operand): Use call_insn_operand.
21738
21739 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21740
21741         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
21742
21743 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
21744
21745         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
21746         Use DImode operation.
21747
21748 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
21749
21750         * gcc.c: Include sys/resource.h.
21751         (report_times): New flag.
21752         (execute):  If report_times is set, calculate and report the
21753         CPU time consumed by each subprocess.
21754
21755         (rus, prus): New globals.
21756         (option_map): Add --time.
21757         (display_help): Document -time.
21758         (process_command): Set report_times if -time is given.
21759         Turn off -pipe if -time is given.
21760
21761         * invoke.texi: Document new option -time.
21762
21763         * configure.in: Check for getrusage.  Check if we have to
21764         prototype getrusage.
21765         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
21766         * configure: Regenerate.
21767         * config.in: Regenerate.
21768
21769 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
21770
21771         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
21772         fields.
21773
21774 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
21775
21776         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
21777         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
21778         (nan): Return _thenan_sf or _thenan_df as appropriate.
21779         (L_thenan_sf): Define _thenan_sf.
21780         (L_thenan_df): Define _thenan_df.
21781
21782         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
21783         (DPBIT_FUNCS): Add _thenan_df.
21784
21785 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
21786
21787         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
21788         TYPE_SIZE_UNIT.
21789
21790 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21791
21792         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
21793
21794         * gcc.h: New file.
21795         (lang_specific_driver): Don't take a function pointer parameter.
21796         All callers changed.
21797
21798         * gcc.c: Include gcc.h.
21799         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
21800         lang_specific_extra_outfiles, fatal): Don't declare.
21801         (multilib_defaults_raw): Constify.
21802         (read_specs): Call memset, rather than bzero.
21803         (main): Call return, not exit.
21804         (lookup_compiler): Call memcpy, not bcopy.
21805         (fatal): Make extern.
21806
21807         * cppspec.c: Include gcc.h.
21808         (lang_specific_driver): Initialize variable `quote'.  Constify a
21809         char*.  All calls to the function pointer parameter now
21810         explicitly call `fatal'.
21811
21812         * gccspec.c (lang_specific_driver): Include gcc.h.
21813
21814 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
21815
21816         * arm.c (note_invalid_constants): Use recog_data.operand_type
21817         for recog_op_type.
21818
21819 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21820
21821         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
21822         Declare.
21823
21824         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
21825         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21826         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21827         reload_secondary_in_reload, reload_secondary_out_reload,
21828         reload_secondary_in_icode, reload_secondary_out_icode,
21829         reload_reg_rtx, reload_when_needed): Delete declarations.
21830         (struct reload): New structure.
21831         (rld): Declare new array.
21832         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
21833         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21834         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21835         reload_secondary_in_reload, reload_secondary_out_reload,
21836         reload_secondary_in_icode, reload_secondary_out_icode,
21837         reload_reg_rtx, reload_when_needed): Delete definitions.
21838         (rld): New array.
21839         (whole file): Replace uses of the deleted arrays with uses of rld.
21840         * reload1.c (whole file): Replace uses of the deleted arrays with
21841         uses of rld.
21842         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
21843         explicit loops, not with bcopy.
21844
21845 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
21846
21847         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
21848         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
21849         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
21850         insn_name): Delete and consolidate into new structures.
21851         (insn_operand_predicate_fn): New.
21852         (insn_output_fn): New.
21853         (insn_gen_fn): New.
21854         (struct insn_operand_data): New.
21855         (struct insn_data): New.
21856         (insn_data): New.
21857         (OUT_FCN): Update for insn_data change.
21858         * builtins.c (expand_builtin_strlen): Likewise.
21859         (expand_builtin_memcmp): Likewise.
21860         * combine.c (make_extraction, simplify_comparison): Likewise.
21861         * cse.c (canon_reg, cse_insn): Likewise.
21862         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
21863         * expmed.c (store_bit_field, extract_bit_field): Likewise.
21864         (emit_store_flag): Likewise.
21865         * expr.c (convert_move, emit_block_move): Likewise.
21866         (clear_storage, emit_push_insn, expand_increment): Likewise.
21867         (do_store_flag): Likewise.
21868         * expr.h (GEN_FCN): Likewise.
21869         (insn_gen_function): Die.
21870         * final.c (final_scan_insn): Update for insn_data change.
21871         (output_asm_name): Likewise.
21872         * function.c (fixup_var_refs_1): Likewise.
21873         * loop.c (check_dbra_loop): Likewise.
21874         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
21875         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
21876         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
21877         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
21878         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
21879         * regmove.c (gen_add3_insn): Likewise.
21880         * reload.c (push_secondary_reload, combine_reloads): Likewise.
21881         (find_reloads, find_reloads_address_1): Likewise.
21882         (debug_reload_to_stream): Likewise.
21883         * reload1.c (emit_reload_insns, gen_reload): Likewise.
21884         * stmt.c (expand_end_case): Likewise.
21885         * toplev.c (compile_file): Likewise.
21886
21887         * c4x/c4x.c (c4x_process_after_reload): Likewise.
21888         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21889
21890         * print-rtl.c (insn_name_ptr): Remove declaration.
21891         (get_insn_name): Declare.
21892         (print_rtx): Use it.
21893         * genoutput.c (insn_name_ptr): Remove.
21894         (next_operand_number): New.
21895         (struct operand_data): New.
21896         (null_operand, odata, odata_end): New.
21897         (struct data): Use struct operand_data.
21898         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
21899         (get_insn_name): Renamed from name_for_index.
21900         (output_prologue): Define NO_MD_PROTOTYPES.
21901         (output_predicate_decls): Break out from output_epilogue.
21902         Iterate over the operands list.
21903         (output_operand_data): Break out from output_epilogue.  Emit
21904         just the operands list.
21905         (output_insn_data): Break out from output_epilogue.  Emit just
21906         the insn data.
21907         (output_epilogue): Remove.
21908         (output_get_insn_name): New.
21909         (constraints, op_n_alternatives, predicates, address_p): Die.
21910         (modes, strict_low, seen): Die.
21911         (scan_operands): Take new param `d' instead of writing to
21912         seven global variables.
21913         (compare_operands): New.
21914         (place_operands): New.
21915         (validate_insn_alternatives): Update for struct data change.
21916         (gen_insn): Don't zero or copy 7 global arrays.  Update for
21917         scan_operands; call place_operands.
21918         (gen_peephole, gen_expand, gen_split): Likewise.
21919         (main): Update for new output routines.
21920
21921         * genattr.c (insn_name_ptr): Remove.
21922         (get_insn_name): New function.
21923         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
21924         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
21925         * genrecog.c: Likewise.
21926
21927         * alpha.md (adddi3): Make `pattern' array static.
21928
21929 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21930
21931         * config/c4x/c4x.h (c4x_rpts_cycles_string,
21932         c4x_cpu_version_string): Constify char *.
21933         * config/c4x/c4x.c (c4x_rpts_cycles_string,
21934         c4x_cpu_version_string): Likewise.
21935
21936 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
21937
21938         * tree.c (save_tree_status): Revert 10 Sep change.
21939         (restore_tree_status): Likewise.  Call obstack_free with NULL
21940         before freeing the obstack proper.
21941
21942 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
21943
21944         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
21945
21946         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
21947         surrounding context.
21948
21949 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
21950
21951         * tree.c (type_hash_canon): Put all types in the hash-table, when
21952         GC'ing.
21953
21954 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
21955
21956         * recog.h (struct recog_data, recog_data): New.
21957         (recog_foo variables): Kill.
21958         * recog.c (recog_operand, recog_operand_loc): Kill.
21959         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
21960         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
21961         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
21962         (recog_data): Define.
21963         (extract_insn): Update all recog_foo references to use recog_data.
21964         (preprocess_constraints, constrain_operands): Likewise.
21965         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
21966         * genattrtab.c (main): Likewise.
21967         * genextract.c (main): Likewise.
21968         * genoutput.c: Likewise.
21969         * genrecog.c (write_subroutine, main): Likewise.
21970         * local-alloc.c (block_alloc): Likewise.
21971         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
21972         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
21973         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
21974         * reload.c (find_reloads, find_reloads_toplev): Likewise.
21975         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
21976         (reload_cse_simplify_operands): Likewise.
21977
21978         * arc/arc.c (arc_final_prescan_insn): Likewise.
21979         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
21980         * h8300/h8300.c (notice_update_cc): Likewise.
21981         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
21982         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21983         * mn10200/mn10200.c (notice_update_cc): Likewise.
21984         * mn10300/mn10300.c (notice_update_cc): Likewise.
21985         * romp/romp.c (update_cc): Likewise.
21986         * sparc/sparc.c (check_pic): Likewise.
21987         * v850/v850.c (notice_update_cc): Likewise.
21988
21989         * genemit.c (main): Don't declare recog_operand.
21990
21991 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
21992
21993         * ggc.h (rtvec_def): Forward declare.
21994         (tree_node): Likewise.
21995         (ggc_root): Define.
21996         (roots): Declare.
21997         (ggc_set_mark_rtx): Add prototype.
21998         (ggc_set_mark_rtvec): Likewise.
21999         (ggc_set_mark_tree): Likewise.
22000         * ggc-simple.c (ggc_root): Don't define.
22001         (roots): Don't declare.
22002         (ggc_mark_rtx): Remove.
22003         (ggc_mark_rtvec): Likewise.
22004         (ggc_mark_tree): Likewise.
22005         (ggc_mark_varray): Likewise.
22006         (ggc_mark_tree_hash_table_entry): Likewise.
22007         (ggc_mark_tree_hash_table): Likewise.
22008         (ggc_set_mart_rtx): New function.
22009         (ggc_set_mark_rtvec): Likewise.
22010         (ggc_set_mark_tree): Likewise.
22011         (ggc_add_root): Remove.
22012         (ggc_add_rtx_root): Likewise.
22013         (ggc_remove_tree_root): Likewise.
22014         (ggc_add_string_root): Likewise.
22015         (ggc_add_tree_varray_root): Likewise.
22016         (ggc_add_tree_hash_table_root): Likewise.
22017         (ggc_del_root): Likewise.
22018         (ggc_mark_rtx_ptr): Likewise.
22019         (ggc_mark_tree_ptr): Likewise.
22020         (ggc_mark_string_ptr): Likewise.
22021         (ggc_mark_tree_varray_ptr): Likewise.
22022         (ggc_mark_tree_hash_table_ptr): Likewise.
22023         * ggc-common.c: New file.
22024         * Makefile.in (OBJS): Add ggc-common.o.
22025         (ggc-common.o): List dependencies.
22026
22027 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
22028
22029         * cppalloc.c (xstrdup): Use memcpy.
22030         * cpperror.c (cpp_print_containing_files): Don't use
22031         cpp_notice.
22032         * cpplib.c (conditional_skip): Set temp->lineno.
22033         (do_endif): Make error message less obscure.
22034         (if_directive_name): New function.
22035         (cpp_get_token [case EOF]): Unwind the if stack and generate
22036         error messages for each unterminated conditional in this file.
22037         (parse_string):  Do not behave differently if -traditional.
22038
22039 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
22040
22041         * builtins.c (expand_builtin_va_arg): Cope with an array-type
22042         va_list decomposing to pointer-type.
22043         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
22044         (rs6000_va_arg): Likewise.
22045
22046 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
22047
22048         * except.c (start_dynamic_handler): Compute size using
22049         STACK_SAVEAREA_MODE.
22050
22051 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22052
22053         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
22054         include directory headers.  Don't define strrchr.  Don't provide
22055         my_* replacement functions.  Prefer PTR over `pointer_type'.
22056         Don't prototype system functions.  Don't redefine getopt.
22057
22058         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
22059         safe_read, safe_write, save_pointers, restore_pointers,
22060         is_id_char, in_system_include_dir, directory_specified_p,
22061         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
22062         find_corresponding_lparen, referenced_file_is_newer,
22063         save_def_or_dec, munge_compile_params, gen_aux_info_file,
22064         process_aux_info_file, identify_lineno, check_source,
22065         seek_to_line, forward_to_next_token_char, output_bytes,
22066         output_string, output_up_to, other_variable_style_function,
22067         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
22068         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
22069         find_static_definition, connect_defs_and_decs, add_local_decl,
22070         add_global_decls, needs_to_be_converted, visit_each_hash_node,
22071         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
22072         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
22073         scan_for_missed_items, edit_file, string_list_cons): Add static
22074         prototypes.
22075         (standard_exec_prefix, target_machine, target_version,
22076         default_syscalls_dir, string_list, string_list_cons, find_file,
22077         do_cleaning): Constify a char*.
22078         (safe_read, safe_write): Use PTR, not a char*.
22079         (is_id_char): Take an int, not a char.
22080         (main): Add prototype.  Call return, not exit.
22081
22082 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
22083
22084         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
22085         when comparing types.
22086
22087 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
22088
22089         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
22090         (strength_reduce): Release the varrays from the no-bivs early exit.
22091
22092         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
22093         the loop over the registers.
22094
22095         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
22096         for a new obstack.
22097         (restore_tree_status): Check that instead when freeing the obstack.
22098
22099 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
22100
22101         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
22102         as pointers.
22103
22104 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22105
22106         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
22107         operand size modifiers.
22108
22109 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22110
22111         * c-common.c (c_common_nodes_and_builtins): Don't build
22112         va_list_type_node.
22113         * c-common.h (enum c_tree_index and related accesor macros): Remove
22114         everything now declared in tree.h.
22115         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
22116         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
22117         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
22118         (error_mark_node, void_type_node, char_type_node, integer_type_node,
22119         unsigned_type_node, ptr_type_node, va_list_type_node,
22120         integer_zero_node, null_pointer_node, integer_one_node): Delete.
22121         (init_decl_processing): Call build_common_tree_nodes and
22122         build_common_tree_nodes_2 instead of building their nodes here.
22123         Don't add roots for these nodes.
22124         * stor-layout.c (size_zero_node, size_one_node): Delete.
22125         (set_sizetype): Make a new node for bitsizetype each time.
22126         * tree.c (global_trees): New variable.
22127         (init_obstacks): Add a gc root for it.
22128         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
22129         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
22130         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
22131         (build_common_tree_nodes): New function.
22132         (fix_sizetype): New function.
22133         (build_common_tree_nodes_2): New function.
22134         * tree.h (enum tree_index): New.
22135         (global_trees): Declare.
22136         Add accessor macros for all nodes now moved to global_trees.
22137         Delete their declarations.
22138
22139 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
22140
22141         * c-decl.c (finish_function): When processing a nested function,
22142         push and pop GC context around rest_of_compilation.
22143
22144 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
22145
22146         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
22147         Default ix86_arch to PROCESSOR_I386.
22148         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
22149         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
22150         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
22151         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
22152         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
22153         (EXTRA_SPECS): Remove deleted specs.
22154
22155 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
22156
22157         * function.c (assign_stack_local_1): Allocate from
22158         function->x_frame_offset, not frame_offset.
22159
22160 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
22161
22162         * ggc.h (lang_cleanup_tree): Remove.
22163         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
22164         * ggc-callbacks.c (lang_cleanup_tree): Remove.
22165
22166         * c-decl.c (finish_struct): Use ggc_alloc to allocate
22167         TYPE_LANG_SPECIFIC when garbage collecting.
22168         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
22169         (lang_cleanup_tree): Remove.
22170
22171 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
22172
22173         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
22174         * crtstuff.c: Not here.
22175         * dwarf2out.c: Or here.
22176         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
22177         info.
22178
22179 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
22180
22181         * function.h (free_after_compilation): Remove decl parameter.
22182         (free_varasm_status0: Likewise.
22183         (free_emit_status): Likewise.
22184         (free_stmt_status): Likewise.
22185         (free_after_compilation): Likewise.
22186         (init_lang_status): New variable.
22187         (free_lang_status): Likewise.
22188         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
22189         * function.c (init_lang_status): New variable.
22190         (free_lang_status): Likewise.
22191         (push_function_context_to): Don't set function::decl here.
22192         (free_after_copmilation): Make decl parameter implicit.  Call
22193         free_lang_status if defined.
22194         (prepare_function_start): Call init_lang_status if defined.
22195         (init_function_start): Set function::decl here.
22196         * profile.c (output_func_start_profiler): Don't call pushdecl
22197         until we've actually started the function.
22198         * stmt.c (free_stmt_status): Make decl parameter implicit.
22199         * toplev.c (rest_of_compilation): Don't pass decl to
22200         free_after_compilation.
22201         * varasm.c (free_varasm_status): Likewise.
22202
22203 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22204
22205         * except.c (call_get_eh_context): Add root when allocating static
22206         tree variable.
22207
22208 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
22209
22210         * arm.c: Include "ggc.h".
22211         (arm_add_gc_roots): New function.
22212         (arm_override_options): Call it.
22213         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
22214
22215         * arm.md (define_asm_attributes): Add a pool_range attribute.
22216
22217 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
22218
22219         * extend.texi (Volatiles): New node.
22220
22221 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
22222
22223         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
22224         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
22225         (struct ggc_any): Replace `mark' with `magic_mark'.
22226         (ggc_alloc_string): Use memcpy, not bcopy.
22227         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
22228         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
22229         (ggc_free_any): New.
22230         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
22231         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
22232         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
22233         Use IS_MARKED. Use ggc_free_any.
22234
22235 1999-09-09  Scott Bambrough <scottb@netwinder.org>
22236
22237         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
22238
22239 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
22240
22241         * toplev.c (main): Always init_ggc.
22242
22243 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
22244
22245         * except.c (find_all_handler_type_matches): Free the list if
22246         we found no matches.
22247
22248         * combine.c (SUBST): Break out to a real function do_SUBST.
22249         (SUBST_INT): Likewise.
22250         * gcse.c (free_pre_mem): Free `temp_bitmap'.
22251         (pre_insert): Free `inserted'.
22252         * loop.c (basic_induction_var): Always set `location'.
22253
22254         * function.c (expand_function_end): Add initial_trampoline as a root.
22255         * rtl.h (init_varasm_once): Declare.
22256         * toplev.c (compile_file): Call it.
22257         * ggc-simple.c (ggc_mark_string_ptr): New.
22258         (ggc_add_string_root): New.
22259         (ggc_collect): Disable collection avoidance temporarily.
22260         * ggc.h (ggc_add_string_root): Declare.
22261         * except.c (create_rethrow_ref): Use ggc_alloc_string.
22262         * optabs.c (init_libfuncs): Likewise.
22263         * varasm.c (named_section): Use ggc_alloc_string.
22264         (make_function_rtl): Likewise.
22265         (make_decl_rtl): Likewise.
22266         (assemble_static_space): Likewise.
22267         (assemble_trampoline_template): Likewise.
22268         (output_constant_def): Likewise.
22269         (force_const_mem): Likewise.
22270         (mark_const_hash_entry): New.
22271         (mark_pool_sym_hash_table): New.
22272         (mark_varasm_state): Use it.
22273         (init_varasm_once): New.
22274
22275         * expr.h (init_one_libfunc): Declare.
22276         * optabs.c (init_one_libfunc): New.
22277         (init_optabs): Use it.
22278         * config/gofast.h: Likewise.
22279         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
22280         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
22281
22282 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
22283
22284         * Makefile.in (cppexp.o): Depend on cpphash.h.
22285         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
22286         Include cpphash.h.
22287         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
22288         * cpplib.c (do_define): Generalise to handle poisoned definitions,
22289         redefining poisoned identifiers, etc.
22290         (do_undef): Don't allow poisoned identifiers to be undefined.
22291         (do_pragma): Add #pragma poison.
22292         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
22293
22294         * cccp.c: Add T_POISON node type.
22295         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
22296         poisoned xxx.
22297         (do_define): Generalise to handle poisoned definitions,
22298         redefining poisoned identifiers, etc.
22299         (do_undef): Don't allow poisoned identifiers to be undefined.
22300         (do_pragma): Add #pragma poison.
22301         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
22302
22303         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
22304         * c-pragma.h: Add ps_poison state.  We now always have generic
22305         pragmas.
22306
22307 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
22308
22309         * ggc.h (ggc_alloc): New function.
22310         (ggc_mark): Likewise.
22311         * ggc-simple.c (ggc_any): New structure.
22312         (ggc_status): Add anys.
22313         (n_anys_collected): New variable.
22314         (ggc_alloc): Define.
22315         (ggc_mark): Likewise.
22316         (ggc_collect): Collect the anys.
22317
22318 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22319
22320         * c-decl.c (mark_binding_level): Make static to match prototype.
22321
22322 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
22323
22324         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
22325
22326 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
22327
22328         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
22329         will use into account.  Expand the max width to 5.
22330         * rtl.c: Likewise.
22331
22332 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
22333
22334         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
22335         for the rtx length.
22336
22337 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
22338
22339         * alpha.md (call value patterns): Remove the result predicates.
22340
22341 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
22342
22343         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
22344         last change.
22345
22346 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22347
22348         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
22349         changed from extern char *, to extern PTR.  Also fix typo in
22350         NEED_DECLARATION_REALLOC test.
22351
22352         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
22353
22354 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22355
22356         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
22357         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
22358         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
22359         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
22360
22361         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
22362
22363         * cccp.c (pcfinclude): Likewise.
22364
22365         * global.c (allocno_compare): Likewise.
22366
22367         * haifa-sched.c (rank_for_schedule): Likewise.
22368
22369         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
22370
22371         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
22372
22373         * stupid.c (stupid_reg_compare): Likewise.
22374
22375         * tree.c (_obstack_allocated_p): Likewise.
22376
22377         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
22378
22379 1999-09-08  Bruce Korb  autogen@linuxbox.com
22380
22381         * Makefile.in: Give the hapless gperf user a hint about
22382         why "gperf -F" fails.
22383
22384 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
22385
22386         * lists.c: Include ggc.h.
22387         (zap_lists): New.
22388         (init_EXPR_INSN_LIST_cache): Install it.
22389
22390         * ggc-simple.c (init_ggc): Absorb the old init.
22391         (ggc_push_context): Use xcalloc.
22392         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
22393         (ggc_collect): Add [rvts] tags to the collection stats.
22394
22395 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
22396
22397         * cccp.c (main): Fix handling of -include and -imacros options.
22398
22399 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
22400
22401         * cpplib.c (cpp_push_buffer): Fix order of arguments.
22402
22403 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22404
22405         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
22406         genrtl.c.
22407
22408 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
22409
22410         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
22411         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
22412         and SET_DEST. Update comment.
22413
22414 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22415
22416         * config/c4x/c4x.c: Include ggc.h.
22417         (c4x_add_gc_roots): New function.
22418         (c4x_override_options): Call c4x_add_gc_roots.
22419
22420 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
22421
22422         * defaults.h (TARGET_ESC): Move ...
22423         * system.h: ... here, where Linas had it in the first place.  Silly me.
22424
22425 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
22426
22427         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
22428         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
22429         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
22430         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
22431         * defaults.h (TARGET_ESC): Add default.
22432
22433 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
22434
22435         * configure.in: add i370-*-openedition, i370-*-mvs and
22436         i370-*-linux targets
22437
22438 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
22439
22440         * dsp16xxx.c: Include ggc.h
22441         (override_options): Mark GC roots.
22442         * mn10200.c: Include ggc.h.
22443         (asm_file_start): Mark GC roots.
22444         * tahoe.c: Include ggc.h.
22445         (extensible_operand): Mark GC roots.
22446
22447 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
22448
22449         * README: Add section discussing status of ELF ABI.
22450         * i370.c: Fix misc spelling mistakes.
22451         (i370_label_scan): Updated notes, exception handling.
22452         (i370_function_prolog): Simplify ELF stack handling.
22453         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
22454         (STACK_GROWS_DOWNWARD): ELF stack grows down.
22455         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
22456         * i370.md: (movdi): Add notes.
22457         (floatsidf2): Use stack not rtca for scratch float area.
22458         (iorsi3): Correct operand constraints.
22459         * x-oe: Restore TAROUTOPTS which are used by pax.
22460
22461 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
22462
22463         * rs6000.c: Include ggc.h.
22464         (rs6000_add_gc_roots): New function.
22465         (override_options): Call it.
22466
22467 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
22468
22469         * alpha.h (alpha_compare): New.
22470         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
22471         * alpha.c: Likewise for the definitions.
22472         (alpha_emit_conditional_branch): Update for alpha_compare.
22473         (alpha_emit_conditional_move): Likewise.
22474         * alpha.md (cmpdf, cmpdi): Likewise.
22475         (setcc patterns): Likewise.  Zero alpha_compare after use.
22476         (sne): Optimize (x != 0) into (0U < x).
22477
22478 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
22479
22480         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
22481         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
22482         (INIT_EXPANDERS): Remove.
22483         * alpha.c: Include ggc.h.
22484         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
22485         (alpha_init_machine_status, alpha_mark_machine_status): New.
22486         (override_options): Install them.
22487         (struct machine_function): Moved to alpha.h.
22488         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
22489         (alpha_init_expanders): Remove.
22490         (alpha_return_addr): Adjust to use current_function->machine.
22491         (alpha_ra_ever_killed): Likewise.
22492         (alpha_expand_epilogue): Likewise.
22493         * alpha.md (eh_epilogue): Likewise.
22494
22495 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
22496                           Melissa O'Neill  <oneill@cs.sfu.ca>
22497                           Geoffrey Keating  <geoffk@cygnus.com>
22498
22499         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
22500         call-used registers (call-saved registers must still be contiguous
22501         and end with r31, of course).
22502
22503 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
22504
22505         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
22506         (self_promoting_type_p): Delete.
22507         (self_promoting_args_p): Move ...
22508         * c-common.c: ... here.
22509         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
22510         (simple_type_promotes_to): New.
22511         * builtins.c (lang_type_promotes_to): New.
22512         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
22513         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
22514         * c-common.h: ... here.
22515         (self_promoting_args_p, simple_type_promotes_to): Declare.
22516         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
22517         (grokdeclarator): Likewise.
22518         * tree.h (lang_type_promotes_to): Declare.
22519
22520 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
22521
22522         Add some machine-dependent GC roots.
22523         * sparc.c: Include ggc.h.
22524         (sparc_add_gc_roots): New function.
22525         (mark_ultrasparc_pipeline_state): Likewise.
22526         (override_options): Call sparc_add_gc_roots.
22527         * pa.c: Include ggc.h.
22528         (pa_add_gc_roots): New function.
22529         (mark_deferred_plabels): Likewise.
22530         (override_options): Call pa_add_gc_roots.
22531         * mips.c: Include ggc.h.
22532         (mips_add_gc_roots): New function.
22533         (override_options): Use it.
22534
22535 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22536
22537         * cpperror.c (cpp_file_line_for_message): Constify a char*.
22538
22539         * cppexp.c (parse_number, parse_charconst, cpp_lex,
22540         cpp_parse_expr): Add static prototypes.
22541         (parse_charconst): Don't cast away const-ness.
22542         (token): Constify a char*.
22543
22544         * cppfiles.c (file_name_list, include_hash, find_include_file,
22545         finclude, initialize_input_buffer): Constify a char*.
22546         (file_cleanup, find_position): Add static prototypes.
22547
22548         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
22549         collect_expansion): Add static prototypes.
22550         (cpp_install, create_definition, monthnames): Constify a char*.
22551
22552         * cpphash.h (cpp_install): Likewise.
22553
22554         * cppinit.c (known_suffixes, default_include,
22555         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
22556         (base_name, dump_special_to_buffer, initialize_dependency_output):
22557         Add static prototypes.
22558
22559         * cpplib.c (my_strerror): Constify a char*.
22560         (null_underflow, null_cleanup, skip_comment, copy_comment,
22561         copy_rest_of_line, handle_directive, pass_thru_directive,
22562         get_directive_token, read_line_number, cpp_print_file_and_line,
22563         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
22564         v_cpp_warning_with_line, detect_if_not_defined,
22565         consider_directive_while_skipping): Add static prototypes.
22566         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
22567         cpp_pedwarn_with_file_and_line): Constify a char*.
22568
22569         * cpplib.h (cpp_options, include_hash, progname, definition,
22570         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
22571         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
22572         find_include_file, deps_output, include_hash): Constify a char*.
22573
22574         * cppmain.c (progname): Constify.
22575         (main): Add prototype.  Use return, not exit.
22576
22577         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
22578         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
22579         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
22580         check_protection): Add static prototype.
22581         (xfree): Remove.
22582         (progname, recognized_macrom, recognized_extern): Constify a char*.
22583         (main): Add prototype.
22584
22585         * gen-protos.c (progname): Constify a char*.
22586
22587 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
22588
22589         * emit-rtl.c (free_emit_status): Take decl as a parameter.
22590         (init_emit_once): Add more GC roots.
22591         * except.c (mark_func_eh_entry): New function.
22592         (mark_eh_node): Mark false_label and rethrow_label.
22593         (init_eh): Add more GC roots.
22594         * function.c (free_after_compilation): Take decl as a paramter.
22595         Call free_stmt_status.
22596         (mark_function_state): Don't assume x_parm_reg_stack_loc is
22597         non-NULL.
22598         * function.h (free_after_compilation): Change prototype.
22599         (free_varasm_status): Likewise.
22600         (free_emit_status): Likewise.
22601         (free_stmt_status): New function.
22602         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
22603         Remove, replacing with ...
22604         (ggc_status): New structure.
22605         (ggc_chain): New variable.
22606         (init_gcc): Define.
22607         (ggc_push_context): New function.
22608         (ggc_pop_context): Likewise.
22609         (ggc_alloc_rtx): Adjust for use of ggc_chain.
22610         (ggc_alloc_rtvec): Likewise.
22611         (ggc_alloc_tree): Likewise.
22612         (ggc_alloc_string): Likewise.
22613         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
22614         (ggc_mark_tree): Give language-dependent code a chance to mark
22615         `x' nodes.
22616         (ggc_mark_tree_varray): Handle empty arrays.
22617         (ggc_collect): Adjust for use of ggc_chain.  Clear
22618         bytes_alloced_since_last_gc.
22619         * ggc.h (ggc_pop_context): New function.
22620         (ggc_push_context): Likewise.
22621         * print-tree.c (print_node): Don't print obstacks when GC'ing.
22622         * stmt.c (free_stmt_status): New function.
22623         (init_stmt_for_function): Clear last_expr_value.
22624         * toplev.c (rest_of_compilation): Always call free_after_compilation.
22625         Conditionalize call to ggc_collect.
22626         (main): Call init_ggc.
22627         * tree.c (push_obstacks): Do the push, even when GC'ing.
22628         (push_obstacks_nochange): Likewise.
22629         (pop_obstacks): Liekwise.
22630         * varasm.c (free_varasm_status): Take decl as a parameter.
22631
22632 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22633
22634         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
22635         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
22636         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
22637         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
22638
22639 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
22640
22641         * pa/x-pa-mpeix: New file for the MPE port.
22642
22643         * pa/quadlib.asm: New file for long double support.
22644
22645         * configure.in: Add hppa1.0-*-mpeix for MPE port.
22646         * configure: Rebuilt.
22647
22648 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
22649
22650         * final.c (shorten_branches): Fix last change.
22651
22652 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
22653
22654         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
22655
22656 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
22657
22658         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
22659         details.
22660
22661 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22662
22663         * c-aux-info.c (concat): Don't define.
22664
22665         * cccp.c (my_strerror): Likewise.  All callers changed to use
22666         xstrerror instead.
22667         (do_include): Call xstrdup, not xmalloc/strcpy.
22668         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
22669         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
22670
22671         * collect2.c (my_strsignal): Likewise.  All callers changed to use
22672         strsignal instead.
22673         (locatelib): Call xstrdup, not xmalloc/strcpy.
22674
22675         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
22676
22677         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
22678
22679         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
22680
22681         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
22682
22683         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
22684
22685         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
22686
22687         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
22688         malloc/realloc.
22689         (find_all_handler_type_matches): Likewise.  Don't check return
22690         value.
22691         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
22692         xmalloc, not malloc.
22693         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
22694
22695         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
22696         (init_spec): Call xcalloc, not xmalloc/bzero.
22697         (set_spec): Call xstrdup, not save_string.
22698         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
22699         (find_a_file): Call xstrdup, not xmalloc/strcpy.
22700         (process_command): Call xstrdup, not save_string.
22701         (main): Call xcalloc, not xmalloc/bzero.
22702
22703         * gcov.c (xmalloc): Don't define.
22704         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
22705         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
22706         (output_data): Call xcalloc, not xmalloc/bzero.
22707
22708         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
22709
22710         * mips-tdump.c (xmalloc): Don't define.
22711         (print_symbol): Call xmalloc, not malloc.
22712         (read_tfile): Call xcalloc, not calloc.
22713
22714         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
22715         Don't define.  All callers of xfree/my_strsignal changed to use
22716         free/strsignal instead.
22717         (allocate_cluster): Call xcalloc, not calloc.
22718
22719         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
22720         Fix memory leak, free allocated memory.
22721
22722         * prefix.c (translate_name): Call xstrdup, not save_string.
22723         (update_path): Likewise.
22724
22725         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
22726
22727         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
22728         Don't define.  Callers of xfree/savestring2 changed to use
22729         free/concat instead.
22730
22731         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
22732         (init_elim_table): Likewise.
22733
22734         * resource.c (init_resource_info): Likewise.
22735
22736         * stupid.c (stupid_life_analysis): Likewise.
22737
22738         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
22739         (open_dump_file): Call concat, not xmalloc/strcpy/...
22740         (clean_dump_file): Likewise.
22741         (compile_file): Call xstrdup, not xmalloc/strcpy.
22742
22743 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
22744
22745         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
22746         * v850.c (v850_va_arg): New.
22747
22748 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22749
22750         * haifa-sched.c: Tidy comments.
22751
22752 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22753
22754         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
22755         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
22756         $(out_object_file)): Depend on ggc.h.
22757         * c-common.c: Include "ggc.h".
22758         (combine_strings): If doing GC, use ggc_alloc_string.
22759         * c-decl.c: Include "ggc.h".
22760         (ggc_p): Define with value 0.
22761         (mark_binding_level): New function.
22762         (init_decl_processing): Add GC roots.
22763         (mark_c_function_context): New function.
22764         (lang_mark_false_label_stack): New function.
22765         (lang_mark_tree): New function.
22766         (lang_cleanup_tree): New function.
22767         * c-lang.c: Include "ggc.h".
22768         (lang_init): Call c_parse_init.
22769         * c-lex.c: Include "ggc.h".
22770         (check_linenum): If doing GC, don't copy filenames to permanent
22771         obstack.
22772         * c-parse.in: Include "ggc.h".
22773         (c_parse_init): New function.
22774         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
22775         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
22776
22777         * except.c (mark_eh_state): Mark more state.
22778         * function.c (mark_function_state): Likewise.
22779         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
22780         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
22781         * toplev.c (mark_file_stack): New function.
22782         (compile_file): If doing GC, use ggc_alloc_string on input filename.
22783         (main): Add root for input_file_stack.
22784
22785         * i386.c: Include "ggc.h".
22786         (ix86_mark_machine_status): New function.
22787         (override_options): Set mark_machine_status.
22788
22789 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22790
22791         * tree.c (copy_node): Copy node contents also if doing GC.
22792
22793 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22794
22795         * collect2.c (scan_libraries): Fix double-thinko :-).
22796
22797 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
22798
22799         * collect2.c (scan_libraries): Fix thinko.
22800
22801         * cse.c (delete_trivially_dead_insns): Do not skip the last
22802         insn if it is a real insn.
22803
22804 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
22805
22806         * Makefile.in (ggc-simple.o): Depend on hash.h.
22807         * ggc.h (ggc_add_tree_hash_table_root): Declare.
22808         (ggc_mark_tree_varray): Likewise.
22809         (ggc_mark_tree_hash_table): Likewise.
22810         * ggc-simple.c: Include hash.h.
22811         (ggc_mark_tree_hash_table_ptr): New function.
22812         (ggc_mark_tree_hash_table_entry): Likewise.
22813         (ggc_mark_tree_hash_table): Likewise.
22814         (ggc_add_tree_hash_table_root): Likewise.
22815         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
22816         rtx, when defining fields.
22817
22818 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22819
22820         * profile.c (output_func_start_profiler): Remove apparently
22821         nonsensical call to start_sequence.
22822
22823 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
22824
22825         * clipper/clipper.c (clipper_va_start): Fix typos.
22826
22827         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
22828         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
22829         (spur_va_arg): New stub.
22830
22831         * configure.in: Comment out pyramid.
22832
22833 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
22834
22835         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
22836         don't conflict with the bits that win32, cygwin, and dgux
22837         defines.
22838
22839 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
22840                           Bernd Schmidt <bernds@cygnus.co.uk>
22841
22842         * integrate.c (function_cannot_inline_p): Do not inline
22843         functions with forced labels.
22844
22845 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
22846                           Bernd Schmidt <bernds@cygnus.co.uk>
22847                           Mark Mitchell  <mark@codesourcery.com>
22848
22849         * Makefile.in (ggc-simple.o): Depend on varray.h.
22850         (rtl.o): Depend on ggc.h.
22851         (genattrtab.o): Depend on ggc.h.
22852         (print-tree.o): Likewise.
22853         (fold-const.o): Likewise.
22854         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
22855         (make_insn_raw): Don't cache insns when GC'ing.
22856         (emit_insn_before): Likewise.
22857         (emit_insn_after): Likewise.
22858         (emit_insn): Likewise.
22859         (start_sequence): Use xmalloc to allocate the sequence_stack.
22860         (end_sequence): Add free to free it.
22861         (gen_sequence): Don't cache insns when GC'ing.
22862         (clear_emit_caches): Don't use sequence_element_free_list.
22863         (init_emit): Use xcalloc, not xmalloc+bzero.
22864         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
22865         * function.c (pop_function_context_from): Use free to free the
22866         fixup_var_refs_queue.
22867         (put_reg_into_stack): Allocate it with xmalloc.
22868         * genattrtab.c: Include ggc.h.
22869         (operate_exp): Don't use obstack_free when GC'ing.
22870         (simplify_cond): Likewise.
22871         (simplify_text_exp): Likewise.
22872         (optimize_attrs): Likewise.
22873         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
22874         GC'ing.
22875         (gencode): Generate a #include for ggc.h.
22876         * ggc-callbacks.c (ggc_p): Define it to zero.
22877         * ggc-none.c (ggc_p): Likewise.
22878         * ggc-simple.c: Include varray.h.
22879         (ggc_mark_tree_varray): New function.
22880         (ggc_add_tree_varray_root): Likewise.
22881         (ggc_mark_tree_varray_ptr): Likewise.
22882         * ggc.h (ggc_p): Declare.
22883         (varray_head_tag): Likewise.
22884         (ggc_add_tree_varray_root): Declare.
22885         * print-tree.c (print_node): Don't check for TREE_PERMANENT
22886         inconsistencies when GC'ing.
22887         * rtl.c: Include ggc.h.
22888         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
22889         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
22890         (rtx_free): Don't call obstack_free when GC'ing.
22891         * toplev.c (rest_of_compilation): Call ggc_collect after every
22892         pass, if GC'ing.
22893         * tree.c (push_obstacks): Do nothing, if GC'ing.
22894         (pop_obstacks_nochange): Likewise.
22895         (pop_obstacks): Likewise.
22896         (make_node): Use ggc_alloc_tree when GC'ing.
22897         (copy_node): Likewise.
22898         (get_identifier): Use ggc_alloc_string when GC'ing.
22899         (build_string): Likewise.
22900         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
22901         (tree_cons): Likewise.
22902         (build1): Likewise.
22903         (type_hash_canon): Don't call obstack_free when GC'ing.
22904
22905 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
22906
22907         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
22908         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
22909
22910 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
22911                           Bernd Schmidt <bernds@cygnus.co.uk>
22912                           Mark Mitchell  <mark@codesourcery.com>
22913
22914         * Makefile.in (stor-layout.o): Depend on ggc.h.
22915         (expr.o): Depend on ggc.h.
22916         (profile.o): Depend on ggc.h.
22917         (stor-layout.o): Depend on ggc.h.
22918         * emit-rtl.c (init_emit_once): Add gc roots.
22919         * expr.c: Include ggc.h.
22920         (emit_block_move): Add gc roots.
22921         (clear_storage): Likewise.
22922         * expr.h (init_stor_layout_once): New function.
22923         * profile.c: Include ggc.h.
22924         (init_arc_profiler): profiler_label is a root.
22925         * scan.c (make_sstring_space): Trust xrealloc to function
22926         correctly with first parameter NULL.
22927         * stor-layout.c: Include ggc.h.
22928         (set_sizetype): Add gc root.
22929         (init_stor_layout_once): New function.
22930         * toplev.c (compile_file): Call it.
22931
22932 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
22933                           Bernd Schmidt <bernds@cygnus.co.uk>
22934                           Mark Mitchell  <mark@codesourcery.com>
22935
22936         * Makefile.in (tree.o): Depend on ggc.h.
22937         (varasm.o): Likewise.
22938         (function.o): Likewise.
22939         (stmt.o): Likewise.
22940         (except.o): Likewise.
22941         (optabs.o): Likewise.
22942         (emit-rtl.o): Likewise.
22943         * emit-rtl.c: Include ggc.h.
22944         (sequence_element_free_list): Remove, and all references.
22945         (mark_sequence): New functions.
22946         (mark_emit_state): New function.
22947         * except.c: Include ggc.h.
22948         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
22949         (mark_tree_label_node): New functions.
22950         (mark_eh_state): New function.
22951         * function.c: Include ggc.h.
22952         (mark_temp_slot, mark_function_chain): New functions.
22953         (mark_function_state): New function.
22954         (init_function_once): New function.
22955         * function.h (init_function_once): New function.
22956         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
22957         * ggc.h (label_node): Declare.
22958         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
22959         (lang_mark_false_label_stack): New function.
22960         (mark_temp_slot): Remove declaration.
22961         (mark_function_chain): Likewise.
22962         (mark_eh_state): Adjust prototype.
22963         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
22964         Likewise.
22965         * optabs.c: Include ggc.h.
22966         (mark_optab): New function.
22967         (init_optabs): Add gc roots.
22968         * stmt.c: Include ggc.h.
22969         (mark_cond_nesting, mark_loop_nesting): New functions.
22970         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
22971         (mark_stmt_state): New function.
22972         * toplev.c (compile_file): Call init_function_once.
22973         * tree.c: Include ggc.h.
22974         (type_hash): Move declaration earlier in file.
22975         (TYPE_HASH_SIZE, type_hash_table): Likewise.
22976         (init_obstacks): Add gc roots.
22977         (mark_type_hash): New function.
22978         * varasm.c: Include ggc.h.
22979         (mark_pool_constant): New function.
22980         (mark_varasm_state): New function.
22981
22982 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22983
22984         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
22985
22986 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
22987
22988         * c-decl.c (struct language_function): Renamed from struct c_function.
22989         Delete elt NEXT.
22990         (c_function_chain): Delete.
22991         (push_c_function_context): New arg F.  Don't warn about nested
22992         functions here.  Fill LANGUAGE elt of F.  Delete code to update
22993         c_function_chain.  Don't call push_function_context.
22994         (pop_c_function_context): New arg F.  Restore from there instead of
22995         from c_function_chain.  Don't call pop_function_context.  Clear out
22996         LANGUAGE field of F when done.
22997         * c-lang.c: Include "function.h"
22998         (lang_init): Initialize save_lang_status and restore_lang_status.
22999         * c-parse.in (nested_function, nested_function_notype): Warn about
23000         nested functions.  Call push_function_context/pop_function_context
23001         instead of the _c_ variants.
23002         * c-tree.h (push_c_function_context, pop_c_function_context): Update
23003         prototype.
23004         * Makefile.in (c-lang.o): Update dependencies.
23005
23006         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
23007         regno_pointer_flag, regno_pointer_align.
23008         (gen_reg_rtx): Use xrealloc to enlarge them.
23009         (free_emit_status): New function.
23010         * function.c (mark_machine_status, mark_lang_status): New variables.
23011         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
23012         in some bits from assign_stack_local.  All callers changed to use new
23013         name.
23014         (assign_stack_local): Just call assign_stack_local_1.
23015         (free_after_compilation): New function.
23016         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
23017         (trampoline_address): Likewise.
23018         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
23019         (prepare_function_start): Explicitly clear some more variables.
23020         * function.h (struct function): New elt can_garbage_collect.
23021         (mark_machine_status, mark_lang_status): Declare variables.
23022         (free_after_compilation, free_emit_status, free_varasm_status,
23023         init_varasm_status): Declare functions.
23024         * toplev.c (rest_of_compilation): Call free_after_compilation when
23025         done with the current function.
23026         * varasm.c (free_varasm_status): New function.
23027
23028 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
23029
23030         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
23031         (EXPAND_BUILTIN_VA_ARG): Define.
23032         * sparc.c (sparc_va_start): New.
23033         (sparc_va_arg): New.
23034
23035 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23036
23037         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
23038
23039 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23040
23041         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
23042
23043 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
23044
23045         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
23046         (OBJS): Add $(GGC).
23047         (ggc-callbacks.o): New target.
23048         * ggc-callbacks.c: New file.
23049
23050 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23051
23052         * expr.h: Collapse individual optab and libfunc vars to arrays.
23053         (optab_index, libfunc_index): New enumerations.
23054         (optab_table, libfunc_table): New arrays.
23055         Add accessor macros for both.
23056
23057         * optabs.c (optab_table, libfunc_table): New.
23058         Delete declarations for individual optab and libfunc vars.
23059
23060 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
23061
23062         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
23063
23064 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
23065
23066         * Makefile.in (GGC, GGC_LIB): New.
23067         (HOST_RTL): Include ggc-none.o.
23068         (ggc-simple.o): New target.
23069         (ggc-none.o): Likewise.
23070         * tree.h (tree_common): Add gc_mark.
23071         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
23072         (struct rtvec_def): Add gc_mark.
23073         * emit-rtl.c (global_rtl): Update static initializers to contain
23074         enough initializers.
23075         * ggc.h, ggc-none.c, ggc-simple.c: New files.
23076         * toplev.c (gc_time): New variable.
23077         (all_time): New variable.
23078         (compile_file): Print gc time.
23079         (print_time): Calculate percentage of the whole.
23080
23081 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23082
23083         Change obstack memory management and varasm constant pool handling so
23084         that nested functions are treated like any other functions.
23085         * function.c (init_machine_status): New variable.
23086         (push_function_context_to): Set contains_functions for the outer
23087         function.  Don't call save_varasm_status.
23088         (pop_function_context_from): Don't call restore_varasm_status.  Don't
23089         set current_function_contains_functions.
23090         (prepare_function_start): Call init_varasm_status rather than
23091         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
23092         is non-null.
23093         * function.h (struct function) Add field varasm.  Delete fields
23094         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
23095         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
23096         (init_machine_status): Declare.
23097         (save_varasm_status, restore_varasm_status): Delete declarations.
23098         (save_tree_status, restore_tree_status): Delete last argument.
23099         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
23100         code.  All callers changed.
23101         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
23102         save_constants_in_decl_trees, restore_constants, save_constants,
23103         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
23104         functions.
23105         (inlining): New variable.
23106         (reg_map, label_map, insn_map, orig_asm_operands_vector,
23107         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
23108         variables.
23109         (save_for_inline_nocopy): Don't save constants.
23110         Don't set inl_emit field in current_function.
23111         (expand_inline_function): Use emit field, not inl_emit, of the inlined
23112         function.  Set new variable inlining before
23113         calling copy_rtx_and_substitute.
23114         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
23115         constant pool references if inlining is nonzero.
23116         Delete ADDRESS and (most of the) CONST cases.
23117         (output_inline_function): Save and restore current_function/
23118         current_function_decl.  Delete restore_constants code.  Don't call
23119         init_const_rtx_hash_table.
23120         * output.h (init_const_rtx_hash_table): Don't declare.
23121         * rtl.h (struct function): Declare.
23122         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
23123         * toplev.c (rest_of_compilation): Don't treat nested functions or
23124         functions containing them specially.  Delete all code to deal with
23125         save_for_inline_copying.
23126         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
23127         inline_obstacks): Delete variables.
23128         (save_tree_status): Lose arg CONTEXT.  All callers changed.
23129         Simply allocate a new function_maybepermanent_obstack for the new
23130         function, delete all the special cases.
23131         Don't save inline_obstacks.
23132         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
23133         Delete special handling for function_maybepermanent_obstack; simply
23134         free it if empty.
23135         Don't restore inline_obstacks.
23136         (permanent_allocation):  Delete code that frees inline_obstacks.
23137         (print_inline_obstack_statistics): Delete function.
23138         (dump_tree_statistics): Don't call it.
23139         * varasm.c (struct varasm_status): New.
23140         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
23141         last_pool, pool_offset, const_double_chain): Delete global
23142         variables, replace with accessor macros.
23143         (immed_double_const): Don't walk const_double_chain outside a
23144         function, but don't treat nested functions specially anymore.
23145         (immed_real_const_1): Likewise.
23146         (clear_const_double_mem): Don't treat nested functions specially.
23147         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
23148         (save_varasm_status, restore_varasm_status): Delete functions.
23149         (init_varasm_status): New function.
23150         (force_const_mem): Don't treat nested functions specially.
23151         (find_pool_constant): Accept new arg F, search for constants in
23152         that function's pool rather than the current one.  All callers
23153         changed.
23154         (get_pool_constant_for_function, get_pool_mode_for_function): New
23155         functions.
23156
23157         * i386.c (init_386_machine_status): New function, mostly from
23158         clear_386_stack_locals.
23159         (struct machine_functions): Rename element names to avoid name
23160         clashes.
23161         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
23162         macros, replacing global variables.
23163         (clear_386_stack_locals, save_386_machine_status,
23164         restore_386_machine_status): Delete functions.
23165         (override_options): Initialize init_machine_status.
23166         * i386.h (INIT_EXPANDERS): Delete macro.
23167         (save_386_machine_status, restore_386_machine_status,
23168         clear_386_stack_locals): Delete declarations.
23169
23170 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23171
23172         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
23173         (doloop_begin):  Simplify pattern and use emit_jump_insn.
23174         (doloop_end): Simplify pattern, switch operand order,
23175         and use emit_jump_insn.
23176
23177 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
23178
23179         * function.h (struct function): Add new element LANGUAGE.
23180         (save_lang_status): Declare new variable.
23181         (restore_lang_status): Likewise.
23182         * function.c (save_lang_status): Define.
23183         (restore_lang_status): Likewise.
23184         (push_function_context_to): Call language-specific save function.
23185         (pop_function_context_from): Call language-specific restore function.
23186
23187 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
23188
23189         * i386.md (movsf_1): Check REG_P before use of REGNO.
23190         (movdf_1): Likewise.
23191         (movxf_1): Likewise.
23192         (extendsfdf2): Likewise.
23193         (extendsfxf2): Likewise.
23194         (extenddfxf2): Likewise.
23195
23196 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23197
23198         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
23199         constants into memory.
23200         (c4x_shiftable_constant): New function.
23201         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
23202         (c4x_shiftable_constant): Declare.
23203         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
23204         ashlqi3_noclobber): Add new patterns and associated splitters.
23205
23206 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
23207
23208         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
23209         * dwarf2out.c (dwarf2out_frame_init): Likewise.
23210         * final.c (shorten_branches): Likewise.
23211         * global.c (global_alloc): Likewise.
23212         * haifa-sched.c (build_control_flow): Likewise.
23213         * stmt.c (check_for_full_enumeration_handling): Likewise.
23214         (estimate_case_costs): Likewise.
23215
23216 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
23217
23218         * rtl.h (RTL_CHECKC2): Fix typo in last change.
23219
23220 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
23221
23222         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
23223         (recompute_reg_usage): Likewise.
23224         * rtlanal.c (find_regno_fusage): Likewise.
23225
23226         * rtl.c (rtl_check_failed_code1): New function.
23227         (rtl_check_failed_code2): New.
23228         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
23229         (RTL_CHECKC1, RTL_CHECKC2): New.
23230         (XC*): New accessor macros.
23231         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
23232         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
23233         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
23234         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
23235         (TRAP_*, RANGE_INFO_*): Likewise.
23236
23237 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23238
23239         * Makefile.in (tlink.o): Don't depend on toplev.h.
23240
23241         * collect2.c (c_file, o_file, export_file, import_file, ldout,
23242         output_file, nm_file_name, ldd_file_name, strip_file_name,
23243         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
23244         add_prefix, prefix_from_env, prefix_from_string, do_wait,
23245         fork_execute, maybe_unlink, add_to_list,
23246         extract_init_priority, write_list, dump_list,
23247         dump_prefix_list, write_list_with_asm, write_c_file,
23248         write_c_file_stat, write_c_file_glob, scan_prog_file,
23249         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
23250         ignore_library, extract_string, notice, dump_file, target_machine,
23251         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
23252         read_file, print_load_command): Constify a char*.
23253         (fdopen, error, fatal, fatal_perror): Don't prototype.
23254         (my_strerror): Remove.  All callers use xstrerror instead.
23255         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
23256         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
23257         to xcalloc/strcpy/strcat/...  to one call to concat.
23258         (main, scan_prog_file, scan_libraries): Use an intermediate
23259         `const char **' to build an argv array.
23260         (mapfile, libselect, libcompare, locatelib): Add prototypes.
23261
23262         * collect2.h (collect_execute, collect_wait, dump_file,
23263         file_exists): Constify a char*.
23264         (ldout, c_file_name, temporary_obstack, permanent_obstack,
23265         temporary_firstobj, vflag, debug): Add extern declarations.
23266         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
23267
23268         * tlink.c: Don't include toplev.h.
23269         (vflag, debug, ldout, c_file_name, temporary_obstack,
23270         permanent_obstack, temporary_firstobj): Don't declare.
23271         (tlink_execute, frob_extension, symbol_hash_lookup,
23272         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
23273         recompile_files, read_repo_files, demangle_new_symbols,
23274         scan_linker_output): Constify a char*.
23275         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
23276         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
23277
23278 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
23279
23280         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
23281         (relative) rather than jsr (absolute) subroutine call insns.
23282         * config/m68k/m68k-coff.h: Ditto.
23283
23284 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
23285
23286         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
23287         now rework these too.
23288         (arm_reorg): If an insn can't reach the end of the current pool,
23289         ensure that we emit that pool before the insn.
23290
23291 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
23292
23293         * tlink.c (scan_linker_output): Skip the initial underscore in
23294         a mangled name if appropriate.
23295
23296 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23297
23298         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
23299         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
23300         error_with_ivar, gen_declarator, create_builtin_decl,
23301         my_build_string, generate_descriptor_table, generate_ivars_list,
23302         generate_dispatch_table, check_protocols, TAG_GETCLASS,
23303         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
23304         dump_base_name, lang_decode_option, build_encode_expr,
23305         start_class, finish_class, encode_pointer, really_start_method,
23306         gen_declaration, dump_interface, handle_class_ref, handle_impent):
23307         Constify.
23308         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
23309         Add static prototypes.
23310         (build_objc_string_decl, build_selector_reference_decl,
23311         encode_bitfield, build_class_reference_decl): Remove unused
23312         parameter, all callers changed.
23313         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
23314         (objc_printable_name): Likewise.  Change second parameter to type int.
23315         (init_objc): Use memcpy, not bcopy, to avoid casts.
23316
23317 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
23318
23319         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
23320         reg notes on a deleted insn.
23321         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
23322
23323 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
23324
23325         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
23326
23327 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23328
23329         * stmt.c (expand_asm_operands): Fix index into inout_mode when
23330         reading it.
23331
23332 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
23333
23334         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
23335         * tm.texi (MD_ASM_CLOBBERS): Document it.
23336
23337 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
23338
23339         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
23340         * except.c (expand_rethrow): Remove unused variable.
23341         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
23342         * flow.c (replace_insns): Likewise.
23343         (create_edge_list, verify_edge_list): Likewise.
23344         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
23345
23346         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
23347         is special code to run.
23348         (main): Don't define operands to emit_operand.
23349         * genrecog.c (main): Don't emit an empty peephole2_insn function.
23350
23351         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
23352
23353         * alpha/alpha.h (normal_memory_operand): Declare.
23354         (reg_no_subreg_operand): Declare.
23355         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
23356
23357 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
23358
23359         * c-parse.in (compstmt_primary_start): New, broken out of first
23360         part of compstmt handling in primary.
23361         (primary): Use it.  Add an error clause.
23362         (compstmt_nostart): Renamed from compstmt; remove all
23363         initial invocations of compstmt_start.
23364         (compstmt): New.
23365
23366 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
23367
23368         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
23369         needed.
23370
23371 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
23372
23373         * combine.c (simplify_shift_const): Remove extra semicolon.
23374         * dwarf2out.c (remove_AT): Likewise.
23375         * expmed.c (expand_mult): Likewise.
23376         * gcov.c (create_program_flow_graph): Likewise.
23377         * reorg.c (mostly_true_jump): Likewise.
23378
23379 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
23380
23381         * fold-const.c (fold_range_test): Do not try to fold the range
23382         test if the rhs or lhs has side effects.
23383
23384         * combine.c (simplify_rtx): Recognize another case of a synthesized
23385         sign extension.
23386
23387         * varasm.c (mark_constant_pool): When marking indirect references,
23388         only look at SYMBOL_REFs.
23389
23390         * except.c (expand_fixup_region_end): Do not peek at
23391         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
23392
23393 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
23394
23395         * flags.h: New variables align_loops, align_loops_log,
23396         align_jumps, align_jumps_log, align_labels, align_labels_log,
23397         align_functions, align_functions_log.
23398         * toplev.c: Define them.
23399         (f_options): Handle -falign-* when they have no argument.
23400         (main): Add logic to set variables for -falign-functions,
23401         -falign-jumps, -falign-labels, -falign-loops.
23402         Make it -fsched-verbose=<n> and -finline-limit=<n>.
23403         (display_help): Change help to match options.
23404         * final.c (LABEL_ALIGN): Default to align_labels_log.
23405         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
23406         (LOOP_ALIGN): Default to align_loops_log.
23407         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
23408         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
23409         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
23410         * varasm.c (assemble_start_function): Handle align_functions.
23411
23412         * config/sparc/sparc.h: Don't declare sparc_align_*.
23413         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
23414         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
23415         sparc.c.
23416         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
23417         it's a promise.
23418         * config/sparc/sparc.c: Delete sparc_align_loops,
23419         sparc_align_jumps, sparc_align_funcs and the corresponding string
23420         variables.
23421         (sparc_override_options): Default align_functions on ultrasparc.
23422         Delete -malign-* handling.
23423
23424         * config/mips/mips.c (override_options):  On 64-bit targets,
23425         try to align code to 64-bit boundaries.
23426         (print_operand): New substitution, %~,
23427         which aligns labels to align_labels_log.
23428         * config/mips/mips.md (div_trap_normal): Use %~.
23429         (div_trap_mips16): Likewise.
23430         (abssi): Likewise.
23431         (absdi2): Likewise.
23432         (ffssi2): Likewise.
23433         (ffsdi2): Likewise.
23434         (ashldi3_internal): Likewise.
23435         (ashrdi3_internal): Likewise.
23436         (lshrdi3_internal): Likewise.
23437         (casesi_internal): Likewise.
23438
23439 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
23440
23441         Merge new ia32 backend from the branch!
23442
23443         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
23444         See ChangeLog.P2 on new_ia32_branch for details.
23445
23446         * rtl.h (stack_regs_mentioned_p): Delete prototype.
23447         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
23448         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
23449         * i386/gas.h (ASM_FILE_START): Define.
23450         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
23451         for name change of ix86_valid_decl_attribute_p.
23452         (i386_pe_valid_type_attribute_p): Similarly.
23453
23454 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
23455
23456         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
23457         to step through CC modes.
23458
23459 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23460
23461         * regmove.c (fixup_match_1): Don't move INSN in front of P if
23462         it would end up in the shadow of a live flags regsiter.
23463
23464 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23465
23466         * reload1.c: Fix many indentation problems.
23467         * reload.c: Likewise.
23468
23469 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
23470
23471         * alias.c (non_local_reference_p): Constify fmt.
23472
23473 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
23474
23475         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
23476
23477 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
23478
23479         * cse.c (delete_trivially_dead_insns): Do not delete stores to
23480         the internal_arg_pointer.
23481
23482 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
23483
23484         Merge peephole2 from new_ia32_branch:
23485         * Makefile.in (STAGESTUFF): Add *.peephole2.
23486         (mostlyclean): Likewise.
23487         (recog.o): Depend on resource.h.
23488
23489         * final.c (peephole): Conditionalize decl on HAVE_peephole.
23490         (final_scan_insn): Likewise for the invocation of peephole.
23491         * genconfig.c (main): Look for peephole and peephole2 patterns.
23492         Emit HAVE_peephole* accordingly.
23493         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
23494         * flags.h (flag_peephole2): Declare.
23495         * toplev.c: New pass peephole2.  New flag -fpeephole2.
23496
23497         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
23498         * gencodes.c (main): Likewise.
23499         * genextract.c (main): Likewise.
23500         * genoutput.c (main): Likewise.
23501         * genemit.c (max_operand_1): Look for the max scratch operand.
23502         (gen_rtx_scratch): New.
23503         (gen_exp): Use it, and pass on new arg subroutine_type.
23504         (gen_expand): Take max scratch into account.
23505         (gen_split): Emit peephole2 functions.
23506         (output_peephole2_scratch): New.
23507         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
23508         * genrecog.c (routine_type): Add PEEPHOLE2.
23509         (IS_SPLIT): New.
23510         (make_insn_sequence): Match outer parallel for peep2.  Discard
23511         top level scratches and dups.
23512         (add_to_sequence): New args insn_type and top.  Update all callers.
23513         Handle toplevel peep2 matching insns.
23514         (write_subroutine): Handle peep2.
23515         (write_tree_1): Likewise.
23516         (write_tree): Likewise.
23517         (main): Likewise.
23518         (change_state): New arg afterward.  Update all callers.
23519         Handle matching separate insns.
23520         * recog.c (recog_next_insn): New.
23521         (peephole2_optimize): New.
23522         * rtl.def (DEFINE_PEEPHOLE2): New.
23523         * resource.c (find_free_register): New argument last_insn.  Use it
23524         to find a register available through the entire span.
23525         * resource.h (find_free_register): Update prototype.
23526
23527 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
23528
23529         * i386.c (output_strlen_unroll): Don't write xops[7]
23530         label if it wasn't set.
23531
23532 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
23533
23534         * cpplib.c (struct directive): Const-ify name pointer and
23535         function pointer prototype.
23536         (validate_else, do_define, do_line, do_include, do_undef,
23537         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
23538         do_elif, do_endif, do_sccs, do_assert, do_unassert,
23539         do_warning): Const-ify second arg.
23540         (directive_table): Mark const.  Reorder entries by frequency
23541         of usage, record statistics.
23542
23543 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
23544
23545         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
23546         bounds- check RTL accesses if --enable-checking.
23547         (RTVEC_ELT): Bounds check if --enable-checking.
23548         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
23549         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
23550         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
23551         GET_NUM_ELEM.
23552         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
23553         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
23554
23555         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
23556         (NOTE_SOURCE_FILE): Use X0STR.
23557         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
23558         MEM_ALIAS_SET): Use X0INT.
23559         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
23560         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
23561         Use X0EXP.
23562         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
23563         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
23564         (rtl_check_failed_bounds, rtl_check_failed_type1,
23565         rtl_check_failed_type2, rtvec_check_failed_bounds): New
23566         functions.
23567         (fancy_abort): Fix comment.
23568
23569         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
23570         (cse_insn): Decrement LABEL_NUSES for jump target before
23571         deleting jump insn.
23572         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
23573         * final.c (alter_subreg): Compute regno before changing x to
23574         REG; set REGNO(x) after changing it.
23575         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
23576         notes containing CONST_INTs.
23577         (delete_eh_regions): Use NOTE_EH_HANDLER.
23578         * function.c (put_reg_into_stack): Make reg a MEM before
23579         initializing it.
23580         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
23581         delete insn.
23582         (gen_mem_addressof): Make reg a MEM before initializing it.
23583         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
23584         X0WINT.
23585         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
23586         deleting an insn, not after.
23587         (block_alloc): Only look at PATTERN(insn) if we have to, and
23588         only if it's format class 'i'.
23589         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
23590         CONST_INT before using its INTVAL.
23591         * print-rtl.c (print_rtx): Use X0STR.
23592         * regmove.c (fixup_match_1): Don't look at PATTERN of
23593         non-class-'i' insn chain elements.
23594         * reload.c (loc_mentioned_in_p): Take address of
23595         in->fld[1].rtx directly.
23596         * reload1.c (reload): Change reg to a MEM before initializing
23597         it.
23598         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
23599         have no names.
23600         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
23601
23602 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
23603
23604         * config/mips/mips.c (machine_dependent_reorg): Force a
23605         barrier to output the local constant pool if a barrier hasn't
23606         been found at a natural point in the instruction stream.
23607
23608 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23609
23610         * c-parse.in (language_string): Constify.
23611
23612         * dwarf2out.c (language_string): Remove declaration.
23613
23614         * dwarfout.c (language_string): Likewise.
23615
23616         * toplev.c (language_string, init_parse, finish_parse): Likewise.
23617
23618         * tree.h (language_string, init_parse, finish_parse): Declare.
23619
23620         * i386/sun386.h (language_string): Remove declaration.
23621
23622         * mips.h (language_string): Likewise.
23623
23624         * nextstep.h (language_string): Likewise.
23625
23626         * nextstep21.h (language_string): Likewise.
23627
23628         * rs6000.c (language_string): Likewise.
23629
23630 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23631
23632         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
23633         (getpwd.o): Remove target.
23634
23635         * getpwd.c: Delete file.  Its in libiberty now.
23636
23637         * dbxout.c (getpwd): Don't prototype.
23638         * dwarf2out.c (getpwd): Likewise
23639         * dwarfout.c (getpwd): Likewise
23640         * final.c (getpwd): Likewise.
23641         * protoize.c (getpwd): Likewise.
23642
23643 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23644
23645         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
23646
23647 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
23648
23649         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
23650         mark_set_resources.
23651
23652 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
23653
23654         * fixinc/Makefile.in (subdir): New.
23655         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
23656         (Makefile): New.
23657
23658 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
23659
23660         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
23661         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
23662         be shared.
23663
23664         * invoke.texi: Fix typo.
23665
23666         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
23667         changed.  Handle autoincrement addressing modes.
23668
23669         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
23670         just like we would the virtual incoming args register when
23671         integrating.
23672
23673 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
23674
23675         * rs6000.h (ASM_FILE_START): Specify complete filename, including
23676         path, in .file directive.
23677
23678 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
23679
23680         * gcc.texi (External Bugs): Remove obsolete note about Perl on
23681         SunOS.
23682
23683 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
23684
23685         * stdbool.h: Make the typedef name _Bool, with bool a #defined
23686         alias.
23687
23688 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23689
23690         * tree.c (tree_code_name): Constify a char*.
23691
23692         * tree.h (tree_code_name, decl_printable_name): Likewise.
23693
23694         * function.h (struct function): Likewise.
23695
23696         * toplev.c (decl_name, decl_printable_name): Likewise.
23697
23698         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
23699
23700         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
23701         (init_objc): Remove function pointer cast.
23702
23703 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
23704
23705         * pa.md (interspace_jump): New pattern.
23706         (builtin_longjmp): New expander.
23707
23708 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
23709
23710         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
23711         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
23712         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
23713
23714 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
23715
23716         * jump.c (delete_prior_computation): Also check calls
23717         to constant functions.  Don't bother checking for a
23718         REG_UNUSED note before adding it.
23719         (delete_computation): Handle multi-word hard registers
23720         when synthesizing missing REG_DEAD notes for a register
23721         which is both set and used by an insn.
23722
23723 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23724
23725         * loop.c (this_loop_info): New variable.
23726         (loop_has_call, loop_has_volatile, loop_has_tablejump,
23727         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
23728         All uses updated.
23729         (prescan_loop, strength_reduce): New argument loop_info.  All callers
23730         updated.
23731         (scan_loop): New variable loop_info, initialise to address of
23732         this_loop_info.
23733         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
23734         Delete variable loop_has_multiple_exit targets and replace with
23735         field in this_loop_info.
23736         (find_and_verify_loops): Rename this_loop to this_loop_num.
23737         (strength_reduce): Delete loop_iteration_info.  Replace variable
23738         loop_info with function argument of same name.
23739         (insert_bct): Rework test for loop being completely unrolled.
23740
23741         * loop.h (struct loop_info): New fields num, loops_enclosed,
23742         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
23743         has_indirect_jump, and cont.  Redefine use of unroll_number.
23744         (loop_unroll_number): Delete.
23745
23746         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
23747         field of loop_info.
23748         (loop_iterations): Delete variable vtop and instead use
23749         loop_info->vtop computed in prescan_loop.
23750
23751 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
23752
23753         * fix-header.c (main): Do not pass a null pointer to strcmp.
23754
23755 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
23756
23757         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
23758         filenames.
23759         * configure: Rebuilt.
23760
23761 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
23762
23763         * jump.c (jump_optimize_1): Do not delete assignments to
23764         internal_arg_pointer.
23765         * cse.c (delete_trivially_dead_insns): Always consider a set of
23766         the internal_arg_pointer live.
23767
23768 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
23769
23770         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
23771         (update_life_info) [REG_WAS_0]: Search the original insns rather
23772         than the new insns for the note.  Fix typos finding note_dest.
23773         If no dest found, discard the note rather than abort.
23774         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
23775         (replace_insns): Remove the old insn list after update_life_info
23776         not before.
23777
23778 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
23779
23780         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
23781         sched_analyze_insn.
23782         (sched_analyze_1): Let add_dependence care for not adding dups.
23783         (sched_analyze_2): Likewise.
23784         (add_branch_dependences): Likewise.
23785
23786 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23787
23788         * i386/winnt.c (export_list): New type.
23789         (exports_head): Rename to
23790         (export_head):  this.
23791         (i386_pe_record_exported_symbol): Add is_data flag.
23792         (i386_pe_asm_file_end): Emit directive for exported variables.
23793         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
23794         prototype.
23795         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
23796         (ASM_DECLARE_OBJECT_NAME): Likewise.
23797         (ASM_DECLARE_FUNCTION_NAME): Likewise.
23798         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
23799
23800 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
23801
23802         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
23803
23804         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
23805         operand.
23806
23807 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
23808
23809         * config/openbsd.h: Define SET_ASM_OP.
23810         * tm.texi: cross-reference SET_ASM_OP in the index.
23811
23812 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
23813
23814         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
23815         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
23816         and class_narrowest_mode at compile time.  Kill init_rtl.
23817         Mark rtx_length, mode_class, mode_size, mode_unit_size,
23818         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
23819         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
23820         EXTRA_CC_NAMES.
23821         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
23822         format.
23823         * rtl.h: Declare rtx_length and rtx_format as const.
23824         * machmode.def: Define CC().  Use CC() to define CCmode.  If
23825         EXTRA_CC_MODES is defined, expand it here.
23826         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
23827         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
23828         const.  Kill all references to EXTRA_CC_MODES.
23829
23830         * toplev.c: Don't prototype or call init_rtl.
23831         * optabs.c: Don't call init_mov_optab.
23832         * genemit.c: Don't generate init_mov_optab.  Don't call
23833         init_rtl.
23834         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
23835         here.
23836         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
23837         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
23838         genrecog.c: Don't call init_rtl.
23839
23840         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
23841         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
23842         definition of EXTRA_CC_MODES.
23843
23844         * md.texi: Kill ref to EXTRA_CC_NAMES.
23845         * tm.texi: Document new way to define EXTRA_CC_MODES.
23846
23847         * genrecog.c: Do not look up the name of a define_split.
23848         (Unrelated bugfix.)
23849
23850 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
23851
23852         * config/v850/v850.md: Fix typo introduced by previous delta.
23853
23854 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23855
23856         * gcc.c (fatal): Make definition static to match prototype.
23857
23858 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23859
23860         * combine.c (get_last_value): Don't look for earlier sets if the last
23861         known set is somewhere in between the insns being combined.
23862
23863 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
23864
23865         * configure.in: Don't use shell ! to negate exit codes
23866         * configure: Regenerate
23867
23868 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
23869
23870         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
23871         the fact that ALIGN is measured in bits, not bytes.
23872
23873 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
23874
23875         * errors.c: New file; defines functions error, warning, and
23876         fatal, variables have_error and progname.
23877         * errors.h: New file; prototypes and decls for stuff in errors.c.
23878
23879         * Makefile: Add rules to build errors.o and
23880         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
23881         genopinit, genrecog, genextract, genpeep, genattr, and
23882         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
23883         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
23884         genpeep.o, genattr.o, and genoutput.o.
23885
23886         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
23887         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
23888         define or prototype fatal.  Set progname at beginning of main.
23889         * genoutput.c:  Likewise, and don't define or prototype error
23890         either.
23891
23892         * c-typeck.c (c_expand_start_case): Return immediately if exp
23893         is an ERROR_MARK.
23894         * fold-const.c (operand_equal_p): Return immediately if arg1
23895         or arg0 are ERROR_MARKs.
23896         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
23897         fields of type ERROR_MARK when calculating if the record can
23898         go in a register.
23899
23900 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
23901         with much help from Jeffrey A Law and Richard Henderson
23902
23903         * i386.md: In the 6 insns which call output_fix_trunc,
23904         earlyclobber operands[0].
23905
23906 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
23907
23908         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
23909         creating new registers.
23910
23911 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
23912
23913         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
23914         i386_reg_alloc_order, i386_regparm_string,
23915         i386_align_loops_string, i386_align_jumps_string,
23916         i386_align_funcs_string, i386_preferred_stack_boundary_string,
23917         and i386_branch_cost_string as type "const char *".
23918         * i386.c: Define all above strings as type "const char *".
23919
23920 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
23921
23922         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
23923         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
23924
23925 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
23926
23927         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
23928         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
23929
23930 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
23931
23932         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
23933         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
23934         (dwarf2out_line, dwarf2out_finish): Likewise.
23935         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
23936
23937 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23938
23939         * tree.c (lang_unsave_expr_now) : Correct return type.
23940         * tree.h (lang_unsave_expr_now) : Same.
23941
23942 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
23943
23944         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
23945         instead of duplicating code.
23946
23947 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23948
23949         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
23950
23951 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
23952
23953         * tree.h: fancy_abort always takes three args.
23954         * resource.c: Move include of system.h before toplev.h.
23955
23956 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
23957
23958         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
23959         as SYMBOL_REFs.
23960
23961 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
23962
23963         * system.h: Don't redefine abort or trim_filename.
23964         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
23965         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
23966         whether or not __FUNCTION__ is available.
23967         * tree.h: Duplicate rtl.h's definition of abort, for files
23968         that don't include rtl.h.  Delete all code to perform type
23969         checking with a compiler other than GCC.
23970         * varray.h: Delete all code to perform type checking with a
23971         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
23972         its arguments exactly once, using a statement expression.
23973         Adjust the VARRAY_<type> accessor macros to match.
23974         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
23975         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
23976         caller's location.  Define fatal_insn and fatal_insn_not_found
23977         as macros that use _fatal_insn and _fatal_insn_not_found.
23978         (fancy_abort, trim_filename): Kill prototypes.
23979
23980         * rtl.c (trim_filename): Move here from toplev.c.
23981         (fancy_abort): New function.
23982         (DIR_SEPARATOR): Provide default definition.
23983         * tree.c (tree_check_failed, tree_class_check_failed): Go
23984         through fancy_abort.
23985         (tree_check, tree_class_check, cst_or_constructor_check,
23986         expr_check): Delete.
23987         * varray.c (varray_check_failed): New function.
23988         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
23989         _fatal_insn and _fatal_insn_not_found.  Go through
23990         fancy_abort.
23991         (trim_filename, fancy_abort): Delete.
23992
23993         * builtins.c (expand_builtin_args_info): Report ICE with abort.
23994         * except.c (start_catch_handler): Report ICE with error/abort
23995         combo.
23996         * final.c (output_operand_lossage): Likewise.
23997         * flow.c (verify_flow_info): Likewise.
23998
23999         * gcc.c: Prototype fatal.
24000         * gengenrtl.c: Undef abort after including rtl.h not system.h.
24001         * genattr.c, genattrtab.c, genemit.c, genextract.c,
24002         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
24003         Don't define fancy_abort.
24004
24005 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
24006
24007         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
24008         canonization.
24009
24010 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
24011
24012         * m88k.h (VERSION_INFO2): Kill.
24013         (VERSION_STRING): Kill.
24014         (TM_RCS_ID): Kill.
24015         (VERSION_INFO1): Tidy.
24016         (TARGET_VERSION): Update.
24017         * m88k/dgux.h (VERSION_INFO2): Kill.
24018         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
24019         * m88k/luna.h (VERSION_INFO1): Tidy.
24020         * m88k/sysv4.h (VERSION_INFO1): Likewise.
24021         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
24022         (output_file_start): Adjust for death of VERSION_STRING.
24023
24024 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
24025
24026         * cpplib.c (detect_if_not_defined): New function.
24027         (do_if): Use it to detect potential once-only headers.
24028
24029 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
24030
24031         * c-common.c (combine_strings): Always set TREE_CONSTANT.
24032
24033 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24034
24035         * combine.c (nonzero_bits) : Allow single-ly set registers to be
24036         anywere in the function only if they are pseudos and set before
24037         being used (not live at the start of the function).
24038         (num_sign_bit_copies) : Same.
24039         (get_last_value_validate) : Same.
24040         (get_last_value) : Same.
24041
24042 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
24043
24044         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
24045         where N and M are constant and N is an integer multiple of M.
24046
24047 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24048
24049         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
24050         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
24051         sbitmap_union_of_preds): Add prototypes.
24052         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
24053         the intersection of successors with the new flow graph structures.
24054         (sbitmap_intersection_of_preds): New function to compute the
24055         intersection of predecessors with the new flow graph structures.
24056         (sbitmap_union_of_succs): New function to compute the union of
24057         successors with the new flow graph structures.
24058         (sbitmap_union_of_preds): New function to compute the union of
24059         predecessors with the new flow graph structures.
24060         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
24061         (expr_reaches_here_p): Use edge and basic_block structures instead
24062         of s_preds and s_succs.
24063         (compute_cprop_avinout): Use new sbitmap routines.
24064         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
24065         of s_preds and s_succs.
24066         * flow.c (compute_flow_dominators): Compute dominators using
24067         edges and basic blocks instead of s_preds and s_succs.
24068
24069 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24070
24071         * lists.c (unused_insn_list, unused_expr_list): New file for
24072         maintaining various types of lists. New statics for maintaining a
24073         cache of available INSN_LIST and EXPR_LIST nodes.
24074         (free_list): Static function for freeing a list of INSN/EXPR nodes.
24075         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
24076         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
24077         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
24078         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
24079         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
24080         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
24081         (free_INSN_LIST_node): Free an individual INSN_LIST node.
24082         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
24083         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
24084         (remove_dependence, free_pending_lists): Use new global routines.
24085         (flush_pending_lists, sched_analyze_insn): Use new global routines.
24086         (sched_analyze, compute_block_backward_dependences): Use new routines.
24087         (sched_analyze_1, sched_analyze_2): Use new routines.
24088         (schedule_insns): Use new global routines.
24089         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
24090         prototypes.
24091         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
24092         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
24093         prototypes.
24094         * toplev.c (rest_of_compilation): Initialize node cache.
24095         * Makefile.in (OBJS): Add lists.o to list of object files.
24096         (lists.o): Add dependancies.
24097
24098 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
24099
24100         * config/v850/v850.md: Fix compile time warning messages.
24101         * config/v850/v850.c: Fix compile time warning messages.
24102         * config/v850/v850.h: Fix compile time warning messages.
24103
24104 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24105
24106         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
24107         Remove unused prototype for `init_lengths'.
24108
24109 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24110
24111         * calls.c (emit_call_1): Mark parameter `stack_size' with
24112         ATTRIBUTE_UNUSED.
24113         (expand_call): Initialize variable `insn'.
24114         (emit_library_call): Likewise for variable `high_to_save'.
24115         (emit_library_call_value): Likewise.
24116         (store_one_arg): Likewise for variables `lower_bound' and
24117         `upper_bound'.
24118
24119         * combine.c (try_combine): Likewise for variables `i2_code_number'
24120         and `other_code_number'.
24121         (find_split_point): Likewise for variables `pos', `unsignedp' and
24122         `inner'.
24123         (simplify_if_then_else): Likewise for variables `op' and `c1'.
24124         (simplify_and_const_int): Remove unused variable `width'.
24125         (merge_outer_ops): Likewise.
24126
24127         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
24128         HOST_WIDE_INT' when comparing against one.
24129         (simplify_relational_operation): Likewise.
24130         (cse_insn): Initialize variables `src_eqv_volatile',
24131         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
24132
24133         * final.c (init_final): Constify parameter `filename'.
24134         (final_start_function): Mark parameter `optimize' with
24135         ATTRIBUTE_UNUSED.
24136         (profile_function): Likewise for parameters `first' and `optimize'.
24137         (output_source_line): Likewise for parameter `file'.
24138
24139         * integrate.c (subst_constants): Cast a value to `size_t' when
24140         comparing against one.
24141         (mark_stores): Initialize variable `mode'.  Cast a value to
24142         `size_t' when comparing against one.
24143
24144         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
24145
24146         * loop.c (move_movables): Initialize variable `first'.
24147         (strength_reduce): Likewise for variable `increment'.
24148         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
24149         value to `size_t' when comparing against one.
24150         (load_mems): Initialize variable `end_label'.
24151
24152         * output.h (init_final): Constify parameter.
24153
24154         * reload.c (decompose): Initialize variable `base'.
24155
24156         * reload1.c (reload): Likewise for variable `is_scalar'.
24157         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
24158         (choose_reload_regs): Initialize variable `mode'.
24159         (emit_reload_insns): Likewise for variable `store_insn'.
24160         (reload_cse_noop_set_p): Mark parameter `insn' with
24161         ATTRIBUTE_UNUSED.
24162         (reload_combine): Initialize variable `set'.
24163
24164         * unroll.c (unroll_loop): Likewise for variable `local_label'.
24165         (copy_loop_body): Cast a value to `size_t' when comparing against
24166         one.
24167
24168         * varasm.c (assemble_variable): Initialize variable `size_tree'.
24169         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
24170         (remove_from_pending_weak_list): Mark parameter `name' with
24171         ATTRIBUTE_UNUSED.
24172
24173 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24174
24175         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
24176         gcse dump file.
24177
24178 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
24179
24180         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
24181         (ASM_DECLARE_FUNCTION_NAME): Define.
24182         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
24183         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
24184         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
24185         not already defined.
24186
24187 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
24188
24189         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
24190         of n_popped when call/call_value are not defined.
24191
24192 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
24193
24194         * tm.texi: GNU CC -> GCC conversion.
24195         (CC1_SPEC): Indicate it is used for all language front ends.
24196
24197 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
24198
24199         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
24200         NOTE_INSN_EH_REGION_END correctly.
24201
24202 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
24203                           Jeff Law <law@cygnus.com>
24204
24205         * loop.c (strength_reduce): Automatically unroll loops if the
24206         unrolled loop size is smaller than the rolled loop size.
24207
24208         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
24209         and delete comment that code should be rewritten.
24210
24211 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
24212
24213         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
24214         as reachable.
24215
24216         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
24217
24218 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24219
24220         * fixinc/mkfixinc.sh: Don't fix uwin headers.
24221         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
24222         (LINK_SPEC): Add -u _main when building executables.
24223         (ASM_DECLARE_FUNCTION): Update from Cygwin.
24224         (ASM_FILE_END): Use the default for ix86-pe.
24225         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
24226
24227 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
24228
24229         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
24230         and ASM_CLOSE_PAREN are empty strings.
24231
24232 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
24233                           Geoffrey Keating <geoffk@cygnus.com>
24234
24235         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
24236         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
24237         (unprotoize.o): Ditto.
24238         (test-protoize-simple): Don't define STD_PROTO_DIR.
24239         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
24240         changes to make 'test-protoize-simple' pass.
24241         (STD_PROTO_DIR): Remove define.
24242         (STANDARD_EXEC_PREFIX): Supply default define.
24243         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
24244         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
24245         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
24246         (GET_ENV_PATH_LIST): New macro.
24247         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
24248         (do_processing): Initialize default_syscalls_dir using new
24249         macros.  Use it to initialize syscalls_absolute_filename.
24250
24251 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
24252
24253         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
24254         B into a register before emit_conditional_move.
24255
24256 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
24257
24258         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
24259         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
24260         multiplicand out of (+ (* a b) (* c d)).
24261
24262 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
24263                           Richard Henderson  <rth@cygnus.com>
24264
24265         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
24266         (new_insn_dead_notes): Likewise.
24267         (update_n_sets): Likewise.
24268         (update_flow_info): Move to flow.c, renamed to update_life_info;
24269         extend to handle multiple source insns.
24270         * flow.c: Include resource.h
24271         (unlink_insn_chain): New.
24272         (split_hard_reg_notes): New.
24273         (maybe_add_dead_note): New.
24274         (maybe_add_dead_note_use): New.
24275         (find_insn_with_note): New.
24276         (new_insn_dead_notes): New.
24277         (update_n_sets): New.
24278         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
24279         (maybe_remove_dead_notes): New.
24280         (update_life_info): New.
24281         (prepend_reg_notes): New.
24282         (replace_insns): New.
24283         * output.h (update_life_info): Declare.
24284         * recog.c (split_block_insns): Use update_life_info.
24285         * resource.c (find_free_register): Use reg_alloc_order, don't use
24286         fixed regs, make sure the mode is supported, don't use new regs.
24287         (reg_dead_p): New.
24288         * rtl.h (replace_insns): Declare.
24289
24290 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
24291
24292         * expr.c (expand_expr): Cope with COND_EXPRs with one
24293         non-returning branch.
24294
24295 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
24296
24297         * expr.c (store_expr): Always pass down the target, even when not
24298         doing CSE.
24299
24300 1999-08-24  Nick Clifton  <nickc@cygnus.com>
24301
24302         * configure.in: Define target_cpu_default for v850 targets.
24303         * configure: Regenerate
24304
24305         * config/v850/v850.h (TARGET_CPU_generic): Define.
24306         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
24307         addresses are 4 byte aligned.
24308
24309         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
24310         addresses.
24311
24312 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24313
24314         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
24315         (main): Add prototypes.
24316
24317         * genattrtab.c (substitute_address, write_const_num_delay_slots,
24318         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
24319         (write_attr_get): Emit prototypes along with function definition.
24320         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
24321         (write_complex_function): Emit static prototype along with
24322         function definition.
24323
24324         * genemit.c (gen_split): Emit prototypes along with function
24325         definition.
24326
24327         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
24328         Likewise for predicates and `insn_operand_predicate'.
24329         (process_template): Emit static prototype along with function
24330         definition.
24331
24332         * genrecog.c (make_insn_sequence): Constify a char*.  Add
24333         prototypes for get_split_*().
24334         (write_subroutine): Emit prototypes along with function
24335         definition.
24336
24337 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24338
24339         * gcse.c (find_avail_set): Follow chains of register-register copies.
24340         Use oprs_not_set_p to guarantee that the returned value can be
24341         substituted.
24342         (cprop_insn): Don't verify the return value of find_avail_set with
24343         oprs_not_set_p.
24344
24345         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
24346         (cprop_cc0_jump): New function.
24347         (cprop_insn): Break out new function cprop_jump and use it.
24348         Also use cprop_cc0_jump for machines with CC0.
24349         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
24350
24351         * tree.h (current_function_calls_setjmp,
24352         current_function_calls_longjmp): Delete declarations.
24353         * dsp16xx.c: Include "function.h".
24354         * elxsi.c: Likewise.
24355         * gmicro.c: Likewise.
24356         * h8300.c: Likewise.
24357         * i370.c: Likewise.
24358         * m32r.c: Likewise.
24359         * mn10200.c: Likewise.
24360         * mn10300.c: Likewise.
24361         * ns32k.c: Likewise.
24362         * spur.c: Likewise.
24363         * v850.c: Likewise.
24364
24365         * rtl.h (rtx_equal_function_value_matters): Declare.
24366         * toplev.c (rtx_equal_function_value_matters): Don't declare.
24367         * cse.c: Likewise.
24368         * function.c: Likewise.
24369         * emit-rtl.c: Likewise.
24370
24371 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
24372
24373         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
24374         call.
24375
24376 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
24377
24378         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
24379         exactly.
24380
24381 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
24382
24383         * cpp.texi: Add a node documenting macro varargs (copied
24384         from extend.texi).
24385
24386 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
24387
24388         * cppspec.c: Put a null pointer at the end of the new argv.
24389
24390 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
24391
24392         * configure.in: Remove code to select/de-select the haifa
24393         scheduler.  Every scheduled port gets haifa now.
24394         * configure: Rebuilt.
24395         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
24396         * sched.c Deleted.
24397         * Makefile.in: Corresponding changes.
24398
24399 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24400
24401         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
24402         All callers changed.
24403         (prepare_float_lib_cmp): Likewise.
24404         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
24405         * expr.h (emit_float_lib_cmp): Delete declaration.
24406         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
24407         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
24408         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
24409         specially.
24410         (cmptf): Now conditional on TARGET_HARD_QUAD.
24411
24412 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
24413
24414         * resource.c (mark_target_live_regs): Use
24415         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
24416
24417 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24418
24419         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
24420
24421         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
24422
24423         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
24424
24425 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24426
24427         * rtl.h (rtx_format): Constify a char*.
24428
24429         * rtl.c (rtx_format): Likewise.
24430         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
24431         (init_rtl): Use accessor macro, not `rtx_format'.
24432
24433         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
24434         char*.
24435
24436         * caller-save.c (mark_referenced_regs): Likewise.
24437
24438         * combine.c (subst, make_compound_operation, known_cond,
24439         gen_rtx_combine, update_table_tick, get_last_value_validate,
24440         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
24441
24442         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
24443         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
24444         count_reg_usage): Likewise.
24445
24446         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
24447         Likewise.
24448
24449         * final.c (leaf_renumber_regs_insn): Likewise.
24450
24451         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
24452         dump_edge_info, count_reg_references): Likewise.
24453
24454         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
24455         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
24456         Likewise.
24457
24458         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
24459         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
24460         add_label_notes): Likewise.
24461
24462         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
24463         clear_struct_flag, count_sub_rtxs, count_alternatives,
24464         compares_alternatives_p, contained_in_p, walk_attr_value,
24465         write_expr_attr_cache): Likewise.
24466
24467         * genconfig.c (walk_insn_part): Likewise.
24468
24469         * genemit.c (max_operand_1, gen_exp): Likewise.
24470
24471         * genextract.c (walk_rtx): Likewise.
24472
24473         * genflags.c (num_operands): Likewise.
24474
24475         * genoutput.c (scan_operands): Likewise.
24476
24477         * genpeep.c (match_rtx): Likewise.
24478
24479         * genrecog.c (add_to_sequence): Likewise.
24480
24481         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
24482         Likewise.
24483
24484         * integrate.c (save_constants, copy_for_inline,
24485         copy_rtx_and_substitute, subst_constants, restore_constants):
24486         Likewise.
24487
24488         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
24489         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
24490
24491         * local-alloc.c (contains_replace_regs, memref_referenced_p):
24492         Likewise.
24493
24494         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
24495         add_label_notes, replace_call_address, count_nonfixed_reads,
24496         invariant_p, find_single_use_in_loop, find_mem_givs,
24497         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
24498         Likewise.
24499
24500         * print-rtl.c (reg_names, print_rtx): Likewise.
24501
24502         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
24503
24504         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
24505         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
24506         print_blocks): Likewise.
24507
24508         * regclass.c (fix_register, record_address_regs,
24509         reg_scan_mark_refs): Likewise.
24510
24511         * regmove.c (stable_but_for_p): Likewise.
24512
24513         * reload.c (loc_mentioned_in_p, operands_match_p,
24514         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
24515         copy_replacements, refers_to_regno_for_reload_p,
24516         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
24517         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
24518         Likewise.
24519
24520         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
24521         delete_address_reloads_1, count_occurrences,
24522         reload_cse_mem_conflict_p, reload_combine_note_use,
24523         add_auto_inc_notes): Likewise.
24524
24525         * resource.c (mark_referenced_resources, mark_set_resources):
24526         Likewise.
24527
24528         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
24529         reg_mentioned_p, regs_set_between_p, modified_between_p,
24530         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
24531         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
24532         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
24533         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
24534
24535         * sched.c (sched_analyze_2, attach_deaths): Likewise.
24536
24537         * stupid.c (stupid_mark_refs): Likewise.
24538
24539         * unroll.c (remap_split_bivs): Likewise.
24540
24541         * varasm.c (mark_constants): Likewise.
24542
24543         * a29k/a29k.c (uses_local_reg_p): Likewise.
24544
24545         * alpha/alpha.c (summarize_insn): Likewise.
24546
24547         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
24548         eliminate_lr2ip): Likewise.
24549
24550         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
24551
24552         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
24553         reg_mentioned_in_mem): Likewise.
24554
24555         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
24556         symbolic_reference_mentioned_p): Likewise.
24557
24558         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
24559
24560         * sh/sh.c (regs_used, mark_use): Likewise.
24561
24562         * vax/vax.c (vax_rtx_cost): Likewise.
24563
24564 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24565
24566         * machmode.h (mode_name): Constify a char*.
24567
24568         * rtl.c (mode_name): Likewise.
24569
24570         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
24571
24572         * optabs.c (init_libfuncs): Constify a char*.
24573
24574         * print-tree.c (mode_name): Remove redundant declaration.
24575         (print_node): Use accessor macro, not `mode_name'.
24576
24577         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
24578         not `mode_name'.
24579         (new_spill_reg): Constify a char*.
24580
24581         * tree.c (mode_name): Remove redundant declaration.
24582
24583 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24584
24585         * rtl.c (rtx_name): Constify a char*.
24586
24587         * rtl.h (rtx_name, fix_sched_param): Likewise.
24588
24589         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
24590         (mypr): Use accessor macro, not `rtx_name'.
24591
24592         * genemit.c (print_code): Constify a char*.
24593
24594         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
24595
24596         * genpeep.c (print_code): Constify a char*.
24597
24598         * genrecog.c (print_code): Likewise.
24599
24600         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
24601         end_bb): Add static prototype.
24602         (draw_edge): Constify a char*.
24603         (end_bb): Remove unused parameter.
24604
24605         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
24606         print_block_visualization): Constify a char*.
24607
24608 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
24609
24610         * c-common.c (c_get_alias_set): Update comment.
24611
24612 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
24613
24614         * linux.h (LIB_SPEC): Added.
24615
24616 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24617
24618         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
24619
24620 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
24621
24622         * tree.c (expr_check): Fix typo in last change.
24623
24624 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
24625
24626         * rtl.def (NOTE): Change format to "iuu0n".
24627         (ADDR_DIFF_VEC): Change format to "eEee0".
24628         (ADDRESSOF): Change format to "eit".
24629
24630         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
24631         (RTVEC_ELT): Change to match.
24632         (XVECEXP): Use XVEC and RTVEC_ELT.
24633         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
24634         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
24635         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
24636         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
24637         TRAP_CONDITION, TRAP_CODE): Use XEXP.
24638         (INTVAL): Use XWINT.
24639         (ADDRESSOF_DECL): Use XTREE.
24640         (SET_ADDRESSOF_DECL): Delete.
24641         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
24642         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
24643         ifdefed out since 2.6 at least.
24644         (gen_rtvec_vv): Delete prototype.
24645
24646         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
24647         not rtunion.
24648         (copy_most_rtx): Handle 't' format letter.
24649         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
24650         (gen_rtvec_vv): Delete function.  All callers changed to use
24651         gen_rtvec_v instead.
24652         * print-rtl.c (print_rtx): Move special casing of NOTEs to
24653         the '0' format letter.
24654
24655         * function.c (gen_mem_addressof): Don't use
24656         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
24657         instead.
24658         * integrate.c (copy_rtx_and_substitute): Likewise.
24659         Copy 't' slots with XTREE.
24660         (subst_constants): Treat 't' slots like '[swi]' slots.
24661         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
24662         * jump.c (rtx_equal_for_thread_p): Likewise.
24663         * rtlanal.c (rtx_equal_p): Likewise.
24664         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
24665         only four arguments.
24666         * gengenrtl.c (type_from_format): Provide correct types for
24667         'b' and 't' slots.
24668
24669
24670         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
24671         If a recent gcc is in use (always in stage2 and beyond), use
24672         statement expressions, so we don't make a function call unless
24673         the check fails.  Evaluate arguments exactly once.
24674         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
24675         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
24676         Delete.
24677         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
24678         they evaluate their arguments exactly once, irrespective of
24679         the compiler in use.
24680
24681         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
24682         is used by the currently-enabled check macros.  This is:
24683         (tree_check_failed, tree_class_check_failed): For gcc.
24684         (tree_check, tree_class_check, cst_or_constructor_check,
24685         expr_check): For other compilers.
24686
24687         * gencheck.c: Do not define any *_CHECK1 macros.
24688
24689 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
24690                           Mark Mitchell <mark@codesourcery.com>
24691
24692         * c-common.c (c_get_alias_set): Fix support for poitners and
24693         references.
24694
24695 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
24696
24697         * alias.c: Include tree.h.
24698         (nonlocal_reference_p, mark_constant_function): New functions.
24699         * flow.c (life_analysis): Call mark_constant_function.
24700         * rtl.h (mark_constant_function): Declare it.
24701
24702 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
24703
24704         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
24705         unrecognisable switches.
24706
24707 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24708
24709         * loop.c (recombine_givs): Set ix field after sorting.
24710         (recombine_givs): Remove bogus index / giv lockstep looping.
24711
24712 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24713
24714         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
24715         on CODE.
24716         (emit_store_flag_force): Use do_compare_rtx_and_jump.
24717         (do_cmp_and_jump): Formatting fixes.
24718         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
24719         do_compare_rtx_and_jump instead of compare_from_rtx.
24720         (do_compare_rtx_and_jump): New function; mostly copied from
24721         compare_from_rtx.
24722         (do_jump_for_compare): Delete.
24723         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
24724         MIN_EXPR.
24725         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
24726         of compare/do_jump_for_compare pairs.
24727         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
24728         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
24729         compare_from_rtx/do_jump_for_compare pairs.
24730         (do_jump_by_parts_equality): Likewise.
24731         (do_jump_by_parts_equality_rtx): Likewise.
24732         * expr.h (do_compare_rtx_and_jump): Declare.
24733         * optabs.c (prepare_cmp_insn): New function, contains most of the code
24734         that used to be in emit_cmp_insn.
24735         (cmp_available_p): New function.
24736         (prepare_operand): New function.
24737         (emit_cmp_and_jump_insn_1): New function, contains some code that used
24738         to be in emit_cmp_insn.
24739         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
24740         parameters to be pointers; don't emit final compare but modify some of
24741         the values pointed to by the args so the caller can perform the
24742         correct comparison.
24743         (expand_binop): Call emit_store_flag_force with signed forms of
24744         comparison code.
24745         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
24746         emit_jump_insn pair.
24747         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
24748         emit_cmp_and_jump_insn_1.  Call emit_queue.
24749         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
24750         arg.
24751         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
24752         jump sets cc0 before deleting it.
24753         * integrate.c (expand_inline_function): Likewise.
24754         * unroll.c (unroll_loop): Similar changes in several places.
24755         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
24756         before deleting it.
24757
24758 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24759
24760         * Makefile.in (insn-recog.o): Update dependencies.
24761         * genrecog.c (main): Make generated file include "function.h".
24762
24763 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
24764
24765         * cse.c (cse_insn): Call never_reached_warning when a jump is
24766         changed to be unconditional.
24767         * flags.h: Declare warn_notreached.
24768         * flow.c (delete_block): Call never_reached_warning when
24769         a block is deleted.
24770         * jump.c (delete_barrier_successors): Call never_reached_warning
24771         when we delete everything after a BARRIER.
24772         (never_reached_warning): New function.
24773         * rtl.h: Declare never_reached_warning.
24774         * toplev.c (warn_notreached): New variable.
24775         (lang_independent_options): Set warn_notreached
24776         when -Wunreachable-code.
24777         (compile_file): We need line numbers for -Wunreachable-code.
24778
24779 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
24780
24781         * haifa-sched.c (insn_unit): Fix typo on out of range test.
24782         * sched.c (insn_unit): Likewise.
24783
24784 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
24785
24786         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
24787
24788 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24789
24790         * flow.c (create_edge_list): Use xmalloc, not malloc.
24791
24792 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
24793
24794         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
24795         C-style comments.  Do not lose the character before double slash.
24796
24797 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24798
24799         * basic-block.h (struct edge_list): Stucture to maintain a vector
24800         of edges.
24801         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
24802          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
24803         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
24804         New function prototypes.
24805         * flow.c (create_edge_list): Function to create an edge list.
24806         (free_edge_list): Discards memory used by an edge list.
24807         (print_edge_list): Debug output showing an edge list.
24808         (verify_edge_list): Internal consistency check for an edge list.
24809         (find_edge_index): Function to find an edge index for a pred and succ.
24810
24811 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
24812
24813         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
24814         hashtable.
24815
24816 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
24817
24818         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
24819
24820 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
24821
24822         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24823
24824 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
24825
24826         * toplev.c (rest_of_compilation): Allow machine dependent
24827         reorganisation pass to place information into the RTL dump
24828         file if it so wishes.
24829
24830 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
24831
24832         * explow.c (hard_function_value): Use VOIDmode instead of
24833         MAX_MACHINE_MODE.
24834         * stmt.c (expand_return): Likewise.
24835         * stor-layout.c (get_best_mode): Likewise.
24836
24837         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
24838         emit call instead of emit_insn call.
24839
24840 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24841
24842         * configure.in: Handle --disable/enable-win32-registry.
24843         * install.texi: Document --disable/enable-win32-registry.
24844         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
24845         (WIN32_REGISTRY_KEY): New macro.
24846         * prefix.c: Use to enable/disable win32-specific code.
24847         (lookup_key): Use versioned key.
24848         * configure: Regenerate.
24849         * config.in: Likewise.
24850
24851 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
24852
24853         * cpplib.c (read_line_number): New fn, split out of...
24854         (do_line): Here.
24855
24856 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24857
24858         tree.c (lang_unsave_expr_now) : New.
24859         (unsave_expr_now): Call lang_unsave_expr_now.
24860         tree.h (lang_unsave_expr_now) : New.
24861
24862 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
24863
24864         * toplev.c (flag_new_exceptions): On by default.
24865
24866 1999-08-13  Michael Meissner  <meissner@cygnus.com>
24867
24868         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
24869
24870 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
24871
24872         * dwarfout.c (fundamental_type_code): Return FT_boolean for
24873         INTEGER_TYPE with precision==1, it's __java_boolean.
24874
24875 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24876
24877         * global.c (prune_preferences): Move some invariants out of the
24878         inner loop.
24879
24880 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
24881
24882         * configure.in (alpha*-dec-osf*): Add osf5.
24883
24884 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
24885
24886         * configure.in: Rework handling of ARM GNU/Linux slightly.
24887         (arm*-*-linux-gnuoldld): New target.
24888         * configure: Regenerate.
24889         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
24890         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
24891         * config/arm/linux-oldld.h: New file.
24892         * config/arm/linux-elf26.h: Don't include linux-elf.h.
24893         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
24894         Don't define.
24895         * config/arm/linux-elf.h (ASM_SPEC): Define.
24896         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
24897         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
24898         for 26-bit APCS and old linker.
24899         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
24900         `arm_elf'.
24901         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
24902         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
24903         don't define `arm' or `arm_elf'.
24904         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
24905         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
24906
24907 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
24908
24909         * rtl.texi: Fix typo.
24910
24911 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
24912
24913         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
24914
24915 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
24916
24917         * extend.texi (C++ Signatures): Remove node.
24918         * invoke.texi: Remove discussion of -fhandle-signatures,
24919         signature, sigof, __signature__, and __sigof__.
24920
24921 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
24922
24923         * Makefile.in (JAVAGC): Removed.
24924
24925 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24926
24927         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24928
24929 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
24930
24931         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24932
24933 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
24934
24935         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
24936         a register that is already known to be a pointer.
24937
24938 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
24939
24940         * fixinc/inclhack.tpl: Only install assert.h conditionally.
24941         * fixinc/inclhack.sh: Regenerated.
24942         * fixinc/fixincl.sh: Regenerated.
24943
24944 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
24945
24946         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
24947         Fix documentation of -ansi flag to describe its C++ behavior.
24948         Remove bogus reference to GCC 2.9.
24949
24950 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
24951
24952         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
24953         note if it is non-NULL.
24954
24955 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24956
24957         * except.h (eh_nesting_info): Add new structure defintion.
24958         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
24959         (reachable_handlers, update_rethrow_references): Add function
24960         prototypes.
24961         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
24962         a rethrow symbol instead of an integer exception region number.
24963         * flow.c (Make_edges): Use new exception nesting routines to determine
24964         which handlers are reachable from a CALL or asynchronous insn.
24965         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
24966         goto receivers.
24967         (delete_eh_regions): Update rethrow labels, and don't delete
24968         regions which are the target of a rethrow.
24969         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
24970         avoid overloading the SYMBOL_REF_USED flag.
24971         (rethrow_symbol_map): Use new rethrow_ref field.
24972         (rethrow_used): Use new rethrow_ref field.
24973         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
24974         of an integer.  Fix formatting.
24975         (output_exception_table_entry): Use new rethrow_ref field.
24976         (can_throw): Check for EH_REGION_NOTE before deciding
24977         whether a CALL can throw or not.
24978         (scan_region): Call rethrow_used() instead of accessing data structure.
24979         (update_rethrow_references): New function to make sure only regions
24980         which are still targets of a rethrow are flagged as such.
24981         (process_nestinfo): New static function to initialize a handler
24982         list for a specific region.
24983         (init_eh_nesting_info): New function to allocate and initialize
24984         the list of all EH handlers reachable from all regions.
24985         (reachable_handlers): New function to retrieve the list of handlers
24986         reachable from a specific region and insn.
24987         (free_eh_nesting_info): New function to dispose of a list of
24988         reachable handlers.
24989
24990 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24991
24992         * flow.c (split_edge): Set JUMP_LABEL field.
24993         (commit_one_edge_insertion): Set head correctly for insert_before.
24994         When inserting insns, update insn block numbers if allocated.
24995
24996 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24997
24998         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
24999         retry_incomplete_types): Add static prototype.
25000         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
25001         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
25002         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
25003         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
25004         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
25005         Constify a char*.
25006
25007         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
25008         dwarf2out_start_source_file, dwarf2out_line): Likewise.
25009
25010 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25011
25012         * output.h (assemble_name): Constify a char*.
25013
25014         * varasm.c (UNIQUE_SECTION, assemble_start_function,
25015         assemble_variable, assemble_name): Likewise.
25016
25017         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
25018
25019         * arm/pe.c (arm_pe_unique_section): Likewise.
25020
25021         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
25022
25023         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
25024
25025         * i386/interix.c (i386_pe_unique_section): Likewise.
25026
25027         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
25028
25029         * i386/winnt.c (i386_pe_unique_section): Likewise.
25030
25031         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
25032
25033         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
25034
25035         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
25036
25037         * pa/pa.c (output_call): Likewise.
25038
25039         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
25040
25041         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
25042
25043         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
25044         Likewise.
25045
25046         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
25047         Likewise.
25048
25049         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
25050
25051         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
25052         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
25053
25054         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
25055
25056 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25057
25058         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
25059
25060 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25061
25062         * tree.h (lang_identify): Constify a char*.
25063         (print_error_function): Add extern prototype.  Constify a char*.
25064
25065         * c-lang.c (lang_identify): Constify a char*.
25066
25067         * objc/objc-act.c (lang_identify): Constify a char*.
25068
25069 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25070
25071         * genpeep.c (main): Make generated file include "function.h".
25072         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
25073
25074 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25075
25076         * Makefile.in: Update dependencies.
25077         * alias.c: Include "function.h"
25078         * c-decl.c: Likewise.
25079         * caller-save.c: Likewise.
25080         * calls.c: Likewise.
25081         * combine.c: Likewise.
25082         * cse.c: Likewise.
25083         * explow.c: Likewise.
25084         * final.c: Likewise.
25085         * global.c: Likewise.
25086         * graph.c: Likewise.
25087         * local-alloc.c: Likewise.
25088         * loop.c: Likewise.
25089         * optabs.c: Likewise.
25090         * profile.c: Likewise.
25091         * recog.c: Likewise.
25092         * regclass.c: Likewise.
25093         * regmove.c: Likewise.
25094         * reload.c: Likewise.
25095         * reorg.c: Likewise.
25096         * resource.c: Likewise.
25097         * sched.c: Likewise.
25098         * stupid.c: Likewise.
25099         * config/1750a/1750a.c: Likewise.
25100         * config/a29k/a29k.c: Likewise.
25101         * config/arc/arc.c: Likewise.
25102         * config/arm/arm.c: Likewise.
25103         * config/arm/thumb.c: Likewise.
25104         * config/c4x/c4x.c: Likewise.
25105         * config/clipper/clipper.c: Likewise.
25106         * config/convex/convex.c: Likewise.
25107         * config/fx80/fx80.c: Likewise.
25108         * config/i860/i860.c: Likewise.
25109         * config/m68k/m68k.c: Likewise.
25110         * config/m88k/m88k.c: Likewise.
25111         * config/mips/mips.c: Likewise.
25112         * config/pdp11/pdp11.c: Likewise.
25113         * config/pyr/pyr.c: Likewise.
25114         * config/romp/romp.c: Likewise.
25115         * config/sh/sh.c: Likewise.
25116         * config/tahoe/tahoe.c: Likewise.
25117         * config/vax/vax.c: Likewise.
25118         * config/we32k/we32k.c: Likewise.
25119         * config/sparc/sparc.c: Include "function.h".
25120         (mem_min_alignment): Test current_function rather than
25121         regno_pointer_align.
25122         * config/pa/pa.c: Likewise.
25123         (compute_frame_size): Delete declaration of
25124         current_function_outgoing_args_size.
25125         * config/arc/arc.h (current_function_varargs): Delete declaration.
25126         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
25127         declaration.
25128         * config/i370/i370.h (current_function_outgoing_args_size): Delete
25129         declaration.
25130         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
25131         current_function_uses_pic_offset_table.
25132         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
25133         of current_function_returns_pointer.
25134         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25135         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25136         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25137         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25138         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25139         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25140         * config/m88k/m88k.c: Include "function.h"
25141         (call_used_regs, current_function_pretend_args_size,
25142         current_function_outgoing_args_size, frame_pointer_needed): Delete
25143         declarations.
25144         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
25145         declaration.
25146         * config/mips/mips.h (current_function_calls_alloca): Delete
25147         declaration.
25148         * config/mn10200/mn10200.h (current_function_needs_context,
25149         rtx_equal_function_value_matters): Delete declarations.
25150         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
25151         flag_pic): Delete declarations.
25152         * config/pa/pa.h (current_function_pretend_args_size,
25153         current_function_decl): Delete declarations.
25154         * config/pa/som.h (current_function_varargs): Delete declaration.
25155         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
25156         declaration.
25157         * config/pyr/pyr.h (current_function_pretend_args_size,
25158         current_function_args_size, current_function_calls_alloca): Delete
25159         declarations.
25160         * config/sh/sh.h (current_function_varargs): Delete declaration.
25161         * config/sparc/sparc.h (current_function_outgoing_args_size,
25162         current_function_calls_alloca, current_function_decl): Delete
25163         declarations.
25164         * config/spur/spur.h (current_function_pretend_args_size,
25165         current_function_calls_alloca): Delete declarations.
25166         * config/v850/v850.c (current_function_outgoing_args_size): Delete
25167         declaration.
25168         * config/vax/vms.h (current_function_name): Delete declaration.
25169         * gcse.c: Include "function.h".
25170         (current_function_name, current_function_calls_setjmp): Delete
25171         declarations.
25172         * haifa-sched.c: Include "function.h".
25173         (forced_labels): Delete declaration.
25174         * jump.c: Likewise.
25175         * reg-stack.c: Likewise.
25176         * reload1.c: Likewise.
25177         * genemit.c (main): Make generated file include function.h.
25178         * genoutput.c (output_prologue): Likewise.
25179
25180         * builtins.c (saveregs_value, apply_args_value): Delete variables.
25181         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
25182         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
25183         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
25184         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
25185         macros for some of them.
25186         (emit_filename, emit_lineno): Delete declarations.
25187         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
25188         regno_pointer_* variables through current_function.
25189         (gen_inline_header_rtx): Delete function.
25190         (save_emit_status): Delete function.
25191         (set_new_last_label_num): New function.
25192         (clear_emit_caches): New function.
25193         (restore_emit_status): Just clear last_labelnum and call
25194         clear_emit_caches.
25195         (get_last_insn_anywhere): Variable sequence_stack is now accessed
25196         through macro seq_stack.
25197         (add_insn_after): Likewise.
25198         (add_insn_before): Likewise.
25199         (remove_insn): Likewise.
25200         (pop_topmost_sequence): Likewise.
25201         (in_sequence_p): Likewise.
25202         (start_sequence_for_rtl_expr): Likewise.
25203         (start_sequence): Likewise, and likewise for
25204         sequence_rtl_expr/seq_rtl_expr.
25205         (push_topmost_sequence): Likewise.
25206         (end_sequence): Likewise.
25207         (init_virtual_regs): Now takes a "struct emit_status *" argument.
25208         All callers changed.  Store into that pointer instead of globals.
25209         (init_emit): Allocate emit elt of current_function.
25210         Changes for sequence_rtl_expr/sequence_stack renaming.
25211         Call clear_emit_caches instead of doing it in-line.
25212         Access regno_pointer_* variables through current_function.
25213         (init_emit_once) Don't clear sequence_stack.
25214
25215         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
25216         Delete variables.
25217         (arg_pointer_save_area): Delete declaration.
25218         (finish_expr_for_function): Renamed from init_queue; no longer static.
25219         (init_expr): Don't call init_queue.
25220         (save_expr_status, restore_expr_status): Delete functions.
25221         (expand_expr): Changes to reflect new layout of struct function.
25222         Don't access current_function_check_memory_usage when current_function
25223         is 0.
25224         * expr.h (forced_labels, save_expr_regs, saveregs_value,
25225         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
25226         current_function_outgoing_args_size, current_function_arg_offset_rtx,
25227         current_function_uses_const_pool, function_call_count,
25228         current_function_uses_pic_offset_table, nonlocal_labels,
25229         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
25230         current_function_check_memory_usage, nonlocal_goto_handler_slots,
25231         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
25232         declarations.
25233         (finish_expr_for_function): Declare.
25234         * flags.h (current_function_has_nonlocal_label,
25235         current_function_has_nonlocal_goto, current_function_is_thunk,
25236         current_function_has_computed_jump): Delete declarations.
25237         * flow.c (forced_labels): Delete declaration.
25238         * function.c (current_function_pops_args,
25239         current_function_returns_struct, current_function_returns_pcc_struct,
25240         current_function_needs_context, current_function_calls_setjmp,
25241         current_function_calls_longjmp, current_function_has_nonlocal_label,
25242         current_function_has_nonlocal_goto, current_function_is_thunk,
25243         current_function_has_computed_jump, current_function_calls_alloca,
25244         current_function_contains_functions, current_function_returns_pointer,
25245         current_function_epilogue_delay_list, current_function_args_size,
25246         current_function_pretend_args_size, current_function_arg_offset_rtx,
25247         current_function_outgoing_args_size, current_function_varargs,
25248         current_function_stdarg, current_function_args_info, cleanup_label,
25249         current_function_name, current_function_uses_const_pool,
25250         current_function_instrument_entry_exit, current_function_return_rtx,
25251         current_function_uses_pic_offset_table, nonlocal_labels,
25252         current_function_internal_arg_pointer, current_function_cannot_inline,
25253         current_function_check_memory_usage, function_call_count,
25254         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
25255         nonlocal_goto_stack_level, return_label, save_expr_regs,
25256         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
25257         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
25258         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
25259         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
25260         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
25261         Delete variables.
25262         (push_function_context_to): Don't save them.  Don't call
25263         save_storage_status, save_emit_status or save_expr_status.
25264         (pop_function_context_from): Don't restore them.  Don't call
25265         restore_storage_status or restore_expr_status.
25266         (get_func_frame_size): New function.
25267         (get_frame_size): Use it.
25268         (assign_outer_stack_local): Reflect some member name changes in struct
25269         function.
25270         (put_reg_into_stack): Likewise.
25271         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
25272         seq_rtl_expr.
25273         (fixup_var_refs): Likewise.
25274         (fix_lexical_addr): Likewise.
25275         (trampoline_address): Likewise.
25276         (prepare_function_start): Clear field inlinable of current_function.
25277         (init_function_for_compilation): New function.
25278         (expand_dummy_function_end): New function.
25279         (expand_function_end): Call finish_expr_for_function.
25280         * function.h (struct emit_status): New; fields moved here from struct
25281         function and from global variables.  Add accessor macros for some of
25282         the fields.
25283         (struct expr_status): Likewise.
25284         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
25285         (struct function): Add fields expr and emit, inlinable, inl_emit,
25286         original_arg_vector, original_decl_initial, inl_last_parm_insn,
25287         inl_max_label_num.  Add many comments.
25288         Add accessor macros for all elts of struct function that no longer
25289         have a global variable.
25290         (cleanup_label, return_label, frame_offset, tail_recursion_label,
25291         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
25292         stack_slot_list): Delete declarations.
25293         (get_func_frame_size): Declare.
25294         (save_expr_status, restore_expr_status, save_emit_status,
25295         save_storage_status, restore_storage_status): Delete declarations.
25296         (init_virtual_regs): Declare.
25297         * output.h (current_function_pops_args,
25298         current_function_returns_struct, current_function_returns_pcc_struct,
25299         current_function_needs_context, current_function_calls_setjmp,
25300         current_function_calls_longjmp, current_function_calls_alloca,
25301         current_function_has_nonlocal_label, current_function_varargs,
25302         current_function_has_computed_jump, current_function_returns_pointer,
25303         current_function_contains_functions, current_function_args_size,
25304         current_function_pretend_args_size, current_function_stdarg,
25305         current_function_outgoing_args_size, current_function_args_info,
25306         current_function_name, current_function_return_rtx,
25307         current_function_epilogue_delay_list,
25308         current_function_uses_const_pool, current_function_cannot_inline):
25309         Delete declarations.
25310         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
25311         regno_reg_rtx): Delete declaration.
25312         (REGNO_POINTER_FLAG): Delete macro.
25313         * stmt.c (expand_goto): Changes to reflect that some fields in struct
25314         function were renamed.
25315         * stor-layout.c (save_storage_status, restore_storage_status): Delete
25316         functions.
25317         * toplev.c: Include "function.h".
25318         (current_function_decl): Delete declaration.
25319         (compile_file): Call init_dummy_function_start and
25320         expand_dummy_function_end around some initializations that need to
25321         emit rtl.
25322         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
25323         Call init_function_for_compilation.
25324         * unroll.c: Include "function.h"
25325         (unroll_loop): Access regno_pointer_* variables through
25326         current_function.
25327
25328         * tree.h (struct tree_decl): Add elt f to saved_insns member.
25329         (DECL_SAVED_INSNS): use it.
25330         (expand_dummy_function_end): Declare.
25331         (init_function_for_compilation): Declare.
25332         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
25333         that it's no longer an INLINE_HEADER.
25334         (expand_call): Likewise.
25335         * integrate.c (finish_inline): Delete function.
25336         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
25337         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
25338         args.  Don't generate an INLINE_HEADER rtx, just return the arg
25339         vector.  All callers changed.
25340         (save_for_inline_copying):  Create a duplicate struct emit_status to
25341         hold the emit state for compiling the current function.  Use this and
25342         the other new fields in struct function that are for integration
25343         instead of an INLINE_HEADER.
25344         Use memcpy instead of bcopy.
25345         Store the current struct function in DECL_SAVED_INSNS of fndecl.
25346         (save_for_inline_nocopy): Similar changes, except no new emit_status
25347         is needed here.
25348         (expand_inline_function): Get information from function structure,
25349         not from an inline header rtx.
25350         (output_inline_function): Lose code to extract the necessary
25351         information from an inline header; simply put back the function
25352         structure into current_function.  Clear its inlinable elt.
25353         * rtl.def (INLINE_HEADER): Delete.
25354         * rtl.h: Delete all accessors for an INLINE_HEADER.
25355         (gen_inline_header_rtx): Delete declaration.
25356         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
25357         Delete declarations.
25358         (REGNO_POINTER_ALIGN): Delete.
25359         (clear_emit_caches): Declare.
25360         (set_new_last_label_num): Declare.
25361
25362 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
25363
25364         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
25365
25366         * except.c (expand_eh_region_start_for_decl): Always start a new block.
25367         * stmt.c (is_eh_region): Make sure current_function is present, too.
25368
25369 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
25370
25371         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
25372         for 64bit PA targets.
25373
25374         * pa.h (SELECT_SECTION): Define.
25375         * som.h (SELECT_SECTION): Delete.
25376
25377 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25378
25379         * alias.c (init_alias_analysis): Wrap call to
25380         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
25381
25382 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
25383
25384         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
25385         <sys/asm.h> contains an asm comment with an apostrophe
25386         * fixinc/inclhack.sh:  regen
25387         * fixinc/fixincl.x:  regen
25388
25389 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
25390
25391         * function.c (init_function_start): Clear prologue & epilogue.
25392         (prologue_epilogue_contains): New function.
25393         * alias.c (init_alias_analysis): Use it.
25394         * rtl.h (prologue_epilogue_contains): Declare it.
25395
25396 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
25397
25398         * jump.c (onlyjump_p): New function.
25399         * rtl.h: Declare it.
25400         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
25401         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
25402
25403 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
25404
25405         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
25406         to invert loops.  Simplify block scanning.
25407
25408 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
25409
25410         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
25411         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
25412
25413 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
25414
25415         * config/sparc/liteelf.h: New file to support sparclite-elf target
25416         * config/sparc/t-sp86x: New file to support sparc86x targets
25417         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
25418         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
25419         * configure.in: Support above target triplets
25420         * configure: Regenerated
25421
25422 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
25423
25424         * fixinc/server.c (server_setup): Do not prefix function used as
25425         parameter with `&'.
25426
25427 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
25428
25429         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
25430         Remove fp reg alternatives.
25431
25432 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
25433
25434         * Makefiin (TAROUTOPTS): Kill.
25435         (install-headers-tar): Use "xpf" for tar headerfile extraction
25436         * i370/x-oe (TAROUTOPTS): Delete.
25437         * m68k/x-apollo68 (TAROUTOPTS): Delete.
25438         * m68k/x-hp320 (TAROUTOPTS): Delete.
25439         * m68k/x-hp320g (TAROUTOPTS): Delete.
25440         * gcc.texi: Update bug reporting text.
25441
25442 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
25443
25444         * reg-stack.c (change_stack) Fixed problem with negative array index.
25445
25446 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
25447
25448         * extend.texi, install.texi: Fix spelling mistakes.
25449
25450         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
25451         (s-attrtab); No longer try to use pre-made insn-attrtab file.
25452         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
25453         PREMADE_ATTRTAB_MD.
25454         * mips/t-ecoff: Likewise.
25455         * mips/t-elf: Likewise.
25456         * mips/t-mips: Likewise.
25457         * mips/t-osfrose: Likewise.
25458         * mips/t-r3900: Likewise.
25459         * mips/t-svr3: Likewise.
25460         * mips/t-svr4: Likewise.
25461         * mips/t-ultrix: Likewise.
25462
25463         * gcc.texi: Document recommend means to provide software floating
25464         point libraries in libgcc.a
25465
25466 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
25467
25468         * c-lex.c (yylex): We can have a number with no digits.
25469
25470 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
25471
25472         * jump.c (delete_prior_computation): New function, broken
25473         out of delete_computation.  Check for side effects with
25474         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
25475         multi-word hard registers.
25476         (delete_computation): Use it.  Check for side effects with
25477         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
25478         missing REG_DEAD note for a register which is both set and
25479         used by an insn.
25480
25481 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
25482
25483         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
25484         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
25485         (ASM_FILE_START): Import _mcount with the right type.
25486         (ASM_DECLARE_FUNCTION_NAME): Define.
25487         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
25488         * pa.c (output_function_prologue): Always emit the function's label
25489         here.
25490         * pa.h (TEXT_SPACE_P): Define.
25491         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
25492         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
25493         * som.h (TEXT_SPACE_P): Delete.
25494         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
25495         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
25496
25497 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
25498
25499         * expr.c (emit_group_load): Allow src to be a CONCAT.
25500
25501 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25502
25503         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
25504         (___mulsi3): Use '!' comment character.
25505
25506 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25507
25508         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
25509
25510 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
25511
25512         * gcc.c: Update URLs and mail addresses.
25513         * gcc.texi: Likewise.
25514
25515 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
25516
25517         * rs6000.c (current_file_function_operand): Return zero for
25518         weak functions.
25519         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
25520         weak symbols.
25521         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
25522         for weak symbols.
25523
25524 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
25525
25526         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
25527         allocate space in the stack frame for the PIC register.
25528
25529 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
25530
25531         * m68k.md (xordi3, anddi3): These patterns are not available on
25532         the coldfire.
25533
25534 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
25535
25536         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
25537         (PUT_REAL): Likewise.
25538
25539 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25540
25541         * final.c (shorten_branches): Don't add an alignment for loops
25542         that have no label inside.
25543
25544 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25545
25546         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
25547         prototypes in macro HAVE_cmpstrsi.
25548
25549         * cpplib.c (cpp_get_token): Remove unused label `op3'.
25550
25551         * emit-rtl.c (operand_subword): Remove unused variable
25552         `bits_per_word'.
25553
25554         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
25555
25556         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
25557
25558 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
25559
25560         * cpphash.c (macroexpand): Delete leading whitespace when arg
25561         is concatenated before.
25562         (unsafe_chars): Correct test for whether + and - can extend a
25563         token.
25564
25565         * cppinit.c (cpp_start_read): Do dependencies for
25566         -include/-imacros files also.
25567
25568         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
25569         tokenizing non-directive lines.
25570         (cpp_expand_to_buffer): Temporarily disable no-output mode.
25571         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
25572         the input file.
25573
25574 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
25575
25576         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
25577
25578         * c-lex.c: Sync with C++ frontend.
25579         (linemode): New variable.
25580         (parse_float): imag, conversion_errno, and type are output only.
25581         (yylex): Adjust.  Move initial '.' case into main switch.
25582         Use linemode.
25583         (handle_generic_pragma): Just deal with tokens.
25584         (readescape): Use ISXDIGIT and ISGRAPH.
25585         * c-parse.in: Add END_OF_LINE token.
25586
25587         * c-lex.c (lang_init): Generalize.
25588         (nextchar): Remove.  Replace uses with UNGETC.
25589         (skip_white_space): Handle linemode here.  Optimize for cpplib.
25590         (skip_white_space_on_line): Remove.
25591         (extend_token_buffer_to): New fn.
25592         (extend_token_buffer): Use it.
25593         (read_line_number, check_newline): Just deal with tokens.
25594         (token_getch, token_put_back): New fns.
25595         (yylex): Use them.  More cpplib optimizations.  Simplify.
25596
25597 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
25598                           Jason Merrill  <jason@yorick.cygnus.com>
25599
25600         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
25601         (consume_string): Make this smart about USE_CPPLIB.
25602         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
25603         (yylex): Rewrite to be intelligent about USE_CPPLIB.
25604         Also, clean up cases where we redundantly set token_buffer[0].
25605         (read_line_number): New fn.
25606         (ignore_escape_flag): New variable.
25607
25608 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
25609
25610         * a29k/t-a29kbare: Fix some comments.
25611         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
25612         (FPBIT, DPBIT): Define.
25613         * a29k/t-vx29k: Likewise.
25614         * arc/t-arc: Likewise.
25615         * arm/t-arm-elf: Likewise.
25616         * arm/t-bare: Likewise.
25617         * arm/t-pe: Likewise.
25618         * arm/t-pe-thumb: Likewise.
25619         * arm/t-semi: Likewise.
25620         * arm/t-thumb: Likewise.
25621         * arm/t-thumb-elf: Likewise.
25622         * arm/t-thumb-linux: Likewise.
25623         * h8300/t-h8300: Likewise.
25624         * i960/t-i960: Likewise.
25625         * i960/t-vxworks960: Likewise.
25626         * m32r/t-m32r: Likewise.
25627         * mips/t-ecoff: Likewise.
25628         * mips/t-elf: Likewise.
25629         * mips/t-r3900: Likewise.
25630         * pa/t-pro: Likewise.
25631         * rs6000/t-aix43: Likewise.
25632         * rs6000/t-beos: Likewise.
25633         * rs6000/t-newas: Likewise.
25634         * rs6000/t-ppccomm: Likewise.
25635         * rs6000/t-rs6000: Likewise.
25636         * rs6000/t-winnt: Likewise.
25637         * rs6000/t-xnewas: Likewise.
25638         * rs6000/t-xrs6000: Likewise.
25639         * sh/t-sh: Likewise.
25640         * sparc/t-elf: Likewise.
25641         * sparc/t-sparcbare: Likewise.
25642         * sparc/t-sparclite: Likewise.
25643         * sparc/t-splet: Likewise.
25644         * v850/t-v850: Likewise.
25645         * mn10200/t-mn10200: Fix comments.
25646         * mn10300/t-mn10300: Likewise.
25647
25648         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
25649         dummy operand.  Allocate a new pseudo for the dummy operand.
25650         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
25651
25652         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
25653
25654 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
25655
25656         * configure: Rebuilt.
25657         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
25658
25659 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
25660
25661         * recog.c (preproces_constraints): Zero recog_op_alt before
25662         processing the constraints.
25663
25664         * arm.c (typedef minipool_node): Renamed from pool_node.
25665         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
25666         (add_minipool_constant): New function.
25667         (dump_minipool): New function.
25668         (find_barrier): Remove special case for getting the insn size of
25669         an insn that references the constant pool.
25670         (minipool_fixup): New structure.
25671         (push_minipool_barrier): New function.
25672         (push_minipool_fix): New function.
25673         (note_invalid_constants): New function.
25674         (add_pool_constant, dump_table, fixit, broken_move): Delete.
25675         (arm_reorg): Rewrite code to fix up the constant pool into a
25676         series of mini-pools embedded in the insn stream.
25677         (arm_output_epilogue): New function, made mainly from the body
25678         of output_func_epilogue.
25679         (output_func_epilogue): Move insn generation part of epilogue code
25680         to arm_output_epilogue.
25681         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
25682         * arm.md (pool_range): New attribute.
25683         (zero_extendqidi2): Add attribute pool_range.
25684         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
25685         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
25686         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
25687         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
25688         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
25689         (epilogue): New expand.
25690         (epilogue_insn): New insn.  Call arm_output_epilogue.
25691
25692         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
25693         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
25694
25695 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
25696
25697         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
25698
25699 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
25700
25701         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
25702
25703 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
25704
25705         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
25706
25707 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
25708
25709         * global.c: Fix comment.
25710
25711 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
25712
25713         * gcc.c (access_check): New static function.
25714         (find_a_file): Use it when searching a directory list.
25715         * collect2.c (find_a_file): Don't accept directories found when
25716         searching a directory list.
25717
25718 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
25719
25720         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
25721         function parameters with `&'.
25722         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
25723
25724 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
25725
25726         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
25727         or tidy_fallthru_edge if the last insn in the block is not
25728         an unconditional jump or a simple conditional jump.
25729
25730 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25731
25732         * Makefile.in (c-decl.o): Depends on defaults.h.
25733
25734 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
25735
25736         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
25737         PA1.1 and above.
25738         (CLASS_MAX_NREGS): Likewise.
25739
25740 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
25741
25742         * cse.c (cse_insn): Fix dumb thinko in last change.
25743
25744 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25745
25746         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
25747         "const char *".
25748
25749 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
25750
25751         * dwarf2out.c (add_location_or_const_value_attribute): Correct
25752         test for sizes of passed and declared parameter types.
25753
25754 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25755
25756         * fixincludes: Fix the return type of bsearch, char* -> void*.
25757
25758         * fixinc/inclhack.def: Likewise.
25759
25760 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
25761
25762         * invoke.texi (-fdump-translation-unit): New option.
25763
25764 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
25765
25766         * expr.h (PROMOTE_PROTOTYPES): Move ...
25767         * defaults.h: ... to here.
25768         * c-decl.c: Include defaults.h instead of expr.h.
25769         * c-typeck.c: Include defaults.h.
25770
25771 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
25772
25773         * toplev.h (errorcount): Declare.
25774         (warningcount): Likewise.
25775         (sorrycount): Likewise.
25776         * c-lex.c (errorcount): Don't declare.
25777         * dwarf2out.c (errorcount): Don't declare.
25778
25779 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
25780
25781         * config/libgloss.h: Add a note discouraging use with ELF.
25782         * configure.in: Don't use libgloss.h for ELF targets.
25783         Always use_collect2 on a.out targets.
25784
25785 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
25786
25787         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
25788         (force_to_mode, case ASHIFTRT): Add shiftrt label.
25789
25790 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25791
25792         * loop.c (strength_reduce): When doing biv->giv conversion, update
25793         reg note of NEXT->insn.
25794
25795 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25796
25797         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
25798
25799 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25800
25801         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
25802         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
25803         Ensure expr.h is included.
25804         * c-typecheck.c (convert_arguments): Ditto.
25805
25806         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
25807
25808         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
25809         * config/convex/convex.h: Ditto.
25810         * config/dsp16xx/dsp16xx.h: Ditto.
25811         * config/fx80/fx80.h: Ditto.
25812         * config/gmicro/gmicro.h: Ditto.
25813         * config/i370/i370.h: Ditto.
25814         * config/i386/i386.h: Ditto.
25815         * config/m32r/m32r.h: Ditto.
25816         * config/m68k/m68k.h: Ditto.
25817         * config/m88k/m88k.h: Ditto.
25818         * config/mips/mips.h: Ditto.
25819         * config/pa/pa.h: Ditto.
25820         * config/pyr/pyr.h: Ditto.
25821         * config/tahoe/tahoe.h: Ditto.
25822         * config/we32k/we32k.h: Ditto.
25823
25824         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
25825         based on arch size.
25826
25827         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
25828
25829         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
25830         from comment.
25831
25832         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
25833
25834 1999-08-02  Richard Henderson  <rth@cygnus.com>
25835
25836         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
25837         for the register spill block.
25838         (m32r_va_arg): New.
25839         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
25840         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
25841
25842         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
25843         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
25844         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
25845
25846 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25847
25848         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
25849         MAX_WCHAR_TYPE defined in sparc.h.
25850         * config/sparc/linuxaout.h: Likewise.
25851         * config/sparc/linux64.h: Likewise.
25852         Also default to -mvis if CPU is UltraSPARC.
25853
25854 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25855
25856         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
25857         (RTX_OK_FOR_OLO10): Likewise.
25858         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
25859         %lo(), allow it in addresses...
25860         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
25861         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
25862         does not make sense.
25863         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
25864         (sparc_output_scratch_registers): New function.
25865         (output_function_prologue, sparc_flat_output_function_prologue): Use
25866         it.
25867         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
25868         defined.
25869         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
25870         * configure.in: Add check for .register pseudo-op support in as and
25871         check for offsetable %lo().
25872         * acconfig.h: Add templates for the above checks.
25873         * configure: Regenerate.
25874
25875 1999-08-02  Richard Henderson  <rth@cygnus.com>
25876
25877         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
25878         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
25879         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
25880
25881 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25882
25883         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25884         reg_biv_class.
25885
25886 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25887
25888         * config/float-sparc.h: New file.
25889         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
25890         sparc-*-linux-gnu and sparc64-*-linux*.
25891
25892 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25893
25894         * rs6000.c (rs6000_va_list): Type is an array.
25895         (rs6000_va_start): Don't doubly adjust for varargs.
25896         (rs6000_va_arg): Evaluate long long GPR adjustment.
25897
25898 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
25899
25900         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
25901         -maix64 and -maix32.
25902         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
25903         LINK_SPEC): Change appropriately.
25904         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
25905         (u_short_cint_operand): Likewise.
25906         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
25907         for 64-bit hosts.
25908         * rs6000/t-aix43 (MULTILIB): Change to -m64.
25909
25910         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
25911
25912 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
25913
25914         * rs6000/rs6000.c (num_insns_constant_wide): Correct
25915         for type promotion.
25916         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
25917         (non_add_cint_operand): Likewise.
25918         (logical_operand): Likewise.
25919         (non_logical_cint_operand): Likewise.
25920         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
25921         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
25922         (rs6000_select_rtx_section): Suppress warning.
25923         (small_data_operand): Suppress warning.
25924         (rs6000_got_register): Suppress warning.
25925         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
25926         type, so `J' is generally the wrong constraint for a SImode value;
25927         use `L' instead.
25928         (andsi3_internal2): Likewise.
25929         (andsi3_internal3): Likewise.
25930         (iorsi3_internal1): Likewise.
25931         (xorsi3_internal1): Likewise.
25932         (movsi): Likewise.
25933         (movsf_softfloat): Likewise.
25934         (scc insns): Likewise.
25935         (movsi+2): Preserve sign bits of SImode constant.
25936         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
25937         (movdf+1): Sign-extend properly.
25938         (movdi_32+1): Sign-extend properly.
25939         (scc insns): Sign-extend properly.
25940
25941         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
25942         K, L, and T.
25943
25944 1999-08-02  Richard Henderson  <rth@cygnus.com>
25945
25946         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
25947         -mcpu parsing code.
25948         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
25949         * alpha.md (all fp insns): Likewise.
25950
25951 1999-08-02  Nick Clifton  <nickc@cygnus.com>
25952
25953         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
25954         already defined.
25955
25956 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
25957
25958         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
25959         pic_load_label generator directly.
25960         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
25961         No longer a named pattern.
25962
25963 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
25964
25965         * explow.c (force_reg): Call force_operand if X does not
25966         satisfy general_operand.
25967
25968 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
25969
25970         * fix-header.c (main): When testing for CONTINUED, use string
25971         equality, not pointer equality.
25972
25973 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
25974
25975         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
25976
25977 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
25978
25979         * cse.c (cse_insn): Fix loop which deletes insns after a jump
25980         that has become an unconditional jump.
25981
25982         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
25983         (output_function_epilogue): Similarly.
25984
25985 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25986
25987         * tree.h (init_dummy_function_start): Declare.
25988
25989 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25990
25991         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
25992         last_expr_type, last_expr_value, block_start_count, block_stack,
25993         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
25994         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
25995         dynamically in stmt elt of struct function for each function.
25996         (struct nesting): Rename function_call_count elt to n_function_calls,
25997         target_temp_slot_level to block_target_temp_slot_level.  All users
25998         changed.
25999         (struct stmt_status): New structure definition.
26000         Add many accessor macros for stmt_status elements which previously
26001         were global variables.
26002         (init_stmt_for_function): Allocate stmt elt for current_function.
26003         Reflect that block_start_count was renamed to
26004         current_block_start_count.
26005         (save_stmt_status, restore_stmt_status): Delete functions.
26006         (preserve_subexpressions_p): Don't access loop_stack when outside
26007         a function.
26008         (expand_start_bindings): Reflect that block_start_count was renamed to
26009         current_block_start_count.
26010         (expand_fixup): Likewise.
26011         (expand_decl): Don't access block_stack when outside a function.
26012         (expand_decl_cleanup): Likewise.
26013         (expand_dcc_cleanup): Likewise.
26014         (expand_dhc_cleanup): Likewise.
26015         (expand_anon_union_decl): Likewise.
26016         (set_file_and_line_for_stmt): New function.
26017         (in_control_zone_p): New function.
26018
26019         * function.h (struct function): Add new elt stmt.
26020         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
26021         case_stack, nesting_stack, nesting_depth, block_start_count,
26022         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
26023         emit_lineno, goto_fixup_chain.
26024         (save_eh_status, restore_eh_status, save_stmt_status,
26025         restore_stmt_status): Delete declarations.
26026         * function.c (push_function_context_to): Don't call save_stmt_status.
26027         (pop_function_context_to): Don't call restore_stmt_status.
26028         * tree.h (in_control_zone_p): Declare.
26029         * rtl.h (set_file_and_line_for_stmt): Declare.
26030
26031         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
26032         call set_file_and_line_for_stmt.
26033
26034 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
26035
26036         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
26037         Also update copyright.
26038
26039 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26040
26041         * c-pragma.c: Don't include "except.h".
26042         * emit-rtl.c: Likewise.
26043         * stor-layout.c: Likewise.
26044         * tree.c: Likewise.
26045         * varasm.c: Likewise.
26046
26047         * flow.c: Include "function.h".
26048         * tree.h (init_dummy_function_start): Declare new function.
26049
26050         * except.h (struct eh_status): New structure.
26051         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
26052         been included.
26053         (eh_return_stub_label, ehstack, catchstack, ehqueue,
26054         catch_clauses, false_label_stack, caught_return_label_stack,
26055         protect_list, current_function_ehc): Add accessor macros for the
26056         corresponding fields in current_function->eh; delete declarations
26057         for all items that used to be declared here.
26058         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
26059         catch_clauses, false_label_stack, caught_return_label_stack,
26060         protect_list, current_function_ehc): Delete variables.
26061         (init_eh_for_function): Allocate current_function->eh.
26062         (save_eh_status, restore_eh_status): Delete functions.
26063
26064         * function.h (struct function): Add fields next_global and eh.
26065         Delete all exception handling related fields.
26066         * function.c (current_function): New variable.
26067         (all_functions): New variable.
26068         (push_function_context_to): Don't allocate a struct function,
26069         use current_function instead.  Call init_dummy_function_start when
26070         outside a function.  Clear current_function before returning.
26071         (pop_function_context_from): Restore current_function.
26072         Don't free the restored struct function.
26073         (prepare_function_start): New function.
26074         (init_dummy_function_start): New function.
26075         (init_function_start): Break out some code into prepare_function_start
26076         and call it here.
26077
26078         * stmt.c (save_stmt_status): Don't call save_eh_status.
26079         (restore_stmt_status): Don't call restore_eh_status.
26080
26081         * Makefile.in: Update dependencies.
26082
26083 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
26084
26085         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
26086         of depending on a magic constant value.  Update comments.
26087         (hppa_expand_prologue): Similarly.
26088
26089         * pa.md (reload_indi, reload_outdi): Allow any register for the
26090         original reload register.
26091
26092 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
26093
26094         * cccp.c (print_help): Change marcos to macros.
26095
26096 1999-07-30  Richard Henderson  <rth@cygnus.com>
26097
26098         * c-typeck.c (initializer_constant_valid_p): Move ...
26099         * c-common.c (initializer_constant_valid_p): ... here.  Use
26100         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
26101         of label addresses.
26102         * c-common.h (initializer_constant_valid_p): Declare.
26103         * c-tree.h (initializer_constant_valid_p): Remove.
26104
26105 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
26106
26107         * config/i386/sol2-c1.asm: Align the stack.
26108         * config/i386/sol2-gc1.asm: Likewise.
26109
26110 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
26111
26112         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
26113         -Asparclite for sparc86x.
26114         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
26115         sparc86x.
26116         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
26117
26118 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
26119
26120         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
26121         the user if using the non-default arch size in BI_ARCH configuration.
26122         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
26123
26124         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
26125         Fix patterns so that they actually match.
26126         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
26127         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
26128         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
26129         TARGET_HARD_MUL32.
26130         (mulsidi3): Reflect this in the expand.
26131         (smulsi3_highpart): Only on TARGET_ARCH32.
26132         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
26133         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
26134         (umulsidi3): Reflect this in the expand.
26135         (umulsi3_highpart): Only on TARGET_ARCH32.
26136         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
26137         don't require g0 to be zero.
26138         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
26139         ({,u}divsi3): New expands.
26140         ({,u}divsi3_sp64): New patterns.
26141         (after lshrdi3_v8plus): Four new patterns to help combiner
26142         optimizing nested mixed mode shifts.
26143
26144         * config/sparc/sparc.c (sparc_override_options): Use deprecated
26145         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
26146         speed things up. Don't use them by default on plain v9 in 64bit
26147         mode, according to what SPAMv9 sais.
26148
26149         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
26150         top 32 bits of %[og][0-7] in signal handlers.
26151         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
26152
26153 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
26154
26155         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
26156         (ashlsi3): Corresponding changes.
26157
26158         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
26159
26160 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
26161
26162         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
26163
26164 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26165
26166         * arm.h (Hint): Delete macro.
26167         Substitute HOST_WIDE_INT for Hint in some prototypes.
26168         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
26169
26170 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
26171
26172         * builtins.c (expand_builtin_setjmp): Use force_operand to
26173         make sure that the buffer address is in a suitable form to be
26174         passed to force_reg.
26175
26176 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
26177
26178         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
26179         them here.
26180
26181 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
26182
26183         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
26184         proper mode in the condition string.
26185         (icacheflush, dcacheflush): Remove modes from match_operands.
26186
26187         * pa.c (emit_move_sequence): Always convert scratch_reg to the
26188         proper mode before using it.
26189
26190         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
26191         pair.
26192
26193         * pa.c (store_reg): Do not call add_high_const generator directly.
26194         (load_reg, set_reg_plus_d): Likewise.
26195         * pa.md (add_high_const): No longer a named pattern.
26196
26197         * pa.c (legitimize_address): Consistently use Pmode rather than
26198         SImode.  Do not call gen_pic2_highpart directly anymore.
26199         * pa.md (pic2_highpart): No longer a named pattern.
26200         (pic2_lo_sum): Similarly.  Reformat to make more readable.
26201
26202         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
26203         needed.
26204
26205         * README: Update.
26206
26207 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26208
26209         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
26210
26211 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
26212
26213         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
26214         and tag the spill mems.
26215         (hppa_va_start): New.
26216         (hppa_va_arg): New.
26217         * pa.h (EXPAND_BUILTIN_VA_START): New.
26218         (EXPAND_BUILTIN_VA_ARG): New.
26219
26220 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
26221
26222         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
26223         and tag the spill mems.
26224         (mn10300_va_start): New.
26225         (mn10300_va_arg): New.
26226         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
26227         (EXPAND_BUILTIN_VA_ARG): New.
26228
26229 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
26230
26231         * mn10200.c (mn10200_va_arg): New.
26232         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
26233
26234 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
26235
26236         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
26237         rather than play with TREE_INT_CST_LOW.
26238
26239 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
26240
26241         * config/arm/telf.h: Include dbxelf.h.
26242         (CPP_PREDEFINES): Only define if not already defined.
26243         (ASM_IDENTIFY_GCC): Likewise.
26244         (SUBTARGET_EXTRA_SECTIONS): Likewise.
26245         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
26246         * config/arm/thumb.h (LINK_SPEC): Only define if not already
26247         defined.
26248         (DBX_DEBUGGING_INFO): Don't define.
26249         * config/arm/linux-telf.h: New file.
26250         * config/arm/linux-tgas.h: New file.
26251         * config/arm/t-thumb-linux: New file.
26252         * config/arm/uclinux-elf.h: New file.
26253         * config/arm/uclinux-telf.h: New file.
26254         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
26255         thumb-*-uclinux): New targets.
26256         * configure: Regenerate.
26257
26258 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
26259
26260         * pa.md (post_store, pre_load): New expanders.
26261         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
26262         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
26263         need to directly generate RTL for them.
26264         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
26265         changes.
26266
26267 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
26268
26269         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
26270         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
26271         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
26272         (secndary_reload_class): Make TARGET_ELF conditional compile.
26273         (print_operand_address): Similar.
26274         (output_toc): Print all values as hex.
26275         (get_issue_rate): Rearrange and add RS64A and PPC630.
26276         * rs6000.h (processor_type): Add RS64A and PPC630.
26277         (PROCESSOR_POWERPC64): New.
26278         (PROMOTE_MODE): Use word_mode.
26279         (RTX_COSTS): Add RS64A and PPC630.
26280         * rs6000.md (scheduling information): Add lmul and ldiv
26281         representing 64-bit integer multiply and divide.  Add rs64a and
26282         PPC630 information.
26283         (ashldi3): Add support for "rldic" instruction.
26284         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
26285
26286 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
26287
26288         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
26289         instead of V8 for sparclite86x in cpu_table.
26290
26291 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26292
26293         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
26294         output_file_directive.
26295
26296 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
26297
26298         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
26299         tree for op1, not the rtl.
26300
26301 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
26302
26303         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
26304         to m88k_va_start, leaving only the register spill.
26305         (m88k_build_va_list): New.
26306         (m88k_va_start): New.
26307         (m88k_va_arg): New.
26308         * m88k.h (BUILD_VA_LIST_TYPE): New.
26309         (EXPAND_BUILTIN_VA_START): New.
26310         (EXPAND_BUILTIN_VA_ARG): New.
26311
26312 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
26313
26314         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
26315         Rename from expand_builtin_saveregs.
26316         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
26317
26318 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
26319
26320         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
26321         for the register spill block.
26322         (i960_build_va_list): New.
26323         (i960_va_start): New.
26324         (i960_va_arg): New.
26325         * i960.h (BUILD_VA_LIST_TYPE): New.
26326         (EXPAND_BUILTIN_VA_START): New.
26327         (EXPAND_BUILTIN_VA_ARG): New.
26328         * i960.md (store_multiple): Use change_address on individul mems.
26329
26330 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
26331
26332         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
26333         an ARRAY_TYPE.
26334         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
26335         (expand_builtin_va_end): Evaluate arg for side effects.
26336         * c-common.c (c_common_nodes_and_builtins): Construct a
26337         va_list_arg_type_node to handle array decomposition to pointer.
26338
26339 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
26340
26341         * except.c (st_dynamic_cleanup): Use force_operand on the
26342         buffer's address.
26343
26344 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
26345
26346         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
26347         * c4x.c (c4x_va_arg): New.
26348
26349 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
26350
26351         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
26352         has manual_pop set.
26353
26354 1999-07-26  Nathan Sidwell  <nathan@acm.org>
26355
26356         * eh-common.h (__eh_matcher): Prototype correctly.
26357
26358 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
26359
26360         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
26361         (TARGET_SINGLE_PIC_BASE): Likewise.
26362         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
26363         definitions.
26364         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
26365         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
26366         (TARGET_OPTIONS): Add -mpic-register=N.
26367         (OUTPUT_INT_ADDR_CONST): New macro.
26368         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
26369         LEGITIMATE_PIC_OPERAND_P): Likewise.
26370         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
26371         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
26372         output_addr_const directly.
26373         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
26374         ARM port.
26375         (thumb_pic_register, thumb_pic_register_string): Declare.
26376
26377         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
26378         from arm.c.
26379         (label_mentioned_p): New function: Imported from arm.c.
26380         (legitimize_pic_address): New function: Imported from arm.c.
26381         (is_pic):New function: Imported from arm.c.
26382         (thumb_finalize_pic):New function: Imported from arm.c.
26383         (add_constant): Cope with PIC constants.
26384         (fixit): Cope with PIC constants.
26385         (output_return): Do not treat the PIC register as live if
26386         TARGET_SINGLE_PIC_BASE is true.
26387         (thumb_function_prologue): Do not treat the PIC register as live if
26388         TARGET_SINGLE_PIC_BASE is true.
26389         (thumb_expand_prologue): Do not treat the PIC register as live if
26390         TARGET_SINGLE_PIC_BASE is true.
26391         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
26392         TARGET_SINGLE_PIC_BASE is true.
26393         (thumb_print_operand): Accept '|'.
26394         (thumb_override_options): Process PIC options.
26395
26396         * config/arm/thumb.md (movsi): Support PIC.
26397         (call_insn): Change "i" constraint to "X".
26398         (call_value_insn): Likewise.
26399         (consttable_4, consttable_8, consttable_end): Set and clear
26400         "making_const_table" as appropriate.
26401         (pic_load_addr, pic_add_dot_plus_four): New insns.
26402
26403         * invoke.texi (Thumb Options): Fix spelling.  Document new
26404         options -msingle-pic-base and -mpic-register=.
26405
26406 1999-07-26  Andrew Haley  <aph@cygnus.com>
26407
26408         * config/m32r/initfini.c (__init): Use a full word immediate for
26409         __fini: this allows it to be placed in any memory region.
26410
26411         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
26412         -mmodel=medium.  This is OK for all memory models.
26413
26414 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
26415
26416         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
26417         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
26418
26419 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
26420
26421         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
26422         defined.
26423
26424         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
26425
26426 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
26427
26428         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
26429         (BUILD_VA_LIST_TYPE): New.
26430         (EXPAND_BUILTIN_VA_START): New.
26431         (EXPAND_BUILTIN_VA_ARG): New.
26432         * i860.c (output_delayed_branch): Disable.
26433         (output_delay_insn): Likewise.
26434         (i860_saveregs): New.
26435         (i860_build_va_list): New.
26436         (i860_va_start): New.
26437         (i860_va_arg): New.
26438         * i860.md: Disable all peepholes using output_delayed_branch.
26439         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
26440
26441 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
26442
26443         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
26444         (BUILD_VA_LIST_TYPE): New.
26445         (EXPAND_BUILTIN_VA_START): New.
26446         (EXPAND_BUILTIN_VA_ARG): New.
26447         * clipper.c (clipper_builtin_saveregs): Only dump registers.
26448         Return the address of the save area.
26449         (clipper_build_va_list): New.
26450         (clipper_va_start): New.
26451         (clipper_va_arg): New.
26452
26453 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
26454
26455         * arc.h (EXPAND_BUILTIN_VA_START): New.
26456         (EXPAND_BUILTIN_VA_ARG): New.
26457         * arc.c (arc_setup_incoming_varargs): Set alias set of
26458         varargs save area.
26459         (arc_va_start): New.
26460         (arc_va_arg): New.
26461
26462 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
26463
26464         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
26465         (BUILD_VA_LIST_TYPE): New.
26466         (EXPAND_BUILTIN_VA_START): New.
26467         (EXPAND_BUILTIN_VA_ARG): New.
26468         * alpha.c (alpha_builtin_saveregs): Delete.
26469         (alpha_build_va_list): New.
26470         (alpha_va_start): New.
26471         (alpha_va_arg): New.
26472
26473 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
26474
26475         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
26476         column zero.
26477         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
26478         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
26479
26480         * gcc.texi: More changes related to list conversion.
26481         * invoke.texi: Likewise.
26482
26483 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
26484
26485         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
26486         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
26487         (expand_builtin_next_arg): Accept ARGLIST not EXP.
26488         (stabilize_va_list): New function.
26489         (std_expand_builtin_va_start): New function.
26490         (expand_builtin_va_start): New function.
26491         (get_varargs_alias_set): New function.
26492         (std_expand_builtin_va_arg): New function.
26493         (expand_builtin_va_arg): New function.
26494         (expand_builtin_va_end): New function.
26495         (expand_builtin_va_copy): New function.
26496         (expand_builtin): Call them.
26497         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
26498         __builtin_{varargs_start,stdarg_start,end,copy}.
26499         (build_va_arg): New function.
26500         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
26501         (build_va_arg): Declare.
26502         * c-decl.c (ptr_type_node, va_list_type_node): New.
26503         * c-parse.gperf (__builtin_va_arg): New.
26504         * c-parse.in (VA_ARG): New token.
26505         (unary_expr): Recognize it.
26506         * expr.c (expand_expr): Expand VA_ARG_EXPR.
26507         * expr.h (std_expand_builtin_va_start): Declare.
26508         (std_expand_builtin_va_arg): Declare.
26509         (expand_builtin_va_arg): Declare.
26510         (get_varargs_alias_set): Declare.
26511         * tree.def (VA_ARG_EXPR): New.
26512         * tree.h (BUILT_IN_VARARGS_START): New.
26513         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
26514         (ptr_type_node, va_list_type_node): Declare.
26515         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
26516         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
26517         * m88k.h, m88k.c: Likewise.
26518         * mn10300.h, mn10300.c: Likewise.
26519         * pa.h, pa.c: Likewise.
26520         * rs6000.h, rs6000.c: Likewise.
26521         * sh.h, sh.c: Likewise.
26522         * sparc.h, sparc.c: Likewise.
26523
26524         * emit-rtl.c (operand_subword): Copy alias set.
26525         (change_address): Likewise.
26526
26527 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
26528
26529         * pa.c (compute_frame_size): Scan all the used callee saved registers,
26530         not just the first one.
26531
26532 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
26533
26534         * config/arm/arm.h (TARGET_SWITCHES): Add
26535         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
26536         (TARGET_OPTIONS): Add -mpic-register=.
26537         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
26538         (arm_pic_register_string): Declare.
26539         (NEED_PLT_GOT): Delete, replace with ...
26540         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
26541         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
26542         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
26543         * config/arm/arm.c (arm_override_options): Add new option
26544         -mpic-register=N.
26545         (arm_pic_register_string): New variable.
26546         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
26547         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
26548         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
26549         (output_return_instruction): Likewise.
26550         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
26551         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
26552         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
26553
26554         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
26555         mention of -msched-prolog.  Document new options -msingle-pic-base
26556         and -mpic-register=.
26557
26558 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
26559
26560         * haifa-sched.c (reemit_notes): Tidy.
26561         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
26562         haifa's routine.
26563
26564 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
26565
26566         * explow.c (trunc_int_for_mode): New function.
26567         (plus_constant_wide): Use it.
26568         * combine.c (simplify_and_const_int): Likewise.
26569         (merge_outer_ops): Likewise.
26570         (simplify_shift_const): Likewise.
26571         * cse.c (simplify_unary_operation): Likewise.
26572         (simplify_binary_operation): Likewise.
26573         * emit-rtl.c (operand_subword): Likewise.
26574         * rtl.h: Declare it.
26575
26576 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26577
26578         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
26579         (use NUM_REGS instead of NUM_INTS).
26580
26581 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26582
26583         * builtins.c: New file.
26584         * expr.c (saveregs_value, apply_args_value):  Delete definition,
26585         moved into builtins.c.
26586         (string_constant): No longer static.
26587         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
26588         apply_args_size, apply_result_size, result_vector,
26589         expand_builtin_apply_args, expand_builtin_apply,
26590         expand_builtin_return): Delete functions, moved into builtins.c.
26591         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
26592         * expr.h (saveregs_value, apply_args_value): Declare variables.
26593         (expand_builtin, string_constant): Declare functions.
26594         * Makefile.in: Update to build builtin.o.
26595
26596 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
26597
26598         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
26599         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
26600         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
26601         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
26602         false.
26603         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
26604         Define to zero.
26605
26606 1999-07-21  Michael Meissner  <meissner@cygnus.com>
26607
26608         * print-rtl.c (print_rtx): Print the names of the virtual
26609         registers.
26610
26611 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
26612
26613         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
26614         introduced in previous delta.
26615
26616 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26617
26618         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
26619         to avoid name clash.
26620
26621 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26622
26623         * c-lex.c (yylex) : Correct the test for overflow when lexing
26624         integer literals.
26625
26626 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
26627
26628         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
26629         (adjust_priority): Always call ADJUST_PRIORITY.
26630         (schedule_insn): Only put insns into the ready at cost 0.
26631         (schedule_block): Remove redundant initial sort.  Give clock_var
26632         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
26633         is not 0.
26634         * tm.texi (MD_SCHED_REORDER): Update docs.
26635
26636         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
26637         * sparc.c (ultra_reorder_called_this_block): Delete.
26638         (ultrasparc_sched_init): Don't set it.
26639         (ultrasparc_sched_reorder): Don't check it.
26640
26641 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
26642
26643         * rs6000.h (struct rs6000_args): Add sysv_gregno.
26644         * rs6000.c (init_cumulative_args): Init sysv_gregno.
26645         (function_arg_boundary): Align DFmode.
26646         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
26647         to get fp reg and stack overflow correct.
26648         (function_arg): Likewise.
26649         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
26650         (setup_incoming_varargs): Restructure for ABI_V4; use
26651         function_arg_advance to skip final named argument.
26652         (expand_builtin_saveregs): Properly unskip the last integer arg
26653         when doing varargs.  Adjust overflow location calculation.
26654
26655         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
26656         explicitly unsigned.
26657         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
26658         (__VA_GP_REGSAVE): Similarly.
26659         (__va_longlong_p): Delete.
26660         (__va_arg_type_violation): New declaration.
26661         (va_arg): Restructure.  Flag promotion errors.  Align double.
26662         TFmode passed by reference.
26663
26664         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
26665         in the HOST_BITS_PER_WIDE_INT > 32 case.
26666
26667 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
26668
26669         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
26670
26671 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
26672
26673         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
26674         * toplev.c (documented_lang_options): Add -fpreprocessed.
26675         * cpplib.h (struct cpp_buffer): Add preprocessed.
26676         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
26677         (cpp_start_read): Don't expand macros or emit an initial #line
26678         directive if -fpreprocessed.
26679
26680 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
26681
26682         * cpplib.h (struct cpp_buffer): Added manual_pop for
26683         better C++ tokenization.
26684         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
26685         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
26686         * c-common.c (cpp_token): Make non-static.
26687
26688 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26689
26690         * c-common.h: New file.
26691         * c-common.c (permanent_obstack): Delete unused declaration.
26692         (c_global_trees): New array.
26693         (c_common_nodes_and_builtins): New function; split off common code
26694         from init_decl_processing in both c-decl.c and cp/decl.c.
26695         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
26696         c_global_trees and accessor macros defined in c-common.h.
26697         Include c-common.h.
26698         * c-decl.c: Delete definitions for tree nodes that were replaced by
26699         c_global_trees.
26700         (init_decl_processing): Build void_list_node.
26701         Call c_common_nodes_and_builtins; delete code to generate the common
26702         builtins here.
26703         * objc/objc-act.c (build_module_descriptor): Rename variable
26704         void_list_node to avoid clash with c-common.h.
26705
26706         * Makefile.in: Update dependencies.
26707         * objc/Make-lang.in: Likewise.
26708
26709 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
26710
26711         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
26712         (UNIQUE_SECTION_P): Likewise.
26713         (UNIQUE_SECTION): Likewise.
26714
26715 1999-07-19  Linas Vepstas  <linas@linas.org>
26716
26717         * config/i370/README: New file.
26718         * config/i370/linux.h: New file.
26719         * config/i370/mvs.h: New file.
26720         * config/i370/oe.h: New file.
26721         * config/i370/t-linux: New file.
26722         * config/i370/t-mvs: New file.
26723         * config/i370/t-oe: New file.
26724         * config/i370/x-oe: New file.
26725         * config/i370/xm-linux.h: New file.
26726         * config/i370/xm-mvs.h: New file.
26727         * config/i370/xm-oe.h: New file.
26728
26729         * i370.c (label_node_t): Add first_ref_page, label_addr,
26730         label_first_ref, label_last_ref members.
26731         (mvs_need_base_reload): Renamed from mvs_label_emitted.
26732         (MAX_MVS_LABEL_SIZE): Define.
26733         (MAX_LONG_LABEL_SIZE): Define.
26734         (alias_node_t, alias_anchor, alias_number): New.
26735         (mvs_function_table): Reorder for EBCDIC.
26736         (ascebc, ebcasc): Unconditionally define.
26737         (i370_branch_dest, i370_branch_length): New functions.
26738         (i370_short_branch, i370_label_scan): New functions.
26739         (mvs_get_label): Renamed from mvs_add_label.  Search for
26740         an existing label before creating a new one.
26741         (mvs_add_label): New function.
26742         (mvs_get_label_page): New function.
26743         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
26744         over the entire list.
26745         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
26746         (mvs_check_page) [TARGET_ELF_ABI]: New function.
26747         (mvs_add_alias, mvs_need_alias): New functions.
26748         (mvs_get_alias, mvs_check_alias): New functions.
26749         (handle_pragma): New function.
26750         (mvs_function_check): New function.
26751         (unsigned_jump_follows_p): Search harder.
26752         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
26753         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
26754         * i370.h (TARGET_VERSION): Delete.
26755         (CPP_SPEC, CPP_PREDEFINES): Delete.
26756         (mvs_label_emitted): Delete.
26757         (TARGET_EBCDIC): Delete.
26758         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
26759         (HANDLE_PRAGMA): Define.
26760         (HARD_REGNO_NREGS): Handle complex modes.
26761         (HARD_REGNO_MODE_OK): Likewise.
26762         (CLASS_MAX_NREGS): Likewise.
26763         (RET_REG): Likewise.
26764         (EXTRA_CONSTRAINT): Define.
26765         (RETURN_IN_MEMORY): True for DImode.
26766         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
26767         (FUNCTION_PROFILER): Delete.
26768         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
26769         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
26770         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
26771         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
26772         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
26773         (ASM_FILE_START): Add "RMODE ANY".
26774         (ASM_OUTPUT_EXTERNAL): Check for aliases.
26775         (ASM_GLOBALIZE_LABEL): Likewise.
26776         (ASM_OUTPUT_LABELREF): Likewise.
26777         (ASM_OUTPUT_COMMON): Likewise.
26778         (PRINT_OPERAND): Handle 'K', 'W', default.
26779         (PRINT_OPERAND_ADDRESS): New.
26780         (Lots of defines): Add support for TARGET_ELF_ABI.
26781         * i370.md (attr length): New.  Define for all patterns.
26782         (*): Lots of tweeks to assembly output and constraints.
26783
26784 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
26785
26786         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
26787         Disable patterns performing SImode comparisons with SImode values
26788         if TARGET_POWERPC64 and instruction does not sign-extend or does
26789         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
26790         differ for signed quantities.
26791         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
26792         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
26793         (decrement_and_branch_on_count): Add 64-bit variant.
26794
26795 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26796
26797         * final.c (output_asm_insn): When searching for the matching string
26798         for a given dialect, don't run past the end of the list of
26799         alternatives if there are fewer alternatives in the template than
26800         dialects.
26801
26802 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
26803
26804         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
26805         Removed paragraph about compression of files and size limitation,
26806         duplicated in the FAQ.  Use gcc-patches for posting patches.
26807         * gcc.c (main): Updated URL with bug reporting instructions to
26808         gcc.gnu.org.  Removed e-mail address.
26809         * system.h (abort): Likewise.
26810
26811 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26812
26813         * Makefile.in (stmp-multilib-sub): Make the files extracted
26814         from $(LIBGCC1) writable.
26815
26816 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
26817
26818         * config/arm/aout.h: Reformat for improved readability.
26819
26820         * config/arm/arm.h: Reformat for improved readability.
26821         Replace uses of fprintf with asm_fprintf where appropriate.
26822         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
26823         function declaration assembler actions.
26824         (NUM_INTS): New macro: Convert from bytes to words.
26825         (NUM_REGS): New macro: Compute number of registers required to
26826         hold a quanitity of tyep MODE.
26827         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
26828         types.
26829         (NUM_ARG_REGS): New macro: The number of argument registers
26830         available.
26831         (ARG_REGISTER): New macro: Compute the register number of the Nth
26832         argument register.
26833         (LAST_ARG_REGNUM): New macro: The number of the last argument
26834         register.
26835         (SP_REGNUM): New macro: Register number of the stack pointer.
26836         (FP_REGNUM): New macro: Register number of the frame pointer.
26837         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
26838         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
26839         CUMULATIVE_ARGS so that it counts registers not bytes.
26840
26841         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
26842         TARGET_INTERWORK.
26843         Replace uses of fprintf with asm_fprintf where appropriate.
26844         (output_ascii_pseudo_op): Replace with version from thumb.c
26845
26846         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
26847
26848         * config/arm/elf.h (CPP_PREDEFINES): Replace with
26849         SUBTARGET_CPP_SPEC.
26850         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
26851         (ASM_FILE_START): Emit ASM_APP_OFF.
26852
26853 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
26854
26855         * pa.c (compute_frame_size): Round frame according to
26856         STACK_BOUNDARY rather than a hardwired value.
26857
26858         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
26859
26860         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
26861         of "1".
26862         * configure: Rebuilt.
26863
26864         * configure.in (hppa*-*-linux*): New configuration.
26865         * configure: Rebuilt.
26866         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
26867         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
26868         * pa/pa-linux.h: New file.
26869         * pa/t-linux: New file.
26870         * pa/xm-linux.h: New file.
26871
26872         * pa.c (hppa_legitimize_address): Change references from SImode to
26873         either Pmode or word_mode as appropriate.
26874         (emit_move_sequence, store_reg, load_reg): Likewise.
26875         (set_reg_plus_d, hppa_expand_prologue): Likewise.
26876         (output_mul_insn): Likewise.
26877         * pa.h (PROMOTE_MODE): Likewise.
26878         (INITIALZE_TRAMPOLINE): Likewise.
26879         (Pmode): Define to word_mode.
26880
26881         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
26882         value of 4.  Allocate 8 bytes for each FP register save.
26883         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
26884         value of 4.
26885         (hppa_expand_prologue): Likewise.
26886         * pa.h (PROMOTE_MODE): Likewise.
26887         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
26888         (FUNCTION_ARG_BOUNDARY): Likewise.
26889
26890         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
26891
26892         * pa.c (out_of_line_prologue_epilogue): Delete.
26893         (override_options): Remove -mspace related code.
26894         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
26895         (compute_frame_size): Only allocate space for register that
26896         actually need to be saved.
26897         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
26898         (TARGET_SWITCHES): Remove -mspace, -mno-space
26899         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
26900         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
26901         * pa/ee.asm, pa/ee_fp.asm: Delete.
26902
26903         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
26904
26905         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
26906         directive in column zero.
26907
26908 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
26909
26910         * m68k.c (output_function_prologue): Fix computation of save mask
26911         when generating PIC code.
26912
26913 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
26914
26915         * tree.c (build_type_attribute_variant): Move current_obstack restore
26916         after build_qualified_type call.
26917
26918 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
26919
26920         * configure.in: Use t-iris6, even with GNU LD.
26921         * config/mips/iris6gld.h: Fix typo in linker spec.
26922         * config/mips/t-iris6gld: Remove.
26923
26924 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
26925
26926         * rs6000.md (insv, extzv): Remove SImode dependence in named
26927         patterns.  Explicitly generate DImode RTL if PowerPC64 and
26928         operand is DImode.
26929         (insvdi): Reverse start and size in instruction template.
26930
26931 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
26932
26933         * invoke.texi: Typo fixes.
26934
26935 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
26936
26937         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
26938         handle at this time instead of silently generating incorrect code.
26939         (gen_imagpart): Likewise.
26940
26941         * reload.c (find_reloads): Emit a USE for a pseudo register without
26942         a hard register if we could not create an optional reload for the
26943         pseudo.
26944
26945 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26946
26947         * c-typeck.c (output_init_element, process_init_element):
26948         When advancing constructor_unfilled_fields for a RECORD_TYPE,
26949         check for nameless bit fields.
26950
26951 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
26952
26953         * regclass.c (scan_one_insn): Notice subregs that change the
26954         size of their operand.
26955         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
26956
26957 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
26958
26959         * configure.in (alpha*-*-*): Include alpha/t-ieee.
26960         * configure: Rebuilt.
26961         * alpha/t-ieee: New file.
26962
26963 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
26964
26965         * rs6000.c (find_addr_reg): Do not select r0 as an address
26966         register.
26967
26968 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
26969
26970         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
26971
26972 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
26973
26974         * rs6000.md (movsf): Do not force easy FP constants into memory.
26975
26976         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
26977         immed_double_const to ensure they are properly truncated then
26978         sign extended.
26979
26980 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
26981
26982         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
26983         always unless NO_DEBUG is used.  Compile this code
26984         unconditionally.
26985         (replace_symbols_in_block): Compile it unconditionally.
26986
26987 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
26988
26989         * configure.in (i?86-*-elf*): New target.
26990         * configure: Rebuilt.
26991         * i386/i386elf.h, i386/t-i386elf: New files.
26992
26993 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
26994
26995         * toplev.c (main): Don't complain about saying -gdwarf.
26996         (rest_of_compilation): Remove redundant code.
26997
26998 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
26999
27000         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
27001
27002 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
27003
27004         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
27005         "Li960R:", to avoid name clash.
27006
27007 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
27008
27009         * loop.c (check_dbra_loop): When reversing a loop, delete all
27010         REG_EQUAL notes referencing the reversed biv except those which are
27011         for a giv based on it.
27012
27013 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
27014
27015         * version.c: Drop "gcc-" prefix from version #.
27016
27017 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
27018
27019         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
27020         the label if we're being verbose.
27021
27022 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
27023
27024         * m68k.c (output_function_prologue): Add pic register to mask
27025         if live and flag_pic.
27026         (output_function_epilogue): Likewise.
27027
27028 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
27029
27030         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
27031         directives in column zero.
27032
27033         * pa/elf.h (ASM_FILE_START): Define.
27034         * pa/som.h (ASM_FILE_START): Include .level directives.
27035         * pa/hpux10.h (ASM_FILE_START): Delete.
27036         * pa/hpux11.h (ASM_FILE_START): Delete.
27037
27038         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
27039
27040 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27041
27042         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
27043         when reload_out equals reload_in.
27044
27045 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
27046
27047         * invoke.texi (Spec Files): New node: Describe the contents of
27048         spec files.
27049
27050 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
27051
27052         * invoke.texi (DEC Alpha Options): Put @end table at
27053         beginning of line, to avoid confusing texi2html.
27054
27055 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
27056
27057         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
27058         introduced in previous delta.
27059
27060 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27061
27062         * reload1.c (gen_reload): When synthesizing a 3 operand add
27063         sequence, improve test for when to reload OP1 into the reload
27064         register instead of OP0.
27065
27066 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
27067
27068         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
27069
27070 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
27071
27072         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
27073         string literal.
27074
27075 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
27076
27077         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
27078         (va_dcl): Use __builtin_va_alist_t.
27079
27080 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
27081
27082         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
27083         on the permanent_obstack.
27084         * dwarfout.c (output_type): Likewise.
27085
27086 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
27087
27088         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27089         Merged from c-typeck.c and cp/typeck.c.
27090         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27091         Merged into c-common.
27092
27093 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
27094
27095         * c-lex.c (errorcount): Declare it.
27096         (finish_parse): Update errorcount when using CPPLIB.
27097
27098 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
27099
27100         * fixinc/inclhack.def(end_else_label): Double the backslash so
27101         sed gets a chance to see it.
27102         * fixinc/inclhack.sh: regen
27103         * fixinc/fixincl.x: regen
27104
27105 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
27106
27107         Add framework to support armv5 architecture when it becomes
27108         available:
27109
27110         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
27111         (arm_arch5): New variable.
27112         (all_architectures): Add armv5 line.
27113         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
27114         -march=armv5 is specified on the command line.
27115         (arm_arch5): Export this variable.
27116         * invoke.texi: Document new string accepted by -march= switch for
27117         ARM ports.
27118
27119         * config/arm/arm.h: Replace use of constant 12 as a register
27120         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
27121         * config/arm/arm.c: Replace use of constant 12 as a register
27122         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
27123
27124         * config/arm/elf.h: Tidy up.
27125         * config/arm/coff.h: Tidy up.
27126
27127 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
27128
27129         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
27130         * gcc/config/mips/t-iris6gld: New file.
27131         * gcc/config/mips/iris6gld.h: Likewise.
27132
27133 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
27134
27135         * c-decl.c (widest_integer_literal_type_node,
27136         widest_unsigned_literal_type) : New.
27137         (init_decl_processing): Handle/use the two new types.
27138         * c-common.c (type_for_size,type_for_mode) : Same.
27139         * c-lex.c (yylex) : Same.
27140         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27141         Same.
27142         * c-tree.h (widest_integer_literal_type_node,
27143         widest_unsigned_literal_type) : New.
27144
27145 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
27146
27147         * dwarfout.c (field_byte_offset): Correctly compute the object's
27148         byte offset for the first bit of a field which crosses an alignment
27149         boundary on a !BYTES_BIG_ENDIAN target.
27150
27151 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
27152
27153         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
27154         ntohs.
27155
27156 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
27157                           Jeff Law <law@cygnus.com>
27158
27159         * ginclude/varargs.h (va_dcl): Use word_mode for type of
27160         __builtin_va_list.
27161
27162         * except.c: Include intl.h.
27163         (expand_eh_return): Set current_function_cannot_inline.
27164         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
27165         * function.h (struct function): Add eh_return_stub_label.
27166         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
27167         * Makefile.in (except.o): Depend on intl.h.
27168
27169 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
27170
27171         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
27172         same as offsettable in cases 1 and 2.
27173
27174 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
27175
27176         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
27177         (extlh, extwh): Likewise.
27178
27179 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
27180
27181         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
27182
27183 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
27184
27185         * configure.in: Add arm-pe and thumb-pe targets.
27186         * configure: Regenerate.
27187
27188         * thumb.c (arm_naked_function_p): New function: Determines if
27189         a function is naked (has no gcc generated prologue/epilogue).
27190         (is_called_in_ARM_mode): Return true if the func has the
27191         interfacearm attribute.
27192         (output_return): Do not generate a return for naked functions.
27193         (thumb_function_prologue): Do not generate a prologue for
27194         naked functions.
27195         (thumb_expand_prologue): Do not generate a prologue for naked
27196         functions.
27197         (thumb_expand_epilogue): Do not generate an epilogue for naked
27198         functions.
27199         (arm_valid_machine_decl_attribute): New function, copied from
27200         arm.c:  Permit naked and interfacearm attributes.
27201
27202         * config/arm/pe.c: New file: Support code for arm-pe target.
27203         * config/arm/pe.h: New file: Header file for arm-pe target.
27204         * config/arm/tpe.h: New file: Header file for thumb-pe target.
27205         * config/arm/t-thumb-pe: New file: Makefile fragment for
27206         thumb-pe target.
27207
27208 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
27209
27210         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
27211         -fPIC or -fpic is specified.
27212
27213 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
27214
27215         * expr.c (emit_block_move): Use copy_to_mode_reg for
27216         !TARGET_MEM_FUNCTIONS case too.
27217
27218         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
27219         appropriate.
27220         * configure: Rebuilt.
27221         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
27222         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
27223         definitions made redundant by dbxelf.h inclusion.  Delete
27224         lots of definitions related to assembly output that are
27225         specific to the SOM object format.
27226         * pa.c (output_function_prologue): Do not emit the function's
27227         name for OBJ_ELF.
27228         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
27229         * pa-pro.h: Deleted.
27230         * som.h: New file with SOM specific definitions.
27231         * elf.h: New file with ELF specific definitions.
27232
27233         * elfos.h (const_section): Output a tab before assembler directives.
27234         (ctors_section, dtors_section): Likewise.
27235         (ASM_OUTPUT_SECTION_NAME): Likewise.
27236
27237         * pa/pa1.h: Delete unused file.
27238
27239 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
27240
27241         * configure.in (hppa*-hp-hpux11*): New configuration.
27242         * configure: Rebuilt.
27243         * pa/pa-hpux11.h: New file.
27244         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
27245         command line.
27246
27247         * mips.md (leasi, leadi): New patterns.
27248
27249         * expr.c (emit_block_move): Properly handle case where one of the
27250         block move arguments has a queued increment or decrement.
27251         (clear_storage): Similarly.  Fix formatting goof.
27252
27253 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
27254
27255         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
27256         semicolon from the BSD VA_LIST replacement expression.
27257
27258         * fixinc/inclhack.sh: regen
27259         * fixinc/fixincl.x: regen
27260
27261         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
27262         now use the fixincl program.
27263
27264 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
27265
27266         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
27267         case.  Also make the PIC register call_used.
27268
27269         * m68k.h (FINALIZE_PIC): Delete.
27270         * m68k.c (finalize_pic): Delete.
27271
27272 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
27273
27274         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
27275         to memory.
27276
27277 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
27278
27279         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
27280
27281 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
27282
27283         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
27284
27285 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
27286
27287         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
27288
27289 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
27290
27291         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
27292
27293 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
27294
27295         * rs6000.c (output_toc): Always use hex values for floating-point
27296         constants.  Store single-precision values in upper-half of TOC
27297         entry in 64-bit mode.
27298         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
27299         to final constraints.
27300         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
27301         (fctiwz): Improve accuracy of RTL for pattern.
27302
27303 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
27304
27305         * expr.c (expand_expr): Allow RTL_EXPR's through the
27306         MAX_INTEGER_COMPUTATION_MODE checks.
27307
27308 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
27309
27310         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
27311         such that MASK_SUPPORT_ARCH is not negative.
27312
27313 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
27314
27315         * loop.c (verify_dominator): Properly handle ADDR_VEC and
27316         ADDR_DIFF_VEC insns that appear inside loops.
27317
27318 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
27319                           Jeff Law <law@cygnus.com>
27320
27321         * rs6000.md (movdf_hardfloat32): Revert previous patch.
27322         Handle LO_SUM the same as offsettable in cases 1 and 2.
27323         * rs6000.c (find_addr_reg): Revert previous patch.
27324
27325 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
27326
27327         * system.h (strstr): New external function declaration.
27328         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
27329         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
27330         * config.in, configure: Rebuilt.
27331
27332 1999-06-24  Tom Tromey  <tromey@cygnus.com>
27333
27334         * gcc.c (main): Read user-specified specs files after computing
27335         additional startfile_prefixes.
27336
27337 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
27338
27339         Revert these two patches:
27340
27341         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27342         * loop.c (strength_reduce): When doing biv->giv conversion, update
27343         reg note of NEXT->insn.
27344
27345         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27346         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
27347         reg_biv_class.
27348         (recombine_givs): Set ix field after sorting.
27349
27350 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27351
27352         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
27353         for the parts of an UNSPEC / UNSPEC_VOLATILE.
27354
27355 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
27356
27357         *fixinc/inclhack.def:  Add fix development commentary
27358         (read_ret_type): reactivate and add selection clause
27359         (zzz_*): tweak output file name to match what is used in hackshell.tpl
27360         *fixinc/{fixincl.x|inclhack.sh}: regen
27361
27362 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
27363
27364         * expr.c (expand_expr): STRIP_NOPS before checking against
27365         MAX_INTEGER_COMPUTATION_MODE
27366         (check_max_integer_computation_mode): Likewise.
27367
27368 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
27369
27370         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
27371
27372 1999-06-22  Jim Wilson  <wilson@cygnus.com>
27373
27374         * expr.c (store_expr): When target is a promoted subreg, return a
27375         promoted subreg as a result.
27376
27377 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
27378
27379         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
27380         coding standards.
27381         (dwarf2out_define): Mark unused parameters appropriately.
27382         (gen_unspecified_parameters_die): Ditto.
27383         (gen_subprogram_die): Fix signed/unsigned warnings.
27384         (gen_variable_die): Ditto.
27385
27386 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
27387
27388         * fixinc/inclhack.def(end_else_label): combined else_label
27389         and endif_label and fixed the sed expression.
27390         *fixinc/{fixincl.x|inclhack.sh}: regen
27391
27392 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
27393
27394         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
27395         'x' when handling non-offsettable addresses
27396
27397 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
27398
27399         * final.c (shorten_branches): Don't try to split an insn that has
27400         been deleted.
27401
27402 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
27403
27404         * config/mips/mips.c (symbolic_expression_p): New function.
27405         (mips_select_rtx_section): Put symbolic expressions in the
27406         data section, not the read-only data section.
27407
27408 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
27409
27410         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
27411
27412 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
27413
27414         * collect2.c (main): Log frame table count.
27415         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
27416         (scan_prog_file) [COFF]: Handle frame tables.
27417
27418         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
27419         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
27420         * alpha/elf.h: Undef them again.
27421         * alpha/vms.h: Remove their definitions.
27422
27423 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27424
27425         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
27426         remove the clobber of r0 and change the REG_UNUSED note to
27427         REG_INC.
27428
27429 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
27430
27431         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
27432         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
27433         fits in HOST_WIDE_INT and one uses union to access a long constant
27434         as double.
27435
27436 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
27437
27438         * sparc.c (sparc_override_options): Don't allow profiling for
27439         code models other than medlow.
27440         (sparc_function_profiler): New function from old FUNCTION_PROFILER
27441         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
27442         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
27443         (sparc_block_profiler): Likewise.
27444         (sparc_function_block_profiler_exit): Likewise.
27445         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
27446         (FUNCTION_BLOCK_PROFILER): Likewise.
27447         (BLOCK_PROFILER): Likewise.
27448         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
27449         (MCOUNT_FUNCTION): New.
27450         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
27451         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
27452         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
27453         (MCOUNT_FUNCTION): New.
27454         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
27455         (BLOCK_PROFILER): Delete.
27456         (MCOUNT_FUNCTION): New.
27457
27458 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
27459
27460         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
27461
27462 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
27463
27464         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27465         Add the macros.
27466
27467         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27468         Ditto.
27469
27470         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27471         Ditto.
27472
27473         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27474         Ditto.
27475
27476 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
27477
27478         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
27479         types.
27480
27481 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
27482
27483         * i386/djgpp.h (LIB_SPEC): New.
27484         (STARTFILE_SPEC): New.
27485
27486         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
27487
27488 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
27489
27490         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
27491         compiler flags.
27492
27493         * system.h (WSTOPSIG): New macro.
27494
27495 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27496
27497         * c-pragma.c (push_alignment): Don't ignore alignments greater than
27498         4 bytes.
27499         (insert_pack_attributes): Take into account member natural
27500         alignment.
27501
27502         * i386/winnt.c (exports_head): New static variable.
27503         (i386_pe_record_exported_symbol): New function.
27504         (i386_pe_asm_file_end): Use.
27505         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
27506         symbols to be emitted at end of assembly.
27507         (ASM_DECLARE_OBJECT_NAME): Likewise.
27508         (ASM_DECLARE_FUNCTION_NAME): Likewise.
27509
27510         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
27511         -iwithprefix.
27512
27513 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
27514
27515         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
27516         in last change.
27517
27518 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
27519
27520         * haifa-sched.c (sched_analyze_1): Use free_list instead of
27521         zapping reg_last_uses directly.
27522         (sched_analyze_2, sched_analyze_insn): Likewise.
27523         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
27524
27525 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
27526
27527         * rs6000.md (movdf_hardfloat32): Use worst case insn length
27528         attributes for cases 1 and 2.
27529
27530 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
27531
27532         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
27533         instead of set.
27534
27535 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
27536
27537         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
27538
27539 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
27540
27541         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
27542         PIC_OFFSET_TABLE_REGNUM for general alloaction.
27543         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
27544         must be stacked if it is used for PIC accesses.
27545         * arm.c (use_return_insn): Handle PIC register specially.
27546         (output_return_instruction): Likewise.
27547         (output_func_{prologue,epilogue}): Likewise.
27548         (output_expand_prologue): Likewise.
27549
27550         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
27551         (*strsi_predec): Renamed from *strqi_predec.
27552         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
27553         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
27554
27555         * arm.c (arm_override_options): Remove warning about PIC code
27556         not being supported.
27557
27558 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
27559
27560         * rs6000.c (find_addr_reg): New function.
27561         * rs6000.h (find_addr_reg): Declare.
27562         (offsettable_addr_operand): Delete.
27563         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
27564         from and stores to GPRs.
27565
27566 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
27567
27568         * alpha.c (alpha_expand_block_move): Use get_insns rather than
27569         gen_sequence as argument to emit_no_conflict_block.
27570
27571 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27572
27573         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
27574         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
27575         *fixinc/fixincl.x: regen
27576         *fixinc/inclhack.sh: regen
27577
27578 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
27579
27580         * added support for -mpcrel (PC relative addressing for m68k)
27581         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
27582         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
27583         * m68k.c (print_operand_address): Handle 32-bit PIC case.
27584         (comments for general_src_operand): Add some explanation
27585         about EXTRA_CONSTRAINTS.
27586         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
27587         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
27588         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
27589         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
27590         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
27591         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
27592         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
27593         if not already set.
27594         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
27595         * m68k.h (TARGET_PCREL): New target flag.
27596         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
27597         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
27598         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
27599         contains a SYMBOL_REF.  Relax this constraint during reload, since
27600         we want to use the predicates, not reload's built-in concept of a
27601         valid memory address, to control what insns need reloading.
27602         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
27603         operands (essentially 'g', 'm', and 's' under normal circumstances).
27604         * m68k.c (print_operand): Cause printing of pc-relative addresses
27605         to include pc register.
27606         (print_operand_address): Ditto.
27607         (general_src_operand): Accept operands that are not only
27608         general_operands, but are also valid when used as a pc-relative
27609         source.
27610         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
27611         (memory_src_operand): Similar, for memory_operands.
27612         (pcrel_address): New predicate to accept the special case of a
27613         pc-relative address.
27614         * m68k.md (many patterns): Rewrite common SImode, HImode, and
27615         QImode insns to accept *_src_operand instead of *_operand where
27616         pc-relative operands can fit.  For example, a pc-relative operand
27617         can be used as a memory source operand for addsi3, but not as a
27618         memory destination.
27619         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
27620
27621 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
27622
27623         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
27624         .thumb_set pseudo op to mark aliases of thumb functions.
27625
27626 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
27627
27628         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
27629         preference to ASM_OUTPUT_DEF, if it is defined.
27630
27631         * tm.texi: Document new, optional target macro
27632         ASM_OUTPUT_DEF_FROM_DECLS.
27633
27634 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27635
27636         * fixincludes: ISCNTL patch
27637         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
27638         (dgux_int_varargs): new for DG/UX
27639         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
27640
27641 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
27642
27643         * invoke.texi (ia32 options): Fix typo.
27644
27645 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27646
27647         * loop.c (strength_reduce): When doing biv->giv conversion, update
27648         reg note of NEXT->insn.
27649
27650 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
27651
27652         * loop.c (move_movables): Note issues with replacing REGs with
27653         SUBREGs.
27654         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
27655
27656 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
27657
27658         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
27659
27660         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
27661         the reference to `mcount' was not correct for the ELF on FreeBSD.
27662
27663 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27664
27665         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
27666         reg_biv_class.
27667
27668         (recombine_givs): Set ix field after sorting.
27669
27670 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
27671
27672         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
27673         to safe to extract a subword out of a REG.
27674
27675 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27676
27677         * sh.md (mulsi3): Don't add a no-op move at the end.
27678
27679 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27680
27681         * cse.c (cse_insn): Don't put hard register source into tables for
27682         the last insn of a libcall.
27683
27684 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27685
27686         * loop.c (strength_reduce): Insert sets of derived givs at every
27687         biv increment, even if it's the only one.
27688
27689 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
27690
27691         * dwarfout.c (add_incomplete_type): New fn.
27692         (output_type): Call it.
27693         (retry_incomplete_types): New fn.
27694         (dwarfout_finish): Call it.
27695
27696         From Eric Raskin <ehr@listworks.com>:
27697         (output_type): Output types for bases.
27698
27699 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
27700
27701         * mips.c (mips_output_conditional_branch): Add `break'
27702         between `default' label and `close braces'.
27703
27704 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
27705
27706         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
27707         specifications and make it realistic.
27708         (LIB_SPEC): Likewise.
27709
27710 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
27711
27712         * config/mips/mips.c (mips_secondary_reload_class): Check for
27713         (PLUS (SP) (REG)) and return appropriate register class.
27714         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
27715         Handle (PLUS (SP) (REG)).
27716         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
27717         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
27718         of emit_insn for tablejump.
27719
27720 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
27721
27722         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
27723         asm_fprintf format string by itself.
27724         (output_function_profiler): Likewise.
27725
27726 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
27727
27728         * combine.c (simplify_logical, case AND): Only call
27729         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
27730         or the constant is positive.
27731
27732 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
27733
27734         * configure.in: Fix typo in rs6000-ibm-aix4 case.
27735         * configure: Regenerate.
27736
27737 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
27738
27739         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
27740         require a sub-version #.
27741         * configure: Rebuilt.
27742
27743 1999-06-14  Robert Lipe  (robertlipe@usa.net)
27744
27745         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
27746
27747 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
27748
27749         * c-typeck.c (process_init_element): Detect excess elements in
27750         char array initializer.
27751
27752 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
27753
27754         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
27755
27756 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27757
27758         * invoke.texi (Option Summary): Add -fpermissive flag.
27759
27760 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
27761
27762         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
27763         that require PIC code sequences.
27764
27765 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
27766
27767         * configure.in: Add new target: thumb-elf.
27768         * configure: Regenerate.
27769         * config/arm/t-thumb-elf: New file: Makefile fragment for
27770         thumb-elf build.
27771         * config/arm/telf.h: New file: Header file for thumb-elf
27772         build.
27773
27774 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
27775
27776         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
27777         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
27778         initializers is some circumstances.
27779
27780         * fixinc/inclhack.def (endif_label): Add additional selector for
27781         more bogus stuff after #endif statements.
27782         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
27783
27784 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27785
27786         * i386/cygwin.h (SET_ASM_OP): Define.
27787
27788 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27789
27790         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
27791
27792 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27793
27794         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
27795         latter.
27796
27797         * sh.md (ic_invalidate_line_i): Remove second alternative.
27798
27799 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27800
27801         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
27802         test for the presence of valid prototypes.  Delete bypass expr.
27803         (ioctl_fix_ctrl): Correct the selection expression.
27804         (no_double_slash): Correct quoting rules
27805         *fixinc/fixincl.x: regen
27806         *fixinc/inclhack.sh: regen
27807
27808 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
27809
27810         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
27811
27812 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27813
27814         * rs6000.md (movsi_got_internal_mem): Delete.
27815         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
27816         (GOT_TOC_REGNUM): Delete.
27817         (PIC_OFFSET_TABLE_REGNUM): Define.
27818         (FINALIZE_PIC): Disable.
27819         * rs6000.c (rs6000_got_register): New code for fixed pic register.
27820         (rs6000_replace_regno): Delete.
27821         (rs6000_finalize_pic): Likewise.
27822         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
27823
27824 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27825
27826         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
27827         is a note; use <= for the compare; advance P while it is
27828         a NOTE.
27829
27830 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
27831
27832         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
27833         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
27834
27835         * varasm.c (remove_from_pending_weak_list): Verify t->name
27836         is non-NULL before passing it to strcmp.
27837
27838 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27839
27840         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
27841         the typed arguments are not part of a comment
27842         (ioctl_fix_ctrl): Added a purpose comment
27843         *fixinc/fixincl.x: regenerate
27844         *fixinc/inclhack.sh: regenerate
27845
27846 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
27847
27848         * invoke.texi: Add C4x invocation docs.
27849
27850 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
27851
27852         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
27853         Define new macros.
27854         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
27855         TARGET_EXPOSE_LDP.
27856         (c4x_legitimize_reload_address): New function.
27857         * config/c4x/c4x.md: Update docs.
27858
27859 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
27860
27861         * fixincludes: Avoid removing '.'.
27862         * fixinc/fixinc.svr4: Likewise.
27863         * fixinc/fixinc.winnt: Likewise.
27864         * fixinc/inclhack.tpl: Likewise.
27865         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
27866
27867 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27868
27869         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
27870         pattern.
27871         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
27872
27873 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27874
27875         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
27876         correctly.
27877
27878 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
27879
27880         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
27881         * configure: Regenerate.
27882
27883 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
27884
27885         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
27886         values.
27887
27888 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
27889
27890         * fixinc/inclhack.def (avoid_bool): Also catch
27891         "typedef [unsigned] int bool".
27892         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27893
27894         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
27895         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
27896         * configure: Rebuilt.
27897
27898 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
27899
27900         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
27901         such that we can override its definitions if necessary.
27902         (CPP_SPEC): New define.  Support processor specific predefines via
27903         %(cpp_cpu).
27904         (CC1_SPEC): New define.  Support processor specific compiler
27905         options via %(cc1_cpu).
27906         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
27907         -static.
27908
27909 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27910
27911         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
27912         between sed's -e flag, and the open-quote following it.
27913         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27914
27915 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
27916                           Jeffrey A Law  (law@cygnus.com)
27917
27918         * varasm.c (assemble_start_function): Remove the function
27919         from the pending weak decls list when we define a function.
27920         (assemble_variable): Similarly for variables.
27921         (weak_finish): Ignore items on the list with a NULL name.
27922         (remove_from_ending_weak_list); New function to "remove" an item
27923         from the pending weak declarations list.
27924
27925 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27926
27927         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
27928
27929 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
27930
27931         * c-lex.c (GETC): Redefine to call getch.
27932         (UNGETC): Redefine to call put_back.
27933         (putback_buffer): New structure type.
27934         (putback): New static structure.
27935         (getch): New function.
27936         (put_back): New function.
27937         (yylex): Replace unused bytes from bad multibyte character.
27938
27939 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
27940
27941         * cpplib.c (do_define): Cast `alloca' return value.
27942         (do_include, do_undef, do_pragma): Likewise.
27943         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
27944         values.
27945         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
27946         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
27947
27948 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
27949
27950         * sparc.md (abstf2): This should be an expand.
27951         (split after abstf2_notv9): Fix mode.
27952         (abstf2_hq_v9): New pattern.
27953         (abstf2_v9): Only use when no hard quad.
27954         (absdf2_v9): Fix if target is not the same as source.
27955         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
27956         Add correct output constraints.
27957
27958 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
27959
27960         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
27961         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
27962
27963 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
27964
27965         * mips.h (mips_output_conditional_branch): New function.
27966         (mips_adjust_insn_length): Likewise.
27967         (ASSEMBLER_SCRATCH_REGNUM): New macro.
27968         (ADJUST_INSN_LENGTH): Likewise.
27969         * mips.c (print_operand): Add `F' and `W' for floating-point
27970         comparison opcodes.
27971         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
27972         are now in bytes.
27973         (mips_adjust_insn_length): New function.
27974         (mips_output_conditional_branch): New function.
27975         * mips.md (length): Adjust attribute definition to handle
27976         conditional branches.  Change lengths to bytes, rather than
27977         instructions throughout.  Remove length attribute from
27978         instructions whose length is four bytes, and rely on the default
27979         instead.
27980         (dslot): Fix typo in comment.
27981         Reword conditional branch patterns to use
27982         mips_output_conditional_branch.
27983
27984 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
27985
27986         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
27987         (LIB_SPEC): Likewise.
27988         Link with -lprof1_r for -g/-pg.
27989
27990 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27991
27992         * loop.c (check_dbra_loop): Fix change of Jan 19.
27993
27994 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
27995
27996         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
27997         (STARTFILE_SPEC):  Define, override the svr4.h version.
27998         (ENDFILE_SPEC):  Likewise.
27999
28000 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
28001
28002         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
28003         * fixinc/fixincl.x: Regenerated.
28004         * fixinc/inclhack.sh: Regenerated.
28005
28006 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
28007
28008         * sh.c (barrier_align): Don't return early for normal branch/barrier
28009         when optimizing for SH2.
28010
28011 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
28012
28013         * i386/udk.h (LINK_SPEC): Correct linker search path for
28014         system libraries.
28015
28016 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
28017
28018         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
28019         (braf_label_ref_operand): Delete.
28020         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
28021         * sh.md (casesi_jump_2): Operand1 is now the inside of a
28022         label_ref, and has no predicate.
28023         The patten has a predicate to guard against invalid substitutions.
28024         (dummy_jump): Delete.
28025         (casesi): Update use of casesi_jump_2.
28026
28027 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
28028
28029         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
28030         *fixinc/fixincl.x: regenerate
28031         *fixinc/inclhack.sh: regenerate
28032
28033 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
28034
28035         * dwarf2out.c (add_incomplete_type): New fn.
28036         (gen_struct_or_union_type_die): Call it.
28037         (retry_incomplete_types): New fn.
28038         (dwarf2out_finish): Call it.
28039
28040 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
28041
28042         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
28043         current block starts with a CODE_LABEL and ends with a CALL and
28044         we can not find all the argument setup instructions for the CALL.
28045
28046 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
28047
28048         Revert this change:
28049         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
28050         something is a candidate for optimize_bit_field_compare.
28051
28052 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
28053
28054         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
28055
28056 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
28057
28058         * alpha.c (override_options): Thinko in last patch.
28059
28060         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
28061         (LIB_SPEC): Recognize -pthread.
28062
28063 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
28064
28065         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
28066         definition in config/arm/coff.h
28067         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
28068
28069 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28070
28071         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
28072         fixes that need "file=xxx\n" prepended before invocation
28073         (start_fixer - new): starting the fixer process is complex enough
28074         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
28075         (process): uses the new routine; omit usage of putenv()
28076         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
28077         * fixinc/fixincl.x: regenerate
28078
28079 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
28080
28081         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
28082         and version #s (1.1 -> 2.96) as needed.
28083         * README.g77: Kill way out of date file in the toplevel directory.
28084
28085 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
28086
28087         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
28088         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
28089         * configure: Rebuilt.
28090         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
28091         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
28092         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
28093         (SWITCH_TAKES_ARG): Likewise.
28094         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
28095         * config/t-freebsd: Moved from config/i386/ so it can used for all
28096         FreeBSD targets.
28097
28098 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
28099
28100         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
28101
28102 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
28103
28104         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
28105         * configure: Rebuilt.
28106
28107 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
28108
28109         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
28110         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
28111         * rs6000/rs6000.c (rs6000_file_start): Use putc.
28112         (rs6000_output_load_toc_table): Same.
28113         (output_prolog, output_mi_thunk): Same.
28114         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
28115         (ASM_GLOBALIZE_LABEL): Use putc.
28116
28117 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
28118
28119         * alpha.md (reload_*_help): New patterns and splitters.
28120         (reload_*): Use them.
28121         (mov[qh]i): Likewise.
28122
28123 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
28124
28125         * cccp.c (handle_directive): Handle backslash-newlines in quoted
28126         strings correctly.
28127
28128 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
28129
28130         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
28131
28132 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
28133
28134         * flow.c (mark_regs_live_at_end, insn_dead_p,
28135         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
28136         and HARD_FRAME_POINTER_REGNUM special treatment if reload
28137         hasn't run or the frame pointer is needed.
28138         * haifa-sched.c (attach_deaths): Likewise.
28139         * sched.c (attach_deaths): Likewise.
28140
28141 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
28142
28143         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
28144         calculate_can_reach_end returns nonzero.
28145
28146         * configure.in (native gas tests): Search for an assembler in the
28147         same manner that the installed compiler will.
28148         * configure: Rebuilt.
28149         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
28150
28151         * alias.c (find_base_term): Improve handling of addresses
28152         constructed from binary operations.
28153
28154 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
28155
28156         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
28157
28158 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
28159
28160         * function.h (cleanup_label, frame_offset): Declare.
28161         (tail_recursion_label, tail_recursion_reentry): Likewise.
28162         (arg_pointer_save_area, rtl_expr_chain): Likewise.
28163         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
28164         (tail_recursion_label, tail_recursion_reentry): Likewise.
28165         (arg_pointer_save_area, rtl_expr_chain): Likewise.
28166
28167 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
28168
28169         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
28170         defined.
28171         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
28172         (MAX_OFILE_ALIGNMENT): Define.
28173
28174 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
28175
28176         * fixincl.c: Replace local include scheme with #includes of
28177         gansidecl.h and system.h.
28178         * procopen.c:  Likewise.
28179         * server.c:  Likewise.
28180
28181 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
28182
28183         * i386/t-dgux (EXTRA_PARTS): Add crti.o
28184         (crti.o): Add build rule and dependencies.
28185         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
28186
28187 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
28188
28189         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
28190         (LIB_LINUX_SPEC): Likewise.
28191         (LIB_LINUX_SPEC): Add support for -pthread
28192         (CPP_OS_LINUX_SPEC): Likewise.
28193         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
28194         specified.
28195
28196 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
28197
28198         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
28199         conditional move.
28200         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
28201         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
28202         for IEEE math and CC_FCOMI.
28203         (put_jump_code): No IEEE if CC_FCOMI is set.
28204
28205 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
28206
28207         * fold-const.c (fold_truthop): Make the field reference unsigned
28208         when converting a single bit compare.
28209
28210 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
28211
28212         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
28213
28214 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
28215
28216         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
28217         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
28218         version did.
28219
28220         * reload.c (push_reload): Do not call remove_address_replacements
28221         when presented with identical optional reloads.
28222
28223 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
28224
28225         * alpha.h (MASK_FIX, TARGET_FIX): New.
28226         (MASK_*): Reorganize constants.
28227         (CPP_AM_FIX_SPEC): New.
28228         (TARGET_SWITCHES): Add FIX.
28229         (EXTRA_SPECS): Likewise.
28230         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
28231         (SECONDARY_MEMORY_NEEDED): Likewise.
28232         (REGISTER_MOVE_COST): Likewise.
28233         * alpha.c (override_options): Add FIX support.  Always use
28234         ALPHA_TP_PROG for ev6.
28235         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
28236         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
28237         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
28238
28239 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
28240
28241         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
28242         something is a candidate for optimize_bit_field_compare.
28243
28244 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
28245
28246         * gcc.texi (Passes): Document branch-shortening.
28247         * invoke.texi (Debugging Options): Document the fact that `-dp'
28248         outputs length information for instructions.
28249
28250 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
28251
28252         * flow.c: Revert previous delta.
28253
28254 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
28255
28256         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
28257         FRAME_POINTER_REGNUM.
28258         (mark_set_1): Ditto.
28259         (mark_used_regs): Ditto.
28260
28261 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
28262
28263         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
28264         (GOT_PCREL): New macro.  Define to 1 if not already defined.
28265         * arm/elf.h (GOT_PCREL): Define to 0.
28266         * arm.c (arm_finalize_pic): Take into account the setting of
28267         GOT_PCREL.
28268
28269 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
28270
28271         * output.h (STRIP_NAME_ENCODING): Provide default definition.
28272         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
28273
28274         * flow.c (mark_set_1): Do not record BLKmode stores as dead
28275         store elimination candidates.
28276
28277 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
28278
28279         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
28280         TARGET_GAS.
28281
28282 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
28283
28284         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
28285         Add use of x-aix41-gld.
28286
28287 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
28288
28289         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
28290         (ASM_OUTPUT_DESTRUCTOR): Define.
28291
28292 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
28293
28294         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
28295         last CODE_LABEL in a loop if we have previously passed a jump
28296         to the top of the loop.
28297
28298 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
28299
28300         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
28301         applying Philip's patch.
28302
28303 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
28304
28305         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
28306         are not VAR_DECLs.
28307
28308 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
28309
28310         * loop.c (strength_reduce): Grow reg_single_usage as needed.
28311
28312 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
28313
28314         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
28315         Also remove a useless comment.
28316
28317 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
28318
28319         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
28320
28321 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
28322
28323         * collect2.c (main): Only generate import or export file and add
28324         to link arguments if non-empty.  Use xmalloc not alloca.
28325         (write_{export,import}_file): Delete.
28326         (write_aix_file): New function.
28327         (locatelib): Use xmalloc not malloc.
28328         (GCC_OK_SYMBOL): Do not check type if aix64.
28329
28330 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
28331
28332         Based on patch by Scott Bambrough and Pat Beirne:
28333         * config/arm/arm.c (making_const_table): New variable.
28334         * config/arm/arm.h (making_const_table): Declare.
28335         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
28336         appropriate.
28337         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
28338         Keep track of when we are building the constant table.
28339
28340 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
28341
28342         * config/arm/arm.c (arm_override_options): Fix erroneous warning
28343         message.
28344
28345 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
28346
28347         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
28348         defined.
28349
28350 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
28351
28352         * tm.texi (FUNCTION_ARG): Correct description of a stack element
28353         in a PARALLEL.
28354
28355 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
28356
28357         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
28358
28359 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
28360
28361         * rs6000.c (output_mi_thunk): Enable full support again.
28362
28363 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
28364
28365         * sh.h (BRANCH_COST): Define.
28366
28367 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
28368
28369         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
28370
28371 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
28372
28373         * function.c (assign_stack_local): Align stack slot propertly.
28374         (assign_outer_stack_local): Likewise.
28375
28376 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
28377
28378         * expr.h (lang_expand_constant): Declare.
28379         * toplev.c (lang_expand_constant): Define it.
28380         * varasm.c (output_constant): Use it.
28381
28382 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
28383
28384         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
28385         Change function definitions to K&R style.
28386
28387 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
28388
28389         * fixinc/fixincl.c: We must not ignore SIGCLD now.
28390
28391 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
28392
28393         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
28394         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
28395         (several places): omit static initialization
28396         (process): use single fd, since only the read fd is used
28397         * fixinc/gnu-regex.c: define 'const' away, if not supported
28398         * fixinc/procopen.c(several places): omit static initialization
28399         * fixinc/server.c: define 'volitile' away, if not supported
28400
28401 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
28402
28403         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
28404         asm_fprintf and %L to generate the label name.
28405         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
28406         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
28407
28408 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
28409
28410         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
28411         insn for a conditional jump can not be found.
28412
28413 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
28414
28415         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
28416         on variables in specific sections other than .sbss and .sdata.
28417
28418 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
28419
28420         * stmt.c (expand_return): Call start_cleanup_deferral and
28421         end_cleanup_deferral around conditional code.
28422
28423 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
28424
28425         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
28426         filename lists.  Utilizes new "krstr" AutoGen function.
28427         * fixinc/fixincl.x: Rebuilt.
28428
28429 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
28430
28431         * i386.c (output_float_compare): Avoid GNU-C extensions.
28432
28433 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
28434
28435         * version.c: Bump to distinguish mainline tree from the
28436         gcc-2.95 branch.
28437
28438 See ChangeLog.1 for earlier changes.