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