OSDN Git Service

* flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Tue Aug 14 17:30:59 2001  Jeffrey A Law  (law@cygnus.com)
2
3         * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
4         note from its associated jump.
5
6 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
7  
8         * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
9         also on 64-bit s390x targets.
10
11 2001-08-14  Nick Clifton  <nickc@cambridge.redhat.com>
12
13         * config/arm/arm.c (arm_compute_initial_elimination_offset): New
14         function.
15         (arm_expand_prologue): Handled nested functions which take a
16         variable argument list.
17         * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
18         macro with an invocation of
19         arm_compute_initial_elimination_offset.
20         * config/arm/arm-protos.h: Prototype
21         arm_compute_initial_elimination_offset. 
22
23 2001-08-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
24
25         * doc/install.texi (Specific, avr): Fix markup.
26         (Specific, c4x): Ditto.
27
28 2001-08-14  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
29
30         * predict.c (dump_prediction): Change `bool' parameter to `int'.
31
32 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
33
34         * Makefile.in (OBJS): Add rtl-error.o
35         (rtl-error.o): New rule.
36         (diagnostic.o): Adjust dependency.
37         diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
38         error_for_asm, _fatal_insn, _fatal_insn_not_found,
39         warning_for_asm): Move to...
40         rtl-error.c: ...here.  New file.
41
42 2001-08-14  Richard Henderson  <rth@redhat.com>
43
44         * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
45         if USING_SJLJ_EXCEPTIONS.
46
47 2001-08-14  Steve Ellcey <sje@cup.hp.com>
48
49         * tlink.c (scan_linker_output): Check string for unsatisfied in
50         addition to undefined and unresolved.
51
52 2001-08-14  Graham Stott  <grahams@redhat.com>
53
54         * libgcc2.c (*): Replace EH_FRAME_SECTION with
55         EH_FRAME_SECTION_NAME.
56
57 Tue Aug 14 14:57:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
58
59         * genattrtab.c (simplify_test_exp_in_temp): New function.
60         (simplify_test_exp): Avoid explicit use of temporary obstack.
61         (simplify_cond, insert_right_side, evaluate_eq_attr,
62         simplify_and_tree, simplify_or_tree, eliminate_known_true):
63         Use simplify_test_exp_in_temp.
64         (optimize_attrs): Iterate until expression stabilizes.
65
66 2001-08-13  Ulrich Weigand  <uweigand@de.ibm.com>:
67  
68         * glimits.h: Remove the __LONG_MAX__ special case for s390x.
69         * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
70
71 2001-08-13  Richard Henderson  <rth@redhat.com>
72
73         * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
74         (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
75         * config/arm/conix-elf.h: Likewise.
76
77 2001-08-13  Geoffrey Keating  <geoffk@redhat.com>
78
79         * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
80         in gcc.c.
81         * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
82
83         * gcse.c (hash_scan_set): Expressions that are set as part of
84         jump instructions are not available.
85
86 2001-08-13  Ulrich Weigand  <uweigand@de.ibm.com>
87
88         * config/s390/s390.c (print_operand, s390_function_prologue,
89         s390_va_start): Fixed HOST_WIDE_INT type mismatch.
90
91 2001-08-13  Richard Henderson  <rth@redhat.com>
92
93         * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
94         * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
95         * doc/tm.texi (Exception Region Output): Document it.
96
97 2001-08-13  Geoffrey Keating  <geoffk@redhat.com>
98
99         * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
100         DWARF2 instead of stabs by default.
101
102 2001-08-13  David Edelsohn  <edelsohn@gnu.org>
103
104         * config/rs6000/rs6000.c: Include optabs.h.
105
106 2001-08-13  David Edelsohn  <edelsohn@gnu.org>
107
108         * config/rs6000/eabi.asm: Define 64-bit versions of FPR
109         save/restore routines.
110         * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
111
112 2001-08-13  Andreas Jaeger  <aj@suse.de>
113
114         * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
115         the english is correct.
116
117 2001-08-13  Zack Weinberg  <zackw@panix.com>
118
119         * expr.h: Split out optab- and libfunc-related code to...
120         * optabs.h, libfuncs.h: ... these new headers.
121
122         * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
123         (OPTABS_H): New.
124         (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
125         dependencies.
126         * mkconfig.sh: Don't include insn-codes.h from config.h.
127
128         * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
129         enum insn_code is available.  Move reload_in_optab and
130         reload_out_optab array declarations to optabs.h.
131         * regmove.c (gen_add3_insn): Move to optabs.c, export from
132         there, prototype in expr.h.
133         * gencodes.c: Cleanup: zap global variables, don't use
134         printf where puts will do, don't bother defining MAX_INSN_CODE
135         which nothing uses, let CODE_FOR_nothing get its value implicitly.
136
137         * genemit.c, genopinit.c: Include optabs.h in generated file.
138         * genoutput.c: Include insn-codes.h in generated file.
139         * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
140         expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
141         reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
142         config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
143         config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
144         config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
145         Include optabs.h.
146         * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
147         optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
148         config/m88k/m88k.c, config/sparc/sparc.c:
149         Include libfuncs.h.
150         * reload.c: Include expr.h and optabs.h before reload.h.
151         * config/alpha/alpha.c: Include tree.h before reload.h.
152         * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
153         and reload.h in that order.
154         * config/sparc/sparc.c: Include debug.h.
155         * recog.c: Include insn-codes.h.
156
157 2001-08-13  Andreas Jaeger  <aj@suse.de>
158
159         * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
160         s390*linux.
161
162 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
163
164         * dwarf2out.c (output_cfa_loc): Fix typo in comment.
165         * gcc.c (init_spec): Fix typo in comment.
166         * varasm.c (data_section): Fix typo in comment.
167
168 Mon Aug 13 02:27:39 CEST 2001  Jan Hubicka  <jh@suse.cz>
169
170         * predict.c (dump_prediction): New argument "USED".
171         (combine_predictions_for_insn): Determine the used heuristics,
172         output the case no heuristic applied.
173         * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
174
175 2001-08-13  Andreas Jaeger  <aj@suse.de>
176
177         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
178         register %rip.
179
180 2001-08-13  Kazu Hirata  <kazu@hxi.com>
181
182         * jump.c: Fix formatting.
183
184 2001-08-13  Kazu Hirata  <kazu@hxi.com>
185
186         * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
187         length.
188
189 2001-08-12  Geoffrey Keating  <geoffk@redhat.com>
190
191         * loop.c (check_dbra_loop): Use condjump_label to compute
192         jump_label.
193
194         * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
195         to better document the files they're in.
196
197 2001-08-12  Zack Weinberg  <zackw@panix.com>
198
199         * recog.h (struct insn_operand_data): Shrink 'mode' field
200         to 16 bits.
201
202 2001-08-12  Kazu Hirata  <kazu@hxi.com>
203
204         * gcc.c: Fix comment formatting.
205         * gccspec.c: Likewise.
206         * gcov.c: Likewise.
207         * gcse.c: Likewise.
208         * genemit.c: Likewise.
209         * gengenrtl.c: Likewise.
210         * genrecog.c: Likewise.
211         * gensupport.c: Likewise.
212         * ggc-page.c: Likewise.
213         * global.c: Likewise.
214         * graph.c: Likewise.
215         * ifcvt.c: Likewise.
216         * integrate.c: Likewise.
217         * lcm.c: Likewise.
218         * libgcc2.c: Likewise.
219         * loop.c: Likewise.
220         * mbchar.c: Likewise.
221         * optabs.c: Likewise.
222         * predict.c: Likewise.
223         * prefix.c: Likewise.
224         * profile.c: Likewise.
225         * protoize.c: Likewise.
226         * real.c: Likewise.
227         * recog.c: Likewise.
228         * regclass.c: Likewise.
229         * regmove.c: Likewise.
230         * reg-stack.c: Likewise.
231         * reload1.c: Likewise.
232         * resource.c: Likewise.
233         * rtlanal.c: Likewise.
234         * rtl.c: Likewise.
235
236 2001-08-12  Kazu Hirata  <kazu@hxi.com>
237
238         * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
239         a tree representing a constant is passed to the macro.
240
241 2001-08-12  Richard Henderson  <rth@redhat.com>
242
243         * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
244         (rs6000_elf_asm_out_destructor): New.
245         * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
246         (DTORS_SECTION_ASM_OP): Remove.
247         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
248         (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
249
250 2001-08-12  David Edelsohn  <edelsohn@gnu.org>
251
252         Revert:
253         2001-08-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
254         * gcc.c (set_collect_gcc_options): New function, split out from
255         main.
256         Ignore elided switches.
257         (do_spec_1): Invoke before executing command.
258         (set_input): Export.
259         Move declaration ...
260         * gcc.h (set_input): ... here.
261         * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
262         file.
263
264 2001-08-12  Richard Henderson  <rth@redhat.com>
265
266         * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
267         thinko wrt TARGET_RELOCATABLE.
268
269 2001-08-12  Neil Booth  <neil@daikokuya.demon.co.uk>
270
271         * fix-header.c (cb_file_change): Update prototype.
272
273 2001-08-11  Zack Weinberg  <zackw@panix.com>
274
275         * toplev.c (set_float_handler): Make static.
276         * toplev.h: Don't prototype set_float_handler.
277
278         * simplify-rtx.c: Don't include setjmp.h.
279         (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
280         New functions.
281         (simplify_unary_operation, simplify_binary_operation): Use them,
282         via do_float_handler.
283
284         * fold-const.c: Don't include setjmp.h.
285         (exact_real_inverse_1): New function.
286         (exact_real_inverse): Use it, via do_float_handler.
287
288         * varasm.c: Don't include setjmp.h.
289         (assemble_real_1): New function.
290         (assemble_real): Use it, via do_float_handler.
291         Call internal_error if we get a trap here.
292
293         * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
294         config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
295
296 2001-08-11  Zack Weinberg  <zackw@panix.com>
297
298         * defaults.h: Define PREFERRED_STACK_BOUNDARY to
299         STACK_BOUNDARY if not already defined.
300
301         * calls.c, function.c, reload1.c, explow.c: Don't default
302         PREFERRED_STACK_BOUNDARY.  Remove all #if/#ifdef on
303         PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
304
305         * explow.c (allocate_dynamic_stack_space): Change unsafe #if
306         to run-time test.
307
308         * doc/tm.texi: Document that STACK_BOUNDARY is required;
309         clarify difference between it and PREFERRED_STACK_BOUNDARY.
310
311 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
312
313         * cppmacro.c (enter_macro_context): Push macro expansions even
314         if empty.
315
316 2001-08-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
317
318         * config/rs6000/rs6000.c: Include integrate.h to silence warning.
319         (rs6000_elf_section_type_flags): Actually return a value.
320
321 2001-08-11  Ulrich Weigand  <uweigand@de.ibm.com>
322
323         * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
324         Clean up code: add missing comments and prototypes, fix warnings,
325         remove obsolete code, fix spacing to conform to coding style.
326
327 2001-08-11  Ulrich Weigand  <uweigand@de.ibm.com>
328
329         * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
330         and TARGET_ASM_CLOSE_PAREN.
331         (regclass_map): CC register belongs to class NO_REGS.
332         (legitimize_pic_address): Don't generate unnecessary moves
333         (to avoid confusing loop optimization).
334         (check_and_change_labels): Replace jump_long by indirect_jump.
335         (s390_final_chunkify): Don't start a new literal pool on section
336         switch in 64-bit code.
337         (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
338
339         * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
340         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
341         (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
342         modes correctly.
343         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
344         (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
345         (CONST_COSTS): Fixed incorrect costs.
346
347         * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
348         Use emit_jump instead of emit_jump_insn (gen_jump).
349         (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
350         (to avoid confusing flow analysis).
351         (tablejump, tablejump1, tablejump2): Removed.  Replaced by casesi.
352         (casesi, casesi_jump): New.
353         (jump_long): Removed.  Functionality merged into indirect_jump.
354         (indirect_jump): Accept address_operand, not just register_operand.
355         (cjump_long, icjump_long): Use same logic as indirect_jump.
356         (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
357         Fixed broken setjmp/longjmp handling.
358         (do_builtin_setjmp_setup): Removed.
359
360         * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
361         broken GNU as versions that don't accept .quad with large
362         negative values.  Use hexadecimal output instead.
363         (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
364         (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
365         FUNCTION_EPILOGUE): Removed.  Now in targetm.
366
367         * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
368
369         * config/s390/fixdfdi.h: Add missing copyright statement.
370         Fix type conflicts on 64-bit.  Add missing SFmode routines.
371
372         * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
373         email address.
374
375 2001-08-11  Richard Henderson  <rth@redhat.com>
376
377         * rtl.h (REG_EH_RETHROW): Remove.
378         * rtl.c (reg_note_name): Update.
379         * combine.c (distribute_notes): Don't check for it.
380
381 2001-08-11  Richard Henderson  <rth@redhat.com>
382
383         * combine.c (distribute_notes): Place REG_SETJMP.
384
385 2001-08-11  Richard Henderson  <rth@redhat.com>
386
387         * doc/extend.texi (Arrays and pointers implementation): Discourage
388         relying on sign-extension of pointers.
389
390 2001-08-11  H.J. Lu <hjl@gnu.org>
391
392         * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
393         in_dtors.
394         (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
395         RDATA_SECTION_ASM_OP.
396
397 2001-08-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
398
399         * doc/install.texi (Specific, c4x): Fix cross-reference to the
400         main manual to work both for info and HTML versions.
401
402 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
403             Matt Kraai <kraai@alumni.carnegiemellon.edu>
404
405         * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
406         * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
407         (struct cpp_pool): New member first.
408         * cppinit.c (append_include_chain): Plug memory leaks.
409         * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
410         Allocate pragma structures from the (aligned) macro pool to
411         avoid leaking memory.
412         * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
413         so we don't leak memory.
414         * hashtable.c (ht_destroy): New.
415         * hashtable.h (ht_destroy): New.
416
417 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
418             Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
419
420         * c-lex.c (map): Make const.
421         (cb_file_change): Update for callback passing a line map.
422         Don't assume we have a previous map.  Remove sanity check
423         about popping too many files.
424         * cpperror.c (print_location): Make map const.
425         * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
426         (cpp_make_system_header): Similarly.
427         (search_from): Similarly.
428         (_cpp_execute_include): Don't remember where we came from.
429         * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
430         (struct cpp_reader): Make map const.
431         (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
432         * cpplib.c (do_line): Update; line maps now hold sysp.
433         (cpp_push_buffer): Similarly.
434         (_cpp_do_file_change): Similarly; callback with map instead.
435         (cpp_get_line_maps): Constify return value.
436         (_cpp_pop_buffer): Update.
437         * cpplib.h (struct cpp_file_change): Remove.
438         (struct cpp_callbacks): Update.
439         (cpp_get_line_maps): Constify return value.
440         * cppmacro.c (_cpp_create_definition): Update.
441         * cppmain.c (struct printer): Constify map.
442         (maybe_print_line): Similarly.
443         (print_line): Similarly.  Deduce flags 1 and 2 here.
444         (cb_file_change): Update.
445         * line-map.c (free_line_maps): Warn regardless.
446         (add_line_map): Return pointer to const.  When passed NULL to_file
447         with LC_LEAVE, use the obvious values for the return point so the
448         caller doesn't have to figure them out.
449         (lookup_line): Return pointer to const.
450         (print_containing_files): Take pointer to const.
451         * line-map.h (struct line_map): New members reason, sysp.
452         (add_line_map): Return pointer to const.
453         (lookup_line): Similarly.
454         (print_containing_files): Take pointer to const.
455
456 2001-08-10  Roman Zippel  <zippel@linux-m68k.org>
457             Richard Henderson  <rth@redhat.com>
458
459         * regmove.c (regmove_optimize): Avoid setting a register twice in
460         a parallel set.
461
462 2001-08-10  Richard Henderson  <rth@redhat.com>
463
464         * doc/extend.texi (Arrays and pointers implementation): Document
465         behavior of pointer/integer conversion.
466
467 2001-08-10  Ulrich Weigand  <uweigand@de.ibm.com>
468
469         * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
470
471 2001-08-10  Richard Henderson  <rth@redhat.com>
472
473         * doc/extend.texi (C Implementation): New chapter.
474         * doc/gcc.texi (Top): Link it in.
475
476 2001-08-10  Andrew Cagney  <ac131313@redhat.com>
477
478         * doc/install.texi (Specific): Fix CVS merge botch.
479
480 2001-08-10  Richard Henderson  <rth@redhat.com>
481
482         * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
483         ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
484
485 2001-08-10  Zack Weinberg  <zackw@stanford.edu>
486
487         * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
488         if not already defined.  Remove all #ifdefs on STACK_BOUNDARY;
489         this macro is now required.
490
491         * cselib.c (cselib_process_insn), flow.c (propagate_block),
492         loop.c (find_and_verify_loops), reload.c (reload): Check
493         for rtx code of CALL_INSN, not CALL, when deciding if we
494         need to check for REG_SETJMP note.
495
496         * gcse.c (compute_hash_table, compute_store_table): Update
497         the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
498         logic.
499
500         * config/avr/avr.c: Fix typo.
501         * config/convex/convex.c (expand_movstr): Use adjust_address.
502         * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
503         variable.
504         * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
505         * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
506         Fix typo.
507         * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
508         Do define STACK_BOUNDARY.
509         * config/i370/i370.c: Include expr.h.
510         * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
511         config/pa/som.h, config/v850/v850.h: Take in_ctors and
512         in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
513         and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
514         * config/m88k/m88k.c: Include c-tree.h after expr.h.
515         * config/pdp11/pdp11.c: Include expr.h and toplev.h.
516         * config/romp/romp.c: Include expr.h after tree.h.
517         Include toplev.h.
518         (output_fpop): Use xmalloc, not oballoc.
519         * config/we32k/we32k.c: Include expr.h.
520
521 2001-08-10  Kazu Hirata  <kazu@hxi.com>
522
523         * config/h8300/h8300.h: Fix formatting.
524
525 2001-08-08  Jason Merrill  <jason_merrill@redhat.com>
526
527         * c-common.h (RETURN_NULLIFIED_P): Lose.
528         * c-semantics.c (genrtl_return_stmt): Don't check it.
529
530 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
531
532         * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
533         (mips_annotate_frame_insn): New function.
534         (mips_emit_frame_related_store): New function.
535         (save_restore_insns): Don't mark instructions that set up the base
536         registers as frame-related.  Add REG_FRAME_RELATED_EXPR notes to
537         the store instructions instead.
538         (mips_expand_prologue): If the stack size is moved into a temporary
539         register, do not mark that move as frame-related.  Add a
540         REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
541
542 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
543
544         * config/mips/mips.c (save_restore_insns): Don't mark the RA's
545         stack slot as unchanging if current_function_calls_eh_return.
546
547 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
548
549         * config/mips/mips.md (reload_outcc): Use HARD_REGNO_NREGS to
550         access the second half of the TFmode scratch operand.
551
552 2001-08-10  Anthony Green  <green@redhat.com>
553
554         * java/class.c (emit_register_classes): Conditionalize code on
555         JCR_SECTION_NAME.
556
557 2001-08-10  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
558
559         * doc/install.texi (Specific, avr): Fix cross-reference to the
560         main manual to work both for info and HTML versions.
561
562 2001-08-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
563
564         * stmt.c (expand_null_return_1): Remove code to generate simple returns
565         and "use_goto" argument.
566         (expand_null_return, expand_value_return): Update all callers.
567         * function.c (expand_function_end): Remove code to generate simple
568         return.
569         * config/vax/vax.md (epilogue): New expander for function return.
570         * doc/md.texi (epilogue): Remove "if defined".
571
572 2001-08-09  Zack Weinberg  <zackw@stanford.edu>
573
574         * Makefile.in: Partially revert my previous change:
575         put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
576         of the hashtab.o and safe-ctype.o rules.
577
578 2001-08-09  Richard Henderson  <rth@redhat.com>
579
580         * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
581         (USE_COLLECT2): Remove duplicate definition.
582         * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
583         (use_collect2): Remove dead code.
584         * configure.in (use_collect2): Remove will_use_collect2 and
585         maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
586         * configure: Rebuild.
587
588         * target.h (targetm.asm_out.constructor): New.
589         (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
590         * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
591         (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
592         * varasm.c (in_ctors, in_dtors): New.
593         (assemble_constructor, assemble_destructor): Remove.
594         (default_stabs_asm_out_destructor): New.
595         (default_named_section_asm_out_destructor): New.
596         (dtors_section, default_dtor_section_asm_out_destructor): New.
597         (default_stabs_asm_out_constructor): New.
598         (default_named_section_asm_out_constructor): New.
599         (ctors_section, default_ctor_section_asm_out_constructor): New.
600         * output.h: Update declarations.
601         * c-decl.c (c_expand_body): Use target hooks instead of
602         assemble_constructor and assemble_destructor.
603         * profile.c (output_func_start_profiler): Likewise.
604         * objc/objc-act.c (finish_objc): Likewise.
605         (build_module_descriptor): Tidy.  Set TREE_PUBLIC properly
606         for the constructor.
607         * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
608
609         * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
610         (DTORS_SECTION_ASM_OP): Likewise.
611         (__CTOR_LIST__): Use attribute section when possible.
612         (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
613
614         * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
615         ASM_OUTPUT_CONSTRUCTOR.
616
617         * config/darwin.c (machopic_asm_out_constructor): New.
618         (machopic_asm_out_destructor): New.
619         * config/darwin-protos.h: Update declarations.
620         * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
621         (ASM_OUTPUT_DESTRUCTOR): Remove.
622         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
623         * config/nextstep.c (nextstep_asm_out_constructor): New.
624         (nextstep_asm_out_destructor): New.
625         * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
626         (ASM_OUTPUT_DESTRUCTOR): Remove.
627         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
628         * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
629         ASM_OUTPUT_*STRUCTOR.
630         * config/i386/aix386ng.h: Likewise.
631
632         * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
633         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
634         (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
635         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
636         * config/lynx.h: Likewise.
637         * config/netware.h: Likewise.
638         * config/psos.h: Likewise.
639         * config/alpha/alpha-interix.h: Likewise.
640         * config/alpha/elf.h: Likewise.
641         * config/arc/arc.h: Likewise.
642         * config/arm/aof.h: Likewise.
643         * config/arm/coff.h: Likewise.
644         * config/arm/elf.h: Likewise.
645         * config/c4x/c4x.h: Likewise.
646         * config/h8300/h8300.h: Likewise.
647         * config/i386/cygwin.h: Likewise.
648         * config/i386/djgpp.h: Likewise.
649         * config/i386/i386-coff.h: Likewise.
650         * config/i386/i386-interix.h: Likewise.
651         * config/i386/sco5.h: Likewise.
652         * config/i386/vsta.h: Likewise.
653         * config/i386/win32.h: Likewise.
654         * config/i960/i960-coff.h: Likewise.
655         * config/ia64/sysv4.h: Likewise.
656         * config/m68hc11/m68hc11.h: Likewise.
657         * config/m68k/coff.h: Likewise.
658         * config/m68k/mot3300.h: Likewise.
659         * config/m88k/m88k.h: Likewise.
660         * config/mcore/mcore-pe.h: Likewise.
661         * config/mcore/mcore.h: Likewise.
662         * config/mips/elf.h: Likewise.
663         * config/mips/elf64.h: Likewise.
664         * config/mips/iris6.h: Likewise.
665         * config/pa/pa64-hpux.h: Likewise.
666         * config/rs6000/sysv4.h: Likewise.
667         * config/sh/sh.h: Likewise.
668         * config/sparc/litecoff.h: Likewise.
669
670         * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
671         (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
672         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
673         * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
674         (ASM_OUTPUT_DESTRUCTOR): Remove.
675         * config/a29k/a29k.c: Move include of tree.h.
676         * config/a29k/udi.h: Delete file.
677         * config/alpha/alpha.c (vms_asm_out_constructor): New.
678         (vms_asm_out_destructor): New.
679         * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
680         (EXTRA_SECTION_FUNCTIONS): Likewise.
681         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
682         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
683         * config/c4x/c4x.c: Move include of tree.h.
684         * config/clipper/clipper.c (clix_asm_out_constructor): New.
685         (clix_asm_out_destructor): New.
686         * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
687         (ASM_OUTPUT_DESTRUCTOR): Remove.
688         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
689         * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
690         (TARGET_ASM_CONSTRUCTOR): New.
691         * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
692         (sco_asm_out_constructor): New.
693         * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
694         * config/i386/svr3gas.h: Remove stack grows up code.
695         Remove code duplicated from i386/sysv3.h.
696         (TARGET_ASM_CONSTRUCTOR): New.
697         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
698         (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
699         * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
700         (TARGET_ASM_CONSTRUCTOR): New.
701         * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
702         (m68hc11_asm_out_destructor): New.
703         * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
704         (TARGET_ASM_DESTRUCTOR): New.
705         * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
706         * config/m68k/dpx2.h: Properly undef all the bits inherited from
707         config/svr3.h pertaining to section manipulation.
708         * config/m68k/dpx2g.h: Remove #if 0 code.
709         * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
710         * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
711         (ASM_OUTPUT_CONSTRUCTOR): Remove.
712         (TARGET_ASM_CONSTRUCTOR): New.
713         * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
714         (m88k_svr3_asm_out_constructor): New.
715         (m88k_svr3_asm_out_destructor): New.
716         * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
717         (ASM_OUTPUT_DESTRUCTOR): Remove.
718         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
719         * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
720         * config/rs6000/aix.h: Likewise.
721         * config/mips/rtems64.h: Don't undef removed constructor related bits.
722         * config/mips/vxworks.h: Likewise.
723         * config/rs6000/lynx.h: Likewise.
724         * config/sh/elf.h: Likewise.
725         * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
726         (DTORS_SECTION_ASM_OP): New.
727         * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
728         (ASM_OUTPUT_DESTRUCTOR): Remove.
729         * config/sparc/sol2-sld-64.h: Likewise.
730         * config/vax/vax.c (vms_asm_out_constructor): New.
731         (vms_asm_out_destructor): New.
732         * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
733         (ASM_OUTPUT_DESTRUCTOR): Remove.
734         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
735
736         * doc/tm.texi (@node Initialization): Update.
737
738 2001-08-09  Richard Henderson  <rth@redhat.com>
739
740         * config/alpha/crtbegin.asm (__JCR_LIST__): New.
741         (__do_global_dtors_aux): Use gp-relative static data to avoid
742         one dynamic relocation.
743         (__do_frame_setup): Register Java classes.
744         * config/alpha/crtend.asm (__JCR_END__): New.
745
746 2001-08-09  Zack Weinberg  <zackw@stanford.edu>
747
748         * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
749         (CONFIG_H, TCONFIG_H, TM_P_H): Update.
750         (GEN, STAGESTUFF): Add new files.
751         (insn-constants.h, s-constants, tm-preds.h, s-preds,
752         genconstants, genpreds, genconstants.o, genpreds.o): New rules.
753         (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
754         * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
755         as well as insn-codes.h and insn-flags.h in config.h; and no
756         extra headers in tconfig.h and hconfig.h.
757
758         * gencodes.c: Eliminate code to generate predicate declarations
759         or #defines for md-file constants.
760         * genconstants.c, genpreds.c: New files.
761
762         * i386.md: Re-order guard expressions such that TARGET_64BIT
763         comes first, when this permits better optimization.  Add
764         TARGET_64BIT to more x86-64 patterns.  Add comment explaining
765         why this is desirable.
766
767 2001-08-09  Jakub Jelinek  <jakub@redhat.com>
768
769         * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
770         (find_fde_for_dso): Remove.
771         (_Unwind_IteratePhdrCallback): New.
772         (_Unwind_FindTableEntry): Use dl_iterate_phdr.
773         * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
774
775 Thu Aug  9 11:30:20 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
776
777         * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
778         (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
779
780 2001-08-09  Graham Stott  <grahams@redhat.com>
781
782         * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
783         (vis_no_unit): Use it.
784         (visualize_no_unit): Add the insn only if room exists.
785
786 2001-08-09  Graham Stott  <grahams@redhat.com>
787
788         * predict.c (estimate_probability): Replace magic numbers with
789         appropriate enumeration.
790
791 2001-08-09  Graham Stott  <grahams@redhat.com>
792
793         * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
794         parameter.
795         (EXTRACT_FLAGS): Likewise.
796
797 2001-08-09  Aldy Hernandez  <aldyh@redhat.com>
798
799         * config/mips/mips.c    (mips_legitimate_address_p): Check for
800         CONST_INT in last patch.
801
802 2001-08-08  Anthony Green  <green@redhat.com>
803
804         * java/class.c (emit_register_classes): Use assemble_jcr if
805         possible.  Keep the original mechanism as a fallback.
806         * defaults.h (JCR_SECTION_NAME): Define if we have named section
807         and weak symbol support.
808         * crtstuff.c (__JCR_LIST__): Define.
809         (__JCR_END__): Define.
810         (_Jv_RegiserClasses): Define weak symbol if possible.
811         (__do_global_ctors_aux): Register classes for ELF targets with
812         weak symbol support.
813
814 2001-08-08  Kazu Hirata  <kazu@hxi.com>
815
816         * dbxout.c: Fix comment formatting.
817         * dependence.c: Likewise.
818         * df.c: Likewise.
819         * diagnostic.c: Likewise.
820         * dominance.c: Likewise.
821         * doprint.c: Likewise.
822         * dwarf2out.c: Likewise.
823         * dwarfout.c: Likewise.
824         * emit-rtl.c: Likewise.
825         * except.c: Likewise.
826         * explow.c: Likewise.
827         * expmed.c: Likewise.
828         * expr.c: Likewise.
829         * flow.c: Likewise.
830         * fold-const.c: Likewise.
831         * function.c: Likewise.
832
833 2001-08-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
834
835         * global.c (retry_global_alloc): Avoid shadowing allocno.
836
837 2001-08-08  Mark Mitchell  <mark@codesourcery.com>
838
839         * except.c (remove_fixup_regions): Fix typo.
840
841 2001-08-08  Jan van Male <jan.vanmale@fenk.wau.nl>
842
843         * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
844         unsigned HOST_WIDE_INT to avoid warning.
845         * final.c (final): Cast INSN_UID to unsigned to avoid warning.
846         * flow.c (set_block_for_new_insns): Likewise.
847
848 Wed Aug  8 21:08:14 CEST 2001  Jan Hubicka  <jh@suse.cz>
849
850         * sibcall.c (return_value_pseudo): New static variable.
851         (skip_copy_to_return_value): Handle return_value_pseudo.
852         (call_ends_block_p): Ensure that return_value_pseudo is set.
853         (optimize_sibling_and_tail_recursive_call): Discover the
854         load of pseudo return value in alternate exit block.
855
856 Wed Aug  8 21:06:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
857
858         * calls.c (ECF_ALWAYS_RETURN): New constant.
859         (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
860         (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
861         (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
862         * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
863         * rtl.c (reg_note_name): New name.
864         * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
865
866 2001-08-07  Aldy Hernandez  <aldyh@redhat.com>
867
868         * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
869
870 2001-08-08  Jason Merrill  <jason_merrill@redhat.com>
871
872         * alias.c (get_alias_set): Return a previously calculated
873         alias set for a VAR_DECL.
874         * function.c (gen_mem_addressof): Calculate the alias set before
875         touching the RTL.
876
877 Wed Aug  8 18:44:37 CEST 2001  Jan Hubicka  <jh@suse.cz>
878
879         * predict.def: Set hitrates according our experimental run.
880
881 Wed Aug  8 18:01:58 CEST 2001  Jan Hubicka  <jh@suse.cz>
882
883         * i386.h (HARD_REGNO_RENAME_OK): New macro.
884
885 2001-08-08  H.J. Lu <hjl@gnu.org>
886
887         * config/mips/mips.c (mips_unique_section): New. Copied from
888         config/mips/elf.h.
889
890         * config/mips/mips-protos.h (mips_unique_section): New
891         prototype.
892
893         * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
894
895         * config/mips/little.h: New. Generic little endian mips
896         targets. Only mips*-*-linux* is converted to use it so far.
897
898         * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
899         (WCHAR_TYPE): Defined
900         (WCHAR_TYPE_SIZE): Likewise.
901         (INIT_SUBTARGET_OPTABS): Likewise.
902         (BSS_SECTION_ASM_OP): Likewise.
903         (SBSS_SECTION_ASM_OP): Likewise.
904         (ASM_OUTPUT_ALIGNED_BSS): Likewise.
905         (ASM_DECLARE_OBJECT_NAME): Likewise.
906         (UNIQUE_SECTION): Likewise.
907         (EXTRA_SECTIONS): Likewise.
908         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
909         (ASM_OUTPUT_DESTRUCTOR): Likewise.
910         (ASM_OUTPUT_DEF): Likewise.
911         (HANDLE_SYSV_PRAGMA): Removed.
912         (NO_IMPLICIT_EXTERN_C): Likewise.
913         (TARGET_MEM_FUNCTIONS): Likewise.
914         (STARTFILE_SPEC): Likewise.
915         (ENDFILE_SPEC): Likewise.
916         (LIB_SPEC): Likewise.
917         (INVOKE__main): Likewise.
918         (CTOR_LIST_BEGIN): Likewise.
919         (CTOR_LIST_END): Likewise.
920         (DTOR_LIST_BEGIN): Likewise.
921         (DTOR_LIST_END): Likewise.
922         (SET_ASM_OP): Likewise.
923         (ASM_OUTPUT_SOURCE_LINE): Likewise.
924         (ASM_OUTPUT_DEF): Likewise.
925         (ASM_OUTPUT_IDENT): Likewise.
926
927         * config/mips/mips.h (ASM_SPEC): Undefine before define.
928         (CPLUSPLUS_CPP_SPEC): Likewise.
929         (ASM_APP_ON) Redefine only if not defined.
930         (ASM_APP_OFF): Likewise.
931         (ASM_OUTPUT_SOURCE_LINE): Likewise.
932         (ASM_OUTPUT_IDENT): Likewise.
933
934         * config.gcc: Update tm_file for Linux/mips.
935
936 2001-08-08  Bernd Schmidt  <bernds@redhat.com>
937
938         * cselib.c (cselib_record_sets): If insn is predicated, turn
939         sources into IF_THEN_ELSEs.
940
941         * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
942         Turn into define_insn_and_split.
943
944         * sched-deps.c: Include "cselib.h".
945         (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
946         Use cselib to turn memory addresses into VALUEs.
947         (sched_analyze): Call cselib_init/cselib_finish if necessary.
948         * sched-int.h (struct sched_info): New member USE_CSELIB.
949         * sched-ebb.c (ebb_sched_info): Initialize it.
950         * sched-rgn.c (rgn_sched_info): Likewise.
951         * Makefile.in (sched-deps.o): Update dependencies.
952
953         * cselib.h (cselib_subst_to_values): Declare.
954         * cselib.c (cselib_subst_to_values): No longer static.  Allow MEMs
955         that have no value and autoincs to be handled by generating a new
956         dummy value.
957
958 2001-08-08  Graham Stott  <grahams@redhat.com>
959
960         * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
961         within fixed length SEQUENCE.
962
963 2001-08-08  Graham Stott  <grahams@redhat.com>
964
965         * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
966         (diagnostic_prefixing_rule): Likewise.
967         (diagnostic_line_cutoff): Likewise.
968         (diagnostic_kind_count): Likewise.
969
970 2001-08-08  Graham Stott  <grahams@redhat.com>
971
972         * alias.c (find_base_decl): Delete redundent assignment.
973
974 2001-08-08  Graham Stott  <grahams@redhat.com>
975
976         * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
977         (abs): Uppercase and paranthesize macro parameter.
978         (MEM_DEPENDENCY): Add whitespace.
979
980 2001-08-08  Graham Stott  <grahams@redhat.com>
981
982         * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
983         failure check for CONST_INT
984
985 2001-08-08  Graham Stott  <grahams@redhat.com>
986
987         * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
988         (libcall_dead_p): Likewise.
989
990         (mark_used_regs): Constify fmt.
991         (find_use_as_address): Likewise.
992
993 2001-08-08  Graham Stott  <grahams@redhat.com>
994
995         * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
996          parameter.
997
998 2001-08-08  Graham Stott  <grahams@redhat.com>
999
1000         * combine.c (combine_simplify_rtx): Update comment and
1001         remove erroneous test.
1002
1003 2001-08-07  Neil Booth  <neil@daikokuya.demon.co.uk>
1004
1005         * cppinit.c (cpp_finish): Pop the final buffer without comment.
1006         * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
1007         take care to avoid multiple no-newline at EOF warnings in that
1008         case.
1009
1010 Tue Aug  7 22:18:06 CEST 2001  Jan Hubicka  <jh@suse.cz>
1011
1012         * calls.c (expand_call): Do not emit INSN_SETJMP note.
1013         (emit_library_call_value_1): Likewise.
1014         (emit_call_1): Emit REG_SETJMP note.
1015         * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
1016         of INSN_SETJMP
1017         * cselib.c (cselib_process_insn): Likewise.
1018         * flow.c (propagate_block): Likewise.
1019         * loop.c (find_and_verify_loops): Likewise.
1020         * reload.c (find_equiv_regs): Likewise.
1021         * reload1.c (reload): Likewise.
1022         * resource.c (mark_referenced_resources,
1023         mark_set_resources): Likewise.
1024         * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
1025         * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
1026         * haifa-sched.c (unlink_other_notes): Likewise.
1027         (reemit_notes): Likewise.
1028         * sched-ebb.c (sched_ebb): Likewise.
1029         * sched-rgc.c (sched_region): Likewise.
1030         * rtl.c (note_insn_name): Likewise.
1031         (reg_note_name): Add REG_SETJMP
1032         * rtl.h (reg_note): Add REG_SETJMP.
1033         (insn_note): Remove NOTE_INSN_SETJMP.
1034
1035         * profile.c (branch_prob): Add fake edges for setjmp.
1036
1037 2001-08-07  Daniel Jacobowitz  <drow@mvista.com>
1038
1039         * config.gcc: Quote target_cpu_default2 correctly for
1040         powerpc*-*-* targets.
1041
1042 2001-08-07  Neil Booth  <neil@daikokuya.demon.co.uk>
1043
1044         * cpplib.h, line-map.h: Update comments.
1045         * cppmain.c (printer_init): Move inline.
1046         (maybe_print_line, print_line): Take a map pointer.
1047         (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
1048         (cb_file_change): Don't use prior value of print.map.
1049
1050 2001-08-07  David Edelsohn  <edelsohn@gnu.org>
1051
1052         * doc/install.texi: Document fine-grained multilib configuration.
1053
1054 Tue Aug  7 16:52:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
1055
1056         * rtlanal.c (find_first_parameter_load): Call note_stores
1057         only on the instructions.
1058
1059 Tue Aug  7 14:56:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
1060
1061         * alias.c (nonlocal_mentioned_p):
1062         Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
1063         * calls.c (emit_call_1): Likewise.
1064         * cse.c (cse_insn, invalidate_skipped_block): Likewise.
1065         * cselib.c (cselib_process_insn): Likewise.
1066         * df.c (df_insns_modify): Likewise.
1067         * flow.c (need_fake_edge_p): Likewise.
1068         (propagate_one_insn): Likewise.
1069         * haifa-sched.c (reemit_notes): Likewise.
1070         * integrate.c (copy_insn_list): Likewise.
1071         * jump.c (delete_prior_computation): Likewise.
1072         * local-alloc.c (validate_equiv_mem): Likewise.
1073         * loop.c (scan_loop): Likewise.
1074         * predict.c (estimate_probability): Likewise.
1075         * reload.c (reload): Likewise.
1076         * sched-deps (sched_analyze): Likewise.
1077         * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
1078         * gcse.c (compute_hash_table): Likewise.
1079         (mark_call): Likewise.
1080         (store_killed_in_insn): Likewise.
1081
1082 2001-08-07  Jason Merrill  <jason_merrill@redhat.com>
1083
1084         * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
1085
1086 2001-08-06  Richard Henderson  <rth@redhat.com>
1087
1088         * varasm.c (assemble_gc_entry): Remove.
1089         * output.h: Likewise.
1090
1091 2001-08-06  Richard Henderson  <rth@redhat.com>
1092
1093         * varasm.c (assemble_constructor): Take a symbol_ref and a
1094         priority instead of a bare string.  Move priority handling
1095         here from cp/decl2.c.
1096         * output.h: Update decls.
1097
1098         * c-decl.c (c_expand_body): Update calls to assemble_constructor
1099         and assemble_destructor.
1100         * profile.c (output_func_start_profiler): Likewise.
1101         * objc/objc-act.c (finish_objc): Likewise.
1102         (build_module_descriptor): Return the symbol not the symbol name.
1103
1104 2001-08-06  David Edelsohn  <edelsohn@gnu.org>
1105
1106         * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
1107         * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
1108         ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
1109         * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
1110         * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
1111         * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
1112
1113 2001-08-06  Neil Booth  <neil@daikokuya.demon.co.uk>
1114
1115         * cpperror.c (print_containing_files): Moved to line-map.c.
1116         (print_location): line-map.c handles re-listing or otherwise.
1117         * cpphash.h (struct lexer_state): Remove next_bol.
1118         (struct cpp_buffer): Remove include_stack_listed.
1119         * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
1120         Remove faked buffer handling.
1121         (_cpp_do_file_change): Tweak.
1122         * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
1123         * cppmain.c (struct printer): Remove filename.
1124         (print_line, cb_file_change): Update accordingly.
1125         * line-map.c: Include intl.h.
1126         (init_line_maps): Initialize last_listed.
1127         (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
1128         (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
1129         (print_containing_files): New.
1130         * line-map.h (struct line_maps): New member last_listed.
1131         (print_containing_files, INCLUDED_FROM): New.
1132         * Makefile.in: Update.
1133         * po/POTFILES.in: Add line-map.c.
1134
1135 2001-08-06  Richard Henderson  <rth@redhat.com>
1136
1137         * except.c (convert_from_eh_region_ranges_1): Never mark
1138         USE or CLOBBER insns as throwing.
1139
1140         * expr.c (store_constructor): Don't clobber memory targets.
1141
1142 2001-08-06  Andreas Jaeger  <aj@suse.de>
1143
1144         * profile.c (branch_prob): Remove unused variable insn.
1145
1146         * Makefile.in (local-alloc.o): Add dependency on except.h.
1147
1148         * local-alloc.c: Include except.h for can_throw_internal prototype.
1149
1150 2001-08-06  Richard Henderson  <rth@redhat.com>
1151
1152         * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
1153         * function.c (expand_main_function): Implement it.
1154         * doc/tm.texi: Document it.
1155
1156 2001-08-06  Stan Shebs  <shebs@apple.com>
1157
1158         * doc/install.texi: Document powerpc-*-darwin* details.
1159
1160 2001-08-06  Daniel Berlin  <dan@cgsoftware.com>
1161
1162         * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
1163         (ASM_CPU_SPEC): Move back to rs6000.h
1164         #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
1165
1166         * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
1167
1168         * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
1169         readded.
1170
1171         * config/rs6000/linux64.h: Ditto.
1172
1173         * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
1174         to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
1175         nothing.
1176
1177         Remove accidently readded definitions of FUNCTION_PROLOGUE,
1178         FUNCTION_EPILOGUE,  ASM_OPEN_PAREN, ASM_CLOSE_PAREN
1179
1180         * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
1181         to rs6000.h
1182
1183 2001-08-05  Richard Henderson  <rth@redhat.com>
1184
1185         * local-alloc.c (update_equiv_regs): Do not move insns that
1186         can throw.
1187
1188 2001-08-05  Jan Hubicka  <jh@suse.cz>
1189
1190         * Makefile.in (reload1.o): Add dedendancy on except.h
1191         * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
1192         prototypes.
1193         * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
1194         indicating wehther edges has been cleaned up.
1195         * reload1.c: Inlucde except.h
1196         (fixup_abnormal_edges): Accept deleted insns.
1197         * toplev.c (rest_of_compilation): Purge dead edges unconditionally
1198         after combine.
1199
1200 2001-08-06  Neil Booth  <neil@daikokuya.demon.co.uk>
1201
1202         * cpplib.c (do_line): Correct line number after pop_buffer.
1203
1204 2001-08-05  Neil Booth  <neil@daikokuya.demon.co.uk>
1205
1206         PR preprocessor/3824
1207         * line-map.c: Update comments.
1208         * line-map.h: Update comments.
1209         * tradcif.y: Don't consider large numbers unsigned.
1210
1211 2001-08-05  Neil Booth  <neil@daikokuya.demon.co.uk>
1212
1213         PR preprocessor/3081
1214         * c-lex.c (map): New.
1215         (cb_file_change): Update map and use it.
1216         (cb_def_pragma, cb_define, cb_undef): Use map and line.
1217         (c_lex): Update to use map.
1218         * cpperror.c (print_location): Move to using logical line numbers.
1219         * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
1220         (cpp_make_system_header): Similarly.
1221         (_cpp_execute_include): Stop line numbering hacks.  Store the
1222         line we will return to.
1223         * cpphash.h (CPP_BUF_LINE): Remove.
1224         (struct cpp_buffer): Remove lineno and pseudo_newlines.
1225         Add map and return_to_line.
1226         (_cpp_do_file_change): Update.
1227         * cppinit.c (cpp_start_read): Update line kludge.
1228         * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
1229         (trigraph_ok): Use logical line numbers for diagnostics.
1230         (skip_block_comment): Likewise.
1231         (skip_whitespace): Likewise.
1232         (skip_line_comment): Use pfile->line instead.
1233         (_cpp_lex_token): Update to use logical line numbering exclusively.
1234         Handle BOL locally.  Accept new lines in directives, but keep
1235         pfile->line decremented.  Diagnostics use logical lines.  Update
1236         directive handling.
1237         * cpplib.c (SEEN_EOL): New.
1238         (skip_rest_of_line, check_eol): Use it.
1239         (end_directive): Increase line number when accepting the newline
1240         at the end of a directive.
1241         (run_directive): Simplify.
1242         (do_line): Bad LC_LEAVEs become LC_RENAMEs.  Update.
1243         (_cpp_do_file_change): Update to take buffer line number as an
1244         argument, and store the current map in the cpp_reader.  Remove
1245         line number kludges.
1246         (_cpp_do__Pragma): Restore output position after a _Pragma.
1247         (cpp_push_buffer): Don't set output line or lineno.
1248         (_cpp_pop_buffer): Transfer more info from a faked buffer.
1249         Remove line kludge.  Set output_line.
1250         * cppmacro.c (builtin_macro): Update handling of __LINE__.
1251         (parse_arg): Use logical lines.
1252         (save_lookahead_token): Save EOFs too now.
1253         * cppmain.c (struct printer): Fix comments.
1254         (printer_init): Simplify, let caller do errors.
1255         (scan_translation_unit, check_multiline_token, dump_macro): Update.
1256         (maybe_print_line): Simplify.
1257         (print_line): Don't print a linemarker if -P.
1258         (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
1259         (cb_file_change): Simplify.
1260         * line-map.h (LAST_SOURCE_LINE): Fix.
1261         (CURRENT_LINE_MAP): New.
1262
1263 2001-08-05  Bernd Schmidt  <bernds@redhat.com>
1264
1265         * doloop.c (doloop_modify_runtime): Properly compute number of
1266         iterations if loop was unrolled.
1267
1268         * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
1269         if their CSELIB_VAL_PTRs are.
1270
1271         * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
1272         (setup_spill_pointers): Initialize it.
1273         (spill_restore_mem): Set it.
1274         (do_spill, do_restore): Use it to add REG_INC note.
1275         * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
1276
1277         * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
1278         asms if other insns are available.
1279
1280         * config/ia64/ia64.c (condop_operator): New predicate.
1281         * config/ia64/ia64.h (PREDICATE_CODES): Add it.
1282         * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
1283         patterns.
1284
1285         * expr.c (expand_expr, case COND_EXPR): Prefer working with a
1286         temporary register than directly using a MEM.
1287
1288 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
1289
1290         * config/sh/sh.c (sh_asm_named_section): Fix typo in align
1291         parameter in last change.
1292
1293 2001-08-04  Zack Weinberg  <zackw@panix.com>
1294
1295         * sparc.md: Don't use #if inside C test expression.
1296
1297 2001-08-04  Richard Henderson  <rth@redhat.com>
1298
1299         * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
1300
1301 2001-08-04  Neil Booth  <neil@daikokuya.demon.co.uk>
1302
1303         * cpphash.h (struct cpp_reader): New member directive_line.
1304         * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
1305         * cpplib.c (do_define, do_undef, do_ident, do_include_common,
1306         do_pragma): Pass line to callbacks.
1307         (start_directive): Record line of directive.
1308         * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
1309         cb_include): Similarly.
1310         * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
1311         Similarly.
1312
1313 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
1314
1315         * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
1316         comment.
1317
1318 Sat Aug  4 13:51:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
1319
1320         * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
1321
1322         * reload1.c (fixup_abnormal_edges): New static function.
1323         (reload): Use it.
1324
1325         * flow.c (need_fake_edge_p): New function.
1326         (flow_call_edges_add): Fix handling of noreturn and sibbling calls;
1327         avoid call insn to be very last insn in the insn stream.
1328
1329         * profile.c (branch_prob): Call flow_call_edges_add instead of
1330         doing that by hand; cleanup cfg to re-merge basic blocks once
1331         we are done.
1332
1333 2001-08-04  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1334
1335         * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
1336         are also on line-map.h.
1337         * cppfiles.c (stack_include_file): Update.
1338         * cpphash.h (struct cpp_buffer): New member return_at_eof.
1339         (_cpp_pop_buffer): New.
1340         * cppinit.c (cpp_destroy, cpp_finish): Update.
1341         (do_includes): Mark each buffer to return at EOF.
1342         * cpplex.c (_cpp_lex_token): Pop buffers at EOF.  Continue or
1343         return as requested.
1344         * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
1345         (cpp_pop_buffer): Rename _cpp_pop_buffer.  Stop skipping.
1346         * cpplib.h (cpp_pop_buffer): Remove.
1347         (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
1348         * cppmacro.c (cpp_scan_buffer_nooutput): Similarly.  No need to pop
1349         buffers.
1350         * cppmain.c (scan_buffer): Rename scan_translation_unit.  No need
1351         to pop buffers.
1352         (do_preprocessing): Update.
1353         * fix-header.c (read_scan_file): Update.  No need to pop buffers.
1354         * c-parse.in (_yylex): Similarly.
1355         * scan-decls.c (scan_decls): Similarly.
1356         * line-map.h: Update comments.
1357
1358         * objc/Make-lang.in (objc-act.o): Update dependencies.
1359
1360 2001-08-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1361
1362         * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
1363         and soft register for operand 0.
1364         ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
1365
1366 2001-08-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1367
1368         * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
1369         register for operand 0.
1370         ("bitcmpqi_z_used"): Allow memory for operand 0.
1371         (split "bitcmpqi"): New split to handle address reg as operand 1.
1372
1373 2001-08-04  Andreas Jaeger  <aj@suse.de>
1374
1375         * gcse.c: Revert Daniel's last patch.
1376
1377 2001-08-03  Zack Weinberg  <zackw@stanford.edu>
1378
1379         * sparc-protos.h: Add prototypes for fp_zero_operand and
1380         reg_or_0_operand.
1381         * sh-protos.h: Add prototype for fpul_operand.
1382
1383 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
1384
1385         * doc/extend.texi (Other Builtins): Fix typo in last change.
1386
1387 2001-08-03  Richard Henderson  <rth@redhat.com>
1388
1389         * target.h (gcc_target): Add asm_out.named_section,
1390         section_type_flags, have_named_sections.
1391         * target-def.h (TARGET_ASM_NAMED_SECTION): New.
1392         (TARGET_HAVE_NAMED_SECTIONS): New.
1393         (TARGET_SECTION_TYPE_FLAGS): New.
1394
1395         * Makefile.in (toplev.o): Depend on TARGET_H.
1396         (varasm.o, dbxout.o): Likewise.
1397         * c-common.c (decl_attributes): Check targetm.have_named_sections
1398         instead of ifdef ASM_OUTPUT_SECTION_NAME.
1399         * dbxout.c (dbxout_function_decl): Likewise.
1400         (dbxout_function_end): Likewise.
1401         * toplev.c (compile_file): Likewise.
1402         * varasm.c (exception_section): Likewise.
1403         * cp/decl2.c (finish_objects): Likewise.
1404
1405         * defaults.h (EH_FRAME_SECTION): Remove.
1406         (EH_FRAME_SECTION_ASM_OP): Remove.
1407         (EH_FRAME_SECTION_NAME): New.
1408         (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
1409         (UNIQUE_SECTION_P): Remove.
1410         * dwarf2out.c (SECTION_FORMAT): Remove.
1411         (ASM_OUTPUT_SECTION): Remove.
1412         (output_call_frame_info): Use named_section_flags.
1413         (output_comp_unit, dwarf2out_start_source_file): Likewise.
1414         (dwarf2out_end_source_file, dwarf2out_define): Likewise.
1415         (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
1416         * varasm.c (in_eh_frame, eh_frame_section): Remove.
1417         (named_section_flags): New.
1418         (named_section): Use it and targetm.section_type_flags.
1419         (resolve_unique_section): New.
1420         (assemble_start_function): Use it.
1421         (asm_emit_uninitialised, assemble_variable): Likewise.
1422         (default_section_type_flags): New.
1423         (default_no_named_section, default_elf_asm_named_section): New.
1424         (default_coff_asm_named_section, default_pe_asm_named_section): New.
1425         * output.h: Update varasm.c decls.
1426         (SECTION_*): New flags.
1427
1428         * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
1429         (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
1430
1431         * config/elfos.h (UNIQUE_SECTION_P): Remove.
1432         * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
1433         * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
1434         * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
1435         * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
1436         * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
1437         * config/mips/elf.h, config/mips/elf64.h: Likewise.
1438         * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
1439         * config/pa/pa64-hpux.h,
1440
1441         * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
1442         (TARGET_ASM_NAMED_SECTION): New.
1443         * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
1444         * config/alpha/vms.h, config/arm/coff.h: Likewise.
1445         * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
1446         * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
1447         * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
1448         * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
1449         * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
1450         * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
1451         * config/i386/sco5.h, config/i386/win32.h: Likewise.
1452         * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
1453         * config/mcore/mcore.h, config/mips/elf.h: Likewise.
1454         * config/mips/elf64.h, config/mips/iris6.h: Likewise.
1455         * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
1456         * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
1457         * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
1458         * config/sparc/sysv4.h: Likewise.
1459
1460         * config/nextstep.h: Error until named sections implemented.
1461
1462         * config/a29k/a29k.c (a29k_asm_named_section): New.
1463         * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
1464         (vms_section_type_flags, vms_asm_named_section): New.
1465         * config/arm/arm.c (arm_elf_asm_named_section): New.
1466         * config/avr/avr.c (asm_output_section_name): Remove.
1467         * config/avr/avr-protos.h: Update.
1468         * config/c4x/c4x.c (c4x_asm_named_section): New.
1469         * config/h8300/h8300.c (h8300_asm_named_section): New.
1470         * config/i386/i386.c (sco_asm_named_section): New.
1471         * config/i386/winnt.c (SECTION_PE_SHARED): New.
1472         (i386_pe_section_type_flags): New.
1473         (i386_pe_asm_named_section): New.
1474         * config/i386/i386-protos.h: Update.
1475         * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
1476         * config/mcore/mcore.c (mcore_asm_named_section): New.
1477         * config/mips/mips.c (iris6_asm_named_section): New.
1478         * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
1479         instead of UNIQUE_SECTION_P.
1480         * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
1481         (xcoff_asm_named_section): New.
1482         * config/sh/sh.c (sh_asm_named_section): New.
1483         * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
1484
1485         * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
1486         * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
1487         (EH_FRAME_SECTION_NAME): New.
1488         (EXCEPTION_SECTION): New.
1489         * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
1490         (DEBUG_*_SECTION): Remove.
1491         * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
1492         * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
1493         (EH_FRAME_SECTION_ASM_OP): Remove.
1494
1495         * doc/tm.texi (UNIQUE_SECTION_P): Remove.
1496         (ASM_OUTPUT_SECTION_NAME): Remove.
1497         (TARGET_ASM_NAMED_SECTION): New.
1498         (TARGET_HAVE_NAMED_SECTIONS): New.
1499         (TARGET_SECTION_TYPE_FLAGS): New.
1500         (EH_FRAME_SECTION_ASM_OP): Remove.
1501         (EH_FRAME_SECTION_NAME): New.
1502
1503 2001-08-03  Zack Weinberg  <zackw@stanford.edu>
1504
1505         * builtins.c (fold_builtin_constant_p): Return integer_zero_node
1506         for complex expressions when cfun == 0.
1507         * doc/extend.texi: Document that __builtin_constant_p can be
1508         used in data initializers as well as functions.
1509
1510 2001-08-03  Alexandre Oliva  <aoliva@redhat.com>
1511
1512         * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
1513         variable I locally, instead of expecting a declaration in the
1514         calling context.
1515
1516 2001-08-03  Richard Henderson  <rth@redhat.com>
1517
1518         * except.c (collect_one_action_chain): Add an explicit cleanup
1519         action if regions surrounding a catch were encoded entirely
1520         within the call-site entry.
1521
1522 2001-08-03  Richard Henderson  <rth@redhat.com>
1523
1524         * dbxout.c (dbxout_symbol_location): Flatten subregs first;
1525         don't take REGNO of a non-register.
1526
1527 2001-08-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1528
1529         * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
1530         __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
1531         (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
1532         (__gthread_mutex_init_function): New function for mutex initialization.
1533
1534 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
1535
1536         * Makefile.in: Revert screwed up commit.
1537
1538 2001-08-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1539
1540         * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
1541         * config/m68hc11/larith.asm (_exit): Split in several sub-sections
1542         merged by linker script to get a final _exit().
1543         (__do_global_dtors): New for destructor handling in specific exit
1544         section.
1545         (__do_global_ctors): New for constructors in specific install section.
1546         (__map_data_section): Map data sections before running constructors.
1547         * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
1548         (CTORS_SECTION_ASM_OP): Define to put in readonly section.
1549         (DTORS_SECTION_ASM_OP): Likewise.
1550         (CTORS_SECTION_FUNCTION): Define to force a reference to
1551         __do_global_ctors.
1552         (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
1553
1554 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
1555
1556         * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
1557
1558         * Makefile.in: Add df.h to gcse.c dependencies.
1559
1560 2001-08-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1561
1562         * varasm.c (output_constant_def_contents): Use for the length of a
1563         string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
1564         depending on which is larger.
1565
1566 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
1567
1568         * gcse.c: Include df.h for use as a dataflow analyzer.
1569         Remove regvec.
1570         Declaration of reg_set_info: gone.
1571         New df_analyzer variable used by store motion.
1572         (reg_set_info): Deleted.
1573         (mark_mem_regs): New function, analyze regs used by a mem.
1574         (store_ops_ok): Use dataflow analyzer results to determine if
1575         necessary regs are changed in the block.
1576         (find_moveable_store): Remove check for symbol ref, we can handle
1577         much more complex expressions now.
1578         (compute_store_table): Remove most of the code, it's unnecessary
1579         now that the dataflow analyzer records the info for us.
1580         (store_killed_after): Add parameter to say whether to do the
1581         store_ops_okay test, used to speed up testing when we already know
1582         the answer, and just want to know if the store itself was killed.
1583         (build_store_vector): Largely rewritten to calculate the various
1584         vectors properly, and somewhat optimized.
1585         (store_motion): Init the df_analyzer, get REG_DEF chains.
1586         Also handle trapping expressions (since mems almost always trap)
1587         (simple_mem): Redefine what a simple mem is.
1588
1589 2001-08-03  DJ Delorie  <dj@redhat.com>
1590
1591         * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
1592         set from a constant part of the condition.
1593
1594 2001-08-01  Andrew Cagney  <ac131313@redhat.com>
1595
1596         * mkdeps.c (deps_add_default_target): Make local variable
1597         ``start'' a const char pointer.
1598         * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
1599
1600 2001-08-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1601
1602         * doc/install.texi (Configuration): Fix markup.
1603         (Specific, i?86-*-udk): Likewise.
1604         (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
1605         --with-gnu-ld.
1606         Document --enable-threads and --enable-libgcj status.
1607         (Specific, mips-sgi-irix*): Canonicalize triples.
1608         (Specific, mips-sgi-irix5): Warn about problems with this config.
1609         Mention required GNU as patch.
1610         Native assembler problems are fixed.
1611         (Specific, mips-sgi-irix6): Update O32 ABI support status.
1612         Document --enable-threads and --enable-libgcj status.
1613
1614 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
1615
1616         * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
1617         of mkinstalldirs.
1618
1619 2001-08-03  Richard Henderson  <rth@redhat.com>
1620
1621         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
1622         constant data.
1623
1624 2001-08-03  Richard Henderson  <rth@redhat.com>
1625
1626         * rtlanal.c (find_first_parameter_load): Stop if we
1627         reach a CODE_LABEL at BOUNDARY.
1628
1629 2001-08-03  Richard Henderson  <rth@redhat.com>
1630
1631         * config/alpha/alpha.md (force_movdi): New insn.
1632         * config/alpha/alpha.c (alpha_expand_prologue): Use it.
1633         Tweek FRP marking of VMS prologue insns.
1634         * config/alpha/vms.h (EPILOGUE_USES): New.
1635
1636 2001-08-02  Richard Henderson  <rth@redhat.com>
1637
1638         * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
1639
1640 2001-08-02  Lars Brinkhoff  <lars@nocrew.org>
1641
1642         * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
1643         simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
1644         config/convex/convex.h, config/d30v/d30v.c,
1645         config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
1646         config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
1647         config/mips/mips.h, config/mn10200/mn10200.h,
1648         config/mn10300/mn10300.h, config/pdp11/pdp11.md,
1649         config/v850/v850.h, config/vax/openbsd.h,
1650         config/vax/openbsd1.h, config/vax/ultrix.h,
1651         config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
1652         config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
1653         cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
1654         doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
1655         doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
1656         in comments and documentation.
1657
1658 2001-08-03  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1659
1660         * line-map.c: New.
1661         * line-map.h: New.
1662         * Makefile.in (line-map.o): New.
1663         (LIBCPP_OBJS, LIBCPP_DEPS): Update.
1664         * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
1665         * cpperror.c (print_containing_files): Similarly.
1666         (print_location): Update.  Don't output a space before _Pragma.
1667         * cppfiles.c (stack_include_file): Set to line 1 immediately.
1668         (stack_include_filee, cpp_make_system_header): Update.
1669         (_cpp_execute_include): Get logical line number right for calling
1670         as-yet-unterminated #include.
1671         * cpphash.h (struct cpp_reader): Add line_maps.
1672         (_cpp_do_file_change): Update.
1673         * cppinit.c (cpp_create_reader): Initialize line maps.
1674         (cpp_destroy): Destroy line maps.
1675         (cpp_start_read): Get logical line number right.
1676         * cpplex.c (parse_string): Only warn once for multi-line strings.
1677         Use boolean variable for null warning.
1678         * cpplib.c (_cpp_handle_directive): End the directive if it isn't
1679         already.
1680         (do_include_common): End the directive early.
1681         (do_line): Don't warn about out-of-range lines in preprocessed
1682         source.  Update.  Remove unused variables.
1683         (_cpp_do_file_change): Update for new line mapping.
1684         (pragma_cb): New typedef.
1685         (cpp_register_pragma): Stop looking ahead before calling the
1686         handler.  Clean up.
1687         (do_pragma_system_header): End directive early.
1688         (cpp_get_line_maps): New.
1689         (cpp_pop_buffer): Fudge logical line.  Update.
1690         * cpplib.h: Include line-map.h
1691         (enum cpp_fc_reason): Remove.
1692         (struct cpp_file_change): Update.
1693         (cpp_get_line_maps): New.
1694         * cppmain.c (struct_printer): New member map.
1695         (cb_file_change): Update for new mappings.
1696         * fix-header.c (cb_file_change): Similarly.
1697
1698 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
1699
1700         * Makefile.in (libgcc.mk): Define mkinstalldirs.
1701         * mklibgcc.in: Use mkinstalldirs instead of mkdir.
1702
1703 2001-08-02  Lars Brinkhoff  <lars@nocrew.org>
1704
1705         * config/vax/vax.c: include expr.h.
1706
1707 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
1708
1709         * Makefile.in ($(srcdir)/configure): Only rebuild in
1710         maintainer mode.
1711         ($(srcdir)/config.in): Only define in maintainer mode.
1712         ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
1713
1714 2001-08-02  David Edelsohn  <edelsohn@gnu.org>
1715
1716         * doc/install.texi (Install GCC: Binaries): Update Bull info.
1717
1718 2001-08-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1719
1720         * gcc.c (set_collect_gcc_options): New function, split out from
1721         main.
1722         Ignore elided switches.
1723         (do_spec_1): Invoke before executing command.
1724         (set_input): Export.
1725         Move declaration ...
1726         * gcc.h (set_input): ... here.
1727         * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
1728         file.
1729
1730 2001-08-02  Nathan Sidwell  <nathan@codesourcery.com>
1731
1732         Kill -fhonor-std.
1733         * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
1734         interaction.
1735         * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
1736
1737 2001-08-02  Richard Sandiford  <rsandifo@redhat.com>
1738
1739         * mips.md (movdicc): Make conditional on TARGET_64BIT.  Likewise
1740         for the unnamed instructions it expands to.
1741
1742 2001-08-02  Richard Henderson  <rth@redhat.com>
1743
1744         * regclass.c (call_really_used_regs): Conditionally define.
1745         (init_reg_sets_1): Don't use it if not defined.
1746         (fix_register): Similarly, don't set it.
1747
1748 2001-08-01  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1749
1750         * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
1751         Correct comment that had been missed in the previous change.
1752
1753 2001-08-01  Stan Shebs  <shebs@apple.com>
1754
1755         * config/darwin.c (machopic_stub_name): Try matching by name.
1756         (update_stubs): New function.
1757         (darwin_encode_section_info):  Call it and update_non_lazy_ptrs
1758         unconditionally.
1759
1760 2001-08-01  Richard Henderson  <rth@redhat.com>
1761
1762         * except.c (output_function_exception_table): Use assemble_align.
1763         * varasm.c (assemble_eh_label): Remove.
1764         (assemble_eh_align, assemble_eh_integer): Remove.
1765
1766 2001-08-01  Robert Lipe  <robertl@caldera.com>
1767
1768         * dwarfout.c: Remove reference to README.DWARF.
1769
1770 2001-08-01  Andrew MacLeod  <amacleod@redhat.com>
1771
1772         * regclass.c (call_really_used_regs): New array for registers which
1773         are actually used by a call.
1774         (init_reg_sets_1): Initialize regs_invalidated_by_call with the
1775         new array.
1776         (fix_register): Set call_really_used too.
1777         * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
1778         * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
1779
1780 2001-08-01  Richard Henderson  <rth@redhat.com>
1781
1782         * read-rtl.c (read_name): Consider \r whitespace.
1783
1784 2001-07-11  Andrew Cagney  <ac131313@redhat.com>
1785
1786         * config.gcc: Recognize powerpc-*-netbsd*.
1787
1788         * doc/install.texi (Host/target specific installation notes for
1789         GCC): Mention powerpc-*-netbsd*.
1790
1791         * config/rs6000/netbsd.h: New file.
1792         (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
1793         (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
1794         (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
1795         (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
1796         (TARGET_VERSION): Redefine.
1797
1798         * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
1799         mcall-netbsd as a match for mcall-sysv.
1800         (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
1801         (ncrti.S, ncrtn.S): New targets.
1802         ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
1803
1804         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
1805         "netbsd' as a V4 ABI.
1806         (ASM_SPEC): Check for -mcall-netbsd.
1807         (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
1808         (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
1809         (LIB_SPEC, ENDFILE_SPEC): Ditto.
1810         (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
1811         (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
1812         (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
1813         (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
1814
1815         * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
1816         (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
1817
1818 2001-08-01  Mark Kettenis  <kettenis@gnu.org>
1819
1820         * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
1821         only if NO_BASE_OF_ENCODED_VALUE isn't defined.
1822         * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
1823         including "unwind-pe.h".
1824
1825 Wed Aug  1 20:01:42 CEST 2001  Jan Hubicka  <jh@suse.cz>
1826
1827         * rs6000.md (define_splits): Kill unused constraints.
1828
1829 Wed Aug  1 20:02:12 CEST 2001 Graham Stott  <grahams@redhat.com>
1830                               Jan Hubicka  <jh@suse.cz>
1831
1832         * function.c (thread_prologue_and_epilogue_insns): Kill code
1833         dealing with non-existent CFG.
1834
1835 2001-08-01  Kazu Hirata  <kazu@hxi.com>
1836
1837         * alias.c: Fix comment formatting.
1838         * bitmap.c: Likewise.
1839         * builtins.c: Likewise.
1840         * calls.c: Likewise.
1841         * c-common.c: Likewise.
1842         * c-decl.c: Likewise.
1843         * c-dump.c: Likewise.
1844         * c-lex.c: Likewise.
1845         * collect2.c: Likewise.
1846         * combine.c: Likewise.
1847         * conflict.c: Likewise.
1848         * cppfiles.c: Likewise.
1849         * cppinit.c: Likewise.
1850         * cpplex.c: Likewise.
1851         * cpplib.c: Likewise.
1852         * cppmacro.c: Likewise.
1853         * cppspec.c: Likewise.
1854         * c-pragma.c: Likewise.
1855         * crtstuff.c: Likewise.
1856         * cse.c: Likewise.
1857         * cselib.c: Likewise.
1858         * c-semantics.c: Likewise.
1859         * c-typeck.c: Likewise.
1860
1861 2001-08-01  H.J. Lu <hjl@gnu.org>
1862
1863         * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
1864
1865 2001-08-01  H.J. Lu <hjl@gnu.org>
1866
1867         * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
1868
1869 2001-08-01  Ziemowit Laski  <zlaski@apple.com>
1870
1871         * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
1872         contextualizing Objective-C class name lookup by the lexer.
1873         (typespec_reserved_nonattr): Disable ObjC class name lookup after
1874         seeing a TYPESPEC.
1875         (protocoldef): Add support for forward @protocol declarations.
1876         (yylexname): Suppress ObjC class name lookup in certain contexts;
1877         re-enable after lookup is complete.
1878         (_yylex): Re-enable ObjC class name lookup when certain
1879         punctuation marks are seen.
1880
1881         * objc/objc-act.c (check_protocol_recursively): New function used
1882         for finding circular dependencies in protocols.
1883         (objc_declare_protocols): New function for handling forward
1884         @protocol declarations.
1885         (receiver_is_class_object): Detect the case when 'self' is used
1886         inside of a class method.
1887         (build_message_expr): Issue a warning if class method is desired
1888         but instance method is found instead.
1889         (conforms_to_protocol): Streamline.
1890         (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
1891         protocol Foo, even if 'Bar foo' does not.
1892         (check_protocols): Streamline.
1893         (start_protocol): Add checks for circular and duplicate protocol
1894         definitions.
1895         (encode_aggregate_within): For typedefs of structs, encode the
1896         underlying struct.
1897         * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
1898         (objc_declare_protocols): New prototype.
1899
1900 2001-08-01  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1901
1902         * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
1903         * cpplex.c (handle_newline): Update prototype.  Maintain logical
1904         line number.
1905         (skip_escaped_newlines, skip_block_comment, parse_string):
1906         Update accordingly.
1907         (_cpp_lex_token): Update, and store token position within the token.
1908         * cpplib.h (struct cpp_token): Add line and column entries.
1909         * cppmacro.c (replace_args): Position stringified tokens correctly.
1910
1911 2001-08-01  Andreas Jaeger  <aj@suse.de>
1912
1913         * basic-block.h: Add prototype for last_loop_beg_note.
1914
1915 2001-07-31  Alexandre Petit-Bianco  <apbianco@redhat.com>
1916
1917         * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
1918         RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
1919         comment.
1920         (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
1921         while handling WITH_CLEANUP_EXPR node. Use second operand calling
1922         expand_decl_cleanup.
1923         * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
1924         the first RTX.
1925         (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
1926         operand while calling simple_cst_equal.
1927         * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
1928         operand is the cleanup expression, the third is the RTL_EXPR.
1929         * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
1930
1931 2001-07-31  Jeff Sturm  <jsturm@one-point.com>
1932
1933         * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
1934
1935 2001-07-31  matthew green  <mrg@eterna.com.au>
1936
1937         * config.gcc (i386-*-netbsdelf): New description.
1938         * config/i386/netbsd-elf.h: New file.
1939
1940 2001-07-30  Geoffrey Keating  <geoffk@redhat.com>
1941
1942         * loop.c (check_dbra_loop): Use single_set to compute
1943         jump_label.
1944
1945 2001-07-31  Daniel Berlin  <dan@cgsoftware.com>
1946
1947         PowerPC reorg and support for powerpc64-*-linux*.
1948
1949         Also fixes emitting of constants on 32 bit and 64 bit
1950         platforms.
1951
1952         * config.gcc: powerpc64-*-linux* is a new target.
1953         Things that needed aix.h now also include xcoff.h
1954
1955         * config/rs6000/rs6000.h: Split XCOFF specific stuff into
1956         xcoff.h.
1957         Move AIX specific stuff into aix.h.
1958         (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
1959         with more than just XCOFF now.
1960         (SET_ASM_OP): Remove, now defined where needed.
1961         (FUNCTION_PROLOGUE): New macro definition.
1962         (FUNCTION_EPILOGUE): New macro definition.
1963         (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
1964
1965         * config/rs6000/xcoff.h: New file.
1966
1967         * config/rs6000/linux64.h: New file.
1968
1969         * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
1970
1971 2001-07-31  Alan Modra  <amodra@bigpond.net.au>
1972
1973         * rs6000.c (print_operand_address): Handle ELF syntax.
1974         (output_toc): Simplify.  Use DOUBLE_INT_ASM_OP.
1975         * rs6000.md (load_toc_aix_di): Handle ELF syntax.
1976         * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
1977
1978 2001-07-31  David Edelsohn  <edelsohn@gnu.org>
1979
1980         * rs6000.c (rs6000_override_options): Only disable
1981         flag_function_sections for XCOFF.
1982         (exact_log2_cint_operand): New predicate.
1983         (reg_or_{add,sub}_cint64_operand): New predicates.
1984         (add_operand): Compare CONST_INT with fewer function calls.
1985         (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
1986         (print_operand, case 'p'): Ensure positive operand.
1987         (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
1988         * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
1989         (PREDICATE_CODES): Add new predicates.
1990         * rs6000.md (addsi3): Split 32-bit constants more correctly.
1991         (divsi3, modsi3): Ensure positive power-of-2.
1992         (adddi3): Use new predicate.  Split 32-bit constants more
1993         correctly.  Re-arrange splitter to handle any constant.
1994         (subdi3): Use new predicate.
1995         (divdi3, moddi3): Ensure positive power-of-2.
1996         (movdi): Use rs6000_emit_set_const.
1997         (load_toc_v4_pic_di): Delete.
1998
1999 2001-07-31  Graham Stott <grahams@redhat.com>
2000
2001         * function.c (pad_below): Revert 2001-07-26 patch.
2002
2003 Tue Jul 31 15:37:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
2004
2005         * reg-stack (convert_regs_1): Fix best edge condition.
2006
2007 Tue Jul 31 15:33:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
2008
2009         * jump.c (duplicate_loop_exit_test): Better test for jumps
2010         entering the loop; create loop pre_header.
2011
2012 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
2013
2014         * doc/install.texi: Add s390 and s390x as new targets.
2015         * doc/invoke.texi: Add documantation of S/390 and zSeries
2016         target options.
2017         * doc/md.texi: Add documantation of S/390 and zSeries constraints.
2018
2019 2001-07-30  Roman Zippel  <zippel@linux-m68k.org>
2020
2021         * config/m68k/m68k.md: Replace all general_operand with
2022         nonimmediate_operand for all destinations.
2023         * config/m68k/m68k.c (not_sp_operand): Likewise.
2024
2025 Mon Jul 30 23:20:34 EDT 2001  John Wehle  (john@feith.com)
2026
2027         * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
2028
2029 2001-07-30  Richard Henderson  <rth@redhat.com>
2030
2031         * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
2032         * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
2033
2034 2001-07-30  Roman Zippel  <zippel@linux-m68k.org>
2035
2036         * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
2037         Add missing doc strings
2038         * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
2039         * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
2040
2041 Mon Jul 30 22:16:08 CEST 2001  Jan Hubicka  <jh@suse.cz>
2042
2043         * i386.c (ix86_output_main_function_alignment_hack): New function.
2044         (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
2045
2046         * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
2047         edges by EDGE_DFS_BACK flag.
2048         (dump_edge_info): Add dfs_back flag.
2049         * basic-block.h (EDGE_DFS_BACK): New constant.
2050         (mark_dfs_back_edges): Declare.
2051         * alias.c (loop_p): Remove.
2052         (mark_constant_function): Use mark_dfs_back_edges.
2053
2054         * reg-stack.c (block_info_def): Add predecesors counter and stack_out.
2055         (reg_to_stack): Call mark_dfs_back_edges; count the predecesors.
2056         (compensate_edge): Break out from ...
2057         (convert_regs_1): ... here; do smart choosing of stack_out to copy.
2058         (convert_regs_2): Set block_done once block is really done;
2059         Do updating of the predecesors counts.
2060
2061         * toplev.c (rest_of_compilation): Recompute block_for_insn
2062         before post-reload cfg_cleanup.
2063         * function.c (thread_prologue_epilogue_insns):
2064         Call set_block_for_new_insns when emitting prologue directly.
2065
2066 2001-07-30  Andreas Jaeger  <aj@suse.de>
2067
2068         * jump.c: Add prototype for mark_modified_reg.
2069
2070         * cse.c (set_live_p): Add unused attribute.
2071
2072         * gcov.c (calculate_branch_probs): Use gcov_type to avoid
2073         overflow.
2074         (scan_for_source_files): Use long for count to avoid overflow.
2075         (output_data): Likewise.
2076         (output_data): Don't use string concatatenation to silence gcc
2077         -traditional.
2078
2079         * predict.c: Fix typos and grammar.
2080
2081         * gcse.c (insert_insn_end_bb): Remove unused variables.
2082
2083 Mon Jul 30 21:54:53 CEST 2001  Jan Hubicka  <jh@suse.cz>
2084
2085         * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
2086         (attempt_auto_inc): LIkewise.
2087         (mark_used_reg): Likewise.
2088         (try_pre_increment_1): Likewise.
2089         * regclass.c (regclass): Likewise.
2090         * global.c (allocno_compare): Update comment; change scaling factor.
2091         * local-alloc.c (QTY_CMP_PRI): Likewise.
2092         * regs.h (REG_FREQ_FROM_BB): New.
2093         (REG_FREQ_MAX): Likewise.
2094
2095 2001-07-30  H.J. Lu <hjl@gnu.org>
2096
2097         * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
2098         -D_GNU_SOURCE.
2099
2100 2001-07-30  H.J. Lu  (hjl@gnu.org)
2101
2102         * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
2103         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
2104         (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
2105
2106 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
2107
2108         * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
2109         as -mthumb-interwork when -mcpu=arm7 is specified.
2110
2111 Mon Jul 30 17:44:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
2112
2113         * predict.def (noreturn, loop branch, loop exit): Mark as first
2114         match heuristics.
2115
2116 Mon Jul 30 12:52:11 CEST 2001  Jan Hubicka  <jh@suse.cz>
2117
2118         * combine.c (try_combine): Avoid barrier after noop jumps.
2119
2120 2001-07-29  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
2121
2122         * cpphash.h (struct cpp_reader): Remove import_warning.
2123         * cpplib.c (skip_rest_of_line): Don't bother turning off
2124         macro expansion.
2125         (parse_include): Move include handling to...
2126         (do_include_common): ... here.  Move import warning from...
2127         (do_import): ... here.
2128         (do_pragma_poison): Don't do a callback for poison identifiers.
2129         * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
2130         * cppmain.c (setup_callbacks): Similarly.
2131
2132 Sun Jul 29 23:26:50 CEST 2001  Jan Hubicka  <jh@suse.cz>
2133
2134         * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
2135         handle multiple sets.
2136         * except.c (sjlj_mark_call_sites): .... here.
2137         * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
2138
2139 Sun Jul 29 21:38:45 CEST 2001  Jan Hubicka  <jh@suse.cz>
2140
2141         Suggested by Richard Henderson and Richard Kenner:
2142         * combine.c (recog_for_combine): Use the fake recog
2143         only if instruction does not match.
2144         * rtl.h (NOOP_MOVE_INSN_CODE): New.
2145         * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
2146
2147         * combine.c (try_combine): Discover noop jump as direct jump.
2148
2149 2001-07-29  Daniel Berlin  <dan@cgsoftware.com>
2150
2151         * df.c (df_rd_global_compute): Add successors to worklist, not
2152         current item.
2153         (df_ru_global_compute): Ditto.
2154
2155 2001-07-27  Daniel Berlin  <dan@cgsoftware.com>
2156
2157         * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
2158         increment REG_N_SETS.
2159
2160 2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
2161
2162         * sbitmap.h: New prototype for sbitmap_a_xor_b.
2163
2164         * sbitmap.c (sbitmap_a_xor_b): New function.
2165         ifdef the basic block stuff on IN_GCC.
2166
2167 2001-07-29  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
2168
2169         * cppexp.c (parse_defined): Always record the macro name.
2170         (lex): Don't worry about identifiers, or special-case
2171         CPP_NOT here.
2172         (_cpp_parse_expr): Figure out at the end of the routine
2173         whether we saw a valid !defined() expression.
2174         * cppfiles.c (stack_include_file): Update for mi_valid.
2175         (_cpp_pop_file_buffer): Similarly.
2176         * cpplex.c (_cpp_lex_token): Similarly.
2177         * cpphash.h (enum mi_state, enum mi_ind, mi_state,
2178         mi_if_not_defined, mi_lexed): Remove.
2179         (mi_valid): New.
2180         * cpplib.c (do_if): Simplify.
2181         (do_endif, push_conditional, _cpp_handle_directive): Update
2182         for renaming of mi_state to mi_valid.
2183 doc:
2184         * cpp.texi: Add index entries for digraphs, and add comment
2185         that C++ refers to them as alternative tokens.
2186
2187 Sun Jul 29 18:59:13 CEST 2001  Jan Hubicka  <jh@suse.cz>
2188
2189         * basic-block.h (CLEANUP_PRE_LOOP): New.
2190         * except.c (finish_eh_generation): Update call of cleanup_cfg.
2191         * sibcall.c (optimize_sibling_calls): Likewise.
2192         * toplev.c (rest_of_compilation): Likewise.
2193         * flow.c (try_forward_edges): Take argument MODE;
2194         do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
2195         (try_optimize_cfg): Update call of try_forward_edges.
2196
2197 Sun Jul 29 18:59:56 CEST 2001  Roman Zippel  <zippel@linux-m68k.org>
2198                                Jan Hubicka  <jh@suse.cz>
2199
2200         * (validate_replace_rtx_1): Fix simplification of MINUS.
2201
2202 2001-07-29  Neil Booth  <neil@daikokuya.demon.co.uk>
2203
2204         PR preprocessor/3669
2205         * cppinit.c (init_dependency_output): Turn off dump requests
2206         if sending dependencies to stdout.
2207
2208 2001-07-28  Richard Henderson  <rth@redhat.com>
2209
2210         * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
2211         not optimizing.
2212
2213 2001-07-28  Golubev I. N.  <gin@mo.msk.ru>
2214
2215         * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
2216
2217 2001-07-28  Kazu Hirata  <kazu@hxi.com>
2218
2219         * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
2220         is VAR_DECL first to prevent an ICE.
2221
2222 2001-07-28  Richard Henderson  <rth@redhat.com>
2223
2224         * varasm.c (immed_real_const_1): Don't elide special cases for
2225         nested functions.
2226         (clear_const_double_mem): Clear const_tiny_rtx too.
2227
2228 2001-07-28  Richard Henderson  <rth@redhat.com>
2229
2230         * dwarf2out.c (dw_val_class_offset): New.
2231         (struct dw_ranges_struct, dw_ranges_ref): New.
2232         (ranges_table, ranges_table_allocated): New.
2233         (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
2234         (add_AT_offset, add_ranges, output_ranges): New.
2235         (print_die, output_die): Handle dw_val_class_offset.
2236         (attr_checksum, size_of_die, value_format): Likewise.
2237         (gen_lexical_block_die): Handle non-contiguous blocks.
2238         (gen_block_die): Likewise.
2239         (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
2240         if needed.  Dump the ranges table.
2241         * final.c (final_start_function): Remove unnecessary notes and
2242         rebuild the block tree before numbering the blocks.
2243         * function.c (reorder_blocks_0): Walk the existing block tree
2244         to unmark all blocks.
2245         (reorder_blocks_1): Create block fragments when duplicate block
2246         notes are seen.
2247         (reorder_fix_fragments): New.
2248         (reorder_blocks): Call it.
2249         * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
2250
2251 2001-07-28  Richard Henderson  <rth@redhat.com>
2252
2253         * emit-rtl.c (adjust_address): Make a copy of the memory address.
2254
2255 2001-07-28  Richard Henderson  <rth@redhat.com>
2256
2257         * flow.c (add_to_mem_set_list): New function.
2258         (init_propagate_block_info): Use it.
2259         (mark_set_1): Likewise.
2260         (insn_dead_p): Canonicalize memory address for dead store
2261         comparison.  Allow wider mode stores to kill narrower mode stores.
2262         (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
2263         (invalidate_mems_from_set): Don't handle MEMs.
2264
2265 2001-07-28  Kazu Hirata  <kazu@hxi.com>
2266
2267         * config/h8300/h8300.h: Fix formatting.
2268
2269 Sat Jul 28 23:35:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
2270
2271         * basic-block.h (EDGE_FREQUENCY): New macro.
2272         * bb-reorder (fixup_reorder_chain): Set counts and frequencies
2273         for new BB/edges.
2274         * flow.c (find_sub_basic_blocks): Likewise.
2275         (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
2276         (redirect_edge_and_branch): Use EDGE_FREQUENCY.
2277
2278         * predict.c (DEF_PREDICTOR): New argument FLAGS.
2279         (HITRATE): New macro.
2280         (PRED_FLAG_FIRST_MATCH): New constant.
2281         (predictor_info): New field flgags.
2282         (combine_predictions_for_insn): Use DS theory to combine
2283         probabilities; set the edge probabilities when finished.
2284         (estimate_probability): Avoid duplicated matches
2285         of LOOP_BRANCH heuristics for nested loops; update comment.
2286         * predict.def: Add flags for each prediction, set probabilities
2287         according to B&L paper.
2288         * predict.h (DEF_PREDICTOR): New argument FLAGS.
2289
2290         * profile.c (compute_branch_probabilities):  Cleanup way the edge
2291         probabilities are computed and REG_BR_PROB notes are dropped; if
2292         values does not match, emit error.
2293         (init_branch_prob): Do error instead of warning when profile driven
2294         feedback is missing or corrupt.
2295
2296 2001-07-27  DJ Delorie  <dj@redhat.com>
2297
2298         * ifcvt.c (noce_get_alt_condition): If the condition is a compare
2299         against a constant, try to adjust the compare to have the desired
2300         constant in it so that min/max optimizations happen more often.
2301
2302 Fri Jul 27 17:53:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
2303
2304         * flow.c (last_loop_beg_note): New function.
2305         (redirect_edge_and_branch): Use it.
2306         (split_edge): Likewise.
2307
2308         * alias.c (loop_p): Avoid uninitialized memory access.
2309
2310         * flow.c (try_forward_edges): Avoid accessing freed memory.
2311
2312         * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
2313         variable access.
2314
2315 2001-07-26  Andrew Haley  <aph@redhat.com>
2316         Joern Rennecke <amylaar@redhat.com>
2317
2318         * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
2319         (SUBTARGET_CPP_ENDIAN_SPEC): New.
2320         (SUBTARGET_CPP_SPEC): New.
2321         (CPP_SPEC): Remove.
2322         * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
2323         (SUBTARGET_CPP_PTR_SPEC): New.
2324         (CPP_DEFAULT_CPU_SPEC): New.
2325         (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
2326         SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
2327         (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
2328         SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
2329         (SUBTARGET_CPP_SPEC): Define as an empty string.
2330
2331 2001-07-27  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2332
2333         * doc/install.texi (Configuration): Properly link the host
2334         specific instructions also when generating HTML.
2335
2336 Fri Jul 27 00:33:35 EDT 2001  John Wehle  (john@feith.com)
2337
2338         * flow.c (redirect_edge_and_branch_force): Test
2339         target->global_live_at_start.
2340
2341 2001-07-26  Richard Henderson  <rth@redhat.com>
2342
2343         * simplify-rtx.c (avoid_constant_pool_reference): Export.
2344         * rtl.h (avoid_constant_pool_reference): Declare it.
2345         * dwarf2out.c (add_location_or_const_value_attribute): Use it.
2346         (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
2347
2348 Thu Jul 26 22:30:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
2349
2350         * rtl.h (cleanup_barriers): Declare.
2351         * jump.c (cleanup_barriers): New function.
2352         * toplev.c (rest_of_compilation): Call cleanup_barriers
2353         before loop optimizer and after bb_reorder.
2354
2355         * flow.c (back_edge_of_syntactic_loop_p): New.
2356         (split_edge): Use it.
2357
2358 2001-07-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2359
2360         * glimits.h (_MACH_MACHLIMITS_H_): Delete.
2361
2362 Thu Jul 26 22:22:21 2001  Denis Chertykov  <denisc@overta.ru>
2363
2364         * cse.c (cse_process_notes): Replace any registers if the address
2365         remains valid.
2366
2367 Thu Jul 26 14:04:03 EDT 2001  John Wehle  (john@feith.com)
2368
2369         * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
2370         (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
2371         (propagate_block): Update prototype.
2372         * flow.c (update_life_info): Simplify the CFG and
2373         recalculate the global regs which are alive when
2374         removing dead code during a global update.
2375         (propagate_block): Return non-zero if an INSN is
2376         deleted.
2377
2378 2001-07-26  Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2379
2380         * Makefile.in (LIBICONV): Define.
2381
2382 2001-07-26  Catherine Moore  <clm@redhat.com>
2383
2384         * config/v850/v850.h (ENCODE_SECTION_INFO):  Change order
2385         of conditional to avoid tree checking errors.
2386
2387 2001-07-26  Kazu Hirata  <kazu@hxi.com>
2388
2389         * regmove.c (regmove_optimize): Don't replace a reg with
2390         another reg of a different mode.
2391
2392 2001-07-26  Andrew MacLeod  <amacleod@redhat.com>
2393
2394         * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
2395         limit length of dependancy flush list.
2396         * params.h (MAX_PENDING_LIST_LENGTH): Define.
2397         * sched-int.h  (struct deps): Add pending_flush_length field.
2398         * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
2399         has 1 element in it.
2400         (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
2401         (sched_analyze): After a jump, if the pending memory flush list is too
2402         large, flush the pending lists.
2403         (init_deps): Initialize pending_flush_length to 0.
2404         * doc/invoke.texi (max_pending_list_length): Document parameter.
2405
2406 2001-07-26  Neil Booth  <neil@daikokuya.demon.co.uk>
2407
2408         * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
2409         * dbxout.c (dbxout_global_decl): Move outside #ifdef.
2410         * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
2411
2412 2001-07-26  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
2413
2414         * cpphash.h (struct_lexer_state): Delete was_skipping.
2415         Move skipping here from struct cpp_reader.
2416         * cpplex.c (parse_identifier): Update.
2417         (_cpp_lex_token): Don't skip tokens in a directive.
2418         * cpplib.c (struct if_stack): Update.
2419         (start_directive, end_directive): Don't change skipping state.
2420         (_cpp_handle_directive): Update.
2421         (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
2422         (do_else, do_endif): Update; only check for excess tokens if not
2423         in a skipped conditional block.
2424         (push_conditional): Update for new struct if_stack.
2425
2426 2001-07-26  Graham Stott  <grahams@redhat.com>
2427
2428         * function.c (locate_and_pad_parm): Also pad initial offset
2429         so that the total argument size also includes the padding.
2430
2431 2001-07-26  Graham Stott <grahams@redhat.com>
2432
2433         * gensupport.c (alter_output_for_insn): Correct enable checking failure
2434         change XSTR to XTMPL.
2435
2436         (process_one_cond_exec): Likewise
2437
2438 2001-07-25  Richard Henderson  <rth@redhat.com>
2439
2440         * varasm.c (assemble_variable): Create DECL_RTL before setting
2441         TREE_ASM_WRITTEN.
2442
2443 Thu Jul 26 00:19:30 CEST 2001  Jan Hubicka  <jh@suse.cz>
2444
2445         * predict.c (estimate_probability): Avoid duplicated predictions.
2446
2447         * loop.c (find_and_verify_loops): Grok multiple barriers.
2448
2449 Wed Jul 25 18:00:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2450
2451         * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
2452
2453         * dbxout.c: Consistently use putc instead of fputc.
2454         (print_wide_int): New function; call instead of direct fprintf.
2455         (dbxout_type_index): Adjust calls of CHARS to be more accurate.
2456         (dbxout_type_fields, dbxout_type_method_1): Likewise.
2457         (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
2458         (print_int_cst_octal): Likewise.
2459         (print_octal): Show we wrote characters.
2460         (dbxout_type): Set have_used_extensions in more places.
2461
2462 2001-07-25  Catherine Moore  <clm@redhat.com>
2463
2464         * config/v850/v850.c (v850_va_arg):  Use addr
2465         instead of valist to build incr.
2466
2467 Wed Jul 25 22:48:59 CEST 2001  Jan Hubicka  <jh@suse.cz>
2468
2469         * flow.c (delete_dead_jumptables): New function.
2470         (life_analyzis): Call it.
2471         * bb-reorder.c (skip_insns_after_block): Handle contradictory
2472         sequences.
2473
2474 2001-07-25  Richard Henderson  <rth@redhat.com>
2475
2476         * except.c (reachable_handlers): Handle a region being removed
2477         out from under a RESX.
2478
2479 2001-07-25  Richard Henderson  <rth@redhat.com>
2480
2481         * config/alpha/alpha.c (alpha_emit_conditional_move): Always
2482         swap GE/GT if it is an fp comparison.
2483
2484 2001-07-25  Andrew Haley  <aph@cambridge.redhat.com>
2485
2486         * alias.c (rtx_equal_for_memref_p): Allow strings as types in
2487         operands.
2488
2489 Wed Jul 25 08:25:01 2001  Jeffrey A Law  (law@cygnus.com)
2490
2491         * ssa.c (rename_insn_1): Do not wrap an assignment to a
2492         paradoxical SUBREG inside a SEQUENCE.  Fix minor formatting
2493         glitch.
2494
2495         * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
2496         throw an exception.
2497         (visit_expression): When attempting to simplify an expression,
2498         retrieve any modes for arguments before they are simplified
2499         to constants.
2500
2501 2001-07-25  Andrew MacLeod  <amacleod@redhat.com>
2502             Janis Johnson  <janis@us.ibm.com>
2503
2504         * stmt.c (expand_goto): A nonlocal goto can be a call too.
2505         * builtins.c (expand_builtin_longjmp): Reverse label and static chain
2506         pointer parameters to match documented usage of nonlocal_goto.
2507         * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
2508         parameters to their correct order.
2509         * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
2510         parameters to their correct order.
2511
2512 2001-07-25  Andrew MacLeod  <amacleod@redhat.com>
2513
2514         * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
2515
2516 2001-07-25  Jan Hubicka  <jh@suse.cz>
2517             Richard Henderson  <rth@redhat.com>
2518
2519         * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
2520         the sequence.
2521         (make_edges): New argument update_p; populate the edge cache if set.
2522         (find_basic_blocks): Update make_edges invocation.
2523
2524 2001-07-24  Joel Sherrill <joel@OARcorp.com>
2525
2526         * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
2527
2528 2001-07-24  Joel Sherrill <joel@OARcorp.com>
2529
2530         * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
2531         -Acpu and -Amachine.h.
2532         * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
2533         Corrected header to say ELF not a.out.
2534         * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
2535         when given -msoft-float.
2536
2537 2001-07-24  Joel Sherrill <joel@OARcorp.com>
2538
2539         * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
2540         extra multilib parts like arm-elf.
2541         (i960-*-coff*, i960-*-rtems): Should not use collect2.
2542         (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
2543         crtfini.o as extra multilib parts.
2544
2545 2001-07-24  Joel Sherrill <joel@OARcorp.com>
2546
2547         * configure.in: Add rtems as a supported thread model.
2548         * gthr-rtems.h: Add missing entry point __gthread_active_p.
2549         * configure: Rebuilt.
2550
2551 2001-07-24  Lars Brinkhoff  <lars@nocrew.org>
2552
2553         * stor-layout.c (get_mode_alignment): make it work when
2554         BITS_PER_UNIT is not a power of two.
2555         * builtins.c (get_pointer_alignment): Likewise.
2556
2557 2001-07-24  Richard Henderson  <rth@redhat.com>
2558
2559         * simplify-rtx.c (avoid_constant_pool_reference): Coerce
2560         the retrieved constant into the expected mode.
2561
2562 Wed Jul 25 01:41:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
2563
2564         * flow.c (try_simplify_condjump): Avoid duplicated edges.
2565         (verify_flow_info): Check for duplicated edges; clarify
2566         error reporting.
2567
2568         * flow.c (block_label): Update basic_block_for_insn.
2569         (commit_edge_insertions): Call compute_bb_for_insn.
2570
2571         * flow.c (purge_dead_edges): Handle conditional jumps and conditional
2572         returns too.
2573
2574         * flow.c (redirect_edge_and_branch,
2575         try_optimize_cfg): Use redirect_edge_succ_nodup
2576         (redirect_edge_succ_nodup): New.
2577         * basic_block.h (redirect_edge_succ_nodup): Declare.
2578
2579         * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
2580         after gcse.
2581
2582 Wed Jul 25 00:32:49 CEST 2001  Jan Hubicka  <jh@suse.cz>
2583
2584         * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
2585         (try_crossjump_to_edge): Update commetns.
2586         (try_crossjump_bb): Likewise.
2587
2588 2001-07-24  Richard Henderson  <rth@redhat.com>
2589
2590         * combine.c (distribute_notes): Move set of need_refresh
2591         for noop_move_p down to catch all cases.
2592
2593 Tue Jul 24 20:32:44 CEST 2001  Jan Hubicka  <jh@suse.cz>
2594
2595         * recog.c (split_all_insns_noflow): New.
2596         * rtl.h (split_all_insns_noflow): Declare.
2597         * ia64.c (ia64_reorg): Use split_all_insns_noflow.
2598         * m68hc11.c (m68hc11_reorg): Likewise.
2599         * sh.c (machine_dependent_reorg): Likewise.
2600         * toplev.c (rest_of_compilation): Likewise for last split_all_insns
2601         call.
2602
2603 2001-07-18  Andrew Haley  <aph@cambridge.redhat.com>
2604
2605         * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
2606         (ashlsi3_n splitter): Likewise.
2607         (lshrsi3_n splitter): Likewise.
2608
2609         (GOTaddr2picreg): Make const SImode.
2610         (sym_label2reg): Likewise.
2611         (symGOT2reg): Likewise.
2612         (symGOTOFF2reg) Likewise.
2613
2614         (casesi_worker_0): Make unspec SImode.
2615
2616 2001-07-18  Andrew Haley  <aph@cambridge.redhat.com>
2617
2618         * config/sh/sh.c (barrier_align): Check that an operand really is
2619         an insn before extracting its INSN_CODE.
2620
2621 2001-07-24  Andrew Haley  <aph@cambridge.redhat.com>
2622
2623         * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
2624         dangling else.
2625
2626         * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
2627         for SImode to prevent overflow.
2628
2629 2001-07-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2630
2631         * config/mips/irix6-libc-compat.c: New file.
2632         * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
2633         * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
2634         passing workaround.
2635
2636 2001-07-24  lars brinkhoff  <lars@nocrew.org>
2637
2638         * rtl.texi (REG_POINTER): Document.
2639         (Machine Modes): Document BImode, OImode, PQImode, PHImode,
2640         QFmode, HFmode, TQFmode, QCmode, and HCmode.
2641
2642 Tue Jul 24 10:49:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
2643
2644         * flow.c (delete_noop_moves): Do not confuse libcall regions.
2645
2646 2001-07-23  Richard Henderson  <rth@redhat.com>
2647
2648         * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
2649
2650 2001-07-23  Kazu Hirata  <kazu@hxi.com>
2651
2652         * config/h8300/h8300-protos.h: Add a prototype for
2653         general_operand_dst_push.
2654         * config/h8300/h8300.c (general_operand_dst_push): New.
2655         * config/h8300/h8300.h (OK_FOR_T): New.
2656         (EXTRA_CONSTRAINT): Use it.
2657         * config/h8300/h8300.md (movqi_push): Remove and integrate into
2658         the existing movqi pattern.
2659         (movhi_push): Likewise.
2660
2661         * reload.c: Fix comment typos.
2662
2663 Mon Jul 23 23:34:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
2664
2665         * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
2666
2667 2001-07-23  H.J. Lu  (hjl@gnu.org)
2668
2669         * doc/extend.texi: Update __builtin_return_address and
2670         __builtin_frame_address.
2671
2672 2001-07-23  Richard Henderson  <rth@redhat.com>
2673
2674         * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
2675         before CSE.
2676         * config/i386/i386.md: New setcc+movzbl peephole2.
2677
2678 2001-07-23  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
2679
2680         * objc/Make-lang.in (objc-act.o): Depend on debug.h.
2681         * objc/objc-act.c: Include debug.h.
2682         (synth_module_prologue): Save and restore debug hooks too.
2683
2684 2001-07-23  lars brinkhoff  <lars@nocrew.org>
2685
2686         * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
2687         and C4X_FLOAT_FORMAT.
2688         (BOOL_TYPE_SIZE): Document.
2689
2690 Mon Jul 23 11:54:23 2001  Clinton Popetz  <cpopetz@cpopetz.com>
2691
2692         * unroll.c (loop_iterations): Fix miscalculation of initial
2693         giv offset.
2694
2695 2001-07-13  Andrew Haley  <aph@redhat.com>
2696
2697         * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
2698         * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
2699         * config/sh/sh.c (sh_can_redirect_branch): New function.
2700         * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
2701         * reorg.c (steal_delay_list_from_target): Use
2702         MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
2703
2704 Mon Jul 23 17:20:18 CEST 2001  Jan Hubicka  <jh@suse.cz>
2705
2706         * flow.c (try_simplify_condjump): Unlink insn chain on
2707         fallthru edge; use can_fallthru.
2708
2709 Mon Jul 23 16:03:19 CEST 2001  Jan Hubicka  <jh@suse.cz>
2710
2711         * basic-block.h (find_sub_basic_block): Declare.
2712         * flow.c (make_edges): New arguments MIN and MAX;
2713         (find_sub_basic_blocks): Revamp to use make_edges
2714         and purge_dead_edges.
2715         (find_basic_blocks): Update call of find_sub_basic_block.
2716
2717         * recog.c (split_all_insns): Always expect CFG to be consistent;
2718         call find_sub_basic_blocks in case something has changed.
2719         * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
2720         has been built.
2721
2722         * basic-block.h (delete_noop_moves): Declare.
2723         * combine.c (combine_instructions): Call it.
2724         (recog_for_combine): Tolerate noop moves
2725         (distribute_notes): Force refresh when register dies at noop move.
2726         * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
2727         too.
2728         (life_analysis): Update delete_noop_moves call.
2729         (set_noop_p): Move too ...
2730         * rtlanal.c (noop_move_p): ... here.
2731         * rtl.h (noop_move_p): Declare.
2732
2733         * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
2734         * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
2735         after combine.
2736         * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
2737         (cprop_jump): Likewise; call purge_dead_edges if substitution suceeded.
2738
2739 2001-07-23  Hans-Peter Nilsson  <hp@bitrange.com>
2740
2741         * reload.c (push_reload): Fix typo in comment.
2742         (find_reloads_address): Ditto.
2743         (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
2744
2745 2001-07-22  Richard Henderson  <rth@redhat.com>
2746
2747         * flow.c: Grammar check and clarify a lot of comments.
2748         (try_simplify_condjump): Rename variables to be clearer.
2749         (try_forward_edges): Skip complex and fallthru edges.
2750         Rearrange tests to avoid duplicate checks.
2751         (flow_find_cross_jump): Likewise.
2752         (outgoing_edges_match): Allow match if neither branch has
2753         probability data.  Loosen probability match to 5%.
2754         (try_crossjump_to_edge): Hoist repeated indirection into
2755         local variables.
2756         (try_crossjump_bb): Don't check complex edges.  Eliminate
2757         redundant crossjump tests.
2758         (try_optimize_cfg): Fix use of bool.  Reorganize cheaper
2759         checks before more expensive checks.
2760
2761 2001-07-22  Richard Henderson  <rth@redhat.com>
2762
2763         * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
2764         INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
2765         arguments.
2766
2767 2001-07-22  Richard Henderson  <rth@redhat.com>
2768
2769         * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
2770         (const_sint32_operand): Likewise.
2771         * m68k.md (anon mulsi pattern): Use const_int_operand not
2772         const_sint32_operand.
2773         (umulsi3_highpart): Zero extend a constant input.
2774         (smulsi3_highpart): Don't bother checking SImode constant.
2775         (const_umulsi3_highpart): Give op3 DImode.
2776         (const_smulsi3_highpart): Likewise.
2777
2778 2001-07-22  Richard Henderson  <rth@redhat.com>
2779
2780         * flow.c (split_block): Make sure bb_note is included in the
2781         new block when splitting before a label.
2782
2783 Sun Jul 22 23:28:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
2784
2785         * basic-block.h (redirect_edge_and_branch_force,
2786         redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
2787         * flow.c (redirect_edge_and_branch_force,
2788         redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
2789         (redirect_edge_and_branch_force): Fix copying of lifeness information.
2790         (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
2791         * ifcvt.c (dead_or_predictable): Take BB as an new destionation
2792         instead of label; update CFG after transformation.
2793         (find_if_case_1): Update call, use redirect_edge_and_branch_force
2794         for finishing the transformation; handle even case where ELSE
2795         does not follow THEN.
2796         (find_if_case_2): Update call of dead_or_predictable; simplify
2797         CFG update.
2798
2799         * emit-rtl.c (split_branch_probability): New global variable.
2800         (try_split): Take care to set split_branch_probability and
2801         create REG_BR_PROB note for new jump insns.
2802         * md.texi (define_split): Document new feature.
2803
2804         * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
2805
2806 2001-07-22  Neil Booth  <neil@daikokuya.demon.co.uk>
2807
2808         * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
2809         (asm_out_file): Remove redundant declaration.
2810         (assemble_asm): Remove old #if 0 block.
2811         (assemble_variable): Remove end of function; debug output is
2812         now handled with global_decl.  Remove old #if 0 block.  Update.
2813         Remove saved_in_section and associated no-op code.
2814         * Makefile.in (varasm.o): Correct dependencies.
2815
2816 Sun Jul 22 17:55:11 2001  Alexandre Oliva  <aoliva@redhat.com>
2817
2818         * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
2819         the definition in defaults.h.
2820
2821 Sun Jul 22 21:31:04 CEST 2001  Jan Hubicka  <jh@suse.cz>
2822
2823         * jump.c: Update comments.
2824         (delete_barrier_successors, delete_unreferenced_labels,
2825         delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
2826         delete_labelref_insn, redirect_tablejump, jump_optimize_1,
2827         jump_optimize, jump_optimize_minimal): Kill.
2828         (rebuild_jump_labels): Move code from jump_optimize_1.
2829         (purge_line_number_notes): Likewise.
2830         (copy_loop_headers): Likewise.
2831         * reg-stack.c: Update comment.
2832         * stmt.c: Likewise.
2833         * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
2834         JUMP_AFTER_REGSCAN): Kill.
2835         * toplev.c (rest_of_compilation): Use cleanup_cfg, call
2836         purge_line_number_notes and copy_loop_headers.
2837
2838 2001-07-22 Neil Booth  <neil@daikokuya.demon.co.uk>
2839            Richard Henderson  <rth@redhat.com>
2840
2841         * dbxout.c (dbxout_global_decl): New.
2842         (xcoff_debug_hooks, dbx_debug_hooks): Use it.
2843         * sdbout.c (sdbout_finish): New.
2844         (sdbout_debug_hooks): Use it, add comments.
2845         (sdbout_global_decl): Defer initialised public vars to
2846         sdbout_finish.
2847         * varasm.c (assemble_variable): Don't output debug information
2848         for file-scope variables.
2849
2850 2001-07-22  Richard Henderson  <rth@redhat.com>
2851
2852         * config/alpha/alpha.c (get_trap_mode_suffix): New.
2853         (get_round_mode_suffix): New.
2854         (print_operand): Use them for [/].  Remove support for [&'`()+].
2855         * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
2856         * config/alpha/alpha.md (attr round_suffix): New.
2857         (attr trap_suffix): New.
2858         (all insns): Set them appropriately.  Use %/ instead of the
2859         myriad punctuators.
2860
2861 2001-07-22  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
2862
2863         * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
2864
2865 2001-07-22  Richard Henderson  <rth@redhat.com>
2866
2867         * regrename.c (regrename_optimize): Compute nregs for each
2868         potential target register.
2869
2870 2001-07-21 Neil Booth  <neil@daikokuya.demon.co.uk>
2871            Richard Henderson  <rth@redhat.com>
2872
2873         * dbxout.c (dbxout_global_decl): New.
2874         (xcoff_debug_hooks, dbx_debug_hooks): Use it.
2875         * sdbout.c (sdbout_finish): New.
2876         (sdbout_debug_hooks): Use it, add comments.
2877         (sdbout_global_decl): Defer initialised public vars to
2878         sdbout_finish.
2879         * varasm.c (assemble_variable): Don't output debug information
2880         for file-scope variables.
2881
2882 2001-07-21  H.J. Lu  (hjl@gnu.org)
2883
2884         * config/mips/mips.c (mips_cpu): Moved into ...
2885         (override_options): Here.
2886
2887         * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
2888         mips_tune.
2889         (mips_cpu): Removed.
2890
2891 2001-07-21  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2892
2893         * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
2894         ("iorqi3"): Likewise.
2895         ("xorqi3"): Likewise.
2896         ("*addhi3"): Fix constraint to avoid reloading in a soft register.
2897         ("*subhi3_sp): Likewise.
2898         ("*subhi3"): Likewise.
2899         ("extendhisi2"): Accept D, X and Y as source operand to avoid
2900         reload problems.
2901
2902 2001-07-21  Nathan Sidwell  <nathan@codesourcery.com>
2903
2904         * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
2905         * config/freebsd.h: Likewise.
2906         * config/linux.h: Likewise.
2907         * config/openbsd.h: Likewise.
2908         * config/alpha/linux-elf.h: Likewise.
2909         * config/arm/linux-elf.h: Likewise.
2910         * config/d30v/d30v.h: Likewise.
2911         * config/fr30/fr30.h: Likewise.
2912         * config/ia64/aix.h: Likewise.
2913         * config/ia64/ia64.h: Likewise.
2914         * config/mips/linux.h: Likewise.
2915         * config/pj/pj.h: Likewise.
2916         * config/rs6000/linux.h: Likewise.
2917         * config/sparc/linux.h: Likewise.
2918         * config/sparc/linux64.h: Likewise.
2919
2920 2001-07-20  Bruce Korb  <bkorb@gnu.org>
2921
2922         * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
2923         because getc() and char* may disagree on signedness.
2924
2925 2001-07-20  Richard Henderson  <rth@redhat.com>
2926
2927         * doc/rtl.texi (REG_DEAD): Update for current semantics.
2928
2929         * flow.c (try_redirect_by_replacing_jump): Correctly compute which
2930         insns to delete in the presence of cc0 in a jump insn.
2931
2932 Fri Jul 20 22:14:49 CEST 2001  Roman Zippel  <zippel@linux-m68k.org>
2933                                Jan Hubicka  <jh@suse.cz>
2934
2935         * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
2936         of doing the change by hand.
2937
2938 Fri Jul 20 21:59:42 CEST 2001  Jan Hubicka  <jh@suse.cz>
2939
2940         * rtlanal.c (set_noop_p): Return true for noop jumps.
2941
2942         * expr.c (emit_single_push_insn): Add call to push expander.
2943         * expr.h (optab_index): Add OTI_push
2944         (push_optab): New constant.
2945         * genopinit.c (optabs): Add push_optab.
2946         * optabs.c (init_optab): Init push optab.
2947         * md.texi (push??1): Document
2948
2949 2001-07-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2950
2951         * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
2952         expand to emit the pattern; put a REG_INC note for push/pop
2953         instructions.
2954         ("movdf", "movdf_internal"): Likewise.
2955         ("movsi", "movsi_internal"): Likewise.
2956         ("movsf", "movsf_internal"): Likewise.
2957         ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
2958
2959 2001-07-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2960
2961         * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
2962         gen_highpart.
2963
2964 2001-07-20  Daniel Berlin  <dan@cgsoftware.com>
2965
2966         * params.def: Change default max inline insns to 100.
2967
2968 2001-07-20  Diego Novillo  <dnovillo@redhat.com>
2969
2970         * combine.c (combine_simplify_rtx): Generate a new shift operation
2971         when simplifying the first operand of a (neg (ashift)) expression.
2972
2973 2001-07-20  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
2974
2975         * regclass.c (N_REG_INTS): Use only 32 bits per element.
2976
2977 2001-07-20  Kelley Cook  <kelley.cook@home.com>
2978
2979         * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
2980         information.   Move rest into ...
2981         (*-*-solaris): ... here.  Eliminate redundant information and
2982         reword necessary packages section.  Delete 4.x assembler bug info.
2983         (sparc-sun-*): Merge into ...
2984         (sparc-sun-sunos*): here.
2985
2986 2001-07-20  Catherine Moore  <clm@redhat.com>
2987
2988         * config/v850/v850.md (casesi): Generate LABEL_REF
2989         with Pmode.
2990
2991 Fri Jul 20 14:12:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
2992
2993         * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
2994         * i386.c (ix86_zero_extend_to_Pmode): Make global.
2995         * i386.md (strclrsi expander): Use it.
2996
2997 Fri Jul 20 13:24:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
2998
2999         * integrate.c (copy_insn_list): handle
3000         NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
3001         (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
3002         identically as to CODE_LABEL.
3003
3004         * fold-const (fold): Convert A/B/C to A/(B*C) and
3005         A/(B/C) to (A/B)*C
3006
3007         * except.c (connect_post_landing_pads): Delete the RESX insns.
3008
3009 2001-07-20  Aldy Hernandez  <aldyh@redhat.com>
3010
3011         * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
3012
3013         * config/mips/mips.md (nmadd/nmsub): Use macro.
3014
3015 2001-07-20  Nathan Sidwell  <nathan@codesourcery.com>
3016
3017         * cppinit.c (remove_dup_dir): Make static.
3018         (remove_dup_dirs): Make static. Only warn about preempting a
3019         system directory with a non-system directory.
3020
3021 2001-07-19  Geoffrey Keating  <geoffk@redhat.com>
3022
3023         * ifcvt.c (noce_try_store_flag_constants): Correct order
3024         of parameters to trunc_int_for_mode.
3025
3026 2001-07-19  Mark Mitchell  <mark@codesourcery.com>
3027
3028         * reorg.c (fill_simple_delay_slots): If an instruction might throw
3029         an exception that will be caught within this function, do not fill
3030         its delay slot with any subsequent instruction.
3031
3032 2001-07-19  Steve Ellcey <sje@cup.hp.com>
3033
3034         * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
3035         * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
3036         pointer extension instruction.
3037         * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
3038         * simplify-rtx.c (simplify_unary_operation) Likewise.
3039         * explow.c (convert_memory_address) Check value of
3040         POINTERS_EXTEND_UNSIGNED to avoid some conversions when
3041         less than zero.
3042         * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
3043         MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
3044         * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
3045         Add Multilib Support.
3046         (POINTERS_EXTEND_UNSIGNED)  Define for ILP32 support.
3047         * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
3048         Add Multilib Support.
3049         (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
3050         support.
3051         * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
3052         * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
3053         a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
3054
3055 2001-07-19  Alexandre Oliva  <aoliva@redhat.com>
3056
3057         * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
3058         old and new operands in `<', `3' and `b'.
3059
3060 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
3061
3062         * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
3063         (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
3064         (toplev.o): Don't depend on xcoffout.h.
3065         * c-decl.c: Include debug.h
3066         (duplicate_decls): Use debug hook.
3067         * dbxout.c (dbxout_source_file, dbxout_args): Make static.
3068         (dbx_debug_hooks, xcoff_debug_hooks): Update.
3069         (dbxout_types): Remove.
3070         * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
3071         * debug.c (do_nothing_debug_hooks): Update.
3072         (debug_true_tree, debug_nothing_rtx): New.
3073         * debug.h (struct rtx_def): New.
3074         (struct gcc_debug_hooks): New hooks ignore_block,
3075         outlining_inline_function and label.
3076         (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
3077         dwarf2out_frame_finish): New.
3078         * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
3079         Make static, update prototype.
3080         (dwarf2_debug_hooks): Update.
3081         * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
3082         dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
3083         * dwarfout.c (dwarf_debug_hooks): Update.
3084         * emit-rtl.c: Include debug.h.
3085         (remove_unnecessary_notes): Use debug hook.
3086         * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
3087         (final_scan_insn): Use debug hook.
3088         * integrate.c (output_inline_function): Use debug hook.
3089         * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
3090         (sdb_debug_hooks): Update.
3091         * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
3092         * toplev.c: Don't include xcoffout.h.
3093         (note_outlining_of_inline_function, debug_ignore_block): Remove.
3094         * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
3095         Remove.
3096         * tree.h (dwarf2out_do_frame): Remove.
3097
3098 2001-07-19  Catherine Moore  <clm@cygnus.com>
3099
3100         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
3101
3102 2001-07-19  Geoffrey Keating  <geoffk@redhat.com>
3103
3104         * reload1.c (eliminate_regs_in_insn): When updating a set
3105         to the frame pointer to the hardware frame pointer, perform
3106         the update always not just when REPLACE is set.
3107
3108         * reload1.c (choose_reload_regs): Don't inherit a reload
3109         that crosses multiple registers if registers past the first
3110         don't fit in the desired class.
3111
3112         * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
3113         when negating constants.
3114
3115 2001-07-19  Toon Moene  <toon@moene.indiv.nluug.nl>
3116
3117         * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
3118         * doc/tree.texi: Ditto.
3119
3120 2001-07-19  Mark Kettenis  <kettenis@wins.uva.nl>
3121             Jakub Jelinek  <jakub@redhat.com>
3122
3123         * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
3124         (extract_cie_info): Handle "eh" augmentation properly,
3125         remember eh_ptr.
3126         (struct frame_state, __frame_state_for): New.
3127
3128 2001-07-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3129
3130         * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
3131         HANDLE_SYSV_PRAGMA): Define.
3132         * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
3133         previous args.
3134         (copy_object): Caller changed.
3135
3136 2001-07-19  Andreas Schwab  <schwab@suse.de>
3137
3138         * configure.in (assembler dwarf2 debug_line support): Define nop
3139         insn for m68k.
3140         * configure: Regenerated.
3141
3142 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
3143
3144         * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
3145         dwarfout.h.
3146         * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
3147         to conditionally compiled block.
3148         (dbx_debug_hooks, xcoff_debug_hooks): Update.
3149         * dbxout.h (dbxout_function): Remove.
3150         * debug.c (do_nothing_debug_hooks): Update.
3151         * debug.h (struct gcc_debug_hooks): New hooks function_decl,
3152         global_decl, deferred_inline_function.
3153         * dwarf2out.c (dwarf2_debug_hooks): Update.
3154         (dwarf2out_global_decl): New.
3155         * dwarfout.c: Don't include dwarfout.h.
3156         (dwarfout_global_decl, dwarfout_function_decl,
3157         dwarfout_deferred_inline_function): New.
3158         (dwarf_debug_hooks): Update.
3159         * dwarfout.h: Remove.
3160         * final.c: Don't include dwarfout.h.
3161         * sdbout.c (sdbout_global_decl): New.
3162         (sdbout_debug_hooks): Update.
3163         * toplev.c: Don't include dwarfout.h.
3164         (check_global_declarations, rest_of_compilation): Use new debug hooks.
3165         (note_deferral_of_defined_inline_function): Remove.
3166         * toplev.h (note_deferral_of_defined_inline_function): Remove.
3167         * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
3168         * ch/lex.c: Don't include dwarfout.h.
3169         * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
3170         (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
3171         * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
3172         * cp/optimize.c: Include debug.h.
3173         (maybe_clone_body): Use debug hook.
3174         * cp/semantics.c: Include debug.h.
3175         (expand_body): Use debug hook.
3176         * po/POTFILES.in: Remove dwarfout.h.
3177
3178 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
3179
3180         * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
3181         * c-parse.in (yyerror, _yylex): Similarly.
3182         * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
3183         Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
3184         Update comments.
3185         * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
3186         * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
3187
3188 2001-07-18  Jeff Sturm  <jsturm@one-point.com>
3189
3190         * dwarf2out.c (dwarf2out_abstract_function): Don't emit
3191         in-class declaration at -g1.  Fixes c++/2814.
3192
3193 2001-07-18  Richard Henderson  <rth@redhat.com>
3194
3195         * doc/md.texi (reload_in/out): Document restrictions in predicates
3196         and constraints for these patterns.  Document empty string matching
3197         ALL_REGS.
3198
3199 2001-07-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3200
3201         * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
3202
3203 Wed Jul 18 20:47:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
3204
3205         * cse.c: Undo my previous patch.
3206
3207 2001-07-18  Tom Tromey  <tromey@redhat.com>
3208
3209         For PR java/2812:
3210         * configure: Rebuilt.
3211         * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
3212         instead.
3213         * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
3214
3215 Wed Jul 18 18:46:30 CEST 2001  Richard Henderson <rth@cygnus.com>
3216                                Jan Hubicka  <jh@suse.cz>
3217
3218         * flow.c (redirect_edge_and_branch): Bail out on complex edges.
3219         (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
3220         * jump.c (mark_jump_label): Do not forward branches.
3221
3222 Wed Jul 18 18:35:01 CEST 2001  Jan Hubicka  <jh@suse.cz>
3223
3224         * cse.c (delete_trivially_dead_insns): Delete the libcall block
3225         when return value is unused.
3226
3227 Wed Jul 18 18:28:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
3228
3229         * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
3230
3231 Wed Jul 18 12:05:29 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3232
3233         * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
3234         on error.  We can't blindly return the result of
3235         pthread_mutex_trylock because it returns a positive number on
3236         error, while we must return -1 on error.
3237         (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
3238         fixes.
3239         Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
3240
3241 2001-07-18  Andreas Jaeger  <aj@suse.de>
3242
3243         * integrate.c (output_inline_function): Correct type of debug_hooks.
3244
3245 2001-07-18  Toon Moene  <toon@moene.indiv.nluug.nl>
3246
3247         * combine.c (combine_simplify_rtx): DIV can be treated
3248         associatively for floats if unsafe math optimisations are enabled.
3249
3250 2001-07-17  Richard Henderson  <rth@redhat.com>
3251
3252         * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
3253
3254 2001-07-17  Richard Henderson  <rth@redhat.com>
3255
3256         * calls.c (prepare_call_address): New parameter SIBCALLP.  If true,
3257         don't force the function address into a register.
3258         (expand_call, emit_library_call_value_1): Update callers.
3259         * builtins.c (expand_builtin_apply): Likewise.
3260         * expr.h (prepare_call_address): Update decl.
3261
3262 2001-07-17  Chandrakala Chavva  <cchavva@redhat.com>
3263
3264         * config.gcc: For *-*-chorusos triplet, get chorus.h file from
3265         config directory.
3266         * config/i386/chorus.h: Move up.
3267         * config/sparc/chorus.h: Likewise.
3268         * config/rs6000/chorus.h: Likewise.
3269         * config/chorus.h: Moved here.
3270
3271 2001-07-17  Andreas Schwab  <schwab@suse.de>
3272
3273        * configure.in  (assembler eh_frame optimization): Handle big
3274        endian.
3275        * configure: Regenerated.
3276
3277 Tue Jul 17 23:43:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
3278
3279         * expr.c (epxand_expr): Convert divisions into multiplications by
3280         reciprocals if -ffast-math.
3281
3282 2001-07-17  Neil Booth  <neil@daikokuya.demon.co.uk>
3283
3284         * dbxout.c (dbxout_really_begin_function): Rename to
3285         dbxout_begin_function.
3286         (dbx_debug_hooks, xcoff_debug_hooks): Update.
3287         (dbxout_begin_function): Remove.
3288         (dbxout_function): Update.
3289         (dbxout_source_line): Update prototype.
3290         * dbxout.h (dbxout_begin_function): Remove.
3291         * debug.c (do_nothing_debug_hooks): Update.
3292         (debug_nothing_tree): Update.
3293         (debug_nothing_charstar_rtx): Remove.
3294         * debug.h (union tree_node): Declare.
3295         (struct rtx_def): Remove.
3296         (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
3297         begin_function.  Change source_line prototype.
3298         (debug_nothing_tree): New.
3299         (debug_nothing_charstar_rtx): Delete.
3300         (dwarf2out_begin_prologue): Moved from ...
3301         * tree.h: ... here.
3302         * dwarf2out.c (dwarf2_debug_hooks): Update.
3303         (dwarf2out_begin_prologue): Update prototype.  If genuine dwarf2
3304         debug info, call dwarf2out_source_line.
3305         (dwarf2out_souce_line): Update prototype.
3306         * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
3307         Change prototype, make static.
3308         (dwarfout_source_line): Update prototype.
3309         (dwarf_debug_hooks): Update.
3310         * dwarfout.h (dwarfout_begin_function): Remove.
3311         * final.c (final_start_function, final_scan_insn): Use appropriate
3312         debug hooks, update to use notice_source_line.
3313         (output_source_line): Rename notice_source_line.  Don't call the
3314         source_line debug hook.
3315         * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
3316         make static, update prototype.
3317         (sdbout_mark_begin_function): Rename sdbout_begin_function, update
3318         prototype.
3319         (sdbout_end_prologue): New.
3320         (sdbout_source_line): Update prototype.
3321         (sdbout_debug_hooks): Update.
3322         (sdbout_symbol): Remove unused var.
3323         * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
3324         Delete.
3325         * varasm.c: Include debug.h.
3326         (assemble_start_function): Use begin_function debug_hook.
3327         * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
3328         update with prototype.
3329         (xcoffout_source_line): Update prototype.
3330         * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
3331         update prototype.
3332         (xcoffout_source_line): Update prototype.
3333
3334 2001-07-17  Richard Henderson  <rth@redhat.com>
3335
3336         * c-typeck.c (build_binary_op): Do not shorten unsigned
3337         right shift after sign extension.
3338
3339 Tue Jul 17 16:56:05 CEST 2001  Jan Hubicka  <jh@suse.cz>
3340
3341         * combine.c (combine_simplify_rtx): Attempt to simplify
3342         a*(b/c) as (a*b)/c for floats in unsafe_math mode.
3343
3344         * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
3345         (simplify_binary_operation, simplify_unary_operation,
3346          simplify_relational_operation): Use it.
3347
3348         * combine.c (combine_simplify_rtx): Don't do associative law
3349         on divisions; allow associative law on floats.
3350
3351 2001-07-17  H.J. Lu <hjl@gnu.org>
3352             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3353
3354         * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
3355         ASM_OUTPUT_WEAK_ALIAS are defined.
3356         * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
3357         * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
3358         Moved ...
3359         * config/mips/iris5.h: ... here.
3360         (HANDLE_SYSV_PRAGMA): Defined as 1.
3361         * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
3362         * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
3363         symbol.
3364
3365 2001-07-17  Joseph S. Myers  <jsm28@cam.ac.uk>
3366
3367         * c-parse.in (all_prefix_attributes): New variable.
3368         (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
3369         (maybe_resetattrs): New production.
3370         (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
3371         maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
3372         notype_initdcl, nested_function, notype_nested_function,
3373         component_decl, components, components_notype,
3374         component_declarator, component_notype_declarator,
3375         absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
3376         ivars, mydecl, myparm): Update.  Avoid prefix attributes just
3377         after a comma being applied to more than one declarator.
3378         * doc/extend.texi (Attribute Syntax): Update.  Remove
3379         documentation of bugs that are no longer present.
3380
3381 2001-07-13  Eric Christopher  <echristo@redhat.com>
3382
3383         * config/mips/mips.h: Change TUNE_MIPS* options to use
3384         mips_tune.
3385         (EXTRA_SPECS): Add cc1_cpu_spec.
3386         * config/mips/mips.md (muldf3): Fix typo.
3387
3388 2001-07-16  Richard Henderson  <rth@redhat.com>
3389
3390         * config/m68k/m68k.c: Include expr.h and reload.h.
3391         (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
3392         [general int]: Use HOST_WIDE_INT_PRINT_DEC.
3393
3394 2001-07-16  Daniel Berlin  <dan@cgsoftware.com>
3395             Richard Henderson  <rth@redhat.com>
3396
3397         * cse.c (set_live_p): Take INSN argument for cc0; update callers.
3398         (insn_live_p): Fix fall off end of function.
3399         (dead_libcall_p): Remove COUNTS argument; update callers.
3400         (delete_trivially_dead_insns): Remove unused variables.
3401
3402 2001-07-17  Andreas Jaeger  <aj@suse.de>
3403
3404         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
3405         x86-64 pic support.
3406
3407         * lcm.c (optimize_mode_switching): Avoid warning for unused
3408         variable if !NORMAL_MODE.
3409
3410         * flow.c (try_crossjump_to_edge): Remove unused variable.
3411
3412 2001-07-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3413
3414         * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
3415         atexit declaration in stdlib.h.
3416
3417 2001-07-16  Richard Begg  <Richard.Begg@colesmyer.com.au>
3418
3419         * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
3420
3421 Mon Jul 16 22:48:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
3422
3423         * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
3424         * except.c (finish_eh_generation): Update call of cleanup_cfg;
3425         do rebuild_jump_labels instead of jump_optimize
3426         * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
3427         * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
3428         * flow.c (try_optimize_cfg): Remove unneeded code_labels.
3429
3430         * flow.c: Include timevar.h
3431         (find_basic_block): Push/pop timevar;
3432         (cleanup_cfg): Likewise.
3433         * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
3434         * Makefile: Add dependencies on timevar.h
3435
3436         * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
3437         (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
3438
3439         * rtl.h (delete_trivially_dead_insns): Add new parameter.
3440         * toplev.c (rest_of_compilation): Update calls.
3441         * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
3442         (delete_trivially_dead_insns): ... here; accept new argument
3443         preserve_basic_blocks; preserve basic blocks if set.
3444
3445         * reg-stack.c (stack_regs_mentioned): Return 0 if
3446         stack_regs_mentioned_data is not initialized.
3447         (reg_to_stack): Make stack_regs_mentioned survive after the
3448         reg-stack is completted; do not call cleanup_cfg.
3449         * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
3450         make cleanup_cfg after bb-reorder to output to debug file.
3451
3452 2001-07-16  Richard Henderson  <rth@redhat.com>
3453
3454         * regclass.c (init_reg_sets): Use only 32 bits per initializer
3455         from int_reg_class_contents.
3456
3457 2001-07-16  Richard Henderson  <rth@redhat.com>
3458
3459         * hard-reg-set.h (regs_invalidated_by_call): Declare.
3460         * regclass.c (regs_invalidated_by_call): Move from cse.c.
3461         (init_reg_sets_1): Move initialization from cse_main.
3462         * cse.c (regs_invalidated_by_call): Move to regclass.c.
3463         (cse_main): Move its initialization also.
3464         * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
3465         * flow.c (propagate_one_insn): Likewise.
3466         * gcse.c (compute_hash_table): Likewise.
3467         (compute_kill_rd, compute_store_table): Likewise.
3468         * sched-deps.c (sched_analyze_1): Likewise.
3469
3470 Mon Jul 16 18:07:07 2001  J"orn Rennecke <amylaar@redhat.com>
3471
3472         * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
3473         gen_rtx_SET.
3474
3475 2001-07-16  Steve Ellcey <sje@cup.hp.com>
3476
3477         * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
3478         in if statement so we don't access undefined memory.
3479
3480 2001-07-16  Daniel Berlin  <dan@cgsoftware.com>
3481
3482         * gcse.c: Update comment at top.
3483         Update comment on mem handling.
3484         mem_last_set, mem_first_set, mem_set_in_block: gone.
3485         Declaration of reg_set_info: gone.
3486         (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
3487         pointless with load_killed_in_block_p (they are *more*
3488         conservative then it, not less, and less accurate).
3489         (oprs_not_set_p): Ditto.
3490         (alloc_gcse_mem): Don't allocate mem_set_in_block
3491         (free_gcse_mem): Don't free it, either.
3492         (record_last_mem_set_info): Update comment in front, remove
3493         mem_*set_* stuff. Note the reason we don't handle stores directly
3494         here.
3495         (compute_hash_table): Update comments to reflect reality. Remove
3496         mem_*set_* references.
3497         (reset_opr_set_tables): Remove mem_*set_* references.
3498         (mark_call): Ditto.
3499         (mark_set): Ditto.  Also remove double sets of bitmaps for REG's.
3500         (mark_clobber): Ditto (on both parts, we double set here too).
3501         (expr_killed_p): Remove mem_set_in_block test.
3502         (compute_transp): Remove mem_set_in_block test.
3503
3504         * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
3505         of edge, and removal of phi alternative to dump file.
3506         (ssa_ccp_substitute_constants): Add note about register now being
3507         constant, and which uses were replaced in what insns to dump file.
3508
3509 2001-07-16  Andreas Jaeger  <aj@suse.de>
3510
3511         * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
3512         variables of type HOST_WIDEST_INT.
3513
3514         * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
3515         (__bb_exit_func): Correct type of count_max to avoid overflow.
3516         (num_digits): Handle long long argument.
3517
3518         * combine.c (gen_lowpart_for_combine): Remove unused variable.
3519
3520 2001-07-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
3521
3522         * output.h (sdb_begin_function_line): Restore as an extern
3523         variable.
3524         * sdbout.c (sdb_begin_function_line): Make extern.
3525
3526 2001-07-15  Richard Henderson  <rth@redhat.com>
3527
3528         * machmode.def (Pmode): Redefine if GENERATOR_FILE.
3529         * genrecog.c (maybe_both_true_mode): New.
3530         (maybe_both_true_2): Use it.
3531         (write_switch): Don't put Pmode in a switch.
3532         * rtl.c (mode arrays): Don't explicitly size them.
3533
3534 Sun Jul 15 14:07:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
3535
3536         * toplev.c (rest_of_compilation): Fix register_life_up_to_date
3537         handling; move unconditional splitting before mode switching.
3538
3539         * i386.md (type): Add fistp type.
3540         (i387, length_attr, scheduling definitions): Handle this type.
3541         (fix_trunc?f?i2): Revamp to use mode switching.
3542         (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
3543         * i386.h (fp_cw_mode): New enum
3544         (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
3545         MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
3546
3547 Sun Jul 15 12:53:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3548
3549         * Makefile.in (integrate.o): Add debug.h.
3550         * integrate.c (debug.h): Add.
3551         (output_inline_function): Save, reset, and restore debug_hooks.
3552
3553 2001-07-15  Richard Henderson  <rth@redhat.com>
3554
3555         * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
3556         instead of COMPARE for the EQUIV expression.
3557
3558 2001-07-15  Richard Henderson  <rth@redhat.com>
3559
3560         * flow.c (redirect_edge_and_branch_force): Initialize
3561         global_live_at_start and global_live_at_end.
3562         (allocate_bb_life_data): Export.
3563         * basic-block.h (allocate_bb_life_data): Declare.
3564         * toplev.c (rest_of_compilation): Call it.
3565
3566 2001-07-15  Richard Henderson  <rth@redhat.com>
3567
3568         * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
3569         (alpha_tablejump_best_label): New.
3570         * config/alpha/alpha-protos.h: Declare them.
3571         * config/alpha/alpha.md: Use braced strings for code blocks.
3572         (tablejump_osf): Break out add with r29.
3573         (tablejump_osf_internal): Remove.
3574         (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
3575         use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
3576
3577 Sun Jul 15 00:53:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
3578
3579         * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
3580         of the movable.
3581
3582         * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
3583
3584         * i386-protos.h (ix86_split_fp_branch): Update prototype.
3585         (ix86_fp_jump_nontrivial_p): New.
3586         * i386.md (fp_jcc_?): Update call of split_fp_branch;
3587         use ix86_fp_jump_nontrivial_p.
3588         * i386.c (ix86_fp_jump_nontrivial_p): New.
3589         (ix86_split_fp_branch): Accept code instead of rtx.
3590         (ix86_expand_compare): Expand comparison early in case
3591         doing so is resonably cheap.
3592
3593 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
3594
3595         * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
3596         not 'machine'.
3597         (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
3598         (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
3599
3600 2001-07-15  Neil Booth  <neil@daikokuya.demon.co.uk>
3601
3602         * dbxout.c (dbxout_source_line): Make static, update prototype.
3603         (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
3604         (dbxout_init, dbxout_finish, dbxout_source_line,
3605         dbxout_begin_block, dbxout_end_block): Update for new prototypes.
3606         * dbxout.h (dbxout_source_line): Delete.
3607         * debug.c (debug_nothing_file, debug_nothing_file_int,
3608         debug_nothing_file_charstar_rtx): New.
3609         (do_nothing_debug_hooks): Update.
3610         (debug_nothing_void, debug_nothing_charstar_rtx,
3611         dwarf2out_end_epilogue): New.
3612         (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
3613         * debug.h (struct rtx_def): Declare.
3614         (gcc_debug_hooks): New hooks source_line, end_epilogue
3615         and end_function.
3616         (debug_nothing_void, debug_nothing_charstar_rtx,
3617         dwarf2out_end_epilogue): New.
3618         (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
3619         * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
3620         (dwarf2_debug_hooks): Update.
3621         (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
3622         dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
3623         * dwarf2out.h (dwarf2out_source_line): Remove.
3624         * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
3625         Make static, update prototype.
3626         (dwarfout_init, dwarfout_finish, dwarfout_source_line,
3627         dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
3628         (dwarf_debug_hooks): Update.
3629         * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
3630         dwarfout_end_function): Remove.
3631         * final.c (profile_function): Use debug hooks for ending functions
3632         and epilogues.
3633         (output_source_line, final_end_function): Update prototype,
3634         use debug hooks.
3635         (final_start_function, final_scan_insn): Update.
3636         * output.h (sdb_begin_function_line): Remove.
3637         (final_end_function): Update prototype.
3638         * sdbout.c (sdb_begin_function_line): Make static.
3639         (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
3640         (sdbout_source_line): New.
3641         (sdbout_end_epilogue, sdbout_end_function): Make static, update
3642         prototypes.
3643         (sdb_debug_hooks): Update.
3644         (sdbout_init, sdbout_source_line,
3645         sdbout_begin_block, sdbout_end_block): Update for new prototypes.
3646         * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
3647         * toplev.c (compile_file, rest_of_compilation): Update.
3648         * tree.h (dwarf2out_end_epilogue): Move to debug.h.
3649         * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
3650         xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
3651         Update for prototype changes.
3652         * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
3653         xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
3654
3655 2001-07-15  Richard Henderson  <rth@redhat.com>
3656
3657         * config/alpha/alpha.h (TARGET_ABI_OSF): New.
3658         (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
3659         * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
3660         * config/alpha/alpha.c: Likewise.
3661         * config/alpha/alpha.md: Likewise.
3662         * config/alpha/alpha32.h: Likewise.
3663         * config/alpha/vms.h: Likewise.
3664         (OPEN_VMS): Remove.
3665
3666 2001-07-14  Richard Henderson  <rth@redhat.com>
3667
3668         * config/alpha/alpha.md: Use define_constants for unspec values.
3669         Substitute throughout.
3670
3671 2001-07-14  Tim Josling  <tej@melbpc.org.au>
3672
3673         * tree.def (EXPON_EXPR) remove. Never supported anyway.
3674
3675 2001-07-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3676
3677         * pa.md: Remove unused constraints from define_split's.
3678
3679 2001-04-14  Richard Henderson  <rth@redhat.com>
3680
3681         * ifcvt.c (find_cond_trap): Test for exit block.
3682
3683 Sun Jul 15 00:50:20 CEST 2001  Jan Hubicka  <jh@suse.cz>
3684
3685         Re-install recently reverted patch.
3686         * emit-rtl.c (try_split): Update mark_jump_label call.
3687         * flow.c (find_sub_basic_blocks): Likewise.
3688         * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
3689         jump_back_p): Kill.
3690         (mark_all_labels): Kill second parameter.
3691         (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
3692         (rebuild_jump_labels, jump_optimize_minimal): Update call
3693         of jump_optimize_1.
3694         (jump_optimize_1): Kill crossjumping code.
3695         (mark_jump_label): Kill cross_jump parameter.
3696         * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
3697         (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
3698         * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
3699          splitting.
3700         * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
3701         DFI_bpro.
3702         (dump_file_info): Likewise.
3703         (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
3704         reorganize passes to do reg-stack first, bb-reorder second.
3705         * invoke.texi (-d letters doc): Remove the jump2 pass.
3706
3707 2001-07-14  Richard Henderson  <rth@redhat.com>
3708
3709         * ifcvt.c (find_cond_trap): New.
3710         (find_if_header): Call it.
3711         (merge_if_block): Relax existing jump sanity check.
3712         * jump.c (jump_optimize_1): Remove conditional trap handling.
3713
3714 2001-07-14  Alan Modra  <amodra@bigpond.net.au>
3715
3716         * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
3717         millicode.
3718         (insn_refs_are_delayed): Correct comment.
3719         * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
3720         * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
3721         instead of r31.  Make associated insn !TARGET_64BIT, and
3722         provide an additional 64-bit insn that clobbers r2.
3723         (divsi3): Likewise.
3724         (udivsi3): Likewise.
3725         (modsi3): Likewise.
3726         (umodsi3): Likewise.
3727
3728 Sat Jul 14 02:58:38 CEST 2001  Jan Hubicka  <jh@suse.cz>
3729
3730         * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
3731
3732         * flow.c (redirect_edge_and_branch_force, split_edge,
3733         try_crossjump_to_edge): Use set_block_for_new_insns.
3734         * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
3735
3736 2001-07-13  H.J. Lu  (hjl@gnu.org)
3737
3738         * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
3739         the correct patch.
3740
3741 2001-07-13  Geoffrey Keating  <geoffk@redhat.com>
3742
3743         Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
3744
3745 2001-07-13  Joseph S. Myers  <jsm28@cam.ac.uk>
3746
3747         * c-common.c (decl_attributes): Take a pointer to the node to
3748         which attributes are to be attached, and a flags argument.
3749         * c-common.h (enum attribute_flags): New.
3750         (decl_attributes): Update prototype.
3751         * c-decl.c (start_decl, push_parm_decl, finish_struct,
3752         finish_enum, start_function): Update calls to decl_attributes.
3753         * c-parse.in (component_declarator, component_notype_declarator,
3754         label): Update calls to decl_attributes.
3755
3756 Fri Jul 13 23:04:00 2001  Denis Chertykov  <denisc@overta.ru>
3757
3758         * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
3759         * config/avr/avr.c (legitimate_address_p): Return value changed
3760         from letter to register classes. For better debugging.
3761
3762 2001-07-13  Kazu Hirata  <kazu@hxi.com>
3763
3764         * jump.c (reversed_comparison_code_parts): Fix comment typos.
3765
3766 2001-07-13  H.J. Lu  (hjl@gnu.org)
3767
3768         * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
3769
3770 2001-07-13  Marc Espie  <espie@cvs.openbsd.org>
3771
3772         * config.gcc (*-*-openbsd*):  Add fragment to compile libgcc
3773         correctly for shared configurations.
3774         * config/t-libgcc-pic:  New.
3775         * config/{i386,m68k,sparc}/t-openbsd:  New.
3776         * config/openbsd.h:  Include cpu_spec in cpp_spec where needed.
3777         Support -shared.  Support debugging libraries with -g.
3778         * config/i386/openbsd.h:  Correct ASM_COMMENT_START.  Ensure dwarf2
3779         frame information does not emit pointer diffs.
3780         * config/sparc/openbsd.h:  Ensure dwarf2 frame information does not
3781         emit pointer diffs.
3782
3783 2001-07-13  Geoffrey Keating  <geoffk@redhat.com>
3784
3785         Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
3786
3787 2001-07-13  David Edelsohn  <edelsohn@gnu.org>
3788
3789         * combine.c (try_combine): Ensure const_int pow2 is positive.
3790
3791 2001-07-13  Hartmut Penner  <hpenner@de.ibm.com>
3792
3793         * config.gcc: Add configuration for s/390.
3794         * config/s390/s390.c: New. Subroutines for code generation.
3795         * config/s390/s390.h: New. Definitions for s/390.
3796         * config/s390/s390-protos.h: New. Prototypes.
3797         * config/s390/linux.h: New. Definitions for linux for s/390.
3798         * config/s390/linux64.h: New. Definitions for linux for zSeries.
3799         * config/s390/t-linux: New. Makefile fragment.
3800         * config/s390/s390.md: New. Machine description for s/390 and zSeries.
3801         * config/s390/fixdfdi.h: New. Fix L_fix*di.
3802
3803 Fri Jul 13 14:46:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
3804
3805         * emit-rtl.c (try_split): Update mark_jump_label call.
3806         * flow.c (find_sub_basic_blocks): Likewise.
3807         * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
3808         jump_back_p): Kill.
3809         (mark_all_labels): Kill second parameter.
3810         (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
3811         (rebuild_jump_labels, jump_optimize_minimal): Update call
3812         of jump_optimize_1.
3813         (jump_optimize_1): Kill crossjumping code.
3814         (mark_jump_label): Kill cross_jump parameter.
3815         * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
3816         (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
3817         * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
3818          splitting.
3819         * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
3820         DFI_bpro.
3821         (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
3822         reorganize passes to do reg-stack first, bb-reorder second.
3823         * invoke.texi (-d letters doc): Remove the jump2 pass.
3824
3825 2001-07-12  Steve Ellcey <sje@cup.hp.com>
3826
3827         * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
3828
3829 Thu Jul 12 17:57:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
3830
3831         * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
3832         basic blocks.
3833         (verify_flow_info): Make diagnostics prettier.
3834
3835 Thu Jul 12 16:48:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
3836
3837         * flow.c (find_basic_blocks_1): Do not emit NOP after call.
3838
3839         * flow.c (outgoing_edges_match): Return early if condition reversal
3840         failed.
3841
3842 2001-07-06  Richard Sandiford  <rsandifo@redhat.com>
3843
3844         * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
3845         (mips_move_2words): When splitting a move into two instructions,
3846         prefix the second address operand with '%D'.
3847
3848 2001-07-12  Neil Booth  <neil@daikokuya.demon.co.uk>
3849
3850         * Makefile.in (final.o): Depend on debug.h.
3851         * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
3852         (dbx_debug_hooks): Add new hooks.
3853         (xcoff_debug_hooks): New.
3854         * debug.c (debug_nothing_file_int_int): New.
3855         (do_nothing_debug_hooks): Update.
3856         * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
3857         (debug_nothing_file_int_int): New.
3858         * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
3859         static, update prototype.
3860         (dwarf2_debug_hooks): Update.
3861         * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
3862         * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
3863         static, update prototype.
3864         (dwarf_debug_hooks): Update.
3865         * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
3866         * final.c: Include debug.h.
3867         (final_scan_insn): Use debug hooks when beginning and ending blocks.
3868         * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
3869         static, update prototype.
3870         (sdb_debug_hooks): Update.
3871         * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
3872         * toplev.c: Distinguish between xcoff and dbx.
3873
3874         * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
3875         Call all debug hooks, not just dwarf ones.
3876
3877 2001-07-11  Timothy Wall  <twall@redhat.com>
3878
3879         * config.gcc: Add configuration for AIX5/IA64.
3880         * config/ia64/aix.h: New.  AIX5/IA64-specific configuration.
3881         * config/ia64/crt[in].asm: New.  Generic static ctor/dtor
3882         support prefix/suffix code.
3883         * config/ia64/t-aix: New.  Makefile fragment.
3884         * config/ia64/unwind-aix.c: New.  Unwind table entry lookup.
3885
3886 2001-07-11  Kazu Hirata  <kazu@hxi.com>
3887
3888         * recog.c (validate_change): Fix a comment typo.
3889
3890 2001-07-11  Neil Booth  <neil@daikokuya.demon.co.uk>
3891
3892         * Makefile.in (c-lex.o): Wrap long lines.  Depend on debug.h.
3893         * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
3894         hooks directly.
3895         * dbxout.c (dbx_debug_hooks): Add new hooks.
3896         (dbxout_start_new_source_file): Rename dbxout_start_source_file,
3897         make static.
3898         (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
3899         make static.
3900         * dbxout.h (dbxout_start_new_source_file,
3901         dbxout_resume_previous_source_file): Delete.
3902         * debug.c (do_nothing_debug_hooks): Add new hooks.
3903         (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
3904         (debug_nothing_int_charstar, debug_nothing_int): New.
3905         * debug.h (gcc_debug_hooks): New hooks define, undef,
3906         start_source_file and end_source_file.
3907         (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
3908         (debug_nothing_int_charstar, debug_nothing_int): New.
3909         * dwarf2out.c (dwarf2_debug_hooks): Add new hooks.  Move into
3910         the conditionally compiled section.
3911         (dwarf2out_start_source_file, dwarf2out_end_source_file,
3912         dwarf2out_define, dwarf2out_undef): Make static.
3913         * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
3914         dwarf2out_define, dwarf2out_undef): Remove.
3915         * dwarfout.c (dwarf_debug_hooks): Add new hooks.
3916         (dwarfout_start_source_file, dwarfout_end_source_file,
3917         dwarfout_define, dwarfout_undef): Make static.
3918         (dwarfout_start_source_file_check,
3919         dwarfout_end_source_file_check): New.
3920         (dwarfout_define, dwarfout_finish): Update.
3921         * dwarfout.h (dwarfout_start_new_source_file,
3922         dwarfout_resume_previous_source_file, dwarfout_define,
3923         dwarfout_undef): Remove.
3924         * sdbout.c (sdb_debug_hooks): Add new hooks.
3925         (sdbout_start_new_source_file): Rename sdbout_start_source_file,
3926         make static.
3927         (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
3928         make static, take an arg.
3929         * sdbout.h (sdbout_start_new_source_file,
3930         sdbout_resume_previous_source_file): Delete.
3931         * toplev.c (debug_start_source_file, debug_end_source_file,
3932         debug_define, debug_undef): Delete.
3933         * toplev.h (debug_start_source_file, debug_end_source_file,
3934         debug_define, debug_undef): Delete.
3935
3936         * java/jcf-parse.c: Include debug.h.
3937         (parse_class_file): Update to use debug hooks directly.
3938         * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
3939
3940 Wed Jul 11 10:07:18 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3941
3942         * alias.c (set_mem_alias_set): New function.
3943         * rtl.h (set_mem_alias_set): Declare it.
3944         * builtins.c (expand_builtin_return_addr): Call it instead of
3945         using MEM_ALIAS_SET accessor.
3946         (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
3947         (get_memory_rtx, expand_builtin_va_arg): Likewise.
3948         (expand_builtin_va_copy):Likewise.
3949         * caller-save.c (setup_save_areas): Likewise.
3950         * calls.c (compute_argument_addresses): Likewise.
3951         * explow.c (set_mem_attributes): Likewise.
3952         * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
3953         (expand_assignment, store_constructor_field, store_field): Likewise.
3954         (expand_expr_unaligned): Likewise.
3955         * function.c (assign_stack_temp_for_type): Likewise.
3956         (put_reg_into_stack, gen_mem_addressof): Likewise.
3957         * ifcvt.c (noce_try_cmove_arith): Likewise.
3958         * reload1.c (reload, alter_reg): Likewise.
3959         * config/alpha/alpha.c (get_aligned_mem): Likewise.
3960         (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
3961         (alpha_expand_unaligned_store): Likewise
3962         (alpha_expand_unaligned_load_words): Likewise.
3963         (alpha_expand_unaligned_store_words): Likewise.
3964         (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
3965         (alpha_expand_epilogue): Likewise.
3966         * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
3967         * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
3968         * config/i386/i386.c (legitimize_pic_address): Likewise.
3969         * config/i960/i960.c (setup_incoming_varargs): Likewise.
3970         * config/ia64/ia64.c (spill_restore_mem): Likewise.
3971         * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
3972         * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
3973         * config/mips/mips.c (mips_va_arg): Likewise.
3974         * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
3975         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
3976         * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
3977         (setup_incoming_varargs, rs6000_va_arg): Likewise.
3978         (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
3979         (rs6000_emit_epilogue): Likewise.
3980         * config/sh/sh.c (sh_builtin_saveregs): Likewise.
3981         * config/sparc/sparc.c (sparc_va_arg): Likewise.
3982         * config/v850/v850.c (v850_va_arg): Likewise.
3983
3984 Wed Jul 11 21:27:25 CEST 2001  Jan Hubicka  <jh@suse.cz>
3985
3986         * flow.c (merge_blocks_move_successor_nojumps): Do not crash
3987         when fallthru edge is present.
3988         (mege_blocks): Handle case where creation of jump insn
3989         is required.
3990
3991         * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
3992         CLEANUP_POST_REGSTACK): New constants.
3993         * except.c (finish_eh_generation): Update call of cleanup_cfg,
3994         * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
3995         * output.h (cleanup_cfg): Update prototype.
3996         * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
3997         * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
3998         cleanup_cfg call; kill missleading comment.
3999         * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
4000         * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
4001         parameter; control optimizations performed using it.
4002         (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
4003         try_crossjump_bb): New functions.
4004
4005 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4006
4007         * pa.c (pa_output_function_prologue): Delete prototype.  Make function
4008         extern.
4009         * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
4010         pa_output_function_prologue.
4011         * pa-protos.h (pa_output_function_prologue): New prototype.
4012
4013 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4014
4015         * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
4016         and low to get correct sign extension in low+high test.
4017
4018 2001-07-11  Janis Johnson <janis@us.ibm.com>
4019
4020         * gcov.c (arcdata): Use gcov_type to fix branch percentage
4021         for large hit count.
4022
4023         * profile.c (branch_prob): Fix .bbg info for computed gotos
4024         and C++ EH code.
4025
4026 2001-07-11  Mark Mitchell  <mark@codesourcery.com>
4027
4028         * stmt.c (parse_output_constraint): New function, split out
4029         from ...
4030         (expand_asm_operands): ... here.  Use parse_output_constraint.
4031         * tree.h (parse_output_constraint): Declare it.
4032
4033 2001-07-11  Richard Henderson  <rth@redhat.com>
4034
4035         * bitmap.c: Comment some functions; fiddle whitespace.
4036         (bitmap_free): Don't export.
4037         (bitmap_element_allocate): Use memset.
4038         * bitmap.h (bitmap_free): Don't declare.
4039
4040 2001-07-11  Daniel Berlin  <dan@cgsoftware.com>
4041
4042         * gcse.c, lcm.c, sched-deps.c:
4043         s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
4044
4045         * flow.c (flow_loops_find): Free dom if we found no loops, since
4046         we aren't going to save it.
4047
4048         * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
4049         done.
4050
4051 Wed Jul 11 09:00:48 2001  Jeffrey A Law  (law@cygnus.com)
4052
4053         * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
4054
4055 Wed Jul 11 10:07:18 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4056
4057         * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
4058         #ifndef DWARF2_DEBUGGING_INFO.
4059
4060 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
4061
4062         * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
4063
4064 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
4065
4066         * config/mips/mips.c (gen_int_relational): Tell the caller not to
4067         reverse a branch if a NE comparison is implemented with GTU.
4068
4069 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
4070             H.J. Lu  <hjl@gnu.org>
4071
4072         * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
4073         constant addresses.
4074         (call_internal2): Likewise.
4075         (call_value_internal1): Likewise.
4076         (call_value_internal2): Likewise.
4077         (call_value_multiple_internal1): Likewise.
4078         (call_value_multiple_internal2): Likewise.
4079
4080 2001-07-10  Kazu Hirata  <kazu@hxi.com>
4081
4082         * calls.c (emit_library_call_value_1): Fix a comment typo.
4083         * dwarf2out.c (mem_loc_descriptor): Likewise.
4084         * config/i386/i386.c (ix86_expand_aligntest): Likewise.
4085
4086 2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>
4087
4088         * simplify-rtx.c (simplify_subreg): Fix typo in comment
4089
4090 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4091
4092         * recog.c (offsettable_address_p): Handle LO_SUM case.
4093         * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
4094         instead of plus_constant.
4095
4096 2001-07-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4097
4098         * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
4099         fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
4100
4101 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4102
4103         * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
4104         adjust_address_nv instead of plus_constant.
4105
4106 2001-07-10  Neil Booth  <neil@daikokuya.demon.co.uk>
4107
4108         * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
4109         dwarf2out.o): Depend on debug.h, wrap long lines.
4110         * dbxout.c: Include debug.h.
4111         (dbx_debug_hooks): New.
4112         (dbxout_init): Make static, take just 2 args.
4113         (dbxout_finish): Make static.
4114         * dbxout.h (dbxout_init, dbxout_finish): Delete.
4115         * debug.c: New file.
4116         * debug.h: New file.
4117         * dwarf2out.c: Include debug.h.
4118         (dwarf2_debug_hooks): New.
4119         (dwarf2out_init): Make static.
4120         (dwarf2out_finish): Make static, take 2 args.
4121         * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
4122         * dwarfout.c: Include debug.h.
4123         (dwarf_debug_hooks): New.
4124         (dwarfout_init): Make static.
4125         (dwarfout_finish): Make static, take 2 args.
4126         * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
4127         * sdbout.c: Include debug.h.
4128         (sdb_debug_hooks): New.
4129         (sdbout_init): Make static, take 2 args.
4130         * sdbout.h (sdbout_init): Delete.
4131         * toplev.c: Include debug.h.
4132         (debug_hooks): New.
4133         (compile_file): Set deubg_hooks based on command line options.
4134         Use the hooks unconditionally rather than conditional compilation.
4135
4136 Tue Jul 10 09:04:45 2001  Jeffrey A Law  (law@cygnus.com)
4137
4138         * ssa-ccp.c (first_phi_node): Remove.  Replace uses with calls to
4139         first_insn_after_basic_block_note instead.
4140
4141         * df.c (df_bb_refs_unlink): #if 0 out for now.
4142
4143 2001-07-10  David Billinghurst <David.Billinghurst@riotinto.com
4144
4145         * ssa.h: Add prototype for ssa_const_prop
4146         * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
4147         (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
4148         (ssa_fast_dce): Remove unused variable
4149
4150 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4151
4152         * diagnostic.c (finish_diagnostic): Rename to
4153         diagnostic_finish. Make it take an 'output_buffer *'.  Adjust
4154         calls thourghout.
4155
4156 2001-07-10  Jason Merrill  <jason_merrill@redhat.com>
4157
4158         * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
4159         .loc support.
4160
4161         * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
4162         (dump_file): Only pad the demangled name with spaces if the
4163         mangled name was padded with spaces.
4164
4165 2001-07-10  Bernd Schmidt  <bernds@redhat.com>
4166
4167         * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
4168         edge detection.
4169
4170 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4171
4172         * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
4173         extraction if no direct load if either EXPAND_CONST_ADDRESS or
4174         EXPAND_INITIALIZER.
4175
4176         * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
4177         whether can put offset inside LO_SUM to check mode alignment, not size.
4178
4179 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4180
4181         * doc/tm.texi (Misc): Fix thinko.
4182
4183 2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
4184
4185         * regmove.c (replace_in_call_usage): Fix warnings.
4186         * sched-deps.c (add_dependence): Fix warnings.
4187         * simplify-rtx.c (simplify_subreg): Likewise.
4188         Return NULL_RTX instead of NULL.
4189
4190         * reg-stack.c (emit_swap_insn): Eliminate warnings.
4191         (subst_asm_stack_regs): Likewise.
4192
4193         * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
4194         warnings.
4195
4196         * dwarf2out.c (output_call_frame_info): Declare i as int.
4197         (build_abbrev_table): Declare n_alloc as int.
4198         (dwarf2out_finish): Initialize die.
4199         * except.c: Declare sjlj_funcdef_number as unsigned.
4200         (connect_post_landing_pads): Declare j as unsigned.
4201         (convert_to_eh_region_ranges): Initialize call_site.
4202         (output_function_exception_table): Initialize tt_format_size.
4203         * expr.c (move_by_pieces_1): Initialize to1.
4204         (store_constructor): Initialize minelt and maxelt.
4205         * flow.c (mark_regs_live_at_end): Declare i as unsigned.
4206         * function.c (instantiate_decls): Avoid signed/unsigned warning.
4207
4208         * c-decl.c (combine_parm_decls): Unused, remove.
4209         * c-tree.h: Remove prototype for combine_parm_decls.
4210
4211         * reload.c (push_reload): Fix warning.
4212         (regno_clobbered_p): Likewise.
4213         * reload1.c (replace_pseudos_in_call_usage): Likewise.
4214         (reload_combine): Likewise.
4215
4216         * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
4217         * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
4218         warnings.
4219         * bitmap.c (bitmap_operation): Change user.
4220         * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
4221
4222 2001-07-10  Eric Christopher  <echristo@redhat.com>
4223
4224         * config/mips/mips.c (override_options): Fix typo.
4225
4226 2001-07-09  Stan Shebs  <shebs@apple.com>
4227
4228         * target.h (struct gcc_target): New fields init_builtins and
4229         expand_builtin.
4230         * target-def.h (TARGET_INIT_BUILTINS): New macro.
4231         (TARGET_EXPAND_BUILTIN): New macro.
4232         (TARGET_INITIALIZER): Add them.
4233         * builtins.c: Include target.h.
4234         (expand_builtin): Use targetm.expand_builtin.
4235         (default_init_builtins): New function.
4236         (default_expand_builtin): New function.
4237         * expr.h (default_init_builtins): Declare.
4238         (default_expand_builtin): Declare.
4239         * c-common.c (c_common_nodes_and_builtins): Use
4240         targetm.init_builtins.
4241         * defaults.h (MD_INIT_BUILTINS): Remove.
4242         * Makefile.in (builtins.o): Depend on target.h.
4243
4244         * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
4245         (TARGET_EXPAND_BUILTIN): Define.
4246         * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
4247         (MD_EXPAND_BUILTIN): Remove.
4248
4249         * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
4250         (TARGET_EXPAND_BUILTIN): Define.
4251         (c4x_init_builtins): Make endlink arg a local.
4252         (c4x_print_operand): Fix typos in adjust_address usages.
4253         * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
4254         * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
4255         (MD_EXPAND_BUILTIN): Remove.
4256
4257         * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
4258         (TARGET_EXPAND_BUILTIN): Define.
4259         (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
4260         (ix86_init_builtins): Call new function only if TARGET_MMX.
4261         * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
4262         * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
4263         (MD_EXPAND_BUILTIN): Remove.
4264
4265         * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
4266         (TARGET_EXPAND_BUILTIN): Define.
4267         * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
4268         (MD_EXPAND_BUILTIN): Remove.
4269
4270         * doc/tm.texi: Document these changes.
4271
4272 2001-07-09  Diego Novillo  <dnovillo@redhat.com>
4273
4274         * basic-block.h (tree_node): Forward declare if needed.
4275         (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
4276         (BLOCK_HEAD_TREE): Define.
4277         (BLOCK_END_TREE): Define.
4278         (struct loops): Rename field 'tree' to 'tree_root'.
4279         * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
4280         'end_tree'.
4281         (flow_loops_tree_build): Rename reference to field 'tree' to
4282         'tree_root'.
4283         (flow_loops_level_compute): Ditto.
4284         * predict.c (estimate_bb_frequencies): Ditto.
4285         * tree.h (struct tree_common): Add field 'aux'.
4286
4287 2001-07-09  Stan Shebs  <shebs@apple.com>
4288
4289         * config/darwin.c (darwin_encode_section_info): Don't mark any
4290         DECL_EXTERNAL node as defined.
4291
4292 2001-07-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4293
4294         * pa.c (pa_init_machine_status, pa_mark_machine_status,
4295         pa_free_machine_status, hppa_init_pic_save): Delete.
4296         (hppa_pic_save_rtx): New.  Use get_hard_reg_initial_val.
4297         (hppa_profile_hook): Use hppa_pic_save_rtx.
4298         * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
4299         hppa_init_pic_save): Delete.
4300         (hppa_pic_save_rtx): Declare.
4301         * pa.md (call, call_value, sibcall, sibcall_value,
4302         builtin_setjmp_receiver): Use hppa_pic_save_rtx.
4303
4304 2001-07-09  Kazu Hirata  <kazu@hxi.com>
4305
4306         * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
4307         * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
4308
4309 2001-07-09  Andreas Jaeger  <aj@suse.de>
4310
4311         * output.h: Add declaration of final_forward_branch_p.
4312
4313         * config/i386/i386.c (output_fix_trunc): Remove unused variable.
4314
4315         * varray.c: Include errors.h for internal_error and trim_filename
4316         declarations.
4317
4318         * Makefile.in (varray.o): Add errors.h.
4319
4320 2001-07-09  Toon Moene  <toon@moene.indiv.nluug.nl>
4321
4322         * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
4323         * optabs.c (have_add2_insn): Check whether the add insn chosen
4324         really accepts the operands.  (have_sub2_insn): Ditto for sub insn.
4325         * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
4326
4327 Mon Jul  9 13:26:40 2001  Jeffrey A Law  (law@cygnus.com)
4328
4329         * Makefile.in (OBJS): Add ssa-ccp.o
4330         (ssa-ccp.o): Add dependencies.
4331         * toplev.c (DFI_ssa_ccp): New dump file enum.
4332         (dump_file): Add entry for dumping after SSA CCP.
4333         (flag_ssa_ccp): New flag variable.
4334         (f_options): Add -fssa-ccp.
4335         (rest_of_compilation): Run SSA CCP if requested.
4336         * timevar.def (TV_SSA_CCP): New timevar.
4337         * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
4338         * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
4339         Fix minor typo in SSA DCE documentation.
4340         * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
4341         Add documentation for new dump option.  Renumber dump files
4342         appropriately.
4343
4344 Mon Jul  9 21:36:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
4345
4346         * emit-rtl.c (gen_highpart_mode): New.
4347         * rtl.h (gen_highpart_mode): Declare.
4348         * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
4349         operand can be VOIDmode constant.
4350
4351 Mon Jul  9 17:23:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
4352
4353         * flow.c (redirect_edge_and_branch_force): New.
4354         (can_fallthru): Ensure that basic blocks are succeeding.
4355         (try_optimize_cfg): Do not delete basic block if it is the last one.
4356
4357         * flow.c (try_redirect_by_replacing_jump): Do not remove
4358         jumps with side effects, unlink chain on fallthru edge;
4359         set block for new jump instruction; avoid basic block to
4360         over by line number note.
4361
4362         * flow.c (try_simplify_condjump): Verify that the condjump
4363         is not always falling trought.
4364
4365         Re-install patch:
4366         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
4367
4368         * flow.c (forwarder_block_p): Fix for fallthru blocks.
4369         (try_redirect_by_replacing_jump): Update properly the count
4370         and frequency information.
4371
4372 Mon Jul  9 06:41:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4373
4374         * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
4375         address that is a LO_SUM specially.
4376         * explow.c (plus_constant_wide, case LO_SUM): Deleted.
4377
4378         * c-lang.c (start_cdtor): Remove extra parameter from start_function.
4379
4380         * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
4381         (operand_subword): Use them.
4382         (change_address_1): Renamed from change_address; new arg VALIDATE.
4383         * expr.h: Reflect above changes; change_address now macro.
4384         * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
4385         making MEM.
4386         * cselib.c (add_mem_for_addr): Likewise.
4387         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
4388         * regmove.c (try_apply_stack_adjustment): Likewise.
4389         * reload.c (push_reload, make_memloc): Likewise.
4390         * reload1.c (eliminate_regs): Likewise.
4391         * simplify-rtx.c (simplify_replace_rtx): Likewise.
4392         * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
4393         adjust_addess.
4394         * combine.c (make_extraction, simplify_shift_const): Likewise.
4395         (gen_lowpart_for_combine): Likewise.
4396         * cse.c (gen_lowpart_if_possible): Likewise.
4397         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
4398         * expr.c (expand_expr, case COMPONENT_REF): Likewise.
4399         * optabs.c (gen_move_insn): Likewise.
4400         * reload1.c (alter_reg): Likewise.
4401         * simplify-rtx.c (simplify_subreg): Likewise.
4402         * stmt.c (expand_anon_union_decl): Likewise.
4403         * recog.c (validate_replace_rtx_1): Likewise.
4404         (expr.h): Include.
4405         * Makefile.in (recog.o): Add $(EXPR_H).
4406         * explow.c (stabilize): Call replace_equiv_address.
4407         * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
4408         * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
4409
4410 2001-07-03  Andrew Haley  <aph@redhat.com>
4411
4412         * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
4413         the mode of the memory location.
4414
4415 2001-07-09  Bo Thorsen  <bo@suse.co.uk>
4416
4417         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
4418
4419 2001-07-09  Neil Booth  <neil@daikokuya.demon.co.uk>
4420
4421         * final.c (output_addr_const): Use target opening and
4422         closing parentheses.
4423         * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
4424         defaults, add to TARGET_ASM_OUT.
4425         * target.h (struct gcc_target): Add open_paren and close_paren.
4426         * doc/md.texi: Update.
4427         * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
4428         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
4429         TARGET_ASM_CLOSE_PAREN.
4430         * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
4431         Override.
4432         * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
4433         Override.
4434         * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
4435         * config/a29k/a29k.h: Similarly.
4436         * config/alpha/alpha.h: Similarly.
4437         * config/arc/arc.h: Similarly.
4438         * config/arm/aof.h: Similarly.
4439         * config/arm/aout.h: Similarly.
4440         * config/avr/avr.h: Similarly.
4441         * config/c4x/c4x.h: Similarly.
4442         * config/clipper/clipper.h: Similarly.
4443         * config/convex/convex.h: Similarly.
4444         * config/d30v/d30v.h: Similarly.
4445         * config/dsp16xx/dsp16xx.h: Similarly.
4446         * config/elxsi/elxsi.h: Similarly.
4447         * config/fr30/fr30.h: Similarly.
4448         * config/h8300/h8300.h: Similarly.
4449         * config/i370/i370.h: Similarly.
4450         * config/i386/i386.h: Similarly.
4451         * config/i860/i860.h: Similarly.
4452         * config/i960/i960.h: Similarly.
4453         * config/ia64/ia64.h: Similarly.
4454         * config/m32r/m32r.h: Similarly.
4455         * config/m68hc11/m68hc11.h: Similarly.
4456         * config/m68k/m68k.h: Similarly.
4457         * config/m88k/m88k.h: Similarly.
4458         * config/mcore/mcore.h: Similarly.
4459         * config/mips/mips.h: Similarly.
4460         * config/mn10200/mn10200.h: Similarly.
4461         * config/mn10300/mn10300.h: Similarly.
4462         * config/ns32k/ns32k.h: Similarly.
4463         * config/pa/pa.h: Similarly.
4464         * config/pdp11/pdp11.h: Similarly.
4465         * config/pj/pj.h: Similarly.
4466         * config/romp/romp.h: Similarly.
4467         * config/rs6000/rs6000.h: Similarly.
4468         * config/sh/sh.h: Similarly.
4469         * config/sparc/sparc.h: Similarly.
4470         * config/v850/v850.h: Similarly.
4471         * config/vax/vax.h: Similarly.
4472         * config/we32k/we32k.h: Similarly.
4473
4474 2001-07-09  Joseph S. Myers  <jsm28@cam.ac.uk>
4475
4476         * doc/c-tree.texi: Document representation of attributes.
4477
4478 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
4479
4480         * doc/tm.texi: Update some places for the rename of target to
4481         targetm.  Fix typo.
4482
4483 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
4484
4485         * target.h (struct gcc_target): Add insert_attributes.
4486         * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
4487         (TARGET_INITIALIZER): Update.
4488         * tree.c, tree.h (default_insert_attributes): New function.
4489         Update comments on other default functions to refer to targetm,
4490         not target.
4491         * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
4492         TARGET_INSERT_ATTRIBUTES.
4493         (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
4494         * c-common.c (decl_attributes): Use targetm.insert_attributes.
4495         Don't use PRAGMA_INSERT_ATTRIBUTES.
4496         * Makefile.in (c-common.o): Depend on $(TARGET_H).
4497         * c-decl.c (start_decl, start_function): Don't call
4498         SET_DEFAULT_DECL_ATTRIBUTES.
4499         * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
4500         * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
4501         declare.
4502         * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
4503         (c4x_check_attribute): Avoid modifying attribute list itself.
4504         (c4x_set_default_attributes): Rename to c4x_insert_attributes.
4505         Make static.
4506         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
4507         * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
4508         declare.
4509         * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
4510         (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
4511         Make static.
4512         * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
4513         * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
4514         declare.
4515         * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
4516         (v850_set_default_decl_attr): Rename to v850_insert_attributes.
4517         Adjust parameters.  Make static.
4518
4519 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
4520
4521         * c-common.c (decl_attributes): Only take a single attributes
4522         parameter.
4523         * c-common.h (decl_attributes): Update prototype.
4524         * c-decl.c (start_decl, start_function): Only take a single
4525         attributes parameter.  Update calls to decl_attributes.
4526         (finish_struct, finish_enum): Update calls to decl_attributes.
4527         (push_parm_decl): Expect unified list of attributes.  Update call
4528         to decl_attributes.
4529         * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
4530         notype_nested_function, component_declarator,
4531         component_notype_declarator, label): Update calls to
4532         decl_attributes.
4533         (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
4534         lists that are passed to push_parm_decl.
4535         * c-tree.h (start_function, start_decl): Update prototypes.
4536         * config/sh/sh-protos.h, config/sh/sh.c
4537         (sh_pragma_insert_attributes): Only take a single attributes
4538         parameter.
4539         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
4540         * doc/tm.texi (INSERT_ATTRIBUTES): Update.
4541         * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
4542         build_module_descriptor, generate_static_references,
4543         generate_strings, build_selector_translation_table,
4544         generate_descriptor_table, generate_protocols,
4545         generate_ivars_list, generate_dispatch_table,
4546         generate_protocol_list, generate_category,
4547         generate_shared_structures, really_start_method, add_objc_decls,
4548         generate_classref_translation_entry): Update calls to start_decl
4549         and start_function.
4550         (build_tmp_function_decl, start_method_def): Unify attribute lists
4551         that are passed to push_parm_decl.
4552
4553 2001-07-08  Neil Booth  <neil@daikokuya.demon.co.uk>
4554
4555         * final.c (no_asm_to_stream): New.
4556         (final_scan_insn): Use target structures for prologue ends
4557         and epilogue starts.
4558         * output.h (no_asm_to_stream): New.
4559         * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
4560         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
4561         (TARGET_ASM_OUT): Update.
4562         * target.h (struct gcc_target): New members function_end_prologue
4563         and function_begin_epilogue.
4564         * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
4565         * config/alpha/alpha-protos.h (output_end_prologue): Delete.
4566         * config/alpha/alpha.c (output_end_prologue): Rename to
4567         alpha_output_function_end_prologue.  Use in target struct
4568         and make static.
4569         * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
4570         * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
4571         * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
4572         ia64_output_function_end_prologue.  Use in target struct
4573         and make static.
4574         (ia64_function_prologue, ia64_funciton_epilogue): Rename
4575         mistyped prototypes.
4576         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
4577         * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
4578         Delete.
4579         * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
4580         an use in target struct, make static.
4581         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
4582         Delete.
4583
4584 2001-07-08  Richard Henderson  <rth@redhat.com>
4585
4586         * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
4587
4588 2001-07-08  Richard Henderson  <rth@redhat.com>
4589
4590         * config/i386/i386.md: Remove constraints strings from define_split
4591         and define_peephole2 patterns.
4592         (eh_return_si, eh_return_di): Split eh_return_1 for modes.
4593         (eh_return): Use them.
4594
4595 2001-07-08  Richard Henderson  <rth@redhat.com>
4596
4597         * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
4598         Document MD_FALLBACK_FRAME_STATE_FOR.
4599
4600 2001-07-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4601
4602         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
4603         Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
4604         elimination.
4605         * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
4606
4607 2001-07-07  Nick Clifton  <nickc@cambridge.redhat.com>
4608
4609         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
4610         of the label inside NAME as opposed to just the end of NAME.
4611
4612 2001-07-07  Neil Booth  <neil@daikokuya.demon.co.uk>
4613
4614         * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
4615         * config/alpha/alpha.c (alpha_init_machine_status,
4616         alpha_mark_machine_status, alpha_free_machine_status): Delete.
4617         (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
4618         (vms_valid_decl_attribute_p): Make static, conditionally compile.
4619         * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
4620
4621 2001-07-06  Stan Shebs  <shebs@apple.com>
4622
4623         * target.h (targetm): Rename global from "target", so as not to
4624         conflict with local variables.
4625         * c-decl.c: Ditto.
4626         * c-typeck.c: Ditto.
4627         * final.c: Ditto.
4628         * tree.c: Ditto.
4629         * cp/decl.c: Ditto.
4630         * cp/decl2.c: Ditto.
4631         * cp/typeck.c: Ditto.
4632         * 1750a/1750a.c: Ditto.
4633         * a29k/a29k.c: Ditto.
4634         * arc/arc.c: Ditto.
4635         * arm/arm.c: Ditto.
4636         * avr/avr.c: Ditto.
4637         * clipper/clipper.c: Ditto.
4638         * convex/convex.c: Ditto.
4639         * d30v/d30v.c: Ditto.
4640         * dsp16xx/dsp16xx.c: Ditto.
4641         * elxsi/elxsi.c: Ditto.
4642         * fr30/fr30.c: Ditto.
4643         * h8300/h8300.c: Ditto.
4644         * i370/i370.c: Ditto.
4645         * i386/i386.c: Ditto.
4646         * i860/i860.c: Ditto.
4647         * i960/i960.c: Ditto.
4648         * ia64/ia64.c: Ditto.
4649         * m32r/m32r.c: Ditto.
4650         * m68hc11/m68hc11.c: Ditto.
4651         * m68k/m68k.c: Ditto.
4652         * m88k/m88k.c: Ditto.
4653         * mips/mips.c: Ditto.
4654         * ns32k/ns32k.c: Ditto.
4655         * pa/pa.c: Ditto.
4656         * pdp11/pdp11.c: Ditto.
4657         * romp/romp.c: Ditto.
4658         * rs6000/rs6000.c: Ditto.
4659         * sh/sh.c: Ditto.
4660         * sparc/sparc.c: Ditto.
4661         * vax/vax.c: Ditto.
4662         * we32k/we32k.c: Ditto.
4663         * doc/tm.texi: Update the manual to match.
4664
4665 2001-07-06  Richard Henderson  <rth@redhat.com>
4666
4667         * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
4668         DWARF2_UNWIND_INFO not just whether it is defined.
4669
4670 2001-07-06  Diego Novillo  <dnovillo@redhat.com>
4671
4672         * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
4673         call to simplify_binary_operation returns a new pattern.
4674
4675 2001-07-06  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
4676
4677         * glimits.h (__SHRT_MAX__): New.
4678         (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
4679         (SHRT_MAX): Define in terms of __SHRT_MAX__.
4680
4681 2001-07-06  Jan van Male  <jan.vanmale@fenk.wau.nl>
4682
4683         * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
4684         avoid warnings.
4685
4686 2001-07-06  Richard Henderson  <rth@redhat.com>
4687
4688         * bitmap.c (bitmap_release_memory): Move adjacent to the
4689         allocation functions.
4690         (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
4691         the implementation.  Binary search for the set bit.
4692         (bitmap_union_of_diff): Allocate the temporary on the stack
4693         instead of using xmalloc.
4694
4695 2001-07-06  Richard Henderson  <rth@redhat.com>
4696
4697         * genrecog.c (validate_pattern): Warn for constraints in
4698         define_{expand,split,peephole2}.  Remove strict_low_part
4699         before looking up match_dup.
4700
4701 2001-07-06  DJ Delorie  <dj@redhat.com>
4702
4703         * doc/gcc.texi (Makefile): Rename to be a more general purpose
4704         chapter about various build hints and history.  Add section
4705         talking about the various types of native and cross builds.
4706
4707 2001-07-06  Neil Booth  <neil@daikokuya.demon.co.uk>
4708
4709         * Makefile.in (final.o): Depend on target.h.
4710         * final.c: Include target.h.
4711         (default_function_pro_epilogue): New.
4712         (final_start_function): Use target structure for function prologues.
4713         (final_end_function): Use target structure for function epilogues.
4714         * fold-const.c (real_hex_to_f): Constify s and p.
4715         * output.h (default_function_pro_epilogue): New.
4716         * real.h (real_hex_to_f): Update prototype.
4717         * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
4718         TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
4719         (TARGET_INITIALIZER): Update.
4720         * target.h (gcc_target): Add struct asm_out.
4721         * doc/tm.texi: Update.
4722
4723 config:
4724         Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
4725         TARGET_ASM_FUNCTION_EPILOGUE.  Move macro code to functions
4726         in cpu/cpu.c, or rename old functions consistently.  Take
4727         a HOST_WIDE INT not an int as the SIZE parameter.  Remove now
4728         redundant macros and prototypes.  Make new functions static.
4729
4730         * 1750a/1750a.c: Similarly.
4731         * 1750a/1750a.h: Similarly.
4732         * a29k/a29k-protos.h: Similarly.
4733         * a29k/a29k.c: Similarly.
4734         * a29k/a29k.h: Similarly.
4735         * arc/arc-protos.h: Similarly.
4736         * arc/arc.c: Similarly.
4737         * arc/arc.h: Similarly.
4738         * arm/arm-protos.h: Similarly.
4739         * arm/arm.c: Similarly.
4740         * arm/arm.h: Similarly.
4741         * avr/avr-protos.h: Similarly.
4742         * avr/avr.c: Similarly.
4743         * avr/avr.h: Similarly.
4744         * clipper/clipper-protos.h: Similarly.
4745         * clipper/clipper.c: Similarly.
4746         * clipper/clipper.h: Similarly.
4747         * convex/convex.c: Similarly.
4748         * convex/convex.h: Similarly.
4749         * d30v/d30v-protos.h: Similarly.
4750         * d30v/d30v.c: Similarly.
4751         * d30v/d30v.h: Similarly.
4752         * d30v/d30v.md: Similarly.
4753         * dsp16xx/dsp16xx-protos.h: Similarly.
4754         * dsp16xx/dsp16xx.c: Similarly.
4755         * dsp16xx/dsp16xx.h: Similarly.
4756         * elxsi/elxsi.c: Similarly.
4757         * elxsi/elxsi.h: Similarly.
4758         * fr30/fr30.c: Similarly.
4759         * fr30/fr30.md: Similarly.
4760         * h8300/h8300-protos.h: Similarly.
4761         * h8300/h8300.c: Similarly.
4762         * h8300/h8300.h: Similarly.
4763         * i370/i370-protos.h: Similarly.
4764         * i370/i370.c: Similarly.
4765         * i370/i370.h: Similarly.
4766         * i386/i386.c: Similarly.
4767         * i386/osf1elf.h: Similarly.
4768         * i386/osfrose.h: Similarly.
4769         * i860/i860-protos.h: Similarly.
4770         * i860/i860.c: Similarly.
4771         * i860/i860.h: Similarly.
4772         * i960/i960-protos.h: Similarly.
4773         * i960/i960.c: Similarly.
4774         * i960/i960.h: Similarly.
4775         * ia64/ia64-protos.h: Similarly.
4776         * ia64/ia64.c: Similarly.
4777         * ia64/ia64.h: Similarly.
4778         * m32r/m32r-protos.h: Similarly.
4779         * m32r/m32r.c: Similarly.
4780         * m32r/m32r.h: Similarly.
4781         * m68hc11/m68hc11-protos.h: Similarly.
4782         * m68hc11/m68hc11.c: Similarly.
4783         * m68hc11/m68hc11.h: Similarly.
4784         * m68k/crds.h: Similarly.
4785         * m68k/dpx2.h: Similarly.
4786         * m68k/m68k-protos.h: Similarly.
4787         * m68k/m68k.c: Similarly.
4788         * m68k/m68k.h: Similarly.
4789         * m68k/news.h: Similarly.
4790         * m88k/m88k-protos.h: Similarly.
4791         * m88k/m88k.c: Similarly.
4792         * m88k/m88k.h: Similarly.
4793         * mips/mips-protos.h: Similarly.
4794         * mips/mips.c: Similarly.
4795         * mips/mips.h: Similarly.
4796         * ns32k/merlin.h: Similarly.
4797         * ns32k/ns32k.c: Similarly.
4798         * ns32k/ns32k.h: Similarly.
4799         * ns32k/tek6000.h: Similarly.
4800         * pa/pa-protos.h: Similarly.
4801         * pa/pa.c: Similarly.
4802         * pa/pa.h: Similarly.
4803         * pdp11/2bsd.h: Similarly.
4804         * pdp11/pdp11-protos.h: Similarly.
4805         * pdp11/pdp11.c: Similarly.
4806         * pdp11/pdp11.h: Similarly.
4807         * romp/romp-protos.h: Similarly.
4808         * romp/romp.c: Similarly.
4809         * romp/romp.h: Similarly.
4810         * rs6000/rs6000-protos.h: Similarly.
4811         * rs6000/rs6000.c: Similarly.
4812         * rs6000/rs6000.h: Similarly.
4813         * rs6000/sysv4.h: Similarly.
4814         * sh/sh-protos.h: Similarly.
4815         * sh/sh.c: Similarly.
4816         * sh/sh.h: Similarly.
4817         * sparc/sparc-protos.h: Similarly.
4818         * sparc/sparc.c: Similarly.
4819         * sparc/sparc.h: Similarly.
4820         * vax/vax.c: Similarly.
4821         * vax/vax.h: Similarly.
4822         * vax/vms.h: Similarly.
4823         * we32k/we32k.c: Similarly.
4824         * we32k/we32k.h: Similarly.
4825
4826 Fri Jul  6 11:47:59 2001  Jeffrey A Law  (law@cygnus.com)
4827
4828         * basic-block.h (first_insn_after_basic_block_note): Declare.
4829         * flow.c (first_insn_after_basic_block_note): Define.  Moved
4830         from...
4831         * ssa.c (first_insn_after_basic_block_note): Remove.
4832         * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
4833         necessary.
4834         (ssa_eliminate_dead_code): Properly update the CFG and PHI
4835         nodes when we find a dead conditional branch.  Insert BARRIERs
4836         after any blocks with no successors, but which do not have
4837         any BARRIERs.
4838
4839 2001-07-06  Zack Weinberg  <zackw@stanford.edu>
4840
4841         * varray.c (varray_check_failed): Use internal_error.
4842
4843 2001-07-05  Andrew Haley  <aph@redhat.com>
4844
4845         * Makefile.in (LIB2_DIVMOD_FUNCS): New.
4846         (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
4847         * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
4848
4849 2001-07-02  Jason Merrill  <jason_merrill@redhat.com>
4850
4851         * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
4852         reference if the target constant is also a SYMBOL_REF.
4853
4854 2001-07-05  Eric Christopher  <echristo@redhat.com>
4855
4856         * config/mips/mips.h (MASK_MIPS3900): Remove.
4857         (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
4858         MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
4859         (TARGET_MIPS3900): Change to use mips_arch.
4860         (TARGET_MIPS4000): New.
4861         (TARGET_MIPS4100): New.
4862         (TARGET_MIPS4300): New.
4863         (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
4864         (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
4865         for -mipsX.
4866         (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
4867         (ISA_HAS_BRANCHLIKELY): To here.
4868         (CC1_CPU_SPEC):  New.
4869         (CC1_SPEC): Use here.  Remove 4650 and 3900 options.
4870         (mips_arch_string): Declare.
4871         (mips_arch): Declare.
4872         (TARGET_OPTIONS): Add -march and -mtune.
4873
4874         * config/mips/mips.c (mips_arch_string): New.
4875         (mips_arch): New.
4876         (override_options): Handle -march for codegen and -mtune
4877         for scheduling. Use mips_arch. Move tx39 target default here.
4878         (mips_parse_cpu): Move error message to override_options.
4879
4880         * config/mips/r3900.h (TARGET_DEFAULT): Remove.
4881
4882         * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
4883
4884         * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
4885         (MIPS Options): Ditto.  Change mcpu entry to historical text.
4886
4887 2001-07-05  H.J. Lu  (hjl@gnu.org)
4888
4889         * config/mips/mips.c (mips_parse_cpu): New function to parse
4890         -march=*/-mcpu=*.
4891
4892 2001-07-05  Jim Wilson  <wilson@redhat.com>
4893
4894         * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
4895         * config/ia64/t-ia64: Likewise.
4896         (LIB1ASMFUNCS): Update comment.
4897
4898 2001-07-05  David Edelsohn  <edelsohn@gnu.org>
4899
4900         * doc/install.texi (Install GCC: Binaries): Fix typo.
4901
4902 2001-07-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4903
4904         * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
4905         reference using the stack pointer, adjust it since we push Y
4906         temporarily.
4907         ("*ashrsi3"): Likewise.
4908         ("*lshrsi3"): Likewise.
4909
4910 2001-07-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4911
4912         * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
4913         when -fomit-frame-pointer is used.
4914
4915 2001-07-05  Jeffrey Oldham  <oldham@codesourcery.com>
4916
4917         * flow.c: Reverse Jan Hubicka's patch of 02July2001.
4918         (try_redirect_by_replacing_jump): Reverse updating properly the
4919         count and frequency information.  Reverse removing cc0 setter.
4920         (forwarder_block_p): Reverse fixing for fallthru blocks.
4921
4922 2001-07-05  DJ Delorie  <dj@redhat.com>
4923
4924         * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
4925         (translate_options): If the above is defined, use it to map
4926         given options to new options.
4927         * doc/tm.texi: Document it.
4928
4929 2001-07-05  Brad Lucier <lucier@math.purdue.edu>
4930             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4931
4932         * doc/invoke.texi (Optimize Options): Document that -fgcse may
4933         cause programs using computed gotos to run more slowly.
4934
4935 2001-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4936
4937         * doc/install.texi (Specific): Markup, spelling and typo fixes.
4938         Fixed sorting.
4939         Consistently require binutils 2.11.2, not prereleases.
4940         (Specific, decstation-*): Canonicalize as mips-dec-*.
4941         (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
4942         always necessary.
4943         (Specific, m68k-altos): Removed reference to README.altos, deleted.
4944         (Specific, mips-*): Reword MIPS C compiler requirements.
4945         (Specific, powerpc*-*-*): New, mention --with-cpu once.
4946         (Specific, sunv5): Removed, obsolete.
4947
4948 2001-07-05  Nathan Sidwell  <nathan@codesourcery.com>
4949
4950         * dwarf2out.c (output_loc_list): Use an all ones mask for
4951         .text asm output and don't rely on long long
4952         literals. Reformat some long lines.
4953
4954 2001-07-05  Andreas Jaeger  <aj@suse.de>
4955
4956         * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
4957         section.
4958
4959 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
4960
4961         * dwarf2out.c (dwarf2out_define): Update comment.
4962         (dwarf2out_undef): Ditto.
4963         (dwarf2out_start_source_file): Ditto.
4964         (dwarf2out_end_source_file): Ditto.
4965         (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
4966         since we never call the start/end debug hook for the primary file.
4967
4968 2001-07-04  Kazu Hirata  <kazu@hxi.com>
4969
4970         * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
4971         from shll.
4972
4973 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
4974
4975         * cppinit.c (remove_dup_dirs): Inform if a system include
4976         directory is being reordered.
4977         * doc/invoke.texi (Directory Options): GCC warns if you hide a
4978         system include.
4979         * doc/cpp.texi (Search Paths): Likewise.
4980         * doc/gcc.texi (Interoperation): Remove information about
4981         -I/usr/include.
4982
4983 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
4984
4985         * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
4986         (VARRAY_TOP_CHAR_PTR): Likewise.
4987
4988 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4989
4990         * gcc.c (process_command): Don't assign elements of a const char*.
4991
4992 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4993
4994         * emit-rtl.c (change_address): Don't abort if invalid address while
4995         reload is in progress.
4996
4997 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
4998
4999         * c-lex.c (cb_file_change): Pass line number to
5000         debug_start_source_file.
5001         (cb_undefine): Pass correct line number to debug_undef.
5002
5003         * toplev.c (debug_start_source_file): Add line number to
5004         parameters. Pass it along to dwarf2out_start_source_file.
5005         (decode_g_option): Stop resetting debug level back to normal when
5006         we change debug formats, unless the current level is
5007         none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
5008         3).
5009
5010         * toplev.h (debug_start_source_file): Add line number to
5011         parameters.
5012
5013         * dwarf2out.h (dwarf2out_start_source_file): Add line number to
5014         parameters.
5015
5016         * dwarf2out.c (dwarf2out_start_source_file): Add line number to
5017         parameters.
5018         Output debug_macinfo data for starting file if requested.
5019         (dwarf2out_end_source_file): Output debug_macinfo data for ending
5020         file if requested.
5021         (dwarf2out_define): Output debug_macinfo data for defining a macro
5022         if requested.
5023         (dwarf2out_undef): Output debug_macinfo data for undefining a
5024         macro if requested.
5025         (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
5026         (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
5027         (macinfo_section_label): New. DWARF2 macro info section label.
5028         (dwarf2out_init): If we want macro info, output the start label
5029         for the section.
5030         (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
5031         attribute to the compilation unit die pointing to the macro info.
5032
5033 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
5034
5035         * dwarf2out.c (new_loc_list): Move to inside #ifdef
5036         DWARF2_DEBUGGING_INFO.
5037         (add_loc_descr_to_loc_list): Ditto.
5038         (output_loc_list): Ditto.
5039         Also, fix thinko in curr not being initialized.
5040         (gen_internal_sym): Ditto.
5041
5042 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5043
5044         * emit-rtl.c (replace_equiv_address): New function.
5045         * expr.h (replace_equiv_address): New declaration.
5046         * explow.c (validize_mem): Call it instead of change_address and
5047         also call if -fforce-addr and address is constant.
5048         * expr.c: Replace more calls to change_address with adjust_address
5049         and/or replace_equiv_address or to validize_mem.
5050         * function.c, regmove.c, config/alpha/alpha.c: Likewise.
5051         * config/arm/arm.md, config/clipper/clipper.md: Likewise.
5052         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
5053         * config/i370/i370.md, config/i860/i860.md: Likewise.
5054         * config/i960/i960.md, config/mips/mips.c: Likewise.
5055         * config/mips/mips.md, config/pa/pa.md: Likewise.
5056         * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
5057         * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
5058
5059 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5060
5061         * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
5062
5063         * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
5064         function.
5065
5066 2001-07-04  Joseph S. Myers  <jsm28@cam.ac.uk>
5067
5068         * doc/include: New directory.
5069         * doc/fdl.texi: Move to doc/include/fdl.texi.
5070         * doc/texinfo.tex: Move to doc/include/texinfo.tex.
5071         * doc/include/funding.texi, doc/include/gpl.texi: New files.
5072         * doc/gcc.texi: Use funding.texi and gpl.texi.
5073         * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
5074         $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
5075         Update dependencies and use -I $(docdir)/include.
5076
5077 2001-07-04  Anthony Green  <green@redhat.com>
5078
5079         * config/v850/t-v850 (v850-c.o): Add missing dependencies.
5080
5081 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5082
5083         * doc/install.texi (sparc64-*-*): Remove garbage.
5084
5085 Wed Jul  4 09:07:44 2001  Jan van Male  <jan.vanmale@fenk.wau.nl>
5086
5087         * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
5088         Fix typo in last change to use adjust_address.
5089
5090 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5091
5092         * doc/install.texi (Specific): Update information for *-*-solaris*.
5093
5094 Tue Jul  3 22:33:15 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5095
5096         * explow.c (plus_constant_wide): Reinitialize Y for restart.
5097
5098 2001-07-03  Stan Shebs  <shebs@apple.com>
5099
5100         * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
5101         case for flag_no_mach_text_sections.
5102         (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
5103         * config/darwin.c (flag_no_mach_text_sections): Remove.
5104         * config/darwin-protos.h (darwin_init_pragma): Remove decl.
5105
5106 Tue Jul  3 15:35:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5107
5108         * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
5109         and avoid checking for constant as first operand.
5110         * recog.c (find_constant_term_loc): No longer static.
5111         (adj_offettable_operand): Delete.
5112         * rtl.h (adj_offsettable_operand): Delete declaration.
5113         (find_constant_term): Add declaration.
5114         * caller-save.c: Replace calls to adj_offsettable_operand with calls
5115         to adjust_address.
5116         * config/arm/arm.c, config/c4x/c4x.c: Likewise.
5117         * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
5118         * config/i386/i386.c, config/i386/i386.md: Likewise.
5119         * config/i860/i860.c, config/i960/i960.c: Likewise.
5120         * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
5121         * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
5122         * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
5123         * config/mips/mips.c, config/mips/mips.md: Likewise.
5124         * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
5125         * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
5126         * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
5127         * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
5128         * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
5129         * config/ns32k/ns32k.md: Likewise.
5130
5131 2001-07-03  Zack Weinberg  <zackw@stanford.edu>
5132
5133         * rtl.c (copy_rtx): Handle 'T' format letter.
5134         * gensupport.c (collect_insn_data): Likewise.
5135         * print-rtl.c (print_rtx): Print 'T' slots like 's'.
5136
5137 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
5138
5139         * doc/invoke.texi (Directory Options): Specifiy range for <N> in
5140         -B option.  Use 'dir' not 'foo' as example directory name.
5141
5142 2001-07-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5143
5144         * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
5145         Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
5146
5147 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
5148
5149         * doc/cppinternals.texi: Improve formatting and logical markup.
5150
5151 2001-07-03  Andreas Jaeger  <aj@suse.de>
5152
5153         * Makefile.in (insn-recog.o): Add dependency on reload.h.
5154
5155         * genrecog.c (write_header): Include reload.h for prototypes in
5156         insn-recog.c.
5157
5158 2001-07-03  Neil Booth  <neil@daikokuya.demon.co.uk>
5159
5160 config:
5161         * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
5162         VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
5163         * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
5164         i386_pe_valid_type_attribute_p): Add.
5165         * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
5166         * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
5167
5168 Mon Jul  2 21:52:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5169
5170         * explow.c (plus_constant_wide, case LO_SUM): New case.
5171         (plus_constant_for_output_wide): Delete.
5172         * rtl.h (plus_constant_for_output): Delete.
5173         * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
5174         instead of plus_constant_for_output.
5175         * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
5176         * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
5177         * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
5178         * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
5179         * config/sparc/sparc.md: Likewise.
5180         Convert some change_address calls to adjust_address.
5181
5182 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
5183
5184         * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
5185         doc/rtl.texi, doc/tm.texi: Improve formatting.  Improve
5186         documentation of -std and -Wwrite-strings.
5187
5188 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
5189
5190         * cse.c (canon_hash): Don't register registers in very small
5191         register classes, as extending their lifetime might cause
5192         reload to fail.
5193
5194 Mon Jul  2 23:14:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
5195
5196         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
5197
5198         * flow.c (forwarder_block_p): Fix for fallthru blocks.
5199         (try_redirect_by_replacing_jump): Update properly the count
5200         and frequency information.
5201
5202 Mon Jul  2 14:20:13 2001  Jeffrey A Law  (law@cygnus.com)
5203
5204         * toplev.c (dump_file_index): Move SSA dumps just after first
5205         jump dump.
5206         (dump_file): Corresponding changes.
5207         (rest_of_compilation): Move SSA path to just after the first
5208         jump pass.
5209         * doc/gcc.texi (Passes): Update due to movement of SSA path.
5210         * doc/invoke.texi: Update dump file #s as they were completely
5211         out of date with reality.
5212
5213 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
5214
5215         * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
5216
5217         * expr.c (emit_move_insn_1): Deal with non-default
5218         STACK_PUSH_CODE.
5219
5220         * expr.c (emit_single_push_insn): Fix warning.
5221
5222 2001-07-02  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
5223
5224         * expr.c (emit_move_insn_1): Avoid modifying
5225         cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
5226
5227 Mon Jul  2 15:33:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5228
5229         * emit-rtl.c (adjust_address): New function.
5230         * expr.h (adjust_address): Add declaration.
5231         * builtins.c: Replace some calls to change_address with calls to it
5232         or to validize_mem.
5233         * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
5234         * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
5235         * config/arm/arm.c, config/convex/convex.c: Likewise.
5236         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
5237         * config/i386/i386.c, config/i386/i386.md: Likewise.
5238         * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
5239         * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
5240         * config/m88k/m88k.c, config/mips/mips.md: Likewise.
5241         * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
5242         * config/sh/sh.c, config/sparc/sparc.md: Likewise.
5243
5244 2001-07-02  Jim Wilson  <wilson@redhat.com>
5245
5246         * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
5247
5248 2001-07-02  Steve Ellcey  <sje@cup.hp.com>
5249
5250         * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
5251         * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
5252
5253 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
5254
5255         * cppinit.c (lang_defaults): New table.
5256         (set_lang): Just read from lang_defaults into the live options
5257         structure.
5258
5259 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
5260
5261         * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
5262         * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
5263         * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
5264
5265 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5266
5267         * doc/install.texi: Various spelling and markup fixes.
5268         (Installing GCC): Component specific installation instructions are
5269         gone.
5270         Fix reference.
5271         Warn about removing old install dir in the presence of shared libs.
5272         (Configuration): Invoke with options target to match configure
5273         --help.
5274         Consistently refer to gas, gld pathnames.
5275         Invert --enable-multilib documentation.
5276         Remove references to old compiler versions.
5277
5278 Mon Jul  2 12:50:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5279
5280         * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
5281
5282 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5283
5284         * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
5285         section.
5286         (Specific, mips*-sgi-irix5): Note IDO download.
5287         Reworded MIPS C hints.
5288         Use GNU as instead of GAS.
5289         Markup fixes.
5290         Removed SGI Freeware reference, IRIX 6 only.
5291         (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
5292         Note N64 library requirement/workaround.
5293         Update O32 hints.
5294         Complete list of structure passing bug victims.
5295
5296 2001-07-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5297
5298         * doc/install.texi: Remove CVS Id.
5299
5300 2001-07-02  Andreas Jaeger  <aj@suse.de>
5301
5302         * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
5303         (find_inherently_necessary): Remove unused variable.
5304
5305 2001-07-02  Nathan Sidwell  <nathan@codesourcery.com>
5306
5307         * c-common.h (TDI_inlined): New ast dump phase.
5308         (dump_flag_name): New function.
5309         * c-dump.c (dump_files): Add inlined phase.
5310         (dump_flag_name): Define.
5311         * doc/invoke.texi (-fdump-ast-inlined): Document.
5312
5313 Mon Jul  2 06:29:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5314
5315         * stor-layout.c (layout_decl): Revert change to handling of alignment
5316         in packed types.
5317
5318 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5319
5320         * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
5321         for FIELD_DECL.
5322
5323 2001-07-01  Geoffrey Keating  <geoffk@redhat.com>
5324
5325         * doc/tm.texi (FUNCTION_ARG): Document that the last call
5326         is special.
5327
5328 2001-07-01  Nathan Sidwell  <nathan@codesourcery.com>
5329
5330         * tlink.c (recompile_files): Remove COMPILER_PATH and
5331         LIBRARY_PATH from the environment.
5332
5333 2001-07-01  Zack Weinberg  <zackw@stanford.edu>
5334
5335         * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
5336         RID_LAST_PQ.  Move RID_FIRST_PQ down with the other FIRST/LAST
5337         enumerators.
5338         (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
5339
5340         * c-parse.in (OBJC_STRING): Kill.
5341         (objc_string): Decompose to [objc_string] '@' STRING.
5342         (reswords): Take the leading '@' off all the Objective C keywords.
5343         (objc_rid_sans_at): Kill.
5344         (init_reswords): Don't initialize it.
5345         (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
5346         (_yylex): Kill reconsider label.  Look ahead one token after
5347         an '@'; if we get an identifier, check whether it's an
5348         Objective C @-keyword.  If so, return the keyword.  Otherwise,
5349         put back the token and return the '@' as a terminal.
5350
5351         * cpplib.c (lex_macro_node): Remove unnecessary check for
5352         leading '@' on identifier.  Clarify control flow and commentary.
5353
5354 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5355
5356         * cse.c (new_label_ref): Variable deleted.
5357         (insert): Remove set of new_label_ref.
5358         (check_for_label_ref): New function.
5359         (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
5360
5361 See ChangeLog.5 for earlier changes.