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