OSDN Git Service

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