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