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