OSDN Git Service

Fix it again.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
2
3         * Makefile.in: Replace PWD with PWD_COMMAND.
4
5 2003-07-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
6
7         * cfgloopanal.c (count_strange_loop_iterations): New static function.
8         (constant_iterations, count_loop_iterations, simple_loop_exit_p):
9         Handle strange loops.
10
11 2003-07-04  Toon Moene  <toon@moene.indiv.nluug.nl>
12
13         * install.texi: Even the g77 manpage is derived from
14         the full g77 manual.
15
16 2003-07-04  Zack Weinberg  <zack@codesourcery.com>
17
18         * ABOUT-NLS: Delete.
19         * intl: Delete entire directory.
20         * aclocal.m4: Include ../config/gettext.m4.  Delete
21         AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
22         AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
23         * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
24         Remove intl/Makefile from all_outputs.
25         * configure, config.in: Regenerate.
26         * Makefile.in: Expunge all references to intl subdirectory.
27         Add -I../intl to INCLUDES.
28         * intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
29
30 2003-07-04  Roger Sayle  <roger@eyesopen.com>
31
32         * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
33         * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
34
35 2003-07-04  Danny Smith  <dannysmith@users.sourceforge.net>
36
37         PR c++/5287, PR c++/7910, PR c++/11021
38         * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
39         dllimport attribute if function is defined at declaration, but
40         report error instead. Likewise for dllimport'd variable
41         definitions.  Set implicit TREE_PUBLIC for dllimport'd variables
42         declared within functions, Report error if dllimport or dllexport
43         symbol is not global.
44         (i386_pe_dllimport_p): Ignore dllimport attribute of functions
45         if defined after declaration or if inlined. Don't allow definition
46         of static data members of C++ classes. Don't dllimport virtual
47         methods.
48         (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
49         (i386_pe_mark_dllimport): Remove unnecessary checks.
50         (i386_pe_encode_section_info): Warn if the dllimport attribute
51         and symbol prefix have been instantiated and then overridden.
52
53         * doc/extend.texi: Document dllimport and dllexport attributes.
54
55         * config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
56
57 2003-07-03 Uwe Stieber <uwe@kaos-group.de>
58
59         * config/kaos.h (CPP_PREDEFINES): Delete.
60         (TARGET_OS_CPP_BUILTINS): New.
61
62 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
63
64         * c-aux-info.c: Include toplev.h after c-tree.h.
65         * c-common.c: Likewise.
66         (GCC_DIAG_STYLE): Undef.
67         * c-semantics.c (GCC_DIAG_STYLE): Define.
68         * c-tree.h (GCC_DIAG_STYLE): Likewise.
69         * diagnostic.h (inform): Move prototype to toplev.h.
70         * jump.c: Include diagnostic.h before toplev.h.
71         * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
72         (warning, error, fatal_error, pedwarn, sorry, inform,
73         error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
74
75 2003-07-03  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
76
77         * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
78         at all if edge is not specified.
79         (can_copy_bbs_p, copy_bbs): New.
80         * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
81         * cfgloop.c (get_loop_body): Comment more precisely.
82         * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
83         (scale_bbs_frequencies): Fix comment typo.
84         (can_duplicate_loop_p): Use can_copy_bbs_p.
85         (duplicate_loop_to_header_edge): Simplify by using copy_bbs.
86
87 2003-07-03  Devang Patel <dpatel@apple.com>
88
89         * c-opts.c (c_common_parse_file): Remove extra
90         debug_hooks->start_source_file call.
91
92 2003-07-03  Roger Sayle  <roger@eyesopen.com>
93
94         * real.c (real_trunc, real_floor, real_ceil): New functions
95         to implement trunc, floor and ceil respectively.
96         * real.h (real_trunc, real_floor, real_ceil): Prototype here.
97         * builtins.c (integer_valued_real_p): New function to test if
98         a floating point expression has an integer valued result.
99         (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
100         foo(x) where foo is an integer rounding function.  Similarly,
101         optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
102         (double)(int)x when both foo and bar are integer rounding
103         functions and we don't need to honor errno.
104         (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
105         New functions to fold trunc, floor and ceil.
106         (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
107         fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
108         to fold BUILT_IN_CEIL*.
109         * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
110         the remaining integer rounding functions.
111
112 2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
113
114         * config/sparc/sparc.c (function_arg_partial_nregs): Use
115         SPARC_INT_ARG_MAX to determine where to split unnamed
116         complex FP arguments.
117
118 Thu Jul  3 20:36:47 CEST 2003  Jan Hubicka  <jh@suse.cz>
119
120         * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
121         * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
122         (merge_blocks_move_predecessor_nojumps,
123          merge_blocks_move_successor_nojumps): Use merge_blocks.
124         (try_optimize_cfg): Use merge_blocks_move.
125         * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
126         (merge_blocks_nomove): Rename to rtl_merge_blocks.
127         (cfg_layout_create_basic_block): New.
128         (rtl_can_merge_blocks): New.
129         (cfg_layout_split_block): Do not alloc aux by hand.
130         * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
131         merge_blocks.
132         (create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
133         * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
134         * cfgloopmanip.c (loop_split_edge_with): Likewise.
135         * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
136
137         * basic-block.h (basic_block_def): Add field 'rbi'.
138         * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
139         find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
140         * cfg.c (entry_exit_blocks): Add new field.
141         * cfglayout.c: Include alloc-pool.h;
142         (cfg_layout_pool): New.
143         (record_effective_endpoints, fixup_reorder_chain,
144         fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
145         of rbi.
146         (cfg_layout_initialize_rbi): New function.
147         (cfg_layout_initialize): Use it.
148         (cfg_layout_finalize): Clear rbi fields.
149         * cfglayout.h (RBI): Kill.
150         (cfg_layout_initialize_rbi): Declare.
151         * cfgloopmanip.c (copy_bbs): Use rbi.
152         (record_exit_edges): Likewise.
153         (duplicate_loop_to_header_edge): Likewise.
154         * cfgrtl.c (cfg_layout_create_basic_block): Use
155         cfg_layout_initialize_rbi.
156         (cfg_layout_split_block): Use rbi.
157         (cfg_layout_delete_block): Likewise.
158         * loop-init.c (loop_optimizer_finalize): Likewise.
159         * loop-unswitch.c (unswitch_loop): Likewise.
160         * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
161
162         * cfgrtl.c: Update comments.
163         (try_redirect_by_replacing_jump): New argument.
164         (redirect_branch_edge): Break out from ...
165         (rtl_redirect_edge_and_branch): ... this one.
166         (update_cfg_after_block_merging): Break out from ...
167         (rtl_merge_blocks): ... this one.
168         (cfg_layout_split_edge): New.
169         (cfg_layout_merge_blocks): New.
170         (cfg_layout_can_merge_blocks_p): New.
171         (cfg_layout_redirect_edge_and_branch): Reorganize.
172         (cfg_layout_rtl_cfg_hooks): Fill in.
173         (cfg_layout_delete_block): Kill barriers.
174         * cfganal.c (can_fallthru): Deal with exit blocks
175         * cfglayout.c (cfg_layout_function_header): New function
176         (record_effective_endpoints): Record function header.
177         (fixup_reorder_chain): Fixup dead jumptables; place header
178
179         * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
180         * bb-reorder.c (cfg_layout_initialize): Update call.
181         * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
182         edges in cfglayout mode.
183         * cfglayout.c (cleanup_unconditional_jumps): Kill.
184         (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
185         * cfglayout.h (cfg_layout_initialize): Update prototype.
186         * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
187         * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
188         * flow.c (propagate_block): Do not crash when basic block ends
189         by first insn in the chain.
190         * loop-init.c (loop_optimizer_init):  First enter cfglayout mode; later
191         do loop discovery.
192         * tracer.c (tracer): Update call of cfg_layout_initialize.
193
194 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
195
196         * Makefile.in: Use dependency variables in lieu of explicit
197         files throughout.
198
199 2003-07-03  Steven Bosscher  <steven@gcc.gnu.org>
200
201         * rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
202         * tree.h: ...to here.
203
204 2003-07-03  Kazu Hirata  <kazu@cs.umass.edu>
205
206         * config/s390/2064.md: Fix comment typos.
207         * config/s390/2084.md: Likewise.
208         * config/s390/s390.c: Likewise.
209         * config/s390/s390.md: Likewise.
210         * config/sh/sh.c: Likewise.
211         * config/sh/sh.h: Likewise.
212         * config/sh/sh.md: Likewise.
213         * config/sparc/sparc.c: Likewise.
214         * config/sparc/sparc.h: Likewise.
215         * config/sparc/sparc.md: Likewise.
216         * config/stormy16/stormy16.c: Likewise.
217         * config/stormy16/stormy16.h: Likewise.
218         * config/stormy16/stormy-abi: Fix a typo.
219
220 2003-07-03  Kelley Cook  <kelleycook@wideopenwest.org>
221
222         * Makefile.in (ifcvt.o): Depend on OPTABS_H.
223
224 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
225
226         * config/mips/mips.h (save_argv): Delete.
227
228 2003-07-03  Roger Sayle  <roger@eyesopen.com>
229
230         PR target/10700
231         * fold-const.c (extract_muldiv_1): There's nothing that can be done
232         if the expression is a SAVE_EXPR.
233
234 2003-07-03  Kazu Hirata  <kazu@cs.umass.edu>
235
236         * config/m32r/m32r.c: Fix comment typos.
237         * config/m68hc11/m68hc11.c: Likewise.
238         * config/m68hc11/m68hc11.h: Likewise.
239         * config/m68k/m68k.c: Likewise.
240         * config/mcore/mcore.c: Likewise.
241         * config/mcore/mcore.h: Likewise.
242         * config/mcore/mcore.md: Likewise.
243         * config/mips/mips.c: Likewise.
244         * config/mips/mips.h: Likewise.
245         * config/mips/mips.md: Likewise.
246         * config/mips/netbsd.h: Likewise.
247         * config/mn10300/mn10300.c: Likewise.
248
249 2003-07-03  Andreas Schwab  <schwab@suse.de>
250
251         * dbxout.c (pending_bincls): Move decl down inside
252         DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
253
254 2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>
255
256         * rtl.h (NOTE_DATA): Refer to whole union.
257         * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
258
259 2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
260
261         PR optimization/11381
262         * simplify-rtx.c (simplify_relational_operation): Check that
263         two equal operands have no side-effects before simplifying
264         the comparison.
265
266 2003-07-02  Jeff Law  <law@redhat.com>
267
268         * expr.c (do_store_flag): Remove special case folding for
269         single bit tests.  Instead call back into the commonized folder
270         routine.
271         * fold-const.c (fold_single_bit_test): New function, mostly
272         extracted from do_store_flag, with an additional case extracted
273         from fold.
274         (fold): Call fold_single_bit_test appropriately.
275         * tree.h (fold_single_bit_test): Prototype.
276
277 2003-07-02  Zack Weinberg  <zack@codesourcery.com>
278
279         * system.h: Include filenames.h.
280         (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
281         (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
282         define based on HAVE_DOS_BASED_FILE_SYSTEM.
283         * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
284         * config/i386/xm-mingw32.h: Don't define
285         HAVE_DOS_BASED_FILE_SYSTEM,
286         DIR_SEPARATOR, or DIR_SEPARATOR_2.
287         * doc/hostconfig.texi: Update to match.
288
289         * cppfiles.c, gcc.c, gensupport.c, protoize.c,
290         config/i386/cygwin.h:
291         Use IS_ABSOLUTE_PATH throughout.
292         * gcc.c (DIR_UP): Delete, unused.
293         * protoize.c (IS_SAME_PATH): Define in terms of
294         FILENAME_CMP.
295         (is_abspath): Delete.
296
297 2003-07-02  Kazu Hirata  <kazu@cs.umass.edu>
298
299         * config/i386/emmintrin.h: Fix comment typos.
300         * config/i386/i386.c: Likewise.
301         * config/i386/i386.h: Likewise.
302         * config/i386/sco5.h: Likewise.
303         * config/ia64/ia64.c: Likewise.
304         * config/ia64/itanium2.md: Likewise.
305
306 2003-07-02  H.J. Lu  <hongjiu.lu@intel.com>
307
308         * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
309         DBX_USE_BINCL.
310         (emit_bincl_stab): Same.
311         (emit_pending_bincls): Same.
312
313 2003-07-02  Kazu Hirata  <kazu@cs.umass.edu>
314
315         * config/h8300/h8300.c (compute_mov_length): Fix the length of
316         loading CONST0_RTX (SFmode).
317         * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
318         'G' to CONST0_RTX (SFmode).
319         * config/h8300/h8300.md (movsf_h8300): Change the first
320         constraint to 'G'.
321         (movsf_h8300h): Likewise.
322
323 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
324
325         * c-common.h (c_common_init_options): New prototype.
326         * c-opts.c (deferred_size): Remove.
327         (defer_opt): Array is now pre-allocated.
328         (c_common_init_options): Pre-allocate deferred_opts.  Make
329         lang_flags unsigned.
330         (push_command_line_options): Free deferred_opts.
331         * hooks.c (hook_uint_uint_constcharptrptr_0): New.
332         * hooks.h (hook_uint_uint_constcharptrptr_0): New.
333         * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
334         * langhooks.h (struct lang_hooks): New prototype for init_options.
335         * main.c (main): Cast argv.
336         * opts.c (handle_option, handle_options): Update prototypes.
337         (decode_options): save_argc, save_argv are not global.  Constify.
338         * opts.h (decode_options): New prototype.
339         * toplev.c (general_init): New protoype.
340         (save_argv): Make static.
341         (save_argc): Remove.
342         (print_switch_values, general_init): Constify.
343         (toplev_main): Save argv.
344         * toplev.h (toplev_main): Update prototype.
345         (save_argc, save_argv): Remove.
346
347 2003-07-02  David Edelsohn  <edelsohn@gnu.org>
348
349         * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
350         (emit_bincl_stab): Same.
351         (emit_pending_bincls): Same.
352
353 2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>
354
355         PR c++/11072
356         * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
357
358 2003-07-02  Andreas Schwab  <schwab@suse.de>
359
360         * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
361
362 2003-07-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
363
364         PR optimization/11210
365         * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
366         about the behaviour with regard to bitfields.
367         * fold-const (decode_field_reference): Record outermost type in
368         case the expression is a NOP. Strip all NOPs. Set the signedness
369         to that of the outermost type (if any) when the bitsize is equal
370         to the size of the type.
371
372 2003-07-02  Richard Sandiford  <rsandifo@redhat.com>
373
374         * config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
375         (addsi3_internal, adddi3, adddi3_internal_2): Likewise.
376         (adddi3_internal_3, addsi3_internal_2): Likewise.
377
378 2003-07-02  Richard Sandiford  <rsandifo@redhat.com>
379
380         * config/mips/mips.c (machine_function): Add new fields:
381         ignore_hazard_length_p and all_noreorder_p.
382         (mips_flag_delayed_branch): New variable.
383         (override_options): Treat '/' as an operand punctuation character.
384         Set up mips_flag_delayed_branch.
385         (print_operand): Handle '/'.
386         (mips_output_function_prologue): Put the whole function in
387         .set noreorder and .set nomacro if all_noreorder_p is true.
388         (mips_output_function_epilogue): End the noreorder/nomacro sequence.
389         (mips16_optimize_gp): Remove "first insn" parameter.
390         (mips16_lay_out_constants): New function, split out from mips_reorg.
391         (mips_avoid_hazard, mips_avoid_hazards): New functions.
392         (mips_reorg): For mips16 code, call mips16_lay_out_constant
393         and (optionally) mips16_optimize.  If TARGET_EXPLICIT_RELOCS,
394         do delayed-branch scheduling followed by hazard detection.
395         (mips_adjust_insn_length): Only account for hazards if
396         !ignore_hazard_length_p.
397         (mips_output_load_label): Add a nop to the o32 sequence if
398         the target suffers from load delays.
399         (mips_output_conditional_branch): Add %/ to the end of branches.
400         (mips_output_division): Fill the branch delay slot with %#.
401         * config/mips/mips.md: Remove redundant '%*' from mips16 branch
402         instructions.  End all other %* branches with %/.
403         (ffssi2, ffsdi2): Fix lengths.
404         (truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
405         (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
406         (fix_truncsfsi2_macro): Likewise.
407         (mov_lwl): Set hazard to "none".
408         (ashldi3_internal): Fill the branch delay slot with %#.
409         (ashrdi3_internal, lshrdi3_internal): Likewise.
410         (exception_receiver): Explicitly set $28.
411         (hazard_nop): New pattern.
412
413 Wed Jul  2 08:12:36 CEST 2003  Jan Hubicka  <jh@suse.cz>
414
415         * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
416         before calling tree_inlinable_function_p.
417
418 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
419
420         * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
421         <internal/stdio_core.h> too.
422         (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
423         <internal/wchar_core.h> too.
424         Substitute va_list uses in inline definition.
425         * fixinc/fixincl.x: Regenerate.
426
427 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
428
429         * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
430         Undef before redefinition.
431         (LABEL_AFTER_LOC): Likewise.
432         (DEFAULT_SIGNED_CHAR): Likewise.
433         (ASM_OUTPUT_ASCII): Moved here from iris4.h.
434         Fix IRIX spelling.
435
436         * config/mips/iris3.h: Remove, unused.
437         * config/mips/iris4.h: Likewise.
438
439         * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
440
441         * config/mips/iris5.h (TARGET_DEFAULT): Move ...
442         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
443         target_cpu_default.
444
445         * config/mips/iris5.h: Move explicit includes ...
446         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
447
448         * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
449         * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
450         tm_defines.
451
452         * config/mips/iris6.h (TARGET_DEFAULT): Move ...
453         * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
454         target_cpu_default.
455
456         * config/mips/iris6.h: Fix IRIX spelling.
457         (MULTILIB_DEFAULTS): Undef before redefinition.
458
459         * config/mips/iris6.h: Move explicit includes ...
460         * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
461
462 Wed Jul  2 02:16:48 CEST 2003  Jan Hubicka  <jh@suse.cz>
463
464         * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
465         cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
466         Use next_needed field instead of aux to maintain the queue.
467         * cgraph.h (cgraph_node): Add next_needed.
468         (cgraph_varpool_node): Add next_needed; remove aux.
469         * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
470
471 Wed Jul  2 02:12:51 CEST 2003  Jan Hubicka  <jh@suse.cz>
472
473         * cgraphunit.c (cgraph_finalize_function): Set finalized.
474         (cgraph_finalize_function): Do not examine inlinablility.
475         (cgraph_finalize_compilation_unit): Do it here.
476         * cgraph.h (cgraph_local_info): Add finalized field.
477
478 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
479
480         * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
481         (gt_pch_restore): Likewise.
482
483 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
484
485         * config/alpha/alpha.c: Fix comment typos.
486         * config/alpha/elf.h: Likewise.
487         * config/arm/arm.c: Likewise.
488         * config/arm/arm.h: Likewise.
489         * config/arm/arm.md: Likewise.
490         * config/arm/t-arm-coff: Likewise.
491         * config/arm/t-strongarm-pe: Likewise.
492         * config/arm/xscale-elf.h: Likewise.
493         * config/avr/avr.h: Likewise.
494
495 2003-07-01  Jeff Law  <law@redhat.com>
496
497         * stmt.c (any_pending_cleanups): Remove another redundant test.
498
499 2003-07-01  David Edelsohn  <edelsohn@gnu.org>
500             J"orn Rennecke <joern.rennecke@superh.com>
501
502         * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
503         for MEM case.
504
505 2003-07-01  Devang Patel  <dpatel@apple.com>
506
507         * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
508         (binclstatus): New.
509         (struct dbx_file): New members - bincl_status, pending_bincl_name and
510         prev.
511         (pending_bincls): New.
512         (dbxout_init): Initialize new dbx_file members.
513         (dbxout_start_source_file): Same.
514         (emit_bincl_stab): New function.
515         (emit_pending_bincls): Same.
516         (emit_pending_bincls_if_required): Same.
517         (dbxout_end_source_file): Emit EINCL stab only if BINCL is  already
518         processed.
519         (dbxout_begin_block): Emit pending BINCL stabs.
520         (dbxout_end_block): Same.
521         (dbxout_function_decl): Same.
522         (dbxout_continue): Same.
523         (dbxout_type): Same.
524         (dbxout_class_name_qualifiers): Same.
525         (dbxout_symbol): Same.
526         (dbxout_symbol_location): Same.
527         (dbxout_parms): Same.
528
529 2003-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
530
531         * c-semantics.c (genrtl_case_label): Fix format specifier bug.
532         * cfgrtl.c (rtl_verify_flow_info_1): Likewise.
533
534 2003-07-01  Andreas Jaeger  <aj@suse.de>
535
536         * fold-const.c: Convert prototypes to ISO C90.
537         * function.c: Likewise.
538         * function.h: Likewise.
539
540 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
541
542         * doc/contrib.texi: Fix typos.
543         * doc/invoke.texi: Likewise.
544         * doc/passes.texi: Likewise.
545         * doc/sourcebuild.texi: Likewise.
546         * doc/tm.texi: Likewise.
547
548 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
549
550         * basic-block.h: Fix comment typos.
551         * bb-reorder.c: Likewise.
552         * c-format.c: Likewise.
553         * cfgcleanup.c: Likewise.
554         * cfghooks.h: Likewise.
555         * cfgloop.c: Likewise.
556         * cfgloopmanip.c: Likewise.
557         * cfgrtl.c: Likewise.
558         * cgraph.h: Likewise.
559         * cgraphunit.c: Likewise.
560         * combine.c: Likewise.
561         * convert.c: Likewise.
562         * dbxout.c: Likewise.
563         * df.c: Likewise.
564         * df.h: Likewise.
565         * diagnostic.c: Likewise.
566         * dwarf2out.c: Likewise.
567         * et-forest.h: Likewise.
568         * flow.c: Likewise.
569         * fold-const.c: Likewise.
570         * function.h: Likewise.
571         * gcov-io.h: Likewise.
572         * gcov.c: Likewise.
573         * gcse.c: Likewise.
574         * genautomata.c: Likewise.
575         * ggc-common.c: Likewise.
576         * ggc-page.c: Likewise.
577         * loop-unroll.c: Likewise.
578         * loop-unswitch.c: Likewise.
579         * loop.c: Likewise.
580         * mips-tfile.c: Likewise.
581         * optabs.c: Likewise.
582         * ra-build.c: Likewise.
583         * ra-colorize.c: Likewise.
584         * ra-rewrite.c: Likewise.
585         * ra.h: Likewise.
586         * regmove.c: Likewise.
587         * reload.c: Likewise.
588         * rtlanal.c: Likewise.
589         * sched-ebb.c: Likewise.
590         * sched-int.h: Likewise.
591         * sched-vis.c: Likewise.
592         * sreal.c: Likewise.
593         * ssa-ccp.c: Likewise.
594         * ssa.c: Likewise.
595         * toplev.c: Likewise.
596         * tree-inline.c: Likewise.
597         * value-prof.c: Likewise.
598         * value-prof.h: Likewise.
599
600 2003-07-01  Nathan Sidwell  <nathan@codesourcery.com>
601
602         * rtl.h (emit_line_note_after): Remove.
603         (emit_note_copy_after, emit_note_copy): New.
604         * emit-rtl.c (reorder_insns_with_line_notes): Replace
605         emit_line_note_after with emit_note_copy_after.
606         (emit_insn_after_with_line_notes): Likewise.
607         (emit_line_note_after): Kill.
608         (emit_note_copy_after): New.
609         (emit_note_copy): New.
610         * function.c (emit_return_into_block): Use emit_note_copy_after.
611         (thread_prologue_and_epilogue_insns): Likewise.
612         * integrate.c (expand_inline_function): Use emit_note_copy.
613         (copy_insn_list): Likewise.
614         * unroll.c (copy_loop_body): Likewise.
615         * cfglayout.c (duplicate_insn_chain): Likewise.
616
617 2003-07-01  Nathan Sidwell  <nathan@codesourcery.com>
618
619         * c-tree.h (define_label): Replace filename and lineno arguments
620         with a location_t.
621         * c-decl.c (poplevel): Adjust define_label call.
622         (pop_label_level): Likewise.
623         (define_label): Replace filename and lineno arguments with a
624         location_t.
625         (store_parm_decls): Use DECL_SOURCE_LOCATION.
626         * c-parse.in (label): Adjust define_label call.
627
628 2003-07-01  Neil Booth  <neil@daikokuya.co.uk>
629
630         * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
631         config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
632         config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
633         config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
634         config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
635
636 2003-07-01  Andreas Jaeger  <aj@suse.de>
637
638         * final.c: Convert prototypes to ISO C90.
639         * flow.c: Likewise.
640         * flags.h: Likewise.
641         * gcov-io.c: Likewise.
642         * gcov-io.h: Likewise.
643
644 2003-06-30  Bruno Haible  <bruno@clisp.org>
645
646         PR middle-end/6578
647         * libgcc2.c (__subvsi3): Remove simplification that would not work
648         when subtracting -0x80000000.
649         (__subvdi3): Remove simplification that would return a wrong result.
650         (__mulvsi3): Fix overflow check.
651         (__absvdi2): Fix simplification that would return a wrong result.
652         (__mulvdi3): Fix overflow check.
653
654 2003-06-30  Jeff Law  <law@redhat.com>
655
656         * stmt.c (any_pending_cleanups): Lose argument THIS_CONTOUR, it
657         was always passed in the value '1'.  Simplify body appropriately.
658         * tree.h (any_pending_cleanups): Corresponding changes.
659         * calls.c: (expand_call): Corresponding changes.
660
661 2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
662
663         * combine.c (distribute_notes): Don't bother REG_WAS_0.
664         * cse.c (cse_insn): Likewise.
665         * final.c (final_scan_insn): Likewise.
666         * jump.c (duplicate_loop_exit_test): Likewise.
667         * rtl.c (reg_note_name): Remove REG_WAS_0.
668         * rtl.h (REG_WAS_0): Remove.
669         * unroll.c (final_reg_note_copy): Don't bother REG_WAS_0.
670         * config/avr/avr.c (output_movqi): Don't use reg_was_0.
671         (output_movhi): Likewise.
672         (output_movsisf): Likewise.
673         (reg_was_0): Remove.
674         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't use
675         REG_WAS_0.
676         (m68hc11_gen_movqi): Likewise.
677         * config/vax/vax-protos.h: Remove the prototype for
678         reg_was_0_p.
679         * config/vax/vax.c (follows_p): Remove.
680         (reg_was_0_p): Likewise.
681         * config/vax/vax.md (movsi): Don't use reg_was_0_p.
682         (movhi): Likewise.
683         (movqi): Likewise.
684         * doc/rtl.texi (REG_WAS_0): Remove.
685
686 2003-06-30  Mark Mitchell  <mark@codesourcery.com>
687
688         * config/rs6000/spe.h (__ev_set_spefscr_frmc): Set the flag.
689
690 2003-06-30  Bob Wilson  <bob.wilson@acm.org>
691
692         * config/xtensa/lib1funcs.asm: Use "xtensa-config.h" from
693         top-level include directory.
694         * config/xtensa/lib2funcs.S: Likewise.
695         * config/xtensa/xtensa.h: Likewise.
696         * config/xtensa/xtensa-config.h: Remove.
697         * doc/install.texi: Update location of "xtensa-config.h" header.
698
699 2003-06-30  Ulrich Weigand  <uweigand@de.ibm.com>
700
701         * config/s390/s390.c (s390_extra_constraint): New function.
702         * config/s390/s390-protos.h (s390_extra_constraint): Declare it.
703         * config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
704         * config/s390/s390.c (q_constraint): Remove.
705         * config/s390/s390-protos.h (q_constraint): Likewise.
706         * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Add 'R', 'S', 'T'.
707         (EXTRA_ADDRESS_CONSTRAINT): Define.
708
709         * config/s390/s390.c (larl_operand): Refuse out-of-range operands.
710         (DISP_IN_RANGE, s390_short_displacement): New.
711         (legitimate_reload_operand_p): Support long displacements.
712         (s390_decompose_address): Likewise.
713         (legitimize_pic_address): Likewise.
714         (legitimize_address): Likewise.
715         (s390_fixup_clobbered_return_reg): Likewise.
716         (s390_emit_prologue, s390_emit_epilogue): Likewise.
717         (s390_output_mi_thunk): Likewise.
718
719         * config/s390/s390.md (attr "op_type"): Add "RXY", "RSY", "SIY".
720         (attr "atype", attr "length"): Add defaults for new op_types.
721         (all insns): Change op_type attribute where appropriate.
722
723         ("*movdi_lay", "*movsi_lay", "*extendqidi2", "*extendqisi2"): New insns.
724         ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", *tmqi_mem",
725         "*tstsi", "*tstsi_cconly", "*tsthiCCT", "*tsthiCCT_cconly",
726         "*tsthi", "*tsthi_cconly", "*tstqiCCT", "*tstqiCCT_cconly",
727         "*tstqi", "*tstqi_cconly", "*cmpsi_ccs_sign", "*cmpsi_ccs",
728         "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu", "*cli",
729         "movti", "*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
730         "movqi", "*movstrictqi", "*movstricthi", "movstrictsi",
731         "*movdf_64", "*movdf_31", "*movsf",
732         "*load_multiple_si", "*store_multiple_di",
733         "*sethighqisi", "*sethighhisi", "*sethighqidi_31", "*extendhisi2",
734         "*la_64", "*la_31", "*la_31_and", "force_la_31",
735         "*addsi3_carry1_cc", *addsi3_carry1_cconly",
736         "*addsi3_carry2_cc", *addsi3_carry2_cconly",
737         "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2",
738         "*addsi3_sign", "*addsi3_sub", "addsi3",
739         "*subsi3_borrow_cc", "*subsi3_borrow_cconly", "*subsi3_cc",
740         "*subsi3_cconly", "*subsi3_sign", "*subsi3_sub", "subsi3",
741         "mulsi3"
742         "*andsi3_cc", "*andsi3_cconly", "andsi3",
743         "*andqi3_ss", "*andqi3_ss_inv",
744         "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
745         "*iorqi3_ss", "*iorqi3_ss_inv",
746         "*xorsi3_cc", "*xorsi3_cconly", "xorsi3",
747         "*xorqi3_ss", "*xorqi3_ss_inv",
748         "*tls_load_31"): Add alternatives for long-displacement instructions.
749
750         ("*cmpdf_ccs", "*cmpdf_ccs_ibm", "*cmpsf_ccs", "*cmpsf_ccs_ibm",
751         "*load_multiple_di", "*store_multiple_di",
752         "*sethighqidi_64", "*zero_extendhisi2_31",
753         "truncdfsf2_ibm", "extendsfdf2_ieee", "extendsfdf2_ibm",
754         "adddf3", "*adddf3", "*adddf3_ibm",
755         "addsf3", "*addsf3", "*addsf3_ibm",
756         "subdf3", "*subdf3", "*subdf3_ibm",
757         "subsf3", "*subsf3", "*subsf3_ibm",
758         "mulsi_6432", "divmoddisi3",
759         "muldf3", "*muldf3", "*muldf3_ibm",
760         "mulsf3", "*mulsf3", "*mulsf3_ibm",
761         "divdf3", "*divdf3", "*divdf3_ibm",
762         "divsf3", "div*sf3", "*divsf3_ibm",
763         "sqrtdf2", "sqrtsf2",
764         "*cjump_long", "*icjump_long", "indirect_jump", "casesi_jump",
765         "*doloop_si_long", "*doloop_di_long", "bas_64", "bas_31",
766         "bas_r_64", "bas_r_31", "bas_tls_31", "bas_tls_64"): Adapt memory
767         and address constraints for instructions that do not accept long
768         displacements.
769
770 2003-06-30  Hartmut Penner  <hpenner@de.ibm.com>
771             Ulrich Weigand  <uweigand@de.ibm.com>
772
773         * config/s390/2084.md: New file.
774         * config/s390/s390.md: Include it.
775         * config/s390/s390.c (s390_adjust_priority): New function.
776         (TARGET_SCHED_ADJUST_PRIORITY): Define.
777         (s390_first_cycle_multipass_dfa_lookahead): New function.
778         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
779         (s390_sched_reorder2): New function.
780         (TARGET_SCHED_REORDER2): Define.
781         (s390_adjust_cost): Support PROCESSOR_2084_Z990 cpu type.
782         (s390_issue_rate): Likewise.
783
784 Mon Jun 30 23:47:33 CEST 2003  Jan Hubicka  <jh@suse.cz>
785
786         * Makefile.in (GTFILES): Add cgraph.h.
787         * cgraph.c (known_decls): Remove.
788         (cgraph_hash, cgraph_nodes, cgraph_nodes_queue,
789         cgraph_varpool_hash, cgraph_varpool_nodes_queue): GTYize.
790         (cgraph_node): Do not allocate known_decls; use polutate hashtable.
791         (cgraph_varpool_node): Likewise; add next pointer.
792         (cgraph_varpool_nodes): New static variable.
793         * cgraph.h (cgraph_local_info, cgraph_global_info, cgraph_rtl_info,
794         cgraph_node, cgraph_edge, cgraph_varpool_node, cgraph_nodes, cgraph_n_nodes,
795         cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): GTYize.
796         * gengtype.c (open_base_files): Include cgraph.h
797
798 2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
799
800         * Changelog: Remove ">>>>>>>" from previous change.
801
802 2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
803
804         * config/cris/cris.c: Fix spelling for "testcase".
805         * config/cris/cris.h: Likewise.
806         * config/cris/cris.md: Likewise.
807         * config/mmix/crti.asm: Likewise.
808         * config/mmix/mmix.h: Likewise.
809         * config/mmix/mmix.md: Likewise.
810
811 2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
812
813         * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Make it always
814         1.
815
816 2003-06-30  Ulrich Weigand  <uweigand@de.ibm.com>
817
818         * config.gcc [s390*-*-*]: Support --with-arch, --with-tune, and
819         --with-mode configure options.
820         * config/s390/s390.h (OPTION_DEFAULT_SPECS): Define.
821         (DRIVER_SELF_SPECS): Define.
822         * config/s390/linux.h (ASM_SPEC): Pass architecture mode and cpu
823         architecture to assembler.
824         (LINK_SPEC): Merge 31-bit and 64-bit variants.
825         (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC, EXTRA_SPECS): Remove.
826         * config/s390/s390.c (override_options): New default rules for
827         architecture mode and cpu architecture selection.
828         * doc/invoke.texi (-mesa, -mzarch, -march, -mtune): Document
829         new default rules.
830
831         * config/s390/s390.h (enum processor_type): Add PROCESSOR_2084_Z990.
832         * config/s390/s390.md (attr "cpu"): Add "z990" processor type.
833         * config/s390/s390.c (override_options): Add "z990" to
834         processor_alias_table.
835         * doc/invoke.texi (-march): Document "z990" processor type.
836
837         * config/s390/s390.c (s390_tune_flags, s390_arch_flags): New variables.
838         * config/s390/s390.h (s390_tune_flags, s390_arch_flags): Declare.
839         (enum processor_flags, TARGET_CPU_IEEE_FLOAT, TARGET_CPU_ZARCH,
840         TARGET_CPU_LONG_DISPLACEMENT, TARGET_LONG_DISPLACEMENT): New.
841         * config/s390/s390.c (override_options): Replace enum pta_flags by
842         enum processor_flags.  Fill in s390_tune_flags and s390_arch_flags.
843
844         * config/s390/s390.c (s390_cpu): Rename to ...
845         (s390_tune): ... this.
846         * config/s390/s390.h (s390_cpu, s390_tune): Likewise.
847         * config/s390/s390.c (s390_issue_rate, override_options): Likewise.
848         * config/s390/s390.md (attr "cpu"): Likewise.
849
850 2003-06-30  Neil Booth  <neil@daikokuya.co.uk>
851
852         * c-common.c (enum c_language_kind, flag_objc): Remove.
853         (fix_string_type, check_case_value, c_common_nodes_and_builtins,
854         c_add_case_label, finish_label_addr_expr, boolean_increment):
855         Use c_dialect_ macros.
856         * c-common.h (enum c_language_kind): Extend.
857         (c_dialect_cxx, c_dialect_objc): New.
858         (flag_objc): Remove.
859         (c_common_init_options): Update prototype.
860         * c-cppbuiltin.c (define__GNUC__, c_cpp_builtins): Use c_dialect_
861         macros.
862         * c-decl.c (finsih_decl, grokfield, finish_struct): Use c_dialect_
863         macros.
864         * c-format.c (C_STD_VER, C_STD_NAME): Similarly.
865         * c-lang.c (c_init_options): Remove.
866         (c_language): Define.
867         (LANG_HOOKS_INIT_OPTIONS): Use common hook.
868         * c-lex.c (lex_charconst): Use c_dialect_ macros.
869         * c-opts.c (lang_flags): Make function-local.
870         (c_common_init_options): Use c_dialect_ macros.  Handle
871         C++ diagnostic requirements.
872         (c_common_handle_option, c_common_post_options): Use flag_cxx.
873         * c-parse.in (init_reswords): Use c_dialect_objc ().
874         * c-pch.c (get_ident): Use c_language.
875         * c-pretty-print.c (pp_c_bool_literal): Use c_dialect_ macros.
876         * c-typeck.c (comptypes, build_c_cast): Similarly.
877         * objc/objc-lang.c (c_language): Define.
878         (LANG_HOOKS_INIT_OPTIONS): Use common hook.
879         (objc_init_options): Remove.
880
881 2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
882
883         * config/alpha/alpha.h (FUNCTION_ARG_PADDING): Remove.
884         * config/alpha/unicosmk.h: Don't #undef FUNCTION_ARG_PADDING.
885
886 2003-06-30  Wolfgang Bangerth  <bangerth@dealii.org>
887
888         * doc/sourcebuild.texi: Don't reference gnats.html any more.
889
890 2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
891
892         * config/h8300/h8300.c (compute_mov_length): Fix length of
893         mov:SF on H8/300.
894
895 2003-06-30  Nick Clifton  <nickc@redhat.com>
896
897         * config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Make defintion
898         constant.
899
900 Mon Jun 30 15:36:29 CEST 2003  Jan Hubicka  <jh@suse.cz>
901
902         (fyl2x_sfxf3, fyl2x_dfxf3, fscale_sfxf3, fscale_dfxf3): Fix condition.
903
904 2003-06-30 Hartmut Penner  <hpenner@de.ibm.com>
905
906         * config/rs6000/rs6000.c (rs6000_split_altivec_in_gprs): New function.
907         (altivec_in_gprs_p): New function.
908
909         * config/rs6000/rs6000-protos (rs6000_split_altivec_in_gprs): New
910         prototype.
911         (altivec_in_gprs_p): New prototype.
912
913         * config/rs6000/altivec.md (*movv4si_internal): Change
914         multi-assembler alternative to '#'. Add postreload splitter to
915         handle this cases.
916         (*movv4hi_internal): Likewise.
917         (*movv4qi_internal): Likewise.
918         (*movv4sf_internal): Likewise.
919
920 2003-06-30  Jason Merrill  <jason@redhat.com>
921
922         * defaults.h (PUSH_ARGS_REVERSED): Define default here.
923         * calls.c: Not here.
924
925 2003-06-30  Ben Elliston  <bje@wasabisystems.com>
926
927         * config/arm/arm.c (arm_rtx_costs): Remove #if 0 block.
928         (bad_signed_byte_operand): Likewise.
929         (arm_output_epilogue): Likewise.
930         (arm_final_prescan_insn): Likewise.
931
932 2003-06-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
933
934         * cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.
935
936 2003-06-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
937
938         * c-pch.c (c_common_write_pch): Flush asm_out_file to allow for
939         subsequent writes.
940
941 Mon Jun 30 10:03:02 CEST 2003  Jan Hubicka  <jh@suse.cz>
942
943         * cfgrtl.c (verify_flow_info): Accept degenerated condjumps
944         in cfglayout mode.
945
946 Mon Jun 30 09:52:39 CEST 2003  Jan Hubicka  <jh@suse.cz>
947
948         * i386.c (standard_80387_constant_p): Accept TFmode constants too.
949         (init_ext_80387_constants): Likewise.
950         (standard_80387_constant_rtx): Likewise.
951         * i386.md (atanxf): Disable for TARGET_128BIT_LONG_LONG
952         (atantf): Disable for !TARGET_128BIT_LONG_LONG
953         (fyl2x_sfxf3, fyl2x_dfxf3): Accept TFmode operands.
954         (fyl2x_xfxf3, fyl2x_tfxf3): Enable/disable as needed.
955         (fscale_sfxf3, fscale_dfxf3): Accept TFmode operands.
956         (fscale_xfxf3, fscale_tfxf3): Enable/disable as needed.
957         (frndinttf2): New.
958         (f2xm1tf2): New.
959         (exp?f2): Use expsf2_tf when needed.
960         (exp?f2_tf): New.
961         (exptf): New.
962
963 2003-06-29 Uwe Stieber <uwe@kaos-group.de>
964
965         * config.gcc (sh*-*-kaos*): Put tm_file setting in separate case
966         statement from tmake_file set.
967
968 2003-06-29  James E Wilson  <wilson@tuliptree.org>
969
970         * reload.c (find_reloads): Change push_reloads to push_reload in
971         comment.
972         * reload1.c (eliminate_regs): Likewise.
973         (dump_needs): Delete prototype for deleted function.
974
975 2003-06-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
976
977         * builtin-attrs.def (gcc_diag, gcc_cdiag, gcc_cxxdiag): New
978         format attributes.
979         * c-format.c (enum format_type): Add gcc_diag_format_type,
980         gcc_cdiag_format_type, and gcc_cxxdiag_format_type.
981         (gcc_diag_length_specs, gcc_cdiag_length_specs,
982         gcc_cxxdiag_length_specs, gcc_diag_flag_pairs,
983         gcc_cdiag_flag_pairs, gcc_cxxdiag_flag_pairs, gcc_diag_flag_specs,
984         gcc_cdiag_flag_specs, gcc_cxxdiag_flag_specs, gcc_diag_char_table,
985         gcc_cdiag_char_table, gcc_cxxdiag_char_table): New.
986         (format_types_orig): Add new data.
987         (find_char_info_specifier_index, init_dynamic_diag_info): New
988         functions.
989         (handle_format_attribute): Update to handle new format attributes.
990
991 2003-06-29  Aaron W. LaFramboise  <awlaframboise@aol.com>
992
993         * config/i386/gthr-win32.h (__GTHREAD_HIDE_WIN32API): Define to 1.
994
995 2003-06-29  Dara Hazeghi  <dhazeghi@yahoo.com>
996
997         * doc/install.texi: Remove install documentation for obsoleted targets
998         i?86-*-sco, i?86-*-sco3.2v4, powerpcle-*-pe, powerpcle-*-winnt,
999         arm-*-aof.
1000         Update information about IA64 toolchain, AIX make requirements,
1001         and binutils for m68k-*-hpux and *-*-linuxaout targets.
1002
1003 Mon Jun 30 00:50:43 CEST 2003  Jan Hubicka  <jh@suse.cz>
1004
1005         * regmove.c (regmove_optimize): Don't try to make src and dst match
1006         when they are in different modes.
1007
1008 Sun Jun 29 23:06:32 CEST 2003  Jan Hubicka  <jh@suse.cz>
1009
1010         * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2): Avoid
1011         busy work when builtin is not supported by the backend.
1012
1013 2003-06-29  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1014
1015         * loop.c (count_one_set): Fix detection of registers set in more
1016         than one basic block.
1017
1018 2003-06-29  Andreas Jaeger  <aj@suse.de>
1019
1020         * target-def.h: Remove usage of OBJECT_FORMAT_ROSE.
1021         * system.h: Poison OBJ_FORMAT_ROSE.
1022         * doc/tm.texi (Macros for Initialization): Remove documentatin of
1023         OBJECT_FORMAT_ROSE.
1024         * config/rs6000/lynx.h: Remove undef of OBJECT_FORMAT_ROSE.
1025         * collect2.c: Remove usage of OBJECT_FORMAT_ROSE.
1026
1027 2003-06-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1028
1029         * pa.c (update_total_code_bytes): New function.
1030         (last_address): Number of bytes output for a function and its
1031         associated thunks.
1032         (compute_frame_size): Use BITS_PER_UNIT.
1033         (pa_output_function_epilogue): Compute last_address.  Use
1034         update_total_code_bytes.
1035         (output_lbranch): Handle long branch on portable runtime.
1036         (attr_length_millicode_call, attr_length_call,
1037         attr_length_indirect_call): Only use total_code_bytes for calls in
1038         the text section.
1039         (output_call): Only use an indirect call sequence when the target is
1040         not local.
1041         (pa_asm_output_mi_thunk): Handle updating of total_code_bytes.  Improve
1042         test to determine when an IA-relative branch can be used.  Add various
1043         long branch sequences.  Avoid using an indirect branch on all ports
1044         except SOM.
1045
1046 2003-06-29  Ulrich Weigand  <uweigand@de.ibm.com>
1047
1048         * expr.c (clear_by_pieces): Fix prototype.
1049
1050 2003-06-29  Andreas Jaeger  <aj@suse.de>
1051
1052         * cse.c: Convert prototypes to ISO C90.
1053         * cselib.c: Likewise.
1054         * cselib.h: Likewise.
1055         * dbxout.c: Likewise.
1056         * debug.c: Likewise.
1057         * df.c: Likewise.
1058         * df.h: Likewise.
1059         * dojump.c: Likewise.
1060         * doloop.c: Likewise.
1061         * dominance.c: Likewise.
1062         * dwarf2asm.c: Likewise.
1063         * dwarf2out.c: Likewise.
1064         * dwarf2out.h: Likewise.
1065         * dwarfout.c: Likewise.
1066         * except.c: Likewise.
1067         * except.h: Likewise.
1068         * emit-rtl.c: Likewise.
1069         * et-forest.c: Likewise.
1070         * et-forest.h: Likewise.
1071         * except.c: Likewise.
1072         * explow.c: Likewise.
1073         * expmed.c: Likewise.
1074         * expr.c: Likewise.
1075         * expr.h: Likewise.
1076
1077 2003-06-29  Kazu Hirata  <kazu@cs.umass.edu>
1078
1079         * alloc-pool.c: Fix comment formatting.
1080         * bitmap.c: Likewise.
1081         * bitmap.h: Likewise.
1082         * bt-load.c: Likewise.
1083         * builtins.c: Likewise.
1084         * caller-save.c: Likewise.
1085         * cfganal.c: Likewise.
1086         * cfgrtl.c: Likewise.
1087         * collect2.c: Likewise.
1088         * cse.c: Likewise.
1089         * df.c: Likewise.
1090         * diagnostic.c: Likewise.
1091         * dwarf2out.c: Likewise.
1092         * dwarfout.c: Likewise.
1093         * expmed.c: Likewise.
1094         * final.c: Likewise.
1095         * flags.h: Likewise.
1096         * fold-const.c: Likewise.
1097         * gcc.c: Likewise.
1098         * gcov-io.h: Likewise.
1099         * gcov.c: Likewise.
1100         * genattrtab.c: Likewise.
1101         * genautomata.c: Likewise.
1102         * libgcov.c: Likewise.
1103         * mips-tfile.c: Likewise.
1104         * optabs.c: Likewise.
1105         * prefix.c: Likewise.
1106         * rtlanal.c: Likewise.
1107         * stmt.c: Likewise.
1108         * stor-layout.c: Likewise.
1109         * toplev.c: Likewise.
1110         * varasm.c: Likewise.
1111         * vmsdbgout.c: Likewise.
1112
1113 2003-06-29  Kazu Hirata  <kazu@cs.umass.edu>
1114
1115         * expr.c (emit_single_push_insn): If padding is needed
1116         downward, adjust the stack pointer first, and then store the
1117         data into the stack location using an offset.
1118
1119 2003-06-29  Andreas Jaeger  <aj@suse.de>
1120
1121         * collect2.h: Convert prototypes to ISO C90.
1122         * collect2.c: Likewise.
1123         * conflict.c: Likewise.
1124         * coverage.c: Likewise.
1125         * convert.h: Likewise.
1126         * convert.c: Likewise.
1127
1128 2003-06-29  Nathan Sidwell  <nathan@codesourcery.com>
1129
1130         * c-decl.c (c_init_decl_processing): Use a location_t. Set input
1131         filename to <internal>.
1132         * tree.c (make_node): Just copy the current location.
1133
1134 2003-06-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
1135
1136         PR optimization/11210
1137         * fold-const (decode_field_reference): Revert 2003-06-26 patch.
1138
1139 2003-06-29  Neil Booth  <neil@daikokuya.co.uk>
1140
1141         * toplev.c (flag_dummy): Remove.
1142         (f_options): Restore flag pointers.
1143
1144 2003-06-29  David Edelsohn  <edelsohn@gnu.org>
1145
1146         * config/rs6000/rs6000.c (processor_target_table): Add 970.
1147         * config.gcc: Add 970.
1148
1149 2003-06-29  Kazu Hirata  <kazu@cs.umass.edu>
1150
1151         * dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X,
1152         -1) with ggc_strdup.
1153         * stmt.c (expand_asm_operands): Likewise.
1154         * config/rs6000/rs6000.md (builtin_setjmp_receiver): Likewise.
1155
1156 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
1157
1158         * config/ip2k/ip2k.c (ip2k_reorg): Use INSN_P instead of its
1159         definition.
1160
1161 2003-06-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1162
1163         * opts.c: Include insn-attr.h.
1164         * Makefile.in (opts.o): Depend on INSN_ATTR_H.
1165
1166 2003-06-27  J"orn Rennecke <joern.rennecke@superh.com>
1167
1168         * flow.c (propagate_one_insn): Use proper test for a register
1169         being part of the return value.
1170
1171 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
1172
1173         * config/avr/avr.c: Fix a comment typo.
1174
1175 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
1176
1177         * config/avr/avr-protos.h: Replace avr_simplify_comparision_p
1178         with avr_simplify_comparison_p.
1179         * config/avr/avr.c: Likewise.
1180
1181 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
1182
1183         * builtins.c: Follow spelling conventions.
1184         * cgraph.c: Likewise.
1185         * cpplex.c: Likewise.
1186         * config/arm/arm.c: Likewise.
1187         * config/arm/iwmmxt.md: Likewise.
1188         * config/c4x/c4x-modes.def: Likewise.
1189         * config/c4x/c4x.c: Likewise.
1190         * config/c4x/c4x.h: Likewise.
1191         * config/c4x/c4x.md: Likewise.
1192         * config/i386/i386-interix.h: Likewise.
1193         * config/mips/mips.h: Likewise.
1194
1195 2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
1196
1197         * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate
1198         __mc68020__ on TARGET_68020.
1199
1200 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
1201
1202         * config/h8300/h8300.c: Fix a comment typo.
1203
1204 2003-06-28  Nathan Sidwell  <nathan@codesourcery.com>
1205
1206         * c-parse.in (yylexstring): Use a location_t.
1207
1208         * diagnostic.h (diagnostic_set_info): Replace file and lineno
1209         parameters with a location_t.
1210         * diagnostic.c (diagnostic_set_info): Replace file and lineno
1211         parameters with a location_t.
1212         (inform, warning, pedwarn, error, sorry, fatal_error,
1213         internal_error, warning_with_decl, pedwarn_with_decl,
1214         error_with_decl): Adjust.
1215         * c-error.c (pedwarn_c99): Adjust.
1216         * c-format.c (status_warning): Adjust.
1217         * rtl-error.c (file_and_line_for_asm): Rename to ...
1218         (location_for_asm): Return a location_t.
1219         (diagnostic_for_asm): Adjust.
1220
1221 2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
1222
1223         * cpptrad.c (skip_macro_block_comment): New.
1224         (copy_comment): Use it if appropriate.
1225
1226 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
1227
1228         * gcse.c (compute_ld_motion_mems): Use INSN_P instead of its
1229         definition.
1230         (store_killed_in_insn): Likewise.
1231         * print-rtl.c (print_rtx): Likewise.
1232         * config/frv/frv.c (frv_final_prescan_insn): Likewise.
1233         * config/m68hc11/m68hc11.c (dead_register_here): Likewise.
1234         (m68hc11_reassign_regs): Likewise.
1235         (m68hc11_reorg): Likewise.
1236
1237 2003-06-28  Gabriel Dos Reis <gdr@integrable-solutions.net>
1238
1239         * diagnostic.c (output_integer_with_precision): New macro.
1240         (output_format): Use it.  Handle more format specifiers.
1241         (output_long_decimal): Remove.
1242         (output_unsigned_decimal): Likewise.
1243         (output_long_unsigned_decimal): Likewise.
1244         (output_octal): Likewise.
1245         (output_long_octal): Likewise.
1246         (output_hexadecimal): Likewise.
1247         (output_long_hexadecimal): Likewise.
1248         (output_long_long_decimal): Likewise.
1249
1250 2003-06-28  Andreas Schwab  <schwab@suse.de>
1251
1252         * config/ia64/ia64.md: Follow recent emit_note API change.
1253
1254 2003-06-28  Nathan Sidwell  <nathan@codesourcery.com>
1255
1256         * c-parse.in (%union): Replace filename & lineno with location.
1257         (save_filename, save_lineno): Remove.
1258         (save_location): New.
1259         (fndef, old_style_parm_decls_1, lineno_datadecl, lineno_decl,
1260         nested_function, notype_nested_function, if_prefix, lineno_stmt,
1261         lineno_label, label): Adjust.
1262
1263 2003-06-28  Jakub Jelinek  <jakub@redhat.com>
1264
1265         * builtins.c (c_strlen): Add only_value argument.
1266         Handle COND_EXPR and COMPOUND_EXPR.
1267         (expand_builtin_strlen): Optimize also strlen (i++ ? "foo" : "bar").
1268         Adjust c_strlen callers.
1269         (expand_builtin_strcpy, expand_builtin_strncpy,
1270         expand_builtin_strcmp, expand_builtin_strncmp,
1271         expand_builtin_fputs, expand_builtin_sprintf,
1272         fold_builtin): Adjust c_strlen callers.
1273
1274 2003-06-28  Josef Zlomek  <zlomekj@suse.cz>
1275
1276         * bb-reorder.c (find_traces_1_round): Do not send basic block
1277         to next round when we are in the last round.
1278
1279 2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
1280
1281         * Makefile.in: Update.
1282         * opts.c: Include tm_p.h.
1283         (handle_options): Make static.
1284         (decode_options): Copied from toplev.c.
1285         * opts.h (decode_options): New.
1286         * toplev.c (parse_options_and_default_flags): Move most to opts.c,
1287         some to...
1288         (general_init): ...here.
1289         (toplev_main): Use decode_options instead.
1290         * toplev.h (save_argc, save_argv): New.
1291
1292 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
1293
1294         * explow.c (find_next_ref): Remove.
1295         * rtl.h: Remove the prototype for find_next_ref.
1296
1297 2003-06-27  Roger Sayle  <roger@eyesopen.com>
1298
1299         * config/alpha/alpha.md (anonymous define_split): Adjust emit_note
1300         call to match recent API change.
1301
1302 2003-06-27  Zack Weinberg  <zack@codesourcery.com>
1303
1304         * dbxout.c (flag_debug_only_used_symbols): Delete redundant
1305         declaration.
1306
1307         * c-format.c (check_format_string, get_constant)
1308         * cfgrtl.c (rtl_split_edge):
1309         Mark the definition static, matching the forward declaration.
1310
1311 2003-06-27  Gunther Nikl <gni@gecko.de>
1312
1313         * unwind-c.c (PERSONALITY_FUNCTION): Delete duplicate define.
1314
1315         PR target/11014
1316         * config/m68k/m68k.c (m68k_output_mi_thunk): Use correct assembly
1317         syntax for MIT / MOTOROLA.
1318
1319         PR other/10240
1320         * configure.in: Removed $(XCFLAGS) from BUILD_CFLAGS for build != host.
1321         * configure: Rebuilt.
1322
1323 2003-06-27  Chris Demetriou  <cgd@broadcom.com>
1324
1325         * config/mips/mips.c (mips_build_va_list): Make padding in
1326         va_list structure explicit to avoid -Wpadded warnings.
1327
1328 2003-06-27  Ulrich Weigand  <uweigand@de.ibm.com>
1329
1330         * config/s390/s390.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define.
1331         * config/s390/s390.c (s390_secondary_output_reload_class): New function.
1332         * config/s390/s390-protos.h (s390_secondary_output_reload_class):
1333         Declare it.
1334         * config/s390/s390.md ("reload_outti", "reload_outdi",
1335         "reload_outdf"): New expanders.
1336
1337         * config/s390/s390.md ("movti" + splitters): Handle non-offsettable
1338         memory operands as source.
1339         ("movdi" + splitters): Likewise.
1340         ("movdf" + splitters): Likewise.
1341         * config/s390/s390.c (s390_split_ok_p): New function.
1342         * config/s390/s390-protos.h (s390_split_ok_p): Declare it.
1343
1344 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
1345
1346         * combine.c (force_to_mode): Replace the equality comparison
1347         of INTVALs with a pointer equality comparison.
1348         (simplify_comparison): Likewise.
1349
1350 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
1351
1352         * jump.c (rtx_renumbered_equal_p): Replace an expression that
1353         is known to be 0 with 0.
1354
1355 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
1356
1357         * gcse.c (expr_equiv_p): Replace expressions that are known to
1358         be 0 with 0.
1359
1360 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
1361
1362         * cse.c (fold_rtx): Replace the equality comparison of INTVALs
1363         with a pointer equality comparison.
1364
1365 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
1366
1367         * rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN
1368         are known to be not equivalent.
1369
1370 2003-06-27  Richard Henderson  <rth@redhat.com>
1371
1372         * config/alpha/alpha.c (function_arg): Don't pass small aggregates
1373         in floating point registers.  Validate that we don't receive complex
1374         values here.  Use #elif.
1375         (return_in_memory, function_value): New.
1376         (alpha_va_arg): Handle complex values as two arguments.
1377         * config/alpha/alpha.h (RETURN_IN_MEMORY): Use return_in_memory.
1378         (FUNCTION_VALUE, LIBCALL_VALUE): Use function_value.
1379         (SPLIT_COMPLEX_ARGS): New.
1380         * config/alpha/alpha-protos.h: Update.
1381
1382 2003-06-27  Ulrich Weigand  <uweigand@de.ibm.com>
1383
1384         * ggc-page.c (inverse_table): Change type of mult to size_t.
1385         (compute_inverse): Compute inverse using size_t, not unsigned int.
1386         Compute inverse also for sizes larger than half a machine page.
1387
1388 Fri Jun 27 18:36:12 CEST 2003  Jan Hubicka  <jh@suse.cz>
1389
1390         * toplev.c (rest_of_decl_compilation):  Only varpoolize argument
1391         when called before cgraph_optimize.
1392
1393 2003-06-27  Zack Weinberg  <zack@codesourcery.com>
1394
1395         * config/darwin.h, config/elfos.h, config/i960/i960-coff.h
1396         * config/m68k/coff.h: ASM_FILE_START_FILE_DIRECTIVE should
1397         be TARGET_ASM_FILE_START_FILE_DIRECTIVE.
1398
1399 Fri Jun 27 17:41:16 CEST 2003  Jan Hubicka  <jh@suse.cz>
1400
1401         * cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing
1402         of known_decls.
1403
1404 2003-06-27  Hans-Peter Nilsson  <hp@axis.com>
1405
1406         * defaults.h (REGISTER_MOVE_COST): Define default here.
1407         * regclass.c: Don't define default REGISTER_MOVE_COST here.
1408         * reload.c, reload1.c: Ditto.
1409
1410 2003-06-27  Richard Earnshaw <rearnsha@arm.com>
1411
1412         * flags.h: Really install previous change.
1413
1414 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
1415
1416         * rtl.h (emit_note): Remove FILE parameter.
1417         * emit-rtl.c (emit_line_note): Adjust emit_note call.
1418         (emit_note): Remove FILE parameter. Adjust.
1419         * builtins.c (expand_builtin_expect): Adjust emit_note call.
1420         * c-semantics.c (genrtl_scope_stmt): Likewise.
1421         (expand_stmt): Likewise.
1422         * cfglayout.c (reemit_insn_block_notes): Likewise.
1423         (duplicate_insn_chain): Likewise.
1424         * except.c (expand_eh_region_start, expand_eh_region_end,
1425         sjlj_emit_function_enter): Likewise.
1426         * explow.c (probe_stack_range): Likewise.
1427         * expr.c (emit_block_move_via_loop): Likewise.
1428         * function.c (init_function_start, expand_function_start,
1429         expand_function_end, thread_prologue_and_epilogue_insns): Likewise.
1430         * integrate.c (expand_inline_function, copy_insn_list): Likewise.
1431         * reg-stack.c (compensate_edge): Likewise.
1432         * reload1.c (reload): Likewise.
1433         * rtlanal.c (hoist_insn_to_edge): Likewise.
1434         * stmt.c (expand_fixup, expand_start_loop, expand_start_null_loop,
1435         expand_loop_continue_here, expand_end_loop, expand_continue_loop,
1436         expand_exit_loop_top_cond, expand_value_return,
1437         expand_start_bindings_and_block, expand_end_bindings,
1438         expand_decl_cleanup, expand_start_case): Likewise.
1439         * unroll.c (copy_loop_body
1440         * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Likewise.
1441         * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
1442         * config/rs6000/rs6000.c (rs6000_emit_eh_toc_restore,
1443         rs6000_emit_allocate_stack, rs6000_output_function_prologue,
1444         rs6000_output_function_epilogue, rs6000_output_mi_thunk): Likewise.
1445         * config/sh/sh.c (sh_output_mi_thunk): Likewise.
1446         * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
1447
1448 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
1449
1450         * c-tree.h (grokfield): Remove unused filename and line parameters.
1451         * c-decl.c (grokfield): Remove unused filename and line parameters.
1452         * c-parse.in (component_decl): Adjust field grokking rules, adjust
1453         grokfield calls.
1454         (component_declarator): Likewise.
1455         (component_notype_declarator): Likewise.
1456         * objc/objc-act.c (build_module_descriptor): Adjust grokfield
1457         calls.
1458         (build_protocol_template, build_method_prototype_list_template,
1459         build_method_prototype_template, build_category_template,
1460         build_selector_template, build_class_template,
1461         build_super_template, build_ivar_template,
1462         build_ivar_list_template, build_method_list_template,
1463         build_method_template, add_instance_variable): Likewise.
1464
1465 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
1466
1467         * stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and
1468         OP2 are known to be not equivalent.
1469
1470 2003-06-26  Devang Patel <dpatel@apple.com>
1471
1472         * final.c (debug_flush_symbol_queue): New function.
1473         (debug_queue_symbol): New function.
1474         (debug_free_queue): New function.
1475         (debug_nesting): New variable.
1476         (symbol_queue): New variable.
1477         (symbol_queue_index): Same.
1478         (symbol_queue_size): Same.
1479         * debug.h (debug_flush_symbol_queue): New.
1480         (debug_queue_symbol): New.
1481         (debug_free_queue): New.
1482         (debug_nesting): New.
1483         (symbol_queue_index): New.
1484         * dbxout.c (DBXOUT_DECR_NESTING): New macro.
1485         (DBXOUT_DECR_NESTING_AND_RETURN): New macro.
1486         (dbxout_init): Delay symbol output.
1487         (dbxout_global_decl): Save, set and reset TREE_USED bit around
1488         dbxout_symbol() call.
1489         (dbxout_begin_function): Same.
1490         (dbxout_finish): Free symbol queue.
1491         (dbxout_type): Put appropriate symbols in queue.
1492         (dbxout_symbol): Put info for symbol's type in queue.
1493         Decrement/Increment nesting counts flush symbol queue appropriately.
1494         (dbxout_parms): Increment dbxout nesting.
1495         (dbxout_reg_parms): Same.
1496         * flags.h (flag_debug_only_used_symbols): New.
1497         * toplev.c (flag_debug_only_used_symbols): New variable.
1498         (lang_independent_options): Add entries for new option
1499         -feliminate-unused-debug-symbols.
1500         * common.opt: Add entry for -feliminate-unused-debug-symbols.
1501         * opts.c (common_handle_options): Same.
1502         * config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as
1503         -feliminate-unused-debug-symbols.
1504         * doc/invoke.texi (Debugging Options): Document
1505         -feliminate-unused-debug-symbols.
1506
1507 2003-06-26  Roger Sayle  <roger@eyesopen.com>
1508             Jakub Jelinek  <jakub@redhat.com>
1509
1510         * builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to
1511         obtain the format string instead of using TREE_STRING_POINTER and
1512         TREE_STRING_LENGTH.  Only optimize sprintf(dst,"%s",src) when the
1513         return value is unused or the length of src is a known constant.
1514
1515 2003-06-26  Richard Henderson  <rth@redhat.com>
1516
1517         * config/ia64/ia64.h (REGISTER_NAMES): R0 is really AP.
1518
1519 2003-06-26  Richard Henderson  <rth@redhat.com>
1520
1521         * config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls.
1522         (ia64_split_call): Only load descriptor for GP register inputs.
1523         (ia64_expand_epilogue): Check current_frame_info.mask not
1524         current_function_is_leaf to restore ar.pfs.
1525
1526 2003-06-26  Richard Henderson  <rth@redhat.com>
1527
1528         * emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE
1529         instead of replacing it.
1530
1531 2003-06-26  Richard Henderson  <rth@redhat.com>
1532
1533         * flow.c (propagate_one_insn): Kill function return value
1534         registers across tail calls.
1535
1536         * flow.c (propagate_one_insn): Preserve live-at-end registers
1537         across tail calls.
1538
1539 2003-06-26  J"orn Rennecke <joern.rennecke@superh.com>
1540
1541         * reload.c (can_reload_into): New function.
1542         (push_reload): Use it.
1543
1544 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
1545
1546         * config/h8300/h8300.c (compute_a_rotate_length): Fix the
1547         references to the amount of a rotation.
1548
1549 2003-06-26  Nathanael Nerode  <neroden@gcc.gnu.org>
1550
1551         * config/sh/coff.h: Don't include dbxcoff.h.
1552         * config.gcc: List it here.
1553
1554 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
1555
1556         * postreload.c (reload_cse_simplify_set): Call cselib_lookup
1557         earlier.  Don't check if SRC is a constant.
1558
1559 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
1560
1561         * Makefile.in (OBJS): Add postreload.o.
1562         Remove cselib.h from the dependency list for reload1.o.
1563         Add a dependency list for postreload.o.
1564         * reload.h: Change the comment for the prototype of
1565         reload_cse_regs.
1566         * reload1.c: Don't include cselib.h.
1567         (reload_cse_regs): Move to postreload.c
1568         (reload_cse_regs_1): Likewise.
1569         (reload_cse_noop_set_p): Likewise.
1570         (reload_cse_simplify_set): Likewise.
1571         (reload_cse_simplify_operands): Likewise.
1572         (RELOAD_COMBINE_MAX_USES): Likewise.
1573         (reload_combine_ruid): Likewise.
1574         (LABEL_LIVE): Likewise.
1575         (reload_combine): Likewise.
1576         (reload_combine_note_use): Likewise.
1577         (reload_combine_note_store): Likewise.
1578         (reg_set_luid): Likewise.
1579         (reg_offset): Likewise.
1580         (reg_base_reg): Likewise.
1581         (reg_mode): Likewise.
1582         (move2add_luid): Likewise.
1583         (move2add_last_label_luid): Likewise.
1584         (MODES_OK_FOR_MOVE2ADD): Likewise.
1585         (reload_cse_move2add): Likewise.
1586         (move2add_note_store): Likewise.
1587         (reload_cse_simplify): Likewise.
1588         * postreload.c: New.
1589
1590 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
1591
1592         * config/avr/avr.c (final_prescan_insn): Remove support for
1593         -mrtl.
1594         * config/avr/avr.h (MASK_RTL_DUMP): Remove.
1595         (TARGET_RTL_DUMP): Likewise.
1596         (TARGET_SWITCHES): Remove -mrtl.
1597
1598 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
1599
1600         * config/h8300/h8300-protos.h: Change emit_a_rotate to
1601         output_a_rotate.  Add a prototype for compute_a_rotate_length.
1602         * config/h8300/h8300.c (emit_a_rotate): Change to
1603         output_a_rotate.
1604         (compute_a_rotate_length): New.
1605         (h8300_adjust_insn_length): Remove.
1606         * config/h8300/h8300.h (ADJUST_INSN_LENGTH): Remove.
1607         * config/h8300/h8300.md (adjust_length): Remove.
1608         (*rotlqi3_1): Use output_a_rotate and compute_a_rotate_length.
1609         (*rotlhi3_1): Likewise.
1610         (*rotlsi3_1): Likewise.
1611
1612 2003-06-26  Roger Sayle  <roger@eyesopen.com>
1613             Richard Henderson  <rth@redhat.com>
1614
1615         * builtins.c (expand_builtin_mathfn): Always stabilize the argument
1616         list against re-evaluation.  If expand_unop fails, call expand_call
1617         with the stabilized argument list rather than return NULL_RTX.
1618         (expand_builtin_mathfn2): Likewise, always stabilize the argument
1619         list, and call expand_call ourselves if expand_binop fails.
1620
1621 2003-06-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
1622
1623         PR optimization/11210
1624         * fold-const (decode_field_reference): Strip only NOPs that
1625         don't affect the sign.
1626
1627 2003-06-26  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>
1628
1629         * gcc/config/sh/sh.md (push_fpscr): Enable for TARGET_SH2E.
1630         (pop_fpscr, fpu_switch): Likewise.
1631
1632 2003-06-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1633
1634         * value-prof.c: New.
1635         * value-prof.h: New.
1636         * Makefile.in (value-prof.o): New.
1637         (LIBGCOV): Add _gcov_merge_single and _gcov_merge_delta
1638         (profile.o): Add value-prof.h and tree.h dependency.
1639         * flags.h (flag_profile_values): Declare.
1640         * gcov-io.h (GCOV_COUNTERS, GCOV_COUNTER_NAMES, GCOV_MERGE_FUNCTIONS):
1641         Add new counters.
1642         (GCOV_COUNTER_V_INTERVAL, GCOV_COUNTER_V_POW2, GCOV_COUNTER_V_SINGLE,
1643         GCOV_COUNTER_V_DELTA): New counter sections.
1644         (__gcov_merge_single, __gcov_merge_delta): Declare.
1645         * flow.c (mark_used_regs): Set subregs_of_mode only when the
1646         structure is initialized.
1647         * libgcov.c (__gcov_merge_single, __gcov_merge_delta): New functions.
1648         * profile.c: Include value-prof.h and tree.h.
1649         (gen_interval_profiler, gen_pow2_profiler, gen_one_value_profiler,
1650         gen_const_delta_profiler, instrument_values): New static functions.
1651         (get_exec_counts): Fix comment.
1652         (branch_prob): Invoke instrument_values.
1653         * toplev.c (flag_profile_values): New flag.
1654         * doc/invoke.texi (-fprofile-values): Document.
1655
1656 2003-06-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1657
1658         * Makefile.in (cfgrtl.o): Add expr.h dependency.
1659         * cfgrtl.c: Include expr.h.
1660         (mark_killed_regs, safe_insert_insn_on_edge): New
1661         functions.
1662         * config/i386/i386.h (AVOID_CCMODE_COPIES): Define.
1663         * basic-block.h (safe_insert_insn_on_edge): Declare.
1664
1665 2003-06-26  Neil Booth  <neil@daikokuya.co.uk>
1666
1667         * c-opts.c (missing_arg): Make non-static.
1668         (c_common_handle_option): Don't check for missing arguments.
1669         * opts.c (handle_option): Check for missing arguments.
1670
1671 2003-06-26  David Edelsohn  <edelsohn@gnu.org>
1672
1673         * config/rs6000/power4.md (power4-veccomplex): Correct latency.
1674
1675 2003-06-25  Loren James Rittle  <ljrittle@acm.org>
1676
1677         * configure.in (ld_vers): Portability [sed].
1678         * configure: Regenerate with autoconf213.
1679
1680 2003-06-25  H.J. Lu <hongjiu.lu@intel.com>
1681
1682         * doc/extend.texi: Document new builtin functions for Intel
1683         Prescott New Intrunctions.
1684
1685         * doc/invoke.texi: Document new command-line options, -mpni and
1686         -mno-pni, for Intel Prescott New Intrunctions.
1687
1688         * config.gcc (extra_headers): Add pmmintrin.h for i[34567]86-*-*.
1689
1690         * config/i386/i386.c (override_options): Turn on MASK_SSE2
1691         for -mpni. Turn on MASK_SSE for -msse2.
1692         (bdesc_2arg): Add PNI builtins with 2 args.
1693         (bdesc_1arg): Add PNI builtins with 1 arg.
1694         (ix86_init_mmx_sse_builtins): Handle PNI builtins.
1695         (ix86_expand_builtin): Likewise.
1696
1697         * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A,
1698         MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT,
1699         MASK_TLS_DIRECT_SEG_REFS): Renumbered.
1700         (TARGET_PNI): New.
1701         (TARGET_SWITCHES): Don't enable MASK_SSE for -msse2 here. Add
1702         -mpni and -mno-pni.
1703         (TARGET_CPU_CPP_BUILTINS): Defined __PNI__ for PNI.
1704         (ix86_builtins): Add PNI builtins.
1705         (config/i386/i386.md): Add PNI patterns.
1706
1707         * config/i386/pmmintrin.h: New file.
1708
1709 2003-06-25  Kazu Hirata  <kazu@cs.umass.edu>
1710
1711         * config/h8300/h8300.md (call): Fix the insn lengths.
1712         (call_value): Likewise.
1713
1714 Thu Jun 26 00:13:35 CEST 2003  Jan Hubicka  <jh@suse.cz>
1715
1716         * c-common.c (handle_used_attribute): Use mark_referenced.
1717         * varasm.c (mark_referenced): Break out from ...
1718         (assemble_name): ... here.
1719         * tree.h (mark_referenced): Declare.
1720
1721 2003-06-25  Wolfgang Bangerth  <bangerth@dealii.org>
1722
1723         * gccbug.in: Add PCH to list of categories.
1724
1725 2003-06-25 Martin Schaffner <schaffner@gmx.li>
1726
1727         * cppfiles.c: Clarify comments.
1728         * cpphash.h: Likewise.
1729         * cpplib.h: Likewise.
1730         * cppmacro.c: Likewise.
1731         * mkdeps.h: Likewise.
1732
1733 2003-06-25  Neil Booth  <neil@daikokuya.co.uk>
1734
1735         * c-opts.c (complain_wrong_lang, write_langs): Remove.
1736         (c_common_handle_option): Complaints about wrong language are
1737         handled in opts.c now.
1738         * opts.c (complain_wrong_lang, write_langs, handle_options): New.
1739         (find_opt): Fix thinko.
1740         (handle_option): Update prototype.  Complain about switches for
1741         a different front end.
1742         * opts.h (lang_names, handle_options): New.
1743         (handle_option): Remove.
1744         * opts.sh: Write out language names array.
1745         * toplev.c (parse_options_and_default_flags): Use handle_options.
1746
1747 2003-06-25  H.J. Lu <hongjiu.lu@intel.com>
1748
1749         * config/i386/i386.c (MASK_SSE1): Removed.
1750         (MASK_SSE164): Removed.
1751         (MASK_SSE264): Removed.
1752         (bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace
1753         MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264
1754         with MASK_SSE2 | MASK_64BIT.
1755         (bdesc_1arg): Likewise.
1756         (ix86_init_mmx_sse_builtins): Likewise.
1757
1758         * config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2.
1759         (TARGET_SWITCHES): Enable both MASK_SSE and MASK_SSE2 for
1760         -msse2.
1761
1762 2003-06-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1763
1764         * hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros.
1765         (HOST_WIDE_INT_PRINT_DEC_SPACE,
1766         HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
1767         HOST_WIDEST_INT_PRINT_DEC_SPACE,
1768         HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete.
1769         (HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C,
1770         HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in
1771         terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C.
1772
1773         * final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT.
1774         * ra-debug.c (dump_static_insn_cost): Likewise.
1775
1776 2003-06-26  Nick Clifton  <nickc@redhat.com>
1777
1778         * config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead
1779         of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
1780         Replace occurances of '???' with 'XXX' incase they are
1781         mistaken for trigraphs.
1782         (THUMB_PRINT_OPERAND_ADDRESS): abort if a compound address
1783         does not have a register for the first operand.
1784
1785 2003-06-25      Dhananjay Deshpande <dhananjayd@kpitcummins.com>
1786
1787         * config/sh/sh.c (sh_register_move_cost):
1788         Add case for moving between MAC_REGS.
1789
1790 2003-06-25  Zack Weinberg  <zack@codesourcery.com>
1791
1792         PR 10178
1793         * langhooks.h (struct lang_hooks): Add no_body_blocks bool.
1794         * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): New; default false.
1795         * c-lang.c, objc/objc-lang.c: Override LANG_HOOKS_NO_BODY_BLOCKS
1796         to true.
1797         * stmt.c (is_body_block): If lang_hooks.no_body_blocks, always
1798         return 0.
1799
1800 2003-06-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1801
1802         * Makefile.in (bt-load.o): Depend on $(TM_P_H).
1803         * bt-load.c: Include "tm_p.h".
1804
1805 2003-06-25  Kazu Hirata  <kazu@cs.umass.edu>
1806
1807         * config/h8300/h8300.c (compute_mov_length): Adjust for the
1808         new optimization.
1809         * config/h8300/h8300.md (*movsi_h8300): Optimize the load of
1810         an SImode constant whose upper and lower are the same.
1811
1812 Wed Jun 25 11:31:59 CEST 2003  Jan Hubicka  <jh@suse.cz>
1813
1814         * varasm.c (assemble_name): Mark needed variables even when
1815         global info is ready.
1816
1817 2003-06-24  Jerry Quinn  <jlquinn@optonline.net>
1818
1819         PR other/11280
1820         * gcc/doc/invoke.texi (Optimization Options): Remove -Os from
1821         -freorder-functions description.
1822
1823 2003-06-25  Josef Zlomek  <zlomekj@suse.cz>
1824
1825         * dwarf2out.c (gen_field_die): Return if type of decl is error mark.
1826
1827 2003-06-25  Neil Booth  <neil@daikokuya.co.uk>
1828
1829         * opts.c (common_handle_option): Add missing break;s.
1830
1831 2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
1832
1833         * config/h8300/h8300-protos.h: Add a prototype for
1834         compute_mov_length.
1835         * config/h8300/h8300.c (compute_mov_length): New.
1836         * config/h8300/h8300.md (*movqi_h8300): Use it.
1837         (*movqi_h8300hs): Likewise.
1838         (movstrictqi): Likewise.
1839         (*movhi_h8300): Likewise.
1840         (*movhi_h8300hs): Likewise.
1841         (movstricthi): Likewise.
1842         (*movsi_h8300): Likewise.
1843         (*movsf_h8300): Likewise.
1844         (*movsi_h8300hs): Likewise.
1845         (*movsf_h8300hs): Likewise.
1846
1847 2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
1848
1849         * jump.c (next_nondeleted_insn): Remove.
1850         * rtl.h: Remove the prototype for next_nondeleted_insn.
1851
1852 2003-06-24  Roger Sayle  <roger@eyesopen.com>
1853
1854         PR optimization/11311
1855         * builtins.c (powi_cost): Fix typo.  The number of multiplications
1856         required is the number to reduce the argument, result, plus the
1857         cost of calculating the residual, val [not n, the original value].
1858
1859 2003-06-24  Roger Sayle  <roger@eyesopen.com>
1860
1861         * config/alpha/osf5.h (TARGET_C99_FUNCTIONS): Define.
1862
1863 2003-06-24  Richard Henderson  <rth@redhat.com>
1864             (blame to: Loren James Rittle  <ljrittle@acm.org>)
1865
1866         * real.h (ieee_extended_intel_96_round_53_format): New.
1867         * real.c (ieee_extended_intel_96_round_53_format): New.
1868         * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it
1869         for XFmode and TFmode.
1870
1871 2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
1872
1873         * config/h8300/h8300.md (4 anonymous patterns): Give internal
1874         names.
1875         (movsi_h8300): Change the name to *movsi_h8300.
1876         (movsi_h8300hs): Change the name to *movsi_h8300hs.
1877         (movsf_h8300): Change the name to *movsf_h8300.
1878         (movsf_h8300hs): Change the name to *movsf_h8300hs.
1879
1880 2003-06-24  Jakub Jelinek  <jakub@redhat.com>
1881
1882         * builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in
1883         src twice.
1884
1885 2003-06-24  J"orn Rennecke <joern.rennecke@superh.com>
1886
1887         Back out these patches:
1888          2003-06-02  J"orn Rennecke <joern.rennecke@superh.com>
1889           * sh.h (OLD_ARG_MODE): New macro.
1890           (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
1891           (FUNCTION_ARG_1): Break out of:
1892           (FUNCTION_ARG).  Use OLD_ARG_MODE.
1893          2003-06-06  J"orn Rennecke <joern.rennecke@superh.com>
1894           * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
1895           of the generated register.
1896
1897         * sh.h (FUNCTION_ARG_SCmode_WART): Define.
1898         (FUNCTION_ARG): Unless FUNCTION_ARG_SCmode_WART is defined and
1899         an even number of floating point regs are in use, use the same
1900         sequence of argument passing registers for SCmode as would be
1901         used for two SFmode values.
1902         * sh.c (sh_va_arg): If FUNCTION_ARG_SCmode_WART is defined,
1903         swap real / imaginary parts in incoming SCmode values passed
1904         in registers.
1905
1906 2003-06-24  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
1907
1908         PR target/11260
1909         * config/alpha/alpha.md (sqrtdf2): Fix operand substitution.
1910
1911 Tue Jun 24 18:49:33 CEST 2003  Jan Hubicka  <jh@suse.cz>
1912
1913         * Makefile.in (cgraph.o): Depend on output.h, not depend on
1914         tree-inline.h
1915         * cgraph.c: Do not include tree-inline.h; include output.h
1916         (known_fns): Rename to ...
1917         (known_decls): ... this one; update all uses.
1918         (cgraph_varpool_hash): New static variable.
1919         (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): New global
1920         variables.
1921         (cgraph_varpool_hash_node, eq_cgraph_varpool_node, cgraph_varpool_node,
1922         cgraph_varpool_node_for_identifier, cgraph_varpool_mark_needed_node,
1923         cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
1924         New functions.
1925         * cgraph.h (cgraph_varpool_node): New structure.
1926         (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): Declare.
1927         (cgraph_varpool_node, cgraph_varpool_node_for_identifier,
1928         cgraph_varpool_finalize_decl, cgraph_varpool_mark_needed_node,
1929         cgraph_varpool_asemble_pending_decls): Declare.
1930         * cgraphunit.c (record_call_1): Notice variable references.
1931         (cgraph_finalize_compilation_unit): Assemble pending variables.
1932         * toplev.c (wrapup_global_declarations): Use varpool.
1933         (compile_file): Assemble pending declarations.
1934         (rest_of_decl_compilation): Use varpool in unit-at-a-time mode.
1935         * varasm.c (assemble_name): Notice varpool references.
1936
1937 Tue Jun 24 13:52:11 CEST 2003  Jan Hubicka  <jh@suse.cz>
1938
1939         * langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro.
1940         * langhooks.h (lang_hooks_for_decls): Add prepare_assemble_variable.
1941         * varasm.c (assemble_variable): Call prepare_assemble_variable.
1942
1943 2003-06-23  Roger Sayle  <roger@eyesopen.com>
1944
1945         * builtins.c (expand_builtin): Use expand_builtin_pow to expand
1946         calls for pow, powf, powl and their __builtin_ variants.
1947         (expand_builtin_pow): If the second argument is a constant
1948         integer and compiling with -ffast-math, use expand_powi to
1949         generate RTL if powi_cost is less than POWI_MAX_MULTS.
1950         (powi_cost): New function to return the number of multiplications
1951         necessary to evaluate an Nth power, for integer constant N.
1952         (expand_powi): New function to expand the RTL for evaluating
1953         the Nth power of a floating point value, for integer constant N.
1954
1955         * doc/tm.texi (POWI_MAX_MULTS): Document new target macro.
1956
1957 Mon Jun 23 23:07:35 CEST 2003  Jan Hubicka  <jh@suse.cz>
1958
1959         * cgraph.c (cgraph_nodes_queue): Declare.
1960         (eq_node): Take identifier as p2.
1961         (cgraph_node): Update htab_find_slot_with_hash call.
1962         (cgraph_node_for_identifier): New.
1963         (cgraph_mark_needed_node): Move here from cgraphunit.c.
1964         * cgraph.h (cgraph_nodes_queue): Declare.
1965         (cgraph_node_for_identifier): Declare.
1966         * cgraphunit.c (cgraph_finalize_function): Collect entry points here
1967         instead of in cgraph_finalize_compilation_unit; constructors and
1968         destructors are entry points.
1969         (cgraph_finalize_compilation_unit): Reorganize debug outout;
1970         examine nested functions after lowerng; call collect_functions hook.
1971         (cgraph_mark_local_functions): DECL_COMDAT functions are not local.
1972         (cgraph_finalize_compilation_unit): Do not collect entry points.
1973         * varasm.c: Include cgraph.h
1974         (assemble_name): Mark referenced identifier as needed.
1975
1976         * cgraphunit.c (record_call_1): Use get_callee_fndecl.
1977
1978 2003-06-23  Jakub Jelinek  <jakub@redhat.com>
1979
1980         * config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0,
1981         just SYMBOL_REF.
1982         * config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31
1983         mode, as it requires pic register loaded.
1984
1985         * varasm.c (resolve_unique_section): Remove prototype.  No longer
1986         static.
1987         * tree.h (resolve_unique_section): New prototype.
1988
1989 2003-06-23  Andreas Schwab  <schwab@suse.de>
1990
1991         PR debug/9905
1992         * dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by
1993         recursing through first argument.
1994
1995 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
1996
1997         * ChangeLog.1: Fix a typo.
1998         * cfgrtl.c: Fix comment typos.
1999         * dwarf2out.c: Likewise.
2000         * expmed.c: Likewise.
2001         * genrecog.c: Likewise.
2002         * jump.c: Likewise.
2003         * rtlanal.c: Likewise.
2004         * ssa-dce.c: Likewise.
2005         * toplev.c: Likewise.
2006
2007 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
2008
2009         * doc/extend.texi: Fix typos.
2010         * doc/md.texi: Likewise.
2011         * doc/tm.texi: Likewise.
2012
2013 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
2014
2015         * basic-block.h: Fix comment formatting.
2016         * bt-load.c: Likewise.
2017         * builtins.c: Likewise.
2018         * c-common.c: Likewise.
2019         * c-common.h: Likewise.
2020         * c-format.c: Likewise.
2021         * coverage.c: Likewise.
2022         * cpplib.h: Likewise.
2023         * cpppch.c: Likewise.
2024         * dbxout.c: Likewise.
2025         * diagnostic.c: Likewise.
2026         * dwarf2out.c: Likewise.
2027         * expr.c: Likewise.
2028         * fold-const.c: Likewise.
2029         * function.c: Likewise.
2030         * gcc.c: Likewise.
2031         * gcov-io.c: Likewise.
2032         * gcov-io.h: Likewise.
2033         * gcov.c: Likewise.
2034         * profile.c: Likewise.
2035         * real.h: Likewise.
2036         * sched-deps.c: Likewise.
2037
2038 2003-06-23  Roger Sayle  <roger@eyesopen.com>
2039             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2040
2041         * doc/contrib.texi (Contributors): Add a note on testing and
2042         remove duplicates from testers list.
2043
2044 2003-06-23  Nick Clifton  <nickc@redhat.com>
2045
2046         * read-rtl.c (read_braced_string): Check for EOF.  If
2047         encountered issue an error message.
2048
2049 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
2050
2051         * doc/invoke.texi: Document dump options, dT and dW.
2052
2053 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
2054
2055         * genrecog.c (pred_table): Remove the entry for
2056         mode_independent_operand.
2057         * recog.c (next_insns_test_no_inequality): Remove.
2058         (mode_independent_operand): Likewise.
2059         * recog.h: Remove the prototype for mode_independent_operand.
2060
2061 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
2062
2063         * config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
2064         store into bit 0.
2065         * config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the
2066         second alternative to set_znv.
2067         (*extzv_1_r_inv_h8300hs): Likewise.
2068
2069 2003-06-23  Hans-Peter Nilsson  <hp@bitrange.com>
2070
2071         * configure.in (in_tree_gas): Find out here whether GAS is ELF,
2072         set in_tree_gas_is_elf accordingly.
2073         (in_tree_ld): Find out whether LD emulation is ELF, set
2074         in_tree_ld_is_elf accordingly.
2075         (gcc_cv_as_subsections, gcc_cv_as_hidden, gcc_cv_as_leb128)
2076         (gcc_cv_as_eh_frame, gcc_cv_as_shf_merge)
2077         (gcc_cv_as_dwarf2_debug_line, gcc_cv_as_gdwarf2_flag)
2078         (gcc_cv_as_gstabs_flag): Use $in_tree_gas_is_elf instead of
2079         grepping gas/Makefile.
2080         (gcc_cv_ld_ro_rw_mix, gcc_cv_ld_eh_frame_hdr, gcc_cv_ld_pie): Use
2081         $in_tree_ld_is_elf instead of grepping ld/Makefile.
2082         * configure: Regenerate.
2083
2084 2003-06-22  Roger Sayle  <roger@eyesopen.com>
2085
2086         * builtins.c (expand_builtin_mathfn_2): Use tree_cons to build
2087         up the stabilized argument list, not build_tree_list.
2088         (expand_builtin_strcpy): Construct new argument list manually
2089         instead of using chainon to modify the original argument list.
2090         (expand_builtin_stpcpy): Construct new argument list manually
2091         instead of using copy_list and chainon.
2092         (expand_builtin_sprintf): New function.  Optimize calls to
2093         sprintf when the format is "%s" or doesn't contain a '%'.
2094         (expand_builtin): Expand BUILT_IN_SPRINTF using the new function
2095         expand_builtin_sprintf.
2096
2097 2003-06-22  Andreas Schwab  <schwab@suse.de>
2098
2099         * function.c (set_insn_locators): Mark as unused.
2100
2101 2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
2102
2103         * common.opt: Add -finline-limit.
2104         * opts.c (common_handle_options): Handle it.
2105         * opts.sh: Temporary kludge for -finline-limit.
2106         * toplev.c (decode_f_option, independent_decode_option): Die.
2107         (parse_options_and_default_flags): No independent_decode_option.
2108
2109 2003-06-22  Andreas Jaeger  <aj@suse.de>
2110
2111         * calls.c (emit_call_1): Readd lost ATTRIBUTE_UNUSED.
2112
2113 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
2114
2115         * doc/invoke.texi: Document dumps, .btl, .cfg, and .bypass.
2116
2117 2003-06-22  Andreas Schwab  <schwab@suse.de>
2118
2119         * doc/invoke.texi: Remove leading `-' from options in index.
2120
2121 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
2122
2123         * bt-load.c: Follow spelling conventions.
2124
2125 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
2126
2127         * expr.c (emit_move_insn_1): Fix a comment typo.
2128
2129 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
2130
2131         * doc/invoke.texi: Alphabetize dump options.
2132
2133 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
2134
2135         * doc/invoke.texi: Remove a duplicate -dk.
2136
2137 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
2138
2139         * doc/invoke.texi: Update dump file names.
2140
2141 2003-06-22  Zack Weinberg  <zack@codesourcery.com>
2142
2143         * config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII
2144         and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC.
2145
2146 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
2147
2148         * doc/rtl.texi: Fix the @findex for pre_modify.
2149
2150 2003-06-22  Andreas Jaeger  <aj@suse.de>
2151
2152         * caller-save.c: Convert to ISO C90.
2153         * calls.c: Likewise.
2154         * cfg.c: Likewise.
2155         * cfganal.c: Likewise.
2156         * cfgbuild.c: Likewise.
2157         * cfgcleanup.c: Likewise.
2158         * cfghooks.c: Likewise.
2159         * cfglayout.c: Likewise.
2160         * cfglayout.h: Likewise.
2161         * cfgloop.c: Likewise.
2162         * cfgloop.h: Likewise.
2163         * cfgloopanal.c: Likewise.
2164         * cfgloopmainip.c: Likewise.
2165         * cfgrtl.c: Likewise.
2166
2167 2003-06-22  Richard Earnshaw  <rearnsha@arm.com>
2168
2169         * arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting
2170         64-bit alignment.
2171
2172 2003-06-22  Richard Earnshaw  <rearnsha@arm.com>
2173
2174         * arm.md (all call_value patterns): Remove register constraints on
2175         value operand.
2176
2177 2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
2178
2179         * common.opt: More -f switches.
2180         * opts.c (common_handle_options): Handle them.
2181         * toplev.c (time_report): Make extern.
2182         (f_options): USe flag_dummy.
2183         (decode_f_option): No need to use f_options now.
2184         * toplev.h (flag_cprop_registers, flag_ssa, flag_ssa_ccp,
2185         flag_ssa_dce, time_report, flag_new_regalloc): Make extern.
2186
2187 2003-06-22  Andreas Jaeger  <aj@suse.de>
2188
2189         * c-lex.c: Convert to ISO C90.
2190         * c-objc-common.c: Likewise.
2191         * c-opts.c: Likewise.
2192         * c-pch.c: Likewise.
2193         * c-ppoutput.c: Likewise.
2194         * c-pragma.h: Likewise.
2195         * c-pretty-print.c: Likewise.
2196         * c-pretty-print.h: Likewise.
2197         * c-semantics.c: Likewise.
2198         * c-tree.h: Likewise.
2199         * c-typeck.c: Likewise.
2200
2201         * c-lang.c: Convert to ISO C90.
2202
2203 2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
2204
2205         * opts.c (find_opt): Fix to always guarantee a find of a
2206         switch with joined parameter.
2207         * opts.h (struct cl_option): New member back_chain.
2208         * opts.sh: Update to calculate and add back_chain member.
2209
2210 2003-06-22  Gabriel Dos Reis <gdr@integrable-solutions.net>
2211
2212         * diagnostic.h (output_host_wide_integer): Declare.
2213         * diagnostic.c (output_long_long_decicaml): New function.
2214         (output_host_wide_integer): Likewise.
2215         (output_format): Use them.  Handle "%ll" and "%w".
2216
2217 2003-06-21  Jason Thorpe  <thorpej@wasabisystems.com>
2218
2219         * config.gcc (*-*-netbsd*): Add t-libgcc-pic to tmake_file.
2220
2221 2003-06-21  Zack Weinberg  <zack@codesourcery.com>
2222
2223         * aclocal.m4 (gcc_AC_C_CHARSET): Delete.
2224         * configure.in: Don't use gcc_AC_C_CHARSET.
2225         * configure, config.in: Regenerate.
2226         * config/i370/i370.c, config/i370/i370.h: Use
2227         (HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII)
2228         instead of HOST_EBCDIC or !HOST_EBCDIC.  Clarify comments a tad.
2229
2230 2003-06-21  Neil Booth  <neil@daikokuya.co.uk>
2231
2232         * Makefile.in: Update.
2233         * common.opt: New switches.
2234         * opts.c: Include diagnostic.h.
2235         (common_handle_option): Handle new switches.
2236         * toplev.c (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
2237         flag_if_conversion2, flag_delete_null_pointer_checks,
2238         flag_rerun_cse_after_loop): Make extern.
2239         (flag_dummy): New.
2240         (f_options): Update to use flag_dummy for moved options.
2241         (decode_f_option): Some switches moved to opts.c.
2242         * toplev.h (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
2243         flag_if_conversion2, flag_delete_null_pointer_checks,
2244         flag_rerun_cse_after_loop, flag_keep_static_consts, flag_peel_loops,
2245         flag_tracer, flag_thread_jumps, flag_unroll_loops,
2246         flag_unroll_all_loops, flag_unswitch_loops): New.
2247
2248 Sat Jun 21 13:41:00 CEST 2003  Jan Hubicka  <jh@suse.cz>
2249
2250         * i386.c (ix86_va_arg): Fix allocation of temporary slot.
2251
2252 2003-06-20  Kazu Hirata  <kazu@cs.umass.edu>
2253
2254         * config/h8300/h8300-protos.h: Add a prototype for
2255         same_cmp_preceding_p.
2256         * config/h8300/h8300.c (same_cmp_preceding): New.
2257         * config/h8300/h8300.md: Extend peephole2's that transform
2258         compare:SI into shorter sequences so that they can deal with
2259         signed comparisons.
2260
2261 2003-06-21  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2262
2263         * doc/contrib.texi (Contributors): Use Windows instead of Win32.
2264
2265         Update Andreas Jaeger's entry.
2266
2267         Merge the two entries of Kaveh Ghazi, David Edelsohn, and
2268         Loren J. Rittle.
2269
2270 2003-06-21  Nathanael Nerode  <neroden@gcc.gnu.org>
2271
2272         * mkconfig.sh: Add multiple inclusion guards to generated headers.
2273
2274 2003-06-20  Neil Booth  <neil@daikokuya.co.uk>
2275
2276         * c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.
2277         * common.opt: Add remaining -W options and -g.
2278         * diagnostic.c (warnings_are_errors): Remove.
2279         * flags.h: Make most warning flags boolean.
2280         * opts.c (common_handle_option): Handle remaining -W options, and -g.
2281         Move many warning flags from toplev.c, making them boolean.
2282         * toplev.c: Remove many warning flags.
2283         (decode_W_option): Remove.
2284         (decode_g_option): Make extern.  Error on unknown switch.
2285         (lang_independent_W_options): Use warn_dummy.
2286         (independent_decode_option): Just handle -f switches now.
2287         * toplev.h (decode_g_option): New.
2288
2289 2003-06-20  Aldy Hernandez  <aldyh@redhat.com>
2290
2291         PR/11092
2292         * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for
2293         vectors.
2294
2295 2003-06-20  Kelley Cook  <kelleycook@wideopenwest.com>
2296
2297         * opts.sh: Tweak awk script for portability.
2298
2299 2003-06-20  Mark Mitchell  <mark@codesourcery.com>
2300
2301         PR c++/10888
2302         * tree-inline.c (expand_call_inline): Do not warn about failing to
2303         inline functions declared in system headers.
2304         * doc/invoke.texi (-Winline): Expand on documentation.
2305
2306 2003-06-20  Richard Henderson  <rth@redhat.com>
2307
2308         * config/alpha/alpha.c (alpha_file_start): Disable
2309         file_start_file_directive for ELF and not MDEBUG.
2310
2311 2003-06-20  J"orn Rennecke <joern.rennecke@superh.com>
2312
2313         * sh.h (ROUND_TYPE_ALIGN): Remove.
2314
2315 2003-06-20  Richard Henderson  <rth@redhat.com>
2316
2317         * hooks.c (hook_int_void_no_regs): Rename from
2318         hook_reg_class_void_no_regs; change return type.
2319         * hooks.h: Update.
2320         * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Update.
2321         * target.h (branch_target_register_class): Change return type to int.
2322         Add documentation.
2323         * config/sh/sh.c (sh_target_reg_class): Change return type.
2324         * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise.
2325
2326 2003-06-20  Andreas Tobler <toa@pop.agri.ch>
2327
2328         * c-format.c: Change _Bool to bool reverting part of the last
2329         patch.
2330
2331 2003-06-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2332
2333         * som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to
2334         strip name encoding.
2335
2336 2003-06-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2337
2338         * configure.in (gcc_cv_as_gstabs_flag): Disable if assembler warns.
2339         * configure: Regenerate.
2340         Fixes PR driver/9362.
2341
2342 2003-06-20  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2343
2344         * config/alpha/alpha.c (alpha_file_start): Fix typo.
2345
2346 2003-06-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2347
2348         * config/mips/mips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg
2349         to ASM_OUTPUT_SOURCE_LINE.
2350
2351 2003-06-20  Daniel Egger  <degger@fhm.edu>
2352             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2353
2354         * doc/install.texi (Building): Correct and improve statement
2355         about parallel builds.
2356
2357 2003-06-20  Andreas Jaeger  <aj@suse.de>
2358
2359         * c-common.c: Change _Bool to bool reverting part of the last
2360         patch.
2361
2362 2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
2363
2364         * tree.h (expand_function_end): Remove all parameters.
2365         * function.c (expand_function_end): Remove all parameters.
2366         Use input_location. Never expand_end_bindings.
2367         * c-decl.c (c_expand_body_1): Adjust expand_function_end call.
2368         * coverage.c (create_coverage): Likewise.
2369
2370 2003-06-20  Nick Clifton  <nickc@redhat.com>
2371
2372         * doc/extend.texi (ARM Built-in Functions): New node.  Document
2373         ARM builtin functions for iWMMXt support.
2374
2375 2003-06-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
2376
2377         * doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and
2378         SPARC64/Solaris as platforms where --with-gnu-as makes a difference.
2379         (--with-as): Add @anchor.
2380         (--with-gnu-ld): Fix typo.
2381         (--with-ld): Add @uref to --with-as.
2382
2383 2003-06-19  Zack Weinberg  <zack@codesourcery.com>
2384
2385         * doc/tm.texi: Uniformly use @defmac for macros, rather than
2386         @table items.  Minor formatting and editorial corrections.
2387
2388 2003-06-20  Neil Booth  <neil@daikokuya.co.uk>
2389
2390         * line-map.c, line-map.h: Convert to ISO prototypes.
2391
2392 2003-06-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2393
2394         * gcse.c (store_killed_in_insn): Fix.
2395
2396 2003-06-19  Zack Weinberg  <zack@codesourcery.com>
2397
2398         * target.h (asm_out.file_start, file_start_app_off,
2399         file_start_file_directive): New hooks.
2400         * target-def.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE,
2401         TARGET_ASM_FILE_START_APP_OFF, TARGET_ASM_FILE_START):
2402         New hook-definition macros.
2403         * doc/tm.texi: Document new hooks; remove docs of ASM_FILE_START.
2404         * varasm.c (default_file_start): New.
2405         * output.h: Prototype it.
2406         * toplev.c (init_asm_output): Use targetm.asm_out.file_start.
2407         * system.h: Poison ASM_FILE_START.
2408
2409         * config/alpha/alpha.c (alpha_write_verstamp): Delete.
2410         (alpha_file_start): New, define if !TARGET_ABI_UNICOSMK.
2411         (unicosmk_asm_file_start): Rename unicosmk_file_start,
2412         make static, take no arguments.
2413         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_END,
2414         TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set as appropriate.
2415         * config/alpha/unicosmk.h: Don't define ASM_FILE_START nor
2416         TARGET_ASM_FILE_END.  Remove reference to ASM_FILE_START in
2417         comment.
2418         * config/arc/arc.c (arc_asm_file_start): Rename
2419         arc_file_start, take no arguments, make static.
2420         (TARGET_ASM_FILE_START): Set it.
2421         * config/arm/arm.c (aof_file_start): New static function.
2422         (TARGET_ASM_FILE_START): Set it, when appropriate.
2423         * config/arm/coff.h, config/arm/elf.h:
2424         Set TARGET_ASM_FILE_START_APP_OFF to true.
2425         * config/avr/avr.c (asm_file_start): Rename avr_file_start,
2426         take no arguments, make static.
2427         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
2428         Set them.
2429         * config/c4x/c4x.c (c4x_file_start): New static function.
2430         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
2431         Set them.
2432         * config/cris/cris.c (cris_file_start): New static function.
2433         (TARGET_ASM_FILE_START): Set it.
2434         * config/dsp16xx/dsp16xx.c (coff_dsp16xx_file_start): Rename
2435         dsp16xx_file_start, make static.
2436         (luxworks_dsp16xx_file_start): Delete.
2437         (TARGET_ASM_FILE_START): Set it.
2438         * config/h8300/h8300.c (asm_file_start): Rename
2439         h8300_file_start, make static, take no arguments.
2440         (TARGET_ASM_FILE_START): Set it.
2441         * config/i370/i370.c (i370_file_start): New static function.
2442         (TARGET_ASM_FILE_START): Set it.
2443         * config/i386/i386.c (x86_file_start): New static function.
2444         (TARGET_ASM_FILE_START): Set it.
2445         * config/i386/i386.h (X86_FILE_START_VERSION_DIRECTIVE,
2446         X86_FILE_START_FLTUSED): New macros, default to false.
2447         * config/i386/i386-interix.h: Override X86_FILE_START_FLTUSED to 1.
2448         * config/i386/sysv4.h, config/i386/sco5.h: Override
2449         X86_FILE_START_VERSION_DIRECTIVE to true.
2450         * config/ia64/ia64.c (ia64_file_start): New static function.
2451         (TARGET_ASM_FILE_START): Set it.
2452         (emit_safe_across_calls): Take no arguments.
2453         * config/ia64/ia64.md: Update to match.
2454         * config/m32r/m32r.c (m32r_asm_file_start): Rename
2455         m32r_file_start, make static, take no arguments.
2456         (TARGET_ASM_FILE_START): Set it.
2457         * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Rename
2458         m68hc11_file_start, make static, take no arguments.
2459         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
2460         (print_options): Delete.
2461         * config/m68k/m68k.c (m68k_hp320_file_start): New static function.
2462         (TARGET_ASM_FILE_START_APP_OFF): Set.
2463         * config/m68k/hp320.h: Set TARGET_ASM_FILE_START to
2464         m68k_hp320_file_start.
2465         * config/mips/mips.c (iris6_asm_file_start, mips_asm_file_start):
2466         Make static, take no arguments.
2467         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
2468         * config/mmix/mmix.c (mmix_asm_file_start): Rename
2469         mmix_file_start, make static, take no arguments.
2470         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
2471         * config/mn10300/mn10300.c (asm_file_start): Rename
2472         mn10300_file_start, make static, take no arguments.
2473         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
2474         * config/ns32k/ns32k.c (TARGET_ASM_FILE_START_APP_OFF): Set.
2475         * config/pa/pa.c (pa_file_start_level, pa_file_start_space,
2476         pa_file_start_file, pa_file_start_mcount, pa_elf_file_start,
2477         pa_som_file_start, pa_linux_file_start, pa_hpux64_gas_file_start,
2478         pa_hpux64_hpas_file_start): New static functions.
2479         * config/pa/elf.h: Set TARGET_ASM_FILE_START to pa_elf_file_start.
2480         * config/pa/pa-linux.h: Set TARGET_ASM_FILE_START to
2481         pa_linux_file_start.
2482         * config/pa/pa64-hpux.h: Set TARGET_ASM_FILE_START to
2483         pa_hpux64_gas_file_start or pa_hpux64_hpas_file_start, as
2484         appropriate.
2485         * config/pa/som.h: Set TARGET_ASM_FILE_START to pa_som_file_start.
2486         * config/rs6000/rs6000.c: Include xcoffout.h when TARGET_XCOFF.
2487         (rs6000_file_start): Make static, take no arguments.  Reset
2488         default_cpu under certain conditions.
2489         (rs6000_xcoff_file_start): New function.
2490         * config/rs6000/rs6000.h (TARGET_ASM_FILE_START): Set.
2491         * config/rs6000/xcoff.h (TARGET_ASM_FILE_START,
2492         TARGET_ASM_FILE_START_FILE_DIRECTIVE): Override.
2493         * config/sh/sh.c (output_file_start): Rename
2494         sh_file_start, make static, take no arguments.  Merge in old
2495         code from sh/elf.h's ASM_FILE_START, conditioned on TARGET_ELF.
2496         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
2497         * config/sh/sh.c (TARGET_ELF): Define to 0.
2498         * config/sh/elf.h (TARGET_ELF): Redefine to 1.
2499         * config/v850/v850.c (asm_file_start): Delete.
2500         (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
2501         * config/vax/vax.c (vax_file_start): New static function.
2502         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_APP_OFF): Set.
2503
2504         * config/darwin.h: Override ASM_FILE_START_FILE_DIRECTIVE to false.
2505         * config/elfos.h, config/svr3.h, config/arm/elf.h, config/arm/pe.h
2506         * config/i386/att.h, config/i386/gas.h, config/i386/linux.h
2507         * config/i386/sysv4.h, config/i386/sco5.h, config/i960/i960-coff.h
2508         * config/m68k/coff.h, config/m68k/hp320.h, config/mcore/mcore-pe.h
2509         * config/vax/vaxv.h: Set ASM_FILE_START_FILE_DIRECTIVE to true.
2510
2511         * config/darwin.h, config/elfos.h, config/alpha/elf.h
2512         * config/alpha/openbsd.h, config/alpha/osf.h, config/alpha/vms.h
2513         * config/arc/arc.h, config/arm/aof.h, config/arm/aout.h
2514         * config/arm/coff.h, config/arm/elf.h, config/arm/pe.h
2515         * config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h
2516         * config/dsp16xx/dsp16xx.h, config/h8300/elf.h, config/h8300/h8300.h
2517         * config/i370/i370.h, config/i386/att.h, config/i386/gas.h
2518         * config/i386/i386-interix.h, config/i386/linux.h, config/i386/sysv4.h
2519         * config/i386/sco5.h, config/i960/i960-coff.h, config/i960/i960.h
2520         * config/ia64/ia64.h, config/ia64/sysv4.h, config/m32r/m32r.h
2521         * config/m68hc11/m68hc11.h, config/m68k/coff.h, config/m68k/m68k.h
2522         * config/mcore/mcore-pe.h, config/mips/iris6.h, config/mips/mips.h
2523         * config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h
2524         * config/pa/elf.h, config/pa/pa-linux.h, config/pa/pa64-hpux.h
2525         * config/pa/som.h, config/pdp11/pdp11.h, config/rs6000/linux64.h
2526         * config/rs6000/lynx.h, config/rs6000/xcoff.h, config/sh/elf.h
2527         * config/sh/sh.h, config/sparc/sparc.h, config/v850/v850.h
2528         * config/vax/vax.h, config/vax/vaxv.h: Don't (re)define ASM_FILE_START.
2529
2530         * config/alpha/alpha-protos.h, config/arc/arc-protos.h
2531         * config/avr/avr-protos.h, config/dsp16xx/dsp16xx-protos.h
2532         * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
2533         * config/m32r/m32r-protos.h, config/m68hc11/m68hc11-protos.h
2534         * config/mips/mips-protos.h, config/mmix/mmix-protos.h
2535         * config/mn10300/mn10300-protos.h, config/rs6000/rs6000-protos.h
2536         * config/sh/sh-protos.h, config/v850/v850-protos.h: Update.
2537
2538         * xcoffout.h, config/rs6000/aix.h, config/rs6000/xcoff.h:
2539         Remove reference to ASM_FILE_START in comment.
2540         * config/arm/aof.h, config/arm/aout.h, config/arm/freebsd.h
2541         * config/arm/linux-gas.h, config/arm/netbsd-elf.h
2542         * config/arm/netbsd.h: Delete definition of ARM_OS_NAME.
2543
2544 2003-06-19  Graeme Peterson <gp@qnx.com>
2545
2546         * gcc.c (target_sysroot_suffix, target_sysroot_hdrs_suffix,
2547         SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC, sysroot_suffix_spec,
2548         sysroot_hdrs_suffix_spec): New.
2549         (static_specs): Initialize new variables.
2550         (add_sysroot_suffix_prefix, do_spec_1, main): Use new variables.
2551         * doc/tm.texi (SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC):
2552         New macros.
2553
2554 2003-06-19  Andreas Jaeger  <aj@suse.de>
2555
2556         * c-aux-info.c: Convert to ISO C90.
2557         * c-pragma.c: Likewise.
2558         * c-common.c: Likewise.
2559         * c-common.h: Likewise.
2560         * c-convert.c: Likewise.
2561         * c-cppbuiltin.c: Likewise.
2562         * c-dump.c: Likewise.
2563         * c-decl.c: Likewise
2564         * c-format.c: Likewise.
2565         * c-incpath.c: Likewise.
2566         * c-incpath.h: Likewise.
2567
2568 2003-06-19  Roger Sayle  <roger@eyesopen.com>
2569
2570         * builtins.c (expand_errno_check): Assume that flag_errno_math
2571         and HONOR_NANS have been tested before calling here.  Only try
2572         to set errno ourselves if the decl can't throw an exception.
2573         (expand_builtin_mathfn): Move the code to stabilize the arg
2574         after the main switch, so that that its only done when needed.
2575         BUILT_IN_SQRT{,F,L} doesn't set errno if its arg is nonnegative.
2576         Don't modify the original expr when stabilizing the argument.
2577         (expand_builtin_mathfn_2): Likewise, move the code to stabilize
2578         the args after the main switch, and don't modify the orginal exp.
2579
2580 2003-06-19  Aldy Hernandez  <aldyh@redhat.com>
2581
2582         * expr.c (const_vector_from_tree): Initialize remaining elements
2583         to 0.
2584
2585 2003-06-19  Aldy Hernandez  <aldyh@redhat.com>
2586
2587         * config/rs6000/spe.md ("spe_evfscfsi"): Change operand types.
2588         Change "fix" to "float".
2589
2590 2003-06-19  Andreas Jaeger  <aj@suse.de>
2591
2592         * c-tree.h: Remove declaration of poplevel.
2593
2594         * tree.h: Remove declaration of approx_sqrt.
2595
2596         * c-lex.c: Remove redundant declaration of asm_out_file.
2597
2598         * flags.h: Remove declaration of warn_unknown_pragma and
2599         main_input_filename.
2600
2601         * rtl.h: Remove functions from fold-const.c since they're already
2602         declared in tree.h.
2603
2604         * regs.h: Remove redundant declaration of reg_names.
2605
2606         * bt-load.c (migrate_btr_defs): Correct printf arguments.
2607
2608         * protoize.c: Fix breakage from last patch.
2609
2610 2003-06-19  J"orn Rennecke <joern.rennecke@superh.com>
2611
2612         * hooks.h (hook_reg_class_void_no_regs): Only declare if tm.h
2613         has been included.
2614
2615 2003-06-18  James A Morrison <ja2morri@student.math.uwaterloo.ca>
2616
2617         * config/sparc/sparc.c: Update copyright year.
2618
2619 2003-06-19  David Edelsohn  <edelsohn@gnu.org>
2620
2621         * config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL
2622         to ABI_V4.
2623
2624 2003-06-18  Joseph S. Myers  <jsm@polyomino.org.uk>
2625
2626         PR bootstrap/4068
2627         * config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0.
2628
2629 2003-06-19  Kazu Hirata  <kazu@cs.umass.edu>
2630
2631         * config/h8300/h8300.c (TARGET_INITIALIZER and friends): Move
2632         to the end of the file.  Remove unnecessary prototypes.
2633
2634 2003-06-19  Hans-Peter Nilsson  <hp@axis.com>
2635
2636         * bt-load.c (migrate_btr_def) [INSN_SCHEDULING]: Conditionalize
2637         calls to insn_default_latency and result_ready_cost.  Initialize
2638         def_latency to 1.
2639
2640 2003-06-18  Richard Henderson  <rth@redhat.com>
2641
2642         * config/ia64/unwind-ia64.c (_Unwind_GetCFA): New.
2643         (_Unwind_FindEnclosingFunction): Implement.
2644
2645 2003-06-18  Kazu Hirata  <kazu@cs.umass.edu>
2646
2647         * toplev.c (rest_of_handle_sched): Hide the entire function if
2648         INSN_SCHEDULING is not defined.
2649         (rest_of_compilation): Call rest_of_handle_sched() only when
2650         INSN_SCHEDULING is defined.
2651
2652 2003-06-18  Stephen Clarke <stephen.clarke@superh.com>
2653             J"orn Rennecke <joern.rennecke@superh.com>
2654
2655         * bt-load.c: New file.
2656         * Makefile.in (OBJS): Include bt-load.o
2657         (bt-load.o): Add dependencies.
2658         * flags.h (flag_branch_target_load_optimize): Declare.
2659         (flag_branch_target_load_optimize2): Likewise.
2660         * hooks.c (hook_reg_class_void_no_regs): New function.
2661         (hook_bool_bool_false): Likewise.
2662         * hooks.h (hook_reg_class_void_no_regs, hook_bool_bool_false): Declare.
2663         * rtl.h (branch_target_load_optimize): Declare.
2664         * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Define.
2665         (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
2666         (TARGET_INITIALIZER): Include these.
2667         * target.h (struct gcc_target): Add branch_target_register_class
2668         and branch_target_register_callee_saved members.
2669         * toplev.c (enum dump_file_index): Add DFI_branch_target_load
2670         (dump_file) Add "tars" entry.
2671         (flag_branch_target_load_optimize): New variable.
2672         (flag_branch_target_load_optimize2): Likewise.
2673         (lang_independent_options): Add entries for new options.
2674         (rest_of_compilation): Call branch_target_load_optimize.
2675         * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Document.
2676         (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
2677         * doc/invoke.texi: Document -fbranch-target-load-optimize and
2678         -fbranch-target-load-optimize2.
2679         * rtl.h (epilogue_completed): Declare.
2680         * recog.c (epilogue_completed): New variable.
2681         * toplev.c (rest_of_compilation): Set it.
2682         * flow.c (mark_regs_live_at_end): Use it.
2683         * config/ia64/ia64.c (ia64_output_mi_thunk): Set it.
2684         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
2685         * config/sh/sh.c (sh_output_mi_thunk): Likewise.
2686         * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
2687
2688         * sh.c (shmedia_space_reserved_for_target_registers): New variable.
2689         (sh_target_reg_class): New function.
2690         (sh_optimize_target_register_callee_saved): Likwise.
2691         (shmedia_target_regs_stack_space): Likewise.
2692         (shmedia_reserve_space_for_target_registers_p): Likewise.
2693         (shmedia_target_regs_stack_adjust): Likewise.
2694         (TARGET_BRANCH_TARGET_REGISTER_CLASS): Override.
2695         (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
2696         (calc_live_regs): If flag_branch_target_load_optimize2 and
2697         TARGET_SAVE_ALL_TARGET_REGS is enabled, and we have space reserved
2698         for target registers, make sure that we save all target registers.
2699         (sh_expand_prologue, sh_expand_epilogue): Take target register
2700         optimizations into account.  Collapse stack adjustments if that
2701         is beneficial.
2702         (initial_elimination_offset): Reserve space for target registers
2703         if necessary.
2704         * sh.h (SAVE_ALL_TR_BIT, TARGET_SAVE_ALL_TARGET_REGS): Define.
2705         (OPTIMIZATION_OPTIONS): Enable flag_branch_target_load_optimize.
2706
2707 2003-06-18  Nick Clifton  <nickc@redhat.com>
2708
2709         * config.gcc: Add an extra_header for ARM targets.
2710         Support configuring with --with-cpu=iwmmxt.
2711         * doc/invoke.texi: Document new value for -mcpu= ARM switch.
2712         * config/arm/aof.h (REGISTER_NAMES): Add iwmmxt register
2713         names.  Fix formatting.
2714         * config/arm/aout.h (REGISTER_NAMES): Add iwmmxt register
2715         names.
2716         * config/arm/arm-protos.h (arm_emit_vector_const): New
2717         prototype.
2718         (arm_output_load_gr): New prototype.
2719         * config/arm/arm.c (extra_reg_names1): Delete.
2720         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN, FL_IWMMXT,
2721         * arch_is_iwmmxt): Define.
2722         (all_cores, all_architecture): Add entry for iwmmxt.
2723         (arm_override_options): Add support for iwmmxt.
2724         (use_return_insn, arm_function_arg, arm_legitimate_index_p,
2725         arm_print_value, arm_rtx_costs_1, output_move_double,
2726         arm_compute_save_reg_mask, arm_output_epilogue,
2727         arm_get_frame_size, arm_expand_prologue, arm_print_operand,
2728         arm_assemble_integer, arm_hard_regno_ok, arm_regno_class):
2729         Likewise.
2730         (arm_init_cumulative_args): Count iwmmxt registers.
2731         (arm_function_ok_for_sibcall): Return false of sibcall_blocked
2732         has been set.
2733         (struct minipool_node): Add fix_size field.
2734         (add_minipool_forward_ref): Add support for 8-byte aligning of
2735         the pool.
2736         (add_minipool_backward_ref, add_minipool_offsets,
2737         dump_minipool, push_minipool_fix): Likewise.
2738         (struct builtin_description): New struct.
2739         (builtin_description): New array of iwmmxt builtin functions.
2740         (arm_init_iwmmxt_builtins): New function.
2741         (arm_init_builtins): New function.
2742         (safe_vector_operand): New function.
2743         (arm_expand_binop_builtin): New function.
2744         (arm_expand_unop_builtin): New function.
2745         (arm_expand_builtin): New function.
2746         (arm_emit_vector_const): New function.
2747         (arm_output_load_gr): New function.
2748         * config/arm/arm.h (TARGET_CPU_iwmmxt, TARGET_IWMMXT,
2749         TARGET_REALLY_IWMMXT, arm_arch_iwmmxt, IWMMXT_ALIGNMENT,
2750         TYPE_NEEDS_IWMMXT_ALIGNMENT, ADJUST_FIELD_ALIGN,
2751         DATA_ALIGNMENT, LOCAL_ALIGNMENT, VECTOR_MODE_SUPPORTED_P): Define.
2752         (BIGGEST_ALIGNMENT): Set to 64 if ATPCS support is enabled.
2753         (CPP_CPU_ARCH_SPEC): Add entries for iwmmxt.
2754         (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER,
2755         reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
2756         REG_CLASS_FOR_LETTER): Add iwmmxt registers.
2757         (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Disable iwmmxt
2758         registers unless the iwmmxt target is selected.
2759         (FIRST_IWMMXT_GR_REGNUM, LAST_IWMMXT_GR_REGNUM,
2760         FIRST_IWMMXT_REGNUM, LAST_IWMMXT_REGNUM, IS_IWMMXT_REGNUM,
2761         IS_IWMMXT_GR_REGNUM): Define.
2762         (FIRST_PSEUDO_REGISTER): Bump to 63.
2763         (struct machine_function): Add sibcall_blocked field.
2764         (Struct CUMULATIVE_ARGS): Add iwmmxt_nregs, named_count and
2765         nargs fields.
2766         (enum arm_builtins): New enum list.
2767         * config/arm/arm.md (UNSPEC_WSHUFH, UNSPEC_WACC,
2768         UNSPEC_TMOVMSK, UNSPEC_WSAD, UNSPEC_WSADZ, UNSPEC_WMACS,
2769         UNSPEC_WMACU, UNSPEC_WMACSZ, UNSPEC_WMACUZ, UNSPEC_CLRDI,
2770         UNSPEC_WMADDS, UNSPEC_WMADDU): New unspecs.
2771         (VUNSPEC_TMRC, VUNSPEC_TMCR, VUNSPEC_ALIGN8, VUNSPEC_WCMP_EQ,
2772         VUNSPEC_WCMP_GTU, VUNSPEC_WCMP_GT): New vunspecs.
2773         (movv2si, movv4hi, movv8qi): New expands for vector moves.
2774         Include iwmmxt.md.
2775         * config/arm/t-xscale-elf (MULTILIB_OPITONS): Add iwmmxt
2776         multilib.
2777         (MULTILIB_DIRNAMES, MULTILIB_REDUNDANT_DIRS): Likewise.
2778         * config/arm/mmintrin.h: New ARM specific header file.
2779         * config/arm/iwmmx.md: New iWMMXt specific machine patterns.
2780
2781 2003-06-18  J"orn Rennecke <joern.rennecke@superh.com>
2782
2783         * toplev.c (Remaining -d letters summary): Update.
2784
2785 2003-06-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2786
2787         * config/rs6000/rs6000.c (init_cumulative_args): Add and handle LIBCALL
2788         argument.
2789         (function_arg): Handle CALL_LIBCALL flag.
2790         * config/rs6000/rs6000-protos.h (init_cumulative_args): Update
2791         prototype.
2792         * config/rs6000/rs6000.h (CALL_LIBCALL): New macro.
2793         (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
2794         (INIT_CUMULATIVE_ARGS): Add LIBCALL argument.
2795         (INIT_CUMULATIVE_INCOMING_ARGS): Likewise.
2796
2797 2003-06-18  Neil Booth  <neil@daikokuya.co.uk>
2798
2799         * Makefile.in: Update.
2800         * common.opt: New options.
2801         * opts.c (maybe_warn_unused_parameter, set_Wextra, handle_param,
2802         set_Wunused): New.
2803         (common_handle_option): Handle new options.
2804         * toplev.c (set_target_switch): Export.
2805         (set_Wextra, set_Wunused, maybe_warn_unused_parameter): Move to opts.c.
2806         (decode_W_option): -Wunused and -Wextra handled in opts.c now.
2807         (independent_decode_option): More options handled in opts.c now.
2808         Change prototype.
2809         * toplev.h (set_target_switch): New.
2810
2811 2003-06-17  Robert Abeles  <rabeles@archaelogic.com>
2812
2813         PR debug/4252
2814         * c-opts.c (c_common_handle_option): Pass -fdump argument suffix
2815         to dump_switch_p().
2816         * tree-dump.c (dump_switch_p): Remove redundant 'dump-' prefix
2817         from static strings in dump_files.
2818
2819 2003-06-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2820
2821         * system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS,
2822         VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these
2823         libiberty macros.
2824
2825 2003-06-17  Jason Merrill  <jason@redhat.com>
2826
2827         PR c++/10929
2828         * tree-inline.c (expand_call_inline): Don't warn about failing to
2829         inline a function which was made inline by -finline-functions.
2830
2831 2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
2832
2833         * config/h8300/h8300-protos.h: Update to ISO C.
2834         * config/h8300/h8300.c: Likewise.
2835         * config/h8300/h8300.h: Likewise.
2836         * config/h8300/h8300.md: Likewise.
2837
2838 2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
2839
2840         * configure.in: Replace BUILD_CC references with CC_FOR_BUILD.
2841         * configure: Regenerate.
2842         * Makefile.in: Replace BUILD_CC references with CC_FOR_BUILD.
2843
2844 2003-06-17  Ranjit Mathew  <rmathew@hotmail.com>
2845
2846         * install.texi (Testing): Add information on how to run Java
2847         runtime tests separately.
2848
2849 2003-06-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2850
2851         * config/mips/mips.md (trap): Use break 0 when !TARGET_GAS.
2852
2853         * config/mips/iris6-o32.h (MIPS_ISA_DEFAULT): Remove.
2854         (MIPS_CPU_STRING_DEFAULT): Redefine to mips2.
2855
2856 2003-06-17  Christopher Faylor  <cgf@redhat.com>
2857
2858         * doc/install.texi: Add msvc rebuild caveat.
2859
2860 2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
2861
2862         * config/sh/coff.h: Replace Hitachi with Renesas.
2863         * config/sh/elf.h: Likewise.
2864         * config/sh/embed-elf.h: Likewise.
2865         * config/sh/lib1funcs.asm: Likewise.
2866         * config/sh/sh-protos.h: Likewise.
2867         * config/sh/sh.c: Likewise.
2868         * config/sh/sh.h: Likewise.
2869         * config/sh/sh.md: Likewise.
2870
2871 2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
2872
2873         * ChangeLog.3: Fix comment typos.
2874         * ChangeLog.6: Likewise.
2875         * config/d30v/d30v.c: Likewise.
2876         * config/h8300/h8300.md: Likewise.
2877         * config/m32r/m32r.md: Likewise.
2878         * config/mips/mips.c: Likewise.
2879         * config/mips/mips.md: Likewise.
2880         * config/ns32k/NOTES: Likewise.
2881
2882 2003-06-17  Ranjit Mathew  <rmathew@hotmail.com>
2883             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2884
2885         * doc/sourcebuild.texi (libgcj Tests): Simplify instructions on how
2886         to run Java runtime tests separately.
2887
2888 2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
2889
2890         * config/h8300/h8300-protos.h: Update a comment.
2891
2892 2003-06-17  J"orn Rennecke <joern.rennecke@superh.com>
2893
2894         * sh.h (ROUND_TYPE_ALIGN, LOCAL_ALIGNMENT): Complex modes
2895         are aligned like integral modes.
2896         (SH5_WOULD_BE_PARTIAL_NREGS): Also test for CDImode and DCmode.
2897
2898         * sh.h (EXTRA_CONSTRAINT_Csy): Allow PIC_DIRECT_ADDR_P.
2899         (LEGITIMATE_PIC_OPERAND_P): Allow LABEL_REF.
2900         * sh.md (*pt): Remove.
2901
2902         * sh.h (REG_ALLOC_ORDER): Avoid squandering call-saved registers.
2903
2904         * sh.md (return_media_rte): New pattern.
2905         (return_media): Use it.
2906
2907 2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
2908
2909         * doc/contrib.texi: Replace Hitachi with Renesas.
2910         * doc/install.texi: Likewise.
2911         * doc/invoke.texi: Likewise.
2912
2913 2003-06-17  J"orn Rennecke <joern.rennecke@superh.com>
2914
2915         * sh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64
2916         behaviour.
2917
2918 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2919
2920         * doc/tm.texi (MD_FALLBACK_FRAME_STATE_FOR): Mention MAKE_THROW_FRAME.
2921
2922         * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert
2923         2003-01-23 patch. Corrected to handle kernels with changed ucontext.
2924
2925         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Error on invalid
2926         -msdata=eabi usages.
2927
2928         * gcc/config/rs6000/sysv4.h (USE_LIBC_1): Delete all uses.
2929
2930 2003-06-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2931
2932         * alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
2933         * fixinc/gnu-regex.c: Don't define `volatile'.
2934         * ggc-page.c: Don't check HAVE_LONG_DOUBLE.
2935         * ggc-simple.c: Likewise.
2936         * system.h: Don't define `volatile'.
2937
2938         * aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete.
2939         * configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't
2940         call these macros.
2941         * config.in, configure: Regenerated.
2942
2943 2003-06-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2944
2945         * config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP):
2946         Handle POINTERS_EXTEND_UNSIGNED.
2947
2948 2003-06-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2949
2950         * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
2951         !TARGET_IRIX6]: Define as NULL.
2952
2953 2003-06-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
2954
2955         * config/sparc/sparc.c (sparc_va_arg): Don't align 16-byte+ structures.
2956
2957 2003-06-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
2958
2959         * dbxout.c (dbxout_source_line_counter): New global variable.
2960         Mark it with GTY(()).
2961         (dbxout_source_line): Increment dbxout_source_line_counter
2962         and pass it to ASM_OUTPUT_SOURCE_LINE.
2963         * sdbout.c (sdbout_source_line_counter): New global variable.
2964         Mark it with GTY(()).
2965         (unnamed_struct_number): Mark it with GTY(()).
2966         (sdbout_source_line): Increment sdbout_source_line_counter
2967         and pass it to ASM_OUTPUT_SOURCE_LINE.
2968         * xcoffout.c (ASM_OUTPUT_SOURCE_LINE): Add third parameter
2969         (xcoffout_source_line): Pass 0 as third argument to
2970         ASM_OUTPUT_SOURCE_LINE.
2971         (xcoffout_begin_prologue): Likewise.
2972         * config/dbxout.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2973         Use it instead of 'sym_lineno' but without incrementing it.
2974         * config/dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2975         * config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2976         * config/ptx4.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2977         * config/alpha/alpha.c (alpha_start_function): Pass 0 as third
2978         argument to ASM_OUTPUT_SOURCE_LINE.
2979         * config/alpha/alpha.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2980         * config/arm/aout.h: Remove useless comment.
2981         * config/avr/avr.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2982         * config/i960/i960.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2983         * config/m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2984         Use it instead of 'sym_lineno' but without incrementing it.
2985         * config/m68k/hp320.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2986         * config/mcore/mcore-pe.h (ASM_OUTPUT_SOURCE_LINE): Add third
2987         parameter. Use it instead of 'sym_lineno' but without incrementing it.
2988         * config/mips/mips.c (mips_output_function_prologue): Pass 0 as third
2989         argument to ASM_OUTPUT_SOURCE_LINE.
2990         * config/mips/mips.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2991         * config/mmix/mmix.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2992         * config/pa/som.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
2993         Use it instead of 'sym_lineno' but without incrementing it.
2994         * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2995         * config/sh/elf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2996         * config/sparc/aout.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2997         * config/sparc/pbd.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2998         * doc/tm.texi (ASM_OUTPUT_SOURCE_LINE): Document third parameter.
2999
3000 2003-06-17  Richard Sandiford  <rsandifo@redhat.com>
3001
3002         * config/mips/mips-protos.h (mips_expand_block_move): Declare.
3003         (expand_block_move, output_block_move): Remove.
3004         * config/mips/mips.h (enum block_move_type): Remove.
3005         * config/mips/mips.c (block_move_call, output_block_move): Remove.
3006         (mips_block_move_straight, mips_adjust_block_mem): New function.
3007         (mips_block_move_loop): Renamed and reworked from block_move_loop.
3008         (mips_expand_block_move): Likewise expand_block_move.  Return false
3009         to fall back on the target-independent code.
3010         * config/mips/mips.md (movstrsi): Use mips_expand_block_move.
3011         (movstrsi_internal*): Remove.
3012
3013 2003-06-16  Zack Weinberg  <zack@codesourcery.com>
3014
3015         * cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c
3016         * cppfiles.c, cpphash.c, cppinit.c, cpplex.c, cpplib.c
3017         * cppmacro.c, cpppch.c, cpptrad.c, cppspec.c: Convert to
3018         ISO C: new-style function declarations, no need for PARAMS,
3019         no special punctuation on indirect function calls, use string
3020         constant concatenation where convenient.
3021
3022 2003-06-17  Andreas Jaeger  <aj@suse.de>
3023
3024         * rtl.h: Remove declarations from coverage.h.
3025         * toplev.c: Include coverage.h.
3026         * Makefile.in (toplev.o): Depend on coverage.h.
3027
3028         * toplev.h: Remove extra declaration of print_time.
3029
3030         * gengtype.c (close_output_files): Remove duplicated declaration.
3031
3032 2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
3033
3034         * config/sparc/sysv4.h: Remove target-independent comment;
3035         replace "GNU CC" with "GCC".
3036         * config/vxworks.h: Replace "GNU compiler" with "GCC".
3037         * config/sparc/aout.h, config/sparc/biarch64.h, config/sparc/elf.h,
3038         config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
3039         config/sparc/lite.h, config/sparc/litecoff.h, config/sparc/liteelf.h,
3040         config/sparc/netbsd-elf.h, config/sparc/openbsd.h,
3041         config/sparc/rtemself.h, config/sparc/sol2-64.h,
3042         config/sparc/sol2-bi.h, config/sparc/sol2-gas-bi.h,
3043         config/sparc/sol2-gld-bi.h, config/sparc/sol2-gld.h,
3044         config/sparc/sol2.h, config/sparc/sp64-aout.h,
3045         config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h,
3046         config/sparc/sparc-protos.h, config/sparc/sysv4-only.h: Replace
3047         "GNU compiler", "GNU CC" with "GCC".
3048         * config/sparc/cypress.md, config/sparc/hypersparc.md,
3049         config/sparc/sparc-modes.def, config/sparc/sparc.c,
3050         config/sparc/sparc.md, config/sparc/sparclet.md,
3051         config/sparc/supersparc.md, config/sparc/ultra1_2.md,
3052         config/sparc/ultra3.md: Replace "GNU CC", "GNU Compiler", and
3053         "GNU C Compiler" with "GCC".
3054         * config/ip2k/ip2k.h: Replace "GNU CC" and "GNU compiler" with "GCC".
3055
3056 2003-06-16  Aldy Hernandez  <aldyh@redhat.com>
3057
3058         * simplify-rtx.c (simplify_subreg): Do not over-extend vector
3059         constants.
3060
3061         * testsuite/gcc.c-torture/execute/simd-4.c: New.
3062
3063 2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
3064
3065         * config/ip2k/ip2k.h: Remove target-independent comments.
3066
3067         * config.gcc: Explicitly mention elfos.h in ip2k entry.
3068         * config/ip2k/ip2k.h: Don't #include it here.
3069
3070 2003-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3071
3072         * bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c,
3073         config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c,
3074         dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c,
3075         function.c, gcc.c, genoutput.c, gensupport.c, global.c,
3076         haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c,
3077         loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c,
3078         read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c,
3079         stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use
3080         the PTR macro.
3081
3082         * gengtype.c: Don't use UNION_INIT_ZERO.
3083         * system.h (UNION_INIT_ZERO): Delete.
3084
3085 2003-06-16  Richard Henderson  <rth@redhat.com>
3086
3087         * simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of
3088         GET_MODE_UNIT_SIZE when simplifying constant vectors.
3089
3090 2003-06-16  Andreas Jaeger  <aj@suse.de>
3091
3092         * timevar.c (get_run_time): Remove function provided also by
3093         libiberty.
3094         * timevar.h: Remove get_run_time declaration.
3095
3096 2003-06-16  Kazu Hirata  <kazu@cs.umass.edu>
3097
3098         * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): Remove
3099         unreachable code.
3100
3101 2003-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3102
3103         * builtin-attrs.def, builtin-attrs.def, builtins.c, cpplex.c,
3104         cpplib.c, gencheck.c, gengenrtl.c, machmode.def, protoize.c: Don't
3105         use macros from "symcat.h", instead rely on ISO C.
3106
3107         * system.h: Don't include "symcat.h".
3108         * configure.in (AC_C_STRINGIZE): Delete.
3109         * config.in, configure: Regenerate.
3110
3111 2003-06-16  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3112
3113         * Makefile.in (install-mkheaders): Use INSTALL_SCRIPT for scripts.
3114
3115         * tree.h (STMT_CHECK): New macro.
3116         Also upper-case argument names on all checking macros and
3117         fix some whitespace problems; assume CODE argument does not
3118         have side-effects.
3119
3120 2003-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3121
3122         * scan.h: Convert to ISO C.
3123         * system.h: Likewise.
3124
3125         * c-format.c (dynamic_format_types): New pointer for dynamic data.
3126         (find_length_info_modifier_index, init_dynamic_asm_fprintf_info):
3127         New functions split out of...
3128         (handle_format_attribute): ...here.
3129
3130 2003-06-16  J"orn Rennecke <joern.rennecke@superh.com>
3131
3132         * sh.h (REG_CLASS_FROM_LETTER): Change to:
3133         (REG_CLASS_FROM_CONSTRAINT).
3134         (CONST_OK_FOR_I): Rename to:
3135         (CONST_OK_FOR_I08).  Changed all users.
3136         (CONST_OK_FOR_J): Rename to:
3137         (CONST_OK_FOR_I16).  Changed all users.
3138         (CONST_OK_FOR_K): Rename to:
3139         (CONST_OK_FOR_P27).  Changed all users.
3140         (CONST_OK_FOR_L): Rename to:
3141         (CONST_OK_FOR_K08).  Changed all users.
3142         (CONST_OK_FOR_O): Rename to:
3143         (CONST_OK_FOR_I06).  Changed all users.
3144         (CONST_OK_FOR_P): Rename to:
3145         (CONST_OK_FOR_I10).  Changed all users.
3146         (CONSTRAINT_LEN, CONST_OK_FOR_I, CONST_OK_FOR_J16): Define.
3147         (CONST_OK_FOR_J, CONST_OK_FOR_K, CONST_OK_FOR_P): Likewise.
3148         (EXTRA_CONSTRAINT_A, EXTRA_CONSTRAINT_Bsc): Likewise.
3149         (EXTRA_CONSTRAINT_B, PIC_OFFSET_P, PIC_DIRECT_ADDR_P): Likewise.
3150         (EXTRA_CONSTRAINT_Cpg, EXTRA_CONSTRAINT_C): Likewise.
3151         (EXTRA_MEMORY_CONSTRAINT,(EXTRA_CONSTRAINT_Sr0): Likewise.
3152         (CONST_OK_FOR_LETTER_P): Replace with
3153         (CONST_OK_FOR_CONSTRAINT_P).
3154         (EXTRA_CONSTRAINT_S): Rename to:
3155         (EXTRA_CONSTRAINT_C16).  Changed all users.
3156         (MOVI_SHORI_BASE_OPERAND_P): Don't allow direct addresses.
3157         (EXTRA_CONSTRAINT_T): Rename to:
3158         (EXTRA_CONSTRAINT_Csy).  Changed all users.
3159         (EXTRA_CONSTRAINT_Z): Remove.
3160         (EXTRA_CONSTRAINT): Replace with:
3161         (EXTRA_CONSTRAINT_STR).
3162         (EXTRA_CONSTRAINT_U): Rename to:
3163          (EXTRA_CONSTRAINT_Z).  Changed all users.
3164         * sh.c (and_operand): Use CONST_OK_FOR_J16.
3165         * sh.md (cmpeqsi_t-1, cmpeqsi_t, adddi3_media): Use new constraints.
3166         (addsi3_media, addsi3_compact, andsi3_compact, anddi3): Likewise.
3167         (iorsi3, iordi3, xorsi3, xordi3, ashlsi3_std, ashlhi3_k): Likewise.
3168         (lshrsi3_k, movsi_i, movsi_ie, movsi_i_lowpart, movsi_media): Likewise.
3169         (movsi_media_nofpu, movqi_media, movhi_i, movhi_media): Likewise.
3170         (*movdi_i, movdi_media, movdi_media_nofpu, shori_media): Likewise.
3171         (movdf_media, movdf_media_nofpu, movv2sf_i, movv4sf_i): Likewise.
3172         (movsf_media, movsf_media_nofpu, movsi_y, beq_media): Likewise.
3173         (beq_media_i, bne_media, pt, ptb, movv8qi_i, movv2hi_i): Likewise.
3174         (movv4hi_i, movv2si_i, negcmpeqv8qi, negcmpeqv2si): Likewise.
3175         (negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si, negcmpgtv4hi): Likewise.
3176         (mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub, mextr_rl, mextr_lr): Likewise.
3177         (mextr1, mextr2, mextr3, mextr4, mextr5, mextr6, mextr7): Likewise.
3178         (mperm_w, mperm_w_little, mperm_w_big, msad_ubq_i): Likewise.
3179         (mshards_q, mshfhi_b, mshflo_b, mshf4_b, mshf0_b, mshfhi_l): Likewise.
3180         (mshflo_l, mshf4_l, mshf0_l, mshfhi_w, mshflo_w, mshf4_w): Likewise.
3181         (mshf0_w, mshflo_w_x, mshfhi_l_di, mshfhi_l_di_rev): Likewise.
3182         (mshflo_l_di_rev, mshflo_l_di_x, concat_v2sf): Likewise.
3183         (mshflo_l_di_x_rev, subv2si3, subv4hi3, sssubv2si3): Likewise.
3184         (sssubv4hi3): Likewise.
3185         (movsf_i): Change I[08]/r to G/r.
3186         (movsf_ie): Change f/{G,H}/c/X to f/{G,H}/c/Bsc.
3187
3188         * sh.c (sh_output_mi_thunk): Use CONST_OK_FOR_ADD.
3189
3190 2003-06-16  Vladimir Makarov  <vmakarov@redhat.com>
3191
3192         * config/i386/i386.c (ix86_memory_move_cost): Fix typo.
3193
3194 2003-06-16  Andreas Jaeger  <aj@suse.de>
3195
3196         * basic-block.h: Remove duplicate prototype of
3197         note_prediction_to_br_prob.
3198
3199         * tree.h: Remove duplicate prototype of strip_float_extensions.
3200
3201 2003-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3202
3203         * config/c4x/c4x.c: Don't include "c-tree.h".
3204         * config/pa/pa.c: Likewise.
3205         * langhooks.c: Likewise.
3206         * tree.h (poplevel): Declare.
3207
3208 2003-06-16  Kazu Hirata  <kazu@cs.umass.edu>
3209
3210         * config/h8300/h8300.c (const_costs): Move this to ...
3211         (h8300_rtx_costs): ... here.
3212
3213 2003-06-16  Roger Sayle  <roger@eyesopen.com>
3214
3215         * optabs.h (enum optab_index): Add new OTI_tan and OTI_atan.
3216         (tan_optab, atan_optab): Define corresponding macros.
3217         * optabs.c (init_optabs): Initialize tan_optab and atan_optab.
3218         * genopinit.c (optabs): Implement tan_optab and atan_optab
3219         using tan?f2 and atan?f2 patterns.
3220         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_TAN{,F,L}
3221         using tan_optab, and BUILT_IN_ATAN{,F,L} using atan_optab.
3222         Change the default value of errno_set to false.
3223         (expand_builtin): Expand BUILT_IN_TAN{,F,L} and BUILT_IN_ATAN{,F,L}
3224         using expand_builtin_mathfn.
3225
3226         * config/i386/i386.md (atansf2, atandf2, atanxf2, atantf2): New
3227         expander patterns implemented using existing atan2?f3 patterns.
3228
3229 2003-06-16  Roger Sayle  <roger@eyesopen.com>
3230
3231         * expr.c (expand_expr <PLUS_EXPR>): If operand_equal_p considers
3232         both operands of the addition equal, reuse the expanded RTL.
3233         (expand_expr <MULT_EXPR>): Likewise for multiplication.
3234
3235 2003-06-16  Roger Sayle  <roger@eyesopen.com>
3236             Jeff Law  <law@redhat.com>
3237
3238         * fold-const.c (operand_equal_p): Consider two calls to "const"
3239         functions with identical non-volatile arguments to be equal.
3240         Consider the FUNCTION_DECL for the "__builtin_foo" form of a
3241         built-in function to be equal to the "foo" form.
3242
3243 2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
3244
3245         * config/rs6000/sysv4le.h: Remove target-independent comment.
3246         Replace "GNU compiler" with "GCC" in comment.
3247
3248 2003-06-16  Andreas Jaeger  <aj@suse.de>
3249
3250         * tracer.c: Remove duplicate declaration.
3251
3252         * toplev.c: Remove extra declaration of decode_d_option.
3253
3254         * ssa.c: Remove duplicate declaration.
3255
3256         * sreal.c: Remove extra declaration of dump_sreal.
3257
3258         * reload1.c: Remove duplicate declarations.
3259
3260         * integrate.c: Remove extra declaration of
3261         set_decl_abstract_flags.
3262
3263         * flow.c: Remove extra declaration of dump_flow_info.
3264
3265         * alias.c: Remove extra declaration of get_addr.
3266
3267 2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
3268
3269         * config/rtems.h, config/sol2.h, config/svr4.h, config/usegas.h,
3270         config/vxworks.h: GNU CC -> GCC.
3271
3272         * convert.c, dwarf2out.c, dwarfout.c, emit-rtl.c, function.c,
3273         lists.c, print-rtl.c, print-tree.c, read-rtl.c, rtl-error.c,
3274         stmt.c, toplev.c, integrate.h, loop.h, machmode.h, rtl.h,
3275         ssa.h, tree.def: Replace overly specific references to "GNU C"
3276         and "GNU C Compiler" with references to "GCC".
3277
3278 2003-06-16  J"orn Rennecke <joern.rennecke@superh.com>
3279
3280         * sh.c (prepare_move_operand): Check if operand 0 is an invalid
3281         memory reference.  Fix test that checks if operand 1 is using r0.
3282         * sh.md (movhi_i): Don't allow st.w r0,@(rX,rY) .
3283
3284         * defaults.h (REG_CLASS_FROM_CONSTRAINT): Only define if not already
3285         defined.
3286
3287 2003-06-15  Nathan Sidwell  <nathan@codesourcery.com>
3288
3289         * function.h (struct emit_status): Remove x_last_linenum,
3290         x_last_filename. Add x_last_location.
3291         * rtl.h: #include "input.h".
3292         (NOTE_DATA): New.
3293         * cfglayout.c (duplicate_insn_chain): Use emit_line_note for line
3294         number notes.
3295         * emit-rtl.c (last_linenum, last_filename): Remove.
3296         (last_location): New.
3297         (emit_line_note_after): LINE must always be >= 0.
3298         (emit_line_note): Likewise. Check not duplicate here...
3299         (emit_note): ... rather than here.
3300         (emit_line_note_force, force_next_line_note, init_emit): Adjust.
3301         * integrate.c (expand_inline_function): Use emit_line_note for
3302         line number notes.
3303         (copy_insn_list): Likewise.
3304         * unroll.c (copy_loop_body): Likewise.
3305         * Makefile.in (RTL_H): Add input.h.
3306
3307 2003-06-16  Richard Sandiford  <rsandifo@redhat.com>
3308
3309         * optabs.c (emit_libcall_block): Don't hoist insns past a label.
3310
3311 2003-06-16  Richard Henderson  <rth@redhat.com>
3312
3313         * config/alpha/alpha-protos.h, config/alpha/elf.h,
3314         config/alpha/osf.h, config/alpha/unicosmk.h, config/alpha/vms.h,
3315         config/alpha/vms-cc.c, config/alpha/vms-ld.c: Update to ISO C.
3316         * config/alpha/alpha.c: Likewise.  Move targetm init to end of file.
3317         Remove unneeded static function decls.
3318
3319 2003-06-16  Neil Booth  <neil@daikokuya.co.uk>
3320
3321         * c-opts.c (c_common_handle_option): s/on/value/.
3322         (OPT_fabi_version_, OPT_ftabstop_, OPT_ftemplate_depth_): Use value
3323         directly rather than converting the argument.
3324         * c.opt: Update docs.  Use UInteger where appropriate.
3325         * common.opt: Use UInteger where appropriate.
3326         * opts.c (integral_argument): New.
3327         (handle_argument): Handle integral arguments, and optional
3328         joined arguments.
3329         (common_handle_option): Update.
3330         * opts.h (CL_MISSING_OK, CL_UINTEGER): New.
3331         * opts.sh: Handle JoinedOrMissing and UInteger flags.
3332
3333 2003-06-16  Neil Booth  <neil@daikokuya.co.uk>
3334
3335         * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove
3336         unnecessary extern declaration.
3337
3338 2003-06-15  Nathanael Nerode  <neroden@gcc.gnu.org>
3339
3340         * config/gofast.h, config/interix.h, config/interix3.h,
3341         config/libgloss.h, config/linux-aout.h, config/linux.h,
3342         config/lynx-ng.h, config/lynx.h: GNU CC -> GCC.
3343         * config/kaos.h: "GNU compiler" -> GCC.
3344         * config/linux-aout.h, config/lynx.h: Clarify comment describing file.
3345
3346         * config/ip2k/crt0.S, config/ip2k/ip2k-protos.h,
3347         config/ip2k/ip2k.c, config/ip2k/ip2k.md, config/ip2k/libgcc.S:
3348         GNU CC -> GCC.
3349
3350         * config/svr3.h: Remove #if 0 code, misleading comments.
3351         GNU CC -> GCC.
3352
3353 2003-06-15  Zack Weinberg  <zack@codesourcery.com>
3354
3355         * vmsdbgout.c (vmsdbgout_finish): Rename parameter to
3356         main_input_filename to avoid conflict with input_filename macro.
3357
3358 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
3359
3360         * config/mips/mips.h (asm_file_name, g_switch_set,
3361         g_switch_value): Remove.
3362         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Remove
3363         unnecessary extern declarations.
3364
3365 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
3366
3367         * config/frv/frv.h: Remove declaration of g_switch_value.
3368         * config/m32r/m32r.h: Remove declaration of g_switch_value.
3369         * config/m68hc11/m68hc11.c: Remove declaration of asm_file_name.
3370
3371 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
3372
3373         * opts.sh: Quote '+' in regex.
3374
3375 2003-06-15  Andrew Pinski <pinskia@physics.uc.edu>
3376
3377         * config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o.
3378         * config/rs6000/rs6000.c: Include cfglayout.h.
3379         * config/alpha/alpha.c: Likewise.
3380         * config/ia64/ia64.c: Likewise.
3381         * config/sparc/sparc.c: Likewise.
3382         * config/sh/sh.c: Likewise.
3383
3384 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
3385
3386         * opts.sh: Quote '+' in regex.
3387
3388 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
3389
3390         * c-opts.c (lang_flags): Update for new spelling of flags.
3391         (write_langs): Similarly.
3392         * c.opt: Specify languages.
3393         * opts.h: Remove languages.
3394         * opts.sh: Recognise front-end defined languages.
3395         * doc/sourcebuild.texi: Update.
3396
3397 2003-06-15  Andreas Jaeger  <aj@suse.de>
3398
3399         * alloc-pool.c: Convert to ISO C90 prototypes.
3400         * alloc-pool.h: Likewise.
3401         * alias.c: Likewise.
3402         * attribs.c: Likewise.
3403         * bb-reorder.c: Likewise.
3404         * bitmap.h: Likewise.
3405         * bitmap.c: Likewise.
3406         * builtins.c: Likewise.
3407
3408         * tree.h: Convert prototypes of attribs.c to ISO C90.
3409         * basic-block.h: Convert prototypes of bb-reorder.c to ISO C90.
3410         * rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90.
3411         * expr.h: Convert prototypes of builtins.c to ISO C90.
3412
3413 2003-06-15  Roger Sayle  <roger@eyesopen.com>
3414
3415         * config/i386/i386.md (expsf2, expdf2, expxf2): New patterns to
3416         implement exp, expf and expl built-ins as inline x87 intrinsics.
3417         (UNSPEC_FSCALE, UNSPEC_FRNDINT, UNSPEC_F2XM1): New unspecs to
3418         represent x87's fscale, frndint and f2xm1 insns respectively.
3419         (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): New insn patterns
3420         to encode x87's "fscale" instruction followed by a pop.
3421         (*frndintxf2): New insn pattern for "frndint".
3422         (*f2xm1xf2): New insn pattern for "f2xm1".
3423
3424         * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FRNDINT and
3425         UNSPEC_F2XM1 like UNSPEC_{SIN,COS} and handle UNSPEC_FSCALE like
3426         UNSPEC_FPATAN.
3427
3428 2003-06-15  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3429
3430         * gencheck.c (main): Avoid generating duplicate macros.
3431
3432         * Makefile.in (stagefeedback-start): Use $(SUBDIRS) instead of
3433         knowing names of language subdirectories.
3434
3435 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
3436
3437         * c-pch.c (asm_file_name): Remove.
3438         * common.opt: Add more switches.
3439         * flags.h (g_switch_set): Boolify.
3440         * opts.c (g_switch_value, g_switch_set, exit_after_options,
3441         version_flag): Move from toplev.c.
3442         (common_handle_option): Handle more switches from toplev.c.
3443         * toplev.c (display_help, display_target_options, decode_d_option,
3444         print_version): Make non-static, remove prototypes.
3445         (aux_base_name, asm_file_name, aux_info_file_name): Constify.
3446         (version_flag, g_switch_value, g_switch_set, exit_after_options):
3447         Remove.
3448         (independent_decode_option): Move some handlers to opts.c.
3449         * toplev.h (aux_info_file_name, aux_base_name, asm_file_name,
3450         exit_after_options, version_flag, display_help, display_target_options,
3451         print_version, decode_d_option): New.
3452