]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/ChangeLog
install.texi (*-*-solaris2*): Document the step-by-step procedure to bootstrap and...
[thirdparty/gcc.git] / gcc / ChangeLog
1 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
2 Phil Edwards <phil@jaj.com>
3
4 * doc/install.texi (*-*-solaris2*): Document the step-by-step
5 procedure to bootstrap and install.
6 Document the preference for the legacy Sun tools in /usr/bin
7 over the POSIX tools in /usr/xpg4/bin for the build process.
8
9 2003-07-17 Neil Booth <neil@daikokuya.co.uk>
10
11 * c.opt: Document Uncodumented; use it. Document ObjC options.
12 * opts.c (print_filtered_help): Skip undocumented switches.
13 * opts.h (CL_UNDOCUMENTED): New.
14 * opts.sh: Handle Undocumented.
15 * toplev.c (documented_lang_options): Prevent its becoming empty.
16 objc:
17 * lang-options.h: Remove.
18
19 2003-07-16 Ulrich Weigand <uweigand@de.ibm.com>
20
21 * loop.c (check_ext_dependent_givs): Pass const struct loop *
22 instead of struct loop_info * as argument. Accept BIVs with
23 increment +/- 1 provided there is a friendly exit test against
24 a loop-invariant value.
25 (strength_reduce): Adapt call to check_ext_dependent_givs.
26
27 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
28 Con Bradley <con.bradley@superh.com>
29
30 * sh-protos.h (sh_get_pr_initial_val): Declare.
31 * sh.c (regno_reg_class): Make its elements type enum reg_class.
32 (output_stack_adjust): Remove emit_fn argument. Add epilogue_p
33 and live_regs_mask arguments. Changed all callers.
34 (save_schedule_s): New structure.
35 (save_schedule): New typedef.
36 (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions.
37 (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p.
38 In interrupts handlers, also save registers that are usually
39 partially saved, and make sure there is at least one general purpose
40 register saved if a target register needs saving.
41 Add casts in comparisons to avoid warnings.
42 (sh_media_register_for_return): return -1 for interrupt handlers.
43 (MAX_SAVED_REGS, MAX_TEMPS): New defines.
44 (sh_expand_prologue): Use sh5_schedule_saves. Check that any temp
45 registers used are available.
46 Set RTX_FRAME_RELATED_P where appropriate.
47 Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing.
48 (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves.
49 (initial_elimination_offset): Likewise.
50 * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4.
51 (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings.
52 (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO.
53 (XD_REGISTER_P, TARGET_REGISTER_P): Likewise.
54 (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15,
55 and for target registers.
56 (RETURN_IN_MEMORY): Add parentheses to avoid warnings.
57 (regno_reg_class): Make its elements type enum reg_class.
58 (CONSTRAINT_LEN): Don't use isdigit.
59 (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings.
60 (FUNCTION_ARG): Add parentheses to avoid warnings.
61 (RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
62 (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5.
63 (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings.
64 (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings.
65 * sh.md (xordi3+1): Remove unused variable regno.
66 (return_media): Check that tr0 is available before using it.
67
68 2003-07-16 Neil Booth <neil@daikokuya.co.uk>
69
70 * c.opt: Document more options.
71
72 2003-07-16 Roger Sayle <roger@eyesopen.com>
73
74 * combine.c (subst): Also handle (subreg (const_double ...)) case
75 if created by a substitution, by using the original inner mode.
76
77 2003-07-16 Roger Sayle <roger@eyesopen.com>
78
79 * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
80 to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined.
81 (simplify_rtx): Likewise. Simplify (lo_sum (high X) X) as X.
82
83 2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
84
85 * doc/install.texi (--without-headers): New.
86
87 Partial Fix PR/10129
88 * config/darwin.c (machopic_function_base_name): Only Return "<pic base>".
89 (machopic_output_function_base_name): New; print the true pic label.
90 (machopic_classify_ident): Pic Base is always a defined data.
91 * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label.
92 * config/darwin-proto.h (machopic_output_function_base_name): Prototype.
93
94 * gcse.c (gcse_constant_p): COMPARE of the same registers is a constant
95 if they are not floating point registers.
96
97 PR c/10962
98 * ggc.h: Add header guards.
99 * c-decl.c (finish_struct): Sort fields if
100 number greater than 15 and there are no
101 anonymous structs/unions.
102 * c-common.h: Include ggc.h.
103 (sorted_fields_type): New struct.
104 (field_decl_cmp): New prototype.
105 (resort_sorted_fields): New prototype.
106 (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro.
107 * c-tree.h: (lang_type): Use pointer to sorted_fields_type
108 as s, removing other fields.
109 * c-typeck.c (lookup_field): Use s in lang_type.
110 These were mostly moved from cp/class.c:
111 * c-common.c (field_decl_cmp): New static function.
112 (field_decl_cmp): New function.
113 (resort_sorted_fields): New function.
114
115 2003-07-16 Geoffrey Keating <geoffk@apple.com>
116
117 * config/darwin.c (machopic_select_section): Use decl_readonly_section
118 to do most of the work.
119
120 2003-07-16 Hans-Peter Nilsson <hp@bitrange.com>
121
122 * config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
123 * config/mmix/mmix.c: Convert functions to ISO C90.
124 (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak
125 formatting.
126 (mmix_get_hard_reg_initial_val): Tweak section head comment.
127
128 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
129
130 * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
131
132 2003-07-16 Jakub Jelinek <jakub@redhat.com>
133
134 * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
135 (uw_update_context_1): Use it.
136 * config/rs6000/rs6000.c (insn_after_throw): Remove.
137 (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
138 in parent frame if _Unwind_* called directly instead of through
139 .plt.
140 (rs6000_emit_eh_toc_restore): Remove.
141 (rs6000_emit_prologue): Update stack pointer before doing any saving
142 if current_function_calls_eh_return. Generate unwind info for $r2.
143 (rs6000_emit_epilogue): Restore stack pointer after doing all
144 restoring if current_function_calls_eh_return. Restore $r2.
145 * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
146 * config/rs6000/rs6000.md (eh_return): Remove call to
147 rs6000_emit_eh_toc_restore.
148 * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
149 * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.
150
151 2003-07-15 Jakub Jelinek <jakub@redhat.com>
152
153 * expr.c (emit_block_move): Don't move anything if size is const 0.
154 (clear_storage): Test against const0_rtx instead of comparing INTVAL
155 against 0.
156
157 2003-07-15 David S. Miller <davem@redhat.com>
158
159 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
160 emit nop if the last real insn is CALL_INSN.
161
162 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
163
164 * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
165 as "nul".
166 * config/i386/xm-mingw32.h: Change GNU CC to GCC.
167
168 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
169
170 * config/i386/winnt.c (associated_type): Artificial methods are not
171 affected by the import/export status of their class unless they are
172 COMDAT.
173 (i386_pe_dllimport_p): Do not mark artificial methods as dllimport.
174
175 * config/i386/winnt.c: Fix GCC copyright comment.
176
177 2003-07-16 Gabriel Dos Reis <gcc@integrable-solutions.net>
178
179 PR c++/11531
180 * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
181 not recursing on hard error.
182 (diagnostic_for_decl): Likewise.
183 * diagnostic.def: Rearrange.
184
185 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
186
187 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
188 If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode.
189
190 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
191 Richard Henderson <rth@redhat.com>
192
193 * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
194 to decide if to access a _Unwind_Ptr or a _Unwind_Word.
195 (_Unwind_SetGR): Likewise.
196 (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
197 (Unwind_SpTmp): New typedef.
198 (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
199 (uw_update_context): Use _Unwind_GetPtr.
200 (init_dwarf_reg_size_table): Move above uw_init_context_1.
201 (uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
202 Use _Unwind_SetSpColumn.
203 (uw_install_context_1): Don't initialize dwarf_reg_size_table.
204 Use _Unwind_GetPtr.
205
206 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
207
208 * c.opt: Document more options.
209 * toplev.c (documented_lang_options): Remove all local help strings.
210
211 2003-07-15 Mark Mitchell <mark@codesourcery.com>
212
213 PR debug/11473
214 * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
215 base classes.
216
217 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
218
219 PR target/10795
220 * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
221 swap comparison operands if doing so would generate an
222 unrecognizable insn.
223
224 2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr>
225
226 PR optimization/11320
227 * sched-int.h (struct deps) [reg_conditional_sets]: New field.
228 (struct sched_info) [compute_jump_reg_dependencies]: New prototype.
229 * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
230 current_sched_info->compute_jump_reg_dependencies. Record which
231 registers are used and which registers are set by the jump.
232 Clear deps->reg_conditional_sets after a barrier.
233 Set deps->reg_conditional_sets if the insn is a COND_EXEC.
234 Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
235 (init_deps): Initialize reg_conditional_sets.
236 (free_deps): Clear reg_conditional_sets.
237 * sched-ebb.c (compute_jump_reg_dependencies): New prototype.
238 Mark registers live on entry of the fallthrough block and conditionally
239 set as set by the jump. Mark registers live on entry of non-fallthrough
240 blocks as used by the jump.
241 * sched-rgn.c (compute_jump_reg_dependencies): New prototype.
242 Mark new parameters as unused.
243
244 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
245
246 * doc/invoke.texi: Resync MIPS -march documentation.
247
248 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
249
250 * config/mips/mips.h (PROCESSOR_R9000): New processor_type.
251 (TARGET_MIPS9000, TUNE_MIPS9000): New macros.
252 (GENERATE_MULT3_SI): True for TARGET_MIPS9000.
253 * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry.
254 (mips_rtx_costs): Adjust integer multiplication costs for the rm9000.
255 (mips_issue_rate): Handle PROCESSOR_R9000.
256 (mips_use_dfa_pipeline_interface): Likewise.
257 * config/mips/9000.md: New file.
258 * config/mips/mips.md: Include it.
259 (define_attr cpu): Add r9000.
260 (mulsi3_mult3): Use "mul" for rm9000 code.
261
262 2003-07-15 Stan Cox <scox@redhat.com>
263
264 * config/mips/mips.h (PROCESSOR_R7000): New processor_type.
265 (TARGET_MIPS7000, TUNE_MIPS7000): New macros.
266 (GENERATE_MULT3_SI): True for TARGET_MIPS7000.
267 * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry.
268 (mips_rtx_costs): Adjust integer multiplication costs for the rm7000.
269 (mips_issue_rate): Handle PROCESSOR_R7000.
270 (mips_use_dfa_pipeline_interface): Likewise.
271 * config/mips/7000.md: New file.
272 * config/mips/mips.md: Include it.
273 (define_attr cpu): Add r7000.
274 (mulsi3_mult3): Use "mul" for rm7000 code.
275
276 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
277
278 * config/mips/mips.md (define_attr type): Add condmove. Use it for
279 the conditional move patterns.
280 * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove.
281 Check for condmove type.
282 (ir_vr54_arith): Add move type.
283 * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise.
284 * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise.
285
286 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
287
288 * c-opts.c (print_help): Remove.
289 (c_common_handle_option): Don't handle --help.
290 * c.opt: Document some options.
291 (--help): Remove.
292 * opts.c (print_filtered_help): New.
293 (print_help): Use it.
294
295 2003-07-14 Geoffrey Keating <geoffk@apple.com>
296
297 * c-common.c (c_common_type_for_mode): Handle V4DFmode.
298 * tree.c: (build_common_tree_nodes_2): Likewise.
299 * tree.h (enum tree_index): Add TI_V4DF_TYPE.
300 (V4DF_type_node): New.
301
302 * c-opts.c (push_command_line_include): Don't free deferred_opts,
303 we'll need it.
304 (finish_options): Reset init_cursor.
305
306 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
307
308 * expr.c (expand_assignment): Remove an unused argument
309 SUGGEST_REG.
310 * expr.h: Update the prototype.
311 * function.c: Update the callers.
312 * stmt.c: Likewise.
313
314 2003-07-14 Mark Mitchell <mark@codesourcery.com>
315
316 PR debug/11098
317 * integrate.c (copy_decl_for_inlining): Do not mark copied decls
318 as DECL_ABSTRACT.
319
320 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
321
322 * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass
323 with __cplusplus, not "we must use the C++ compiler's type"
324 * fixinc/inclhack.def (void_null): Note that Interix needs this.
325 * fixinc/fixincl.x: Regenerate.
326
327 2003-07-14 Geoffrey Keating <geoffk@apple.com>
328
329 * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects
330 and unseen_objects from the global data before calling
331 __deregister_frame_info_bases.
332 (examine_objects): Insert objects into the seen_objects list,
333 not unseen_objects.
334 (_Unwind_Find_FDE): Always unlock the global object lists, even if
335 we couldn't allocate a data structure to put in it.
336
337 * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking.
338 (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend.
339 (SET_TYPE_PROTOCOL_LIST): New.
340 * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST.
341 (get_object_reference): Likewise.
342
343 Mon Jul 14 23:14:28 CEST 2003 Jan Hubicka <jh@suse.cz>
344
345 * cfglayout.c (locator_file): Break out from ....
346 (insn_file): ... here.
347 (locator_line): Break out from ....
348 (insn_line): ... here.
349 * rtl.h (locator_file, locator_line): Declare.
350 (final_start_function): Set proper line/file info.
351
352 2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
353
354 * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is
355 handled by pp_c_cast_expression.
356
357 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
358
359 * config/mips/mips.c (mips_expand_prologue): Use a single insn to
360 allocate 32768 bytes of stack. Use addition rather than subtraction
361 when a single insn is enough.
362 * config/mips/mips.md: Remove insns and splitters for subtracting
363 constants.
364 (subsi3): Only accept register operands.
365 (subsi3_internal): Likewise. Use for TARGET_MIPS16 as well.
366 (subdi3_internal_3, subsi3_internal_2): Likewise.
367 (casesi): Use expand_binop to subtract the lower bound.
368
369 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
370
371 * config/mips/mips.c (mips_in_small_data_p): Don't handle
372 TARGET_MIPS16 specially.
373
374 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
375
376 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use
377 mips_output_aligned_bss.
378 * config/mips/linux.h: Likewise.
379 * config/mips/mips-protos.h (mips_output_aligned_bss): Declare.
380 * config/mips/mips.c (mips_output_aligned_bss): New function.
381
382 * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete.
383 * config/mips/elf64.h: Likewise.
384
385 * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use
386 mips_declare_object_name.
387 (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object.
388 * config/mips/elf64.h: As for elf.h.
389 * config/mips/iris6.h: Likewise.
390 * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h.
391 * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary
392 do...while (0) block.
393 * config/mips/mips-protos.h (mips_declare_object_name): Declare.
394 (mips_finish_declare_object): Declare.
395 * config/mips/mips.c (mips_declare_object_name): New function.
396 (mips_finish_declare_object): New function.
397
398 * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete.
399 * config/mips/linux.h: Likewise.
400
401 * config/mips/mips.c (inside_function): Delete.
402 (file_in_function_warning, ignore_line_number): Delete.
403 (mips_output_filename): Don't warn about changing filenames within
404 a function.
405 (mips_output_lineno): Update accordingly.
406 (mips_output_function_prologue): Don't reset the deleted variables.
407 * config/mips/mips.h (inside_function): Delete.
408 (file_in_function_warning, ignore_line_number): Delete.
409
410 * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs.
411 * config/mips/elf64.h: Likewise.
412 * config/mips/openbsd.h: Likewise.
413 * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
414 * config/mips/linux.h: Likewise.
415 * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
416 (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
417
418 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
419 to the list of include files when using gas.
420 (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
421 * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO.
422 * config/mips/elf64.h: Likewise.
423 * config/mips/iris5.h: Likewise.
424 * config/mips/linux.h: Likewise.
425 * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition.
426 * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise.
427 (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to...
428 * config/mips/sdb.h: ...this new file.
429
430 2003-07-14 Douglas Rupp <rupp@gnat.com>
431
432 * fixinc/server.c (server_setup): Don't use non-POSIX NULL first
433 argument to getcwd; use fixed buffer instead.
434
435 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
436
437 * fixinc/mkfixinc.sh: Treat OpenBSD normally.
438 * fixinc/fixinc.wrap: Delete.
439
440 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
441
442 * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs
443 don't have 2.
444
445 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
446
447 * ggc-page.c (struct globals): Add new fields to keep track of the
448 total allocated memory and overhead.
449 (ggc_print_statistics): Print them.
450 (ggc_alloc): Keep track of the total allocated memory and the
451 overhead.
452
453 * tree.c (dump_tree_statistics): Increase spacing.
454 (enum tree_node_kind): Move to ...
455 * tree.h (enum tree_node_kind): ... here.
456 (tree_node_counts, tree_node_sizes): Declare.
457
458 2003-07-14 James A. Morrison <ja2morri@student.math.uwaterloo.ca>
459
460 * doc/include/texinfo.tex: Upgrade to texinfo 4.6.
461
462 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
463
464 PR optimization/11440
465 * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
466 SIGN_EXTRACT SETs.
467
468 2003-07-14 Alan Modra <amodra@bigpond.net.au>
469
470 * doc/tm.texi (BLOCK_REG_PADDING): Describe.
471 * expr.h (struct locate_and_pad_arg_data): Add where_pad.
472 (emit_group_load, emit_group_store): Adjust declarations.
473 Remove most occurrences of #ifdef TREE_CODE.
474 * expr.c (emit_group_load): Add "type" param, and use
475 BLOCK_REG_PADDING to determine need for a shift. Optimize non-
476 aligned accesses if !SLOW_UNALIGNED_ACCESS.
477 (emit_group_store): Likewise.
478 (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust
479 emit_group_load and emit_group_store calls.
480 * calls.c (store_unaligned_arguments_into_pseudos): Tidy. Use
481 BLOCK_REG_PADDING to determine whether we need endian_correction.
482 (load_register_parameters): Localize vars. Handle shifting of
483 small values to the correct end of regs. Adjust emit_group_load
484 call.
485 (expand_call, emit_library_call_value_1): Adjust emit_group_load
486 and emit_group_store calls.
487 * function.c (assign_parms): Set mem alignment for stack slots.
488 Adjust emit_group_store call. Store values at the "wrong" end
489 of regs to the stack. Use BLOCK_REG_PADDING.
490 (locate_and_pad_parm): Save where_pad.
491 (expand_function_end): Adjust emit_group_load call.
492 * stmt.c (expand_value_return): Adjust emit_group_load call.
493 * Makefile.in (calls.o): Depend on $(OPTABS_H).
494 * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0.
495 (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define.
496 (MUST_PASS_IN_STACK): Define.
497 (BLOCK_REG_PADDING): Define.
498 * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs.
499 (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING.
500 * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs.
501 (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code.
502 Act on AGGREGATES_PAD_UPWARD_ALWAYS.
503
504 2003-07-13 Aaron W. LaFramboise <awlaframboise@aol.com>
505
506 * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
507
508 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
509
510 * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM
511 both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF.
512
513 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
514
515 PR other/11123
516 * toplev.c: Don't cut off option names.
517
518 2003-07-13 Andreas Jaeger <aj@suse.de>
519
520 * c-decl.c (link_hash_hash): Avoid warning about casting pointer
521 to integer of different size.
522
523 2003-07-13 Kazu Hirata <kazu@cs.umass.edu>
524
525 * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
526 to (eq (and X 1) 0).
527
528 2003-07-13 Andreas Jaeger <aj@suse.de>
529
530 * config.gcc: Add pmmintrin.h for x86_64-*-*.
531
532 2003-07-13 Zack Weinberg <zack@codesourcery.com>
533
534 * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
535 (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
536 list. Move these all together down by cpplib.
537
538 * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
539 definition of CPPCHAR_SIGNED_T.
540
541 * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
542 * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
543 * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.
544
545 * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
546 * cppinit.c (cpp_create_reader): Likewise.
547
548 * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
549 * cpptrad.c: Likewise. All callers changed.
550 * cpplib.c: All callers changed.
551 * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
552 * hashtable.h: Define GTY(x) to nothing here too.
553
554 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
555
556 * stor-layout.c (compute_record_mode): Remove very obsolete test
557 that forces BLKmode for records with fields crossing word boundary.
558
559 2003-07-13 Zack Weinberg <zack@codesourcery.com>
560
561 * Makefile.in: Remove orphan reference to acconfig.h.
562
563 2003-07-13 Andreas Jaeger <aj@suse.de>
564
565 * cgraphunit.c: Convert prototypes to ISO C90.
566
567 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
568
569 * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
570 (for OpenBSD).
571 * fixinc/fixincl.x: Rebuild.
572
573 2003-07-12 Zack Weinberg <zack@codesourcery.com>
574
575 * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
576 i?86-*-*. Use correct name of cache variable.
577 * configure: Regenerate.
578
579 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
580
581 * config/alpha/alpha.c: Fix comment typos.
582 * config/alpha/alpha.md: Likewise.
583 * config/arm/arm.c: Likewise.
584 * config/arm/arm.md: Likewise.
585 * config/arm/lib1funcs.asm: Likewise.
586 * config/avr/avr.md: Likewise.
587 * config/arm/README-interworking: Fix typos.
588
589 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
590
591 * c-format.c: Fix comment formatting.
592 * c-typeck.c: Likewise.
593 * coverage.c: Likewise.
594 * cppcharset.c: Likewise.
595 * cpplib.c: Likewise.
596 * dbxout.c: Likewise.
597 * gcov-io.h: Likewise.
598 * toplev.c: Likewise.
599
600 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
601
602 * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
603 fix.
604
605 2003-07-12 Zack Weinberg <zack@codesourcery.com>
606
607 * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
608 uses three-argument AC_DEFINE so no acconfig.h entries are
609 needed.
610 (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
611 which contains the GAS version number as a scaled integer.
612 (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers. Add
613 ability to check for ELF assembler.
614 (gcc_GAS_CHECK_FEATURE): New macro.
615 * configure.in: Use gcc_AC_CHECK_TYPE. Rewrite all
616 assembler feature checks using gcc_GAS_CHECK_FEATURE.
617 Use three-argument AC_DEFINE everywhere.
618 * acconfig.h: Deleted.
619 * config.in, configure: Regenerate.
620
621 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
622
623 * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
624 (on OpenBSD).
625 * fixinc/fixincl.x: Regenerate.
626
627 * fixinc/inclhack.def (gnu_types): Improve comment.
628
629 2003-07-12 Andreas Jaeger <aj@suse.de>
630
631 * fp-test.c (main): Use ISO C90 prototype.
632
633 * version.c: Remove unneded include of ansidecl.h.
634
635 * cgraph.h: Convert prototypes to ISO C90.
636 * cgraph.c: Likewise.
637 * fix-header.c: Likewise.
638 * ra.h: Likewise.
639 * protoize.c: Likewise.
640
641 Sat Jul 12 06:09:38 CEST 2003 Jan Hubicka <jh@suse.cz>
642
643 * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
644 warning.
645
646 Sat Jul 12 03:06:01 CEST 2003 Jan Hubicka <jh@suse.cz>
647 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
648
649 * cgraph.c (cgraph_max_uid): New global variable.
650 (cgraph_node): Set uid field.
651 (create_edge): Keep inline flags consistent.
652 (dump_cgraph): Dump more info.
653 * cgraph.h (struct cgraph_local_info): Remove inline_many and
654 can_inline_once; add inlinable, disgread_inline_limits, and self_insn
655 (struct cgraph_global_info): Add insns, calls, cloned_times,
656 will_be_output.
657 (struct cgraph_node): Add uid.
658 (struct cgraph_edge): Add inline_call.
659 (cgraph_max_uid, cgraph_inline_p): Declare.
660 * cgraph.c: Include params.h and fibheap.h
661 (cgraph_mark_functions_to_inline_once): Kill.
662 (INSNS_PER_CALL): New constant.
663 (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
664 static variables.
665 (cgraph_finalize_function): Do not analyze inlining.
666 (cgraph_finalize_compilation_unit): Set inlining attributes.
667 (cgraph_mark_functions_to_output): More consistency checks.
668 (cgraph_optimize_function): Set current_function_decl to NULL.
669 (cgraph_expand_function): Use new inline flags.
670 (cgraph_postorder): Expand from cgraph_expand_functions.
671 (INLINED_TIMES, SET_INLINED_TIMES): New macros.
672 (cgraph_inlined_into, cgraph_inlined_callees,
673 cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
674 cgraph_mark_inline, cgraph_check_inline_limits,
675 cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
676 cgraph_decide_inlining, cgraph_inline_p): New functions.
677 * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
678 PARAM_INLINE_UNIT_GROWTH): New parameters.
679 * tree-inline.c (struct inline_data): New field current_decl.
680 (expand_call_inline): Avoid forward declarations; use
681 inlinable_function_p.
682 (optimize_inline_calls): Set id.current_decl.
683
684 2003-07-11 Andrew Pinski <pinskia@physics.uc.edu>
685
686 * configure.in: Remove wrongly added definition of
687 local_prefix.
688 * configure: Regenerate.
689
690 2003-07-11 Dan Nicolaescu <dann@ics.uci.edu>
691
692 * rtl.def (NOTE): Do not use padding.
693
694 2003-07-11 Dara Hazeghi <dhazeghi@yahoo.com>
695
696 * doc/install.tex: Update required binutils for i?86-*-linux*
697
698 2003-07-11 Richard Henderson <rth@redhat.com>
699
700 * Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
701
702 2003-07-11 Mark Mitchell <mark@codesourcery.com>
703
704 * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
705 TRANSLATION_UNIT_DECL as top_level.
706
707 2003-07-11 Jakub Jelinek <jakub@redhat.com>
708
709 * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
710 then fall back to cmpstrM.
711 * builtins.c (expand_builtin_memcmp): Likewise.
712 * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
713 (s390_expand_cmpmem): ... this.
714 * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
715 cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
716 from cmpstr* patterns. Rename call to s390_expand_cmpstr
717 to s390_expand_cmpmem.
718 * config/s390/s390.c (s390_expand_cmpstr): Rename to...
719 (s390_expand_cmpstr): ... this. Rename cmpstr* instructions
720 to cmpmem*.
721 * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
722 cmpstr* patterns.
723 * doc/md.texi (cmpstrM): Describe as String compare insn, not
724 Block compare insn.
725 (cmpmemM): Add.
726
727 2003-07-11 Loren James Rittle <ljrittle@acm.org>
728
729 * config/i386/freebsd.h (SET_ASM_OP): Remove.
730 (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
731 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
732 MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
733
734 2003-07-11 Richard Henderson <rth@redhat.com>
735
736 * function.c (assign_parms): Don't recombine complex args if
737 fnargs is unchanged from orig_fnargs.
738 (split_complex_args): Return args without complex before copying.
739 Re-layout the modified parameters.
740
741 2003-07-11 J"orn Rennecke <joern.rennecke@superh.com>
742
743 * regclass.c (choose_hard_reg_mode): Add third argument.
744 Changed all callers.
745 * rtl.h (choose_hard_reg_mode): Update declaration.
746 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
747 Take HARD_REGNO_CALL_PART_CLOBBERED into account.
748
749 2003-07-11 Geoffrey Keating <geoffk@apple.com>
750
751 * c-decl.c (finish_decl): Handle 'used' here...
752 * cgraphunit.c (cgraph_finalize_function): ... and here ...
753 * c-common.c: (handle_used_attribute): ... not here.
754
755 * configure.in (onstep): Support --enable-intermodule.
756 * Makefile.in (OBJS-common): New.
757 (OBJS-md): New.
758 (OBJS-archive): New.
759 (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
760 (OBJS-onestep): New.
761 (libbackend.a): Support @onestep@.
762 (libbackend.o): New.
763 * configure: Regenerate.
764
765 * c-common.h (c_reset_state): New prototype.
766 (c_parse_file): New prototype.
767 (finish_file): Move prototype from c-tree.h.
768 * c-decl.c: Include <hashtab.h>.
769 (builtin_decls): New.
770 (current_file_decl): New.
771 (duplicate_decls): Add extra parameter. Change all callers. Don't
772 output duplicate common symbols.
773 (link_hash_hash): New.
774 (link_hash_eq): New.
775 (poplevel): Handle popping of the top level.
776 (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
777 (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
778 (pushdecl_top_level): Likewise.
779 (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
780 (c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
781 (finish_decl): Handle TRANSLATION_UNIT_DECL.
782 (merge_translation_unit_decls): New.
783 (c_write_global_declarations): New.
784 (c_reset_state): New.
785 (implicitly_declare): Handle TRANSLATION_UNIT_DECL.
786 * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
787 * c-objc-common.c (c_cannot_inline_tree_fn): Handle
788 TRANSLATION_UNIT_DECL.
789 (c_objc_common_finish_file): Call merge_translation_unit_decls.
790 * c-opts.c (in_fnames): Rename from in_fname.
791 (c_common_decode_option): Handle multiple input filenames.
792 (c_common_post_options): Likewise.
793 (c_common_parse_file): Likewise; also, call c_parse_file rather than
794 yyparse.
795 * c-parse.in: Move cleanup code to c_parse_file.
796 (free_parser_stacks): Move contents to c_parse_file.
797 (c_parse_file): New.
798 * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
799 for integer types.
800 (C_DECL_FILE_SCOPE): New.
801 (finish_file): Move prototype to c-common.h.
802 (merge_translation_unit_decls): New prototype.
803 (comptypes): Add extra parameter to prototype.
804 (c_write_global_declarations): New prototype.
805 * c-typeck.c (tagged_types_tu_compatible_p): New.
806 (function_types_compatible_p): Add extra parameter, change all callers.
807 (type_lists_compatible_p): Likewise.
808 (comptypes): Likewise.
809 (struct tagged_tu_seen): New.
810 (tagged_tu_seen_base): New.
811 (build_unary_op): Handle TRANSLATION_UNIT_DECL.
812 (c_mark_addressable): Remove #if 0 code.
813 * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
814 comment explaining why it shouldn't have to.
815 * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
816 options.
817 * cppinit.c (cpp_read_next_file): New.
818 (cpp_read_main_file): Use it.
819 * cpplib.c (undefine_macros): New.
820 (cpp_undef_all): New.
821 * cpplib.h (cpp_read_next_file): Prototype.
822 (cpp_undef_all): Prototype.
823 * langhooks-def.h (write_global_declarations): Remove prototype.
824 * toplev.h (write_global_declarations): Add prototype.
825 * tree.c (decl_type_context): Use switch statement, handle
826 TRANSLATION_UNIT_DECL.
827 * tree.def: Update documentation for TRANSLATION_UNIT_DECL.
828 (TRANSLATION_UNIT_DECL): New kind of tree.
829 * tree.h: Update documentation for TRANSLATION_UNIT_DECL.
830 * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
831 * doc/invoke.texi: Make attempt to document new functionality.
832
833 2003-05-19 Per Bothner <bothner@apple.com>
834
835 * gcc.c (combine_inputs): New.
836 (process_command): Set combine_inputs.
837 (do_spec_1): Handle combine_inputs.
838 (main): Likewise.
839
840 2003-07-10 James E Wilson <wilson@tuliptree.org>
841
842 PR optimization/9745
843 * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
844 loop_insn_emit_before.
845 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
846
847 2003-07-10 Zack Weinberg <zack@codesourcery.com>
848
849 * cppcharset.c: Fix comment.
850 (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
851 (EILSEQ): #define to EINVAL if not already defined.
852 (convert_using_iconv): #if out when !HAVE_ICONV.
853 (init_iconv_desc): Handle !HAVE_ICONV here...
854 (cpp_init_iconv): ...not here.
855
856 2003-07-11 Neil Booth <neil@daikokuya.co.uk>
857
858 * common.opt: More --help messages.
859 * opts.c (print_help): Use puts().
860 * toplev.c (f_options): Remove help text.
861 (display_help): Don't dump f_options.
862
863 2003-07-11 Nathanael Nerode <neroden@gcc.gnu.org>
864
865 * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
866 Move i?86-*-interix* to the don't-fix list.
867 * fixinc/fixinc.interix: Delete with extreme prejudice.
868
869 2003-07-10 Dara Hazeghi <dhazeghi@yahoo.com>
870
871 PR bootstrap/10758
872 * doc/install.texi: Document requirements for ia64-*-hpux* target.
873
874 2003-07-10 Roger Sayle <roger@eyesopen.com>
875
876 * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
877
878 2003-07-10 Zack Weinberg <zack@codesourcery.com>
879
880 * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
881 one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
882 one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
883 convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
884 convert_no_conversion, convert_using_iconv): New functions.
885 (APPLY_CONVERSION): New macro.
886 (struct conversion, conversion_tab): New data structure.
887 (init_iconv_desc): Check conversion_tab for a custom conversion
888 primitive before trying to use iconv.
889 (convert_cset): Deleted.
890 (cpp_init_iconv): Use UTF- terminology, not UCS-.
891 (_cpp_destroy_iconv): Update to match.
892 (_cpp_valid_ucn): We don't need iconv to implement UCNs.
893 (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
894 (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
895 (_cpp_interpret_string_notranslate): New function, moved here
896 from cpplib.c.
897
898 * cpphash.h (convert_f, struct cset_converter): New types.
899 (struct cpp_reader): narrow_cset_desc and wide_cset_desc
900 are now struct cset_converter, not bare iconv_t.
901 Update prototypes.
902 * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
903 all callers changed.
904
905 2003-07-10 Kelley Cook <kelleycook@wideopenwest.com>
906
907 * Makefile.in (options.h): Depend on Makefile. Add move-if-change
908 to opts.sh command line.
909 * opts.sh: Write to temporary files with a move-if-change at the end.
910
911 2003-07-10 Denis Chertykov <denisc@overta.ru>
912 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
913
914 * combine.c (gen_binary): Handle the CLOBBER rtx and
915 don't build a binary operation with it.
916
917 2003-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
918
919 * gcse.c (load_kills_store, find_loads, store_killed_in_insn,
920 store_killed_after, store_killed_before): Keep track of the correct
921 dependency function to use.
922
923 2003-07-10 Steven Bosscher <steven@gcc.gnu.org>
924 * toplev.c (do_compile): Don't try to open dump files before
925 lang_dependent_init initializes dump_base_name.
926
927 2003-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
928
929 * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
930 Use ARRAY_SIZE.
931 * config/frv/frv.c (frv_expand_builtin): Likewise.
932 * config/sh/sh.c (sh_media_init_builtins): Likewise.
933
934 2003-07-09 Mark Mitchell <mark@codesourcery.com>
935
936 PR c++/10032
937 * doc/invoke.texi (C++ Dialect Options): Change documentation of
938 -fpermissive.
939
940 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
941
942 * tm.texi (RETURN_ADDR_OFFSET): Document.
943
944 2003-07-10 Nathan Sidwell <nathan@codesourcery.com>
945
946 * gcov-io.h: Update documentation.
947 (GCOV_UNSIGNED2STRING): New.
948 (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
949 GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
950 GCOV_TAG_SUMMARY_LENGTH): Adjust.
951 (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
952 GCOV_TAG_COUNTER_NUM): New.
953 (GCOV_BLOCK_SIZE): Number of words.
954 (gcov_var): Adjust buffer type.
955 * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
956 (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
957 count, not byte count.
958 (gcov_open): Adjust overread init.
959 (gcov_allocate, gcov_write_unsigned, gcov_write_counter,
960 gcov_write_string, gcov_write_tag, gcov_write_length,
961 gcov_write_tag_length): Adjust.
962 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
963 (gcov_sync, gcov_seek): Adjust.
964 * gcov-dump.c (print_usage): Show gcc version only.
965 (dump_file): Use GCOV_UNSIGNED2STRING.
966 (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
967 * gcov.c (print_version): Show gcc version only.
968 (read_graph_file): Use GCOV_UNSIGNED2STRING. Use
969 GCOV_TAG_*_NUM macros.
970 (read_count_file): Use GCOV_UNSIGNED2STRING. Use
971 GCOV_TAG_COUNTER_LENGTH.
972 * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
973 Use GCOV_TAG_COUNTER_NUM.
974 * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
975 (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.
976
977 2003-07-10 Andreas Schwab <schwab@suse.de>
978
979 * gcov-dump.c (dump_file): Fix missing address operator.
980
981 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
982
983 PR c/11449
984 * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
985 of HOST_WIDE_INT.
986 (fold_single_bit_test): If sign_bit_p() fails, assume that the
987 bit being tested is not a sign bit.
988
989 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
990
991 * config/h8300/h8300.md (a peephole2): New.
992
993 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
994
995 2001-12-13 Alexandre Oliva <aoliva@redhat.com>
996 * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
997 from ld-linux.so.2 to ld.so.1.
998 2001-11-18 Alexandre Oliva <aoliva@redhat.com>
999 * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
1000 * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
1001 nor -Wl,-rpath-link.
1002 (LIB_SPEC): Add -rpath-link if !static.
1003 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
1004 * config/mn10300/mn10300.c (mn10300_protect_label): New
1005 variable.
1006 * config/mn10300/linux.h (PRINT_OPERAND,
1007 PRINT_OPERAND_ADDRESS): Set it during their execution.
1008 (ASM_OUTPUT_LABELREF): Output `+' before symbol name if
1009 mn10300_protect_label is set.
1010 * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
1011 -Wl,-rpath-link.
1012 (LIB_SPEC, STARTFILE_SPEC): Define.
1013 2001-05-11 Alexandre Oliva <aoliva@redhat.com>
1014 * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
1015 FLOAT_BIT_ORDER_MISMATCH.
1016 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
1017 * config.gcc (am33_2.0-*-linux*): Added.
1018 * config/mn10300/linux.h: New.
1019 * config/mn10300/t-linux: New.
1020
1021 2003-07-10 Andreas Jaeger <aj@suse.de>
1022
1023 * fold-const.c: Properly wrap prototypes.
1024
1025 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
1026
1027 2003-06-16 Alexandre Oliva <aoliva@redhat.com>
1028 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
1029 Moved from...
1030 * config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
1031 * config/mn10300/mn10300.h: GTY-declare it.
1032 2003-06-11 Alexandre Oliva <aoliva@redhat.com>
1033 * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
1034 prototype. Use incoming RTL argument.
1035 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
1036 * config/mn10300/mn10300.md (int_label): Move C statements...
1037 (GOTaddr2picreg): ... here.
1038 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
1039 * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
1040 * config/mn10300/mn10300.c (mn10300_encode_section_info):
1041 ... here. New function.
1042 (TARGET_ENCODE_SECTION_INFO): Define to it.
1043 2001-11-04 Alexandre Oliva <aoliva@redhat.com>
1044 * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
1045 pattern name.
1046 (mn10300_loadPC): Define as insn splittable after reload.
1047 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1048 * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
1049 be defined in .rodata even in PIC, now that the assembler
1050 supports that.
1051 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
1052 * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
1053 symbol take an underscore prefix.
1054 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
1055 * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
1056 legitimize_pic_address): Declare.
1057 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
1058 the PIC register as fixed.
1059 (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
1060 (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
1061 PIC.
1062 (LEGITIMATE_PIC_OPERAND_P): Define.
1063 (PIC_OFFSET_TABLE_REGNUM): Define.
1064 (GOT_SYMBOL_NAME): Define.
1065 (SYMBOLIC_CONST_P): Define.
1066 (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
1067 symbols.
1068 (MN10300_GLOBAL_P): Test it.
1069 (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
1070 (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
1071 * config/mn10300/mn10300.c (print_operand): Handle unspec.
1072 (expand_prologue): Set PIC register.
1073 (call_address_operand): Don't match SYMBOL_REFs in PIC.
1074 (legitimize_address): Call legitimize_pic_address.
1075 (legitimize_pic_address): New fn.
1076 (legitimate_pic_operand_p): New fn.
1077 * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
1078 (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
1079 UNSPEC_PLT): New constants.
1080 (pop_pic_reg): New insn.
1081 (movsi): Adjust non-PIC addresses.
1082 (builtin_setjmp_receiver): Restore the PIC register.
1083 (casesi): New insn.
1084 (call): Adjust non-PIC addresses.
1085 (int_label, GOTaddr2picreg): New expands.
1086 (am33_loadPC): New insn.
1087 (mn10300_loadPC): New expand.
1088 (call_next_insn): New insn.
1089 (add_GOT_to_pic_reg): New expand.
1090 (symGOT2reg, symGOT2reg_i): New expands.
1091 (symGOTOFF2reg, symGOTOFF2reg_i): New expands.
1092 (sym2PIC, sym2PLT): New expands.
1093
1094 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
1095
1096 * config/mn10300/mn10300.h (PREDICATE_CODES): Define.
1097 2001-05-01 Alexandre Oliva <aoliva@redhat.com>
1098 * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
1099 to flag_unsafe_math_optimizations.
1100 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
1101 * config/mn10300/mn10300.c (expand_prologue): Mark
1102 FP-register-saving insns as frame-related.
1103 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
1104 * config/mn10300/mn10300.c
1105 (mn10300_get_live_callee_saved_regs): Don't search past
1106 LAST_EXTENDED_REGNUM.
1107 (mn10300_gen_multiple_store, store_multiple_operation): Likewise.
1108 * config/mn10300/mn10300.md: Remove excessive line breaks from
1109 `@' output patterns that were accounted as additional
1110 alternatives.
1111 * config/mn10300/mn10300.md, config/mn10300/mn10300.c:
1112 Re-introduce changes accidentally removed in Richard Sandiford's
1113 2000-12-05's patch.
1114 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
1115 Re-instate am33-2 lost in merge from net GCC.
1116 2000-08-26 Alexandre Oliva <aoliva@redhat.com>
1117 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
1118 floating-point registers.
1119 2000-08-07 Alexandre Oliva <aoliva@redhat.com>
1120 * config/mn10300/mn10300.md (movdf): Revert some am33-specific
1121 pessimizations that had gone in on 2000-05-08.
1122 2000-06-28 Graham Stott <grahams@cygnus.co.uk>
1123 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
1124 2000-06-22 Graham Stott <grahams@cygnus.co.uk>
1125 * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
1126 operand 0.
1127 * (movhi): Likewise.
1128 * (movsi): Likewise.
1129 * (movsf): Likewise.
1130 * (movdi): Likewise.
1131 * (movdf): Likewise.
1132 Wed May 24 13:16:09 2000 Alexandre Oliva <aoliva@cygnus.com>
1133 * config/mn10300/mn10300.c (fp_regs_to_save): New function.
1134 (can_use_return_insn, initial_offset): Add fp_regs_to_save.
1135 (expand_prologue, expand_epilogue): Save and restore FP regs.
1136 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
1137 * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
1138 2000-05-13 Alexandre Oliva <aoliva@cygnus.com>
1139 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
1140 subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
1141 Do not clobber cc0.
1142 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
1143 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
1144 Discourage the two-argument, longer opcodes.
1145 (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
1146 ones.
1147 * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
1148 (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
1149 * config/mn10300/mn10300.md (cmpsf): New pattern.
1150 (branch): Test mdep.fpCC and output fbCC.
1151 * config/mn10300/mn10300.c (print_operand): Output conditions.
1152 (notice_cc_update): Recognize fcmp and set mdep.fpCC.
1153 2000-05-10 Alexandre Oliva <aoliva@cygnus.com>
1154 * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
1155 mulsf3, divsf3): Use the `F' constraint for FP values.
1156 * config/mn10300/mn10300.c (const_1f_operand): New function.
1157 * config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
1158 * config/mn10300/mn10300.md (sqrtsf2): New expand.
1159 (rsqrtsf2): New insn.
1160 2000-05-09 Alexandre Oliva <aoliva@cygnus.com>
1161 * config/mn10300/mn10300.md (movdf): Oops, I missed it in my
1162 previous check-in.
1163 2000-05-08 Alexandre Oliva <aoliva@cygnus.com>
1164 * config/mn10300/mn10300.md (abssf2, negdf2): On
1165 TARGET_AM33_2, expand to...
1166 (abssf2_am33_2, negdf2_am33_2): New insns.
1167 (addsf3, subsf3, mulsf3, divsf3): Likewise.
1168 (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
1169 * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
1170 movdi, movdf): Added FP regs.
1171 * invoke.texi (-mam33-2, -mno-am33-2): Document.
1172 2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1173 * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
1174 New macros.
1175 (REGNO_AM33_2_FP_P): Renamed to...
1176 (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
1177 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
1178 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
1179 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
1180 regs from GENERAL_REGS.
1181 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
1182 * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
1183 * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
1184 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
1185 2000-04-23 Alexandre Oliva <aoliva@cygnus.com>
1186 * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
1187 as FP_REGS.
1188 2000-04-21 Alexandre Oliva <aoliva@cygnus.com>
1189 * config/mn10300/mn10300.h (OK_FOR_Q): New macro.
1190 (EXTRA_CONSTRAINT): Added OK_FOR_Q.
1191 * config/mn10300/mn10300.c (secondary_reload_class): Adjust.
1192 * config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
1193 * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
1194 (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
1195 AM33/2.0 floating-point registers.
1196 (CONDITIONAL_REGISTER_USAGE): Adjust.
1197 (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
1198 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
1199 (REG_CLASS_FROM_LETTER): Added `f' and `A'.
1200 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
1201 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
1202 (MULTILIB_DIRNAMES): Likewise.
1203 * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
1204 `__AM33_2__' when `-mam33-2' is given.
1205 (TARGET_AM33_2): Define.
1206 (TARGET_SWITCHES): Adjust.
1207 * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
1208 when appropriate.
1209
1210 2003-07-09 Matt Kraai <kraai@alumni.cmu.edu>
1211
1212 * doc/install.texi: Add missing @.
1213
1214 2003-07-09 Bob Wilson <bob.wilson@acm.org>
1215
1216 * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
1217
1218 2003-07-09 Aldy Hernandez <aldyh@redhat.com>
1219
1220 PR/11144
1221 * config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
1222
1223 2003-07-09 Nathanael Nerode <neroden@gcc.gnu.org>
1224
1225 PR bootstrap/11043
1226 * config/arc/t-arc: Replace bogus references to "x-crtinit.o",
1227 "x-crtfini.o" with "crtinit.o", "crtfini.o".
1228
1229 * fixinc/inclhack.def (limits_ifndefs): Add select test.
1230 * fixinc/fixincl.x: Rebuild.
1231
1232 * fixinc/inclhack.def (math_exception): Improve bypass and comment.
1233 * fixinc/fixincl.x: Rebuild.
1234
1235 2003-07-09 Hans-Peter Nilsson <hp@bitrange.com>
1236
1237 * doc/install.texi (Configuration): Document the valgrind option
1238 to --enable-checking.
1239
1240 Wed Jul 9 16:16:30 CEST 2003 Jan Hubicka <jh@suse.cz>
1241
1242 * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
1243
1244 2003-07-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1245
1246 * c-lex.c (cb_ident): Cast cstr.text to const char *.
1247
1248 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
1249
1250 * gcov-io.h: Update documentation.
1251 (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
1252 GCOV_NOTE_MAGIC.
1253 (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
1254 (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
1255 (struct gcov_var): Change buffer's type. Add endian flag.
1256 (gcov_open): Remove mode in libgcov.
1257 (gcov_magic): Prototype.
1258 * gcov-io.c (from_file): New.
1259 (gcov_open): Clear endian flag.
1260 (gcov_magic): New.
1261 (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
1262 pointers.
1263 (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
1264 gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
1265 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
1266 * gcov-iov.c (main): Correct cast.
1267 * coverage.c (read_counts_file): Use gcov_magic. Remove endianness
1268 conversion.
1269 (gcov_begin_output): Use GCOV_NOTE_MAGIC.
1270 (coverage_init): Use GCOV_NOTE_SUFFIX.
1271 * libgcov.c (gcov_version_mismatch): Remove endianness conversion.
1272 Rename to gcov_version, and return flag.
1273 (gcov_exit): Use gcov_version.
1274 (__gcov_init): Use gcov_version.
1275 * Makefile.in (coverageexts): Update.
1276 * gcov.c (print_version): Remove endianness conversion.
1277 (create_file_names): Use GCOV_NOTE_SUFFIX.
1278 (read_graph_file): Use gcov_magic.
1279 (read_count_file): Likewise.
1280 * gcov-dump.c (dump_file): Remove endianness conversion, use
1281 gcov_magic.
1282
1283 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
1284
1285 * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
1286 coverage is on.
1287 * configure: Regenerated.
1288 * Makefile.in (ALL_CFLAGS): Correct its comment.
1289
1290 2003-07-08 Mark Mitchell <mark@codesourcery.com>
1291
1292 * fold-const.c (make_range): Do not access operand 1 for a
1293 zero-operand operator.
1294
1295 2003-07-09 Neil Booth <neil@daikokuya.co.uk>
1296
1297 * toplev.c (warn_dummy, W_options): Die.
1298 (display_help): Don't print W_options.
1299 * common.opt: Add W_options help from toplev.c.
1300
1301 2003-07-09 Andreas Jaeger <aj@suse.de>
1302
1303 * opts.c (wrap_help): Only pass int arguments as arguments to
1304 printf's '*' modifier. Change argument of function.
1305
1306 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
1307
1308 * doc/invoke.texi: Fix misspelling of "@item".
1309
1310 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
1311
1312 * config/i386/i386.md: Remove an old comment about
1313 NOTICE_UPDATE_CC.
1314
1315 Wed Jul 9 03:00:10 CEST 2003 Jan Hubicka <jh@suse.cz>
1316
1317 * cgraph.c (cgraph_node_name): New function.
1318 (dump_cgraph): Use it.
1319 * cgraph.h (cgraph_dump_file): Declare.
1320 (cgraph_node_name): Declare.
1321 * cgraphunit.c: Include timevar.h
1322 (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
1323 (cgraph_optimize_function): Use TV_INTEGRATION.
1324 (cgraph_mark_local_functions): reorganize dumps.
1325 (cgraph_mark_functions_to_inline_once): Likewise.
1326 (cgraph_optimize): Likewise; use timevar.
1327 * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
1328 * toplev.c (dump_file_index): Add DFI_cgraph.
1329 (dump_file_info): Likewise.
1330 (cgraph_dump_file): New global variable.
1331 (do_compile): Open and close cgraph dump.
1332 * invoke.texi (-d): Document new flag; renumber.
1333
1334 2003-07-08 Roger Sayle <roger@eyesopen.com>
1335
1336 PR c/11370
1337 * calls.c (emit_call_1): Don't bother popping the arguments off of
1338 the stack after a noreturn function call; The adjustment is dead.
1339 (expand_call): Likewise.
1340
1341 2003-07-08 Geoffrey Keating <geoffk@apple.com>
1342
1343 * expr.c (MOVE_MAX_PIECES): Move from here...
1344 * defaults.h (MOVE_MAX_PIECES): ... to here.
1345
1346 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
1347
1348 * Makefile.in (stage1-start): Handle an empty SUBDIRS.
1349
1350 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1351
1352 * genattr.c (internal_dfa_insn_code): Don't prototype.
1353 * genattrtab.c (attr_desc): Add `static_p' field.
1354 (expand_units): Make blockage range and ready cost functions
1355 static.
1356 (write_attr_get): Don't add extern prototypes in C file. Mark
1357 static functions as appropriate.
1358 (find_attr, make_internal_attr): Initialize static_p.
1359 * genattrtab.h (ATTR_STATIC): New macro.
1360 * genautomata.c (output_internal_reset_func): Mark output function
1361 as inline.
1362 (make_internal_dfa_insn_code_attr): Mark output function as static.
1363
1364 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1365
1366 * genattrtab.h: Add new macros for attr `special' flags.
1367 * genattrtab.c (attr_desc): Reorder/resize fields better.
1368 Use attr `special' macros in all calls to make_internal_attr.
1369 * genautomata.c: Likewise.
1370
1371 Wed Jul 9 02:25:39 CEST 2003 Jan Hubicka <jh@suse.cz>
1372
1373 * c-common.c (c_estimate_num_insns_1): New static function.
1374 (c_estimate_num_insns): New global function.
1375 * c-common.h (DECL_NUM_STMTS): Rename to...
1376 (DECL_ESTIMATED_INSNS): ... this.
1377 (c_estimate_num_insns): Declare.
1378 * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
1379 * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
1380 * c-semantics.c (add_stmt): Do not account statements.
1381 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
1382 New.
1383 * langhooks.h (lang_hooks_for_tree_inlining): Add
1384 estimate_num_insns
1385 * params.def (max-inline-insns-auto, max-inline-insns-auto): set
1386 to 100.
1387 (max-inline-insns): set to 300.
1388 (min-inline-insns): set to 10.
1389 * tree-inline.c (struct inline_data): Rename inlined_stmts to
1390 inlined-insns.
1391 (INSNS_PER_STMT): Kill.
1392 (inlinable_function_p): Compute and store body size.
1393 (expand_call_inline): Likewise.
1394 (optimize_inline_calls): Likewise.
1395
1396 2003-07-08 James E Wilson <wilson@tuliptree.org>
1397
1398 PR target/10021
1399 * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
1400 loop over new variable t2 instead of t.
1401
1402 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
1403
1404 PR bootstrap/11455
1405 * config/i386/winnt.c: Replace use of error(), warning() with
1406 error_with_decl(), warning_with_decl(), throughout.
1407
1408 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
1409
1410 * opts.c (wrap_help): Use unsigned int, not size_t.
1411
1412 2003-07-08 Stephane Carrez <stcarrez@nerim.fr>
1413
1414 * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
1415 as .file/.loc directives are incompatible with linker relaxation.
1416
1417 2003-07-08 Zack Weinberg <zack@codesourcery.com>
1418
1419 * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
1420 * fixinc/Makefile.in: Remove all references to gnu-regex.[och].
1421 * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
1422 * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
1423 * fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
1424 * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
1425 Escape { and } characters which are not part of range expressions.
1426 * fixinc/fixincl.x: Regenerate.
1427 * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file.
1428
1429 2003-07-08 Steven Bosscher <steven@gcc.gnu.org>
1430
1431 PR c/1687
1432 * tree-inline.c (find_alloca_call): Use
1433 walk_tree_without_duplicates, instead of walk_tree.
1434 (find_builtin_longjmp_call): Likewise.
1435 * c-objc-common.c (c_cannot_inline_fn): Likewise.
1436 * c-semantics.c (find_reachable_label): Likewise.
1437
1438 2003-07-08 Jakub Jelinek <jakub@redhat.com>
1439
1440 PR c/11420
1441 * config/i386/i386.c (ix86_check_movabs): New function.
1442 * config/i386/i386-protos.h (ix86_check_movabs): New prototype.
1443 * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
1444 (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
1445
1446 2003-07-08 Chris Demetriou <cgd@broadcom.com>
1447
1448 * Makefile.in (install-po): Cope with empty CATALOGS.
1449
1450 2003-07-08 Richard Sandiford <rsandifo@redhat.com>
1451
1452 * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
1453 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
1454 (SECTION_FUNCTION_TEMPLATE): Delete.
1455 * config/mips/elf.h: As for elf64.h.
1456 (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
1457 * config/mips/linux.h: As for elf.h
1458 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
1459 * config/mips/iris6.h (EXTRA_SECTIONS): Delete.
1460 (EXTRA_SECTION_FUNCTIONS): Remove sdata_section. Remove the handling
1461 of in_sdata from current_section_name and current_section_flags.
1462 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
1463 * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
1464 (MASK_GP_OPT, TARGET_GP_OPT): Delete.
1465 (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
1466 (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
1467 (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
1468 * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
1469 (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
1470 (mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
1471 (override_options): Remove setting of MASK_GPOPT.
1472 (mips_output_external): Use mips_in_small_data_p to check whether a
1473 symbol needs an .extern directive. Don't emit such directives for
1474 TARGET_EXPLICIT_RELOCS.
1475 (mips_declare_object): Update accordingly.
1476 (mips_select_rtx_section): Call named_section rather than
1477 SMALL_DATA_SECTION.
1478 (mips_select_section): Use default_elf_section_section for everything
1479 except .text string constants.
1480 (mips_in_small_data_p): New function.
1481 (mips_encode_section_info): Remove small data handling.
1482 (mips_unique_section): Delete.
1483 (iris6_section_type_flags): New function.
1484 * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.
1485
1486 2003-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1487
1488 PR Target/11453
1489 * pa.md: Disparage all mtsar constraints.
1490 (extzv, extv, insv): Don't fail on length of {32|64}.
1491
1492 2003-07-08 Zack Weinberg <zack@codesourcery.com>
1493
1494 * system.h: Poison MAP_CHARACTER.
1495 * config/i370/i370-protos.h (mvs_map_char): Delete.
1496 * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
1497 * config/i370/i370.h (MAP_CHARACTER): Delete definition.
1498 (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
1499
1500 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
1501
1502 * toplev.c (randomize): Correct call to time().
1503
1504 2003-07-08 Jakub Jelinek <jakub@redhat.com>
1505
1506 * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
1507 REG_EQUIV notes as well.
1508
1509 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
1510
1511 * doc/md.texi: Fix the description of addmodecc.
1512
1513 2003-07-07 Zack Weinberg <zack@codesourcery.com>
1514
1515 * Makefile.in (top_builddir): Set to "..", not ".".
1516 (INTLLIBS, INTLDEPS): Delete.
1517 (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
1518 (LIBDEPS): Add $(LIBICONV_DEP).
1519 (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
1520 (INCLUDES): Replace -I../intl with @INCINTL@.
1521 ($(top_builddir)/intl/libintl.a): Delete rule.
1522 (stage2-start, stage3-start, stage4-start, stageprofile-start,
1523 stagefeedback-start): Use $$ for variable to be evaluated by
1524 shell, not make.
1525 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
1526 HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
1527 * aclocal.m4: sinclude ../config/progtest.m4. Add
1528 contents of lcmessage.m4 from gettext distro.
1529 * configure.in: Check for wchar.h and setlocale. Set
1530 LIBICONV_DEP to the empty string and substitute it.
1531 Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls;
1532 this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR,
1533 not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included
1534 in $LIBINTL, to avoid linking it twice.
1535 * configure, config.in: Regenerate.
1536
1537 2003-07-08 Nathanael Nerode <neroden@gcc.gnu.org>
1538
1539 * fixinc/mkfixinc.sh: Remove winnt support.
1540 * fixinc/fixinc.winnt: Delete with extreme prejudice.
1541
1542 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
1543
1544 * Makefile.in: Update.
1545 * c-opts.c (c_common_handle_option): opt_text now contains the '-'.
1546 * c.opt: Update documentation.
1547 * common.opt: Add some help text.
1548 * opts.c: Include intl.h.
1549 (wrap_help, print_help): New.
1550 (find_opt, handle_option, common_handle_option): opt_text now
1551 contains the '-'. Use print_help to output help.
1552 * opts.h (struct cl_option): New member "help".
1553 * opts.sh: Update to handle help text output and to prepend
1554 options with '-'.
1555 * toplev.c (display_help): Remove some help text.
1556
1557 2003-07-07 David Edelsohn <edelsohn@gnu.org>
1558 Fariborz Jahanian <fjahanian@apple.com>
1559
1560 * configure.in: Test for PowerPC mfcr field support in assembler.
1561 * config.in, configure: Regenderated.
1562
1563 * config/rs6000/power4.md: Add mfcrf reservation.
1564 * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
1565 * config/rs6000/rs6000.c (mfcr_operation): Define.
1566 (print_operand): Add 'Q' case for mfcrf.
1567 * config/rs6000/rs6000.h (TARGET_MFCRF): New.
1568 * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
1569 (movcc_internal1): Emit optional field operand for mfcr and set
1570 "type" attribute appropriately.
1571 (mfcr SCC): Likewise.
1572 (movesi_from_cr_one): New.
1573
1574 2003-07-07 Roger Sayle <roger@eyesopen.com>
1575
1576 * config/i386/i386.md: Correct check-in of incorrect version.
1577
1578 2003-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1579
1580 * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
1581 adjacent stdio calls.
1582 * c-decl.c (c_print_identifier): Likewise.
1583 * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
1584 * print-rtl.c (print_rtx): Likewise.
1585 * print-tree.c (print_node_brief, print_node): Likewise.
1586 * system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
1587
1588 * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
1589 * config.in, configure: Regenerated.
1590
1591 2003-07-07 Roger Sayle <roger@eyesopen.com>
1592
1593 PR target/10979
1594 * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
1595 Changed to define_expand patterns that copy operand[1] to prevent
1596 it from being clobbered before emitting an atan2?f3_1 insn.
1597 (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
1598 patterns that actually specify the behaviour of x87's FPATAN.
1599
1600 2003-07-07 Jakub Jelinek <jakub@redhat.com>
1601
1602 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
1603 clearing of SYMBOL_FLAG_LOCAL bit.
1604 If vcall_offset fits into signed 16-bit immediate, use
1605 one instruction for both addition and load.
1606
1607 2003-07-07 Neil Booth <neil@daikokuya.co.uk>
1608
1609 * opts.c (common_handle_option): Correct handling of the
1610 -falign- switches that do and don't take an argument.
1611
1612 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
1613
1614 * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
1615 today.
1616 (pushhi1_h8300hs): Likewise.
1617
1618 2003-07-07 Andreas Jaeger <aj@suse.de>
1619
1620 * genextract.c: Convert remaining prototypes to ISO C90.
1621
1622 * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
1623 * fold-const.c (fold_single_bit_test): Likewise.
1624 * diagnostic.c (default_diagnostic_finalizer): Likewise.
1625 * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
1626
1627 * gengtype.c (write_array): Generate ISO C90 prototypes.
1628
1629 * genflags.c (gen_proto): Generate ISO C90 prototypes.
1630
1631 2003-07-07 Roger Sayle <roger@eyesopen.com>
1632
1633 PR optimization/11059
1634 * expr.c (can_store_by_pieces): Return true if length is zero.
1635 (store_by_pieces): If length is zero and endp is two, abort,
1636 othwerise, if length is zero and endp is not two, return "to".
1637 (clear_by_pieces): Do nothing if length is zero.
1638 (clear_storage): Do nothing if length is zero.
1639 (store_constructor): Simplify code when size is zero, or the
1640 target has already been cleared. This avoids emitting a
1641 blockage instruction when initializing empty structures.
1642
1643 2003-07-07 Andreas Jaeger <aj@suse.de>
1644
1645 * mips-tfile.c: Convert prototypes to ISO C90.
1646 * mips-tdump.c: Convert prototypes to ISO C90.
1647
1648 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
1649
1650 * rtl.h (emit_line_note): Take a location_t.
1651 (emit_line_note_force): Remove.
1652 (set_file_and_line_for_statement): Take a location_t.
1653 * tree.g (emit_line_note): Take a location_t.
1654 * emit-rtl.c (emit_line_note): Take a location_t.
1655 (emit_line_note_force): Remove.
1656 * function.c (init_function_start): Adjust emit_line_note call.
1657 (expand_function_end): Use force_next_line_note, not
1658 emit_line_note_force.
1659 * c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
1660 * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
1661 genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
1662 genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
1663 genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
1664 genrtl_continue_stmt, genrtl_switch_stmt,
1665 genrtl_asm_stmt): Likewise.
1666 * expr.c (expand_expr): Likewise.
1667 * integrate.c (expand_inline_function): Likewise.
1668 * stmt.c (set_file_and_line_for_stmt): Take a location_t.
1669 (expand_decl_init): Adjust emit_line_note call.
1670
1671 2003-07-07 Dale Johannesen <dalej@apple.com>
1672
1673 * config/rs6000/darwin-tramp.asm: Fix trampolines. PR 10900.
1674
1675 2003-07-07 Andreas Jaeger <aj@suse.de>
1676
1677 * config/i386/i386-protos.h: Convert prototypes to ISO C90.
1678 * config/i386/i386.c: Likewise.
1679
1680 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
1681
1682 * config/h8300/h8300.md: Use gen_int_mode instead of
1683 GEN_INT (trunc_int_for_mode (...)).
1684
1685 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
1686
1687 * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
1688 2 bytes and then subtract 2 from the stack pointer.
1689 (pushhi1_h8300hs): Likewise.
1690
1691 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
1692
1693 * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
1694 -frandom-seed.
1695 * configure: Regenerated.
1696 * Makefile.in: Remove extraneous comment.
1697 * toplev.c (randomize): Protect against potential multiple calls.
1698 * doc/invoke.texi (-frandom-seed): Document use for in coverage
1699 files.
1700
1701 2003-07-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1702 Eric Botcazou <ebotcazou@libertysurf.fr>
1703
1704 PR optimization/11198
1705 * alias.c (objects_must_conflict_p): Return 1 if the types have
1706 the same alias set, not if the alias sets only conflict.
1707
1708 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu>
1709
1710 * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
1711 (convert_cset): Change inbuf to type ICONV_CONST char.
1712 * Makefile.in (LIBS): Add LIBICONV.
1713
1714 * doc/invoke.texi (-falign-functions): Document that
1715 when n is zero then a machine-dependent default is used.
1716 (-falign-labels): Document that when n is zero then a
1717 machine-dependent default is used and that -falign-labels =1
1718 is equivalent to -fno-align-labels.
1719 (-falign-loops): Likewise.
1720 (-falign-jumps): Likewise.
1721
1722 2003-07-06 Art Haas <ahaas@airmail.net>
1723
1724 * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
1725 initializer syntax.
1726
1727 2003-07-06 James E Wilson <wilson@tuliptree.org>
1728
1729 PR optimization/9812
1730 * rtl.h (mem_for_const_double): Delete prototype.
1731 * varasm.c (mem_for_const_double): Delete function.
1732 * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
1733 config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
1734 (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
1735 * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
1736 (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
1737 * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add
1738 comment about confused support for XFmode constants.
1739
1740 Mon Jul 7 02:03:56 CEST 2003 Jan Hubicka <jh@suse.cz>
1741
1742 * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
1743
1744 2003-07-06 Kazu Hirata <kazu@cs.umass.edu>
1745
1746 * config/h8300/h8300.c: Fix comment typos.
1747 * config/h8300/h8300.md: Likewise.
1748 * config/i386/athlon.md: Likewise.
1749 * config/i386/i386.c: Likewise.
1750 * config/i386/pentium.md: Likewise.
1751 * config/ia64/ia64.c: Likewise.
1752 * config/ia64/itanium1.md: Likewise.
1753 * config/ia64/itanium2.md: Likewise.
1754 * config/m32r/m32r.md: Likewise.
1755 * config/m68hc11/m68hc11.c: Likewise.
1756 * config/mcore/mcore.c: Likewise.
1757 * config/mips/sr71k.md: Likewise.
1758 * config/mips/t-iris5-as: Likewise.
1759 * config/mmix/mmix.h: Likewise.
1760 * config/ns32k/ns32k.h: Likewise.
1761 * config/ns32k/NOTES: Fix a typo.
1762
1763 2003-07-06 Andreas Jaeger <aj@suse.de>
1764
1765 * stmt.c: Convert remaining prototypes to ISO C90.
1766 * cfglayout.c: Likewise.
1767 * dbxout.c: Likewise.
1768 * gcc.c: Likewise.
1769 * genemit.c: Likewise.
1770
1771 * basic-block.h: Convert prototypes to ISO C90.
1772 * c-parse.in: Likewise.
1773 * c-pragma.h: Likewise.
1774 * c-typeck.c: Likewise.
1775 * cfghooks.h: Likewise.
1776 * cfgloopanal.c: Likewise.
1777 * dbxout.h: Likewise.
1778 * debug.h: Likewise.
1779 * dwarf2asm.h: Likewise.
1780 * gcov.c: Likewise.
1781 * gengtype-lex.l: Likewise.
1782 * sched-int.h: Likewise.
1783 * timevar.c: Likewise.
1784
1785 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
1786
1787 * c-common.h (c_comon_handle_filename,
1788 c_common_missing_arguement): New.
1789 * c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
1790 LANG_HOOKS_MISSING_ARGUMENT): New.
1791 * c-opts.c (missing_arg): Rename c_common_missing_argument,
1792 update to be an appropriate langhook.
1793 (c_common_handle_option): Don't handle filenames.
1794 (c_common_handle_filename): New.
1795 * hooks.c (hook_void_constcharptr,
1796 hook_bool_constcharptr_size_t_false): New.
1797 * hooks.h (hook_void_constcharptr,
1798 hook_bool_constcharptr_size_t_false): New.
1799 * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
1800 LANG_HOOKS_MISSING_ARGUMENT): New.
1801 (LANG_HOOKS_INITIALIZER): Update.
1802 * langhooks.h (struct lang_hooks): Add handle_filename and
1803 missing_argument.
1804 * opts.c (handle_option): Don't handle filenames here, but ...
1805 (handle_options): ... here.
1806 (common_handle_option): Don't handle missing arguments here.
1807 * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
1808 LANG_HOOKS_MISSING_ARGUMENT): New.
1809
1810 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
1811
1812 * Makfile.in: Remove traces of mbchar.
1813 * c-parse.in (MULTIBYTE_CHARS): Remove.
1814 * config.in (MULTIBYTE_CHARS): Remove.
1815 * configure: Remove --enable-mbchar.
1816 * configure.in: Remove --enable-mbchar.
1817 * mbchar.c, mbchar.h: Remove.
1818 * system.h: Poison MULTIBYTE_CHARS.
1819 * config/linux-aout.h (MULTIBYTE_CHARS): Remove.
1820 * config/linux.h (MULTIBYTE_CHARS): Remove.
1821 * config/svr4.h (MULTIBYTE_CHARS): Remove.
1822 * config/sparc/linux.h (MULTIBYTE_CHARS): Remove.
1823
1824 2003-07-06 Andreas Jaeger <aj@suse.de>
1825
1826 * varray.c (varray_check_failed): Fix typo.
1827
1828 * unroll.c: Convert prototypes to ISO C90.
1829 * varasm.c: Likewise.
1830 * varray.c: Likewise.
1831 * varray.h: Likewise.
1832 * vmsdbgout.c: Likewise.
1833 * xcoffout.c: Likewise.
1834 * xcoffout.h: Likewise.
1835
1836 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
1837
1838 * gcov-io.h: Add a local time stamp.
1839 (struct gcov_info): Add stamp field.
1840 (gcov_truncate): New.
1841 * coverage.c (read_counts_file): Skip the stamp.
1842 (coverage_begin_output): Write the stamp.
1843 (build_gcov_info): Declare and init the stamp.
1844 (coverage_finish): Only unlink data file, if stamp is zero.
1845 * gcov-dump.c (dump_file): Dump the stamp.
1846 * gcov.c (bbg_stamp): New.
1847 (release_structures): Clear bbg_stamp.
1848 (read_graph_file): Read stamp.
1849 (read_count_file): Check stamp.
1850 * libgcov.c (gcov_exit): Check stamp and truncate if needed.
1851
1852 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
1853
1854 * tree.h (default_flag_random_seed): Remove.
1855 * toplev.h (local_tick): Declare.
1856 * tree.c (flag_random_seed, default_flag_random_seed): Move to
1857 toplev.c.
1858 (append_random_chars): Don't call default_flag_random_seed.
1859 * toplev.c (flag_random_seed): Define here. Set local_tick.
1860 (local_tick): Define.
1861 (randomize): New, moved from tree.c.
1862 (print_switch_values): Adjust.
1863 (toplev_main): Call randomize.
1864
1865 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
1866
1867 * tree.h (crc32_string): Declare.
1868 * tree.c (append_random_chars): Remove.
1869 (crc32_string): New.
1870 (get_file_function_name_long): Use crc32_string here.
1871
1872 2003-07-06 Andreas Jaeger <aj@suse.de>
1873
1874 * gcc.c: Convert prototypes to ISO C90.
1875 * gcc.h: Likewise.
1876 * gcov-dump.c: Likewise.
1877 * gcov-iov.c: Likewise.
1878 * gcse.c: Likewise.
1879 * genattrtab.h: Likewise.
1880 * ggc.h: Likewise.
1881 * global.c: Likewise.
1882 * graph.c: Likewise.
1883 * graph.h: Likewise.
1884 * hosthooks.h: Likewise.
1885 * hooks.h: Likewise.
1886 * hooks.c: Likewise.
1887 * hashtable.h: Likewise.
1888 * hashtable.c: Likewise.
1889 * haifa-sched.c: Likewise.
1890 * integrate.h: Likewise.
1891 * integrate.c: Likewise.
1892 * input.h: Likewise.
1893 * ifcvt.c: Likewise.
1894 * jump.c: Likewise.
1895 * langhooks-def.h: Likewise. Add extern to prototypes.
1896 * langhooks.c: Likewise.
1897 * langhooks.h: Likewise.
1898 * lcm.c: Likewise.
1899 * local-alloc.c: Likewise.
1900 * loop-init.c: Likewise.
1901 * loop-unroll.c: Likewise.
1902 * loop-unswitch.c: Likewise.
1903 * loop.c: Likewise.
1904 * loop.h: Likewise. Add extern to prototypes.
1905 * machmode.h: Likewise.
1906 * main.c: Likewise.
1907 * mbchar.c: Likewise.
1908 * mbchar.h: Likewise.
1909 * mkdeps.c: Likewise.
1910 * mkdeps.h: Likewise.
1911 * optabs.c: Likewise.
1912 * optabs.h: Likewise.
1913 * output.h: Likewise.
1914 * gccspec.c: Likwise.
1915 * postreload.c: Likewise.
1916 * prefix.c: Likewise.
1917 * prefix.h: Likewise.
1918 * print-rtl.c: Likewise.
1919 * print-tree.c: Likewise.
1920 * profile.c: Likewise.
1921 * read-rtl.c: Likewise.
1922 * real.c: Likewise.
1923 * real.h: Likewise.
1924 * recog.c: Likewise.
1925 * recog.h: Likewise.
1926 * reg-stack.c: Likewise.
1927 * regclass.c: Likewise.
1928 * regmove.c: Likewise.
1929 * regrename.c: Likewise.
1930 * regs.h: Likewise.
1931 * reload.c: Likewise.
1932 * reload.h: Likewise.
1933 * reload1.c: Likewise.
1934 * reorg.c: Likewise.
1935 * resource.c: Likewise.
1936 * resource.h: Likewise.
1937 * rtl-error.c: Likewise.
1938 * rtl.c: Likewise.
1939 * rtl.h: Likewise.
1940 * rtlanal.c: Likewise.
1941 * sbitmap.c: Likewise.
1942 * sbitmap.h: Likewise.
1943 * scan-decls.c: Likewise.
1944 * scan.c: Likewise.
1945 * sched-deps.c: Likewise.
1946 * sched-ebb.c: Likewise.
1947 * sched-int.h: Likewise.
1948 * sched-rgn.c: Likewise.
1949 * sched-vis.c: Likewise.
1950 * sibcall.c: Likewise.
1951 * simplify-rtx.c: Likewise.
1952 * sreal.c: Likewise.
1953 * sreal.h: Likewise.
1954 * ssa-ccp.c: Likewise.
1955 * ssa-dce.c: Likewise.
1956 * ssa.c: Likewise.
1957 * ssa.h: Likewise.
1958 * stack.h: Likewise.
1959 * stmt.c: Likewise.
1960 * stor-layout.c: Likewise.
1961 * stringpool.c: Likewise.
1962 * target.h: Likewise.
1963 * timevar.c: Likewise.
1964 * timevar.h: Likewise.
1965 * tlink.c: Likewise.
1966 * tracer.c: Likewise.
1967 * tree-inline.c: Likewise.
1968 * tree-inline.h: Likewise.
1969 * tree.c: Likewise.
1970 * tree.h: Likewise.
1971
1972 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
1973
1974 * combine.c (nonzero_bits1): Fix a warning.
1975
1976 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
1977
1978 * config/h8300/h8300.c (compute_mov_length): Correct the
1979 length of loading CONST0_RTX (SFmode).
1980
1981 2003-07-05 Nathan Sidwell <nathan@codesourcery.com>
1982
1983 * toplev.c (output_clean_symbol_name): Remove.
1984 * toplev.h (output_clean_symbol_name): Remove.
1985 * config/alpha/alpha.c (unicosmk_output_module_name): Use
1986 lbasename & clean_symbol_name.
1987
1988 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
1989
1990 * ggc.h: Follow spelling conventions.
1991 * config/i386/i386.c: Likewise.
1992 * config/i386/winnt.c: Likewise.
1993 * config/rs6000/rs6000.c: Likewise.
1994
1995 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
1996
1997 * bt-load.c: Fix comment typos.
1998 * c-incpath.c: Likewise.
1999 * cfg.c: Likewise.
2000 * cfgcleanup.c: Likewise.
2001 * cfgloop.h: Likewise.
2002 * cfgloopmanip.c: Likewise.
2003 * cfgrtl.c: Likewise.
2004 * diagnostic.h: Likewise.
2005 * dwarfout.c: Likewise.
2006 * emit-rtl.c: Likewise.
2007 * et-forest.c: Likewise.
2008 * et-forest.h: Likewise.
2009 * expr.c: Likewise.
2010 * gcse.c: Likewise.
2011 * genattr.c: Likewise.
2012 * jump.c: Likewise.
2013 * langhooks.h: Likewise.
2014 * local-alloc.c: Likewise.
2015 * loop-unroll.c: Likewise.
2016 * loop-unswitch.c: Likewise.
2017 * ra-build.c: Likewise.
2018 * regclass.c: Likewise.
2019 * regmove.c: Likewise.
2020 * rtl.def: Likewise.
2021 * rtlanal.c: Likewise.
2022 * sched-ebb.c: Likewise.
2023 * sched-rgn.c: Likewise.
2024 * simplify-rtx.c: Likewise.
2025 * ssa.c: Likewise.
2026 * tracer.c: Likewise.
2027 * tree.c: Likewise.
2028
2029 2003-07-05 Zack Weinberg <zack@codesourcery.com>
2030
2031 * cppcharset.c: Use the correct return type for the fallback iconv
2032 macro.
2033
2034 Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2035
2036 Blame to Jan Hubicka <jh@suse.cz>
2037 * cfglayout.c (record_effective_endpoints): Split insns before
2038 first basic block correctly.
2039
2040 2003-07-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2041
2042 * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
2043 bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
2044 if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
2045
2046 2003-07-05 Andreas Jaeger <aj@suse.de>
2047
2048 * genattrtab.c (write_attr_get): Revert part of last patch to
2049 always write out a prototype.
2050
2051 * genemit.c (gen_split): Readd lost unused attributes in last
2052 patch.
2053
2054 2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2055
2056 * cfgloopmanip.c (force_single_succ_latches): Force latch to be
2057 different from header.
2058
2059 2003-07-05 Andreas Schwab <schwab@suse.de>
2060
2061 * config/m68k/m68k.c: Remove code protected by CRDS.
2062 * config/m68k/m68k.md: Likewise.
2063
2064 2003-07-05 Neil Booth <neil@daikokuya.co.uk>
2065
2066 PR driver/11417
2067 * c-opts.c (permit_fortran_options): New.
2068 (c_common_init_options): Accept fortran front end options if
2069 it looks like we might be preprocessing Fortran.
2070 (c_common_handle_option): Don't reject switch if permit_fotran_options.
2071
2072 2003-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2073
2074 * genattr.c (internal_dfa_insn_code): Output prototype.
2075 * genattrtab.c: Don't output unnecessary decls, output in ISO C.
2076 * genautomata.c: Likewise.
2077 * genconditions.c: Likewise.
2078 * genemit.c: Likewise.
2079 * genextract.c: Likewise.
2080 * gengenrtl.c: Likewise.
2081 * gengtype.c: Likewise.
2082 * genopinit.c: Likewise.
2083 * genoutput.c: Likewise.
2084 * genpeep.c: Likewise.
2085 * genrecog.c: Likewise.
2086
2087 2003-07-04 Zack Weinberg <zack@codesourcery.com>
2088
2089 * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
2090 (struct cpp_options): Add narrow_charset, wide_charset,
2091 bytes_big_endian fields. Remove EBCDIC field.
2092 (cpp_init_iconv, cpp_interpret_string): New external interfaces.
2093
2094 * cpphash.h: Include <iconv.h> if we have it, otherwise
2095 provide a dummy definition of iconv_t.
2096 (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
2097 (_cpp_valid_ucn): Update prototype.
2098 (_cpp_destroy_iconv): New prototype.
2099
2100 * doc/cpp.texi: Document character set handling.
2101 * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
2102 * doc/extend.texi: Delete entire section on multiline strings.
2103 Rewrite section on __FUNCTION__ etc now that these are
2104 variables in C.
2105
2106 * cppucnid.tab, cppucnid.pl: New files.
2107 * cppucnid.h: New generated file.
2108 * cppcharset.c: Include cppucnid.h. Lots of commentary added.
2109 (iconv_open, iconv, iconv_close): Provide dummy definitions
2110 if !HAVE_ICONV.
2111 (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
2112 _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
2113 emit_numeric_escape, convert_hex, convert_oct, convert_escape,
2114 cpp_interpret_string, narrow_str_to_charconst,
2115 wide_str_to_charconst): New.
2116 (ucn_valid_in_identifier): Use a binary search through the
2117 ucnranges table defined in cppucnid.h, not a long chain of if
2118 statements.
2119 (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal
2120 character names are only valid in C++ and C99" to a warning.
2121 Issue the "meaning of \[uU] is different in traditional C"
2122 warning here. Take care not to let iconv see an invalid UCS
2123 value if we get a malformed UCN. Issue an error if we don't
2124 have iconv.
2125 (cpp_interpret_charconst): Moved here from cpplex.c. Use
2126 cpp_interpret_string to do the heavy lifting.
2127
2128 * cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
2129 narrow_charset, wide_charset fields of options structure.
2130 (cpp_destroy): Call _cpp_destroy_iconv.
2131 * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
2132 (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
2133 (cpp_interpret_charconst): Moved to cppcharset.c.
2134 * cpplib.c (dequote_string): Delete.
2135 (interpret_string_notranslate): New.
2136 (do_line, do_linemarker): Use interpret_string_notranslate.
2137
2138 * Makefile.in (cppcharset.o): Depend on cppucnid.h.
2139
2140 * c-common.c (fname_string, combine_strings): Delete.
2141 * c-common.h (fname_string, combine_strings): Delete prototypes.
2142 * c-lex.c (ignore_escape_flag): Delete.
2143 (cb_ident): Use cpp_interpret_string, not lex_string.
2144 (get_nonpadding_token): New function.
2145 (c_lex): Handle Objective-C @-prefixed identifiers and strings here.
2146 Adjust calls to lex_string. Don't write *value twice.
2147 (lex_string): Now handles string constant concatenation.
2148 Most of the work handed off to cpp_interpret_string.
2149 Call fix_string_type here.
2150 * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
2151 FUNC_NAME, throughout.
2152 (OBJC_STRING): New token type.
2153 (primary:STRING): No need to call fix_string_type here.
2154 (primary:objc_string): Make that OBJC_STRING.
2155 (objc_string nonterminal): Delete.
2156 (yylexname): Delete code to handle fake string constants.
2157 (yylexstring): Delete entirely.
2158 (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need
2159 to handle CPP_ATSIGN.
2160
2161 * c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
2162 * c-opts.c (missing_arg, c_common_handle_option): Handle
2163 OPT_fexec_charset_ and OPT_fwide_exec_charset_.
2164 (c_common_init): Set cpp_opts->bytes_big_endian, not
2165 cpp_opts->EBCDIC. Call cpp_init_iconv.
2166 (print_help): Document -fexec-charset= and -fexec-wide-charset=.
2167 (TARGET_EBCDIC): Delete default definition.
2168
2169 * objc/objc-act.c (build_objc_string_object): No need to
2170 handle string constant concatenation.
2171
2172 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
2173
2174 * doc/install.texi: Fix typos.
2175 * doc/invoke.texi: Likewise.
2176 * doc/tm.texi: Likewise.
2177
2178 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
2179
2180 * config/pa/fptr.c: Fix comment typos.
2181 * config/pa/pa-64.h: Likewise.
2182 * config/pa/pa.c: Likewise.
2183 * config/pa/pa.h: Likewise.
2184 * config/rs6000/603.md: Likewise.
2185 * config/rs6000/7xx.md: Likewise.
2186 * config/rs6000/darwin.h: Likewise.
2187 * config/rs6000/freebsd.h: Likewise.
2188 * config/rs6000/rs6000.c: Likewise.
2189 * config/rs6000/rs6000.md: Likewise.
2190 * config/rs6000/spe.h: Likewise.
2191
2192 2003-07-04 Ulrich Weigand <uweigand@de.ibm.com>
2193
2194 * config/s390/2064.md: Change GNU CC to GCC.
2195 * config/s390/2084.md: Likewise.
2196 * config/s390/fixdfdi.h: Likewise.
2197 * config/s390/linux.h: Likewise.
2198 * config/s390/s390-modes.def: Likewise.
2199 * config/s390/s390-protos.h: Likewise.
2200 * config/s390/s390.c: Likewise.
2201 * config/s390/s390.h: Likewise.
2202 * config/s390/s390.md: Likewise.
2203 * config/s390/s390x.h: Likewise.
2204
2205 2003-07-04 Jeff Law <law@redhat.com>
2206
2207 PR c/11428
2208 * expr.c (do_store_flag): Pass in the correct result type
2209 when calling fold_single_bit_test.
2210 * fold-const.c (fold_single_bit_test): Use result_type for the
2211 result when folding a sign bit test.
2212
2213 2003-07-04 Neil Booth <neil@daikokuya.co.uk>
2214
2215 * opts.c (common_handle_options): Negate sense of -falign- switches.
2216
2217 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 * Makefile.in: Replace PWD with PWD_COMMAND.
2220
2221 2003-07-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2222
2223 * cfgloopanal.c (count_strange_loop_iterations): New static function.
2224 (constant_iterations, count_loop_iterations, simple_loop_exit_p):
2225 Handle strange loops.
2226
2227 2003-07-04 Toon Moene <toon@moene.indiv.nluug.nl>
2228
2229 * install.texi: Even the g77 manpage is derived from
2230 the full g77 manual.
2231
2232 2003-07-04 Zack Weinberg <zack@codesourcery.com>
2233
2234 * ABOUT-NLS: Delete.
2235 * intl: Delete entire directory.
2236 * aclocal.m4: Include ../config/gettext.m4. Delete
2237 AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
2238 AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
2239 * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
2240 Remove intl/Makefile from all_outputs.
2241 * configure, config.in: Regenerate.
2242 * Makefile.in: Expunge all references to intl subdirectory.
2243 Add -I../intl to INCLUDES.
2244 * intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
2245
2246 2003-07-04 Roger Sayle <roger@eyesopen.com>
2247
2248 * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
2249 * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
2250
2251 2003-07-04 Danny Smith <dannysmith@users.sourceforge.net>
2252
2253 PR c++/5287, PR c++/7910, PR c++/11021
2254 * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
2255 dllimport attribute if function is defined at declaration, but
2256 report error instead. Likewise for dllimport'd variable
2257 definitions. Set implicit TREE_PUBLIC for dllimport'd variables
2258 declared within functions, Report error if dllimport or dllexport
2259 symbol is not global.
2260 (i386_pe_dllimport_p): Ignore dllimport attribute of functions
2261 if defined after declaration or if inlined. Don't allow definition
2262 of static data members of C++ classes. Don't dllimport virtual
2263 methods.
2264 (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
2265 (i386_pe_mark_dllimport): Remove unnecessary checks.
2266 (i386_pe_encode_section_info): Warn if the dllimport attribute
2267 and symbol prefix have been instantiated and then overridden.
2268
2269 * doc/extend.texi: Document dllimport and dllexport attributes.
2270
2271 * config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
2272
2273 2003-07-03 Uwe Stieber <uwe@kaos-group.de>
2274
2275 * config/kaos.h (CPP_PREDEFINES): Delete.
2276 (TARGET_OS_CPP_BUILTINS): New.
2277
2278 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2279
2280 * c-aux-info.c: Include toplev.h after c-tree.h.
2281 * c-common.c: Likewise.
2282 (GCC_DIAG_STYLE): Undef.
2283 * c-semantics.c (GCC_DIAG_STYLE): Define.
2284 * c-tree.h (GCC_DIAG_STYLE): Likewise.
2285 * diagnostic.h (inform): Move prototype to toplev.h.
2286 * jump.c: Include diagnostic.h before toplev.h.
2287 * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
2288 (warning, error, fatal_error, pedwarn, sorry, inform,
2289 error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
2290
2291 2003-07-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2292
2293 * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
2294 at all if edge is not specified.
2295 (can_copy_bbs_p, copy_bbs): New.
2296 * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
2297 * cfgloop.c (get_loop_body): Comment more precisely.
2298 * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
2299 (scale_bbs_frequencies): Fix comment typo.
2300 (can_duplicate_loop_p): Use can_copy_bbs_p.
2301 (duplicate_loop_to_header_edge): Simplify by using copy_bbs.
2302
2303 2003-07-03 Devang Patel <dpatel@apple.com>
2304
2305 * c-opts.c (c_common_parse_file): Remove extra
2306 debug_hooks->start_source_file call.
2307
2308 2003-07-03 Roger Sayle <roger@eyesopen.com>
2309
2310 * real.c (real_trunc, real_floor, real_ceil): New functions
2311 to implement trunc, floor and ceil respectively.
2312 * real.h (real_trunc, real_floor, real_ceil): Prototype here.
2313 * builtins.c (integer_valued_real_p): New function to test if
2314 a floating point expression has an integer valued result.
2315 (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
2316 foo(x) where foo is an integer rounding function. Similarly,
2317 optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
2318 (double)(int)x when both foo and bar are integer rounding
2319 functions and we don't need to honor errno.
2320 (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
2321 New functions to fold trunc, floor and ceil.
2322 (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
2323 fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
2324 to fold BUILT_IN_CEIL*.
2325 * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
2326 the remaining integer rounding functions.
2327
2328 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
2329
2330 * config/sparc/sparc.c (function_arg_partial_nregs): Use
2331 SPARC_INT_ARG_MAX to determine where to split unnamed
2332 complex FP arguments.
2333
2334 Thu Jul 3 20:36:47 CEST 2003 Jan Hubicka <jh@suse.cz>
2335
2336 * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
2337 * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
2338 (merge_blocks_move_predecessor_nojumps,
2339 merge_blocks_move_successor_nojumps): Use merge_blocks.
2340 (try_optimize_cfg): Use merge_blocks_move.
2341 * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
2342 (merge_blocks_nomove): Rename to rtl_merge_blocks.
2343 (cfg_layout_create_basic_block): New.
2344 (rtl_can_merge_blocks): New.
2345 (cfg_layout_split_block): Do not alloc aux by hand.
2346 * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
2347 merge_blocks.
2348 (create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
2349 * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
2350 * cfgloopmanip.c (loop_split_edge_with): Likewise.
2351 * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
2352
2353 * basic-block.h (basic_block_def): Add field 'rbi'.
2354 * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
2355 find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
2356 * cfg.c (entry_exit_blocks): Add new field.
2357 * cfglayout.c: Include alloc-pool.h;
2358 (cfg_layout_pool): New.
2359 (record_effective_endpoints, fixup_reorder_chain,
2360 fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
2361 of rbi.
2362 (cfg_layout_initialize_rbi): New function.
2363 (cfg_layout_initialize): Use it.
2364 (cfg_layout_finalize): Clear rbi fields.
2365 * cfglayout.h (RBI): Kill.
2366 (cfg_layout_initialize_rbi): Declare.
2367 * cfgloopmanip.c (copy_bbs): Use rbi.
2368 (record_exit_edges): Likewise.
2369 (duplicate_loop_to_header_edge): Likewise.
2370 * cfgrtl.c (cfg_layout_create_basic_block): Use
2371 cfg_layout_initialize_rbi.
2372 (cfg_layout_split_block): Use rbi.
2373 (cfg_layout_delete_block): Likewise.
2374 * loop-init.c (loop_optimizer_finalize): Likewise.
2375 * loop-unswitch.c (unswitch_loop): Likewise.
2376 * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
2377
2378 * cfgrtl.c: Update comments.
2379 (try_redirect_by_replacing_jump): New argument.
2380 (redirect_branch_edge): Break out from ...
2381 (rtl_redirect_edge_and_branch): ... this one.
2382 (update_cfg_after_block_merging): Break out from ...
2383 (rtl_merge_blocks): ... this one.
2384 (cfg_layout_split_edge): New.
2385 (cfg_layout_merge_blocks): New.
2386 (cfg_layout_can_merge_blocks_p): New.
2387 (cfg_layout_redirect_edge_and_branch): Reorganize.
2388 (cfg_layout_rtl_cfg_hooks): Fill in.
2389 (cfg_layout_delete_block): Kill barriers.
2390 * cfganal.c (can_fallthru): Deal with exit blocks
2391 * cfglayout.c (cfg_layout_function_header): New function
2392 (record_effective_endpoints): Record function header.
2393 (fixup_reorder_chain): Fixup dead jumptables; place header
2394
2395 * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
2396 * bb-reorder.c (cfg_layout_initialize): Update call.
2397 * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
2398 edges in cfglayout mode.
2399 * cfglayout.c (cleanup_unconditional_jumps): Kill.
2400 (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
2401 * cfglayout.h (cfg_layout_initialize): Update prototype.
2402 * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
2403 * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
2404 * flow.c (propagate_block): Do not crash when basic block ends
2405 by first insn in the chain.
2406 * loop-init.c (loop_optimizer_init): First enter cfglayout mode; later
2407 do loop discovery.
2408 * tracer.c (tracer): Update call of cfg_layout_initialize.
2409
2410 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2411
2412 * Makefile.in: Use dependency variables in lieu of explicit
2413 files throughout.
2414
2415 2003-07-03 Steven Bosscher <steven@gcc.gnu.org>
2416
2417 * rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
2418 * tree.h: ...to here.
2419
2420 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
2421
2422 * config/s390/2064.md: Fix comment typos.
2423 * config/s390/2084.md: Likewise.
2424 * config/s390/s390.c: Likewise.
2425 * config/s390/s390.md: Likewise.
2426 * config/sh/sh.c: Likewise.
2427 * config/sh/sh.h: Likewise.
2428 * config/sh/sh.md: Likewise.
2429 * config/sparc/sparc.c: Likewise.
2430 * config/sparc/sparc.h: Likewise.
2431 * config/sparc/sparc.md: Likewise.
2432 * config/stormy16/stormy16.c: Likewise.
2433 * config/stormy16/stormy16.h: Likewise.
2434 * config/stormy16/stormy-abi: Fix a typo.
2435
2436 2003-07-03 Kelley Cook <kelleycook@wideopenwest.org>
2437
2438 * Makefile.in (ifcvt.o): Depend on OPTABS_H.
2439
2440 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2441
2442 * config/mips/mips.h (save_argv): Delete.
2443
2444 2003-07-03 Roger Sayle <roger@eyesopen.com>
2445
2446 PR target/10700
2447 * fold-const.c (extract_muldiv_1): There's nothing that can be done
2448 if the expression is a SAVE_EXPR.
2449
2450 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
2451
2452 * config/m32r/m32r.c: Fix comment typos.
2453 * config/m68hc11/m68hc11.c: Likewise.
2454 * config/m68hc11/m68hc11.h: Likewise.
2455 * config/m68k/m68k.c: Likewise.
2456 * config/mcore/mcore.c: Likewise.
2457 * config/mcore/mcore.h: Likewise.
2458 * config/mcore/mcore.md: Likewise.
2459 * config/mips/mips.c: Likewise.
2460 * config/mips/mips.h: Likewise.
2461 * config/mips/mips.md: Likewise.
2462 * config/mips/netbsd.h: Likewise.
2463 * config/mn10300/mn10300.c: Likewise.
2464
2465 2003-07-03 Andreas Schwab <schwab@suse.de>
2466
2467 * dbxout.c (pending_bincls): Move decl down inside
2468 DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
2469
2470 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
2471
2472 * rtl.h (NOTE_DATA): Refer to whole union.
2473 * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
2474
2475 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
2476
2477 PR optimization/11381
2478 * simplify-rtx.c (simplify_relational_operation): Check that
2479 two equal operands have no side-effects before simplifying
2480 the comparison.
2481
2482 2003-07-02 Jeff Law <law@redhat.com>
2483
2484 * expr.c (do_store_flag): Remove special case folding for
2485 single bit tests. Instead call back into the commonized folder
2486 routine.
2487 * fold-const.c (fold_single_bit_test): New function, mostly
2488 extracted from do_store_flag, with an additional case extracted
2489 from fold.
2490 (fold): Call fold_single_bit_test appropriately.
2491 * tree.h (fold_single_bit_test): Prototype.
2492
2493 2003-07-02 Zack Weinberg <zack@codesourcery.com>
2494
2495 * system.h: Include filenames.h.
2496 (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
2497 (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
2498 define based on HAVE_DOS_BASED_FILE_SYSTEM.
2499 * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
2500 * config/i386/xm-mingw32.h: Don't define
2501 HAVE_DOS_BASED_FILE_SYSTEM,
2502 DIR_SEPARATOR, or DIR_SEPARATOR_2.
2503 * doc/hostconfig.texi: Update to match.
2504
2505 * cppfiles.c, gcc.c, gensupport.c, protoize.c,
2506 config/i386/cygwin.h:
2507 Use IS_ABSOLUTE_PATH throughout.
2508 * gcc.c (DIR_UP): Delete, unused.
2509 * protoize.c (IS_SAME_PATH): Define in terms of
2510 FILENAME_CMP.
2511 (is_abspath): Delete.
2512
2513 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
2514
2515 * config/i386/emmintrin.h: Fix comment typos.
2516 * config/i386/i386.c: Likewise.
2517 * config/i386/i386.h: Likewise.
2518 * config/i386/sco5.h: Likewise.
2519 * config/ia64/ia64.c: Likewise.
2520 * config/ia64/itanium2.md: Likewise.
2521
2522 2003-07-02 H.J. Lu <hongjiu.lu@intel.com>
2523
2524 * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
2525 DBX_USE_BINCL.
2526 (emit_bincl_stab): Same.
2527 (emit_pending_bincls): Same.
2528
2529 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
2530
2531 * config/h8300/h8300.c (compute_mov_length): Fix the length of
2532 loading CONST0_RTX (SFmode).
2533 * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
2534 'G' to CONST0_RTX (SFmode).
2535 * config/h8300/h8300.md (movsf_h8300): Change the first
2536 constraint to 'G'.
2537 (movsf_h8300h): Likewise.
2538
2539 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
2540
2541 * c-common.h (c_common_init_options): New prototype.
2542 * c-opts.c (deferred_size): Remove.
2543 (defer_opt): Array is now pre-allocated.
2544 (c_common_init_options): Pre-allocate deferred_opts. Make
2545 lang_flags unsigned.
2546 (push_command_line_options): Free deferred_opts.
2547 * hooks.c (hook_uint_uint_constcharptrptr_0): New.
2548 * hooks.h (hook_uint_uint_constcharptrptr_0): New.
2549 * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
2550 * langhooks.h (struct lang_hooks): New prototype for init_options.
2551 * main.c (main): Cast argv.
2552 * opts.c (handle_option, handle_options): Update prototypes.
2553 (decode_options): save_argc, save_argv are not global. Constify.
2554 * opts.h (decode_options): New prototype.
2555 * toplev.c (general_init): New protoype.
2556 (save_argv): Make static.
2557 (save_argc): Remove.
2558 (print_switch_values, general_init): Constify.
2559 (toplev_main): Save argv.
2560 * toplev.h (toplev_main): Update prototype.
2561 (save_argc, save_argv): Remove.
2562
2563 2003-07-02 David Edelsohn <edelsohn@gnu.org>
2564
2565 * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
2566 (emit_bincl_stab): Same.
2567 (emit_pending_bincls): Same.
2568
2569 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
2570
2571 PR c++/11072
2572 * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
2573
2574 2003-07-02 Andreas Schwab <schwab@suse.de>
2575
2576 * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
2577
2578 2003-07-02 Eric Botcazou <ebotcazou@libertysurf.fr>
2579
2580 PR optimization/11210
2581 * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
2582 about the behaviour with regard to bitfields.
2583 * fold-const (decode_field_reference): Record outermost type in
2584 case the expression is a NOP. Strip all NOPs. Set the signedness
2585 to that of the outermost type (if any) when the bitsize is equal
2586 to the size of the type.
2587
2588 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
2589
2590 * config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
2591 (addsi3_internal, adddi3, adddi3_internal_2): Likewise.
2592 (adddi3_internal_3, addsi3_internal_2): Likewise.
2593
2594 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
2595
2596 * config/mips/mips.c (machine_function): Add new fields:
2597 ignore_hazard_length_p and all_noreorder_p.
2598 (mips_flag_delayed_branch): New variable.
2599 (override_options): Treat '/' as an operand punctuation character.
2600 Set up mips_flag_delayed_branch.
2601 (print_operand): Handle '/'.
2602 (mips_output_function_prologue): Put the whole function in
2603 .set noreorder and .set nomacro if all_noreorder_p is true.
2604 (mips_output_function_epilogue): End the noreorder/nomacro sequence.
2605 (mips16_optimize_gp): Remove "first insn" parameter.
2606 (mips16_lay_out_constants): New function, split out from mips_reorg.
2607 (mips_avoid_hazard, mips_avoid_hazards): New functions.
2608 (mips_reorg): For mips16 code, call mips16_lay_out_constant
2609 and (optionally) mips16_optimize. If TARGET_EXPLICIT_RELOCS,
2610 do delayed-branch scheduling followed by hazard detection.
2611 (mips_adjust_insn_length): Only account for hazards if
2612 !ignore_hazard_length_p.
2613 (mips_output_load_label): Add a nop to the o32 sequence if
2614 the target suffers from load delays.
2615 (mips_output_conditional_branch): Add %/ to the end of branches.
2616 (mips_output_division): Fill the branch delay slot with %#.
2617 * config/mips/mips.md: Remove redundant '%*' from mips16 branch
2618 instructions. End all other %* branches with %/.
2619 (ffssi2, ffsdi2): Fix lengths.
2620 (truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
2621 (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
2622 (fix_truncsfsi2_macro): Likewise.
2623 (mov_lwl): Set hazard to "none".
2624 (ashldi3_internal): Fill the branch delay slot with %#.
2625 (ashrdi3_internal, lshrdi3_internal): Likewise.
2626 (exception_receiver): Explicitly set $28.
2627 (hazard_nop): New pattern.
2628
2629 Wed Jul 2 08:12:36 CEST 2003 Jan Hubicka <jh@suse.cz>
2630
2631 * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
2632 before calling tree_inlinable_function_p.
2633
2634 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2635
2636 * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
2637 <internal/stdio_core.h> too.
2638 (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
2639 <internal/wchar_core.h> too.
2640 Substitute va_list uses in inline definition.
2641 * fixinc/fixincl.x: Regenerate.
2642
2643 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2644
2645 * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
2646 Undef before redefinition.
2647 (LABEL_AFTER_LOC): Likewise.
2648 (DEFAULT_SIGNED_CHAR): Likewise.
2649 (ASM_OUTPUT_ASCII): Moved here from iris4.h.
2650 Fix IRIX spelling.
2651
2652 * config/mips/iris3.h: Remove, unused.
2653 * config/mips/iris4.h: Likewise.
2654
2655 * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
2656
2657 * config/mips/iris5.h (TARGET_DEFAULT): Move ...
2658 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
2659 target_cpu_default.
2660
2661 * config/mips/iris5.h: Move explicit includes ...
2662 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
2663
2664 * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
2665 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
2666 tm_defines.
2667
2668 * config/mips/iris6.h (TARGET_DEFAULT): Move ...
2669 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
2670 target_cpu_default.
2671
2672 * config/mips/iris6.h: Fix IRIX spelling.
2673 (MULTILIB_DEFAULTS): Undef before redefinition.
2674
2675 * config/mips/iris6.h: Move explicit includes ...
2676 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
2677
2678 Wed Jul 2 02:16:48 CEST 2003 Jan Hubicka <jh@suse.cz>
2679
2680 * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
2681 cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
2682 Use next_needed field instead of aux to maintain the queue.
2683 * cgraph.h (cgraph_node): Add next_needed.
2684 (cgraph_varpool_node): Add next_needed; remove aux.
2685 * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
2686
2687 Wed Jul 2 02:12:51 CEST 2003 Jan Hubicka <jh@suse.cz>
2688
2689 * cgraphunit.c (cgraph_finalize_function): Set finalized.
2690 (cgraph_finalize_function): Do not examine inlinablility.
2691 (cgraph_finalize_compilation_unit): Do it here.
2692 * cgraph.h (cgraph_local_info): Add finalized field.
2693
2694 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2695
2696 * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
2697 (gt_pch_restore): Likewise.
2698
2699 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
2700
2701 * config/alpha/alpha.c: Fix comment typos.
2702 * config/alpha/elf.h: Likewise.
2703 * config/arm/arm.c: Likewise.
2704 * config/arm/arm.h: Likewise.
2705 * config/arm/arm.md: Likewise.
2706 * config/arm/t-arm-coff: Likewise.
2707 * config/arm/t-strongarm-pe: Likewise.
2708 * config/arm/xscale-elf.h: Likewise.
2709 * config/avr/avr.h: Likewise.
2710
2711 2003-07-01 Jeff Law <law@redhat.com>
2712
2713 * stmt.c (any_pending_cleanups): Remove another redundant test.
2714
2715 2003-07-01 David Edelsohn <edelsohn@gnu.org>
2716 J"orn Rennecke <joern.rennecke@superh.com>
2717
2718 * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
2719 for MEM case.
2720
2721 2003-07-01 Devang Patel <dpatel@apple.com>
2722
2723 * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
2724 (binclstatus): New.
2725 (struct dbx_file): New members - bincl_status, pending_bincl_name and
2726 prev.
2727 (pending_bincls): New.
2728 (dbxout_init): Initialize new dbx_file members.
2729 (dbxout_start_source_file): Same.
2730 (emit_bincl_stab): New function.
2731 (emit_pending_bincls): Same.
2732 (emit_pending_bincls_if_required): Same.
2733 (dbxout_end_source_file): Emit EINCL stab only if BINCL is already
2734 processed.
2735 (dbxout_begin_block): Emit pending BINCL stabs.
2736 (dbxout_end_block): Same.
2737 (dbxout_function_decl): Same.
2738 (dbxout_continue): Same.
2739 (dbxout_type): Same.
2740 (dbxout_class_name_qualifiers): Same.
2741 (dbxout_symbol): Same.
2742 (dbxout_symbol_location): Same.
2743 (dbxout_parms): Same.
2744
2745 2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2746
2747 * c-semantics.c (genrtl_case_label): Fix format specifier bug.
2748 * cfgrtl.c (rtl_verify_flow_info_1): Likewise.
2749
2750 2003-07-01 Andreas Jaeger <aj@suse.de>
2751
2752 * fold-const.c: Convert prototypes to ISO C90.
2753 * function.c: Likewise.
2754 * function.h: Likewise.
2755
2756 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
2757
2758 * doc/contrib.texi: Fix typos.
2759 * doc/invoke.texi: Likewise.
2760 * doc/passes.texi: Likewise.
2761 * doc/sourcebuild.texi: Likewise.
2762 * doc/tm.texi: Likewise.
2763
2764 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
2765
2766 * basic-block.h: Fix comment typos.
2767 * bb-reorder.c: Likewise.
2768 * c-format.c: Likewise.
2769 * cfgcleanup.c: Likewise.
2770 * cfghooks.h: Likewise.
2771 * cfgloop.c: Likewise.
2772 * cfgloopmanip.c: Likewise.
2773 * cfgrtl.c: Likewise.
2774 * cgraph.h: Likewise.
2775 * cgraphunit.c: Likewise.
2776 * combine.c: Likewise.
2777 * convert.c: Likewise.
2778 * dbxout.c: Likewise.
2779 * df.c: Likewise.
2780 * df.h: Likewise.
2781 * diagnostic.c: Likewise.
2782 * dwarf2out.c: Likewise.
2783 * et-forest.h: Likewise.
2784 * flow.c: Likewise.
2785 * fold-const.c: Likewise.
2786 * function.h: Likewise.
2787 * gcov-io.h: Likewise.
2788 * gcov.c: Likewise.
2789 * gcse.c: Likewise.
2790 * genautomata.c: Likewise.
2791 * ggc-common.c: Likewise.
2792 * ggc-page.c: Likewise.
2793 * loop-unroll.c: Likewise.
2794 * loop-unswitch.c: Likewise.
2795 * loop.c: Likewise.
2796 * mips-tfile.c: Likewise.
2797 * optabs.c: Likewise.
2798 * ra-build.c: Likewise.
2799 * ra-colorize.c: Likewise.
2800 * ra-rewrite.c: Likewise.
2801 * ra.h: Likewise.
2802 * regmove.c: Likewise.
2803 * reload.c: Likewise.
2804 * rtlanal.c: Likewise.
2805 * sched-ebb.c: Likewise.
2806 * sched-int.h: Likewise.
2807 * sched-vis.c: Likewise.
2808 * sreal.c: Likewise.
2809 * ssa-ccp.c: Likewise.
2810 * ssa.c: Likewise.
2811 * toplev.c: Likewise.
2812 * tree-inline.c: Likewise.
2813 * value-prof.c: Likewise.
2814 * value-prof.h: Likewise.
2815
2816 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
2817
2818 * rtl.h (emit_line_note_after): Remove.
2819 (emit_note_copy_after, emit_note_copy): New.
2820 * emit-rtl.c (reorder_insns_with_line_notes): Replace
2821 emit_line_note_after with emit_note_copy_after.
2822 (emit_insn_after_with_line_notes): Likewise.
2823 (emit_line_note_after): Kill.
2824 (emit_note_copy_after): New.
2825 (emit_note_copy): New.
2826 * function.c (emit_return_into_block): Use emit_note_copy_after.
2827 (thread_prologue_and_epilogue_insns): Likewise.
2828 * integrate.c (expand_inline_function): Use emit_note_copy.
2829 (copy_insn_list): Likewise.
2830 * unroll.c (copy_loop_body): Likewise.
2831 * cfglayout.c (duplicate_insn_chain): Likewise.
2832
2833 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
2834
2835 * c-tree.h (define_label): Replace filename and lineno arguments
2836 with a location_t.
2837 * c-decl.c (poplevel): Adjust define_label call.
2838 (pop_label_level): Likewise.
2839 (define_label): Replace filename and lineno arguments with a
2840 location_t.
2841 (store_parm_decls): Use DECL_SOURCE_LOCATION.
2842 * c-parse.in (label): Adjust define_label call.
2843
2844 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
2845
2846 * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
2847 config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
2848 config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
2849 config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
2850 config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
2851
2852 2003-07-01 Andreas Jaeger <aj@suse.de>
2853
2854 * final.c: Convert prototypes to ISO C90.
2855 * flow.c: Likewise.
2856 * flags.h: Likewise.
2857 * gcov-io.c: Likewise.
2858 * gcov-io.h: Likewise.
2859
2860 See ChangeLog.9 for earlier changes.