OSDN Git Service

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