* config/arm/arm.c (arm_rtx_costs): Remove #if 0 block.
[official-gcc.git] / gcc / ChangeLog
blob1f2777f911f10468791cf9d7ff71be17b7ee7d4c
1 2003-06-30  Ben Elliston  <bje@wasabisystems.com>
3         * config/arm/arm.c (arm_rtx_costs): Remove #if 0 block.
4         (bad_signed_byte_operand): Likewise.
5         (arm_output_epilogue): Likewise.
6         (arm_final_prescan_insn): Likewise.
8 2003-06-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10         * cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.
12 2003-06-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14         * c-pch.c (c_common_write_pch): Flush asm_out_file to allow for
15         subsequent writes.
17 Mon Jun 30 10:03:02 CEST 2003  Jan Hubicka  <jh@suse.cz>
19         * cfgrtl.c (verify_flow_info): Accept degenerated condjumps
20         in cfglayout mode.
22 Mon Jun 30 09:52:39 CEST 2003  Jan Hubicka  <jh@suse.cz>
24         * i386.c (standard_80387_constant_p): Accept TFmode constants too.
25         (init_ext_80387_constants): Likewise.
26         (standard_80387_constant_rtx): Likewise.
27         * i386.md (atanxf): Disable for TARGET_128BIT_LONG_LONG
28         (atantf): Disable for !TARGET_128BIT_LONG_LONG
29         (fyl2x_sfxf3, fyl2x_dfxf3): Accept TFmode operands.
30         (fyl2x_xfxf3, fyl2x_tfxf3): Enable/disable as needed.
31         (fscale_sfxf3, fscale_dfxf3): Accept TFmode operands.
32         (fscale_xfxf3, fscale_tfxf3): Enable/disable as needed.
33         (frndinttf2): New.
34         (f2xm1tf2): New.
35         (exp?f2): Use expsf2_tf when needed.
36         (exp?f2_tf): New.
37         (exptf): New.
39 2003-06-29 Uwe Stieber <uwe@kaos-group.de>
41         * config.gcc (sh*-*-kaos*): Put tm_file setting in separate case
42         statement from tmake_file set.
44 2003-06-29  James E Wilson  <wilson@tuliptree.org>
46         * reload.c (find_reloads): Change push_reloads to push_reload in
47         comment.
48         * reload1.c (eliminate_regs): Likewise.
49         (dump_needs): Delete prototype for deleted function.
51 2003-06-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
53         * builtin-attrs.def (gcc_diag, gcc_cdiag, gcc_cxxdiag): New
54         format attributes.
55         * c-format.c (enum format_type): Add gcc_diag_format_type,
56         gcc_cdiag_format_type, and gcc_cxxdiag_format_type.
57         (gcc_diag_length_specs, gcc_cdiag_length_specs,
58         gcc_cxxdiag_length_specs, gcc_diag_flag_pairs,
59         gcc_cdiag_flag_pairs, gcc_cxxdiag_flag_pairs, gcc_diag_flag_specs,
60         gcc_cdiag_flag_specs, gcc_cxxdiag_flag_specs, gcc_diag_char_table,
61         gcc_cdiag_char_table, gcc_cxxdiag_char_table): New.
62         (format_types_orig): Add new data.
63         (find_char_info_specifier_index, init_dynamic_diag_info): New
64         functions.
65         (handle_format_attribute): Update to handle new format attributes.
67 2003-06-29  Aaron W. LaFramboise  <awlaframboise@aol.com>
69         * config/i386/mingw32.h (__GTHREAD_HIDE_WIN32API): Define to 1.
71 2003-06-29  Dara Hazeghi  <dhazeghi@yahoo.com>
73         * doc/install.texi: Remove install documentation for obsoleted targets
74         i?86-*-sco, i?86-*-sco3.2v4, powerpcle-*-pe, powerpcle-*-winnt,
75         arm-*-aof.
76         Update information about IA64 toolchain, AIX make requirements,
77         and binutils for m68k-*-hpux and *-*-linuxaout targets.
79 Mon Jun 30 00:50:43 CEST 2003  Jan Hubicka  <jh@suse.cz>
81         * regmove.c (regmove_optimize): Don't try to make src and dst match
82         when they are in different modes.
84 Sun Jun 29 23:06:32 CEST 2003  Jan Hubicka  <jh@suse.cz>
86         * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2): Avoid
87         busy work when builtin is not supported by the backend.
89 2003-06-29  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
91         * loop.c (count_one_set): Fix detection of registers set in more
92         than one basic block.   
94 2003-06-29  Andreas Jaeger  <aj@suse.de>
96         * target-def.h: Remove usage of OBJECT_FORMAT_ROSE.
97         * system.h: Poison OBJ_FORMAT_ROSE.
98         * doc/tm.texi (Macros for Initialization): Remove documentatin of
99         OBJECT_FORMAT_ROSE.
100         * config/rs6000/lynx.h: Remove undef of OBJECT_FORMAT_ROSE.
101         * collect2.c: Remove usage of OBJECT_FORMAT_ROSE.
103 2003-06-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
105         * pa.c (update_total_code_bytes): New function.
106         (last_address): Number of bytes output for a function and its
107         associated thunks.
108         (compute_frame_size): Use BITS_PER_UNIT.
109         (pa_output_function_epilogue): Compute last_address.  Use
110         update_total_code_bytes.
111         (output_lbranch): Handle long branch on portable runtime.
112         (attr_length_millicode_call, attr_length_call,
113         attr_length_indirect_call): Only use total_code_bytes for calls in
114         the text section.
115         (output_call): Only use an indirect call sequence when the target is
116         not local.
117         (pa_asm_output_mi_thunk): Handle updating of total_code_bytes.  Improve
118         test to determine when an IA-relative branch can be used.  Add various
119         long branch sequences.  Avoid using an indirect branch on all ports
120         except SOM.
122 2003-06-29  Ulrich Weigand  <uweigand@de.ibm.com>
124         * expr.c (clear_by_pieces): Fix prototype.
126 2003-06-29  Andreas Jaeger  <aj@suse.de>
128         * cse.c: Convert prototypes to ISO C90.
129         * cselib.c: Likewise.
130         * cselib.h: Likewise.
131         * dbxout.c: Likewise.
132         * debug.c: Likewise.
133         * df.c: Likewise.
134         * df.h: Likewise.
135         * dojump.c: Likewise.
136         * doloop.c: Likewise.
137         * dominance.c: Likewise.
138         * dwarf2asm.c: Likewise.
139         * dwarf2out.c: Likewise.
140         * dwarf2out.h: Likewise.
141         * dwarfout.c: Likewise.
142         * except.c: Likewise.
143         * except.h: Likewise.
144         * emit-rtl.c: Likewise.
145         * et-forest.c: Likewise.
146         * et-forest.h: Likewise.
147         * except.c: Likewise.
148         * explow.c: Likewise.
149         * expmed.c: Likewise.
150         * expr.c: Likewise.
151         * expr.h: Likewise.
153 2003-06-29  Kazu Hirata  <kazu@cs.umass.edu>
155         * alloc-pool.c: Fix comment formatting.
156         * bitmap.c: Likewise.
157         * bitmap.h: Likewise.
158         * bt-load.c: Likewise.
159         * builtins.c: Likewise.
160         * caller-save.c: Likewise.
161         * cfganal.c: Likewise.
162         * cfgrtl.c: Likewise.
163         * collect2.c: Likewise.
164         * cse.c: Likewise.
165         * df.c: Likewise.
166         * diagnostic.c: Likewise.
167         * dwarf2out.c: Likewise.
168         * dwarfout.c: Likewise.
169         * expmed.c: Likewise.
170         * final.c: Likewise.
171         * flags.h: Likewise.
172         * fold-const.c: Likewise.
173         * gcc.c: Likewise.
174         * gcov-io.h: Likewise.
175         * gcov.c: Likewise.
176         * genattrtab.c: Likewise.
177         * genautomata.c: Likewise.
178         * libgcov.c: Likewise.
179         * mips-tfile.c: Likewise.
180         * optabs.c: Likewise.
181         * prefix.c: Likewise.
182         * rtlanal.c: Likewise.
183         * stmt.c: Likewise.
184         * stor-layout.c: Likewise.
185         * toplev.c: Likewise.
186         * varasm.c: Likewise.
187         * vmsdbgout.c: Likewise.
189 2003-06-29  Kazu Hirata  <kazu@cs.umass.edu>
191         * expr.c (emit_single_push_insn): If padding is needed
192         downward, adjust the stack pointer first, and then store the
193         data into the stack location using an offset.
195 2003-06-29  Andreas Jaeger  <aj@suse.de>
197         * collect2.h: Convert prototypes to ISO C90.
198         * collect2.c: Likewise.
199         * conflict.c: Likewise.
200         * coverage.c: Likewise.
201         * convert.h: Likewise.
202         * convert.c: Likewise.
204 2003-06-29  Nathan Sidwell  <nathan@codesourcery.com>
206         * c-decl.c (c_init_decl_processing): Use a location_t. Set input
207         filename to <internal>.
208         * tree.c (make_node): Just copy the current location.
210 2003-06-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
212         PR optimization/11210
213         * fold-const (decode_field_reference): Revert 2003-06-26 patch.
215 2003-06-29  Neil Booth  <neil@daikokuya.co.uk>
217         * toplev.c (flag_dummy): Remove.
218         (f_options): Restore flag pointers.
220 2003-06-29  David Edelsohn  <edelsohn@gnu.org>
222         * config/rs6000/rs6000.c (processor_target_table): Add 970.
223         * config.gcc: Add 970.
225 2003-06-29  Kazu Hirata  <kazu@cs.umass.edu>
227         * dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X,
228         -1) with ggc_strdup.
229         * stmt.c (expand_asm_operands): Likewise.
230         * config/rs6000/rs6000.md (builtin_setjmp_receiver): Likewise.
232 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
234         * config/ip2k/ip2k.c (ip2k_reorg): Use INSN_P instead of its
235         definition.
237 2003-06-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
239         * opts.c: Include insn-attr.h.
240         * Makefile.in (opts.o): Depend on INSN_ATTR_H.
242 2003-06-27  J"orn Rennecke <joern.rennecke@superh.com>
244         * flow.c (propagate_one_insn): Use proper test for a register
245         being part of the return value.
247 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
249         * config/avr/avr.c: Fix a comment typo.
251 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
253         * config/avr/avr-protos.h: Replace avr_simplify_comparision_p
254         with avr_simplify_comparison_p.
255         * config/avr/avr.c: Likewise.
257 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
259         * builtins.c: Follow spelling conventions.
260         * cgraph.c: Likewise.
261         * cpplex.c: Likewise.
262         * config/arm/arm.c: Likewise.
263         * config/arm/iwmmxt.md: Likewise.
264         * config/c4x/c4x-modes.def: Likewise.
265         * config/c4x/c4x.c: Likewise.
266         * config/c4x/c4x.h: Likewise.
267         * config/c4x/c4x.md: Likewise.
268         * config/i386/i386-interix.h: Likewise.
269         * config/mips/mips.h: Likewise.
271 2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
273         * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate
274         __mc68020__ on TARGET_68020.
276 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
278         * config/h8300/h8300.c: Fix a comment typo.
280 2003-06-28  Nathan Sidwell  <nathan@codesourcery.com>
282         * c-parse.in (yylexstring): Use a location_t.
284         * diagnostic.h (diagnostic_set_info): Replace file and lineno
285         parameters with a location_t.
286         * diagnostic.c (diagnostic_set_info): Replace file and lineno
287         parameters with a location_t.
288         (inform, warning, pedwarn, error, sorry, fatal_error,
289         internal_error, warning_with_decl, pedwarn_with_decl,
290         error_with_decl): Adjust.
291         * c-error.c (pedwarn_c99): Adjust.
292         * c-format.c (status_warning): Adjust.
293         * rtl-error.c (file_and_line_for_asm): Rename to ...
294         (location_for_asm): Return a location_t.
295         (diagnostic_for_asm): Adjust.
297 2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
299         * cpptrad.c (skip_macro_block_comment): New.
300         (copy_comment): Use it if appropriate.
302 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
304         * gcse.c (compute_ld_motion_mems): Use INSN_P instead of its
305         definition.
306         (store_killed_in_insn): Likewise.
307         * print-rtl.c (print_rtx): Likewise.
308         * config/frv/frv.c (frv_final_prescan_insn): Likewise.
309         * config/m68hc11/m68hc11.c (dead_register_here): Likewise.
310         (m68hc11_reassign_regs): Likewise.
311         (m68hc11_reorg): Likewise.
313 2003-06-28  Gabriel Dos Reis <gdr@integrable-solutions.net>
315         * diagnostic.c (output_integer_with_precision): New macro.
316         (output_format): Use it.  Handle more format specifiers.
317         (output_long_decimal): Remove.
318         (output_unsigned_decimal): Likewise.
319         (output_long_unsigned_decimal): Likewise.
320         (output_octal): Likewise.
321         (output_long_octal): Likewise.
322         (output_hexadecimal): Likewise.
323         (output_long_hexadecimal): Likewise.
324         (output_long_long_decimal): Likewise.
326 2003-06-28  Andreas Schwab  <schwab@suse.de>
328         * config/ia64/ia64.md: Follow recent emit_note API change.
330 2003-06-28  Nathan Sidwell  <nathan@codesourcery.com>
332         * c-parse.in (%union): Replace filename & lineno with location.
333         (save_filename, save_lineno): Remove.
334         (save_location): New.
335         (fndef, old_style_parm_decls_1, lineno_datadecl, lineno_decl,
336         nested_function, notype_nested_function, if_prefix, lineno_stmt,
337         lineno_label, label): Adjust.
339 2003-06-28  Jakub Jelinek  <jakub@redhat.com>
341         * builtins.c (c_strlen): Add only_value argument.
342         Handle COND_EXPR and COMPOUND_EXPR.
343         (expand_builtin_strlen): Optimize also strlen (i++ ? "foo" : "bar").
344         Adjust c_strlen callers.
345         (expand_builtin_strcpy, expand_builtin_strncpy,
346         expand_builtin_strcmp, expand_builtin_strncmp,
347         expand_builtin_fputs, expand_builtin_sprintf,
348         fold_builtin): Adjust c_strlen callers.
350 2003-06-28  Josef Zlomek  <zlomekj@suse.cz>
352         * bb-reorder.c (find_traces_1_round): Do not send basic block
353         to next round when we are in the last round.
355 2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
357         * Makefile.in: Update.
358         * opts.c: Include tm_p.h.
359         (handle_options): Make static.
360         (decode_options): Copied from toplev.c.
361         * opts.h (decode_options): New.
362         * toplev.c (parse_options_and_default_flags): Move most to opts.c,
363         some to...
364         (general_init): ...here.
365         (toplev_main): Use decode_options instead.
366         * toplev.h (save_argc, save_argv): New.
368 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
370         * explow.c (find_next_ref): Remove.
371         * rtl.h: Remove the prototype for find_next_ref.
373 2003-06-27  Roger Sayle  <roger@eyesopen.com>
375         * config/alpha/alpha.md (anonymous define_split): Adjust emit_note
376         call to match recent API change.
378 2003-06-27  Zack Weinberg  <zack@codesourcery.com>
380         * dbxout.c (flag_debug_only_used_symbols): Delete redundant
381         declaration.
383         * c-format.c (check_format_string, get_constant)
384         * cfgrtl.c (rtl_split_edge):
385         Mark the definition static, matching the forward declaration.
387 2003-06-27  Gunther Nikl <gni@gecko.de>
389         * unwind-c.c (PERSONALITY_FUNCTION): Delete duplicate define.
391         PR target/11014
392         * config/m68k/m68k.c (m68k_output_mi_thunk): Use correct assembly
393         syntax for MIT / MOTOROLA.
395         PR other/10240
396         * configure.in: Removed $(XCFLAGS) from BUILD_CFLAGS for build != host.
397         * configure: Rebuilt.
399 2003-06-27  Chris Demetriou  <cgd@broadcom.com>
401         * config/mips/mips.c (mips_build_va_list): Make padding in
402         va_list structure explicit to avoid -Wpadded warnings.
404 2003-06-27  Ulrich Weigand  <uweigand@de.ibm.com>
406         * config/s390/s390.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define.
407         * config/s390/s390.c (s390_secondary_output_reload_class): New function.
408         * config/s390/s390-protos.h (s390_secondary_output_reload_class):
409         Declare it.
410         * config/s390/s390.md ("reload_outti", "reload_outdi",
411         "reload_outdf"): New expanders.
413         * config/s390/s390.md ("movti" + splitters): Handle non-offsettable
414         memory operands as source.
415         ("movdi" + splitters): Likewise.
416         ("movdf" + splitters): Likewise.
417         * config/s390/s390.c (s390_split_ok_p): New function.
418         * config/s390/s390-protos.h (s390_split_ok_p): Declare it.
420 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
422         * combine.c (force_to_mode): Replace the equality comparison
423         of INTVALs with a pointer equality comparison.
424         (simplify_comparison): Likewise.
426 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
428         * jump.c (rtx_renumbered_equal_p): Replace an expression that
429         is known to be 0 with 0.
431 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
433         * gcse.c (expr_equiv_p): Replace expressions that are known to
434         be 0 with 0.
436 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
438         * cse.c (fold_rtx): Replace the equality comparison of INTVALs
439         with a pointer equality comparison.
441 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
443         * rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN
444         are known to be not equivalent.
446 2003-06-27  Richard Henderson  <rth@redhat.com>
448         * config/alpha/alpha.c (function_arg): Don't pass small aggregates
449         in floating point registers.  Validate that we don't receive complex
450         values here.  Use #elif.
451         (return_in_memory, function_value): New.
452         (alpha_va_arg): Handle complex values as two arguments.
453         * config/alpha/alpha.h (RETURN_IN_MEMORY): Use return_in_memory.
454         (FUNCTION_VALUE, LIBCALL_VALUE): Use function_value.
455         (SPLIT_COMPLEX_ARGS): New.
456         * config/alpha/alpha-protos.h: Update.
458 2003-06-27  Ulrich Weigand  <uweigand@de.ibm.com>
460         * ggc-page.c (inverse_table): Change type of mult to size_t.
461         (compute_inverse): Compute inverse using size_t, not unsigned int.
462         Compute inverse also for sizes larger than half a machine page.
464 Fri Jun 27 18:36:12 CEST 2003  Jan Hubicka  <jh@suse.cz>
466         * toplev.c (rest_of_decl_compilation):  Only varpoolize argument
467         when called before cgraph_optimize.
469 2003-06-27  Zack Weinberg  <zack@codesourcery.com>
471         * config/darwin.h, config/elfos.h, config/i960/i960-coff.h
472         * config/m68k/coff.h: ASM_FILE_START_FILE_DIRECTIVE should
473         be TARGET_ASM_FILE_START_FILE_DIRECTIVE.
475 Fri Jun 27 17:41:16 CEST 2003  Jan Hubicka  <jh@suse.cz>
477         * cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing
478         of known_decls.
480 2003-06-27  Hans-Peter Nilsson  <hp@axis.com>
482         * defaults.h (REGISTER_MOVE_COST): Define default here.
483         * regclass.c: Don't define default REGISTER_MOVE_COST here.
484         * reload.c, reload1.c: Ditto.
486 2003-06-27  Richard Earnshaw <rearnsha@arm.com>
488         * flags.h: Really install previous change.
490 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
492         * rtl.h (emit_note): Remove FILE parameter.
493         * emit-rtl.c (emit_line_note): Adjust emit_note call.
494         (emit_note): Remove FILE parameter. Adjust.
495         * builtins.c (expand_builtin_expect): Adjust emit_note call.
496         * c-semantics.c (genrtl_scope_stmt): Likewise.
497         (expand_stmt): Likewise.
498         * cfglayout.c (reemit_insn_block_notes): Likewise.
499         (duplicate_insn_chain): Likewise.
500         * except.c (expand_eh_region_start, expand_eh_region_end,
501         sjlj_emit_function_enter): Likewise.
502         * explow.c (probe_stack_range): Likewise.
503         * expr.c (emit_block_move_via_loop): Likewise.
504         * function.c (init_function_start, expand_function_start,
505         expand_function_end, thread_prologue_and_epilogue_insns): Likewise.
506         * integrate.c (expand_inline_function, copy_insn_list): Likewise.
507         * reg-stack.c (compensate_edge): Likewise.
508         * reload1.c (reload): Likewise.
509         * rtlanal.c (hoist_insn_to_edge): Likewise.
510         * stmt.c (expand_fixup, expand_start_loop, expand_start_null_loop,
511         expand_loop_continue_here, expand_end_loop, expand_continue_loop,
512         expand_exit_loop_top_cond, expand_value_return,
513         expand_start_bindings_and_block, expand_end_bindings,
514         expand_decl_cleanup, expand_start_case): Likewise.
515         * unroll.c (copy_loop_body
516         * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Likewise.
517         * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
518         * config/rs6000/rs6000.c (rs6000_emit_eh_toc_restore,
519         rs6000_emit_allocate_stack, rs6000_output_function_prologue,
520         rs6000_output_function_epilogue, rs6000_output_mi_thunk): Likewise.
521         * config/sh/sh.c (sh_output_mi_thunk): Likewise.
522         * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
524 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
526         * c-tree.h (grokfield): Remove unused filename and line parameters.
527         * c-decl.c (grokfield): Remove unused filename and line parameters.
528         * c-parse.in (component_decl): Adjust field grokking rules, adjust
529         grokfield calls.
530         (component_declarator): Likewise.
531         (component_notype_declarator): Likewise.
532         * objc/objc-act.c (build_module_descriptor): Adjust grokfield
533         calls.
534         (build_protocol_template, build_method_prototype_list_template,
535         build_method_prototype_template, build_category_template,
536         build_selector_template, build_class_template,
537         build_super_template, build_ivar_template,
538         build_ivar_list_template, build_method_list_template,
539         build_method_template, add_instance_variable): Likewise.
541 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
543         * stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and
544         OP2 are known to be not equivalent.
546 2003-06-26  Devang Patel <dpatel@apple.com>
548         * final.c (debug_flush_symbol_queue): New function.
549         (debug_queue_symbol): New function.
550         (debug_free_queue): New function.
551         (debug_nesting): New variable.
552         (symbol_queue): New variable.
553         (symbol_queue_index): Same.
554         (symbol_queue_size): Same.
555         * debug.h (debug_flush_symbol_queue): New.
556         (debug_queue_symbol): New.
557         (debug_free_queue): New.
558         (debug_nesting): New.
559         (symbol_queue_index): New.
560         * dbxout.c (DBXOUT_DECR_NESTING): New macro.
561         (DBXOUT_DECR_NESTING_AND_RETURN): New macro.
562         (dbxout_init): Delay symbol output.
563         (dbxout_global_decl): Save, set and reset TREE_USED bit around
564         dbxout_symbol() call.
565         (dbxout_begin_function): Same.
566         (dbxout_finish): Free symbol queue.
567         (dbxout_type): Put appropriate symbols in queue.
568         (dbxout_symbol): Put info for symbol's type in queue.
569         Decrement/Increment nesting counts flush symbol queue appropriately.
570         (dbxout_parms): Increment dbxout nesting.
571         (dbxout_reg_parms): Same.
572         * flags.h (flag_debug_only_used_symbols): New.
573         * toplev.c (flag_debug_only_used_symbols): New variable.
574         (lang_independent_options): Add entries for new option
575         -feliminate-unused-debug-symbols.
576         * common.opt: Add entry for -feliminate-unused-debug-symbols.
577         * opts.c (common_handle_options): Same.
578         * config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as
579         -feliminate-unused-debug-symbols.
580         * doc/invoke.texi (Debugging Options): Document
581         -feliminate-unused-debug-symbols.
583 2003-06-26  Roger Sayle  <roger@eyesopen.com>
584             Jakub Jelinek  <jakub@redhat.com>
586         * builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to
587         obtain the format string instead of using TREE_STRING_POINTER and
588         TREE_STRING_LENGTH.  Only optimize sprintf(dst,"%s",src) when the
589         return value is unused or the length of src is a known constant.
591 2003-06-26  Richard Henderson  <rth@redhat.com>
593         * config/ia64/ia64.h (REGISTER_NAMES): R0 is really AP.
595 2003-06-26  Richard Henderson  <rth@redhat.com>
597         * config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls.
598         (ia64_split_call): Only load descriptor for GP register inputs.
599         (ia64_expand_epilogue): Check current_frame_info.mask not
600         current_function_is_leaf to restore ar.pfs.
602 2003-06-26  Richard Henderson  <rth@redhat.com>
604         * emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE
605         instead of replacing it.
607 2003-06-26  Richard Henderson  <rth@redhat.com>
609         * flow.c (propagate_one_insn): Kill function return value
610         registers across tail calls.
612         * flow.c (propagate_one_insn): Preserve live-at-end registers
613         across tail calls.
615 2003-06-26  J"orn Rennecke <joern.rennecke@superh.com>
617         * reload.c (can_reload_into): New function.
618         (push_reload): Use it.
620 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
622         * config/h8300/h8300.c (compute_a_rotate_length): Fix the
623         references to the amount of a rotation.
625 2003-06-26  Nathanael Nerode  <neroden@gcc.gnu.org>
627         * config/sh/coff.h: Don't include dbxcoff.h.
628         * config.gcc: List it here.
630 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
632         * postreload.c (reload_cse_simplify_set): Call cselib_lookup
633         earlier.  Don't check if SRC is a constant.
635 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
637         * Makefile.in (OBJS): Add postreload.o.
638         Remove cselib.h from the dependency list for reload1.o.
639         Add a dependency list for postreload.o.
640         * reload.h: Change the comment for the prototype of
641         reload_cse_regs.
642         * reload1.c: Don't include cselib.h.
643         (reload_cse_regs): Move to postreload.c
644         (reload_cse_regs_1): Likewise.
645         (reload_cse_noop_set_p): Likewise.
646         (reload_cse_simplify_set): Likewise.
647         (reload_cse_simplify_operands): Likewise.
648         (RELOAD_COMBINE_MAX_USES): Likewise.
649         (reload_combine_ruid): Likewise.
650         (LABEL_LIVE): Likewise.
651         (reload_combine): Likewise.
652         (reload_combine_note_use): Likewise.
653         (reload_combine_note_store): Likewise.
654         (reg_set_luid): Likewise.
655         (reg_offset): Likewise.
656         (reg_base_reg): Likewise.
657         (reg_mode): Likewise.
658         (move2add_luid): Likewise.
659         (move2add_last_label_luid): Likewise.
660         (MODES_OK_FOR_MOVE2ADD): Likewise.
661         (reload_cse_move2add): Likewise.
662         (move2add_note_store): Likewise.
663         (reload_cse_simplify): Likewise.
664         * postreload.c: New.
666 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
668         * config/avr/avr.c (final_prescan_insn): Remove support for
669         -mrtl.
670         * config/avr/avr.h (MASK_RTL_DUMP): Remove.
671         (TARGET_RTL_DUMP): Likewise.
672         (TARGET_SWITCHES): Remove -mrtl.
674 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
676         * config/h8300/h8300-protos.h: Change emit_a_rotate to
677         output_a_rotate.  Add a prototype for compute_a_rotate_length.
678         * config/h8300/h8300.c (emit_a_rotate): Change to
679         output_a_rotate.
680         (compute_a_rotate_length): New.
681         (h8300_adjust_insn_length): Remove.
682         * config/h8300/h8300.h (ADJUST_INSN_LENGTH): Remove.
683         * config/h8300/h8300.md (adjust_length): Remove.
684         (*rotlqi3_1): Use output_a_rotate and compute_a_rotate_length.
685         (*rotlhi3_1): Likewise.
686         (*rotlsi3_1): Likewise.
688 2003-06-26  Roger Sayle  <roger@eyesopen.com>
689             Richard Henderson  <rth@redhat.com>
691         * builtins.c (expand_builtin_mathfn): Always stabilize the argument
692         list against re-evaluation.  If expand_unop fails, call expand_call
693         with the stabilized argument list rather than return NULL_RTX.
694         (expand_builtin_mathfn2): Likewise, always stabilize the argument
695         list, and call expand_call ourselves if expand_binop fails.
697 2003-06-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
699         PR optimization/11210
700         * fold-const (decode_field_reference): Strip only NOPs that
701         don't affect the sign.
703 2003-06-26  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>
705         * gcc/config/sh/sh.md (push_fpscr): Enable for TARGET_SH2E.
706         (pop_fpscr, fpu_switch): Likewise.
708 2003-06-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
710         * value-prof.c: New.
711         * value-prof.h: New.
712         * Makefile.in (value-prof.o): New.
713         (LIBGCOV): Add _gcov_merge_single and _gcov_merge_delta
714         (profile.o): Add value-prof.h and tree.h dependency.
715         * flags.h (flag_profile_values): Declare.
716         * gcov-io.h (GCOV_COUNTERS, GCOV_COUNTER_NAMES, GCOV_MERGE_FUNCTIONS):
717         Add new counters.
718         (GCOV_COUNTER_V_INTERVAL, GCOV_COUNTER_V_POW2, GCOV_COUNTER_V_SINGLE,
719         GCOV_COUNTER_V_DELTA): New counter sections.
720         (__gcov_merge_single, __gcov_merge_delta): Declare.
721         * flow.c (mark_used_regs): Set subregs_of_mode only when the
722         structure is initialized.
723         * libgcov.c (__gcov_merge_single, __gcov_merge_delta): New functions.
724         * profile.c: Include value-prof.h and tree.h.
725         (gen_interval_profiler, gen_pow2_profiler, gen_one_value_profiler,
726         gen_const_delta_profiler, instrument_values): New static functions.
727         (get_exec_counts): Fix comment.
728         (branch_prob): Invoke instrument_values.
729         * toplev.c (flag_profile_values): New flag.
730         * doc/invoke.texi (-fprofile-values): Document.
732 2003-06-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
734         * Makefile.in (cfgrtl.o): Add expr.h dependency.
735         * cfgrtl.c: Include expr.h.
736         (mark_killed_regs, safe_insert_insn_on_edge): New
737         functions.
738         * config/i386/i386.h (AVOID_CCMODE_COPIES): Define.
739         * basic-block.h (safe_insert_insn_on_edge): Declare.
741 2003-06-26  Neil Booth  <neil@daikokuya.co.uk>
743         * c-opts.c (missing_arg): Make non-static.
744         (c_common_handle_option): Don't check for missing arguments.
745         * opts.c (handle_option): Check for missing arguments.
747 2003-06-26  David Edelsohn  <edelsohn@gnu.org>
749         * config/rs6000/power4.md (power4-veccomplex): Correct latency.
751 2003-06-25  Loren James Rittle  <ljrittle@acm.org>
753         * configure.in (ld_vers): Portability [sed].
754         * configure: Regenerate with autoconf213.
756 2003-06-25  H.J. Lu <hongjiu.lu@intel.com>
758         * doc/extend.texi: Document new builtin functions for Intel
759         Prescott New Intrunctions.
761         * doc/invoke.texi: Document new command-line options, -mpni and
762         -mno-pni, for Intel Prescott New Intrunctions.
764         * config.gcc (extra_headers): Add pmmintrin.h for i[34567]86-*-*.
766         * config/i386/i386.c (override_options): Turn on MASK_SSE2
767         for -mpni. Turn on MASK_SSE for -msse2.
768         (bdesc_2arg): Add PNI builtins with 2 args.
769         (bdesc_1arg): Add PNI builtins with 1 arg.
770         (ix86_init_mmx_sse_builtins): Handle PNI builtins.
771         (ix86_expand_builtin): Likewise.
773         * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A,
774         MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT,
775         MASK_TLS_DIRECT_SEG_REFS): Renumbered.
776         (TARGET_PNI): New.
777         (TARGET_SWITCHES): Don't enable MASK_SSE for -msse2 here. Add
778         -mpni and -mno-pni.
779         (TARGET_CPU_CPP_BUILTINS): Defined __PNI__ for PNI.
780         (ix86_builtins): Add PNI builtins.
781         (config/i386/i386.md): Add PNI patterns.
783         * config/i386/pmmintrin.h: New file.
785 2003-06-25  Kazu Hirata  <kazu@cs.umass.edu>
787         * config/h8300/h8300.md (call): Fix the insn lengths.
788         (call_value): Likewise.
790 Thu Jun 26 00:13:35 CEST 2003  Jan Hubicka  <jh@suse.cz>
792         * c-common.c (handle_used_attribute): Use mark_referenced.
793         * varasm.c (mark_referenced): Break out from ...
794         (assemble_name): ... here.
795         * tree.h (mark_referenced): Declare.
797 2003-06-25  Wolfgang Bangerth  <bangerth@dealii.org>
799         * gccbug.in: Add PCH to list of categories.
801 2003-06-25 Martin Schaffner <schaffner@gmx.li>
803         * cppfiles.c: Clarify comments.
804         * cpphash.h: Likewise.
805         * cpplib.h: Likewise.
806         * cppmacro.c: Likewise.
807         * mkdeps.h: Likewise.
809 2003-06-25  Neil Booth  <neil@daikokuya.co.uk>
811         * c-opts.c (complain_wrong_lang, write_langs): Remove.
812         (c_common_handle_option): Complaints about wrong language are
813         handled in opts.c now.
814         * opts.c (complain_wrong_lang, write_langs, handle_options): New.
815         (find_opt): Fix thinko.
816         (handle_option): Update prototype.  Complain about switches for
817         a different front end.
818         * opts.h (lang_names, handle_options): New.
819         (handle_option): Remove.
820         * opts.sh: Write out language names array.
821         * toplev.c (parse_options_and_default_flags): Use handle_options.
823 2003-06-25  H.J. Lu <hongjiu.lu@intel.com>
825         * config/i386/i386.c (MASK_SSE1): Removed.
826         (MASK_SSE164): Removed.
827         (MASK_SSE264): Removed.
828         (bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace
829         MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264
830         with MASK_SSE2 | MASK_64BIT.
831         (bdesc_1arg): Likewise.
832         (ix86_init_mmx_sse_builtins): Likewise.
834         * config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2.
835         (TARGET_SWITCHES): Enable both MASK_SSE and MASK_SSE2 for
836         -msse2.
838 2003-06-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
840         * hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros.
841         (HOST_WIDE_INT_PRINT_DEC_SPACE,
842         HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
843         HOST_WIDEST_INT_PRINT_DEC_SPACE,
844         HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete.
845         (HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C,
846         HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in
847         terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C.
849         * final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT.
850         * ra-debug.c (dump_static_insn_cost): Likewise.
852 2003-06-26  Nick Clifton  <nickc@redhat.com>
854         * config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead
855         of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
856         Replace occurances of '???' with 'XXX' incase they are
857         mistaken for trigraphs.
858         (THUMB_PRINT_OPERAND_ADDRESS): abort if a compound address
859         does not have a register for the first operand.
861 2003-06-25      Dhananjay Deshpande <dhananjayd@kpitcummins.com>
863         * config/sh/sh.c (sh_register_move_cost):
864         Add case for moving between MAC_REGS.
866 2003-06-25  Zack Weinberg  <zack@codesourcery.com>
868         PR 10178
869         * langhooks.h (struct lang_hooks): Add no_body_blocks bool.
870         * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): New; default false.
871         * c-lang.c, objc/objc-lang.c: Override LANG_HOOKS_NO_BODY_BLOCKS
872         to true.
873         * stmt.c (is_body_block): If lang_hooks.no_body_blocks, always
874         return 0.
876 2003-06-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
878         * Makefile.in (bt-load.o): Depend on $(TM_P_H).
879         * bt-load.c: Include "tm_p.h".
881 2003-06-25  Kazu Hirata  <kazu@cs.umass.edu>
883         * config/h8300/h8300.c (compute_mov_length): Adjust for the
884         new optimization.
885         * config/h8300/h8300.md (*movsi_h8300): Optimize the load of
886         an SImode constant whose upper and lower are the same.
888 Wed Jun 25 11:31:59 CEST 2003  Jan Hubicka  <jh@suse.cz>
890         * varasm.c (assemble_name): Mark needed variables even when
891         global info is ready.
893 2003-06-24  Jerry Quinn  <jlquinn@optonline.net>
895         PR other/11280
896         * gcc/doc/invoke.texi (Optimization Options): Remove -Os from
897         -freorder-functions description.
899 2003-06-25  Josef Zlomek  <zlomekj@suse.cz>
901         * dwarf2out.c (gen_field_die): Return if type of decl is error mark.
903 2003-06-25  Neil Booth  <neil@daikokuya.co.uk>
905         * opts.c (common_handle_option): Add missing break;s.
907 2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
909         * config/h8300/h8300-protos.h: Add a prototype for
910         compute_mov_length.
911         * config/h8300/h8300.c (compute_mov_length): New.
912         * config/h8300/h8300.md (*movqi_h8300): Use it.
913         (*movqi_h8300hs): Likewise.
914         (movstrictqi): Likewise.
915         (*movhi_h8300): Likewise.
916         (*movhi_h8300hs): Likewise.
917         (movstricthi): Likewise.
918         (*movsi_h8300): Likewise.
919         (*movsf_h8300): Likewise.
920         (*movsi_h8300hs): Likewise.
921         (*movsf_h8300hs): Likewise.
923 2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
925         * jump.c (next_nondeleted_insn): Remove.
926         * rtl.h: Remove the prototype for next_nondeleted_insn.
928 2003-06-24  Roger Sayle  <roger@eyesopen.com>
930         PR optimization/11311
931         * builtins.c (powi_cost): Fix typo.  The number of multiplications
932         required is the number to reduce the argument, result, plus the
933         cost of calculating the residual, val [not n, the original value].
935 2003-06-24  Roger Sayle  <roger@eyesopen.com>
937         * config/alpha/osf5.h (TARGET_C99_FUNCTIONS): Define.
939 2003-06-24  Richard Henderson  <rth@redhat.com>
940             (blame to: Loren James Rittle  <ljrittle@acm.org>)
942         * real.h (ieee_extended_intel_96_round_53_format): New.
943         * real.c (ieee_extended_intel_96_round_53_format): New.
944         * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it
945         for XFmode and TFmode.
947 2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
949         * config/h8300/h8300.md (4 anonymous patterns): Give internal
950         names.
951         (movsi_h8300): Change the name to *movsi_h8300.
952         (movsi_h8300hs): Change the name to *movsi_h8300hs.
953         (movsf_h8300): Change the name to *movsf_h8300.
954         (movsf_h8300hs): Change the name to *movsf_h8300hs.
956 2003-06-24  Jakub Jelinek  <jakub@redhat.com>
958         * builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in
959         src twice.
961 2003-06-24  J"orn Rennecke <joern.rennecke@superh.com>
963         Back out these patches:
964          2003-06-02  J"orn Rennecke <joern.rennecke@superh.com>
965           * sh.h (OLD_ARG_MODE): New macro.
966           (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
967           (FUNCTION_ARG_1): Break out of:
968           (FUNCTION_ARG).  Use OLD_ARG_MODE.
969          2003-06-06  J"orn Rennecke <joern.rennecke@superh.com>
970           * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
971           of the generated register.
973         * sh.h (FUNCTION_ARG_SCmode_WART): Define.
974         (FUNCTION_ARG): Unless FUNCTION_ARG_SCmode_WART is defined and
975         an even number of floating point regs are in use, use the same
976         sequence of argument passing registers for SCmode as would be
977         used for two SFmode values.
978         * sh.c (sh_va_arg): If FUNCTION_ARG_SCmode_WART is defined,
979         swap real / imaginary parts in incoming SCmode values passed
980         in registers.
982 2003-06-24  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
984         PR target/11260
985         * config/alpha/alpha.md (sqrtdf2): Fix operand substitution.
987 Tue Jun 24 18:49:33 CEST 2003  Jan Hubicka  <jh@suse.cz>
989         * Makefile.in (cgraph.o): Depend on output.h, not depend on
990         tree-inline.h
991         * cgraph.c: Do not include tree-inline.h; include output.h
992         (known_fns): Rename to ...
993         (known_decls): ... this one; update all uses.
994         (cgraph_varpool_hash): New static variable.
995         (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): New global
996         variables.
997         (cgraph_varpool_hash_node, eq_cgraph_varpool_node, cgraph_varpool_node,
998         cgraph_varpool_node_for_identifier, cgraph_varpool_mark_needed_node,
999         cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
1000         New functions.
1001         * cgraph.h (cgraph_varpool_node): New structure.
1002         (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): Declare.
1003         (cgraph_varpool_node, cgraph_varpool_node_for_identifier,
1004         cgraph_varpool_finalize_decl, cgraph_varpool_mark_needed_node,
1005         cgraph_varpool_asemble_pending_decls): Declare.
1006         * cgraphunit.c (record_call_1): Notice variable references.
1007         (cgraph_finalize_compilation_unit): Assemble pending variables.
1008         * toplev.c (wrapup_global_declarations): Use varpool.
1009         (compile_file): Assemble pending declarations.
1010         (rest_of_decl_compilation): Use varpool in unit-at-a-time mode.
1011         * varasm.c (assemble_name): Notice varpool references.
1013 Tue Jun 24 13:52:11 CEST 2003  Jan Hubicka  <jh@suse.cz>
1015         * langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro.
1016         * langhooks.h (lang_hooks_for_decls): Add prepare_assemble_variable.
1017         * varasm.c (assemble_variable): Call prepare_assemble_variable.
1019 2003-06-23  Roger Sayle  <roger@eyesopen.com>
1021         * builtins.c (expand_builtin): Use expand_builtin_pow to expand
1022         calls for pow, powf, powl and their __builtin_ variants.
1023         (expand_builtin_pow): If the second argument is a constant
1024         integer and compiling with -ffast-math, use expand_powi to
1025         generate RTL if powi_cost is less than POWI_MAX_MULTS.
1026         (powi_cost): New function to return the number of multiplications
1027         necessary to evaluate an Nth power, for integer constant N.
1028         (expand_powi): New function to expand the RTL for evaluating
1029         the Nth power of a floating point value, for integer constant N.
1031         * doc/tm.texi (POWI_MAX_MULTS): Document new target macro.
1033 Mon Jun 23 23:07:35 CEST 2003  Jan Hubicka  <jh@suse.cz>
1035         * cgraph.c (cgraph_nodes_queue): Declare.
1036         (eq_node): Take identifier as p2.
1037         (cgraph_node): Update htab_find_slot_with_hash call.
1038         (cgraph_node_for_identifier): New.
1039         (cgraph_mark_needed_node): Move here from cgraphunit.c.
1040         * cgraph.h (cgraph_nodes_queue): Declare.
1041         (cgraph_node_for_identifier): Declare.
1042         * cgraphunit.c (cgraph_finalize_function): Collect entry points here
1043         instead of in cgraph_finalize_compilation_unit; constructors and
1044         destructors are entry points.
1045         (cgraph_finalize_compilation_unit): Reorganize debug outout;
1046         examine nested functions after lowerng; call collect_functions hook.
1047         (cgraph_mark_local_functions): DECL_COMDAT functions are not local.
1048         (cgraph_finalize_compilation_unit): Do not collect entry points.
1049         * varasm.c: Include cgraph.h
1050         (assemble_name): Mark referenced identifier as needed.
1052         * cgraphunit.c (record_call_1): Use get_callee_fndecl.
1054 2003-06-23  Jakub Jelinek  <jakub@redhat.com>
1056         * config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0,
1057         just SYMBOL_REF.
1058         * config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31
1059         mode, as it requires pic register loaded.
1061         * varasm.c (resolve_unique_section): Remove prototype.  No longer
1062         static.
1063         * tree.h (resolve_unique_section): New prototype.
1065 2003-06-23  Andreas Schwab  <schwab@suse.de>
1067         PR debug/9905
1068         * dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by
1069         recursing through first argument.
1071 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
1073         * ChangeLog.1: Fix a typo.
1074         * cfgrtl.c: Fix comment typos.
1075         * dwarf2out.c: Likewise.
1076         * expmed.c: Likewise.
1077         * genrecog.c: Likewise.
1078         * jump.c: Likewise.
1079         * rtlanal.c: Likewise.
1080         * ssa-dce.c: Likewise.
1081         * toplev.c: Likewise.
1083 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
1085         * doc/extend.texi: Fix typos.
1086         * doc/md.texi: Likewise.
1087         * doc/tm.texi: Likewise.
1089 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
1091         * basic-block.h: Fix comment formatting.
1092         * bt-load.c: Likewise.
1093         * builtins.c: Likewise.
1094         * c-common.c: Likewise.
1095         * c-common.h: Likewise.
1096         * c-format.c: Likewise.
1097         * coverage.c: Likewise.
1098         * cpplib.h: Likewise.
1099         * cpppch.c: Likewise.
1100         * dbxout.c: Likewise.
1101         * diagnostic.c: Likewise.
1102         * dwarf2out.c: Likewise.
1103         * expr.c: Likewise.
1104         * fold-const.c: Likewise.
1105         * function.c: Likewise.
1106         * gcc.c: Likewise.
1107         * gcov-io.c: Likewise.
1108         * gcov-io.h: Likewise.
1109         * gcov.c: Likewise.
1110         * profile.c: Likewise.
1111         * real.h: Likewise.
1112         * sched-deps.c: Likewise.
1114 2003-06-23  Roger Sayle  <roger@eyesopen.com>
1115             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1117         * doc/contrib.texi (Contributors): Add a note on testing and
1118         remove duplicates from testers list.
1120 2003-06-23  Nick Clifton  <nickc@redhat.com>
1122         * read-rtl.c (read_braced_string): Check for EOF.  If
1123         encountered issue an error message.
1125 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
1127         * doc/invoke.texi: Document dump options, dT and dW.
1129 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
1131         * genrecog.c (pred_table): Remove the entry for
1132         mode_independent_operand.
1133         * recog.c (next_insns_test_no_inequality): Remove.
1134         (mode_independent_operand): Likewise.
1135         * recog.h: Remove the prototype for mode_independent_operand.
1137 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
1139         * config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
1140         store into bit 0.
1141         * config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the
1142         second alternative to set_znv.
1143         (*extzv_1_r_inv_h8300hs): Likewise.
1145 2003-06-23  Hans-Peter Nilsson  <hp@bitrange.com>
1147         * configure.in (in_tree_gas): Find out here whether GAS is ELF,
1148         set in_tree_gas_is_elf accordingly.
1149         (in_tree_ld): Find out whether LD emulation is ELF, set
1150         in_tree_ld_is_elf accordingly.
1151         (gcc_cv_as_subsections, gcc_cv_as_hidden, gcc_cv_as_leb128)
1152         (gcc_cv_as_eh_frame, gcc_cv_as_shf_merge)
1153         (gcc_cv_as_dwarf2_debug_line, gcc_cv_as_gdwarf2_flag)
1154         (gcc_cv_as_gstabs_flag): Use $in_tree_gas_is_elf instead of
1155         grepping gas/Makefile.
1156         (gcc_cv_ld_ro_rw_mix, gcc_cv_ld_eh_frame_hdr, gcc_cv_ld_pie): Use
1157         $in_tree_ld_is_elf instead of grepping ld/Makefile.
1158         * configure: Regenerate.
1160 2003-06-22  Roger Sayle  <roger@eyesopen.com>
1162         * builtins.c (expand_builtin_mathfn_2): Use tree_cons to build
1163         up the stabilized argument list, not build_tree_list.
1164         (expand_builtin_strcpy): Construct new argument list manually
1165         instead of using chainon to modify the original argument list.
1166         (expand_builtin_stpcpy): Construct new argument list manually
1167         instead of using copy_list and chainon.
1168         (expand_builtin_sprintf): New function.  Optimize calls to
1169         sprintf when the format is "%s" or doesn't contain a '%'.
1170         (expand_builtin): Expand BUILT_IN_SPRINTF using the new function
1171         expand_builtin_sprintf.
1173 2003-06-22  Andreas Schwab  <schwab@suse.de>
1175         * function.c (set_insn_locators): Mark as unused.
1177 2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
1179         * common.opt: Add -finline-limit.
1180         * opts.c (common_handle_options): Handle it.
1181         * opts.sh: Temporary kludge for -finline-limit.
1182         * toplev.c (decode_f_option, independent_decode_option): Die.
1183         (parse_options_and_default_flags): No independent_decode_option.
1185 2003-06-22  Andreas Jaeger  <aj@suse.de>
1187         * calls.c (emit_call_1): Readd lost ATTRIBUTE_UNUSED.
1189 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
1191         * doc/invoke.texi: Document dumps, .btl, .cfg, and .bypass.
1193 2003-06-22  Andreas Schwab  <schwab@suse.de>
1195         * doc/invoke.texi: Remove leading `-' from options in index.
1197 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
1199         * bt-load.c: Follow spelling conventions.
1201 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
1203         * expr.c (emit_move_insn_1): Fix a comment typo.
1205 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
1207         * doc/invoke.texi: Alphabetize dump options.
1209 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
1211         * doc/invoke.texi: Remove a duplicate -dk.
1213 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
1215         * doc/invoke.texi: Update dump file names.
1217 2003-06-22  Zack Weinberg  <zack@codesourcery.com>
1219         * config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII
1220         and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC.
1222 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
1224         * doc/rtl.texi: Fix the @findex for pre_modify.
1226 2003-06-22  Andreas Jaeger  <aj@suse.de>
1228         * caller-save.c: Convert to ISO C90.
1229         * calls.c: Likewise.
1230         * cfg.c: Likewise.
1231         * cfganal.c: Likewise.
1232         * cfgbuild.c: Likewise.
1233         * cfgcleanup.c: Likewise.
1234         * cfghooks.c: Likewise.
1235         * cfglayout.c: Likewise.
1236         * cfglayout.h: Likewise.
1237         * cfgloop.c: Likewise.
1238         * cfgloop.h: Likewise.
1239         * cfgloopanal.c: Likewise.
1240         * cfgloopmainip.c: Likewise.
1241         * cfgrtl.c: Likewise.
1243 2003-06-22  Richard Earnshaw  <rearnsha@arm.com>
1245         * arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting
1246         64-bit alignment.
1248 2003-06-22  Richard Earnshaw  <rearnsha@arm.com>
1250         * arm.md (all call_value patterns): Remove register constraints on
1251         value operand.
1253 2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
1255         * common.opt: More -f switches.
1256         * opts.c (common_handle_options): Handle them.
1257         * toplev.c (time_report): Make extern.
1258         (f_options): USe flag_dummy.
1259         (decode_f_option): No need to use f_options now.
1260         * toplev.h (flag_cprop_registers, flag_ssa, flag_ssa_ccp,
1261         flag_ssa_dce, time_report, flag_new_regalloc): Make extern.
1263 2003-06-22  Andreas Jaeger  <aj@suse.de>
1265         * c-lex.c: Convert to ISO C90.
1266         * c-objc-common.c: Likewise.
1267         * c-opts.c: Likewise.
1268         * c-pch.c: Likewise.
1269         * c-ppoutput.c: Likewise.
1270         * c-pragma.h: Likewise.
1271         * c-pretty-print.c: Likewise.
1272         * c-pretty-print.h: Likewise.
1273         * c-semantics.c: Likewise.
1274         * c-tree.h: Likewise.
1275         * c-typeck.c: Likewise.
1277         * c-lang.c: Convert to ISO C90.
1279 2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
1281         * opts.c (find_opt): Fix to always guarantee a find of a
1282         switch with joined parameter.
1283         * opts.h (struct cl_option): New member back_chain.
1284         * opts.sh: Update to calculate and add back_chain member.
1286 2003-06-22  Gabriel Dos Reis <gdr@integrable-solutions.net>
1288         * diagnostic.h (output_host_wide_integer): Declare.
1289         * diagnostic.c (output_long_long_decicaml): New function.
1290         (output_host_wide_integer): Likewise.
1291         (output_format): Use them.  Handle "%ll" and "%w".
1293 2003-06-21  Jason Thorpe  <thorpej@wasabisystems.com>
1295         * config.gcc (*-*-netbsd*): Add t-libgcc-pic to tmake_file.
1297 2003-06-21  Zack Weinberg  <zack@codesourcery.com>
1299         * aclocal.m4 (gcc_AC_C_CHARSET): Delete.
1300         * configure.in: Don't use gcc_AC_C_CHARSET.
1301         * configure, config.in: Regenerate.
1302         * config/i370/i370.c, config/i370/i370.h: Use
1303         (HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII)
1304         instead of HOST_EBCDIC or !HOST_EBCDIC.  Clarify comments a tad.
1306 2003-06-21  Neil Booth  <neil@daikokuya.co.uk>
1308         * Makefile.in: Update.
1309         * common.opt: New switches.
1310         * opts.c: Include diagnostic.h.
1311         (common_handle_option): Handle new switches.
1312         * toplev.c (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
1313         flag_if_conversion2, flag_delete_null_pointer_checks,
1314         flag_rerun_cse_after_loop): Make extern.
1315         (flag_dummy): New.
1316         (f_options): Update to use flag_dummy for moved options.
1317         (decode_f_option): Some switches moved to opts.c.
1318         * toplev.h (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
1319         flag_if_conversion2, flag_delete_null_pointer_checks,
1320         flag_rerun_cse_after_loop, flag_keep_static_consts, flag_peel_loops,
1321         flag_tracer, flag_thread_jumps, flag_unroll_loops,
1322         flag_unroll_all_loops, flag_unswitch_loops): New.
1324 Sat Jun 21 13:41:00 CEST 2003  Jan Hubicka  <jh@suse.cz>
1326         * i386.c (ix86_va_arg): Fix allocation of temporary slot.
1328 2003-06-20  Kazu Hirata  <kazu@cs.umass.edu>
1330         * config/h8300/h8300-protos.h: Add a prototype for
1331         same_cmp_preceding_p.
1332         * config/h8300/h8300.c (same_cmp_preceding): New.
1333         * config/h8300/h8300.md: Extend peephole2's that transform
1334         compare:SI into shorter sequences so that they can deal with
1335         signed comparisons.
1337 2003-06-21  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1339         * doc/contrib.texi (Contributors): Use Windows instead of Win32.
1341         Update Andreas Jaeger's entry.
1343         Merge the two entries of Kaveh Ghazi, David Edelsohn, and
1344         Loren J. Rittle.
1346 2003-06-21  Nathanael Nerode  <neroden@gcc.gnu.org>
1348         * mkconfig.sh: Add multiple inclusion guards to generated headers.
1350 2003-06-20  Neil Booth  <neil@daikokuya.co.uk>
1352         * c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.
1353         * common.opt: Add remaining -W options and -g.
1354         * diagnostic.c (warnings_are_errors): Remove.
1355         * flags.h: Make most warning flags boolean.
1356         * opts.c (common_handle_option): Handle remaining -W options, and -g.
1357         Move many warning flags from toplev.c, making them boolean.
1358         * toplev.c: Remove many warning flags.
1359         (decode_W_option): Remove.
1360         (decode_g_option): Make extern.  Error on unknown switch.
1361         (lang_independent_W_options): Use warn_dummy.
1362         (independent_decode_option): Just handle -f switches now.
1363         * toplev.h (decode_g_option): New.
1365 2003-06-20  Aldy Hernandez  <aldyh@redhat.com>
1367         PR/11092
1368         * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for
1369         vectors.
1371 2003-06-20  Kelley Cook  <kelleycook@wideopenwest.com>
1373         * opts.sh: Tweak awk script for portability.
1375 2003-06-20  Mark Mitchell  <mark@codesourcery.com>
1377         PR c++/10888
1378         * tree-inline.c (expand_call_inline): Do not warn about failing to
1379         inline functions declared in system headers.
1380         * doc/invoke.texi (-Winline): Expand on documentation.
1382 2003-06-20  Richard Henderson  <rth@redhat.com>
1384         * config/alpha/alpha.c (alpha_file_start): Disable
1385         file_start_file_directive for ELF and not MDEBUG.
1387 2003-06-20  J"orn Rennecke <joern.rennecke@superh.com>
1389         * sh.h (ROUND_TYPE_ALIGN): Remove.
1391 2003-06-20  Richard Henderson  <rth@redhat.com>
1393         * hooks.c (hook_int_void_no_regs): Rename from
1394         hook_reg_class_void_no_regs; change return type.
1395         * hooks.h: Update.
1396         * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Update.
1397         * target.h (branch_target_register_class): Change return type to int.
1398         Add documentation.
1399         * config/sh/sh.c (sh_target_reg_class): Change return type.
1400         * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise.
1402 2003-06-20  Andreas Tobler <toa@pop.agri.ch>
1404         * c-format.c: Change _Bool to bool reverting part of the last
1405         patch.
1407 2003-06-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1409         * som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to
1410         strip name encoding.
1412 2003-06-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1414         * configure.in (gcc_cv_as_gstabs_flag): Disable if assembler warns.
1415         * configure: Regenerate.
1416         Fixes PR driver/9362.
1418 2003-06-20  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1420         * config/alpha/alpha.c (alpha_file_start): Fix typo.
1422 2003-06-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1424         * config/mips/mips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg
1425         to ASM_OUTPUT_SOURCE_LINE.
1427 2003-06-20  Daniel Egger  <degger@fhm.edu>
1428             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1430         * doc/install.texi (Building): Correct and improve statement
1431         about parallel builds.
1433 2003-06-20  Andreas Jaeger  <aj@suse.de>
1435         * c-common.c: Change _Bool to bool reverting part of the last
1436         patch.
1438 2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
1440         * tree.h (expand_function_end): Remove all parameters.
1441         * function.c (expand_function_end): Remove all parameters.
1442         Use input_location. Never expand_end_bindings.
1443         * c-decl.c (c_expand_body_1): Adjust expand_function_end call.
1444         * coverage.c (create_coverage): Likewise.
1446 2003-06-20  Nick Clifton  <nickc@redhat.com>
1448         * doc/extend.texi (ARM Built-in Functions): New node.  Document
1449         ARM builtin functions for iWMMXt support.
1451 2003-06-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
1453         * doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and
1454         SPARC64/Solaris as platforms where --with-gnu-as makes a difference.
1455         (--with-as): Add @anchor.
1456         (--with-gnu-ld): Fix typo.
1457         (--with-ld): Add @uref to --with-as.
1459 2003-06-19  Zack Weinberg  <zack@codesourcery.com>
1461         * doc/tm.texi: Uniformly use @defmac for macros, rather than
1462         @table items.  Minor formatting and editorial corrections.
1464 2003-06-20  Neil Booth  <neil@daikokuya.co.uk>
1466         * line-map.c, line-map.h: Convert to ISO prototypes.
1468 2003-06-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1470         * gcse.c (store_killed_in_insn): Fix.
1472 2003-06-19  Zack Weinberg  <zack@codesourcery.com>
1474         * target.h (asm_out.file_start, file_start_app_off,
1475         file_start_file_directive): New hooks.
1476         * target-def.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE,
1477         TARGET_ASM_FILE_START_APP_OFF, TARGET_ASM_FILE_START):
1478         New hook-definition macros.
1479         * doc/tm.texi: Document new hooks; remove docs of ASM_FILE_START.
1480         * varasm.c (default_file_start): New.
1481         * output.h: Prototype it.
1482         * toplev.c (init_asm_output): Use targetm.asm_out.file_start.
1483         * system.h: Poison ASM_FILE_START.
1485         * config/alpha/alpha.c (alpha_write_verstamp): Delete.
1486         (alpha_file_start): New, define if !TARGET_ABI_UNICOSMK.
1487         (unicosmk_asm_file_start): Rename unicosmk_file_start,
1488         make static, take no arguments.
1489         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_END,
1490         TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set as appropriate.
1491         * config/alpha/unicosmk.h: Don't define ASM_FILE_START nor
1492         TARGET_ASM_FILE_END.  Remove reference to ASM_FILE_START in
1493         comment.
1494         * config/arc/arc.c (arc_asm_file_start): Rename
1495         arc_file_start, take no arguments, make static.
1496         (TARGET_ASM_FILE_START): Set it.
1497         * config/arm/arm.c (aof_file_start): New static function.
1498         (TARGET_ASM_FILE_START): Set it, when appropriate.
1499         * config/arm/coff.h, config/arm/elf.h:
1500         Set TARGET_ASM_FILE_START_APP_OFF to true.
1501         * config/avr/avr.c (asm_file_start): Rename avr_file_start,
1502         take no arguments, make static.
1503         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
1504         Set them.
1505         * config/c4x/c4x.c (c4x_file_start): New static function.
1506         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
1507         Set them.
1508         * config/cris/cris.c (cris_file_start): New static function.
1509         (TARGET_ASM_FILE_START): Set it.
1510         * config/dsp16xx/dsp16xx.c (coff_dsp16xx_file_start): Rename
1511         dsp16xx_file_start, make static.
1512         (luxworks_dsp16xx_file_start): Delete.
1513         (TARGET_ASM_FILE_START): Set it.
1514         * config/h8300/h8300.c (asm_file_start): Rename
1515         h8300_file_start, make static, take no arguments.
1516         (TARGET_ASM_FILE_START): Set it.
1517         * config/i370/i370.c (i370_file_start): New static function.
1518         (TARGET_ASM_FILE_START): Set it.
1519         * config/i386/i386.c (x86_file_start): New static function.
1520         (TARGET_ASM_FILE_START): Set it.
1521         * config/i386/i386.h (X86_FILE_START_VERSION_DIRECTIVE,
1522         X86_FILE_START_FLTUSED): New macros, default to false.
1523         * config/i386/i386-interix.h: Override X86_FILE_START_FLTUSED to 1.
1524         * config/i386/sysv4.h, config/i386/sco5.h: Override
1525         X86_FILE_START_VERSION_DIRECTIVE to true.
1526         * config/ia64/ia64.c (ia64_file_start): New static function.
1527         (TARGET_ASM_FILE_START): Set it.
1528         (emit_safe_across_calls): Take no arguments.
1529         * config/ia64/ia64.md: Update to match.
1530         * config/m32r/m32r.c (m32r_asm_file_start): Rename
1531         m32r_file_start, make static, take no arguments.
1532         (TARGET_ASM_FILE_START): Set it.
1533         * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Rename
1534         m68hc11_file_start, make static, take no arguments.
1535         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
1536         (print_options): Delete.
1537         * config/m68k/m68k.c (m68k_hp320_file_start): New static function.
1538         (TARGET_ASM_FILE_START_APP_OFF): Set.
1539         * config/m68k/hp320.h: Set TARGET_ASM_FILE_START to
1540         m68k_hp320_file_start.
1541         * config/mips/mips.c (iris6_asm_file_start, mips_asm_file_start):
1542         Make static, take no arguments.
1543         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
1544         * config/mmix/mmix.c (mmix_asm_file_start): Rename
1545         mmix_file_start, make static, take no arguments.
1546         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
1547         * config/mn10300/mn10300.c (asm_file_start): Rename
1548         mn10300_file_start, make static, take no arguments.
1549         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
1550         * config/ns32k/ns32k.c (TARGET_ASM_FILE_START_APP_OFF): Set.
1551         * config/pa/pa.c (pa_file_start_level, pa_file_start_space,
1552         pa_file_start_file, pa_file_start_mcount, pa_elf_file_start,
1553         pa_som_file_start, pa_linux_file_start, pa_hpux64_gas_file_start,
1554         pa_hpux64_hpas_file_start): New static functions.
1555         * config/pa/elf.h: Set TARGET_ASM_FILE_START to pa_elf_file_start.
1556         * config/pa/pa-linux.h: Set TARGET_ASM_FILE_START to
1557         pa_linux_file_start.
1558         * config/pa/pa64-hpux.h: Set TARGET_ASM_FILE_START to
1559         pa_hpux64_gas_file_start or pa_hpux64_hpas_file_start, as
1560         appropriate.
1561         * config/pa/som.h: Set TARGET_ASM_FILE_START to pa_som_file_start.
1562         * config/rs6000/rs6000.c: Include xcoffout.h when TARGET_XCOFF.
1563         (rs6000_file_start): Make static, take no arguments.  Reset
1564         default_cpu under certain conditions.
1565         (rs6000_xcoff_file_start): New function.
1566         * config/rs6000/rs6000.h (TARGET_ASM_FILE_START): Set.
1567         * config/rs6000/xcoff.h (TARGET_ASM_FILE_START,
1568         TARGET_ASM_FILE_START_FILE_DIRECTIVE): Override.
1569         * config/sh/sh.c (output_file_start): Rename
1570         sh_file_start, make static, take no arguments.  Merge in old
1571         code from sh/elf.h's ASM_FILE_START, conditioned on TARGET_ELF.
1572         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
1573         * config/sh/sh.c (TARGET_ELF): Define to 0.
1574         * config/sh/elf.h (TARGET_ELF): Redefine to 1.
1575         * config/v850/v850.c (asm_file_start): Delete.
1576         (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
1577         * config/vax/vax.c (vax_file_start): New static function.
1578         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_APP_OFF): Set.
1580         * config/darwin.h: Override ASM_FILE_START_FILE_DIRECTIVE to false.
1581         * config/elfos.h, config/svr3.h, config/arm/elf.h, config/arm/pe.h
1582         * config/i386/att.h, config/i386/gas.h, config/i386/linux.h
1583         * config/i386/sysv4.h, config/i386/sco5.h, config/i960/i960-coff.h
1584         * config/m68k/coff.h, config/m68k/hp320.h, config/mcore/mcore-pe.h
1585         * config/vax/vaxv.h: Set ASM_FILE_START_FILE_DIRECTIVE to true.
1587         * config/darwin.h, config/elfos.h, config/alpha/elf.h
1588         * config/alpha/openbsd.h, config/alpha/osf.h, config/alpha/vms.h
1589         * config/arc/arc.h, config/arm/aof.h, config/arm/aout.h
1590         * config/arm/coff.h, config/arm/elf.h, config/arm/pe.h
1591         * config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h
1592         * config/dsp16xx/dsp16xx.h, config/h8300/elf.h, config/h8300/h8300.h
1593         * config/i370/i370.h, config/i386/att.h, config/i386/gas.h
1594         * config/i386/i386-interix.h, config/i386/linux.h, config/i386/sysv4.h
1595         * config/i386/sco5.h, config/i960/i960-coff.h, config/i960/i960.h
1596         * config/ia64/ia64.h, config/ia64/sysv4.h, config/m32r/m32r.h
1597         * config/m68hc11/m68hc11.h, config/m68k/coff.h, config/m68k/m68k.h
1598         * config/mcore/mcore-pe.h, config/mips/iris6.h, config/mips/mips.h
1599         * config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h
1600         * config/pa/elf.h, config/pa/pa-linux.h, config/pa/pa64-hpux.h
1601         * config/pa/som.h, config/pdp11/pdp11.h, config/rs6000/linux64.h
1602         * config/rs6000/lynx.h, config/rs6000/xcoff.h, config/sh/elf.h
1603         * config/sh/sh.h, config/sparc/sparc.h, config/v850/v850.h
1604         * config/vax/vax.h, config/vax/vaxv.h: Don't (re)define ASM_FILE_START.
1606         * config/alpha/alpha-protos.h, config/arc/arc-protos.h
1607         * config/avr/avr-protos.h, config/dsp16xx/dsp16xx-protos.h
1608         * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
1609         * config/m32r/m32r-protos.h, config/m68hc11/m68hc11-protos.h
1610         * config/mips/mips-protos.h, config/mmix/mmix-protos.h
1611         * config/mn10300/mn10300-protos.h, config/rs6000/rs6000-protos.h
1612         * config/sh/sh-protos.h, config/v850/v850-protos.h: Update.
1614         * xcoffout.h, config/rs6000/aix.h, config/rs6000/xcoff.h:
1615         Remove reference to ASM_FILE_START in comment.
1616         * config/arm/aof.h, config/arm/aout.h, config/arm/freebsd.h
1617         * config/arm/linux-gas.h, config/arm/netbsd-elf.h
1618         * config/arm/netbsd.h: Delete definition of ARM_OS_NAME.
1620 2003-06-19  Graeme Peterson <gp@qnx.com>
1622         * gcc.c (target_sysroot_suffix, target_sysroot_hdrs_suffix,
1623         SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC, sysroot_suffix_spec,
1624         sysroot_hdrs_suffix_spec): New.
1625         (static_specs): Initialize new variables.
1626         (add_sysroot_suffix_prefix, do_spec_1, main): Use new variables.
1627         * doc/tm.texi (SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC):
1628         New macros.
1630 2003-06-19  Andreas Jaeger  <aj@suse.de>
1632         * c-aux-info.c: Convert to ISO C90.
1633         * c-pragma.c: Likewise.
1634         * c-common.c: Likewise.
1635         * c-common.h: Likewise.
1636         * c-convert.c: Likewise.
1637         * c-cppbuiltin.c: Likewise.
1638         * c-dump.c: Likewise.
1639         * c-decl.c: Likewise
1640         * c-format.c: Likewise.
1641         * c-incpath.c: Likewise.
1642         * c-incpath.h: Likewise.
1644 2003-06-19  Roger Sayle  <roger@eyesopen.com>
1646         * builtins.c (expand_errno_check): Assume that flag_errno_math
1647         and HONOR_NANS have been tested before calling here.  Only try
1648         to set errno ourselves if the decl can't throw an exception.
1649         (expand_builtin_mathfn): Move the code to stabilize the arg
1650         after the main switch, so that that its only done when needed.
1651         BUILT_IN_SQRT{,F,L} doesn't set errno if its arg is nonnegative.
1652         Don't modify the original expr when stabilizing the argument.
1653         (expand_builtin_mathfn_2): Likewise, move the code to stabilize
1654         the args after the main switch, and don't modify the orginal exp.
1656 2003-06-19  Aldy Hernandez  <aldyh@redhat.com>
1658         * expr.c (const_vector_from_tree): Initialize remaining elements
1659         to 0.
1661 2003-06-19  Aldy Hernandez  <aldyh@redhat.com>
1663         * config/rs6000/spe.md ("spe_evfscfsi"): Change operand types.
1664         Change "fix" to "float".
1666 2003-06-19  Andreas Jaeger  <aj@suse.de>
1668         * c-tree.h: Remove declaration of poplevel.
1670         * tree.h: Remove declaration of approx_sqrt.
1672         * c-lex.c: Remove redundant declaration of asm_out_file.
1674         * flags.h: Remove declaration of warn_unknown_pragma and
1675         main_input_filename.
1677         * rtl.h: Remove functions from fold-const.c since they're already
1678         declared in tree.h.
1680         * regs.h: Remove redundant declaration of reg_names.
1682         * bt-load.c (migrate_btr_defs): Correct printf arguments.
1684         * protoize.c: Fix breakage from last patch.
1686 2003-06-19  J"orn Rennecke <joern.rennecke@superh.com>
1688         * hooks.h (hook_reg_class_void_no_regs): Only declare if tm.h
1689         has been included.
1691 2003-06-18  James A Morrison <ja2morri@student.math.uwaterloo.ca>
1693         * config/sparc/sparc.c: Update copyright year.
1695 2003-06-19  David Edelsohn  <edelsohn@gnu.org>
1697         * config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL
1698         to ABI_V4.
1700 2003-06-18  Joseph S. Myers  <jsm@polyomino.org.uk>
1702         PR bootstrap/4068
1703         * config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0.
1705 2003-06-19  Kazu Hirata  <kazu@cs.umass.edu>
1707         * config/h8300/h8300.c (TARGET_INITIALIZER and friends): Move
1708         to the end of the file.  Remove unnecessary prototypes.
1710 2003-06-19  Hans-Peter Nilsson  <hp@axis.com>
1712         * bt-load.c (migrate_btr_def) [INSN_SCHEDULING]: Conditionalize
1713         calls to insn_default_latency and result_ready_cost.  Initialize
1714         def_latency to 1.
1716 2003-06-18  Richard Henderson  <rth@redhat.com>
1718         * config/ia64/unwind-ia64.c (_Unwind_GetCFA): New.
1719         (_Unwind_FindEnclosingFunction): Implement.
1721 2003-06-18  Kazu Hirata  <kazu@cs.umass.edu>
1723         * toplev.c (rest_of_handle_sched): Hide the entire function if
1724         INSN_SCHEDULING is not defined.
1725         (rest_of_compilation): Call rest_of_handle_sched() only when
1726         INSN_SCHEDULING is defined.
1728 2003-06-18  Stephen Clarke <stephen.clarke@superh.com>
1729             J"orn Rennecke <joern.rennecke@superh.com>
1731         * bt-load.c: New file.
1732         * Makefile.in (OBJS): Include bt-load.o
1733         (bt-load.o): Add dependencies.
1734         * flags.h (flag_branch_target_load_optimize): Declare.
1735         (flag_branch_target_load_optimize2): Likewise.
1736         * hooks.c (hook_reg_class_void_no_regs): New function.
1737         (hook_bool_bool_false): Likewise.
1738         * hooks.h (hook_reg_class_void_no_regs, hook_bool_bool_false): Declare.
1739         * rtl.h (branch_target_load_optimize): Declare.
1740         * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Define.
1741         (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
1742         (TARGET_INITIALIZER): Include these.
1743         * target.h (struct gcc_target): Add branch_target_register_class
1744         and branch_target_register_callee_saved members.
1745         * toplev.c (enum dump_file_index): Add DFI_branch_target_load
1746         (dump_file) Add "tars" entry.
1747         (flag_branch_target_load_optimize): New variable.
1748         (flag_branch_target_load_optimize2): Likewise.
1749         (lang_independent_options): Add entries for new options.
1750         (rest_of_compilation): Call branch_target_load_optimize.
1751         * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Document.
1752         (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
1753         * doc/invoke.texi: Document -fbranch-target-load-optimize and
1754         -fbranch-target-load-optimize2.
1755         * rtl.h (epilogue_completed): Declare.
1756         * recog.c (epilogue_completed): New variable.
1757         * toplev.c (rest_of_compilation): Set it.
1758         * flow.c (mark_regs_live_at_end): Use it.
1759         * config/ia64/ia64.c (ia64_output_mi_thunk): Set it.
1760         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
1761         * config/sh/sh.c (sh_output_mi_thunk): Likewise.
1762         * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
1764         * sh.c (shmedia_space_reserved_for_target_registers): New variable.
1765         (sh_target_reg_class): New function.
1766         (sh_optimize_target_register_callee_saved): Likwise.
1767         (shmedia_target_regs_stack_space): Likewise.
1768         (shmedia_reserve_space_for_target_registers_p): Likewise.
1769         (shmedia_target_regs_stack_adjust): Likewise.
1770         (TARGET_BRANCH_TARGET_REGISTER_CLASS): Override.
1771         (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
1772         (calc_live_regs): If flag_branch_target_load_optimize2 and
1773         TARGET_SAVE_ALL_TARGET_REGS is enabled, and we have space reserved
1774         for target registers, make sure that we save all target registers.
1775         (sh_expand_prologue, sh_expand_epilogue): Take target register
1776         optimizations into account.  Collapse stack adjustments if that
1777         is beneficial.
1778         (initial_elimination_offset): Reserve space for target registers
1779         if necessary.
1780         * sh.h (SAVE_ALL_TR_BIT, TARGET_SAVE_ALL_TARGET_REGS): Define.
1781         (OPTIMIZATION_OPTIONS): Enable flag_branch_target_load_optimize.
1783 2003-06-18  Nick Clifton  <nickc@redhat.com>
1785         * config.gcc: Add an extra_header for ARM targets.
1786         Support configuring with --with-cpu=iwmmxt.
1787         * doc/invoke.texi: Document new value for -mcpu= ARM switch.
1788         * config/arm/aof.h (REGISTER_NAMES): Add iwmmxt register
1789         names.  Fix formatting.
1790         * config/arm/aout.h (REGISTER_NAMES): Add iwmmxt register
1791         names.
1792         * config/arm/arm-protos.h (arm_emit_vector_const): New
1793         prototype.
1794         (arm_output_load_gr): New prototype.
1795         * config/arm/arm.c (extra_reg_names1): Delete.
1796         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN, FL_IWMMXT,
1797         * arch_is_iwmmxt): Define.
1798         (all_cores, all_architecture): Add entry for iwmmxt.
1799         (arm_override_options): Add support for iwmmxt.
1800         (use_return_insn, arm_function_arg, arm_legitimate_index_p,
1801         arm_print_value, arm_rtx_costs_1, output_move_double,
1802         arm_compute_save_reg_mask, arm_output_epilogue,
1803         arm_get_frame_size, arm_expand_prologue, arm_print_operand,
1804         arm_assemble_integer, arm_hard_regno_ok, arm_regno_class):
1805         Likewise.
1806         (arm_init_cumulative_args): Count iwmmxt registers.
1807         (arm_function_ok_for_sibcall): Return false of sibcall_blocked
1808         has been set.
1809         (struct minipool_node): Add fix_size field.
1810         (add_minipool_forward_ref): Add support for 8-byte aligning of
1811         the pool.
1812         (add_minipool_backward_ref, add_minipool_offsets,
1813         dump_minipool, push_minipool_fix): Likewise.
1814         (struct builtin_description): New struct.
1815         (builtin_description): New array of iwmmxt builtin functions.
1816         (arm_init_iwmmxt_builtins): New function.
1817         (arm_init_builtins): New function.
1818         (safe_vector_operand): New function.
1819         (arm_expand_binop_builtin): New function.
1820         (arm_expand_unop_builtin): New function.
1821         (arm_expand_builtin): New function.
1822         (arm_emit_vector_const): New function.
1823         (arm_output_load_gr): New function.
1824         * config/arm/arm.h (TARGET_CPU_iwmmxt, TARGET_IWMMXT,
1825         TARGET_REALLY_IWMMXT, arm_arch_iwmmxt, IWMMXT_ALIGNMENT,
1826         TYPE_NEEDS_IWMMXT_ALIGNMENT, ADJUST_FIELD_ALIGN,
1827         DATA_ALIGNMENT, LOCAL_ALIGNMENT, VECTOR_MODE_SUPPORTED_P): Define.
1828         (BIGGEST_ALIGNMENT): Set to 64 if ATPCS support is enabled.
1829         (CPP_CPU_ARCH_SPEC): Add entries for iwmmxt.
1830         (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER,
1831         reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
1832         REG_CLASS_FOR_LETTER): Add iwmmxt registers.
1833         (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Disable iwmmxt
1834         registers unless the iwmmxt target is selected.
1835         (FIRST_IWMMXT_GR_REGNUM, LAST_IWMMXT_GR_REGNUM,
1836         FIRST_IWMMXT_REGNUM, LAST_IWMMXT_REGNUM, IS_IWMMXT_REGNUM,
1837         IS_IWMMXT_GR_REGNUM): Define.
1838         (FIRST_PSEUDO_REGISTER): Bump to 63.
1839         (struct machine_function): Add sibcall_blocked field.
1840         (Struct CUMULATIVE_ARGS): Add iwmmxt_nregs, named_count and
1841         nargs fields.
1842         (enum arm_builtins): New enum list.
1843         * config/arm/arm.md (UNSPEC_WSHUFH, UNSPEC_WACC,
1844         UNSPEC_TMOVMSK, UNSPEC_WSAD, UNSPEC_WSADZ, UNSPEC_WMACS,
1845         UNSPEC_WMACU, UNSPEC_WMACSZ, UNSPEC_WMACUZ, UNSPEC_CLRDI,
1846         UNSPEC_WMADDS, UNSPEC_WMADDU): New unspecs.
1847         (VUNSPEC_TMRC, VUNSPEC_TMCR, VUNSPEC_ALIGN8, VUNSPEC_WCMP_EQ,
1848         VUNSPEC_WCMP_GTU, VUNSPEC_WCMP_GT): New vunspecs.
1849         (movv2si, movv4hi, movv8qi): New expands for vector moves.
1850         Include iwmmxt.md.
1851         * config/arm/t-xscale-elf (MULTILIB_OPITONS): Add iwmmxt
1852         multilib.
1853         (MULTILIB_DIRNAMES, MULTILIB_REDUNDANT_DIRS): Likewise.
1854         * config/arm/mmintrin.h: New ARM specific header file.
1855         * config/arm/iwmmx.md: New iWMMXt specific machine patterns.
1857 2003-06-18  J"orn Rennecke <joern.rennecke@superh.com>
1859         * toplev.c (Remaining -d letters summary): Update.
1861 2003-06-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1863         * config/rs6000/rs6000.c (init_cumulative_args): Add and handle LIBCALL
1864         argument.
1865         (function_arg): Handle CALL_LIBCALL flag.
1866         * config/rs6000/rs6000-protos.h (init_cumulative_args): Update
1867         prototype.
1868         * config/rs6000/rs6000.h (CALL_LIBCALL): New macro.
1869         (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
1870         (INIT_CUMULATIVE_ARGS): Add LIBCALL argument.
1871         (INIT_CUMULATIVE_INCOMING_ARGS): Likewise.
1873 2003-06-18  Neil Booth  <neil@daikokuya.co.uk>
1875         * Makefile.in: Update.
1876         * common.opt: New options.
1877         * opts.c (maybe_warn_unused_parameter, set_Wextra, handle_param,
1878         set_Wunused): New.
1879         (common_handle_option): Handle new options.
1880         * toplev.c (set_target_switch): Export.
1881         (set_Wextra, set_Wunused, maybe_warn_unused_parameter): Move to opts.c.
1882         (decode_W_option): -Wunused and -Wextra handled in opts.c now.
1883         (independent_decode_option): More options handled in opts.c now.
1884         Change prototype.
1885         * toplev.h (set_target_switch): New.
1887 2003-06-17  Robert Abeles  <rabeles@archaelogic.com>
1889         PR debug/4252
1890         * c-opts.c (c_common_handle_option): Pass -fdump argument suffix
1891         to dump_switch_p().
1892         * tree-dump.c (dump_switch_p): Remove redundant 'dump-' prefix
1893         from static strings in dump_files.
1895 2003-06-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1897         * system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS,
1898         VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these
1899         libiberty macros.
1901 2003-06-17  Jason Merrill  <jason@redhat.com>
1903         PR c++/10929
1904         * tree-inline.c (expand_call_inline): Don't warn about failing to
1905         inline a function which was made inline by -finline-functions.
1907 2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
1909         * config/h8300/h8300-protos.h: Update to ISO C.
1910         * config/h8300/h8300.c: Likewise.
1911         * config/h8300/h8300.h: Likewise.
1912         * config/h8300/h8300.md: Likewise.
1914 2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
1916         * configure.in: Replace BUILD_CC references with CC_FOR_BUILD.
1917         * configure: Regenerate.
1918         * Makefile.in: Replace BUILD_CC references with CC_FOR_BUILD.
1920 2003-06-17  Ranjit Mathew  <rmathew@hotmail.com>
1922         * install.texi (Testing): Add information on how to run Java
1923         runtime tests separately.
1925 2003-06-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1927         * config/mips/mips.md (trap): Use break 0 when !TARGET_GAS.
1929         * config/mips/iris6-o32.h (MIPS_ISA_DEFAULT): Remove.
1930         (MIPS_CPU_STRING_DEFAULT): Redefine to mips2.
1932 2003-06-17  Christopher Faylor  <cgf@redhat.com>
1934         * doc/install.texi: Add msvc rebuild caveat.
1936 2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
1938         * config/sh/coff.h: Replace Hitachi with Renesas.
1939         * config/sh/elf.h: Likewise.
1940         * config/sh/embed-elf.h: Likewise.
1941         * config/sh/lib1funcs.asm: Likewise.
1942         * config/sh/sh-protos.h: Likewise.
1943         * config/sh/sh.c: Likewise.
1944         * config/sh/sh.h: Likewise.
1945         * config/sh/sh.md: Likewise.
1947 2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
1949         * ChangeLog.3: Fix comment typos.
1950         * ChangeLog.6: Likewise.
1951         * config/d30v/d30v.c: Likewise.
1952         * config/h8300/h8300.md: Likewise.
1953         * config/m32r/m32r.md: Likewise.
1954         * config/mips/mips.c: Likewise.
1955         * config/mips/mips.md: Likewise.
1956         * config/ns32k/NOTES: Likewise.
1958 2003-06-17  Ranjit Mathew  <rmathew@hotmail.com>
1959             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1961         * doc/sourcebuild.texi (libgcj Tests): Simplify instructions on how
1962         to run Java runtime tests separately.
1964 2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
1966         * config/h8300/h8300-protos.h: Update a comment.
1968 2003-06-17  J"orn Rennecke <joern.rennecke@superh.com>
1970         * sh.h (ROUND_TYPE_ALIGN, LOCAL_ALIGNMENT): Complex modes
1971         are aligned like integral modes.
1972         (SH5_WOULD_BE_PARTIAL_NREGS): Also test for CDImode and DCmode.
1974         * sh.h (EXTRA_CONSTRAINT_Csy): Allow PIC_DIRECT_ADDR_P.
1975         (LEGITIMATE_PIC_OPERAND_P): Allow LABEL_REF.
1976         * sh.md (*pt): Remove.
1978         * sh.h (REG_ALLOC_ORDER): Avoid squandering call-saved registers.
1980         * sh.md (return_media_rte): New pattern.
1981         (return_media): Use it.
1983 2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
1985         * doc/contrib.texi: Replace Hitachi with Renesas.
1986         * doc/install.texi: Likewise.
1987         * doc/invoke.texi: Likewise.
1989 2003-06-17  J"orn Rennecke <joern.rennecke@superh.com>
1991         * sh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64
1992         behaviour.
1994 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1996         * doc/tm.texi (MD_FALLBACK_FRAME_STATE_FOR): Mention MAKE_THROW_FRAME.
1998         * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert
1999         2003-01-23 patch. Corrected to handle kernels with changed ucontext.
2001         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Error on invalid
2002         -msdata=eabi usages.
2004         * gcc/config/rs6000/sysv4.h (USE_LIBC_1): Delete all uses.
2006 2003-06-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2008         * alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
2009         * fixinc/gnu-regex.c: Don't define `volatile'.
2010         * ggc-page.c: Don't check HAVE_LONG_DOUBLE.
2011         * ggc-simple.c: Likewise.
2012         * system.h: Don't define `volatile'.
2014         * aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete.
2015         * configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't
2016         call these macros.
2017         * config.in, configure: Regenerated.
2019 2003-06-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2021         * config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP):
2022         Handle POINTERS_EXTEND_UNSIGNED.
2024 2003-06-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2026         * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
2027         !TARGET_IRIX6]: Define as NULL.
2029 2003-06-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
2031         * config/sparc/sparc.c (sparc_va_arg): Don't align 16-byte+ structures.
2033 2003-06-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
2035         * dbxout.c (dbxout_source_line_counter): New global variable.
2036         Mark it with GTY(()).
2037         (dbxout_source_line): Increment dbxout_source_line_counter
2038         and pass it to ASM_OUTPUT_SOURCE_LINE.
2039         * sdbout.c (sdbout_source_line_counter): New global variable.
2040         Mark it with GTY(()).
2041         (unnamed_struct_number): Mark it with GTY(()).
2042         (sdbout_source_line): Increment sdbout_source_line_counter
2043         and pass it to ASM_OUTPUT_SOURCE_LINE.
2044         * xcoffout.c (ASM_OUTPUT_SOURCE_LINE): Add third parameter
2045         (xcoffout_source_line): Pass 0 as third argument to
2046         ASM_OUTPUT_SOURCE_LINE.
2047         (xcoffout_begin_prologue): Likewise.
2048         * config/dbxout.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2049         Use it instead of 'sym_lineno' but without incrementing it.
2050         * config/dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2051         * config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2052         * config/ptx4.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2053         * config/alpha/alpha.c (alpha_start_function): Pass 0 as third
2054         argument to ASM_OUTPUT_SOURCE_LINE.
2055         * config/alpha/alpha.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2056         * config/arm/aout.h: Remove useless comment.
2057         * config/avr/avr.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2058         * config/i960/i960.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2059         * config/m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2060         Use it instead of 'sym_lineno' but without incrementing it.
2061         * config/m68k/hp320.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2062         * config/mcore/mcore-pe.h (ASM_OUTPUT_SOURCE_LINE): Add third
2063         parameter. Use it instead of 'sym_lineno' but without incrementing it.
2064         * config/mips/mips.c (mips_output_function_prologue): Pass 0 as third
2065         argument to ASM_OUTPUT_SOURCE_LINE.
2066         * config/mips/mips.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2067         * config/mmix/mmix.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2068         * config/pa/som.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2069         Use it instead of 'sym_lineno' but without incrementing it.
2070         * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2071         * config/sh/elf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2072         * config/sparc/aout.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2073         * config/sparc/pbd.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2074         * doc/tm.texi (ASM_OUTPUT_SOURCE_LINE): Document third parameter.
2076 2003-06-17  Richard Sandiford  <rsandifo@redhat.com>
2078         * config/mips/mips-protos.h (mips_expand_block_move): Declare.
2079         (expand_block_move, output_block_move): Remove.
2080         * config/mips/mips.h (enum block_move_type): Remove.
2081         * config/mips/mips.c (block_move_call, output_block_move): Remove.
2082         (mips_block_move_straight, mips_adjust_block_mem): New function.
2083         (mips_block_move_loop): Renamed and reworked from block_move_loop.
2084         (mips_expand_block_move): Likewise expand_block_move.  Return false
2085         to fall back on the target-independent code.
2086         * config/mips/mips.md (movstrsi): Use mips_expand_block_move.
2087         (movstrsi_internal*): Remove.
2089 2003-06-16  Zack Weinberg  <zack@codesourcery.com>
2091         * cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c
2092         * cppfiles.c, cpphash.c, cppinit.c, cpplex.c, cpplib.c
2093         * cppmacro.c, cpppch.c, cpptrad.c, cppspec.c: Convert to
2094         ISO C: new-style function declarations, no need for PARAMS,
2095         no special punctuation on indirect function calls, use string
2096         constant concatenation where convenient.
2098 2003-06-17  Andreas Jaeger  <aj@suse.de>
2100         * rtl.h: Remove declarations from coverage.h.
2101         * toplev.c: Include coverage.h.
2102         * Makefile.in (toplev.o): Depend on coverage.h.
2104         * toplev.h: Remove extra declaration of print_time.
2106         * gengtype.c (close_output_files): Remove duplicated declaration.
2108 2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
2110         * config/sparc/sysv4.h: Remove target-independent comment;
2111         replace "GNU CC" with "GCC".
2112         * config/vxworks.h: Replace "GNU compiler" with "GCC".
2113         * config/sparc/aout.h, config/sparc/biarch64.h, config/sparc/elf.h,
2114         config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
2115         config/sparc/lite.h, config/sparc/litecoff.h, config/sparc/liteelf.h,
2116         config/sparc/netbsd-elf.h, config/sparc/openbsd.h,
2117         config/sparc/rtemself.h, config/sparc/sol2-64.h,
2118         config/sparc/sol2-bi.h, config/sparc/sol2-gas-bi.h,
2119         config/sparc/sol2-gld-bi.h, config/sparc/sol2-gld.h,
2120         config/sparc/sol2.h, config/sparc/sp64-aout.h,
2121         config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h,
2122         config/sparc/sparc-protos.h, config/sparc/sysv4-only.h: Replace
2123         "GNU compiler", "GNU CC" with "GCC".
2124         * config/sparc/cypress.md, config/sparc/hypersparc.md,
2125         config/sparc/sparc-modes.def, config/sparc/sparc.c,
2126         config/sparc/sparc.md, config/sparc/sparclet.md,
2127         config/sparc/supersparc.md, config/sparc/ultra1_2.md,
2128         config/sparc/ultra3.md: Replace "GNU CC", "GNU Compiler", and
2129         "GNU C Compiler" with "GCC".
2130         * config/ip2k/ip2k.h: Replace "GNU CC" and "GNU compiler" with "GCC".
2132 2003-06-16  Aldy Hernandez  <aldyh@redhat.com>
2134         * simplify-rtx.c (simplify_subreg): Do not over-extend vector
2135         constants.
2137         * testsuite/gcc.c-torture/execute/simd-4.c: New.
2139 2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
2141         * config/ip2k/ip2k.h: Remove target-independent comments.
2143         * config.gcc: Explicitly mention elfos.h in ip2k entry.
2144         * config/ip2k/ip2k.h: Don't #include it here.
2146 2003-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2148         * bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c,
2149         config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c,
2150         dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c,
2151         function.c, gcc.c, genoutput.c, gensupport.c, global.c,
2152         haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c,
2153         loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c,
2154         read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c,
2155         stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use
2156         the PTR macro.
2158         * gengtype.c: Don't use UNION_INIT_ZERO.
2159         * system.h (UNION_INIT_ZERO): Delete.
2161 2003-06-16  Richard Henderson  <rth@redhat.com>
2163         * simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of
2164         GET_MODE_UNIT_SIZE when simplifying constant vectors.
2166 2003-06-16  Andreas Jaeger  <aj@suse.de>
2168         * timevar.c (get_run_time): Remove function provided also by
2169         libiberty.
2170         * timevar.h: Remove get_run_time declaration.
2172 2003-06-16  Kazu Hirata  <kazu@cs.umass.edu>
2174         * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): Remove
2175         unreachable code.
2177 2003-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2179         * builtin-attrs.def, builtin-attrs.def, builtins.c, cpplex.c,
2180         cpplib.c, gencheck.c, gengenrtl.c, machmode.def, protoize.c: Don't
2181         use macros from "symcat.h", instead rely on ISO C.
2183         * system.h: Don't include "symcat.h".
2184         * configure.in (AC_C_STRINGIZE): Delete.
2185         * config.in, configure: Regenerate.
2187 2003-06-16  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2189         * Makefile.in (install-mkheaders): Use INSTALL_SCRIPT for scripts.
2191         * tree.h (STMT_CHECK): New macro.
2192         Also upper-case argument names on all checking macros and
2193         fix some whitespace problems; assume CODE argument does not
2194         have side-effects.
2196 2003-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2198         * scan.h: Convert to ISO C.
2199         * system.h: Likewise.
2201         * c-format.c (dynamic_format_types): New pointer for dynamic data.
2202         (find_length_info_modifier_index, init_dynamic_asm_fprintf_info):
2203         New functions split out of...
2204         (handle_format_attribute): ...here.
2206 2003-06-16  J"orn Rennecke <joern.rennecke@superh.com>
2208         * sh.h (REG_CLASS_FROM_LETTER): Change to:
2209         (REG_CLASS_FROM_CONSTRAINT).
2210         (CONST_OK_FOR_I): Rename to:
2211         (CONST_OK_FOR_I08).  Changed all users.
2212         (CONST_OK_FOR_J): Rename to:
2213         (CONST_OK_FOR_I16).  Changed all users.
2214         (CONST_OK_FOR_K): Rename to:
2215         (CONST_OK_FOR_P27).  Changed all users.
2216         (CONST_OK_FOR_L): Rename to:
2217         (CONST_OK_FOR_K08).  Changed all users.
2218         (CONST_OK_FOR_O): Rename to:
2219         (CONST_OK_FOR_I06).  Changed all users.
2220         (CONST_OK_FOR_P): Rename to:
2221         (CONST_OK_FOR_I10).  Changed all users.
2222         (CONSTRAINT_LEN, CONST_OK_FOR_I, CONST_OK_FOR_J16): Define.
2223         (CONST_OK_FOR_J, CONST_OK_FOR_K, CONST_OK_FOR_P): Likewise.
2224         (EXTRA_CONSTRAINT_A, EXTRA_CONSTRAINT_Bsc): Likewise.
2225         (EXTRA_CONSTRAINT_B, PIC_OFFSET_P, PIC_DIRECT_ADDR_P): Likewise.
2226         (EXTRA_CONSTRAINT_Cpg, EXTRA_CONSTRAINT_C): Likewise.
2227         (EXTRA_MEMORY_CONSTRAINT,(EXTRA_CONSTRAINT_Sr0): Likewise.
2228         (CONST_OK_FOR_LETTER_P): Replace with
2229         (CONST_OK_FOR_CONSTRAINT_P).
2230         (EXTRA_CONSTRAINT_S): Rename to:
2231         (EXTRA_CONSTRAINT_C16).  Changed all users.
2232         (MOVI_SHORI_BASE_OPERAND_P): Don't allow direct addresses.
2233         (EXTRA_CONSTRAINT_T): Rename to:
2234         (EXTRA_CONSTRAINT_Csy).  Changed all users.
2235         (EXTRA_CONSTRAINT_Z): Remove.
2236         (EXTRA_CONSTRAINT): Replace with:
2237         (EXTRA_CONSTRAINT_STR).
2238         (EXTRA_CONSTRAINT_U): Rename to:
2239          (EXTRA_CONSTRAINT_Z).  Changed all users.
2240         * sh.c (and_operand): Use CONST_OK_FOR_J16.
2241         * sh.md (cmpeqsi_t-1, cmpeqsi_t, adddi3_media): Use new constraints.
2242         (addsi3_media, addsi3_compact, andsi3_compact, anddi3): Likewise.
2243         (iorsi3, iordi3, xorsi3, xordi3, ashlsi3_std, ashlhi3_k): Likewise.
2244         (lshrsi3_k, movsi_i, movsi_ie, movsi_i_lowpart, movsi_media): Likewise.
2245         (movsi_media_nofpu, movqi_media, movhi_i, movhi_media): Likewise.
2246         (*movdi_i, movdi_media, movdi_media_nofpu, shori_media): Likewise.
2247         (movdf_media, movdf_media_nofpu, movv2sf_i, movv4sf_i): Likewise.
2248         (movsf_media, movsf_media_nofpu, movsi_y, beq_media): Likewise.
2249         (beq_media_i, bne_media, pt, ptb, movv8qi_i, movv2hi_i): Likewise.
2250         (movv4hi_i, movv2si_i, negcmpeqv8qi, negcmpeqv2si): Likewise.
2251         (negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si, negcmpgtv4hi): Likewise.
2252         (mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub, mextr_rl, mextr_lr): Likewise.
2253         (mextr1, mextr2, mextr3, mextr4, mextr5, mextr6, mextr7): Likewise.
2254         (mperm_w, mperm_w_little, mperm_w_big, msad_ubq_i): Likewise.
2255         (mshards_q, mshfhi_b, mshflo_b, mshf4_b, mshf0_b, mshfhi_l): Likewise.
2256         (mshflo_l, mshf4_l, mshf0_l, mshfhi_w, mshflo_w, mshf4_w): Likewise.
2257         (mshf0_w, mshflo_w_x, mshfhi_l_di, mshfhi_l_di_rev): Likewise.
2258         (mshflo_l_di_rev, mshflo_l_di_x, concat_v2sf): Likewise.
2259         (mshflo_l_di_x_rev, subv2si3, subv4hi3, sssubv2si3): Likewise.
2260         (sssubv4hi3): Likewise.
2261         (movsf_i): Change I[08]/r to G/r.
2262         (movsf_ie): Change f/{G,H}/c/X to f/{G,H}/c/Bsc.
2264         * sh.c (sh_output_mi_thunk): Use CONST_OK_FOR_ADD.
2266 2003-06-16  Vladimir Makarov  <vmakarov@redhat.com>
2268         * config/i386/i386.c (ix86_memory_move_cost): Fix typo.
2270 2003-06-16  Andreas Jaeger  <aj@suse.de>
2272         * basic-block.h: Remove duplicate prototype of
2273         note_prediction_to_br_prob.
2275         * tree.h: Remove duplicate prototype of strip_float_extensions.
2277 2003-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2279         * config/c4x/c4x.c: Don't include "c-tree.h".
2280         * config/pa/pa.c: Likewise.
2281         * langhooks.c: Likewise.
2282         * tree.h (poplevel): Declare.
2284 2003-06-16  Kazu Hirata  <kazu@cs.umass.edu>
2286         * config/h8300/h8300.c (const_costs): Move this to ...
2287         (h8300_rtx_costs): ... here.
2289 2003-06-16  Roger Sayle  <roger@eyesopen.com>
2291         * optabs.h (enum optab_index): Add new OTI_tan and OTI_atan.
2292         (tan_optab, atan_optab): Define corresponding macros.
2293         * optabs.c (init_optabs): Initialize tan_optab and atan_optab.
2294         * genopinit.c (optabs): Implement tan_optab and atan_optab
2295         using tan?f2 and atan?f2 patterns.
2296         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_TAN{,F,L}
2297         using tan_optab, and BUILT_IN_ATAN{,F,L} using atan_optab.
2298         Change the default value of errno_set to false.
2299         (expand_builtin): Expand BUILT_IN_TAN{,F,L} and BUILT_IN_ATAN{,F,L}
2300         using expand_builtin_mathfn.
2302         * config/i386/i386.md (atansf2, atandf2, atanxf2, atantf2): New
2303         expander patterns implemented using existing atan2?f3 patterns.
2305 2003-06-16  Roger Sayle  <roger@eyesopen.com>
2307         * expr.c (expand_expr <PLUS_EXPR>): If operand_equal_p considers
2308         both operands of the addition equal, reuse the expanded RTL.
2309         (expand_expr <MULT_EXPR>): Likewise for multiplication.
2311 2003-06-16  Roger Sayle  <roger@eyesopen.com>
2312             Jeff Law  <law@redhat.com>
2314         * fold-const.c (operand_equal_p): Consider two calls to "const"
2315         functions with identical non-volatile arguments to be equal.
2316         Consider the FUNCTION_DECL for the "__builtin_foo" form of a
2317         built-in function to be equal to the "foo" form.
2319 2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
2321         * config/rs6000/sysv4le.h: Remove target-independent comment.
2322         Replace "GNU compiler" with "GCC" in comment.
2324 2003-06-16  Andreas Jaeger  <aj@suse.de>
2326         * tracer.c: Remove duplicate declaration.
2328         * toplev.c: Remove extra declaration of decode_d_option.
2330         * ssa.c: Remove duplicate declaration.
2332         * sreal.c: Remove extra declaration of dump_sreal.
2334         * reload1.c: Remove duplicate declarations.
2336         * integrate.c: Remove extra declaration of
2337         set_decl_abstract_flags.
2339         * flow.c: Remove extra declaration of dump_flow_info.
2341         * alias.c: Remove extra declaration of get_addr.
2343 2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
2345         * config/rtems.h, config/sol2.h, config/svr4.h, config/usegas.h,
2346         config/vxworks.h: GNU CC -> GCC.
2348         * convert.c, dwarf2out.c, dwarfout.c, emit-rtl.c, function.c,
2349         lists.c, print-rtl.c, print-tree.c, read-rtl.c, rtl-error.c,
2350         stmt.c, toplev.c, integrate.h, loop.h, machmode.h, rtl.h,
2351         ssa.h, tree.def: Replace overly specific references to "GNU C"
2352         and "GNU C Compiler" with references to "GCC".
2354 2003-06-16  J"orn Rennecke <joern.rennecke@superh.com>
2356         * sh.c (prepare_move_operand): Check if operand 0 is an invalid
2357         memory reference.  Fix test that checks if operand 1 is using r0.
2358         * sh.md (movhi_i): Don't allow st.w r0,@(rX,rY) .
2360         * defaults.h (REG_CLASS_FROM_CONSTRAINT): Only define if not already
2361         defined.
2363 2003-06-15  Nathan Sidwell  <nathan@codesourcery.com>
2365         * function.h (struct emit_status): Remove x_last_linenum,
2366         x_last_filename. Add x_last_location.
2367         * rtl.h: #include "input.h".
2368         (NOTE_DATA): New.
2369         * cfglayout.c (duplicate_insn_chain): Use emit_line_note for line
2370         number notes.
2371         * emit-rtl.c (last_linenum, last_filename): Remove.
2372         (last_location): New.
2373         (emit_line_note_after): LINE must always be >= 0.
2374         (emit_line_note): Likewise. Check not duplicate here...
2375         (emit_note): ... rather than here.
2376         (emit_line_note_force, force_next_line_note, init_emit): Adjust.
2377         * integrate.c (expand_inline_function): Use emit_line_note for
2378         line number notes.
2379         (copy_insn_list): Likewise.
2380         * unroll.c (copy_loop_body): Likewise.
2381         * Makefile.in (RTL_H): Add input.h.
2383 2003-06-16  Richard Sandiford  <rsandifo@redhat.com>
2385         * optabs.c (emit_libcall_block): Don't hoist insns past a label.
2387 2003-06-16  Richard Henderson  <rth@redhat.com>
2389         * config/alpha/alpha-protos.h, config/alpha/elf.h,
2390         config/alpha/osf.h, config/alpha/unicosmk.h, config/alpha/vms.h,
2391         config/alpha/vms-cc.c, config/alpha/vms-ld.c: Update to ISO C.
2392         * config/alpha/alpha.c: Likewise.  Move targetm init to end of file.
2393         Remove unneeded static function decls.
2395 2003-06-16  Neil Booth  <neil@daikokuya.co.uk>
2397         * c-opts.c (c_common_handle_option): s/on/value/.
2398         (OPT_fabi_version_, OPT_ftabstop_, OPT_ftemplate_depth_): Use value
2399         directly rather than converting the argument.
2400         * c.opt: Update docs.  Use UInteger where appropriate.
2401         * common.opt: Use UInteger where appropriate.
2402         * opts.c (integral_argument): New.
2403         (handle_argument): Handle integral arguments, and optional
2404         joined arguments.
2405         (common_handle_option): Update.
2406         * opts.h (CL_MISSING_OK, CL_UINTEGER): New.
2407         * opts.sh: Handle JoinedOrMissing and UInteger flags.
2409 2003-06-16  Neil Booth  <neil@daikokuya.co.uk>
2411         * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove
2412         unnecessary extern declaration.
2414 2003-06-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2416         * config/gofast.h, config/interix.h, config/interix3.h,
2417         config/libgloss.h, config/linux-aout.h, config/linux.h,
2418         config/lynx-ng.h, config/lynx.h: GNU CC -> GCC.
2419         * config/kaos.h: "GNU compiler" -> GCC.
2420         * config/linux-aout.h, config/lynx.h: Clarify comment describing file.
2422         * config/ip2k/crt0.S, config/ip2k/ip2k-protos.h,
2423         config/ip2k/ip2k.c, config/ip2k/ip2k.md, config/ip2k/libgcc.S:
2424         GNU CC -> GCC.
2426         * config/svr3.h: Remove #if 0 code, misleading comments.
2427         GNU CC -> GCC.
2429 2003-06-15  Zack Weinberg  <zack@codesourcery.com>
2431         * vmsdbgout.c (vmsdbgout_finish): Rename parameter to
2432         main_input_filename to avoid conflict with input_filename macro.
2434 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
2436         * config/mips/mips.h (asm_file_name, g_switch_set,
2437         g_switch_value): Remove.
2438         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Remove
2439         unnecessary extern declarations.
2441 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
2443         * config/frv/frv.h: Remove declaration of g_switch_value.
2444         * config/m32r/m32r.h: Remove declaration of g_switch_value.
2445         * config/m68hc11/m68hc11.c: Remove declaration of asm_file_name.
2447 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
2449         * opts.sh: Quote '+' in regex.
2451 2003-06-15  Andrew Pinski <pinskia@physics.uc.edu>
2453         * config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o.
2454         * config/rs6000/rs6000.c: Include cfglayout.h.
2455         * config/alpha/alpha.c: Likewise.
2456         * config/ia64/ia64.c: Likewise.
2457         * config/sparc/sparc.c: Likewise.
2458         * config/sh/sh.c: Likewise.
2460 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
2462         * opts.sh: Quote '+' in regex.
2464 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
2466         * c-opts.c (lang_flags): Update for new spelling of flags.
2467         (write_langs): Similarly.
2468         * c.opt: Specify languages.
2469         * opts.h: Remove languages.
2470         * opts.sh: Recognise front-end defined languages.
2471         * doc/sourcebuild.texi: Update.
2473 2003-06-15  Andreas Jaeger  <aj@suse.de>
2475         * alloc-pool.c: Convert to ISO C90 prototypes.
2476         * alloc-pool.h: Likewise.
2477         * alias.c: Likewise.
2478         * attribs.c: Likewise.
2479         * bb-reorder.c: Likewise.
2480         * bitmap.h: Likewise.
2481         * bitmap.c: Likewise.
2482         * builtins.c: Likewise.
2484         * tree.h: Convert prototypes of attribs.c to ISO C90.
2485         * basic-block.h: Convert prototypes of bb-reorder.c to ISO C90.
2486         * rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90.
2487         * expr.h: Convert prototypes of builtins.c to ISO C90.
2489 2003-06-15  Roger Sayle  <roger@eyesopen.com>
2491         * config/i386/i386.md (expsf2, expdf2, expxf2): New patterns to
2492         implement exp, expf and expl built-ins as inline x87 intrinsics.
2493         (UNSPEC_FSCALE, UNSPEC_FRNDINT, UNSPEC_F2XM1): New unspecs to
2494         represent x87's fscale, frndint and f2xm1 insns respectively.
2495         (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): New insn patterns
2496         to encode x87's "fscale" instruction followed by a pop.
2497         (*frndintxf2): New insn pattern for "frndint".
2498         (*f2xm1xf2): New insn pattern for "f2xm1".
2500         * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FRNDINT and
2501         UNSPEC_F2XM1 like UNSPEC_{SIN,COS} and handle UNSPEC_FSCALE like
2502         UNSPEC_FPATAN.
2504 2003-06-15  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2506         * gencheck.c (main): Avoid generating duplicate macros.
2508         * Makefile.in (stagefeedback-start): Use $(SUBDIRS) instead of
2509         knowing names of language subdirectories.
2511 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
2513         * c-pch.c (asm_file_name): Remove.
2514         * common.opt: Add more switches.
2515         * flags.h (g_switch_set): Boolify.
2516         * opts.c (g_switch_value, g_switch_set, exit_after_options,
2517         version_flag): Move from toplev.c.
2518         (common_handle_option): Handle more switches from toplev.c.
2519         * toplev.c (display_help, display_target_options, decode_d_option,
2520         print_version): Make non-static, remove prototypes.
2521         (aux_base_name, asm_file_name, aux_info_file_name): Constify.
2522         (version_flag, g_switch_value, g_switch_set, exit_after_options):
2523         Remove.
2524         (independent_decode_option): Move some handlers to opts.c.
2525         * toplev.h (aux_info_file_name, aux_base_name, asm_file_name,
2526         exit_after_options, version_flag, display_help, display_target_options,
2527         print_version, decode_d_option): New.
2529 2003-06-15  Kazu Hirata  <kazu@cs.umass.edu>
2531         * config/alpha/alpha.md: Follow spelling conventions.
2532         * config/arm/arm.c: Likewise.
2533         * config/arm/arm.h: Likewise.
2534         * config/arm/arm.md: Likewise.
2535         * config/arm/crtn.asm: Likewise.
2536         * config/m32r/m32r.c: Likewise.
2537         * config/m32r/m32r.md: Likewise.
2538         * config/rs6000/rs6000.c: Likewise.
2540 2003-06-15  Richard Henderson  <rth@redhat.com>
2542         * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Call
2543         insn_locators_initialize.
2544         * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
2545         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
2546         * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
2547         * config/sh/sh.c (sh_output_mi_thunk): Do it later.
2549 2003-06-15  Kazu Hirata  <kazu@cs.umass.edu>
2551         * builtins.c (expand_builtin_expect_jump): Remove redundant
2552         tests that are also in any_condjump_p().
2554 2003-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2556         * libgcc2.c: Delete sysV68 L_trampoline section.
2557         * config/m68k/mot3300-crt0.S: Delete file.
2558         * config/m68k/mot3300Mcrt0.S: Likewise.
2560 2003-06-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2562         * config/aoutos.h: Remove.
2563         * config.gcc: Remove reference to aoutos.h.
2564         * config/m68k/m68k-aout.h: Remove reference to aoutos.h.
2566 2003-06-14  Kazu Hirata  <kazu@cs.umass.edu>
2568         * doc/install.texi: Follow spelling conventions.
2569         * doc/tm.texi: Likewise.
2570         * config/fp-bit.c: Likewise.
2571         * config/arm/arm.c: Likewise.
2572         * config/frv/frv.c: Likewise.
2573         * config/ns32k/NOTES: Likewise.
2574         * config/ns32k/STATUS: Likewise.
2576 2003-06-14  Roger Sayle  <roger@eyesopen.com>
2577             Zack Weinberg  <zack@codesourcery.com>
2579         * rtl.h (STORE_FLAG_VALUE): Remove default definition from here.
2580         * defaults.h (STORE_FLAG_VALUE): Move default definition to here.
2581         * doc/tm.texi (STORE_FLAG_VALUE): Document the default value.
2583         * config/alpha/alpha.h (STORE_FLAG_VALUE): Remove definition.
2584         * config/arc/arc.h (STORE_FLAG_VALUE): Likewise.
2585         * config/arm/arm.h (STORE_FLAG_VALUE): Likewise.
2586         * config/cris/cris.h (STORE_FLAG_VALUE): Likewise.
2587         * config/i370/i370.h (STORE_FLAG_VALUE): Likewise.
2588         * config/i386/i386.h (STORE_FLAG_VALUE): Likewise.
2589         * config/i960/i960.h (STORE_FLAG_VALUE): Likewise.
2590         * config/ia64/ia64.h (STORE_FLAG_VALUE): Likewise.
2591         * config/ip2k/ip2k.h (STORE_FLAG_VALUE): Likewise.
2592         * config/m32r/m32r.h (STORE_FLAG_VALUE): Likewise.
2593         * config/mcore/mcore.h (STORE_FLAG_VALUE): Likewise.
2594         * config/mips/mips.h (STORE_FLAG_VALUE): Likewise.
2595         * config/mmix/mmix.h (STORE_FLAG_VALUE): Likewise.
2596         * config/ns32k/ns32k.h (STORE_FLAG_VALUE): Likewise.
2597         * config/pa/pa.h (STORE_FLAG_VALUE): Likewise.
2598         * config/pdp11/pdp11.h (STORE_FLAG_VALUE): Likewise.
2599         * config/sh/sh.h (STORE_FLAG_VALUE): Likewise.
2600         * config/sparc/sparc.h (STORE_FLAG_VALUE): Likewise.
2601         * config/v850/v850.h (STORE_FLAG_VALUE): Likewise.
2602         * config/xtensa/xtensa.h (STORE_FLAG_VALUE): Likewise.
2604 2003-06-14  Nathan Sidwell  <nathan@codesourcery.com>
2606         * opts.sh (POSIXLY_CORRECT): Unset it.
2608         * tree.h (init_function_start): Remove filename and line paramters.
2609         * function.c (init_function_start): Remove filename and line
2610         parameters. Use DECL_SOURCE_LOCATION.
2611         * c-decl.c (store_parm_decls): Adjust init_function_start call.
2612         (c_expand_body_1): Likewise.
2613         * coverage.c (create_coverage): Likewise.
2614         * objc/objc-act.c (build_tmp_function_decl): Set line number to
2615         zero.
2616         (hack_method_prototype): Adjust init_function_start call.
2618 2003-06-14  Richard Earnshaw  <rearnsha@arm.com>
2620         PR target/3724
2621         * arm/linux-elf.h (PROFILE_HOOK): Define.
2623 2003-06-14  Richard Earnshaw  <rearnsha@arm.com>
2625         PR target/11183
2626         * arm.h (CANNOT_CHANGE_MODE_CLASS): Define.
2628 2003-06-14  Roger Sayle  <roger@eyesopen.com>
2630         * opts.sh: Work around a mysterious feature in cygwin's gawk
2631         where specifying the input files explicitly has a different
2632         behavior to piping them via stdin.
2634 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
2636         * doc/sourcebuild.texi: Update.
2638 2003-06-14  Richard Earnshaw  <rearnsha@arm.com>
2640         PR target/11183
2641         * arm.c (output_move_double): Pass SImode to adjust_address.
2643 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
2645         * Makefile.in: Update to use common.opt and lang_opt_files.
2646         (c-options.c, c-options.h): Remove.
2647         (options.c, options.h): Add.
2648         * c-opts.c: Include options.h not c-options.h.
2649         * common.opt: New file.
2650         * configure, configure.in: Add lang_opt_files.
2651         * opts.c: Include flags.h and diagnostic.h.
2652         (common_handle_option): New.
2653         (handle_option): Update to recognize common options and all
2654         language-dependent options.
2655         * opts.h (CL_F77, CL_JAVA, CL_ADA, CL_COMMON, CL_TREELANG): New.
2656         (struct cl_option): Make flags of type int.
2657         * opts.h: Flag option with front ends to which it applies.
2658         Handle duplicate options.
2659         * toplev.c (filename): Remove.
2660         (independent_decode_option): Don't handle filenames and -quiet.
2661         (process_options, do_compile): Update.
2663 2003-06-14  Nick Clifton  <nickc@redhat.com>
2665         * doc/install.texi (Specific): Add description of different
2666         ARM supported file format targets.
2668 Sat Jun 14 11:12:04 CEST 2003  Jan Hubicka  <jh@suse.cz>
2670         * reorg.c (emit_delay_sequence, dbr_schedule): Clear insn locators
2671         inside delay slots.
2673 2003-06-13  Matt Kraai  <kraai@alumni.cmu.edu>
2675         * unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE.
2676         * unwind-pe.h (size_of_encoded_value): Do not define if
2677         NO_SIZE_OF_ENCODED_VALUE is defined.
2679 2003-06-13  Roger Sayle  <roger@eyesopen.com>
2681         * expr.c (expand_expr <COMPLEX_CST>): Handle the case of
2682         expanding a complex constant into a CONCAT target.
2684 2003-06-13  Zack Weinberg  <zack@codesourcery.com>
2686         * config/svr3.h (ASM_FILE_START): Don't use ASM_FILE_START_1.
2687         (ASM_FILE_START_1): Delete.
2688         * config/i386/att.h, config/i386/sco5.h,
2689         config/i386/sysv3.h
2690         (ASM_FILE_START_1): Delete.
2692 2003-06-13  Kelley Cook  <kelleycook@wideopenwest.com>
2694         * config/i386/bsd.h: Remove ASM_FILE_START.
2695         * config/i386/djgpp.h: Likewise.
2696         * config/i386/gas.h (ASM_FILE_START): Output .file before .intel_syntax.
2698         * config/i386/djgpp.h: Move included unix.h, bsd.h, gas.h to ...
2699         * config.gcc (i[34567]86-pc-msdosdjgpp): ... here.
2701 2003-06-13  Vladimir Makarov  <vmakarov@redhat.com>
2703         PR bootstrap/10835
2704         * haifa-sched.c (max_lookahead_tries,
2705         cached_first_cycle_multipass_dfa_lookahead,
2706         cached_issue_rate): New variables.
2707         (max_issue): Check the number of tries.
2708         (choose_ready): Calculate max_lookahead_tries.
2709         (sched_init): Check cached_issue_rate.
2711 2003-06-13  Richard Henderson  <rth@redhat.com>
2713         * cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL.
2714         * cfgrtl.c (purge_dead_edges): Expect it too.
2716 2003-06-13  Jim Wilson  <wilson@tuliptree.org>
2717             Eric Botcazou  <ebotcazou@libertysurf.fr>
2719         PR bootstrap/10983
2720         * combine.c (make_extraction): Use gen_lowpart_for_combine
2721         when extracting from a REG and not in the destination of a SET.
2723 2003-06-13  Doug Evans  <dje@sebabeach.org>
2725         * tsystem.h (abort): Declare in inhibit_libc case to remove build
2726         warnings for addvsi3, et.al.
2728 2003-06-13  Aldy Hernandez  <aldyh@redhat.com>
2730         * c-common.c (handle_mode_attribute): Use VECTOR_MODE_P macro.
2732         * simplify-rtx.c (simplify_subreg): Same.
2734         * emit-rtl.c (gen_lowpart_common): Same.
2736 2003-06-13  Kazu Hirata  <kazu@cs.umass.edu>
2738         * builtins.c: Fix comment typos.
2739         * fold-const.c: Likewise.
2741 2003-06-13  Doug Evans  <dje@sebabeach.org>
2742             Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2744         * config/m32r/m32r-protos.h (m32r_pass_by_reference): Declare.
2745         * config/m32r/m32r.c (m32r_pass_by_reference): New fn.
2746         (m32r_va_arg): Use it.
2747         * config/m32r/m32r.h (FUNCTION_ARG_PASS_BY_REFERENCE): Ditto.
2748         (RETURN_IN_MEMORY): Ditto.
2750 2003-06-13  Nathanael Nerode  <neroden@gcc.gnu.org>
2752         * c-typeck.c: Remove #if 0 clauses.
2754         PR other/1494
2755         * config/alpha/openbsd.h, config/i386/openbsd.h,
2756         config/m68k/openbsd.h, config/sparc/openbsd.h: Remove
2757         residual reference to EGCS.
2759 2003-06-13  Richard Earnshaw  <rearnsha@arm.com>
2761         * arm.c (output_call_mem): If the address references the link-register
2762         use an instruction sequence that avoids early-clobbering IP.
2763         (eliminate_lr2ip): Delete.
2765 2003-06-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2767         * c-format.c (format_types_orig): Disallow '*' width/precision in
2768         asm_fprintf format checks.
2770 2003-06-13  Ulrich Weigand  <uweigand@de.ibm.com>
2772         * config/s390/s390.c (s390_va_arg): Fix alignment when retrieving
2773         non-integral types from integer register save area slots.
2775 2003-06-13  Nathanael Nerode  <neroden@gcc.gnu.org>
2777         * config/i386/svr3dbx.h: GNU CC -> GCC; Intel 385 -> Intel 386.
2779 2003-06-13  Florian Weimer  <fw@deneb.enyo.de>
2781         * doc/invoke.texi (SPARC Options): Document ``-mimpure-text''.
2783 2003-06-13  Kaz Kojima  <kkojima@gcc.gnu.org>
2785         * config/sh/linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END
2786         to file_end_indicate_exec_stack.
2788 2003-06-12  Richard Henderson  <rth@redhat.com>
2790         PR target/11089
2791         * config/i386/i386.md (sse_movaps): Use an expander to force
2792         one operand to be a register.
2793         (sse_movups): Likewise.
2795 2003-06-13  Doug Evans  <dje@sebabeach.org>
2797         Remove some build warnings.
2798         * config/m32r/initfini.c (__CTOR_LIST__,__DTOR_LIST__): Attribute used.
2799         (__do_global_ctors,__do_global_dtors): Ditto.
2801 2003-06-12  Richard Henderson  <rth@redhat.com>
2803         PR middle-end/10557
2804         * rtlanal.c (subreg_offset_representable_p): Relax subreg check.
2806 2003-06-13  Kazu Hirata  <kazu@cs.umass.edu>
2808         * config/m32r/m32r.md: Fix a comment typo.
2810 2003-06-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
2811             Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
2813         PR target/10142
2814         * config/sparc/sparc.c (function_arg_record_value_parms): Add
2815         new 'stack' field.
2816         (function_arg_record_value_1): Set 'stack' to 1 if we run out of
2817         integer slots for an integer field.
2818         (function_arg_record_value_3): Shift vector index.
2819         (function_arg_record_value_2): Likewise.
2820         (function_arg_record_value): Initialize 'stack' to 0.
2821         Set 'stack' to 1 if we run out of integer slots for an integer field.
2822         Generate (parallel [(expr_list (nil) ...) ...]) if 'stack' is set to 1.
2824 2003-06-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
2826         PR optimization/10955
2827         * unroll.c (unroll_loop): Fix off-by-one bug.
2829 2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
2831         * config/rs6000/rs6000.c (function_arg): Remove typo.
2833 2003-06-12  Richard Henderson  <rth@redhat.com>
2835         * config/i386/i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF
2836         and UNSPEC_DTPOFF.
2838 2003-06-12  Richard Henderson  <rth@redhat.com>
2840         PR middle-end/10475
2841         * expmed.c (emit_store_flag): Use simplify_gen_subreg directly
2842         for extracting sub-words.
2844 2003-06-12  Richard Henderson  <rth@redhat.com>
2846         PR target/7594
2847         * config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG.
2848         (zero_extendqihi2, zero_extendqisi2): Likewise.
2850 2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
2852         * config/rs6000/rs6000.c (function_arg): Always split vectors for
2853         e500 if it's a stdarg function.
2854         (function_arg_advance): Advance 2 registers for vectors in a
2855         stdarg function.
2856         (init_cumulative_args): Initialize stdarg.
2857         (rs6000_spe_function_arg): New.
2859         * config/rs6000/rs6000.h (rs6000_args): Add stdarg.
2861 2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
2863         * config/rs6000/rs6000.h (MODES_TIEABLE_P): Add SPE vectors.
2865 2003-06-12  Roger Sayle  <roger@eyesopen.com>
2867         PR middle-end/168
2868         * fold-const.c (tree_expr_nonnegative_p):  Handle addition
2869         and multiplication of zero extensions, floating point division,
2870         and integer<->fp, fp<->fp and zero extension conversions.
2871         The built-in ceil and floor functions preserve signedness.
2873 2003-06-12  Kazu Hirata  <kazu@cs.umass.edu>
2875         * ChangeLog: Follow spelling conventions.
2876         * ChangeLog.2: Likewise.
2877         * c-decl.c: Likewise.
2878         * cfgloop.h: Likewise.
2879         * cgraph.c: Likewise.
2880         * coverage.c: Likewise.
2881         * cppcharset.c: Likewise.
2882         * cpphash.h: Likewise.
2883         * cpplex.c: Likewise.
2884         * cpplib.c: Likewise.
2885         * dbxout.c: Likewise.
2886         * df.c: Likewise.
2887         * dwarf2out.c: Likewise.
2888         * dwarfout.c: Likewise.
2889         * emit-rtl.c: Likewise.
2890         * explow.c: Likewise.
2891         * gcov-io.c: Likewise.
2892         * gcov-io.h: Likewise.
2893         * gcov.c: Likewise.
2894         * gengtype.c: Likewise.
2895         * ggc.h: Likewise.
2896         * opts.c: Likewise.
2897         * real.c: Likewise.
2898         * reload.c: Likewise.
2899         * stmt.c: Likewise.
2901 2003-06-12  Janis Johnson  <janis187@us.ibm.com>
2903         * doc/install.texi (m32r-*-elf): Change company to Renesas.
2905 Thu Jun 12 20:00:55 CEST 2003  Jan Hubicka  <jh@suse.cz>
2907         * basic-block.h (flow_delete_block_noexpunge): Kill.
2908         * cfgrtl.c (flow_delete_block_noexpunge): Merge to
2909         rtl_delete_block.
2911 2003-06-10  Richard Henderson  <rth@redhat.com>
2913         PR inline-asm/4823
2914         * reg-stack.c (any_malformed_asm): New.
2915         (check_asm_stack_operands): Set it.
2916         (convert_regs_1): Check it before aborting.
2918 2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
2920         * config/rs6000/spe.md: Change all clobbers of the accumulator to sets.
2922 2003-06-12  Jakub Jelinek  <jakub@redhat.com>
2924         * c-opts.c (complain_wrong_lang): Add on argument.
2925         Print no- switch if on is false.
2926         (c_common_decode_option): Adjust caller.
2928 2003-06-12  Ulrich Weigand  <uweigand@de.ibm.com>
2930         * config/s390/s390.c (s390_emit_prologue): Use LA instead of AR
2931         to initialize GOT register.
2933 2003-06-12  Roger Sayle  <roger@eyesopen.com>
2935         * fold-const.c (tree_expr_nonnegative_p): Add support for
2936         floating point constants, addition and multiplication.
2938 2003-06-12  J"orn Rennecke <joern.rennecke@superh.com>
2940         * sh.md (adddi3_compact, subdi3_compact): Add earlyclobber
2941         constraint modifier for operand 0.
2943 2003-06-12  Hans-Peter Nilsson  <hp@axis.com>
2945         Don't warn on dollars in builtin macro definitions,
2946         e.g. __REGISTER_PREFIX__.
2947         * cpphash.h (struct cpp_reader): Move member warn_dollars...
2948         * cpplib.h (struct cpp_options): ...to here.  Change type to
2949         unsigned char.
2950         * cppinit.c (cpp_create_reader): Set it to 1 here.
2951         (post_options): Don't set it here.
2952         * c-opts.c (c_common_init_options): Reset it to 0 here.
2953         (finish_options): Set it here.
2954         * cpplex.c (forms_identifier_p): Tweak for new location of
2955         warn_dollars.
2957         * configure.in (assembler dwarf2 debug_line support): Define insn
2958         for cris-*-* and mmix-*-*.
2959         * configure: Regenerate.
2961 2003-06-11  Uwe Stieber  <uwe@kaos-group.de>
2963         * config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
2964         powerpcle-*-kaos*, strongarm-*-kaos*): New targets.
2965         (sh-*-elf*): Add sh*-*-kaos* support.
2966         * config/kaos.h, config/arm/kaos-strongarm.h, config/arm/kaos-arm.h,
2967         config/i386/kaos-i386.h, config/rs6000/kaos-ppc.h,
2968         config/sh/kaos-sh.h: New files.
2970 2003-06-12  Kazu Hirata  <kazu@cs.umass.edu>
2972         * gcse.c (fis_get_condition): Make it a global function.
2973         * reload1.c (reload_cse_move2add): Detect implicit sets.
2974         * rtl.h: Add a prototype for fis_get_condition.
2976 2003-06-11  Richard Henderson  <rth@redhat.com>
2978         * stmt.c (expand_asm_operands): Don't warn for memories with
2979         queued addresses.
2981 2003-06-11  Kaz Kojima  <kkojima@gcc.gnu.org>
2983         * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Rewrite without
2984         brackets.
2986 2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
2988         * hooks.c (hook_int_size_t_constcharptr_int_0): New.
2989         * hooks.h (hook_int_size_t_constcharptr_int_0): New.
2990         * langhooks-def.h (lhd_decode_option, LANG_HOOKS_DECODE_OPTION): Die.
2991         (LANG_HOOKS_HANDLE_OPTION, LANG_HOOKS_INITIALIZER): Update.
2992         * langhooks.c (lhd_decode_option): Remove.
2993         * langhooks.h (struct lang_hooks): Remove decode_option.
2994         * opts.c (handle_option): No longer use decode_option.
2996 2003-06-11  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2998         * cfgloopanal.c (variable_initial_value): Update the set of altered
2999         registers correctly.
3001 2003-06-11  Roger Sayle  <roger@eyesopen.com>
3002             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3004         * config/d30v/d30v.h: Delete reference to ASM_FINAL_SPEC.
3005         * config/i386/netbsd-elf.h: Likewise.
3006         * config/m32r/m32r.h: Likewise.
3007         * config/mn10300/mn10300.h: Likewise.
3008         * config/stormy16/stormy16.h: Likewise.
3009         * config/v850/v850.h: Likewise.
3010         * config/vax/netbsd-elf.h: Likewise.
3011         * config/xtensa/elf.h: Likewise.
3012         * config/xtensa/linux.h: Likewise.
3014 2003-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3016         * config/mips/iris5gas.h (MDEBUG_ASM_SPEC): Override to match
3017         DWARF 2 default.
3019         * config/mips/dbxmdebug.h: New file.
3020         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it with
3021         gas and --with-stabs.
3023 2003-06-11  Ulrich Weigand  <uweigand@de.ibm.com>
3025         * expr.c (can_move_by_pieces): align argument may be unused.
3027 2003-06-11  J"orn Rennecke <joern.rennecke@superh.com>
3029         * expr.c (convert_move): Handle moves between two CONCATs.
3031 2003-06-11  Kazu Hirata  <kazu@cs.umass.edu>
3033         * config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if
3034         !TARGET_H8300.
3036 2003-06-11  Kazu Hirata  <kazu@cs.umass.edu>
3038         * config/h8300/h8300.c (final_prescan_insn): Don't dump rtl.
3039         * config/h8300/h8300.h (MASK_RTL_DUMP): Remove.
3040         (TARGET_RTL_DUMP): Likewise.
3041         (TARGET_SWITHCES): Remove -mrtl-dump.
3043 2003-06-10  Richard Henderson  <rth@redhat.com>
3045         * optabs.c (gen_cond_trap): Fix prepare_operand typo.
3047 2003-06-10  Richard Henderson  <rth@redhat.com>
3049         * config/ia64/ia64.md (call_gp): Fix memory mode.
3051 2003-06-10  James E Wilson  <wilson@tuliptree.org>
3053         PR target/8812
3054         * reload1.c (choose_reload_regs): For equiv reg, add loop over all
3055         hard regs for reload_reg_used_at_all and reg_class_contents checks.
3057 2003-06-10  Kazu Hirata  <kazu@cs.umass.edu>
3059         * config/h8300/h8300.c (print_operand): Remove support for
3060         operand character 'b'.
3061         Add the AND case to operand character 'c'.
3062         * config/h8300/h8300.md (two anonymous patterns): Replace
3063         operand character 'b' with 'c'.
3065 2003-06-10  Kazu Hirata  <kazu@cs.umass.edu>
3067         * config/h8300/h8300.c (print_operand): Remove support for
3068         operand character 'u'.
3070 2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>
3072         * configure.in: Fix typo.
3073         * configure: Regenerate.
3075 2003-06-10  Loren James Rittle  <ljrittle@acm.org>
3077         * config/alpha/alpha.c (unicosmk_file_end): Add conditional
3078         compilation guard.
3080 2003-06-10  J"orn Rennecke <joern.rennecke@superh.com>
3082         * sh-protos.h (function_symbol): Declare.
3083         * sh.c (expand_block_move, expand_ashiftrt): Use it.
3084         (sh_expand_prologue, sh_expand_epilogue): Likewise.
3085         (sh_initialize_trampoline): Likewise.
3086         (function_symbol): New function.
3087         * sh.md (udivsi3, divsi3, mulsi3, ic_invalidate_line): Use it.
3088         (initialize_trampoline, call, call_pop, call_value, sibcall): Likewise.
3089         (call_value_pop, shcompact_return_tramp): Likewise.
3091         * sh.h (OVERRIDE_OPTIONS): Don't suppress --profile-arc-flag.
3093         * sh.md (GOTaddr2picreg): Use gen_lowpart to get lowpart of
3094         target register.
3096 2003-06-10  DJ Delorie  <dj@redhat.com>
3098         * doc/md.texi (Machine Constraints): Document stormy's Z
3099         constraint.
3101 2003-06-10  Geoffrey Keating  <geoffk@apple.com>
3103         * except.c (call_site_base): Mark with GTY.
3105 2003-06-10  Richard Earnshaw  <rearnsha@arm.com>
3107         * arm-proto.h: Convert to ISO C90 prototypes.
3108         * arm.c: Likewise.
3110 2003-06-10  J"orn Rennecke <joern.rennecke@superh.com>
3112         * sh.c (sh_output_mi_thunk): Call insn_locators_initialize.
3114 2003-06-10  Steve Ellcey  <sje@cup.hp.com>
3116         * calls.c (expand_call): Convert structure_value_addr to Pmode if
3117         necessary.
3119 2003-06-10  Andrew Haley  <aph@redhat.com>
3121         * langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
3122         (LANG_HOOKS_DECLS): Add LANG_HOOKS_DECL_OK_FOR_SIBCALL.
3123         (lhd_decl_ok_for_sibcall): New.
3124         * langhooks.c (lhd_decl_ok_for_sibcall): New.
3125         * langhooks.h (lang_hooks_for_decls.ok_for_sibcall): New field.
3126         * calls.c (expand_call): Check lang_hook before generating a
3127         sibcall.
3129 2003-06-10  DJ Delorie  <dj@redhat.com>
3131         * config/stormy16/stormy16.c (xstormy16_extra_constraint_p): Add Z,
3132         which matches (const_int 0) for addhi3.
3133         * config/stormy16/stormy16.md: Document known constraints.
3134         (addhi3): Handle adding zero.
3136 2003-06-10  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3138         * config/m32r/m32r.h (HARD_REGNO_RENAME_OK): New.
3139         * config/m32r/m32r.c (m32r_hard_regno_rename_ok): New.
3140         * config/m32r/m32r-protos.h: Prototype it.
3142 2003-06-10  Janis Johnson  <janis187@us.ibm.com>
3144         * config/rs6000/eabi.h (TARGET_OS_CPP_BUILTINS): Define builtins
3145         common to rs6000 sysv targets.
3146         * config/rs6000/eabisim.h (TARGET_OS_CPP_BUILTINS): Ditto.
3147         * config/rs6000/rtems.h (TARGET_OS_CPP_BUILTINS): Ditto.
3149 2003-06-10  Nick Clifton  <nickc@redhat.com>
3151         * config.gcc: Add arm-wince-pe target.
3152         * config/arm/pe.h (MULTILIB_DEFAULTS): Define.
3153         Add comment about default apcs26 support.
3154         * config/arm/t-pe (MULTILIB_OPTIONS): Add an -mapcs-32
3155         multilib.
3156         (MULTILIB_DIRNAMES): Add 'apcs32'.
3157         * config/arm/t-wince-pe: New makefile fragment.
3158         * config/arm/wince-pe.h: New file.  Overrides a few definitions
3159         in arm/pe.h
3161 2003-06-10  Roger Sayle  <roger@eyesopen.com>
3163         * builtins.c (fold_builtin): Optimize cos(-x) as cos(x).
3164         * fold-const.c (fold <NEGATE_EXPR>): Convert -f(x) into f(-x)
3165         when x is easily negated and f is sin, tan or atan.
3166         (fold <MULT_EXPR>): Optimize tan(x)*cos(x) and cos(x)*tan(x) as
3167         sin(x) with flag_unsafe_math_optimizations.
3168         (fold <RDIV_EXPR>): With flag_unsafe_math_optimizations fold
3169         sin(x)/cos(x) as tan(x) and cos(x)/sin(x) as 1.0/tan(x).
3171 2003-06-10  Roger Sayle  <roger@eyesopen.com>
3173         * fold-const.c (fold <EQ_EXPR>):  Don't fold x == x only if x
3174         is a floating point type *and* we currently honor NaNs.
3175         (fold <NE_EXPR>): Likewise.
3177 2003-06-10  Mark Mitchell  <mark@codesourcery.com>
3179         PR c++/11131
3180         * tree-inline.c (inlinable_function_p): Call the language-specific
3181         hook early.
3183 2003-06-09  David Taylor  <dtaylor@emc.com>
3185         * config/rs6000/rs6000.c (rs6000_va_start, rs6000_va_arg):  Skip over
3186         the f_res field.
3188 2003-06-09  Nathanael Nerode  <neroden@gcc.gnu.org>
3190         * configure.in: Remove references to host_truncate_target.
3191         * configure: Regenerate.
3192         * config.gcc: Remove references to truncate_target,
3193         host_truncate_target.
3195         * Makefile.in, configure.in, config/m68hc11/t-m68hc11-gas:
3196         Replace "build_canonical" with build, "host_canonical" with host.
3197         * configure.in: Use GCC_TOPLEV_SUBDIRS.
3198         * aclocal.m4: Include ../config/acx.m4.
3199         * configure: Regenerate.
3201 2003-06-09  David Taylor  <dtaylor@emc.com>
3203         * config/rs6000/rs6000.c (rs6000_build_va_list): Give the two
3204         bytes of padding in the __va_list_tag structure a name (reserved).
3206 2003-06-09  Jason Merrill  <jason@redhat.com>
3208         * fold-const.c (operand_equal_p): Handle ADDR_EXPR and TRUTH_NOT_EXPR.
3210 2003-06-09  Osku Salerma  <osku@iki.fi>
3212         * c-format.c (check_format_string, get_constant): New.
3213         (handle_format_attribute, handle_format_arg_attribute,
3214         decode_format_attr): Change to use above functions.
3216 2003-06-09  Richard Henderson  <rth@redhat.com>
3218         * stmt.c (expand_asm_operands): Re-word warning.
3220 2003-06-08  Andrew Pinski  <pinskia@physics.uc.edu>
3222         PR target/8787
3223         * config/i386/djgpp.h (ASM_FILE_START): emit `.intel_syntax'
3224         if -masm=intel.
3226 2003-06-09  James E Wilson  <wilson@tuliptree.org>
3228         * config/frv/cmovc.c, config/frv/cmovh.c, config/frv/cmovw.c,
3229         config/frv/frvbegin.c, config/frv/frvend.c, config/frv/lib1funcs.asm:
3230         Add libgcc exception.
3232 2003-06-09  David Edelsohn  <edelsohn@gnu.org>
3233             Ayal Zaks  <gcchaifa@us.ibm.com>
3235         * config/rs6000/rs6000.md (define_attr "type"): Add insert_word.
3236         (insvsi*): Add insert_word attribute.
3237         * config/rs6000/rs6000.c (rs6000_variable_issue): Add TYPE_INSERT_WORD.
3238         * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
3239         power4.md,rios1.md,rios2.md,rs64.md}: Add insert_word.
3241 2003-06-09  Kazu Hirata  <kazu@cs.umass.edu>
3243         * fold-const.c (fold): Fix a comment typo.
3245 2003-06-09  Nathan Sidwell  <nathan@codesourcery.com>
3247         * tree-inline.c (expand_call_inline): DECL_SOURCE_LINE_FIRST is
3248         removed.
3250 2003-06-09  J"orn Rennecke <joern.rennecke@superh.com>
3252         * sh.c (gen_block_redirect): Use locators.
3254 2003-06-09  Richard Earnshaw  <rearnsha@arm.com>
3256         * arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove
3257         cast to int.
3259 2003-06-09  Richard Sandiford  <rsandifo@redhat.com>
3261         * configure.in: Assume gas 2.14 and above can handle MIPS relocation
3262         operators.
3263         * configure: Regenerated.
3265 2003-06-09  Richard Sandiford  <rsandifo@redhat.com>
3266             Alexandre Oliva  <aoliva@redhat.com>
3268         * config/mips/mips.h (GLOBAL_POINTER_REGNUM): New macro.
3269         (PIC_OFFSET_TABLE_REGNUM): Look at pic_offset_table_rtx after reload.
3270         (STARTING_FRAME_OFFSET): Don't allocate a cprestore slot for
3271         n32/64 PIC.
3272         (MUST_SAVE_REGISTERS): Delete.
3273         * config/mips/mips.c (mips_frame_info): Remove extra_size field.
3274         (machine_function): Add global_pointer field.
3275         (mips_classify_constant): Check for (const $gp) using pointer equality
3276         with pic_offset_table_rtx.
3277         (mips_classify_constant): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO.
3278         (mips_restore_gp): Use current_function_outgoing_args_size.
3279         (print_operand): Use PIC_OFFSET_TABLE_REGNUM instead of
3280         GP_REG_FIRST + 28.  Handle relocation strings that have
3281         more than one '('.
3282         (mips_reloc_string): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO.
3283         (mips_global_pointer): New function.
3284         (mips_save_reg_p): New function, mostly split out from...
3285         (compute_frame_size): ...here.  Remove handling of extra_size.
3286         Reclaim args_size if no variables depend on it.  Don't treat gp
3287         as a special case: handle it in the main GPR loop.
3288         (mips_initial_elimination_offset): Fix comment.
3289         (save_restore_insns): Save every register in the GPR mask,
3290         removing distinction between mask and real_mask.
3291         (mips_output_function_prologue): Update .frame psuedo-op after
3292         the removal of extra_size.  Move the SVR4 PIC stack allocation
3293         and cprestore instructions to mips_expand_prologue.
3294         (mips_gp_insn): New function.
3295         (mips_expand_prologue): Set REGNO (pic_offset_table_rtx) to
3296         the chosen global pointer.  Handle SVR4 PIC stack allocation
3297         in the same way as other ABIs.  Adjust varargs code accordingly.
3298         Emit a cprestore insn after allocating the stack.  Use mips_gp_insn
3299         to emit the loadgp sequence.  Follow it with a loadgp_blockage
3300         if not using explicit relocs.
3301         (mips_output_function_epilogue): Reinstate the default gp register.
3302         (mips16_gp_pseudo_reg): Use pic_offset_table_rtx.
3303         (mips16_optimize_gp): Likewise.
3304         * config/mips/mips.md (UNSPEC_LOADGP): Remove.
3305         (UNSPEC_SETJMP, UNSPEC_LONGJMP): Remove.
3306         (UNSPEC_CPRESTORE, RELOC_LOADGP_HI, RELOC_LOADGP_LO): New.
3307         (loadgp): Remove.
3308         (loadgp_blockage, cprestore): New instructions.
3309         (builtin_setjmp_setup): Implement using emit_move_insn.  Use
3310         pic_offset_table_rtx.
3311         (builtin_setjmp_setup_32, builtin_setjmp_setup_64): Remove.
3312         (builtin_longjmp): Use gen_raw_REG to force use of $28.
3314 2003-06-09  Richard Sandiford  <rsandifo@redhat.com>
3316         * config/mips/mips-protos.h (mips_output_division): Declare.
3317         * config/mips/mips.h (MASK_CHECK_RANGE_DIV): Remove.
3318         (MASK_BRANCHLIKELY): Use MASK_CHECK_RANGE_DIV's old number.
3319         (TARGET_NO_CHECK_ZERO_DIV, TARGET_CHECK_RANGE_DIV): Remove.
3320         (TARGET_CHECK_ZERO_DIV): New macro.
3321         (TARGET_SWITCHES): Remove -mcheck-range-div & -mno-check-range-div.
3322         * config/mips/mips.c (mips_output_division): New function.
3323         * config/mips/mips.md (length): Take TARGET_CHECK_ZERO_DIV into
3324         account when calculating the default length of a division.
3325         (divmodsi4, divmoddi4, udivmodsi4, udivmoddi4): Turn into define_insns.
3326         Enable regardless of optimization level.  Use mips_output_division.
3327         (divmodsi4_internal, divmoddi4_internal, udivmodsi4_internal,
3328         udivmoddi4_internal, div_trap, div_trap_normal, div_trap_mips16,
3329         divsi3, divsi3_internal, divdi3, divdi3_internal, modsi3,
3330         modsi3_internal, moddi3, moddi3_internal, udivsi3, udivsi3_internal,
3331         udivdi3, udivdi3_internal, umodsi3, umodsi3_internal, umoddi3,
3332         umoddi3_internal): Remove.
3334 2003-06-09  Richard Sandiford  <rsandifo@redhat.com>
3336         * config/mips/mips.c (mips_reg_names): Change hilo entry to "".
3337         (mips_sw_reg_names): Likewise.
3338         (mips_regno_to_class): Change hilo entry to NO_REGS.
3339         (hilo_operand): Use MD_REG_P.
3340         (extend_operator): New predicate.
3341         (override_options): Remove 'a' constraint.
3342         (mips_secondary_reload_class): Remove hilo handling.  Also remove
3343         handling of (plus sp reg) reloads for mips16.
3344         (mips_register_move_cost): Remove hilo handling.
3345         * config/mips/mips.h (FIXED_REGISTERS): Make hilo entry fixed.
3346         (MD_REG_LAST): Remove hilo from range.
3347         (HILO_REGNUM): Delete.
3348         (reg_class): Remove HILO_REG and HILO_AND_GR_REGS.
3349         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update accordingly.
3350         (PREDICATE_CODES): Add entry for extend_operator.
3351         (DEBUG_REGISTER_NAMES): Change hilo entry to "".
3352         * config/mips/mips.md: Remove hilo clobbers wherever they occur.
3353         Remove constraints from multiplication define_expands.  Remove
3354         clobbers from "decorative" define_expand patterns.
3355         (UNSPEC_HILO_DELAY): Delete.
3356         (*mul_acc_si, *mul_sub_si): Add early-clobber to operand 6.
3357         (mulsidi3, umulsidi3): Change pattern to match the TARGET_64BIT case.
3358         Adjust C code to just emit insns for !TARGET_64BIT.
3359         (mulsidi3_internal): Rename to mulsidi3_32bit.
3360         (mulsidi3_64bit): Use a "d" constraint for the destination.
3361         Use extend_operator so that the pattern can handle umulsidi3 as well.
3362         Split the instruction after reload.
3363         (*mulsidi3_64bit_parts): New pattern, generated by mulsidi3_64bit.
3364         (umulsidi3_internal): Rename to umulsidi3_32bit.
3365         (umulsidi3_64bit): Remove.
3366         (*smsac_di, *umsac_di): Line-wrap fixes.
3367         (udivsi3_internal): Don't allow operand 2 to be constant.
3368         (udivdi3_internal, umodsi3_internal, umoddi3_internal): Likewise.
3369         (movdi_internal2, movsi_internal): Remove hilo alternatives.
3370         (reload_in[sd]i, reload_out[sd]i, hilo_delay): Remove.
3372 2003-06-09  Richard Sandiford  <rsandifo@redhat.com>
3374         PR target/10913
3375         * config/mips/mips.h (TARGET_FILE_SWITCHING, NO_DBX_FUNCTION_END,
3376         PUT_SDB_SCL, PUT_SDB_INT_VAL, PUT_SDB_VAL, PUT_SDB_ENDEF,
3377         PUT_SDB_TYPE, PUT_SDB_SIZE, PUT_SDB_DIM, PUT_SDB_START_DIM,
3378         PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM, PUT_SDB_TAG, PUT_SDB_SRC_FILE,
3379         SDB_GENERATE_FAKE, TEXT_SECTION): Delete.
3380         (PUT_SDB_DEF, PUT_SDB_PLAIN_DEF, PUT_SDB_BLOCK_START,
3381         PUT_SDB_BLOCK_END, PUT_SDB_FUNCTION_END): Replace use of
3382         asm_out_text_file with asm_out_file.
3383         * config/mips/iris5gas.h (PUT_SDB_SIZE, PUT_SDB_TYPE): Likewise.
3384         * config/mips/elf.h (TEXT_SECTION): Undefine.
3385         * config/mips/elf64.h (TEXT_SECION): Undefine.
3386         * config/mips/openbsd.h (TEXT_SECION): Undefine.
3387         * config/mips/mips.c (asm_out_text_file, asm_out_data_file): Delete.
3388         (override_options): Disable small-data optimizations unless using
3389         gas or explicit relocations.
3390         (mips_asm_file_start, mips_asm_file_end, mips_output_function_epilogue,
3391         iris6_asm_named_section, iris6_asm_file_start): Remove code for
3392         handling TARGET_FILE_SWITCHING.
3393         (copy_file_data): Move into TARGET_IRIX6 block.
3395 2003-06-08  Richard Henderson  <rth@redhat.com>
3397         * expr.h (EXPAND_MEMORY): New.
3398         * expr.c (expand_expr): Check it.
3399         * stmt.c (expand_asm_operands): Provide it when the constraint
3400         requires a memory.  Warn for memory input constraints without
3401         a memory operand.
3403 2003-06-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3405         * varasm.c: Don't include c-tree.h.
3407 2003-06-08  Andreas Jaeger  <aj@suse.de>
3409         * predict.h: Convert to ISO C90 prototypes.
3410         * predict.c: Likewise.
3411         * tree-dump.h: Likewise.
3412         * tree-dump.c: Likewise.
3413         * diagnostic.h: Likewise.
3414         * diagnostic.c: Likewise.
3415         * combine.c: Likewise.
3417         * rtl.h: Convert prototypes of combine.c to ISO C90.
3419 Sun Jun  8 21:27:41 CEST 2003  Jan Hubicka  <jh@suse.cz>
3421         * cfglayout.c (insn_scope): New static function
3422         (block_locators_*, line_locators*, file_locators*): New static varrays.
3423         (scope_to_insns_initialize): Use them.
3424         (insn_line, insn_file): New functions.
3425         (scope_to_insns_finalize): Use insn_scope.
3426         (prologue_locator, epilogue_locator): New global variables.
3427         * emit-rt.c (try_split, make_insn_raw, make_jump_insn_raw,
3428         make_call_insn_raw, emit_copy_of_insn_after): Use locators.
3429         (emit_insn_after_scope, emit_insn_before_scope
3430         emit_jump_insn_after_scope, emit_jump_insn_before_scope
3431         emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to...
3432         (emit_insn_after_setloc, emit_insn_before_setloc
3433         emit_jump_insn_after_setloc, emit_jump_insn_before_setloc
3434         emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these;
3435         use locators.
3436         * final.c (notice_source_line): Use locators.
3437         (final_start_function): Set initial source file and line.
3438         (final_scan_insn): Use locators.
3439         * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
3440         noce_try_addcc, noce_try_store_flag_mask, noce_try_cmove,
3441         noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
3442         noce_process_if_block, find_cond_trap): Likewise.
3443         * integrate.c (copy_insn_list): Likewise.
3444         * jump.c (duplicate_loop_exit_test): LIkewise.
3445         * print-rtl.c (print_rtx): Print locators.
3446         * recog.c (peephole2_optimize): Likewise.
3447         * rtl.h (INSN_SCOPE): Remove.
3448         (emit_insn_after_scope, emit_insn_before_scope
3449         emit_jump_insn_after_scope, emit_jump_insn_before_scope
3450         emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to...
3451         (emit_insn_after_setloc, emit_insn_before_setloc
3452         emit_jump_insn_after_setloc, emit_jump_insn_before_setloc
3453         emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these;
3454         (insn_file, insn_line, prologue_locator, epilogue_locator): Declare.
3455         * unroll.c (copy_loop_body): Use locators.
3456         * function.c (set_insn_locators): New function.
3457         (thread_prologue_and_epilogue_insns): Set the locators accordingly.
3459 2003-06-08  Kazu Hirata  <kazu@cs.umass.edu>
3461         * config/h8300/h8300.h (LONG_LONG_TYPE_SIZE): Set to 64.
3462         * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _floatdisf
3463         _fixsfdi _fixunssfdi.
3464         (LIB2FUNCS_EXTRA): Add entries for clzhi2, ctzhi2, parityhi2,
3465         popcounthi2.
3466         (TARGET_LIBGCC2_CFLAGS): Remove -DDI=SI.
3467         * config/h8300/clzhi2.c: New.
3468         * config/h8300/ctzhi2.c: Likewise.
3469         * config/h8300/parityhi2.c: Likewise.
3470         * config/h8300/popcounthi2.c: Likewise.
3472 Sun Jun  8 15:52:17 CEST 2003  Jan Hubicka  <jh@suse.cz>
3474         * i386.md (subsi_3_zext, sse2_nandv2di3): Fix predicates.
3475         * i386.c (k8_avoid_jump_misspredicts): Fix debug output.
3477         * cfg.c (verify_flow_info): Move IL independent checks from cfgrtl here.
3478         (dump_bb): New based on old dump_bb in cfgrtl.c
3479         (debug_bb, debug_bb_n): Move the functions from cfgrtl.c here.
3480         * cfghooks.h (cfgh_verify_flow_info): Return status.
3481         * cfglayout.c (cfg_layout_finalize): Verify CFG correctness.
3482         * cfgrtl.c (debug_bb, debug_bb_n): Move to cfg.c
3483         (dump_bb): Remove generic parts.
3484         (rtl_verify_flow_info_1): Break out from rtl_verify_flow_info.
3485         (rtl_verify_flow_info): Only check things dependeing on linearized RTL.
3487 2003-06-08  Neil Booth  <neil@daikokuya.co.uk>
3489         * Makefile.in: Rename options.c and options.h to c-options.c and
3490         c-options.h.
3491         (OBJS): Remove options.o.
3492         * c-opts.c: Don'tInclude c-options.h instead of options.h.
3493         * opts.c: Don't include options.h.
3494         (find_opt): Can't use enum opt_code or N_OPTS.
3495         * opts.h (struct cl_option, cl_options, cl_options_count): Move from...
3496         * opts.sh: ... here.
3498 2003-06-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
3499             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3501         PR pch/9830
3502         * ggc-common.c (HAVE_MMAP_FILE): Include sys/types.h
3503         if HAVE_MINCORE is defined.
3504         (MAP_FAILED): Define if not defined.
3505         (gt_pch_save): Test against MAP_FAILED.
3506         (gt_pch_restore): If HAVE_MINCORE, use MAP_FIXED to force
3507         the mapping address to the preferred base after checking it
3508         is possible to do so. Test against MAP_FAILED.
3509         * configure.in: Test for the presence of mincore in libc.
3510         * config.in: Regenerate.
3511         * configure: Regenerate.
3513 2003-06-07  Richard Henderson  <rth@redhat.com>
3515         * config/alpha/alpha.c (alpha_setup_incoming_varargs): Fix
3516         conditional compilation guard.
3518 2003-06-08  Kazu Hirata  <kazu@cs.umass.edu>
3520         * optabs.c (expand_abs): Set result_unsignedp to 1 if
3521         flag_trav is zero.
3523 2003-06-07  Richard Henderson  <rth@redhat.com>
3525         * c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.
3527 2003-06-07  Richard Henderson  <rth@redhat.com>
3529         * basic-block.h (EDGE_SIBCALL): New.
3530         (EDGE_ALL_FLAGS): Update.
3531         * cfg.c (dump_edge_info): Add sibcall name.
3532         * cfgbuild.c (make_edges): Use EDGE_SIBCALL.
3533         * cfgrtl.c (purge_dead_edges): Handle sibcalls.
3535 2003-06-07  Andreas Jaeger  <aj@suse.de>
3537         * mklibgcc.in (lib2funcs): Remove _exit.
3538         * libgcc2.c: Remove L_exit.
3539         * gbl-ctors.h: Remove declarations dependend on NEED_ATEXIT.
3541         * system.h: Poison NEED_ATEXIT, ON_EXIT, EXIT_BODY.
3543         * doc/tm.texi (Misc): Remove NEED_ATEXIT, ON_EXIT, EXIT_BODY.
3545         * ggc.h: Convert to ISO C90 prototypes.
3546         * ggc-none.c: Likewise.
3547         * ggc-common.c: Likewise.
3548         * ggc-page.c: Likewise.
3549         * ggc-simple.c: Likewise.
3551         * crtstuff.c: Remove undefined usage of INIT_SECTION_PREAMBLE.
3553         * system.h: Poison INIT_SECTION_PREAMBLE.
3555 2003-06-07  Zack Weinberg  <zack@codesourcery.com>
3557         * config.gcc (with_cpu handling): Translate sparc64 in
3558         $machine to --with-cpu=v9.
3559         * config/alpha/alpha.c
3560         (TARGET_ASM_GLOBALIZE_LABEL [TARGET_ABI_UNICOSMK]): Correct definition.
3561         (alpha_setup_incoming_varargs): #ifdef out when TARGET_ABI_UNICOSMK.
3563         * target.h: New hook asm_out.file_end.
3564         * target.h: Update to match.  New hook macro TARGET_ASM_FILE_END.
3565         * toplev.c (compile_file): Use targetm.asm_out.file_end.
3566         * system.h: Poison ASM_FILE_END.
3567         * varasm.c (file_end_indicate_exec_stack): New.
3568         * output.h: Prototype it.
3569         * doc/tm.texi: Document TARGET_ASM_FILE_END and
3570         file_end_indicate_exec_stack.  Delete references to attasm.h.
3572         * config/darwin.h (TARGET_ASM_FILE_END): Reset to darwin_file_end.
3573         (ASM_FILE_END): Delete; move code...
3574         * config/darwin.c (darwin_file_end): Here; new function.
3575         * config/darwin-protos.h: Prototype it.
3576         * config/alpha/alpha.c (unicosmk_asm_file_end): Make static,
3577         rename unicosmk_file_end.
3578         * config/arm/aof.h (ASM_FILE_END): Delete; move code...
3579         * config/arm/arm.c (aof_file_end): ... here; new static function.
3580         Set TARGET_ASM_FILE_END to aof_file_end if AOF_ASSEMBLER.
3581         Make aof_dump_imports and aof_dump_pic_table static.
3582         * config/avr/avr.c (asm_file_end): Rename avr_file_end, make static.
3583         Set TARGET_ASM_FILE_END to avr_file_end.
3584         * config/c4x/c4x.c (c4x_file_end): Make static.  Take no arguments.
3585         Set TARGET_ASM_FILE_END to c4x_file_end.
3586         * config/h8300/h8300.c (asm_file_end): Rename h8300_file_end,
3587         make static. Take no arguments.  Set TARGET_ASM_FILE_END to
3588         h8300_file_end.
3589         * config/i370/i370.h (ASM_FILE_END): Delete; move code...
3590         * config/i370/i370.c (i370_file_end): ... here; new static function.
3591         Set TARGET_ASM_FILE_END to i370_file_end.
3592          * config/i386/i386.c (ix86_asm_file_end): Rename ix86_file_end.
3593          Take no arguments.  Call file_end_indicate_exec_stack if
3594          NEED_INDICATE_EXEC_STACK; don't use SUBTARGET_FILE_END.
3595         * config/i386/i386.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END.
3596         Define NEED_INDICATE_EXEC_STACK to 0.
3597         * config/i386/linux.h, config/i386/linux64.h: Redefine
3598         NEED_INDICATE_EXEC_STACK to 1 instead of setting SUBTARGET_FILE_END.
3599         * config/i386/winnt.c (i386_pe_asm_file_end): Rename to
3600         i386_pe_file_end.  Take no arguments.  Use ix86_file_end.
3601         * config/ia64/ia64.c (ia64_hpux_asm_file_end): Rename to
3602         ia64_hpux_file_end, make static.  Take no arguments.
3603         * config/ip2k/ip2k.c (asm_file_start, asm_file_end,
3604         commands_in_prologues, commands_in_epilogues): Delete.
3605         (function_epilogue): Update to match.
3606         * config/mips/mips.c (mips_asm_file_end): Rename mips_file_end,
3607         make static.  Take no arguments.
3608         (iris6_asm_file_end): Rename iris6_file_end, make static, use
3609         mips_file_end, take no arguments.
3610         Set TARGET_ASM_FILE_END to iris6_file_end or mips_file_end as
3611         appropriate.
3612         * config/mmix/mmix.c (mmix_asm_file_end): Rename mmix_file_end,
3613         make static, take no arguments. Set TARGET_ASM_FILE_END to
3614         mmix_file_end.
3615         * config/pa/pa.c (output_deferred_plabels): Make static, take
3616         no arguments.  Set TARGET_ASM_FILE_END to output_deferred_plabels.
3617         * config/rs6000/xcoff.h (TARGET_ASM_FILE_END): Set it.
3618         (ASM_FILE_END): Delete; move code...
3619         * config/rs6000/rs6000.c (rs6000_xcoff_file_end): ... here;
3620         new static function.
3622         * config/avr/avr.h, config/cris/cris.h, config/h8300/h8300.h
3623         * config/mmix/mmix.h, config/mips/iris6.h, config/mips/mips.h:
3624         Don't set ASM_FILE_END.
3625         * config/alpha/linux-elf.h, config/m68k/linux.h, config/rs6000/linux.h
3626         * config/rs6000/linux64.h, config/s390/linux.h, config/sparc/linux.h
3627         * config/sparc/linux64.h: Set TARGET_ASM_FILE_END to
3628         file_end_indicate_exec_stack; don't set ASM_FILE_END.
3629         * config/alpha/unicosmk.h, config/i386/cygming.h
3630         * config/ia64/hpux.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END.
3631         * config/arm/arm-protos.h, config/alpha/alpha-protos.h
3632         * config/avr/avr-protos.h, config/c4x/c4x-protos.h
3633         * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
3634         * config/ip2k/ip2k-protos.h, config/mips/mips-protos.h
3635         * config/mmix/mmix-protos.h, config/pa/pa-protos.h: Update.
3637 Sat Jun  7 18:32:13 CEST 2003  Jan Hubicka  <jh@suse.cz>
3639         * i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is
3640         specified.
3642 Sat Jun  7 15:20:01 CEST 2003  Jan Hubicka  <jh@suse.cz>
3644         * Makefile.in (stageprofile_build): Kill redundant target.
3645         * i386.c (mdep_reorg): Don't pad jumps for Athlon.
3647 2003-06-07  Andreas Jaeger  <aj@suse.de>
3649         * doc/tm.texi (Costs): Remove DONT_REDUCE_ADDR documentation.
3651         * config/avr/avr.h: Remove comment regarding DONT_REDUCE_ADDR.
3652         * config/dsp16xx/dsp16xx.h: Likewise.
3653         * config/i386/i386.h: Likewise.
3654         * config/ip2k/ip2k.h: Likewise.
3656 2003-06-07  Neil Booth  <neil@daikokuya.co.uk>
3658         * Makefile.in (OJBS, c-opts.o): Update.
3659         (c-options.c, c-options.h): Rename options.h and options.c.
3660         (options.h): Rename options_.h.
3661         (opts.o): New.
3662         * c-common.h (c_common_handle_option): Replace c_common_decode_option.
3663         (c_common_init_options): Update prototype.
3664         * c-lang.c (c_init_options): Update prototype.
3665         (LANG_HOOKS_HANDLE_OPTION): Override.
3666         (LANG_HOOKS_DECODE_OPTION): Drop.
3667         * c-opts.c: Include opts.h and options.h instead of c-options.h
3668         and c-options.c.
3669         (lang_flags): Move to file scope.
3670         (find_opt, c_common_decode_option): Remove.
3671         (CL_C, CL_OBJC, CL_CXX, CL_OBJCXX, CL_JOINED, CL_SEPARATE,
3672         CL_REJECT_NEGATIVE): Move to opts.h.
3673         (missing_arg): Update prototype.
3674         (c_common_init_options): Update for new prototype.
3675         (c_common_handle_options): Filenames are passed as N_OPTS.
3676         * hooks.c (hook_int_void_0): New.
3677         * hooks.h (hook_int_void_0): New.
3678         * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): New default.
3679         (LANG_HOOKS_HANDLE_OPTION): Default to NULL for now.
3680         (LANG_HOOKS_INITIALIZER): Update.
3681         * langhooks.h (init_options): Update.
3682         (handle_option): New.
3683         * opts.c, opts.h: New files.
3684         * opts.sh: Update c file to include opts.h and options.h.
3685         * toplev.c: Include opts.h; change options.h to options_.h.
3686         (parse_options_and_default_flags): Get lang_mask, use
3687         handle_option for language-specific handling.
3688         * objc/objc-lang.c (LANG_HOOKS_DECODE_OPTON): Drop.
3689         (LANG_HOOKS_HANDLE_OPTION): Override.
3690         (objc_init_options): Update.
3692 2003-06-07  Magnus Kreth <magnus.kreth@gmx.de>
3693             Thibaud Gaillard <thibaud.gaillard@nto.atmel.com>
3695         PR other/7031
3696         * Makefile.in (install-common): Remove GCOV_INSTALL_NAME instead of
3697         gcov.
3699 2003-06-07  Kelley Cook  <kelleycook@wideopenwest.com>
3701         * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in
3702         section names.
3703         * configure: Regenerate.
3705 2003-06-07  Alan Modra  <amodra@bigpond.net.au>
3707         * config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define.
3709 2003-06-06  James E Wilson  <wilson@tuliptree.org>
3711         PR inline-asm/10890
3712         * reload1.c (merge_assigned_reloads): Abort only if two reloads have
3713         different in fields.
3715 2003-06-06  Nathanael Nerode  <neroden@gcc.gnu.org>
3717         * configure.in: Make $(target_subdir) correspond with top level usage.
3718         * Makefile.in: Likewise.
3719         * configure: Regenerate.
3721 2003-06-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3723         * pa.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_COMMON,
3724         ASM_OUTPUT_ALIGNED_LOCAL): Cast `SIZE' and `ALIGNED' parameters to
3725         unsigned HOST_WIDE_INT.
3726         * pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMOM, ASM_OUTPUT_ALIGNED_LOCAL):
3727         Likewise.
3728         * pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL):
3729         Likewise.
3731 2003-06-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3733         * doc/install.texi (Prerequisites): New section documenting
3734         tools and packages necessary prior to building and/or
3735         modifying GCC.
3736         * doc/install.texi2html: Also generate prerequisites.html.
3738 2003-06-06  Richard Earnshaw  <rearnsha@arm.com>
3740         PR target/11052
3741         * ifcvt.c (noce_process_if_block): Fail if the destination has
3742         side-effects.
3744 2003-06-06  Jason Merrill  <jason@redhat.com>
3746         * stmt.c (resolve_asm_operand_names): Rename from
3747         resolve_operand_names.  No longer static.  Avoid needless copying.
3748         Don't build array of constraints.
3749         (expand_asm_operands): Build it here.
3750         * tree.h: Declare resolve_asm_operand_names.
3752         * stmt.c (expand_decl): Put artificial vars into registers even
3753         when not optimizing, and don't mark the regs as user vars.
3755 2003-06-06  J"orn Rennecke <joern.rennecke@superh.com>
3757         * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
3758         of the generated register.
3760 2003-06-06  Daniel Jacobowitz  <drow@mvista.com>
3762         * config.gcc: Add a missing sparc64 case.
3764 2003-06-06  Jakub Jelinek  <jakub@redhat.com>
3766         * mklibgcc.in: Propagate .note.GNU-stack section if needed into
3767         the .hidden assembly stubs.
3769 2003-06-06  H.J. Lu <hongjiu.lu@intel.com>
3771         * config.gcc (extra_headers): Add emmintrin.h for i[34567]86-*-*
3772         and x86_64-*-*.
3774         * config/i386/mmintrin.h: Update version and add alternate
3775         intrinsic names.
3776         * config/i386/xmmintrin.h: Likewise.
3778         * config/i386/xmmintrin.h: Include <emmintrin.h>. Move SSE2
3779         intrinsics to ...
3780         * config/i386/emmintrin.h: Here. New file.
3782 2003-06-06  Roger Sayle  <roger@eyesopen.com>
3784         * fold-const.c (fold <ABS_EXPR>):  Re-fold the result of folding
3785         fabs(-x) into fabs(x).  Use tree_expr_nonnegative_p to determine
3786         when the ABS_EXPR (fabs or abs) is not required.
3787         (tree_expr_nonnegative_p): Move the logic that sqrt and exp are
3788         always nonnegative from fold to here.  Additionally, cabs and fabs
3789         are always non-negative, and pow and atan are non-negative if
3790         their first argument is non-negative.
3792         * builtins.c (fold_builtin_cabs): New function to fold cabs{,f,l}.
3793         Evaluate cabs of a constant at compile-time.  Convert cabs of a
3794         non-complex argument into fabs.  Convert cabs(z) into
3795         sqrt(z.r*z.r + z.i*z.i) at the tree-level with -ffast-math or
3796         -funsafe-math-optimizations or -ffast-math.
3797         (fold_builtin): Convert BUILT_IN_FABS{,F,L} into an ABS_EXPR.
3798         Fold BUILT_IN_CABS{,F,L} using fold_builtin_cabs.
3800 Thu Jun  5 20:51:09 CEST 2003  Jan Hubicka  <jh@suse.cz>
3802         * sourcebuild.texi (Front End Directory): Document new hooks.
3804 Fri Jun  6 11:02:35 CEST 2003  Jan Hubicka  <jh@suse.cz>
3806         * function.c (FLOOR_ROUND, CEIL_ROUND): Fix.
3807         * i386.md (gen_pro_epilogue_adjust_stack): Deal with gigantic
3808         stack frames.
3809         (pro_epilogue_adjust_stack_rex64_2): New pattern
3811 Fri Jun  6 11:03:14 CEST 2003  Jan Hubicka  <jh@suse.cz>
3812                                Pop Sebastian
3813                                Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3815         * cfghooks.h, cfghooks.c: New files.
3816         * Makefile.in (BASIC_BLOCK_H): Depends on cfghooks.h.
3817         (OBJS): Add cfghooks.o.
3818         (cfghooks.o): New rule.
3819         * basic-block.h (split_edge): Rename to rtl_split_edge.
3820         (verify_flow_info): Rename to rtl_verify_flow_info.
3821         (cfghooks.h): Included here.
3822         * cfgrtl.c (split_edge): Renamed rtl_split_edge.
3823         (verify_flow_info): Renamed rtl_verify_flow_info.
3824         * toplev.c (rest_of_compilation): Call rtl_register_cfg_hooks.
3826         * basic-block.h (split_block, split_edge, flow_delete_block,
3827         redirect_edge_and_branch, redirect_edge_and_branch_force): Delete.
3828         (flow_delete_block_noexpunge):  Return void.
3829         * cfg.c (verify_flow_info): New function.
3830         * cfgcleanup.c (try_simplify_condjump, outgoing_edges_match,
3831         try_crossjump_to_edge, try_optimize_cfg, delete_unreachable_blocks):
3832         Use delete_block.
3833         * cfglayout.c (function_footer): Rename to...
3834         (cfg_layout_function_footer): ... this variable
3835         (unlink_insn_chain): Make global.
3836         (fixup_reorder_chain, record_effective_endpoints): Update.
3837         (cleanup_unconditional_jumps): Use delete_block.
3838         (cfg_layout_redirect_edge, cfg_layout_split_block): Move to cfgrtl.c
3839         (cfg_layout_duplicate_bb): Use redirect_edge_and_branch_force.
3840         (cfg_layout_initialize, cfg_layout_finalize): Update hooks.
3841         * cfglayout.h (cfg_layout_redirect_edge, cfg_layout_split_block):  Delete.
3842         (cfg_layout_function_footer): Declare.
3843         * cfgloopmanip (split_loop_bb): Do not update RBI.
3844         (remove_bbs): Use delete_block.
3845         (loop_reidrect_edge, loop_delete_branch_edge): Use
3846         redirect_edge_and_branch.
3847         (create_preheader): Use split_block and redirect_edge_and_branch_force.
3848         (split_edge_with): Likewise.
3849         * cfgrtl.c: Include cfglayout.h
3850         (split_edge): Rename to ...
3851         (rtl_split_edge) ... this one; make local.
3852         (redirect_edge_and_branch): Rename to ...
3853         (rtl_redirect_edge_and_branch) ... this one; make local.
3854         (redirect_edge_and_branch_force): Rename to ...
3855         (rtl_redirect_edge_and_branch_force) ... this one; make local.
3856         (cfg_layout_delete_block, cfg_layout_delete_edge_and_branch_force): New.
3857         (cfg_layout_redirect_edge_and_branch, cfg_layout_split_block): Move here from
3858         cfglayout.c; update to directly call RTL counterparts.
3859         (rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): New functions.
3860         * ifcvt.c (find_cond_trap): Use delete_block.
3861         (find_if_case_1): Use delete_block.
3862         (find_if_case_2): Use delete_block.
3863         * rtl.h (unlink_insn_chain): Declare.
3864         * toplev.c (rtl_reigster_cfg_hooks): New.
3866 2003-06-05  Richard Henderson  <rth@redhat.com>
3868         * recog.c (peephole2_optimize): Revert last change.
3870 2003-06-05  Richard Henderson  <rth@redhat.com>
3872         * recog.c (peephole2_optimize): Don't split block unless
3873         can_throw_internal.
3875 2003-06-06  Kazu Hirata  <kazu@cs.umass.edu>
3877         * config/h8300/h8300.c (get_shift_alg): Correct the syntax of rotxl.
3878         * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): Likewise.
3880 2003-06-05  Kelley Cook  <kelleycook@wideopenwest.com>
3882         PR optimization/4490
3883         * config/i386/i386.md: Don't use XFMode if TARGET_128BIT_LONG_DOUBLE.
3884         * doc/invoke.texi (m96bit-long-double, m128bit-long-double):  Reword
3885         documentation to accurately reflect what these options do.
3887 2003-06-06  Kaz Kojima  <kkojima@gcc.gnu.org>
3889         * config/sh/linux.h (STARTFILE_SPEC): Handle -pie.  Simplify.
3890         (ENDFILE_SPEC): Redefine to handle -pie.
3892 2003-06-05  Phil Edwards <phil@jaj.com>
3894         * Makefile.in (qmtest-g++): Use target_alias, not target.
3896 2003-06-05  Per Bothner  <pbothner@apple.com>
3898         * toplev.c (push_srcloc):  Simplify behavior to save current location
3899         and set current location to parameters.
3900         (pop_srcloc):  Simplify semantics.
3901         (lang_dependent_init):  Remove now-useless initial push_srcloc.
3903 2003-05-06  Richard Henderson  <rth@redhat.com>
3905         * dwarf2out.c (loc_descriptor_from_tree): Return 0 for
3906         language-specific tree codes.
3908 2003-06-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3910         PR middle-end/9986
3911         * pa.c (pa_init_builtins): Also set implicit_built_in_decls for
3912         BUILT_IN_FPUTC_UNLOCKED to NULL_TREE.
3914 Thu Jun  5 18:32:46 CEST 2003  Jan Hubicka  <jh@suse.cz>
3916         * install.tex: Document profiledbootstrap.
3918         * configure.in:  Add support for lang.stageprofile and
3919         lang.stagefeedback
3920         * Makefile.in (clean, distclean): Kill new stages
3921         (POSTSTAGE1_FLAGS_TO_PASS): Break from ...
3922         (STAGE2_FLAGS_TO_PASS): ... this one.
3923         (STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New.
3924         (stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS.
3925         (stageprofile_build, stageprofile_copy, stagefeedback_build,
3926         stagefeedback_copy): New.
3927         (restageprofile, restagefeedback, stageprofile-start,
3928         stageprofile, stagefeedback-start): Likewise.
3930 2003-06-05  David Miller  <davem@redhat.com>
3931             Richard Henderson  <rth@redhat.com>
3933         * optabs.c (HAVE_conditional_trap): Provide default.
3934         (gen_conditional_trap): Likewise.
3935         (init_optabs): Merge init_traps.
3936         (gen_cond_trap): Use prepare_operand.  Restructure and avoid ifdef.
3938 Thu Jun  5 14:59:44 CEST 2003  Jan Hubicka  <jh@suse.cz>
3940         * combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8))
3941         is REG for nonzero_bits (REG) == 8.
3943 Thu Jun  5 13:23:51 CEST 2003  Jan Hubicka  <jh@suse.cz>
3945         * i386.md (align): Fix warning; clarify what to do when no p2align
3946         is available.
3948 2003-06-05  Nick Clifton  <nickc@redhat.com>
3950         * config.gcc (m32r-elf): Revert previous delta.
3951         * config/m32r/t-m32r (crtinit.o): Fix rule to work with
3952         multilibs.  Remove m32rx specific version.
3953         (crtfini.o): Likewise.
3954         (EXTRA_MULTILIB_PARTS): Define.
3956 2003-06-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
3958         * doc/md.texi (Machine Constraints): Correct the meaning of
3959         constraints related to floating-point registers on SPARC.
3961 2003-06-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
3962             Paolo Bonzini  <bonzini@gnu.org>
3964         PR target/10663
3965         * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect
3966         assembler and linker output to /dev/null.
3967         Use a 'sed' construct instead of 'grep -A1'.
3968         * configure: Regenerate.
3970 2003-06-04  Richard Henderson  <rth@redhat.com>
3972         * config/i386/i386.c (struct ix86_address): Add seg.
3973         (no_seg_address_operand): New.
3974         (ix86_decompose_address): Restructure PLUS loop.  Accept one
3975         UNSPEC_TP if TARGET_TLS_DIRECT_SEG_REFS.  Adjust ESP swap test
3976         to test for a regnum, not stack_pointer_rtx.
3977         (ix86_address_cost): Reduce cost if non-default segment.
3978         (legitimate_address_p): Remove UNSPEC_TP check.
3979         (get_thread_pointer): Add to_reg argument.  Don't represent
3980         the thread pointer as a memory load.
3981         (legitimize_tls_address): Split out of ...
3982         (legitimize_address): ... here.
3983         (print_operand_address): Handle parts.seg.
3984         (ix86_expand_move): Use legitimize_tls_address.
3985         (ix86_rtx_costs): Handle UNSPEC_TP.
3986         * config/i386/i386.h (MASK_TLS_DIRECT_SEG_REFS): New.
3987         (TARGET_TLS_DIRECT_SEG_REFS): New.
3988         (TARGET_SWITCHES): Add tls-direct-seg-refs.
3989         (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Default.
3990         (PREDICATE_CODES): Add no_seg_address_operand.
3991         * config/i386/i386.md (lea_1): Use it.
3992         (lea_1_rex64, lea_1_zext, lea_2_rex64): Likewise.
3993         (load_tp_si, add_tp_si, load_tp_di, add_tp_di): New.
3994         * config/i386/linux.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
3995         * config/i386/linux64.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
3996         * doc/invoke.texi: Add -mtls-direct-seg-refs.
3998 2003-06-04  Mark Mitchell  <mark@codesourcery.com>
4000         * Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation.
4001         (QMTEST_GPP_TESTS): Use "g++" by default.
4002         (stamp-qmtest): Tweak database creation.
4003         (QMTEST_DIR/context): Update context file format.
4004         (qmtest-g++): Tweak command-line.
4006 2003-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4008         * Makefile.in (varasm.o): Don't set -Wno-error.
4009         * rs6000/t-rs6000 (varasm.o, out_object_file): Don't clear.
4011 2003-06-04  Zack Weinberg  <zack@codesourcery.com>
4013         PR bootstrap/3163
4014         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete.
4015         (gcc_AC_FUNC_MMAP_BLACKLIST): New.
4016         * configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS
4017         and AC_CHECK_FUNCS lists, respectively.  Use
4018         gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor
4019         AC_FUNC_MMAP_FILE.
4020         * configure, config.in: Regenerate.
4022 2003-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4024         * arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
4025         * arm.c (arm_output_function_prologue): Fix format specifiers.
4026         * arm.h (ARM_PRINT_OPERAND_ADDRESS): Likewise.
4027         * m68k.c (m68k_output_mi_thunk): Use more readable %wd instead of
4028         HOST_WIDE_INT_PRINT_DEC.
4029         * vax.c (vax_output_function_prologue): Fix format specifiers.
4031 2003-06-04  Richard Henderson  <rth@redhat.com>
4033         * cse.c (find_best_addr): Consider binary operators even if second
4034         argument is not CONST_INT.
4036 2003-06-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
4038         * doc/invoke.texi (max-cse-path-length): Document.
4040 2003-06-04  Richard Henderson  <rth@redhat.com>
4042         * config/i386/i386.md (align): Use ASM_OUTPUT_*ALIGN macros.
4044 2003-06-04  Andrew Pinski <pinskia@physics.uc.edu>
4046         * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME):
4047         Remove semi-colon at the end of the expression.
4049 2003-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4051         * i370.c (mvs_function_name_length): Fix signed/unsigned warnings.
4052         * i370.h (mvs_function_name_length): Likewise.
4053         * i960.h (CONSTANT_ALIGNMENT): Likewise.
4054         * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
4055         * pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
4056         * pa.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
4057         * rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Delete unused
4058         variable.
4060 2003-06-04  Daniel Jacobowitz  <drow@mvista.com>
4062         * config.gcc: Reorganize --with-cpu logic.  Set
4063         configure_default_options according to the default CPU, --with-cpu,
4064         --with-arch, --with-tune, --with-schedule, --with-abi, and
4065         --with-float.  Check for legal values of various options.
4066         * configure.in: Define configure_default_options in configargs.h.
4067         * configure: Regenerated.
4068         * config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
4069         (TARGET_DEFAULT_FLOAT_P): New macros.
4070         * gcc.c (do_option_spec): New function.
4071         (struct default_spec, option_default_specs): New.
4072         (main): Call do_option_spec.
4073         * config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
4074         config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
4075         config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.
4077         * doc/install.texi: Update --with-cpu documentation.  Mention
4078         --with-arch, --with-schedule, --with-tune, --with-abi, and
4079         --with-float.
4080         * doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.
4082 2003-06-04  Daniel Jacobowitz  <drow@mvista.com>
4084         * config.gcc: Only process --with-cpu logic in the third pass.
4086 2003-06-04  Daniel Jacobowitz  <drow@mvista.com>
4088         * config.gcc: Reorganize --with-cpu section.  Remove an
4089         obsolete comment about the default CPU for x86-64.  Fix
4090         a typo for the ep9312.  Update the list of supported PowerPC
4091         CPUs.  Support a limited set of new --with-cpu options
4092         for i386.
4094 2003-06-04  Aldy Hernandez  <aldyh@redhat.com>
4096         * config/rs6000/rs6000.c (rs6000_complex_function_value): Unpack
4097         complex numbers <= 32 bits into two registers.
4099 2003-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4101         * alpha.c (print_operand_address): Fix format specifier warnings.
4102         * alpha/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
4103         * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
4104         * arm/aof.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
4105         * arm/pe.h (ASM_OUTPUT_COMMON): Likewise.
4106         * avr.h (ASM_OUTPUT_COMMON, ASM_GENERATE_INTERNAL_LABEL,
4107         ASM_OUTPUT_SKIP): Likewise.
4108         * c4x.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4109         * dsp16xx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4110         * h8300.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_COMMON):
4111         Likewise.
4112         * i370.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4113         * i386/cygming.h (ASM_OUTPUT_COMMON): Likewise.
4114         * i386/darwin.h (ASM_OUTPUT_COMMON): Likewise.
4115         * i960.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4116         * m68k/hp320.h (PRINT_OPERAND_ADDRESS): Likewise.
4117         * mcore.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
4118         * pdp11.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4119         * ptx4.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
4120         * sparc/freebsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4121         * svr3.h (ASM_OUTPUT_COMMON): Likewise.
4123 2003-06-04  J"orn Rennecke <joern.rennecke@superh.com>
4125         * c-decl.c (c_init_decl_processing): Clear input_file_name
4126         while building common nodes.
4127         * dwarf2out.c (gen_compile_unit_die, dwarf2out_finish):
4128         Don't add working directory for strings like <built-in> .
4130 2003-06-04  David Edelsohn  <edelsohn@gnu.org>
4132         * doc/install.texi (*-ibm-aix*): Native as and ld required
4133         to bootstrap on AIX 5L.
4135 2003-06-04  Richard Henderson  <rth@redhat.com>
4137         * c-common.c (handle_cleanup_attribute): New.
4138         (c_common_attributes): Add it.
4139         * c-decl.c (finish_decl): Honor the cleanup attribute.
4140         * doc/extend.texi (Variable Attributes): Document it.
4142         * unwind-c.c: New file.
4143         * Makefile.in (LIB2ADDEH): Add it.
4144         * config/t-darwin, config/t-linux, config/t-linux-gnulibc1,
4145         config/ia64/t-ia64: Likewise.
4147 2003-06-04  Jakub Jelinek  <jakub@redhat.com>
4149         * function.c (trampolines_created): New variable.
4150         (expand_function_end): Set it when doing INITIALIZE_TRAMPOLINE.
4151         * function.h (trampolines_created): Add.
4152         * config/s390/linux.h (ASM_FILE_END): Define.
4153         * config/alpha/linux-elf.h (ASM_FILE_END): Define.
4154         * config/m68k/linux.h (ASM_FILE_END): Define.
4155         * config/rs6000/linux.h (ASM_FILE_END): Define.
4156         * config/rs6000/linux64.h (ASM_FILE_END): Define.
4157         * config/rs6000/ppc-asm.h: Add .note.GNU-stack on powerpc-linux.
4158         * config/sparc/linux.h (ASM_FILE_END): Define.
4159         * config/sparc/linux64.h (ASM_FILE_END): Define.
4160         * config/i386/i386.c (ix86_asm_file_end): Use SUBTARGET_FILE_END.
4161         * config/i386/linux.h (SUBTARGET_FILE_END): Define.
4162         * config/i386/linux64.h (SUBTARGET_FILE_END): Define.
4164 Wed Jun  4 18:39:33 CEST 2003  Jan Hubicka  <jh@suse.cz>
4166         * i386.c (min_insn_size, k8_avoid_jump_misspredicts): New functions
4167         (ix86_reorg): Use it.
4168         * i386.md (align): New insn pattern.
4170 2003-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4172         * toplev.c (rest_of_type_compilation): Fix typo.
4174 2003-06-04  Jakub Jelinek  <jakub@redhat.com>
4175             Alan Modra  <amodra@bigpond.net.au>
4177         * config/i386/linux.h (NO_PROFILE_COUNTERS): Define to 1.
4178         * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Likewise.
4179         * config/i386/netbsd-elf.h (NO_PROFILE_COUNTERS): Likewise.
4180         * config/xtensa/xtensa.h (NO_PROFILE_COUTNERS): Likewise.
4181         * config/darwin.h (NO_PROFILE_COUNTERS): Likewise.
4182         * final.c (NO_PROFILE_COUNTERS): Define to 0 if not defined.
4183         (profile_function): Allow NO_PROFILE_COUNTERS to be non-constant.
4184         * config/rs6000/rs6000.c (output_profile_hook): Likewise.
4186         * configure.in (powerpc*-*, s390*-*): Set tls_as_opt.
4187         Pass it to $gcc_cv_as.
4188         * configure: Rebuilt.
4190         * config/rs6000/rs6000.c (rs6000_abi_name): Remove initializer.
4191         (print_operand): Allow TARGET_AIX to be non-constant.
4192         (rs6000_aix_emit_builtin_unwind_init, rs6000_emit_eh_toc_restore):
4193         Define unconditionally.
4194         (rs6000_elf_declare_function_name): New function.
4195         * config/rs6000/rs6000.md (eh_return): Allow TARGET_AIX to be
4196         non-constant.
4197         * config/rs6000/linux64.h [!RS6000_BI_ARCH] (TARGET_64BIT): Define
4198         to 1.
4199         (DEFAULT_ARCH64_P, RS6000_BI_ARCH_P): Define.
4200         [IN_LIBGCC2] (TARGET_64BIT): Define based on whether __powerpc64__
4201         is defined.
4202         (TARGET_AIX): Define to 1 if TARGET_64BIT.
4203         (PROCESSOR_DEFAULT): Remove.
4204         (TARGET_RELOCATABLE, RS6000_ABI_NAME, INVALID_64BIT,
4205         INVALID_32BIT, SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
4206         [RS6000_BI_ARCH] (OVERRIDE_OPTIONS, ASM_FILE_START): Define.
4207         (ASM_DEFAULT_SPEC, ASM_SPEC, LINK_OS_LINUX_SPEC): Define for both
4208         -m32 and -m64.
4209         (MULTILIB_DEFAULTS): Define.
4210         (SUBSUBTARGET_EXTRA_SPECS): Define.
4211         (ASM_SPEC32, ASM_SPEC64, ASM_SPEC_COMMON): Define.
4212         (TARGET_TOC): Define only if !RS6000_BI_ARCH.
4213         (TARGET_NO_TOC): Remove.
4214         [!RS6000_BI_ARCH] (TARGET_RELOCATABLE, TARGET_EABI,
4215         TARGET_PROTOTYPE): Define to 0.
4216         (NO_PROFILE_COUNTERS): Define to TARGET_64BIT.
4217         (PROFILE_HOOK): Only call output_profile_hook if TARGET_64BIT.
4218         (ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Adjust to work properly
4219         if !TARGET_64BIT.
4220         (USER_LABEL_PREFIX): Remove.
4221         (JUMP_TABLES_IN_TEXT_SECTION): Define to TARGET_64BIT.
4222         (SETUP_FRAME_ADDRESSES): Only call rs6000_aix_emit_builtin_unwind_init
4223         if TARGET_64BIT.
4224         (TARGET_OS_CPP_BUILTINS): Handle both -m32 and -m64.
4225         (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Define.
4226         (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Remove.
4227         (TOC_SECTION_ASM_OP): Define depending on TARGET_64BIT.
4228         (MINIMAL_TOC_SECTION_ASM_OP): Likewise.
4229         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Define depending on
4230         TARGET_64BIT.
4231         (RS6000_CALL_GLUE): Likewise.
4232         (SAVE_FP_PREFIX, SAVE_FP_SUFFIX, RESTORE_FP_PREFIX,
4233         RESTORE_FP_SUFFIX): Likewise.
4234         (ASM_DECLARE_FUNCTION_NAME): Remove.
4235         (ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_SOURCE_LINE,
4236         DBX_OUTPUT_BRAC, DBX_OUTPUT_NFUN): Only output dot before function
4237         name if TARGET_64BIT.
4238         (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Handle both TARGET_64BIT and
4239         !TARGET_64BIT.
4240         (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Remove undefs.
4241         (ASM_PREFERRED_EH_DATA_FORMAT): Take TARGET_64BIT into account.
4242         (DRAFT_V4_STRUCT_RET): Define.
4243         (SIGNAL_FRAMESIZE): New enum value.
4244         (MD_FALLBACK_FRAME_STATE_FOR): Define.
4245         * config/rs6000/default64.h: New file.
4246         * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -m32 and -m64
4247         options.
4248         (SUBTARGET_OVERRIDE_OPTIONS): If rs6000_abi_name is NULL, set it
4249         to RS6000_ABI_NAME.  Only disallow mixing of -fPIC with -mcall-aixdesc
4250         if !TARGET_64BIT.
4251         [!RS6000_BI_ARCH] (SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
4252         (ASM_DECLARE_FUNCTION_NAME): Use rs6000_elf_declare_function_name
4253         function.
4254         (TARGET_OS_SYSV_CPP_BUILTINS): Define.
4255         (TARGET_OS_CPP_BUILTINS): Use it.
4256         (CPP_SYSV_SPEC): Remove.
4257         (CPP_SPEC): Remove cpp_sysv.
4258         (SUBTARGET_EXTRA_SPECS): Remove cpp_sysv.
4259         Add SUBSUBTARGET_EXTRA_SPECS.
4260         (SUBSUBTARGET_EXTRA_SPECS): Define.
4261         * config/rs6000/biarch64.h: New file.
4262         * config/rs6000/rs6000-protos.h (rs6000_elf_declare_function_name):
4263         New prototype.
4264         * config/rs6000/x-linux64: New file.
4265         * config/rs6000/t-linux64: Build -m64, -m32 and -m32 -msoft-float
4266         multilibs.
4267         * config/rs6000/eabi-ci.asm: Protect with #ifndef __powerpc64__.
4268         * config/rs6000/eabi-cn.asm: Likewise.
4269         * config/rs6000/tramp.asm: Likewise.
4270         * config/rs6000/sol-ci.asm: Likewise.
4271         * config/rs6000/sol-cn.asm: Likewise.
4272         * config/rs6000/linux.h (TARGET_64BIT): Define to 0.
4273         (TARGET_OS_CPP_BUILTINS): Use TARGET_OS_SYSV_CPP_BUILTINS.
4274         * config/rs6000/ppc-asm.h: Move __powerpc64__ section before
4275         _CALL_AIXDESC section.
4276         * config.gcc (powerpc64-*-linux*): Configure a bi-arch compiler,
4277         defaulting to -m64 unless --with-cpu= is one of the 32-bit CPUs
4278         or default32.
4280 2003-06-04  Daniel Jacobowitz  <drow@mvista.com>
4282         * config.gcc: Revert accidentally committed ARM changes.
4284 2003-06-04  Roger Sayle  <roger@eyesopen.com>
4286         * builtins.c (dconstpi, dconste): New mathematical constants.
4287         (init_builtin_dconsts): New function to initialize dconstpi
4288         and dconste.
4289         (fold_builtin): Optimize exp(1.0) = e.  Evaluate exp(x) at
4290         compile time with -ffast-math when x is an integer constant.
4291         Optimize tan(0.0) = 0.0.  Optimize atan(0.0) = 0.0,
4292         atan(1.0) = pi/4 and tan(atan(x)) = x with -ffast-math.
4294 2003-06-04  Roger Sayle  <roger@eyesopen.com>
4296         * calls.c (expand_call): Avoid calling pure or const functions
4297         when the result is ignored (or void) and none of the arguments
4298         are volatile.  Move warning diagnostic earlier in function.
4300 2003-06-04  Andreas Jaeger  <aj@suse.de>
4302         * system.h: Do not poison TDESC_SECTION_ASM_OP,
4303         RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE.
4305 2003-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4307         * final.c (asm_fprintf): Update comments, accept "-+ #0" flags,
4308         optimize '%' case, handle %c, don't accept %p, %e, %f or %g,
4309         handle %ll, optimize regular character case.
4311 2003-06-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
4313         * Makefile.in (cse.o): Add params.h dependency.
4314         * cse.c: Include params.h.
4315         (PATHLENGTH): Removed.
4316         (struct cse_basic_block_data): Make path array dynamic.
4317         (cse_end_of_basic_block): Use PARAM_MAX_CSE_PATH_LENGTH instead
4318         of PATHLENGTH.
4319         (cse_main, cse_basic_block): Allocate path array.
4320         * params.def (PARAM_MAX_CSE_PATH_LENGTH): New.
4322 Wed Jun  4 09:49:21 CEST 2003  Jan Hubicka  <jh@suse.cz>
4324         * i386.c (ix86_reorg): Replace the jump instead of adding nop.
4325         * i386.md (UNSPEC_REP): New constant.
4326         (return_internal_long): New pattern.
4328 2003-06-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
4330         PR optimization/11018
4331         * config/sparc/sparc.c (sparc_v8plus_shift): Use which_alternative
4332         consistently to decide whether the scratch register is really
4333         required.
4335 2003-06-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
4337         PR optimization/10876
4338         * config/sparc/sparc.h (CONST_OK_FOR_LETTER): Add
4339         new 'O' constraint for constant 4096.
4340         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
4341         * config/sparc/sparc.md (adddi3 expander): Canonicalize pattern.
4342         Do not transform into MINUS insn for constant 4096.
4343         (*adddi3_sp64 insn): Canonicalize pattern. Add new alternative
4344         for constant 4096 as third operand.
4345         (addsi3 expander): Remove.
4346         (*addsi3 insn): Rename into 'addsi3'. Canonicalize pattern. Add
4347         new alternative for constant 4096 as third operand.
4348         (subdi3 expander): Do not transform into PLUS insn for constant 4096.
4349         (*subdi3_sp64 insn): Add new alternative for constant 4096 as third
4350         operand.
4351         (subsi3 expander): Remove.
4352         (*subsi3 insn): Rename into 'subsi3'. Add new alternative for
4353         constant 4096 as third operand.
4354         * doc/md.texi (Machine Constraints): Document new 'O' constraint for
4355         the SPARC port.
4357 2003-06-03  Chris Demetriou  <cgd@broadcom.com>
4359         * config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.
4361 2003-06-04  Andreas Jaeger  <aj@suse.de>
4363         * config/i386/uwin.h: Remove SUBTARGET_PROLOGUE.
4365         * config/i386/i386.c (ix86_expand_prologue): Do not use
4366         SUBTARGET_PROLOGUE.
4368         * system.h: Poision SUBTARGET_PROLOGUE.
4370         * config/arm/arm-protos.h: Remove unused rdate_section prototype.
4372         * output.h: Remove TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP
4373         dependend code.
4375         * system.h: Poison TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP.
4377         * system.h: Poison INSN_CACHE_DEPTH, INSN_CACHE_SIZE and
4378         INSN_CACHE_LINE_WIDTH.
4380         * libgcc2.c (INSN_CACHE_PLANE_SIZE): Removed.
4381         (__clear_cache): Remove code dependend on INSN_CACHE_DEPTH,
4382         INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
4384         * doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH,
4385         INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
4387         * dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM.
4388         (dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL.
4389         (dbxout_block): Remove usage of DBX_OUTPUT_CATCH.
4390         (dbxout_block): Remove usage of DBX_LBRAC_FIRST.
4391         (dbxout_source_file): Remove usage of DBX_OUTPUT_SOURCE_FILENAME.
4392         (dbxout_init): Remove test for DBX_WORKING_DIRECTORY.
4394         * doc/tm.texi (DBX Options): Do not document DBX_LBRAC_FIRST,
4395         DBX_OUTPUT_SOURCE_FILENAME and DBX_OUTPUT_ENUM and
4396         DBX_WORKING_DIRECTORY.
4398         * system.h: Poison DBX_LBRAC_FIRST, DBX_OUTPUT_ENUM,
4399         DBX_OUTPUT_SOURCE_FILENAME and DBX_WORKING_DIRECTORY.
4401         * config/frv/frv-protos.h: Remove unused const_section
4402         declaration.
4403         * config/vax/vax-protos.h: Likewise.
4405         * output.h: Remove CONST_SECTION_ASM_OP usage.
4407         * system.h: Poison CONST_SECTION_ASM_OP.
4409         * crtstuff.c (__do_global_dtors_aux): Remove usage of
4410         CRT_GET_RFIB_TEXT.
4411         (frame_dummy): Likewise.
4412         * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise.
4413         * system.h: Poison CRT_GET_RFIB_TEXT.
4415         * collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.
4417         * fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
4418         (write_lbrac): Remove ADD_MISSING_EXTERN_C dependend code.
4419         (recognized_function): Likewise.
4420         (read_scan_file): Likewise.
4422 2003-06-03  Roger Sayle  <roger@eyesopen.com>
4424         * optabs.c (expand_binop): Optimize complex multiplication for
4425         the case of squaring a complex argument.
4427 2003-06-03  Roger Sayle  <roger@eyesopen.com>
4429         * optabs.c (expand_binop): Attempt to reuse pseudos for duplicate
4430         non-volatile operands of binary operations.
4431         (prepare_cmp_insn): Likewise.
4433 2003-06-03  Roger Sayle  <roger@eyesopen.com>
4435         * varasm.c (force_const_mem): Handle alignment of constants not
4436         representable as a type in the front-end language.
4438 2003-06-03  Kazu Hirata  <kazu@cs.umass.edu>
4440         * flow.c (initialize_uninitialized_subregs): Use
4441         emit_move_insn instead of emitting a hardcoded move.
4443 2003-06-03  Richard Henderson  <rth@redhat.com>
4445         * optabs.c (expand_abs_nojump): Split out from ...
4446         (expand_abs): ... here.
4447         * optabs.h (expand_abs_nojump): Declare.
4448         * ifcvt.c: (noce_try_abs): Use expand_abs_nojump.
4449         * Makefile.in (ifcvt.o): Depend on optabs.h.
4451 2003-06-03  Alan Modra  <amodra@bigpond.net.au>
4453         * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.
4455 2003-06-03  Jason Thorpe  <thorpej@wasabisystems.com>
4457         * config.gcc (default_use_cxa_atexit): New variable, defaults to no.
4458         (*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*): Set default_use_cxa_atexit
4459         to yes.
4460         * configure.in: Allow default_use_cxa_atexit to determine the
4461         value of DEFAULT_USE_CXA_ATEXIT if not explicitly enabled or
4462         disabled.
4463         * configure: Regenerate.
4465 2003-06-03  Douglas B Rupp  <rupp@gnat.com>
4467         * Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
4468         * doc/gcc.texi: Remove vms.texi section.
4469         * doc/vms.texi: Remove obsolete file.
4471 2003-05-23  J"orn Rennecke <joern.rennecke@superh.com>
4473         * configure.in (inhibit_libc): Don't define when configuring
4474         with --with-newlib --with-headers.
4475         * configure: Regenerate.
4477         * t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules.
4479 2003-06-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4481         * configure.in (gcc_cv_as_hidden): Disable .hidden completely on
4482         IRIX 6 without GNU ld.
4483         * configure: Regenerate.
4485 2003-06-03  Roger Sayle  <roger@eyesopen.com>
4487         * expr.c (emit_move_insn_1): Use emit_move_insn to move the parts
4488         of a complex number rather than invoke mov_optab directly.
4490 2003-06-03  Kazu Hirata  <kazu@cs.umass.edu>
4492         * combine.c (simplify_set): Don't move a subreg in SET_SRC to
4493         SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
4495 2003-06-03  Nathanael Nerode  <neroden@gcc.gnu.org>
4497         * config/i386/x86-64.h: Remove two target-independent comments;
4498          replace "GNU CC" with "GCC".
4500 2003-06-03  Anthony Green  <green@redhat.com>
4502         * config/frv/t-frv (EXTRA_HEADERS): Remove media.h
4504 2003-06-03  Roger Sayle  <roger@eyesopen.com>
4506         * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
4507         New builtins representing ISO C99's cabs, cabsf and cabsl.
4508         * builtins.c (expand_builtin_fabs): New function.
4509         (expand_builtin_cabs): New function.
4510         (expand_builtin): Expand BUILT_IN_FABS{,F,L} and BUILT_IN_CABS{,F,L}
4511         using expand_builtin_fabs and expand_builtin_cabs respectively.
4513         * doc/extend.texi: Document new cabs, cabsf and cabsl builtins.
4515 2003-06-03  Aldy Hernandez  <aldyh@redhat.com>
4517         * function.c (assign_parms): Split complex arguments.
4519         * doc/tm.texi (SPLIT_COMPLEX_ARGS): Document.
4521         * expr.h (SPLIT_COMPLEX_ARGS): Define.
4522         (split_complex_types): Protoize.
4523         (split_complex_values): Protoize.
4525         * calls.c (expand_call): Split complex arguments on architectures
4526         that require it.
4527         (split_complex_values): New.
4528         (split_complex_types): New.
4530         * config/rs6000/rs6000.c (rs6000_libcall_value): New.
4531         (rs6000_function_value): Handle complex values on AIX.
4532         (rs6000_complex_function_value): New.
4534         * config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize.
4536         * config/rs6000/rs6000.h (LIBCALL_VALUE): Call function.
4537         (SPLIT_COMPLEX_ARGS): New.
4539 2003-06-03  Jakub Jelinek  <jakub@redhat.com>
4541         * configure.in (HAVE_LD_PIE): Check for ld -pie.
4542         * config.in: Rebuilt.
4543         * configure: Rebuilt.
4544         * toplev.c (flag_pie, flag_shlib): New variables.
4545         (f_options): Add -fpie and -fPIE.
4546         (parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE.
4547         Set flag_shlib if flag_pic and not -fpie/-fPIE.
4548         * flags.h (flag_pic, flag_shlib): Add.
4549         * varasm.c (default_binds_local_p): Use flag_shlib instead of
4550         flag_pic.
4551         * gcc.c (LINK_PIE_SPEC): Define.
4552         (LINK_COMMAND_SPEC): Use LINK_PIE_SPEC.
4553         (option_map): Add --pie -> -pie mapping.
4554         * config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic
4555         and -fPIE the same way as -fPIC.
4556         * config/openbsd.h (ASM_SPEC): Likewise.
4557         * config/frv/frv.h (ASM_SPEC): Likewise.
4558         * config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise.
4559         * config/arm/semi.h (ASM_SPEC): Likewise.
4560         * config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise.
4561         * config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise.
4562         * config/i386/beos-elf.h (CC1_SPEC): Likewise.
4563         * config/i386/freebsd-aout.h (ASM_SPEC): Likewise.
4564         * config/m68k/linux.h (CPP_SPEC): Likewise.
4565         * config/m68k/netbsd.h (ASM_SPEC): Likewise.
4566         * config/m68k/openbsd.h (ASM_SPEC): Likewise.
4567         * config/m68k/netbsd-elf.h (ASM_SPEC): Likewise.
4568         * config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise.
4569         * config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise.
4570         * config/pa/pa-linux.h (CPP_SPEC): Likewise.
4571         * config/netbsd-aout.h (ASM_SPEC): Likewise.
4572         * config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise.
4573         * config/rs6000/vxworks.h (CPP_SPEC): Likewise.
4574         * config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
4575         * config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
4576         * config/sparc/sparc.h (ASM_SPEC): Likewise.
4577         * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
4578         * config/sparc/sysv4.h (ASM_SPEC): Likewise.
4579         * config/sparc/netbsd-elf.h (ASM_SPEC): Likewise.
4580         * config/sparc/openbsd64.h (ASM_SPEC): Likewise.
4581         * config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise.
4582         * config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie.
4583         Simplify.
4584         * config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
4585         * config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
4586         * config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
4587         * config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
4588         * config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
4589         * config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
4590         * config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
4591         * doc/invoke.texi: Document -pie, -fpie and -fPIE options.
4593 2003-06-03  Jakub Jelinek  <jakub@redhat.com>
4595         * builtins.c (expand_builtin_memcpy): Remove endp argument and endp
4596         != 0 handling.  Pass 0 to store_by_pieces.
4597         (expand_builtin_mempcpy): Add endp argument.  Don't call
4598         expand_builtin_memcpy, call store_by_pieces resp. move_by_pieces
4599         directly.  If ignoring result, only do expand_call.
4600         (expand_builtin_stpcpy): Likewise.  Call expand_builtin_mempcpy
4601         otherwise.
4602         (expand_builtin_strncpy, expand_builtin_memset): Adjust
4603         store_by_pices callers.
4604         (expand_builtin): Adjust expand_builtin_memcpy and
4605         expand_builtin_mempcpy callers.
4606         * expr.c (can_move_by_pieces): New function.
4607         (move_by_pieces): Add endp argument, return to resp. memory at end
4608         or one byte earlier depending on endp.
4609         (store_by_pieces): Likewise.
4610         (emit_block_move): Adjust call to move_by_pieces.
4611         (emit_push_insn): Adjust move_by_pieces caller.
4612         * expr.h (can_move_by_pieces): New prototype.
4613         (store_by_pieces): Adjust prototypes.
4614         * rtl.h (move_by_pieces): Adjust prototype.
4615         * config/mips/mips.c (expand_block_move): Adjust move_by_pieces
4616         caller.
4618 2003-06-03  Ben Elliston  <bje@wasabisystems.com>
4620         * doc/md.texi (Processor pipeline description): Improve wording.
4622 2003-06-03  Neil Booth  <neil@daikokuya.co.uk>
4624         * c-opts.c (c_common_handle_option): New, pulled out of
4625         c_common_decode_option.  Substitute uses of argv.
4626         (c_common_decode_option): Broken into two.
4628 2003-06-02  Roger Sayle  <roger@eyesopen.com>
4629             Zack Weinberg  <zack@codesourcery.com>
4631         * emit-rtl.c (gen_complex_constant_part):  Remove unnecessary
4632         test of TREE_CONSTANT_POOL_ADDRESS_P.
4634 2003-06-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4636         * mips.c: Don't include output.h twice.
4637         * stormy16.c: Likewise.
4638         * xtensa.c: Likewise.
4639         * output.h: Protect against multiple inclusion.
4641 2003-06-02  J"orn Rennecke <joern.rennecke@superh.com>
4643         * sh.h (OLD_ARG_MODE): New macro.
4644         (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
4645         (FUNCTION_ARG_1): Break out of:
4646         (FUNCTION_ARG).  Use OLD_ARG_MODE.
4648 2003-06-02  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
4650         * gcc/config.gcc Add support multilib parts for m32rx processor.
4652 2003-06-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4654         * Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.
4655         (mostlyclean): Delete c-options.c and c-options.h.
4657 2003-06-02  Neil Booth  <neil@daikokuya.co.uk>
4659         * c-opts.c (CL_REJECT_NEGATIVE): New.
4660         (c_common_decode_option): Update to use it.
4661         * c.opt: Update documentation; use RejectNegative.
4662         * opts.sh: Handle RejectNegative.
4664 2003-06-01  Zack Weinberg  <zack@codesourcery.com>
4666         * ggc-page.c (init_ggc): Give better diagnostics on failure to
4667         open /dev/zero.
4668         * toplev.c (crash_signal): Reset handling for received signal
4669         to SIG_DFL.
4671 2003-06-02  Ben Elliston  <bje@wasabisystems.com>
4673         * config/arm/arm.c (arm_use_dfa_pipeline_interface): Declare.
4674         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define if not already.
4675         (arm_use_dfa_pipeline_interface): Implement.
4676         * config/arm/arm.md (arm): New automaton.
4677         (write_buf): Remove function units; new cpu unit.
4678         (write_blockage): Remove function units; new cpu unit.
4679         (core): Remove function units; new cpu unit.
4680         (r_mem_f_wbuf): New instruction reservation.
4681         (store1_wbuf, store2_wbuf, store3_wbuf, store4_wbuf): Likewise.
4682         (store1_ldsched, store2, store3, store4): Likewise.
4683         (load_ldsched, load_ldsched_xscale, load_or_store): Likewise.
4684         (mult, mult_ldsched, mult_ldsched_strongarm): Likewise.
4685         (multi_cycle, single_cycle): Likewise.
4686         * config/arm/fpa.md (armfp): New automaton.
4687         (fpa): Remove function units; new cpu unit.
4688         (fpa_mem): Remove function unit; new cpu unit.
4689         (fdivx, fdivd, fdivs, fmul, ffmul, farith, ffarith): New reservations.
4690         (r_2_f, f_2_r, f_load, f_store, r_mem_f, f_mem_r): Likewise.
4692 2003-06-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4694         * builtin-attrs.def (ATTR_ASM_FPRINTF): New.
4695         * c-format.c (enum format_type): Add asm_fprintf_format_type.
4696         (NOARGUMENTS, asm_fprintf_length_specs, asm_fprintf_flag_specs,
4697         asm_fprintf_flag_pairs, asm_fprintf_char_table): New.
4698         (format_types_orig): Renamed from format_types.  Add new data.
4699         (format_types): Declare as pointer.
4700         (handle_format_attribute): Move later in file so we have all
4701         necessary declarations.  Add section to capture HOST_WIDE_INT.
4702         * output.h (ATTRIBUTE_ASM_FPRINTF, __gcc_host_wide_int__): New.
4703         (asm_fprintf): Mark with ATTRIBUTE_ASM_FPRINTF.
4705 2003-06-01  Andreas Jaeger  <aj@suse.de>
4707         * doc/tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and
4708         ROUND_TYPE_SIZE_UNIT.
4710         * stor-layout.c (finalize_record_size): Remove usages of
4711         ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
4712         (finalize_type_size): Likewise.
4713         (layout_type): Likewise.
4715         * system.h: Poison ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
4717         * loop.c (check_insn_for_givs): Remove DONT_REDUCE_ADDR macro.
4719         * config/d30v/d30v.h: Remove text copied from the manual.
4721 2003-06-01  Roger Sayle  <roger@eyesopen.com>
4722             John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4723             Geoffrey Keating  <geoffk@apple.com>
4725         * emit-rtl.c (gen_lowpart_common): Handle interpreting integer
4726         constants as condition code values.
4728 2003-06-01  DJ Delorie  <dj@redhat.com>
4730         * cppmacro.c (warn_of_redefinition): Handle cases where the two
4731         definitions have different numbers of tokens.
4733 2003-06-01  Andreas Jaeger  <aj@suse.de>
4735         * gen-protos.c (main): Readd unused attribute for argc.
4737 2003-06-01  Neil Booth  <neil@daikokuya.co.uk>
4739         * Makefile.in (c-options.c, c-options.h): Parallel make safe.
4740         * c.opt: End in blank line.
4741         * opts.sh: Take AWK from environment if available; use C locale.
4743 2003-06-01  Andreas Schwab  <schwab@suse.de>
4745         * config/m68k/linux.h: Remove code protected by USE_GNULIBC_1.
4747 2003-06-01  Andreas Jaeger  <aj@suse.de>
4749         * gen-protos.c (main): Revert patch to check for argument.
4751 2003-06-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
4753         PR target/11044
4754         * config/i386/i386.md (length attribute): Set length to 4
4755         for instructions of type "fcmp".
4757 2003-06-01  Andreas Jaeger  <aj@suse.de>
4759         * toplev.c: Use ISO C90 prototypes.
4761         * toplev.h: Use ISO C90 prototypes.
4763         * genrecog.c: Use ISO C90 prototypes.
4764         (nodes_identical): Correct declaration to match prototype.
4765         (maybe_both_true): Likewise.
4766         (merge_trees): Likewise.
4768         * genpeep.c (gen_peephole): Remove #if 0 code.
4769         Use ISO C90 prototypes.
4771         * genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
4772         Remove #if 0'ed function simplify_by_alternatives.
4773         (optimize_attrs): Remove #if 0'ed code.
4774         Remove ^L.
4775         Use ISO C90 prototypes.
4776         (make_canonical): Remove #if 0'ed code.
4777         (convert_const_symbol_ref): Remove #if 0'ed function.
4779         * gen-protos.c (main): Check for argument.
4781         * rtl.h: Use ISO C90 prototypes for functions from lists.c.
4783         * params.h: Use ISO C90 prototypes.
4784         * params.c: Likewise.
4785         * intl.c: Likewise.
4786         * intl.h: Likewise.
4787         * lists.c: Likewise.
4788         * errors.c: Likewise.
4789         * errors.h: Likewise.
4790         * gencodes.c: Likewise.
4791         * genpreds.c: Likewise.
4792         * genattr.c: Likewise.
4793         * gen-protos.c: Likewise.
4794         * genflags.c: Likewise
4795         * genconditions.c: Likewise.
4796         * genautomata.c: Likewise.
4797         * gencheck.c: Likewise.
4798         * genconfig.c: Likewise.
4799         * genconstants.c: Likewise.
4800         * genemit.c: Likewise.
4801         * genextract.c: Likewise.
4802         * gengenrtl.c: Likewise.
4803         * gengtype.c: Likewise.
4804         * gengtype.h: Likewise.
4805         * genopinit.c: Likewise.
4806         * genoutput.c: Likewise.
4807         * gensupport.c: Likewise.
4808         * gensupport.h: Likewise.
4810         * sdbout.h: Use ISO C90 prototypes.
4812         * sdbout.c (CONTIN): Removed empty macro.
4813         (sdbout_one_type): Remove CONTIN usages.
4814         Remove ^Ls.
4815         (tag_of_ru_type): Remove #if 0'ed function.
4816         (sdbout_symbol): Remove #if 0'ed code.
4817         (sdbout_one_type): Remove a #if 1.
4818         (sdbout_one_type): Remove #if 0'ed code.
4819         (sdbout_init): Remove RMS_QUICK_HACK_1 code.
4820         Remove PARAMS, use ISO C90 prototypes for all functions.
4822 2003-06-01  Josef Zlomek  <zlomekj@suse.cz>
4824         * rtl.def (CONST_DOUBLE): Update comment.
4826 2003-06-01  Neil Booth  <neil@daikokuya.co.uk>
4828         * opts.sh: Remove path from sort.
4830 2003-06-01  Aldy Hernandez  <aldyh@redhat.com>
4832         PR/9680
4833         * config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Require
4834         TARGET_SPE for SPE_VECTOR_MODE.
4836 2003-05-31  Aldy Hernandez  <aldyh@redhat.com>
4838         * toplev.c (botch): Remove.
4839         (do_abort): Remove.
4840         (set_Wunused): Comment.
4841         (set_Wextra): Comment.
4842         Remove ^L's.
4843         (rest_of_compilation): Factor out common code into functions.
4844         (rest_of_handle_inlining): New.
4845         (rest_of_handle_ssa): New.
4846         (rest_of_handle_cse): New.
4847         (rest_of_handle_gcse): New.
4848         (rest_of_handle_loop_optimize): New.
4849         (rest_of_handle_jump_bypass): New.
4850         (rest_of_handle_sibling_calls): New.
4851         (rest_of_handle_null_pointer): New.
4852         (rest_of_handle_addresof): New.
4853         (rest_of_handle_flow): New.
4854         (rest_of_handle_branch_prob): New.
4855         (rest_of_handle_if_conversion): New.
4856         (rest_of_handle_tracer): New.
4857         (rest_of_handle_loop2): New.
4858         (rest_of_handle_cse2): New.
4859         (rest_of_handle_life): New.
4860         (rest_of_handle_combine): New.
4861         (rest_of_handle_if_after_combine): New.
4862         (rest_of_handle_regmove): New.
4863         (rest_of_handle_sched): New.
4864         (rest_of_handle_old_regalloc): New.
4865         (rest_of_handle_new_regalloc): New.
4866         (rest_of_handle_regrename): New.
4867         (rest_of_handle_reorder_blocks): New.
4868         (rest_of_handle_sched2): New.
4869         (rest_of_handle_new_regalloc): New.
4870         (rest_of_handle_old_regalloc): New.
4871         (rest_of_handle_regrename): New.
4872         (rest_of_handle_reorder_blocks): New.
4873         (rest_of_handle_stack_regs): New.
4874         (rest_of_handle_machine_reorg): New.
4875         (rest_of_handle_delay_slots): New.
4876         (rest_of_handle_final): New.
4878         * toplev.h (botch): Remove prototype.
4879         (do_abort): Same.
4881 2003-05-31  Neil Booth  <neil@daikokuya.co.uk>
4883         * Makefile.in (c-opts.o, c-options.h): Update dependencies.
4884         * c-opts.c: Include c-options.h and c-options.c.
4885         (CL_C_ONLY, CL_OBJC_ONLY, CL_CXX_ONLY, CL_OBJCXX_ONLY):
4886         Rename CL_C, CL_OBJC, CL_CXX, CL_OBJCXX.
4887         (CL_ARG, CL_ALL, COMMAND_LINE_OPTIONS, struct cl_option,
4888         OPT, opt_comp): Remove.
4889         (missing_arg, c_common_init_options, c_common_decode_option,
4890         write_langs): Update for macro redefinitions and enumeration
4891         name changes.
4892         * c.opt, opts.sh: New files.
4893         * doc/passes.texi: Update.
4895 2003-05-31  Andreas Jaeger  <aj@suse.de>
4897         * function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE
4898         usage.
4900         * doc/tm.texi (Trampolines): Remove ALLOCATE_TRAMPOLINE.
4902         * config/d30v/d30v.h: Remove traces of ALLOCATE_TRAMPOLINE.
4904         * system.h: Poison ALLOCATE_TRAMPOLINE.
4906         * doc/tm.texi (Misc): Remove HANDLE_PRAGMA.
4907         * system.h: Poison HANDLE_PRAGMA.
4909 2003-05-31  Kazu Hirata  <kazu@cs.umass.edu>
4911         * doc/invoke.texi: Update dump file names.
4913 2003-05-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4915         * c-format.c (format_length_info, format_char_info,
4916         format_flag_spec, format_flag_pair, format_kind_info):
4917         De-const-ify structure members.
4919 2003-05-31  Roger Sayle  <roger@eyesopen.com>
4921         * flags.h (flag_wrapv): New flag controlling overflow semantics.
4922         * toplev.c (flag_wrapv): Declare the variable with default false.
4923         (lang_independent_options): New option "-fwrapv" to set the above.
4925         * fold-const.c (extract_muldiv_1): Disable optimization of (2*x)/2
4926         as x, when signed arithmetic overflow wraps around.
4927         (fold): Optimize "-A - B" as "-B - A" if overflow wraps around.
4928         * loop.c (basic_induction_var): Ignore BIVs that rely on undefined
4929         overflow when flag_wrapv is true.
4931         * doc/invoke.texi: Document new -fwrapv command line option.
4932         * doc/c-tree.texi: Mention that the overflow semantics of
4933         NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR and MULT_EXPR is dependent
4934         upon both flag_wrapv and flag_trapv.
4936 2003-05-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
4938         * doc/install.texi (mips-sgi-irix5): Add missing
4939         HTML <hr> marker.
4941 2003-05-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
4943         * doc/md.texi (Machine Constraints): Document
4944         missing SPARC constraints.
4946 2003-05-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
4948         * doc/md.texi (Automaton pipeline description): Use
4949         "type" instead of "cpu" as the attribute in the examples.
4951 2003-05-30  Stan Shebs  <shebs@apple.com>
4953         * system.h: Poison OBJC_PROLOGUE.
4955 2003-05-30  Roger Sayle  <roger@eyesopen.com>
4957         * emit-rtl.c (gen_complex_constant_part): New function for getting
4958         the constant real or imaginary part of a complex constant.
4959         (gen_realpart): Use it.
4960         (gen_imagpart): Likewise.
4962 2003-05-30  Kazu Hirata  <kazu@cs.umass.edu>
4964         * doc/invoke.texi: Fix typos.
4965         * doc/rtl.texi: Likewise.
4967 2003-05-30  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>
4969         * config/h8300/crti.asm: Use .h8300hn and .h8300sn for normal
4970         mode.
4971         * config/h8300/crtn.asm: Likewise.
4972         * config/h8300/lib1funcs.asm: Likewise.
4973         * config/h8300/h8300.c (asm_file_start): Likewise.
4974         * config/h8300/elf.h (LINK_SPEC): Use h8300hnelf and
4975         h8300snelf emulations for normal mode.
4976         * config/h8300/h8300.h (LINK_SPEC): Use h8300hn and h8300sn
4977         emulations for normal mode.
4979 2003-05-30  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>
4981         * config/h8300/h8300.c (h8300_tiny_constant_address_p): Return
4982         true if TARGET_NORMAL_MODE.
4984 2003-05-30  Roger Sayle  <roger@eyesopen.com>
4986         * cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when
4987         making a substitution.
4988         (dead_libcall_p): If directly replacing a libcall with a
4989         constant value produces an invalid instruction, also try forcing
4990         the constant into the constant pool.
4991         * expr.c (emit_move_insn): Add a REG_EQUAL note when it is not
4992         obvious that the source is a constant.
4993         (compress_float_constant): Use set_unique_reg_note to place
4994         REG_EQUAL notes on instructions.
4996 2003-05-30  Eric Christopher  <echristo@redhat.com>
4998         * config/mips/mips.c (extern_list): Add GTY marker.
4999         (extern_head): Separate out definition. Add marker.
5000         (mips_output_external): Use ggc_alloc for extern_list
5001         allocation.
5002         (mips_output_external_libcall): Ditto.
5004 2003-05-30  Florian Weimer  <fw@deneb.enyo.de>
5006         * doc/install.texi: Ada-enabled bootstrap requires GNAT 3.14 or
5007         later.
5009 2003-05-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5011         * vax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
5012         warnings.
5013         (PRINT_OPERAND): Likewise.
5015 2003-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5017         * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move
5018         -mdebug/-no-mdebug switches ...
5019         (MDEBUG_ASM_SPEC): ... here.
5020         Use only with gas.
5021         (EXTRA_SPECS): Initialize mdebug_asm_spec.
5023 2003-05-29  Matt Kraai  <kraai@alumni.cmu.edu>
5025         * gthr-gnat.c: Remove #undef UNUSED.
5026         (__gnat_default_lock, __gnat_default_unlock): Prototype.
5027         (__gnat_task_lock, __gnat_task_unlock): Make declarations
5028         prototypes.
5029         (__gnat_install_locks): Convert declaration to ISO C90, make
5030         parameter declarations prototypes, and remove blank line.
5031         * gthr-gnat.h (__gnat_install_locks): Make parameter
5032         declarations prototypes.
5034 2003-05-29  Jason Merrill  <jason@redhat.com>
5036         * Makefile.in (unstrap): Remove stage_last after make unstage1.
5038 2003-05-29  Roger Sayle  <roger@eyesopen.com>
5040         * mips-tfile.c (PAGE_SIZE): Increase page size to 32K.
5042 2003-05-29  Roger Sayle  <roger@eyesopen.com>
5043             Kaveh Ghazi  <ghazi@caip.rutgers.edu>
5045         PR bootstrap/10169
5046         * mips-tfile.c (main): Use getopt_long instead of getopt.
5047         Add new command line option --version to display version.
5048         Treat --verbose like -v to report a single line version.
5049         (options): New global variable for getopt_long.
5050         * mips-tdump.c (main): Use getopt_long instead of getopt.
5051         New command line options -v, --version and -verbose to display
5052         the program version number (to match mips-tfile's behavior).
5053         (options): New global variable for getopt_long.
5055         * gcov.c (options): Zero-terminate getopt_long array.
5056         * gcov-dump.c (options): Likewise.
5058         * Makefile.in (mips-tdump.o): Add dependency on version.h.
5060 2003-05-29  Stan Shebs  <shebs@apple.com>
5062         Remove OBJC_PROLOGUE everywhere.
5063         * objc/objc-act.c (finish_objc): Remove use of OBJC_PROLOGUE.
5064         * config/avr/avr.h: Remove no-op ref to OBJC_PROLOGUE.
5065         * config/d30v/d30v.h: Similarly.
5066         * config/ip2k/ip2k.h: Similarly.
5067         * doc/tm.texi: Remove doc of OBJC_PROLOGUE.
5069 2003-05-29  Roger Sayle  <roger@eyesopen.com>
5071         * c-semantics.c (genrtl_do_stmt_1): New function split out from...
5072         (gen_rtl_do_stmt): ... here.  Call genrtl_do_stmt_1.
5073         (expand_unreachable_stmt): Expand unreachable while statements
5074         using genrtl_do_stmt_1.
5076 2003-05-29  Richard Sandiford  <rsandifo@redhat.com>
5078         * config/mips/mips-protos.h (mips_output_load_label): Declare.
5079         * config/mips/mips.c (mips_output_load_label): New function.
5080         (mips_output_conditional_branch): Use it.
5081         * config/mips/mips.md (jump): And here.
5083 2003-05-28  Bob Wilson  <bob.wilson@acm.org>
5085         * config/xtensa/xtensa-protos.h (smalloffset_double_mem_p): Delete.
5086         (xtensa_split_operand_pair): New proto.
5087         * config/xtensa/xtensa.c (move_operand): Handle DFmode and DImode.
5088         (smalloffset_double_mem_p): Delete.
5089         (gen_float_relational, printx, print_operand, xtensa_va_arg):
5090         Fix whitespace.
5091         (xtensa_split_operand_pair): New.
5092         (xtensa_dbx_register_number): Fix formatting.
5093         * config/xtensa/xtensa.h (EXTRA_CONSTRAINT): Remove 'S' constraint.
5094         * config/xtensa/xtensa.md (movdi, movdf): Force constants to memory
5095         instead of splitting them into single-word moves.  Remove unnecessary
5096         checks for reload_in_progress and reload_completed.
5097         (movdi_internal, movdf_internal): Change to post-reload split patterns.
5098         Add constraints to allow constant operands.
5099         (movsf_internal): Allow CONST_INT operands.
5101 2003-05-27  Danny Smith   <dannysmith@users.sourceforge.net>
5103         * config.gcc (i[34567]86-*-mingw32*): Add host makefile
5104         fragment i386/x-mingw32.
5105         * config/i386/x-mingw32: New file. Make local_includedir
5106         relative to EXEC_PREFIX.
5108 2003-05-27  Aaron W. LaFramboise  <awlaframboise@aol.com>
5110         * config/i386/mingw32.h (STANDARD_INCLUDE_DIR): Update.
5111         (MD_STARTFILE_PREFIX): Define.
5113 2003-05-27  Denis Chertykov  <denisc@overta.ru>
5115         * cselib.c (cselib_invalidate_regno): Abort if hardreg have a
5116         VOIDmode.
5117         * cselib.c (cselib_process_insn): Pass reg_raw_mode for hardreg in
5118         call of cselib_invalidate_regno.
5120 2003-05-28  Daniel Jacobowitz  <drow@mvista.com>
5122         * config/mips/linux.h (LIB_SPEC): Add missing -lc and correct
5123         -lthread to -lpthread.
5125 2003-05-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
5126             Bruce Korb  <bkorb@gnu.org>
5127             Arno Klaassen  <arno@heho.snv.jussieu.fr>
5129         * fixinc/inclhack.def: Add missing declaration of getpagesize()
5130         to unistd.h on Solaris 2.5.1.
5131         Fix prototype of recv() and send() in sys/socket.h on
5132         Solaris 2.5.1 and 2.6.
5133         * fixinc/tests/base/unistd.h: Add solaris_unistd fix test.
5134         * fixinc/tests/base/sys/socket.h: Add solaris_socket test.
5135         * fixinc/check.tpl: Use 'diff -c', not 'diff -u'.
5136         * fixinc/fixincl.x: Regenerate.
5138 2003-05-27  Jason Merrill  <jason@redhat.com>
5140         * tree.c (expr_first, expr_length): New fns.
5141         * tree.h: Declare them.
5143         * tree.c (iterative_hash_expr): Hash commutative expressions
5144         consistently.
5146 2003-05-27  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5148         * tree.h (contains_placeholder_p): Now returns bool.
5149         (CONTAINS_PLACEHOLDER_P): New macro.
5150         (type_contains_placeholder_p): New function.
5151         * tree.c (save_expr): Remove code avoiding folding COMPONENT_REF.
5152         (contains_placeholder_p): Now returns bool.
5153         Rework to use CONTAINS_PLACEHOLDER_P macro.
5154         (type_contains_placeholder_p): New function.
5155         * fold-const.c (fold, case COMPONENT_REF): Don't fold if
5156         type_contains_placeholder_p.
5157         (fold_range_test, fold_mathfn_compare, fold_inf_compare, fold):
5158         Use CONTAINS_PLACEHOLDER_P macro.
5159         * builtins.c (fold_builtin): Likewise.
5160         * calls.c (initialize_argument_information): Likewise.
5161         * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
5162         * explow.c (expr_size): Likewise.
5163         * expr.c (store_constructor, get_inner_reference): Likewise.
5164         * function.c (assign_parms): Likewise.
5165         * stor-layout.c (variable_size): Likewise.
5167 2003-05-25  Gabriel Dos Reis <gdr@integrable-solutions.net>
5169         * diagnostic.h (output_verbatim, verbatim):  Remove  printf
5170         attribute.
5172 2003-05-25  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5174         * doc/contrib.texi (Contributors): Update Kean Johnston.
5176 2003-05-24  David Edelsohn  <edelsohn@gnu.org>
5178         * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add length attribute.
5180 2003-05-24  Nathanael Nerode  <neroden@gcc.gnu.org>
5182         * config/rs6000/440.md, config/stormy16/stormy16protos.h,
5183         config/stormy16/stormy16.c, config/stormy16/stormy16.md:
5184         Replace "GNU CC" with "GCC".
5186 2003-05-24  Matt Kraai  <kraai@alumni.cmu.edu>
5188         * builtins.c (expand_builtin_memcpy): Use mode of dest_addr for
5189         intermediate computation.
5191 2003-05-23  Eric Christopher  <echristo@redhat.com>
5193         * config/mips/mips.md (clzsi, clzdi): New patterns.
5195 2003-05-23  Geoffrey Keating  <geoffk@apple.com>
5197         * gcc.c (default_compilers): Use -o to specify preprocessor's output
5198         file.  Make -no-integrated-cpp work when building PCH files.
5199         * objc/lang-specs.h: Likewise.
5201 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
5203         * fixinc/Makefile.in: Correct description.
5204         * fixinc/Makefile.in, fixinc/fixfixes.c, fixinc/fixincl.c,
5205         fixinc/fixlib.c, fixinc/fixlib.h, fixinc/fixtests.c,
5206         fixinc/genfixes: Replace "GNU CC" with "GCC".
5208 2003-05-23  Roger Sayle  <roger@eyesopen.com>
5210         * builtins.def: Define atan, atanf, atanl, tan, tanf and tanl
5211         builtin functions (and their __builtin_* variants).
5212         * builtins.c (mathfn_built_in): Handle tan{,f,l} and atan{,f,l}.
5213         (expand_builtin): Don't expand tan{,f,l} or atan{,f,l} when not
5214         optimizing.
5216         * doc/extend.texi: Document new tan and atan builtins, and
5217         their float and long double variants.
5219 2003-05-23  Jason Thorpe  <thorpej@wasabisystems.com>
5221         * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define
5222         __sparcv9 in the TARGET_ARCH64 case.
5224 Fri May 23 22:17:32 CEST 2003  Jan Hubicka  <jh@suse.cz>
5226         * i386.c (ix86_reorg): Calls are also jumps.
5228 2003-05-23  J"orn Rennecke <joern.rennecke@superh.com>
5230         * cse.c (count_reg_usage): When processing an INSNs REG_EQUAL
5231         note containing an EXPR_LIST, process all the arguments.
5233 Fri May 23 21:19:31 CEST 2003  Jan Hubicka  <jh@suse.cz>
5234                                Andreas Jaeger  <aj@suse.de>
5236         * i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__;
5237         do not use assertion.
5239 2003-05-23  Mike Stump  <mrs@apple.com>
5241         * tlink.c (scan_linker_output): Add support for darwin linker, as it
5242         emits unresolved symbols one per line, consuming the entire line.
5244 2003-05-23  Larin Hennessy <larin@science.oregonstate.edu>
5245             Zack Weinberg <zack@codesourcery.com>
5247         * explow.c (allocate_dynamic_stack_space): Remove call to gen_probe.
5248         * config/m68k/m68k.c (m68k_output_function_prologue):
5249         Remove code under #if NEED_PROBE.
5250         * config/m68k/m68k.h: Don't define NEED_PROBE.
5251         * config/m68k/m68k.md: Remove "probe" insn.
5252         * doc/md.texi: Remove documentation of "probe" pattern.
5254 2003-05-23  Dorit Naishlos  <gcchaifa@il.ibm.com>
5256         * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add branch attribute.
5258 2003-05-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
5260         * doc/install.texi: Remove sparc64-*-*. Add sparc64-*-solaris2*.
5261         Document sparcv9-*-solaris2* as a synonym for sparc64-*-solaris2*.
5263 2003-05-22  Roger Sayle  <roger@eyesopen.com>
5265         * real.c (real_maxval): New function to return the largest finite
5266         value representable in a given mode (i.e. FLT_MAX and DBL_MAX).
5267         * real.h (real_maxval): Prototype here.
5268         * fold-const.c (fold_inf_compare): Transform comparisons against
5269         +-Infinity into comparisons against DBL_MAX (or equivalent).
5271 2003-05-22  Mike Stump  <mrs@apple.com>
5273         * config.gcc (*-*-darwin*): Remove use_collect2=no, as it is the
5274         default.
5276 2003-05-22  DJ Delorie  <dj@redhat.com>
5278         * calls.c (expand_call): If the arg block is going to grow
5279         downward, we need argblock to point to the top of the block,
5280         not the bottom.
5282 2003-05-22  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5284         * c-decl.c (duplicate_decls): Test DECL for ERROR_MARK.
5286         * expr.c (expand_expr, case CONSTRUCTOR): Put into memory if
5287         constant and EXPAND_CONST_ADDRESS, not just EXPAND_INITIALIZER.
5289 2003-05-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5291         * m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers.
5292         * m68k.c: Likewise.
5293         * m68k.h: Likewise.
5295 2003-05-22  Zack Weinberg  <zack@codesourcery.com>
5297         PR other/2873
5298         * fixinc/inclhack.def (avoid_wchar_t_type): Add bypass
5299         expressions to prevent triggering on recent curses.h,
5300         linux/nls.h, or X11/Xlib.h.
5301         (stdio_va_list): Add _G_va_list to bypass pattern.
5302         (strict_ansi_not): Add bypass pattern for __SCO_VERSION__.
5303         * fixinc/fixincl.x: Regenerate.
5305 2003-05-22 Rekha Bhintade <rekhad@kpitcummins.com>
5307         * gcc/config/sh/sh.h (TARGET_SWITCHES): Display all the target
5308         switches when --target-help option is specified.
5310 2003-05-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
5312         PR bootstrap/10805
5313         * doc/install.texi (sparc-sun-solaris2.7): Document bootstrap
5314         failure with Sun assembler 5.0 Alpha 03/27/98.
5316 2003-05-21  Loren James Rittle  <ljrittle@acm.org>
5318         * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9
5319         to match system compiler convention.
5321 2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
5323         * gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for nonzero
5324         value, not just if defined.
5325         Update copyright year.
5327 2003-05-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5329         PR target/6428
5330         * pa-hpux10.h (LINK_SPEC, LIB_SPEC): Move -L options for profiling
5331         directories from LIB_SPEC to LINK_SPEC.  Emit warning if `-p' or `-pg'
5332         option is used without `-static'.
5333         * pa-hpux11.h (LINK_SPEC, LIB_SPEC): Likewise.
5334         * pa64-hpux.h (LINK_SPEC, LIB_SPEC): Likewise.
5336 2003-05-21  Bob Wilson  <bob.wilson@acm.org>
5338         * config/xtensa/xtensa.h (MASK_SERIALIZE_VOLATILE,
5339         TARGET_SERIALIZE_VOLATILE): Delete.
5340         (MASK_CONST16, MASK_ABS, MASK_ADDX): Renumber flag bits.
5341         (TARGET_DEFAULT): Remove MASK_SERIALIZE_VOLATILE.
5342         (TARGET_SWITCHES): Remove "-mserialize-volatile" and
5343         "-mno-serialize-volatile".
5344         * config/xtensa/xtensa.c (print_operand): Remove checks of
5345         TARGET_SERIALIZE_VOLATILE.
5346         * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise.
5347         * doc/invoke.texi (Option Summary, Xtensa Options): Remove
5348         "-mserialize-volatile" and "-mno-serialize-volatile" options.
5350 2003-05-21  Nathan Sidwell  <nathan@codesourcery.com>
5352         * c-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier.
5353         (nested_function): Likewise.
5354         (notype_nested_function): Likewise.
5356 2003-05-21  Nick Clifton  <nickc@redhat.com>
5358         * config/stormy16/stormy-abi: Update overflow type for
5359         R_XSTORMY16_16 reloc.
5361 2003-05-21  Nathan Sidwell  <nathan@codesourcery.com>
5363         * c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED.
5364         * c-parse.in (reswords): Remove __bounded__ and __unbounded__.
5365         (rid_to_yy): Remove RID_BOUNDED, RID_UNBOUNDED slots.
5366         * print-tree.c (print_node): Remove ambient-boundedness.
5367         * tree.h (tree_common): Remove bounded_flag.
5368         (BOUNDED_INDIRECT_YPE_P, BOUNDED_POINTER_TYPE_P,
5369         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
5370         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
5371         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
5372         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED, TYPE_QUAL_BOUNDED):
5373         Remove.
5374         (TYPE_QUALS): Remove BOUNDED.
5375         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): Remove.
5376         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
5377         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
5378         TYPE_AMBIENT_BOUNDEDNESS, MAX_POINTER_DEPT,
5379         VA_LIST_POINTER_DEPTH): Remove.
5380         (struct tree_type): Remove pointer_depth.
5382 2003-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5384         * c-pretty-print.c (pp_c_integer_literal): Use
5385         HOST_WIDE_INT_PRINT_DOUBLE_HEX.
5387 2003-05-20  Roger Sayle  <roger@eyesopen.com>
5388             Kazu Hirata  <kazu@cs.umass.edu>
5389             Joern Rennecke  <joern.rennecke@superh.com>
5391         * gcse.c (cprop_jump):  Make use of REG_EQUAL notes on both
5392         setcc and jump, if they exist.  If substituted instruction
5393         fails to validate, store current effort in a REG_EQUAL note.
5394         (cprop_insn): Don't attempt further substitutions if the
5395         current instruction has been deleted.
5396         (local_cprop_pass): Likewise.
5398         * jump.c (redirect_jump):  Also update REG_EQUAL note, if
5399         one is attached to the jump instruction.
5400         (invert_jump): Delete REG_EQUAL note on jump, if one exists.
5402 2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
5404         PR c++/9738
5405         * config/i386/winnt.c (i386_pe_encode_section_info): Enable
5406         even if not first.
5408 2003-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5410         * genautomata.c (output_description, output_automaton_units,
5411         output_state_arcs): Add missing specifiers.
5413 2003-05-20  Bob Wilson  <bob.wilson@acm.org>
5415         * config/xtensa/lib1funcs.asm: Avoid use of .Lfe* in .size directives.
5416         (do_abs, do_addx2, do_addx4, do_addx8): New assembler macros.
5417         (__mulsi3): Use do_addx* instead of ADDX* instructions.  Formatting.
5418         (nsau): Rename to do_nsau.  Provide alternate version for use when
5419         the NSAU instruction is available.
5420         (__udivsi3, __divsi3, __umodsi3, __modsi3): Use do_nsau macro.
5421         (__divsi3, __modsi3): Use do_abs macro instead of ABS instruction.
5422         * config/xtensa/xtensa-config.h: Update comments to match binutils.
5423         (XCHAL_HAVE_ABS, XCHAL_HAVE_ADDX): Define.
5424         * config/xtensa/xtensa.h (MASK_ABS, MASK_ADDX): Define.
5425         (TARGET_ABS, TARGET_ADDX): Define.
5426         (TARGET_DEFAULT): Conditionally add MASK_ABS and MASK_ADDX.
5427         (TARGET_SWITCHES): Add "abs", "no-abs", "addx", and "no-addx".
5428         * config/xtensa/xtensa.md (*addx2, *addx4, *addx8, *subx2, *subx4,
5429         *subx8): Set predicate condition to TARGET_ADDX.
5430         (abssi2): Set predicate condition to TARGET_ABS.
5431         * doc/invoke.texi (Option Summary): Document new "-mabs", "-mno-abs",
5432         "-maddx", and "-mno-addx" options.
5433         (Xtensa Options): Likewise.  Also tag some opcode names with @code.
5435 2003-05-20  Kevin Ryde <user42@zip.com.au>
5436             Wolfgang Bangerth <bangerth@dealii.org>
5438         PR/10355
5439         * doc/extend.texi: Put a warning into the documentation
5440         of attribute regparm.
5442 2003-05-20  Jason Merrill  <jason@redhat.com>
5444         * tree.c (expr_last): New fn.
5445         * tree.h: Declare it.
5446         * objc/objc-act (expr_last): Rename to objc_expr_last.
5448 2003-05-20  J"orn Rennecke <joern.rennecke@superh.com>
5450         * sh.c (sh_register_move_cost): Add clase for moving between
5451         FP registers and MAC registers.
5453 2003-05-19  John David Anglin  <dave.anglin@nrc-gnrc.gc.ca>
5455         * pa/milli64.S ($$mulI): Fix typo.
5457 2003-05-19  Matt Kraai  <kraai@alumni.cmu.edu>
5459         * alias.c (nonlocal_mentioned_p, nonlocal_referenced_p)
5460         (nonlocal_set_p): Remove initial blank line.
5461         * dwarf2out.c (simple_type_size_in_bits): Likewise.
5462         * et-forest.c (et_forest_create): Likewise.
5463         * explow.c (stabilize): Likewise.
5464         * fix-header.c (write_lbrac): Likewise.
5465         * graph.c (start_fct, node_data): Likewise.
5466         * jump.c (only_sets_cc0_p, sets_cc0_p): Likewise.
5467         * rtlanal.c (global_reg_mentioned_p): Likewise.
5468         * tree.c (bit_position): Likewise.
5470 2003-05-19  Alexandre Oliva  <aoliva@redhat.com>
5472         * config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct
5473         -lthread to -lpthread.
5475 2003-05-19  Neil Booth  <neil@daikokuya.co.uk>
5477         * c-opts.c (c_common_decode_option): Don't accept dollars
5478         as identifier characters in assembly.
5479         * doc/cpp.texi: Document this.
5481 2003-05-19  Seth Arnold  <sarnold@wirex.com>
5482             Aldy Hernandez  <aldyh@redhat.com>
5484         * config/rs6000/rs6000.c (rs6000_stack_info): Do not add
5485         vrsave_size twice.
5487 2003-05-19  Aldy Hernandez  <aldyh@redhat.com>
5489         * doc/tm.texi (function_arg): Fix typo.
5491 2003-05-19  Matt Austern  <austern@apple.com>
5493         * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-offsetof option.
5494         * c-common.h (warn_invalid_offsetof): Declare.
5495         * c-common.c (warn_invalid_offsetof): Define.
5496         * doc/invoke.texi: Document -Winvalid-offsetof.
5497         * testsuite/g++.dg/other/offsetof3.C: New.
5498         * testsuite/g++.dg/other/offsetof4.C: New.
5500 2003-05-19  Kevin B. Hendricks  <kevin.hendricks@sympatico.ca>
5501             David Edelsohn  <edelsohn@gnu.org>
5503         * config/rs6000/rs6000.c (rs6000_alignment_string,
5504         rs6000_alignment_flags): New variables.
5505         (rs6000_parse_alignment_option): New function.
5506         (rs6000_override_options): Call it.
5507         * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -malign-XXX option.
5508         (MASK_ALIGN_POWER, MASK_ALIGN_NATURAL, TARGET_ALIGN_NATURAL): New
5509         macros.
5510         * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Always use COMPUTED
5511         natural alignment if TARGET_NATURAL_ALIGNMENT
5512         (ROUND_TYPE_ALIGN): Always use default record alignment if
5513         TAGET_NATURAL_ALIGNMENT.
5514         * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Same
5515         (ROUND_TYPE_ALIGN): Same.
5516         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Same
5517         (ROUND_TYPE_ALIGN): Same.
5518         * doc/invoke.texi (Option Summary, PowerPC Options): Document
5519         new options.
5521 2003-05-19  J"orn Rennecke <joern.rennecke@superh.com>
5523         * c-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME
5524         of a function using ASMSPEC, prepend a star.
5526 2003-05-19  Jason Merrill  <jason@redhat.com>
5528         * tree-inline.c (copy_body_r): Avoid generating &* during inline
5529         substitution.
5531 2003-05-19  Andrew Macleod  <amacleod@redhat.com>
5533         * config/stormy16/stormy16.c (xstormy16_expand_prologue): Do
5534         not mark assignments to the hard frame pointer as being stack
5535         frame related.
5536         (xstormy16_expand_epilogue): Mark adjustments to the stack
5537         pointer as being stack frame related.
5539 2003-05-19  Richard Sandiford  <rsandifo@redhat.com>
5541         * config/mips/mips.h (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY,
5542         ISA_HAS_FCMP_DELAY, ISA_HAS_HILO_INTERLOCKS): New macros.
5543         (PREDICATE_CODES): Add hilo_operand.
5544         * config/mips/mips.c (hilo_operand): New predicate.
5545         (mips_adjust_insn_length): Account for the number nops that might
5546         be needed to avoid hardware hazards.
5547         * config/mips/mips.md (dslot): Remove attribute.
5548         (hazard): New attribute.
5549         (can_delay): Use it.  Check for calls, branches & jumps.
5550         (muldi3): Use the standard dmult pattern for mips16 code.
5551         (muldi3_internal, muldi3_internal2): Adjust conditions accordingly.
5553 2003-05-19  Richard Sandiford  <rsandifo@redhat.com>
5555         * config/mips/mips-protos.h (final_prescan_insn,
5556         mips_count_memory_refs, mips_fill_delay_slot): Remove.
5557         * config/mips/mips.h (delay_type, dslots_load_total,
5558         dslots_load_filled, dslots_jump_total, dslots_jump_filled,
5559         dslots_number_nops, num_refs, mips_load_reg, mips_load_reg2,
5560         mips_load_reg3, mips_load_reg4): Remove.
5561         (MASK_STATS): Remove.
5562         (MASK_EXPLICIT_RELOCS): Reuse its value.
5563         (TARGET_STATS): Remove.
5564         (TARGET_SWITCHES): Turn -mstats and -mno-stats into no-ops.
5565         Warn that -mstats is now ignored.
5566         (FINAL_PRESCAN_INSN): Undefine.
5567         (DBR_OUTPUT_SEQEND): Remove handling of dslot statistics.
5568         (ASM_OUTPUT_REG_POP): Likewise.
5569         * config/mips/mips.c (dslots_load_total, dslots_load_filled,
5570         dslots_jump_total, dslots_jump_filled, dslots_number_nops, num_refs,
5571         mips_load_reg, mips_load_reg2, mips_load_reg3, mips_load_reg4,
5572         mips_fill_delay_slot, mips_count_memory_refs,
5573         final_prescan_insn): Remove.
5574         (output_block_move): Remove calls to mips_count_memory_refs.
5575         (print_operand): Remove printing of #nop for TARGET_STATS.
5576         (mips_output_function_epilogue): Remove TARGET_STATS code.
5577         Reorganize setting of fnnmae.
5578         * config/mips/mips.md: Remove handling of dslot statistics
5579         throughout file.  Change all fcmp patterns into normal asm
5580         templates, removing calls to mips_fill_delay_slot.
5581         * doc/invoke.texi: Remove documentation of -mstats.
5583 2003-05-19  Richard Sandiford  <rsandifo@redhat.com>
5585         * config/mips/mips.c (mips_class_max_nregs): Return the number of
5586         words in the mode.
5588 2003-05-19  Richard Sandiford  <rsandifo@redhat.com>
5590         * config/mips/mips.c (override_options): Disable explicit
5591         relocs for old ABIs unless using gas.
5593 2003-05-18  Eric Christopher  <echristo@redhat.com>
5595         * config/mips/mips.h: Remove definition of g_switch_value.
5597 2003-05-18  Matt Kraai  <kraai@alumni.cmu.edu>
5599         * flags.h (g_switch_value): Change to an unsigned
5600         HOST_WIDE_INT.
5601         * toplev.c (g_switch_value): Likewise.
5603         * config/alpha/alpha.c (small_symbolic_operand): Remove
5604         g_switch_value cast.
5605         (alpha_in_small_data_p): Cast size to an unsigned
5606         HOST_WIDE_INT.
5608         * config/frv/frv.c (frv_in_small_data_p): Cast size to an
5609         unsigned HOST_WIDE_INT.
5610         * config/frv/frv.h (g_switch_value, g_switch_set): Remove.
5611         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Declare g_switch_set.
5613         * config/m32r/m32r.c (m32r_in_small_data_p): Cast size to an
5614         unsigned HOST_WIDE_INT.
5615         (m32r_asm_file_start): Use HOST_WIDE_INT_PRINT_UNSIGNED.
5616         * config/m32r/m32r.h (g_switch_value, g_switch_set): Remove.
5617         (ASM_OUTPUT_ALIGNED_COMMON): Declare g_switch_value.
5619         * config/rs6000/rs6000.c (rs6000_file_start): Use
5620         HOST_WIDE_INT_PRINT_UNSIGNED.
5621         (small_data_operand): Cast summand to unsigned HOST_WIDE_INT.
5622         (rs6000_elf_in_small_data_p): Cast size to unsigned
5623         HOST_WIDE_INT.
5624         * config/rs6000/sysv4.h (g_switch_value, g_switch_set):
5625         Remove.
5626         (SUBTARGET_OVERRIDE_OPTIONS): Declare g_switch_value and
5627         g_switch_set.
5628         (ASM_OUTPUT_ALIGNED_LOCAL): Declare g_switch_value and remove
5629         g_switch_value cast.
5631 2003-05-18  Roger Sayle  <roger@eyesopen.com>
5632             Zack Weinberg  <zack@codesourcery.com>
5634         PR middle-end/10472
5635         * builtins.c (expand_builtin_memcpy):  Call force_operand on
5636         expressions and use simplify_gen_binary to create the addition.
5638 2003-05-18  Andreas Schwab  <schwab@suse.de>
5640         * config/m68k/m68k.md: Use define_constants for unspec numbers.
5642 2003-05-18  Neil Booth  <neil@daikokuya.co.uk>
5644         * config/sparc/sparc.h: Define sparc for now.
5645 2003-05-18  Nathanael Nerode  <neroden@gcc.gnu.org>
5647         * config.gcc: Clear xm_file, md_file at the beginning of each pass.
5649         * config/stormy16/stormy16.h: Remove about 3000 lines of
5650         target-independent comments.  Update copyright notice.
5652         * doc/collect2.texi: GNU CC -> GCC.
5653         * doc/headerdirs.texi: GNU CC -> GCC.
5655 2003-05-18  Gabriel Dos Reis <gdr@integrable-solutions.net>
5657         * hashtable.h (struct ht_identifier): Add data member "hash_value".
5658         * hashtable.c (ht_lookup): Use it when searching, remember.
5659         (ht_expand): Do not recompute.
5660         * tree.h (IDENTIFIER_HASH_VALUE): New macro.
5662 2003-05-18  Nathan Sidwell  <nathan@codesourcery.com>
5664         * gcov-io.c (gcov_read_bytes): Fix fread thinko.
5666 2003-05-18  Neil Booth  <neil@daikokuya.co.uk>
5668         * c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS):
5669         Default here.
5670         (c_cpp_builtins): Invoke TARGET_OBJFMT_CPP_BUILTINS().
5671         * defaults.h: Don't default TARGET_OS_CPP_BUILTINS here.
5672         * config/elfos.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__.
5673         * config/freebsd-spec.h, config/netbsd-elf.h, config/alpha/gnu.h,
5674         config/arm/linux-elf.h, config/arm/rtems-elf.h,
5675         config/arm/unknown-elf.h, config/cris/cris.h, config/cris/linux.h,
5676         config/h8300/elf.h, config/i370/linux.h, config/i386/beos-elf.h,
5677         config/i386/gnu.h, config/i386/linux.h, config/i386/linux64.h,
5678         config/i386/moss.h, config/i386/rtemself.h, config/ia64/ia64.h,
5679         config/m68k/rtemself.h, config/mcore/mcore-elf.h, config/mips/linux.h,
5680         config/pa/pa-linux.h, config/rs6000/linux.h, config/rs6000/linux64.h,
5681         config/rs6000/sysv4.h, config/rs6000/vxworks.h, config/s390/linux.h,
5682         config/sh/coff.h, config/sh/elf.h, config/sh/rtemself.h,
5683         config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h,
5684         config/sparc/openbsd64.h, config/sparc/sp64-elf.h,
5685         config/sparc/sp86x-elf.h, config/xtensa/elf.h, config/xtensa/linux.h:
5686         Don't define __ELF__.
5687         * config/alpha.h, config/m68k/linux.h (TARGET_OBJFMT_CPP_BUILTINS):
5688         Define __ELF__.
5689         * doc/cpp.texi: Document __ELF__.
5690         * doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS.     *
5692 2003-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5694         * builtins.c (validate_arglist): Eliminate libiberty VA_ macros,
5695         always use stdarg.
5696         * c-errors.c (pedwarn_c99): Likewise.
5697         * c-format.c (status_warning): Likewise.
5698         * c-semantics.c (build_stmt): Likewise.
5699         * calls.c (emit_library_call, emit_library_call_value): Likewise.
5700         * collect2.c (notice, fatal_perror, fatal, error): Likewise.
5701         * cpperror.c (cpp_error, cpp_error_with_line): Likewise.
5702         * diagnostic.c (build_message_string, output_printf,
5703         output_verbatim, verbatim, inform, warning, pedwarn, error, sorry,
5704         fatal_error, internal_error, warning_with_decl, pedwarn_with_decl,
5705         error_with_decl, fnotice): Likewise.
5706         * dwarf2asm.c (dw2_asm_output_data, dw2_asm_output_delta,
5707         dw2_asm_output_offset, dw2_asm_output_pcrel, dw2_asm_output_addr,
5708         dw2_asm_output_addr_rtx, dw2_asm_output_nstring,
5709         dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128,
5710         dw2_asm_output_delta_uleb128, dw2_asm_output_delta_sleb128,
5711         dw2_asm_output_encoded_addr_rtx): Likewise.
5712         * emit-rtl.c (gen_rtx, gen_rtvec): Likewise.
5713         * errors.c (warning, error, fatal, internal_error): Likewise.
5714         * final.c (output_operand_lossage, asm_fprintf): Likewise.
5715         * fix-header.c (fatal): Likewise.
5716         * gcc.c (fatal, error, notice): Likewise.
5717         * gcov.c (fnotice): Likewise.
5718         * genattrtab.c (attr_rtx, attr_printf): Likewise.
5719         * gengtype.c (error_at_line, xasprintf, oprintf): Likewise.
5720         * gensupport.c (message_with_line): Likewise.
5721         * mips-tfile.c (fatal, error): Likewise.
5722         * protoize.c (notice): Likewise.
5723         * ra-debug.c (ra_debug_msg): Likewise.
5724         * read-rtl.c (fatal_with_file_and_line): Likewise.
5725         * rtl-error.c (error_for_asm, warning_for_asm): Likewise.
5726         * tree.c (build, build_nt, build_function_type_list): Likewise.
5728 2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
5730         * defaults.h (TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Remove.
5731         * gcc.c (cpp_predefines): Remove.
5732         (cpp_unique_options, do_spec_1): Remove handling of CPP_PREDEFINES.
5733         (static_specs): Remove predefines.
5734         * system.h: Poison CPP_PREDEFINES.
5735         * config/freebsd.h, config/openbsd.h, config/ptx4.h, config/svr3.h,
5736         config/svr4.h, doc/tm.texi: Remove references to CPP_PREDEFINES.
5738 2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
5740         * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68k-none.h,
5741         config/m68k/m68k.h, config/m68k/m68kemb.h, config/m68k/m68kv4.h,
5742         config/m68k/openbsd.h, config/m68k/rtemself.h: Remove CPP_PREDEFINES,
5743         use TARGET_OS_CPP_BUILTINS and TARGET_CPU_CPP_BUILTINS instead.
5745 2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
5747         PR c/9209
5748         * c-common.c, c-common.h (dollars_in_ident): Remove.
5749         * c-opts.c (DOLLARS_IN_IDENTIFIERS): Default to true.
5750         (c_common_init_options, c_common_decode_option): Set dollars_in_ident.
5751         * cpphash.h (warned_dollar): Rename warn_dollars.
5752         * cppinit.c (struct lang_flags, lang_defaults, cpp_set_lang)
5753         Permit dollars regardless of -std=.
5754         (post_options): Set warn_dollars.
5755         * cpplex.c (forms_identifier_p): Use warn_dollars.
5756         * config/darwin.h, config/alpha/vms.h, config/m68hc11/m68hc11.h:
5757         Remove redundant definitions of DOLLARS_IN_IDENTIFIERS.
5758         * doc/cpp.texi, doc/cppopts.texi, doc/invoke.texi, doc/tm.texi:
5759         Update documentation.
5761 2003-05-17  Andreas Schwab  <schwab@suse.de>
5763         * config/m68k/m68k.c (m68k_output_function_prologue): Use
5764         HOST_WIDE_INT_PRINT_DEC for fprintf and %wd for asm_fprintf when
5765         formatting a HOST_WIDE_INT.
5766         (m68k_output_function_epilogue): Likewise.
5768 2003-05-17  Zack Weinberg  <zack@codesourcery.com>
5770         * doc/install.texi: Remove information about desupported targets.
5772 2003-05-17  Andreas Schwab  <schwab@suse.de>
5774         * config/m68k/coff.h: Remove support for Sun FPA and Sun SKY board.
5775         * config/m68k/linux.h: Likewise.
5776         * config/m68k/m68k-none.h: Likewise.
5777         * config/m68k/netbsd-elf.h: Likewise.
5778         * config/m68k/sgs.h: Likewise.
5779         * config/m68k/m68k.h: Likewise.
5780         * config/m68k/m68k.md: Likewise.
5781         * config/m68k/m68k.c: Likewise.
5782         * doc/md.texi (Machine Constraints): Remove Sun FPA specific
5783         constraints.
5784         * doc/invoke.texi (Option Summary): Remove -mfpa.
5785         (M680x0 Options): Likewise.
5787 2003-05-17  David Edelsohn  <edelsohn@gnu.org>
5789         * rs6000.c (rs6000_function_value): Simplify REAL_TYPE logic.
5791 2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
5793         * config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS.
5794         * config/sparc/liteelf.h, config/sparc/openbsd64.h,
5795         config/sparc/rtemself.h, config/sparc/sol2-64.h,
5796         config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h:
5797         Update for use of TARGET_SUB_OS_CPP_BUILTINS.
5799 2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
5801         * i960/i960.h, i960/rtems.h: Use TARGET_OS_CPP_BUILTINS and
5802         TARGET_CPU_CPP_BUILTINS in preference to CPP_PREDEFINES.
5804 2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
5806         * config.gcc (sparc-*-sysv4*): Add sparc/sysv4-only.h.
5807         * sparc/aout.h, sparc/elf.h, sparc/freebsd.h, sparc/linux.h,
5808         sparc/linux64.h, sparc/lite.h, sparc/litecoff.h, sparc/liteelf.h,
5809         sparc/netbsd-elf.h, sparc/openbsd.h, sparc/openbsd64.h,
5810         sparc/pbd.h, sparc/rtemself.h, sparc/sol2-64.h, sparc/sol2-bi.h,
5811         sparc/sol2.h, sparc/sp64-elf.h, sparc/sp86-elf.h, sparc/sparc.h,
5812         sparc/sysv4.h,
5813         * sparc/sysv4-only.h: New.
5815 2003-05-17  Alan Modra  <amodra@bigpond.net.au>
5817         * function.c (assign_parms): Check for zero size args.
5819 2003-05-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5821         * cfgloopanal.c (test_for_iteration): Use string concatentation on
5822         HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
5823         function calls into one.
5824         * dbxout.c (dbxout_symbol): Likewise.
5825         * defaults.h (ASM_OUTPUT_SIZE_DIRECTIVE): Likewise.
5826         * dwarf2asm.c (dw2_asm_output_data_uleb128,
5827         dw2_asm_output_data_sleb128): Likewise.
5828         * genrecog.c (debug_decision_2): Likewise.
5829         * loop.c (emit_prefetch_instructions): Likewise.
5830         * print-rtl.c (print_rtx): Likewise.
5831         * print-tree.c (print_node_brief, print_node): Likewise.
5832         * ra-debug.c (dump_igraph, dump_graph_cost,
5833         dump_static_insn_cost): Likewise.
5834         * ra-rewrite.c (dump_cost): Likewise.
5835         * sdbout.c (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
5836         * sreal.c (dump_sreal): Likewise.
5837         * unroll.c (unroll_loop, precondition_loop_p): Likewise.
5838         * varasm.c (assemble_vtable_entry): Likewise.
5840         * avr.c (avr_output_function_prologue,
5841         avr_output_function_epilogue, print_operand): Fix format specifier
5842         warnings.
5843         (init_cumulative_args): Mark parameter with ATTRIBUTE_UNUSED.
5844         * avr.h (FUNCTION_VALUE_REGNO_P): Fix signed/unsigned warnings.
5846 2003-05-16  Geoffrey Keating  <geoffk@apple.com>
5848         * config/rs6000/rs6000.c (expand_block_move): Unify the TARGET_STRING
5849         and ! TARGET_STRING cases.
5851         * doc/cppopts.texi (-undef): Fix texinfo warning.
5853         * doc/cppopts.texi (-H): Document that -H works for PCH files too.
5854         * cppfiles.c (validate_pch): When -H is used, print some information
5855         about PCH files found.
5857 2003-05-16  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5859         * config/mips/t-elf: Remove obsolete rules adding dependencies on tm.h.
5860         * config/mips/t-isa3264, config/mips/t-r3900: Likewise.
5861         * config/mips/t-sr71k: Likewise.
5863 2003-05-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5865         * arc.c (arc_output_function_prologue,
5866         arc_output_function_epilogue): Fix format specifier warnings.
5867         * arc.h (LARGE_INT): Fix signed/unsigned warnings.
5869         * v850.c (print_operand): Fix format specifier warnings.
5871         * ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format
5872         specifier warnings.
5874         * mcore.c (mcore_print_operand_address, mcore_print_operand): Fix
5875         format specifier warnings.
5877         * ip2k.c (function_prologue, function_epilogue, print_operand):
5878         Fix format specifier warnings.
5879         * ip2k.md: Likewise.
5881         * i960.c (i960_output_function_prologue, i960_print_operand,
5882         i960_print_operand_addr): Fix format specifier warnings.
5884         * i370.c (ascebc, ebcasc): Wrap in macros controlling usage.
5885         (i370_output_function_prologue): Fix format specifier warnings.
5886         * i370.h (PRINT_OPERAND): Likewise.
5888         * fr30.c (fr30_print_operand): Fix format specifier warnings.
5890         * dsp16xx.c (print_operand_address): Fix format specifier warning.
5891         * dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers.
5893         * c4x.c (c4x_print_operand, c4x_print_operand_address): Fix format
5894         specifier warnings.
5896         * alpha.c (print_operand_address, alpha_start_function,
5897         unicosmk_output_ssib): Use string concatentation on
5898         HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
5899         function calls into one.
5900         * arm.c (arm_print_operand): Likewise.
5901         * cris.c (cris_asm_output_mi_thunk): Likewise.
5902         * frv.c (frv_asm_output_mi_thunk): Likewise.
5903         * ia64.c (ia64_print_operand, process_set): Likewise.
5904         * m68k.c (m68k_output_function_epilogue, m68k_output_mi_thunk):
5905         Likewise.
5906         * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
5907         * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
5908         * pa.c (output_div_insn, pa_asm_output_mi_thunk): Likewise.
5909         * pa.h (PRINT_OPERAND_ADDRESS): Likewise.
5910         * rs6000.c (rs6000_va_start, print_operand_address): Likewise.
5911         * s390.c (s390_assemble_integer): Likewise.
5912         * sparc.c (sparc_flat_function_prologue,
5913         sparc_flat_function_epilogue): Likewise.
5914         * stormy16.c (xstormy16_print_operand_address, xstormy16_print_operand): Likewise.
5915         * vax.c (vax_output_mi_thunk): Likewise.
5917         * frv.c (frv_print_operand_memory_reference): Fix format specifier
5918         warning.
5919         (frv_rtx_costs): Mark parameter with ATTRIBUTE_UNUSED.
5921         * m68k.c (m68k_output_function_epilogue): Fix format specifier
5922         warnings.
5924         * stormy16-protos.h (xs_hi_general_operand,
5925         xs_hi_nonmemory_operand): Prototype.
5926         * stormy16.c (xstormy16_output_shift): Fix format specifier
5927         warnings.
5929         * cris.c: Fix format specifier warnings.
5931 2003-05-16  Nick Clifton  <nickc@redhat.com>
5933         * config/arm/lib1funcs.asm: Fix typo: LSM instead of LSYM.
5935 2003-05-16  Wolfgang Bangerth <bangerth@dealii.org>
5937         * doc/bugreport.texi: Remove most of the of the preface of the
5938         bugs section.
5940 2003-05-16  Jakub Jelinek  <jakub@redhat.com>
5942         * config/ia64/unwind-ia64.c (uw_update_reg_address): Handle
5943         .save XX, r0.
5945 2003-05-15  Roger Sayle  <roger@eyesopen.com>
5947         * config/alpha/alpha.h (ASM_OUTPUT_SKIP): Fix typo.
5949 2003-05-15  Eric Christopher  <echristo@redhat.com>
5951         * cfgcleanup.c (merge_blocks): Fix return value.
5953 2003-05-15 Eric Christopher <echristo@redhat.com>
5955         * combine.c (expand_compound_operation): Make sure
5956         that zero_extend operation is profitable.
5958 2003-05-15  Richard Henderson  <rth@redhat.com>
5960         * config/alpha/linux.h, config/alpha/linux-elf.h: Remove
5961         code protected by USE_GNULIBC_1.
5963 2003-05-15  Zack Weinberg  <zack@codesourcery.com>
5965         * config.gcc: Purge all targets obsoleted in GCC 3.3.  Also
5966         remove hppa*-*-mpeix* which could not be built, and prune
5967         files from tmake_file= or tm_file= lists that don't exist.
5969         * config/alpha/alpha-interix.h, config/alpha/alpha32.h
5970         * config/alpha/t-interix, config/arm/conix-elf.h
5971         * config/arm/t-arm-aout, config/arm/t-strongarm-coff
5972         * config/arm/unknown-elf-oabi.h, config/i386/win32.h
5973         * config/m68k/3b1.h, config/m68k/3b1g.h, config/m68k/amix.h
5974         * config/m68k/atari.h, config/m68k/ccur-GAS.h, config/m68k/crds.h
5975         * config/m68k/hp2bsd.h, config/m68k/hp3bsd.h
5976         * config/m68k/hp3bsd44.h, config/m68k/linux-aout.h
5977         * config/m68k/m68k-psos.h, config/m68k/mot3300.h
5978         * config/m68k/pbb.h, config/m68k/plexus.h, config/m68k/sun2.h
5979         * config/m68k/sun2o4.h, config/m68k/sun3.h, config/m68k/sun3mach.h
5980         * config/m68k/sun3n.h, config/m68k/sun3n3.h, config/m68k/sun3o3.h
5981         * config/m68k/t-mot3300, config/m68k/t-mot3300-gald
5982         * config/m68k/t-mot3300-gas, config/m68k/t-mot3300-gld
5983         * config/m68k/tower-as.h, config/m68k/tower.h
5984         * config/m88k/aout-dbx.h, config/m88k/m88k-aout.h
5985         * config/m88k/m88k-modes.def, config/m88k/m88k-move.sh
5986         * config/m88k/m88k-protos.h, config/m88k/m88k.c
5987         * config/m88k/m88k.h, config/m88k/m88k.md, config/m88k/openbsd.h
5988         * config/m88k/sysv4.h, config/m88k/t-luna, config/m88k/t-luna-gas
5989         * config/m88k/t-m88k, config/m88k/t-sysv4, config/mcore/gfloat.h
5990         * config/mips/rtems64.h, config/mips/sni-gas.h
5991         * config/mips/sni-svr4.h, config/mips/t-ecoff
5992         * config/mn10200/lib1funcs.asm, config/mn10200/mn10200-protos.h
5993         * config/mn10200/mn10200.c, config/mn10200/mn10200.h
5994         * config/mn10200/mn10200.md, config/mn10200/t-mn10200
5995         * config/pa/pa-hiux.h, config/pa/pa-hpux7.h, config/pa/pa-hpux9.h
5996         * config/pa/pa-oldas.h, config/pa/t-mpeix, config/psos.h
5997         * config/romp/romp-protos.h, config/romp/romp.c
5998         * config/romp/romp.h, config/romp/romp.md, config/rs6000/aix31.h
5999         * config/rs6000/aix3newas.h, config/rs6000/mach.h
6000         * config/sparc/bsd.h, config/sparc/hal.h
6001         * config/sparc/linux-aout.h, config/sparc/lynx-ng.h
6002         * config/sparc/lynx.h, config/sparc/netbsd.h
6003         * config/sparc/sp86x-aout.h, config/sparc/splet.h
6004         * config/sparc/sun4gas.h, config/sparc/sun4o3.h
6005         * config/sparc/sunos4.h, config/sparc/t-chorus-elf
6006         * config/sparc/t-halos, config/sparc/t-sparcbare
6007         * config/sparc/t-splet, config/sparc/t-sunos41
6008         * config/v850/rtems.h: Delete file.
6010 2003-05-15  Aldy Hernandez  <aldyh@redhat.com>
6012         * config/rs6000/rs6000-protos.h (function_value): Protoize.
6014         * config/rs6000/rs6000.h (FUNCTION_VALUE): Call function.
6016         * config/rs6000/rs6000.c (rs6000_function_value): New.
6018 2003-05-15  Philip Blundell  <philb@gnu.org>
6020         * config/arm/arm.c (arm_is_xscale): Rename to arm_arch_xscale.
6021         All uses updated.
6022         (arm_tune_xscale): New variable.
6023         (arm_override_options): Set it.
6024         (arm_adjust_cost): Use it in place of arm_arch_xscale.
6025         (arm_gen_load_multiple): Likewise.
6026         (arm_gen_store_multiple): Likewise.
6027         * config/arm/arm.md (is_xscale): Likewise.
6028         * config/arm/arm.h (arm_tune_xscale): Declare.
6030 2003-05-15  Philip Blundell  <philb@gnu.org>
6032         PR target/10730
6033         * config/arm/arm.c (adjacent_mem_locations): Reject offsets
6034         involving invalid constants.
6036 2003-05-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6038         * pa.c (hppa_expand_prologue): Remove blockage.
6040 2003-05-15  Wolfgang Bangerth <bangerth@dealii.org>
6042         * doc/bugreport.texi: Remove most of the bug reporting
6043         instructions and merge them into bugs.html.
6045 2003-05-14  Matt Kraai  <kraai@alumni.cmu.edu>
6047         * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Cast
6048         g_switch_value to unsigned HOST_WIDE_INT.
6050 2003-05-14  Eric Christopher  <echristo@redhat.com>
6052         * combine.c: Fix header comments.
6053         (distribute_notes): Remove usage of elim_i1, elim_i2. Propagate
6054         to all calls and prototype.
6056 2003-05-14  Roger Sayle  <roger@eyesopen.com>
6058         PR optimization/10764
6059         * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
6060         Add an explicit clobber to show that UNSPEC_FPATAN clobbers st(1).
6061         (*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3):  Likewise,
6062         add an explicit clobber to show that UNSPEC_FYL2X clobbers st(1).
6063         (logsf2, logdf2, logxf2, logtf2): Update expander patterns to match
6064         the corresponding *fyl2x_?fxf3 instructions.
6066 2003-05-14  Bob Wilson  <bob.wilson@acm.org>
6068         * config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Change from 49 to 59.
6069         * config/xtensa/xtensa-config.h (XCHAL_HAVE_CONST16,
6070         XCHAL_HAVE_L32R): New.
6071         * config/xtensa/xtensa-protos.h (non_const_move_operand,
6072         xtensa_load_constant, xtensa_function_prologue,
6073         xtensa_function_epilogue): Delete prototypes.
6074         (xtensa_expand_prologue): New.
6075         * config/xtensa/xtensa.c (frame_size_const,
6076         TARGET_ASM_FUNCTION_PROLOGUE, TARGET_MACHINE_DEPENDENT_REORG,
6077         non_const_move_operand, xtensa_load_constant, xtensa_reorg,
6078         xtensa_function_prologue): Delete.
6079         (add_operand, xtensa_mem_offset): Formatting.
6080         (move_operand): If the const16 option is available, allow any SFmode
6081         and SImode constants.
6082         (xtensa_emit_move_sequence): Inline the former contents of
6083         xtensa_load_constant with modifications to handle the const16 option.
6084         (override_options): Add xtensa_char_to_class['W'] and set it to
6085         the general register class only if the const16 option is enabled.
6086         Fix formatting.  Disallow PIC when using the const16 option.
6087         (print_operand): Reorganize to switch on "letter" instead of the
6088         RTL code.  Add output_operand_lossage calls for invalid cases.
6089         Add support for 't' and 'b' letters.
6090         (xtensa_expand_prologue): New function to replace
6091         xtensa_function_prologue and xtensa_reorg.
6092         (xtensa_function_epilogue): Declare this as static.  Delete code
6093         to print the retw.n or retw instruction.
6094         (xtensa_return_addr): Use A0_REG instead of 0.
6095         (xtensa_rtx_costs): Add costs for using the const16 option.
6096         * config/xtensa/xtensa.h (MASK_CONST16, TARGET_CONST16): New.
6097         (TARGET_DEFAULT): Add CONST16 if L32R instructions not available.
6098         (TARGET_SWITCHES): Add "const16" and "no-const16".
6099         (REG_CLASS_FROM_LETTER): Add comment about new 'W' letter.
6100         (EXTRA_CONSTRAINT): Change 'T' constraint to only apply when not
6101         using the const16 option.
6102         (TRAMPOLINE_TEMPLATE): Rewrite to avoid hardwired use of l32r insn.
6103         (TRAMPOLINE_SIZE): Change from 49 to 59.
6104         (INITIALIZE_TRAMPOLINE): Adjust offsets to match new trampoline.
6105         (GO_IF_LEGITIMATE_ADDRESS): Do not allow constant pool addresses
6106         when using the const16 option.
6107         (PREDICATE_CODES): Delete non_const_move_operand.
6108         * config/xtensa/xtensa.md (define_constants): Add A1_REG, A8_REG, and
6109         UNSPECV_ENTRY.
6110         (movdi, movdf): If the source is a constant, always expand to a
6111         sequence of movsi insns.
6112         (movdi_internal, movdf_internal): Remove alternative using l32r insns.
6113         (movsi_internal, movsf_internal): Add alternative using const16 insns.
6114         (movsf): Add const16 support.
6115         (entry, prologue, epilogue): New.
6116         (set_frame_ptr): Add missing mode for unspec_volatile operation.
6117         Likewise for subsequent split pattern.
6118         * doc/invoke.texi (Option Summary, Xtensa Options): Document new
6119         "-mconst16" and "-mno-const16" options.
6121 2003-05-14  Richard Henderson  <rth@redhat.com>
6123         * config/ia64/ia64.c (ia64_expand_load_address): Force destination
6124         to be DImode register.  Merge load_symptr.
6125         * config/ia64/ia64.md (load_symptr): Remove.
6127 2003-05-14  Richard Henderson  <rth@redhat.com>
6129         * rtl.h (TREE_CONSTANT_POOL_ADDRESS_P): Rename from
6130         DEFERRED_CONSTANT_P.
6131         * integrate.c (copy_rtx_and_substitute): Update use.
6132         * varasm.c (build_constant_desc): Set SYMBOL_REF_DECL
6133         to the copy generated.
6134         (maybe_output_constant_def_contents): Examine TREE_ASM_WRITTEN
6135         of the constant to see if we should emit.
6136         (mark_constant): Similarly.
6137         (output_constant_def_contents): Set TREE_ASM_WRITTEN.
6139 2003-05-14  David Edelsohn  <edelsohn@gnu.org>
6141         * config/rs6000/rs6000.md (movsi_internal2): Use compare for self
6142         move record condition.
6143         (movdi_internal2): Same.
6145 2003-05-14  Nathan Sidwell  <nathan@codesourcery.com>
6147         * gcov-io.h (gcov_write_bytes, gcov_read_bytes): Remove here.
6148         (GCOV_TAG_*) Force type to gcov_unsigned_t.
6149         (GCOV_CHECK, GCOV_CHECK_READING, GCOV_CHECK_WRITING): New.
6150         (struct gcov_var): Remove modified. Add start, length, offset,
6151         overread. Have buffer array for libgcov.
6152         (gcov_sync, gcov_seek): Definitions moved to gcov-io.c.
6153         (gcov_position, gcov_rewrite, gcov_is_eof): Adjust.
6154         * gcov-io.c (gcov_open): Set mode, do not read anything.
6155         (gcov_close): Write final block.
6156          (gcov_write_block, gcov_allocate): New.
6157         (gcov_write_bytes): Make static. Write or allocate buffer.
6158         (gcov_write_unsigned, gcov_write_counter): Buffer can never be
6159         null.
6160         (gcov_write_string): Adjust.
6161         (gcov_write_tag)
6162         (gcov_write_length): Adjust. Flush the block.
6163         (gcov_write_tag_length): Buffer can never be null.
6164         (gcov_read_bytes): Make static. Read in block.
6165         (gcov_sync): Moved here. Adjust.
6166         (gcov_seek): Moved here. Adjust.
6167         * coverage.c (read_counts_file): Adjust.
6168         * gcov-dump.c (print_prefix): Add position parameter.
6169         (flag_dump_positions): New flag.
6170         (options, main, print_usage): Add it.
6171         (dump_file, tag_blocks, tag_arcs, tag_lines, tag_counters,
6172         tag_summary): Adjust.
6173         * gcov.c (read_graph_file, read_count_file): Adjust.
6174         * libgcov.c (gcov_exit): Adjust.
6176         * Makefile.in (LIBGCC_DEPS): Use $(srcdir) on gcov files
6177         (libgcov.a): Depend on libgcc.a.
6178         (gcov.o, gcov-dump.o): Add gcov-io.c.
6179         * mklibgcc.in (libgcov_c_dep): Use $(srcdir).
6181         * loop.c (check_dbra_loop): Factor common test.
6183 2003-05-14  Ben Elliston  <bje@wasabisystems.com>
6185         * doc/md.texi (Automaton pipeline description): Grammar fixes.
6187 2003-05-14  Richard Sandiford  <rsandifo@redhat.com>
6189         * target-def.h (TARGET_MACHINE_DEPENDENT_REORG): Define.
6190         (TARGET_INITIALIZER): Include it.
6191         * target.h (struct gcc_target): Add machine_dependent_reorg field.
6192         * toplev.c (rest_of_compilation): Use targetm.machine_dependent_reorg.
6193         * system.h: Poison MACHINE_DEPENDENT_REORG.
6195         * config/alpha/alpha-protos.h (alpha_reorg): Remove declaration.
6196         * config/alpha/alpha.h (MACHINE_DEPENDENT_REORG): Remove.
6197         * config/alpha/alpha.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6198         (alpha_handle_trap_shadows): Remove "first insn" parameter.
6199         (alpha_align_insns): Likewise.
6200         (alpha_reorg): Likewise.  Make static.  Update calls to above
6201         functions.
6203         * config/arm/arm-protos.h (arm_reorg): Remove declaration.
6204         * config/arm/arm.h (MACHINE_DEPENDENT_REORG): Remove.
6205         * config/arm/arm.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6206         (arm_reorg): Remove parameter.  Make static.
6208         * config/avr/avr-protos.h (machine_dependent_reorg): Remove.
6209         * config/avr/avr.h (MACHINE_DEPENDENT_REORG): Remove.
6210         * config/avr/avr.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6211         (avr_reorg): Renamed from machine_dependent_reorg.  Make static.
6212         Remove parameter.
6214         * config/c4x/c4x-protos.h (c4x_process_after_reload): Remove.
6215         * config/c4x/c4x.h (MACHINE_DEPENDENT_REORG): Remove.
6216         * config/c4x/c4x.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6217         (c4x_reorg): Renamed from c4x_process_after_reload.  Make static.
6218         Remove parameter.
6220         * config/d30v/d30v-protos.h (d30v_machine_dependent_reorg): Remove.
6221         * config/d30v/d30v.h (MACHINE_DEPENDENT_REORG): Remove.
6222         * config/d30v/d30v.c (d30v_machine_dependent_reorg): Remove.
6224         * config/frv/frv-protos.h (frv_machine_dependent_reorg): Remove.
6225         * config/frv/frv.c: Remove orphaned comment.
6227         * config/i386/i386-protos.h (x86_machine_dependent_reorg): Remove.
6228         * config/i386/i386.h (MACHINE_DEPENDENT_REORG): Remove.
6229         * config/i386/i386.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6230         (ix86_reorg): Renamed from x86_machine_dependent_reorg.  Make static.
6231         Remove parameter.
6233         * config/ia64/ia64-protos.h (ia64_reorg): Remove declaration.
6234         * config/ia64/ia64.h (MACHINE_DEPENDENT_REORG): Remove.
6235         * config/ia64/ia64.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6236         (emit_insn_group_barriers): Remove "first insn" parameter.
6237         (emit_all_insn_group_barriers): Likewise.
6238         (ia64_reorg): Likewise.  Make static.  Update calls to above functions.
6239         (ia64_output_mi_thunk): Update call to emit_all_insn_group_barriers.
6241         * config/ip2k/ip2k-protos.h (machine_dependent_reorg): Remove.
6242         * config/ip2k/ip2k.h (MACHINE_DEPENDENT_REORG): Remove.
6243         * config/ip2k/ip2k.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6244         (ip2k_reorg): Renamed from machine_dependent_reorg.  Make static.
6245         Remove parameter.
6247         * config/m68hc11/m68hc11-protos.h (m68hc11_reorg): Remove declaration.
6248         * config/m68hc11/m68hc11.h (MACHINE_DEPENDENT_REORG): Remove.
6249         * config/m68hc11/m68hc11.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6250         (m68hc11_reorg): Make static.  Remove parameter.
6252         * config/mcore/mcore-protos.h (mcore_dependent_reorg): Remove.
6253         * config/mcore/mcore.h (MACHINE_DEPENDENT_REORG): Remove.
6254         * config/mcore/mcore.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6255         (conditionalize_optimization): Remove parameter.
6256         (mcore_reorg): Renamed from mcore_dependent_reorg.  Remove parameter.
6257         Make static.  Update call to conditionalize_optimization.
6259         * config/mips/mips-protos.h (machine_dependent_reorg): Remove.
6260         * config/mips/mips.h (MACHINE_DEPENDENT_REORG): Remove.
6261         * config/mips/mips.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6262         (mips_reorg): Renamed from machine_dependent_reorg.  Remove parameter.
6263         Make static.
6265         * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg): Remove.
6266         * config/mmix/mmix.h (MACHINE_DEPENDENT_REORG): Remove.
6267         * config/mmix/mmix.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6268         (mmix_reorg): Renamed from mmix_machine_dependent_reorg.  Make static.
6269         Remove parameter.
6271         * config/pa/pa-protos.h (pa_reorg): Remove declaration.
6272         * config/pa/pa.h (MACHINE_DEPENDENT_REORG): Remove.
6273         * config/pa/pa.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6274         (pa_combine_instructions): Remove "first insn" parameter.
6275         (remove_useless_addtr_insns): Likewise.
6276         (pa_reorg): Likewise.  Make static.  Update calls to above functions.
6278         * config/rs6000/rs6000.h (MACHINE_DEPENDENT_REORG): Remove
6279         commented-out definition.
6281         * config/s390/s390-protos.h (s390_machine_dependent_reorg): Remove.
6282         * config/s390/s390.h (MACHINE_DEPENDENT_REORG): Remove.
6283         * config/s390/s390.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6284         (s390_reorg): Renamed from s390_machine_dependent_reorg.  Make static.
6285         Remove parameter.
6287         * config/sh/sh-protos.h (machine_dependent_reorg): Remove.
6288         * config/sh/sh.h (MACHINE_DEPENDENT_REORG): Remove.
6289         * config/sh/sh.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6290         (sh_reorg): Renamed from machine_dependent_reorg.  Make static.
6291         Remove parameter.
6292         (sh_output_mi_thunk): Call sh_reorg directly.
6293         * config/sh/sh.md: Update comment.
6295         * config/stormy16/stormy16.h (MACHINE_DEPENDENT_REORG): Remove
6296         commented-out definition.
6298         * config/v850/v850-protos.h (v850_reorg): Remove declaration.
6299         * config/v850/v850.h (MACHINE_DEPENDENT_REORG): Remove.
6300         * config/v850/v850.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6301         (v850_reorg): Make static.  Remove parameter.
6303         * config/xtensa/xtensa-protos.h (xtensa_reorg): Remove declaration.
6304         * config/xtensa/xtensa.h (MACHINE_DEPENDENT_REORG): Remove.
6305         * config/xtensa/xtensa.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
6306         (xtensa_reorg): Make static.  Remove parameter.
6308         * doc/tm.texi (MACHINE_DEPENDENT_REORG): Remove.
6309         (TARGET_MACHINE_DEPENDENT_REORG): Document.
6311 2003-05-13  Richard Henderson  <rth@redhat.com>
6313         * c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if
6314         the old decl had instantiated DECL_RTL.
6316 2003-05-13  Mike Stump  <mrs@apple.com>
6318         * doc/invoke.texi (Option Summary): Kill off documentation for -$.
6320 2003-05-13  Janis Johnson  <janis187@us.ibm.com>
6322         * config/rs6000/sysv4.h (OUTPUT_ASM_ALIGNED_LOCAL): Expect
6323         HOST_WIDE_INT argument.
6325 2003-05-13  Jason Merrill  <jason@redhat.com>
6327         * tree.h (STRIP_MAIN_TYPE_NOPS): New macro.
6329         * tree.c (iterative_hash_expr): New fn.
6331         * c-semantics.c (emit_local_var): Don't mess with temp slots if
6332         there's no initializer.
6334 2003-05-13  Richard Sandiford  <rsandifo@redhat.com>
6336         * final.c (final_scan_insn): Apply the effects of frame-related
6337         delay slot insns before emitting a delayed branch.
6339 2003-05-13  Nick Clifton  <nickc@redhat.com>
6341         * config/mcore/mcore.md (jump): Use emit_jump_insn.
6343 2003-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
6345         * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Second
6346         parameter of ASM_OUTPUT_SKIP must have type unsigned HOST_WIDE_INT.
6348 2003-05-12  DJ Delorie  <dj@redhat.com>
6350         * expr.c (move_by_pieces): Honor the alignment of TO and FROM.
6351         (emit_push_insn): Don't use push when the source alignment is less
6352         than the stack's push rounding.
6354 2003-05-13  Zack Weinberg  <zack@codesourcery.com>
6356         * diagnostic.c (output_format): Add support for %m.
6357         (output_printf, output_verbatim, diagnostic_set_info,
6358         verbatim): Set err_no field of the text_info structure being
6359         initialized.
6360         (fatal_io_error): Delete function.
6361         * diagnostic.h (text_info): Add err_no field.
6362         * toplev.h (fatal_io_error): Delete prototype.
6364         * c-opts.c, c-pch.c, dwarfout.c, ggc-common.c, ggc-page.c, graph.c
6365         * toplev.c, config/mips/mips.c, config/rs6000/host-darwin.c
6366         * objc/objc-act.c: Replace all calls to fatal_io_error with
6367         calls to fatal_error; add ": %m" to the end of all the affected
6368         error messages.
6370 2003-05-13  Zack Weinberg  <zack@codesourcery.com>
6372         * varasm.c (notice_rtl_inlining_of_deferred_constant): New function.
6373         * rtl.h: Prototype it.
6374         * integrate.c (copy_rtx_and_substitute <SYMBOL_REF>): Call it
6375         when appropriate.
6377 2003-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
6379         * config/s390/s390.md ("*iordi3_oi"): Do not mark commutative.
6380         ("*iorsi3_oi"): Likewise.
6382 2003-05-13  Richard Earnshaw  <rearnsha@arm.com>
6384         * arm.md (compare_scc): Use shorter sequence for EQ case.
6385         (ior_scc_scc_cmp, and_scc_scc_cmp): New insn-and-split patterns.
6386         (and_scc_scc): Ensure split only applies when there is a dominance
6387         of the comparisons.
6388         (and_scc_scc_nodom): New insn-and-split pattern.
6390 2003-05-13  Richard Sandiford  <rsandifo@redhat.com>
6392         * unwind-dw2.c (uw_init_context_1): Don't pass &outer_cfa directly
6393         to _Unwind_SetGRPtr().
6395 2003-05-13  Michael Eager <eager@mvista.com>
6397         * Makefile.in: Initialize program_transform_cross_name from
6398         @program_transform_name@ instead of target_alias.
6400 2003-05-12  Janis Johnson  <janis187@us.ibm.com>
6401             Alan Modra  <amodra@bigpond.net.au>
6402             Jakub Jelinek  <jakub@redhat.com>
6404         * configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests.
6405         * configure: Rebuild.
6406         * config/rs6000/rs6000-protos.h: Update.
6407         * config/rs6000/rs6000.c (rs6000_tls_size): New.
6408         (rs6000_tls_size_string): New.
6409         (rs6000_parse_tls_size_option): New.
6410         (rs6000_legitimize_tls_address): New.
6411         (rs6000_tls_get_addr): New.
6412         (rs6000_got_sym): New.
6413         (rs6000_tls_symbol_ref): New.
6414         (rs6000_tls_symbol_ref_1): New.
6415         (rs6000_get_some_local_dynamic_name): New.
6416         (rs6000_get_some_local_dynamic_name_1): New.
6417         (TARGET_HAVE_TLS): New.
6418         (TARGET_CANNOT_FORCE_CONST_MEM): New.
6419         (rs6000_override_options): Handle -mtls-size option.
6420         (constant_pool_expr_1): Handle TLS symbols.
6421         (rs6000_legitimize_address): Handle TLS symbols.
6422         (rs6000_tls_referenced_p): New.
6423         (rs6000_legitimate_address): Handle TLS symbols.
6424         (rs6000_emit_move): Handle TLS symbols.
6425         (print_operand): Handle TLS symbols.
6426         (uses_TOC): Handle TLS symbols.
6427         (rs6000_emit_prologue): Use symbol for unspec constant.
6428         * config/rs6000/rs6000.h (HAVE_AS_TLS): New.
6429         (some_ld_name): New.
6430         (LEGITIMATE_CONSTANT_P): Handle TLS symbols.
6431         (PRINT_OPERAND_PUNCT_VALID_P): Handle TLS symbols.
6432         (PREDICATE_CODES): Add rs6000_tls_symbol_ref.
6433         * config/rs6000/rs6000.md (load_toc_v4_PIC_1, load_toc_v4_PIC_1b):
6434         Support TLS.
6435         (tls_gd_32, tls_gd_64, tls_ld_32, tls_ld_64, tls_dtprel_32,
6436         tls_dtprel_64, tls_dtprel_ha_32, tls_dtprel_ha_64, tls_dtprel_lo_32,
6437         tls_dtprel_lo_64, tls_got_dtprel_32, tls_got_dtprel_64, tls_tprel_32,
6438         tls_tprel_64, tls_tprel_ha_32, tls_tprel_ha_64, tls_tprel_lo_32,
6439         tls_tprel_lo_64, tls_got_tprel_32, tls_got_tprel_64, tls_tls_32,
6440         tls_tls_64): New.
6441         * config/rs6000/sysv4.h (SUBTARGET_OPTIONS): Add tls_size.
6443 2003-05-12  Neil Booth  <neil@cat.daikokuya.co.uk>
6445         * Makefile.in (stage2_build, stage3_build, stage4_build):
6446         Set BUILD_CC to the same as CC.
6448 2003-05-12  Neil Booth  <neil@daikokuya.co.uk>
6450         * alloc-pool.c (last_id): Put in ENABLE_CHECKING guards.
6452 2003-05-12  Andreas Schwab  <schwab@suse.de>
6454         * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp'
6455         as unused.
6456         (bundling): Initialize 'pos'.
6457         (ia64_expand_builtin): Initialize 'rmode'.
6459 2003-05-12  David Edelsohn  <edelsohn@gnu.org>
6461         * config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
6462         (ASM_OUTPUT_ALIGNED_COMMON): Same.
6463         (ASM_OUTPUT_LOCAL): Same.
6465 Mon May 12 21:53:29 CEST 2003  Jan Hubicka  <jh@suse.cz>
6467         * varasm.c (output_constant):  Fix underflow.
6469 2003-05-12  Mark Mitchell  <mark@codesourcery.com>
6471         PR other/10745
6472         * configure.in: Correct detection of GNU ld version number.
6473         * configure: Regenerated.
6475 2003-05-12  Zack Weinberg  <zack@codesourcery.com>
6477         * diagnostic.c (diagnostic_for_decl): Take a
6478         diagnostic_context argument.  Restructure to be consistent
6479         with diagnostic_report_diagnostic.
6480         (diagnostic_count_diagnostic): Now static.  Take a
6481         diagnostic_info argument, not just a diagnostic_t.  Some code
6482         moved here from internal_error.  Move a case label for
6483         clarity.
6484         (diagnostic_action_after_output): New function.  Code moved
6485         here from internal_error and fatal_error.
6486         (bug_report_request): New #define so that this text appears in
6487         only one place.
6488         (diagnostic_report_diagnostic): Update to match changes to
6489         diagnostic_count_diagnostic.  Call diagnostic_action_after_output.
6490         (diagnostic_set_info): Call gettext here.
6492         (pedwarn): Update comment.  Don't call gettext here.
6493         (sorry): Use report_diagnostic.  Don't call gettext here.
6494         (fatal_error): Remove final fnotice and exit, but call
6495         real_abort to prevent warnings about noreturn function returning.
6496         (internal_error): Likewise.  Don't do ICE suppression here nor
6497         call context->internal_error.
6498         (warning_with_decl): Suppress for decls in system headers.
6499         Adjust call to diagnostic_for_decl.
6500         (pedwarn_with_decl): Likewise.
6501         (error_with_decl): Adjust call to diagnostic_for_decl.
6502         (error_recursion): Use bug_report_request.
6504         * diagnostic.h: Remove prototype of diagnostic_count_diagnostic.
6505         * objc/objc-act.c (error_with_ivar, warn_with_method): Don't call
6506         diagnostic_count_diagnostic.
6508 2003-05-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6510         * pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON): Correct last patch.
6512 Mon May 12 15:57:54 CEST 2003  Jan Hubicka  <jh@suse.cz>
6514         * rs6000/darwin.h (ASM_OUTPUT_COMMON): Accept HOST_WIDE_INT
6515         * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
6516         * mips/mips.h (ASM_OUTPUT_SKIP):  Fix typo in the previous patch.
6518 2003-05-12  Roger Sayle  <roger@eyesopen.com>
6520         * doc/rtl.texi: Document zero_extract as a valid destination
6521         of a set insn.
6523 2003-05-12  Richard Earnshaw  <rearnsha@arm.com>
6525         * arm/lib1funcs.asm (LSYM): Define -- on ELF prefix a local symbol with
6526         '.'.  Change all local symbol definitions and references to use LSYM.
6528 Mon May 12 11:32:53 CEST 2003  Jan Hubicka  <jh@suse.cz>
6530         * expr.h (assemble_static_space): Update prototype.
6531         * output.h (assemble_zeros, output_constant): Likewise.
6532         * elfos.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): Make it 64bit clean
6533         * alpha.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASK_OUTPUT_LOCAL): Make
6534         it 64bit clean.
6535         * elf.h (ASM_OTUPUT_SKIP): Likewise.
6536         * unicosmk.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMM): Likewise.
6537         * arm.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
6538         Expect HOST_WIDE_INT operand.
6539         * aout.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
6540         Expect HOST_WIDE_INT operand.
6541         * unknown-elf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
6542         Expect HOST_WIDE_INT operand.
6543         * avr.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP): Expect
6544         HOST_WIDE_INT operand.
6545         * c4x.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP,
6546         ASM_OUTPUT_BSS): Expect HOST_WIDE_INT operand.
6547         * aout.h (ASM_OTUPUT_SKIP): Likewise.
6548         * cris.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
6549         * darwin.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON): Likewise.
6550         * dsp16xx.h (ASM_OTUPUT_SKIP): Likewise.
6551         * frv.h (ASM_OTUPUT_SKIP): Likewise.
6552         * h8300.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_LOCAL): Likewise.
6553         * 370.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
6554         Make it 64bit
6555         clean.
6556         * att.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand.
6557         * bsd.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
6558         Make it 64bit clean.
6559         * darwin.h (ASM_OUTPUT_SKIP): Make it 64bit clean..
6560         * sco5.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Expect
6561         HOST_WIDE_INT operand
6562         * svr3gas.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
6563         Expect HOST_WIDE_INT operand
6564         * sysv3.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand
6565         * i960.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON,
6566         ASM_OUTPUT_ALIGNED_LOCAL): Expect HOST_WIDE_INT operand
6567         * ip2k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
6568         Likewise.
6569         * m32r.h (ASM_OUTPUT_COMMON): Likewise.
6570         * 3b1.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
6571         Likewise.
6572         * amix.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
6573         * crds.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
6574         * hp320.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
6575         ASM_OUTPUT_SKIP): Likewise.
6576         * m68k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
6577         Likewise.
6578         * m68kelf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
6579         ASM_OUTPUT_SKIP): Likewise.
6580         * m68kv4.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
6581         ASM_OUTPUT_SKIP): Likewise.
6582         * mot3300.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise.
6583         * netbsd-elf.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON,
6584         ASM_OUTPUT_SKIP): Likewise.
6585         * sgs.h (ASM_OUTPUT_SKIP): Likewise.
6586         * tower-as.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON,
6587         ASM_OUTPUT_SKIP): Likewise.
6588         * m88k.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP):
6589         Likewise.
6590         * mcore.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_BSS, ASM_OUTPUT_SKIP): Likewise.
6591         * iris.h (ASM_OUTPUT_LOCAL): Likewise.
6592         * mips.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise.
6593         * ns32k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
6594         ASM_OUTPUT_SKIP): Make it 64bit clean.
6595         * pa-pro-end.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL):
6596         Make it 64bit clean.
6597         * pa.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL,
6598         ASM_OUTPUT_SKIP): Make it 64bit clean.
6599         * hpux.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL): Make it
6600         64bit clean.
6601         * romp.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect
6602         HOST_WIDE_INT argument
6603         * s390.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT argument.
6604         * sh.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect
6605         HOST_WIDE_INT argument
6606         * sol2.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument
6607         * sparc.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): HOST_WIDE_INT argument
6608         * svr3.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument
6609         * vax.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
6610         HOST_WIDE_INT argument
6611         * vaxv.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument
6612         * xtensa.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument
6613         * varasm.c (asm_output_bss, asm_output_aligned_bss,
6614         asm_emit_uninitialized, assemble_zeros, assemble_static_space):
6615         HOST_WIDE_INT argument
6617 2003-05-10  Steven Bosscher  <steven@gcc.gnu.org>
6619         * cgraphunit.c (cgraph_create_edges): Drop walk_tree in
6620         favor of walk_tree_without_duplicates.  Add comments.
6622 2003-05-12  Josef Zlomek  <zlomekj@suse.cz>
6624         * alloc-pool.h (ALLOC_POOL_ID_TYPE): New type.
6625         (struct alloc_pool_def): New element 'id'.
6626         * alloc-pool.c (fancy_abort): Extern function prototype.
6627         (abort): Macro which uses fancy_abort.
6628         (struct allocation_object_def): New structure.
6629         (ALLOCATION_OBJECT_PTR_FROM_USER_PTR): New macro.
6630         (USER_PTR_FROM_ALLOCATION_OBJECT_PTR): New macro.
6631         (last_id): New variable.
6632         (create_alloc_pool): Add the offset of u.data to size of element,
6633         increase and use last_id.
6634         (free_alloc_pool): Do the checking only when ENABLE_CHECKING.
6635         (pool_alloc): Likewise. Set ID for elements.
6636         (pool_free): Check whether the PTR was allocated from POOL.
6638 2003-05-11  Richard Henderson  <rth@redhat.com>
6640         PR c/10675
6641         * c-decl.c: Include hashtab.h.
6642         (detect_field_duplicates): New.
6643         (finish_struct): Use it.
6644         * Makefile.in (c-decl.o): Update.
6645         * c-parse.in (structsp_attr): Nreverse component_decl_list results.
6646         (component_decl_list, component_decl_list2,
6647         components, components_notype): Build list in reverse order.
6648         (enumlist): Clarify docs.  Use TREE_CHAIN not chainon.
6650         * tree.c (chainon): Special case op2 null as well.
6651         Reorg for clarity.
6653 2003-05-11  Roger Sayle  <roger@eyesopen.com>
6655         * config/i386/i386.md (logsf2, logdf2, logxf2, logdf2): New patterns
6656         to implement log, logf and logl built-ins as inline x87 intrinsics.
6657         (UNSPEC_FYL2X): New unspec to represent x87's "fyl2x" instruction.
6658         (*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3): New insn
6659         patterns for x87's "fyl2x" instruction, used by log?f2 patterns.
6661         * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2X like
6662         UNSPEC_FPATAN, i.e. replaces two stack operands with single result.
6664 2003-05-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6666         * Makefile.in (out_object_file): Don't set -Wno-error for ${cpu}.o.
6668         * sparc.c (print_operand): Fix uninitialized warning.
6670 2003-05-12  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
6672         * cfgloopanal.c (num_loop_insns, average_num_loop_insns): Count only
6673         real insns.
6674         * loop-unroll.c (unroll_loop_runtime_iterations): Remove superfluous
6675         condition.
6677 2003-05-11  Neil Booth  <neil@cat.daikokuya.co.uk>
6679         * doc/cpp.texi: Fix typos.
6681 2003-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
6683         * config/s390/s390.c (s390_function_arg_float): New function.
6684         (s390_function_arg_pass_by_reference): Use it.
6685         (s390_function_arg_advance): Likewise.
6686         (s390_function_arg): Likewise.
6687         (s390_va_arg): Likewise
6689 2003-05-11  Nathan Sidwell  <nathan@codesourcery.com>
6691         * coverage.h (coverage_counter_alloc): New function.
6692         * function.h (struct function): Remove arc_profile flag.
6693         * coverage.c (fn_ident): Remove.
6694         (fn_b_ctrs, no_coverage): New.
6695         (get_coverage_counts): Use current_function_funcdef_no.
6696         (coverage_counter_alloc): New.
6697         (coverage_counter_ref): Adjust.
6698         (coverage_begin_output): Check no_coverage. Use
6699         current_function_funcdef_no.
6700         (coverage_end_function): Likewise.
6701         (create_coverage): Set no_coverage. Set DECL_UNINLINEABLE rather
6702         than clearing flag_inline_functions. Do not clear arc_profile
6703         flag.
6704         * function.c (prepare_function_start): Do not set arc_profile
6705         flag.
6706         * profile.c (instrument_edges): Return number of instrumented
6707         edges. Use a for loop.
6708         (branch_prob): Call coverage_counter_alloc. Make BB_TO_GCOV_INDEX
6709         local to here and simplify. Use profile_arc_flag not arc_profile
6710         flag.
6711         (find_spanning_tree): Reformat.
6712         * toplev.c (rest_of_compilation): Use profile_arc_flags and
6713         flag_test_coverage rather than arc_profile flag.
6715 2003-05-11  Gabriel Dos Reis <gdr@integrable-solutions.net>
6717         * doc/invoke.texi (Wctor-dtor-privacy): Update documentation.
6719 2003-05-11  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6721         * varasm.c (copy_constant, case VIEW_CONVERT_EXPR): New case.
6723 2003-05-11  Bruno Haible  <bruno@clisp.org>
6725         * cppfiles.c (find_or_create_entry): Preserve errno.
6727 2003-05-11  Neil Booth  <neil@cat.daikokuya.co.uk>
6729         * c-cppbuiltin.c (c_cpp_builtins): Move __STDC_HOSTED__ into
6730         cpplib as it's a Standard Predefined Macro.
6731         * c-opts.c (finish_options): Pass flag_hosted to cpp_init_builtins.
6732         * cppinit.c (_cpp_init_builtins): Take HOSTED.  Define
6733         __STDC_HOSTED__ appropriately.
6734         * cpplib.h (_cpp_init_builtins): Update.
6735         * fix-header.c (read_scan_file): Update.
6736         * doc/cpp.texi, doc/cppopts.texi: Update documentation.
6738 2003-05-11  Gabriel Dos Reis  <gdr@integrable-solutions.net>
6740         PR C++/689
6741         PR C++/9257
6742         * c-opts.c (c_common_decode_option): Don't set
6743         warn_ctor_dtor_privacy wen -Wall.
6744         * c-common.c (warn_ctor_dtor_privacy): Don't turn on by default.
6746 2003-05-10  Alexandre Oliva  <aoliva@redhat.com>
6748         * reload1.c (reload_cse_move2add): Revert part of my 2003-05-09's
6749         patch.
6751 2003-05-10  Zack Weinberg  <zack@codesourcery.com>
6753         * diagnostic.c: Reorder functions for clarity, putting all the
6754         functions in the "error" family next to each other, and
6755         likewise all the functions in the "error_with_decl" family.
6756         Some other routines were moved too.  Add comments.
6757         (vbuild_message_string): Fold into sole caller.
6760 2003-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
6762         * except.c (EH_RETURN_STACKADJ_RTX): Do not define.
6763         (EH_RETURN_HANDLER_RTX): Likewise.
6764         (expand_builtin_eh_return): Do not copy stack adjustment
6765         if EH_RETURN_STACKADJ_RTX is not defined.
6766         (expand_eh_return): Likewise.  Also, do not pass stack
6767         adjustment as argument to the eh_return pattern.
6768         * except.h (MUST_USE_SJLJ_EXCEPTIONS): Do not define just
6769         because EH_RETURN_STACKADJ_RTX is not defined.
6770         * unwind-dw.c (uw_update_context_1): If EH_RETURN_STACKADJ_RTX
6771         is not defined, treat stack pointer like a regular register.
6772         (uw_init_context_1): Set up fake initial stack pointer register.
6773         (uw_install_context_1): Do not compute stack adjustment if
6774         EH_RETURN_STACKADJ_RTX is not defined.
6776         * config/i386/i386.md ("eh_return"): Remove first argument.
6777         * config/mips/mips.md ("eh_return"): Likewise.
6778         * config/rs6000/rs6000.md ("eh_return"): Likewise.
6779         * config/sh/sh.md ("eh_return"): Likewise.
6781         * config/s390/s390.h (EH_RETURN_STACKADJ_RTX): Remove.
6783 2003-05-10  Alexander Aganichev  <aaganichev@yandex.ru>
6785         * config/i386/i386.h (MODES_TIEABLE_P): Fix typo.
6787 2003-05-10  Nathan Sidwell  <nathan@codesourcery.com>
6789         * defaults.h (GCOV_TYPE_SIZE): Remove.
6790         * gcov-io.h (gcov_type): Set to specific mode int on target.
6791         (gcov_unsigned_t, gcov_position_t): New.
6792         (GCOV_TYPE_NODE): New.
6793         (GCOV_TAG_SUMMARY_LENGTH): Adjust.
6794         (GCOV_COUNTERS_SUMMABLE): New.
6795         (gcov_ctr_summary, gcov_sumary, gcov_fn_info, gcov_merge_fn,
6796         gcov_ctr_info, gcov_info): Adjust types.
6797         (gcov_var): Adjust types.
6798         (gcov_write_unsigned, gcov_write_tag,
6799         gcov_write_length, gcov_write_tag_length, gcov_write_summary,
6800         gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
6801         (gcov_position, gcov_sync, gcov_seek): Adjust gcov types.
6802         * gcov-io.c (gcov_write_unsigned, gcov_write_tag,
6803         gcov_write_length, gcov_write_tag_length, gcov_write_summary,
6804         gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
6805         * libgcov.c (gcov_crc32, gcov_version_mismatch, gcov_exit,
6806         __gcov_init, __gcov_merge_add): Adjust gcov types.
6807         * coverage.c (ctr_merge_functions): Constify.
6808         (ctr_names): New.
6809         (read_counts_file): Adjust gcov types. Only summarize & merge
6810         summable counters.
6811         (coverage_counter_ref): Use GCOV_TYPE_NODE.
6812         (build_fn_info_type, build_fn_info_value, build_ctr_info_type,
6813         build_ctr_info_value, build_gcov_info): Adjust types.
6814         * profile.c (branch_prob): Adjust gcov types.
6815         * gcov_dump (dump_file): Adjust gcov types.
6817 2003-05-10  Richard Earnshaw  <rearnsha@arm.com>
6819         * arm.md (DOM_CC_X_AND_Y, DOM_CC_NX_OR_Y, DOM_CC_X_OR_Y): New
6820         constants.
6821         (ior_scc_scc, and_scc_scc): New insn_and_split patterns.
6822         * arm.c (arm_select_dominance_cc_mode): Renamed from
6823         select_dominance_cc_mode, no-longer static.  Use DOM_CC... constants.
6824         Callers updated.
6825         * arm-protos.h (arm_select_dominance_cc_mode): Add prototype.
6827 2003-05-09  Roger Sayle  <roger@eyesopen.com>
6829         * config/alpha/alpha.c (alpha_start_function): Declare frame_size
6830         as unsigned to avoid signed/unsigned comparison warnings.
6832 2003-05-09  Bob Wilson  <bob.wilson@acm.org>
6834         * config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
6835         instruction if the Xtensa density option is enabled.
6837 2003-05-09  Matt Kraai <kraai@alumni.cmu.edu>
6839        * mklibgcc.in: Remove extra quotes.
6841 2003-05-09  Mark Mitchell  <mark@codesourcery.com>
6843         * config/rs6000/rs6000.c (spe_init_builtins): Fix typo in creation
6844         of int_ftype_void.
6846 2003-05-09  Alexandre Oliva  <aoliva@redhat.com>
6848         * reload1.c (reload_cse_move2add): Don't turn an implicit
6849         truncation into a self-set in the narrow mode.
6851 2003-05-09  Richard Earnshaw  <rearnsha@arm.com>
6853         * arm.md (clzsi2): The CLZ instruction is predicable.
6855 2003-05-09  Bob Wilson  <bob.wilson@acm.org>
6857         * config/xtensa/xtensa.c: Formatting.
6859 2003-05-09  Diego Novillo  <dnovillo@redhat.com>
6861         * tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
6862         instead of TREE_OPERAND to access the operand of a
6863         CONSTRUCTOR node.
6865 2003-05-09  Diego Novillo  <dnovillo@redhat.com>
6867         * tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
6868         one operand.
6870 2003-05-09  Gabriel Dos Reis <gdr@integrable-solutions.net>
6872         * toplev.h (warning_with_file_and_line): Don't declare.
6873         (error_with_file_and_line): Likewise.
6874         * diagnostic.c (error_with_file_and_line): Remove.
6875         (warning_with_file_and_line): Likewise.
6877 2003-05-09  Gabriel Dos Reis <gdr@integrable-solutions.net>
6879         * c-parse.in (if_stmt_locus): New object.
6880         (if_prefix rule): Use it.  Don't use warning_with_file_and_line.
6881         (select_or_iter_stmt rule): Likewise.
6882         (if_stmt_file): Remove.
6883         (if_stmt_line): Likewise.
6884         * jump.c: include "diagnostic.h"
6885         (never_reached_warning): Don't use warning_with_file_and_line.
6886         * Makefile.in (jump.o): Add dependce on diagnostic.h
6888 2003-05-09  Alan Modra  <amodra@bigpond.net.au>
6890         * expr.c (move_block_from_reg): Remove "size" parm.  Localize vars.
6891         Move code handling pieces not larger than a word to..
6892         * function.c (assign_parms): ..here, but use change_address instead
6893         of adjust_address and operand_subword, and expand_binop instead of
6894         expand_shift.  Adjust calls to move_block_from_reg.
6895         * expr.h (move_block_from_reg): Update declaration.
6896         (copy_blkmode_from_reg): Formatting.
6897         * Makefile.in (function.o): Add $(OPTABS_H) to deps.
6898         * config/alpha/alpha.c (alpha_setup_incoming_varargs): Adjust
6899         move_block_from_reg calls.
6900         * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
6901         * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
6902         * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
6903         * config/m88k/m88k.c (m88k_builtin_saveregsk): Likewise.
6904         * config/mips/mips.c (mips_setup_incoming_varargs): Likewise.
6905         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
6906         * config/romp/romp.h (SETUP_INCOMING_VARARGS): Likewise.
6907         * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
6908         * config/sh/sh.c (sh_builtin_saveregs): Likewise.
6910 2003-05-08  DJ Delorie  <dj@redhat.com>
6912         * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): Fix
6913         to handle arguments for which MUST_PASS_IN_STACK is true (e.g.,
6914         variable-sized types).
6915         (xstormy16_function_arg): New.  Pass them that way too.
6916         * config/stormy16/stormy16-protos.h (xstormy16_function_arg): New.
6917         * config/stormy16/stormy16.h (FUNCTION_ARG): Call it.
6919 2003-05-08  Aldy Hernandez  <aldyh@redhat.com>
6921         * mklibgcc.in: Use mkinstalldirs when installing multilib
6922         directories.
6924 2003-05-08  J"orn Rennecke <joern.rennecke@superh.com>
6926         * sh.c (gen_block_redirect, split_branches): Use CODE_FOR_jump_compact
6927         instead of CODE_FOR_jump
6929 2003-05-08  Gabriel Dos Reis <gdr@integrable-solutions.net>
6931         * objc/objc-act.c (error_with_ivar): Don't use
6932         error_with_file_and_line.
6933         (warn_with_method): Don't use warning_with_file_and_line.
6935 2003-05-08  Gabriel Dos Reis  <gdr@integrable-solutions.net>
6937         * stmt.c (emit_locus): New macro.
6938         (emit_filename): Remove.
6939         (emit_lineno): Likewise.
6940         (struct stmt_status): Replace members x_emit_filename and
6941         x_emit_lineno with x_emit_locus.
6942         (set_file_and_line_for_stmt): Adjust.
6943         (expand_expr_stmt_value): Don't use warning_with_file_and_line.
6944         (warn_if_unused_value): Likewise.
6945         (check_seenlabel): Likewise.
6947 2003-05-08  Gabriel Dos Reis  <gdr@integrable-solutions.net>
6949         * c-decl.c (define_label): Tidy.  Don't use any of
6950         error_with_file_and_line or warning_with_file_and_file.
6951         (pending_xref_error): Likewise.
6952         (store_parm_decls): Likewise.
6953         (current_function_prototype_locus): New object.  Package from
6954         current_function_prototype_file and current_function_prototype_line.
6955         (start_function): Use it.
6956         (current_function_prototype_file): Remove.
6957         (current_function_prototype_line): Remove;
6959 2003-05-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6961         * builtins.c (readonly_data_expr): New function.
6962         (expand_builtin_memmove): Optimize any rodata source, not just
6963         strings.
6965 2003-05-07  David Mosberger <davidm@hpl.hp.com>
6967         * unwind-libunwind.c (_Unwind_FindEnclosingFunction): New.
6969 2003-05-07  Richard Henderson  <rth@redhat.com>
6971         * config/i386/i386.c (ix86_split_long_move): Fix base register
6972         mode for XFmode splits for TARGET_64BIT.
6974 2003-05-07  Richard Henderson  <rth@redhat.com>
6976         * sched-ebb.c (schedule_ebb): Supply the correct starting
6977         block number to save_line_notes.
6979 2003-05-07  Richard Henderson  <rth@redhat.com>
6981         * toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro.
6982         (dump_file): Likewise.
6984 2003-05-07  David Mosberger <davidm@hpl.hp.com>
6986         * config/ia64/crtbegin.asm (__do_jv_register_classes): Don't
6987         forget to preserve gp.
6988         * config/ia64/crtend.asm (__do_global_ctors_au): Ditto.
6990         * config/ia64/crtbegin.asm (__do_jv_register_classes): Add missing
6991         .prologue directive.
6992         Use .skip instead of data8 for .bss section to make Intel
6993         Assembler (ias) happy.  Minor whitespace fixups.  Make "nop 0"
6994         explicit in the .mib bundles and remove the unnecessary stop
6995         bits.  Replace local labels with normal labels, to make ias
6996         happy.  Don't register __do_global_ctors_aux here, do it in
6997         crtend.asm instead.
6999         * config/ia64/crtend.asm [HAVE_INIT_FINI_ARRAY]: Register
7000         __do_global_ctors_aux in .init_array section instead of
7001         declaring it as a hidden global.  Replace local labels with
7002         ordinary labels to make ias happy.
7004 2003-05-07  Richard Henderson  <rth@redhat.com>
7006         PR c++/10570
7007         * except.c: Revert 04-01 and 04-02 forced-unwind changes.
7008         * flags.h, toplev.c, doc/invoke.texi: Likewise.
7010         * unwind-dw2.c (_Unwind_GetCFA): Fix ptr->int conversion warning.
7011         * unwind.inc (_Unwind_DeleteException): Check for null
7012         exception_cleanup.
7014         * unwind-sjlj.c (_Unwind_SjLj_Resume_or_Rethrow): New.
7015         * unwind.inc (_Unwind_Resume_or_Rethrow): New.
7016         * unwind.h: Declare them.
7017         * libgcc-std.ver (GCC_3.3): Export them.
7019 2003-05-07  Richard Henderson  <rth@redhat.com>
7021         * unwind-dw2.c (_Unwind_GetCFA): Cast pointer to _Unwind_Ptr,
7022         not _Unwind_Word.
7024 2003-05-07  Zack Weinberg  <zack@codesourcery.com>
7026         * stmt.c (force_label_rtx): New function, based on logic
7027         formerly found in expand_expr.
7028         * expr.h: Prototype it.
7029         * expr.c (expand_expr <LABEL_DECL>): Use force_label_rtx if
7030         appropriate.
7031         * varasm.c (decode_addr_const <LABEL_DECL>): Use force_label_rtx.
7033         * print-tree.c (debug_tree): Free the table after we're done
7034         with it.  Use putc.
7036 2003-05-07  Aldy Hernandez  <aldyh@redhat.com>
7038         * config/rs6000/spe.h: Reverse arguments for __ev_subfw.
7039         Unreverse arguments for __ev_subw.
7041         * config/rs6000/spe.md (evsubfw): Reverse arguments of assembly.
7043 2003-05-07  Nick Clifton  <nickc@redhat.com>
7045         * config/stormy16/stormy-abi: Update to include
7046         R_XSTORMY16_FPTR16, R_XSTORMY16_LO16, R_XSTORMY16_HI16 and
7047         R_XSTORMY16_12 relocs.
7049 2003-05-07  Alan Modra  <amodra@bigpond.net.au>
7051         * function.c (assign_parms): Correct reversed reg_parm_stack_space
7052         test.  Add partial in-regs size to stack_args_size.
7054 2003-05-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7056         * doc/invoke.texi (Warning Options): Mark -Wmissing-declarations
7057         as a C only option.
7059 2003-05-07  Nathan Sidwell  <nathan@codesourcery.com>
7061         * gcov-io.h (GCOV_LOCKED): New #define.
7062         (GCOV_LINKAGE): Make sure it is #defined.
7063         (gcov_write_string, gcov_write_tag, gcov_write_length,
7064         gcov_read_string, gcov_time): Poison in libgcov.
7065         (gcov_seek_end): Remove.
7066         (gcov_write_tag_length, gcov_sync, gcov_rewrite): New.
7067         (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
7068         GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
7069         GCOV_TAG_SUMMARY_LENGTH): New #defines.
7070         (gcov_write_tag, gcov_write_length): Not in libgcov.
7071         * gcov-io.c (gcov_open): Use GCOV_LOCKED.
7072         (gcov_write_tag, gcov_write_length): Not in libgcov.
7073         (gcov_write_tag_length): New.
7074         (gcov_write_summary): Use gcov_write_tag_length.
7075         * libgcov.c: Always #include gcov-io.h.
7076         (IN_LIBGCOV): -1 for inhibit_libc, +1 otherwise.
7077         (GCOV_LINKAGE): Define to nothing for L_gcov.
7078         (gcov_exit): Replace gcov_write_tag, gcov_write_length with
7079         gcov_write_tag_length. Use gcov_rewrite & gcov_seek.
7080         * gcov.c (read_graph_file): Replace gcov_seek by gcov_sync.
7081         (read_count_file): Likewise.
7082         * gcov-dump.c (dump_file): Likewise.
7083         * coverag.c (read_counts_file): Likewise.
7085 2003-05-06  Mark Mitchell  <mark@codesourcery.com>
7087         PR other/10658
7088         * gcc.c (process_command): Update copyright date.
7090 2003-05-06  Phil Edwards  <pme@gcc.gnu.org>
7092         * doc/install.texi (mips-*-*):  Add note about libstdc++.
7094 2003-05-06  DJ Delorie  <dj@redhat.com>
7096         * config/stormy16/stormy16.c (xstormy16_function_profiler): New.
7097         * config/stormy16/stormy16.h (FUNCTION_PROFILER): Call it.
7098         * config/stormy16/stormy16-protos.h (xstormy16_function_profiler): New.
7100 2003-05-06    <neil@cat.daikokuya.co.uk>
7102         * c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes
7103         and -Wstrict-prototypes if C++.
7105 2003-05-06  Aldy Hernandez  <aldyh@redhat.com>
7107         * config/rs6000/linuxspe.h: New file.
7109         * config.gcc: Add powerpc-*-linux-gnuspe* target.
7111 2003-05-06  Richard Henderson  <rth@redhat.com>
7113         * unwind-dw2.c (uw_update_context_1): Only set cfa as sp if
7114         previous frame didn't save sp.  Clear sp for next frame.
7115         (uw_install_context_1): Honor saved sp from frame.
7117 2003-05-06  Richard Sandiford  <rsandifo@redhat.com>
7119         * config/mips/mips-protos.h (mips_subword, mips_output_move): Declare.
7120         (mips_move_1word, mips_move_2words): Remove declaration.
7121         (mips_split_64bit_move_p, mips_split_64bit_move): Declare.
7122         (mips_restore_gp): Remove insn argument.
7123         * config/mips/mips.h (FP_REG_RTX_P): New macro.
7124         * config/mips/mips.c (volatile_buffer): Remove.
7125         (mips_subword, mips_split_64bit_move_p, mips_split_64bit_move): New.
7126         (mips_move_1word, mips_move_2words): Remove, replacing with...
7127         (mips_output_move): ...this new function.
7128         (mips_restore_gp): Remove insn argument.  Adjust for above changes.
7129         (print_operand): Make '%h' print %hi(op) for HIGH operands.  Remove
7130         handling of floating-point constants.  Handle zero CONST_DOUBLE
7131         arguments.
7132         (mips_annotate_frame_insn): Replace with...
7133         (mips_set_frame_expr): ...this, which just takes one argument.
7134         (mips_frame_set): Change the register argument to an rtx.
7135         (mips_emit_frame_related_store): Use mips_split_64bit_move_p to
7136         check whether moves should be split.  Use mips_split_64bit_move
7137         to split them.  Use mips_subword to generate the high and low
7138         parts of a paired FPR.  Adjust calls to frame_set and
7139         mips_set_frame_expr.
7140         (mips_expand_prologue): Simplify due to above changes.
7141         * config/mips/mips.md:  Add splitters for 64-bit moves on 32-bit
7142         targets, replacing xisting register-only versions.
7143         (UNSPEC_STORE_DF_HIGH): New unspec.
7144         (UNSPEC_LOAD_DF_LOW, UNSPEC_LOAD_DF_HIGH): New unspecs.
7145         (mulsi3_r4000, muldi3_internal2): Avoid use of mips_move_1word.
7146         (*paradoxical_extendhidi2): Remove.
7147         (movdi_internal, movdi_internal2): Use mips_output_move.
7148         (*movdi_internal2_mips16, movsi_internal, movcc): Likewise.
7149         (movsf_internal1, movsf_internal2): Likewise.
7150         (movdf_internal1a): Likewise.  Fix length and type of f <- G case.
7151         (movdf_internal1b): Use mips_output_move.  Fix type of f <- G case.
7152         (movdf_internal2): Use mips_output_move.  Fix lengths of FPR moves.
7153         Add m <- G alternative.
7154         (load_df_low, load_df_high, store_df_low): New patterns.
7155         (movhi_internal): Use @ template instead of calling a function.
7156         Remove unnecessary 'z' alternatives.
7157         (movqi_internal): Likewise.
7158         (exception_receiver): Update call to mips_restore_gp.
7160 2003-05-06  Richard Sandiford  <rsandifo@redhat.com>
7162         * config/mips/mips-protos.h (mips_simplify_dwarf_addr): Remove.
7163         (mips_delegitimize_address): Declare.
7164         * config/mips/mips.h (ASM_SIMPLIFY_DWARF_ADDR): Undefine.
7165         (FIND_BASE_TERM): Define.
7166         * config/mips/mips.c (TARGET_DELEGITIMIZE_ADDRESS): Define.
7167         (mips_delegitimize_address): Renamed from mips_simplify_dwarf_addr.
7168         Handle small-data addresses.
7170 2003-05-05  Roger Sayle  <roger@eyesopen.com>
7172         * real.c (real_powi): New function to calculate the value of
7173         a real raised to an integer power, i.e. pow(x,n) for int n.
7174         (real_sqrt): Convert to using the faster do_add, do_multiply
7175         and do_divide API for consistency with the rest of real.c.
7176         * real.h (real_powi): Prototype here.
7177         * builtins.c (fold_builtin):  Avoid local variable mode when
7178         evaluating sqrt at compile time.  Attempt to evaluate pow at
7179         compile-time, by checking for an integral exponent.
7181 2003-05-05  Richard Henderson  <rth@redhat.com>
7183         * doc/extend.texi (Variable Attributes): Re-sort table and tidy.
7185 2003-05-05  David O'Brien  <obrien@FreeBSD.org>
7187         * config/rs6000/sysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror
7188         other FreeBSD ports.
7189         (LINK_OS_FREEBSD_SPEC): Mirror conventions on other FreeBSD ports.
7190         (_LITTLE_ENDIAN): Use __LITTLE_ENDIAN__ instead.
7192 2003-05-05  Janis Johnson  <janis187@us.ibm.com>
7194         * Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around
7195         expanded variables.
7196         * doc/sourcebuild.texi (C tests): Describe gcc.dg/compat tests.
7198 2003-05-05  Zack Weinberg  <zack@codesourcery.com>
7200         * rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.
7201         * varasm.c (struct varasm_status): Add deferred_constants field.
7202         (n_deferred_strings): Delete variable.
7203         (n_deferred_constants): New #define.
7204         (struct constant_descriptor_tree): Kill next and label fields.
7205         (const_hash_table, MAX_HASH_TABLE): Delete.
7206         (const_desc_htab): New static variable.
7207         (const_hash): Rename const_desc_hash, and make it fit the
7208         hashtab.h interface.
7209         (const_desc_eq): New.
7210         (const_hash_1, compare_constant): Const-ify arguments.
7211         (build_constant_desc): Set DEFERRED_CONSTANT_P on all new
7212         SYMBOL_REFs.  Clarify comments.  Don't set desc->label.
7213         (output_constant_def): Do the lookup/insert using the
7214         hashtab.h interface.  Don't muck with n_deferred_constants or
7215         DEFERRED_CONSTANT_P here.
7216         Always call maybe_output_constant_def_contents.
7217         (maybe_output_constant_def_contents): Take a pointer to the
7218         descriptor, not the EXP and RTL separately.  Return
7219         immediately if this constant is not deferred.  Defer output of
7220         everything, except writable string constants.  Update
7221         n_deferred_constants here.
7222         (output_constant_def_contents): Now takes just one argument,
7223         an rtx.  Clear DEFERRED_CONSTANT_P here.
7224         (mark_constant_pool): Update for rename of n_deferred_strings.
7225         (mark_constant): Don't clear DEFERRED_CONSTANT_P here.
7227         (init_varasm_status): Clear p->deferred_constants.
7228         (init_varasm_once): Call htab_create_ggc for const_desc_htab.
7230 2003-05-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7232         * builtins.c (expand_builtin_stpcpy): Only expand when the length
7233         of the source string can be evaluated at compile-time.
7235 2003-05-05  Aldy Hernandez  <aldyh@redhat.com>
7237         * testsuite/gcc.c-torture/compile/simd-6.c: New.
7239         * c-typeck.c (digest_init): Handle arrays of vector constants.
7241 2003-05-05  Jakub Jelinek  <jakub@redhat.com>
7243         * builtins.c (expand_builtin_mempcpy): New function.
7244         (expand_builtin_stpcpy): Optimize stpcpy whose return value is
7245         ignored into strcpy no matter what arguments it has.
7246         (expand_builtin) <case BUILT_IN_MEMPCPY>: Call
7247         expand_builtin_mempcpy.
7249 2003-05-05  Aldy Hernandez  <aldyh@redhat.com>
7251         * testsuite/gcc.dg/20030505.c: New.
7253         * c-typeck.c (convert_for_assignment): Opaque pointers can
7254         interconvert.
7256         * config/rs6000/rs6000.c: New global opaque_p_V2SI_type_node.
7257         (rs6000_init_builtins): Initialize opaque_p_V2SI_type_node.
7258         (spe_init_builtins): Rename all pv2si_type_node to
7259         opaque_p_V2SI_type_node.
7260         Remove declaration of pv2si_type_node.
7261         (is_ev64_opaque_type): Accept opaque pointers.
7263 2003-05-05  Geoffrey Keating  <geoffk@apple.com>
7265         * config/rs6000/rs6000.c (validate_condition_mode): Use
7266         flag_finite_math_only.
7267         (rs6000_reverse_condition): Never return UNKNOWN; use
7268         flag_finite_math_only.
7269         (rs6000_generate_compare): Use flag_finite_math_only.
7270         (rs6000_emit_cmove): Handle UNLE.  Support UNEQ under -ffast-math.
7271         Use HONOR_* rather than flag_unsafe_math_optimizations.  Correct
7272         UNGE and GT cases.  Handle UNEQ and LTGT when ! HONOR_NANS.
7274         * toplev.c (check_global_declarations): Suppress not-used warning
7275         for volatile variables.
7277 2003-05-05  Olivier Hainque  <hainque@act-europe.fr>
7279         * expr.c (expand_expr, case BIT_FIELD_REF): Refine the test forcing
7280         usage of bitfield instructions for mode1 != BLKmode, only ignoring
7281         SLOW_UNALIGNED_ACCESS if the field is not byte aligned.
7282         (store_field): Likewise.
7284 2003-05-05  Aldy Hernandez  <aldyh@redhat.com>
7286         * config/rs6000/rs6000.c (rs6000_expand_binop_builtin): Add
7287         evsubifw to builtins accepting 5-bit unsigned constants.
7288         (easy_vector_constant): Return if V1DImode.  Fix typo.
7290 2003-05-05  Aldy Hernandez  <aldyh@redhat.com>
7292         * config/rs6000/spe.h: Revert licensing change from last patch.
7294 2003-05-05  DJ Delorie  <dj@redhat.com>
7296         * config/stormy16/stormy16.md (negsi2): Allocate the pseudos
7297         before reload, but defer the split until after.
7298         * config/stormy16/stormy16.c (xstormy16_expand_arith): Modify
7299         to match.
7301 2003-05-05  David Edelsohn  <edelsohn@gnu.org>
7303         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
7304         * config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440.
7306 2003-05-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
7308         * libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc
7309         is defined.
7311 2003-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7313         * builtin-attrs.def (ATTR_NOTHROW_NONNULL_1,
7314         ATTR_NOTHROW_NONNULL_2, ATTR_NOTHROW_NONNULL_3): Renamed from
7315         ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.
7317         (ATTR_NOTHROW_NONNULL_1_2, ATTR_NOTHROW_NONNULL_1_4,
7318         ATTR_CONST_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1,
7319         ATTR_PURE_NOTHROW_NONNULL_1_2, ATTR_MALLOC_NOTHROW_NONNULL_1):
7320         New.
7322         * builtins.def (DEF_EXT_FALLBACK_BUILTIN): Accept ATTRS argument.
7323         (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Update comment
7325         (BUILT_IN_INDEX, BUILT_IN_RINDEX, BUILT_IN_MEMCPY,
7326         BUILT_IN_MEMMOVE, BUILT_IN_MEMCMP, BUILT_IN_MEMSET,
7327         BUILT_IN_MEMPCPY, BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
7328         BUILT_IN_STPCPY, BUILT_IN_STRCPY, BUILT_IN_STRNCPY,
7329         BUILT_IN_STRCMP, BUILT_IN_STRNCMP, BUILT_IN_STRLEN,
7330         BUILT_IN_STRSTR, BUILT_IN_STRPBRK, BUILT_IN_STRSPN,
7331         BUILT_IN_STRCSPN, BUILT_IN_STRCHR, BUILT_IN_STRRCHR, BUILT_IN_NAN,
7332         BUILT_IN_NANF, BUILT_IN_NANL, BUILT_IN_NANS, BUILT_IN_NANSF,
7333         BUILT_IN_NANSL, BUILT_IN_PUTS, BUILT_IN_FPUTC, BUILT_IN_FPUTS,
7334         BUILT_IN_FWRITE, BUILT_IN_PUTS_UNLOCKED, BUILT_IN_FPUTC_UNLOCKED,
7335         BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FWRITE_UNLOCKED,
7336         BUILT_IN_STRDUP): Add "nonnull" attribute.
7338 2003-05-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7340         * expr.c (store_field): Don't clobber TEMP in shift: it might be
7341         a variable.
7342         (get_inner_reference): Don't go through a VIEW_CONVERT_EXPR
7343         whose purpose is to step up the alignment.
7344         (expand_expr, case ADDR_EXPR): Force LO_SUM into memory, just like REG.
7346         * stor-layout.c (compute_record_mode): Relax restriction
7347         on fields crossing word boundaries forcing BLKmode.
7349 2003-05-04  Neil Booth  <neil@daikokuya.co.uk>
7351         * cppinit.c (cpp_create_reader, post_options): Warn about
7352         trigraphs unless explicity set or -trigraphs.
7353         * cpplex.c (warn_in_comment): New.
7354         (_cpp_process_line_notes): Better handling of -Wtrigraphs.
7355         (_cpp_skip_block_comment): Add call to _cpp_process_line_notes.
7356         * doc/cppopts.texi, doc/cpp.texi: Update.
7358 2003-05-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
7360         * Makefile.in (LIBGCOV): Add _gcov_merge_add.
7361         * gcov-io.h: Make GCOV_LINKAGE extern in libgcov and prevent resulting
7362         namespace clash.
7363         (GCOV_MERGE_FUNCTIONS): New.
7364         (gcov_merge_fn): Declare.
7365         (struct gcov_ctr_info): New field "merge".
7366         (__gcov_merge_add): Declare.
7367         * coverage.c (ctr_merge_functions): New.
7368         (build_ctr_info_type, build_ctr_info_value): Initialize merge field
7369         of gcov_ctr_info type.
7370         * libgcov.c (__gcov_merge_add): New.
7371         (gcov_exit): Call a hook to merge values of counters.
7373 2003-05-04  Gabriel Dos Reis <gdr@integrable-solutions.net>
7375         * toplev.h (pedwarn_with_file_and_line): Don't declare.
7376         * diagnostic.c (pedwarn_with_file_and_line): Remove.
7378 2003-05-04  Gabriel Dos Reis  <gdr@integrable-solutions.net>
7380         * varasm.c (assemble_variable): Don't use error_with_file_and_line.
7382 2003-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7384         * builtins.c (expand_builtin_constant_p, expand_builtin_strlen,
7385         expand_builtin_frame_address): Update prototypes.
7386         (expand_builtin_constant_p, expand_builtin_strlen,
7387         expand_builtin_strcpy, expand_builtin_memset,
7388         expand_builtin_bzero, expand_builtin_args_info,
7389         expand_builtin_frame_address): Pass in just the argument(s)
7390         needed, not the entire expression `exp'.
7391         (expand_builtin): Update all calls to these functions.
7393 2003-05-03  Richard Henderson  <rth@redhat.com>
7395         * builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove.
7396         <BUILT_IN_DWARF_SP_COLUMN>: New.
7397         * builtins.def (BUILT_IN_DWARF_FP_REGNUM): Remove.
7398         (BUILT_IN_DWARF_SP_COLUMN): New.
7399         * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Remove.
7400         (expand_builtin_dwarf_sp_column): New.
7401         * except.h: Update to match.
7402         * unwind-dw2.c (execute_stack_op): Correct stack push typo.
7403         (execute_cfa_program): Record location expression address
7404         before extracting length.
7405         (uw_update_context_1): Install old CFA into stack pointer column.
7406         (uw_init_context_1): Set cfa_reg to stack pointer column.
7408 2003-05-03  Richard Henderson  <rth@redhat.com>
7410         * config/rs6000/rs6000.c (constant_pool_expr_p): Make static and
7411         return bool.
7412         (toc_relative_expr_p): Likewise.
7413         (SPE_CONST_OFFSET_OK): Move from rs6000.h.
7414         (legitimate_constant_pool_address_p): Move from rs6000.h, change
7415         into a function, downcase all users.
7416         (legitimate_small_data_p): Likewise.
7417         (legitimate_offset_address_p): Likewise.
7418         (legitimate_indexed_address_p): Likewise.
7419         (legitimate_indirect_address_p): Likewise.
7420         (legitimate_lo_sum_address_p): Likewise.
7421         (rs6000_mode_dependent_address): Likewise.
7422         * rs6000.h (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): Remove.
7423         (SPE_CONST_OFFSET_OK, LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
7424         LEGITIMATE_SMALL_DATA_P, LEGITIMATE_OFFSET_ADDRESS_P,
7425         LEGITIMATE_INDEXED_ADDRESS_P, LEGITIMATE_INDIRECT_ADDRESS_P,
7426         LEGITIMATE_LO_SUM_ADDRESS_P): Move into rs6000.c.
7427         (LEGITIMATE_ADDRESS_INTEGER_P): Remove.
7428         (GO_IF_MODE_DEPENDENT_ADDRESS): Use rs6000_mode_dependent_address.
7429         * config/rs6000/rs6000-protos.h: Update.
7431 2003-05-03  Geoffrey Keating  <geoffk@apple.com>
7433         * config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define.
7434         (REVERSE_CONDITION): Define.
7436         * config/rs6000/rs6000.c (scc_comparison_operator): Make equivalent
7437         to branch_positive_comparison_operator.
7438         (ccr_bit): Check that sCOND conditions are actually a positive bit.
7439         (print_operand): Remove %D substitution.
7440         (rs6000_emit_sCOND): Generate complement operation to ensure that
7441         sCOND input is a positive bit.
7442         * config/rs6000/rs6000.md: Rearrange sCOND templates to be in the
7443         same order as bCOND, and add the missing ones.  Remove the %D
7444         substitutions from the scc patterns.
7446         * simplify-rtx.c (simplify_relational_operation): Add case for
7447         ! (fabs(x) < 0.0).
7449 2003-05-03  Bruce Korb  <bkorb@gnu.org>
7451         * gcc/fixinc/fixincl.tpl(dne): restore this to force merge conflicts
7452         in fixincl.x
7453         * gcc/fixinc/inclhack.def(bsd_stdio_attrs_conflict): fix placement
7455 2003-05-03  Aldy Hernandez  <aldyh@redhat.com>
7457         * config/rs6000/spe.h: Remove unecessary casts.  Misc cleanups.
7459 2003-05-03  Zack Weinberg  <zack@codesourcery.com>
7461         PR c/10604
7462         * c-common.c (warn_sign_compare): Initialize to -1.
7463         * c-opts.c (c_common_init_options): Don't set warn_sign_compare here.
7464         (c_common_decode_option <OPT_Wall>): Set warn_sign_compare
7465         for C++ only.
7466         (c_common_post_options): Set warn_sign_compare from extra_warnings
7467         if it's still -1 at this point.
7469         * toplev.c (maybe_warn_unused_parameter): New static variable.
7470         (set_Wextra): New static function.
7471         (W_options): Remove "extra".
7472         (decode_W_option): Call set_Wextra.
7473         (independent_decode_option): Likewise.
7474         (set_Wunused): Cooperate with set_Wextra in setting
7475         warn_unused_parameter.
7476         (rest_of_compilation): No need to check extra_warnings as
7477         well as warn_uninitialized.
7479         * c-typeck.c (build_binary_op, build_conditional_expr):
7480         No need to check extra_warnings as well as warn_sign_compare.
7481         (internal_build_compound_expr): No need to check extra_warnings
7482         as well as warn_unused_value.
7483         * function.c (expand_function_end): No need to check extra_warnings
7484         as well as warn_unused_parameter.
7485         * stmt.c (expand_expr_stmt_value): No need to check extra_warnings
7486         as well as warn_unused_value.
7488         * doc/invoke.texi: Clarify documentation of -Wsign-compare.
7490         * Makefile.in: Disable -Werror for gengtype-lex.o.
7492 2003-05-03  Olivier Hainque  <hainque@act-europe.fr>
7494         * emit-rtl.c (last_call_insn, add_function_usage_to): New functions.
7495         * rtl.h (last_call_insn, add_function_usage_to): New prototypes.
7496         * builtins.c (expand_builtin_apply): Use the new emit-rtl functions.
7497         * calls.c (emit_call_1): Likewise.
7498         (expand_call): For calls initializing constant memory, replace
7499         emission of standalone mem /u clobber with function usage entry.
7500         * expr.c (emit_block_move_via_libcall): Likewise.
7501         * cse.c (count_reg_usage, case EXPR_LIST): New case.
7502         * flow.c (propagate_one_insn): Pass entire operand of
7503         CALL_INSN_FUNCTION_USAGE to mark_used_regs.
7504         * integrate.c (try_constants): For CALL_INSNs, substitute constants
7505         within the FUNCTION_USAGE also.
7506         * loop.c (prescan_loop): Note clobbers of const mem mentioned in
7507         FUNCTION_USAGE lists.
7508         * reload1.c (replace_pseudos_in): Renamed.
7509         (reload): Use it for clobbers surviving until the end of the reload.
7511 2003-05-03  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7513         * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use
7514         gen_lowpart on non-integer modes.
7516         * stor-layout.c (place_field): When adjusting offset_align, use
7517         desired_align, not DECL_ALIGN.
7519 2003-05-03  Nathan Sidwell  <nathan@codesourcery.com>
7521         * c-decl.c (pending_invalid_xref_file): Remove.
7522         (pending_invalid_xref_line): Remove.
7523         (pending_invalid_xref_location): New.
7524         (lookup_label): Use location_t and input_location directly.
7525         (lookup_tag): Likewise.
7526         (pending_xref_error): Likewise.
7527         (c_expand_body_1): Likewise.
7528         * c-common.c (x_expand_start_cond): Likewise.
7529         * c-semantics.c (genrtl_for_stmt): Likewise.
7530         (find_reachable_label): Likewise.
7531         * expr.c (expand_expr): Likewise.
7532         * integrate.c (output_inline_function): Likewise.
7533         * tree-inline.c (find_alloca_call): Likewise.
7534         (find_builtin_longjmp_call): Likewise.
7535         * gcc.c (input_filename): Make static.
7537 2003-05-03  Richard Sandiford  <rsandifo@redhat.com>
7539         * config/mips/mips.md: Fix comment typo.
7541         * config/mips/mips.c (mips_integer_op): New structure.
7542         (MIPS_MAX_INTEGER_OPS): Define.
7543         (mips_const_insns): Use mips_build_integer to determine the number
7544         of instructions needed to load a CONST_INT.
7545         (move_operand): Reject compound CONST_INTs.
7546         (mips_build_shift, mips_build_lower, mips_build_integer): New fns.
7547         (mips_move_integer): New fn.
7548         (mips_legitimize_const_move): Pass CONST_INTs to mips_move_integer.
7549         (mips_legitimize_move): Only legitimize constants when moving
7550         word or subword values.
7552 2003-05-02  Matt Kraai  <kraai@alumni.cmu.edu>
7554         * Makefile.in (gcov-iov.h): Use move-if-change and a stamp.
7556 2003-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7558         * builtins.c (expand_builtin_stpcpy): Copy `arglist' before
7559         modifying it.
7561 2003-05-03  Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
7562             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7564         * doc/contrib.texi (Contributors): Add Zdenek Dvorak, Aldy
7565         Hernandez, and Kazu Hirata.  Update Richard Henderson.
7567 2003-05-02  Geoffrey Keating  <geoffk@apple.com>
7569         * config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern'
7570         to tentative declaration.
7572         * config/rs6000/sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete.
7573         (SYMBOL_FLAG_SMALL_V4): Delete.
7574         * config/rs6000/rs6000.c (small_data_operand): Use SYMBOL_REF_SMALL_P.
7575         (rs6000_elf_encode_section_info): Don't set SYMBOL_FLAG_SMALL_V4.
7576         (rs6000_elf_in_small_data_p): Add extra section names.  Add
7577         comment about TREE_PUBLIC test.
7579         * c-semantics.c (genrtl_switch_stmt, genrtl_if_stmt): Call
7580         expand_stmt on result of expand_unreachable_stmt.
7582 2003-05-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7584         * doc/contrib.texi (Contributors): Add Daniel Berlin.
7586 2003-05-02  David Edelsohn  <edelsohn@gnu.org>
7588         * config/rs6000/{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease
7589         number of automata.
7591         * config/rs6000/rs6000.c (symbol_ref_operand): Check
7592         SYMBOL_REF_FUNCTION_P on AIX.
7593         (current_file_function_operand): Same.
7594         * config/rs6000/rs6000.md (call,call_value): Force non-function
7595         symbol_ref into register on AIX.
7597 2003-05-02  Alan Modra  <amodra@bigpond.net.au>
7599         * calls.c (struct arg_data): Move offset, slot_offset, size and
7600         alignment_pad to struct locate_and_pad_arg_data.  Update all refs.
7601         (initialize_argument_information): Adjust call to locate_and_pad_parm.
7602         Delete alignment_pad var.  Don't calculate slot_offset here.
7603         (emit_library_call_value_1): Delete alignment_pad, offset and size
7604         vars.  Use struct locate_and_pad_arg_data instead.  Adjust refs.
7605         Adjust call to locate_and_pad_parm.  Don't tweak arg size for
7606         partial in-regs here.  Formatting fixes.
7607         * expr.h (struct locate_and_pad_arg_data): New struct.
7608         (locate_and_pad_parm): Adjust declaration.
7609         * function.c (assign_parms): Localize vars.  Use "locate" instead of
7610         other arg location vars.  Don't invoke FUNCTION_ARG or
7611         FUNCTION_INCOMING_ARG unless pretend_named is different from
7612         named_arg.  Heed MUST_PASS_IN_STACK and set up "partial" before
7613         calling locate_and_pad_parm.  Adjust locate_and_pad_parm call.
7614         Use slot_offset for stack home of reg parms.  Correct test for
7615         parm passed in memory.  Formatting fixes.
7616         (locate_and_pad_parm): Add "partial" to params.  Replace offset_ptr
7617         arg_size_ptr and alignment pad with "locate".  Set slot_offset here.
7618         Correct initial_offset_ptr handling.  Localize vars.  Always pad
7619         locate->offset even when in_regs.
7621 2003-05-02  Nathan Sidwell  <nathan@codesourcery.com>
7623         * Makefile.in (TREE_H): Replace location.h with input.h.
7624         (GTFILES) Remove location.h
7625         (gt-lists.h): Replace gt-location.h with gt-input.h
7626         * input.h (input_filename, input_line): Remove variables.
7627         (location_s, location_t): Move from location.h.
7628         (input_location): New.
7629         (input_filename, input_line): New #defines.
7630         * location.h: Remove.
7631         * tree.h: Replace location.h with input.h.
7632         (input_filename, input_line): Remove.
7633         * diagnostic.h: Replace location.h with input.h.
7634         * gcc.h (input_filename, input_filename_length): Remove declarations.
7635         * toplev.c (input_filename, input_line): Remove.
7636         (input_location): Define.
7637         (push_srcloc, pop_srcloc): Adjust.
7638         * diagnostic.c (diagnostic_report_current_module): Adjust.
7640 2003-05-02  Nick Clifton  <nickc@redhat.com>
7642         * configure.in: Add xstormy16 to list of targets that has a nop
7643         instruction and hence which can be tested to see if the
7644         assembler supports the --gdwarf2 switch.
7645         * configure: Regenerate.
7647 2003-05-01  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
7649         PR target/8257
7650         * config/alpha/alpha.c (alpha_sa_mask, alpha_expand_prologue,
7651         alpha_start_function, alpha_expand_epilogue, unicosmk_gen_dsib):
7652         Avoid undefined shifts by making the shift operand unsigned.
7654 2003-05-01  DJ Delorie  <dj@redhat.com>
7656         * reload.c (find_reloads): Also check that all of a multi-reg
7657         value is in the class.
7659 2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
7661         * scan.h (lineno): Revert the rename here.
7663 2003-05-01  Stan Shebs  <shebs@apple.com>
7665         * config/darwin.c (darwin_encode_section_info): Call
7666         default_encode_section_info.
7668 2003-05-01  David Edelsohn  <edelsohn@gnu.org>
7670         * config/rs6000/rs6000.md (define_attr "type"): Add mfjmpr.
7671         (movsi_internal1): Use new mfjmpr attribute.
7672         (movhi_internal): Same.
7673         (movqi_internal): Same.
7674         (movcc_internal1): Same.
7675         (movdi_internal64): Same.
7676         * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
7677         power4.md,rios1.md,rios2.md,rs64.md}: Add mfjmpr.
7678         * config/rs6000/40x.md: Add fpu_405.
7679         * config/rs6000/power4.md: Merge power4lsu and power4disp automata
7680         into power4misc automata.  Remove extraneous parentheses.
7681         * config/rs6000/440.md: New file.
7682         * config/rs6000/rs6000.c (processor_target_table): Add 440,
7683         440fp.  Rename 405f to 405fp.
7684         (function_arg_padding): Correct formatting.
7685         (rs6000_rtx_costs): Add PROCESSOR_PPC440 cases.
7687 2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
7689         * input.h (lineno): Rename to ...
7690         (input_line): ... here.
7691         * tree.h (lineno): Rename to ...
7692         (input_line): ... here.
7693         * scan.h (lineno): Rename to ...
7694         (input_line): ... here.
7695         * toplev.c (lineno): Rename to ...
7696         (input_line): ... here.
7697         (push_srcloc, pop_srcloc):  Rename lineno to input_line.
7698         * c-common.c (c_expand_start_cond, fname_decl): Likewise.
7699         * c-decl.c (poplevel, pop_label_level, lookup_label, lookup_tag,
7700         store_parm_decls, c_expand_body_1): Likewise.
7701         * c-errors.c (pedwarn_c99): Likewise.
7702         * c-format.c (status_warning): Likewise.
7703         * c-lex.c (fe_file_change, cb_def_pragma, c_lex): Likewise.
7704         * c-opts.c (c_common_post_options, c_common_parse_file): Likewise.
7705         * c-parse.in (save_filename, maybe_type_qual, ifc): Likwise.
7706         * c-semantics.c (finish_stmt_tree, build_stmt, emit_local_var,
7707         gentrtl_goto_stmt, genrtl_expr_stmt_value, genrtl_decl_stmt,
7708         genrtl_if_stmt, genrtl_while_stmt, genrtl_do_stmt,
7709         genrtl_return_stmt, genrtl_for_stmt, build_break_stmt,
7710         build_continue_stmt, genrtl_switch_stmt, genrtl_asm_stmt,
7711         prep_stmt, find_reachable_label, expand_unreachable_stmt): Likewise.
7712         * coverage.c (create_coverage): Likewise.
7713         * diagnostic.c (pedwarn, sorry, error, fatal_error,
7714         internal_error, warning, diagnostic_report_current_module,
7715         inform): Likewise.
7716         * expr.c (expand_expr): Likewise.
7717         * integrate.c (expand_inline_function,
7718         output_inline_function): Likewise.
7719         * rtl-error.c (file_and_line_for_asm): Likewise.
7720         * tree-inline.c (find_alloca_call, find_builtin_longjmp_call,
7721         walk_tree): Likewise.
7722         * tree.c (make_node): Likewise.
7723         * ada, cp, f, java, objc, treelang: Likewise.
7724         * objc/objc-act.c (objc_init): Rename lineno to input_line.
7725         (build_module_descriptor, build_selector_translation_table,
7726         build_protocol_template, build_method_prototype_list_template,
7727         build_category_template, build_selector_table,
7728         build_class_template, build_super_template, build_ivar_template,
7729         build_ivar_list_template, build_method_list_template,
7730         build_method_template, add_instance_variable): Likewise.
7732         * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Change parameter
7733         name from input_filename.
7735 2003-04-30  Eric Christopher  <echristo@redhat.com>
7736             Richard Sandiford <rsandifo@redhat.com>
7738         * configure: Regenerate from patches below.
7739         * combine.c (gen_lowpart_for_combine): Fix comment and add tests
7740         for all symbolic operands.
7741         * config/mips/mips.c: Migrate RTX_COSTS and CONST_COSTS
7742         to function.
7743         * config/mips/linux.h: Fix typo.
7744         * Merge from mips-3_4-rewrite branch:
7746         2003-04-07  Richard Sandiford  <rsandifo@redhat.com>
7748                 * config/mips/mips.c (mips_classify_symbol): Add catch-all case for
7749                 handling local labels when TARGET_ABICALLS.
7751         2003-04-04  Richard Sandiford  <rsandifo@redhat.com>
7753                 * config/mips/mips-protos.h (mips_expand_epilogue): Add an
7754                 integer argument.
7755                 (mips_expand_call): Likewise.
7756                 * config/mips/mips.h (TARGET_SIBCALLS): New macro.
7757                 (FIXED_REGISTERS): Clear $31 entry.
7758                 (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTER): Likewise.
7759                 (EPILOGUE_USES): Define.
7760                 * config/mips/mips.c (mips_function_ok_for_sibcall): New function.
7761                 (TARGET_FUNCTION_OK_FOR_SIBCALL): Use it.
7762                 (override_options): Add a 'j' register class.
7763                 (mips_expand_call): Handle sibcalls
7764                 (mips_expand_epilogue): Handle epilogues for sibcalls.
7765                 * config/mips/mips.md (epilogue): Adjust call to mips_expand_epilogue.
7766                 (sibcall_epilogue): New pattern.
7767                 (call, call_value): Adjust calls to mips_expand_call.
7768                 (sibcall, sibcall_value): New expanders.
7769                 (sibcall_internal, sibcall_value_internal): New patterns.
7770                 (sibcall_value_multiple_internal): New pattern.
7772         2003-03-25  Richard Sandiford  <rsandifo@redhat.com>
7774                 * config/mips/mips.md (extended_mips16): New attribute.
7775                 (define_attr length): Default to 8 if extended_mips16 == yes.
7776                 (truncdisi2): Set extended_mips16 to yes for the sll alternative.
7777                 (truncdihi2, truncdiqi2, *extendsidi2): Likewise.
7778                 (call_internal): Set extended_mips16 to yes for direct jumps.
7779                 Remove redundant mode attribute.
7780                 (call_value_internal, call_value_multiple_internal): Likewise.
7781                 (call_split): Remove redundant mode attribute.
7782                 (call_value_split, call_value_multiple_split): Likewise.
7784                 * config/mips/mips.c (mips_symbol_insns): Rework.  Fix handling
7785                 of unaligned offsets.
7787                 * config/mips/mips.c (mips_splittable_symbol_p): Fix handling
7788                 of SYMBOL_GENERAL.
7790         2003-03-22  Richard Sandiford  <rsandifo@redhat.com>
7792                 * config/mips/mips.h (TARGET_EXPLICIT_RELOCS): Add commentary.
7793                 * config/mips/mips.c (override_options): Disable -mexplicit-relocs
7794                 for mips16 code.
7796         2003-03-22  Richard Sandiford  <rsandifo@redhat.com>
7798                 * config/mips/mips.h (ADDRESS_COST): Define.
7800         2003-03-20  Richard Sandiford  <rsandifo@redhat.com>
7802                 * config/mips/mips.h (EXTRA_CONSTRAINT): Give existing meaning of
7803                 'R' to 'U'.  Make 'R' mean a single-instruction memory reference.
7804                 * config/mips/mips.md: Replace 'R' constraints with 'U'.
7806         2003-03-18  Richard Sandiford  <rsandifo@redhat.com>
7808                 * config/mips/mips.md (truncdisi2): Add commentary.  Use sll instead
7809                 of a two-instruction sequence.  Add register->memory alternative.
7810                 (truncdihi2, truncdiqi2): Likewise.
7811                 Rework shift/truncate instructions so that they only handle right
7812                 shifts of 32 (or more, in the case of arithmetic shifts).
7813                 Add patterns for truncate/sign-extend.
7815         2003-03-13  Richard Sandiford  <rsandifo@redhat.com>
7817                 * configure.in (mips*-*-*): Check for explicit relocation support.
7818                 * configure: Regenerate.
7820         2003-03-13  Richard Sandiford  <rsandifo@redhat.com>
7822                 * config/mips/mips.h (TARGET_SWITCHES): Add -mexplicit-relocs
7823                 and -mno-explicit-relocs.
7824                 (MASK_EXPLICIT_RELOCS): Define.
7825                 (TARGET_EXPLICIT_RELOCS): Use it.
7826                 (mips_split_addresses): Remove declaration.
7827                 * config/mips/mips.c (override_options): Update comment for
7828                 mips_split_addresses.  Clear MASK_EXPLICIT_RELOCS for non-PIC n64.
7830         2003-03-13  Richard Sandiford  <rsandifo@redhat.com>
7832                 * combine.c (gen_lowpart_for_combine): Treat the lowpart Pmode of
7833                 a CONST as identity.  Check the return value of gen_lowpart_common.
7835         2003-03-13  Richard Sandiford  <rsandifo@redhat.com>
7837                 * config/mips/mips.c (mips_legitimize_symbol): Handle small data
7838                 references for TARGET_EXPLICIT_RELOCS.
7839                 (mips_reloc_string): Return "%gp_rel(" for RELOC_GPREL16 if
7840                 !TARGET_MIPS16.
7842         2003-03-13  Richard Sandiford  <rsandifo@redhat.com>
7844                 * config/mips/mips.md: Replace 'IQ' mips16 constraints with just 'Q'.
7845                 (addsi3): Remove redundant constraints.
7846                 (addsi3_internal): Use separate register & constant alternatives.
7847                 Use a 'Q' constraint and "addiu" insn for the latter.
7848                 (adddi3_internal_3, addsi3_internal_2): Likewise.
7850         2003-03-13  Richard Sandiford  <rsandifo@redhat.com>
7852                 * config/mips/mips-protos.h (mips_expand_unaligned_load): Declare.
7853                 (mips_expand_unaligned_store): Declare.
7854                 * config/mips/mips.c (mips_get_unaligned_mem): New fn.
7855                 (mips_expand_unaligned_load, mips_expand_unaligned_store): New fns.
7856                 * config/mips/mips.md (UNSPEC_ULW, UNSPEC_USW): Remove.
7857                 (UNSPEC_ULD, UNSPEC_USD): Remove.
7858                 (UNSPEC_LWL, UNSPEC_LWR, UNSPEC_SWL, UNSPEC_SWR): New.
7859                 (UNSPEC_LDL, UNSPEC_LDR, UNSPEC_SDL, UNSPEC_SDR): New.
7860                 (extv, extzv): Use mips_expand_unaligned_load.
7861                 (insv): Use mips_expand_unaligned_store.  Use a reg_or_0_operand
7862                 predicate for operand 3.
7863                 (movsi_ulw, movsi_usw): Replace with...
7864                 (mov_lwl, mov_lwr, mov_swl, move_swr): ...these new insns.
7865                 (movdi_uld, movdi_usd): Likewise replace with...
7866                 (mov_ldl, mov_ldr, mov_sdl, move_sdr): ...these insns.
7868         2003-02-26  Richard Sandiford  <rsandifo@redhat.com>
7870                 * config/mips/mips-protos.h (mips_global_pic_constant_p): Declare.
7871                 * config/mips/mips.h (LEA_REGS): New register class.
7872                 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add entries for it.
7873                 (GR_REG_CLASS_P): Include LEA_REGS.
7874                 (DANGEROUS_FOR_LA25_P): New macro.
7875                 (EXTRA_CONSTRAINT): Add !DANGEROUS_FOR_LA25_P to R's condition.
7876                 Add a T constraint for the DANGEROUS_FOR_LA25_P case.
7877                 * config/mips/mips.c (mips_regno_to_class): Change GR_REGS
7878                 entries to LEA_REGS.
7879                 (mips_global_pic_constant_p): New function.
7880                 (override_options): Add 'e' register constraint.
7881                 (mips_secondary_reload_class): Return LEA_REGS when reloading
7882                 a dangerous constant into a class containing $25.
7883                 * config/mips/mips.md (movdi_internal2): Add an e <- T alternative.
7884                 (movsi_internal): Likewise.
7886         2003-02-23  Richard Sandiford  <rsandifo@redhat.com>
7888                 * config/mips/mips.h (TARGET_SPLIT_CALLS): New macro.
7889                 * config/mips/mips.md (call_split): New insn.
7890                 (call_value_split, call_value_multiple_split): New insns.
7891                 (call_internal): Turn into a define_insn_and_split.  Split the
7892                 instruction into a call and $gp load if TARGET_SPLIT_CALLS.
7893                 (call_value_internal, call_value_multiple_internal): Likewise.
7895         2003-02-23  Richard Sandiford  <rsandifo@redhat.com>
7897                 * config/mips/mips.c (mips_reloc_string): Return "%got(" for
7898                 RELOC_GOT_PAGE and RELOC_GOT_DISP if !TARGET_NEWABI.
7899                 (mips_encode_section_info): Don't take symbol visibility into
7900                 account if TARGET_ABICALLS.  Add more commentary.
7901                 * config/mips/mips.md: Add commentary above reloc constants.
7903         2003-02-12  Richard Sandiford  <rsandifo@redhat.com>
7905                 * config/mips/mips.c (mips_legitimize_const_move): New, extracted
7906                 from mips_legitimize_move.  Legitimize constant pool references.
7907                 (mips_legitimize_move): Call mips_legitimize_const_move.  Attach
7908                 a REG_EQUAL note to the last instruction.
7910         2003-02-11  Richard Sandiford  <rsandifo@redhat.com>
7912                 * config/mips/mips-protos.h (mips_simplify_dwarf_addr): Declare.
7913                 * config/mips/mips.h (TARGET_EXPLICIT_RELOCS, TARGET_NEWABI): New.
7914                 (ASM_SIMPLIFY_DWARF_ADDR): Define to mips_simplify_dwarf_addr.
7915                 (EXTRA_CONSTRAINT): Allow symbolic call addresses for TARGET_ABICALLS.
7916                 * config/mips/mips.md (UNSPEC_HIGH): New constant.
7917                 (UNSPEC_RELOC_GPREL16): Rename to...
7918                 (RELOC_GPREL16): ...this.
7919                 (RELOC_GOT_HI, RELOC_GOT_LO, RELOC_GOT_PAGE, RELOC_GOT_DISP): New.
7920                 (RELOC_CALL16, RELOC_CALL_HI, RELOC_CALL_LO): New.
7921                 (macro_calls): New attribute.
7922                 (length): Use it to set the default length of calls.  Don't allow
7923                 calls to have delay slots if macro_calls is "yes".
7924                 (luisi, luidi): New patterns.
7925                 (lowsi, lowdi): Use '%R' to print the relocation.
7926                 (lowdi_extend): Remove.
7927                 (loadgp): Remove mode from operand 0.  Use '%0' instead of '%a0'.
7928                 (call_internal): Merge alternatives.  Always use "jal".
7929                 (call_value_internal, call_value_multiple_internal): Likewise.
7930                 (reloc_gprel16): Remove.
7931                 * config/mips/mips.c (mips_got_alias_set): New variable.
7932                 (mips_classify_constant): Handle the new relocation constants.
7933                 (mips_classify_symbol): Reverse the sense of SYMBOL_REF_FLAG for PIC.
7934                 (mips_symbolic_address_p): Return false if generating explicit relocs.
7935                 Otherwise allow local PIC symbols to have an offset.
7936                 (mips_splittable_symbol_p): New function.
7937                 (mips_classify_address): Use it to check whether a LO_SUM is valid.
7938                 (mips_const_insns): Always accept HIGH.
7939                 (call_insn_operand): Don't accept global symbols if using explicit
7940                 relocs.
7941                 (move_operand): Don't accept HIGH when generating PIC.
7942                 (mips_reloc, mips_lui_reloc): New functions.
7943                 (mips_force_temporary): Remove MODE argument.  Expect VALUE to
7944                 be a valid right-hand-side for a SET pattern.
7945                 (mips_load_got, mips_load_got16, mips_load_got32): New functions.
7946                 (mips_emit_high): New function.
7947                 (mips_legitimize_symbol): Use mips_reloc for the mips16 gp-relative
7948                 case.  Use mips_splittable_symbol_p to check whether a LO_SUM
7949                 address should be used.  Use mips_emit_high to generate the
7950                 high part of such an address.  Adjust the global symbol + offset
7951                 case to match the change to mips_force_temprorary.
7952                 (mips_legitimize_move): Shuffle call to mips_legitimize_symbol.
7953                 If generating explicit-reloc PIC, load the address of global
7954                 symbols from the GOT.  Use mips_emit_high to emit the high part
7955                 of an address.
7956                 (mips_simplify_dwarf_addr): New function.
7957                 (mips_move_1word): Use lwc1 instead of l.s and swc1 instead of s.s.
7958                 (mips_move_2words): Likewise ldc1/l.d and sdc1/s.d if TARGET_64BIT.
7959                 (mips_expand_call): Load the addresses of global functions using
7960                 %call* relocs if generating explicit-reloc PIC.  Don't generate
7961                 an exception_receiver pattern.
7962                 (override_options): Initialize mips_got_alias_set.
7963                 (print_relocation): Remove in favor of...
7964                 (mips_reloc_string): ...this new function.
7965                 (print_operand): Handle '%R'.  Use mips_reloc_string.
7966                 (print_operand_address): Use print_operand to print the symbolic
7967                 part of a LO_SUM address.
7968                 (mips_output_function_prologue): Use .cprestore, reverting last patch.
7969                 (mips_encode_section_info): Factor out DECL_RTL accesses.  Reverse
7970                 sense of SYMBOL_REF_FLAG for PIC, using binds_local_p to check
7971                 for local symbols.
7973         2003-02-02  Eric Christopher  <echristo@redhat.com>
7975                 * config/mips/mips.c (mips_sign_extend): Remove.
7976                 * config/mips/mips-protos.h: Ditto.
7977                 * config/mips/mips.md (movdi_internal2_extend): Remove.
7978                 (extendsidi2): Fix mode of convert_memory_address.
7980         2003-01-24  Eric Christopher  <echristo@redhat.com>
7982                 * config/mips/mips.md: Rewrite zero_extend* and extend*
7983                 patterns. Use explicit instructions and split after reload
7984                 for register extensions.
7985                 (ashlsi3_internal1_extend): New combiner pattern for
7986                 shift and extend combinations.
7987                 * config/mips/mips.h: Change Pmode back to ptr_mode
7988                 for performance enhancement.
7989                 * combine.c (expand_compound_operation): Make sure
7990                 that zero_extend operation is profitable.
7992         2003-01-14  Richard Sandiford  <rsandifo@redhat.com>
7994                 * config/mips/mips.h (TRAMPOLINE_TEMPLATE): Make size of stored
7995                 addresses depend on ptr_mode rather than Pmode.
7996                 (TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT): Update acoordingly.
7997                 (INITIALIZE_TRAMPOLINE): Rework to handle Pmode != ptr_mode.
7998                 (CASE_VECTOR_MODE): Use ptr_mode for !TARGET_MIPS16.
7999                 (ASM_OUTPUT_ADDR_VEC_ELT): Update accordingly.
8000                 * config/mips/mips.md (tablejump): Likewise.  Remove Pmode
8001                 condition for selecting cpaddsi or cpadddi: use cpadd instead.
8002                 (tablejump_internal1): Remove condition.
8003                 (tablejump_internal2): Change condition to TARGET_64BIT.
8004                 (cpaddsi): Rename to...
8005                 (cpadd): ...this.
8006                 (cpadddi): Remove.
8008         2003-01-09  Richard Sandiford  <rsandifo@redhat.com>
8010                 * config/mips/mips-protos.h (mips16_constant_after_function_p,
8011                 mips_address_cost, mips_check_split, double_memory_operand,
8012                 mips16_gp_offset, mips16_gp_offset_p, mips16_constant,
8013                 pic_address_needs_scratch, symbolic_operand): Remove declarations.
8014                 (mips_legitimate_address_p): Return bool.
8015                 (mips_address_insns, mips_fetch_insns, mips_const_insns,
8016                 mips_legitimize_address, mips_legitimize_move,
8017                 mips_expand_call): Declare.
8018                 (mips_return_addr): Move outside #ifdef RTX_CODE.
8020                 * config/mips/mips.h (ABI_HAS_64BIT_SYMBOLS): New macro.
8021                 (PIC_FN_ADDR_REG): New reg_class.
8022                 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add corresponding entries.
8023                 (GR_REG_CLASS_P): True for PIC_FN_ADDR_REG.
8024                 (SMALL_OPERAND, SMALL_OPERAND_UNSIGNED, LUI_OPERAND,
8025                 CONST_HIGH_PART, CONST_LOW_PART, LUI_INT): New macros.
8026                 (SMALL_INT, SMALL_INT_UNSIGNED, CONST_OK_FOR_LETTER_P): Use new macros.
8027                 (EXTRA_CONSTRAINTS): Give new meanings to Q, R and S.
8028                 (CONSTANT_ADDRESS_P): Use mips_legitimate_address_p.
8029                 (LEGITIMATE_PIC_OPERAND): Undefine.
8030                 (LEGITIMATE_CONSTANT_P): Use mips_const_insns.
8031                 (LEGITIMIZE_ADDRESS): Use mips_legitimize_address.
8032                 (CONSTANT_AFTER_FUNCTION_P): Remove definition in #if 0 block.
8033                 (FUNCTION_MODE): Change to SImode.
8034                 (CONST_COSTS): Use mips_const_insns to calculate the cost of
8035                 most constants.  Treat const_artih_operands specially if they
8036                 occur in a PLUS or MINUS.
8037                 (CONSTANT_POOL_COST): New macro.
8038                 (RTX_COSTS): Use mips_address_insns for MEMs, with a base cost of 2.
8039                 Add LO_SUM handling.
8040                 (ADDRESS_COST): Undefine.
8041                 (PREDICATE_CODES): Add symbolic_operand and const_arith_operand.
8042                 Add CONST to the list of codes for arith_operand.  Add LABEL_REF
8043                 to call_insn_operand and remove CONST_INT.
8045                 * config/mips/mips.c: Include integrate.h.
8046                 (SINGLE_WORD_MODE_P): New macro.
8047                 (mips_constant_type, mips_symbol_type, mips_address_type): New enums.
8048                 (mips_constant_info, mips_address_info): New structs.
8049                 (mips_regno_to_class): Map $25 to PIC_FN_ADDR_REG.
8050                 (mips_classify_constant, mips_classify_symbol,
8051                 mips_valid_base_register_p, mips_symbolic_address_p,
8052                 mips_classify_address, mips_symbol_insns,
8053                 mips16_unextended_reference_p, mips_address_insns, mips_const_insns,
8054                 mips_fetch_insns, mips_force_temporary, mips_add_offset,
8055                 mips_legitimize_symbol, mips_legitimize_address, mips_legitimize_move,
8056                 mips_print_relocation): New functions.
8057                 (const_arith_operand): New operand predicate.
8058                 (arith_operand): Use it.
8059                 (mips_const_double_ok, mips16_simple_memory_operand,
8060                 simple_memory_operand, double_memory_operand, mips_check_split,
8061                 mips_address_cost, pic_address_needs_scratch, mips16_gp_offset,
8062                 mips16_gp_offset_p, mips16_output_gp_offset,
8063                 mips16_constant_after_function_p, mips16_constant): Remove.
8064                 (call_insn_operand): Be more fussy about symbolic constants.
8065                 Use register_operand.
8066                 (move_operand): Use mips_symbolic_address_p to check symbolic
8067                 operands and general_operand to check the rest.
8068                 (symbolic_operand): Use mips_classify_constant.
8069                 (mips_legitimate_address_p): Use mips_classify_address.
8070                 (mips_move_1word): Combine handling of symbolic addresses.
8071                 Remove special treatment of gp-relative loads for TARGET_MIPS16.
8072                 (move_move_2words): Likewise.  Assume addresses are offsettable
8073                 if they need to refer to more than one word.  Add HIGH handling.
8074                 (mips_restore_gp): Use ptr_mode for the GP save slot.
8075                 (mips_expand_call): New function, combining the old mips.md
8076                 call and call_internal define_expands.  If the address isn't
8077                 a call_insn_operand, force it into a register.  For SVR4 PIC,
8078                 emit an exception_receiver instruction after the call.
8079                 (override_options): Only override flag_pic for TARGET_ABICALLS
8080                 if it is currently zero.  Allow mips_split_addresses when
8081                 Pmode == DImode too, except when ABI_HAS_64BIT_SYMBOLS.
8082                 Add new register class letter, 'c'.
8083                 (print_operand): Use mips_classify_constant for constant operands.
8084                 (print_operand_address): Use mips_classify_address.
8085                 (mips_output_function_prologue): Don't use .cprestore.
8086                 (mips_expand_epilogue): For TARGET_MIPS16, only adjust the stack
8087                 via the frame pointer if current_function_calls_eh_return.
8088                 (mips_encode_section_info): For TARGET_ABICALLS, use SYMBOL_REF_FLAG
8089                 to mark whether a symbol is local or global.
8090                 (build_mips16_call_stub): Expect the address of the function rather
8091                 than a MEM reference to it.  Update call generation sequences.
8092                 (mips16_optimize_gp): Remove Pmode checks.  Temporarily disable
8093                 small-data adjustments.
8095                 * config/mips/mips.md: Remove 'R'/'m' memory distinction.  Use default
8096                 length for loads and stores.
8097                 (UNSPEC_CPADD, UNSPEC_RELOC_GPREL16): New constants.
8098                 (define_attr type): Add const and prefetch.
8099                 (define_attr length): Use mips_const_insns for const instructions.
8100                 Use mips_fetch_insns for load and store instructions.
8101                 (define_attr single_insn): New.
8102                 (define_attr can_delay): Use it.
8103                 (define_attr abicalls): Remove.
8104                 (define_delay): Use can_delay.  Always allow calls to have delay slots.
8105                 (addsi3_internal_2): Add 'Q' constraint.
8106                 (movsi_ulw, movsi_usw, movdi_uld, movdi_usd): Set length to 8.
8107                 (high): Remove.
8108                 (lowsi): Renamed from low.
8109                 (lowdi): New pattern.
8110                 (movdi, movsi): Use mips_legitimize_move.  Remove define_split.
8111                 (lwxc1, ldxc1, swxc1, sdxc1): Set length to 4.
8112                 (loadgp): Change operand 0 to an immediate_operand.
8113                 (tablejump): Use the same patterns for SVR4 PIC but emit a cpadd
8114                 beforehand.
8115                 (cpaddsi, cpadddi): New patterns.
8116                 (tablejump_internal3, tablejump_internal4): Remove define_expands
8117                 and associated define_splits.
8118                 (call, call_value): Use mips_expand_call.
8119                 (call_internal): New, replacing all existing call_internal* insns.
8120                 (call_value_internal): Likewise call_value_internal*.
8121                 (call_value_multiple_internal): Likewise call_value_multiple_internal*.
8122                 (untyped_call): Remove if (operands[0]) magic.
8123                 (prefetch_si_address, prefetch_si): Change type to "prefetch".
8124                 (prefetch_di_address, prefetch_di): Likewise.
8125                 (leasi, leadi): Remove.
8126                 (reloc_gprel16): New.
8128                 * config/mips/5400.md (ir_vr54_hilo): Include const type.
8129                 * config/mips/5500.md (ir_vr55_hilo): Likewise.
8130                 * config/mips/sr71k.md (ir_sr70_hilo): Likewise.
8132         2003-01-08  Eric Christopher  <echristo@redhat.com>
8134                 * config.gcc (mipsisa32*): Change ABI_MEABI to ABI_EABI.
8135                 * config/mips/elf.h (STARTFILE_SPEC): Remove ABI_MEABI references and
8136                 configure check for libgloss.
8137                 * config/mips/elf64.h: Ditto.
8138                 * config/mips/mips.c: Remove ABI_MEABI.
8139                 * config/mips/mips.h: Ditto.
8141         2002-11-05  Richard Sandiford  <rsandifo@redhat.com>
8143                 Fix merge fallout.
8144                 * config/mips/mips.md (mul_acc_si): Reapply 2002-10-16 change.
8145                 (muldi3_internal): Remove outdated comment.
8146                 (*muls_di, *umuls_di): Fix comment and 64-bitness.
8147                 (*smsac_di, *umsac_di): Likewise.  Reformat.
8148                 (umulsi3_highpart): Minor formatting tweaks.
8149                 (umulsi3_highpart_internal): Use only if !ISA_HAS_MULHI.  Remove
8150                 redundant scratch operand.  Minor formatting tweak.
8151                 (umulsi3_highpart_mulhi_internal): Use for !TARGET_64BIT as well.
8152                 (umulsi3_highpart_neg_mulhi_internal): Likewise.  Fix asm template.
8153                 (smulsi3_highpart): As for the unsigned version.
8154                 (smulsi3_highpart_internal): Likewise.
8155                 (smulsi3_highpart_mulhi_internal): Likewise.
8156                 (smulsi3_highpart_neg_mulhi_internal): Likewise.
8157                 (smuldi3_highpart, umuldi3_highpart): Minor formatting tweaks.
8158                 (*smul_acc_di): Remove duplicated pattern.
8159                 (*umul_acc_di, *smul_acc_di): Reapply 2002-10-16 change.
8160                 (anddi3) [unnamed mips16 pattern]: Remove reintroduced length.
8161                 (zero_extendsidi2_internal2): Remove new, but commented-out pattern.
8163         2002-10-22  Eric Christopher  <echristo@redhat.com>
8165                 * config/mips/mips-protos.h (mips_return_addr): New.
8166                 * config/mips/mips.c (mips_return_addr): New.
8167                 (movdi_operand): Remove.
8168                 (se_register_operand): Ditto.
8169                 (se_reg_or_0_operand): Ditto.
8170                 (se_uns_arith_operand): Ditto.
8171                 (se_arith_operand): Ditto.
8172                 (se_nonmemory_operand): Ditto.
8173                 (extend_operator): Ditto.
8174                 (highpart_shift_operator): Ditto.
8175                 (mips_initial_elimination_offset): Remove return address pointer
8176                 elimination.
8177                 (mips_reg_names): Remove $ra.
8178                 (mips_regno_to_class): Ditto.
8179                 * config/mips/mips.h (POINTER_SIZE): Define based on TARGET_LONG64
8180                 and TARGET_64BIT.
8181                 (POINTER_BOUNDARY): Remove.
8182                 (POINTERS_EXTEND_UNSIGNED): Define to 0.
8183                 (PROMOTE_MODE): Promote to Pmode.
8184                 (SHORT_IMMEDIATES_SIGN_EXTEND): Define.
8185                 (Pmode): Define to TARGET_64BIT.
8186                 (FUNCTION_MODE): Define as Pmode.
8187                 (mips_args): Remove deleted functions.
8188                 (SIZE_TYPE): Depend on POINTER_SIZE.
8189                 (PTRDIFF_TYPE): Ditto.
8190                 (FIXED_REGISTERS): Fix extra registers.
8191                 (CALL_USED_REGISTERS): Ditto.
8192                 (CALL_REALLY_USED_REGISTERS): Ditto.
8193                 (RAP_REG_NUM): Remove.
8194                 (RETURN_ADDRESS_POINTER_REGNUM): Ditto.
8195                 (RETURN_ADDR_RTX): Define to mips_return_addr.
8196                 (ELIMINABLE_REGS): Remove RETURN_ADDRESS_POINTER_REGNUM.
8197                 (CAN_ELIMINATE): Ditto.
8198                 * config/mips/mips.md: For DImode patterns, take into account
8199                 deletions above. Split mulsidi patterns into sign_extend and
8200                 zero_extend.
8202         2002-10-16  Richard Sandiford  <rsandifo@redhat.com>
8203                     Michael Meissner  <meissner@redhat.com>
8205                 * config/mips/mips.h (ISA_HAS_MACC): True for normal-mode vr4120 code.
8206                 * config/mips/mips.md (mulsi3_mult3): Add a define_peephole2 to
8207                 mop up unnecessarly moves through LO.
8208                 (*mul_acc_si): Remove vr5400 and vr5500 handling from here.
8209                 (*macc): New pattern for ISA_HAS_MACC.  Add define_peephole2s to
8210                 change mtlo/macc sequences into mul/add sequences when a three-
8211                 address mul is available.
8212                 (*macc2): New pattern.  Add a define_peephole2 to generate it.
8213                 (*mul_sub_si): Fix contraint for operand 5.
8214                 (*muls): Use in 32-bit code as well.
8215                 (*msac): Likewise.  Use msub instead of msac in vr5500 code
8216                 if the destination is LO.  Remove duplicate define_split.
8217                 (*muls_di): Use only in 32-bit code.  Adjust rtl accordingly.
8218                 (*msac_di): Likewise.  Fix formatting.
8219                 (smulsi3_highpart, umulsi3_highpart): Use mulhi in 32-bit code too.
8220                 (*xmulsi3_highpart_internal): Use only if !ISA_HAS_MULHI.
8221                 (*xmulsi3_highpart_mulhi): Use even if !TARGET_64BIT.
8222                 (*xmulsi3_neg_highpart_mulhi): Likewise.
8223                 (*mul_acc_64bit_di): Remove.
8224                 (*mul_acc_di): Use only in 32-bit code.  Handle ISA_HAS_MACC as well.
8226         2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
8228                 * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
8229                 * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
8230                 (MULTILIB_DIRNAMES): Remove long32.
8231                 (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
8232                 (MULTILIB_REDUNDANT_DIRS): Remove.
8234         2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
8236                 * doc/tm.texi (DRIVER_SELF_SPECS): Document.
8237                 * gcc.c (driver_self_specs): New variable.
8238                 (do_self_spec): New function.
8239                 (main): Use it to process driver_self_specs.
8241         2002-10-09  Richard Sandiford  <rsandifo@redhat.com>
8243                 * config/mips/mips.md (one_cmpldi2): Use only if TARGET_64BIT.
8244                 Remove DImode define_split for !TARGET_64BIT.
8245                 (anddi3): Remove !TARGET_64BIT support from here as well.
8246                 Change operand 2's predicate to se_uns_arith_operand.
8247                 Add constant alternatives to define_insn.
8248                 (iordi3, xordi3, *nordi3): Likewise.
8249                 (anddi3_internal1, xordi3_immed): Remove.
8251         2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
8253                 * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
8254                 (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
8255                 * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
8256                 * config/mips/mips.md: Apply same renaming here.
8258         2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
8260                 * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
8261                 (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
8262                 * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
8263                 * config/mips/mips.md (define_attr cpu): Remove r4320.
8264                 Remove vr4320 scheduler and uses of TARGET_MIPS4320.
8266         2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
8268                 * config/mips/mips.c (mips16_strings): New variable.
8269                 (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
8270                 symbol in mips16_strings.  Free the list.
8271                 (mips_encode_section_info): Keep track of local strings.
8273         2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
8275                 * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
8276                 (sordered_df, sordered_sf): Remove.
8277                 * config/mips/mips.c (get_float_compare_codes): New fn.
8278                 (gen_int_relational, gen_conditional_move): Use it.
8280         2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
8282                 * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
8283                 * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
8284                 * config/mips/mips.c (fcc_register_operand): New function.
8285                 (mips_emit_fcc_reload): New function, extracted from reload_incc.
8286                 (override_options): Allow TFmode values in float registers
8287                 if ISA_HAS_8CC.
8288                 * cnfig/mips/mips.md (reload_incc): Change destination prediate
8289                 to fcc_register_operand.  Remove misleading source constraint.
8290                 Use mips_emit_fcc_reload.
8291                 (reload_outcc): Duplicate reload_incc.
8294 2003-04-30  Diego Novillo  <dnovillo@redhat.com>
8296         * builtins.def (BUILTIN_CONSTANT_P): Mark as constant.
8298 2003-04-30  Geoffrey Keating  <geoffk@apple.com>
8300         * tree-inline.c (inlinable_function_p): Back out last change, it's
8301         unnecessary.
8303 2003-04-30  Steven Bosscher  <steven@gcc.gnu.org>
8305         * ggc-page.c (TREE_EXP_SIZE): Define.
8306         (extra_order_size_table): New entry for expr trees with
8307         two operands.
8309 2003-04-30  Gabriel Dos Reis <gdr@integrable-solutions.net>
8311         * c-common.c (if_elt): Use location_t in lieu of "file, line" pair.
8312         (c_expand_start_cond): Adjust.
8313         (c_expand_end_cond): Don't use warning_with_file_and_file.
8314         (shadow_warning): Likewise.
8316 2003-04-30  Nathan Sidwell  <nathan@codesourcery.com>
8318         * tree.h (DECL_POINTER_DEPTH): Remove.
8319         (struct tree_decl): Remove pointer_depth.
8321 2003-04-30  Janis Johnson  <janis187@us.ibm.com>
8323         * config/rs6000/linux64.h (ASM_OUTPUT_LABELREF): Remove.
8324         * config/rs6000/rs6000.c (rs6000_elf_strip_name_encoding): Remove.
8325         (rs6000_xcoff_encode_section_info): Remove.
8326         (current_file_function_operand): Use SYMBOL_REF_FLAGS; fix latent bug.
8327         (rs6000_output_mi_thunk): Remove dead code; use SYMBOL_REF_FLAGS.
8328         (small_data_operand, rs6000_emit_move, rs6000_elf_in_small_data_p,):
8329         Use SYMBOL_REF_FLAGS.
8330         (rs6000_elf_encode_section_info): Call default_encode_section_info for
8331         generic flags, use SYMBOL_REF_FLAGS; code cleanups.
8332         * sysv4.h (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove.
8333         (SYMBOL_FLAG_SMALL_V4, SYMBOL_REF_SMALL_V4_P): New.
8334         * xcoff.h (TARGET_ENCODE_SECTION_INFO): Remove.
8335         (ASM_DECLARE_FUNCTION_NAME): Remove setting of SYMBOL_REF_FLAG.
8337 2003-04-30  Gabriel Dos Reis <gdr@integrable-solutions.net>
8339         * diagnostic.c (output_pointer): Use HOST_PTR_PRINTF.
8341 2003-04-30  Andreas Schwab  <schwab@suse.de>
8343         * doc/extend.texi (Other Builtins): Enclose multiple word data
8344         type in braces for @deftypefn.
8346 2003-04-30  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8348         * stor-layout.c (mode_for_size_tree): Use BLKmode if SIZE overflows.
8350         * doc/install.texi (--enable-threads): Document "gnat" option.
8352 2003-04-30  Gabriel Dos Reis <gdr@integrable-solutions.net>
8354         * diagnostic.h (output_formatted_scalar): Tweak.
8355         * diagnostic.c (output_long_decimal): Likewise.
8356         (output_unsigned_decimal): Likewise.
8357         (output_long_unsigned_decimal): Likewise.
8358         (output_octal): Likewise.
8359         (output_long_octal): Likewise.
8360         (output_hexadecimal): Likewise.
8361         (output_long_hexadecimal): Likewise.
8362         (output_pointer): New function.
8363         (output_format): Use it.  Recognize "%p" format specifier.
8365 2003-04-30  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
8367         * function.c (purge_addressof_1): Postpone insn in fewer cases.
8369 2003-04-29  Geoffrey Keating  <geoffk@apple.com>
8371         * config/rs6000/host-darwin.c (segv_handler): When -dH is used,
8372         call abort() after running out of stack space.
8374         * c-typeck.c (function_types_compatible_p): Ignore incompatible
8375         'volatile' qualifiers on a function's return type in GNU mode.
8377 2003-04-29  Aldy Hernandez  <aldyh@redhat.com>
8379         * expr.c (emit_group_load): Dump parallels of simd types to
8380         memory.
8382 2003-04-29  Vladimir Makarov  <vmakarov@redhat.com>
8384         * genautomata.c (add_vect): Check undefined value for range type
8385         too.
8387 2003-04-29  Phil Edwards  <pme@gcc.gnu.org>
8389         * configure.in:  More general test for cmp --ignore-initial.
8390         * configure:  Regenerate.
8392 2003-04-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8394         * stor-layout.c (mode_for_size_tree): Use tree_low_cst.
8395         (layout_decl, place_field): Likewise.
8396         Also make minor type and whitespace changes.
8398         * tree.c (save_expr): Don't fold a COMPONENT_REF.
8400 2003-04-29  Olivier Hainque <hainque@act-europe.fr>
8402         * calls.c (expand_call): When modes of target and valreg match, force
8403         sibcall failure when target is a MEM.
8405 2003-04-29  Geoffrey Keating  <geoffk@apple.com>
8407         * tree-inline.c (inlinable_function_p): Don't support inlining
8408         functions using varargs.
8410         * doc/invoke.texi (Overall Options): Mention -x objective-c-header.
8412         * dwarf2out.c (output_call_frame_info): No need to output EH
8413         unwind information if all_throwers_are_sibcalls.
8415         * c-semantics.c (expand_unreachable_stmt): Return a tree.
8416         (expand_stmt): Update for change to expand_unreachable_stmt.
8417         (expand_unreachable_if_stmt): Likewise.
8419         * Makefile.in (quickstrap): Pass BOOT_CFLAGS to submake.
8421 2003-04-29  Jason Merrill  <jason@redhat.com>
8423         PR middle-end/10336
8424         * jump.c (never_reached_warning): Really stop looking if we reach
8425         the beginning of the function.
8427 2003-04-29  Bob Wilson  <bob.wilson@acm.org>
8429         * config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE, USER_LABEL_PREFIX):
8430         Remove redundant macros.
8431         (WCHAR_TYPE, WCHAR_TYPE_SIZE): Change to "short unsigned int".
8432         (LOCAL_LABEL_PREFIX): Define unconditionally.
8433         (NO_DOT_IN_LABEL): Clarify comment.
8434         * config/xtensa/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Add explicit
8435         definition to "long int".
8437 2003-04-29  Alexander Kabaev  <kan@FreeBSD.ORG>
8439         bootstrap/10452
8440         * gengtype-yacc.y: Improve portability.
8442 2003-04-29  Zack Weinberg  <zack@codesourcery.com>
8444         * config.gcc: Install obsolete target list for GCC 3.3.
8445         * doc/install.texi: Mention in specific-target instructions
8446         that certain configurations are deprecated.
8448 2003-04-29  Zack Weinberg  <zack@codesourcery.com>
8450         * tree.h: Delete no-checking definition of CST_OR_CONSTRUCTOR_CHECK.
8452 2003-04-29  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
8454         * c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
8455         * gcc.c (display_help): Likewise.
8456         * toplev.c (f_options): Likewise.
8457         * params.def (PARAM_MAX_INLINE_SCOPE): Likewise.
8458         * config/c4x/c4x.h (TARGET_SWITCHES): Likewise.
8459         * config/mcore/mcore.h (TARGET_SWITCHES): Likewise.
8460         * config/s390/s390.h (TARGET_SWITCHES): Likewise.
8461         * config/v850/v850.h (TARGET_SWITCHES): Likewise.
8463 2003-04-29  J"orn Rennecke <joern.rennecke@superh.com>
8465         * varasm.c (default_assemble_visibility): Use assemble_name.
8467 2003-04-29  David O'Brien  <obrien@FreeBSD.org>
8469         * config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker.
8470         * config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
8471         (SIZE_TYPE): New macro.
8472         * config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
8473         (SET_ASM_OP): New macro.
8474         (HANDLE_SYSV_PRAGMA): New macro.
8475         (ASM_WEAKEN_LABEL): New macro.
8477 2003-04-28  Mark Mitchell  <mark@codesourcery.com>
8479         PR c++/10180
8480         * tree-inline.c (expand_call_inline): Call push_srcloc when
8481         encountering EXPR_WITH_FILE_LOCATION.  Honor warn_inline.
8483 2003-04-28  Mike Stump  <mrs@apple.com>
8485         * gdbinit.in: Update to reflect new identifier structure.
8487 2003-04-28  Zack Weinberg  <zack@codesourcery.com>
8489         * tree.h (TREE_CST_RTL, CST_OR_CONSTRUCTOR_CHECK): Delete.
8490         (struct tree_int_cst, struct tree_real_cst, struct tree_string,
8491         struct tree_complex, struct tree_vector): Remove RTL field.
8492         (CONSTRUCTOR_ELTS): Use elt 0.
8493         * tree.def (CONSTRUCTOR): Delete first of its two operands.
8494         * varasm.c (output_constant_def): Remove early exit if
8495         TREE_CST_RTL is set.  Don't set TREE_CST_RTL.
8496         (decode_addr_const): Don't mention TREE_CST_RTL in comment.
8497         * target.h (select_section): Don't mention TREE_CST_RTL in comment.
8498         * doc/tm.texi (encode_section_info): Don't talk about TREE_CST_RTL.
8500 2003-04-28  Jakub Jelinek  <jakub@redhat.com>
8502         * c-decl.c (finish_decl): When prototype with asmspec is found
8503         for built-in, adjust built_in_decls as well as expr.c decls.
8504         * expr.c (init_block_move_fn, init_block_clear_fn): New functions.
8505         (emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it.
8506         * expr.c (init_block_move_fn, init_block_clear_fn): New prototypes.
8508 2003-04-28  Richard Henderson  <rth@redhat.com>
8510         * config/sparc/sparc.c (print_operand): Add 's' to sign-extend.
8511         * config/sparc/sparc.md (const_mulsidi3_v8plus): Fix mode of
8512         integral constant mult operand.
8513         (const_mulsidi3_sp32, const_mulsidi3_sp64): Likewise.
8514         (const_smulsi3_highpart_v8plus): Likewise.
8515         (const_smulsi3_highpart): Likewise.
8516         (const_umulsidi3_sp32): Likewise; sign-extend it in the output.
8517         (const_umulsidi3_sp64, const_umulsidi3_v8plus): Likewise.
8518         (const_umulsi3_highpart_v8plus): Likewise.
8519         (const_umulsi3_highpart): Likewise.
8521 2003-04-28  David O'Brien  <obrien@FreeBSD.org>
8523         * config/i386/x86-64.h (NO_PROFILE_COUNTERS, HAVE_AS_DWARF2_DEBUG_LINE):
8524         Define as 1.
8526 2003-04-28  David O'Brien  <obrien@FreeBSD.org>
8528         * config/i386/i386.h (builtin_define): Add __amd64 and __amd64__.
8530 2003-04-28  Jakub Jelinek  <jakub@redhat.com>
8532         * builtins.def (BUILT_IN_BCOPY, BUILT_IN_MEMMOVE): New.
8533         * builtin-types.def (BT_FN_VOID_CONST_PTR_PTR_SIZE): New.
8534         * builtins.c (expand_builtin_memmove, expand_builtin_bcopy): New
8535         functions.
8536         (expand_builtin): Handle BUILT_IN_BCOPY and BUILT_IN_MEMMOVE.
8538 2003-04-28  Nick Clifton  <nickc@redhat.com>
8540         * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Remove definition.
8542 2003-04-27  Zack Weinberg  <zack@codesourcery.com>
8544         * expr.c (expand_expr <COMPLEX_CST, STRING_CST>): Always call
8545         output_constant_def, use its result instead of TREE_CST_RTL (exp).
8546         Can assume it has the form (mem (symbol_ref ".LCxxx")).
8547         (expand_expr <COMPONENT_REF>): Can always just extract the
8548         relevant field of a CONSTRUCTOR.
8549         (expand_expr <ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF,
8550         ARRAY_RANGE_REF>): Make control flow explicit.
8551         * varasm.c (output_constant_def): Can look at TREE_CST_RTL of
8552         an INTEGER_CST.
8554 2003-04-27  Kazu Hirata  <kazu@cs.umass.edu>
8556         * reload1.c (reg_set_luid): Fix a comment typo.
8558 2003-04-27  Zack Weinberg  <zack@codesourcery.com>
8560         * varasm.c (const_str_htab_hash, const_str_htab_eq, STRHASH,
8561         struct deferred_string, const_str_htab): Kill.
8562         (n_deferred_strings): New static variable.
8563         (build_constant_desc): Set SYMBOL_REF_DECL of the new
8564         symbol_ref to point to the constant.
8565         (output_constant_def): When a deferred string is forced out,
8566         just clear STRING_POOL_ADDRESS_P and decrement n_deferred_strings.
8567         (mark_constant): Likewise.
8568         (maybe_output_constant_def_contents): When deferring a string
8569         constant, just set STRING_POOL_ADDRESS_P and increment
8570         n_deferred_strings.
8571         (mark_constant_pool): Check n_deferred_strings, not the size
8572         of const_str_htab.
8573         (init_varasm_once): No need to create const_str_htab.
8575         * rtl.def, rtl.h, doc/rtl.texi: Document possibility that
8576         SYMBOL_REF_DECL points to a constant.
8578 2003-04-26  Zack Weinberg  <zack@codesourcery.com>
8580         * varasm.c (output_constant_def): Split out two new static
8581         functions, build_constant_desc and maybe_output_constant_def_contents.
8582         Restructure for comprehensibility.  Don't call
8583         output_addressed_constants.  Treat defstr being non-NULL for
8584         STRING_POOL_ADDRESS_P constants as an invariant.
8585         (struct deferred_string): Remove labelno field.
8586         (output_constant_def_contents): Kill labelno argument. Call
8587         output_addressed_constants here.  Use ASM_OUTPUT_LABEL, not
8588         asm_out.internal_label.
8589         (mark_constant): Update call to output_constant_def_contents.
8590         Treat defstr being non-NULL for STRING_POOL_ADDRESS_P
8591         constants as an invariant.
8593 2003-04-26  Richard Henderson  <rth@redhat.com>
8595         * config/i386/i386.c (output_pic_addr_const): Use SYMBOL_REF_LOCAL_P.
8596         (ix86_expand_call, ix86_rtx_consts): Likewise.
8598 2003-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8600         * doc/md.texi (cmpstr): Document additional restrictions.
8602 2003-04-26  Neil Booth  <neil@daikokuya.co.uk>
8604         * flags.h (time_report): Remove.
8605         * timevar.c (timevar_enable): New.
8606         (TIMEVAR_ENABLE): Remove, use timevar_enable.
8607         (timevar_init): Rename from init_timevar.
8608         * timevar.h (timevar_init): Rename from init_timevar.
8609         * toplev.c (time_report): Make static.
8610         (do_compile): Conditionally call init_timevar first.
8611         (preprocess_options): Move some code to do_compile.
8613 2003-04-26  Stephane Carrez  <stcarrez@nerim.fr>
8615         * doc/install.texi (Binaries): Mention binaries for HC11/HC12.
8617 2003-04-26  Neil Booth  <neil@daikokuya.co.uk>
8619         * _cpp_lex_direct: Remove pointless code.
8621 2003-04-26 Stephane Carrez <stcarrez@nerim.fr>
8623         * doc/extend.texi (Function Attributes): Document "near" and "far"
8624         for 68HC11 and 68HC12.
8626 2003-04-25  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8628         * expr.c (store_field): When making temporary for store, don't
8629         make it TYPE_QUAL_CONST.
8631 2003-04-25  Phil Edwards  <pme@gcc.gnu.org>
8633         * toplev.c (read_integral_parameter):  Use "argument" in error
8634         message to distinguish it from actual invalid options.
8636 2003-04-25  Bob Wilson  <bob.wilson@acm.org>
8638         * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
8639         addition of __PIC__ and __pic__ macros.
8640         * config/xtensa/xtensa.h: Clean up indentation.
8642 2003-04-25  Bob Wilson  <bob.wilson@acm.org>
8644         * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of
8645         _GNU_SOURCE.  Add definitions of __PIC__ and __pic__.
8646         (SUBTARGET_CPP_SPEC): Define.
8647         (LIB_SPEC): Delete.
8648         * config/xtensa/xtensa-protos.h (xtensa_declare_object): Delete.
8649         * config/xtensa/xtensa.c (xtensa_declare_object): Delete.
8650         * config/xtensa/xtensa.h (CPP_SPEC, SUBTARGET_CPP_SPEC, EXTRA_SPECS):
8651         Define.
8652         (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.
8653         (ASM_OUTPUT_ALIGNED_BSS, BSS_SECTION_ASM_OP): Define.
8655 2003-04-25  H.J. Lu <hjl@gnu.org>
8657         * config/ia64/ia64.c (ia64_expand_compare_and_swap): Add rmode
8658         for return mode.
8659         (ia64_expand_builtin): Set rmode to SImode for
8660         IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_SI,
8661         IA64_BUILTIN_VAL_COMPARE_AND_SWAP_SI and
8662         IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_DI. Set remode to DImode
8663         for IA64_BUILTIN_VAL_COMPARE_AND_SWAP_DI.
8665 2003-04-25  Phil Edwards  <pme@gcc.gnu.org>
8667         * configure.in (make_compare_target):  Test for GNU cmp and set this
8668         variable appropriately.
8669         * Makefile.in (compare, compare3, compare4, compare-lean, compare3-lean,
8670         compare4-lean): Rename actual targets to slowcompare*.  New compare*
8671         targets depend on names based on make_compare_target.
8672         * configure:  Regenerated.
8674 2003-04-25  Richard Henderson  <rth@redhat.com>
8676         * config/ia64/ia64.c (ia64_compute_frame_size): Allow inline asm
8677         to clobber ar.pfs and ar.unat.
8678         (ia64_expand_prologue): Force alloc instruction if ar.pfs saved;
8679         fix test for spilling ar.pfs to the stack.
8681 2003-04-25  Richard Henderson  <rth@redhat.com>
8683         PR opt/10315
8684         * config/rs6000/rs6000.c (rs6000_emit_move): Only elide proper
8685         checks during reload; use validize_mem instead of adjust_address.
8687 2003-04-26  Ben Elliston  <bje@wasabisystems.com>
8689         * config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
8690         return values from recog_memoized().
8692 2003-04-24  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8694         PR opt/8705
8695         * gcse.c (try_replace_reg): On a successful substitution of a constant
8696         into a single set, try to simplify the source of the set.
8697         * loop.c (scan_loop): Don't try to optimize a MODE_CC set with a
8698         constant source.
8700 2003-04-24  Neil Booth  <neil@daikokuya.co.uk>
8702         * cpplex.c (cpp_token_len): Tighten up.
8703         (cpp_token_as_text): Need extra byte now.
8704         * cpplib.c (glue_header_name): Need extra 2 bytes.
8705         * cppmacro.c (cpp_macro_definition): Need extra byte.
8707 2003-04-24  Alexander Kabaev <kan@FreeBSD.ORG>
8709         * config/sparc/sparc.md (umulsidi3, mulsidi3): Avoid using
8710         const_umulsidi3_sp32 and const_mulsidi3_sp32 on 64bit targets
8711         where they might be not present. Use their _sp64 equivalent
8712         instead.
8714 Thu Apr 24 20:42:12 CEST 2003  Jan Hubicka  <jh@suse.cz>
8716         * i386.md (cvtsi2sdq): Fix typo in previous patch.
8718 2003-04-24  Krister Walfridsson  <cato@df.lth.se>
8720         * configure.in: Check whether mbstowcs works.
8721         * configure, config.in: Regenerate.
8722         * intl.c: Use HAVE_WORKING_MBSTOWCS.
8724 2003-04-24  H.J. Lu <hjl@gnu.org>
8726         * config/ia64/ia64.c (ia64_init_builtins): Add si_ftype_pdi_di_di
8727         for __sync_bool_compare_and_swap_di for int return type.
8729         * config/ia64/ia64intrin.h (__sync_bool_compare_and_swap_di):
8730         Change return type to int.
8731         (__sync_bool_compare_and_swap): Likewise.
8733 Thu Apr 24 16:55:26 CEST 2003  Jan Hubicka  <jh@suse.cz>
8735         * cfgbuild.c (make_edges):  Do not use next_nonnote_insn when
8736         looking for fallthru edge.
8738         * athlon.md (athlon-agu, athlon-store, athlon-fany, athlon-faddmul):
8739         Fix.
8740         (athlon-load2, athlon-store2, athlon-fpsched, athlon-fpload,
8741         athlon-fvector): New.
8742         (athlon_*): Revisit to match new optimization guide.
8743         * i386.c (ix86_adjust_cost):  Fix memory operand costs on Athlon/k8
8744         * i386.md (cvt??2?? patterns): Fix modes.
8745         (fistp patterns): Set modes.
8747         Accidentaly commited with my earlier reload patch:
8748         PR c/10308
8749         * reload.c (find_reloads_address_1): Reload plus at the place of
8750         index register.
8752 2003-04-24  Nathan Sidwell  <nathan@codesourcery.com>
8754         New GCOV_TAG_FUNCTION layout
8755         * coverage.c (struct function_list): Replace name with ident.
8756         (struct counts_entry): Likewise.
8757         (fn_ident): New.
8758         (htab_counts_entry_hash, htab_counts_entry_eq,
8759         htab_counts_entry_del): Adjust.
8760         (reads_count_file, get_coverage_counts,
8761         coverage_begin_output, coverage_end_function): Adjust.
8762         (build_fn_info_type, build_fn_info_value): Likewise.
8763         * gcov-dump.c (tag_function): Adjust.
8764         * gcov-io.c (gcov_write_string, gcov_read_string): Not in LIBGCOV.
8765         * gcov-io.h (gcov_write_string, gcov_read_string): Not in LIBGCOV.
8766         * gcov.c (struct function_info): Add ident.
8767         (read_graph_file, read_count_file): Adjust.
8768         * libgcov.c (gcov_exit): Adjust.
8770 2003-04-23  Richard Henderson  <rth@redhat.com>
8772         PR opt/8300
8773         * toplev.c (rest_of_compilation): Delay no_new_pseudos until
8774         after initialize_uninitialized_subregs; update reg info assuming
8775         new pseudos were created.
8777 2003-04-23  Neil Booth  <neil@daikokuya.co.uk>
8779         * Makefile.in (c-lex.o, LIBCPP_OBJS, cpplex.o): Update.
8780         * c-lex.c (MULTIBYTE_CHARS): Remove conditionals.
8781         (lex_string): Take cpp_string with full spelling.
8782         (cb_ident): Update.
8783         (c_lex): Update diagnostics.
8784         * cpplex.c (SPELL_NUMBER, SPELL_STRING): Combine into SPELL_LITERAL.
8785         (create_literal): New.
8786         (lex_string): Unterminated literals have type CPP_OTHER.
8787         (_cpp_lex_direct): Update calls to lex_string.  Use create_literal
8788         for CPP_OTHER.
8789         (cpp_token_len, cpp_spell_token, cpp_output_token): Simplify.
8790         (_cpp_equiv_tokens, cpp_interpret_charconst): Update.
8791         * cpplib.c (parse_include, do_line, do_linemarker,
8792         destringize_and_run): Update for token storing full spelling.
8793         * cpplib.h: Update token spelling types.
8794         * cppmacro.c (stringify_arg, check_trad_stringification):
8795         Update for token storing full spelling.
8797 2003-04-23  Ulrich Weigand  <uweigand@de.ibm.com>
8799         * config/s390/s390.c (s390_expand_cmpstr): Disable CLC loop.
8801 2003-04-23  Richard Earnshaw  <rearnsha@arm.com>
8803         * arm.h (TARGET_OPTIONS): Add value field.
8805 2003-04-23  Mark Mitchell  <mark@codesourcery.com>
8807         * doc/extend.texi: Remove duplicate 2003 copyright date.
8809 2003-04-23  Nathan Sidwell  <nathan@codesourcery.com>
8811         * Makefile.in (LIBGCC_DEPS): Add gcov headers.
8812         (libgcov.a): Depends on LIBGCC_DEPS.
8813         * basic-block.h (profile_info): Moved here from coverage.h. Made
8814         a pointer.
8815         * coverage.c (struct function_list): Fixed array of counter types.
8816         (struct counts_entry): Keyed by counter type, contains summary.
8817         (profile_info): Moved to profile.c.
8818         (prg_ctr_mask, prg_n_ctrs, fn_ctr_mask, fn_n_ctrs): New global
8819         vars.
8820         (profiler_label): Remove.
8821         (ctr_labels): New.
8822         (set_purpose, label_for_tag, build_counter_section_fields,
8823         build_counter_section_value, build_counter_section_data_fields,
8824         build_counter_section_data_values, build_function_info_fields,
8825         build_function_info_value, gcov_info_fields, gcov_info_value): Remove.
8826         (build_fn_info_type, build_fn_info_value, build_ctr_info_type,
8827         build_ctr_info_value, build_gcov_info): New.
8828         (htab_counts_entry_hash, htab_counts_entry_eq): Adjust.
8829         (reads_counts_file): Adjust.
8830         (get_coverage_counts): Takes counter number. Add summary
8831         parameter. Adjust.
8832         (coverage_counter_ref): Tkaes counter number. Adjust. Lazily
8833         create counter array labels.
8834         (coverage_end_function): Adjust.
8835         (create_coverage): Adjust.
8836         (find_counters_section): Remove.
8837         * coverage.h (MAX_COUNTER_SECTIONS): Remove.
8838         (struct section_info, struct profile_info): Remove.
8839         (profile_info): Moved to basic-block.h.
8840         (coverage_counter_ref): Takes a counter number.
8841         (get_coverage_counts): Takes a counter number. Added summary
8842         parameter.
8843         (find_counters_section): Remove.
8844         * gcov-dump.c (tag_arc_counts): Rename to ...
8845         (tag_counters): ... here. Adjust.
8846         (tag_table): Move tag_counters to 3rd entry. Remove
8847         PROGRAM_PLACEHOLDER and PROGRAM_INCORRECT entries.
8848         (dump_file): Check for counter tag values here.
8849         (tag_summary): Adjust.
8850         * gcov-io.c (gcov_write_summary, gcov_read_summary): Adjust.
8851         * gcov-io.h (GCOV_LOCKED): New.
8852         (GCOV_TAG_ARC_COUNTS): Rename to ...
8853         (GCOV_TAG_COUNTS_BASE): ... here.
8854         (GCOV_TAG_PLACEHOLDER_SUMMARY, GCOV_TAG_INCORRECT_SUMMARY):
8855         Remove.
8856         (GCOV_COUNTER_ARCS, GCOV_COUNTERS, GCOV_NAMES): New.
8857         (GCOV_TAG_FOR_COUNTER, GCOV_COUNTER_FOR_TAG,
8858         GCOV_TAG_IS_COUNTER): New.
8859         (struct gcov_ctr_summary): New.
8860         (struct gcov_summary): Adjust.
8861         (struct gcov_counter_section): Remove.
8862         struct gcov_counter_section_data): Remove.
8863         (struct gcov_function_info): Rename to ...
8864         (struct gcov_fn_info): ... here. Adjust.
8865         (struct gcov_ctr_info): New.
8866         (struct gcov_info): Adjust.
8867         * gcov.c (read_count_file): Adjust.
8868         (output_lines): Adjust.
8869         * libgcov.c (gcov_exit): Adjust.
8870         (__gcov_flush): Adjust.
8871         * mklibgcc.in (libgcc2_c_dep): Add gcov headers.
8872         * predict.c (maybe_hot_bb_p, probably_cold_bb_p,
8873         probably_never_executed_bb_p, compute_frequency_function): Adjust
8874         profile_info use.
8875         * profile.c (struct counts_entry): Remove.
8876         (profile_info): Define here.
8877         (get_exec_counts): Adjust get_coverage_counts call.
8878         (compute_branch_probablilities): Remove find_counters_section
8879         call.
8880         (gen_edge_profiler): Adjust coverage_counter_ref call.
8881         * tracer.c (tail_duplicate): Adjust profile_info use.
8883 2003-04-23  Roger Sayle  <roger@eyesopen.com>
8885         PR optimization/10339
8886         * builtins.c (expand_builtin_strcmp): Try to emit cmpstrsi insn
8887         directly instead of unsafely transforming call into a memcmp.
8888         (expand_builtin_strncmp): Likewise.
8890 2003-04-22  Roger Sayle  <roger@eyesopen.com>
8892         * alias.c (mark_constant_function):  Check for constancy and
8893         purity even of void functions.  Update both the function decl
8894         and the cgraph RTL info with the results.
8896 2003-04-22  Roger Sayle  <roger@eyesopen.com>
8898         * real.c (do_add): Change to return a bool indicating that the
8899         result of the operation may be inexact due to loss of precision.
8900         (do_multiply): Likewise.
8901         (do_divide): Likewise.
8903 2003-04-22  Geoffrey Keating  <geoffk@apple.com>
8904             Loren James Rittle  <ljrittle@acm.org>
8906         * dwarf2out.c (fde_table_allocated): Mark with GTY.
8907         (decl_die_table_allocated): Likewise.
8908         (abbrev_die_table_allocated): Likewise.
8909         (line_info_table_allocated): Likewise.
8910         (separate_line_info_table_allocated): Likewise.
8911         (pubname_table_allocated): Likewise.
8912         (arange_table_allocated): Likewise.
8913         (ranges_table_allocated): Likewise.
8914         (decl_die_table_in_use): Unconditionalize; mark with GTY.
8915         (abbrev_die_table_in_use): Likewise.
8916         (line_info_table_in_use): Likewise.
8917         (separate_line_info_table_in_use): Likewise.
8918         (pubname_table_in_use): Likewise.
8919         (arange_table_in_use): Likewise.
8920         (ranges_table_in_use): Likewise.
8921         (have_location_lists): Likewise.
8922         (emitcount): New GTY-marked static, moved...
8923         (maybe_emit_file): ...from here.
8924         (label_num): New GTY-marked static, moved...
8925         (gen_internal_sym): ...from here.
8927 2003-04-22  Richard Henderson  <rth@redhat.com>
8929         PR 8866
8930         * rtl.h (MEM_NOTRAP_P): New.
8931         (MEM_COPY_ATTRIBUTES): Copy it.
8932         * rtlanal.c (may_trap_p): Check it.
8933         * expr.c (do_tablejump): Set it.
8934         * doc/rtl.texi (Flags): Document it.
8936         * cfgrtl.c (try_redirect_by_replacing_jump): Revert last three changes.
8938 2003-04-22  Olivier Hainque  <hainque@act-europe.fr>
8940         * config/alpha/alpha.c (alpha_expand_prologue [OPEN_VMS_ABI]): Don't
8941         set FRP on stack adjustment for outgoing args if frame_pointer_needed.
8943 2003-04-22  Vincent Celier <celier@gnat.com>
8945         * gthr-gnat.h, gthr-gnat.c: new sources for implementation of
8946         --enable-threads=gnat.
8947         * Makefile.in: Add gthr-gnat.c to LIB2ADDEH.
8948         * configure.in: Add gnat to the list of thread packages
8949         * configure: Rebuild.
8950         * config/t-linux: Add gthr-gnat.c to LIB2ADDEH and LIB2ADDEHDEP
8952 2003-04-22  Neil Booth  <neil@daikokuya.co.uk>
8954         * cpplex.c (_cpp_get_fresh_line): Pop the buffer if return_at_eof.
8956 2003-04-22  Devang Patel  <dpatel@apple.com>
8958         * cpptrad.c (_cpp_replacement_text_len): Add check for macro
8959         parameter count.
8960         (_cpp_copy_replacement_text): Same.
8962 2003-04-22  Neil Booth  <neil@daikokuya.co.uk>
8964         * c-lex.c (c_lex): Handle CPP_OTHER differently.
8965         * cppexp.c (_cpp_parse_expr): Similarly.
8966         * cpplex.c (SPELL_CHAR): Remove.
8967         (_cpp_lex_direct): Stray chars are saved as byte strings.
8968         (cpp_spell_token, cpp_output_token, _cpp_equiv_token): Don't
8969         handle SPELL_CHAR.
8970         (cpp_avoid_paste): Update handling of CPP_OTHER.
8971         * cpplib.h: Spell CPP_OTHER like a number.
8972         (struct cpp_token): Remove member c.
8973         * cppmacro.c (stringify_arg): Update handling of CPP_OTHER.
8975 2003-04-22  David Turner <novalis@gnu.org>
8977         * gbl-ctors.h: Add special license exception.
8978         * libgcc2.h: Likewise.
8979         * tsystem.h: Likewise.
8980         * gcov-io.h: Likewise.
8982 2003-04-22  David Edelsohn  <edelsohn@gnu.org>
8984         * fold-const.c (fold_range_test): Use RANGE_TEST_NON_SHORT_CIRCUIT
8985         macro defaulting to original BRANCH_COST heuristic.
8986         * doc/tm.texi (RANGE_TEST_NON_SHORT_CIRCUIT): Document.
8988         * config/rs6000/rs6000.h (RANGE_TEST_NON_SHORT_CIRCUIT): Define.
8990 2003-04-22  Aldy Hernandez  <aldyh@redhat.com>
8992         * config/rs6000/t-spe: Merge in t-fprules into file.
8994         * config.gcc: Add t-spe to powerpc-eabispe.
8996 2003-04-22  Kean Johnston  <jkj@sco.com>
8998         * tlink.c (recompile_files): Add missing '=' to putenv calls
9000 2003-04-22  Nathan Sidwell  <nathan@codesourcery.com>
9002         * ginclude/stddef.h: Provide C++ safe offsetof.
9004 2003-04-22  J"orn Rennecke <joern.rennecke@superh.com>
9006         * function.c (purge_addressof_1): In (mem (addressof (reg))) case
9007         for reg notes, if there are no substitutions, just use a SUBREG.
9009 2003-04-21  Mark Mitchell  <mark@codesourcery.com>
9011         * Makefile.in (calls.o): Depend on except.h.
9012         * calls.c: Include except.h.
9013         (emit_call_1): Call note_eh_region_may_contain_throw if
9014         appropriate.
9015         * except.c (eh_region): Add may_contain_throw.
9016         (expand_eh_region_end_cleanup): Do not include handler code when
9017         it cannot be reached.
9018         (note_eh_region_may_contain_throw): New function.
9019         * except.h (note_eh_region_may_contain_throw): New function.
9021 2003-04-21  Mark Mitchell  <mark@codesourcery.com>
9023         * config/i386/winnt.c (i386_pe_mark_dllimport): Revert previous
9024         changes.
9026 2003-04-21  Aldy Hernandez  <aldyh@redhat.com>
9028         * config/rs6000/rs6000.c (rs6000_override_options): No SPE means
9029         64-bit long doubles.
9031 2003-04-21  Olivier Hainque  <hainque@act-europe.fr>
9033         * fold-const.c (fold, case PLUS_EXPR and case MULT_EXPR): Restore
9034         a number of conversions required for type consistency and previously
9035         stripped off by STRIP_NOPS.
9037         * calls.c (expand_call): Prevent sibcall optimization for calls to
9038         nested subprograms.
9040         * expmed.c (extract_bit_field): Reverse operands of && condition to
9041         prevent a potential division by zero in the previously first branch.
9042         * config/pa/pa.md (extv, extzv): FAIL if the bitfield length is zero.
9044 2003-04-21  Joel Brobecker  <brobecker@gnat.com>
9046         * dwarf2out.c (is_ada, is_ada_subrange_type): New functions.
9047         (subrange_type_die): Likewise.
9048         (modified_type_die): Emit a subrange_type DIE for Ada subrange types.
9049         (is_c_family, is_cxx, is_java, is_fortran): Return bool and clean up.
9051 2003-04-21  Nathan Sidwell  <nathan@codesourcery.com>
9053         Break out coverage routines to new file.
9054         * Makefile.in (COVERAGE_H): New variable
9055         (C_OBJS): Add coverage.o
9056         (coverage.o): New target.
9057         (profile.o, loop-init.o, sched-ebb.o, predict.o, tracer.o): Adjust
9058         dependencies.
9059         (GTFILES): Adjust.
9060         (gt-coverage.h): New target.
9061         (gt-profile.h): Remove.
9062         * profile.h: Remove. Move to ...
9063         * coverage.h: ... here. New. #include gcov-io.h.
9064         * gcov-io.h: Move function definitions to ...
9065         * gcov-io.c: ... here. New.
9066         * profile.c: Move coverage routines to coverage.c.
9067         (instrument_edges, get_exec_counts, branch_prob, init_branch_prob,
9068         end_branch_prob): Adjust.
9069         * coverage.c: New. Coverage routines from profile.c
9070         (coverage_counter_ref, coverage_init, coverage_finish,
9071         coverage_end_function, coverage_begin_output,
9072         coverage_counter_ref, get_coverage_counts): Define.
9073         * gcov-dump.c, gcov.c: #include gcov-io.c.
9074         * libgcov.c: Likewise. Adjust.
9075         * loop-init.c: Don't #include profile.h
9076         * tracer.c, predict.c, sched-ebb.c: Adjust #includes.
9077         * rtl.h: Add coverage prototypes.
9078         * toplev.c (compile_file): Init coverage, not branch_prob.
9079         Always call coverage_finish.
9080         (rest_of_compilation): Call coverage_end_function.
9082 2003-04-21  Matt Kraai  <kraai@alumni.cmu.edu>
9084         * config/rs6000/rs6000.md (*movsf_softfloat): Add "h" <- "0" case.
9086 2003-04-21  Neil Booth  <neil@daikokuya.co.uk>
9088         * c-ppoutput.c (cb_include): Don't take a cpp_token.
9089         * cppfiles.c: Don't undef strcmp.
9090         (find_include_file): Don't take a cpp_token.  Check for empty
9091         file names.
9092         (_cpp_execute_include, _cpp_compare_file_date): Don't take a cpp_token.
9093         (cpp_push_include): Simplify.
9094         * cpphash.h (_cpp_execute_include, _cpp_compare_file_date): Update.
9095         * cpplib.c (glue_header_name): Return the file name, not a cpp_token.
9096         (parse_include): Similary.  Don't check for zero-length filenames.
9097         (do_include_common, do_pragma_dependency): Update accordingly.
9098         * cpplib.h (struct cpp_callbacks): Change prototype of include.
9100 2003-04-21  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9102         * doc/rtl.texi (RTX_UNCHANGING_P): Point to true_dependence for
9103         details of conflict handling.
9105         * fold-const.c (extract_muldiv, case CONVERT_EXPR): Detect case
9106         when conversion overflows.
9108         * stor-layout.c (layout_decl): Don't set DECL_SIZE_UNIT if already set.
9110         * expr.c (store_constructor): Set RTX_UNCHANGING_P if readonly_field_p
9111         before clearing.
9113 2003-04-21  Mark Mitchell  <mark@codesourcery.com>
9115         * config/i386/winnt.c (i386_pe_mark_dllimport): Make the new RTL
9116         have the same form as the old RTL.
9118 2003-04-21  Andreas Jaeger  <aj@suse.de>
9120         * cppcharset.c (_cpp_valid_ucn): Cast field precision to int.
9122 2003-04-20  Chris Lattner  <sabre@nondot.org>
9123             Zack Weinberg  <zack@codesourcery.com>
9125         * c-common.h, c-semantics.c: Rename genrtl_decl_cleanup to
9126         genrtl_cleanup_stmt.  Correct comment at head of
9127         genrtl_cleanup_stmt (no such thing as a DECL_CLEANUP).
9129         * stmt.c (struct nesting): Kill n_function_calls.
9130         (expand_start_bindings): Don't set
9131         thisblock->data.block.n_function_calls.
9132         (expand_end_bindings): Compare function_call_count against 0.
9133         (expand_cleanups): Kill DONT_DO argument; all callers passed
9134         NULL_TREE. All callers updated to match.
9136 2003-04-20  Zack Weinberg  <zack@codesourcery.com>
9138         * varasm.c (struct deferred_constant, defer_addressed_constants_flag)
9139         (defer_addressed_constants, output_deferred_addressed_constants): Kill.
9140         (output_constant_def): Remove code predicated on
9141         defer_addressed_constants_flag.
9143         * output.h: Remove prototypes of deleted functions.
9144         * c-typeck.c (constructor_subconstants_deferred): Kill.
9145         (struct initializer_stack): Remove 'deferred' field.
9146         (start_init): Remove all references to the above.
9147         (finish_init): Likewise. Also remove never-executed call to
9148         output_deferred_addressed_constants.  Pull assignment to
9149         defstr out of if expression.
9151 2003-04-20  Neil Booth  <neil@daikokuya.co.uk>
9153         * cpphash.h (NOTE_ESC_NL, NOTE_ESC_SPACE_NL, NOTE_TRIGRAPH,
9154         NOTE_NEWLINE): Remove.
9155         * cpplex.c (_cpp_clean_line, _cpp_process_line_notes): Update
9156         to handle new form of line note type.
9158 2003-04-20  Zack Weinberg  <zack@codesourcery.com>
9160         * target.h (encode_section_info): Add new argument carrying
9161         the RTL to be modified by the hook.
9163         * varasm.c (make_decl_rtl, output_constant_def): Update calls
9164         to encode_section_info.
9165         (default_encode_section_info): Take and use RTL argument,
9166         don't use TREE_CST_RTL or DECL_RTL.
9167         * output.h: Update prototype of default_encode_section_info.
9168         * config/darwin.h (ASM_DECLARE_OBJECT_NAME)
9169         (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL):
9170         Update calls to encode_section_info.
9172         * config/darwin.c, config/arm/arm.c, config/arm/pe.c
9173         * config/h8300/h8300.c, config/i386/winnt.c, config/m32r/m32r.c
9174         * config/m68hc11/m68hc11.c, config/m88k/m88k.c, config/mcore/mcore.c
9175         * config/mips/mips.c, config/mmix/mmix.c, config/pa/pa.c
9176         * config/romp/romp.c, config/rs6000/rs6000.c, config/s390/s390.c
9177         * config/v850/v850.c (TARGET_ENCODE_SECTION_INFO definitions):
9178         Take and use RTL argument, don't use TREE_CST_RTL or DECL_RTL,
9179         except for PE dllimport/dllexport.  Update calls to
9180         default_encode_section_info.
9182         * config/darwin-protos.h, config/arm/arm-protos.h, config/i386-protos.h:
9183         Update prototypes.
9185         * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update.
9187 2003-04-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9189         PR/8705
9190         * pa.md (movccfp): New expander.
9191         (setccfp0, setccfp1): Rename to movccfp0 and movccfp1, respectively.
9192         Reverse fcmp conditions.
9194 2003-04-20  Marek Michalkiewicz  <marekm@amelek.gda.pl>
9196         * config/avr/avr.md (*cmpqi_sign_extend): Handle negative values
9197         of operand 1 correctly.
9199 2003-04-20  Nathan Sidwell  <nathan@codesourcery.com>
9201         * cpplex.c (_cpp_lex_direct): Set BOL for CPP_EOF tokens.
9202         * gcov.c (output_lines): Don't be so fussy about going past EOF.
9204 2003-04-20  Neil Booth  <neil@daikokuya.co.uk>
9206         * Makefile.in (LIBCPP_OBJS): Add cppcharset.o.
9207         (cppcharset.o): New target.
9208         * c-lex.c (is_extended_char): Move to cppcharset.c.
9209         (utf8_extend_token): Delete.
9210         * cppcharset.c: New file.
9211         * cpphash.h (_cpp_valid_ucn): New.
9212         * cpplex.c (lex_identifier): Update prototype.
9213         (continues_identifier_p): Rename forms_identifier_p.  Handle UCN
9214         escapes.
9215         (maybe_read_ucs): Rename maybe_read_ucn.  Update to use code
9216         in cppcharset.c.
9217         (lex_number, lex_identifier, cpp_parse_escape): Update.
9218         (_cpp_lex_direct): Update to handle UCNs.
9219         (cpp_avoid_paste): Don't paste to form a UCN.
9221 2003-04-19  Roger Sayle  <roger@eyesopen.com>
9223         * builtins.c (expand_builtin):  Don't expand a pure or const
9224         built-in function if the result will be ignored and none of
9225         its arguments are volatile.
9227 2003-04-19  Kean Johnston  <jkj@sco.com>
9229         * unwind-dw2.c (_Unwind_GetCFA): cast return to avoid warning
9230         * config.gcc: make SCO use dbxelf.h and elfos.h; only use one
9231         target fragment now: t-sco5; dont compile crti.o.
9232         * config/i386/sco5.h: major overhaul to remove all COFF remnants
9233         and to use elfos.h for most definitions.
9234         (BSS_SECTION_ASM_OP): set correct segment attributes.
9235         (PREFERED_DEBUGGING_TYPE): set to DWARF-2.
9236         (DWARF2_UNWIND_INFO): Always set to 1.
9237         (MD_STARTFILE_PREFIX): Make /usr/gnu/lib the default.
9238         (MD_STARTFILE_PREFIX_1): Define.
9239         (MD_EXEC_PREFIX): Adjust to /usr/gnu/bin if using GAS.
9240         (DEFAULT_LINKER): Define if not specified to configure.
9241         (CTORS_SECTION_ASM_OP): Remove COFF crud.
9242         (DTORS_SECTION_ASM_OP): Remove COFF crud.
9243         (WINT_TYPE): Define.
9244         (SDB_DEBUGGING_INFO): Remove.
9245         (EXTRA_SECTIONS): Likewise.
9246         (EXTRA_SECTION_FUNCTIONS): Likewise.
9247         (CTOR_LIST_BEGIN): Likewise.
9248         (CTOR_LIST_END): Likewise.
9249         (INIT_SECTION_FUNCTION): Likewise.
9250         (FINI_SECTION_FUNCTION): Likewise.
9251         (SUBTARGET_FRAME_POINTER_REQUIRED): Likewise.
9252         (LOCAL_LABEL_PREFIX): Likewise.
9253         (NON_SAVING_SETJMP): Likewise.
9254         (RETURN_POPS_ARGS): Likewise.
9255         (ASM_OUTPUT_SKIP): Likewise.
9256         (TARGET_ASM_NAMED_SECTION): Likewise.
9257         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
9258         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
9259         (ASM_OUTPUT_IDENT): Likewise.
9260         (ASM_OUTPUT_CASE_LABEL): Likewise.
9261         (ASM_OUTPUT_ASCII): Likewise.
9262         (ASM_OUTPUT_LIMITED_STRING): Likewise.
9263         (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
9264         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
9265         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
9266         (ASM_FINISH_DECLARE_OBJECT): Likewise.
9267         (ASM_DECLARE_OBJECT_NAME): Likewise.
9268         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
9269         (ASM_DECLARE_FUNCTION_NAME): Likewise.
9270         (ASM_DECLARE_RESULT): Likewise.
9271         (ASM_WEAKEN_LABEL): Likewise.
9272         (SUPPORTS_WEAK): Likewise.
9273         (APPLY_RESULT_SIZE): Likewise.
9274         (LPREFIX): Likewise.
9275         (ALIGN_ASM_OP): Likewise.
9276         (ASCII_DATA_ASM_OP): Likewise.
9277         (IDENT_ASM_OP): Likewise.
9278         (ASM_SHORT): Likewise.
9279         (ASM_LONG): Likewise.
9280         (TYPE_ASM_OP): Likewise.
9281         (SIZE_ASM_OP): Likewise.
9282         (STRING_ASM_OP): Likewise.
9283         (SKIP_ASM_OP): Likewise.
9284         (EH_FRAME_SECTION_ASM_OP): Likewise.
9285         (READONLY_DATA_SECTION_ASM_OP): Likewise.
9286         (INIT_SECTION_ASM_OP): Likewise.
9287         (FINI_SECTION_ASM_OP): Likewise.
9288         (TEXT_SECTION_ASM_OP): Likewise.
9289         (DATA_SECTION_ASM_OP): Likewise.
9290         (TYPE_OPERANT_FORMAT): Likewise.
9291         (ASM_SPEC): Remove COFF code.
9292         (STARTFILE_SPEC): Likewise. Always use crti.o; add -p and -pp support;
9293         cause -pg to emit an error; use pcrt1elf.o with -pp
9294         (ENDFILE_SPEC): Likewise.
9295         (TARGET_OS_CPP_BUILTINS): Add _SCO_DS_LL.
9296         (CPP_SPEC): Remove COFF crud; always look in /usr/gnu/include first.
9297         (LINK_SPEC): Remove COFF crud; use -E for environment switch not -R;
9298         add -z alt_resolve to support weak symbols the way GCC wants them.
9299         (LIB_SPEC): Use the profiler libraries in -p or -pp mode.
9300         (LIBGCC_SPEC): Dont use -lgcc in -G mode.
9301         (ASM_PREFERED_EH_DATA_FORMAT): Remove.
9302         * config/i386/t-sco5 (TARGET_LIBGCC2_CFLAGS): Remove.
9303         (CRTSTUFF_T_CFLAGS_S): Define.
9304         (MULTILIB_OPTIONS): Likewise.
9305         (MULTILIB_DIRNAMES): Likewise.
9306         (MULTILIB_MATCHES): Likewise.
9307         (MULTILIB_EXTRA_OPTS): Likewise.
9308         (LIBGCC): Likewise.
9309         (INSTALL_LIBGCC): Likewise.
9310         (crti.o): Remove.
9311         * config/i386/t-sco5gas: Remove.
9312         * doc/install.texi: Updated for new OpenServer instructions.
9313         * testsuite/gcc.dg/nest.c: Allow failure on SCO (-pg not supported)
9315 2003-04-19  Kean Johnston  <jkj@sco.com>
9317         * fixinc/check.tpl: Allow user to over-ride diff program.
9318         * fixinc/inclhack.def: Removed extraneous #ifndef SVR5.
9319         (sco_math): Added test for SCO math header files.
9320         (sco_regset): Added check for conflicts with ieeefp.h.
9321         (svr4_disable_opt): Removed extraneous #ifdef SVR4.
9322         * fixinc/fixincl.x: Regenerated
9323         * fixinc/tests/base/math.h: Added sco_math tests.
9324         * fixinc/tests/base/string.h: New file.
9325         * fixinc/tests/base/sys/regset.h: New file.
9327 2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
9329         * cpphash.h (struct cpp_buffer): Remove backup_to.
9330         * cpplex.c (BACKUP, get_effective_char): Die.
9331         (_cpp_skip_block_comment): Assume '*' is location on entry.
9332         (continues_identifier_p): Respect -fno-dollars-in-identifiers.
9333         (IF_NEXT_IS): Update.
9334         (_cpp_lex_direct): Don't use backup_to; look ahead directly.
9336 2003-04-19  Matt Kraai  <kraai@alumni.cmu.edu>
9338         * README.Portability: Move to a new section and obsolete K+R
9339         portability issues.
9341 Sat Apr 19 14:56:17 CEST 2003  Jan Hubicka  <jh@suse.cz>
9343         * rtlanal.c (subreg_offset_representable_p):  Fix call of
9344         subreg_lowpart.
9346 2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
9348         * cpphash.h (struct cpp_reader): New member warned_dollar.
9349         * cpplex.c (continues_identifier_p): New function.
9350         (parse_identifier, parse_number, parse_string): Rename lex_identifer,
9351         lex_number and lex_string, and simplify.
9352         (parse_slow, unescaped_terminator_p): Die.
9353         (_cpp_lex_direct): Update.
9355 2003-04-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9357         * calls.c (expand_call): Provide init for old_stack_pointer_delta.
9359 2003-04-19  Nathan Sidwell  <nathan@codesourcery.com>
9361         * doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
9362         fork behavior.
9364 2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
9366         * cppexp.c (eval_token): Permit true and false even if pedantic.
9368 2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
9370         * cpplex.c (skip_whitespace): Rearrange to avoid stage1 ICE.
9372 2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
9374         * cppfiles.c (ENABLE_VALGRIND_CHECKING, VALGRIND_DISCARD,
9375         MMAP_THRESHOLD, TEST_THRESHOLD, SHOULD_MMAP): Remove.
9376         (struct include_file): Remove fefcnt, mapped members.
9377         (open_file, stack_include_file, _cpp_pop_file_buffer): Disable caching.
9378         (read_include_file): Don't use mmap, terminate buffers in '\r'.
9379         (purge_cache): Don't use munmap.
9380         * cpphash.h (CPP_BUF_COLUMN): Update.
9381         (lexer_state): Remove lexing_comment.
9382         (struct _cpp_line_note): New.
9383         (struct cpp_buffer): New members cur_note, notes_used, notes_cap,
9384         next_line and need_line.  Remove col_adjust and saved_flags.
9385         (_cpp_process_line_notes, _cpp_clean_line, _cpp_get_fresh_line,
9386         _cpp_skip_block_comment, scan_out_logical_line): New.
9387         (_cpp_init_mbchar): Remove.
9388         * cppinit.c (init_library): Remove call to _cpp_init_mbchar.
9389         (cpp_read_main_file): Set line to 1 earlier.
9390         (post_options): -traditional-cpp doesn't want trigraphs.
9391         * cpplex.c (MULTIBYTE_CHARS): Remove code predicated on this.
9392         (add_line_note, _cpp_clean_line, _cpp_process_line_notes,
9393         _cpp_get_fresh_line): New.
9394         (handle_newline, skip_escaped_newlines, trigraph_p,
9395         continue_after_nul, _cpp_init_mbchar): Remove.
9396         (get_effective_char): Update.
9397         (_cpp_skip_block_comment): Rename from skip_block_comment, simplify.
9398         (skip_line_comment): Simplify.
9399         (skip_whitespace, parse_identifier, parse_slow, parse_number,
9400         parse_string): Update.
9401         (cpp_lex_direct): Use clean lines and process line notes.  Update.
9402         (cpp_interpret_charconst): No MULTIBYTE_CHARS.
9403         * cpplib.c (prepare_directive_trad): Call scan_out_logical_line
9404         directly.
9405         (_cpp_handle_directive): Don't set saved_flags.
9406         (run_directive, destringize_and_run, cpp_define, cpp_define_builtin,
9407         cpp_undef, handle_assertion, cpp_push_buffer): Update.
9408         (_cpp_pop_buffer): Free notes.
9409         * cppmacro.c (builtin_macro, paste_tokens): \n terminate buffer.
9410         * cpppch.c (cpp_read_state): \n terminate buffer.
9411         * cpptrad.c (skip_escaped_newlines, handle_newline): Remove.
9412         (copy_comment): Use _cpp_skip_block_comment.
9413         (skip_whitespace, lex_identifier, _cpp_read_logical_line_trad):
9414         Simplify.
9415         (_cpp_overlay_buffer, _cpp_remove_overlay, push_replacement_text,
9416         save_replacement_text): Update.
9417         (scan_out_logical_line): Update to use clean lines and process
9418         line notes.
9419         * fix-header.c (read_scan_file): Update.
9421 2003-04-18  Douglas B Rupp  <rupp@gnat.com>
9423         * unwind-dw2-fde.c (__register_frame_info_bases): Check for
9424         null begin parameter (as well as pointer to null).
9425         (__deregister_frame_info_bases): Likewise.
9427 2003-04-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9429         * function.c (purge_addressof_1): For ADDRESSOF, see if SUB is a
9430         hard or virtual register and copy into pseudo if replacement fails.
9432         * cfgcleanup.c (flow_find_cross_jump): Use INSN_P, not active_insn_p.
9434         * expmed.c (mask_rtx): Avoid undefined shifts for BITSIZE of 0.
9436 2003-04-18  Olivier Hainque <hainque@act-europe.fr>
9438         * calls.c (expand_call): Move special case for constructor calls
9439         to right place. Ensures constructor calls used to initialize
9440         arguments get a clean outgoing argument block for themselves.
9441         Move check for stack deallocation completeness until after last
9442         deallocation.  Add stack_pointer_delta to set of state
9443         variables saved and restored along with current stack_level.
9445         * integrate.c (expand_inline_function): Ensure non-const actuals
9446         don't end up const in the caller's flow after conversion to possibly
9447         const formal type.
9449 2003-04-18  Vincent Celier  <celier@gnat.com>
9451         * dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR
9452         and *_DIV_EXPR as TRUNC_*_EXPR.
9454 2003-04-18  Mark Mitchell  <mark@codesourcery.com>
9456         * cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
9457         for orphaned jump tables.
9459 2003-04-18  Kazu Hirata  <kazu@cs.umass.edu>
9461         * reload1.c: Revert my previous patch on 2002-04-17.
9463 2003-04-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9465         * doc/contrib.texi (Contributors): Prefer "bug fix" over "bugfix".
9466         Add Segher Boessenkool.
9468 2003-04-18  Alexander Sotirov  <sluncho@mirizma.org>
9470         PR c/9177
9471         * c-decl.c (c_expand_body): Don't garbage collect the function
9472         body if we are going to dump it later.
9474 2003-04-18  Richard Henderson  <rth@redhat.com>
9476         * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): Remove.
9477         (alpha_end_function): Don't set them.
9478         (decl_in_text_section): Remove.
9479         (alpha_encode_section_info): Remove.
9480         (samegp_function_operand): Use SYMBOL_REF LOCAL_P and EXTERNAL_P.
9481         (direct_call_operand): Use SYMBOL_REF_DECL and compare actual
9482         sections, rather than decl_in_text_section results.
9484 2003-04-18  Roger Sayle  <roger@eyesopen.com>
9486         * rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT
9487         and SIGN_EXTRACT.
9489 2003-04-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
9491         PR optimization/7675
9492         * c-typeck.c (build_external_ref): Set the DECL_NONLOCAL flag
9493         on VAR_DECL, PARM_DECL and FUNCTION_DECL from within
9494         nested functions if they refer to declarations from parent functions.
9495         * stmt.c (expand_decl): Don't put automatic variables in registers
9496         if the DECL_NONLOCAL flag is set.
9498 2003-04-18  Hans-Peter Nilsson  <hp@bitrange.com>
9500         * gcse.c (compute_ld_motion_mems): For MEM destinations, only
9501         consider those to be movable where the source matches
9502         want_to_gcse_p.
9503         (update_ld_motion_stores): In comment, refer to
9504         compute_ld_motion_mems for validity of replacement.
9506 Fri Apr 18 01:28:51 CEST 2003  Jan Hubicka  <jh@suse.cz>
9508         * gcov-dump.c (tag_summary): Remove max_sum
9509         * gcov-io.h (gcov_summary, gcov_write_summary,
9510         gcov_read_summary): Kill max_sum.
9511         * libgcov.c (gcov_exit): Do one pass over the data.  Make error
9512         message more verbose.
9514         * emit-rtl.c (subreg_hard_regno):  Check that register is
9515         representable.
9517         * reload.c (reload_inner_reg_of_subreg):  When register is not
9518         representable, reload the whole thing.
9519         (find_reloads): Likewsie.
9520         * rtlanal.c (subreg_representable_p):  New function.
9522         * profile.c (compute_branch_probabilities):  Cleanup sanity checking;
9523         allow negative probabilities for edges from the call to exit.
9524         (branch_prob): Do not add fake edges for functions that may return
9525         twice.
9527 2003-04-17  DJ Delorie  <dj@redhat.com>
9529         * toplev.c (target_options): Add value field.
9530         (set_target_switch): Handle target options with values.
9531         * doc/tm.texi: Document how fixed vs variable target
9532         options work.
9533         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
9534         config/c4x/c4x.h, config/cris/aout.h, config/cris/cris.h,
9535         config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
9536         config/frv/frv.h, config/i386/i386.h, config/ia64/ia64.h,
9537         config/m32r/m32r.h, config/m68hc11/m68hc11.h,
9538         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
9539         config/mips/mips.h, config/mmix/mmix.h, config/pa/pa.h,
9540         config/rs6000/rs6000.h, config/rs6000/sysv4.h,
9541         config/s390/s390.h, config/sparc/sparc.h, config/v850/v850.h:
9542         Add value initializer to target options.
9544 2003-04-07  Loren James Rittle  <ljrittle@acm.org>
9546         * cpppch.c (cpp_valid_state): Unconditionally initialize nl.
9548 2003-04-17  Kazu Hirata  <kazu@cs.umass.edu>
9550         * reload1.c (move2add_last_cc0): New.
9551         (reload_cse_move2add): Detect implicit sets.
9552         (move2add_note_store): Notice a store into cc0.
9554 2003-04-17  Roger Sayle  <roger@eyesopen.com>
9556         PR c/10375
9557         * c-decl.c (duplicate_decls): Preserve "const" and "noreturn"
9558         function attributes.
9560 2003-04-17  Janis Johnson  <janis187@us.ibm.com>
9562         * doc/sourcebuild.texi (Test Suites): Document support for testing
9563         binary compatibility (moved from testsuite/README.compat).
9565 2003-04-17  Richard Henderson  <rth@redhat.com>
9567         * config/ia64/ia64.c (ia64_in_small_data_p): Disallow strings.
9569 2003-04-17  Simon Law  <sfllaw@engmail.uwaterloo.ca>
9571         * doc/include/gpl.texi: Fix double-spacing after "MA" to match
9572         the one provided by the FSF.
9574 2003-04-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9576         * doc/install.texi (Binaries): Update URL and list of platforms
9577         provided by ftp.thewrittenword.com.
9579 2003-04-17  Richard Henderson  <rth@redhat.com>
9581         * config/xtensa/xtensa.c (xtensa_encode_section_info): Remove.
9582         (call_insn_operand): Use SYMBOL_REF_LOCAL_P.
9583         * config/xtensa/xtensa.md (call, call_value): Likewise.
9585 2003-04-17  Richard Henderson  <rth@redhat.com>
9587         * config/v850/v850.c (print_operand): Use SYMBOL_REF_[ZST]DA.
9588         (print_operand_address): Likewise.
9589         (ep_memory_operand): Likewise.
9590         (special_symbolref_operand): Likewise.
9591         (v850_encode_data_area): Use SYMBOL_REF_FLAGS.
9592         (v850_encode_section_info): Call default_encode_section_info.
9593         (v850_strip_name_encoding): Remove.
9594         * config/v850/v850.h (EXTRA_CONSTRAINT): Use SYMBOL_REF_[ZST]DA.
9595         (ASM_OUTPUT_LABELREF): Remove.
9596         (ZDA_NAME_FLAG_CHAR, ZDA_NAME_P): Remove.
9597         (SDA_NAME_FLAG_CHAR, SDA_NAME_P): Remove.
9598         (TDA_NAME_FLAG_CHAR, TDA_NAME_P): Remove.
9599         (ENCODED_NAME_P): Remove.
9600         (SYMBOL_FLAG_ZDA, SYMBOL_REF_ZDA_P): New.
9601         (SYMBOL_FLAG_SDA, SYMBOL_REF_SDA_P): New.
9602         (SYMBOL_FLAG_TDA, SYMBOL_REF_TDA_P): New.
9604 2003-04-17  Richard Henderson  <rth@redhat.com>
9606         * config/stormy16/stormy16.c (xstormy16_encode_section_info): Kill.
9607         * config/stormy16/stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use
9608         SYMBOL_REF_FUNCTION_P.
9610 2003-04-17  Richard Henderson  <rth@redhat.com>
9612         * config/sparc/sparc.c (sparc_encode_section_info): Remove.
9613         (data_segment_operand): Use SYMBOL_REF_FUNCTION_P.
9614         (text_segment_operand): Likewise.
9616 2003-04-17  Richard Henderson  <rth@redhat.com>
9618         * config/sh/sh.c (gen_datalabel_ref): Don't add SH_DATALABEL_ENCODING.
9619         (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
9620         (legitimize_pic_address): Use SYMBOL_REF_LOCAL_P.
9621         (sh_encode_section_info): Remove.
9622         (sh_strip_name_encoding): Remove.
9623         * config/sh/sh.h (SH_DATALABEL_ENCODING): Remove.
9624         (DATALABEL_SYMNAME_P, STRIP_DATALABEL_ENCODING): Remove.
9625         (SH_TLS_ENCODING, TLS_SYMNAME_P, STRIP_TLS_ENCODING): Remove.
9626         (ASM_OUTPUT_LABELREF): Remove.
9627         (ASM_OUTPUT_SYMBOL_REF): Use SYMBOL_REF_FUNCTION_P.
9628         * config/sh/sh.md (*): Use SYMBOL_REF_LOCAL_P.
9630 2003-04-17  Richard Henderson  <rth@redhat.com>
9632         * config/s390/s390.c (SYMBOL_FLAG_ALIGN1): New.
9633         (tls_model_chars): Remove.
9634         (larl_operand): Use SYMBOL_REF_FLAGS.
9635         (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
9636         (legitimize_pic_address): Use SYMBOL_REF_LOCAL_P.
9637         (s390_output_mi_thunk): Likewise.
9638         (s390_emit_prologue): Set SYMBOL_FLAG_LOCAL as needed.
9639         (s390_function_profiler): Likewise.
9640         (s390_encode_section_info): Use default_encode_section_info
9641         and SYMBOL_FLAG_ALIGN1.
9642         (s390_strip_name_encoding): Remove.
9643         * config/s390/s390.h (ASM_OUTPUT_LABELREF): Remove.
9644         * config/s390/s390.md (call, call_value): Use SYMBOL_REF_LOCAL_P.
9645         (builtin_setjmp_receiver): Set SYMBOL_FLAG_LOCAL as needed.
9647 2003-04-17  Richard Henderson  <rth@redhat.com>
9649         * config/ns32k/ns32k.c (ns32k_encode_section_info): Remove.
9650         (global_symbolic_reference_mentioned_p): Use SYMBOL_REF_LOCAL_P.
9651         (print_operand_address): Likewise.
9653         * config/ns32k/ns32k.h (CANNOT_CHANGE_MODE_CLASS): Add CLASS argument.
9654         * config/ns32k/ns32k.c (expand_block_move): Don't check
9655         flag_unroll_loops.
9657 2003-04-17  Richard Henderson  <rth@redhat.com>
9659         * config/mcore/mcore.c (mcore_encode_section_info): Don't set
9660         SYMBOL_REF_FLAG.
9662 2003-04-17  Richard Henderson  <rth@redhat.com>
9664         * rtl.h (SYMBOL_FLAG_MACH_DEP_SHIFT): New.
9666         * config/m32r/m32r.c (SYMBOL_FLAG_MODEL_SHIFT): New.
9667         (SYMBOL_REF_MODEL): New.
9668         (LIT_NAME_P): Move from m32r.h.
9669         (m32r_select_section): Remove.
9670         (m32r_encode_section_info): Use SYMBOL_REF_FLAGS.
9671         (m32r_strip_name_encoding): Remove.
9672         (m32r_in_small_data_p): New.
9673         (small_data_operand): Use SYMBOL_REF_SMALL_P.
9674         (addr24_operand): Use SYMBOL_REF_MODEL.
9675         (call26_operand): Likewise.
9676         (addr32_operand): Tidy.
9677         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
9678         * config/m32r/m32r.h (RODATA_SECTION_ASM_OP): Remove.
9679         (SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Remove.
9680         (READONLY_DATA_SECTION_ASM_OP): Remove.
9681         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
9682         (SDATA_SECTION_FUNCTION, SBSS_SECTION_FUNCTION): Remove.
9683         (TARGET_ASM_SELECT_SECTION): Remove.
9684         (SDATA_FLAG_CHAR, MEDIUM_FLAG_CHAR, LARGE_FLAG_CHAR): Remove.
9685         (SDATA_NAME_P, SMALL_NAME_P, MEDIUM_NAME_P): Remove.
9686         (LARGE_NAME_P, ENCODED_NAME_P): Remove.
9687         (ASM_OUTPUT_LABELREF): Remove.
9689 2003-04-17  Richard Henderson  <rth@redhat.com>
9691         * config/ip2k/ip2k.c (is_regfile_address): Use SYMBOL_REF_FUNCTION_P.
9692         (encode_section_info): Remove.
9693         * config/ip2k/ip2k-protos.h: Update.
9695 2003-04-17  Richard Henderson  <rth@redhat.com>
9697         * varasm.c (default_encode_section_info): Don't set
9698         SYMBOL_FLAG_EXTERNAL if not TREE_PUBLIC.
9699         * config/i370/i370.c (i370_encode_section_info): Remove.
9700         * config/i370/i370.h (CONSTANT_ADDRESS_P): Use SYMBOL_REF_EXTERNAL_P.
9701         (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Likewise.
9702         * config/i370/i370.md (movsi): Likewise.
9704         * config/i370/t-i370: Add missing backslash.
9706 2003-04-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
9708         * doc/invoke.texi (inline-limit): Fix pasto.
9710 2003-04-17  Richard Henderson  <rth@redhat.com>
9712         * config/h8300/h8300.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): New.
9713         (small_call_insn_operand): Use it.
9714         (SYMBOL_FLAG_EIGHTBIT_DATA): New.
9715         (h8300_eightbit_constant_address_p): Use it.
9716         (SYMBOL_FLAG_TINY_DATA): New.
9717         (h8300_tiny_constant_address_p): Use it.
9718         (h8300_encode_label, h8300_strip_name_encoding): Remove.
9719         (h8300_encode_section_info): Set SYMBOL_REF_FLAGS.
9720         * config/h8300/h8300.h (TINY_DATA_NAME_P): Remove.
9721         (ASM_OUTPUT_LABELREF): Remove.
9723 2003-04-16  Richard Henderson  <rth@redhat.com>
9725         * config/frv/frv.c (symbol_ref_small_data_p): Remove.  Replace
9726         all users with SYMBOL_REF_SMALL_P.
9727         (const_small_data_p): Use SYMBOL_REF_SMALL_P.
9728         (frv_encode_section_info): Remove.
9729         (frv_strip_name_encoding): Remove.
9730         (frv_in_small_data_p): Merge tests from encode_section_info.
9731         (frv_print_operand): Use '@' not SDATA_FLAG_CHAR.
9732         * config/frv/frv.h (SDATA_FLAG_CHAR): Remove.
9733         (SDATA_NAME_P): Remove.
9734         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use SIZE not SDATA_NAME_P.
9735         (ASM_OUTPUT_LABELREF): Remove.
9736         (PRINT_OPERAND_PUNCT_VALID_P): Use '@' not SDATA_FLAG_CHAR.
9738         * config/frv/frv.c (frv_asm_out_constructor): New.
9739         (frv_asm_out_destructor): New.
9740         * config/frv/frv.h (CTORS_SECTION_ASM_OP): New.
9741         (DTORS_SECTION_ASM_OP): New.
9742         (ASM_OUTPUT_CONSTRUCTOR): Remove.
9743         (ASM_OUTPUT_DESTRUCTOR): Remove.
9745 2003-04-16  Richard Henderson  <rth@redhat.com>
9747         * config/cris/cris.c (cris_gotless_symbol, cris_got_symbol): Use
9748         SYMBOL_REF_LOCAL_P; abort if not pic.
9749         (cris_encode_section_info): Remove.
9751 2003-04-16  Richard Henderson  <rth@redhat.com>
9753         * config/c4x/c4x.c (c4x_encode_section_info): Remove.
9754         (c4x_T_constraint): Use SYMBOL_REF_FUNCTION_P.
9756         * config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Declare
9757         flag_inline_trees.
9759 2003-04-16  Richard Henderson  <rth@redhat.com>
9761         * config/avr/avr.c (avr_encode_section_info): Remove.
9762         (avr_insert_attributes): New.
9763         (print_operand_address): Use SYMBOL_REF_FUNCTION_P.
9764         (avr_assemble_integer): Likewise.
9766 2003-04-16  Richard Henderson  <rth@redhat.com>
9768         * arc.c (arc_encode_section_info): Remove.
9769         (arc_assemble_integer): Use SYMBOL_REF_FUNCTION_P.
9770         (arc_print_operand, arc_print_operand_address): Likewise.
9771         * arc.h (EXTRA_CONSTRAINT): Likewise.
9773 2003-04-16  Roger Sayle  <roger@eyesopen.com>
9775         * c-semantics.c (find_reachable_label): New function to find a
9776         potentially reachable label in an expression.
9777         (expand_unreachable_if_stmt): Similar to expand_if_stmt but
9778         assumes the start of the IF_STMT is unreachable (dead) code.
9779         (expand_unreachable_stmt): Similar to expand_stmt but assumes
9780         the start of the statement list is unreachable (dead) code.
9781         (genrtl_if_stmt):  If the controlling expression of the IF
9782         is constant, use expand_unreachable_stmt for the THEN or ELSE
9783         clause as appropriate.
9784         (genrtl_switch_stmt):  Use expand_unreachable_stmt to expand
9785         the body of a SWITCH statement.
9786         (expand_stmt): The code immediately following a "return",
9787         "break", "continue" or "goto" is unreachable.
9788         * Makefile.in (c-semantics.o): Depend upon tree-inline.h.
9790 2003-04-16  Richard Henderson  <rth@redhat.com>
9792         * rtl.h (MEM_ALIAS_SET): Update documentation.
9793         * doc/rtl.texi (Special Accessors): New node.
9794         (SYMBOL_REF_FLAG): Note relationship with SYMBOL_REF_FLAGS.
9796 2003-04-16  Alexandre Oliva  <aoliva@redhat.com>
9798         * reload1.c (reload_cse_noop_set_p): Return false if mode of
9799         SET_DEST is not the same as that returned by...
9800         * cselib.h (cselib_reg_set_mode): ... new function.
9801         * cselib.c (cselib_reg_set_mode): Define it.
9802         (REG_VALUES): Document semantics of first element as set mode.
9803         (cselib_subst_to_values): Skip first element if ELT is NULL.
9804         (cselib_lookup): Likewise.  Insert past the first element.
9805         (cselib_invalidate_regno): NULLify first element.
9806         (cselib_record_set): Set first element.
9808 2003-04-16  Olivier Hainque <hainque@act-europe.fr>
9810         * tree.c (skip_simple_arithmetics_at, saved_expr_p): New functions.
9811         (save_expr): Replace loop by call to skip_simple_arithmetics_at.
9812         * tree.h: Add prototypes for the two new functions.
9813         * fold-const.c (fold_binary_op_with_conditional_arg): Replace test
9814         updates introduced in the previous revision by call to saved_expr_p.
9815         * stor-layout.c (put_pending_size): Use skip_simple_arithmetics_at.
9817         * expr.c (store_field): Force usage of bitfield instructions when
9818         the field position requires it, whatever SLOW_UNALIGNED_ACCESS.
9819         (expand_expr, case BIT_FIELD_REF): likewise.
9821 2003-04-16  Mark Mitchell  <mark@codesourcery.com>
9823         PR middle-end/8866
9824         * cfgtrl.c (try_redirect_by_replacing_jump): Do not delete
9825         jumptables.
9827 2003-04-16  Richard Henderson  <rth@redhat.com>
9829         * config/ia64/ia64.c (sdata_symbolic_operand): Use
9830         SYMBOL_REF_SMALL_P and SYMBOL_REF_LOCAL_P.
9831         (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
9832         (function_operand): Use SYMBOL_REF_FUNCTION_P.
9833         (ia64_expand_load_address): Likewise.
9834         (ia64_assemble_integer): Likewise.
9835         (ia64_encode_section_info): Remove.
9836         (ia64_strip_name_encoding): Remove.
9837         * config/ia64/ia64.h (ENCODE_SECTION_INFO_CHAR): Remove.
9838         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't strip it.
9840 2003-04-16  Richard Henderson  <rth@redhat.com>
9842         * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): New.
9843         (samegp_function_operand): Use SYMBOL_FLAG_SAMEGP.
9844         (direct_call_operand): Use SYMBOL_FLAG_NEAR.
9845         (local_symbolic_operand): Use SYMBOL_REF_LOCAL_P.
9846         (small_symbolic_operand): Use SYMBOL_REF_SMALL_P.
9847         (global_symbolic_operand): Similarly.
9848         (tls_symbolic_operand_1): Use SYMBOL_REF_TLS_MODEL.
9849         (tls_symbolic_operand_type): Likewise.
9850         (alpha_encode_section_info): Use default_encode_section_info.
9851         (alpha_strip_name_encoding): Remove.
9852         (get_tls_get_addr): Split out from ...
9853         (alpha_legitimize_address): ... here.
9854         (alpha_emit_xfloating_libcall): Use init_one_libfunc.
9855         (get_some_local_dynamic_name_1): Use SYMBOL_REF_TLS_MODEL.
9856         (alpha_initialize_trampoline): Use init_one_libfunc.
9857         (alpha_setup_incoming_varargs): Mark unused parameters.
9858         (alpha_initial_elimination_offset): Likewise.
9859         (alpha_end_function): Use SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP.
9860         (unicosmk_unique_section): Use default_strip_name_encoding.
9861         (unicosmk_ssib_name, unicosmk_output_externs): Likewise.
9863 2003-04-16  Aldy Hernandez  <aldyh@redhat.com>
9865         * config.gcc: Add t-spe for eabispe.
9867         * config/rs6000/t-spe: New.
9869 2003-04-16  J"orn Rennecke <joern.rennecke@superh.com>
9871         Re-apply this patch:
9873         2002-05-16  Dale Johannesen  <dalej@apple.com>
9874           * combine.c (cant_combine_insn_p):  Reenable combinations
9875           involving hard regs unless CLASS_LIKELY_SPILLED_P.
9877 2003-04-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9879         PR/10271
9880         * pa-protos.h (function_arg): Remove last argument.
9881         * pa.c (function_arg): Likewise.  Use CUMULATIVE_ARGS struct instead.
9882         * pa.h (struct hppa_args): Add member incoming.
9883         (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Initialize
9884         member incoming.
9885         (FUNCTION_ARG): Revise call to function_arg.
9886         (FUNCTION_INCOMING_ARG): Delete.
9888 2003-04-15  Zack Weinberg  <zack@codesourcery.com>
9890         * configure.in: Unify the code which creates symlinks to a
9891         just-built as, ld, objdump, and nm with the code that detects
9892         their presence for purposes of feature tests.
9893         * configure: Regenerate.
9895 2003-04-15  Zack Weinberg  <zack@codesourcery.com>
9897         * varasm.c (output_constant_def): Do not consult
9898         CONSTANT_AFTER_FUNCTION_P.  Remove all code predicated on it.
9899         (after_function_constants, output_after_function_constants): Delete.
9900         * doc/tm.texi: Delete documentation of CONSTANT_AFTER_FUNCTION_P.
9901         * config/mips/mips-protos.h, config/mips/mips.c
9902         (mips16_constant_after_function_p): Delete.
9903         * config/mips/mips.h: Delete #if-0-ed definition of
9904         CONSTANT_AFTER_FUNCTION_P.
9905         * config/d30v/d30v.h, config/stormy16/stormy16.h: Remove
9906         mention of CONSTANT_AFTER_FUNCTION_P in comment.
9908 2003-04-15  Geoffrey Keating  <geoffk@apple.com>
9910         * tree.c (next_decl_uid): Mark with GTY.
9911         (next_type_uid): Likewise.
9913 2003-04-15  J"orn Rennecke <joern.rennecke@superh.com>
9915         PR target/9594:
9916         * sh.c (barrier_align): Also recognize stuff_delay_slot as
9917         an indicator that a barrier was created by branch splitting.
9919 2003-04-15  Mark Mitchell  <mark@codesourcery.com>
9921         * c-decl.c (implicitly_declare): Copy declarations that are going
9922         to be placed in a local scope.
9924 2003-04-15  James A. Morrison  <ja2morri@uwaterloo.ca>
9926         * invoke.texi (Spec Files): Wrap if-exists-else example.
9927         (MCore): Remove duplicate @itemx entries and @opindex entries.
9929 2003-04-15  Ulrich Weigand  <uweigand@de.ibm.com>
9931         * unwind.inc (_Unwind_Backtrace): New function.
9932         * unwind.h (_Unwind_Backtrace): Declare it.
9933         * libgcc-std.ver (_Unwind_Backtrace): Export it.
9935 2003-04-14  Jason Merrill  <jason@redhat.com>
9937         PR middle-end/10336, c++/10401
9938         * jump.c (never_reached_warning): Also stop looking if we reach the
9939         beginning of the function.
9941 2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9943         PR target/10338
9944         PR bootstrap/10198
9945         PR bootstrap/10140
9946         * fixinc/gnu-regex.c (regerror): Use mempcpy not __mempcpy.
9948 2003-04-15  J"orn Rennecke <joern.rennecke@superh.com>
9950         * i386.md (abssf2_if+1): Make condition agree with abssf2_1 .
9952 2003-04-15  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9954         * optabs.c (expand_binop): In multi-word add cases, ensure
9955         XTARGET is copied to TARGET if they are different.
9957 2003-04-15  Olivier Hainque <hainque@act-europe.fr>
9959         * except.c (resolve_fixup_regions): Avoid dereferencing null pointer
9960         to region, possible after integration of function with unreachable
9961         regions that were optimized away.
9963 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
9965         * config/rs6000/rs6000.h (EPILOGUE_USES): Use register 2,
9966         instead of TOC_REGISTER in epilogue in
9967         current_function_calls_eh_return functions.
9969 2003-04-14  Mark Mitchell  <mark@codesourcery.com>
9971         * doc/extend.texi (Empty Structures): Correct description of G++'s
9972         handling of these structures.
9974         * c-decl.c (grokdeclarator): Reject extern redeclarations of
9975         static variables.
9977 2003-04-14  Janis Johnson  <janis287@us.ibm.com>
9979         * config/rs6000/rs6000.md (define_constants): Define constants for
9980         all UNSPEC usage, including new values for TLS support.
9981         (aux_truncdfsf2, fctiwz, movsi_got, movsi_got_internal,
9982         load_toc_aix_si, load_toc_aix_di, load_toc_v4_pic_si,
9983         load_toc_v4_PIC_1, load_toc_v4_PIC_1b, load_macho_picbase,
9984         macho_correct_pic, blockage, move_from_CR_ov_bit, movesi_from_cr,
9985         stack_tie, movsi_to_cr_one, movsi_to_cr, mtcrfsi, eh_set_lr_si,
9986         eh_set_lr_di): Use them.
9987         * rs6000.c: (mtcrf_operation, uses_TOC, rs6000_emit_prologue,
9988         rs6000_emit_epilogue) Use them.
9990         * rtl.h (SYMBOL_REF_TLS_MODEL): Fix mask value.
9992 2003-04-14  Neil Booth  <neil@daikokuya.co.uk>
9994         * Makefile.in (c-opts.o): Use custom action.
9996 2003-04-14  Douglas B Rupp  <rupp@gnat.com>
9998         * ifcvt.c (noce_process_if_block): Fail on BLKmode move.
10000 2003-04-14  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10002         * stor-layout.c (layout_type, case ARRAY_TYPE): Add missing code to
10003         handle "superflat arrays" in Ada.
10005         * integrate.c (expand_inline_function): Don't inline if would
10006         lose /u on a BLKmode TARGET.
10008 2003-04-14  Joel Brobecker  <brobecker@gnat.com>
10010         * dbxout.c (print_int_cst_bounds_in_octal_p): New function,
10011         extracted from dbxout_type.
10012         (dbxout_range_type): print large bounds in octal format.
10013         (dbxout_type): Replace extracted code by call to
10014         print_int_cst_bounds_in_octal_p.
10016         * dwarf2out.c (gen_compile_unit_die): Emit DW_LANG_Ada95 instead
10017         of DW_LANG_Ada83 for Ada units.
10019 2003-04-14  Olivier Hainque <hainque@act-europe.fr>
10021         * explow.c (round_push): Use HOST_WIDE_INT instead of int for the
10022         temporary used to round CONST_INT sizes.
10024         * tree.c (int_fits_type_p): Extract generic checks from the case
10025         of constant type bounds. Refine the checks against constant type
10026         bounds to allow for possible decisions against each of these bounds
10027         without requiring both bounds to be constant.
10028         (tree_int_cst_msb): Put back.
10029         * tree.h (tree_int_cst_msb): Likewise.
10031         * global.c (global_conflicts): Prevent allocation of call clobbered
10032         hard regs to pseudos live across abnormal edges, as later passes are
10033         not ready to handle them.
10035         * fold-const.c (fold): Reorder tests for conditional expressions.
10037         * expr.c (highest_pow2_factor): Return unsigned.
10038         * expr.h (offset_address): Likewise.
10039         * emit-rtl.c (offset_address): POW2 argument now unsigned.
10041 2003-04-14  Roger Sayle  <roger@eyesopen.com>
10043         * builtins.c (expand_builtin_strlen):  Evaluate the lengths of
10044         string literals at compile-time.
10046 2003-04-14  Roger Sayle  <roger@eyesopen.com>
10048         * fold-const.c (fold):  Transform (c1 - x) cmp c2, where cmp is a
10049         comparison operation and c1/c2 are floating point constants into
10050         x swap(cmp) (c1 - c2).
10052 2003-04-14  Vladimir Makarov  <vmakarov@redhat.com>
10054         * genautomata.c (output_translate_vect): Fix a typo in loop
10055         condition.
10057 2003-04-14  Hans-Peter Nilsson  <hp@axis.com>
10059         PR target/10377
10060         * config/cris/cris.md ("*mov_sideqi", "*mov_sidehi")
10061         ("*mov_sidesi", "*mov_sideqi_mem", "*mov_sidehi_mem")
10062         ("*mov_sidesi_mem", "*clear_sidesi", "*clear_sidehi")
10063         ("*clear_sideqi", "*ext_sideqihi", "*ext_sideqisi")
10064         ("*ext_sidehisi", "*op_sideqi", "*op_sidehi", "*op_sidesi")
10065         ("*op_swap_sideqi", "*op_swap_sidehi", "*op_swap_sidesi")
10066         ("*extopqihi_side", "*extopqisi_side", "*extophisi_side")
10067         ("*extopqihi_swap_side", "*extopqisi_swap_side")
10068         ("*extophisi_swap_side", 8th, 9th, 10th, 11th, 14th peepholes):
10069         When next to constraint R, replace constraint i with n.
10071 Mon Apr 14 16:18:37 CEST 2003  Jan Hubicka  <jh@suse.cz>
10073         PR opt/10024
10074         * cfgrtl.c (force_nonfallthru_and_redirect): Use unchecked_make_edge.
10076 2003-04-14  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
10078         * doc/contrib.texi (Contributors): Correct my entry.
10080 2003-04-13  Roger Sayle  <roger@eyesopen.com>
10082         * tree.h (DECL_BUILT_IN_NONANSI): Remove.
10083         * c-common.c (builtin_function_2): Don't set DECL_BUILT_IN_NONANSI.
10084         * c-decl.c (duplicate_decls): Use invariant DECL_BUILT_IN_NONANSI
10085         implies DECL_BUILT_IN to simplify logic.
10086         * print-tree.c (print_node): Don't dump DECL_BUILT_IN_NONANSI.
10088 2003-04-13  Roger Sayle  <roger@eyesopen.com>
10090         * builtin-types.def (BT_FN_STRING_CONST_STRING): New builtin type.
10091         (BT_FN_PTR_SIZE_SIZE): Likewise.
10092         * builtins.def (BUILT_IN_MALLOC, BUILT_IN_CALLOC, BUILT_IN_STRDUP):
10093         New built-in functions for malloc, calloc and strdup respectively.
10094         * calls.c (special_function_p): No need to handle malloc-like
10095         functions any longer.  ECF_MALLOC is set via built-in attributes.
10097         * c-decl.c (duplicate_decls): Preserve pure and malloc attributes.
10099         * doc/extend.texi: Document these new built-in functions.
10101 2003-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10103         * builtins.c (expand_builtin_memcpy): Add `endp' argument, use it.
10104         (expand_builtin_stpcpy): New.
10105         (expand_builtin): Add BUILT_IN_MEMPCPY & BUILT_IN_STPCPY.
10106         * builtins.def: Add mempcpy & stpcpy support.
10107         * doc/extend.texi (mempcpy, stpcpy): Document new builtins.
10109 2003-04-13  Nick Clifton  <nickc@redhat.com>
10111         * config/rs6000/rs6000.c: Replace occurrences of "GNU CC" with
10112         "GCC".
10113         * config/rs6000/40x.md, config/rs6000/603.md,
10114         config/rs6000/6xx.md, config/rs6000/7450.md, config/rs6000/7xx.md,
10115         config/rs6000/8540.md, config/rs6000/aix.h, config/rs6000/aix31.h,
10116         config/rs6000/aix3newas.h, config/rs6000/aix41.h,
10117         config/rs6000/aix43.h, config/rs6000/aix51.h,
10118         config/rs6000/aix52.h, config/rs6000/altivec-defs.h,
10119         config/rs6000/altivec.h, config/rs6000/altivec.md,
10120         config/rs6000/beos.h, config/rs6000/darwin.h,
10121         config/rs6000/eabi.h, config/rs6000/eabialtivec.h,
10122         config/rs6000/eabisim.h, config/rs6000/eabispe.h,
10123         config/rs6000/freebsd.h, config/rs6000/gnu.h,
10124         config/rs6000/host-darwin.c, config/rs6000/linux.h,
10125         config/rs6000/linux64.h, config/rs6000/linuxaltivec.h,
10126         config/rs6000/lynx.h, config/rs6000/mach.h, config/rs6000/mpc.md,
10127         config/rs6000/netbsd.h, config/rs6000/power4.md,
10128         config/rs6000/rios1.md, config/rs6000/rios2.md,
10129         config/rs6000/rs6000-c.c, config/rs6000/rs6000-modes.def,
10130         config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
10131         config/rs6000/rs6000.h, config/rs6000/rs6000.md,
10132         config/rs6000/rs64.md, config/rs6000/rtems.h, config/rs6000/spe.h,
10133         config/rs6000/spe.md, config/rs6000/sysv4.h,
10134         config/rs6000/sysv4le.h, config/rs6000/vxworks.h,
10135         config/rs6000/windiss.h, config/rs6000/xcoff.h: Likewise.
10137 2003-04-13  Nick Clifton  <nickc@redhat.com>
10139         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Delete
10140         support for -mcall-aix switch.
10141         * config/rs6000/eabiaix.h: Delete.
10142         * config/rs6000/rs6000.h (rs6000_abi): Remove ABI_AIX_NODESC.
10143         (RS6000_REG_SAVE, RS6000_SAVE_AREA, FP_ARGS_MAX_REG,
10144         RETURN_ADDRESS_OFFSET): Remove use of ABI_AIX_NODESC.
10145         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Likewise.
10146         * config/rs6000/rs6000.c (print_operand, rs6000_stack_info,
10147         debug_stack_info, output_function_profiler,
10148         rs6000_trampoline_size, rs6000_initialise_trampoline): Likewise.
10149         * config/rs6000/rs6000.md (call, call_value, call_nonlocal_sysv,
10150         call_indirect_nonlocal_sysv, call_value_indirect_nonlocal_sysv,
10151         call_value_nonlocal_sysv, sibcall_value_nonlocal_sysv,
10152         sibcall_nonlocal_sysv, sibcall_value_local64): Likewise.
10153         * config/rs6000/t-ppcgas (MULTILIB_OPTIONS): Remove mcall-aix
10154         multilibs.
10155         (MULTILIB_DIRNAMES): Remove mcall-aix directories.
10156         (MULTILIB_EXCEPTIONS): Delete.
10157         (MULTILIB_MATCHES): Remove mcall-aix matches.
10159         * doc/fragments.texi: Replace -mcall-aix example with an ARM
10160         one.
10161         * doc/install.texi: Delete powerpc-*-eabiaix target.
10162         * doc/invoke.texi: Remove documentation of mcall-aix switch.
10163         * doc/tm.texi: Remove mcall-aix from example CPP_SPEC.
10164         * config.gcc: Delete powerpc-*-eabiaix target.
10166 2003-04-13  Kazu Hirata  <kazu@cs.umass.edu>
10168         * doc/invoke.texi: Fix typos.
10169         * doc/tm.texi: Likewise.
10171 2003-04-12  Zack Weinberg  <zack@codesourcery.com>
10173         * c-typeck.c (digest_init, push_init_level): Use CONSTRUCTOR_ELTS.
10175 2003-04-12  Zack Weinberg  <zack@codesourcery.com>
10177         * tree.c (build_constructor): New function.
10178         * tree.h: Prototype it.
10180         * c-typeck.c (build_c_cast, pop_init_level)
10181         * profile.c (build_function_info_value, build_gcov_info_value)
10182         (create_profiler):
10183         Use build_constructor.
10185         * builtins.c (expand_builtin_args_info): Remove #if 0 blocks.
10187         * objc/objc-act.c (build_constructor):
10188         Rename objc_build_constructor. Use build_constructor.
10189         (build_objc_string_object, objc_add_static_instance)
10190         (init_def_list, init_objc_symtab, init_module_descriptor)
10191         (generate_static_references, build_selector_translation_table)
10192         (build_descriptor_table_initializer, generate_descriptor_table)
10193         (build_protocol_initializer, build_ivar_list_initializer)
10194         (generate_ivars_list, build_dispatch_table_initializer)
10195         (generate_dispatch_table, generate_protocol_list)
10196         (build_category_initializer, build_shared_structure_initializer):
10197         Update to match.
10199 2003-04-12  Zack Weinberg  <zack@codesourcery.com>
10201         * intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.
10203 2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
10205         * config/m68hc11/m68hc11-protos.h
10206         (m68hc11_eq_compare_operator): Declare
10207         * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register new predicate.
10208         * config/m68hc11/m68hc11.c (m68hc11_eq_compare_operator): New predicate
10209         (d_register_operand): Check the operand mode.
10210         (hard_addr_reg_operand): Likewise.
10212 2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
10214         * config/m68hc11/m68hc11.md ("decrement_and_branch_until_zero"): New
10215         pattern for dbcc/ibcc generation for 68HC12.
10216         ("doloop_end"): New pattern.
10217         ("m68hc12_dbcc_dec_hi"): New pattern for dbeq/dbne.
10218         ("m68hc12_dbcc_inc_hi"): New pattern for ibeq/ibne.
10219         ("m68hc12_dbcc_dec_qi"): New pattern.
10220         ("m68hc12_dbcc_inc_qi"): New pattern.
10221         (split): Add split for the above when we can't use dbcc/ibcc due to
10222         reloading.
10223         (peephole2): Add peephole2 to generate the above when possible.
10225 2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
10227         * config/m68hc11/m68hc11.md ("bitcmpqi" split): No need to test the
10228         mode of operand 0.
10229         (peephole2 optimize const load): Likewise for operand 2.
10230         ("*rotlhi3_with_carry"): Change pattern to a const 1 rotate which
10231         clobbers CC_REGNUM.
10232         ("*rotrhi3_with_carry"): Likewise.
10233         (ashift:DI 1 split): Update pattern to create the above rotate.
10234         (lshiftrt:DI 1 split): Likewise.
10236 2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
10238         * config/m68hc11/m68hc11.md (SOFT_Z_REGNUM): New constant.
10239         ("tstqi_z_used" split): Use it.
10240         ("cmphi_z_used"): Likewise.
10241         ("bitcmpqi_z_used"): Likewise; also use SP_REGNUM constant.
10242         ("cmpqi_z_used"): Likewise.
10244 2003-04-12  Mark Mitchell  <mark@codesourcery.com>
10246         PR c++/7910
10247         * config/i386/winnt.c (i386_pe_mark_dllimport): Fix thinko.
10249 2003-04-12  Zack Weinberg  <zack@codesourcery.com>
10251         * configure.in: Check for wchar.h, mbstowcs, and wcswidth.
10252         * configure, config.in: Regenerate.
10253         * intl.c (gcc_gettext_width): New function.
10254         * intl.h: Prototype it.
10256 2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
10258         * config/m68hc11/m68hc11.h (TARGET_SWITCHES): Fix -mnominmax option;
10259         recognize -mnorelax.
10260         (reg_class): Add Z_OR_S_REGS to represent soft registers with Z
10261         (REG_CLASS_NAMES): Add its name.
10262         (REG_CLASS_CONTENTS): Define its content.
10264 2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
10266         * config/m68hc11/larith.asm (memcpy): Use ARG macro to access stack
10267         parameters so that offsets are valid for far definition.
10268         (__mulsi3): Likewise and use ret to return.
10269         (___adddi3, ___subdi3, ___notdi2, ): Don't use it to save the result.
10271 2003-04-12  David Edelsohn  <edelsohn@gnu.org>
10273         * config/rs6000/rs6000.c (rs6000_hash_constant): Skip '0' fields.
10275 2003-04-12  Alexandre Oliva  <aoliva@redhat.com>
10277         * mklibgcc.in (libgcc-stage-start): For every multilib  directory
10278         containing a libgcc.a, move lib* to the corresponding stage dir.
10280         * Makefile.in (stage1-start, stage2-start, stage3-start,
10281         stage4-start): Move $(SPECS) to specs in stage dir.
10282         (unstage1 unstage2 unstage3 unstage4): Move specs in stage dir
10283         back as $(SPECS).
10285         * mklibgcc.in (libgcc-stage-start): Move into the stage directory
10286         object files from the non-libgcc/ multilib directories as well.
10288 2003-04-11  Geoffrey Keating  <geoffk@apple.com>
10290         * profile.c (read_counts_file): Initialise 'checksum'.
10292         * emit-rtl.c (gen_rtx): Really correct typo.
10294         PR c++/9393
10295         * doc/invoke.texi (Debugging Options): Document -frandom-seed.
10296         * configure.in: Check for gettimeofday.
10297         * tree.c (flag_random_seed): Define.
10298         (default_flag_random_seed): New.
10299         (append_random_chars): Use flag_random_seed rather than trying
10300         to acquire randomness here.
10301         * tree.h (default_flag_random_seed): Declare.
10302         * toplev.c (display_help): Add -frandom-seed and -fstack-limit-*
10303         descriptions.
10304         (decode_f_option): Handle -frandom-seed.
10305         (print_switch_values): Call default_flag_random_seed.
10306         * flags.h (flag_random_seed): Declare.
10307         * configure: Regenerate.
10308         * config.in: Regenerate.
10309         * config/alpha/t-crtfm: Use -frandom-seed.
10311         * doc/extend.texi (Empty Structures): New.
10313         * c-pch.c: Include flags.h.  Add comments to routines.
10314         (struct c_pch_validity): New.
10315         (get_ident): Update PCH file version number.
10316         (pch_init): Output current debugging type.
10317         (c_common_valid_pch): Check debugging type.
10318         * Makefile.in (c-pch.o): Update dependencies.
10319         * flags.h (debug_type_names): Declare.
10320         * toplev.c (debug_type_names): Move out of decode_g_option.
10322 2003-04-11  Eric Christopher  <echristo@redhat.com>
10324         * emit-rtl.c (gen_rtx): Fix typos.
10326 2003-04-11  Richard Henderson  <rth@redhat.com>
10328         * emit-rtl.c (gen_rtx): Zero '0' fields.
10330 2003-04-11  Richard Henderson  <rth@redhat.com>
10332         PR c++/10202
10333         * expr.c (expand_expr): Use COMPLETE_OR_UNBOUND_ARRAY_TYPE_P
10334         not COMPLETE_TYPE_P for re-invoking layout_decl.
10336 2003-04-11  Simon Law  <sfllaw@engmail.uwaterloo.ca>
10338         * doc/bugreport.texi: Fix paragraph breaking between sections
10339         in preparation for TeXinfo's paragraph indentation fixes.
10340         * doc/extend.texi: Ditto.
10341         * doc/invoke.texi: Ditto.
10342         * doc/objc.texi: Ditto.
10343         * doc/gcov.texi: Wrap 'gcov' in @command{}.
10344         * doc/invoke.texi (Darwin Options): Add a preamble.
10346 2003-04-11  Richard Henderson  <rth@redhat.com>
10348         * config/i386/i386.c (tls_model_chars): Remove.
10349         (ix86_encode_section_info, ix86_strip_name_encoding): Remove.
10350         (local_symbolic_operand): Use SYMBOL_REF_LOCAL_P.
10351         (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
10352         (tls_symbolic_operand_1): Likewise.
10353         (legitimate_pic_address_disp_p): Use SYMBOL_REF_LOCAL_P.
10354         * config/i386/i386.h (TARGET_ENCODE_SECTION_INFO): Remove.
10355         (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove.
10356         * config/i386/winnt.c (i386_pe_encode_section_info): Replace
10357         bits "copied from i386.h" with default_encode_section_info.
10359 2003-04-11  Richard Henderson  <rth@redhat.com>
10361         * rtl.def (SYMBOL_REF): Add two 0 fields.
10362         * gengtype.c (adjust_field_rtx_def): Handle them.
10363         * print-rtl.c (print_rtx): Print them.
10364         * rtl.h (SYMBOL_REF_DECL, SYMBOL_REF_FLAGS): New.
10365         (SYMBOL_FLAG_FUNCTION, SYMBOL_REF_FUNCTION_P): New.
10366         (SYMBOL_FLAG_LOCAL, SYMBOL_REF_LOCAL_P): New.
10367         (SYMBOL_FLAG_SMALL, SYMBOL_REF_SMALL_P): New.
10368         (SYMBOL_FLAG_TLS_SHIFT, SYMBOL_REF_TLS_MODEL): New.
10369         (SYMBOL_FLAG_EXTERNAL, SYMBOL_REF_EXTERNAL_P): New.
10370         (SYMBOL_FLAG_MACH_DEP): New.
10371         * optabs.c (init_one_libfunc): Zap fake SYMBOL_REF_DECL.
10372         * varasm.c (make_decl_rtl): Set SYMBOL_REF_DECL.
10373         (assemble_static_space): Set SYMBOL_REF_FLAGS.
10374         (assemble_trampoline_template): Likewise.
10375         (output_constant_def, force_const_mem): Likewise.
10376         (default_encode_section_info): New.
10377         * output.h: Declare it.
10378         * target-def.h (TARGET_ENCODE_SECTION_INFO): Use it.
10380 2003-04-11  Richard Henderson  <rth@redhat.com>
10382         * libfuncs.h (LTI_setbits, LTI_gcov_flush, LTI_gcov_init): New.
10383         (setbits_libfunc, gcov_flush_libfunc, gcov_init_libfunc): New.
10384         * optabs.c (init_optabs): Initialize them.
10385         (init_libfuncs): Use init_one_libfunc.
10386         * calls.c (expand_call): Use gcov_flush_libfunc.
10387         * expr.c (store_constructor): Use setbits_libfunc.
10388         * function.c (expand_main_function): Use init_one_libfunc.
10389         * profile.c (create_profiler): Use gcov_init_libfunc and DECL_RTL.
10391 2003-04-11  Mark Mitchell  <mark@codesourcery.com>
10393         * doc/c-tree.texi (Functions): Remove DECL_REAL_CONTEXT
10394         documentation; add DECL_FRIEND_CONTEXT.
10396 2003-04-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10398         * doc/install.texi (hppa): Update links for HP-UX patches.  Revise
10399         notes on linker selection and configuration for 64-bit HP-UX port.
10400         * doc/invoke.texi (hppa): Remove hppa text from description for
10401         -ffunction-sections and -fdata-sections.  Document -static, -nolibdld
10402         and -threads options.
10404         * pa-hpux10.h (LIB_SPEC): Add link options to resolve dependency of
10405         libc.a on libdld.sl when -static is specified and -nolibdld is not
10406         specified.
10407         * pa64-hpux.h (LIB_SPEC): Likewise.
10408         * pa-hpux11.h (LIB_SPEC): Likewise.
10409         (LINK_SPEC): Add __gcc_plt_call as an undefined symbol when -shared
10410         is not specified.
10412 2003-04-11  Zack Weinberg  <zack@codesourcery.com>
10414         * config/darwin-c.c (darwin_pragma_unused): Use lookup_name,
10415         not IDENTIFIER_LOCAL_VALUE.
10417 2003-04-11  Richard Henderson  <rth@redhat.com>
10419         PR c/10201
10420         * expr.c (expand_expr): Move DECL_RTL frobbing ...
10421         * stor-layout.c (layout_decl): ... here.
10423 2003-04-11  James A. Morrison <ja2morri@uwaterloo.ca>
10425         * doc/invoke.texi: Eliminate extra white-space caused by
10426         @gccoptlist{ on its own line.
10427         * doc/invoke.texi: Ensured there are two spaces between each option.
10428         * doc/invoke.texi: Re-wrapped option lines that were too wide.
10429         Added @gol to options that didn't have them.
10431 2003-04-11  Nathan Sidwell  <nathan@codesourcery.com>
10433         * Makefile.in (loop-init.o): Do not depend on gcov-io.h,
10434         gcov-iov.h.
10436         Simplify interface to gcov reading and writing.
10437         * gcov-io.h (gcov_file, gcov_position, gcov_length, gcov_buffer,
10438         gcov_alloc, gcov_modified, gcov_errored): Move into ...
10439         (struct gcov_var gcov_var): ... this static structure.
10440         (gcov_write_unsigned, gcov_write_counter, gcov_write_string):
10441         Return void.
10442         (gcov_read_unsigned, gcov_read_couter, gcov_read_string): Return
10443         read object.
10444         (gcov_read_bytes, gcov_write_bytes): Set error flag on error.
10445         (gcov_reserve_length): Remove.
10446         (gcov_write_tag): New.
10447         (gcov_write_length): Adjust.
10448         (gcov_read_summary, gcov_write_summary): Adjust.
10449         (gcov_eof, gcov_ok): Rename to ...
10450         (gcov_is_eof, gcov_is_error): ... here. Return error code.
10451         (gcov_save_position, gcov_resync): Rename to ...
10452         (gcov_position, gcov_seek): ... here.
10453         (gcov_skip, gcov_skip_string): Remove.
10454         (gcov_error): Remove.
10455         (gcov_open, gcov_close): Adjust.
10456         * gcov.c (find_source): Take const char *, copy it on allocation.
10457         (read_graph_file): Adjust.
10458         (read_count_file): Adjust.
10459         * libgcov.c (gcov_exit): Adjust.
10460         * gcov-dump.c (tag_function, tag_blocks, tag_arcs, tag_lines,
10461         tag_arc_counts, tag_summary): Return void. Adjust.
10462         (struct tag_format): Adjust proc member.
10463         (dump_file): Adjust gcov calls.
10465 2003-04-11  Alexandre Oliva  <aoliva@redhat.com>
10467         * Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY to
10468         mkfixinc.sh.
10469         * fixinc/mkfixinc.sh (defs): Add LIBERTY.
10470         * configure.in (STMP_FIXINC, STMP_FIXPROTO): Don't disable on
10471         build != host sysrooted builds.
10472         * configure.in (SYSTEM_HEADER_DIR): Make sure it contains
10473         TARGET_SYSTEM_ROOT even on sysrooted natives.
10474         * configure: Rebuilt.
10476 2003-04-10  Zack Weinberg  <zack@codesourcery.com>
10478         * c-decl.c (struct binding_level): Add shadowed_tags and
10479         function_body; remove this_block, tag_transparent, and
10480         subblocks_tag_transparent; update comments.
10481         (clear_binding_level, lookup_tag_reverse): Kill.
10482         (make_binding_level): Use ggc_alloc_cleared or memset.
10483         (lookup_tag): Remove struct binding_level* parameter.  All
10484         callers changed. Just look at IDENTIFIER_TAG_VALUE, and
10485         current_binding_level->tags if asked for thislevel_only or if
10486         we might have to diagnose "struct foo; union foo;"
10487         (pushlevel): Ignore argument.  Do not push another binding
10488         level on the transition from the parameters to the top level
10489         of the function body; just tweak the flags and proceed.
10490         (poplevel): Overhaul.  Clear IDENTIFIER_TAG_VALUEs; on exiting
10491         a function body, separate the parameter list from the
10492         top-level local variables.
10493         (set_block): Do nothing.
10494         (pushtag): Set IDENTIFIER_TAG_VALUE and add an entry to
10495         shadowed_tags if necessary.
10496         (warn_if_shadowing): Nuke the special case for local shadowing
10497         parameter.
10498         (pushdecl): Do not create a shadow entry if we are replacing
10499         an older decl in the same binding level.
10500         (pushdecl_function_level): Tweak for new way of indicating
10501         function scope.
10502         (shadow_tag_warned): Use TYPE_NAME, not lookup_tag_reverse.
10503         (start_function): Don't set subblocks_tag_transparent.
10504         (finish_function): Fix up the binding_level stack for totally
10505         empty functions.  Otherwise, don't call poplevel.
10507         * c-common.c (shadow_warning): MANDATORY argument is no longer
10508         necessary.  Always use plain warning.
10509         * c-common.h: Update to match.
10511         * cfglayout.c (scope_to_insns_initialize): Clear block when we
10512         hit the FUNCTION_DECL.
10513         * function.c: Do not create cyclic tree structure.
10515 2003-04-10  Zack Weinberg  <zack@codesourcery.com>
10517         * c-tree.h (struct lang_identifier): Replace global_value,
10518         local_value members with symbol_value, tag_value.  Kill
10519         implicit_decl and limbo_value.
10520         (IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_LOCAL_VALUE,
10521         IDENTIFIER_LIMBO_VALUE, IDENTIFIER_IMPLICIT_DECL,
10522         C_MISSING_PROTOTYPE_WARNED): Kill.
10523         (IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE,
10524         C_DECL_IMPLICIT, C_DECL_ISNT_PROTOTYPE): New.
10525         (C_DECL_ANTICIPATED): Rename to C_DECL_INVISIBLE.
10526         (implicit_decl_warning, lookup_name_current_level,
10527         record_function_scope_shadow): Don't prototype.
10528         (pushdecl_function_level): Prototype.
10530         * c-decl.c (truly_local_externals): New variable.
10531         (struct binding_level): Adjust commentary.
10532         (get_function_binding_level, clear_limbo_values,
10533         record_function_scope_shadow): Kill.
10534         (lookup_name_current_level, implicit_decl_warning): Are now static.
10535         (any_external_decl, record_external_decl): New static functions.
10536         (clone_underlying type): Split out of pushdecl.
10537         (c_print_identifier): Update to match changes to struct
10538         lang_identifier.
10539         (poplevel): Delete #if 0 block.  Make externals invisible
10540         instead of clearing their IDENTIFIER_SYMBOL_VALUEs.  Don't
10541         call clear_limbo_values.  Refer to IDENTIFIER_SYMBOL_VALUE not
10542         IDENTIFIER_GLOBAL_VALUE or IDENTIFIER_LOCAL_VALUE.
10543         (duplicate-decls): For real parm decl after a forward decl,
10544         set TREE_ASM_WRITTEN here.  Allow void foo(...) followed by
10545         foo(...) { } with only a warning.  Say whether a previous
10546         declaration was implicit.
10547         (warn_if_shadowing): Now handles all shadowing, not just
10548         local-over-local.  Clarify comments.
10549         (pushdecl): Rewritten.  There is no longer a distinction
10550         between global and local symbol values; they're all
10551         IDENTIFIER_SYMBOL_VALUE.  Call record_external_decl on all
10552         DECL_EXTERNAL decls, and use any_external_decl to check
10553         against previous externals.  Kill #if 0 blocks.  Don't
10554         tolerate error_mark_node being NULL.
10555         (pushdecl_top_level): Handle only those cases which
10556         Objective C (the only user) needs.
10557         (pushdecl_function_level): New function.
10558         (implicitly_declare): Create ordinary decls with
10559         C_DECL_IMPLICIT set.  Recycle old decls, however they got
10560         created.
10561         (lookup_name): It's always IDENTIFIER_SYMBOL_VALUE. Return 0
10562         for C_DECL_INVISIBLE symbols.
10563         (lookup_name_current_level): Likewise.  Use chain_member.
10564         (c_make_fname_decl): Don't muck with DECL_CONTEXT.
10565         Use pushdecl_function_level.
10566         (builtin_function): Use C_DECL_INVISIBLE.
10567         (start_function): Don't muck with IDENTIFIER_IMPLICIT_DECL.
10568         Use C_DECL_ISNT_PROTOTYPE and C_DECL_IMPLICIT.
10569         (store_parm_decls): It's IDENTIFIER_SYMBOL_VALUE now.
10570         (identifier_global_value): Same.  Must scan
10571         global_binding_level in extremis.
10573         * c-typeck.c (undeclared_variable): New static function, split
10574         from build_external_ref.
10575         (build_external_ref): Use DECL_CONTEXT, not
10576         IDENTIFIER_LOCAL_VALUE, to decide whether a local hides
10577         an instance variable.  Restructure for clarity.
10578         * objc/objc-act.c: Use identifier_global_value, not
10579         IDENTIFIER_GLOBAL_VALUE.
10581 2003-04-08  Jonathan Wakely  <redi@gcc.gnu.org>
10583         * doc/extend.texi (Template Instantiation): Refer to ISO standard,
10584         not Working Paper.
10585         * doc/invoke.texi (C++ Dialect Options): Same.
10587 2003-04-10  Zack Weinberg  <zack@codesourcery.com>
10589         * tree.c (tree_operand_check_failed): New function.
10590         * tree.h (TREE_OPERAND_CHECK, TREE_OPERAND_CHECK_CODE,
10591         TREE_RTL_OPERAND_CHECK): New checking macros.
10592         (TREE_OPERAND, SAVE_EXPR_CONTEXT, SAVE_EXPR_RTL,
10593         RTL_EXPR_SEQUENCE, RTL_EXPR_RTL, WITH_CLEANUP_EXPR_RTL,
10594         CONSTRUCTOR_ELTS, LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
10595         EXIT_BLOCK_RETURN, LOOP_EXPR_BODY, EXPR_WFL_NODE,
10596         EXPR_WFL_FILENAME_NODE, EXPR_WFL_FILENAME, TARGET_EXPR_SLOT,
10597         TARGET_EXPR_INITIAL, TARGET_EXPR_CLEANUP): Use the new
10598         checking macros.
10600 Thu Apr 10 23:52:30 CEST 2003  Jan Hubicka  <jh@suse.cz>
10602         PR inline-asm/8803
10603         * function.c (instantate_virtual_regs):  Verify that all ASM statements
10604         match after the virutal regs instantiation.
10606 2003-04-10  Steve Ellcey  <sje@cup.hp.com>
10608         * ia64-protos.h (addp4_optimize_ok): New.
10609         * ia64.c (addp4_optimize_ok): New.
10610         * ia64.md (*ptr_extend_plus_1): Use addp4_optimize_ok.
10611         (*ptr_extend_plus_2): Ditto.
10613 2003-04-10  Steve Ellcey  <sje@cup.hp.com>
10615         * expr.c (expand_assignment): Extend offset_rtx with convert_to_mode
10616         not with convert_memory_address.
10617         (store_constructor): Ditto, and same for copy_size_rtx.
10618         (expand_expr): Ditto.
10620 2003-04-10  Douglas B Rupp  <rupp@gnat.com>
10622         * config/i386/i386.c (ix86_ms_bitfield_layout_p): Fix formatting.
10624 2003-04-10  Bob Wilson  <bob.wilson@acm.org>
10626         * config/xtensa/lib2funcs.S (__xtensa_sync_caches): Flush data cache
10627         even if it is configured to be write-through.
10629 2003-04-10  Ulrich Weigand  <uweigand@de.ibm.com>
10631         * config/s390/s390.c (larl_operand): Do not allow symbols
10632         marked with '@'.
10633         (s390_encode_section_info): Mark symbols with forced 1-byte
10634         alignment with '@'.
10635         (s390_strip_name_encoding): Strip '@'.
10636         (legitimize_pic_address): Handle symbols that are not valid
10637         LARL operands in 64-bit mode.
10639 2003-04-10  Andrew Haley  <aph@redhat.com>
10641         * tree-inline.c (inlinable_function_p): Disable inlining for
10642         synchronized methods.
10644 2003-04-09  Steven Bosscher  <steven@gcc.gnu.org>
10646         * c-common.h (lang_statement_code_p): Remove declaration.
10647         (statement_code_p): Ditto.
10648         (c_common_stmt_codes): Define; list of c-common statement codes.
10649         (statement_code_p): New extern declaration.
10650         (STATEMENT_CODE_P): Define.
10651         (INIT_STATEMENT_CODES): Define.
10652         * c-common.c (statement_code_p): Kill the function, declare
10653         as an array of bools instead.
10654         (lang_statement_code_p): Remove.
10655         (walk_stmt_tree): Use STATEMENT_CODE_P not statement_code_p.
10656         (c_safe_from_p): Ditto.
10657         * c-objc-common.c (c_objc_common_init): Use INIT_STATEMENT_CODES
10658         to initialize the statement_code_p array.
10659         * tree-inline.c (walk_tree): Use STATEMENT_CODE_P instead of
10660         statement_code_p.
10661         (copy_tree_r): Ditto.
10662         * cp/cp-tree.h (cp_stmt_codes): Define; list of C++ specific
10663         statement tree codes.
10664         * cp/lex.c (cxx_init): Add missing print line break.  Use
10665         INIT_STATEMENT_CODES to initialize the statement_code_p array.
10666         * cp/parser.c (cp_parser_statement): Use STATEMENT_CODE_P
10667         instead of statement_code_p.
10668         * cp/pt.c (tsubst_expr): Ditto.
10669         * cp/tree.c (verify_stmt_tree_r): Ditto.
10670         (cp_statement_code_p): Remove.
10671         (init_tree): Don't set lang_statement_code_p, it's gone.
10673 2003-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
10674             Zack Weinberg  <zack@codesourcery.com>
10676         * regrename.c (struct du_chain): Use a bitfield for reg_class.
10677         * cse.c (struct qty_table_elem, struct table_elt, struct set):
10678         Use bitfields for fields holding enum rtx_code or
10679         enum machine_mode values.  Add comments explaining size choices.
10681 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
10683         * config/fp-bit.c (unpack_d): Handle pair of doubles with
10684         different signs correctly.
10686 2003-04-09  Vladimir Makarov  <vmakarov@redhat.com>
10688         * sched-deps.c (reg_pending_barrier_mode): New enumeration.
10689         (reg_pending_barrier): Make it of the enumeration type.
10690         (sched_analyze_2): Define the barrier as MOVE_BARRIER or
10691         TRUE_BARRIER.
10692         (sched_analyze): Ditto.
10693         (sched_analyze_insn): Ditto.  Use anti-dependencies for
10694         MOVE_BARRIER and true-dependencies as TRUE_BARRIER.
10695         (init_deps_global): Initialize the barrier as NO_BARRIER.
10697 2003-04-09  Vladimir Makarov  <vmakarov@redhat.com>
10699         * config/ia64/ia64.c (issue_nops_and_insn): Add new parameter.
10700         Check that asm insn starts on a new cycle.  Add nops after asm
10701         insn to end bundle.
10702         (bundling): Move insn type evaluation from the loop.  Call
10703         issue_nops_and_insn with the new parameter.  Ignore changing
10704         position for nops after asm insn.
10706 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
10708         * optabs.c: Comment that gen_add2_insn and others may actually
10709         return emitted insns, if the gen functions turn out to return
10710         emitted insns.
10711         * reload1.c (reload_cse_move2add): Cope with emitted insns from
10712         gen_add2_insn.
10714 2003-04-09  Richard Henderson  <rth@redhat.com>
10716         * config/ia64/ia64.c (move_operand): Allow symbolic_operand,
10717         but not tls_symbolic_operand.
10718         (ia64_expand_load_address): Remove scratch operand.
10719         (ia64_expand_tls_address): Split out from ia64_expand_move.
10720         (ia64_expand_move): Split symbolics only after reload.
10721         (ia64_emit_cond_move): New.
10722         * config/ia64/ia64-protos.h: Update.
10723         * config/ia64/ia64.md (movsi_symbolic, movdi_symbolic): Remove.
10724         (symbolic splitter): Accept SImode operands too.
10725         (cmove splitter): Use ia64_emit_cond_move.
10727 2003-04-09  Nick Clifton  <nickc@redhat.com>
10729         * doc/install.texi: Note that ARM toolchains need binutils 2.13 or
10730         newer.
10731         * config/arm/elf.h (SUBTARGET_ASM_FLOAT_SPEC): Pass -mfpu=softfpa
10732         instead of -mno-fpu.
10733         * config/arm/semi.h (ASM_SPEC): Likewise.
10734         * config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise,
10735         but only if -msoft-float is specified pass.  Otherwise pass
10736         -mfpu=softvfp.
10738 2003-04-09  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
10740         * function.c (purge_addressof): Use free_INSN_LIST_node instead of
10741         free_EXPR_LIST_node.
10743 2003-04-08  Roger Sayle  <roger@eyesopen.com>
10745         * fold-const.c (fold):  Use "fold" following build in more places.
10746         Optimize sqrt(x)*sqrt(x) as x, pow(x,y)*pow(z,y) as pow(x*z,y),
10747         pow(x,y)*pow(x,z) as pow(x,y+z) and x/pow(y,z) as x*pow(y,-z).
10749 2003-04-08  Roger Sayle  <roger@eyesopen.com>
10751         * builtins.c (fold_builtin):  Constant fold expressions as x*0.5
10752         instead of x/2.0.  Optimize sqrt(pow(x,y)) as pow(x,y*0.5),
10753         log(pow(x,y)) as y*log(x), pow(exp(x),y) as exp(x*y),
10754         pow(sqrt(x),y) as pow(x,y*0.5) and pow(pow(x,y),z) as pow(x,y*z).
10755         Delete function scope "fcode" variable to avoid shadowing.
10757 2003-04-08  Kevin Buettner  <kevinb@redhat.com>
10759         * dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, DWARF_ARANGES_PAD_SIZE):
10760         Take into account DWARF_INITIAL_LENGTH_SIZE.
10762 2003-04-08  Hans-Peter Nilsson  <hp@axis.com>
10764         * reorg.c (fill_slots_from_thread): When considering changing the
10765         insn following a reg-to-reg copy insn to use the source reg of the
10766         copy, bail out if there's overlap between the registers.
10768 2003-04-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
10770         * function.c (postponed_insns): New.
10771         (purge_addressof_1): Postpone processing of insns if addressofs
10772         are not put into stack.
10773         (purge_addressof): Process postponed insns.
10775 2003-04-08  J"orn Rennecke <joern.rennecke@superh.com>
10777         * sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD,
10778         this is FP_MODE_DOUBLE .
10779         * sh.c (ra.h): #include.
10780         (push_regs): Add second parameter.  Changed all callers.
10781         If necessary, set fpscr before saving floating point registers.
10782         (calc_live_regs): If interrupt handler and TARGET_FMOVD, always
10783         do saves / restores with SZ == 1.
10784         (sh_expand_prologue): If interrupt handler, don't use gen_toggle_sz.
10785         (sh_expand_epilogue): Likewise.  For TARGET_FMOVD, if floating point
10786         registers are being restored, restore FPSCR only after restoring them.
10788 2003-04-08  Aldy Hernandez  <aldyh@redhat.com>
10790         * config/rs6000/rs6000.c (rs6000_init_builtins): Set opaque types
10791         regardless of architecture.
10792         (spe_init_builtins): Change V2SI and V2SF types to opaque types.
10794 2003-04-08  J"orn Rennecke <joern.rennecke@superh.com>
10796         * sh.c (push_regs, calc_live_regs): Return int.  Take single
10797         HARD_REG_SET * parameter.  Changed all callers.
10799 Tue Apr  8 11:12:07 CEST 2003  Jan Hubicka  <jh@suse.cz>
10801         * i386.c (legitimate_pic_address_disp_p): Do not accept PLUS in the
10802         GOTOFF operand.
10803         (legitimize_pic_address): Move plus outside the unspec.
10804         * i386.c (legitimate_constant_p):  Check (CONST (PLUS (UNSPEC ...
10805         for validity.
10807 2003-04-08  Nathan Sidwell  <nathan@codesourcery.com>
10809         * gcov-io.h (gcov_save_position): Remove __inline__ from
10810         declaration.
10812 2003-04-07  Matt Kraai  <kraai@alumni.cmu.edu>
10814         * doc/install.texi: Use @command and @samp for single- and
10815         multi-word commands respectively.
10816         * doc/makefile.texi: Likewise.
10817         * doc/sourcebuild.texi: Likewise.
10819 2003-04-07  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
10820             Richard Henderson  <rth@redhat.com>
10822         PR c/9516
10823         * expr.c (safe_from_p): Rearrange to avoid deep recursion in
10824         favor of looping and tail recursion for TREE_LIST and binops.
10826 2003-04-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
10828         * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Provide defaults
10829         for insns without luid.
10831 2003-04-07  Glen Nakamura  <glen@imodulo.com>
10833         PR opt/8634
10834         * explow.c (maybe_set_unchanging): Don't flag non-static const
10835         aggregate type initializers with RTX_UNCHANGING_P.
10837 2003-04-07  Richard Henderson  <rth@redhat.com>
10839         PR opt/8634
10840         * function.c (purge_addressof_1): Don't try arithmetics for
10841         unchanging memories.
10843 2003-04-07  Janis Johnson  <janis187@us.ibm.com>
10845         * doc/sourcebuild.texi (Test Suites): Document testing support for
10846         gcov and profile-directed optimizations; describe gcc.misc-tests.
10848 Mon Apr  7 22:19:59 CEST 2003  Jan Hubicka  <jh@suse.cz>
10850         PR target/10077
10851         * i386.md (movsi_1, movsi_nointerunit_1):  Fix SSEMOV alternative.
10853 2003-04-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
10855         * doc/rtl.texi (Comparison operations): Update to
10856         record the allowed comparison modes.
10858 2003-04-07  Aldy Hernandez  <aldyh@redhat.com>
10860         * config/rs6000/rs6000.c (rs6000_common_init_builtins): Rename all
10861         V2SI_type_node to opaque_V2SI_type_node.  Rename all
10862         V2SF_type_node to opaque_V2SF_type_node.
10863         (rs6000_init_builtins): Define opaque_V2SI_type_node and
10864         opaque_V2SF_type_node.
10865         (is_ev64_opaque_type): The types opaque_V2SI_type_node and
10866         opaque_V2SF_type_node are opaque types.
10868 2003-04-07  J"orn Rennecke <joern.rennecke@superh.com>
10870         * gcse.c (replace_store_insn): Use single_set.
10872 2003-04-07  Nathan Sidwell  <nathan@codesourcery.com>
10874         Change gcov file interface to single file at a time.
10875         * gcov-io.h: Replace IN_LIBGCC1 with IN_LIBGCOV. Use IN_GCOV.
10876         Convert to C89 prototypes.
10877         (gcov_file, gcov_length, gcov_position, gcov_buffer, gcov_alloc,
10878         gcov_error, gcov_modified): New static variables.
10879         (gcov_open, gcov_close, gcov_read_bytes, gcov_write_bytes): New
10880         functions.
10881         (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
10882         gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
10883         (gcov_read_summary, gcov_write_summary): Adjust.
10884         (gcov_save_position, gcov_reserve_length, gcov_write_length):
10885         Adjust.
10886         (gcov_resync, gcov_skip, gcov_skip_string): Adjust.
10887         (da_file_open, da_file_close, da_file_eof, da_file_error): Remove.
10888         (da_file_position, da_file_seek, da_file_write, da_file_read):
10889         Remove.
10890         (gcov_error, gcov_eof, gcov_ok, gcov_time): New functions.
10891         * gcov.c (gcov_type): Don't typedef here.
10892         (IN_GCOV): #define
10893         (read_graph_file, read_count_file): Adjust.
10894         * gcov-dump.c (gcov_type): Don't typedef here.
10895         (IN_GCOV): #define.
10896         (tag_function, tag_blocks, tag_arcs, tag_lines, tag_arc_counts):
10897         Remove FILE parameter, adjust.
10898         (struct tag_format): Adjust proc member.
10899         (dump_file): Adjust.
10900         * libgcov.c (IN_LIBGCOV): #define.
10901         (gcov_exit): Adjust.
10902         * loop-init.c: Don't #include gcov-io.h
10903         * profile.c (struct counts_entry): New structure to hold counter
10904         values.
10905         (struct section_reference, struct da_index_entry): Remove.
10906         (bbg_file, da_file): Remove.
10907         (htab_counts_index_hash, htab_counts_index_eq,
10908         htab_counts_index_del): Replace with ...
10909         (htab_counts_entry_hash, htab_counts_entry_eq,
10910         htab_counts_entry_del): ... these.
10911         (cleanup_counts_index, index_counts_file): Remove.
10912         (read_counts_file): New function.
10913         (get_exec_counts): Adjust.
10914         (compute_branch_probabilities): Don't free the exec counts here.
10915         (branch_prob): Adjust.
10916         (init_branch_prob): Adjust.
10917         (end_branch_prob): Adjust.
10919 2003-04-07  Aldy Hernandez  <aldyh@redhat.com>
10921         * doc/invoke.texi (RS/6000 and PowerPC Options): Document
10922         -mfloat-gprs.
10924         * config/rs6000/rs6000.c: Delete rs6000_fprs.
10925         Declare rs6000_float_gprs.
10926         Declare rs6000_float_gprs_string.
10927         (rs6000_parse_float_gprs_option): New.
10928         (rs6000_override_options): Genericize rs6000_parse_* calls to use
10929         rs6000_parse_yes_no_option.
10930         Change check for cpu=8540, to use TARGET_E500.
10931         (rs6000_parse_isel_option): Delete.
10932         (rs6000_parse_spe_option): Delete.
10933         (rs6000_parse_vrsave_option): Delete.
10935         * config/rs6000/rs6000.h: Rename rs6000_fprs to rs6000_float_gprs.
10936         Define rs6000_float_gprs_string.
10937         (TARGET_OPTIONS): Add rs6000_float_gprs option.
10939         * config/rs6000/eabi.h (TARGET_FPRS): Change to use rs6000_float_gprs.
10941         * config/rs6000/eabispe.h: Set rs6000_float_gprs.
10943 Mon Apr  7 14:36:24 CEST 2003  Jan Hubicka  <jh@suse.cz>
10945         PR opt/10024
10946         * cfglayout.c (cfg_layout_redirect_edge):
10947         Redirect any branch edges unified with the fallthru one.
10948         * cfgrtl.c (force_nonfallthru_and_redirect):  Do not special
10949         case fallthru edges when called via cfglayout.c
10951 2003-04-07  J"orn Rennecke <joern.rennecke@superh.com>
10953         * c-typeck.c (output_init_element): Check for type == error_mark_node.
10955 2003-04-07  Kazu Hirata  <kazu@cs.umass.edu>
10957         * config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Always
10958         split.
10959         (a splitter): Do zero-extension via HImode.
10961 2003-04-07  James A. Morrison <ja2morri@uwaterloo.ca>
10963         * doc/invoke.texi: Eliminate extra white-space caused by
10964         @gccoptlist{ on its own line.
10965         * doc/invoke.texi: Ensured there are two spaces between each option.
10966         * doc/invoke.texi: Re-wrapped option lines that were too wide.
10967         Added @gol to options that didn't have them.
10969 2003-04-07  James A Morrison <ja2morri@student.math.uwaterloo.ca>
10971         * doc/extend.texi (Darwin Pragmas): Fix spelling of Mac OS.
10973 2003-04-06  Zack Weinberg  <zack@codesourcery.com>
10975         * tree.c (tree_size): For all 'c' and 'x' nodes, look directly
10976         at the sizes of the relevant structures, rather than relying
10977         on TREE_CODE_LENGTH.  Call lang_hooks.tree_size to get the
10978         sizes of any such we don't know about.  Use
10979         lang_hooks.identifier_size for IDENTIFIER_NODE.
10981         (initializer_zerop): Use CONSTRUCTOR_ELTS.
10982         * tree.def: Update commentary.  Make fourth element of
10983         the definition for all 'c' and 'x' nodes zero.
10985         * langhooks.h: New hook, tree_size / LANG_HOOKS_TREE_SIZE.
10986         * langhooks-def.h: Update to match.
10987         * langhooks.c: New default, lhd_tree_size.
10989         * c-common.def (SRCLOC): Kill.
10990         * c-pretty-print.c (pp_c_postfix_expression [case SRCLOC]):
10991         Remove entirely - was already #if-ed out.
10994 2003-04-06  Zack Weinberg  <zack@codesourcery.com>
10996         * mklibgcc.in: Use a here document to avoid running afoul of
10997         shells that generate control-A from "echo \1".
10999 2003-04-06  Aldy Hernandez  <aldyh@redhat.com>
11001         * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mspe
11002         option.
11004         * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Set
11005         rs6000_spe.
11007         * config/rs6000/eabi.h (TARGET_E500): Define.
11009         * config/rs6000/rs6000.h (TARGET_E500): Define.
11010         (TARGET_OPTIONS): Add spe= option.
11011         Declare rs6000_spe and rs6000_spe_string extern.
11013         * config/rs6000/rs6000.c (branch_positive_comparison_operator):
11014         Change TARGET_SPE to TARGET_E500.
11015         (ccr_bit): Change TARGET_SPE to TARGET_E500.  Check for
11016         !TARGET_FPRS.
11017         (print_operand): Same.
11018         (rs6000_generate_compare): Same.
11019         (output_cbranch): Same.
11020         (rs6000_spe): Declare.
11021         (rs6000_spe_string): Declare.
11022         (rs6000_override_options): Call rs6000_parse_spe_option.
11023         (rs6000_parse_spe_option): New.
11025 2003-04-06  Steven Bosscher  <steven@gcc.gnu.org>
11027         * hashtable.c (gcc_obstack_init): Delete this function
11028         and everything related to it.
11029         * hashtable.h: Remove prototype.
11030         * bitmap.c (bitmap_element_allocate): Cleanup redundant
11031         defines.  Cleanup some unnecessary whitespace.
11032         * defaults.h (obstack_chunk_alloc): Redefine with
11033         appropriate casts for libiberty obstacks.
11034         (obstack_chunk_free): Ditto.
11035         (OBSTACK_CHUNK_SIZE): Define, default to 0.
11036         (gcc_obstack_init): Define as a call to _obstack_begin.
11037         * tree.c (print_obstack_statistics): Delete this unused
11038         function.
11039         * tree.h (obstack): Don't forward-declare.
11040         (print_obstack_statistics): Delete prototype.
11041         (print_obstack_name): Ditto.
11042         (gcc_obstack_init): Ditto.
11043         * rtl.h (gcc_obstack_init): Ditto.
11044         * java/jv-scan.c (gcc_obstack_init): Delete this
11045         function, its prototype and related defines.
11046         * java/jvgenmain.c (gcc_obstack_init): Delete this
11047         function, and related defines.
11048         * java/parse-scan.y (obstack_chunk_alloc): Don't define.
11049         (obstack_chunk_free): Ditto
11051 2003-04-06  Geoffrey Keating  <geoffk@apple.com>
11053         * dbxout.c (dbxout_handle_pch): Move prototype out from
11054         #if defined DBX_DEBUGGING_INFO.
11056 2003-04-05  Nathan Sidwell  <nathan@codesourcery.com>
11058         * gcov.c (struct arc_info): Replace local_span with cycle.
11059         (struct block_info): Replace u.span with u.cycle. Add is_call_return.
11060         (solve_flow_graph): Set is_call_return.
11061         (add_line_counts): Adjust. In block mode, blocks attach to last line.
11062         (accumulate_line_counts): Find graph cycles, not spanning tree.
11063         (output_branch_count): Adjust.
11064         (output_lines): Adjust.
11065         * doc/gcov.texi: Update.
11067 2003-04-06  Kazu Hirata  <kazu@cs.umass.edu>
11069         * config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Change
11070         the second alternative to "#".
11072 2003-04-05  Kazu Hirata  <kazu@cs.umass.edu>
11074         * config/h8300/h8300.c (single_one_operand): Use GET_MODE_MASK.
11075         (single_zero_operand): Likewise.
11077 2003-04-05  Daniel Berlin  <dberlin@dberlin.org>
11079         * Makefile.in (df.o):  Depend on alloc-pool.h, not obstack.h.
11080         * df.c: Include alloc-pool.h, not obstack.h.
11081         (df_ref_obstack): Remove.
11082         (df_ref_pool, df_link_pool): Add pools.
11083         (df_alloc): Init the new pools.
11084         (df_free): And free them.
11085         (df_link_create): Use the pools.
11086         (df_ref_create): Ditto.
11088 2003-04-05  Kazu Hirata  <kazu@cs.umass.edu>
11090         * simplify-rtx.c: Fix formatting.
11092 2003-04-05  Andrew Pinski  <apinski@apple.com>
11094         * config/rs6000/rs6000.c (addrs_ok_for_quad_peep): Allow addr2
11095         reg with reg1 == reg2 and offset1 = -8.
11097 2003-04-05  David Edelsohn  <edelsohn@gnu.org>
11099         * config/rs6000/rs6000.c (rs6000_rtx_costs): Halve Power4
11100         multiply costs.  Correct Power4 divide costs.
11101         * config/rs6000/power4.md: Restore multiply and FP latency.
11103 2003-04-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
11105         * alias.c (find_base_term): Export.
11106         * rtl.h (find_base_term): Declare.
11107         * gcse.c (find_moveable_store): Test for flag_non_call_exceptions
11108         instead of flag_exceptions.  Move test for parameter passing ...
11109         (store_killed_in_insn): ... here.
11111 2003-04-05  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11113         PR bootstrap/10267
11114         * doc/install.texi (*-*-solaris2): /bin/ksh is not just recommended
11115         for configuring.
11117 2003-04-04  Geoffrey Keating  <geoffk@apple.com>
11119         * dbxout.c (scope_labelno): Add GTY.
11120         (have_used_extensions): Add GTY.
11121         (source_label_number): Add GTY.
11122         (lastfile): Add GTY.
11123         (lastfile_is_base): New.
11124         (base_input_file): New.
11125         (dbxout_handle_pch): New.
11126         (dbx_debug_hooks): Add handle_pch.
11127         (xcoff_debug_hooks): Likewise.
11128         (dbxout_function_end): Remove scope_labelno.
11129         (dbxout_init): Set base_input_file.
11130         (dbxout_handle_pch): New.
11131         (dbxout_source_file): Honour lastfile_is_base.
11132         * dwarfout.c (dwarf_debug_hooks): Add dummy handle_pch.
11133         * sdbout.c (sdb_debug_hooks): Add dummy handle_pch.
11134         * vmsdbgout.c (vmsdbg_debug_hooks): Add dummy handle_pch.
11135         * dwarf2out.c (dwarf2_debug_hooks): Add dummy handle_pch.
11136         * debug.c (do_nothing_debug_hooks): Add dummy handle_pch.
11137         * debug.h (struct gcc_debug_hooks): Add handle_pch.
11138         * c-pch.c (pch_init): Don't call start_source_file, but do call
11139         handle_pch.
11140         (c_common_write_pch): Call handle_pch.
11141         (c_common_read_pch): Don't call start_source_file,
11142         or end_source_file.
11144 Fri Apr  4 17:43:52 2003  Olivier Hainque <hainque@act-europe.fr>
11146         * emit-rtl.c (get_mem_attrs): Adjust alignment tests determining
11147         use of default attributes to agree MEM_ALIGN macro.
11149 Fri Apr  4 17:33:24 2003  Joel Brobecker  <brobecker@gnat.com>
11151         * dbxout.c (dbxout_type): When printing type index of range type
11152         whose bounds are printed in octal format, print type of parent type if
11153         it exists so enumerated type descriptions are not transformed
11154         into unsigned types.
11156 2003-04-04  Kazu Hirata  <kazu@cs.umass.edu>
11158         * config/h8300/h8300-protos.h: Add a prototype for
11159         compute_a_shift_cc.
11160         * config/h8300/h8300.c (shift_one): Update the CC status.
11161         (shift_two): Likewise.
11162         (output_a_shift_cc): Set cc_inline and cc_special.
11163         (compute_a_shift_cc): New.
11164         * config/h8300/h8300.md (shift insns): Use compute_a_shift_cc.
11166 2003-04-04  Richard Henderson  <rth@redhat.com>
11168         * cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.
11170 2003-04-04  Loren James Rittle  <ljrittle@acm.org>
11172         * fixinc/inclhack.def (bsd_stdio_attrs_conflict): New.
11173         * fixinc/fixincl.x: Rebuilt.
11174         * fixinc/tests/base/stdio.h: Regenerated.
11176 2003-04-04  Nathan Sidwell  <nathan@codesourcery.com>
11178         * gcov.c (accumulate_line_counts): Fix span tree merge bug.
11180 Fri Apr  4 15:58:52 2003  J"orn Rennecke <joern.rennecke@superh.com>
11182         * sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of
11183         (NORMAL_MODE).
11184         * sh.c (fpscr_set_from_mem): Use ACTUAL_NORMAL_MODE.
11186 2003-04-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11188         * doc/contrib.texi (Contributors): Add entries for Wolfgang
11189         Bangerth, DJ Delorie, Christian Ehrhardt, Christopher Faylor,
11190         Nathanael Nerode, Diego Novillo, Hartmut Penner, Volker Reichelt,
11191         Danny Smith, and Ulrich Weigand.
11192         Update Kriang Lerdsuwanakij and fix a typo in Janis Johnson's
11193         entry.
11195 2003-04-04  Nick Clifton  <nickc@redhat.com>
11197         * config/sparc/sol2-bi.h: Revert previous delta.
11198         * config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO
11200 2003-04-04  Nick Clifton  <nickc@redhat.com>
11202         * config/v850/v850.c (expand_prologue): Only use register save
11203         helper functions if long calls are not being used.
11204         Add a clobber of r11 id using long calls.
11205         (pattern_is_ok_for_prologue): Account for the extra clobber.
11206         (construct_save_jarl): Likewise.
11207         * config/v850/v850.md (prolog pattern): Do not use this pattern
11208         for v850e's.
11210 2003-04-04  Andreas Schwab  <schwab@suse.de>
11212         * stor-layout.c (layout_decl): Avoid syntax error in last change
11213         when PCC_BITFIELD_TYPE_MATTERS is defined but not
11214         EMPTY_FIELD_BOUNDARY.
11216 2003-04-03  Jason Merrill  <jason@redhat.com>
11218         PR c/10175
11219         * jump.c (never_reached_warning): Revert patch of 2002-11-02.
11220         Look backwards for a line note.
11222 2003-04-03  Neil Booth  <neil@daikokuya.co.uk>
11224         * fix-header.c (read_scan_file): Defer switch processing.
11226 2003-04-03  Matt Austern  <austern@apple.com>
11228         * cpppch.c (reset_ht): Remove.
11229         (cpp_read_state): Remove loop to reset hashtable identifiers.
11230         * ggc-common.c (gt_pch_save): Add call to gt_pch_fixup_stringpool
11231         after pch file is written.
11232         * ggc.h (gt_pch_fixup_stringpool): Declare.
11233         * stringpool.c (ht_copy_and_clear): Define.  Callback.  Copy
11234         hashnode's value to another hashtable, then clear the original.
11235         (saved_ident_hash): Define.
11236         (gt_pch_save_stringpool): Create saved_ident_hash, use it to
11237         store definitions in ident_hash, and clear ident_hash.
11238         (gt_pch_fixup_stringpool): Define.  Restore definitions from
11239         saved_ident_hash to ident_hash, then destroy saved_ident_hash.
11241 Thu Apr  3 22:27:40 CEST 2003  Jan Hubicka  <jh@suse.cz>
11243         * cfgrtl.c (update_bb_for_insn): Do not set block for barriers.
11245 2003-04-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
11247         PR optimization/10157
11248         * gcse.c (can_copy_p): Rename it to can_copy.
11249         (can_copy_init_p): Remove.
11250         (compute_can_copy): Use can_copy instead of can_copy_p.
11251         (can_copy_p): New exported function. Call compute_can_copy.
11252         (hash_scan_set): Use it.
11253         (gcse_main): Don't call compute_can_copy.
11254         (bypass_jumps): Don't call compute_can_copy.
11255         * rtl.h (can_copy_p): Declare.
11256         * loop.c (scan_loop): Don't move the source and add a reg-to-reg
11257         copy if the mode doesn't support copy operations.
11259 2003-04-03  Jason Merrill  <jason@redhat.com>
11261         * Makefile.in (unstrap): Also remove stage_last.
11263         * dwarf2out.c (lookup_filename): Don't check for "<internal>".
11264         (dwarf2out_source_line): Don't do anything if line==0.
11266         * stor-layout.c (do_type_align): New fn, split out from...
11267         (layout_decl): ...here.  Do all alignment calculations for
11268         FIELD_DECLs here.
11269         (update_alignment_for_field): Not here.
11270         (start_record_layout, debug_rli): Remove unpadded_align.
11271         * tree.h (struct record_layout_info_s): Remove unpadded_align.
11272         * c-decl.c (finish_enum): Don't set DECL_SIZE, DECL_ALIGN
11273         or DECL_MODE on the CONST_DECLs.
11274         (finish_struct): Don't mess with DECL_ALIGN.
11276 Thu Apr  3 18:57:19 CEST 2003  Jan Hubicka  <jh@suse.cz>
11278         * i386.c (print_operand): Do not bypass output_addr_const at flag_pic.
11280 Thu Apr  3 17:08:09 2003  J"orn Rennecke <joern.rennecke@superh.com>
11282         * sh.c (sh_function_ok_for_sibcall): Return 0 if the current
11283         function is an interrupt handler.
11285         * sh.c (sh_expand_epilogue): Avoid clash of temp register for
11286         restoring target registers with EH_RETURN_STACKADJ_RTX; use
11287         multiple registers in round-robin fashion.
11289 2003-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11291         * gengtype-lex.l (IWORD): Add CHAR_BITFIELD.
11292         * system.h (CHAR_BITFIELD): New.
11294 2003-04-03  Kazu Hirata  <kazu@cs.umass.edu>
11296         * config/h8300/h8300.md (a peephole2): Generalize to accept GT
11297         and LE.
11298         (another peephole2): Likewise.
11300 2003-04-03  Nick Clifton  <nickc@redhat.com>
11302         * config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.
11303         (DEF_ARCH64_SPEC): Likewise.
11305 Thu Apr  3 09:53:40 CEST 2003  Jan Hubicka  <jh@suse.cz>
11307         * i386.c (constant_address_p): Use legitimate_constant_p.
11308         (legitimate_address_p): Do not use CONSTANT_ADDRESS_P.
11310 2003-04-02  Kazu Hirata  <kazu@cs.umass.edu>
11312         * config/h8300/h8300-protos.h: Add a prototype for
11313         gtle_operator.
11314         * config/h8300/h8300.c (gtle_operator): New.
11315         * config/h8300/h8300.h (PREDICATE_CODES): Add an entry for
11316         gtle_operator.
11317         * config/h8300/h8300.md (a peephole2): Generalize to accept GT
11318         and LE.
11320 2003-04-02  Richard Henderson  <rth@redhat.com>
11322         * libgcc-std.ver (_Unwind_GetCFA): New.
11323         * unwind-dw2.c (_Unwind_GetCFA): New.
11324         * unwind-libunwind.c (_Unwind_GetCFA): New.
11325         * unwind-sjlj.c (_Unwind_GetCFA): New.
11326         * unwind.h: Declare it.
11328 Thu Apr  3 00:31:21 CEST 2003  Jan Hubicka  <jh@suse.cz>
11330         PR inline-asm/8088
11331         * i386.c (ix86_hard_regno_mode_ok):  Return 0 for MMX/SSE registers
11332         when MMX/SSE is not available.
11334 2003-04-02  Mike Stump  <mrs@apple.com>
11336         * doc/install.texi (Specific): Update pointers to apple.com.
11338 Thu Apr  3 00:18:49 CEST 2003  Jan Hubicka  <jh@suse.cz>
11340         * i386.c (override_options):  Disable red zone by default on i386.
11341         (compute_frame_layout, ix86_force_to_memory, ix86_free_from_memory):
11342         Do not test TARGET_64BIT together with TARGET_RED_ZONE
11344 2003-04-02  Kazu Hirata  <kazu@cs.umass.edu>
11346         * config/h8300/h8300.md (a peephole2): Tighten the condition.
11348 2003-04-02  Richard Henderson  <rth@redhat.com>
11350         * longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh.
11352 2003-04-02  Kazu Hirata  <kazu@cs.umass.edu>
11354         * config/h8300/h8300.md (a peephole2): New.
11356 2003-04-02  Richard Henderson  <rth@redhat.com>
11358         * except.c (sjlj_find_directly_reachable_regions): Recognize when
11359         must-not-throw region has been deleted.
11361 2003-04-02  Richard Henderson  <rth@redhat.com>
11363         * dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an
11364         optimization when flag_exceptions not enabled.
11366 2003-04-02  Vladimir Makarov  <vmakarov@redhat.com>
11368         * config/rs6000/rs6000.c
11369         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Redefine the
11370         macros.
11371         (rs6000_issue_rate): Add case for 8540.
11372         (rs6000_use_sched_lookahead): New function.
11374         * config/rs6000/8540.md: Rename SIU units into SU ones and MIU
11375         units into MU ones.
11376         (ppc8540_branch, ppc8540_cr_logical): Add one cycle in the
11377         reservation before retirement.
11378         (ppc8540_multiply, ppc8540_load, ppc8540_store,
11379         ppc8540_simple_float, ppc8540_vector_load, ppc8540_vector_store):
11380         Remove additional cycle in the reservation before retirement.
11381         (ppc8540_mfcr, ppc8540_mtcrf, ppc8540_mtjmpr): Add missed
11382         reservation of ppc8540_issue.
11384 2003-04-02  Andreas Schwab  <schwab@suse.de>
11386         * real.c (decode_ieee_single): Fix decoding of SNaN bit.
11388 2003-04-01  Richard Henderson  <rth@redhat.com>
11390         * except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION
11391         notes for nothrow calls if flag_forced_unwind_exceptions.
11392         (build_post_landing_pads): Mind flag_forced_unwind_exceptions.
11393         (sjlj_find_directly_reachable_regions): Likewise.
11394         (reachable_handlers): Likewise.
11395         (can_throw_external): Likewise.
11396         (collect_one_action_chain): Record cleanups after catch-all and
11397         must-not-throw if flag_forced_unwind_exceptions.
11398         * flags.h (flag_forced_unwind_exceptions): Declare.
11399         * toplev.c (flag_forced_unwind_exceptions): New.
11400         (lang_independent_options): Add it.
11401         * doc/invoke.text: Add it.
11403 2003-04-01  David Mosberger <davidm@hpl.hp.com>
11405         * config/ia64/crti.asm: Clean up trailing whitespace.
11406         Remove trailing hashes (#) from identifiers.
11408         * config/ia64/crtn.asm: Ditto.
11410         * config/ia64/crtend.asm: Remove trailing hashes (#) from
11411         identifiers.
11412         (__do_global_ctors_aux): Align to 32-byte boundary.  Add unwind
11413         directives.  Drop explicit bundling---it just makes the code
11414         harder to read.  Don't save/restore gp needlessly.
11416         * config/ia64/crtbegin.asm: Remove trailing hashes (#) from
11417         identifiers (they're only needed if the identifier would clash
11418         with a register name otherwise).
11419         (__do_global_dtors_aux): Align to 32-byte boundary. Add unwind
11420         directives.  Drop explicit bundling---it just makes the code
11421         harder to read.
11422         (__do_jv_register_classes): Ditto.
11423         (.fini_array): Remove "progbits" (newer
11424         assemblers don't like wrong section-types).
11425         (.init_array): Ditto.
11427 2003-04-01  Roger Sayle  <roger@eyesopen.com>
11429         PR fortran/9974
11430         * gcse.c (reg_killed_on_edge): New function to test whether the
11431         given reg is overwritten by any instruction queued on an edge.
11432         (bypass_block): Ignore substitutions killed on incoming edges.
11433         Don't bypass outgoing edges that have queued instructions.
11435 2003-04-01  Alexandre Oliva  <aoliva@redhat.com>
11437         * real.h (EXP_BITS): Make room for...
11438         (struct real_value): ... added canonical bit.
11439         (struct real_format): Added pnan.
11440         (mips_single_format, mips_double_format, mips_extended_format,
11441         mips_quad_format): New.
11442         * real.c: Copy p to pnan in all formats.
11443         (get_canonical_qnan, get_canonical_snan): Set canonical bit.
11444         (real_nan): Use pnan to compute significand's shift.
11445         (real_identical): Disregard significand in canonical
11446         NaNs.
11447         (real_hash): Likewise.  Take signalling into account.
11448         (encode_ieee_single, encode_ieee_double, encode_ieee_quad):
11449         Disregard significand bits in canonical NaNs.  Set all bits of
11450         canonical NaN if !qnan_msb_set.
11451         (encode_ibm_extended, decode_ibm_extended): Likewise.  Use
11452         qnan_msb_set to tell the base double format.
11453         (ibm_extended_format): Use 53 as pnan.
11454         (mips_single_format, mips_double_format, mips_extended_format,
11455         mips_quad_format): Copied from the corresponding ieee/ibm
11456         formats, with qnan_msb_set false.
11457         * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Use mips_extended_format.
11458         * config/mips/linux64.h (MIPS_TFMODE_FORMAT): Use mips_quad_format.
11459         * config/mips/mips.c (override_options): Use mips_single_format
11460         and mips_double_format.  Default TFmode to mips_quad_format.
11461         * config/mips/t-linux64 (tp-bit.c): Define QUIET_NAN_NEGATED.
11462         * config/mips/t-irix6: Likewise.
11463         * config/mips/t-mips (fp-bit.c, dp-bit.c): Likewise.
11464         * config/fp-bit.c (pack_d, unpack_d): Obey it.
11466 2003-04-01  Geoffrey Keating  <geoffk@apple.com>
11468         * unwind-dw2-fde-darwin.c (DESTRUCTOR_MAY_BE_CALLED_LIVE): New.
11469         (live_image_destructor): Reset image to initial state.
11470         (examine_objects): Set DESTRUCTOR_MAY_BE_CALLED_LIVE.
11472 2003-04-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
11474         * config/sparc/sparc.c (input_operand): Accept bare
11475         CONSTANT_P_RTX operands.
11477 2003-04-01  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
11479         * gcse.c (struct ls_expr): Added pattern_regs field.
11480         (ldst_entry): Initialize it.
11481         (extract_mentioned_regs, extract_mentioned_regs_helper): New.
11482         (store_ops_ok): Use regs precomputed by them.
11483         (find_loads, store_killed_in_insn, load_kills_store): Change return
11484         type to bool.
11485         (store_killed_before, store_killed_after): Take position of register
11486         set in account.
11487         (reg_set_info): Store position of the setter.
11488         (gcse_main): Enable store motion.
11489         (mems_conflict_for_gcse_p): Enable load motion of non-symbol mems.
11490         (pre_insert_copy_insn, update_ld_motion_stores, insert_store): Prevent rtl
11491         sharing.
11492         (simple_mem): Enable store motion of non-symbol mems.
11493         (regvec): Type changed.
11494         (LAST_AVAIL_CHECK_FAILURE): New.
11495         (compute_store_table_current_insn): New.
11496         (build_store_vectors): Computation of availability and anticipatability
11497         moved ...
11498         (compute_store_table, find_moveable_store): ... here.
11499         (delete_store): Remove senseless comment.
11500         (store_motion): Reorganize.
11502 2003-04-01  Kevin Buettner  <kevinb@redhat.com>
11504         * config/mips/mips.c (override_options): Provide mappings for
11505         HI_REGNUM and LO_REGNUM.
11506         * config/mips/mips.h (MD_DBX_FIRST): Define.
11508 2003-04-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11510         * combine.c (merge_outer_ops): Fix typo.
11512         * varasm.c (make_decl_one_only): Revert 2003-03-09 patch.
11514 2003-04-01  David Edelsohn  <edelsohn@gnu.org>
11516         * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
11517         power4.md,rios1.md,rios2.md,rs64.md}: Change mult_compare to
11518         imul_compare.  Add lmul_compare.
11519         * config/rs6000/power4.md: Bump some latencies.  Model extra cycle
11520         in second pair of dispatch slots.  Model stores more accurately.
11521         Tweak multiply model.  Add bypasses for CR instructions dependent
11522         on complicated compares.
11523         * config/rs6000/rs6000.md (mulsi3): Name imul_compare patterns.
11524         (muldi3): Add lmul_compare patterns.
11525         * config/rs6000/rs6000.c (rs6000_variable_issue): Move FPLOAD_UX
11526         and FPSTORE_UX to split instructions and add COMPARE,
11527         DELAYED_COMPARE, IMUL_COMPARE, LMUL_COMPARE, IDIV, LDIV.
11528         (rs6000_adjust_cost): Add IMUL_COMPARE and LMUL_COMPARE.
11529         (rs6000_rtx_costs): Separate POWER4 multiply case.
11531 2003-04-01  Ulrich Weigand  <uweigand@de.ibm.com>
11533         * config/s390/s390.c (s390_fixup_clobbered_return_reg):
11534         Do nothing if __builtin_return_address was not used.
11536 Tue Apr  1 18:18:23 CEST 2003  Jan Hubicka  <jh@suse.cz>
11538         * i386.md (test patterns):  Allow memory operand in operand1.
11540 2003-02-31  Aldy Hernandez  <aldyh@redhat.com>
11542         * testsuite/gcc.c-torture/execute/simd-3.c: New.
11544         * expr.c (expand_expr): Handle VECTOR_CST.
11545         (const_vector_from_tree): New.
11547         * varasm.c (output_constant): Handle VECTOR_CST.
11549         * c-typeck.c (digest_init): Build a vector constant from a
11550         VECTOR_TYPE.
11552         * config/rs6000/rs6000.c: Remove prototype for
11553         easy_vector_constant.
11554         (easy_vector_constant): Add mode parameter.  Rewrite to handle
11555         more easy constants.
11556         (rs6000_emit_move): Pass mode to easy_vector_constant.
11557         Call emit_easy_vector_insn for SPE V2SI vector constant moves.
11558         (emit_easy_vector_insn): New.
11559         (easy_vector_same): New.
11560         (EASY_VECTOR_15): New macro.
11561         (EASY_VECTOR_15_ADD_SELF): New macro.
11562         (bdesc_2arg): Rename to xorv2si3.
11563         (easy_vector_constant_add_self): New.
11564         (input_operand): Allow vector constants.
11566         * config/rs6000/rs6000.h (PREDICATE_CODES): Add
11567         easy_vector_constant, easy_vector_constant_add_self.
11568         (EXTRA_CONSTRAINT): Add 'W'.
11570         * config/rs6000/rs6000-protos.h: Add prototype for
11571         easy_vector_constant, emit_easy_vector_insn.
11573         * config/rs6000/altivec.md (xorv8hi3): New.
11574         (xorv16qi3): New.
11575         Remove all _const0 patterns.
11576         (movv4si_internal): Rewrite to use code.  Add vector constant to
11577         vector alternative.  Add splitter.
11578         (movv8hi_internal): Same.
11579         (movv16qi_internal): Same.
11580         (movv4sf_internal): Same.
11581         Change the unspecs for vspltis* to use constants.
11583         * config/rs6000/spe.md ("xorv4hi3"): New.
11584         ("spe_evxor"): Rename to xorv2si3.
11585         ("xorv1di3"): New.
11586         Remove all _const0 patterns.
11587         (movv2si_internal): Rewrite to use code.  Add vector constant to
11588         alternatives.  Add splitter.
11589         (movv4hi_internal): Add vector constant to alternatives.
11590         (movv1di_internal): Same.
11591         (movv2sf_internal): Same.
11593 2003-03-31  Mark Mitchell  <mark@codesourcery.com>
11595         PR c/9936
11596         * c-decl.c (grokdeclarator): Clear SAVE_EXPR_CONTEXT for
11597         variably-sized arrays in parameters.
11598         (set_save_expr_context): New function.
11599         (c_expand_body): Use it, via walk_tree.
11601 2003-03-31  Eric Christopher  <echristo@redhat.com>
11603         * combine.c (can_combine_p): Allow ZERO_EXTRACT and STRICT_LOW_PART.
11604         (combinable_i3pat): Remove call to expand_field_assignment and
11605         #if 0'd code.
11607 2003-03-31  Mark Mitchell  <mark@codesourcery.com>
11609         PR c++/10278
11610         * c-common.c (finish_label_address_expr): Handle the
11611         error_mark_node.
11613 2003-03-31  Richard Henderson  <rth@redhat.com>
11615         * real.c (real_identical): Reorg so as to not compare
11616         signalling for normals.
11618 2003-03-31  Stephane Carrez  <stcarrez@nerim.fr>
11620         * config/m68hc11/m68hc11.c (hard_reg_operand): Check the mode.
11622 2003-03-31  Stephane Carrez  <stcarrez@nerim.fr>
11624         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't rely on REG_WAS_0
11625         notes as they are boggus.
11626         (m68hc11_gen_movqi): Likewise.
11628 2003-03-31  Stephane Carrez  <stcarrez@nerim.fr>
11630         * config/m68hc11/m68hc11.c (expand_prologue): For an interrupt handler
11631         save the soft registers after the frame pointer so that gdb can unwind
11632         the frame more easily.
11633         (expand_epilogue): Likewise in opposite order; allow to use X register
11634         as scratch if the return value is by reference.
11636 2003-03-31  Jason Merrill  <jason@redhat.com>
11638         PR java/10145
11639         * stor-layout.c (update_alignment_for_field): Respect
11640         DECL_USER_ALIGN for zero-length bitfields, too.
11641         * c-decl.c (finish_struct): Don't set DECL_ALIGN for normal
11642         fields.
11644 2003-03-31  Matt Austern  <austern@apple.com>
11646         * cpppch.c (struct cpp_savedstate): Add defs and n_defs members.
11647         (count_defs): Keep track of number of defs as well as total size.
11648         (write_defs): Put every definition in cpp_savedstate's defs array.
11649         (comp_hashnode): Define.  Comparison function for qsort.
11650         (cpp_write_pch_deps): Sort definitions before writing them.
11651         (struct ht_node_list): Define. Like cpp_savedstate but simpler.
11652         (collect_ht_nodes): Define.
11653         (cpp_valid_state): When verifying that undefined identifiers in
11654         the pch file are still undefined, read a sorted list of undefined
11655         identifiers, collect all defined identifiers into a sorted list,
11656         and walk through both lists to make sure there's no match.
11658 2003-03-31  Kazu Hirata  <kazu@cs.umass.edu>
11660         * config/h8300/h8300.md (a peephole2): New.
11662 2003-03-31  Michael Matz  <matz@suse.de>
11664         * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Change 1 into 0.
11666 2003-03-31  Segher Boessenkool  <segher@koffie.nl>
11668         PR target/10177
11669         * config/rs6000/rs6000.h (HARD_REGNO_RENAME_OK): New.
11670         * config/rs6000/rs6000.c (compute_vrsave_mask): Don't mark
11671         all call-clobbered registers as used.
11673 2003-03-31  Michael Matz  <matz@suse.de>
11675         * cppexp.c (cpp_classify_number): Accept '.' after "0x".
11676         * testsuite/gcc.dg/cpp/c99-hexfloat-3.c: New file.
11678 2003-03-31  Nathan Sidwell  <nathan@codesourcery.com>
11680         * gcov.c: Add -a & -u options.
11681         (struct arc_info): Add local_span, is_call_non_return,
11682         is_nonlocal_return, is_unconditional flags, remove is_call flag.
11683         (struct block_info): Add flags, is_call_site, is_nonlocal_return
11684         members. Make encodings a union with span member.
11685         (struct function_info): Add blocks_executed, line, src, line_next
11686         members.
11687         (struct coverage_info): Make branches a union with blocks member.
11688         (struct source_info): Add functions member.
11689         (object_summary, program_count): New global variables.
11690         (flag_all_blocks, flag_unconditional): New flags.
11691         (find_source, output_branch_count): New functions.
11692         (print_usage): Adjust.
11693         (options): Adjust.
11694         (process_args): Adjust.
11695         (read_graph_file) <GCOV_TAG_FUNCTION>: Adjust.
11696         <GCOV_TAG_BLOCKS>: Read flags.
11697         <GCOV_TAG_LINES>: Adjust.
11698         (read_count_file): Process SUMMARY tags.
11699         (solve_flow_graph): Set is_unconditional and clear is_call_site
11700         appropriately.
11701         (add_branch_counts): Adjust. Don't count unconditional branches.
11702         (add_line_counts): Deal with all-blocks mode, accumulate block
11703         coverage.
11704         (accumulate_line_counts): Adjust, generate local spanning tree for
11705         all-blocks mode.
11706         (output_lines): Adjust.
11707         * profile.c (branch_prob): Alter GCOV_FUNCTION_TAG record.
11708         * doc/gcov.texi: Document.
11710 2003-03-31  Kazu Hirata  <kazu@cs.umass.edu>
11712         * config/h8300/h8300.md: Organize peephole2's that transform
11713         (compare (reg:HI) (const_int)).
11715 2003-03-31  Roger Sayle  <roger@eyesopen.com>
11717         * emit-rtl.c (dconstm2, dconsthalf): New real constants.
11718         (init_emit_once): Initialize dconstm2 and dconsthalf here.
11719         * real.h (dconstm2, dconsthalf): Add prototypes here.
11720         * real.c (real_sqrt): Use dconsthalf rather than local copy.
11721         * builtins.c (fold_builtin): When optimizing sqrt(exp(x)) as
11722         exp(x/2.0) remember to fold the division if possible.
11723         Fold sin(0.0) as 0.0, cos(0.0) as 1.0, pow(x,1.0) as x,
11724         pow(x,-1.0) as 1.0/x, pow(x,2.0) as x*x, pow(x,-2.0) as
11725         1.0/(x*x) and pow(x,0.5) as sqrt(x).
11727 2003-03-31  Kazu Hirata  <kazu@cs.umass.edu>
11729         * config/h8300/h8300.md (a new peephole2): New.
11731 2003-03-31  Richard Sandiford  <rsandifo@redhat.com>
11733         * gcse.c (simple_mem): Return false for floating-point accesses
11734         if flag_float_store is true.
11736 2003-03-30  Roger Sayle  <roger@eyesopen.com>
11738         * gcse.c (gcse_constant_p): New function to identify constants
11739         suitable for constant propagation, including COMPARE with two
11740         integer constant arguments.
11741         (hash_scan_set): Use gcse_constant_p.
11742         (find_avail_set): Likewise.
11743         (cprop_insn): Likewise.
11744         (do_local_cprop): Likewise.
11745         (find_implicit_sets): Likewise.
11746         (find_bypass_set): Likewise.
11748 2003-03-30  Matt Kraai  <kraai@alumni.cmu.edu>
11750         * except.h: Remove definition of varray_type.
11752 2003-03-30  Richard Henderson  <rth@redhat.com>
11754         PR opt/10011, opt/10252:
11755         * toplev.c (rest_of_compilation): Run purge_builtin_constant_p
11756         before post-gcse cse pass.
11758 2003-03-30  Roger Sayle  <roger@eyesopen.com>
11760         * dojump.c (do_jump): Copy SUBREGs into a pseudo for comparison.
11762 2003-03-30  DJ Delorie  <dj@redhat.com>
11764         * profile.c (instrument_edges): Make sure any newly created
11765         jump insns have correct jump label info.
11767 2003-03-30  Richard Henderson  <rth@redhat.com>
11769         * cfgbuild.c (make_edges): Use tablejump_p.
11770         * cfgcleanup.c (label_is_jump_target_p): Likewise.
11771         * cfglayout.c (cfg_layout_can_duplicate_bb_p): Likewise.
11772         * cfgrtl.c (flow_delete_block_noexpunge): Likewise.
11773         (try_redirect_by_replacing_jump): Likewise.
11774         (redirect_edge_and_branch): Likewise.
11775         * cse.c (fold_rtx): Likewise.
11776         * jump.c (delete_related_insns): Likewise.
11777         * rtlanal.c (get_jump_table_offset): Likewise.
11778         * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): Likewise.
11780 2003-03-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
11782         * Makefile.in (STRICT_WARN): Don't warn for ISO C constructs.
11783         (STRICT2_WARN): Likewise.
11785 2003-03-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11787         PR other/6955
11788         * collect2.c (collect_wait): Use WCOREDUMP and fix output message.
11789         * system.h (WCOREDUMP, WCOREFLG): Define if necessary.
11791 2003-03-30  Richard Henderson  <rth@redhat.com>
11793         PR c/10083
11794         * config/alpha/alpha.md (umuldi3_highpart): Change to expander;
11795         don't zero_extend const inputs.
11797 2003-03-30  Kazu Hirata  <kazu@cs.umass.edu>
11799         * reload1.c (reload_cse_move2add): Fix a comment typo.
11801 2003-03-30  Kazu Hirata  <kazu@cs.umass.edu>
11803         * config/h8300/h8300.md (a peephole2): Remove useless code.
11805 2003-03-29  Kazu Hirata  <kazu@cs.umass.edu>
11807         * config/h8300/h8300.md (*iorsi3_and_ashift): New.
11808         (*iorsi3_and_lshiftrt): Likewise.
11809         (*iorsi3_zero_extract): Likewise.
11811 2003-03-29  Kazu Hirata  <kazu@cs.umass.edu>
11813         * config/h8300/h8300.md (*insv_si_8_8): New.
11814         (*insv_si_8_8_lshiftrt_8): Likewise.
11815         (a peephole2): Likewise.
11817 2003-03-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11819         * doc/contrib.texi: Add Eric Botcazou and Roger Sayle.
11820         Uniformly use bugfix instead of bug fix.
11822 2003-03-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11824         PR doc/895
11825         * ONEWS: Remove those items that already appear in the EGCS
11826         release notes on our web pages.
11828 2003-03-29  Alan Modra  <amodra@bigpond.net.au>
11830         * config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Respect
11831         TARGET_HARD_FLOAT.  Reformat.
11832         (FUNCTION_ARG_REGNO_P): Likewise, and remove unneeded casts.
11834 2003-03-28  Albert Chin-A-Young  <china@thewrittenword.com>
11836         * gcc/fixinc/inclhack.def: Update solaris_mutex_init_1 to
11837         work on Solaris 2.5.1.
11839 2003-03-28  Kazu Hirata  <kazu@cs.umass.edu>
11841         * config/h8300/h8300.md (*addsi3_and_r_1): Put under plus:SI
11842         section of h8300.md
11843         (*addsi3_and_nor_r_1): Likewise.
11845 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
11847         * config/s390/s390.c (s390_emit_prologoue): Make sure backchain is
11848         set up before any trapping memory access if flag_non_call_exceptions.
11850 2003-03-29  Alan Modra  <amodra@bigpond.net.au>
11852         * reload1.c (reload_as_needed): Allow a USE in asm reloads.
11854         * loop.c: (find_mem_in_note_1, find_mem_in_note): Comment.
11856 2003-03-28  Nathanael Nerode  <neroden@gcc.gnu.org>
11858         * configure.in: Clarify comments.
11859         * configure: Regenerate.
11861 2003-03-28  Ulrich Weigand  <uweigand@de.ibm.com>
11863         * config/s390/s390.md ("literal_pool_31"): Output pool anchor
11864         label even if pool empty when generating PIC.
11865         ("literal_pool_31", "literal_pool_64"): Coding style cleanup.
11867 2003-03-28  Kazu Hirata  <kazu@cs.umass.edu>,
11868             Dhananjay Deshpande  <dhananjayd@kpit.com>
11870         PR target/10205
11871         * config/h8300/h8300.c (h8300_initial_elimination_offset):
11872         Correct the offset computation when TARGET_NORMAL.
11874 2003-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
11876         PR target/10067
11877         * config/sparc/sparc.md (jump pattern): Correct order
11878         when issuing the annuling marker.
11880 2003-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
11882         PR c/8281
11883         * config/sparc/sparc.md (movdi_insn_sp32_v9): Remove 'f-f' alternative.
11884         (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
11886 2003-03-28  Alan Modra  <amodra@bigpond.net.au>
11888         * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
11889         globalize_label.
11890         * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
11891         * config/i960/i960.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
11892         * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
11893         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
11894         * config/mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
11895         * config/sparc/sparc.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
11896         * config/v850/v850.c (v850_output_aligned_bss): Likewise.
11898 2003-03-28  Alan Modra  <amodra@bigpond.net.au>
11900         * loop.c: (find_mem_in_note_1, find_mem_in_note): New functions.
11901         (replace_loop_mems): Add "written" param.  Remove invalid REG_EQUAL
11902         notes after hoisting.
11903         (load_mems): Adjust replace_loop_mems call.
11905 2003-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
11906             Richard Henderson  <rth@redhat.com>
11908         PR target/10114 and PR target/10084
11909         * dwarf2out.c (mem_loc_descriptor): Handle LO_SUM.
11911 2003-03-27  Richard Henderson  <rth@redhat.com>
11913         * config/alpha/alpha.md (adddi_er_high_l): Valid only after reload.
11915 2003-03-27  Roger Sayle  <roger@eyesopen.com>
11917         * fold-const.c (fold_inf_compare):  New function to simplify FP
11918         comparisons against +Infinity or -Infinity.
11919         (fold):  Optimize floating point comparisons against Infs and NaNs.
11921 2003-03-27  Janis Johnson  <janis187@us.ibm.com>
11923         * libgcov.c: Provide only dummy functions if libc is not available.
11925 2003-03-27  Richard Henderson  <rth@redhat.com>
11927         * real.h (struct real_value): Add signalling.
11928         (EXP_BITS): Decrement.
11929         * real.c (get_canonical_qnan): Don't set MSB-1.
11930         (get_canonical_snan): Likewise.  Set signalling.
11931         (real_identical): Compare signalling.
11932         (round_for_format): Remove force-one-bit on code.
11933         (real_nan): Likewise.  Set signalling.
11934         (encode_ieee_single): Add force-one-bit code; honor signalling.
11935         (encode_ieee_double, encode_ieee_extended, encode_ieee_quad): Likewise.
11936         (decode_ieee_single): Set signalling.
11937         (decode_ieee_double, decode_ieee_extended, decode_ieee_quad): Likewise.
11939 2003-03-27  Olivier Hainque  <hainque@act-europe.fr>
11941         PR ada/9953
11942         * ada/Makefile.in (gnatlib configuration for HPUX): Split
11943         the general section for HPUX into specific sections for
11944         HPUX 10 and HPUX 11. Fix the setting of TGT_LIB in the HPUX
11945         11 case.
11947 2003-03-27  Glen Nakamura  <glen@imodulo.com>
11949         PR opt/10087
11950         * loop.c (loop_givs_reduce): Skip bivs with duplicate locations
11951         while incrementing giv.
11952         (record_biv): Check for duplicate biv locations and
11953         set (struct induction *) v->same if found.
11955 2003-03-27  David Mosberger  <davidm@hpl.hp.com>
11957         * unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind
11958         v0.9 API change: replace read of UNW_REG_HANDLER with
11959         unw_get_proc_info().
11960         (_Unwind_GetLanguageSpecificData): Replace read of UNW_REG_LSDA
11961         with unw_get_proc_info().
11962         (_Unwind_GetRegionStart): Replace UNW_REG_PROC_START with
11963         unw_get_proc_info().
11965 2003-03-27  Vladimir Makarov  <vmakarov@redhat.com>
11967         * config/rs6000/8540.md: Use presence_set instead of absence_set.
11969 2003-03-26  Richard Henderson  <rth@redhat.com>
11971         * c-decl.c (finish_function): Always defer if DECL_DECLARED_INLINE_P.
11973 2003-03-26  Roger Sayle  <roger@eyesopen.com>
11975         PR bootstrap/10051, PR bootstrap/10169.
11976         * mips-tfile.c (init_file): Don't provide a static initializer.
11977         (initialize_init_file): Initialize the contents of init_file.
11978         (add_file): Call initialize_init_file if not already initialized.
11980 2003-03-26  Ulrich Weigand  <uweigand@de.ibm.com>
11982         * config/s390/s390.c (s390_optimize_prolog): Do not save/restore
11983         registers used for global asm variables.
11984         (s390_frame_info, s390_arg_frame_offset): Likewise.
11985         (s390_emit_prologue, s390_emit_epilogue): Likewise.
11987 2003-03-26  Vladimir Makarov  <vmakarov@redhat.com>
11989         * config/rs6000/8540.md: New file.
11991         * config/rs6000/{40x.md, 603.md, 6xx.md, 7450.md, 7xx.md, mpc.md,
11992         power4.md, rios1.md, rios2.md, rs64.md}: Add mult_compare to
11993         reservations for imul.
11995         * config/rs6000/rs6000.md: Include 8540.md.  Change
11996         delayed_compare onto mult_compare for insns generating
11997         multiplication.
11998         (mult_compare, fpsimple, brinc, vecdiv, veccmpsimple, vecfdiv):
11999         New type attribute values.
12001         * config/rs6000/spe.md (*negsf2_gp, *abssf2_gpr): Use type
12002         fpsimple instead of fp.
12003         (*divsf3_gpr): Use type vecfdiv instead of fp.
12004         (spe_evfsabs, spe_evfsnabs, spe_evfsneg): Use type vecsimple
12005         instead of vecfloat.
12006         (spe_evfsdive): Use type vecfdiv instead of vecfloat.
12007         (spe_brinc): Use type brinc instead of veccomplex.
12008         (spe_evaddw, spe_evaddiw): Use type vecsimple instead of
12009         veccomplex.
12010         (spe_evdivws, spe_evdivwu): Use type vecdiv instead of veccomplex.
12011         (*movv2si_internal, *movv1di_internal, *movv4hi_internal,
12012         *movv2sf_internal): Define type attribute values for all
12013         alternatives.
12014         (cmpsfeq_gpr, cmpsfgt_gpr, cmpsflt_gpr): Use type veccmp instead
12015         of fpcompare.
12016         (tstsfeq_gpr, tstsfgt_gpr, tstsflt_gpr): Use type veccmpsimple
12017         instead of fpcompare.
12019 2003-03-26  David Edelsohn  <edelsohn@gnu.org>
12021         * config/rs6000/power4.md: Allow delay between dispatch and
12022         function units for simple instructions.  Correct store units.
12023         Allow branch to occupy as many dispatch slots as necessary.
12025 2003-03-26  Jakub Jelinek  <jakub@redhat.com>
12027         * config/ia64/ia64.c (ia64_expand_op_and_fetch): Fix comment.
12028         (ia64_expand_compare_and_swap): Use always DImode ar.ccv,
12029         zero extend old to it.
12030         * config/ia64/ia64.md (cmpxchg_acq_si): Remove mode from ccv
12031         operand.
12033 2003-03-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
12035         PR target/7784
12036         * reload.c (find_reloads_address): Handle
12037         (PLUS (PLUS (REG) (REG)) (CONST_INT)) form for
12038         all base registers.
12040 2003-03-25  Marcelo Abreu  <mmabreu@inf.ufrgs.br>
12042         PR other/10203
12043         * version.c: Reference the GCC web site in the URL.
12045 2003-03-26  Alan Modra  <amodra@bigpond.net.au>
12047         * c-incpath.c (add_standard_paths): Add both "translated" and
12048         non-translated header paths.
12050 2003-03-25  Loren James Rittle  <ljrittle@acm.org>
12052         * doc/install.texi (*-*-freebsd*): Update with known status.
12054 2003-03-21  Jason Merrill  <jason@redhat.com>
12056         PR optimization/10171
12057         * unroll.c (unroll_loop): Don't delete the jump at the end unless
12058         we also delete a jump at the beginning.
12060 2003-03-25  Stephane Carrez  <stcarrez@nerim.fr>
12062         * doc/contrib.texi (Contributors): Mention self as 68HC11/68HC12
12063         contributor.
12065 Tue Mar 25 20:35:51 CET 2003  Jan Hubicka  <jh@suse.cz>
12067         * i386.c (ix86_rtx_costs): For -fpic and x86-64 local symbolic
12068         constants are not expensive.
12070 Mon Mar 24 20:03:03 CET 2003  Jan Hubicka  <jh@suse.cz>
12072         PR opt/10056
12073         * cfglayout.c (fixup_reorder_chain):  Fix dealing with the conditional
12074         jump jumping to the next instruction.
12075         * cfgrtl.c (force_nonfallthru_and_redirect):  Likewise.
12077 2003-03-25  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12079         * doc/passes.texi (Passes): Properly document that we do not
12080         perform jump2 any longer; remove command-line option -dJ.
12082 2003-03-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
12084         PR optimization/8746
12085         * config/i386/i386.md (and promoting splitters): Disable HImode to
12086         SImode promoting when the sign bit matters and is not preserved, or
12087         when TARGET_FAST_PREFIX is true. Disable promoting when optimizing
12088         for size.
12090 2003-03-24  Kazu Hirata  <kazu@cs.umass.edu>
12092         * config/h8300/h8300.md (a peephole2): Extend to support loads
12093         in QImode and HImode.
12095 2003-03-24  Stephane Carrez  <stcarrez@nerim.fr>
12097         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Add _call_far and
12098         _return_far
12099         (MULTILIB_OPTIONS): Don't multilib on -mlong-calls.
12100         (MULTILIB_EXCEPTIONS): Likewise.
12101         * config/m68hc11/m68hc11.md ("call"): Support far calls for 68HC11
12102         by calling some board support routine.
12103         ("call_value"): Likewise.
12104         ("*return_void"): Likewise for return.
12105         ("*return_16bit"): Likewise.
12106         ("*return_32bit"): Likewise.
12107         * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Generate .far
12108         for 68HC11 too.
12109         (DWARF2_ADDR_SIZE): Use 4 so that addresses can
12110         * config/m68hc11/m68hc11.c (m68hc11_override_options): Accept
12111         -mlong-calls for 68HC11.
12112         * config/m68hc11/larith.asm (declare_near): New macro.
12113         (__premain, ___negsi2, ___one_cmplsi2, ___ashlsi3): Use it.
12114         (___ashrsi3, ___lshrsi3, ___lshrhi3, ___lshlhi3): Likewise.
12115         (___rotrhi3, ___rotlhi3, ___ashrhi3, ___ashrqi3): Likewise.
12116         (___lshlqi3, __divmodhi4, ___mulqi3, ___mulhi3): Likewise.
12117         (__mulhi32): Likewise.
12118         (ret): Update macro for 68HC11.
12119         (__far_trampoline): Implement for 68HC11.
12120         (__call_a16, __call_a32, __return_void, __return_16): New support
12121         routines for 68HC11 memory bank switching calling support.
12122         (__return_32): Likewise.
12124 2003-03-24  Neil Booth  <neil@daikokuya.co.uk>
12126         * toplev.c (independent_decode_option): Don't skip a 'Y' prefix.
12128 2003-03-24  Janis Johnson  <janis187@us.ibm.com>
12130         * doc/install.texi (Testing): Mention test result links from build
12131         status pages.
12133 2003-03-24  Mark Mitchell  <mark@codesourcery.com>
12135         * function.c (put_var_into_stack): Change bool parameter to int.
12136         (gen_mem_addressof): Likewise.
12137         * rtl.h (gen_mem_addressof): Likewise.
12138         * tree.h (put_var_into_stack): Likewise.
12139         * config/alpha/alpha.c (alpha_gp_save_rtx): Adjust call to
12140         gen_mem_addressof or put_var_into_stack.
12141         * config/c4x/c4x.c (c4x_expand_builtin): Likewise.
12142         * config/ia64/ia64.c (spill_tfmode_operand): Likewise.
12144 2003-03-24  Kazu Hirata  <kazu@cs.umass.edu>
12146         * config/h8300/h8300.md (a peephole2): New.
12148 2003-03-24  Jakub Jelinek  <jakub@redhat.com>
12150         * dojump.c (do_jump): Handle UNSAVE_EXPR specially.
12152 2003-03-24  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12154         * doc/contrib.texi (Contributors): Update Janis Johnson.
12156 2003-03-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
12158         PR target/10072
12159         * combine.c (simplify_if_then_else): Check that the mode
12160         has MODE_INT class before applying the (OP Z (mult COND C2))
12161         transformation.
12163 2003-03-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
12165         PR optimization/9414
12166         * config/sparc/sparc.md (widening peepholes): Use
12167         widen_memory_access instead of change_address.
12169 2003-03-23  Mark Mitchell  <mark@codesourcery.com>
12171         PR c++/7086
12172         * c-typeck.c (c_mark_addressable): Adjust calls to
12173         put_var_into_stack.
12174         * expr.c (expand_expr): Likewise.
12175         * function.c (put_var_into_stack): Add rescan parameter.  Do not
12176         call fixup_var_refs when rescan is false.
12177         (gen_mem_addressof): Likewise.
12178         (assign_parms): Adjust calls to put_var_into_stack.
12179         (setjmp_protect): Likewise.
12180         (setjmp_protect_args): Likewise.
12181         * rtl.h (gen_mem_addressof): Change prototype.
12182         * stmt.c (expand_decl): Adjust calls to put_var_into_stack.
12183         * tree.h (put_var_into_stack): Change prototype.
12185 2003-03-23  Arpad Beszedes <beszedes@cc.u-szeged.hu>
12187         PR middle-end/9967
12188         * builtins.c (expand_builtin_fputs): When optimizing for size,
12189         don't transform fputs into fwrite.
12191 2003-03-23  Glen Nakamura <glen@imodulo.com>
12193         PR c/8224
12194         * fold-const.c (extract_muldiv_1): Don't pass through type conversions
12195         when signedness changes for division or modulus.
12197 2003-03-24  Alan Modra  <amodra@bigpond.net.au>
12199         * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
12200         globalize_label.
12202 2003-03-23  Roger Sayle  <roger@eyesopen.com>
12204         PR c/10178
12205         * stmt.c (expand_end_case_type): Check for overflow in range when
12206         determining whether to use a bit-test implementation.
12208 2003-03-23  Richard Henderson  <rth@redhat.com>
12210         * cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps
12211         before flow2.
12212         * cfgrtl.c (try_redirect_by_replacing_jump): Similarly.
12214 2003-03-23  Richard Henderson  <rth@redhat.com>
12216         PR opt/10116
12217         * ifcvt.c (find_if_block): Disallow tablejump insns outgoing
12218         from then_bb or else_bb after flow2.
12220 2003-03-23  Zack Weinberg  <zack@codesourcery.com>
12222         * configure.in: Check whether it is necessary to link against
12223         libm to use ldexp.
12224         * configure: Regenerate.
12225         * Makefile.in: Add LDEXP_LIB substitution variable.
12227 2003-03-23  Kazu Hirata  <kazu@cs.umass.edu>
12229         * config/h8300/h8300.md: Fix comment typos.
12231 2003-03-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12233         * pa.c (output_cbranch): Fix typo in comment.
12235 2003-03-22  Richard Henderson <rth@redhat.com>
12237         * cfgcleanup.c (insns_match_p): Do not do EQUIV substitution
12238         after reload.
12240 2003-03-22  DJ Delorie  <dj at redhat dot com>,
12241         Bruce Korb  <bkorb at gnu dot org>
12243         * fixinc/inclhack.def (solaris_mutex_init_1): New; Fix
12244         buggy Solaris 2.6 mutex/cond initializers.
12245         (solaris_mutex_init): Rename to solaris_mutex_init_2.
12246         * fixinc/fixincl.x: Regenerate.
12247         * fixinc/tests/base/pthread.h: Update.
12248         * fixinc/fixincl.c(initialize): be explicit about the default case
12249         and indicate verbose level when being very, very verbose.
12250         * fixinc/check.tpl(VERBOSE): provide a means for passing the value in
12252 2003-03-22  Andreas Jaeger  <aj@suse.de>
12254         * config/i386/i386.c (ix86_init_machine_status): Return value.
12256 2003-03-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12258         * pa.c (output_cbranch, output_bb, output_bvb): Output nop for
12259         conditional branch to the following instruction.  Use next_real_insn
12260         instead of next_active_insn.
12261         (output_dbra, output_movb, jump_in_call_delay): Use next_real_insn
12262         instead of next_active_insn.
12264 2003-03-22  Ulrich Weigand  <uweigand@de.ibm.com>
12266         * config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o'
12267         instead of 'm' constraint in forced-split alternatives.
12268         ("*adddi3_31", "*subdi3_31"): Likewise.  Also, pass 0 instead of 1 as
12269         VALIDATE_ADDRESS parameter to operand_subword.
12271 2003-03-22  Kazu Hirata  <kazu@cs.umass.edu>
12273         * config/h8300/h8300.c (notice_update_cc): Correctly handle
12274         the case where the set destination is STRICT_LOW_PART.
12276 2003-03-22  Svein E. Seldal  <Svein.Seldal@solidas.com>
12278         * config/c4x/t-c4x (INSTALL_LIBGCC): Make gcc recognize a c33 as a
12279         c30 instead of a c40 processor.
12281 2003-03-22  Alan Modra  <amodra@bigpond.net.au>
12283         * combine.c (simplify_comparison <AND>): Use gen_int_mode.  Tidy.
12285 2003-03-21  Zack Weinberg  <zack@codesourcery.com>
12287         * c-common.c: Include intl.h.
12288         (shadow_warning): Rewrite to allow better diagnostic translations.
12289         * c-common.h: Update prototype of shadow_warning.  Declare sw_kind enum.
12290         * c-decl.c (warn_if_shadowing): Update calls to shadow_warning;
12291         use it throughout.
12292         * Makefile.in (c-common.o): Add intl.h.
12294 2003-03-21  Nathanael Nerode  <neroden@gcc.gnu.org>
12296         * config.gcc: Remove 'float_format'.
12298         * fixproto: Define NULL and size_t in generated stdlib.h and
12299         unistd.h.  Kill unused required_stdlib_h, required_unistd_h.
12300         Rearrange file generation loop for readability.  Generate time.h,
12301         string.h if missing.
12302         * tsystem.h: Include <string.h>, <time.h> unconditionally.
12303         * config.gcc: Blow away POSIX defines.
12305 2003-03-22  Stephane Carrez  <stcarrez@nerim.fr>
12307         * config/m68hc11/m68hc11.md ("call_value"): Fix trap check.
12309 2003-03-22  Stephane Carrez  <stcarrez@nerim.fr>
12311         * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in
12312         writing .interrupt command.
12313         * config/m68hc11/m68hc11.md ("call"): Look at the symbol to see
12314         if it's a far or near function.
12315         ("call_value"): Likewise.
12316         * config/m68hc11/m68hc11.c (m68hc11_attribute_table): Add far and
12317         near attributes.
12318         (m68hc11_handle_fntype_attribute): Accept attributes on methods.
12319         (m68hc11_override_options): Ignore -mlong-calls for 68HC11.
12320         (m68hc11_initial_elimination_offset): Set current_function_far
12321         according to attributes.
12322         (expand_prologue): Likewise.
12323         (trap_handler_symbol): New global to keep track of trap handlers.
12324         (m68hc11_encode_section_info): Mark symbol as far if needed; set
12325         trap symbol.
12326         (m68hc11_is_far_symbol): New function.
12327         (m68hc11_is_trap_symbol): New function.
12328         * config/m68hc11/m68hc11-protos.h (m68hc11_is_far_symbol): Declare.
12329         (m68hc11_is_trap_symbol): Declare.
12331 2003-03-21  Jan Hubicka  <jh@suse.cz>
12333         * i386.c (ix86_compute_frame_layout): Recompute fast prologues
12334         only when amount of saved regs changed.
12335         (ix86_init_machine_status): Initialize use_fast_prologue_epilgoue_nregs.
12336         * i386.h (machine_function): New fields use_fast_prologue_epilgoue_nregs.
12338 2003-03-21  Jan Hubicka  <jh@suse.cz>
12340         PR inline-asm/7916
12341         * function.c (instantiate_virtual_regs_lossage): New function.
12342         (instantiate_virtual_regs_1): Use it.
12343         (instantiate_virtual_regs): Do not continue in substition when insn has
12344         been deleted.
12346 2003-03-21  Kazu Hirata  <kazu@cs.umass.edu>
12348         * combine.c (make_field_assignment): Fix a warning.
12350 2003-03-21  Kazu Hirata  <kazu@cs.umass.edu>
12352         * config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New.
12354 2003-03-21  Dale Johannesen  <dalej@apple.com>
12356         * config/rs6000/rs6000.h (REG_ALLOC_ORDER):  Increase
12357         priority for R2 on Darwin.
12358         (HARD_REGNO_MODE_OK):  Don't accept R31 for DFmode.
12360 2003-03-21  Kazu Hirata  <kazu@cs.umass.edu>
12362         * combine.c (make_field_assignment): Remove unnecessary AND
12363         when storing into zero_extract.
12365 2003-03-21  Zack Weinberg  <zack@codesourcery.com>
12367         * aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete.
12368         * configure.in: Don't call gcc_AC_C_FLOAT_FORMAT.
12369         * defaults.h: Remove reference to HOST_FLOAT_WORDS_BIG_ENDIAN
12370         in comment.
12372 2003-03-21  DJ Delorie  <dj@redhat.com>
12374         * optabs.c (init_integral_libfuncs): Make sure we init at least up
12375         to "long long" size words.
12377 2003-03-21  Ulrich Weigand  <uweigand@de.ibm.com>
12379         * config/s390/s390.h: Do not include fixdfdi.h on s390x.
12380         (TARGET_64BIT): Define as compile-time constant when IN_LIBGCC2.
12381         (MIN_UNITS_PER_WORD): Do not define when IN_LIBGCC2.
12383 2003-03-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
12385         PR doc-bug/9813
12386         * doc/extend.texi: Move misplaced paragraph about underscores in
12387         variables in macros.
12389 2003-03-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
12390             Richard Henderson  <rth@redhat.com>
12392         PR optimization/8366
12393         * config/sparc/sparc.h: (SYMBOLIC_CONST): New macro.
12394         (GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form
12395         PIC+SYMBOLIC_CONST in other modes than Pmode.
12396         (GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark
12397         the form PIC+SYMBOLIC_CONST as mode dependent.
12399 2003-03-21  DJ Delorie  <dj@redhat.com>
12401         * config/stormy16/stormy16.c (xstormy16_expand_arith): Make
12402         sure we always emit at least one insn.
12404 2003-03-21  Christopher Faylor  <cgf@redhat.com>
12406         * config.gcc (i[34567]86-*-cygwin*): Use new common makefile
12407         stub t-cygming. Use common target header cygming.h. Add extra
12408         c_target_obj and cxx_target_obj file. Default cygwin to posix
12409         threading. Enforce i386 as float format.
12410         (i[34567]86-*-mingw*): Use new common makefile stub t-cygming.
12411         Remove cygwin.h as target header. Use common target header
12412         cygming.h  Enforce i386 as float format. Correct typo.
12413         * config/i386/cygming.h: New file, containing definitions
12414         common to mingw32 and cygwin.
12415         * config/i386/cygwin.h: Remove definitions common to cygwin and
12416         mingw.  Simplify special spec logic.  Define "wrappers" around
12417         certain include path defines to accommodate -mno-cygwin.
12418         Remove some #if 0'ed code.
12419         (STANDARD_INCLUDE_DIR) Always define when not cross-compiling.
12420         (LINK_SPEC): Don't use cyg search prefix when -mno-cygwin.
12421         (GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan.
12422         * config/i386/mingw32.h: Remove definitions common to cygwin and
12423         mingw.
12424         (EXTRA_OS_CPP_BUILTINS): Adjust.
12425         (TARGET_VERSION): Define.
12426         * config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override
12427         mingw32.h definitions.
12428         (LIBGCC_SPEC): Add libmingwex.a as in mingw32.h.
12429         * config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o.
12430         Add compilation rules for cygwin1.o cygwin2.o.
12431         * config/i386/cygwin1.c: New file.
12432         * config/i386/cygwin2.c: New file.
12433         * config/i386/t-cygming: New makefile stub.
12435 2003-03-20  Richard Henderson  <rth@redhat.com>
12437         * fold-const.c (extract_muldiv_1): Revert changing order of
12438         operands in case MULT_EXPR of 2003-02-16 patch.
12440 2003-03-20  Daniel Berlin  <dberlin@dberlin.org>
12441         Merge changes from new-regalloc-branch
12443         From Michael Matz  <matz@suse.de>
12444         * df.c (df_ref_record_1): Move init of loc to safe point.
12445         Only recurse on interesting things in parallels.
12446         Handle CLASS_CANNOT_CHANGE_MODE smarter.
12447         (df_uses_record): Ditto.
12449         * df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which
12450         it's already okay to use memory operands in (IE doesn't require
12451         adding another insn or anything).
12453 2003-03-20  Richard Henderson  <rth@redhat.com>
12455         PR middle-end/6348
12456         * explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE
12457         different from word_mode.
12459 2003-03-20  Kazu Hirata  <kazu@cs.umass.edu>
12461         * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the
12462         source operand to those that can be extracted with bld.
12464 2003-03-20  Richard Earnshaw  <rearnsha@arm.com>
12466         PR 10066
12467         * arm.md (UNSPEC_PIC_BASE): New constant.
12468         (pic_add_dot_plus_four): Wrap with unspec.
12469         (pic_add_dot_plus_eight): Likewise.
12471 2003-03-20  Kazu Hirata  <kazu@cs.umass.edu>
12473         * config/h8300/h8300.md (*insv_si_1_n): New.
12474         (*insv_si_1_n_lshiftrt): Likewise.
12476 2003-03-20  Roger Sayle  <roger@eyesopen.com>
12478         * fold-const.c (fold_mathfn_compare): New function to simplify
12479         comparisons against built-in math functions.  Fold comparisons
12480         of sqrt against constants.
12481         (fold): Call fold_mathfn_compare when appropriate.
12483 2003-03-20 Richard Earnshaw  <rearnsha@arm.com>
12485         * ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
12486         information.
12488 2003-03-20  Per Bothner  <pbothner@apple.com>
12490         Various cleanups to help compile server.
12492         * cppinit.c (cpp_create_reader):  Take extra hash_table* argument,
12493         and pass that to _cpp_init_hashtable.
12494         (cpp_read_main_file):  Drop hash_table* argument; don't call
12495         _cpp_init_hashtable.
12496         * cpplib.h:  Update declarations to match.
12497         * c-opts.c (c_common_init_options):  Pass ident_hash to
12498         cpp_create_reader.
12499         (c_common_post_options):  Don't pass ident_hash to cpp_read_main_file.
12500         * fix-header.c (read_scan_file):  Likewise pass NULL table to
12501         cpp_create_reader rather than cpp_read_main_file.
12503         * cppfiles.c (cpp_rename_file):  Generalized and renamed
12504         to cpp_change_file.
12505         * cpplib.h:  Update declaration to match.
12506         * c-opts.c (push_command_line_line, finish_options):  Change
12507         cpp_rename_file calls to cpp_change_file.
12509         * line-map.c (add_line_map):  Allow leaving the outermost file.
12510         Allowing entering an outermost-file after the initial time.
12512         * toplev.c (pop_srcloc):  Allow popping from initial file.
12514 2003-03-20  Kazu Hirata  <kazu at cs dot umass dot edu>
12516         * fold-const.c (fold): Fold A - (A & B) into ~B & A.
12518 2003-03-20  Kazu Hirata  <kazu@cs.umass.edu>
12520         * config/h8300/h8300.md (a peephole2): New.
12522 2003-03-20  Kazu Hirata  <kazu@cs.umass.edu>
12524         * config/h8300/h8300.md (*addsi3_and_r_1): New.
12525         (*addsi3_and_not_r_1): Likewise.
12527 2003-03-19  Loren James Rittle  <ljrittle@acm.org>
12529         * Makefile.in (STRICT2_WARN): Add @WERROR@.
12530         (GCC_WARN_CFLAGS): Remove $(WERROR).
12531         (fixinc.sh-warn): New.
12532         * ada/Make-lang.in (ada-warn): Add $(WERROR).
12533         * cp/Make-lang.in (cp-warn): Add $(WERROR).
12534         * f/Make-lang.in (f-warn): Add $(WERROR).
12535         * java/Make-lang.in (java-warn): Add $(WERROR).
12536         * treelang/Make-lang.in (treelang-warn): Add $(WERROR).
12538 2003-03-19  Nathanael Nerode  <neroden@gcc.gnu.org>
12540         * c-common.h (c_dump_tree), c-dump.c (c_dump_tree),
12541         langhooks-def.h (lhd_tree_dump_dump_tree),
12542         langhooks.c (lhd_tree_dump_dump_tree), langhooks.h (*dump_tree):
12543         Change return type from 'int' to 'bool'.  Replace 0 and 1 with
12544         true and false in return statements.
12546 2003-03-19  Kevin Buettner  <kevinb@redhat.com>
12548         * dwarf2out.c (DWARF_INITIAL_LENGTH_SIZE): Define.
12549         (DWARF_COMPILE_UNIT_HEADER_SIZE): Take into account
12550         DWARF_INITIAL_LENGTH_SIZE.
12551         (output_compilation_unit_header, output_pubnames, output_aranges)
12552         (output_line_info): Output 0xffffffff escape value for 64-bit
12553         DWARF extension.
12554         * config/mips/iris6.h (DWARF_INITIAL_LENGTH_SIZE): Define.
12556 2003-03-19  Ulrich Weigand  <uweigand@de.ibm.com>
12558         * config/s390/s390.c (s390_preferred_reload_class): Do not
12559         force constants to the pool unless necessary.
12560         (s390_decompose_address): Prefer to use pointer as base,
12561         not index register.
12562         * config/s390/s390.md ("*tsthiCCT_only"): Remove '?' from
12563         Q alternative.
12564         ("*movdi_64", "*movsi", "movhi", "movqi_64", "movqi",
12565         "*movdf_64", "*movsf"): Add '?' to Q->Q alternatives.
12566         ("*extractqi", "*extracthi", "*zero_extendhisi2_31",
12567         "*zero_extendqisi2_31", "*zero_extendqihi2_31",
12568         "*adddi3_31", "*subdi3_31"): Do not set "type" attribute.
12570 2003-03-19  Jan Hubicka  <jh@suse.cz>
12572         * i386.h (machine_function): New fields use_fast_prologue_epilogue.
12573         * i386.c (use_fast_prologue_epilogue): Remove.
12574         (ix86_frame): New field save_regs-using_mov;
12575         (ix86_compute_frame_layout):  Decide on fast prologues;
12576         allocate saved registers in red zone.
12577         (ix86_expand_epilogue, ix86_expand_prolgoues): Obey new parameters.
12579 2003-03-19  Nick Clifton  <nickc@redhat.com>
12581         * config/mcore/mcore.h (CPP_SPEC): Remove trailing semi-colon.
12583 2003-03-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12585         PR 10062
12586         * config/pa/pa-hpux.h (TARGET_HPUX_UNWIND_LIBRARY): Redefine.
12587         * pa-protos.h (output_lbranch): New prototype.
12588         * pa.c (compute_frame_size): Change size of the frame marker on the
12589         64-bit ports to 48 bytes.
12590         (pa_output_function_prologue): Document why SAVE_SP is set.
12591         (hppa_expand_prologue): Save previous stack pointer into frame marker
12592         on targets which use the hpux unwind library.
12593         (output_cbranch): Use output_lbranch.
12594         (output_lbranch): New function to output long unconditional branches.
12595         * pa.h (TARGET_HPUX_UNWIND_LIBRARY): Define.
12596         (STACK_POINTER_OFFSET): Update offset for 48-byte frame marker on
12597         64-bit ports.
12598         * pa.md (jump): Use output_lbranch.
12599         (allocate_stack): New expander for dynamic stack allocation.
12601 2003-03-19  Alan Modra  <amodra@bigpond.net.au>
12603         * config/rs6000/rs6000.c (rs6000_stack_info): Only require a frame
12604         when debugging on XCOFF targets.  Delete "abi" temp.
12606         PR target/10073
12607         * combine.c (force_to_mode <NOT>): Use gen_int_mode.
12609 2003-03-18  Jakub Jelinek  <jakub@redhat.com>
12611         * config/s390/s390.c (s390_output_dwarf_dtprel): New.
12612         * config/s390/s390-protos.h (s390_output_dwarf_dtprel): New proto.
12613         * config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Define.
12615         * config/ia64/ia64.c (ia64_output_dwarf_dtprel): New.
12616         * config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): New proto.
12617         * config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Define.
12619 2003-03-18  Geoffrey Keating  <geoffk@apple.com>
12621         * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't clone
12622         the result of machopic_function_base_name.
12623         * config/darwin.c (machopic_function_base_name): Use a gc-allocated
12624         string rather than a static array.
12626         * Makefile.in (emit-rtl.o): Add gt-emit-rtl.h to dependencies.
12628         * gengtype.c: Include rtl.h.
12629         (enum rtx_code): Don't define.
12630         (rtx_format): Make declaration match rtl.h.
12631         (rtx_next_new): Rename from rtx_next to avoid conflict.  Change all
12632         users.
12633         (adjust_field_rtx_def): Describe strings in NOTE_LINE_NUMBER notes.
12634         * Makefile.in (gengtype.o): Update dependencies.
12636 2003-03-18  Andreas Schwab  <schwab@suse.de>
12638         * config/m68k/m68k.md (iordi3): Fix setting low half to -1.  From
12639         martin@blom.org.
12641 2003-03-18  Geoffrey Keating  <geoffk@apple.com>
12643         * function.c (next_block_index): Mark with GTY.
12645         * config/rs6000/rs6000.md (macho_correct_pic): Correct pattern.
12647 2003-03-18  Richard Henderson  <rth@redhat.com>
12649         * config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New.
12650         (builtin_setjmp_receiver): Delay call to ia64_reload_gp
12651         until after reload.
12653 2003-03-18  Richard Henderson  <rth@redhat.com>
12655         * builtins.c (expand_builtin_unop): New target_mode operand;
12656         use it to convert the result to the correct mode.
12657         (expand_builtin): Update all callers.
12659 2003-03-18  Ulrich Weigand  <uweigand@de.ibm.com>
12661         * config/s390/s390.md ("movti", "movhi", "movqi"): Add "type" attribute.
12663 2003-03-18  Jan Hubicka  <jh@suse.cz>
12665         * i386.md:  Fix previous commit that mistakely applied the patch
12666         twice.
12668         * alias.c (rtx_equal_for_memref_p): Assume that X and Y has been
12669         canonicalized.
12670         (memrefs_conflict_p): Likewise.
12671         (addr_side_effect_eval): Canonicalize the constructed address.
12673 2003-03-18  Jan Hubicka  <jh@suse.cz>
12675         * i386.md (cvtts?2si peep2): New.
12677 2003-03-18  Kazu Hirata  <kazu@cs.umass.edu>
12679         * config/h8300/h8300.md (*iorsi3_two_qi_zext): New.
12681 2003-03-18  Andreas Schwab  <schwab@suse.de>
12683         * dwarf2out.c (output_file_names): Cast size_t to unsigned long
12684         for format.
12686 2003-03-17  Jason Merrill  <jason@redhat.com>
12688         PR c++/10091
12689         * expr.c (expand_expr) [ADDR_EXPR]: Disallow taking the address of
12690         an unaligned member of TREE_ADDRESSABLE type.
12692 2003-03-18  Alan Modra  <amodra@bigpond.net.au>
12694         * config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define.
12695         (TARGET_PROFILE_KERNEL): Define.
12696         (SUBTARGET_SWITCHES): Handle -mprofile-kernel.
12697         (PROFILE_BEFORE_PROLOGUE): Don't define.
12698         (PROFILE_KERNEL): Remove hacks.
12699         * config/rs6000/rs6000.c (TARGET_PROFILE_KERNEL): Define default.
12700         (rs6000_stack_info): No need to save lr if just for profiling when
12701         TARGET_PROFILE_KERNEL.
12702         (output_profile_hook): Output nothing when TARGET_PROFILE_KERNEL.
12703         (output_function_profiler): Localize label generation.  Emit code
12704         for kernel profiling.
12706 2003-03-17  Kazu Hirata  <kazu@cs.umass.edu>
12708         * config/h8300/h8300-protos.h: Add a prototype for
12709         byte_accesses_mergeable_p.
12710         * config/h8300/h8300.c (byte_accesses_mergeable_p): New.
12711         * config/h8300/h8300.md (*iorhi3_two_qi_mem): Likewise.
12712         (a splitter): Likewise.
12713         (*iorsi3_ashift_16_ashift_24): Likewise.
12714         (*iorsi3_ashift_16_ashift_24_mem): Likewise.
12716 2003-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12718         * dwarf2asm.h: Delete obsolete comment.
12719         (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
12720         dw2_asm_output_pcrel, dw2_asm_output_addr,
12721         dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
12722         dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
12723         dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
12724         dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.
12726 2003-03-17  Zack Weinberg <zack@codesourcery.com>
12728         * c-tree.h (struct lang_identifier): Remove error_locus field.
12729         (IDENTIFIER_ERROR_LOCUS): Kill.
12730         (record_function_scope_shadow): New prototype.
12731         * c-typeck.c (build_external_ref): Don't complain if
12732         decl is error_mark_node.  When not at file scope, bind the
12733         decl's local value to error_mark_node to suppress further
12734         warnings, instead of setting IDENTIFIER_ERROR_LOCUS.
12736         * c-decl.c (get_function_binding_level): New static function.
12737         (record_function_scope_shadow): New exported function.
12738         (c_make_fname_decl): Use get_function_binding_level.
12740 2003-03-17  Steve Ellcey  <sje@cup.hp.com>
12742         * stmt.c (tail_recursion_args): Call promote_mode to set
12743         unsignedp flag correctly before calling convert_move.
12745 2003-03-17  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
12747         * loop-unroll.c (decide_peel_completely,
12748         decide_unroll_constant_iterations, decide_unroll_stupid,
12749         decide_unroll_runtime_iterations, decide_peel_simple): Set
12750         loop->has_desc.
12752 2003-03-17  Jan Hubicka  <jh@suse.cz>
12754         * ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.
12756 2003-03-17  Olivier Hainque  <hainque@act-europe.fr>
12758         * function.c (assign_parms): For a struct value address passed as
12759         first argument, delay the function's result RTL setup code until
12760         after the emission of parameter conversions.
12762 2003-03-17  Dave Love  <fx@gnu.org>
12763             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12765         * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__,
12766         __arch64__ to match Compaq cc.
12768 2003-03-17  Neil Booth  <neil@daikokuya.co.uk>
12770         * c-opts.c: Default TARGET_EBCDIC to 0 if not defined.
12771         (c_common_init): Set EBCDIC in cpp options.
12772         * cpplex.c (maybe_read_ucs, cpp_parse_escape): Use EBCDIC option,
12773         not conditional compilation.
12774         * cpplib.h (struct cpp_options): New entry EBCDIC.
12776 2003-03-17  Neil Booth  <neil@daikokuya.co.uk>
12778         * fix-header.c (read_scan_file): Need to malloc arguments to add_path.
12780 2003-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12782         * function.c (thread_prologue_and_epilogue_insns): Set delete_unused
12783         argument to 0 for redirect_jump.
12785 2003-03-16  Mark Mitchell  <mark@codesourcery.com>
12787         PR c++/8805
12788         * except.c (eh_region_u_cleanup): Add prev_try.
12789         (expand_eh_region_end_cleanup): Set it.
12790         (reachable_handlers): Use it to skip over cleanup blocks.
12792 2003-03-17  Andreas Jaeger  <aj@suse.de>
12794         * Makefile.in (TAGS): Remove obsolete handling of =*.[chy].
12796 2003-03-17  Alan Modra  <amodra@bigpond.net.au>
12798         * config/rs6000/linux64.h (TARGET_64BIT): Redefine.
12799         (TARGET_RELOCATABLE, TARGET_EABI, TARGET_PROTOTYPE): Likewise.
12800         (SUBTARGET_SWITCHES, SUBTARGET_OPTIONS): Likewise.
12801         (SUBTARGET_OVERRIDE_OPTIONS, CPP_SYSV_SPEC): Likewise.
12803 2003-03-16  Richard Henderson  <rth@redhat.com>
12805         * simplify-rtx (simplify_binary_operation): Don't abort for
12806         SS_PLUS, US_PLUS, SS_MINUS, US_MINUS.
12808 2003-03-16  Richard Henderson  <rth@redhat.com>
12810         * config/i386/i386.md (movstrictqi, movstrictqi_1): Check
12811         optimize_size as well.
12813 2003-03-16  Stephane Carrez  <stcarrez@nerim.fr>
12815         * config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier
12816         for D register to specify the low part of it, aka B.
12817         (m68hc11_gen_movhi): Use REG_WAS_0 note and increment or decrement
12818         the register if we are loading 1 or -1 to it; avoid using temp
12819         register when moving X/Y to Y/X.
12820         (m68hc11_gen_movqi): Likewise.
12821         (m68hc11_check_z_replacement): Fix last insn setting for compare case.
12823 2003-03-14  Mark Mitchell  <mark@codesourcery.com>
12825         PR optimization/9016
12826         * config/i386/i386.c (ix86_expand_move): Force more CONST_DOUBLEs
12827         into the constant pool.
12829 2003-03-16  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
12831         PR target/9164
12832         * tree.c (get_narrower): For extensions with unchanged bit number,
12833         return the unsignedness of the outer mode.
12835 2003-03-16  Roger Sayle  <roger@eyesopen.com>
12837         * c-typeck.c (build_component_ref):  Turn "for" into "do .. while"
12838         to avoid "may be used uninitialized" warning on ia64-hpux.
12839         * config/ia64/ia64-c.c: Include "tm_p.h" for function prototypes.
12841 2003-03-16  Andreas Jaeger  <aj@suse.de>
12843         * configure.in: Improve check for memcheck.h.
12844         * configure: Regenerated.
12846 2003-03-16  Neil Booth  <neil@daikokuya.co.uk>
12848         * doc/cppopts.texi: Remove documentation of -A-.
12850 2003-03-15  Zack Weinberg  <zack@codesourcery.com>
12852         * doc/libgcc.texi: Remove @tie.
12854 2003-03-15  Josef Zlomek  <zlomekj@suse.cz>
12856         * rtl.h (subrtx_p): Renamed to rtx_referenced_p.
12857         (rtx_pair): Added new element update_label_nuses, renamed to
12858         replace_label_data.
12859         * cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge): Use
12860         replace_label_data instead of rtx_pair.
12861         * loop.c (load_mems): Likewise.
12862         * rtlanal.c (replace_label): Replace label in pool constants and in
12863         INSN_LIST (in REG_LABEL note).
12864         (subrtx_p): Renamed to rtx_referenced_p.
12865         (subrtx_p_1): Renamed to rtx_referenced_p_1, compare the interior of
12866         LABEL_REF with CODE_LABEL, traverse constants from pool.
12868 2003-03-15  Aldy Hernandez <aldyh@redhat.com>
12869             Zack Weinberg  <zack@codesourcery.com>
12871         * Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi.
12872         * doc/libgcc.texi: New file.
12873         * doc/interface.texi: Delete paragraph about libgcc interface.
12874         * doc/gccint.texi: Add libgcc menu entry and @include libgcc.texi.
12876 2003-03-15  Jason Merrill  <jason@redhat.com>
12878         PR debug/9039
12879         * dwarf2out.c (gen_decl_die): Ignore frontend tree codes.
12881         PR debug/6387
12882         * dwarf2out.c (dwarf2out_decl): If we're at -g1, just stick nested
12883         function DIEs at toplevel.
12884         (decls_for_scope): At -g1, don't descend into subblocks.
12886 2003-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
12888         * varasm.c (struct rtx_const): Change type of un.addr member
12889         to struct holding an additional 'symbol' member.
12890         (decode_rtx_const): Re-enable optimization to count SYMBOL_REFs
12891         with equal string addresses as equal.
12892         (simplify_subtraction): Adapt to struct rtx_const change.
12894 2003-03-15  Neil Booth  <neil@daikokuya.co.uk>
12896         * fix-header.c (read_scan_file): Read main file before handling -D.
12898 2003-03-15  Roger Sayle  <roger@eyesopen.com>
12900         * c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
12901         * c-typeck.c (c_tree_expr_nonnegative_p): Likewise.
12902         * cfgbuild.c (find_many_sub_basic_blocks): Likewise.
12903         (find_sub_basic_blocks): Likewise.
12904         * cgraphunit.c (cgraph_expand_functions): Likewise.
12905         * dwarf2out.c (prune_unused_types): Likewise.
12906         * expr.c (store_field): Likewise.
12907         * genextract.c (print_path): Likewise.
12908         * haifa-sched.c (schedule_insn): Likewise.
12909         * lcm.c (compute_antinout_edge): Likewise.
12910         * loop-unroll.c (decide_peel_once_rolling): Likewise.
12911         * ra-colorize.c (ra_colorize_free_all): Likewise.
12912         * ra-debug.c (dump_igraph): Likewise.
12913         (debug_hard_reg_set): Likewise.
12914         * reg-stack.c (reg_to_stack): Likewise.
12915         * rtlanal.c (refers_to_regno_p): Likewise.
12916         * tracer.c (layout_superblocks): Likewise.
12918 2003-03-15  Neil Booth  <neil@daikokuya.co.uk>
12920         * fix-header.c (read_scan_file): Fix thinko.
12922 2003-03-15  Glen Nakamura  <glen@imodulo.com>
12924         * reload1.c (choose_reload_regs): Use && instead of ||
12925         with REG_CANNOT_CHANGE_MODE_P condition.
12927 2003-03-15  Neil Booth  <neil@daikokuya.co.uk>
12929         * Makefile.in: Update.
12930         * c-common.h (cb_register_builtins): Rename c_cpp_builtins.
12931         * c-lex.c (init_c_lex): Register builtins hook is dead.
12932         * c-opts.c (COMMAND_LINE_OPTIONS, missing_arg): Handle -A, -D and -U.
12933         (c_common_decode_option): Don't call cpp_handle_option.
12934         Handle -A, -D and -U.
12935         (handle_deferred_opts): Simplify.
12936         (finish_options): Define builtins and command line macros.
12937         * c-ppoutput.c (init_pp_output): Register builtins hook is dead.
12938         * cppinit.c: Don't include intl.h.
12939         (init_builtins): Rename cpp_init_builtins.  No hook to call.
12940         (init_library): Don't need to sort options.
12941         (cpp_create_reader): Don't set pending.
12942         (cpp_destroy): Don't free pending.
12943         (struct pending_option, cl_directive_handler, struct cpp_pending,
12944         APPEND, free_chain, new_pending_directive, parse_option, opt_comp,
12945         cpp_finish_options, COMMAND_LINE_OPTIONS, DEF_OPT, struct cl_option,
12946         cl_options, cpp_handle_option): Remove.
12947         * cpplib.h (struct cpp_pending, register_builtins, cpp_handle_option,
12948         cpp_finish_options): Remove.
12949         (cpp_init_builtins): New.
12950         * fix-header.c (read_scan_file): Update to handle -D.  Fix
12951         handling of -I.  Replace call to cpp_finish_options.
12953 2003-03-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12955         PR optimization/9387
12956         * function.c (thread_prologue_and_epilogue_insns): Use redirect_jump
12957         for conditional returns.
12959 2003-03-14  Jason Merrill  <jason@redhat.com>
12961         PR optimization/6871
12962         * varasm.c (assemble_variable): Leave constant zeroes in .rodata.
12964 2003-03-14  Neil Booth  <neil@daikokuya.co.uk>
12966         * c-opts.c (finish_options): New.
12967         (COMMAND_LINE_OPTIONS, c_common_decode_option): Add -imacros.
12968         (missing_arg): Handle OPT_include and OPT_imacros.
12969         (c_common_init, c_common_parse_file): Use finish_options.
12970         (handle_deferred_opts): Update.
12971         * cppinit.c (struct cpp_pending): Remove imacros_head and imacros_tail.
12972         (cpp_finish_options): Don't handle -imacros here.
12973         (no_fil): Remove.
12974         (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -imacros.
12976 2003-03-14  Jakub Jelinek  <jakub@redhat.com>
12978         * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call
12979         rs6000_maybe_dead if !fromprolog.
12981 2003-03-14  Neil Booth  <neil@daikokuya.co.uk>
12983         * Makefile.in: Update.
12984         * c-common.h (fe_file_change, pp_file_change): New.
12985         * c-lex.c (init_c_lex): Don't set cb_file_change.
12986         (c_common_parse_file): Move to c-opts.c.
12987         (cb_file_change): Rename fe_file_change.
12988         * c-opts.c: Include debug.h.
12989         (warn_unused_macros, include_cursor): New.
12990         (push_command_line_include, cb_file_change): New.
12991         (COMMAND_LINE_OPTIONS): Handle -include.
12992         (c_common_decode_option): Use local warn_unused_macros.
12993         Handle OPT_include.
12994         (c_common_post_options): Set file change callback.
12995         (handle_deferred_opts): Skip -include.  Don't free the array.
12996         (c_common_init): Call cpp_finish_options here, and push an
12997         initial -include file.
12998         * c-ppoutput.c (cb_file_change): Rename pp_file_change.
12999         (preprocess_file): Don't call cpp_finish_options.
13000         (init_pp_output): Don't set the file change callback.
13001         (pp_file_change): Return if no line commands or no output.
13002         * cpphash.h (next_include_file, first_unused_line): Remove.
13003         * cppinit.c (include_head, include_tail): Remove.
13004         (cpp_destroy): Don't free -include chain.
13005         (cpp_finish_options): Don't handle -include, or worry about
13006         -Wunused-macros.
13007         (_cpp_maybe_push_include_file): Remove.
13008         (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -include.
13009         * cpplib.c (_cpp_pop_buffer): Don't handle -include.
13010         * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_create_definition):
13011         Used flag is set based upon the state of the warn_unused_macros
13012         flag, and so use of first_unused_line is unnecessary.
13014 2003-03-13  Jan Hubicka  <jh@suse.cz>
13016         * cselib.c (clear_table): Do not take argument; always clear just
13017         used slots.
13018         (cselib_process_insn):  Update call of clear_table
13019         (cselib_init): Do not call clear_table.
13020         (cselib_finish): Clear table.
13022         * cse.c (count_reg_usage): Do not check side_effects_p.
13023         * rtlanal.c (set_noop_p): Check side_effects_p only when set looks
13024         like noop.
13025         (find_reg_equal_equiv_note): Do not use find_reg_note.
13027 2003-03-14  Richard Henderson  <rth@redhat.com>
13029         PR target/9700
13030         * config/alpha/alpha.c (alpha_va_start): Account for
13031         current_function_pretend_args_size in the AP offset.
13033         * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Move out of line.
13034         (INITIAL_ELIMINATION_OFFSET): Move out of line.
13035         * config/alpha/alpha.c (alpha_setup_incoming_varargs): New.
13036         (alpha_initial_elimination_offset) New.
13037         * config/alpha/alpha-protos.h: Update.
13039 2003-03-14  Jakub Jelinek  <jakub@redhat.com>
13041         * stmt.c (expand_start_case): Call emit_queue ().
13043 2003-03-14  Chris Demetriou  <cgd@broadcom.com>
13044             Alexandre Oliva  <aoliva@redhat.com>
13046         * config/mips/mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2
13047         words in new abis.
13049 2003-03-14  Eric Botcazou  <ebotcazou@libertysurf.fr>
13051         PR optimization/8396
13052         * tree-inline.c (initialize_inlined_parameters): Make sure the value
13053         of read-only constant arguments is passed with the right type.
13055 2003-03-14  Steven Bosscher  <steven@gcc.gnu.org>
13057         * doc/extend.texi (Function Names): Make the example compilable.
13059 2003-03-13  David Edelsohn  <edelsohn@gnu.org>
13061         * config/rs6000/rs6000.c (processor_target_table): Really allow
13062         GP optional instructions on Power4.
13064 2003-03-13  Roger Sayle  <roger@eyesopen.com>
13066         * calls.c (flags_from_decl_or_type): Factor and remove redundant
13067         conditional tests.
13069 2003-03-13  Mike Stump  <mrs@apple.com>
13071         * ggc-page.c (struct page_entry): Remove varray.h header.
13072         Add index_by_depth field.
13073         Remove save_in_use_p field.
13074         (struct globals): Add depth_in_use, depth_max, by_depth_in_use,
13075         by_depth_max, by_depth, and save_in_use fields.
13076         (INITIAL_PTE_COUNT): Add.
13077         (save_in_use_p_i): Add.
13078         (save_in_use_p): Add.
13079         (adjust_depth): Add.
13080         (move_ptes_to_front): Add.
13081         (push_depth): Add.
13082         (push_by_depth): Add.
13083         (prefetch): Add.
13084         (free_page): Add support for and use faster data structures.
13085         (ggc_alloc): Likewise.
13086         (init_ggc): Likewise.
13087         (ggc_recalculate_in_use_p): Likewise.
13088         (ggc_pop_context): Likewise.
13089         (clear_marks): Likewise.
13090         (ggc_pch_read): Likewise.
13091         * Makefile.in (ggc-page.o): Remove varray.h.
13093 2003-03-13  Nathanael Nerode  <neroden@gcc.gnu.org>
13095         * ChangeLog: Rotated last year's entries to...
13096         * ChangeLog.8: New.
13098         * config/ia64/fde-glibc.c, config/ia64/freebsd.h,
13099         config/ia64/hpux.h, config/ia64/hpux_longdouble.h,
13100         config/ia64/ia64-c.c, config/ia64/ia64-modes.def,
13101         config/ia64/ia64-protos.h, config/ia64/ia64.c,
13102         config/ia64/ia64.h, config/ia64/ia64.md,
13103         config/ia64/itanium1.md, config/ia64/itanium2.md,
13104         config/ia64/quadlib.c, config/ia64/unwind-ia64.c,
13105         config/ia64/unwind-ia64.h: It's GCC, not GNU CC.
13107 2003-03-13  Aldy Hernandez  <aldyh@redhat.com>
13109         * config/rs6000/rs6000.c (rs6000_dwarf_register_span):
13110         Differentiate endianness.
13111         (s6000_override_options): Use cpu type instead of TARGET_SPE.
13113 2003-03-13  Nick Clifton  <nickc@redhat.com>
13115         * config/arm/arm.c (print_multi_reg): Do not generate a type 2
13116         LDM instructions with writeback enabled.
13117         (output_return_instruction): Likewise.
13119         * config/arm/pe.h (FIXED_REGISTERS): Remove definition.
13120         (CALL_USED_REGISTERS): Remove definition.
13121         (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define.
13123 2003-03-13  Alan Modra  <amodra@bigpond.net.au>
13125         * config/rs6000/rs6000.c (rs6000_flag_pic): Delete.
13126         (rs6000_xcoff_encode_section_info): #ifdef TARGET_XCOFF.
13127         (rs6000_binds_local_p, TARGET_BINDS_LOCAL_P): #if TARGET_MACHO.
13128         (rs6000_override_options): Don't clear flag_pic for ABI_AIX.
13129         (rs6000_legitimize_address): Formatting.
13130         (rs6000_emit_move): Likewise.
13131         (rs6000_return_addr): Test ABI_AIX as well as flag_pic.
13132         (rs6000_emit_prologue <save_LR_around_toc_setup>): Likewise.
13133         (rs6000_elf_select_section): Comment reason for shlib being
13134         set for ABI_AIX.
13135         (rs6000_elf_unique_section): Likewise.
13136         (rs6000_elf_encode_section_info): Test !TARGET_AIX as well as ABI_AIX.
13137         * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Test ABI_AIX
13138         as well as flag_pic.
13139         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise.
13140         (MINIMAL_TOC_SECTION_ASM_OP): Likewise.
13141         * config/rs6000/linux64.h (TARGET_ENCODE_SECTION_INFO): Don't define.
13143 2003-03-13  Richard Henderson  <rth@redhat.com>
13145         * emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.
13147         * config/ia64/ia64.c (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
13148         (ia64_gp_save_reg): Remove.
13149         (struct ia64_frame_info): Move to the beginning of the file;
13150         add reg_save_gp.
13151         (ia64_expand_call): Rearrange for new call patterns.
13152         (ia64_reload_gp): New.
13153         (ia64_split_call): New.
13154         (ia64_compute_frame_size): Allocate reg_save_gp.
13155         (ia64_expand_prologue): Save reg_save_gp.
13156         (ia64_expand_epilogue): Don't restore gp.
13157         (ia64_hard_regno_rename_ok): Remove R4 hack.
13158         (ia64_function_ok_for_sibcall): New.
13159         (ia64_output_mi_thunk): Set reload_completed, no_new_pseudos;
13160         call try_split on sibcall pattern.
13161         * config/ia64/ia64-protos.h: Update.
13162         * config/ia64/ia64.md (call_nogp, call_value_nogp, sibcall_nogp):
13163         Rename from nopic versions.  Confiscate 2nd argument to call as
13164         a marker.
13165         (call_pic, call_value_pic, sibcall_pic): Remove.
13166         (call_gp, call_value_gp, sibcall_gp): New.
13167         (builtin_setjmp_setup): Remove.
13168         (builtin_setjmp_receiver): Call ia64_reload_gp.
13170 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
13172         * config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
13173         config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md: Replace
13174         "GNU CC" with "GCC".
13176         * config/c4x/c4x-c.c, config/c4x/c4x-modes.def,
13177         config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
13178         config/c4x/c4x.md, config/c4x/libgcc.S, config/c4x/rtems.h:
13179         GCC, not GNU CC.
13181         * genattrtab.h, hosthooks-def.h, hosthooks.h, langhooks-def.h,
13182         langhooks.h, tree-inline.h: Replace "GNU CC" with "GCC".
13184         * c-pch.c, dummy-conditions.c, genautomata.c, genconditions.c,
13185         langhooks.c, tree-inline.c, unwind-dw2-fde-darwin.c,
13186         unwind-dw2-fde-glibc.c, unwind-libunwind.c, vmsdbgout.c: Replace
13187         "GNU CC" with "GCC".
13189         * config/v850/lib1funcs.asm, config/v850/rtems.h,
13190         config/v850/v850-c.c, config/v850/v850-protos.h,
13191         config/v850/v850.c, config/v850/v850.h, config/v850/v850.md:
13192         GCC, not GNU CC.
13194         * config/vax/bsd.h, config/vax/elf.h, config/vax/netbsd-elf.h,
13195         config/vax/netbsd.h, config/vax/openbsd.h, config/vax/openbsd1.h,
13196         config/vax/ultrix.h, config/vax/vax-protos.h, config/vax/vax.c,
13197         config/vax/vax.h, config/vax/vax.md, config/vax/vaxv.h: GCC, not
13198         GNU CC.
13200 2003-03-12  Benjamin Kosnik  <bkoz@redhat.com>
13202         * cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING.
13204 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
13206         * fixinc/fixinc.interix: Remove dead code (most of it).
13207         * fixinc/fixinc.dgux: Remove.
13209         * ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h,
13210         ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC.
13212 2003-03-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
13214         * pa.c (pa_init_builtins): Fix warning.
13216 2003-03-12  Steve Ellcey  <sje@cup.hp.com>
13218         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.
13219         (ASM_OUTPUT_XDATA_SHORT): Remove.
13220         (ASM_OUTPUT_XDATA_INT): Remove.
13221         (ASM_OUTPUT_XDATA_DOUBLE_INT): Remove.
13222         (ASM_OUTPUT_ADDR_DIFF_ELT): Handled 32 bit address diffs.
13223         (ASM_PREFERRED_EH_DATA_FORMAT): Handle 32 bit EH pointers.
13224         (CASE_VECTOR_MODE): Handle 32 bit pointers in case statement.
13226 2003-03-12  Andrew Lewycky  <andrew@mxc.ca>
13228         PR c++/7050
13229         * expr.c (store_expr): Don't attempt to store void-typed trees,
13230         just evaluate them for side effects.
13232 2003-03-12  Neil Booth  <neil@daikokuya.co.uk>
13234         * cppfiles.c (cpp_rename_file, cpp_push_include): New.
13235         * cppinit.c (push_include): Move with changes to cppfiles.c.
13236         (cpp_read_main_file): Mark named operators here...
13237         (cpp_finish_options): ...not here.  Update.
13238         (_cpp_maybe_push_include_file): Update.
13239         * cpplib.h (cpp_push_include, cpp_rename_file): New.
13241 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
13243         * aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE,
13244         _gcc_COMPUTE_GAS_VERSION.
13245         * configure.in: Use them.
13246         * configure: Regenerate.
13248 2003-03-12  Bob Wilson  <bob.wilson@acm.org>
13250         * config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
13251         to detect carry.
13252         (subdi3): Reorder emitted instructions.
13254 2003-03-12  Andreas Jaeger  <aj@suse.de>
13256         * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to
13257         NETBSD_OS_CPP_BUILTINS_LP64.
13259 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
13261         * Makefile.in: Eliminate all.indirect.  Update and clean up comments.
13262         Rearrange.  Reorganize.
13263         * configure.in: Rearrange.
13264         * configure: Regenerate.
13266 2003-03-12  Andreas Jaeger  <aj@suse.de>
13268         * c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for
13269         LP64 targets.
13271         * doc/cpp.texi (Common Predefined Macros): Document __LP64__ and
13272         _LP64.
13274         * config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Do not define
13275         _LP64 macros here.
13276         * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Likewise.
13278         * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove call to
13279         NETBSD_OS_CPP_BUILTINS_LP64.
13280         * config/sh/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
13281         * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
13283         * config/netbsd.h (NETBSD_OS_CPP_BUILTINS_LP64): Remove.
13285 2003-03-12  Jan Hubicka  <jh@suse.cz>
13287         * i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128.
13289 2003-03-12  Daniel Jacobowitz  <drow@mvista.com>
13291         Fix PR target/9797 and PR c/9853.
13292         * stmt.c (expand_decl_init): Call push_temp_slots () and
13293         pop_temp_slots ().
13295 2003-03-12  J"orn Rennecke <joern.rennecke@superh.com>
13297         * sh.c: Include basic-block.h.
13298         (sh_output_mi_thunk, emit_load_ptr): New functions.
13299         (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine.
13301 2003-03-12  Nick Clifton  <nickc@redhat.com>
13303         * config/arm/pe.h (FIXED_REGISTERS): Add Maverick registers.
13304         (CALL_USED_REGISTERS): Likewise.
13305         * config/arm/arm.h (FIRST_PSEUDO_REGISTER): Update comment
13306         describing how this value is calculated.
13308 2003-03-12  Hans-Peter Nilsson  <hp@bitrange.com>
13310         * configure.in (rlim_t): Define to long if no valid definition
13311         found in sys/resource.h.
13312         * config.in, configure: Regenerate.
13314 2003-03-12  Neil Booth  <neil@daikokuya.co.uk>
13316         * config/mcore/mcore-elf.h (CPP_PREDEFINES): Replace with
13317         TARGET_OS_CPP_BUILTINS.
13318         * config/mcore/mcore-pe.h: Similarly.
13319         * config/mcore/mcore.h: Replace CPP_PREDEFINES and part of
13320         CPP_SPEC with TARGET_CPU_CPP_BUILTINS.
13322 2003-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
13324         PR c/9928
13325         * c-decl.c (duplicate_decls): Discard the initializer of the new decl
13326         only if it is a VAR_DECL.
13328 2003-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
13330         PR optimization/9888
13331         * config/i386/i386.md (jcc_1): Fix range.
13332         (jcc_2): Likewise.
13333         (jump): LIkewise.
13334         (doloop_end_internal): Likewise.
13336 2003-03-12  Danny Smith  <dannysmith@users.sourceforge.net>
13338         * config/i386/winnt.c (DLL_IMPORT_PREFIX): New define.
13339         Use throughout instead of DLL_IMPORT_EXPORT_PREFIX and "e."
13340         (DLL_EXPORT_PREFIX): New define. Use throughout instead of
13341         DLL_IMPORT_EXPORT_PREFIX and "i."
13342         (i386_pe_dllexport_name_p): Here.
13343         (i386_pe_dllimport_name_p): Here.
13344         (i386_pe_mark_dllexport): Here. Remove DLL_IMPORT_PREFIX,
13345         not 9 chars when getting identifier name.
13346         (i386_pe_mark_dllimport): Here.
13347         (i386_pe_encode_section_info): Here. Remove DLL_IMPORT_PREFIX,
13348         not 9 chars when getting identifier name. Correct comment.
13349         (i386_pe_strip_name_encoding): Here. Add comments for different
13350         cases.
13351         (gen_fastcall_suffix): Break down xmalloc() argument to
13352         components.
13353         (gen_stdcall_suffix): Likewise.
13354         Update copyright year.
13356 2003-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
13358         PR optimization/9888
13359         * config/i386/i386.md (movsi_1): Remove special alternatives
13360         for %eax register.
13361         (movsi_1_nointernunit): Likewise.
13362         (movhi_1): Likewise.
13363         * config/i386/i386.c (memory_address_length): Do not use
13364         short displacement when there is no base.
13365         (ix86_attr_length_address_default): Handle LEA instructions.
13367 2003-03-12  Neil Booth  <neil@daikokuya.co.uk>
13369         * c-cppbuiltin.c (builtin_define_std): Make non-static.
13371 2003-03-11  Loren James Rittle  <ljrittle@acm.org>
13373         * config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove.
13374         (FBSD_TARGET_OS_CPP_BUILTINS): New port-specific macro.
13375         (FBSD_TARGET_CPU_CPP_BUILTINS): New port-specific macro.
13376         * config/freebsd.h (CPP_PREDEFINES): Remove.
13377         (TARGET_OS_CPP_BUILTINS): New.
13378         * config/alpha/freebsd.h: Use overridden FBSD_TARGET_CPU_CPP_BUILTINS
13379         instead of TARGET_OS_CPP_BUILTINS.
13380         * config/sparc/freebsd.h (CPP_PREDEFINES): Remove.
13382 2003-03-11  Geoffrey Keating  <geoffk@apple.com>
13384         * c-cppbuiltin.c (builtin_define_std): Add ATTRIBUTE_UNUSED.
13386 2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
13388         * config/rs6000/rs6000.c (rs6000_stack_info): Remove
13389         insn_chain_scanned.  Use insn_chain_scanned_p in machine_function.
13391         * config/rs6000/rs6000.h (machine_function): Add insn_chain_scanned_p.
13393 2003-03-11  Alexandre Oliva  <aoliva@redhat.com>
13395         * toplev.c (independent_decode_option): Return success for --help,
13396         --target-help and --version.
13398 2003-03-11  Alexandre Oliva  <aoliva@redhat.com>
13400         * config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
13401         Default to -mips3 on -mabi=64.  Don't add -mips* flag if -march is
13402         specified.
13403         (SUBTARGET_ASM_SPEC): Remove -mips*-adding code obviated by
13404         DRIVER_SELF_SPECS.
13405         (LINK_SPEC): Let endian options affect the linker emulation name.
13407 2003-03-11  J"orn Rennecke <joern.rennecke@superh.com>
13409         * sh.md (reload_inqi): Fix mode for source in second set.
13411 2003-03-11  Jan Hubicka  <jh@suse.cz>
13413         * cselib.c (cselib_invalidate_mem_1): Move too ...
13414         (cselib_invalidate_mem): ... here; use new list
13415         (dummy_val, first_containing_mem): New static variables.
13416         (clear_table): Initialize first_containing_mem.
13417         (discard_useless_values):  Compact the containing_mem list.
13418         (add_mem_for_addr): Add to the list.
13419         * cselib.h (cselib_val): Add next_containing_mem.
13421 2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
13423         * config/rs6000/rs6000.c (rs6000_override_options): Disable string
13424         instructions for e500.
13426 2003-03-11  Neil Booth  <neil@daikokuya.co.uk>
13428         * Makefile.in: Update.
13429         * c-cppbuiltin.c: Include tm_p.h.
13431 2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
13433         * doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN.
13435         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define.
13436         (_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN.
13437         (_Unwind_SetGR): Same.
13438         (_Unwind_GetGRPtr): New.
13439         (_Unwind_SetGRPtr): New.
13440         (uw_update_context_1): Use accesor functions instead of accessing
13441         context->reg[] directly.
13442         (uw_install_context_1): Same.
13443         (execute_cfa_program): Same.
13444         (__frame_state_for): Same.
13446         * config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as
13447         the synthetic register offset.
13449         * config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New.
13451 2003-03-11  Hans-Peter Nilsson  <hp@axis.com>
13453         * config/cris/cris.md: Remove lingering EGCS reference.
13454         ("*extopqihi_side_biap"): For HI operation, match
13455         cris_additive_operand_extend_operator, not
13456         cris_operand_extend_operator.  Adjust condition.
13457         ("*extopqihi_side", "*extopqihi"): Ditto.
13458         ("*extopqisi_side_biap"): Correct operand numbers in condition.
13459         ("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto.
13460         ("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto.
13461         ("*extophisi_swap"): Ditto.
13462         ("*extopqihi_swap_side_biap"): For HI operation, match a simple
13463         PLUS, not cris_operand_extend_operator.  Adjust condition and
13464         output template.
13465         ("*extopqihi_swap_side", "*extopqihi_swap"): Ditto.
13466         * config/cris/cris.h (PREDICATE_CODES): Add
13467         cris_additive_operand_extend_operator.
13468         * config/cris/cris.c (cris_additive_operand_extend_operator):
13469         New predicate.
13471 2003-03-11  Hartmut Penner  <hpenner@de.ibm.com>
13473         * df.c (read_modify_subreg_p): Change from static to global.
13474         * df.h (read_modify_subreg_p): Add prototype.
13475         * sched-deps.c (sched_analyze_1): Generate true dependency for
13476         strict_low_part, certain subregs and zero/sign_extract.
13478 2003-03-11  Neil Booth  <neil@daikokuya.co.uk>
13480         * Makefile.in: Update.
13481         * c-common.c: Don't include real.h or except.h.
13482         (REGISTER_PREFIX): Remove.
13483         (builtin_define_std, builtin_define_with_value,
13484         builtin_define_with_int_value, builtin_define_with_hex_fp_value,
13485         builtin_define_type_max, builtin_define_type_precision,
13486         builtin_define_float_constants): Move to c-cppbuiltin.c.
13487         (c_stddef_cpp_builtins): New.
13488         * c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
13489         * c-cppbuiltin.c: New, extracted from c-common.c.
13490         (define__GNUC__): New.
13491         * cppspec.c (lang_specific_driver): Remove support of -no-gcc.
13492         * gcc.c: Remove support of %v1, %v2 and %v3 specs.
13493         (cpp_unique_options): Don't support no-gcc.
13494         (do_spec_1): Remove support of version specs.
13495         * doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
13496         * doc/passes.texi: Update.
13497         * doc/tm.texi: Update.
13499 2003-03-10  Aldy Hernandez  <aldyh@redhat.com>
13501         * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.
13503 2003-03-10  Andrew Pinski  <apinski@apple.com>
13505         * config/darwin.c (machopic_function_base_name): If dynamic-no-pic
13506         is on should not get here.
13507         (machopic_indirect_data_reference): If dynamic-no-pic is on just
13508         generate high/low parts of the address.
13509         (machopic_legitimize_pic_address): Change MACHOPIC_PURE to
13510         MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate
13511         symbol and labels with a new reg.  Dynamic-no-pic does not have a
13512         pic_offset_table_rtx.
13513         (machopic_select_section): Change references of flag_pic to
13514         MACHOPIC_INDIRECT.
13515         (machopic_asm_out_destructor): Likewise.
13516         * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change
13517         reference of flag_pic to MACHOPIC_INDIRECT.
13518         (MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC.
13519         (MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on.
13520         (MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on.
13521         (MACHOPIC_PURE): Is not pure when dynamic-no-pic is on.
13522         * config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as
13523         0 for right now as dynamic-no-pic is not implemented on Darwin/ia32.
13524         * config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define.
13525         (TARGET_DYNAMIC_NO_PIC): Define.
13526         (SUBTARGET_SWITCHES): Define, have sub-target switches for
13527         dynamic-no-pic.
13528         (SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from
13529         rs6000_override_options to here. Dynamic-no-pic overrides
13530         pic.
13531         (CC1_SPEC): Change from not static then pic to not static and not
13532         dynamic-no-pic then pic.
13533         * config/rs6000/rs6000.c (rs6000_override_options): Move the
13534         check for -fpic and DARWIN_ABI to config/rs6000/darwin.h
13535         (rs6000_legitimize_reload_address): Add case for loading floating in
13536         dynamic-no-pic.
13537         (rs6000_emit_move): Add case for dynamic-no-pic.  Change reference
13538         of flag_pic to MACHOPIC_INDIRECT.
13539         (secondary_reload_class): Conditional change the reference of
13540         flag_pic to MACHOPIC_INDIRECT.
13541         (rs6000_output_mi_thunk): Change reference of flag_pic to
13542         MACHOPIC_INDIRECT.
13543         (output_profile_hook): Likewise.
13544         (machopic_output_stub): Non-pure (dynamic-no-pic) is now supported.
13545         * config/rs6000/rs6000.md (movdf_low): Add the case for
13546         MACHO_DYNAMIC_NO_PIC_P.
13547         (call): Change references for flag_pic in TARGET_MACHO to
13548         MACHOPIC_INDIRECT.
13549         (SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and
13550         -mdynamic-no-pic is on.  Also move case for -fpic from rs6000.c.
13551         * doc/invoke.texi (-mdynamic-no-pic): Document.
13553 2003-03-10  Devang Patel  <dpatel@apple.com>
13555         PR c++/9394
13556         * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
13557         (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
13558         * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
13559         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
13560         * cppspec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
13561         (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
13563 2003-03-10  Steven Bosscher  <s.bosscher@student.tudelft.nl>
13565         PR optimization/7189
13566         * toplev.c (rest_of_compilation):  Move
13567         check_function_return_warnings up to just after
13568         delete_unreachable_blocks.
13570 2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
13572         * config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
13573         * config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok):
13574         Declare.
13575         * config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function
13576         for reg rename optimization to avoid using Z and Y registers.
13578 2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
13580         * config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
13581         when adding to X and Y since leax/leay are fast.
13582         ("*addhi3"): Accept 'I' constraint when adding to address register.
13583         ("rotlhi3"): Operand 1 must be a register_operand.
13584         (peephole2): New peephole to optimize some adds.
13585         * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint
13586         to represent -2 .. 2 small integer range.
13588 2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
13590         * config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
13591         each 16-bit rotation.
13593 2003-03-10  Zack Weinberg  <zack@codesourcery.com>
13595         * c-opts.c (add_prefixed_path): Don't use concat.  When
13596         prefixing with cpp_GCC_INCLUDE_DIR, copy only the first
13597         cpp_GCC_INCLUDE_DIR_len characters.
13599 2003-03-10  Segher Boessenkool  <segher@koffie.nl>
13601         * testsuite/gcc.dg/altivec-9.c: New file.
13603         * config/rs6000/rs6000.c (altivec_frame_fixup): Remove.
13604         (rs6000_emit_prologue): Use rs6000_frame_related instead.
13606 2003-03-10  Aldy Hernandez  <aldyh@redhat.com>
13608         * config/rs6000/spe.h: Define __ev64_*64__ to use single element
13609         vectors.
13610         (__ev_convert_u64): Remove macro.  Define as inline.
13611         (__ev_convert_s64): Same.
13613 2003-03-10  Aldy Hernandez  <aldyh@redhat.com>
13615         * config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define.
13616         (rs6000_stack_t): Add spe_64bit_regs_used.
13618         * config/rs6000/rs6000.c (rs6000_stack_info): Calculate
13619         spe_64bit_regs_used, and use it to determine the size of the
13620         frame.
13621         (spe_func_has_64bit_regs_p): New.
13622         (spe_synthesize_frame_save): New.
13623         (rs6000_frame_related): Handle SPE synthetic registers.
13624         (rs6000_emit_prologue): Only save in 64-bits if the function used
13625         any registers in 64-bit mode.
13626         (rs6000_emit_epilogue): Same, but for restore.
13628 2003-03-10  Richard Earnshaw  <rearnsha@arm.com>
13630         * arm.h (enum floating_point_type): Delete.  Replace with...
13631         (enum fputype): ... new.
13632         (FPUTYPE_DEFAULT): Renamed from FP_DEFAULT.  Values reworked.
13633         * linux-elf.h (FPUTYPE_DEFAULT): Likewise.
13634         * arm.md (attr fpu): Reworked for new underlying enum values.
13635         * arm.c (arm_fpu_arch): Now enum fputype.
13636         (arm_fpu_tune): Renamed from arm_fpu.  Now enum fputype.
13637         (arm_override_options, arm_output_epilogue, arm_expand_prologue):
13638         Update uses of arm_fpu_arch and arm_fpu_tune.
13640 2003-03-10  Josef Zlomek  <zlomekj@suse.cz>
13642         * cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
13643         (try_crossjump_to_edge): Replace refereces to one jump table by
13644         references to identical jump table.
13645         * loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label.
13646         (replace_label): Moved to rtlanal.c.
13647         (struct rtx_pair): Moved to rtl.h.
13648         * rtl.h (struct rtx_pair): Moved from loop.c.
13649         (replace_label): New extern function.
13650         (subrtx_p): New extern function.
13651         (tablejump_p): New extern function.
13652         * rtlanal.c (replace_label): Moved from loop.c.
13653         (subrtx_p_1): New static function.
13654         (subrtx_p): New function.
13655         (tablejump_p): New function.
13657 2003-03-10  Jan Hubicka  <jh@suse.cz>
13659         * cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.
13661         * cfgcleanup.c (merge_blocks): Return where to iterate next.
13662         (try_optimize_cfg): Use return value of merge_blocks
13664 2003-03-10  Michael Matz  <matz@suse.de>
13666         * cfg.c (unchecked_make_edge): New.
13667         (cached_make_edge): Use it.
13668         * basic-block.h (unchecked_make_edge): Declare.
13669         * cfglayout.c (cfg_layout_duplicate_bb): Use it.
13671 2003-03-10  Richard Earnshaw  <rearnsha@arm.com>
13673         * fpa.md: New file.  Move all patterns relating to FPA co-processor
13674         to here...
13675         * arm.md: ... from here.
13676         (cirrus.md, fpa.md): Include at end of description.
13677         (divsf3, divdf3, modsf3, movdf3, sqrtsf2, sqrtdf2): New expands.
13678         (pic_load_addr_based): Remove register constraint from expander.
13679         (seq, sne, sgt, sle, slt, sge, sgeu, sleu, sgtu, sltu, sunordered)
13680         (sordered, sungt, sunle, sunge, sunlt): Likewise.
13681         (eh_epilogue, tablejump): Likewise.
13683 2003-03-09  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13685         * tree.c (substitute_in_expr, case 'e'): Only make recursive call
13686         on operands if it has a PLACEHOLDER_EXPR.
13688 2003-03-09  David Edelsohn  <edelsohn@gnu.org>
13689             Mostafa Hagog
13691         * config/rs6000/rs6000.md (movsi_update1): Add TARGET_UPDATE final
13692         condition.
13694 2003-03-09  Neil Booth  <neil@daikokuya.co.uk>
13696         * config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
13697         * config/ip2k/ip2k.h: Similarly.
13698         * config/m32r/m32r.h: Similarly.
13699         * config/m68hc11/m68hc11.h: Similarly.
13700         * config/mn10200/mn10200.h: Similarly.
13701         * config/mn10300/mn10300.h: Similarly.
13702         * config/pdp11/pdp11.h: Similarly.
13703         * config/v850/v850.h: Similarly.
13704         * config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS.
13705         * config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS.
13706         * config/mips/iris3.h: Remove #if 0 block.
13708 2003-03-09  Roger Sayle  <roger@eyesopen.com>
13709             Joern Rennecke <joern.rennecke@superh.com>
13711         * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch.  Don't handle
13712         pending argument upon return from handle_braces here.
13713         (do_spec_2): Instead handle it upon return from do_spec_1 here.
13715 2003-03-09  Roger Sayle  <roger@eyesopen.com>
13716             Joern Rennecke <joern.rennecke@superh.com>
13718         * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch.  Don't handle
13719         pending argument upon return from handle_braces here.
13720         (do_spec_2): Instead handle it upon return from do_spec_1 here.
13722 2003-03-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13724         * varasm.c (make_decl_one_only): Use declare_weak().
13726 2003-03-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
13728         PR middle-end/9986
13729         * c-common.c (c_common_nodes_and_builtins): Initialize target builtins
13730         after the common builtins.
13731         * pa-hpux.h (DONT_HAVE_FPUTC_UNLOCKED): Define.
13732         * pa.c (TARGET_INIT_BUILTINS): Define.
13733         (pa_init_builtins): New function.
13735         * pa.md (call, call_value, sibcall, sibcall_value): When sufficient
13736         space has been allocated for the outgoing arguments, set the arg
13737         pointer for a call emitted after virtuals have been instantiated
13738         using the stack pointer offset, otherwise abort.
13740 2003-03-09  DJ Delorie  <dj@redhat.com>
13742         * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): Revert.
13744 2003-03-09  Richard Earnshaw  <rearnsha@arm.com>
13746         * arm.md (fix_truncsfsi2, fix_truncdfsi2, arm_fix_truncsfsi2)
13747         (arm_fix_truncdfsi2): Add missing fix in floating point mode before
13748         conversion to integer.
13749         * cirrus.md (cirrus_truncsfsi2, cirrus_truncdfsi2): Likewise.
13751 2003-03-09  Roger Sayle  <roger@eyesopen.com>
13753         * builtins.def: Fix typo and improve grammar.
13754         * loop-unroll.c (decide_peel_completely): Tidy log message.
13756 2003-03-09  Kazu Hirata  <kazu@cs.umass.edu>
13758         * config/h8300/h8300.md (*tstsi_upper_bit): New.
13759         (*iorsi3_e2f): Likewise.
13761 2003-03-08  Kazu Hirata  <kazu@cs.umass.edu>
13763         * config/h8300/h8300.c (h8300_and_costs): Return the number of
13764         assembly instructions needed.
13765         (h8300_shift_costs): Likewise.
13767 2003-03-09  Hans-Peter Nilsson  <hp@bitrange.com>
13769         * config/cris/aout.h (ENDFILE_SPEC): Undef.
13771         * optabs.c (gen_move_insn): Move logic for synthesizing MODE_CC
13772         moves from here ...
13773         * expr.c (emit_move_insn_1): ... to here.
13775         * config/cris/aout.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to...
13776         (TARGET_OS_CPP_BUILTINS): New macro.
13777         * config/cris/cris.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__ELF__ to...
13778         (TARGET_OS_CPP_BUILTINS): New macro.
13779         (CPP_PREDEFINES): Don't define.  Move old definitions and...
13780         (CPP_SPEC): ...move -D__CRIS_ABI_version=2 to...
13781         (TARGET_CPU_CPP_BUILTINS): New macro.
13782         * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Move constant
13783         definitions and the optional __PIC__, __pic__ and
13784         __NO_UNDERSCORES__ definitions to...
13785         (TARGET_OS_CPP_BUILTINS): New macro.
13787         * flags.h (flag_leading_underscore): Declare.
13789         * c-opts.c (c_common_post_options): On fopen failure, return
13790         false, not NULL.
13792 2003-03-08  Hans-Peter Nilsson  <hp@bitrange.com>
13794         * config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not
13795         config.h.
13796         * config/cris/cris.h (HAVE_GAS_HIDDEN): Don't define here.
13797         * config/cris/aout.h (HAVE_GAS_HIDDEN): Undef.
13799 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
13801         * config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
13802         CPP_PREDEFINES.
13803         * config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
13804         CPP_PREDEFINES.
13806 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
13808         * c-common.h (c_common_init, c_common_post_options): Update.
13809         * c-objc-common.c (c_objc_common_init): Update for new prototype.
13810         * c-opts.c (saved_lineno): New.
13811         (c_common_post_options, c_common_init): Update prototypes,
13812         move call to cpp_read_main_file from latter to former.
13813         * c-tree.h (c_ojbc_common_init): Update.
13814         * langhooks-def.h (lhd_post_options): New.
13815         (LANG_HOOKS_INIT, LANG_HOOKS_POST_OPTIONS): Update.
13816         * langhooks.c (lhd_post_options): New.
13817         * langhooks.h (struct lang_hooks): Update post_options and init hooks.
13818         * toplev.c (no_backend): New.
13819         (process_options): Call post_options hook and set main_input_filename
13820         and input_filename here.
13821         (lang_dependent_init, do_compile): post_options hook moved to
13822         process_options.
13823         * objc/objc-act.c (objc_init): Update prototype.
13824         * objc/objc-act.h (objc_init): Update prototype.
13826 2003-03-08  Roger Sayle  <roger@eyesopen.com>
13828         * emit-rtl.c (gen_lowpart): Don't attempt to load a part of
13829         a complex or vector type, using a load in the original mode.
13831 2003-03-08  Jan Hubicka  <jh@suse.cz>
13833         * Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h.
13834         * gt-cgraph.h: New GC file.
13835         * cgraph.c (known_fns): New static variable.
13836         (cgraph_node): Add the decl into varray.
13838 2003-03-08  Hans-Peter Nilsson  <hp@bitrange.com>
13840         * config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives.
13842 2003-03-08  Richard Earnshaw  <rearnsha@arm.com>
13844         * arm.c (fpa_rhs_operand, fpa_add_operand, const_double_rtx_ok_for_fpa)
13845         (neg_const_double_ok_for_fpa, output_mov_long_double_fpa_from_arm)
13846         (output_mov_long_double_arm_from_fpa, output_mov_double_fpa_from_arm)
13847         (output_mov_double_arm_from_fpa): Renamed to use fpa instead of fpu.
13848         All callers changed.
13849         * arm.md, arm.h, arm-protos.h: Updated.
13851         * arm.h (enum reg_class FPA_REGS): Renamed from FPU_REGS.
13852         (CLASS_MAX_NREGS, REGISTER_MOVE_COST, REG_CLASS_FROM_LETTER): Updated.
13853         * arm.c (arm_regno_class, f_register_operand): Updated.
13855 2003-03-08  Hans-Peter Nilsson  <hp@bitrange.com>
13857         * config/cris/cris.h: Remove EGCS references.
13858         (CPP_SPEC): Remove "-$".
13859         (INIT_CUMULATIVE_ARGS): Adjust parameter name to FNDECL.
13861 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
13863         * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
13864         preference to CPP_PREDEFINES.
13866 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
13868         * cppinit.c (cpp_finish_options): Set first_unused_line to -1.
13870 2003-03-08  Kazu Hirata  <kazu@cs.umass.edu>
13872         * config/h8300/h8300.md (*extzv_16_8): New.
13874 2003-03-08  Jan Hubicka  <jh@suse.cz>
13876         * c-decl.c: (finish_function): Update call of tree_inlinable_function_p.
13877         * cgraph.h: (cgraph_local_info): Add can_inline_once
13878         (cgraph_global_info): Add inline_once.
13879         (cgraph_node): Add previous.
13880         (cgraph_remove_node): New.
13881         * cgraphunit.c (cgraph_mark_functions_to_inline_once): New static
13882         function.
13883         (cgraph_optimize): Call it.
13884         (cgraph_finalize_function):  Set inlinable flags.
13885         (cgraph_finalize_compilation_unit):  Actually remove the reclaimed nodes.
13886         (cgraph_mark_functions_to_output):  Use new inlining heuristics flags.
13887         (cgraph_expand_function): Likewise.
13888         * cgraph.c
13889         (cgraph_node): Put nodes into doubly linked chain.
13890         (cgraph_remove_node): New function.
13891         * flags.h (flag_inline_functions_called_once): Declare.
13892         * tree-inline.c: Include cgraph.h
13893         (inlinable_functions_p): Add extra argument to bypass limits.
13894         (expand_call_inline):  Obey cgraph flag.
13895         * tree-inline.h (tree_inlinable_function_p): Update prototype.
13897 2003-03-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
13899         * gcse.c (bypass_block, bypass_conditional_jumps): Do not create
13900         irreducible loops.
13902         * loop-unroll.c (unroll_loop_runtime_iterations): Update irreducible
13903         loops info correctly.
13905 2003-03-08  Eric Botcazou  <ebotcazou@libertysurf.fr>
13907         PR middle-end/7796
13908         * unroll.c (calculate_giv_inc): Handle constants being
13909         loaded with LSHIFTRT.
13911 2003-03-07  David Edelsohn  <edelsohn@gnu.org>
13913         * config/rs6000/rs6000.c (processor_target_table): Do not disable
13914         GP optional instructions on Power3, Power4, 620, and 630.
13916 2003-03-07  Kazu Hirata  <kazu@cs.umass.edu>
13918         * calls.c: Fix comment formatting.
13919         * cfgloopanal.c: Likewise.
13920         * cfgloopmanip.c: Likewise.
13921         * combine.c: Likewise.
13922         * dwarf2out.c: Likewise.
13923         * ggc-common.c: Likewise.
13924         * langhooks.c: Likewise.
13925         * loop-unroll.c: Likewise.
13926         * loop.c: Likewise.
13927         * ra-build.c: Likewise.
13928         * sbitmap.c: Likewise.
13929         * toplev.c: Likewise.
13931 2003-03-07  James E Wilson  <wilson@tuliptree.org>
13933         * config/sh/sh.h (HARD_REGNO_NREGS): Round up the XD register count.
13935 2003-03-07  Geoffrey Keating  <geoffk@apple.com>
13937         * objc/lang-specs.h (objective-c-header): Use .gch not .pch;
13938         support -no-integrated-cpp.
13940         * c-pch.c (get_ident): Use c_language_kind and flag_objc rather
13941         than langhooks.name.
13943 2003-03-07  Michael Matz  <matz@suse.de>
13945         * df.h (enum df_ref_flags.DF_REF_STRIPPED): New.
13946         (DF_FOR_REGALLOC): New.
13947         * df.c (df_ref_record): Set DF_REF_STRIPPED.
13948         (read_modify_subreg_p): Simplify.
13949         (df_def_record_1, df_uses_record): Set DF_REF_MODE_CHANGE more often.
13950         Use DF_FOR_REGALLOC.
13951         * ra.h (struct web): New member subreg_stripped.
13952         (invalid_mode_change_regs): Declare.
13953         * ra.c (invalid_mode_change_regs): New.
13954         (init_ra): Initialize it.
13955         * ra-build.c (init_one_web_common, remember_web_was_spilled): Use it.
13956         Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
13957         (reinit_one_web, parts_to_web_1): Deal with subreg_stripped.
13958         * ra-colorize.c (colorize_one_web): Use invalid_mode_change_regs.
13959         Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
13961 2003-03-07  Richard Earnshaw  <rearnsha@arm.com>
13963         * arm.md (addsf3, adddf3, subsf3, subdf3, mulsf3, muldf3, negsf2)
13964         (negdf2, abssi2, abssf2, absdf2, floatsisf2, floatsidf2)
13965         (fix_truncsfsi2, fix_truncdfsi2, truncdfsf2): Moved back into main
13966         machine description file from ...
13967         * cirrus.md: ... here.
13969 2003-03-06  Kazu Hirata  <kazu@cs.umass.edu>
13971         * config/h8300/h8300.md (a peephole2): Don't use
13972         reg_overlap_mentioned_p.
13974 2003-03-06  Geoffrey Keating  <geoffk@apple.com>
13976         * c-pch.c: Include langhooks.h.
13977         (IDENT_LENGTH): New.
13978         (get_ident): New.
13979         (pch_ident): Delete.
13980         (pch_init): Use get_ident, IDENT_LENGTH.
13981         (c_common_valid_pch): Likewise.  Also, use actual language
13982         in warning message.
13983         * Makefile.in (c-pch.o): Add langhooks.h to dependencies.
13985         * objc/config-lang.in (gtfiles): Add objc-act.c.  Remove duplicate
13986         c-parse.in.
13987         * objc/Make-lang.in (objc/objc-act.o): Add dependency on
13988         gt-objc-objc-act.h.
13989         (gt-objc-objc-act.h): New rule.
13990         * objc/lang-specs.h: Support PCH.
13991         * objc/objc-act.c: Include gt-objc-objc-act.h.
13992         (objc_add_static_instance): Move num_static_inst out, mark for PCH.
13993         (build_selector_reference_decl): Move idx out, mark for PCH.
13994         (build_class_reference_decl): Likewise.
13995         (build_objc_string_decl): Move *_idx out, mark for PCH.
13996         (build_tmp_function_decl): Move xxx out, mark for PCH.
13998 2003-03-06  Dale Johannesen  <dalej@apple.com>
14000         * config/rs6000/rs6000.c (rs6000_binds_local_p):  Consider
14001         global functions for inlining on Darwin.
14003 2003-03-06  Vladimir Makarov  <vmakarov@redhat.com>
14005         * haifa-sched.c (schedule_block): Don't call reorder when sorting
14006         is prohibited.
14008 2003-03-06  Neil Booth  <neil@daikokuya.co.uk>
14010         * Makefile.in (c-ppoutput.o): Update.
14011         * c-common.h (init_pp_output): New.
14012         (preprocess_file): Update.
14013         * c-lex.c (init_c_lex): Move mbchar initialization to cpplib.
14014         Register builtins.
14015         * c-opts.c (c_common_init): Call init_pp_output if preprocessing.
14016         Make call to cpp_read_main_file common to whether preprocessing
14017         or not.  Don't register builtins.
14018         * c-ppoutput.c: Include c-pragma.h.
14019         (setup_callbacks): Rename init_pp_output.
14020         (preprocess_file): No longer setup callbacks or call
14021         cpp_read_main_file.
14022         * cpphash.h (_cpp_init_mbchar): New.
14023         * cppinit.c (init_library): Call _cpp_init_mbchar.
14024         * cpplex.c (_cpp_init_mbchar): New.
14026 2003-03-06  Roger Sayle  <roger@eyesopen.com>
14028         * emit-rtl.c (gen_lowpart): When requesting the low-part of a
14029         MEM, try loading the MEM into a register and taking the low-part
14030         of that, to help CSE see the use of the MEM in its true mode.
14032 2003-03-05  Tom Tromey  <tromey@redhat.com>
14034         * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH):
14035         Define.
14037 2003-03-05  Nick Clifton  <nickc@cambridge.redhat.com>
14039         * config/stormy16/stormy16.md ("*eqbranchsi"): Remove '+' on
14040         operand 2.
14041         ("*ineqbranchsi"): Likewise.
14043 2003-03-05  Andrew Haley  <aph@cambridge.redhat.com>
14045         * config/stormy16/stormy16.c (xstormy16_expand_prologue): Delete
14046         mem_fake_push_rtx.  Instead construct a SEQUENCE to show the
14047         register store followed by a stack increment.
14049 2003-03-05  Chris Moller  <cmoller@redhat.com>
14051         * config/stormy16/stormy16.c (REG_NEEDS_SAVE): added a term
14052         to inhibit saving CARRY_REGS.
14054         * config/stormy16/stormy16.c (xs_hi_general_operand):
14055         added predicate to detect and error-out on out-of-range
14056         const_ints for movhi.
14057         * config/stormy16/stormy16.md (movhi): use
14058         xs_hi_general_operand.
14060         * config/stormy16/stormy16.c (xstormy16_expand_prologue):
14061         added a check for local vbl size overflow.
14062         * config/stormy16/stormy16.c (xs_hi_nonmemory_operand):
14063         added predicate to detect and error-out on out-of-range
14064         const_ints for addhi and subhi.
14065         * config/stormy16/stormy16.md (addhi3, addchi4, addchi5,
14066         subhi3, subchi4, subchi5): used xs_hi_nonmemory_operand.
14068         * config/stormy16/stormy16.c (xstormy16_legitimate_address_p):
14069         add a term to accept PRE_MODIFY addresses.
14070         * config/stormy16/stormy16.c (xstormy16_expand_move):
14071         add code to expand PRE_MODIFY addresses to an add followed
14072         by a move.
14074 2003-03-06  Jason Merrill  <jason@redhat.com>
14076         * tree-inline.c (inlinable_function_p): Revert earlier change
14077         pending investigation.
14079 2003-03-06  Kazu Hirata  <kazu@cs.umass.edu>
14081         * config/h8300/h8300.md (a new peephole2): New.
14083 2003-03-06  Jan Hubicka  <jh@suse.cz>
14085         * cgraph.c (cgraph_node): Do not confuse nested functions and methods.
14087 2003-03-06  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
14089         * dwarf2out.c (size_of_die): Compute size of external reference to
14090         die correctly.
14092 2003-03-06  Hans-Peter Nilsson  <hp@bitrange.com>
14094         * config/mmix/mmix.md ("*movcc_expanded"): New pattern.
14095         ("movcc", "movcc_uns", "movcc_fp", "movcc_fpeq", "movcc_fun"): New
14096         expanders.
14098 2003-03-05  Roger Sayle  <roger@eyesopen.com>
14100         * expr.h (lang_expand_expr): Delete obsolete prototype.
14102 2003-03-05  Kazu Hirata  <kazu@cs.umass.edu>
14104         * emit-rtl.c (gen_highpart_mode): Fix a comment typo.
14106 2003-03-05  Kazu Hirata  <kazu@cs.umass.edu>
14108         * config/h8300/h8300.md (a peephole2): Generalize to
14109         accept a memory operand.
14111 2003-03-05  Olivier Hainque <hainque@act-europe.fr>
14113         * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '+'.
14114         * config/alpha/alpha.c (print_operand, case '+'): New.
14115         * config/alpha/alpha.md (call_osf_1_noreturn): Document and use.
14116         (call_value_osf_1_noreturn): Likewise.
14118 2003-03-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14120         * stmt.c (fixup_gotos): Change meaning of DONT_JUMP_IN.
14121         (expand_end_bindings): Likewise.
14123 2003-03-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
14125         * pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
14126         (epilogue): Don't generate return_external_pic when emitting PA 2.0
14127         code.
14129 2003-03-05  Aldy Hernandez  <aldyh@redhat.com>
14131         * doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
14133         * config/rs6000/rs6000.c (rs6000_dwarf_register_span): New.
14135         * hooks.c (hook_rtx_rtx_null): New.
14137         * hooks.h (hook_rtx_rtx_null): Protoize.
14139         * target-def.h (TARGET_DWARF_REGISTER_SPAN): New macro.
14140         (TARGET_INITIALIZER): Add TARGET_DWARF_REGISTER_SPAN.
14142         * target.h (struct gcc_target): Add dwarf_register_span.
14144         * dwarf2out.c (multiple_reg_loc_descriptor): New.
14145         (one_reg_loc_descriptor): New.
14146         (reg_loc_descriptor): Add support for values that span more than
14147         one register.
14149 2003-03-05  Jan Hubicka  <jh@suse.cz>
14151         * Makefile.in (calls.o, toplev.o alias.o): Depend on cgraph.h
14152         * alias.c:  Include cgraph.h
14153         (mark_constant_function): Use cgraph_rtl_info.
14154         * calls.c:  Include cgraph.h
14155         (flags_from_decl_or_type): Use cgraph_rtl_info to find pure and const
14156         calls.
14157         (expand_call): Use cgraph_rtl_info to set preferred stack boundary.
14158         * cgraph.c (cgraph_rtl_info): New function.
14159         * cgraph.h (cgraph_rtl_info): Declare
14160         (cgraph_rtl_info): Likewise.
14161         * function.h (struct function): Add recursive_call_emit.
14162         * toplev.c: Include cgraph.h.
14163         (rest_of_compilation): Set preferred_incoming_stack_boundary.
14165 2003-03-05  Kazu Hirata  <kazu@cs.umass.edu>
14167         * config/h8300/h8300.c (output_simode_bld): Clear the
14168         destination first if possible.
14169         * config/h8300/h8300.md (extzv_1_r_h8300hs): Add an
14170         alternative.
14171         (extzv_1_r_inv_h8300hs): Likewise.
14173 2003-03-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
14175         * basic-block.h (EDGE_IRREDUCIBLE_LOOP, EDGE_ALL_FLAGS): New.
14176         * cfg.c (dump_edge_info): Add EDGE_IRREDUCIBLE_LOOP flag dump.
14177         * cfgloop.c (flow_loop_free): Made global.
14178         (establish_preds): New static function.
14179         (flow_loop_tree_node_add): Handle subloops of added loop correctly.
14180         (get_loop_exit_edges): New.
14181         (verify_loop_structure): Verify EDGE_IRREDUCIBLE_LOOP flags.
14182         * cfgloop.h (flow_loop_free, get_loop_exit_edges, unloop): Declare.
14183         * cfgloopanal.c (mark_irreducible_loops): Mark edges in irreducible
14184         loops.
14185         * cfgloopmanip.c (loop_delete_branch_edge): Allow to test for
14186         removability of an edge.
14187         (fix_irreducible_loops): New static function.
14188         (find_path, remove_path): Add ability to remove enclosing loops.
14189         (unloop): New.
14190         (copy_bbs, duplicate_loop_to_header_edge): Use EDGE_IRREDUCIBLE_LOOP
14191         flags.
14192         * cfgrtl.c (verify_flow_info): Handle EDGE_IRREDUCIBLE_LOOP flag.
14193         * loop-unroll.c (peel_loops_completely): Do not duplicate loop if
14194         not neccessary.
14195         (decide_peel_completely, peel_loops_completely): Allow complete peeling
14196         of non-duplicable once rolling loops.
14197         * loop-unswitch.c (unswitch_loop): Update EDGE_IRREDUCIBLE_LOOP flags.
14199 2003-03-05  J"orn Rennecke <joern.rennecke@superh.com>
14201         * sh.h (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, the minimum value
14202         for align_jumps is 4.
14204         (SECONDARY_INPUT_RELOAD_CLASS): If reloading a PLUS into FPUL,
14205         use GENERAL_REGS.
14207 2003-03-05  Stephane Carrez  <stcarrez@nerim.fr>
14209         * config/m68hc11/m68hc11.h (PAD_VARARGS_DOWN): Define and return
14210         according to va_arg type.
14211         (EXPAND_BUILTIN_VA_ARG): Remove.
14212         * config/m68hc11/m68hc11.c (m68hc11_va_arg): Remove.
14213         * config/m68hc11/m68hc11-protos.h (m68hc11_va_arg): Remove.
14215 2003-03-05  David Edelsohn  <edelsohn@gnu.org>
14217         * config/rs6000/rs6000.c (rs6000_variable_issue): Remove unnecessary
14218         else clauses.
14220 2003-03-05  Michael Matz  <matz@suse.de>
14222         * i386/i386.c (ix86_save_reg): Also test
14223         current_function_uses_const_pool.
14225 2003-03-05  Michael Matz  <matz@suse.de>
14227         * unwind.h: Add the GPL exception.
14228         * Makefile.in (USER_H): Add unwind.h.
14230 2003-03-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
14232         PR c/9799
14233         * c-typeck.c (push_init_level): Add sanity check.
14235 2003-03-05  Jan Hubicka  <jh@suse.cz>
14237         * toplev.c (rest_of_compilation):  Deffer RTL compilation only when
14238         RTL inlining is done.
14240         * cgraphunit.c (cgraph_mark_local_functions): New local function.
14241         (cgraph_optimize): Mark local functions.
14242         * i386-protos.h (init_cumulative_args): Update prototype.
14243         * i386.c (init_cumulative_args): Use register passing convention for
14244         local functions.
14246         * cgraph.c (cgraph_global_info_ready): New global variable
14247         (cgraph_local_info, cgraph_global_info): New functions.
14248         * cgraph.h (struct cgraph_local_info, cgraph_global_info): New
14249         structures.
14250         (cgraph_local_info, cgraph_global_info, cgraph_global_info_ready):
14251         Declare.
14252         * cgraphunit.c (cgraph_finalize_function): Set inline_many.
14253         (cgraph_mark_functions_to_output): Use inline_many.
14254         (cgraph_expand_function): Free DECL_SAVED_TREE uncondtionally.
14255         (cgraph_expand_functions): Expand inline functions last.
14256         (cgraph_optimize): Do not emit uneeded functions.
14258 2003-03-04  Steve Ellcey  <sje@cup.hp.com>
14260         * expr.c (convert_modes): Check for legal hard register.
14262 2003-03-04  Tom Tromey  <tromey@redhat.com>
14264         * doc/sourcebuild.texi (Front End Directory): Document tags.
14265         * configure: Rebuilt.
14266         * configure.in (target_list): Added tags.
14267         * Makefile.in (TAGS): Depend on lang.clean.  Include subdirectory
14268         TAGS files by reference.
14269         * objc/Make-lang.in (objc.tags): New target.
14271 2003-03-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
14273         * gcov-io.h (gcov_save_position, gcov_reserve_length, gcov_resync,
14274         gcov_skip, gcov_skip_string, gcov_write_unsigned, gcov_write_counter,
14275         gcov_write_string, gcov_read_unsigned, gcov_read_counter,
14276         gcov_read_string, gcov_write_length): Modified to enable reading/
14277         writing of whole .da file just once.
14278         (da_file_open, da_file_close, da_file_eof, da_file_error,
14279         da_file_position, da_file_seek, da_file_write, da_file_read): New
14280         functions.
14281         (actual_da_file, actual_da_file_position, actual_da_file_length,
14282         actual_da_file_buffer, actual_da_file_buffer_size): New static
14283         functions.
14284         * libgcov.c (gcov_exit): Modified to read/write the whole .da file at
14285         just once.
14288 2003-03-04  Andreas Schwab  <schwab@suse.de>
14290         * config/m68k/m68k.c (m68k_output_function_prologue): Fix CFA
14291         offset without frame pointer.
14293 2003-03-04  Steve Ellcey  <sje@cup.hp.com>
14295         * expr.c (expand_expr): Call promote_mode to set unsignedp.
14297 2003-03-04  Daniel Jacobowitz  <drow@mvista.com>
14299         * configure.in: Don't always define TARGET_SYSTEM_ROOT.
14300         * configure: Regenerated.
14301         * gcc.c: Check whether TARGET_SYSTEM_ROOT is defined.
14303 2003-03-04  Andreas Jaeger  <aj@suse.de>
14305         * configure.in: Check for <memcheck.h>.
14306         * configure: Regenerated.
14308         * config.in: Define HAVE_MEMCHECK_H.
14310         * ggc-common.c: Use <memcheck.h> if available instead of
14311         <valgrind.h>.
14312         * ggc-page.c: Likewise.
14313         * cppfiles.c: Likewise.
14315 2003-03-04  Kazu Hirata  <kazu@cs.umass.edu>
14317         * config/h8300/h8300.md (*extzv_8_8): Fix cc and lengths.
14319 2003-03-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
14321         PR c/9262
14322         * c-typeck.c (do_case): Attach the first case label to the SWITCH_BODY.
14323         (c_finish_case): Rechain the next statements to the SWITCH_STMT.
14325 2003-03-04  Jan Hubicka  <jh@suse.cz>
14327         * doc/invoke.texi:  Document that unit-at-a-time is enabled for -O3
14328         * toplev.c (parse_options_and_default_flags): Enable flag_unit_at_a_time
14329         for -O3.
14331 2003-03-04  Nathanael Nerode  <neroden@gcc.gnu.org>
14333         * configure.in: Delete three unused variables.  Move a variable
14334         definition closer to its use.  Simplify use_collect2 logic.  Start to
14335         organize.  Simplify tests for in-tree gas and ld.
14336         * configure: Regenerate.
14338 2003-03-04  Neil Booth  <neil@daikokuya.co.uk>
14340         * Makefile.in: Update.
14341         * c-common.c (flag_no_line_commands, flag_no_output,
14342         flag_dump_macros, flag_dump_includes): New.
14343         * c-common.h (flag_no_line_commands, flag_no_output,
14344         flag_dump_macros, flag_dump_includes, preprocess_file): New.
14345         (init_c_lex): Update prototype.
14346         * c-lex.c (init_c_lex): Update prototype; move some code to
14347         c_common_init.
14348         * c-opts.c (preprocess_file): Subsume into c_common_init.
14349         (c_common_decode_option): Update flags.
14350         (c_common_init): Move code from preprocess_file and init_c_lex.
14351         (sanitize_cpp_opts): Update.
14352         * c-ppoutput.c: New, cppmain.c almost verbatim.
14353         * cpphash.h (struct printer): Remove.
14354         (struct cpp_reader): Remove print.
14355         * cpplib.h (dump_none, dump_only, dump_names, dump_definitions,
14356         cpp_preprocess_file): Remove.
14357         (struct cpp_options): Remove no_output, no_line_commands, dump_macros
14358         and dump_includes.
14359         * cppmain.c: Remove.
14360         * doc/passes.texi: Update.
14362 2003-03-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
14364         * function.c (STACK_ALIGNMENT_NEEDED): New macro.  Default to 1.
14365         (assign_stack_local_1): Perform overall stack alignment only when
14366         STACK_ALIGNMENT_NEEDED is nonzero.
14367         * doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document.
14369         * pa.c (compute_frame_size): Rename fsize to size.  Account for
14370         alignment to a word boundary before general register save block.  Only
14371         account for double-word alignment before floating point register save
14372         block if one or more are saved.  Don't allocate space for %r3 when
14373         frame pointer is needed.
14374         (hppa_expand_prologue): Include alignment to word boundary in local
14375         frame size.
14376         * pa.h (STARTING_FRAME_OFFSET): Define to 8 on both 32 and 64-bit ports.
14377         (STACK_ALIGNMENT_NEEDED): Define.
14379 2003-03-04  Kevin Buettner  <kevinb@redhat.com>
14381         * dwarf2out.c (rtl_for_decl_location): Don't return NULL_RTX for
14382         global register variables.
14384 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
14386         * reload.c (reload_adjust_reg_for_mode): New function.
14387         (subst_reloads): Call it.
14388         (operands_match_p): Adjust registers using HARD_REGNO_NREGS.
14389         * reload.h (reload_adjust_reg_for_mode): Declare.
14390         * reload1.c (emit_input_reload_insns, emit_output_reload_insns):
14391         Call it.
14393 2003-03-03  James E Wilson  <wilson@tuliptree.org>
14395         * optabs.c (add_equal_note): Delete SUBREG_REG use.
14396         Fixes PR c/7872.
14398 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
14400         * config/h8300/h8300.md (*ixorsi3_ashift_16): New.
14401         (*ixorsi3_lshiftrt_16): New.
14402         (*iorsi3_ashift_16): Remove.
14404 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
14406         * config/h8300/h8300.md (*extzv_8_8): Use '?' to simplify the
14407         pattern.
14409 2003-03-03  Geoffrey Keating  <geoffk@apple.com>
14411         * doc/install.texi (Specific): Update entry for powerpc-darwin.
14413 2003-03-03  Richard Henderson  <rth@redhat.com>
14415         * config/ia64/ia64.h (HAVE_AS_LTOFFX_LDXMOV_RELOCS): Default to 0.
14417 2003-03-03  David Edelsohn  <edelsohn@gnu.org>
14419         * config/rs6000/rs6000.c (rs6000_multipass_dfa_lookahead): Delete.
14420         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Delete.
14421         (rs6000_variable_issue): Do not return negative value.
14422         (rs6000_issue_rate): Uniformly set issue rate to 1 for first
14423         scheduling pass.
14425 2003-03-03  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
14427         * dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and
14428         prune_unused_types calls.
14430 2003-03-03  Jason Merrill  <jason@redhat.com>
14432         * tree-inline.c (find_builtin_longjmp_call): Save and restore
14433         lineno and input_filename.
14434         (find_alloca_call): Likewise.
14435         (inlinable_function_p): Run the langhook earlier.
14437         * calls.c (compute_argument_addresses): Give the new MEMs a
14438         minimum alignment of PARM_BOUNDARY.
14440 2003-03-03  J"orn Rennecke <joern.rennecke@superh.com>
14442         * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
14443         subtarget_asm_isa_spec.
14444         (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
14445         (ASM_SPEC): Define as SH_ASM_SPEC.
14446         (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
14447         Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
14448         * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
14449         (SUBTARGET_ASM_ISA_SPEC): Undef / define.
14451         * sh.h (OVERRIDE_OPTIONS): Set default values for align_loops
14452         and align_jumps if not set.
14453         Force align_jumps to be at least 2.
14454         When relaxing, force align_functions to be at least the maximum of
14455         align_loops, align_jumps and 4.
14456         * sh.c (find_barrier, barrier_align): Honour align_jumps_log.
14457         (sh_loop_align): Honour align_loops_log.
14459         * sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN
14460         to check for indirect_jump_scratch.
14461         (indirect_jump_scratch): Add second set.
14462         * sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN
14463         when looking for indirect_jump_scratch.
14464         Extract scratch register taking new structure of indirect_jump_scratch
14465         into account.
14466         (gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch.
14468 2003-03-03  Jan Hubicka  <jh@suse.cz>
14470         * calls.c (rtx_for_function_call): Take the address as an argument
14471         (expand_call): Do not modify the expression.
14473         * toplev.c (rest_of_compilation):  Avoid cfg_cleanup calls when not
14474         optimizing.
14476 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
14478         * config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to
14479         TARGET_H8300H and TARGET_H8300S.
14481 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
14483         * config/h8300/h8300.md (a peephole2): New.
14485 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
14487         * config/h8300/h8300.md (*extzv_8_8): Use shorter code when
14488         operands[0] and operands[1] are different.
14490 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
14492         * reload1.c (reload_cse_move2add): Remove variable success.
14494 2003-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14496         * ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid
14497         warnings.
14499 2003-03-02  Richard Henderson  <rth@redhat.com>
14501         * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test.
14502         * config.in, configure: Rebuild.
14503         * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum.
14504         * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the
14505         paired ldtoffx and ldxmov annotations.
14506         (load_symptr_internal1): Remove.
14507         (load_symptr_high, load_symptr_low): New.
14509 2003-03-02  Neil Booth  <neil@daikokuya.co.uk>
14511         * c-incpath.c (add_path): Fix sysp assignment.
14513 2003-03-02  Kurt Garloff  <garloff@suse.de>
14515         * params.def: Introduce parameter max-inline-insns-rtl for
14516         a separate limit for the RTL inliner.
14517         * params.h: Likewise.
14518         * integrate.c (function_cannot_inline_p): Use it.
14519         * toplev.c (decode_f_option): Set multiple parameters
14520         controlling inlining with -finline-limit.
14521         * params.def: Fix orthographic and typographic errors.
14522         * doc/invoke.texi: Document parameters controlling inlining
14523         and the way -finline-limit sets multiple of them.
14525         * tree.h (struct tree_decl): Introduce inlined_function_flag,
14526         recording whether the function became eligible for inlining
14527         by a compiler flag rather than the declaration.
14528         Provide DID_INLINE_FUNC macro to access it.
14529         * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC.
14530         * cp/decl.c (grokfndecl): Likewise.
14531         * toplev.c (rest_of_compilation): Likewise.
14532         * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC.
14533         * print-tree.c (print_node): Report it.
14534         * params.def: Introduce new max-inline-insns-auto limit.
14535         * params.h: Likewise.
14536         * tree-inline.c (inlinable_function_p): Apply it to functions
14537         with DID_INLINE_FUNC set.
14538         * toplev.c (decode_f_option): Initialize it from -finline-limit
14539         value.
14540         * doc/invoke.texi: Document new parameter.
14542 2003-03-02  Geoffrey Keating  <geoffk@apple.com>
14544         * fix-header.c (read_scan_file): Don't reference simplify_path.
14546 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
14548         * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable
14549         min/max instructions by default as may result in reload errors.
14551 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
14553         * config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to
14554         avoid reload problems; define split for it.
14556 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
14558         * config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function.
14559         * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare.
14560         * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register.
14561         * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for
14562         rotatert and rotate.
14563         ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns.
14564         ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert.
14565         ("*rotrhi3_addr"): New split for shift insns on address register.
14566         ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split.
14567         * config/m68hc11/larith.asm (___rotlhi3): New asm function.
14568         (___rotrhi3): Likewise.
14569         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them.
14571 2003-03-02  Neil Booth  <neil@daikokuya.co.uk>
14573         * toplev.c (aux_base_name): Moved from toplev.h.
14574         (filename): Constify.
14575         (lang_dependent_init): Don't duplicate name.
14576         (process_options): Set aux_base_name here, not...
14577         (do_compile): ...here.  Change protoype.
14578         (toplev_main): Move some code from do_compile.
14579         * toplev.h: Remove aux_base_name.
14581 2003-03-02  Kazu Hirata  <kazu@cs.umass.edu>
14583         * config/h8300/h8300-protos.h: Add a prototype for
14584         iorxor_operator.
14585         * config/h8300/h8300.c (print_operand): Handle 'c'.
14586         (iorxor_operator): New.
14587         * config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator.
14588         * config/h8300/h8300.md (*iorhi3_zext): Remove.
14589         (*iorsi3_zexthi): Likewise.
14590         (*iorsi3_zextsi): Likewise.
14591         (*xorhi3_zextqi): Likewise.
14592         (*xorsi3_zexthi): Likewise.
14593         (*xorsi3_zextsi): Likewise.
14594         (*ixorhi3_zext): New.
14595         (*ixorsi3_zext_qi): Likewise.
14596         (*ixorsi3_zext_hi): Likewise.
14598 2003-03-02  Neil Booth  <neil@daikokuya.co.uk>
14600         * c-incpath.c (remove_component_p, simplify_path): Move back to
14601         cppfiles.c.
14602         (remove_duplicates): Use cpp_simplify_path.
14603         * c-incpath.h (simplify_path): Remove.
14604         * c-lex.c: Don't include c-incpath.h.
14605         (init_c_lex): Remove simplify_path.
14606         * cppfiles.c (remove_component_p, cpp_simplify_path): Restore.
14607         (find_or_create_entry, validate_pch): Revert.
14609 2003-03-02  Ashif Harji  <asharji@uwaterloo.ca>
14611         * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke
14612           an external cpp during compilation.
14613         (option_map): Likewise.
14614         * objc/lang-specs.h (default_compilers): Similarly.
14615         * doc/invoke.texi: Document -no-integrated-cpp flag.
14617 2003-03-02  Kazu Hirata  <kazu@cs.umass.edu>
14619         * config/h8300/h8300.md (zero_extendqisi2): Change to an
14620         expander.
14621         (*zero_extendqisi2_h8300): New.
14622         (*zero_extendqisi2_h8300hs): New.
14623         (two splitters): New.
14625 2003-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14627         * fp-bit.h (float_to_usi): Fix condition wrapping prototype.
14629 2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
14631         * config/h8300/h8300.md (a peephole2): Remove dead code.
14633 2003-03-01  Roger Sayle  <roger@eyesopen.com>
14635         PR c++/9367
14636         * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro.
14637         (BT_FN_INT_CONST_STRING_VALIST_ARG,
14638         BT_FN_INT_STRING_CONST_STRING_VALIST_ARG,
14639         BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG,
14640         BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG,
14641         BT_FN_INT_STRING_CONST_STRING_VAR,
14642         BT_FN_INT_CONST_STRING_CONST_STRING_VAR,
14643         BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types.
14644         * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2,
14645         ATTR_NONNULL_3): Also include the nothrow attribute.
14646         (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf,
14647         vsnprintf, vscanf, vsscanf): Don't define attributes here.
14648         * builtins.def (putchar, puts): Make full C89 built-ins.
14649         (snprintf, sprintf, scanf, sscanf, vprintf, vscanf,
14650         vsscanf, vsnprintf, vsprintf): New built-ins.
14651         * c-common.c (c_common_nodes_and_builtins): Handle new macro
14652         DEF_FUNCTION_TYPE_VAR_3.
14654         * doc/extend.texi: Document these new built-in functions.
14656 2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
14658         * config/h8300/h8300.md (a peephole2): New.
14660 2003-03-01  Richard Earnshaw  <rearnsha@arm.com>
14662         * predict.c (estimate_bb_frequencies): Correctly set
14663         real_values_initialized after initialization.
14665 2003-03-01  Neil Booth  <neil@daikokuya.co.uk>
14667         * Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS,
14668         cppinit.o, cppdefault.o, fix-header): Update.
14669         * c-incpath.c: New file.
14670         * c-incpath.h: New file.
14671         * c-lex.c: Include c-incpath.h.
14672         (init_c_lex): Register path simplifier.
14673         * c-opts.c: Include cppdefault.h and c-incpath.h.
14674         (TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc,
14675         std_cxx_inc, quote_chain_split, add_prefixed_path): New.
14676         (COMMAND_LINE_OPTIONS): Add more options from cpplib.
14677         (missing_arg, c_common_decode_option): Handle them.
14678         (c_common_post_options): Register include chains.
14679         (print_help): Update.
14680         * cppdefault.h (struct default include): Update.
14681         Move some macros to ...
14682         * cppdefault.c: ... here.
14683         (cpp_include_defaults): Add extra field add_sysroot.
14684         * cppfiles.c (include_file, search_from, find_or_create_entry,
14685         cpp_included, find_include_file, remap_filename): Update for
14686         renaming of search_path to cpp_path, and of the chain headers.
14687         (remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c.
14688         * cpphash.h (struct search_path): Move to cpplib.h.
14689         (struct cpp_buffer, struct cpp_reader): Update.
14690         (_cpp_simplify_pathname): Remove.
14691         * cppinit.c: Don't include prefix.h and cppdefault.h.
14692         (INO_T_EQ, INO_T_COPY, path_include, append_include_chain,
14693         remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs,
14694         init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir,
14695         no_pth, cpp_handle_options): Remove.
14696         (struct pending_option): Remove chain members.
14697         (cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS,
14698         cpp_handle_option): Update.
14699         * cpplib.h (struct cpp_path, cpp_set_include_chains): New.
14700         (struct cpp_options): Remove quote_include, bracket_include,
14701         include_prefix, include_prefix_len, verbose, ignore_srcdir,
14702         no_standard_includes, no_standard_cplusplus_includes.
14703         (struct cpp_callbacks): Add simplify_path.
14704         (cpp_handle_options): Remove.
14705         * fix-header.c: Include c-incpath.h.
14706         (read_scan_file): Update to use c-incpath functionality.
14707         * doc/passes.texi: Update.
14709 2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
14711         * config/h8300/h8300.c (bit_operand): Accept MEM only if it
14712         satisfies EXTRA_CONSTRAINT 'U'.
14714 2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
14716         * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch
14717         register.
14718         (*tst_extzv_memqi_1_n): Change to a splitter.
14719         (a peephole2): Update.
14721 2003-03-01  Richard Earnshaw  <rearnsha@arm.com>
14723         * predict.c (estimate_bb_frequencies): Initialize the sreal
14724         constants once per compilation.
14726 2003-02-28  Richard Henderson  <rth@redhat.com>
14728         * toplev.c (flag_eliminate_unused_debug_types): Enable by default.
14730 2003-02-28  scott snyder  <snyder@fnal.gov>
14732         * flags.h: Add flag_eliminate_unused_debug_types.
14733         * toplev.c: Add flag_eliminate_unused_debug_types.
14734         (f_options): Add -feliminate-unused-debug-types.
14735         * dwarf2out.c (struct file_table): Add emitted member.
14736         (splice_child_die): Fix the parent pointer for the child being
14737         spliced.
14738         (lookup_filename): Maintain file_table.emitted array.  Don't
14739         output .file directive here.
14740         (maybe_emit_file): (new)
14741         (init_file_table): Set up file_table.emitted.
14742         (dwarf2out_source_line): Use maybe_emit_file.
14743         (dwarf2out_start_source_file): Use maybe_emit_file.
14744         (dwarf2out_init): Use maybe_emit_file.
14745         (prune_unused_types_walk_attribs): (new)
14746         (prune_unused_types_mark): (new)
14747         (prune_unused_types_walk): (new)
14748         (prune_unused_types_prune): (new)
14749         (prune_unused_types): (new)
14750         (dwarf2out_finish): Call prune_unused_types if
14751         flag_eliminate_unused_debug_types is set.
14752         * doc/invoke.texi (Option Summary): Add
14753         -feliminate-unused-debug-types.
14754         (Debugging Options): Likewise.
14756 2003-02-28  Geoffrey Keating  <geoffk@apple.com>
14758         * doc/invoke.texi: Change .pch to .gch.
14759         * cppfiles.c (open_file_pch): Likewise.
14760         * gcc.c (default_compilers): Likewise.
14762 2003-02-28  Aldy Hernandez  <aldyh@redhat.com>
14764         * floatlib.c: Remove.
14766 2003-02-28  Jason Merrill  <jason@redhat.com>
14768         * stor-layout.c (variable_size): Leave a "minus 1" outside the
14769         SAVE_EXPR.
14771 2003-02-28  David Edelsohn  <edelsohn@gnu.org>
14773         * config/rs6000/power4.md: Add compare bypass.
14775 2003-02-28  Jason Thorpe  <thorpej@wasabisystems.com>
14777         * config/netbsd.h: Update copyright years.
14778         (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if
14779         -pthread is specified on the command line.
14781 2003-02-28  Dale Johannesen <dalej@apple.com>
14783         * loop.c (struct movable): Add insert_temp, shrink savemode.
14784         (scan_loop): Accept invariants that require copying; mark as
14785         insert_temp.
14786         (combine_movables): Don't combine insert_temp movables.
14787         (move_movables): Insert copies for insert_temp movables.
14788         Don't record the info based on regno for insert_temp's.
14790 2003-02-28  Joel Sherrill <joel@OARcorp.com>
14792         PR 9638/other
14793         * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
14794         this constant defaults to 1.
14796 2003-02-28  Bob Wilson  <bob.wilson@acm.org>
14798         * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.
14800 2003-02-28  Richard Earnshaw  <rearnsha@arm.com>
14802         * arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any
14803         ARMv5e processor, not just for XScale.  Instructions are predicable.
14804         (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e.
14806 2003-02-28  Nick Clifton  <nickc@redhat.com>
14808         * config/arm/arm.c (note_invalid_constants): Change parameter type
14809         from bool to int.
14811 2003-02-28  Kazu Hirata  <kazu@cs.umass.edu>
14813         * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the
14814         test of bit 7.
14815         (*tst_extzv_memqi_1_n): Likewise.
14816         (a peephole2): New.
14818 2003-02-28  Richard Sandiford  <rsandifo@redhat.com>
14820         * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
14821         #ifndef __mips16.
14823 2003-02-28  Jan Hubicka  <jh@suse.cz>
14825         * combine.c (gen_lowpart_for_combine): Update handling of
14826         subregs_of_mode
14827         * flow.c (life_analysis, mark_used_regs): Likewise.
14828         * regclass.c (subregs_of_mode): Turn into single bitmap.
14829         (cannot_change-mode_set_regs, invalid_mode_change_p): Update
14830         dealing with subregs_of_mode
14831         * regs.h (subregs_of_mode): Update prototype.
14833 2003-02-28  Josef Zlomek  <zlomekj@suse.cz>
14835         * emit-rtl.c (set_reg_attrs_for_parm): New function.
14836         * rtl.h (set_reg_attrs_for_parm): New exported function.
14837         * function.c (assign_parms): Use set_reg_attrs_for_parm instead of
14838         set_reg_attrs_from_mem.
14840 2003-02-27  Roger Sayle  <roger@eyesopen.com>
14841             Zack Weinberg <zack@codesourcery.com>
14843         * gcc.c (do_spec_1):  Treat %U like %u for unique associations.
14845 2003-02-27  Kazu Hirata  <kazu@cs.umass.edu>
14847         * reload1.c (sext_for_mode): Remove.
14848         (reload_cse_move2add): Use trunc_int_for_mode instead of
14849         sext_for_mode.
14850         (move2add_note_store): Likewise.
14851         Reset register information if we see a set in non-integer
14852         mode.
14854 2003-02-27  David Edelsohn  <edelsohn@gnu.org>
14856         * config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu
14857         option.
14858         (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630.
14859         * config/rs6000/aix51.h: Same.
14860         * config/rs6000/aix52.h: Same.
14861         * config/rs6000/power4.md: Additional VMX bypasses.
14863 2003-02-27   Geert Bosch <bosch@gnat.com>
14865         * toplev.c (print_version): Add indentation for GGC heuristics and
14866         output after printing version information.
14868 2003-02-27  James E Wilson  <wilson@tuliptree.org>
14870         * combine.c (simplify_comparison): Require integral mode when
14871         permuting SUBREG with AND.
14873 2003-02-27  Steve Ellcey  <sje@cup.hp.com>
14875         * config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove.
14877 2003-02-27  Nick Clifton  <nickc@redhat.com>
14879         * config/arm/arm.md (extendsfdf2): Add pattern accidentally
14880         deleted when cirrus instructions were added.
14882 2003-02-27  Jason Thorpe  <thorpej@wasabisystems.com>
14884         * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable
14885         POSIX thread support by default.
14887 2003-02-27  Roger Sayle  <roger@eyesopen.com>
14889         * config/i386/cygwin.h: Don't include any other files directly.
14890         * config/i386/mingw32.h: Don't include cygwin.h directly.
14891         * config.gcc (cygwin, mingw32, uwin): Instead make these files
14892         explicit in the tm_files variable.
14894 2003-02-27  Alan Modra  <amodra@bigpond.net.au>
14896         * config/rs6000/rs6000.md: Add TI constant splitter.
14898 2003-02-26  Alexandre Oliva  <aoliva@redhat.com>
14900         * builtins.c (purge_builtin_constant_p): Handle subreg of
14901         constant_p_rtx too.
14903         * function.c (assign_stack_local_1): Truncate constant added to
14904         frame_pointer_rtx or virtual_stack_vars_rtx for Pmode.
14906 2003-02-26  David Edelsohn  <edelsohn@gnu.org>
14908         * config.gcc: Add power4 to PowerPC with_cpu list.
14910 2003-02-26  Jan Hubicka  <jh@suse.cz>
14912         * objc-act.c: (mark_referenced_methods): Fix compilation problem.
14914 2003-02-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
14916         * gcov-dump.c (print_prefix): Fix signedness warning.
14917         * gcov-io.h (struct counter_section, struct counter_section_data): New.
14918         (struct function_info): n_arc_counts field removed, n_counter_sections,
14919         counter_sections fields added.
14920         (struct gcov_info): arc_counts, n_arc_counts fields removed,
14921         n_counter_sections, counter_sections fields added.
14922         * libgcov.c (gcov_exit, __gcov_flush): Add support for multiple
14923         profile sections.
14924         * profile.h (MAX_COUNTER_SECTIONS): New.
14925         (struct section_info): New.
14926         (struct profile_info): count_instrumented_edges,
14927         count_edges_instrumented_now fields removed, n_sections, section_info
14928         fields added.
14929         (find_counters_section): Declare.
14930         * profile.c (struct function_list): count_edges field removed,
14931         n_counter_sections, counter_sections fields added.
14932         (set_purpose, label_for_tag, build_counter_section_fields,
14933         build_counter_section_value, build_counter_section_data_fields,
14934         build_counter_section_data_value, build_function_info_fields,
14935         build_function_info_value, build_gcov_info_fields,
14936         build_gcov_info_value): New static functions.
14937         (find_counters_section): New function.
14938         (instrument_edges, get_exec_counts, compute_branch_probabilities,
14939         branch_prob, create_profiler): Modified to support multiple profile
14940         sections.
14942 2003-02-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
14944         * pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY
14945         is 8 * STACK_BOUNDARY.
14946         * pa.h (PREFERRED_STACK_BOUNDARY): Change to 128 on 64-bit port.
14948 2003-02-26  Michael Matz  <matz@suse.de>
14950         * ra-colorize.c (merge_moves): Fix list handling.
14952 2003-02-26  Nick Clifton  <nickc@redhat.com>
14954         * config/arm/arm.c (is_load_address): Rename to...
14955         (arm_memory_load_p) ... this and make it check for SUBREGs and
14956         constant loads that will be converted into loads from the
14957         minipool.
14958         (is_cirrus_insn): Rename to ...
14959         (arm_cirrus_insn_p): ... this, for consistency.  Replace test
14960         of CIRRUS_NO with CIRRUS_NOT.
14961         (cirrus_reorg): Use renamed functions.
14962         (note_invalid_constants): Change from a void function to bool.
14963         Add an extra parameter, saying whether the fixups should be
14964         pushed.  Return true if fixups are needed.
14965         (arm_reorg): Use renamed functions.  Use INSN_P.  Replace test
14966         of CIRRUS_NO with CIRRUS_NOT.
14967         * config/arm/arm.h (FLOAT_WORDS_BIG_ENDIAN): Mention that
14968         other floating point co-processors can also affect this.
14969         * config/arm/arm.md ("type" attribute): Add mav_farith and
14970         mav_dmult.  Replace references to "cirrus_type" attribute with
14971         "type".
14972         * config/arm/cirrus.md ("cirrus_fpu" attribute): Delete.
14973         ("cirrus_type" attribute): Delete - use "type" instead.
14974         ("cirrus" attribute): Replace 'no' with 'not' and 'yes' with
14975         'normal'.
14977 2003-02-25  Jan Hubicka  <jh@suse.cz>
14979         * objc-act.c: Include cgraph.h
14980         (mark_referenced_methods): New function.
14981         (objc_init): Call it.
14982         * objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set.
14984         * c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time
14985         mode.
14987         * optabs.c (expand_fix): Do not widen the input operand.
14989         * expr.c (emit_group_store):  Fix crash when converting single
14990         register into complex register.
14992         * Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h
14993         * alias.c: Include timevar.h
14994         (init_alias_analysis):  Set timevar
14995         * jump.c: Include timevar.h
14996         (rebuild_jump_labels):  Set timevar
14997         * regcalss.c: Include timevar.h
14998         (reg_scan):  Set timevar
14999         * timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New
15001 2003-02-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
15003         * cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.
15005         * Makefile.in (loop-unroll.o): New.
15006         * cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New.
15007         (unroll_and_peel_loops): Declare.
15008         * alias.c (init_alias_analysis): Flag_unroll_loops renamed to
15009         flag_old_unroll_loops.
15010         * loop.c (loop_invariant_p): Ditto.
15011         * unroll.c (unroll_loop): Flag_unroll_all_loops renamed to
15012         flag_old_unroll_all_loops.
15013         * flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops.
15014         (flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops.
15015         * params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed.
15016         (PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES,
15017         PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES,
15018         PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES,
15019         PARAM_MAX_ONCE_PEELED_INSNS): New.
15020         * toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New.
15021         (flag_unroll_loops, flag_unroll_all_loops): Used for new unroller
15022         instead of old one.
15023         (flag_peel_loops): New.
15024         (lang_independent_options): The new flags added.
15025         (rest_of_compilation): Call new unroller.
15026         (process_options): Setup flags for coexistence of old and new unroller.
15027         * doc/invoke.texi: Document new options.
15028         * doc/passes.texi: Document new unroller pass.
15030 2003-02-26  David Billinghurst <David.Billinghurst@riotinto.com>
15032         * fixinc/fixincl.x: Regenerate
15034 2003-02-26  Josef Zlomek  <zlomekj@suse.cz>
15036         * function.c (assign_parms): Set reg_attrs for parameters passed in
15037         registers.
15039 2003-02-26  Alan Modra  <amodra@bigpond.net.au>
15041         PR target/9681
15042         * tlink.c (scan_linker_output): Drop leading '.' from symbol names.
15044 2003-02-25  David Edelsohn  <edelsohn@gnu.org>
15046         * config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine
15047         pseudo-op.
15049 2003-02-25  Roger Sayle  <roger@eyesopen.com>
15051         * combine.c (combine_simplify_rtx, simplfy_comparison):  Use CC0_P.
15052         * cse.c (invalidate_skipped_set):  Likewise.
15053         * integrate.c (subst_constants):  Likewise.
15054         * jump.c (reversed_comparison_code_parts):  Likewise.
15055         * loop.c (canonicalize_condition):  Likewise.
15056         * simplify-rtx.c (simplify_relational_operation):  Likewise.
15058 2003-02-25  Roger Sayle  <roger@eyesopen.com>
15060         * builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete.
15061         (abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit):  Use
15062         the appropriate macro to define built-in function.
15063         (fmod,fmodf,fmodl): New built-in functions.
15065         * doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins.
15067 2003-02-25  Richard Henderson  <rth@redhat.com>
15069         * config/i386/i386.c (function_arg): Pass variable sized
15070         structures correctly on the stack.
15072 2003-02-25  Kazu Hirata  <kazu@cs.umass.edu>
15074         * reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS
15075         does not reduce the cost of SET.
15077 2003-02-25  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15079         PR target/9732
15080         * config/rs6000/rs6000.c (first_reg_to_save): Handle
15081         PIC_OFFSET_TABLE_REGNUM for -fPIC too.
15082         (rs6000_emit_prologue): Likewise.
15083         (rs6000_emit_epilogue): Likewise.
15084         * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make
15085         PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC.
15087 2003-02-25  Richard Henderson  <rth@redhat.com>
15089         * real.c (real_to_integer2): Force overflow result only for
15090         unsigned overflow.
15092 2003-02-25  Kazu Hirata  <kazu@cs.umass.edu>
15094         * gcse.c (cprop_jump): Revert the 2003-02-23 change.
15096 2003-02-25  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
15097             Richard Henderson  <rth@redhat.com>
15099         * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when
15100         there is no similar load.
15102 2003-02-25  Vladimir Makarov  <vmakarov@redhat.com>
15103             Richard Henderson  <rth@redhat.com>
15105         * sched-int.h (INSN_TRAP_CLASS, WORST_CLASS): Move them from
15106         sched-rgn.c.
15107         (add_forward_dependence): New function prototype.
15109         * sched-rgn.c (INSN_TRAP_CLASS, WORST_CLASS): Move them to
15110         sched-init.h.
15111         (CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move
15112         them to haifa-sched.c.
15114         * haifa-sched.c (CONST_BASED_ADDRESS_P, may_trap_exp,
15115         haifa_classify_insn): Move them from sched-rgn.c.
15117         * sched-deps.c (add_dependence): Return flag of creating a new
15118         entry.
15119         (add_forward_dependence): New function.
15120         (compute_forward_dependences): Use the function.
15122         * sched-ebb.c (earliest_block_with_similiar_load): New function.
15123         (add_deps_for_risky_insns): New function.
15124         (schedule_ebb): Call the function.
15126 2003-02-20  Aldy Hernandez  <aldyh@redhat.com>
15128         * doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to
15129         TARGET_VECTOR_OPAQUE_P.  Document accordingly.
15131         * testsuite/gcc.dg/20030218-1.c: Check that initialization of
15132         opaque types fail.
15134         * c-typeck.c (comptypes): Change call to vector_types_compatible
15135         to vector_opaque_p.
15136         (convert_for_assignment): Call vector_opaque_p instead of
15137         vector_types_compatible.
15138         (really_start_incremental_init): Disallow initialization of opaque
15139         types.
15141         * target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE.
15142         Define TARGET_VECTOR_OPAQUE_P.
15143         (TARGET_INITIALIZER): Same.
15145         * target.h (struct gcc_target): Remove vector_types_compatible.
15146         Add vector_opaque_p.
15148         * config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible):
15149         Remove.
15150         (is_ev64_opaque_type): Check for TARGET_SPE and make sure type is
15151         a vector type.  Change return type to bool.
15152         (TARGET_VECTOR_TYPES_COMPATIBLE): Remove.
15153         (TARGET_VECTOR_OPAQUE_P): Define.
15155         * cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p
15156         target hook.
15157         Include target.h.
15158         (cp_parser_init_declarator): Fix typo in function comments.
15160 2003-02-25  Jan Hubicka  <jh@suse.cz>
15162         * Makefile.in (lcm.o):  Add dependency on function.h
15163         * lcm.c (function.h): Include.
15164         * i386.c (machine_function, ix86_stack_locals,
15165         * ix86_save_varrargs_registers) : Move to
15166         ...
15167         * i386.h (machine_function, ix86_stack_locals,
15168         ix86_save_varrargs_registers): ... here; add optimize_mode_switching
15169         (ix86_optimize_mode_switching): New.
15170         * i386.md (fix patterns): Set ix86_optimize_mode_switching
15172 2003-02-25  Nick Clifton  <nickc@redhat.com>
15174         * config/d30v/d30v.c (d30v_init_cumulative_args): Fix typo.  Name
15175         of fourth arg is 'fndecl' not 'indirect'.  Update comment
15176         describing the function's parameters.
15178 2003-02-24  Jan Hubicka  <jh@suse.cz>
15180         * combine.c (simplify_shift_const):  Fix previous patch.
15182 2003-02-24  Jeff Law  <law@redhat.com>
15184         * i386.md (testdi_1_rex64): Discourage reload from using the %eax
15185         alternative.
15186         (testsi_1, testhi_1, testqi_1): Likewise.
15188 2003-02-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15190         * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
15191         __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
15192         * doc/extend.texi (Tru64 Pragmas): Reflect this.
15194         * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
15195         extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
15196         * fixinc/fixincl.x: Regenerate.
15197         * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
15198         testcase.
15199         Fixes PR c/5059, c/6126, other/9671.
15201 2003-02-24  Roger Sayle  <roger@eyesopen.com>
15203         * gcc.c (do_spec_1) ['{']:  Handle pending argument upon return
15204         from handle_braces in "%{...}".
15206 2003-02-24  Kaz Kojima  <kkojima@gcc.gnu.org>
15208         * config/sh/sh.c (TARGET_HAVE_TLS): Conditionally define.
15209         (prepare_move_operands): Handle TLS operands.
15210         (tls_symbolic_operand): New.
15211         (nonpic_symbol_mentioned_p): Handle TLS UNSPECs.
15212         (legitimize_pic_address): Do nothing for the TLS symbol.
15213         (sh_encode_section_info): Handle TLS case.
15214         (sh_strip_name_encoding): Drop TLS encoding.
15215         * config/sh/sh-protos.h (tls_symbolic_operand): Add prototype.
15216         * config/sh/sh.h (SH_TLS_ENCODING): Define.
15217         (TLS_SYMNAME_P, STRIP_TLS_ENCODING): Likewise.
15218         (ASM_OUTPUT_LABELREF): Drop TLS encoding.
15219         (OUTPUT_ADDR_CONST_EXTRA): Handle TLS UNSPECs.
15220         * config/sh/sh.md: Define TLS UNSPEC constants.
15221         (type): Add tls_load.
15222         ("tls_global_dynamic", "tls_local_dynamic"): New insns.
15223         ("sym2DTPOFF", "symDTPOFF2reg", "sym2GOTTPOFF"): New expanders.
15224         ("tls_initial_exec"): New insn.
15225         ("sym2TPOFF", "symTPOFF2reg"): New expanders.
15226         ("load_gbr"): New insn.
15228         * configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
15229         * configure: Regenerate.
15231 2003-02-24  Alan Modra  <amodra@bigpond.net.au>
15233         PR 9297, PR 9722
15234         * calls.c (store_one_arg): Revert 1999-02-16 change.  Revert
15235         2000-12-17 change.  Pass EXPAND_STACK_PARM to expand_expr.
15236         * expr.h (enum expand_modifier): Define EXPAND_STACK_PARM.
15237         (enum block_op_methods): Reorder for better store_expr optimization.
15238         * expr.c (store_expr): Test bit 1 of "want_value" for call param
15239         stores, test bit 0 for original want_value meaning.  Pass
15240         BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set.  Adjust
15241         recursive calls, and calls to expand_param.
15242         (expand_expr): Handle EXPAND_STACK_PARM modifier.  When cse
15243         expected, set target to 0 rather than to subtarget.  Formatting.
15245 2003-02-23  Kazu Hirata  <kazu@cs.umass.edu>
15247         * gcse.c (cprop_jump): Use the REG_EQUAL note if available.
15249 2003-02-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15251         * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document
15252         new default behavior.
15253         * ggc-common.c: Include sys/resource.h.
15254         (ggc_rlimit_bound): New function.
15255         (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update
15256         defaults to account for rlimits.
15258 2003-02-22  Richard Henderson  <rth@redhat.com>
15260         * i386.c, i386.h (TUNEMASK): Rename from CPUMASK.
15262 2003-02-22  Kelley Cook <kelley@dwhoops.info>
15264         * i386.h, i386.c, i386.md (ix86_tune): Rename from ix86_cpu.
15265         (ix86_tune_string): Rename from ix86_cpu_string.
15267 2003-02-22  Kelley Cook <kelleycook@comcast.net>
15269         * config/i386/i386.c: Replace "mcpu" with "mtune".
15270         * config/i386/i386.h (TARGET_OPTIONS): Likewise.
15271         (CC1_CPU_SPEC): Likewise. New warning for "-mcpu".
15272         * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu"
15273         with "mtune".  Note that "mcpu" is a deprecated synonym for "mtune".
15275 2003-02-23  Andreas Schwab  <schwab@suse.de>
15277         * config.gcc: Delete references to m68k/t-linux and
15278         m68k/t-linux-aout.
15279         * config/m68k/t-linux, config/m68k/t-linux-aout: Removed.
15281 2003-02-22  Jan Hubicka  <jh@suse.cz>
15283         * toplev.c (rest_of_compilation):  Apply fotgotten hunk
15284         of track scheduling patch.
15286 2003-02-22  Jan Hubicka  <jh@suse.cz>
15288         * config/linux.h (TARGET_HAS_F_SETLKW): Define.
15289         * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Likewise
15291 2003-02-22  Jan Hubicka  <jh@suse.cz>
15293         * c-decl.c (c_expand_body_1): Fix.
15295 2003-02-22  Jan Hubicka  <jh@suse.cz>
15297         * expmed.c (expand_divmod): Undo sign extensions for unsigned operands
15299         * cfgcleanup.c (try_forward_edges):  Don't check loop structures
15300         when not optimizing.
15301         (cleanup_cfg): Do not iterate trought delete_trivially_dead_insns
15302         when not expensive.
15303         * toplev.c (rest_of_compilation):  Duplicate loop headers only when
15304         optimizing;  Delete trivially dead insns early; fix optimize check.
15306         * Makefile.in (c-decl.o, c-objc-common.o, cgraph.o, tree-inline.o): Add
15307         dependency on cgraph.h
15308         * c-decl.c: Include cgraph.h
15309         (finish_function): Update call of tree_inlinable_function_p.
15310         * c-objc-common.c: Include cgraph.h
15311         * cgraph.h: New file.
15312         * cgraphunit.c: New file.
15313         * cgraph.c (cgraph_node, cgraph_edge): Move into cgraph.h
15314         (cgraph_nodes, cgraph_n_nodes): Globalize.
15315         (cgraph_finalize_function, cgraph_finalize_compilation_unit
15316         cgraph_create_edges, cgraph_optimize, cgraph_mark_needed_node):
15317         Move into cgraphunit.c
15318         * tree-inline.c: Include cgraph.h
15319         * tree-inline.c: Include cgraph.h
15321 2003-02-22  Josef Zlomek  <zlomekj@suse.cz>
15323         * config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG
15324         for copying a register.
15326 2003-02-22  Steven Bosscher  <s.bosscher@student.tudelft.nl>
15328         PR other/3782
15329         * toplev.c (process_options): If flag_detailed_statistics is set,
15330         then set time_report as well.
15332         PR c/8828
15333         * jump.c (never_reached_warning): Don't fall through BARRRIER
15334         insns.  Update comments to reflect what the function really does.
15336 2003-02-21  Roger Sayle  <roger@eyesopen.com>
15338         * fold-const.c (omit_one_operand): No longer static.
15339         * tree.h (omit_one_operand): Prototype here.
15340         (div_and_round_double): Keep fold-const.c prototypes together.
15341         * builtins.c (builtin_mathfn_code): Handle binary built-in
15342         funtions, such as "pow" and "atan2".
15343         (fold_builtin): Optimize both pow(x,0.0) and pow(1.0,y) to 1.0.
15344         Simplify optimizations using "type" the builtin's return type.
15346 2003-02-22  Hans-Peter Nilsson  <hp@axis.com>
15348         * config/cris/cris.c (cris_rtx_costs): Blockify dangling else.
15349         Fix functionalization typo.
15351         * regmove.c (optimize_reg_copy_1): Do not replace a hard register
15352         in an asm.
15354 2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15356         * Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
15357         * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update
15358         documentation.
15359         * ggc-common.c: Include params.h
15360         (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
15361         init_ggc_heuristics): New functions.
15362         * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
15363         init_ggc_heuristics): Prototype.
15364         * toplev.c (print_version):  Output GGC heuristics.
15365         (parse_options_and_default_flags): Call init_ggc_heuristics.
15367 2003-02-22  Jan Hubicka  <jh@suse.cz>
15369         * i386.c (def_builtin):  Special case 64bit builtins.
15370         (MASK_SSE164, MASK_SSE264): New constants.
15371         (builtin_description): Add 64bit builtins.
15372         (ix86_init_mmx_sse_builtins): Likewise.
15373         * i386.h (enum ix86_builtins): Likewise.
15374         * i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq,
15375         sse2_movq2dq_rex64, sse2_movsq2q_rex64): New.
15376         (sse2_movq2dq, sse2_movsq2q): Disable for 64bit.
15377         * mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New.
15378         * xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss,
15379         _mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x,
15380         _mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New.
15382 2003-02-22  Jan Hubicka  <jh@suse.cz>
15384         * i386.c (builtin_description): Add __builtin_ia32_paddq and
15385         __builtin_ia32_psubq. Fix __builtin_ia32_paddq128
15386          and __builtin_ia32_psubq128.
15387         * i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New.
15388         * i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'.
15389         (mmx_adddi3, mmx_subdi3): New.
15390         * mmintrin.h (_mm_add_si64, _mm_sub_si64): New.
15391         * xmmintrin.h (_mm_movepi64_pi64): New.
15392         (_mm_add_epi64, _mm_sub_epi64): fix.
15393         (_mm_mul_pu16): Rename to...
15394         (_mm_mul_su32): ... this one.
15396         * builtins.c (expand_builtin_expect):  Do not predict
15397         flag_guess_branch_prob is not set.
15398         * c-semantics.c (expand_stmt): Likewise.
15399         * predict.c (predict_insn): Likewise.
15400         * stmt.c (expand_continue_loop): Likewise.
15401         * toplev.c (rest_of_compilation): Do not call
15402         note_prediction_to_br_prob and note_prediction_to_br_prob
15403         when not optimizing.
15405 2003-02-21  Jan Hubicka  <jh@suse.cz>
15407         * cfgrtl.c (commit_edge_insertions):  Call
15408         find_many_sub_basic_block only when some code has been emitted.
15409         (commit_edge_insertions_watch_calls): Bring into sync with
15410         commit_edge_insertions
15412 2003-02-21  J"orn Rennecke <joern.rennecke@superh.com>
15414         * sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class.
15416         * sh.md (binary_sf_op): Use extra constant operand instead of
15417         negating constant operand 4.
15418         * sh.c (sh_expand_binop_v2sf): Supply it.
15420 2003-02-21  Zack Weinberg  <zack@codesourcery.com>
15422         * cpphash.h (struct lexer_state): Add directive_wants_padding.
15423         * cpplib.c (_cpp_handle_directive): Set directive_wants_padding
15424         for directives of type INCL.
15425         (glue_header_name, parse_include): Use get_token_no_padding.
15426         * cppmacro.c (replace_args): If directive_wants_padding,
15427         provide padding tokens.
15429 2003-02-21  Kazu Hirata  <kazu@cs.umass.edu>
15431         * config/h8300/h8300.md (a peephole2): New.
15433 2003-02-21  Jan Hubicka  <jh@suse.cz>
15435         * cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.
15436         (commit_edge_insertions): Call find_many_sub_basic_blocks
15438         * reg-stack.c (convert_regs): Cleax aux for blocks.
15440 2003-02-21  Jan Hubicka  <jh@suse.cz>
15442         * toplev.c (parse_options_and_default_flags): Undo accidental commit.
15444 2003-02-21  Glen Nakamura  <glen@imodulo.com>
15446         PR optimization/8613
15447         * builtins.c (expand_builtin): Emit postincrements before expanding
15448         builtin functions.
15450 2003-02-21  Ben Elliston  <bje@redhat.com>
15452         PR other/5634
15453         * doc/install.texi (Configuration): Explain using $HOME instead of
15454         the ~ metacharacter when referring to home directories.
15456 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
15458         * configure.in (TARGET_SYSTEM_ROOT): Set default to
15459         ${exec_prefix}/${target_alias}/sys-root.  Match explicit
15460         '${exec_prefix}' (in addition to the expansion thereof) as
15461         relocatable.
15462         * configure: Rebuilt.
15464 2003-02-20  Kazu Hirata  <kazu@cs.umass.edu>
15466         * config/h8300/h8300.md (addhi3_incdec): Change the name to
15467         *addhi3_incdec.
15468         (addsi3_incdec): Change the name to *addsi3_incdec.
15470 2003-02-20  Roger Sayle  <roger@eyesopen.com>
15472         * explow.c (force_reg): Avoid useless REG_EQUAL notes.
15474 2003-02-20  Toon Moene  <toon@moene.indiv.nluug.nl>
15476         PR fortran/9038
15477         * c-opts.c (sanitize_cpp_opts): Add Fortran front end
15478         options to be ignored.
15479         (c_common_decode_option): Ignore them when preprocessing.
15481 2003-02-20  Jan Hubicka  <jh@suse.cz>
15483         * toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New
15484         global variables.
15485         (lang_independent_options):  Add -fsched2-use-superblocks
15486         -fsced2-use-traces.
15487         (rest_of_compilation): Deal with it.
15488         * invoke.texi (-fsched2-use-traces, fsched2-use-superblocks):  Declare.
15489         * flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces):
15490         Declare.
15491         * rtl.h (reg_to_stack):  Update prototype.
15492         * reg-stack.c (reg_to_stack): Return when something has changed;
15493         update liveness when executing after superblock scheduling.
15495         * combine.c (simplify_shift_const):  Simplify few special cases
15496         into constants.
15498 2003-02-20  David Edelsohn  <edelsohn@gnu.org>
15500         * config/rs6000/rs6000.md: (attr "type"): Add fast_compare.
15501         (add.,subf.,neg.): Change attribute to fast_compare.
15502         All DFA descriptions updated.
15504 2003-02-20  Nathan Sidwell  <nathan@codesourcery.com>
15506         Change base class access representation.
15507         * tree.h (TREE_VIA_PUBLIC, TREE_VIA_PROTECTED,
15508         TREE_VIA_PRIVATE): Remove.
15509         (BINFO_BASEACCESSES): New binfo elt.
15510         (BINFO_BASEACCESS): New accessor.
15511         (BINFO_ELTS): Increase.
15512         (TI_ACCESS_PUBLIC, TI_ACCESS_PROTECTED, TI_ACCESS_PRIVATE): New.
15513         (access_public_node, access_protected_node,
15514         access_private_node): New global nodes.
15515         * tree.c (build_common_tree_nodes_2): Initialize access nodes.
15516         * dbxout.c (dbxout_type): Adjust.
15517         * dwarf2out.c (gen_inheritance_die): Add access parameter.
15518         (gen_member_die): Adjust.
15519         * dwarfout.c (output_inheritance_die): ARG is array of two trees.
15520         (output_type): Adjust.
15521         * tree-dump.c (dequeue_and_dump): Adjust binfo dumping.
15523         Change base class access representation. Share virtual base
15524         binfos.
15525         * cp/call.c (build_special_member_call): Remove binfo_for_vbase
15526         call.
15527         * cp/class.c (build_base_path): Likewise.
15528         (build_primary_vtable): Adjust BINFO_NEW_VTABLE_MARKED use.
15529         (build_secondary_vtable): Remove FOR_TYPE arg. Adjust.
15530         (make_new_vtable): Adjust.
15531         (force_canonical_binfo_r): Delete.
15532         (force_canonical_binfo): Delete.
15533         (mark_primary_virtual_base): Delete.
15534         (dfs_unshared_virtual_bases): Delete.
15535         (mark_primary_bases): Adjust.
15536         (maybe_warn_about_overly_private_class): Adjust.
15537         (dfs_base_derived_from): Delete.
15538         (base_derived_from): Follow the inheritance chain.
15539         (struct find_final_overrider_data): Add vpath member.
15540         (dfs_find_final_overrider): Adjust.
15541         (dfs_find_final_overrider_q, dfs_find_final_overrider_post): New.
15542         (find_final_overrider): Adjust.
15543         (update_vtable_entry_for_fn): Adjust.
15544         (modify_all_vtables): Adjust.
15545         (walk_subobject_offsets): Adjust.
15546         (layout_nonempty_base_or_field): Adjust.
15547         (layout_empty_base): Remove last parameter. Adjust.
15548         (build_base_field): Adjust.
15549         (build_base_fields): Adjust.
15550         (propagate_binfo_offsets): Remove last parameter. Adjust.
15551         (dfs_set_offset_for_unshared_vbases): Delete.
15552         (layout_virtual_bases): Adjust.
15553         (finish_struct_1): Adjust.
15554         (init_class_processing): Don't init access nodes.
15555         (dfs_get_primary_binfo): Delete.
15556         (get_primary_binfo): Adjust.
15557         (dump_class_hierarchy_r): Remove most derived arg, add IGO
15558         parameter. Adjust.
15559         (dump_class_hierarchy): Adjust.
15560         (finish_vtbls): Adjust.
15561         (get_original_base): Delete.
15562         (build_vtt_inits): Adjust.
15563         (dfs_build_secondary_vptr_vtt_inits): Adjust.
15564         (dfs_ctor_vtable_bases_queue_p): Adjust.
15565         (build_ctor_vtbl_group): Adjust.
15566         (dfs_accumulate_vtbl_inits): Adjust.
15567         (build_vtbl_initializer): Adjust.
15568         (build_vbase_offset_vtbl_entries): Adjust.
15569         (add_vcall_offset_vtbl_entries_1): Adjust.
15570         * cp/cp-tree.h (CPTI_ACCESS_*): Remove.
15571         (access_*_node): Remove.
15572         (CANONICAL_BINFO): Delete.
15573         (BINFO_UNSHARED_MARKED): Remove.
15574         (BINFO_MARKED): Set LANG_FLAG_0 directly.
15575         (SET_BINFO_MARKED, CLEAR_BINFO_MARKED): Delete.
15576         (BINFO_VTABLE_PATH_MARKED): Set LANG_FLAG_3 directly.
15577         (SET_BINFO_VTABLE_PATH_MARKED, CLEAR_BINFO_VTABLE_PATH_MARKED):
15578         Delete.
15579         (BINFO_NEW_VTABLE_MARKED): Set LANG_FLAG_4 directly.
15580         (SET_BINFO_NEW_VTABLE_MARKED): Adjust.
15581         (SET_BINFO_PUSHDECLS_MARKED, CLEAR_BINFO_PUSHDECLS_MARKED):
15582         Delete.
15583         (BINFO_DEPENDENT_BASE_P): New.
15584         (dfs_walk, dfs_walk_real): Queue function takes derived binfo and
15585         index.
15586         (markedp, unmarkedp): Adjust.
15587         (dfs_unmarked_real_bases_queue_p, dfs_marked_real_bases_queue_p,
15588         dfs_skip_vbases, marked_vtable_pathp, unmarked_vtable_pathp,
15589         find_vbase_instance, binfo_for_vbase): Delete.
15590         (copied_binfo, original_binfo): Declare.
15591         (finish_base_specifier): Add virtual_p arg.
15592         (unshare_base_binfos): Delete.
15593         (copy_base_binfos): Declare.
15594         (reverse_path): Delete.
15595         * cp/decl.c (xref_basetypes): Access and virtuality passed
15596         differently. Don't copy direct base binfos here. Call
15597         copy_base_binfos.
15598         * cp/init.c (dfs_initialize_vtbl_ptrs): Adjust.
15599         (initialize_vtbl_ptrs): Adjust.
15600         (expand_member_init): Adjust.
15601         * cp/parser.c (cp_parser_base_specifier): Adjust.
15602         * cp/pt.c (instantiate_class_template): Adjust.
15603         (get_template_base_recursive): Adjust.
15604         * cp/rtti.c (get_pseudo_ti_init): Adjust.
15605         (get_pseudo_ti_desc): Adjust.
15606         * cp/tree.c (unshare_base_binfos): Rename to ...
15607         (copy_base_binfos): ... here, reimplement.
15608         (make_binfo): Set BINFO_DEPENDENT_BASE_P.
15609         (reverse_path): Remove.
15610         * cp/typeck.c (get_delta_difference): Adjust error messages.
15611         * cp/semantics.c (finish_base_specifier): Add virtual arg, adjust.
15612         * cp/search.c (lookup_base_r): Adjust.
15613         (dynamic_cast_base_recurse): Adjust.
15614         (canonical_binfo): Remove.
15615         (dfs_canonical_queue): Remove.
15616         (dfs_assert_unmarked_p): Remove.
15617         (assert_canonical_unmarked): Remove.
15618         (shared_marked_p, shared_unmarked_p): Remove.
15619         (BINFO_ACCESS, SET_BINFO_ACCESS): Use TREE_PUBLIC & TREE_PRIVATE.
15620         (dfs_access_in_type): Adjust.
15621         (access_in_type): Adjust.
15622         (dfs_accessible_queue_p): Adjust.
15623         (dfs_accessible_p): Adjust.
15624         (is_subobject_of_p_1, is_subobject_of_p): Remove.
15625         (struct lookup_field_info): Remove from_dep_base_p field.
15626         (lookup_field_queue_p): Adjust, test BINFO_DEPENDENT_BASE_P.
15627         (lookup_field_r): Remove dependent base code.
15628         (lookup_member): Likewise.
15629         (dfs_walk, dfs_walk_real): Add access arg to queue fn.
15630         (dfs_unmarked_real_bases_queue_p): Remove.
15631         (dfs_marked_real_bases_queue_p): Remove.
15632         (dfs_skip_vbases): Remove.
15633         (dfs_get_pure_virtuals): Adjust.
15634         (markedp, unmarkedp): Adjust.
15635         (marked_vtable_pathp, unmarked_vtable_pathp): Remove.
15636         (marked_pushdecls_p, unmarked_pushdecls_p): Adjust.
15637         (dfs_unmark): Adjust.
15638         (dfs_get_vbase_types):Remove.
15639         (dfs_build_inheritance_graph_order): Remove.
15640         (get_vbase_types): Remove
15641         (dfs_find_vbase_instance): Remove.
15642         (find_vbase_instance): Remove.
15643         (dfs_debug_unmarkedp): Adjust.
15644         (dependent_base_p): Remove.
15645         (dfs_push_type_decls): Adjust.
15646         (dfs_push_decls): Adjust.
15647         (dfs_no_overlap_yet): Adjust.
15648         (copied_binfo): New function.
15649         (original_binfo): New function.
15650         (binfo_for_vbase): Remove.
15652         Change base class access representation.
15653         * java/class.c (set_super_info): Don't set TREE_VIA_PUBLIC.
15654         (add_interface_do): Likewise.
15656 2003-02-20  David Edelsohn  <edelsohn@gnu.org>
15658         * config/rs6000/sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
15659         * config/rs6000/power4.md (power4-store,power4-vecstore): New
15660         insn reservations.
15661         (power4-fpstore): Compact.
15663 2003-02-20  Kazu Hirata  <kazu@cs.umass.edu>
15665         * config/h8300/h8300.md (*iorsi3_w): New.
15667 2003-02-20  Josef Zlomek  <zlomekj@suse.cz>
15669         * combine.c (distribute_notes): Kill REG_EXEC_COUNT.
15670         * rtl.c (reg_note_name): Likewise.
15671         * rtl.h (enum reg_note): Likewise.
15672         * doc/invoke.texi: Likewise.
15673         * doc/rtl.texi: Likewise.
15675 2003-02-20  Josef Zlomek  <zlomekj@suse.cz>
15677         * bb-reorder.c (find_traces_1_round): Fix comment typo.
15679 2003-02-19  Roger Sayle  <roger@eyesopen.com>
15681         * fold-const.c (fold_real_zero_addition_p): Don't fold a zero
15682         addition in the presence of signaling NaNs.
15684 2003-02-19  Krister Walfridsson  <cato@df.lth.se>
15686         * tm.texi (INIT_CUMULATIVE_ARGS): Fix typo.
15688 2003-02-19  Kazu Hirata  <kazu@cs.umass.edu>
15690         * config/h8300/h8300.c (output_logical_op): Optimize or.l when
15691         ORing with 0xffff??00 with the highest bit of the ?? part set.
15692         (compute_logical_op_length): Update.
15693         (compute_logical_op_cc): Likewise.
15695 2003-02-19  Josef Zlomek  <zlomekj@suse.cz>
15697         * bb-reorder.c (find_traces_1_round): Fixed condition for small
15698         destination block with multiple predecessors.
15699         (connect_traces): Check whether the block is a start of trace.
15701 2003-02-19  Jan Hubicka  <jh@suse.cz>
15703         * calls.c (expand_call): Update call of INIT_CUMULATIVE_ARGS
15704         * function.c (assign_params): Likewise.
15705         * arm-protos.h (arm_init_cumulative_args): Update prototype.
15706         * arm.c (arm_init_cumulative_args): Update function.
15707         * arm.h (INIT_CUMULATIVE_ARGS): Update.
15708         * avr-protos.h (init_cumulative_args): Update prototype.
15709         * avr.c (init_cumulative_args): Update function.
15710         * avr.h (INIT_CUMULATIVE_ARGS): Update.
15711         * d30v-protos.h (d30v_init_cumulative_args): Update prototype.
15712         * d30v.c (d30v_init_cumulative_args): Update function.
15713         * d30v.h (INIT_CUMULATIVE_ARGS): Update.
15714         * frv-protos.h (frv_init_cumulative_args): Update prototype.
15715         * frv.c (frv_init_cumulative_args): Update function.
15716         * frv.h (INIT_CUMULATIVE_ARGS): Update.
15717         * mips.c (mips_expand_prolgue): Update call of INIT_CUMULATIVE_ARGS.
15718         * pa.h (INIT_CUMULATIVE_ARGS): Update.
15719         * sparc-protos.h (init_cumulative_args): Update prototype.
15720         * sparc.c (init_cumulative_args): Update function.
15721         * sparc.h (INIT_CUMULATIVE_ARGS): Update.
15722         * tm.texi (INIT_CUMULATIVE_ARGS): Update documentation.
15724 2003-02-19  Kazu Hirata  <kazu@cs.umass.edu>
15726         * config/h8300/h8300.md (*iorsi3_two_qi_sext): New.
15727         (*ashiftsi_sextqi_7): Likewise.
15729 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15731         * config/mips/iris6.h (TARGET_OS_CPP_BUILTINS): Define __c99 for
15732         ISO C99 and C++.
15734         * fixinc/inclhack.def (irix___restrict): Don't change __restrict
15735         for C++ on IRIX 6.5.1[89].
15736         * fixinc/tests/base/internal/sgimacros.h: New file.
15738         * fixinc/inclhack.def (irix_wcsftime): Use XPG5 variant for C99.
15739         * fixinc/tests/base/internal/wchar_core.h: New file.
15741         * fixinc/inclhack.def (irix_socklen_t): Fix broken IRIX 6.5.1[78]
15742         socklen_t definition.
15743         * fixinc/fixincl.x: Regenerate.
15744         * fixinc/tests/base/sys/socket.h: New file.
15745         Fixes PR libgcj/9652.
15747 2003-02-19  Jan Hubicka  <jh@suse.cz>
15749         * i386.md (movsfcc_1, movdfcc_1): Fix constrains.
15751 2003-02-19  David Edelsohn  <edelsohn@gnu.org>
15753         * config/rs6000/rs6000.c (rs6000_override_options): Initialize
15754         align_jumps_max_skip and align_loops_max_skip.
15756 2003-02-19  Thierry Moreau  <thierry.moreau@connotech.com>
15758         * config/rs6000/rs6000.c (rs6000_encode_section_info): Do not
15759         test size if named section.
15761 2003-02-19  Daniel Jacobowitz  <drow@mvista.com>
15763         * expr.c (expand_expr): Use gen_int_mode for the argument
15764         to gen_rtx_MULT.
15766 2003-02-19  Jan Hubicka  <jh@suse.cz>
15768         * i386.md (cosxf2):  Fix conditional.
15770 2003-02-19  Kazu Hirata  <kazu@cs.umass.edu>
15772         * config/h8300/h8300.md (extendqisi2): Change to an expander.
15773         (*extendqisi2_h8300): New.
15774         (*extendqisi2_h8300hs): Likewise.
15776 2003-02-19  Kazu Hirata  <kazu@cs.umass.edu>
15778         * config/h8300/h8300-protos.h: Update the prototype for
15779         split_adds_subs.  Remove the prototypes for
15780         const_int_le_2_operand and const_int_le_6_operand.
15781         * config/h8300/h8300.c (split_adds_sub): Don't output inc/dec.
15782         (const_int_le_2_operand): Remove.
15783         (const_int_le_6_operand): Likewise.
15784         * config/h8300/h8300.h (PREDICATE_CODES): Remove the entries
15785         for const_int_le_2_operand and const_int_le_6_operand.
15786         * config/h8300/h8300.md: Update all uses of split_adds_subs.
15787         (a peephole2): New.
15789 2003-02-18  Jan Hubicka  <jh@suse.cz>
15791         * cgraph.c (NPREDECESORC, SET_NPREDECESORS): Kill.
15792         (cgraph_expand_function): Rewrite.
15794 2003-02-18  Matt Austern <austern@apple.com>
15796         * toplev.c, langhooks.c, langhooks-def.h: Move
15797         write_global_declarations from toplev.c to langhooks.c.
15799 2003-02-18  Kazu Hirata  <kazu@cs.umass.edu>
15801         * config/h8300/h8300.c (general_operand_src): Always check
15802         MODE.
15803         (general_operand_dst): Likewise.
15805 2003-02-18  Roger Sayle  <roger@eyesopen.com>
15807         * convert.c (convert_to_real): Also optimize (float)log(x) into
15808         logf(x) where x is a float, i.e. also handle BUILT_IN_LOG{,L}.
15810 2003-02-18  Kaz Kojima  <kkojima@gcc.gnu.org>
15812         * config/sh/sh.c (unspec_caller_rtx_p): New.
15813         (sh_cannot_copy_insn_p): New.
15814         (TARGET_CANNOT_COPY_INSN_P): New.
15816 2003-02-18  Richard Henderson  <rth@redhat.com>
15818         * c-common.c (handle_used_attribute): Accept static data too.
15820 2003-02-18  Nick Clifton  <nickc@redhat.com>
15821             Aldy Hernandez  <aldyh@redhat.com>
15823         * testsuite/gcc.dg/20030218-1.c: New.
15825         * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.
15827         * target-def.h (TARGET_INITIALIZER): Add
15828         TARGET_VECTOR_TYPES_COMPATIBLE.
15829         (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.
15831         * target.h (struct gcc_target): Add field vector_types_compatible.
15833         * c-typeck.c (comptypes): Take into account
15834         TARGET_VECTOR_TYPES_COMPATIBLE.
15835         (convert_for_assignment): Same.
15837         * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
15838         (rs6000_spe_vector_types_compatible): New.
15839         (TARGET_VECTOR_TYPES_COMPATIBLE): Define.
15841 2003-02-19  Andreas Schwab  <schwab@suse.de>
15843         * Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H).
15844         * toplev.c: Include langhooks-def.h.
15846 2003-02-18  Chris Demetriou  <cgd@broadcom.com>
15848         * config/mips/mips.h (enum processor_type): Sort entries
15849         alphabetically.
15850         * config/mips/mips.md (define_attr cpu): Sync with processor_type
15851         enum values, including adding entries that were missing.
15853 2003-02-18  J"orn Rennecke <joern.rennecke@superh.com>
15855         * sh.c (calc_live_regs): Also check GET_CODE when checking if
15856         initial value for PR_REG is still the PR_REG register.
15858 2003-02-18  Jim Wilson  <wilson@redhat.com>
15860         * config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second
15861         instruction in output template.
15862         (bsp_value): Change output template from string to C code, add %,
15863         before actual instruction.
15864         (flushrs): Mark as not predicable.
15866 2003-02-18  Krister Walfridsson  <cato@df.lth.se>
15868         * inclhack.def (netbsd_bogus_semicolon): New fix.
15869         * fixincl.x: Rebuilt.
15870         * tests/base/ctype.h: Update.
15872 2003-02-18  Roger Sayle  <roger@eyesopen.com>
15874         * fold-const.c (negate_expr_p): New function to determine whether
15875         an expression can be negated cheaply.
15876         (fold) [MINUS_EXPR]: Use it to determine whether to transform
15877         -A - B into -B - A for floating point types.
15879 2003-02-18  Roger Sayle  <roger@eyesopen.com>
15881         * sbitmap.c (sbitmap_resize): New function.
15882         * sbitmap.h (sbitmap_resize): Prototype here.
15883         * recog.c (split_all_insns): Use sbitmap_resize.
15885 2003-02-18  Kazu Hirata  <kazu@cs.umass.edu>
15887         * config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
15888         insn length.
15889         (extendqisi2): Likewise.
15890         (*extendhisi2_h8300): Likewise.
15892 2003-02-18  Matt Austern <austern@apple.com>
15894         * langhooks.h, langhooks-def.h: introduce new langhook,
15895         final_write_globals, with write_global_declarations as default.
15896         * toplev.c: Move invocation of wrapup_global_declarations from
15897         compile_file to new function, write_global_declarations.  Change
15898         compile_file to use final_write_globals hook.  Change
15899         wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is
15900         conditional.
15902 2003-02-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
15904         * pa.md: Correct and enhance comment.
15906 2003-02-18  Geoffrey Keating  <geoffk@apple.com>
15908         * gcc.c (validate_switches): Don't scan past closing '}'.
15910 2003-02-18  Ben Elliston  <bje@redhat.com>
15912         PR c++/1607
15913         * doc/extend.texi (Function Attributes): Document the effect of
15914         the C++ "this" parameter on the counting of arguments for the
15915         "format" and "format_arg" attributes.
15917 2003-02-17  Aldy Hernandez  <aldyh@redhat.com>
15919         * config/rs6000/spe.h (__ev_stdd): Cast 2nd arg.
15920         (__ev_stdw): Same.
15921         (__ev_stdh): Same.
15923 2003-02-17  Jan Hubicka  <jh@suse.cz>
15925         * recog.c (split_all_insns):  Fix memory overflow.
15927 2003-02-17  Kazu Hirata  <kazu@cs.umass.edu>
15929         * config/h8300/h8300.md (cmpqi): Remove mode from compare.
15930         (cmphi): Likewise.
15931         (*cmphi_h8300): Likewise.
15932         (*cmphi_h8300hs): Likewise.
15933         (cmpsi): Likewise.
15934         (7 peephole2): Likewise.
15936 2003-02-16  Jan Hubicka  <jh@suse.cz>
15938         * c-typeck.c (build_c_cast):  Fold constant variables into
15939         initial values.
15941 2003-02-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
15943         * doc/install.texi (Specific): Fix link for m68k-att-sysv.
15944         (Binaries): Ditto for Sinix/Reliant Unix.
15946 2003-02-16 Richard Earnshaw  <rearnsha@arm.com>
15948         * arm.c (arm_reload_in_hi): Ensure that the scratch register does
15949         not overlap the final result register.
15951 2003-02-16 Arend Bayer <arend.bayer@web.de>
15952            Richard Henderson  <rth@redhat.com>
15954         PR c/8068
15955         * fold-const.c (extract_muldiv_1): Rename from extract_muldiv;
15956         rearrange mult arguments for less recursion.
15957         (extract_muldiv): New.  Prevent runaway recursion.
15959 2003-02-16  Danny Smith  <dannysmith@users.sourceforge.net>
15961         * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
15962         MASK_ALIGN_DOUBLE.
15964 2003-02-15  Roger Sayle  <roger@eyesopen.com>
15966         * config/i386/i386.c (x86_ext_80387_constants): Use 80387 insns
15967         to load mathematical constants on K6, Athlon, Pentium 4 and PPro.
15968         (ext_80387_constants_table): Global table of 80387 special constants
15969         guarded by ext_80387_constants_init flag when not initialized.
15970         (init_ext_80387_constants): New function to initialize this table.
15971         (standard_80387_constant_p): Extend to recognize extra 80387
15972         constants, in XFmode, on processors where this is a win.
15973         (standard_80387_constant_opcode): New function to return the
15974         opcode associated with standard_80387_constant_p.
15975         (standard_80387_constant_rtx): New function to return the XFmode
15976         CONST_DOUBLE associated with standard_80387_constant_p.
15977         (ix86_rtx_costs): Give the new constants the same cost as 1.0.
15979         * config/i386/i386-protos.h (standard_80387_constant_opcode):
15980         Prototype here.
15981         (standard_80387_constant_rtx): Likewise.
15983         * config/i386/i386.md (*movsf1, *movsf1_nointerunit, *movdf_nointeger,
15984         *movdf_integer, *movxf_nointeger, *movtf_nointeger, *movxf_integer,
15985         *movtf_integer): Simplify using new standard_80387_constant_opcode.
15987 2003-02-15  Geoffrey Keating  <geoffk@apple.com>
15989         * doc/invoke.texi (Optimize Options): Correct @option syntax.
15991 2003-02-15  Richard Henderson  <rth@redhat.com>
15993         * Makefile.in (cfglayout.o): Depend on TARGET_H.
15994         * cfglayout.c: Include target.h.
15995         (cfg_layout_can_duplicate_bb_p): Check targetm.cannot_copy_insn_p.
15996         * target-def.h (TARGET_CANNOT_COPY_INSN_P): New.
15997         * target.h (struct gcc_target): Add cannot_copy_insn_p.
15999         * config/alpha/alpha.c (alpha_cannot_copy_insn_p): New.
16000         (TARGET_CANNOT_COPY_INSN_P): New.
16001         (override_options): Revert 2003-02-08 hack.
16003 2003-02-15  Richard Henderson  <rth@redhat.com>
16005         * gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs.
16006         (bypass_conditional_jumps): Accept computed_jump_p insns as well.
16008 2003-02-15  David Edelsohn  <edelsohn@gnu.org>
16010         * config/rs6000/rs6000.h (processor_type): Add PPC440.
16011         * config/rs6000/rs6000.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
16012         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
16013         TARGET_SCHED_VARIABLE_ISSUE): Define.
16014         (rs6000_use_dfa_pipeline_interface): New function.
16015         (rs6000_multipass_dfa_lookahead): New Function.
16016         (rs6000_variable_issue): New function.
16017         (rs6000_adjust_cost): Add CMP and DELAYED_CR types.
16018         (rs6000_issue_rate): Add PPC440.
16019         * config/rs6000/rs6000.md (unspec list): Correct typo.
16020         (attr "type"): Add load_ext, load_ext_u, load_ext_ux, load_u,
16021         store_ux, store_u, fpload_ux, fpload_u, fpstore_ux, fpstore_u,
16022         cmp, delayed_cr, mfcr, mtcr.
16023         (automata_option): Set "ndfa".
16024         (extendMMNN2): Update attributes.
16025         (movcc_internal1): Discourage move to non-cr0.  Update
16026         attributes.
16027         (movMM_update): Update attributes.
16028         (cmpMM_internal): Update attributes.
16029         (sCC CR materialization): Update attributes.
16030         (branch patterns): Do not discourage non-cr0.
16031         (cr logical patterns): Prefer destructive register allocation.
16032         Update attributes.
16033         (movesi_from_cr): Update attribute.
16034         (mtcrf_operation): Update attribute.
16035         (mtcrfsi): Update attribute.
16036         * config/rs6000/40x.md: New file.
16037         * config/rs6000/603.md: New file.
16038         * config/rs6000/6xx.md: New file.
16039         * config/rs6000/7450.md: New file.
16040         * config/rs6000/7xx.md: New file.
16041         * config/rs6000/mpc.md: New file.
16042         * config/rs6000/power4.md: New file.
16043         * config/rs6000/rios1.md: New file.
16044         * config/rs6000/rios2.md: New file.
16045         * config/rs6000/rs64.md: New file.
16046         [Some DFA descriptions based on work by Michael Hayes]
16048 2003-02-15  Richard Henderson  <rth@redhat.com>
16050         * bb-reorder.c (find_traces_1_round): Don't connect easy to copy
16051         successors with multiple predecessors.
16052         (connect_traces): Try harder to copy traces of length 1.
16054         * function.h (struct function): Add computed_goto_common_label,
16055         computed_goto_common_reg.
16056         * function.c (free_after_compilation): Zap them.
16057         * stmt.c (expand_computed_goto): Use them to produce one
16058         indirect branch per function.
16060 2003-02-15  Richard Henderson  <rth@redhat.com>
16062         * cfgcleanup.c: Include params.h.
16063         (try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES.  Fix test for
16064         too many outgoing edges from a block.
16065         * Makefile.in (cfgcleanup.o): Depend on PARAMS_H.
16066         * params.def (max-crossjump-edges): New.
16067         * doc/invoke.texi: Document it.
16069 2003-02-15  Richard Henderson  <rth@redhat.com>
16071         * recog.c (split_all_insns): Include new blocks in life update;
16072         do a global life update.
16074 2003-02-15  Danny Smith  <dannysmith@users.sourceforge.net>
16076         * config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a.
16077         Update copyright.
16078         * config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a for
16079         -mno-cygwin case.
16081 2003-02-14  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
16083         PR optimization/7702
16084         * reload1.c (reload_cse_simplify_set): Honor
16085         CANNOT_CHANGE_MODE_CLASS.
16087 2003-02-14  Alexandre Oliva  <aoliva@redhat.com>
16089         * config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New
16090         function.
16091         * config/mn10300/mn10300-protos.h: Declare it.
16092         * config/mn10300/mn10300.md (movdi, movdf): Use it to compute
16093         attribute cc of instructions that may use clr.
16095 2003-02-14  Kazu Hirata  <kazu@cs.umass.edu>
16097         * simplify-rtx.c (simplify_binary_operation): Simplify ~y when
16098         (x - (x & y)) is found.
16100 2003-02-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16102         * configure.in: Fix typo.
16103         * configure: Regenerate.
16105 2003-02-14  Kazu Hirata  <kazu@cs.umass.edu>
16107         * config/h8300/h8300.md (*iorsi2_and_1_lshiftrt_1): New.
16109 2003-02-13  Adam Nemet  <anemet@lnxw.com>
16111         PR opt/2391
16112         * combine.c: Fix spelling in comment.
16113         (cached_nonzero_bits): New function.
16114         (cached_num_sign_bit_copies): New function.
16115         (nonzero_bits_with_known): New macro.
16116         (num_sign_bit_copies_with_known): New macro.
16117         (nonzero_bits1): Rename from nonzero_bits.  Add three new
16118         arguments.  Change calls from nonzero_bits to
16119         nonzero_bits_with_known.
16120         (num_sign_bit_copies1): Rename from num_sign_bit_copies.  Add
16121         three new arguments.  Change calls from num_sign_bit_copies to
16122         num_sign_bit_copies_with_known.
16123         (nonzero_bits): New macro.
16124         (num_sign_bit_copies): New macro.
16125         (update_table_tick): Don't traverse identical subexpression more
16126         than once.
16127         (get_last_value_validate): Likewise.
16129 2003-02-13  Zack Weinberg  <zack@codesourcery.com>
16131         * emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx.
16132         * function.h (struct emit_status): Length of regno_pointer_align
16133         and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no,
16134         not regno_pointer_align_length (i.e. length actually used, not
16135         length as allocated)
16137         * config/i386/i386.c (struct stack_local_entry): New.
16138         (struct machine_function): Replace huge array with alist.
16139         (assign_386_stack_local): Change to match.
16141 2003-02-13  John David Anglin  <dave.anglin@nrc-crnc.gc.ca>
16143         * inclhack.def (hpux_long_double): Tighten select and add bypass
16144         regexp.
16145         * fixincl.x: Rebuilt.
16147 2003-02-13  Josef Zlomek  <zlomekj@suse.cz>
16149         * cfgcleanup.c (outgoing_edges_match): When there is single outgoing
16150         edge and block ends with a jump insn it must be simple jump.
16152 2003-02-13  Daniel Jacobowitz  <drow@mvista.com>
16154         * Makefile.in (PREPROCESSOR_DEFINES): Add
16155         @TARGET_SYSTEM_ROOT_DEFINE@.
16156         * configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot
16157         is specified or if building a cross compiler.
16158         (TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE
16159         if the sysroot is under $exec_prefix.
16160         * configure: Regenerated.
16161         * cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is
16162         defined.
16163         (struct default_include): Add add_sysroot field.
16164         (cpp_SYSROOT): Declare.
16165         * cppdefault.c (cpp_include_defaults): Fill in add_sysroot
16166         field.
16167         (cpp_SYSROOT): New variable.
16168         * cppinit.c (cpp_create_reader): Initialize
16169         CPP_OPTION (pfile, sysroot).
16170         (init_standard_includes): Handle add_sysroot.  Do not
16171         add unrelocated copies of relocated directories.
16172         (COMMAND_LINE_OPTIONS): Add -isysroot.
16173         (cpp_handle_option): Handle -isysroot.
16174         * cpplib.h (struct cpp_options): Add sysroot member.
16175         * gcc.c (The Specs Language): Update description of %I.
16176         (target_system_root_changed): New variable.
16177         (process_command): Conditionalize make_relative_prefix call
16178         on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE.  Set
16179         target_system_root_changed.
16180         (do_spec_1): Add -isysroot to %I.
16181         * doc/invoke.texi (Spec Files): Update description of %I.
16182         * doc/install.texi (--with-sysroot): Update comment about
16183         relocation.
16185 2003-02-13  Kazu Hirata  <kazu@cs.umass.edu>
16187         * config/h8300/h8300.md (a peephole2): New.
16189 2003-02-13  Robert Lipe <robertlipe@usa.net>
16190             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16192         * doc/install.texi (Specific): Update three SCO-related URLs.
16194 2003-02-13  Andreas Schwab  <schwab@suse.de>
16196         * cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.
16197         Parenthesize properly.
16198         (NPREDECESORS): Parenthesize properly.
16200 2003-02-13  Gabriel Dos Reis  <gdr@integrable-solutions.net>
16202         * timevar.h (POP_TIMEVAR_AND_RETURN): New macro.
16204 2003-02-12  Roger Sayle  <roger@eyesopen.com>
16206         * config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant.
16207         (atan2sf3, atan2df3, atan2xf3, atan2tf3): New patterns.
16209         * reg-stack.c (subst_stack_regs_pat): Add support for binary
16210         UNSPEC instructions (e.g. "fpatan").
16212 2003-02-12  Mike Stump  <mrs@apple.com>
16214         * varray.c (element_size): Remove.
16215         (uses_ggc): Remove.
16216         (element): Add.
16217         (varray_init): Use new interface.
16218         (varray_grow): Use new interface.
16219         (varray_clear): Use new interface.
16221 2003-02-12  Aldy Hernandez  <aldyh@redhat.com>
16223         * config/rs6000/spe.h: Add casts to the arguments of the following
16224         macros: evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul,
16225         evfsdiv, evfscfui, evfscfsi evfscfuf evfscfsf, evfsctui, evfsctsi,
16226         evfsctuf, evfsctsf, evfsctuiz, evfsctsiz, __ev_get_upper*,
16227         __ev_get_lower*, __ev_get_u32, __ev_get_s32, __ev_get_fs,
16228         __ev_get_u16, __ev_get_s16.
16230 2003-02-12  Kazu Hirata  <kazu@cs.umass.edu>
16232         * config/h8300/h8300.md (a peephole2): New.
16234 2003-02-12  Jan Hubicka  <jh@suse.cz>
16236         * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-time
16237         (OBJS): Add callgraph.o
16238         (callgraph.o): New.
16239         * c-decl.c (expand_body_1): Break out from ...
16240         (expand_body): This one;  change calling convention
16241         (finish_function): Move some of expand_body logic here.
16242         (c_expand_deferred_function): Update call of expand_body
16243         (c_expand_stmt): Use c_expand_body_1.
16244         * c-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define.
16245         * c-objc-commin.c (c_objc_common_finish_file): Use callgraph code.
16246         * c-tree.h (c_expand_body): Declare.
16247         * callgraph.c: New file.
16248         * flags.h (flag_unit_at_a_time): Declare.
16249         * langhooks.h (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION,
16250         LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION,
16251         LANG_HOOKS_CALLGRAPH_INITIALIZER): New macros.
16252         * langhooks.h (struct lang_hooks_for_callgraph): New.
16253         (struct lang_hooks): Add callgraph field.
16254         * toplev.c (flag_unit_at_a_time): New.
16255         (lang_independent_options): Add flag_unit_at_a_time.
16256         (process_options): Disable unit-at-a-time mode for frontends not
16257         supporting callgraph.
16258         * tree-inline.c (typedef struct inline_data): Add "decl"
16259         (expand_call_inline): Update callgraph.
16260         (optimize_inline_calls): Set id.decl.
16261         * tree.h (cgraph_finalize_function, cgraph_finalize_compilation_unit,
16262         cgraph_create_edges, dump_cgraph, cgraph_optimize, cgraph_remove_call
16263         cgraph_calls_p): Declare.
16264         * invoke.texi (-funit-at-a-time): Document
16266 2003-02-12  Aldy Hernandez  <aldyh@redhat.com>
16268         * config/rs6000/spe.h: Fix misc formatting.
16269         (__ev_create_ufix32_fs): Cast ev argument.
16270         (__ev_create_sfix32_fs): Same.
16271         (__ev_get_sfix32_fs_internal): Cast arguments to builtins.
16272         (__ev_get_ufix32_fs_internal): Same.
16274 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
16276         * doc/tm.texi (MODIFY_JNI_METHOD_CALL): Document.
16277         * config/i386/cygwin.h (MODIFY_JNI_METHOD_CALL): New macro.
16279 2003-02-12  Zack Weinberg  <zack@codesourcery.com>
16281         * cpplib.c (do_include_common): Move warnings for
16282         #include_next and #import out to callers.  Use early-return
16283         instead of nested ifs.  Don't do check_eol here.
16284         (parse_include): Do check_eol here with the rest of the
16285         parsing stuff.
16286         (do_include_next, do_import): Now handle warnings.
16288 2003-02-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16290         * doc/install.texi (Specific): Update AVR- and Darwin-related URLs.
16292 2003-02-12  Jan Hubicka  <jh@suse.cz>
16294         * predict.c (estimate_probability):  Fix roundoff error.
16296 2003-02-12  Kazu Hirata  <kazu@cs.umass.edu>
16298         * config/h8300/h8300.md (a peephole2): Don't handle 65535.
16299         (two peephole2): New.
16301 2003-02-12  Kazu Hirata  <kazu@cs.umass.edu>
16303         * config/h8300/h8300.md (several peephole2): Replace
16304         find_regno_note with peep2_reg_dead_p.
16306 2003-02-11  Richard Henderson  <rth@redhat.com>
16308         * gcse.c (lookup_set): Remove unused argument PAT.  Update
16309         both callers.
16311 2003-02-11  Geoffrey Keating  <geoffk@apple.com>
16313         * diagnostic.c (real_abort): New.
16314         (diagnostic_report_diagnostic): Call real_abort on error.
16315         * diagnostic.h (diagnostic_abort_on_error): New.
16316         (struct diagnostic_context): Add abort_on_error field.
16317         * toplev.c (setup_core_dumping): New.
16318         (decode_d_option): Handle 'H' case.
16319         * doc/invoke.texi (Debugging Options): Document -dH.
16321 2003-02-11  Nathanael Nerode  <neroden@gcc.gnu.org>
16323         * Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu
16324         which refers to obsolete directories.
16326 2003-02-11  Richard Henderson  <rth@redhat.com>
16328         * config/alpha/linux.h (TARGET_C99_FUNCTIONS): New.
16330 2002-10-21  Jan Hubicka  <jh@suse.cz>
16332         * i386.c (contains_128bit_aligned_vector_p): New function.
16333         (ix86_function_arg_boundary): Properly align vector modes.
16335 2003-02-11  Bob Wilson  <bob.wilson@acm.org>
16337         * config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.
16338         * config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP
16339         as a SET pattern.
16341 2003-02-11  Roger Sayle  <roger@eyesopen.com>
16343         * builtins.c:  Fix failure caused by commiting wrong patch.
16345 2003-02-11  Dale Johannesen  <dalej@apple.com>
16346         * ra-build.c (compare_and_free_webs):  Relax checking.
16347         * config/rs6000/darwin.h (HOT_TEXT_SECTION_NAME):  Define.
16348         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME):  Define.
16350 2003-02-11  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
16352         PR optimization/9651
16353         * rtlanal.c (may_trap_p): Handle FIX.
16355 2003-02-11  Dave Jones <davej@codemonkey.org.uk>
16357         * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
16358         * doc/invoke.texi: Extra alias.
16360 2003-02-11  Geoffrey Keating  <geoffk@apple.com>
16362         * config/rs6000/host-darwin.c: Fix comment.
16364 2003-02-11  David Edelsohn  <edelsohn@gnu.org>
16366         * config/rs6000/rs6000.md (divmodsi4): Use register_operand
16367         predicate for mod result.
16369 2003-02-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
16371         * inclhack.def (hpux_long_double, hpux10_ctype_declarations1,
16372         hpux10_ctype_declarations2, hpux_ctype_macros): New hacks.
16373         * fixincl.x: Rebuilt.
16374         * tests/base/stdlib.h: Update.
16375         * tests/base/ctype.h: New file.
16377 2003-02-11  Jan Hubicka  <jh@suse.cz>
16379         * emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too.
16381 2003-02-11  Richard Henderson  <rth@redhat.com>
16383         * config/i386/i386.c (ix86_expand_movstr): Fail if esi or edi
16384         appropriated as globals.
16385         (ix86_expand_clrstr): Similarly.
16386         * config/i386/i386.md (cmpstrsi): Similarly.
16388 2003-02-11  Kazu Hirata  <kazu@cs.umass.edu>
16390         * config/h8300/h8300.md (a peephole2): Add a case of 255.
16392 2003-02-11  Roger Sayle  <roger@eyesopen.com>
16394         * optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2.
16395         (pow_optab, atan2_optab): Define corresponding macros.
16396         * optabs.c (init_optabs): Initialize pow_optab and atan2_optab.
16397         * genopinit.c (optabs): Implement pow_optab and atan2_optab
16398         using pow?f3 and atan2?f3 patterns.
16399         * builtins.c (expand_errno_check): New function to update errno
16400         if necessary, split out from expand_builtin_mathfn.
16401         (expand_builtin_mathfn): Use expand_errno_check.
16402         (expand_builtin_mathfn_2): New function to handle expanding binary
16403         math functions, reusing the code in expand_errno_check.
16404         (expand_builtin): Handle the pow and atan2 math built-ins,
16405         BUILT_IN_{POW,POWF,POWL,ATAN2,ATAN2F,ATAN2L} via the new function
16406         expand_builtin_mathfn_2.
16408         * doc/md.texi: Document new pow?f3 and atan2?f3 patterns.
16410 2003-02-11  Jan Hubicka  <jh@suse.cz>
16412         * combine.c (combine_simplify_rtx): Fix folding of
16413         nested float_truncates.
16415 2003-02-11  Kazu Hirata  <kazu@cs.umass.edu>
16417         * config/h8300/h8300.md (a peephole2): Fix a typo.
16419 2003-02-11  Richard Earnshaw  <rearnsha@arm.com>
16421         * arm.mc (return_address_mask): Use CC_REGNUM for the condition code
16422         register number.
16424 2003-02-11  Kazu Hirata  <kazu@cs.umass.edu>
16426         * config/h8300/h8300-protos.h: Add a prototype for
16427         gtuleu_operator.
16428         * config/h8300/h8300.c (gtuleu_operator): New.
16429         * config/h8300/h8300.h (PREDICATE_CODES): Add gtuleu_operator.
16430         * config/h8300/h8300.md (a peephole2): New.
16432 2003-02-11  Jan Hubicka  <jh@suse.cz>
16434         * sched-ebb.c (schedule_ebbs): Do not verify_flow_info.
16436 2003-02-11  Jan Hubicka  <jh@suse.cz>
16438         * predict.c (choose_function_section): Choose sections correctly.
16440 2003-02-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
16442         * reload1.c (first_label_num): New.
16443         (reload): Index offsets_known_at and offsets_at using difference of
16444         label number and first label number.  Don't use offset pointers.
16445         (set_label_offsets, set_initial_label_offsets): Likewise.
16447 2003-02-10  Roger Sayle  <roger@eyesopen.com>
16449         * mips-tfile.c (init_file): Add missing initializers in the
16450         "#ifdef __alpha" case.
16451         (file_offset, max_file_offset): Declare as unsigned long.
16452         (write_varray): Cast to "unsigned long" in comparisons against
16453         either file_offset or max_file_offset.
16454         (write_object): Likewise.
16455         (read_seek): Likewise.
16456         (copy_object): Likewise. Declare "ifd" as int to match its use
16457         in add_ext_symbol, and avoid signed/unsigned conditional warning.
16459 2003-02-10  Nick Clifton  <nickc@redhat.com>
16460             Aldy Hernandez  <aldyh@redhat.com>
16462         * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not
16463         override options which have been specified on the command line.
16465 2003-02-10  Kazu Hirata  <kazu@cs.umass.edu>
16467         * config/h8300/h8300.md (abssf2): New.
16468         (*abssf2_h8300): Likewise.
16469         (*abssf2_h8300hs): Likewise.
16471 2003-02-10  Phil Edwards  <pme@gcc.gnu.org>
16473         * tree.c (build_tree_list):  Fix parameter names in comment.
16475 2003-02-10  Janis Johnson  <janis187@us.ibm.com>
16477         * config/rs6000/ppc64-fp.c: New file.
16478         * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add ppc64-fp.c.
16480 2003-02-10  Josef Zlomek  <zlomekj@suse.cz>
16482         * Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
16483         * bb-reorder.c (make_reorder_chain): Deleted.
16484         (make_reorder_chain_1): Deleted.
16485         (find_traces): New function.
16486         (rotate_loop): New function.
16487         (mark_bb_visited): New function.
16488         (find_traces_1_round): New function.
16489         (copy_bb): New function.
16490         (bb_to_key): New function.
16491         (better_edge_p): New function.
16492         (connect_traces): New function.
16493         (copy_bb_p): New function.
16494         (get_uncond_jump_length): New function.
16495         (reorder_basic_blocks): Use new functions (Software Trace Cache).
16496         * cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop
16497         boundaries.
16499 2003-02-10  Aldy Hernandez  <aldyh@redhat.com>
16501         * config/rs6000/rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3.
16503 2003-02-09  Dan Nicolaescu  <dann@ics.uci.edu>
16505         * tree.h (struct tree_decl): Remove unused live_range_rtl field.
16506         (DECL_LIVE_RANGE_RTL): Remove.
16508 2003-02-10  Nick Clifton  <nickc@redhat.com>
16510         * config/arm/aof.h, config/arm/aout.h, config/arm/arm-modes.def,
16511         config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h,
16512         config/arm/arm.md, config/arm/cirrus.md, config/arm/coff.h,
16513         config/arm/conix-elf.h, config/arm/ecos-elf.h, config/arm/elf.h,
16514         config/arm/freebsd.h, config/arm/linux-elf.h,
16515         config/arm/linux-gas.h, config/arm/netbsd-elf.h,
16516         config/arm/netbsd.h, config/arm/pe.c, config/arm/pe.h,
16517         config/arm/rtems-elf.h, config/arm/semi.h, config/arm/semiaof.h,
16518         config/arm/strongarm-coff.h, config/arm/strongarm-elf.h,
16519         config/arm/strongarm-pe.h, config/arm/uclinux-elf.h,
16520         config/arm/unknown-elf-oabi.h, config/arm/unknown-elf.h,
16521         config/arm/xscale-elf.h: Replace occurances of "GNU CC" with "GCC"
16522         and reformat as appropriate.
16524 2003-02-10  Kazu Hirata  <kazu@cs.umass.edu>
16526         * config/h8300/clzsi2.c: Remove.
16527         * config/h8300/ctzsi2.c: Likewise.
16528         * config/h8300/paritysi2.c: Likewise.
16529         * config/h8300/popcountsi2.c: Likewise.
16530         * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Remove clzsi2,
16531         ctzsi2, paritysi2, and popcountsi2.
16533 2003-02-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
16534             Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
16536         PR c/7741
16537         * c-decl.c (duplicate_decls): Discard the initializer of the
16538         new decl when the types are conflicting.
16540 2003-02-10  Josef Zlomek  <zlomekj@suse.cz>
16542         * Makefile.in (sreal.o): Added.
16543         (predict.o): Depends on sreal.h instead of real.h.
16544         * sreal.c: New file.
16545         * sreal.h: New file.
16546         * predict.c: Use sreal.c instead of real.c.
16548 2003-02-10  Nick Clifton  <nickc@redhat.com>
16550         * Contributed support for the Cirrus EP9312 "Maverick"
16551         floating point co-processor.  Written by Aldy Hernandez
16552         <aldyh@redhat.com>.
16553         (config/arm/arm.c): Add Cirrus support.
16554         (config/arm/arm.h): Likewise.
16555         (config/arm/aout.h): Likewise.
16556         (config/arm/arm.md): Likewise.
16557         (config/arm/arm-protos.h): Likewise.
16558         (config.gcc): Likewise.
16559         (doc/invoke.texi): Describe new -mcpu value and new
16560         -mcirrus-fix-invalid-insns switch,
16561         (cirrus.md): New file.
16563 2003-02-10  Jan Hubicka  <jh@suse.cz>
16565         * combine.c (combine_simplify_rtx): Simplify using
16566         (float_truncate (float x)) is (float x)
16567         (float_extend (float_extend x)) is (float_extend x).
16569 2003-02-10  Alan Modra  <amodra@bigpond.net.au>
16571         * calls.c (try_to_integrate): Tidy stack_usage_map access.
16572         (emit_library_call_value_1): Likewise.  Formatting.
16573         (store_one_arg): Likewise.
16575 2003-02-09  Nick Clifton  <nickc@redhat.com>
16576             Aldy Hernandez  <aldyh@redhat.com>
16578         * config/rs6000/spe.md: spe_evlhhesplat, spe_evlhhossplat,
16579         spe_evlhhousplat, spe_evlwhsplat, spe_evlwwsplat, spe_evldd,
16580         spe_evldh, spe_evldw, spe_evlwhe, spe_evlwhos, spe_evlwhou,
16581         spe_evstdd, spe_evstdh, spe_evstdw, spe_evstdwx, spe_evstwhe,
16582         spe_evstwho, spe_evstwwe, spe_evstwwo: Fix syntax to match newest
16583         docs.  Add range test for immediate value.
16585 2003-02-09  Aldy Hernandez  <aldyh@redhat.com>
16587         Rename spe_evxor to xorv2si3.
16588         (xorv4hi3): New.
16589         (xorv1di3): New.
16591 2003-02-10  Glen Nakamura  <glen@imodulo.com>
16593         * doc/extend.texi (C++98 Thread-Local Edits): Add missing @item
16594         tag.
16596 2003-02-10  Jan Hubicka  <jh@suse.cz>
16598         * i386.c (vector_move_operand): New predicate.
16599         (ix86_expand_vector_move): Be happy about 0.
16600         * i386.h (PREDICATE_CODES): Add sse-move_operand.
16601         * i386.md (mov*_internal): Add 'C' alternative.
16603 2003-02-09  Jan Hubicka  <jh@suse.cz>
16605         * i386.md (floathi*): Deal with SSE.
16607 2003-02-09  Jan Hubicka  <jh@suse.cz>
16609         * simplify-rtx.c (simplify_unary_operation,
16610         simplify_binary_operation):  Deal with vector modes
16611         (simplify_ternary_operation):  Deal with no-op VEC_MERGE.
16613 2003-02-09  Richard Sandiford  <rsandifo@redhat.com>
16615         * toplev.c (rest_of_compilation): Recompute register usage after
16616         split_all_insns.
16618 2003-02-09  Richard Henderson  <rth@redhat.com>
16620         * libgcc-std.ver (__clztf2): New.
16621         (__ctztf2, __popcounttf2, __paritytf2): New.
16622         * libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2,
16623         __popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode;
16624         adjust code to match the different type sizes.
16625         * libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2,
16626         __clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros.
16628         * optabs.c (init_integral_libfuncs): Don't hard-code SImode and
16629         TImode; select word_mode and twice that.
16630         (init_floating_libfuncs): Don't hard-code SFmode and TFmode;
16631         select the modes from float, double, and long double.
16632         (init_optabs): Remove duplicate initializations.
16634 2003-02-09  Wolfgang Bangerth  <bangerth@ticam.utexas.edu>
16636         * doc/install.texi: Squeeze and streamline section on
16637         testing and regression checking.
16639 2003-02-09  Jan Hubicka  <jh@suse.cz>
16641         * i386.md (ahi?v*3): Set third operand type to TImode.
16642         * i386.c (ix86_expand_binop_builtin): Extend operand when needed.
16644         * simplify-rtx.c (simplify_subreg): Fix conversion from vector into
16645         integer mode.
16647         * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE):
16648         Change code so they are arithmetic expressions now.
16649         * simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
16650         simplify_ternary_operation): Deal with VEC_* expressions.
16652         * i386.md (vmaskcmp, pinsrw, movd patterns):  Fix RTL representation.
16654 2003-02-08  Jan Hubicka  <jh@suse.cz>
16656         * cfgrtl.c (verify_flow_info):  Use control_flow_insn_p.
16657         * reload1.c (fixup_abnormal_edges):  Split basic blocks when EH edges
16658         possibly got duplicated.
16660 2003-02-08  Richard Henderson  <rth@redhat.com>
16662         * config/alpha/alpha.c (override_options): Turn off explicit
16663         relocs until post-peep2 code duplication resolved.
16665 2003-02-08  Kazu Hirata  <kazu@cs.umass.edu>
16667         * optabs.c (expand_unop): Widen clz properly when clz is done
16668         via libcall.
16670 2003-02-08  Kazu Hirata  <kazu@cs.umass.edu>
16672         * config/h8300/clzsi2.c: Replace "GNU CC" with "GCC".
16673         * config/h8300/crti.asm: Likewise.
16674         * config/h8300/crtn.asm: Likewise.
16675         * config/h8300/ctzsi2.c: Likewise.
16676         * config/h8300/fixunssfsi.c: Likewise.
16677         * config/h8300/h8300-protos.h: Likewise.
16678         * config/h8300/h8300.c: Likewise.
16679         * config/h8300/h8300.h: Likewise.
16680         * config/h8300/h8300.md: Likewise.
16681         * config/h8300/paritysi2.c: Likewise.
16682         * config/h8300/popcountsi2.c: Likewise.
16683         * config/h8300/rtems.h: Likewise.
16685 2003-02-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
16687         * doc/invoke.texi: Documentation for my previous commit.
16688         * doc/passes.texi: Ditto.
16690 2003-02-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
16692         * cfgloop.h (fix_loop_placement, can_duplicate_loop_p,
16693         duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
16694         Declare.
16695         (DLTHE_FLAG_UPDATE_FREQ): New.
16696         * cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to,
16697         loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs,
16698         rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements,
16699         fix_bb_placement, fix_bb_placements, place_new_loop,
16700         scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges):
16701         New static functions.
16702         (fix_loop_placement, can_duplicate_loop_p,
16703         duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
16704         New functions.
16706         * cfgloop.h (loop_optimizer_init, loop_optimizer_finalize,
16707         unswitch_loops): Declare.
16708         * loop-init.c: New file.
16709         * loop-unswitch.c: New file.
16710         * Makefile.in (loop-init.o, loop-unswitch.o): New.
16711         * params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New.
16712         * toplev.c (DFI_loop2): New dump.
16713         (flag_unswitch_loops): New.
16714         (lang_independent_options): Add it.
16715         (rest_of_compilation): Call new loop optimizer.
16716         (parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3.
16718 2003-02-08  Kazu Hirata  <kazu@cs.umass.edu>
16720         * config/h8300/clzsi2.c: New.
16721         * config/h8300/ctzsi2.c: Likewise.
16722         * config/h8300/paritysi2.c: Likewise.
16723         * config/h8300/popcountsi2.c: Likewise.
16724         * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files.
16726 2003-02-07  David Edelsohn  <edelsohn@gnu.org>
16728         * config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
16729         * config/rs6000/rs6000.md (clzsi2): Rename from cntlzw2.
16730         (ctzsi2): New pattern.
16731         (ffssi2): Use clz instead of unspec.
16732         (clzdi2): Rename from cntlzd2.
16733         (ctzdi2): New pattern.
16734         (ffsdi2): Use clz instead of unspec.
16736 2003-02-07  Loren James Rittle  <ljrittle@acm.org>
16738         * config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
16739         * config/ia64/freebsd.h (LINK_SPEC): Likewise.
16740         * config/sparc/freebsd.h (LINK_SPEC): Likewise.
16741         * config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches.
16743 2003-02-07  Wolfgang Bangerth  <bangerth@ticam.utexas.edu>
16745         * doc/trouble.texi: Document pitfalls of two-stage name lookup.
16747 2003-02-07  Richard Henderson  <rth@redhat.com>
16749         PR 9226
16750         * gcse.c (local_cprop_find_used_regs): New.
16751         (local_cprop_pass): Use it.
16753 2003-02-07  Fred Fish  <fnf@intrinsity.com>
16755         * mips-tfile.c (parse_def): Parenthesize assignments to fix
16756         precedence bugs.
16758 2003-02-07  Segher Boessenkool  <segher@koffie.nl>
16760         * genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
16762 2003-02-07  Roger Sayle  <roger@eyesopen.com>
16764         * builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
16765         (BT_FN_LONG_DOUBLE_LONG_DOUBLE_LONG_DOUBLE): Likewise.
16766         (BT_FN_DOUBLE_DOUBLE_DOUBLE): Likewise.
16767         * builtins.def: Define pow, powf, powl, atan2, atan2f and atan2l
16768         builtin functions (and their __builtin_* variants).
16769         * builtins.c (mathfn_built_in): Handle missing log{,f,l} cases.
16770         (expand_builtin): Don't expand log{,f,l}, pow{,f,l} or atan2{,f,l}
16771         when not optimizing.
16773         * doc/extend.texi: Document new pow and atan2 builtins, and
16774         their float and long double variants.  Realphabetize builtins.
16776 2003-02-07  Jan Hubicka  <jh@suse.cz>
16778         * i386.md (sse2_nandv2di3): Fix.
16780 2003-03-07  Danny Smith  <dannysmith@users.sourceforge.net>
16782         * config/i386/i386.h (MS_AGGREGATE_RETURN): New define.
16783         * config/i386/cygwin.h (MS_AGGREGATE_RETURN): Override default
16784         definition.
16785         * config/i386/i386.h (ix86_return_in_memory): Return aggregate
16786         types of up to 8 bytes via registers if MS_AGGREGATE_RETURN.
16788 2003-02-07  Jan Hubicka  <jh@suse.cz>
16790         * i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
16792 2003-02-07  Daniel Berlin  <dberlin@dberlin.org>
16794         * cfg.c (dump_flow_info): Add back accidently deleted line.
16796 2003-02-07  Andrey Petrov <petrov@netbsd.org>
16798         * optabs.c (expand_float): Search wider integer modes first.
16800 2003-02-07  Bob Wilson  <bob.wilson@acm.org>
16802         * config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this
16803         based on preprocessor flag.
16805 2003-02-07  Roger Sayle  <roger@eyesopen.com>
16806             Richard Henderson  <rth@redhat.com>
16808         * gcse.c (implicit_sets): New.
16809         (compute_hash_table_work): Include them in hash table.
16810         (find_implicit_sets, fis_get_condition): New.
16811         (one_cprop_pass): Allocate and free implicit_sets; call
16812         find_implicit_sets before building hash table.
16814 2003-02-07  Jason Thorpe  <thorpej@wasabisystems.com>
16816         * config/t-netbsd (USER_H): Revert previous change.
16818 2003-02-07  Gabor Greif  <ggreif@lucent.com>
16820         * doc/c-tree.texi (Namespaces): Fix typo.
16822 2003-02-07  Jan Hubicka  <jh@suse.cz>
16824         * regrename.c (do_replace, find_oldest_value_reg,
16825         copyprop_hardreg_forward_1): Update register attributes.
16827 2003-02-06  Vladimir Makarov  <vmakarov@redhat.com>
16829         * genautomata.c (VLA_PTR_CREATE, VLA_PTR_EXPAND, VLA_PTR_ADD,
16830         VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD): Use temporay
16831         variables starting with underscore.
16832         (struct unit_usage): New structure.
16833         (unit_usages, cycle_alt_unit_usages): New global variables.
16834         (check_unit_distribution_in_reserv): Remove it.
16835         (store_alt_unit_usage): New function.
16836         (check_regexp_units_distribution): Rewrite it.
16838 2003-02-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
16840         * config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in
16841         target_cpu_default.
16842         * pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X)
16843         if not MASK_NO_SPACE_REGS.
16844         (output_call): Adjust return pointer, don't load new space register
16845         into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true.
16846         (pa_asm_output_mi_thunk): Don't load new space register into %sr0 if
16847         TARGET_NO_SPACE_REGS is true.
16848         * pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn
16849         conditions.
16850         (epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true.
16851         (interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is
16852         true.  Use bve when TARGET_64BIT is true.
16854 2003-02-06  Richard Henderson  <rth@redhat.com>
16856         * combine.c (nonzero_bits): Fix double break.
16858 2003-02-06  Eric Botcazou <ebotcazou@libertysurf.fr>
16859             Richard Henderson <rth@redhat.com>
16861         PR c/9530
16862         * config/i386/i386.c (ix86_function_ok_for_sibcall): Forbid sibcalls
16863         from functions that return a float to functions that don't.
16865 2003-02-06  Jan Hubicka  <jh@suse.cz>
16867         * i386.c (x86_inter_unit_moves): New variable.
16868         (ix86_secondary_memory_needed): Fix 64bit case, honor
16869         TARGET_INTER_UNIT_MOVES
16870         * i386.h (x86_inter_unit_moves): Declare.
16871         (TARGET_INTER_UNIT_MOVES): New macro.
16872         * i386.md (movsi_1): Cleanup constraints; disable
16873         when not doing inter-unit moves.
16874         (movsi_1_nointernunit): New.
16875         (movdi_1_rex64): Fix constraints; deal with SSE->GPR moves.
16876         (movdi_1_rex64_nointerunit): New.
16877         (mivsf_1): disable when not doing inter-unit moves.
16878         (movsf_1_nointerunit): New.
16880         * basic-block.h (inside_basic_block_p):  Declare.
16881         * cfgbuild.c (inside_basic_block_p): Make global.
16882         * haifa-sched.c (unlink_other_notes): Deal with NOT_INSN_BASIC_BLOCK.
16883         * scheudle-ebb.c  (schedule_ebb): Return last basic block of trace;
16884         update CFG.
16885         (fix_basic_block_boundaries, add_missing_bbs): New.
16886         (rank): Use profile.
16887         (scheudle_ebbs): Rely on CFG; update coments.
16889 2003-02-05  Geoffrey Keating  <geoffk@apple.com>
16891         * Makefile.in (host_hook_obj): New.
16892         (OBJS): Add $(host_hook_obj).
16893         (host_default.o): New rule.
16894         * config.gcc (host_hook_obj): New, default to host-default.o.
16895         (powerpc-*-darwin*): Use host-darwin.o.
16896         (out_host_hook_obj): New.
16897         * configure: Regenerate.
16898         * configure.in: Print information about out_host_hook_obj, substitute
16899         into output files.
16900         * host-default.c: New file.
16901         * hosthooks.h: New file.
16902         * toplev.c (general_init): Call host_hooks.extra_signals.
16903         * config/rs6000/host-darwin.c: New file.
16904         * config/rs6000/x-darwin: New file.
16905         * doc/hostconfig.texi: Add documentation for new host hook.
16906         Rearrange existing documentation.
16908 2003-02-05  Roger Sayle  <roger@eyesopen.com>
16910         * dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR
16911         with *targetm.delegitimize_address.
16912         (rtl_for_decl_location): Likewise.
16913         * dwarfout.c (output_mem_loc_descriptor): Likewise.  Include target.h.
16914         * Makefile.in (dwarf2out.c, dwarfout.c): Depend upon $(TARGET_H)
16916         * config/i386/i386.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
16917         * config/i386/i386-protos.h (i386_simplify_dwarf_addr): Remove
16918         prototype.
16919         * config/i386/i386.c (ix86_delegitimize_address): Renamed from
16920         i386_simplify_dwarf_addr.  Made static.  Prototyped.
16921         (TARGET_DELEGITIMIZE_ADDRESS): Update definition from
16922         i386_simplify_dwarf_addr to ix86_delegitimize_address.
16923         (ix86_find_base_term): Likewise.
16924         (maybe_get_pool_constant): Likewise.
16926         * config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
16927         * config/s390/s390-protos.h (s390_simplify_dwarf_addr): Remove
16928         prototype.
16929         * config/s390/s390.c (s390_delegitimize_address): Renamed from
16930         s390_simplify_dwarf_addr.  Made static.  Prototyped.
16931         (TARGET_DELEGITIMIZE_ADDRESS): Define as s390_delegitimize_address.
16933 2003-02-05  Richard Henderson  <rth@redhat.com>
16935         PR c/8602
16936         * integrate.c (output_inline_function): Reset input_filename
16937         and lineno from the decl before rest_of_compilation.
16939 2003-02-05  Richard Henderson  <rth@redhat.com>
16941         * defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
16942         (CTZ_DEFINED_VALUE_AT_ZERO): New.
16943         * doc/rtl.texi, doc/tm.texi: Document them.
16945         * combine.c (nonzero_bits) [CLZ, CTZ]: Handle the definedness
16946         of the value at zero properly.
16947         * fold-const.c (tree_expr_nonnegative_p): Likewise.
16948         * simplify-rtx.c (simplify_unary_operation): Likewise.
16950         * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
16951         (CTZ_DEFINED_VALUE_AT_ZERO): New.
16953         * config/arm/arm.c (TARGET_INIT_BUILTINS): Remove.
16954         (TARGET_EXPAND_BUILTIN): Remove.
16955         (def_builtin, arm_init_builtins, arm_expand_builtin): Remove.
16956         * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
16957         (enum arm_builtins): Remove.
16958         * config/arm/arm.md (UNSPEC_CLZ): Remove.
16959         (clzsi2): Rename from clz; use clz instead of unspec.
16960         (ctzsi2): New.
16961         * config/arm/arm-protos.h: Update.
16963 2003-02-05  Jan Hubicka  <jh@suse.cz>
16965         * i386-protos.h (x86_emit_floatuns):  Declare.
16966         * i386.c (x86_emit_floatuns): New global function.
16967         * i386.md (floatunssisf2, floatunsdisf2,
16968         floatunsdidf2):  New patterns.
16970 2003-01-25  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
16972         * cfgloopmanip.c (force_single_succ_latches): Fix missindentation.
16974 2003-02-05  Hans Boehm <Hans.Boehm@hp.com>
16976         * config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get
16977           config/ia64/linux.h
16979 2003-02-05  Roger Sayle  <roger@eyesopen.com>
16981         * cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.
16983 2003-02-05  Jakub Jelinek  <jakub@redhat.com>
16985         PR optimization/8555
16986         * config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case
16987         instead of aborting.
16989 2003-02-04  Richard Henderson  <rth@redhat.com>
16991         * config/i386/i386.md (UNSPEC_BSF): Remove.
16992         (ffssi2): Split into cmove and no_cmove insns and splitters;
16993         lose pentium float trick for now.
16994         (ffssi_1): Add * to name; use CTZ instead of UNSPEC.
16995         (ctzsi2, clzsi2, bsr): New.
16997 2003-02-04  Richard Henderson  <rth@redhat.com>
16999         * config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT,
17000         UNSPEC_GETF_EXP; remove UNSPEC_POPCNT.
17001         * config/ia64/ia64.md (UNSPEC_POPCNT): Remove.
17002         (ffsdi2): Use popcount instead of unspec.
17003         (popcountdi2): Rename from *popcnt.
17004         (ctzdi2, clzdi2, getf_exp_tf): New.
17006 2003-02-04  Kazu Hirata  <kazu@cs.umass.edu>
17008         * genconfig.c (main): Generate CC0_P.
17009         * rtl.h (CC0_P): Remove.
17011 2003-02-04  Richard Henderson  <rth@redhat.com>
17013         * libgcc2.h, libgcc2.c (__ffsSI2): New.
17014         (__ffsDI2): Rename from __ffsdi2.
17015         * mklibgcc.in (lib2funcs): Add _ffssi2.
17017 2003-02-04  Richard Henderson  <rth@redhat.com>
17019         * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
17020         rounds with a "bit table" lookup.
17022 2003-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
17024         * reload.c (find_reloads): Do not use the mode specified in the insn
17025         pattern as reload mode for address operands.  Do not generate optional
17026         reloads for operands where a mandatory reload was already pushed.
17028 2003-02-04  Richard Henderson  <rth@redhat.com>
17030         * longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use
17031         builtins instead of inline assembly.
17033 2003-02-04  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
17035         PR c/9376
17036         * libgcc2.c (__subvdi3): Fix typo.
17038 2003-02-04  Jan Hubicka  <jh@suse.cz>
17040         * i386.md (movti_rex64):  Fix constraint.
17042 2003-02-04  Jan Hubicka  <jh@suse.cz>
17044         * i386.md (vector push splitters):  Fix typo in resolving conflict.
17046 2003-02-04  Rodney Brown  <rbrown64@csc.com.au>
17048         * config/i386/i386.c (x86_function_profiler): Fix typo in format.
17050 2003-02-04  Phil Edwards  <pme@gcc.gnu.org>
17052         * doc/install.texi (*-*-linux-gnu):  Mention glibc requirements
17053         for recent libstdc++.  Remove formatting cruft.
17055 2003-02-04  Jakub Jelinek  <jakub@redhat.com>
17057         * dwarf2out.c (dwarf2out_finish): Add AT_comp_dir
17058         attribute even if input file name is absolute, but one of the
17059         includes is relative.
17061 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
17063         * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi,
17064         doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2.
17065         * doc/install.texi: Update copyright dates.  Update to GFDL 1.2.
17067 2003-02-03  Richard Henderson  <rth@redhat.com>
17069         * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
17070         __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change
17071         return type to "int".  Shuffle declarations and undef int trap.
17072         * libgcc2.h: Remove their declarations.
17073         * optabs.c (expand_unop): Force outmode to int for bitops.
17075 2003-02-03  Bob Wilson  <bob.wilson@acm.org>
17077         * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
17078         coprocessor registers before floating-point registers.
17079         * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
17080         to account for a previously removed register.
17081         (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
17082         Delete unused macros.
17084 2003-02-03  Jan Hubicka  <jh@suse.cz>
17086         * i386.c (ix86_expand_store_builtin):  Always force op1 to register.
17087         (mov*_internal): Fix predicates; require one of operands to not be
17088         memory.
17089         (SSE?MMX move expanders):  Fix predicates; force one of operands to
17090         register.
17091         (SSE/MMX push patterns): Reorganize; fix x86-64 code generation.
17092         (movups/movupd/movdqu patterns): Force one of operands to not be
17093         memory.
17095 2003-02-03  Roger Sayle  <roger@eyesopen.com>
17097         * hooks.c (hook_rtx_rtx_identity): Generic hook function that
17098         takes a single rtx and returns it unmodified.
17099         * hooks.h (hook_rtx_rtx_identity): Prototype here.
17100         * target.h (struct gcc_target): Add "delegitimize_address"
17101         field to target structure.
17102         * target-def.h (TARGET_DELEGITIMIZE_ADDRESS):  Provide default
17103         for delegitimize_address target using hook_rtx_rtx_identity.
17104         (TARGET_INITIALIZER): Initialize delegitimize_address field
17105         using TARGET_DELEGITIMIZE_ADDRESS macro.
17106         * simplify-rtx.c (avoid_constant_pool_reference): Handle float
17107         extensions of constant pool references.  Use delegitimize_address
17108         to undo the obfuscation of "-fpic".
17109         * Makefile.in (simplify-rtx.o): Add dependency on target.h.
17111         * config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as
17112         i386_simplify_dwarf_addr.
17113         (ix86_find_base_term): Simplify using i386_simplify_dwarf_addr.
17114         (maybe_get_pool_constant): Likewise.
17116 2003-02-03  Jan Hubicka  <jh@suse.cz>
17118         * i386.c (ix86_expand_int_movcc):  Fix setcc sign bit case.
17120 2003-02-03  Jan Hubicka  <jh@suse.cz>
17122         * regclass.c (cannot_change_mode_set_regs): Correct argument order.
17124 2003-02-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17126         * mips/_tilib.c: Don't include tsystem.h or defaults.h.  Don't
17127         define LIBGCC2_WORDS_BIG_ENDIAN.  Include coretypes.h and tm.h.
17129 2003-02-02  Andreas Schwab  <schwab@suse.de>
17131         * varasm.c (asm_output_aligned_bss): Declare as possibly unused.
17133 2003-02-02  Richard Earnshaw  <rearnsha@arm.com>
17135         * arm.md (sibcall_epilogue): Set the "conds" to "clob".
17136         (epilogue_insns): Likewise.
17138 2003-02-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
17140         * doc/install.texi (hppa*-hp-hpux11*): Update installation notes.
17142 2003-02-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
17144         * pa-protos.h (attr_length_millicode_call): Remove second argument.
17145         (attr_length_indirect_call, attr_length_indirect_call,
17146         attr_length_save_restore_dltp): New prototypes.
17147         * pa.c (attr_length_millicode_call): Remove second argument.  Check
17148         INSN_ADDRESSES_SET_P in distance calculation.
17149         (output_millicode_call): Check INSN_ADDRESSES_SET_P before using
17150         INSN_ADDRESSES.
17151         (attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation.
17152         (output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES.
17153         Call attr_length_call directly.
17154         (attr_length_indirect_call, output_indirect_call,
17155         attr_length_save_restore_dltp): New functions.
17156         * pa.md (attr_length_millicode_call): Drop second argument from all
17157         patterns.
17158         (return_internal_pic): Delete.
17159         (return_external_pic): Remove use of PIC register and pic operand and
17160         flag checks.
17161         (epilogue): Use return_internal for both normal and pic code.
17162         (call, call_value): Emit new 32-bit pic patterns for symref and
17163         indirect calls.  Remove uses for arg pointer and pic register.
17164         (call_symref_pic, call_symref_pic_post_reload, call_reg_pic,
17165         call_reg_pic_post_reload, call_val_symref_pic,
17166         call_val_symref_pic_post_reload, call_val_reg_pic,
17167         call_val_reg_pic_post_reload): New pre and post reload insn patterns.
17168         Implement define_split and define_peephole2 patterns for pre reload
17169         patterns.
17170         (call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit,
17171         call_value_internal_reg_64bit): Shorten names.
17172         (all call patterns): Explicitly indicate registers used and clobbered.
17173         Use attr_length_indirect_call and attr_length_save_restore_dltp for
17174         attribute length calculation.  Move code generation for indirect calls
17175         to output_indirect_call.
17176         (sibcall, sibcall_value): Don't restore PIC register.
17177         (exception_receiver, builtin_setjmp_receiver): Add blockage after PIC
17178         register retore.
17180 2003-02-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
17182         * doc/install.texi (Testing): Simplify and compress instructions
17183         concerning Dejagnu.
17185 2003-02-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
17187         * collect2.c (pexecute_pid): Rename to pid.
17188         (collect_wait, collect_execute, scan_prog_file, scan_libraries): Use
17189         pid.
17191 2003-02-01  Geoffrey Keating  <geoffk@apple.com>
17193         * doc/extend.texi (Function Attributes): Remove documentation
17194         for PowerPC Windows NT function attributes..
17196 2003-02-01  Daniel Jacobowitz  <drow@mvista.com>
17198         * dwarf2out.c (gen_type_die): Check for typedefs before calling
17199         for TYPE_MAIN_VARIANT.
17201 2003-02-01  Richard Henderson  <rth@redhat.com>
17203         * libgcc2.c: Include auto-host.h.
17204         (ATTRIBUTE_HIDDEN): New.
17205         (__clz_tab): Don't declare here for clz and ctz.
17206         (__clzsi2, __clzdi2): Use count_leading_zeros.
17207         (__ctzsi2, __ctzdi2): Use count_trailing_zeros.
17208         (__popcount_tab): Mark ATTRIBUTE_HIDDEN.
17209         (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab.
17210         * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN.
17212 2003-02-01  Richard Henderson  <rth@redhat.com>
17214         * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT
17215         to the conditional.
17216         (ashlsi3_1_zext splitter): Likewise.
17218 2003-02-01  Richard Henderson  <rth@redhat.com>
17220         * optabs.c (expand_unop): Use word_mode for outmode of bit scaners.
17221         * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
17222         __popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change
17223         return type to Wtype.
17225         * libgcc-std.ver (GCC_3.4): Fix inheritance.
17227         * config/i386/i386.md (ffssi2): Use nonimmediate_operand for
17228         expander input constraint.
17230 2003-02-01  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
17232         * optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and
17233         OTI_parity.
17234         (clz_optab, ctz_optab, popcount_optab, parity_optab): New.
17235         * optabs.c (widen_clz, expand_parity): New.
17236         (expand_unop): Handle clz and parity.  Hardcode SImode as outmode
17237         for libcalls to clz, ctz, popcount, and parity.
17238         (init_optabs): Init clz_optab, ctz_optab, popcount_optab and
17239         parity_optab, and set up libfunc handlers.
17240         * libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
17241         __popcountsi2, __popcountdi2, __paritysi2 __paritydi2,
17242         __popcount_tab): New.
17243         * libgcc2.h: Declare them.
17244         * libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c.
17245         * genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab
17246         and parity_optab.
17247         * builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New.
17248         * builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT,
17249         BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL,
17250         BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL,
17251         BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL,
17252         BUILT_IN_PARITYLL): New.
17253         * builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs
17254         and add optab argument.
17255         (expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*.
17256         * tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New.
17257         * expr.c (expand_expr): Handle them.
17258         * fold-const.c (tree_expr_nonnegative_p): Likewise.
17259         * rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New.
17260         * reload1.c (eliminate_regs): Handle them.
17261         (elimination_effects): Likewise.
17262         * function.c (instantiate_virtual_regs_1): Likewise
17263         * genattrtab.c (check_attr_value): Likewise.
17264         * simplify-rtx.c (simplify_unary_operation): Likewise.
17265         * c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR.
17266         * combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY.
17267         (nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY.
17268         * config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New.
17269         * config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to
17270         __builtin_arm_clz.
17271         * Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move...
17272         * mklibgcc.in (lib2funcs): ...here and merge.  Add new members.
17273         * doc/extend.texi (Other Builtins): Add new builtins.
17274         * doc/md.texi (Standard Names): Add new patterns.
17276 2003-02-01  Ulrich Weigand  <uweigand@de.ibm.com>
17278         * reload.c: Revert 2003-01-31 change.
17280 2003-02-01  Jan Hubicka  <jh@suse.cz>
17282         * combine.c (combine_simplify_rtx):  Use reversed_comparison_code_parts.
17284 2003-02-01  Richard Sandiford  <rsandifo@redhat.com>
17286         * flags.h (flag_volatile): Remove declaration.
17287         (flag_volatile_global, flag_volatile_static): Likewise.
17288         * c-typeck.c (build_indirect_ref): Don't check flag_volatile.
17289         * toplev.c (flag_volatile): Remove definition.
17290         (flag_volatile_global, flag_volatile_static): Likewise.
17291         (f_options): Remove corresponding entries here.
17292         * varasm.c (make_decl_rtl): Don't check flag_volatile_global
17293         or flag_volatile_static.
17294         * doc/invoke.texi: Remove documentation of -fvolatile,
17295         -fvolatile-global and -fvolatile-static.
17297 2003-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
17299         * pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
17300         updating of total_code_bytes from prologue to epilogue.
17302 2003-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
17304         * reload.c (find_reloads): Do not use the mode specified in the insn
17305         pattern as reload mode for address operands.  Do not generate optional
17306         reloads for operands where a mandatory reload was already pushed.
17307         Generate optional reloads only in the final pass though find_reloads.
17308         (have_replacement_p): New function.
17310 2003-01-31  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
17312         * doc/install.texi (Testing): Remove a reference to our obsolete
17313         /testresults web pages and strip redundant information concerning
17314         test results.
17315         (Binaries): Refer to Microsoft Windows instead of listing all
17316         possible variants.
17318 2003-02-01  Jan Hubicka  <jh@suse.cz>
17320         * loop.c (emit_prefetch_instructions):  Do conversion at right place in
17321         RTL chain.
17323         * combine.c (simplify_set): Reverse order of ragumetns to
17324         REG_CANNOT_CHANGE_MODE_P
17325         * df.c (df_def_record_1): Likewise.
17326         * recog.c (register_operand): Likewise.
17327         * simplify-rtx.c (simplify_subreg): Likewise.
17328         * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of
17329         CANNOT_CHANGE_MODE_CLASS.
17330         * regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p):
17331         Likewise.
17332         * reload.c (push_reload): Likewise.
17333         * alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
17334         * ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
17335         * mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
17336         * mips-protos.h (mips_cannot_change_mode_class): Update prototype.
17337         * mips.c (mips_cannot_change_mode_class): Update.
17338         * pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
17339         * rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
17340         * s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
17341         * sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
17342         * sh-protos.h (sh_cannot_change_mode_class): Update prototype.
17343         * sh.c (sh_cannot_change_mode_class): Update.
17344         * i386.h (CANNOT_CHANGE_MODE_CLASS): New.
17345         * tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation.
17347 2003-01-31  Geoffrey Keating  <geoffk@apple.com>
17349         * config/darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent
17350         change to LINK_COMMAND_SPEC in gcc.c.
17352 2003-01-31  Jan Hubicka  <jh@suse.cz>
17354         PR c/9506
17355         * i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
17357 2003-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
17359         * pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete
17360         duplicated code.
17362 2003-01-31  Nathan Sidwell  <nathan@codesourcery.com>
17364         * tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove.
17365         (BINFO_ELTS): New #define.
17366         * stor-layout.c (finalize_record_size): Don't set them.
17367         * cp/cp-tree.h (BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX,
17368         BINFO_PRIMARY_BASE_OF): Use BINFO_ELTS.
17369         (BINFO_LANG_ELTS): New #define.
17370         * cp/tree.c (make_binfo): Use BINFO_LANG_ELTS.
17371         * java/class.c (make_class): Use BINFO_ELTS.
17372         (set_super_info): Likewse.
17373         (add_interface_do): Likewise.
17374         * objc/objc-act.c (start_class): Use BINFO_ELTS.
17376 2003-01-31 Danny Smith <dannysmith@users.sourceforge.net>
17378         * timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE.
17379         (times): Don't ever declare if not HAVE_TIMES.
17380         (clock): Don't ever declare if not HAVE_CLOCK.
17382 2003-01-30  Richard Henderson  <rth@redhat.com>
17384         * flow.c (update_life_info): Zap life info after cleanup_cfg.
17385         (regno_uninitialized): Use correct live at function entry set.
17386         (regno_clobbered_at_setjmp): Likewise.
17388         * expr.c (store_expr): Promote all MEM intermediates to regs.
17390 2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
17392         * config/arm/arm.c: Fix comment typos.
17393         * config/arm/arm.h: Likewise.
17394         * config/arm/netbsd-elf.h: Likewise.
17395         * config/arm/netbsd.h: Likewise.
17397 2003-01-30  Geoffrey Keating  <geoffk@apple.com>
17399         * gengtype.c (struct walk_type_data): Add needs_cast_p.
17400         (walk_type): Set needs_cast_p in walk_type_data.
17401         (write_types_process_field): Supply casts when required to suppress
17402         warnings.
17403         (write_root): Cast gt_pch_n_S to suppress warning.
17404         * Makefile.in: Remove -Wno-error from gtype-desc.o and c-decl.o.
17405         * config/rs6000/rs6000.c (print_operand): Mask off high bits only
17406         when they might exist.
17407         * config/rs6000/t-rs6000: Remove -Wno-error from varasm.o,
17408         insn-conditions.o, and rs6000.o.
17410 2003-01-30  Richard Henderson  <rth@redhat.com>
17412         * ggc-page.c (G.context_depth_allocations): New.
17413         (G.context_depth_collections): New.
17414         (alloc_page): Set G.context_depth_allocations.
17415         (ggc_collect): Set G.context_depth_collections.
17416         (ggc_push_context): Limit to HOST_BITS_PER_LONG contexts.
17417         (ggc_pop_context): Early exit for no allocations or collections.
17419 2003-01-30  Richard Henderson  <rth@redhat.com>
17421         * tree-inline.c (walk_tree): Streamline duplicate hash table lookup.
17423 2003-01-30  Richard Earnshaw  <rearnsha@arm.com>
17425         * arm.c (arm_compute_initial_elimination_offset): If optimizing for
17426         size, the link register is always saved if any other register is
17427         saved.
17429 2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
17431         * config/h8300/h8300-protos.h: Update the prototype for
17432         compute_plussi_cc.
17433         (cpp_reader): Declare before it is used.
17434         * config/h8300/h8300.c (compute_plussi_cc): Change the return
17435         type to int.
17436         * config/h8300/h8300.md (monitor_prologue): Call abort() if we
17437         see an unknown H8 variant.
17439 2003-01-30  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
17441         PR target/9316
17442         * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
17443         * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
17444         * config/rs6000/t-rtems: New file. multilib variants to match OS.
17445         * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
17446         rs6000/t-ppcgas so we get the desired multilibs.
17448 2003-01-30  Nick Clifton  <nickc@redhat.com>
17450         * config/arm/arm.c (arm_output_epilogue): Update stack pointer
17451         when popping saved IP register off the stack.
17453 2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
17455         * config/rs6000/aix43.h: Fix comment typos.
17456         * config/rs6000/aix51.h: Likewise.
17457         * config/rs6000/aix52.h: Likewise.
17458         * config/rs6000/altivec.h: Likewise.
17459         * config/rs6000/rs6000.c: Likewise.
17460         * config/rs6000/rs6000.h: Likewise.
17461         * config/rs6000/rs6000.md: Likewise.
17462         * config/rs6000/spe.md: Likewise.
17464 2003-01-29  Mark Mitchell  <mark@codesourcery.com>
17466         * c-common.c (builtin_define_float_constants): Define
17467         __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__.
17469 2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
17471         * config/sh/lib1funcs.asm: Fix comment typos.
17472         * config/sh/linux.h: Likewise.
17473         * config/sh/sh.c: Likewise.
17474         * config/sh/sh.md: Likewise.
17476 2003-01-30  Loren James Rittle  <ljrittle@acm.org>
17478         * objc/Make-lang.in (objc-parse.y): Find c-parse.in in $(srcdir).
17480 2003-01-30  Alexandre Oliva  <aoliva@redhat.com>
17482         * config/fp-bit.h (__make_dp): Declare if TMODES.
17484 2003-01-29  Kazu Hirata  <kazu@cs.umass.edu>
17486         * config/h8300/h8300.h (PREDICATE_CODES): Add entries for
17487         general_operand_src and general_operand_dst.
17489 2003-01-29  David Edelsohn  <edelsohn@gnu.org>
17491         * config/rs6000/rs6000.c (function_arg_pass_by_reference):
17492         Return true for variable sized types.
17493         (rs6000_va_arg): Handle variable sized types passed by reference
17494         on non-SVR4 ABI.
17496 2003-01-29  Richard Earnshaw  <rearnsha@arm.com>
17498         * arm.c (arm_legtimize_address): New function.
17499         * arm-protos.h (arm_legtimize_address): Add prototype.
17500         * arm.h (ARM_LEGITIMIZE_ADDRESS): Use arm_legitimize_address.
17501         (LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with
17502         do ... while (0)
17504 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
17506         PR bootstrap/9296
17507         * gthr-rtems.h: Define __GTHREAD_MUTEX_INIT.  Apparently no code
17508         depended on it being defined until now.
17510 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
17512         PR target/9295
17513         * config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
17514         RTEMS code knows which C++ initialization style the toolset
17515         configuration is using.
17517 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
17519         PR bootstrap/9293
17520         * config/m68k/t-crtstuff: Replace spaces with tabs, add
17521          $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
17523 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
17525         PR bootstrap/9292
17526         * config.gcc (hppa1.1-rtems):  Did not include t-rtems nor enable
17527         RTEMS threads.
17528         * config/pa/rtems.h (LIB_SPEC): Use -N when linking.
17530 2003-01-29  Nick Clifton  <nickc@redhat.com>
17532         * Makefile.in (c-parse.o): Locate source file in $(parsedir)
17533         not $(srcdir).
17535 2003-01-29  Andrew Haley  <aph@redhat.com>
17537         * tree-inline.c (walk_tree): Add CHAR_TYPE.
17539 2003-01-29  Jan Hubicka  <jh@suse.cz>
17541         * i386.md (subdi3_carry_rex64): Fix typo.
17543 2003-01-28  Stan Shebs  <shebs@apple.com>
17545         * coretypes.h (cpp_reader): Forward declare struct.
17546         * c-pragma.h (cpp_reader): Remove forward declaration.
17547         * hashtable.h (cpp_reader): Likewise.
17548         * scan.h (cpp_reader): Likewise.
17549         * tree.h (cpp_reader): Likewise.
17550         * config/darwin-protos.h (cpp_reader): Likewise.
17551         * config/arm/arm-protos.h (cpp_reader): Likewise.
17552         * config/rs6000/rs6000-protos.h: Remove GCC_CPPLIB_H ifdef, use
17553         struct cpp_reader in prototypes.
17555 2003-01-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
17557         * doc/install.texi: Add documentation for installation into
17558         tooldirs and with DESTDIR.
17560 2003-01-28  Richard Henderson  <rth@redhat.com>
17562         * config.gcc (ia64*-*-aix*): Remove.
17563         * config/ia64/aix.h, config/ia64/t-aix: Remove file.
17564         * config/ia64/unwind-aix.c: Remove file.
17566 2003-01-28  Andreas Schwab  <schwab@suse.de>
17568         * config/m68k/m68k.md (tablejump+2): Don't sign extend an address
17569         register.
17570         * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise.
17571         * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise.
17572         * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise.
17573         * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
17574         * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise.
17575         * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
17576         * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise.
17578 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
17580         * combine.c (nonzero_bits): Fix check for negative divide operands.
17582 2003-01-28  Richard Henderson  <rth@redhat.com>
17584         * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
17585         * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.
17587 2003-01-28  Richard Henderson  <rth@redhat.com>
17589         * cse.c (find_best_addr): Kill !ADDRESS_COST code.
17591         * config/cris/cris.c (cris_address_cost): Make static.
17592         (TARGET_RTX_COSTS, TARGET_ADDRESS_COST): New.
17593         * config/cris/cris.h (ADDRESS_COST): Remove.
17594         * config/cris/cris-protos.h: Update.
17596 2003-01-23  Mike Stump  <mrs@apple.com>
17598         * regclass.c (init_reg_autoinc): New function.
17599         (regclass): Move initialization of forbidden_inc_dec_class from
17600         here...
17601         (init_regs): to here.  Avoids reinitialization for each function,
17602         saving compilation time.
17604 2003-01-28  Jason Merrill  <jason@redhat.com>
17606         * cpplib.h (struct cpp_options): Add warn_deprecated field.
17607         * cppinit.c (cpp_create_reader): Turn it on by default.
17608         * c-opts.c (c_common_decode_option): Set it.
17609         * cpplib.c (do_pragma_once): Only complain about #pragma once
17610         if warn_deprecated is set.
17612 2003-01-28  Dale Johannesen  <dalej@apple.com>
17614         * emit-rtl.c (const_double_htab_hash):  Use mode in the hash.
17615         * loop.c (scan_loop):  Move movables on -Os rich-register targets.
17616         * config/rs6000/rs6000.md (sibcall*):  Use match_operand for LR.
17618 2003-01-28  Richard Henderson  <rth@redhat.com>
17620         * target.h (targetm.address_cost): New.
17621         * target-def.h (TARGET_ADDRESS_COST): New.
17622         (TARGET_RTX_COSTS): Uncomment.  Oops.
17623         * cse.c (address_cost): Use new target hook.
17624         (default_address_cost): New.
17625         * output.h (default_address_cost): Declare.
17626         * hooks.c (hook_int_rtx_0): New.
17627         * hooks.h (hook_int_rtx_0): Declare.
17628         * loop.c (combine_givs_p): Remove if 0 code.
17629         * system.h (ADDRESS_COST): Poison.
17631         * config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c,
17632         config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h,
17633         config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c,
17634         config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h,
17635         config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c,
17636         config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h,
17637         config/xtensa/xtensa.c, config/xtensa/xtensa.h
17638         (TARGET_ADDRESS_COST): Define as hook_int_rtx_0.
17639         (ADDRESS_COST): Remove.
17641         * config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
17642         config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
17643         config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
17644         config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
17645         config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h,
17646         config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h,
17647         config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h,
17648         config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h,
17649         config/mips/mips.c, config/mips/mips.h,
17650         config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
17651         config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h,
17652         config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h,
17653         config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h,
17654         config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h,
17655         config/vax/vax.c, config/vax/vax.h
17656         (foo_address_cost): Make static.
17657         (TARGET_ADDRESS_COST): New.
17658         (ADDRESS_COST): Remove.
17660         * config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h,
17661         config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c,
17662         config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
17663         config/stormy16/stormy16.h
17664         (ADDRESS_COST): Move code ...
17665         (foo_address_cost): ... here.
17666         (TARGET_ADDRESS_COST): New.
17668         * config/m32r/m32r.c (m32r_address_cost): Remove.
17669         * config/m32r/m32r-protos.h: Update.
17671         * config/mmix/mmix.c (mmix_address_cost): Remove.
17672         * config/mmix/mmix-protos.h: Update.
17674         * config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from
17675         mn10300_address_cost; move unsig allocation ...
17676         (mn10300_address_cost): ... here.
17677         (TARGET_ADDRESS_COST): New.
17678         * config/mn10300/mn10300-protos.h: Update.
17679         * config/mn10300/mn10300.h (ADDRESS_COST): Remove.
17681         * doc/tm.texi: Update.
17683 2003-01-28  Vladimir Makarov  <vmakarov@redhat.com>
17685         * haifa-sched.c (schedule_insn): Return necessary cycle advance
17686         after issuing the insn.
17687         (rank_for_schedule): Make a insn with /S the highest priority
17688         insn.
17689         (move_insn): Ignore schedule groups.  Clear SCHED_GROUP_P.
17690         (choose_ready): Check SCHED_GROUP_P.
17691         (schedule_block): Advance cycle after issuing insn if it is
17692         necessary.  Don't reorder insns if there is an insn with /S.
17693         (set_priorities): Ignore schedule groups.
17695         * sched-deps.c (remove_dependence, group_leader): Remove the
17696         functions.
17697         (add_dependence): Ignore schedule groups.
17698         (set_sched_group_p): Don't make copy of dependencies from previous
17699         insn of the schedule group.  Add anti-dependency to the previous
17700         insn of the schedule group.
17701         (compute_forward_dependences): Ignore schedule groups.
17703         * sched-ebb.c (init_ready_list): Ignore schedule groups.
17705         * sched-rgn.c (init_ready_list): Ditto.
17706         (can_schedule_ready_p): Ditto.
17708 2003-01-28  Vladimir Makarov  <vmakarov@redhat.com>
17710         * config/i386/i386.md (*movsi_1): Use movdqa to move one xmm
17711         register to another one.
17713 2003-01-28  Richard Henderson  <rth@redhat.com>
17715         * calls.c (default_must_pass_in_stack): Fix typo in !type case.
17717 2003-01-28  Roger Sayle  <roger@eyesopen.com>
17719         * cse.c (cse_insn): Avoid redundant REG_EQUAL notes.
17721 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
17723         * config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
17724         class contains a floating-point register, return the size of the
17725         mode in half words.
17727 2003-01-28  Jan Hubicka  <jh@suse.cz>
17729         * i386.c (ix86_carry_flag_operator):  New predicate.
17730         (fcmov_operator): Fix whitespace.
17731         (ix86_expand_carry_flag_compare):  Deal with floating point.
17732         (ix86_expand_int_movcc): Deal with fp; update insn expansion
17733         (ix86_expand_int_addcc): Likewise.
17734         (ix86_expand_strlensi_unroll_1): likewsie.
17735         * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
17736         * i386.md (add?i_carry_rex64): Use new predicate.
17737         (sub?i3_carry_rex64): Likewise.
17738         (x86_mov?icc_0_m1*): Likewise.
17740 2003-01-28  Andreas Schwab  <schwab@suse.de>
17742         * cfgloopmanip.c (create_preheader): Initialize src to avoid
17743         warning.
17745         * expmed.c (emit_store_flag): Fix cast to avoid sign
17746         comparison warning.
17748         * combine.c (force_to_mode): Add cast to fix warning when
17749         STORE_FLAG_VALUE is negative.
17751 2003-01-27  Richard Henderson  <rth@redhat.com>
17753         * Makefile.in (cse.o): Depend on TARGET_H.
17754         * cse.c (rtx_cost): Use targetm.rtx_costs.
17755         * system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison.
17756         * doc/tm.texi: Update.
17758         * target.h (targetm.rtx_costs): New.
17759         * target-def.h (TARGET_RTX_COSTS): New.
17760         * hooks.c (hook_bool_rtx_int_int_intp_false): New.
17761         * hooks.h: Update.
17763         * config/alpha/alpha.c (alpha_rtx_cost_data): New.
17764         (alpha_rtx_costs, TARGET_RTX_COSTS): New.
17765         * config/alpha/alpha.h (PROCESSOR_MAX): New.
17766         (CONST_COSTS, RTX_COSTS): Remove.
17768         * config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c,
17769         config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h,
17770         config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c,
17771         config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h,
17772         config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
17773         config/i370/i370.h, config/i386/i386.c, config/i386/i386.h,
17774         config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c,
17775         config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h,
17776         config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c,
17777         config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h,
17778         config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c,
17779         config/mn10200/mn10200.h, config/mn10300/mn10300.c,
17780         config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h,
17781         config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c,
17782         config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h,
17783         config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c,
17784         config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
17785         config/stormy16/stormy16.c, config/stormy16/stormy16.h,
17786         config/v850/v850.c, config/v850/v850.h,
17787         config/xtensa/xtensa.c, config/xtensa/xtensa.h
17788         (CONST_COSTS, RTX_COSTS): Move code ...
17789         (foo_rtx_costs, TARGET_RTX_COSTS): ... here.
17791         * config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs.
17792         (arm_rtx_costs, TARGET_RTX_COSTS): New.
17793         * config/arm/arm-protos.h: Update.
17794         * config/arm/arm.h (DEFAULT_RTX_COSTS): Remove.
17796         * config/avr/avr.h (CONST_COSTS): Move code ...
17797         * config/avr/avr.c (avr_rtx_costs): ... here.
17798         (default_rtx_costs): Make static.
17799         * config/avr/avr-protos.h: Update.
17801         * config/h8300/h8300.c (const_costs): Make static.
17802         (h8300_and_costs, h8300_shift_costs): Likewise.
17803         * config/h8300/h8300-protos.h: Update.
17805         * config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove.
17806         (CONST_COSTS): Move code ...
17807         * config/ip2k/ip2k.c (ip2k_rtx_costs): ... here.  Rename from
17808         default_rtx_costs; update for signature change.
17809         * config/ip2k/ip2k-protos.h: Update.
17811         * config/m68hc11/m68hc11.h (RTX_COSTS): Remove.
17812         (CONST_COSTS): Move code ...
17813         * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here.
17814         (TARGET_RTX_COSTS): New.
17815         (m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static.
17816         * config/m68hc11/m68hc11-protos.h: Update.
17818         * config/m68k/m68k.c (const_int_cost): Make static.
17819         * config/m68k/m68k-protos.h: Update.
17821         * config/mcore/mcore.c (mcore_const_costs): Make static.
17822         (mcore_and_cost, mcore_ior_cost): Likewise.
17823         * config/mcore/mcore-protos.h: Update.
17825         * config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New.
17826         (mmix_rtx_cost_recalculated): Remove.
17827         * config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove.
17828         * config/mmix/mmix-protos.h: Update.
17830         * config/sh/sh.c (shiftcosts): Make static.
17831         (addsubcosts, andcosts, multcosts): Likewise.
17832         * config/sh/sh-protos.h: Update.
17834         * config/sparc/sparc.c (TARGET_RTX_COSTS): New.
17835         (sparc_rtx_costs): Make static; update for change in signature.
17836         * config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove.
17837         * config/sparc/sparc-protos.h: Update.
17839         * config/v850/v850.c (const_costs): Make static.
17840         * config/v850/v850-protos.h: Update.
17842         * config/vax/vax.h (RTX_COSTS): Remove.
17843         (CONST_COSTS): Move code ...
17844         * config/vax/vax.c (vax_rtx_costs_1): ... here; rename
17845         from vax_rtx_cost.
17846         (vax_rtx_costs, TARGET_RTX_COSTS): New.
17848 2003-01-27  Richard Henderson  <rth@redhat.com>
17850         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.  Really.
17851         * config/vax/vax-protos.h: Update.  Really.
17853 2003-01-28  Alexandre Oliva  <aoliva@redhat.com>
17855         * config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
17856         (UNITS_PER_FPVALUE): Defined as the width of a long double, or
17857         zero if no hardware floating point.
17858         (LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
17859         (MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
17860         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
17861         (BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
17862         (FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
17863         * config/mips/mips.c (mips_arg_info): Pass TFmode values in
17864         even FP registers on N32 and N64.
17865         (mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
17866         (mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
17867         (mips_va_arg): Use UNITS_PER_HWFPVALUE.  Impose additional
17868         even-register-like alignment to 128-bit arguments.
17869         (save_restore_insns): Use UNITS_PER_HWFPVALUE.
17870         (mips_function_value): Likewise.  Return TFmode in $f0 and $f2
17871         on N32 or N64.
17872         * config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
17873         * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
17874         (TPBIT): Set to tp-bit.c.
17875         (tp-bit.c): Create out of fp-bit.c.
17877 2003-01-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
17879         * c-parse.in: Remove '%expect 32' directive in objc mode.
17881 2003-01-27  Nathan Sidwell  <nathan@codesourcery.com>
17883         * Makefile.in (LIB2FUNCS_ST): Remove _gcov.
17884         (LIBGCOV): New variable.
17885         (libgcc.mk): Add LIBGCOV.
17886         (LIBGCC_DEPS): Add libgcov.c.
17887         (libgcov.a): New target.
17888         (clean): Remove libgcov.a.
17889         (install-libgcc): Do libgcov too.
17890         (stage1-start, stage2-start, stage3-start, stage4-start): Deal
17891         with libgcov.a.
17892         * libgcc2.c (L_gcov): Move into ...
17893         * libgcov.c: ... here. New file.
17894         * mklibgcc.in: Add libgcov rules.
17895         * gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling.
17897         * doc/invoke.texi (profile-arcs, test-coverage): Update and
17898         clarify.
17900         * profile.c (index_counts_file): Remove duplicate check for open file.
17902 2003-01-27  Jerry Quinn  <jlquinn@optonline.net>
17904         * gcc/doc/invoke.texi (Optimization Options): Group together
17905         optional and experimental flags.  Move trapv and bounds-check
17906         out of this section.  Group floating point flags together.
17907         (Code Gen Options): Move trapv and bounds-check to here.
17909 2003-01-27  Josef Zlomek  <zlomekj@suse.cz>
17911         * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
17913 2003-01-27  Richard Earnshaw  <rearnsha@arm.com>
17915         PR optimization/9090
17916         * function.c (purge_addressof_1): After pushing an addressed register
17917         onto the stack, simplify the result.
17919 2003-01-27  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
17921         * doc/extend.texi: Fix typo.
17923 2003-01-27  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
17925         * doc/cppopts.texi: Fix typo.
17926         * doc/objc.texi: Likewise.
17927         * doc/passes.texi: Likewise.
17929 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
17931         * real.c (ibm_extended_format): Add 53 to minimum exponent.
17932         (encode_ibm_extended): Adjust.
17934 2003-01-26  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
17936         * timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
17937         timevar_id enumerations.
17939 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
17941         * combine.c: Fix formatting.
17943 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
17945         * doc/gccint.texi: Update the copyright.
17947 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
17949         * doc/cpp.texi: Fix typos.
17950         * doc/extend.texi: Likewise.
17951         * doc/gty.texi: Likewise.
17952         * doc/install.texi: Likewise.
17953         * doc/passes.texi: Likewise.
17954         * doc/rtl.texi: Likewise.
17955         * doc/tm.texi: Likewise.
17957 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
17959         * config/ia64/fde-glibc.c: Fix comment typos.
17960         * config/ia64/hpux.h: Likewise.
17961         * config/ia64/ia64.c: Likewise.
17962         * config/ia64/ia64.h: Likewise.
17963         * config/ia64/unwind-ia64.c: Likewise.
17965 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
17967         * config/i386/i386-modes.def: Fix comment typos.
17968         * config/i386/i386.c: Likewise.
17969         * config/i386/i386.md: Likewise.
17971 2003-01-26  Steven Bosscher  <s.bosscher@student.tudelft.nl>
17973         * config/avr/avr.h, config/cris/aout.h, config/elfos.h,
17974         config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine
17975         ASM_FINISH_DECLARE_OBJECT before defining it.
17976         * toplev.c (rest_of_decl_compilation):  Don't define
17977         ASM_FINISH_DECLARE_OBJECT.  Only use it if it is defined.
17978         (rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function
17979         parameters for DWARF2 targets because they _are_ used.
17981 2003-01-26  Alexandre Oliva  <aoliva@redhat.com>
17983         * fp-bit.h: Define macros for TFmode floating-point constants
17984         in IBM-extended TFmode types.
17985         (TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported
17986         widths.
17987         * config/fp-bit.c (pack_d, unpack_d): Support IBM-extended
17988         TFmode type.
17990         * config/fp-bit.h: Define macros for TFmode floating-point
17991         constants in IEEE quad TFmode type.  Declare functions according
17992         to L_ macros.
17993         (TMODES): Define if __LDBL_MANT_DIG__ is 113.
17994         (TFtype, TItype, UTItype): Define if TMODES is defined.
17995         (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise.
17996         (F_T_BITOFF, D_T_BITOFF): Define.
17997         (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are
17998         guaranteed to be wide enough.
17999         * config/fp-bit.c: Check for L_ macros for tf functions.
18000         (__thenan_tf): New.
18001         (nan): Adjust.
18002         (pack_d, unpack_d): Support IEEE 854 quad type.
18003         (_fpmul_parts): Support TFmode.  Compute exponent adjustment
18004         from FRAC_NBITS, FRAC_BITS and NGARDS.
18005         (usi_to_float): Cast constants to be shifted to fractype
18006         instead of assuming long long is wide enough.
18007         (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New.
18009 2003-01-26  Andreas Jaeger  <aj@suse.de>
18011         * df.c: Remove prototype of unused function df_regno_rtl_debug.
18013 2003-01-26  Alexandre Oliva  <aoliva@redhat.com>
18015         * Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.
18016         (DBBIT_FUNCS): Added _df_to_tf.
18017         (TPBIT_FUNCS): New.
18018         (libgcc.mk): Pass TPBIT and TPBIT_FUNCS down.
18019         (LIBGCC_DEPS): Added TPBIT.
18020         * mklibgcc.in: Support TPBIT and TPBIT_FUNCS.
18022         * optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
18023         been able to move the result to target.
18025         * expr.c (emit_group_store): Initialize dst with CONST0_RTX
18026         for the appropriate mode.
18028         * calls.c (emit_library_call_value_1): Handle return values
18029         in a PARALLEL.
18031         * rtl.c (get_mode_alignment): Moved to...
18032         * stor-layout.c: ... here.
18034         * print-rtl.c (print_rtx): Don't print MEM details in
18035         GENERATOR_FILEs.
18037 2003-01-26  Michael Hayes  <mph@paradise.net.nz>
18039         * df.h: Update comments, tidy formatting.
18040         (DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD,
18041         REVERSE, UNION, INTERSECTION.  All uses updated.
18042         (OLD_DF_INTERFACE): Remove.
18043         (struct insn_info): Remove commented out insn field.
18044         * df.c: Update comments, tidy formatting.
18045         (df_def_table_realloc): Remove.
18048 2003-01-26  Alan Modra  <amodra@bigpond.net.au>
18050         * calls.c (save_fixed_argument_area): Tidy.
18051         (restore_fixed_argument_area): Tidy.  Set alignment of stack_area.
18052         (expand_call): Comment typo fixes.  Don't init low_to_save.  Start
18053         call chain loop at 1 if !try_tail_call.  Formatting.
18054         (emit_library_call_value_1): Don't init low_to_save or high_to_save.
18055         Use save_fixed_argument_area and restore_fixed_argument_area.
18057 2003-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18059         * df.c (df_uses_record): Handle CC0.
18061 2003-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
18063         * reload.c (maybe_memory_address_p): New function.
18064         (find_reloads_address): Use it instead of memory_address_p.
18066 2003-01-25  Kaz Kojima  <kkojima@gcc.gnu.org>
18068         * final.c (shorten_branches): Align the address of code label
18069         when computing initial lengths and addresses.
18071 2003-01-25  Kazu Hirata  <kazu@cs.umass.edu>
18073         * config/m68hc11/m68hc11.md: Fix a comment typo.
18075 2003-01-25  Andreas Jaeger  <aj@suse.de>
18077         * config/i386/i386.c (x86_output_mi_thunk): Correct test for
18078         TARGET_MACHO.
18080 2003-01-25  Roger Sayle  <roger@eyesopen.com>
18082         * gcse.c (bypass_last_basic_block): New global variable.
18083         (bypass_block):  Use redirect_edge_and_branch_force to redirect
18084         fall-through edges.  Use bypass_last_basic_block to determine
18085         which blocks have valid PRE information.
18086         (bypass_conditional_jumps): Initialize bypass_last_basic_block.
18088 2003-01-25  Jan Hubicka  <jh@suse.cz>
18090         * gcse.c (local_cprop_pass): Update reg_sets table when needed.
18092 2003-01-25  Jan Hubicka  <jh@suse.cz>
18093                               Eric Botcazou <ebotcazou@libertysurf.fr>
18094         PR opt/8492
18095         * gcse.c (one_cprop_pass): Delete unreachable blocks.
18097 2003-01-25  Richard Henderson  <rth@redhat.com>
18099         * config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename
18100         from ia64_aix_select_rtx_section.
18101         (ia64_rwreloc_select_section): Simlarly; use default*_1 function
18102         instead of saving and restoring flag_pic.
18103         (ia64_rwreloc_unique_section): Similarly.
18104         * config/ia64/aix.h (TARGET_ASM_SELECT_SECTION,
18105         TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update.
18106         * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
18107         TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New.
18109 2003-01-25  Kazu Hirata  <kazu@cs.umass.edu>
18111         * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a
18112         comment.
18114 2003-01-25  Richard Henderson  <rth@redhat.com>
18116         * config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.
18118 2003-01-25  Kelley Cook <kelleycook@comcast.net>
18120         * ggc-simple.c (debug_ggc_tree): Add PTR cast.
18122 2003-01-25  Segher Boessenkool  <segher@koffie.nl>
18124         * bitmap.h (BITMAP_WORD): New typedef: fundamental storage
18125         type for bitmaps.  Use unsigned long.
18126         (nBITMAP_WORD_BITS): New macro.
18127         (BITMAP_WORD_BITS): New macro.
18128         (rest of file): Use it.
18129         * bitmap.c: Use it.
18131 2003-01-25  Richard Henderson  <rth@redhat.com>
18133         2002-02-19  Robert Lipe  <robertlipe@usa.net>
18134         * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff.
18136 2003-01-25  Roger Sayle  <roger@eyesopen.com>
18138         * builtins.c (purge_builtin_constant_p): Scan insn stream
18139         sequentially rather than by basic block.
18140         * function.c (purge_addressof): Simplify test with INSN_P.
18142 2003-01-25  Kazu Hirata  <kazu@cs.umass.edu>
18144         * combine.c (simplify_comparison, case AND): Remove a redundant test.
18146 2003-01-25  Roger Sayle  <roger@eyesopen.com>
18148         * function.h (struct function): New field calls_constant_p.
18149         (current_function_calls_constant_p): New macro for above.
18150         * function.c (prepare_function_start): Initialize calls_eh_return
18151         and calls_constant_p.
18152         * builtins.c (expand_builtin_constant_p): Set calls_constant_p.
18153         * toplev.c (rest_of_compilation): Only call purge_builtin_constant_p
18154         when the current_function_calls_constant_p.
18155         * integrate.c (expand_inline_function): Set calls_constant_p if
18156         the function being inlined has calls_constant_p set.
18158 2003-01-25  Roger Sayle  <roger@eyesopen.com>
18160         * cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not
18161         optimizing, even if flag_gcse is true.
18162         * toplev.c (rest_of_compilation): purge_builtin_constant_p
18163         only needs to be called when "optimize > 0 && flag_gcse".
18165 2003-01-25  Roger Sayle  <roger@eyesopen.com>
18167         * stmt.c (emit_case_bit_tests): New routine to implement suitable
18168         switch statements using the equivalent of "if ((1<<x) & cst) ... ".
18169         (case_bit_test_cmp): New comparison function for "qsort" to order
18170         case_bit_tests by decreasing number of destination nodes.
18171         (lshift_cheap_p): New function to determine if "1 << x" is cheap.
18172         (expand_end_case_type): Use emit_case_bit_tests to implement
18173         suitable switch statments.
18174         (CASE_USE_BIT_TESTS): New target macro to disable the above.
18175         * Makefile.in (stmt.o): Add dependency on optab.h.
18176         * doc/tm.texi (CASE_USE_BIT_TESTS): Document new target macro.
18178 2003-01-23  Andreas Schwab  <schwab@suse.de>
18180         * config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make
18181         __do_global_ctors_aux hidden global and don't put it in
18182         .init_array.
18183         * config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here
18184         instead so that it comes first.
18186 2003-01-25  Jan Hubicka  <jh@suse.cz>
18188         * df.c (read_modify_subreg_p):  When osize == UNITS_PER_WORD,
18189         subreg is read/modify.
18191 2003-01-25  Jan Hubicka  <jh@suse.cz>
18193         * i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently
18194         do libcall for large blocks.
18195         * i386.md (comi patterns): Set type to ssecomi.
18196         (sse2_unpck?pd): Fix mode of vec_select.
18198         * cse.c: Include except.h
18199         (cse_set_around_loop):  Do not create new basic blocks.
18200         * Makefile.in (cse.o): Add dependnecy on except.h
18202 2003-01-25  Jan Hubicka  <jh@suse.cz>
18204         * builtins.c (fold_trunc_transparent_mathfn): New function.
18205         (fold_builtin): Use it.
18206         * convert.c (convert_to_real): Re-enable code to convert
18207         math functions; add support for floor familly functions.
18209 2003-01-25  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
18211         * Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add
18212         dependencies on coretypes.h and $(TM_H).
18214 2003-01-25  Jan Hubicka  <jh@suse.cz>
18216         * builtins.c (fold_trunc_transparent_mathfn):  Undo accidental commit.
18218 2003-01-24  Stuart Hastings  <stuart@apple.com>
18220         * config/i386/i386.c (x86_output_mi_thunk): Add Darwin/x86 support.
18222 2003-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18224         * config/c4x/c4x.md (UNSPEC_BU): New constants.
18225         (UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise.
18226         (UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise.
18227         (UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise.
18228         (UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST):  Likewise.
18229         (UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP):  Likewise.
18230         (UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST):  Likewise.
18231         (UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE):  Likewise.
18233 2003-01-24  Jan Hubicka  <jh@suse.cz>
18235         * emit-rtl.c (reg_attrs_htab): New static variable.
18236         (reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static
18237         functions.
18238         (reg_rtx): Do not maintain regno_decl.
18239         (gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx,
18240         set_mem_attrs_from_reg): New global function.
18241         (init_emit): Do not initialize regno_decl.
18242         (init_emit_once): initialize reg_attrs_htab.
18243         * final.c (alter_subreg): Do not replace REG by SUBREG.
18244         (gen_mem_expr_from_op): Improve output.
18245         (output_asm_operands): Likewise.
18246         * function.c (assign_params): Do not set REGNO_DECL.
18247         * function.h (struct function): Kill regno_decl.
18248         (REGNO_DECL): Kill.
18249         * gengtype.c (adjust_field_rtx_def): Handle new field of reg.
18250         * print_rtl.c (print_rtx): Output REG information.
18251         * regclass.c (reg_scan_mark_refs): Update attrs.
18252         * reload1.c (alter_reg): Likewise.
18253         * simplify_rtx.c (simplify_subreg): Likewise.
18254         * stmt.c (expand_decl): Likewise.
18255         * rtl.def (REG): Add new field.
18256         * rtl.h (struct reg_attrs): New.
18257         (rtunion_def): At rtreg.
18258         (X0MEMATTR): Add checking.
18259         (X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro.
18260         (set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset):
18261         Declare.
18262         * tree.h (SET_DECL_RTL): Call set_decl_rtl.
18264 2003-01-24  Bob Wilson  <bob.wilson@acm.org>
18266         * config/xtensa/xtensa.c: Remove unused include of machmode.h.
18267         (xtensa_emit_call, print_operand): Fix printf format strings
18268         to avoid compile warnings.
18269         (xtensa_function_prologue, xtensa_function_epilogue): Change type
18270         of "size" argument to HOST_WIDE_INT to fix compile warnings.
18271         * config/xtensa/xtensa-protos.h
18272         (xtensa_function_prologue, xtensa_function_epilogue): Ditto.
18274 2003-01-24  Jan Hubicka  <jh@suse.cz>
18276         * builtins.c (DEF_BUILTIN): Accept 10 arguments.
18277         (implicit_built_in_decls): New global array.
18278         (mathfn_built_in): New global function.
18279         (fold_trunc_transparent_mathfn): New static function
18280         (expand_builtin_strstr, expand_bultin_strchr,
18281         expand_builtin_strpbrk, expand_builtin_strcpy,
18282         expand_builtin_strncpy, expand_bultin_strcmp,
18283         expand_bultin_strncat, expand_builtin_fputs): Use
18284         implicint_built_in_decls.
18285         (fold_builtin): Fold floor/trunc/round/ceil/nearbyint.
18286         * builtins.def: Fix comments.
18287         (DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN,
18288         DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN,
18289         DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN,
18290         DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed.
18291         (DEF_C99_C90RES_BULTIN): New.
18292         (*f, *l builtins): Update.
18293         * c-common.c (DEF_BUILTIN): Initialize implicit array.
18294         (c_expand_builtin_printf, c_expand_builtin_fprintf): Update.
18295         * convert.c (strip_float_extensions): New global function.
18296         * tree.h (DEF_BUILTIN): Accept 10 arguments.
18297         (implicit_built_in_decls, mathfn_built_in, strip_float_extension):
18298         Declare.
18299         * java/builtins.c (define_builtin): Handle implicit.
18300         (DEF_BUILTIN): Update.
18301         * tm.texi (TARGET_C99_FUNCTIONS): Document.
18302         * defaults.h (TARGET_C99_FUNCTIONS): Default to 0.
18303         * config/linux.h (TARGET_C99_FUNCTIONS): Default to 1
18304         when using glibc2.
18306 2003-01-24  Bob Wilson  <bob.wilson@acm.org>
18308         * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib,
18309         extra_parts, and fixincludes.  Add xtensa/t-elf tmake_file.
18310         (xtensa-*-linux*): Add xtensa/t-linux tmake_file.
18311         * config/xtensa/crti.asm: New file.
18312         * config/xtensa/crtn.asm: New file.
18313         * config/xtensa/t-elf: New file.
18314         * config/xtensa/t-linux: New file.
18315         * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o.
18316         Move various CFLAGS settings to new t-elf file.
18318 2003-01-24  Richard Henderson  <rth@redhat.com>
18320         PR optimization/4382
18321         * tree-inline.c (find_builtin_longjmp_call_1): New.
18322         (find_builtin_longjmp_call): New.
18323         (inlinable_function_p): Use it.
18325 2003-01-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
18327         * config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
18328         * config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
18329         * config/i386/i386.c (function_arg_pass_by_reference): New.
18330         (ix86_va_arg): Support arguments passed by reference.
18332 2003-01-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
18334         * cfgloopanal.c: New file.
18335         * cfgloopmanip.c: New file.
18336         * Makefile.in (cfgloopanal.o, cfgloopmanip.o): New.
18337         (toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o,
18338         cfglayout.o): Add dependency on cfgloop.h.
18339         (cfgloop.o): Add flags.h dependency.
18340         * basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags.
18341         (VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed.
18342         (struct loop, struct loops, flow_loops_find, flow_loops_update,
18343         flow_loops_free, flow_loops_dump, flow_loop_dump,
18344         flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove,
18345         LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
18346         LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p,
18347         flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge,
18348         loop_latch_edge, add_bb_to_loop, remove_bb_from_loops,
18349         find_common_loop, verify_loop_structure): Declarations moved to ...
18350         * cfgloop.h: New file.
18351         * bb-reorder.c (reorder_basic_blocks): Modified.
18352         * cfglayout.c: Include cfgloop.h.
18353         (cleanup_unconditional_jumps, cfg_layout_redirect_edge,
18354         cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure.
18355         (break_superblocks): New static function.
18356         (cfg_layout_finalize): Use it.
18357         (cfg_layout_split_block): New function.
18358         * cfglayout.h (struct reorder_block_def): Add copy and duplicated
18359         fields.
18360         (cfg_layout_initialize, cfg_layout_redirect_edge): Declaration
18361         changed.
18362         (cfg_layout_split_block): Declare.
18363         * cfgloop.c: Include cfgloop.h and flags.h.
18364         (flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find,
18365         get_loop_body): Avoid signed versus unsigned comparison warnings.
18366         (make_forwarder_block, flow_loops_find, loop_preheader_edge,
18367         loop_latch_edge): Modified.
18368         (verify_loop_structure): Modified to use flags stored in loop structure;
18369         check irreducible loops.
18370         (cancel_loop, cancel_loop_tree): New functions.
18371         (estimate_probability): Use loop analysis code for predictions.
18372         (estimate_loops_at_level):  Avoid signed versus unsigned comparison
18373         warnings.
18374         * doloop.c: Include cfgloop.h.
18375         * loop.c: Include cfgloop.h.
18376         * predict.c: Include cfgloop.h.
18377         * toplev.c: Include cfgloop.h.
18378         * unroll.c: Include cfgloop.h.
18379         * tracer.c (tracer): Modified.
18381 2003-01-24  Kazu Hirata  <kazu@cs.umass.edu>
18383         * config/h8300/h8300.c (get_shift_alg): Fix a typo.
18385 2003-01-24  Ulrich Weigand  <uweigand@de.ibm.com>
18387         * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
18388         * configure: Regenerate.
18390         * config/s390/s390-protos.h (tls_symbolic_operand): Add prototype.
18391         (tls_symbolic_reference_mentioned_p): Add prototype.
18392         (s390_tls_get_offset): Add prototype.
18393         (emit_pic_move): Remove prototype, replace by ...
18394         (emit_symbolic_move): .. this new prototype.
18396         * config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define.
18397         (tls_model_chars): New global variable.
18398         (s390_encode_section_info): Encode TLS model.
18399         Use targetm.binds_local_p to check for local symbols.
18400         (s390_strip_name_encoding): New function.
18401         (TARGET_STRIP_NAME_ENCODING): Define.
18403         (get_thread_pointer): New function.
18404         (legitimize_tls_address): New function.
18405         (legitimize_address): Call it.
18406         (emit_pic_move): Remove, replace by ...
18407         (emit_symbolic_move): ... this new function.
18409         (larl_operand): Handle TLS operands.
18410         (legitimate_constant_p): Likewise.
18411         (s390_decompose_address): Likewise.
18412         (s390_cannot_force_const_mem): New function.
18413         (TARGET_CANNOT_FORCE_CONST_MEM): Define.
18415         (s390_output_symbolic_const): Handle TLS unspecs.
18416         (print_operand): New code 'J'.
18417         (machine_function): Add struct member 'some_ld_name'.
18418         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
18420         (enum s390_builtin): New type.
18421         (code_for_builtin_64, code_for_builtin_31): New global variables.
18422         (s390_init_builtins, s390_expand_builtin): New functions.
18423         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.
18425         * config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro.
18426         (ASM_OUTPUT_LABELREF): Define.
18427         (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants.
18429         * config/s390/s390.md: Define TLS UNSPEC constants.
18430         ("movdi", "movsi"): Handle TLS operands.
18431         ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns.
18432         ("*tls_load_64", "*tls_load_31"): New insns.
18433         ("call_value_tls", "call_value_tls_exp"): New expanders.
18434         ("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31",
18435         "bas_tls_64", "bas_tls_31"): New insns.
18437 2003-01-24  Nathan Sidwell  <nathan@codesourcery.com>
18439         * config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
18440         spe ABI is configured, if requested.
18442 2003-01-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
18444         * doc/passes.texi: Fix typo.
18446 2003-01-24  Andreas Schwab  <schwab@suse.de>
18448         * stor-layout.c (excess_unit_span): Only define if used.
18450 2003-01-24  Jerry Quinn  <jlquinn@optonline.net>
18452         * gcc/doc/invoke.texi (Optimization Options): List -O levels
18453         for each optimization flag.
18455 2003-01-24  Kazu Hirata  <kazu@cs.umass.edu>
18457         * config/h8300/h8300.md (*andsi3_ashift_n_lower): New.
18459 2003-01-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
18461         * doc/bugreport.texi: Use @command instead of @code for commands.
18462         * doc/collect2.texi: Likewise.
18463         * doc/headerdirs.texi: Likewise.
18464         * doc/invoke.texi: Likewise.
18465         * doc/standards.texi: Likewise.
18466         * doc/tm.texi: Likewise.
18467         * doc/trouble.texi: Likewise.
18469 2003-01-24  Nick Clifton  <nickc@redhat.com>
18471         * config/arm/arm.c (use_return_insn): Do not use a single return
18472         instruction for interrupt handelrs which have to create a stack
18473         frame.
18474         (arm_expand_prologue): Do not pre-bias the return address of
18475         interrupt handlers which create a stack frame.
18477 2003-01-24  Nick Clifton  <nickc@redhat.com>
18479         * Add sh2e support:
18481         2002-08-12  Alexandre Oliva  <aoliva@redhat.com>
18483                 * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle
18484                 med_cbranches.  Fix logic in short_cbranches.
18486         2002-04-03  Alexandre Oliva  <aoliva@redhat.com>
18488                 * config/sh/sh.md (delay for cbranch): Don't annul delay
18489                 slots on SH2e.
18490                 * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for
18491                 cbranch with unfilled delay slot on SH2e.
18492                 (output_branch): Fill with a nop the delay slot of a
18493                 branch that required a delay slot but didn't get one.
18495         2002-04-02  Alexandre Oliva  <aoliva@redhat.com>
18497                 * doc/invoke.texi (SH options): Document -m2e.
18498                 * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__.
18499                 * config/sh/lib1funcs.asm: Likewise.
18500                 * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E.
18501                 * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and
18502                 not __sh1__.
18503                 (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from
18504                 SH2E up.
18505                 (SH3E_BIT): Renamed to...
18506                 (SH_E_BIT): ... this.  Replace all uses.
18507                 (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2.
18508                 Replace all uses of TARGET_SH3E with TARGET_SH2E.
18509                 (TARGET_SWITCHES): Added 2e.
18510                 (OVERRIDE_OPTIONS): Set sh_cpu for SH2E.
18511                 (processor_type): Added PROCESSOR_SH2E.
18512                 * config/sh/sh.md: Replace all uses of TARGET_SH3E with
18513                 TARGET_SH2E, except in sqrtsf2_i.
18514                 (attribute cpu): Added sh2e.
18515                 * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e.
18516                 (MULTILIB_MATCHES): Use m2e multilib for m3e.
18517                 * config.gcc: Add sh2e target support.
18519 2003-01-24  Phil Edwards  <pme@gcc.gnu.org>
18521         Rename -W to -Wextra.
18522         * c-decl.c:  Update comments.
18523         * c-typeck.c:  Likewise.
18524         * flags.h:  Likewise.
18525         * function.c:  Likewise.
18526         * stmt.c:  Likewise.
18527         * toplev.c:  Update comments.
18528         (W_options):  Add 'extra'.
18529         (display_help):  Remove '-W'.
18530         (decode_W_option):  Special warn_uninitialized treatment in the case
18531         of -Wextra.
18532         * doc/invoke.texi:  Update with new entries.
18534 2003-01-23  Richard Henderson  <rth@redhat.com>
18536         * ifcvt.c (noce_process_if_block): Re-add check vs X being changed
18537         in no-else-block case.  Add commentary.
18539 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18541         * configure.in: Revert last change.
18543 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18545         * configure.in: Don't include ansidecl.h in tconfig.h.
18546         * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED): Define if IN_LIBGCC2.
18547         * unwind-dw2-fde.h (last_fde): Use __attribute__, not
18548         ATTRIBUTE_UNUSED.
18550         * configure: Regenerate.
18552 2003-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18554         PR java/6748
18555         * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
18556         regs->nip. Fix rt_sigreturn frame layout. Add support for newer
18557         kernels.
18559 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18561         * cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
18563 2003-01-23  Ulrich Weigand  <uweigand@de.ibm.com>
18565         * genattrtab.c (write_attr_get): Mark 'insn' paramter
18566         as ATTRIBUTE_UNUSED.
18568 2003-01-23  Richard Earnshaw  <rearnsha@arm.com>
18570         * arm.c (thumb_base_register_rtx_p): New function.
18571         (thumb_index_register_rtx_p): New function.
18572         (thumb_legitimate_address_p): New function.
18573         (thumb_legitimate_offset_p): New function.
18574         * arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT.
18575         (ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid duplicate
18576         definitions.
18577         (THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p.
18578         (THUMB_LEGITIMATE_OFFSET): Delte.
18579         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset.
18580         * arm-protos.h (thumb_legitimate_address_p): Add prototype.
18581         (thumb_legitimate_offset_p): Likewise.
18583 2003-01-23  Andreas Schwab  <schwab@suse.de>
18585         * unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused.
18587 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18589         * fixinc/Makefile.in (FL_LIST): Revert last change.
18591 2003-01-23  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
18593         PR other/7341
18594         * invoke.texi (ftest-coverage): Fix broken cross-reference.
18595         Change @code to @command for gcov command.
18597         * gcc.texi: Adjust title of gcov section.
18598         Adjust copyright.
18599         * gcov.texi: Likewise.
18601 2003-01-22  Roger Sayle  <roger@eyesopen.com>
18603         PR optimization/8423
18604         * cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when
18605         its argument is constant, or 0 if !flag_gcse.
18606         * simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1
18607         if it's argument is constant.
18608         * gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes.
18609         (hash_scan_set): Don't record CONSTANT_P_RTX expressions.
18610         (do_local_cprop): Don't propagate CONSTANT_P_RTX constants.
18611         * builtins.c (purge_builtin_constant_p): New function to force
18612         instantiation of any remaining CONSTANT_P_RTX nodes.
18613         * rtl.h (purge_builtin_constant_p): Prototype here.
18614         * toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p
18615         pass after GCSE and before loop.
18616         (flag_gcse): No longer static.
18617         * flags.h (flag_gcse): Prototype here.
18619 2003-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
18621         * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
18622         introduced by last change.
18624 2003-01-22  Andreas Schwab  <schwab@suse.de>
18626         * ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning.
18628 2003-01-22  Kazu Hirata  <kazu@cs.umass.edu>
18630         * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
18631         request a scratch reg on H8S when the shift count is 8.
18633 2003-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
18635         * config/s390/s390-protos.h (preferred_la_operand_p):
18636         Remove second parameter.
18637         * config/s390/s390.c (preferred_la_operand_p): Likewise.
18638         * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
18639         (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
18640         * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
18641         Add peepholes to transform ADD to LOAD ADDRESS.
18643 2003-01-22  Richard Earnshaw  <rearnsha@arm.com>
18645         * arm.c (arm_address_register_rtx_p): New function.
18646         (arm_legitimate_address_p): New function.
18647         (arm_legitimate_index_p): New function.
18648         (legitimize_pic_address): Use arm_legitimate_index_p.
18649         * arm-protos.h (arm_legtimate_address_p): Add prototype.
18650         * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete.
18651         (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p.
18653 2003-01-22  Hartmut Penner  <hpenner@de.ibm.com>
18655         * config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
18656         * config/s390/2064.md (define_bypass): Correct 'Load' and
18657         'Load-address' bypass values.
18659 2003-01-22  Andreas Schwab  <schwab@suse.de>
18661         * config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.
18663 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
18665         * genautomata.c (output_internal_insn_latency_func,
18666         output_print_reservation_func): Short circuit when there is no
18667         automaton to generate code for.
18669 2003-01-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18671         * Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
18672         (df.o): Delete duplicate dependency on coretypes.h $(TM_H).
18674 2003-01-21  Geoffrey Keating  <geoffk@apple.com>
18676         * config/rs6000/rs6000.md: Remove warning.
18677         (builtin_setjmp_receiver): Likewise.
18678         * config/darwin.c (update_stubs): Slightly improve terrible hack
18679         with identifiers.  Add comment pointing out problems with it.
18680         (update_non_lazy_ptrs): Likewise.
18682 2003-01-21  Richard Henderson  <rth@redhat.com>
18684         * dwarf2out.c (lookup_filename): Fix printf format warning.
18685         * system.h (fread_unlocked, fwrite_unlocked): Undef.
18687         * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
18688         (fixincl.o-warn, gnu-regex.o-warn): New.
18689         * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
18690         * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
18691         * fixinc/fixincl.c (process): Fix printf format warning.
18693 2003-01-21  Ulrich Weigand  <uweigand@de.ibm.com>
18695         * dwarf2out (output_file_names): Don't crash if called
18696         with empty file_table.
18698 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
18700         * genautomata.c (output_internal_insn_latency_func): Add
18701         missing break statement to generated code.
18703 2003-01-21  Roger Sayle  <roger@eyesopen.com>
18705         * stmt.c (same_case_target_p): New function to determine whether
18706         two case labels branch to the same target.  Split out from...
18707         (group_case_nodes): ... here.  Use same_case_target_p instead.
18708         (strip_default_case_nodes): Remove explicit case nodes
18709         that branch to the default destination.
18710         (expand_end_case_type): Call strip_default_case_nodes after
18711         group_case_nodes, to simplify the case-list before we count it.
18712         Only generate table_label RTX when actually needed.  Try to share
18713         thiscase->exit_label and thiscase->data.case_stmt.default_label
18714         when a switch has no explicit default case.  Simplify test for
18715         constant index.
18717 2003-01-21  Kazu Hirata  <kazu@cs.umass.edu>
18719         * config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of
18720         \t.
18721         (*negsf2_h8300hs): Likewise.
18722         (*addsi3_lshiftrt_16_zexthi): Likewise.
18723         (*iorhi3_lshiftrt_8): Likewise.
18725 2003-01-21  Ulrich Weigand  <uweigand@de.ibm.com>
18727         * dwarf2out.c (fde_table_in_use): Mark GTY.
18728         (dwarf2out_cfi_label_num): New variable, marked GTY.
18729         (dwarf2out_cfi_label): Use it instead of static label_num.
18730         * emit-rtl.c (label_num): Mark GTY.
18732 2003-01-21  Kazu Hirata  <kazu@cs.umass.edu>
18734         * config/h8300/h8300.c (output_plussi): Support H8/300.
18735         (compute_plussi_length): Likewise.
18736         (compute_plussi_cc): Likewise.
18737         * config/h8300/h8300.md (addsi_h8300): Use output_plussi to
18738         output assembly instructions.
18740 2003-01-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18742         * calls.c (fix_unsafe_tree): Prototype.
18744         * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn)
18745         (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn,
18746         insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn,
18747         c-parse.o-warn): Add -Wno-error.
18748         (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@".
18750         * configure.in (--enable-werror): Add new flag.
18751         * doc/install.texi (--enable-werror): Document.
18752         * configure: Regenerate.
18754         * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error.
18756 2003-01-21  Andreas Schwab  <schwab@suse.de>
18758         * genautomata.c (output_internal_insn_latency_func): Fix missing
18759         close paren in output.
18761 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
18763         * genautomata.c: Space savings in generated code:
18764         (output_dfa_insn_code_func): Split out the table-enlargement
18765         path to an out-of-line static function, dfa_insn_code_enlarge.
18766         (output_internal_insn_latency_func): Use a lookup table for the
18767         default latencies.
18768         (output_print_reservation_func): Use a lookup table for the
18769         strings.
18771 2003-01-21  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
18773         PR opt/7507
18774         * calls.c (fix_unsafe_tree): Split out from ...
18775         (expand_call): ... here.  Use it on the function address too.
18777 2003-01-20  Richard Henderson  <rth@redhat.com>
18779         * expr.h (default_must_pass_in_stack): Move decl outside ifdef.
18781 2003-01-20  Richard Henderson  <rth@redhat.com>
18783         PR opt/7154
18784         * stmt.c (expand_asm_operands): Validize memory operands.
18786 2003-01-20  Richard Henderson  <rth@redhat.com>
18788         PR opt/8848
18789         * ifcvt.c (noce_process_if_block): Correct arguments to
18790         modified_between_p for no-else-block case.
18792 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
18794         * config/h8300/h8300.c (const_costs): Remove a warning.
18795         (output_plussi): Likewise.
18796         (compute_plussi_length): Likewise.
18797         (compute_plussi_cc): Likewise.
18799 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
18801         * config/h8300/h8300.md (addsi_h8300): Remove the last
18802         alternative.
18804 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
18806         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
18808 2003-01-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18810         * system.h (__NO_STRING_INLINES): Define.
18812 2003-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
18814         * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
18815         is not a scalar int mode.
18817 2003-01-20  Roger Sayle  <roger@eyesopen.com>
18819         * cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL
18820         insn's notes following a substitution inside a libcall.
18822 2003-01-20  Zack Weinberg  <zack@codesourcery.com>
18824         * configure.in: Check for system-provided 'uchar' type.
18825         * configure, config.in: Regenerate.
18826         * cpphash.h: Only typedef 'uchar' if the system doesn't.
18828 2003-01-20  Richard Henderson  <rth@redhat.com>
18830         * expr.h (MUST_PASS_IN_STACK): Move implementation...
18831         * calls.c (default_must_pass_in_stack): ... here.
18833 2003-01-20  Vladimir Makarov  <vmakarov@redhat.com>
18835         * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.
18837         * genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h.
18839         * genattr.c (main): Output default definition of AUTOMATON_ALTS.
18840         Wrap up definition of `insn_alts'.
18842         * genattrtab.c (main): Wrap up `insn_alts'.
18844 2003-01-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18846         * collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before
18847         prototyping.
18848         * configure.in: Check for <ldfcn.h> and ldgetname() prototype.
18850         * config.in, configure: Regenerate.
18852 2003-01-20  Nick Clifton  <nickc@redhat.com>
18854         * config/arm/arm.md (sibcall_epilogue): Add an
18855         UNSPEC_PROLOGUE_USE to prevent the link register from being
18856         considered dead.
18858 2003-01-20  Jan Hubicka  <jh@suse.cz>
18860         * i386.md (SSE cmov splitter):  Handle memory operand in operand 5.
18862 2003-01-20  Andreas Schwab  <schwab@suse.de>
18864         * system.h: Don't declare strsignal if the decl test hasn't been
18865         run yet.
18867 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
18869         * config/h8300/h8300.c (notice_update_cc): Don't assume that
18870         recog_data.operands[0] is always associated with cc0.
18872 2003-01-19  David Edelsohn  <edelsohn@gnu.org>
18874         * collect2.c (ldgetname): Expand declaration to prototype.
18875         * read-rtl.c (atoll): Add prototype.
18876         * system.h (strsignal): Also declare if no declaration found.
18878 2003-01-19  Alexandre Oliva  <aoliva@redhat.com>
18880         * config.gcc (mips64*-*-linux*): Added.
18881         * config/mips/linux64.h, config/mips/t-linux64: New file.
18882         * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
18883         * config/mips/mips.c (override_options): Use it.
18884         * config/mips/mips.h (TARGET_SWITCHES): Added...
18885         (SUBTARGET_TARGET_SWITCHES): New, empty by default.
18886         * Makefile.in (SPECS): New.
18887         (STAGESTUFF, specs, mostlyclean, install-common): Use it.
18888         * gcc.c (process_command): Move self-spec processing past spec
18889         file loading.
18890         * doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
18891         * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
18892         CRTSTUFF_T_CFLAGS.
18893         (SPECS): Document.
18894         * doc/invoke.texi (-mabi-fake-default): Document.
18896 2003-01-19  Stephane Carrez  <stcarrez@nerim.fr>
18898         * config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
18899         z_reg, z_reg_qi): Declare static and GTY().
18900         (da_reg): Remove.
18901         (create_regs_rtx): Don't create da_reg.
18902         ("gt-m68hc11.h"): Include for GTY roots.
18903         * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
18904         and GTY() here.
18905         (m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
18906         (m68hc11_soft_tmp_reg): Likewise.
18907         * config/m68hc11/m68hc11-protos.h: Remove above declarations.
18909 2003-01-18  Kazu Hirata  <kazu@cs.umass.edu>
18911         * basic-block.h: Fix comment formatting.
18912         * calls.c: Likewise.
18913         * combine.c: Likewise.
18914         * convert.c: Likewise.
18915         * gcov.c: Likewise.
18916         * haifa-sched.c: Likewise.
18917         * libgcc2.c: Likewise.
18918         * loop.c: Likewise.
18919         * profile.c: Likewise.
18920         * system.h: Likewise.
18922 2003-01-18  Roger Sayle  <roger@eyesopen.com>
18924         * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
18926 2003-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18928         * ra-build.c (undef_to_size_word): Avoid `switch' warning.
18930 2003-01-17  Dale Johannesen  <dalej@apple.com>
18932         * config/rs6000/rs6000.md (*floatsidf2_internal):  Add earlyclobbers.
18933           (*floatunssidf2_internal):  Ditto.
18935 2003-01-17  Kazu Hirata  <kazu@cs.umass.edu>
18937         * alias.c: Fix comment typos.
18938         * basic-block.h: Likewise.
18939         * c-common.c: Likewise.
18940         * c-common.h: Likewise.
18941         * c-decl.c: Likewise.
18942         * c-opts.c: Likewise.
18943         * c-pragma.c: Likewise.
18944         * c-pretty-print.h: Likewise.
18945         * cfg.c: Likewise.
18946         * cfganal.c: Likewise.
18947         * cfgbuild.c: Likewise.
18948         * cfgcleanup.c: Likewise.
18949         * cfglayout.c: Likewise.
18950         * cfgrtl.c: Likewise.
18951         * convert.c: Likewise.
18952         * cpphash.h: Likewise.
18953         * cpplex.c: Likewise.
18954         * cpplib.h: Likewise.
18955         * df.h: Likewise.
18956         * diagnostic.c: Likewise.
18957         * diagnostic.h: Likewise.
18958         * dwarf2.h: Likewise.
18960 2003-01-17  Stan Shebs  <shebs@apple.com>
18962         * config/darwin-protos.h: Forward-declare struct cpp_reader.
18964 2003-01-17  Douglas B Rupp  <rupp@gnat.com>
18966         * config/alpha/alpha.c (alpha_need_linkage): Fix obvious
18967         mistake in last checkin.
18969 2003-01-17  Kazu Hirata  <kazu@cs.umass.edu>
18971         * et-forest.c: Fix comment typos.
18972         * et-forest.h: Likewise.
18973         * except.c: Likewise.
18974         * expr.c: Likewise.
18975         * flags.h: Likewise.
18976         * flow.c: Likewise.
18977         * gcc.c: Likewise.
18978         * gcse.c: Likewise.
18979         * genattrtab.c: Likewise.
18980         * genautomata.c: Likewise.
18981         * gengtype.c: Likewise.
18982         * genrecog.c: Likewise.
18983         * global.c: Likewise.
18984         * gthr-rtems.h: Likewise.
18986 2003-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18988         * i386.c (x86_function_profiler): Fix format specifier.
18990 2003-01-17  Richard Henderson  <rth@redhat.com>
18992         * gengtype.c (walk_type): Allow paramN_is.
18994 2003-01-17  Nick Clifton  <nickc@redhat.com>
18996         * config/i960/t-960bare (i960-c.o): Add missing newline escape.
18998 2003-01-16  Richard Henderson  <rth@redhat.com>
19000         * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
19002 2003-01-16  Richard Henderson  <rth@redhat.com>
19004         * config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
19005         (alpha_next_sequence_number): Likewise.
19006         (alpha_this_literal_sequence_number): Likewise.
19007         (alpha_this_gpdisp_sequence_number): Likewise.
19008         (struct alpha_funcs, alpha_funcs_num): Likewise.
19009         (struct alpha_links): Fix branch merge error.
19010         (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.
19012 2003-01-17  Alexandre Oliva  <aoliva@redhat.com>
19014         * config/mips/mips.h: Don't use #elif.  Reported by Kaveh
19015         R. Ghazi.
19017 2003-01-16  Kazu Hirata  <kazu@cs.umass.edu>
19019         * ifcvt.c: Fix comment typos.
19020         * lcm.c: Likewise.
19021         * libgcc2.c: Likewise.
19022         * local-alloc.c: Likewise.
19023         * loop.c: Likewise.
19024         * predict.c: Likewise.
19025         * ra-build.c: Likewise.
19026         * ra.c: Likewise.
19027         * ra-colorize.c: Likewise.
19028         * ra.h: Likewise.
19029         * ra-rewrite.c: Likewise.
19030         * regmove.c: Likewise.
19031         * reload.h: Likewise.
19032         * rtlanal.c: Likewise.
19033         * toplev.c: Likewise.
19034         * tree.h: Likewise.
19035         * unwind-dw2-fde-glibc.c: Likewise.
19036         * vmsdbgout.c: Likewise.
19038 2003-01-16  Richard Henderson  <rth@redhat.com>
19040         * dwarf2out.c (struct file_table): Remove.
19041         (FILE_TABLE_INCREMENT): Remove.
19042         (file_table): Make a varray; mark for GC.  Update all users.
19043         (file_table_last_lookup_index): Extract from struct file_table.
19044         (output_file_names): Fix unsigned compare warnings.
19045         (add_name_attribute): Remove inline marker.
19046         (add_comp_dir_attribute): Split out from gen_compile_unit_die.
19047         (lookup_filename): Don't manage size of file_table.
19048         (init_file_table): Allocate file_table with GC.
19049         (dwarf2out_init): Don't record main_input_filename here.
19050         (dwarf2out_finish): Do it here instead.
19052 2003-01-16  Bruce Korb  <bkorb@gnu.org>
19054         * gcc/fixinc/inclhack.def(limits_ifndef): QNX needs a bypass, too.
19056 2003-01-16  Kaz Kojima  <kkojima@gcc.gnu.org>
19058         * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
19059         instead of rotldi3_mextr.
19061 2003-01-16  Vladimir Makarov  <vmakarov@redhat.com>
19063         * haifa-sched.c (move_insn): Restore moving all schedule group.
19064         (set_priorities): Restore taking SCHED_GROUP_P into account.
19066         * sched-deps.c (add_dependence): Restore processing the last group
19067         insn.
19068         (remove_dependence, group_leader): Restore the functions.
19069         (set_sched_group_p): Restore adding dependencies from previous insn
19070         in the group.
19071         (compute_forward_dependences): Restore usage of group_leader.
19073         * sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
19074         account.
19076         * sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
19077         account.
19078         (can_schedule_ready_p): Ditto.
19079         (add_branch_dependences): Restore skipping over the group insns.
19081 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
19083         * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
19084         68HC12 pre/post inc/dec side effects.
19086 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
19088         * config/m68hc11/m68hc11.h (MASK_M6812): Define.
19090 2003-01-16  J"orn Rennecke <amylaar@onetel.net.uk>
19092         * sh.md (mshflo_w_x): Fix description of operation.
19094 2003-01-16  Zack Weinberg  <zack@codesourcery.com>
19096         * config/rs6000/rs6000.h: Mention Altivec registers in
19097         commentary.  Fix typo.
19099 2003-01-16  David Edelsohn  <edelsohn@gnu.org>
19101         * config/rs6000/rs6000.md (movti_string): Remove clobber.
19102         * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
19103         generate PARALLEL with clobber for TARGET_POWER.
19105 2003-01-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19107         * ra-colorize.c (colorize_one_web): Initialize variable.
19108         * regmove.c (fixup_match_1): Likewise.
19109         * reload1.c (reload_as_needed): Likewise.
19110         * sdbout.c (SET_KNOWN_TYPE_TAG): Add cast.
19112 2003-01-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
19114         * cfgloop.c (flow_loops_find): Fix handling of abnormal edges.
19116 2003-01-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19118         * dbxout.c (lastfile, cwd): Fix `unused' warning.
19119         * dwarf2out.c (fde_table_in_use, current_funcdef_fde,
19120         dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
19121         is_main_source, file_table, decl_die_table_in_use,
19122         abbrev_die_table_in_use, line_info_table_in_use,
19123         separate_line_info_table_in_use, pubname_table_in_use,
19124         arange_table_in_use, ranges_table_in_use,
19125         current_function_has_inlines): Likewise.
19126         * flow.c (life_analysis): Likewise.
19127         * genemit.c (gen_insn): Likewise.
19128         * protoize.c (cplus_suffix): Likewise.
19130         * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
19131         * arm.h (ROUND_UP_WORD): Likewise.
19133         * arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
19134         warning.
19135         * emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos,
19136         init_emit_once): Likewise.
19137         * flow.c (mark_regs_live_at_end, calculate_global_regs_live):
19138         Likewise.
19139         * function.c (assign_stack_temp_for_type): Likewise.
19140         * loop.c (loop_invariant_p): Likewise.
19141         * recog.c (push_operand): Likewise.
19142         * regclass.c (init_reg_sets_1): Likewise.
19143         * reload.c (update_auto_inc_notes): Likewise.
19144         * reload1.c (reload_as_needed, emit_input_reload_insns): Likewise.
19145         * stmt.c (expand_asm_operands): Likewise.
19146         * stor-layout.c (start_record_layout): Likewise.
19148 2003-01-16  Herman A.J. ten Brugge <hermantenbrugge@home.nl>
19150         * config/c4x/c4x.md (epilogue): Correct last patch.
19152 2003-01-15  Richard Henderson  <rth@redhat.com>
19154         * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
19155         also check that GP is being used.
19156         (alpha_find_lo_sum_using_gp): New.
19157         (alpha_does_function_need_gp): Use get_attr_usegp.
19158         * config/alpha/alpha-protos.h: Update.
19159         * config/alpha/alpha.md (attr usegp): New.  Annotate patterns
19160         as needed.
19162 2003-01-15  Roger Sayle  <roger@eyesopen.com>
19164         * gcse.c (one_cprop_pass): Change function arguments to take both
19165         cprop_jumps and bypass_jumps flags instead of just alter_jumps.
19166         (gcse_main): Update calls to one_cprop_pass, disabling bypassing.
19167         (bypass_jumps): New function to perform separate jump bypassing pass.
19168         * rtl.h (bypass_jumps): Add function prototype.
19169         * timevar.def (TV_BYPASS): New timing variable.
19170         * toplev.c (enum dump_file_index): Add new entry DFI_bypass.
19171         (dump_file): New entry for the bypass RTL dump file.
19172         (rest_of_compilation): Insert new jump bypassing optimization
19173         pass after loop.
19174         * doc/passes.texi: Document new pass.
19176 2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
19178         * som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
19179         ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
19180         * pa.h (TARGET_SOM_SDEF): Define.
19181         * pa-hpux11.h (TARGET_SOM_SDEF): Define.
19183 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
19185         * config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
19186         allocate 4-bytes of locals on 68HC11.
19187         (expand_epilogue): Likewise.
19188         (m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.
19190 2003-01-15  Stephane Carrez  <stcarrez@nerim.fr>
19192         * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
19193         and -mshort-double to the assembler to specify the ABI.
19194         (LINK_SPEC): Likewise.
19195         (CPP_SPEC): Pass HCS12 specific define.
19196         (MASK_M68S12): New define.
19197         (TARGET_M68S12): Likewise.
19198         (TARGET_SWITCHES): New options -m68hcs12 and -m68S12.
19199         (TARGET_VERSION): Update.
19200         * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define.
19201         (LINK_SPEC): Update.
19202         (ASM_SPEC): Update.
19203         * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update.
19204         * doc/invoke.texi (M68hc1x Options): Document -m68hcs12.
19206 2003-01-15  Stephane Carrez  <stcarrez@nerim.fr>
19208         * config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
19209         the return code.
19211 2003-01-15  Josef Zlomek  <zlomekj@suse.cz>
19213         * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
19214         flag before setting it.
19216 2003-01-15  Roger Sayle  <roger@eyesopen.com>
19218         * c-semantics.c (genrtl_while_stmt):  Improve initial RTL generation
19219         when loop condition is known true, i.e.  "while (1) { ... }".
19220         (genrtl_for_stmt): Similarly for "for" statements.
19222 2003-01-15  Roger Sayle  <roger@eyesopen.com>
19224         * real.c (real_sqrt): Return a bool result indicating whether
19225         a floating point exception or trap should be raised.
19226         * real.h (real_sqrt): Update function prototype.
19227         * builtins.c (fold_builtin): Only fold non-trapping square
19228         roots unless we're ignoring errno and trapping math.
19230 2003-01-15  John David Anglin  <dave.anglin@nrc.gc.ca>
19232         * expr.h (emit_conditional_add): Add PARAMS to declaration.
19233         * gengtype-lex.l (malloc, realloc): Move defines after include of
19234         system.h.  Remove duplicate include of system.h.
19236 2003-01-15  Roger Sayle  <roger@eyesopen.com>
19238         PR middle-end/9009
19239         * optabs.c (expand_unop):  When manipulating the FP sign bit
19240         using integer operations, account for targets with different
19241         integer and FP word orders.
19242         (expand_abs): Likewise.
19244 2003-01-15  David Edelsohn  <edelsohn@gnu.org>
19246         * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include
19247         file extension in section name.
19249 2003-01-15  Richard Earnshaw  <rearnsha@arm.com>
19251         * flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with
19252         constant offset.
19254 2003-01-15  Richard Earnshaw  <rearnsha@arm.com>
19256         * arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define.
19257         (HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define.
19258         (ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses.
19259         (ARM_PRINT_OPERAND_ADDRESS): Likewise.
19261 2003-01-15  Jan Hubicka  <jh@suse.cz>
19263         PR f/9258
19264         * global.c (struct allocno): Add no_stack_reg.
19265         (global_conflicts): Set no_stack_reg.
19266         (find_reg): Use it.
19268         * convert.c (convert_to_real): Fold - and abs only when profitable.
19269         * fold-const.c (fold): Fold truncates in - and abs.
19271 2003-01-15  Josef Zlomek  <zlomekj@suse.cz>
19273         Segher Boessenkool  <segher@koffie.nl>
19275         * predict.c (real_inv_br_prob_base): New variable.
19276         (propagate_freq): Use multiply by reciprocal instead of
19277         division.  Don't divide by 1.0 at all.
19278         (estimate_bb_frequencies): Similar.
19280 2003-01-15  Alexandre Oliva  <aoliva@redhat.com>
19282         * configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
19283         * configure: Rebuilt.
19285 2003-01-15  Hartmut Penner  <hpenner@de.ibm.com>
19287         * config/s390/s390.c (s390_safe_attr_type): New function.
19288         (s390_use_dfa_pipeline_interface): New function, return true for z900.
19289         (s390_issue_rate): New function.
19290         (s390_agen_dep_p): New function.
19291         (addr_generation_dependency_p): Use 's390_safe_attr_type'.
19292         (s390_adjust_cost): Return 'cost' if new DFA is used.
19293         (s390_adjust_priority): Delete function.
19294         * config/s390/s390-protos.h: (s390_agen_dep_p): New prototype.
19295         * config/s390/s390.md (atype attribute): Attribute 'atype' default
19296         determined by 'op_type'.
19297         (type attribute): Added more type attributes.
19298         * config/s390/2064.md: New DFA description for z900 pipeline.
19300 2003-01-15  Alexandre Oliva  <aoliva@redhat.com>
19302         * config/i386/i386.c (ix86_expand_vector_move): Validize constant
19303         forced to memory.  Fixes PR bootstrap/9036.
19305         * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
19306         to set $gp before the call.
19308 2003-01-14  Richard Henderson  <rth@redhat.com>
19310         * config/alpha/alpha.c (alpha_expand_mov): Use correct mode
19311         for force_const_mem.
19313 2003-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19315         * genattr.c (main): Rearrange output to avoid prototype warning.
19316         * genautomata.c (transform_3): Fix ambiguous-else warning.
19317         * local-alloc.c (requires_inout): Add parentheses around
19318         assignment used as truth-value.
19319         * timevar.c: Move system includes above local includes.  Include
19320         toplev.h
19321         * Makefile.in (timevar.o): Depend on toplev.h.
19323 2003-01-14  Denis Chertykov  <denisc@overta.ru>
19325         * config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
19326         (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
19328         * config/ip2k/ip2k.c (ip2k_attribute_table): New table of
19329         attributes.
19330         (TARGET_ATTRIBUTE_TABLE): New macro.
19331         (valid_machine_type_attribute): Remove.
19332         (valid_machine_decl_attribute): Remove.
19333         (ip2k_handle_progmem_attribute): New function.
19334         (ip2k_handle_fndecl_attribute): New function.
19336 2003-01-10  Andrew Haley  <aph@redhat.com>
19338         * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
19339         registers to be in correct order.  Add rip.
19341 2003-01-14  Kazu Hirata  <kazu@cs.umass.edu>
19343         * config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New.
19344         (*iorsi3_and_lshiftrt_9_sb): Likewise.
19346 2003-01-14  Jan Hubicka  <jh@suse.cz>
19348         * convert.c (strip_float_extensions):  Look for narrowest type handling
19349         FP constants.
19351         * fold-const.c (fold):  Fold (double)float1 CMP (double)float2 into
19352         float1 CMP float2.
19353         * convert.c (strip_float_extensions): Make global.
19354         * tree.h (strip_float_extensions): Declare.
19356 2003-01-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
19358         * timevar.def: define TV_NAME_LOOKUP.
19359         * timevar.c (timevar_pop): Be verbose when aborting.
19361 2003-01-13  Andreas Schwab  <schwab@suse.de>
19363         * Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
19364         $(parsedir), just move the temporary file at the end.
19365         ($(parsedir)/gengtype-yacc.c): Likewise.
19367 2003-01-13  Alexandre Oliva  <aoliva@redhat.com>
19369         * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
19370         ${ac_tool_prefix} to ADAC or CC.  Protect them from word
19371         splitting.
19372         * configure: Rebuilt.
19374 2003-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19376         * config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
19377         internal_mcount): Don't use PARAMS.
19378         (monstartup, _mcleanup, internal_mcount, moncontrol): Convert to
19379         ISO C style.
19380         (internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED.
19382 2003-01-13  Andreas Schwab  <schwab@suse.de>
19384         * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
19385         directive.
19387 2003-01-13  Kazu Hirata  <kazu@cs.umass.edu>
19389         * config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
19390         (*iorsi3_and_lshiftrt_n_sb): Likewise.
19392 2003-01-12  Mark Mitchell  <mark@codesourcery.com>
19394         PR c++/9264
19395         * c-lex.c (c_lex): Set the token value to error_mark_node for
19396         invalid numeric constants.
19398 2003-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19400         * c-pch.c (asm_file_startpos): Change to `long'.
19401         (pch_init): Use ftell, not ftello.
19402         (c_common_write_pch): Use ftell/fseek, not ftello/fseeko.
19403         Use `long' instead of `off_t'.
19404         (c_common_read_pch): Likewise.
19405         * ggc-common.c (gt_pch_save): Use long/ftell instead of
19406         off_t/ftello.
19408 2003-01-12  Alan Modra  <amodra@bigpond.net.au>
19410         * expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
19412 2003-01-11  Richard Earnshaw  (rearnsha@arm.com)
19414         * arm-protos.h (struct cpp_reader): Add declaration.
19416 2003-01-11  Jan Hubicka  <jh@suse.cz>
19418         PR target/9068
19419         * i386.c (output_fp_compare): Fix typo.
19421 2003-01-10  David Edelsohn  <edelsohn@gnu.org>
19423         * config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.
19425 2003-01-10  Geoffrey Keating  <geoffk@apple.com>
19427         * Makefile.in (parsedir): New variable.
19428         (docobjdir): New variable.
19429         (c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o,
19430         gengtype-lex.c, gengtype-yacc.c): Use parsedir.
19431         (info, cpp.info, gcc.info, gccint.info, gccinstall.info,
19432         cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7,
19433         gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man):
19434         Use docobjdir.
19435         * objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y,
19436         objc.maintainer-clean): Use parsedir.
19438         * varasm.c (struct constant_descriptor_rtx): Remove unused
19439         `label' field.
19441         * toplev.c (documented_lang_options): Document -Winvalid-pch.
19443 2003-01-10  Richard Henderson  <rth@redhat.com>
19445         * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set.
19446         (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill.
19448 2003-01-10  Richard Henderson  <rth@redhat.com>
19450         * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
19451         not INTEGRAL_MODE_P when widening extensions.
19453 2003-01-10  Richard Henderson  <rth@redhat.com>
19455         * config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
19457 2003-01-10  Geoffrey Keating  <geoffk@apple.com>
19459         * ggc-page.c (ggc_collect): Avoid overflow computing
19460         min_expand.
19462         * Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
19463         (RANLIB_TEST_FOR_TARGET): Delete.  Don't pass down to sub-makes.
19464         Remove calls.
19465         * mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET.
19467 2003-01-10  Jan Hubicka  <jh@suse.cz>
19469         * ifcvt.c (noce_try_addcc): Do not call emit_conditional_add
19470         with weird operands.
19472 2003-01-10  Dale Johannesen <dalej@apple.com>
19474         * calls.c (load_register_parameters):  Add is_sibcall, sibcall_failure
19475         parameters.  Call check_sibcall_argument_overlap if indicated.
19476         (check_sibcall_argument_overlap):  Add mark_stored_args_map
19477         parameter.  Don't mark parameter area as clobbered if not set.
19478         (expand_call):  Adjust calls to above.
19480 2003-01-10 Kelley Cook <kelleycook@comcast.net>
19482         * configure.in (linker read-only and read-write section mixing):
19483         Squelch some assembler warnings.
19484         * configure: Likewise.
19486 2003-01-10  Hartmut Penner  <hpenner@de.ibm.com>
19488         * doc/invoke.texi: Document -mtune, delete -mcpu
19489         option for S/390 and zSeries.
19490         * config/s390/s390.c (s390_tune_string) New variable.
19491         (s390_cpu_string) Delete variable.
19492         (override_options): Use s390_tune_string instead of
19493         s390_cpu_string.
19494         * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'.
19496 2003-01-10  Kazu Hirata  <kazu@cs.umass.edu>
19498         * config/h8300/h8300.md (*iorsi3_ashift_31): New.
19500 2003-01-10  Josef Zlomek  <zlomekj@suse.cz>
19502         * jump.c (next_nonnote_insn_in_loop): New function.
19503         (copy_loop_headers): Use next_nonnote_insn_in_loop instead of
19504         next_nonnote_insn.
19505         (duplicate_loop_exit_test). Likewise.
19507 2003-01-09  Geoffrey Keating  <geoffk@apple.com>
19509         Merge from pch-branch:
19511         2003-01-06  Geoffrey Keating  <geoffk@apple.com>
19513         * ggc-page.c (ggc_pch_read): Update the statistics after a PCH
19514         load.
19516         2002-12-24  Geoffrey Keating  <geoffk@apple.com>
19518         * cpplib.c (count_registered_pragmas): New function.
19519         (save_registered_pragmas): New function.
19520         (_cpp_save_pragma_names): New function.
19521         (restore_registered_pragmas): New function.
19522         (_cpp_restore_pragma_names): New function.
19523         * cpphash.h (_cpp_save_pragma_names): Prototype.
19524         (_cpp_restore_pragma_names): Likewise.
19525         * cpppch.c (struct save_macro_item): Split from save_macro_data.
19526         (struct save_macro_data): New field 'saved_pragmas'.
19527         (save_macros): Update for changes to struct save_macro_data.
19528         (cpp_prepare_state): Call _cpp_save_pragma_names, update
19529         for changes to struct save_macro_data.
19530         (cpp_read_state): Call _cpp_restore_pragma_names, update
19531         for changes to struct save_macro_data.
19533         * cpppch.c (cpp_read_state): Restore the hashtable references
19534         in the cpp_reader.
19536         * tree.h (built_in_decls): Mark for PCH.
19538         * dbxout.c (lastfile): Don't mark for PCH.
19540         * ggc.h: Document PCH calls into memory managers.
19542         2002-12-18  Geoffrey Keating  <geoffk@apple.com>
19544         * doc/invoke.texi (Precompiled Headers): Document the
19545         directory form of PCH.
19546         * cppfiles.c (validate_pch): New function.
19547         (open_file_pch): Search suitably-named directories for PCH files.
19549         2002-12-14  Geoffrey Keating  <geoffk@apple.com>
19551         * doc/gty.texi (GTY Options): Document chain_next, chain_prev,
19552         reorder options.
19553         (Type Information): Mention that the information is also
19554         used to implement PCH.
19555         * doc/passes.texi (Passes): Improve documentation of
19556         language-specific files.
19558         2002-12-11  Geoffrey Keating  <geoffk@apple.com>
19560         * gengtype.c (struct write_types_data): Add reorder_note_routine field.
19561         (struct walk_type_data): Add reorder_fn field.
19562         (walk_type): Process 'reorder' option.
19563         (write_types_process_field): Reorder parameters to gt_pch_note_object,
19564         call reorder_note_routine.
19565         (write_func_for_structure): Reorder parameters to gt_pch_note_object.
19566         (ggc_wtd): Update for change to struct write_types_data.
19567         (pch_wtd): Likewise.
19568         * ggc.h (gt_pch_note_object): Reorder parameters.
19569         (gt_handle_reorder): New definition.
19570         (gt_pch_note_reorder): New prototype.
19571         * ggc-common.c (struct ptr_data): Add reorder_fn.
19572         (gt_pch_note_object): Reorder parameters.
19573         (gt_pch_note_reorder): New.
19574         (gt_pch_save): Call reorder_fn.
19575         * stringpool.c (gt_pch_n_S): Update for change to gt_pch_note_object.
19577         * dbxout.c (cwd): Don't mark for PCH.
19579         2002-12-09  Geoffrey Keating  <geoffk@apple.com>
19581         * gengtype.c (finish_root_table): Fix some warnings.
19582         (write_root): Handle TYPE_STRING.
19583         * ggc.h (gt_ggc_m_S): Add prototype.
19584         * stringpool.c (gt_ggc_m_S): New function.
19586         2002-11-30  Geoffrey Keating  <geoffk@apple.com>
19588         * dwarf2out.c (dw2_string_counter): New.
19589         (AT_string_form): Use it.
19590         (same_dw_val_p): Update for removal of hashtable.h hash tables.
19592         2002-11-22  Geoffrey Keating  <geoffk@apple.com>
19594         * dbxout.c: Include gt-dbxout.h.
19595         (lastfile): Mark for PCH/GGC.
19596         (cwd): Likewise.
19597         (struct typeinfo): Likewise.
19598         (typevec): Likewise.
19599         (typevec_len): Likewise.
19600         (next_type_number): Likewise.
19601         (struct dbx_file): Likewise.
19602         (current_file): Likewise.
19603         (next_file_number): Likewise.
19604         (dbxout_init): Allocate typevec, struct dbx_file with GGC.
19605         (dbxout_start_source_file): Allocate struct dbx_file with GGC.
19606         (dbxout_end_source_file): Don't free struct dbx_file.
19607         (dbxout_type): Use GGC to allocate typevec.
19608         * Makefile.in (dbxout.o): Depend on gt-dbxout.h, $(GGC_H).
19609         (GTFILES): Add dbxout.c.
19610         (gt-dbxout.h): New rule.
19612         * Makefile.in (c-pch.o): Add debug.h as dependency.
19613         * c-pch.c: Include debug.h.
19614         (pch_init): Call start_source_file to keep nesting right.
19615         (c_common_read_pch): Add orig_name parameter.  Call
19616         start_source_file debug hook.  Call end_source_file debug hook.
19617         * c-common.h (c_common_read_pch): Update prototype.
19618         * cpplib.h (struct cpp_callbacks): Add fourth field to read_pch
19619         callback.
19620         * cppfiles.c (struct include_file): Add new field `header_name'.
19621         (find_or_create_entry): Default it to `name'.
19622         (open_file_pch): Set it to the original header file searched for.
19623         (stack_include_file): Don't stack an empty buffer, just handle
19624         PCH files immediately.  Pass header_name field to read_pch callback.
19626         2002-11-19  Geoffrey Keating  <geoffk@apple.com>
19628         * function.c (funcdef_no): Mark to be saved in a PCH.
19630         2002-11-15  Geoffrey Keating  <geoffk@apple.com>
19632         * ggc-page.c (ggc_pch_read): Remove unused 'bmap_size'.
19634         * cpppch.c (cpp_read_state): Correct size reallocated for 'defn'.
19636         2002-11-14  Geoffrey Keating  <geoffk@apple.com>
19638         * optabs.h (code_to_optab): Add GTY marker.
19640         2002-11-13  Geoffrey Keating  <geoffk@apple.com>
19642         * Makefile.in (GTFILES): Add cpplib.h.
19643         * c-common.h (struct c_common_identifier): Don't skip 'node' field.
19644         * c-decl.c (build_compound_literal): Don't use var_labelno.
19645         * cpplib.h (struct cpp_hashnode): Use gengtype to mark.
19646         * dwarf2asm.c (dw2_force_const_mem): Don't use const_labelno.
19647         * varasm.c (const_labelno): Use gengtype to mark.
19648         (var_labelno): Likewise.
19649         (in_section): Likewise.
19650         (in_named_name): Likewise.
19651         (struct in_named_entry): Likewise.
19652         (in_named_htab): Likewise.
19653         (set_named_section_flags): Use GGC to allocate struct in_named_entry.
19654         (init_varasm_once): Use GGC to allocate in_named_htab.
19655         * config/darwin.c (current_pic_label_num): Mark for PCH.
19657         2002-11-11  Geoffrey Keating  <geoffk@apple.com>
19659         * ggc-simple.c (init_ggc_pch): New stub procedure.
19660         (ggc_pch_count_object): Likewise.
19661         (ggc_pch_total_size): Likewise.
19662         (ggc_pch_this_base): Likewise.
19663         (ggc_pch_alloc_object): Likewise.
19664         (ggc_pch_prepare_write): Likewise.
19665         (ggc_pch_write_object): Likewise
19666         (ggc_pch_finish): Likewise.
19667         (ggc_pch_read): Likewise.
19669         2002-11-08  Geoffrey Keating  <geoffk@apple.com>
19671         * c-pch.c (c_common_write_pch): Write the macro definitions after
19672         the GCed data.
19673         (c_common_read_pch): Call cpp_prepare_state.  Restore the macro
19674         definitions after the GCed data.
19675         * cpplib.c (save_macros): New.
19676         (reset_ht): New.
19677         (cpp_write_pch_deps): Split out of cpp_write_pch.
19678         (cpp_write_pch_state): Split out of cpp_write_pch.
19679         (cpp_write_pch): Delete.
19680         (struct save_macro_data): Delete.
19681         (cpp_prepare_state): New.
19682         (cpp_read_state): Erase and restore initial macro definitions.
19683         * cpplib.h (struct save_macro_data): Forward-declare.
19684         (cpp_write_pch_deps): Prototype.
19685         (cpp_write_pch_state): Prototype.
19686         (cpp_write_pch): Delete prototype.
19687         (cpp_prepare_state): Prototype.
19688         (cpp_read_state): Add fourth argument.
19690         2002-11-04  Geoffrey Keating  <geoffk@apple.com>
19692         * gengtype.c (adjust_field_rtx_def): Don't use skip on valid fields.
19693         (write_array): Remove warning.
19695         * gengtype.c (contains_scalar_p): New.
19696         (finish_root_table): Add the table to all languages, even if it's
19697         empty.
19698         (write_roots): Output gt_pch_scalar_rtab.
19699         * ggc-common.c (gt_pch_save): Write out scalars.
19700         (gt_pch_restore): Read scalars back.
19702         * ggc-page.c (OBJECTS_IN_PAGE): New macro.
19703         (struct page_entry): Delete pch_page field.
19704         (ggc_recalculate_in_use_p): Use OBJECTS_IN_PAGE.
19705         (clear_marks): Likewise.
19706         (sweep_pages): Likewise.
19707         (poison_pages): Likewise.
19708         (ggc_print_statistics): Likewise.
19709         (ggc_pch_read): Don't free objects read from a PCH.
19710         Properly set up in_use_p and page_tails.
19712         2002-10-25  Geoffrey Keating  <geoffk@apple.com>
19714         * gengtype.c (struct write_types_data): New.
19715         (struct walk_type_data): Make `cookie' const; add extra
19716         prev_val item; add `orig_s' field.
19717         (walk_type): Update prev_val[3].
19718         (write_types_process_field): New.
19719         (write_func_for_structure): Take write_types_data structure.
19720         (write_types): New.
19721         (ggc_wtd): New.
19722         (pch_wtd): New.
19723         (write_types_local_process_field): New.
19724         (gc_mark_process_field): Delete.
19725         (write_local_func_for_structure): New.
19726         (gc_mark_func_name): Delete.
19727         (write_gc_types): Delete.
19728         (write_local): New.
19729         (finish_root_table): Don't include 'ggc_' in PFX.
19730         (write_root): Rename from write_root.  Fill pchw field of structures.
19731         (write_array): New.
19732         (write_roots): Rename from write_gc_roots.  Split out to write_array.
19733         Update to changes to other routines.  Write gt_pch_cache_rtab table.
19734         (main): Write PCH walking routines.
19735         * ggc-common.c: Include toplev.h, sys/mman.h.
19736         (ggc_mark_roots): For cache hashtables, also mark the hash table
19737         and the array of entries.
19738         (saving_htab): New.
19739         (struct ptr_data): New.
19740         (POINTER_HASH): New.
19741         (gt_pch_note_object): New.
19742         (saving_htab_hash): New.
19743         (saving_htab_eq): New.
19744         (struct traversal_state): New.
19745         (call_count): New.
19746         (call_alloc): New.
19747         (compare_ptr_data): New.
19748         (relocate_ptrs): New.
19749         (write_pch_globals): New.
19750         (struct mmap_info): New.
19751         (gt_pch_save): New.
19752         (gt_pch_restore): New.
19753         * ggc-page.c (ROUND_UP_VALUE): New.
19754         (ROUND_UP): New.
19755         (struct page_entry): Add field `pch_page'.
19756         (init_ggc): Use ROUND_UP.
19757         (struct ggc_pch_data): Declare.
19758         (init_ggc_pch): New.
19759         (ggc_pch_count_object): New.
19760         (ggc_pch_total_size): New.
19761         (ggc_pch_this_base): New.
19762         (ggc_pch_alloc_object): New.
19763         (ggc_pch_prepare_write): New.
19764         (ggc_pch_write_object): New.
19765         (ggc_pch_finish): New.
19766         (ggc_pch_read): New.
19767         * ggc.h (gt_pointer_operator): New.
19768         (gt_note_pointers): New.
19769         (gt_pch_note_object): New prototype.
19770         (gt_pointer_walker): New.
19771         (struct ggc_root_tab): Use gt_pointer_walker, add `pchw' field.
19772         (LAST_GGC_ROOT_TAB): Update.
19773         (gt_pch_cache_rtab): Declare.
19774         (gt_pch_scalar_rtab): Declare.
19775         (struct ggc_cache_tab): Use gt_pointer_walker, add `pchw' field.
19776         (LAST_GGC_CACHE_TAB): Update.
19777         (gt_pch_save_stringpool): Declare.
19778         (gt_pch_restore_stringpool): Declare.
19779         (gt_pch_p_S): Declare.
19780         (gt_pch_n_S): Declare.
19781         (struct ggc_pch_data): Forward-declare.
19782         (init_ggc_pch): Declare.
19783         (ggc_pch_count_object): Declare.
19784         (ggc_pch_total_size): Declare.
19785         (ggc_pch_this_base): Declare.
19786         (ggc_pch_alloc_object): Declare.
19787         (ggc_pch_prepare_write): Declare.
19788         (ggc_pch_write_object): Declare.
19789         (ggc_pch_finish): Declare.
19790         (ggc_pch_read): Declare.
19791         (gt_pch_save): Declare.
19792         (gt_pch_restore): Declare.
19793         * fold-const.c (size_int_type_wide): Allocate size_htab using GGC.
19794         * emit-rtl.c (init_emit_once): Allocate const_int_htab,
19795         const_double_htab, mem_attrs_htab using GGC.
19796         * c-pch.c: Include ggc.h.
19797         (pch_init): Allow reading PCH file back.
19798         (c_common_write_pch): Call gt_pch_save.
19799         (c_common_read_pch): Call gt_pch_restore.
19800         * c-parse.in (init_reswords): Delete now-untrue comment.
19801         Allocate ridpointers using GGC.
19802         * c-objc-common.c (c_objc_common_finish_file): Write PCH before
19803         calling expand_deferred_fns.
19804         * c-common.h (ridpointers): Mark for GTY machinery.
19805         * Makefile.in (stringpool.o): Update dependencies.
19806         (c-pch.o): Update dependencies.
19807         (ggc-common.o): Update dependencies.
19808         * stringpool.c: Include gt-stringpool.h.
19809         (gt_pch_p_S): New.
19810         (gt_pch_n_S): New.
19811         (struct string_pool_data): New.
19812         (spd): New.
19813         (gt_pch_save_stringpool): New.
19814         (gt_pch_restore_stringpool): New.
19815         * tree.c (init_ttree): Make type_hash_table allocated using GC.
19817         2002-10-04  Geoffrey Keating  <geoffk@apple.com>
19819         * gengtype.c (adjust_field_rtx_def): Don't pass size_t to printf.
19820         (output_mangled_typename): Don't pass size_t to printf.
19822         * tree.h (union tree_type_symtab): Add tag to `address' field.
19823         (union tree_decl_u2): Add tag to 'i' field.
19824         * varasm.c (union rtx_const_un): Add tags to all fields.
19825         * gengtype.c (struct walk_type_data): New.
19826         (output_escaped_param): Take struct walk_type_data parameter.
19827         (write_gc_structure_fields): Delete.
19828         (walk_type): New.
19829         (write_gc_marker_routine_for_structure): Delete.
19830         (write_func_for_structure): New.
19831         (gc_mark_process_field): New.
19832         (gc_mark_func_name): New.
19833         (gc_counter): Delete.
19834         (write_gc_types): Use write_func_for_structure.
19835         (write_gc_roots): Use walk_type.
19837         2002-10-02  Geoffrey Keating  <geoffk@apple.com>
19839         * ggc-common.c (ggc_mark_roots): Delete 'x'.
19840         (ggc_splay_dont_free): Fix warning about unused 'x'.
19841         (ggc_print_common_statistics): Remove warnings.
19843         2002-10-01  Mike Stump  <mrs@apple.com>
19845         * ggc-common.c (ggc_splay_alloc): Actually return the allocated area.
19846         * gengtype.c (write_gc_structure_fields): Handle param[digit]_is.
19848         2002-09-01  Geoffrey Keating  <geoffk@redhat.com>
19849             Catherine Moore  <clm@redhat.com>
19851         * Makefile (c-pch.o): Update dependencies.
19852         (LIBCPP_OBJS): Add cpppch.o.
19853         (cpppch.o): New.
19854         * c-common.c (c_common_init): Don't call pch_init here.
19855         * c-common.h (c_common_read_pch): Update prototype.
19856         * c-lex.c (c_common_parse_file): Call pch_init here.
19857         * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-pch, -fpch-deps.
19858         (c_common_decode_option): Handle them.
19859         * c-pch.c: Include c-pragma.h.
19860         (save_asm_offset): Delete.
19861         (pch_init): Move contents of save_asm_offset into here, call
19862         cpp_save_state.
19863         (c_common_write_pch): Call cpp_write_pch.
19864         (c_common_valid_pch): Warn only when -Winvalid-pch.  Call
19865         cpp_valid_state.
19866         (c_common_read_pch): Add NAME parameter.  Call cpp_read_state.
19867         * cppfiles.c (stack_include_file): Update for change to
19868         parameters of cb.read_pch.
19869         * cpphash.h (struct cpp_reader): Add `savedstate' field.
19870         * cpplib.h (struct cpp_options): Add `warn_invalid_pch' and
19871         `restore_pch_deps' fields.
19872         (struct cpp_callbacks): Add NAME parameter to `read_pch'.
19873         (cpp_save_state): Prototype.
19874         (cpp_write_pch): Prototype.
19875         (cpp_valid_state): Prototype.
19876         (cpp_read_state): Prototype.
19877         * cpppch.c: New file.
19878         * flags.h (version_flag): Remove prototype.
19879         * mkdeps.c (deps_save): New.
19880         (deps_restore): New.
19881         * mkdeps.h (deps_save): Prototype.
19882         (deps_restore): Prototype.
19883         * toplev.c (late_init_hook): Delete.
19884         (version_flag): Make static again.
19885         (compile_file): Don't call late_init_hook.
19886         * toplev.h (late_init_hook): Delete.
19887         * doc/cppopts.texi: Document -fpch-deps.
19888         * doc/invoke.texi (Warning Options): Document -Winvalid-pch.
19890         2002-08-27  Geoffrey Keating  <geoffk@redhat.com>
19892         * c-pch.c (c_common_write_pch): Rename from c_write_pch, change
19893         callers.
19894         (c_common_valid_pch): Rename from c_valid_pch, change callers.
19895         (c_common_read_pch): Rename from c_read_pch, change callers.
19897         * c-opts.c (COMMAND_LINE_OPTIONS): Allow -output-pch= to have
19898         a space between it and its argument.
19900         2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
19902         * c-pch.c: New file.
19903         * toplev.h (late_init_hook): Declare.
19904         * toplev.c (late_init_hook): Define.
19905         (version_flag): Make globally visible.
19906         (compile_file): Call late_init_hook.
19907         (init_asm_output): Make output file seekable.
19908         * gcc.c (default_compilers): Update c-header rule.
19909         * flags.h (version_flag): Declare.
19910         * cpplib.h (struct cpp_callbacks): Add 'valid_pch' and 'read_pch'
19911         fields.
19912         * cppfiles.c (struct include_file): Add 'pch' field.
19913         (INCLUDE_PCH_P): New.
19914         (open_file_pch): New.
19915         (stack_include_file): Handle PCH files specially.
19916         (find_include_file): Call open_file_pch instead of open_file.
19917         (_cpp_read_file): Explain why open_file is used instead of
19918         open_file_pch.
19919         * c-opts.c (c_common_decode_option): Correct OPT__output_pch case.
19920         * c-objc-common.c (c_objc_common_finish_file): Call c_write_pch.
19921         * c-lex.c (init_c_lex): Set valid_pch and read_pch fields
19922         in cpplib callbacks.
19923         * c-common.c (pch_file): Correct comment.
19924         (allow_pch): Define.
19925         (c_common_init): Call pch_init.
19926         * c-common.h (allow_pch): Declare.
19927         (pch_init): Declare.
19928         (c_valid_pch): Declare.
19929         (c_read_pch): Declare.
19930         (c_write_pch): Declare.
19931         * Makefile.in (c-pch.o): New.
19932         (C_AND_OBJC_OBJS): Add c-pch.o.
19933         * doc/invoke.texi (Precompiled Headers): Add index entries,
19934         complete truncated paragraph.
19936         2002-08-17  Geoffrey Keating  <geoffk@redhat.com>
19938         * c-common.c: (pch_file): Define.
19939         * c-common.h (pch_file): Declare.
19940         * c-opts.c (COMMAND_LINE_OPTIONS): Add --output-pch=.
19941         (missing_arg): Require --output-pch= to have an argument.
19942         (c_common_decode_option): Handle --output-pch=.
19943         * gcc.c: Document new %V.
19944         (default_compilers): Handle compiling C header files.
19945         (do_spec_1): Implement %V.
19946         (main): Handle "gcc foo.h" without trying to run linker.
19947         * doc/invoke.texi (Invoking GCC): Add new menu item for PCH.
19948         (Overall Options): Document what the driver does with header files,
19949         document new -x option possibilities.
19950         (Invoking G++): More documentation for PCH.
19951         (Precompiled Headers): New.
19953         2002-08-09  Geoffrey Keating  <geoffk@redhat.com>
19955         * ggc.h: Don't include varray.h.  Rearrange functions to be more
19956         organized.
19957         (ggc_add_root): Delete.
19958         (ggc_mark_rtx): Delete.
19959         (ggc_mark_tree): Delete.
19960         (struct ggc_statistics): Remove contents.
19961         * ggc-common.c: Remove unneeded includes.
19962         (struct ggc_root): Delete.
19963         (roots): Delete.
19964         (ggc_add_root): Delete.
19965         (ggc_mark_roots): Don't mark `roots'.  Call ggc_mark_stringpool.
19966         (ggc_print_common_statistics): Remove most of the contents.
19967         * Makefile.in (GGC_H): No longer uses varray.h.
19968         (ggc-common.o): Update dependencies.
19969         (c-parse.o): Add varray.h to dependencies.
19970         (c-common.o): Add varray.h.
19971         * stringpool.c (mark_ident): Use mangled name for tree marker routine.
19972         (mark_ident_hash): Rename to ggc_mark_stringpool.
19973         (init_stringpool): Don't use ggc_add_root.
19974         * c-parse.in: Include varray.h.
19975         * c-common.c: Include varray.h.
19976         * objc/Make-lang.in (objc-act.o): Add varray.h.
19977         * objc/objc-act.c: Include varray.h.
19979         2002-07-25  Geoffrey Keating  <geoffk@redhat.com>
19981         * dwarf2out.c (dw_cfi_oprnd2_desc): Fix ISO-only function definition.
19982         (dw_cfi_oprnd1_desc): Likewise.
19984         2002-07-17  Geoffrey Keating  <geoffk@redhat.com>
19986         * config/alpha/alpha.c (struct alpha_links): Use gengtype to mark;
19987         move out of ifdef.
19988         (alpha_links): Use gengtype to mark; move out of ifdef.
19989         (mark_alpha_links_node): Delete.
19990         (mark_alpha_links): Delete.
19991         (alpha_need_linkage): Use GGC to allocate splay tree, struct
19992         alpha_links, strings.  Don't use ggc_add_root.
19993         * ggc-common.c (ggc_splay_alloc): New.
19994         (ggc_splay_dont_free): New.
19995         * ggc.h (ggc_mark_rtx): Update for changed name mangling.
19996         (ggc_mark_tree): Likewise.
19997         (splay_tree_new_ggc): New.
19998         (ggc_splay_alloc): Declare.
19999         (ggc_splay_dont_free): Declare.
20000         * dwarf2asm.c: Include gt-dwarf2asm.h.
20001         (mark_indirect_pool_entry): Delete.
20002         (mark_indirect_pool): Delete.
20003         (indirect_pool): Use gengtype to mark.
20004         (dw2_force_const_mem): Don't use ggc_add_root.
20005         * Makefile.in (dwarf2asm.o): Depend on gt-dwarf2asm.h.
20006         (GTFILES): Add SPLAY_TREE_H, dwarf2asm.c.
20007         (gt-dwarf2asm.h): Depend on s-gtype.
20009         2002-07-08  Geoffrey Keating  <geoffk@redhat.com>
20011         * tree.h (union tree_type_symtab): Mark `die' field.
20012         * Makefile.in (dwarf2out.o): Update dependencies.
20013         * dwarf2out.c: Use GGC to allocate all structures.  Convert to htab_t
20014         hash tables.
20015         (dw_cfi_oprnd1_desc): New function.
20016         (dw_cfi_oprnd2_desc): New function.
20017         (indirect_string_alloc): Delete.
20018         (debug_str_do_hash): New function.
20019         (debug_str_eq): New function.
20020         (mark_limbo_die_list): Delete.
20021         (dwarf2out_init): Don't call ggc_add_root.
20023 2003-01-09  Vladimir Makarov  <vmakarov@redhat.com>
20025         The following changes are merged from itanium-sched-branch:
20027         2003-01-08  David Edelsohn  <edelsohn@gnu.org>
20029         * doc/md.texi: Clarify assignment of units to automata description.
20031         2003-01-08  Vladimir Makarov  <vmakarov@redhat.com>
20033         * genautomata.c (unit_decl): Remove members
20034         `the_same_automaton_unit' and
20035         `the_same_automaton_message_reported_p'.
20036         (process_unit_to_form_the_same_automaton_unit_lists,
20037         form_the_same_automaton_unit_lists_from_regexp,
20038         form_the_same_automaton_unit_lists, the_same_automaton_lists):
20039         Remove them.
20040         (annotation_message_reported_p): New global variable.
20041         (check_unit_distribution_in_reserv,
20042         check_regexp_units_distribution): New functions.
20043         (check_unit_distributions_to_automata): Rewrite it.
20045         2003-01-04  Vladimir Makarov  <vmakarov@redhat.com>
20047         * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
20048         Use continue instead of break if cycle is too big.
20050         2002-12-20  Vladimir Makarov  <vmakarov@redhat.com>
20052         * genautomata.c (check_unit_distributions_to_automata): Output at
20053         most one message for a unit.
20054         (process_unit_to_form_the_same_automaton_unit_lists): Check
20055         automaton of units instead of units themself.
20057         * doc/md.texi: Describe the constraint about assigning unit to
20058         automata.
20060         2002-12-20  Jan Hubicka  <jH@suse.cz>
20061                     Vladimir Makarov  <vmakarov@redhat.com>
20063         * genautomata.c (unit_decl): Add new members `min_occ_cycle_num'
20064         and `in_set_p'.
20065         (gen_cpu_unit): Initialize the new members.
20066         (process_regexp_cycles): Calculate minimal finish cycle too.  Set
20067         up `min_occ_cycle_num'.
20068         (evaluate_max_reserv_cycles): Change the function call.
20069         (CLEAR_BIT): New macro.
20070         (states_union, state_shift): Use the mask.
20071         (initiate_excl_sets, form_reserv_sets_list): Set up `in_set_p'.
20072         (form_reservs_matter): New function.
20073         (make_automaton): Call the function and use the mask.
20074         (estimate_one_automaton_bound): Take `min_occ_cycle_num' into
20075         account.
20077         2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
20079         * config/ia64/itanium2.md (lfetch): Change the insn reservation.
20081         2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
20083         * config/ia64/ia64.c (bundling): Try to insert 2 nops for M insn
20084         for Itanium.
20086         2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
20088         * config/ia64/ia64.c (ia64_override_options): Make itanium2 as
20089         default cpu.
20091         2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
20092                 2002-10-31  Dale Johannesen <dalej@apple.com>
20094         * haifa-sched.c (find_set_reg_weight): New function.
20095         (find_insn_reg_weight): Use the new function.
20096         (schedule_block): Do sorting ready queue always
20097         after insn issue.
20099         2002-11-27  Vladimir Makarov  <vmakarov@redhat.com>
20101         * config/ia64/ia64.c (bundling): Use MFI template instead of MLX.
20103         2002-11-19  Vladimir Makarov  <vmakarov@redhat.com>
20105         * haifa-sched.c (choice_entry): New structure.
20106         (choice_stack, cycle_issued_insns): New variables.
20107         (max_issue): Rewrite it.
20108         (choose_ready): Set up ready_try for unknown insns too.
20109         (schedule_block): Allocate and free choice_stack.  Set up
20110         and modify cycle_issued_insns.
20112         * config/ia64/ia64.c (issue_nops_and_insn): Combine insn issue
20113         with and without filling the bundle.
20114         (bundling): Combine calls of issue_nops_and_insn.
20116         2002-10-17  Vladimir Makarov  <vmakarov@redhat.com>
20118         * config/ia64/itanium1.md: New file.
20120         * config/ia64/itanium2.md: New file.
20122         * config/ia64/ia64.md: Move DFA descriptions into the new files.
20123         Remove the old pipeline description.
20125         * config/ia64/ia64.c (ia64_override_options): Add aliases of
20126         itanium processor names.
20128         2002-10-16  Vladimir Makarov  <vmakarov@redhat.com>
20130         * config/ia64/ia64.c (bundling): Print states for Itanium2 too.
20131         (ia64_reorg):  Set up queried unit codes for Itanium2 too.
20133         * config/ia64/ia64.md: Add descriptions for Itanium2.
20135         2002-10-08  Vladimir Makarov  <vmakarov@redhat.com>
20137         * config/ia64/ia64.h (processor_type): New enumeration.
20138         (ia64_tune, ia64_tune_string): New external declarations.
20139         (TARGET_OPTIONS): Add option `tune='.
20141         * config/ia64/ia64.c (ia64_tune, ia64_tune_string): New global
20142         variables.
20143         (ia64_override_options): Set up `ia64_tune'.
20144         (ia64_sched_reorder2): Set up `clocks' only for Itanium.
20145         (ia64_dfa_new_cycle): Set up `add_cycles' only for Itanium.
20146         (bundling): Add nops for MM-insns only for Itanium.
20147         (ia64_reorg): Allocate and free `clocks' and `add_cycles' only for
20148         Itanium.
20150         * config/ia64/ia64.md (cpu): New attribute.
20151         (DFA description): Enable it only for Itanium.
20153         2002-10-08  Vladimir Makarov  <vmakarov@redhat.com>
20154                     Richard Henderson  <rth@redhat.com>
20156         * config/ia64/ia64.h (MASK_TUNE_STOP_BITS): Rename it to
20157         MASK_EARLY_STOP_BITS.
20158         (TARGET_TUNE_STOP_BITS): Rename it to TARGET_EARLY_STOP_BITS.
20159         (TARGET_SWITCHES): Rename option `tune-stop-bits' to
20160         `early-stop-bits'.
20162         * config/ia64/ia64.c (ia64_dfa_new_cycle,
20163         final_emit_insn_group_barriers): Use TARGET_EARLY_STOP_BITS
20164         instead of TARGET_TUNE_STOP_BITS.
20166         * doc/invoke.texi: Rename option `-mtune-stop-bits' to
20167         `-mearly-stop-bits'.
20169         * config/ia64/ia64.c (automata_option "v"): Comment it.
20171         2002-10-07  Vladimir Makarov  <vmakarov@redhat.com>
20173         * config/ia64/ia64.h (MASK_TUNE_STOP_BITS, TARGET_TUNE_STOP_BITS):
20174         New macros.
20175         (TARGET_SWITCHES): Add entries for the new option.
20177         * config/ia64/ia64.c (dfa_stop_insn, last_scheduled_insn, rtx
20178         dfa_pre_cycle_insn, ia64_nop): Don't make them as roots for GC.
20179         (stops_p, stop_before_p, clocks_length, clocks, add_cycles): New
20180         global variables.
20181         (ia64_sched_reorder2): Set up `clocks'.
20182         (ia64_variable_issue): Set up `stops_p' and reset `stop_before_p'.
20183         (ia64_dfa_new_cycle): Set up add_cycle.  Permit sorting ready
20184         queue when TARGET_TUNE_STOP_BITS.
20185         (bundling): Insert additional nops for MM-insns.
20186         (final_emit_insn_group_barriers): Add insertion of stop bits
20187         according `stops_p'.
20188         (ia64_reorg): Initiate the new varibales.
20190         * doc/invoke.texi: Add description of option `-mtune-stop-bits'.
20192         2002-10-02  Vladimir Makarov  <vmakarov@redhat.com>
20194         * haifa-sched.c (schedule_block): Modify INSN_TICK of depended
20195         insns at the end of block insn scheduling.
20197         2002-09-30  Vladimir Makarov  <vmakarov@redhat.com>
20199         * sched-deps.c (remove_dependence, group_leader): Remove it.
20200         (add_dependence): Add dependence to group leader to.
20201         (set_sched_group_p): Add dependence to the first insn of the
20202         schedule group too.
20203         (sched_analyze_insn): Make dependence to jump as anti-dependence.
20204         Change true dependence by anti-dependence when
20205         `reg_pending_barrier'.
20207         * sched-rgn.c (init_ready_list, can_schedule_ready_p,
20208         add_branch_dependences): Ignore schedule groups.
20210         * sched-ebb.c (init_ready_list): Ditto.
20212         * (move_insn, set_priorities): Ditto.
20214         * config/ia64/ia64.c (ia64_sched_init): Check that schedule group
20215         flag is clear after reload.
20216         (adjust_cost): Change cost only for output dependencies.
20218         * config/ia64/ia64.md: Add more insns into bypass for MM-insns.
20220         2002-09-26  Vladimir Makarov  <vmakarov@redhat.com>
20222         * Makefile.in (sched-ebb.o): Add `$(TARGET_H)' to the entry.
20224         * target.h (gcc_target): Add member
20225         `dependencies_evaluation_hook'.
20227         * target-def.h (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): New
20228         macro.
20229         (TARGET_SCHED): Add initiatialization of the new member.
20231         * sched-ebb.c: Include `target.h'.
20232         (schedule_ebb): Call `dependencies_evaluation_hook'.
20234         * sched-rgn.c (schedule_region): Call
20235         `dependencies_evaluation_hook'.
20237         * config/ia64/ia64.c (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
20238         New macro.
20239         (ia64_dependencies_evaluation_hook): New function.
20241         * doc/tm.texi (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
20242         Describe the new hook.
20244         2002-09-25  Vladimir Makarov  <vmakarov@redhat.com>
20246         * target.h (gcc_target): Add members
20247         `first_cycle_multipass_dfa_lookahead_guard' and `dfa_new_cycle'.
20249         * target-def.h (TARGET_SCHED_DFA_NEW_CYCLE,
20250         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): New
20251         macros.
20252         (TARGET_SCHED): Add initiatialization of the new members.
20254         * haifa-sched.c (schedule_insn): Update last_clock_var for the 1st
20255         insn scheduling too.
20256         (choose_ready): Use `first_cycle_multipass_dfa_lookahead_guard' to
20257         initialize `ready_try'.
20258         (schedule_block): Use `dfa_new_cycle'.  Sort `ready' only unless
20259         `dfa_new_cycle' says not to do it.
20261         * config/ia64/ia64.md: Add DFA Itanium 1 description for insn
20262         bundling.
20264         * config/ia64/ia64.h (CPU_UNITS_QUERY): New macro.
20266         * config/ia64/ia64.c: Include `hashtab.h'.
20267         (ia64_first_cycle_multipass_dfa_lookahead_guard,
20268         ia64_dfa_new_cycle, final_emit_insn_group_barriers,
20269         ia64_dfa_sched_reorder, get_free_bundle_state, free_bundle_state,
20270         initiate_bundle_states, finish_bundle_states, bundle_state_hash,
20271         bundle_state_eq_p, insert_bundle_state,
20272         initiate_bundle_state_table, finish_bundle_state_table,
20273         try_issue_nops, try_issue_insn, issue_nops_and_insn, get_max_pos,
20274         get_template, get_next_important_insn, bundling): New functions.
20275         (ia64_internal_sched_reorder): Remove it.
20276         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
20277         TARGET_SCHED_DFA_NEW_CYCLE): New macros.
20278         (ia64_safe_itanium_requires_unit0): Remove it.
20279         (group_barrier_needed_p): Place group barrier right before a real
20280         insn.
20281         (bundle, ia64_packet, NR_PACKETS, type_names, packets, packets):
20282         Remove them.
20283         (bundle_name): New variable.
20284         (_0mii_, _0mmi_, _0mfi_, _0mmf_, _0bbb_, _0mbb_, _0mib_, _0mmb_,
20285         _0mfb_, _0mlx_, _1mii_, _1mmi_, _1mfi_, _1mmf_, _1bbb_, _1mbb_,
20286         _1mib_, _1mmb_, _1mfb_, _1mlx_, pos_1, pos_2, pos_3, pos_4, pos_5,
20287         pos_6, dfa_stop_insn, last_scheduled_insn, dfa_state_size,
20288         temp_dfa_state, prev_cycle_state): New global variables.
20289         (insn_matches_slot, maybe_rotate, finish_last_head,
20290         rotate_one_bundle, rotate_one_bundles, nop_cycles_until,
20291         cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
20292         find_best_packet, itanium_reorder, dump_current_packet,
20293         schedule_stop, gen_nop_type, ia64_emit_nops): Remove them.
20294         (sched_data, sched_ready, sched_types): Remove them.
20295         (ia64_sched_init): Initiate only `last_scheduled_insn' and call
20296         `init_insn_group_barriers'.
20297         (ia64_sched_reorder, ia64_sched_reorder2): Call
20298         ia64_dfa_sched_reorder.
20299         (ia64_variable_issue): Rewrite it.
20300         (bundle_state): New structure.
20301         (index_to_bundle_states, bundle_states_num,
20302         allocated_bundle_states_chain, free_bundle_state_chain): New
20303         global variables.
20304         (ia64_sched_finish): Add stop bits and call `bundling' after the
20305         2nd insn scheduling.
20306         (ia64_use_dfa_pipeline_interface): Return zero always.
20307         (ia64_first_cycle_multipass_dfa_lookahead): Return 6 for the 2nd
20308         insn scheduling.
20309         (ia64_init_dfa_pre_cycle_insn): Initialize `dfa_state_size',
20310         `temp_dfa_state', `prev_cycle_state', and `dfa_stop_insn'.
20311         (ia64_reorg): Add bundling insns.
20313         * doc/tm.texi
20314         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
20315         TARGET_SCHED_DFA_NEW_CYCLE): Describe the new hooks.
20317         2002-09-23  Vladimir Makarov  <vmakarov@redhat.com>
20319         * config/ia64/ia64.md: Add Itanium1 DFA description.
20320         (itanium_class): Add `nop' and `pre_cycle'.  Add
20321         define_function_unit for `nop'.
20322         (nop): Change attribute `itanium_class'.
20323         (pre_cycle): New define_insn.
20325         * config/ia64/ia64-protos.h (bundling_p): New external variable.
20326         (ia64_st_address_bypass_p, ia64_ld_address_bypass_p,
20327         ia64_produce_address_p): New function prototypes.
20329         * config/ia64/ia64.c (bundling_p): New global variable.
20330         (ia64_use_dfa_pipeline_interface,
20331         ia64_first_cycle_multipass_dfa_lookahead,
20332         ia64_init_dfa_pre_cycle_insn, ia64_dfa_pre_cycle_insn): New
20333         functions.
20334         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
20335         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
20336         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
20337         TARGET_SCHED_DFA_PRE_CYCLE_INSN): New macros.
20338         (ia64_sched_init, ia64_sched_reorder, ia64_sched_reorder2,
20339         ia64_variable_issue, ia64_sched_finish): Do nothing before reload.
20340         (dfa_pre_cycle_insn): New variable.
20342         2002-09-20  Vladimir Makarov  <vmakarov@redhat.com>
20344         * rtl.def (FINAL_PRESENCE_SET, FINAL_ABSENCE_SET): New
20345         constructions.
20347         * genattrtab.h (gen_final_presence_set, gen_final_absence_set):
20348         New function prototypes.
20350         * genattrtab.c (main): Process the new constructions.
20352         * genautomata.c (gen_presence_absence_set,
20353         process_presence_absence_names, process_presence_absence_patterns,
20354         add_presence_absence, check_absence_pattern_sets): Add parameter
20355         `final_p'.
20356         (unit_decl): Add new members `final_presence_list' and
20357         `final_absence_list'.
20358         (unit_pattern_rel_decl): Add new member `final_p'.
20359         (gen_final_presence_set, gen_final_absence_set): New functions.
20360         (process_decls): Use member `final_p'.
20361         (temp_reserv): New global variable.
20362         (reserv_sets_are_intersected): Add processing `final_presence_set'
20363         and `final_absence_set'.
20364         (initiate_states): Allocate `temp_reserv'.
20365         (unit_final_presence_set_table, unit_final_absence_set_table): New
20366         gloabal variables.
20367         (initiate_presence_absence_pattern_sets): Initiate them.
20368         (NDFA_to_DFA): Fix typo.
20369         (output_description): Output `final_presence_set' and
20370         `final_absence_set'.
20372         * doc/md.texi (final_presence_set, final_absence_set): Describe
20373         them.
20375         2002-09-20  Vladimir Makarov  <vmakarov@redhat.com>
20377         * genautomata.c (transform_3): Process a missing case (nothing on
20378         unit place).
20380         2002-09-20  Vladimir Makarov  <vmakarov@redhat.com>
20382         * rtl.def (DEFINE_QUERY_CPU_UNIT, AUTOMATA_OPTION): Change
20383         comments about queried units and the minimization.
20385         * doc/md.texi: Ditto.
20387         * genautomata.c (create_composed_state): Return nonzero if the new
20388         state has been created.
20389         (first_cycle_unit_presence): New function.
20390         (state_is_differed): Add new parameter.  Use the new function.
20391         Take queried units into account.
20392         (partition_equiv_class): Pass additional parameter to
20393         `state_is_differed'.
20394         (merge_states): Process composed states too.
20395         (build_automaton, create_automata, output_min_issue_delay_table,
20396         output_tables, output_statistics): Output more information.
20397         (output_reserved_units_table): Use function
20398         `first_cycle_unit_presence'.
20399         (output_tables): Output table of queried units even if the
20400         minimization is switched on.
20401         (write_automata): Output code for querying units even if the
20402         minimization is switched on.
20404         2002-09-19  Vladimir Makarov  <vmakarov@redhat.com>
20406         * rtl.def (PRESENCE_SET, ABSENCE_SET): Add comments about extended
20407         syntax of the constructions.
20409         * doc/md.texi (PRESENCE_SET, ABSENCE_SET): Add description of
20410         extended syntax of the constructions.
20412         * genautomata.c (unit_rel_decl): Rename it to
20413         `unit_pattern_rel_decl'.
20414         (pattern_set_el, pattern_reserv): New structures.
20415         (pattern_set_el_t, pattern_reserv_t): New types.
20416         (gen_presence_absence_set): New function.
20417         (process_presence_absence): Remove it.
20418         (process_presence_absence_names,
20419         process_presence_absence_patterns): New functions.
20420         (get_presence_absence_set): Remove it.
20421         (initiate_presence_absence_sets): Rename it on
20422         `initiate_presence_absence_pattern_sets'.  Use new function
20423         `form_reserv_sets_list'.
20424         (form_reserv_sets_list, check_presence_pattern_sets,
20425         check_absence_pattern_sets, output_pattern_set_el_list): New
20426         functions.
20427         (unit_decl): Change types of members `presence_list' and
20428         `absence_list'.
20429         (unit_rel_decl): Rename member `names_num' to `all_names_num'.
20430         (decl): Change types of members `excl', `presence', and `absence'.
20431         (get_str_vect): Rename `par_flag' to `paren_p'.  Add null element
20432         at the end of the vector.
20433         (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
20434         gen_automaton, gen_regexp_repeat, gen_regexp_allof,
20435         gen_regexp_oneof, gen_regexp_sequence): Use boolean values.
20436         (gen_presence_set, gen_absence_set): Use new function
20437         `gen_presence_absence_set'.
20438         (add_presence_absence): Process `pattern_list' instead of
20439         `source_list'.
20440         (process_decls): USe new functions
20441         `process_presence_absence_names' and
20442         `process_presence_absence_patterns'.
20443         (reserv_sets_are_intersected): Use new function
20444         `check_presence_pattern_sets'.
20445         (presence_set, absence_set): Remove them.
20446         (unit_presence_set_table, unit_absence_set_table): New global
20447         variables.
20448         (output_description): Use new function
20449         `output_pattern_set_el_list'.
20450         (generate): Use `initiate_presence_absence_pattern_sets'.
20452         2002-09-18  Vladimir Makarov  <vmakarov@redhat.com>
20454         * genattr.c (main): Add output of prototype of new interface
20455         function `dfa_clean_insn_cache'.
20457         * genautomata.c (output_dfa_clean_insn_cache_func): New function.
20458         (DFA_CLEAN_INSN_CACHE_FUNC_NAME): New macro.
20459         (output_dfa_start_func): Use function `dfa_clean_insn_cache' in
20460         the generated code.
20461         (write_automata): Call the new function.
20463 2003-01-09  Jan Hubicka  <jh@suse.cz>
20465         * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt
20466         correctly.
20468 2003-01-09  Paolo Carlini  <pcarlini@unitus.it>
20470         * doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
20472 2003-01-09  J"orn Rennecke <joern.rennecke@superh.com>
20474         * defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
20475         (EXTRA_ADDRESS_CONSTRAINT): Likewise.
20476         (CONSTRAINT_LEN): Provide default definition.
20477         (CONST_OK_FOR_CONSTRAINT_P): Likewise.
20478         (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
20479         (EXTRA_CONSTRAINT_STR): Likewise.
20480         (REG_CLASS_FROM_CONSTRAINT): Define.
20481         * genoutput.c (check_constraint_len, constraint_len): New functions.
20482         (validate_insn_alternatives): Check CONSTRAINT_LEN for each
20483         constraint / modifier.
20484         (gen_insn): Call check_constraint_len.
20485         * local-alloc.c (block_alloc): Update to use new macros / pass
20486         second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
20487         * ra-build.c (handle_asm_insn): Likewise.
20488         * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
20489         (constrain_operands, peep2_find_free_register): Likewise.
20490         * regclass.c (record_operand_costs, record_reg_classes): Likewise.
20491         * regmove.c (find_matches): Likewise.
20492         * reload.c (push_secondary_reload, find_reloads): Likewise.
20493         (alternative_allows_memconst): Likewise.
20494         * reload1.c (maybe_fix_stack_asms): Likewise.
20495         (reload_cse_simplify_operands): Likewise.
20496         * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
20497         * doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
20498         (CONST_OK_FOR_CONSTRAINT_P): Likewise.
20499         (CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
20500         (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
20501         * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.
20503         * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
20505 2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
20507         * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
20508         length.
20509         (*extzv_1_r_h8300hs): Likewise.
20510         (*extzv_1_r_inv_h8300): Likewise.
20511         (*extzv_1_r_inv_h8300hs): Likewise.
20513 2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
20515         * config/h8300/h8300.h (PREDICATE_CODES): New.
20517 2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
20519         * config/h8300/h8300.md (*addsi3_upper): New.
20520         (*iorsi3_shift): Likewise.
20521         (two splitters): Likewise.
20522         (*addsi3_shift): Likewise.
20523         (two splitters): Likewise.
20525 2003-01-09  Josef Zlomek  <zlomj9am@artax.karlin.mff.cuni.cz>
20527         * Makefile.in (optabs.o): Add dependency on basic-block.h.
20528         * basic-block.h (control_flow_insn_p): Fuction was exported.
20529         * cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
20530         * optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
20531         notes only when the region is contained in a single basic block.
20533 2003-01-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
20535         PR inline-asm/8832
20536         * tree.h (expand_asm): New prototype.
20537         * stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
20538         to do so.
20539         * c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
20540         down to expand_asm.
20541         * c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
20542         * rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
20543         (volatile_refs_p) [ASM_INPUT]: Likewise.
20544         (side_effects_p) [ASM_INPUT]: Likewise.
20546 2003-01-09  Jan Hubicka  <jh@suse.cz>
20548         * i386.md (*mul*): FIx constraints; remove confused comment; fix
20549         athlon_decode attributes
20550         (imul/k8 optimization peep2s): New.
20552         * athlon.md (athlon_ssecmp*): Handle ssecomi as well.
20553         * i386.md (type attribute): Add ssecomi.
20554         (unit, memory, prefix attributes): Handle ssecomi.
20555         (cvt?2? patterns): Fix athlon_decode attribute
20556         (comi patterns): Set attribute to ssecomi.
20558         PR target/8343
20559         * m68k.md (umulsidi, mulsidi expanders): Use register operand.
20561 2003-01-09  Richard Sandiford  <rsandifo@redhat.com>
20563         * config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates
20564         that match register_operands.
20565         * config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make
20566         register_operand the default case.
20568 2003-01-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
20570         PR c/8032
20571         * c-typeck.c (process_init_element) [RECORD_TYPE]: For
20572         an empty element, do not advance the pointer to unfilled
20573         fields if there are pending initializers.
20575 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
20577         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
20578         (install-gcc-tooldir, install-cpp, installdirs,
20579         install-common, install-driver, install-info, install-man,
20580         install-headers, install-include-dir, install-headers-tar,
20581         install-headers-cpio, install-headers-cp, install-mkheaders,
20582         install-collect2, uninstall): Prepend $(DESTDIR) to
20583         destination paths in all (un)installation commands.
20584         (install-driver): Rewrite $(LN) commands to support DESTDIR
20585         with "ln" as well as with "ln -s".
20586         (installdirs): Simply use mkinstalldirs.
20587         (install-libgcc, install-multilib): Also pass DESTDIR.
20588         * mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
20589         installation destination variable ldir.
20590         * config/alpha/t-osf4, config/arm/t-netbsd,
20591         config/ia64/t-hpux, config/mips/t-iris5-6,
20592         config/pa/t-hpux-shlib, config/rs6000/t-aix43,
20593         config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
20594         config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
20595         in the definition of SHLIB_INSTALL.
20596         * config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
20597         $(libsubdir) in the installation commands.
20599 2003-01-08  Kaz Kojima  <kkojima@gcc.gnu.org>
20601         * config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
20602         non-optimizing compile.
20603         (ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
20604         compile.
20606 2003-01-08  Douglas B Rupp  <rupp@gnat.com>
20608         * config/i386/i386.c (ix86_attribute_table): Add new attributes
20609         ms_struct and gcc_struct.
20610         (ix86_handle_struct_attribute): New function.
20611         (ix86_ms_bitfield_layout_p): Update to take new attributes
20612         into account.
20613         * doc/extend.texi: Document new attributes.
20614         * testsuite/gcc.dg/bf-ms-attrib.c: New test.
20616 2003-01-08  Danny Smith  <dannysmith@users.sourceforge.net>
20618         PR optimization/8750
20619         * config/i386/i386.c (ix86_expand_prologue): Don't allow
20620         scheduling pass to move insns across __alloca call.
20622 2003-01-08  Dale Johannesen  <dalej@apple.com>
20624         * config/rs6000/rs6000.md:  Replace *store_multiple_string
20625         with *stmsi[3-8].
20627 2003-01-08  Jeff Sturm  <jsturm@one-point.com>
20629         PR target/9210
20630         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info):
20631         Set SYMBOL_REF_FLAG on local data sym_ref.
20633 2003-01-08  Dale Johannesen  <dalej@apple.com>
20635         * function.c (assign_parms):  Don't set pretend_args_size if
20636           REG_PARM_STACK_SPACE.
20637           config/rs6000/rs6000.c (setup_incoming_varargs):  Don't set
20638           pretend_args_size.
20640 2003-01-08  Nathanael Nerode  <neroden@gcc.gnu.org>
20642         * gcc.hlp: Delete.
20644 2003-01-09  Jan Hubicka  <jh@suse.cz>
20646         * i386.c  (ix86_expand_int_addcc): Fix thinko.
20648 2003-01-08  David Edelsohn  <edelsohn@gnu.org>
20650         * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
20651         * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine
20652         as hook_bool_tree_hwi_hwi_tree_true.
20653         (rs6000_emit_allocate_stack): Use TARGET_32BIT.
20654         (rs6000_emit_epilogue): Same.
20655         (rs6000_output_mi_thunk): Re-implement as RTL.
20656         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call
20657         xcoffout_declare_function if any debugging enabled.
20659 2003-01-08  Chris Demetriou  <cgd@broadcom.com>
20661         * config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
20662         targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
20663         * config/mips/mips.h (enum processor_type): Rename
20664         PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
20665         PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
20666         Add PROCESSOR_M4K.
20667         (TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
20668         (ISA_MIPS32R2): New define.
20669         (GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
20670         (ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
20671         (ISA_HAS_PREFETCH): Add support for MIPS32R2.
20672         (MIPS_ISA_DEFAULT): Likewise.  Also, fix indentation.
20673         (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2.  Add new
20674         predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
20675         (ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
20676         compiling MIPS16 code.
20677         (ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
20678         comment.
20679         (ISA_HAS_SEB_SEH): New define.
20680         (ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
20681         * config/mips/mips.c (mips_cpu_info_table): Adjust for enum
20682         processor_type value renaming.  Add support for MIPS32R2.
20683         Clean up comments, and move "sb1" entry with other MIPS64 CPU
20684         entries.
20685         (override_options): Reimplement -mipsN option handling so that
20686         it will work correctly for -mips32r2.  Avoid branch-likely
20687         instructions on MIPS32R2.
20688         * config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
20689         (extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
20690         (extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
20691         (extendhisi2_hw, extendqisi2_hw): New.
20692         * config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
20693         for MIPS32R2.  Add new predefine __mips_isa_rev for MIPS32,
20694         MIPS32R2, and MIPS64.
20695         (LINK_SPEC): Pass -mips32r2 to linker.
20696         * config/mips/t-isa3264: Built -mips32r2 multilibs.
20697         * doc/invoke.texi (MIPS Options): Add -mips32r2, add support
20698         for mips32r2 in the -march description.  Alphabetically sort
20699         CPU names in the -march description.  Add long-missed -mips32
20700         and -mips64 to MIPS option summary.
20702         * config.gcc: Update copyright years to include 2003.
20703         * config/mips/mips.c: Likewise.
20704         * config/mips/mips.h: Likewise.
20705         * config/mips/mips.md: Likewise.
20706         * config/mips/netbsd.h: Likewise.
20707         * doc/invoke.texi: Likewise.
20709 2003-01-08  Andreas Schwab  <schwab@suse.de>
20711         * aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
20712         variable.
20713         * configure: Regenerated.
20715 2003-01-08  Kazu Hirata  <kazu@cs.umass.edu>
20717         * config/h8300/h8300.c (output_logical_op): Replace byte/word
20718         extraction of det with b0, b1, w0, w2, etc.
20719         (compute_logical_op_length): Likewise.
20720         (compute_logical_op_cc): Likewise.
20722 2003-01-08  Kazu Hirata  <kazu@cs.umass.edu>
20724         * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
20725         HIGH on all variants.
20727 2003-01-08  Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
20729         * Makefile.in (PARTITION_H): New.
20730         (BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H).
20731         * basic-block.h: Include hard-reg-set.h.
20733 2003-01-08  Richard Earnshaw  <rearnsha@arm.com>
20735         * arm.h (ENABLE_XF_PATTERNS): Delete.
20736         * arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2)
20737         (sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2)
20738         (extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn)
20739         (cmpxf_trap): Delete.
20740         (movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS.
20742 2003-01-08  Jan Hubicka  <jh@suse.cz>
20744         * i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern.
20745         (addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns.
20746         (add??cc): New expanders.
20747         * i386.c (expand_int_addcc): New function.
20748         * i386-protos.h (expand_int_addcc): Declare.
20750         * alias.c (memory_modified_1): New static function.
20751         (memory_modified): New static varaible.
20752         (memory_modified_in_insn_p): New global function.
20753         * rtl.h (memory_modified_in_insn_p): Declare.
20754         * rtlanal.c (modified_between_p, modified_in_p): Be smart about memory
20755         references.
20757         * expr.h (emit_conditional_add): Declare.
20759 2003-01-07  Janis Johnson  <janis187@us.ibm.com>
20761         PR other/8947
20762         * doc/invoke.texi (-malign-double): Explain that the option breaks
20763         binary compatibility.
20765 2003-01-08  Andreas Schwab  <schwab@suse.de>
20767         * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld,
20768         should come from the generic *-*-linux* entry.
20770 2003-01-07  Jan Hubicka  <jh@suse.cz>
20772         * cselib.c (cselib_current_insn_in_libcall): New static variable.
20773         (new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether
20774         we are inside libcall.
20775         * cselib.h (elt_loc_list): Add in_libcall.
20776         * gcse.c (do_local_cprop): Do not copy propagate using insns
20777         in libcalls.
20779 2003-01-07  David Edelsohn  <edelsohn@gnu.org>
20781         * doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do
20782         not normally affect to issue rate.
20784 2003-01-07  Jan Hubicka  <jh@suse.cz>
20786         * genopinit.c (optabs): Add addc_optab.
20787         * ifcvt.c (noce_try_store_flag): Rename to ...
20788         (noce_try_addcc): ... this one; handle generic conditional increment.
20789         (noce_process_if_block): Update noce_try_addcc call.
20790         * optabs.c (emit_conditional_add): New.
20791         (init_obtabs): Initialize addc_optab.
20792         * optabs.h (optab_index): Add OTI_addcc.
20793         (addcc_optab): New macro.
20794         * md.texi: Document addMcc
20796         PR target/8322
20797         * i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads.
20798         * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
20799         * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
20801         * reload1.c (delete_output_reload): Avoid repeated attempts
20802         to delete insn.
20804 2003-01-07  Andreas Schwab  <schwab@suse.de>
20806         * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
20807         Move --enable-initfini-array check ...
20808         * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here.  Define
20809         HAVE_INITFINI_ARRAY also when --enable-initfini-array is given.
20810         Don't AC_SUBST gcc_cv_initfinit_array.  Use AC_TRY_RUN.
20811         * configure: Rebuild.
20813 2003-01-07  Richard Henderson  <rth@redhat.com>
20815         * alias.c (find_base_value): Only use new_reg_base_value shortcut
20816         if the register is set once.
20818 2003-01-07  Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
20820         * config/i386/i386.c (ix86_init_mmx_sse_builtins):
20821         __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
20822         * config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX.
20824 2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
20825             Sunil Davasam  <sunil.k.davasam@intel.com>
20827         PR libstdc++/9076
20828         * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
20829         DW_CFA_same_value, read next and ignore.
20831 2003-01-07  Richard Henderson  <rth@redhat.com>
20833         * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
20835 2003-01-07  Daniel Berlin  <dberlin@dberlin.org>
20837         * cfg.c: Include alloc-pool.h
20838         (edge_pool): New pool.
20839         (bb_pool): New pool.
20840         (first_deleted_edge): Remove.
20841         (first_deleted_block): Remove.
20842         (init_flow): Alloc/free the pools.
20843         (free_edge): Use pools.
20844         (alloc_block): Ditto.
20845         (expunge_block): Ditto.
20846         (cached_make_edge): Ditto.
20848         * Makefile.in (cfg.o): Add alloc-pool.h dependency.
20850 2003-01-07  Daniel Berlin  <dberlin@dberlin.org>
20852         * et-forest.c: Include alloc-pool.h.
20853         (struct et_forest): Add node_pool and occur_pool.
20854         (et_forest_create): Create the new pools.
20855         (et_forest_delete): Delete them.
20856         (et_forest_add_node): Allocate and free using pools.
20857         (et_forest_add_edge): Ditto.
20858         (et_forest_remove_node): Ditto.
20859         (et_forest_remove_edge): Ditto.
20861         * Makefile.in (et-forest.o): Add alloc-pool.h dependency.
20863 2003-01-07  Kazu Hirata  <kazu@cs.umass.edu>
20865         * config/h8300/h8300.c (output_logical_op): Simplify and
20866         optimize the handling of SImode.
20867         * config/h8300/h8300.c (compute_logical_op_length): Update
20868         accordingly.
20869         * config/h8300/h8300.c (compute_logical_op_cc): Likewise.
20871 2003-01-07  Richard Sandiford  <rsandifo@redhat.com>
20873         * config/mips/mips.c (mips_va_arg): In the EABI code, apply the
20874         big-endian correction to indirect arguments too.
20876 2003-01-06  Aldy Hernandez  <aldyh@redhat.com>
20878         Segher Boessenkool  <segher@koffie.nl>
20880         * config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers.
20881         (alt_reg_names): Ditto, fix formatting.
20882         * config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting.
20884 2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
20886         * config/h8300/h8300.c (final_prescan_insn): Constify uid.
20887         (output_logical_op): Constify intval and det.
20888         (compute_logical_length): Likewise.
20889         (compute_logical_cc): Likewise.
20890         (output_a_shift): Constify mask.
20891         (h8300_encode_label): Constify len.
20893 2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
20895         * config/h8300/h8300.c (h8300_expand_prologue): Remove fsize.
20896         (h8300_expand_epilogue): Likewise.
20898 2003-01-06  Aldy Hernandez  <aldyh@redhat.com>
20900         Segher Boessenkool  <segher@koffie.nl>
20902         * config/rs6000/altivec.md: Remove spaces from assembler
20903         instruction argument lists.
20905 2003-01-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20907         * config/c4x/c4x.c (c4x_naked_function_p): Rename from
20908         c4x_assembler_function_p.
20909         (c4x_null_epilogue_p): Complement return value, all uses updated.
20910         (c4x_insert_attributes): Add naked.
20911         * config/c4x/c4x.md (c4x_null_epilogue_p): Changes uses.
20912         * doc/extend.texi: Update C4x function attributes.
20914 2003-01-06  Richard Henderson  <rth@redhat.com>
20916         * config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str
20917         properly when changing "local-ness".
20918         * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
20920 2003-01-06  Dale Johannesen  <dalej@apple.com>
20922         * config/darwin-protos.h:  Add prototypes for new section functions.
20924 2003-01-06  Chris Demetriou  <cgd@broadcom.com>
20926         * config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI
20927         to EABI.
20929 2003-01-06  Zack Weinberg  <zack@codesourcery.com>
20931         * hwint.h: If the current compiler has no 64-bit type at all,
20932         make HOST_WIDEST_INT 32 bits.
20934 2003-01-06  Eric Christopher  <echristo@redhat.com>
20936         * config/mips/mips.md (movdf_internal2): Fix constraints.
20938 2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
20940         * config/h8300/h8300.md (*twoshifts_l16_r1): New.
20942 2003-01-06  Richard Sandiford  <rsandifo@redhat.com>
20944         * config/mips/mips.md (leadi): Use dla rather than la.
20946 2003-01-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
20948         * config/c4x/c4x.h: Updated specs for new gas format.  Fixed bug
20949         in C33_FLAG.  Added proper C33 support in ASM_FILE_START macro.
20951 2003-01-06 Herman A.J. ten Brugge  <hermantenbrugge@home.nl>
20953         * config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
20954         redefinition.
20956 2003-01-05  Kazu Hirata  <kazu@cs.umass.edu>
20958         * config/h8300/h8300.md (*extzv_8_23): New.
20960 2003-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20962         * pa64-hpux.h (JCR_SECTION_NAME): Define.
20963         (PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of
20964         USE_EH_FRAME_REGISTRY when defining.
20966 2003-01-05  Kazu Hirata  <kazu@cs.umass.edu>
20968         * config/h8300/h8300.c (output_a_shift): Do not output a
20969         variable shift.
20970         * config/h8300/h8300.md (two splitters): New.
20972 2003-01-05  Richard Sandiford  <rsandifo@redhat.com>
20974         * config/mips/mips.md: Disable the movstrsi define_split.
20976 2003-01-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20978         * alloc-pool.c: Don't include "libiberty.h".
20979         * config/sparc/gmon-sol2.c: Include <fcntl.h>.
20980         * convert.c (convert_to_real): Hide unused variable.
20982 2003-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20984         * Makefile.in (gtyp-gen.h): Const-ify.
20985         * gcov-dump.c (tag_table): Likewise.
20987 2003-01-04  Bruce Korb  <bkorb@gnu.org>
20989         * fixinc/fixfixes.c(wrap_fix): the wrapper guard must be a function
20990         of *both* the file name and the fix name.
20992 2003-01-04  John David Anglin  <dave.anglin@nrc.ca>
20994         * config.gcc (hppa*64*-*-hpux11*): Define extra_parts.  Don't use
20995         collect2.
20996         * pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
20997         (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.
20998         * pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP,
20999         GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP,
21000         GNU_FINI_ARRAY_SECTION_ASM_OP): Define.
21001         (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using
21002         elfos.h.
21003         (EH_FRAME_IN_DATA_SECTION): Delete define.
21004         (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine.
21005         (STARTFILE_SPEC): Use crtbegin.o.
21006         (ENDFILE_SPEC): Use crtend.o.
21007         (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION,
21008         SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK,
21009         PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB,
21010         DTOR_LIST_BEGIN): Define.
21011         * pa.c (TARGET_ASM_CONSTRUCTOR): Define.
21012         (pa_asm_out_constructor, pa_asm_out_destructor): New functions.
21013         * som.h (SUPPORTS_INIT_PRIORITY): Delete define.
21015 2002-12-31  Larin Hennessy  <larin@science.oregonstate.edu>
21017         * fixinc/fixinc.svr4: Remove references to i860, Sony NewsOS, and spur.
21018         * fixinc/inclhack.def: Remove tests for Apple A/UX, ARM/RISCiX, DG/UX,
21019         m88k-*-sysv3*, Sony NewsOS.   Remove references to i860.
21020         Cleanup handling of replacement text.
21021         * fixinc/mkfixinc.sh: Remove reference to i?86-*-osf1*
21023 2003-01-04  Bruce Korb  <bkorb@gnu.org>
21025         * fixinc/tests/base/math.h: removed obsolete results
21026         * fixinc/tests/base/stdlib.h: ditto
21027         * fixinc/tests/base/sys/param.h: ditto
21028         * fixinc/tests/base/sys/stat.h: ditto
21029         * fixinc/tests/base/time.h: ditto
21030         * fixinc/tests/base/X11/Intrinsic.h: removed obsolete file
21031         * fixinc/tests/base/sys/byteorder.h: ditto
21032         * fixinc/inclhack.def: Remove superfluous backslashes
21034 2003-01-04  Kazu Hirata  <kazu@cs.umass.edu>
21036         * config/h8300/h8300-protos.h: Add prototypes for
21037         the new functions defined below.
21038         * config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not
21039         define.
21040         (dosize): Emit RTL instead of assembly code.
21041         (push): Likewise.
21042         (pop): Likewise.
21043         (h8300_output_function_prologue): Remove.
21044         (h8300_expand_prologue): New.
21045         (h8300_expand_epilogue): New.
21046         (h8300_output_function_epilogue): Do only the reset of
21047         pragma_saveall.
21048         * config/h8300/h8300.md (push_h8300): New.
21049         (push_h8300hs): Likewise.
21050         (pop_h8300): Likewise.
21051         (pop_h8300hs): Likewise.
21052         (*stm_h8300s_2): Change the name to stm_h8300s_2.
21053         (*stm_h8300s_3): Change the name to stm_h8300s_3.
21054         (*stm_h8300s_4): Change the name to stm_h8300s_4.
21055         (*ldm_h8300s_2): New.
21056         (*ldm_h8300s_3): Likewise.
21057         (*ldm_h8300s_4): Likewise.
21058         (return): Likewise.
21059         (*return_1): Likewise.
21060         (prologue): Likewise.
21061         (epilogue): Likewise.
21062         (monitor_prologue): Likewise.
21064 2003-01-03  Dale Johannesen  <dalej@apple.com>
21066         * config/darwin.h:  (EXTRA_SECTIONS):  Add machopic_symbol_stub1,
21067           machopic_picsymbol_stub1.
21068           (EXTRA_SECTION_FUNCTIONS):  Ditto.
21069         * rs6000/rs6000.c:  Update copyright.
21070           (machopic_output_stub):  Use them.  Remove an insn from stub code.
21072 2003-01-02  Jason Merrill  <jason@redhat.com>
21074         * fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better.
21076         * integrate.c (copy_decl_for_inlining): Don't clear the rtl for
21077         static/external decls.
21079         * c-common.c (finish_fname_decls): Put the DECL_STMTs inside the
21080         outermost scope.
21081         * c-decl.c (c_make_fname_decl): Push the decls there, too.
21083 2003-01-03  Kazu Hirata  <kazu@cs.umass.edu>
21085         * config/h8300/h8300-protos.h: Add a prototype for
21086         h8300_current_function_interrupt_function_p.
21087         * config/h8300/h8300.c (interrupt_handler): Remove.
21088         (os_task): Likewise.
21089         (monitor): Likewise.
21090         (pragma_interrupt): New.
21091         (WORD_REG_USED): Use
21092         h8300_current_function_interrupt_function_p.
21093         (dosize): Likewise.
21094         (h8300_output_function_prologue): Likewise.
21095         Do not set interrupt_handler, os_task, monitor.
21096         (h8300_output_function_prologue): Use
21097         h8300_current_function_interrupt_function_p.
21098         Do not set interrupt_handler, os_task, monitor.
21099         (h8300_current_function_interrupt_function_p): New.
21100         (h8300_pr_interrupt): Set pragma_interrupt.
21101         (h8300_insert_attributes): Reset pragma_interrupt.
21103 2003-01-03  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
21105         * doc/install.texi (Configuration): Fix markup for reference to
21106         gcc/config.gcc.
21108 2003-01-02  Kazu Hirata  <kazu@cs.umass.edu>
21110         * config/h8300/h8300.md (*iorhi3_zext): Relax the condition.
21111         (*iorhi3_two_qi): Likewise.
21112         (*iorsi3_zexthi): Likewise.
21113         (*xorhi3_zextqi): Likewise.
21114         (*xorsi3_zexthi): Likewise.
21115         (*xorsi3_zextqi): Likewise.
21117 2003-01-02  Kazu Hirata  <kazu@cs.umass.edu>
21119         * config/h8300/h8300.c (stack_pointer_operand): New.
21120         (const_int_gt_2_operand): Likewise.
21121         (const_int_ge_8_operand): Likewise.
21122         * config/h8300/h8300.md (a splitter): Likewise.
21123         (a peephole2): Likewise.
21124         * config/h8300/h8300-protos.h: Add prototypes for the new
21125         functions above.
21127 2003-01-02  Steven Bosscher <s.bosscher@student.tudelft.nl>
21129         * objc/Make-lang.in, objc/config-lang.in, objc/lang-specs.h,
21130         objc/objc-act.h: Fix copyright years.
21132 2003-01-02  Steven Bosscher  <s.bosscher@student.tudelft.nl>
21134         * doc/passes.texi: Fix documentation for -fssa-ccp
21136 2003-01-02  Neil Booth  <neil@daikokuya.co.uk>
21138         * gccbug.in: Update for new categories.
21140 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
21142         * config/h8300/h8300.md: Reorder some patterns.
21144 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
21146         * config/h8300/h8300.c (output_logical_op): Fix a warning.
21148 2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
21150         * config/darwin-protos.h, config/c4x/c4x-protos.h,
21151         config/cris/cris-protos.h, config/i370/i370-protos.h,
21152         config/i960/i960-protos.h, config/ia64/ia64-protos.h,
21153         config/v850/v850-protos.h: Use struct, and don't conditionally
21154         compile on GCC_C_PRAGMA_H.
21156 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
21158         * config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
21159         * config/h8300/h8300-protos.h: Likewise.
21160         * config/sh/sh-protos.h: Likewise.
21162 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
21164         * config/arm/arm-protos.h: Use struct cpp_reader instead of
21165         cpp_reader.
21166         * config/h8300/h8300-protos.h: Likewise.
21167         * config/sh/sh-protos.h: Likewise.
21169 2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
21171         * config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls,
21172         arm_pr_long_calls_off): Use struct.
21173         * config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall)
21174         : Similarly.
21175         Don't include cpplib.h.
21176         * config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa,
21177         sh_pr_nosave_low_regs): Similarly.
21179 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
21181         * config/h8300/h8300.c: Include cpplib.h.
21183 2003-01-01  Steven Bosscher  <s.bosscher@student.tudelft.nl>
21185         * objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h,
21186           objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h,
21187           objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with
21188           "GCC" in the copyright header.
21190 2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
21192         * c-pragma.c (c_register_pragma): New.
21193         (init_pragma): Use it.
21194         * c-pragma.h (cpp_register_pragma): Don't declare.
21195         (c_register_pragma): New.
21196         * cpplib.h: Remove #ifdef GCC_C_PRAGMA_H.
21197         * config/darwin.h (REGISTER_TARGET_PRAGMAS): Update.
21198         * config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update.
21199         * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
21200         * config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update.
21201         * config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update.
21202         * config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update.
21203         * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update.
21204         * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update.
21205         * config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update.
21206         * config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update.
21207         * doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update
21209 See ChangeLog.8 for earlier changes.