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