OSDN Git Service

10aac1cc34e8b20fa01879944b2cd98cc45517a1
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2003-07-11  Richard Henderson  <rth@redhat.com>
2
3         * function.c (assign_parms): Don't recombine complex args if
4         fnargs is unchanged from orig_fnargs.
5         (split_complex_args): Return args without complex before copying.
6         Re-layout the modified parameters.
7
8 2003-07-11  J"orn Rennecke <joern.rennecke@superh.com>
9
10         * regclass.c (choose_hard_reg_mode): Add third argument.
11         Changed all callers.
12         * rtl.h (choose_hard_reg_mode): Update declaration.
13         * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
14         Take HARD_REGNO_CALL_PART_CLOBBERED into account.
15
16 2003-07-11  Geoffrey Keating  <geoffk@apple.com>
17
18         * c-decl.c (finish_decl): Handle 'used' here...
19         * cgraphunit.c (cgraph_finalize_function): ... and here ...
20         * c-common.c: (handle_used_attribute): ... not here.
21         
22         * configure.in (onstep): Support --enable-intermodule.
23         * Makefile.in (OBJS-common): New.
24         (OBJS-md): New.
25         (OBJS-archive): New.
26         (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
27         (OBJS-onestep): New.
28         (libbackend.a): Support @onestep@.
29         (libbackend.o): New.
30         * configure: Regenerate.
31         
32         * c-common.h (c_reset_state): New prototype.
33         (c_parse_file): New prototype.
34         (finish_file): Move prototype from c-tree.h.
35         * c-decl.c: Include <hashtab.h>.
36         (builtin_decls): New.
37         (current_file_decl): New.
38         (duplicate_decls): Add extra parameter. Change all callers.  Don't
39         output duplicate common symbols.
40         (link_hash_hash): New.
41         (link_hash_eq): New.
42         (poplevel): Handle popping of the top level.
43         (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
44         (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
45         (pushdecl_top_level): Likewise.
46         (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
47         (c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
48         (finish_decl): Handle TRANSLATION_UNIT_DECL.
49         (merge_translation_unit_decls): New.
50         (c_write_global_declarations): New.
51         (c_reset_state): New.
52         (implicitly_declare): Handle TRANSLATION_UNIT_DECL.
53         * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
54         * c-objc-common.c (c_cannot_inline_tree_fn): Handle
55         TRANSLATION_UNIT_DECL.
56         (c_objc_common_finish_file): Call merge_translation_unit_decls.
57         * c-opts.c (in_fnames): Rename from in_fname.
58         (c_common_decode_option): Handle multiple input filenames.
59         (c_common_post_options): Likewise.
60         (c_common_parse_file): Likewise; also, call c_parse_file rather than
61         yyparse.
62         * c-parse.in: Move cleanup code to c_parse_file.
63         (free_parser_stacks): Move contents to c_parse_file.
64         (c_parse_file): New.
65         * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
66         for integer types.
67         (C_DECL_FILE_SCOPE): New.
68         (finish_file): Move prototype to c-common.h.
69         (merge_translation_unit_decls): New prototype.
70         (comptypes): Add extra parameter to prototype.
71         (c_write_global_declarations): New prototype.
72         * c-typeck.c (tagged_types_tu_compatible_p): New.
73         (function_types_compatible_p): Add extra parameter, change all callers.
74         (type_lists_compatible_p): Likewise.
75         (comptypes): Likewise.
76         (struct tagged_tu_seen): New.
77         (tagged_tu_seen_base): New.
78         (build_unary_op): Handle TRANSLATION_UNIT_DECL.
79         (c_mark_addressable): Remove #if 0 code.
80         * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
81         comment explaining why it shouldn't have to.
82         * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
83         options.
84         * cppinit.c (cpp_read_next_file): New.
85         (cpp_read_main_file): Use it.
86         * cpplib.c (undefine_macros): New.
87         (cpp_undef_all): New.
88         * cpplib.h (cpp_read_next_file): Prototype.
89         (cpp_undef_all): Prototype.
90         * langhooks-def.h (write_global_declarations): Remove prototype.
91         * toplev.h (write_global_declarations): Add prototype.
92         * tree.c (decl_type_context): Use switch statement, handle
93         TRANSLATION_UNIT_DECL.
94         * tree.def: Update documentation for TRANSLATION_UNIT_DECL.
95         (TRANSLATION_UNIT_DECL): New kind of tree.
96         * tree.h: Update documentation for TRANSLATION_UNIT_DECL.
97         * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
98         * doc/invoke.texi: Make attempt to document new functionality.
99
100         2003-05-19  Per Bothner <bothner@apple.com>
101
102         * gcc.c (combine_inputs): New.
103         (process_command): Set combine_inputs.
104         (do_spec_1): Handle combine_inputs.
105         (main): Likewise.
106
107 2003-07-10  James E Wilson  <wilson@tuliptree.org>
108
109         PR optimization/9745
110         * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
111         loop_insn_emit_before.
112         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
113         
114 2003-07-10  Zack Weinberg  <zack@codesourcery.com>
115
116         * cppcharset.c: Fix comment.
117         (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
118         (EILSEQ): #define to EINVAL if not already defined.
119         (convert_using_iconv): #if out when !HAVE_ICONV.
120         (init_iconv_desc): Handle !HAVE_ICONV here...
121         (cpp_init_iconv): ...not here.
122
123 2003-07-11  Neil Booth  <neil@daikokuya.co.uk>
124
125         * common.opt: More --help messages.
126         * opts.c (print_help): Use puts().
127         * toplev.c (f_options): Remove help text.
128         (display_help): Don't dump f_options.
129
130 2003-07-11  Nathanael Nerode  <neroden@gcc.gnu.org>
131
132         * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
133         Move i?86-*-interix* to the don't-fix list.
134         * fixinc/fixinc.interix: Delete with extreme prejudice.
135
136 2003-07-10  Dara Hazeghi  <dhazeghi@yahoo.com>
137
138         PR bootstrap/10758
139         * doc/install.texi: Document requirements for ia64-*-hpux* target.
140
141 2003-07-10  Roger Sayle  <roger@eyesopen.com>
142
143         * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
144
145 2003-07-10  Zack Weinberg  <zack@codesourcery.com>
146
147         * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
148         one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
149         one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
150         convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
151         convert_no_conversion, convert_using_iconv): New functions.
152         (APPLY_CONVERSION): New macro.
153         (struct conversion, conversion_tab): New data structure.
154         (init_iconv_desc): Check conversion_tab for a custom conversion
155         primitive before trying to use iconv.
156         (convert_cset): Deleted.
157         (cpp_init_iconv): Use UTF- terminology, not UCS-.
158         (_cpp_destroy_iconv): Update to match.
159         (_cpp_valid_ucn): We don't need iconv to implement UCNs.
160         (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
161         (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
162         (_cpp_interpret_string_notranslate): New function, moved here
163         from cpplib.c.
164
165         * cpphash.h (convert_f, struct cset_converter): New types.
166         (struct cpp_reader): narrow_cset_desc and wide_cset_desc
167         are now struct cset_converter, not bare iconv_t.
168         Update prototypes.
169         * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
170         all callers changed.
171
172 2003-07-10  Kelley Cook  <kelleycook@wideopenwest.com>
173
174         * Makefile.in (options.h): Depend on Makefile.  Add move-if-change
175         to opts.sh command line.
176         * opts.sh: Write to temporary files with a move-if-change at the end.
177
178 2003-06-30  Denis Chertykov  <denisc@overta.ru>
179             Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
180
181         * combine.c (gen_binary): Handle the CLOBBER rtx and
182         don't build a binary operation with it.
183
184 2003-07-10  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
185
186         * gcse.c (load_kills_store, find_loads, store_killed_in_insn,
187         store_killed_after, store_killed_before): Keep track of the correct
188         dependency function to use.
189
190 2003-07-10  Steven Bosscher  <steven@gcc.gnu.org>
191         * toplev.c (do_compile): Don't try to open dump files before
192         lang_dependent_init initializes dump_base_name.
193
194 2003-07-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
195
196         * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
197         Use ARRAY_SIZE.
198         * config/frv/frv.c (frv_expand_builtin): Likewise.
199         * config/sh/sh.c (sh_media_init_builtins): Likewise.
200
201 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
202
203         PR c++/10032
204         * doc/invoke.texi (C++ Dialect Options): Change documentation of
205         -fpermissive.
206
207 2003-07-10  J"orn Rennecke <joern.rennecke@superh.com>
208
209         * tm.texi (RETURN_ADDR_OFFSET): Document.
210
211 2003-07-10  Nathan Sidwell  <nathan@codesourcery.com>
212
213         * gcov-io.h: Update documentation.
214         (GCOV_UNSIGNED2STRING): New.
215         (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
216         GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
217         GCOV_TAG_SUMMARY_LENGTH): Adjust.
218         (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
219         GCOV_TAG_COUNTER_NUM): New.
220         (GCOV_BLOCK_SIZE): Number of words.
221         (gcov_var): Adjust buffer type.
222         * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
223         (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
224         count, not byte count.
225         (gcov_open): Adjust overread init.
226         (gcov_allocate, gcov_write_unsigned, gcov_write_counter,
227         gcov_write_string, gcov_write_tag, gcov_write_length,
228         gcov_write_tag_length): Adjust.
229         (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
230         (gcov_sync, gcov_seek): Adjust.
231         * gcov-dump.c (print_usage): Show gcc version only.
232         (dump_file): Use GCOV_UNSIGNED2STRING.
233         (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
234         * gcov.c (print_version): Show gcc version only.
235         (read_graph_file): Use GCOV_UNSIGNED2STRING. Use
236         GCOV_TAG_*_NUM macros.
237         (read_count_file): Use GCOV_UNSIGNED2STRING. Use
238         GCOV_TAG_COUNTER_LENGTH.
239         * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
240         Use GCOV_TAG_COUNTER_NUM.
241         * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
242         (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.
243
244 2003-07-10  Andreas Schwab  <schwab@suse.de>
245
246         * gcov-dump.c (dump_file): Fix missing address operator.
247
248 2003-07-10  Kazu Hirata  <kazu@cs.umass.edu>
249
250         PR c/11449
251         * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
252         of HOST_WIDE_INT.
253         (fold_single_bit_test): If sign_bit_p() fails, assume that the
254         bit being tested is not a sign bit.
255
256 2003-07-10  Kazu Hirata  <kazu@cs.umass.edu>
257
258         * config/h8300/h8300.md (a peephole2): New.
259
260 2003-07-10  Alexandre Oliva  <aoliva@redhat.com>
261
262         2001-12-13  Alexandre Oliva  <aoliva@redhat.com>
263         * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
264         from ld-linux.so.2 to ld.so.1.
265         2001-11-18  Alexandre Oliva  <aoliva@redhat.com>
266         * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
267         * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
268         nor -Wl,-rpath-link.
269         (LIB_SPEC): Add -rpath-link if !static.
270         2001-08-22  Alexandre Oliva  <aoliva@redhat.com>
271         * config/mn10300/mn10300.c (mn10300_protect_label): New
272         variable.
273         * config/mn10300/linux.h (PRINT_OPERAND,
274         PRINT_OPERAND_ADDRESS): Set it during their execution.
275         (ASM_OUTPUT_LABELREF): Output `+' before symbol name if
276         mn10300_protect_label is set.
277         * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
278         -Wl,-rpath-link.
279         (LIB_SPEC, STARTFILE_SPEC): Define.
280         2001-05-11  Alexandre Oliva  <aoliva@redhat.com>
281         * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
282         FLOAT_BIT_ORDER_MISMATCH.
283         2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
284         * config.gcc (am33_2.0-*-linux*): Added.
285         * config/mn10300/linux.h: New.
286         * config/mn10300/t-linux: New.
287
288 2003-07-10  Andreas Jaeger  <aj@suse.de>
289
290         * fold-const.c: Properly wrap prototypes.
291
292 2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
293
294         2003-06-16  Alexandre Oliva  <aoliva@redhat.com>
295         * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
296         Moved from...
297         * config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
298         * config/mn10300/mn10300.h: GTY-declare it.
299         2003-06-11  Alexandre Oliva  <aoliva@redhat.com>
300         * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
301         prototype.  Use incoming RTL argument.
302         2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
303         * config/mn10300/mn10300.md (int_label): Move C statements...
304         (GOTaddr2picreg): ... here.
305         2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
306         * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
307         * config/mn10300/mn10300.c (mn10300_encode_section_info):
308         ... here.  New function.
309         (TARGET_ENCODE_SECTION_INFO): Define to it.
310         2001-11-04  Alexandre Oliva  <aoliva@redhat.com>
311         * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
312         pattern name.
313         (mn10300_loadPC): Define as insn splittable after reload.
314         2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
315         * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
316         be defined in .rodata even in PIC, now that the assembler
317         supports that.
318         2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
319         * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
320         symbol take an underscore prefix.
321         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
322         * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
323         legitimize_pic_address): Declare.
324         * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
325         the PIC register as fixed.
326         (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
327         (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
328         PIC.
329         (LEGITIMATE_PIC_OPERAND_P): Define.
330         (PIC_OFFSET_TABLE_REGNUM): Define.
331         (GOT_SYMBOL_NAME): Define.
332         (SYMBOLIC_CONST_P): Define.
333         (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
334         symbols.
335         (MN10300_GLOBAL_P): Test it.
336         (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
337         (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
338         * config/mn10300/mn10300.c (print_operand): Handle unspec.
339         (expand_prologue): Set PIC register.
340         (call_address_operand): Don't match SYMBOL_REFs in PIC.
341         (legitimize_address): Call legitimize_pic_address.
342         (legitimize_pic_address): New fn.
343         (legitimate_pic_operand_p): New fn.
344         * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
345         (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
346         UNSPEC_PLT): New constants.
347         (pop_pic_reg): New insn.
348         (movsi): Adjust non-PIC addresses.
349         (builtin_setjmp_receiver): Restore the PIC register.
350         (casesi): New insn.
351         (call): Adjust non-PIC addresses.
352         (int_label, GOTaddr2picreg): New expands.
353         (am33_loadPC): New insn.
354         (mn10300_loadPC): New expand.
355         (call_next_insn): New insn.
356         (add_GOT_to_pic_reg): New expand.
357         (symGOT2reg, symGOT2reg_i): New expands.
358         (symGOTOFF2reg, symGOTOFF2reg_i): New expands.
359         (sym2PIC, sym2PLT): New expands.
360
361 2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
362
363         * config/mn10300/mn10300.h (PREDICATE_CODES): Define.
364         2001-05-01  Alexandre Oliva  <aoliva@redhat.com>
365         * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
366         to flag_unsafe_math_optimizations.
367         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
368         * config/mn10300/mn10300.c (expand_prologue): Mark
369         FP-register-saving insns as frame-related.
370         2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
371         * config/mn10300/mn10300.c
372         (mn10300_get_live_callee_saved_regs): Don't search past
373         LAST_EXTENDED_REGNUM.
374         (mn10300_gen_multiple_store, store_multiple_operation): Likewise.
375         * config/mn10300/mn10300.md: Remove excessive line breaks from
376         `@' output patterns that were accounted as additional
377         alternatives.
378         * config/mn10300/mn10300.md, config/mn10300/mn10300.c:
379         Re-introduce changes accidentally removed in Richard Sandiford's
380         2000-12-05's patch.
381         * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
382         Re-instate am33-2 lost in merge from net GCC.
383         2000-08-26  Alexandre Oliva  <aoliva@redhat.com>
384         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
385         floating-point registers.
386         2000-08-07  Alexandre Oliva  <aoliva@redhat.com>
387         * config/mn10300/mn10300.md (movdf): Revert some am33-specific
388         pessimizations that had gone in on 2000-05-08.
389         2000-06-28  Graham Stott  <grahams@cygnus.co.uk>
390         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
391         2000-06-22  Graham Stott  <grahams@cygnus.co.uk>
392         * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
393         operand 0.
394         * (movhi): Likewise.
395         * (movsi): Likewise.
396         * (movsf): Likewise.
397         * (movdi): Likewise.
398         * (movdf): Likewise.
399         Wed May 24 13:16:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
400         * config/mn10300/mn10300.c (fp_regs_to_save): New function.
401         (can_use_return_insn, initial_offset): Add fp_regs_to_save.
402         (expand_prologue, expand_epilogue): Save and restore FP regs.
403         2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
404         * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
405         2000-05-13  Alexandre Oliva  <aoliva@cygnus.com>
406         * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
407         subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
408         Do not clobber cc0.
409         2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
410         * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
411         Discourage the two-argument, longer opcodes.
412         (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
413         ones.
414         * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
415         (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
416         * config/mn10300/mn10300.md (cmpsf): New pattern.
417         (branch): Test mdep.fpCC and output fbCC.
418         * config/mn10300/mn10300.c (print_operand): Output conditions.
419         (notice_cc_update): Recognize fcmp and set mdep.fpCC.
420         2000-05-10  Alexandre Oliva  <aoliva@cygnus.com>
421         * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
422         mulsf3, divsf3): Use the `F' constraint for FP values.
423         * config/mn10300/mn10300.c (const_1f_operand): New function.
424         * config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
425         * config/mn10300/mn10300.md (sqrtsf2): New expand.
426         (rsqrtsf2): New insn.
427         2000-05-09  Alexandre Oliva  <aoliva@cygnus.com>
428         * config/mn10300/mn10300.md (movdf): Oops, I missed it in my
429         previous check-in.
430         2000-05-08  Alexandre Oliva  <aoliva@cygnus.com>
431         * config/mn10300/mn10300.md (abssf2, negdf2): On
432         TARGET_AM33_2, expand to...
433         (abssf2_am33_2, negdf2_am33_2): New insns.
434         (addsf3, subsf3, mulsf3, divsf3): Likewise.
435         (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
436         * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
437         movdi, movdf): Added FP regs.
438         * invoke.texi (-mam33-2, -mno-am33-2): Document.
439         2000-04-29  Alexandre Oliva  <aoliva@cygnus.com>
440         * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
441         New macros.
442         (REGNO_AM33_2_FP_P): Renamed to...
443         (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
444         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
445         2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
446         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
447         regs from GENERAL_REGS.
448         2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
449         * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
450         * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
451         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
452         2000-04-23  Alexandre Oliva  <aoliva@cygnus.com>
453         * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
454         as FP_REGS.
455         2000-04-21  Alexandre Oliva  <aoliva@cygnus.com>
456         * config/mn10300/mn10300.h (OK_FOR_Q): New macro.
457         (EXTRA_CONSTRAINT): Added OK_FOR_Q.
458         * config/mn10300/mn10300.c (secondary_reload_class): Adjust.
459         * config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
460         * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
461         (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
462         AM33/2.0 floating-point registers.
463         (CONDITIONAL_REGISTER_USAGE): Adjust.
464         (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
465         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
466         (REG_CLASS_FROM_LETTER): Added `f' and `A'.
467         (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
468         * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
469         (MULTILIB_DIRNAMES): Likewise.
470         * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
471         `__AM33_2__' when `-mam33-2' is given.
472         (TARGET_AM33_2): Define.
473         (TARGET_SWITCHES): Adjust.
474         * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
475         when appropriate.
476
477 2003-07-09  Matt Kraai  <kraai@alumni.cmu.edu>
478
479         * doc/install.texi: Add missing @.
480
481 2003-07-09  Bob Wilson  <bob.wilson@acm.org>
482
483         * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
484
485 2003-07-09  Aldy Hernandez  <aldyh@redhat.com>
486
487         PR/11144
488         * config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
489
490 2003-07-09  Nathanael Nerode  <neroden@gcc.gnu.org>
491
492         PR bootstrap/11043
493         * config/arc/t-arc: Replace bogus references to "x-crtinit.o",
494         "x-crtfini.o" with "crtinit.o", "crtfini.o".
495
496         * fixinc/inclhack.def (limits_ifndefs): Add select test.
497         * fixinc/fixincl.x: Rebuild.
498
499         * fixinc/inclhack.def (math_exception):  Improve bypass and comment.
500         * fixinc/fixincl.x: Rebuild.
501
502 2003-07-09  Hans-Peter Nilsson  <hp@bitrange.com>
503
504         * doc/install.texi (Configuration): Document the valgrind option
505         to --enable-checking.
506
507 Wed Jul  9 16:16:30 CEST 2003  Jan Hubicka  <jh@suse.cz>
508
509         * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
510
511 2003-07-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
512
513         * c-lex.c (cb_ident): Cast cstr.text to const char *.
514
515 2003-07-09  Nathan Sidwell  <nathan@codesourcery.com>
516
517         * gcov-io.h: Update documentation.
518         (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
519         GCOV_NOTE_MAGIC.
520         (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
521         (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
522         (struct gcov_var): Change buffer's type. Add endian flag.
523         (gcov_open): Remove mode in libgcov.
524         (gcov_magic): Prototype.
525         * gcov-io.c (from_file): New.
526         (gcov_open): Clear endian flag.
527         (gcov_magic): New.
528         (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
529         pointers.
530         (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
531         gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
532         (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
533         * gcov-iov.c (main): Correct cast.
534         * coverage.c (read_counts_file): Use gcov_magic. Remove endianness
535         conversion.
536         (gcov_begin_output): Use GCOV_NOTE_MAGIC.
537         (coverage_init): Use GCOV_NOTE_SUFFIX.
538         * libgcov.c (gcov_version_mismatch): Remove endianness conversion.
539         Rename to gcov_version, and return flag.
540         (gcov_exit): Use gcov_version.
541         (__gcov_init): Use gcov_version.
542         * Makefile.in (coverageexts): Update.
543         * gcov.c (print_version): Remove endianness conversion.
544         (create_file_names): Use GCOV_NOTE_SUFFIX.
545         (read_graph_file): Use gcov_magic.
546         (read_count_file): Likewise.
547         * gcov-dump.c (dump_file): Remove endianness conversion, use
548         gcov_magic.
549
550 2003-07-09  Nathan Sidwell  <nathan@codesourcery.com>
551
552         * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
553         coverage is on.
554         * configure: Regenerated.
555         * Makefile.in (ALL_CFLAGS): Correct its comment.
556
557 2003-07-08  Mark Mitchell  <mark@codesourcery.com>
558
559         * fold-const.c (make_range): Do not access operand 1 for a
560         zero-operand operator.
561
562 2003-07-09  Neil Booth  <neil@daikokuya.co.uk>
563
564         * toplev.c (warn_dummy, W_options): Die.
565         (display_help): Don't print W_options.
566         * common.opt: Add W_options help from toplev.c.
567
568 2003-07-09  Andreas Jaeger  <aj@suse.de>
569
570         * opts.c (wrap_help): Only pass int arguments as arguments to
571         printf's '*' modifier.  Change argument of function.
572
573 2003-07-08  Matt Kraai  <kraai@alumni.cmu.edu>
574
575         * doc/invoke.texi: Fix misspelling of "@item".
576
577 2003-07-08  Kazu Hirata  <kazu@cs.umass.edu>
578
579         * config/i386/i386.md: Remove an old comment about
580         NOTICE_UPDATE_CC.
581
582 Wed Jul  9 03:00:10 CEST 2003  Jan Hubicka  <jh@suse.cz>
583
584         * cgraph.c (cgraph_node_name): New function.
585         (dump_cgraph): Use it.
586         * cgraph.h (cgraph_dump_file): Declare.
587         (cgraph_node_name): Declare.
588         * cgraphunit.c: Include timevar.h
589         (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
590         (cgraph_optimize_function): Use TV_INTEGRATION.
591         (cgraph_mark_local_functions): reorganize dumps.
592         (cgraph_mark_functions_to_inline_once): Likewise.
593         (cgraph_optimize): Likewise; use timevar.
594         * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
595         * toplev.c (dump_file_index): Add DFI_cgraph.
596         (dump_file_info): Likewise.
597         (cgraph_dump_file): New global variable.
598         (do_compile): Open and close cgraph dump.
599         * invoke.texi (-d): Document new flag; renumber.
600
601 2003-07-08  Roger Sayle  <roger@eyesopen.com>
602
603         PR c/11370
604         * calls.c (emit_call_1): Don't bother popping the arguments off of
605         the stack after a noreturn function call;  The adjustment is dead.
606         (expand_call): Likewise.
607
608 2003-07-08  Geoffrey Keating  <geoffk@apple.com>
609
610         * expr.c (MOVE_MAX_PIECES): Move from here...
611         * defaults.h (MOVE_MAX_PIECES): ... to here.
612
613 2003-07-08  Matt Kraai  <kraai@alumni.cmu.edu>
614
615         * Makefile.in (stage1-start): Handle an empty SUBDIRS.
616
617 2003-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
618
619         * genattr.c (internal_dfa_insn_code): Don't prototype.
620         * genattrtab.c (attr_desc): Add `static_p' field.
621         (expand_units): Make blockage range and ready cost functions
622         static.
623         (write_attr_get): Don't add extern prototypes in C file.  Mark
624         static functions as appropriate.
625         (find_attr, make_internal_attr): Initialize static_p.
626         * genattrtab.h (ATTR_STATIC): New macro.
627         * genautomata.c (output_internal_reset_func): Mark output function
628         as inline.
629         (make_internal_dfa_insn_code_attr): Mark output function as static.
630
631 2003-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
632
633         * genattrtab.h: Add new macros for attr `special' flags.
634         * genattrtab.c (attr_desc): Reorder/resize fields better.
635         Use attr `special' macros in all calls to make_internal_attr.
636         * genautomata.c: Likewise.
637
638 Wed Jul  9 02:25:39 CEST 2003  Jan Hubicka  <jh@suse.cz>
639
640         * c-common.c (c_estimate_num_insns_1): New static function.
641         (c_estimate_num_insns): New global function.
642         * c-common.h (DECL_NUM_STMTS): Rename to...
643         (DECL_ESTIMATED_INSNS): ... this.
644         (c_estimate_num_insns): Declare.
645         * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
646         * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
647         * c-semantics.c (add_stmt): Do not account statements.
648         * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
649         New.
650         * langhooks.h (lang_hooks_for_tree_inlining): Add
651         estimate_num_insns
652         * params.def (max-inline-insns-auto, max-inline-insns-auto): set
653         to 100.
654         (max-inline-insns): set to 300.
655         (min-inline-insns): set to 10.
656         * tree-inline.c (struct inline_data): Rename inlined_stmts to
657         inlined-insns.
658         (INSNS_PER_STMT): Kill.
659         (inlinable_function_p): Compute and store body size.
660         (expand_call_inline): Likewise.
661         (optimize_inline_calls): Likewise.
662
663 2003-07-08  James E Wilson  <wilson@tuliptree.org>
664
665         PR target/10021
666         * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
667         loop over new variable t2 instead of t.
668
669 2003-07-08  Danny Smith  <dannysmith@users.sourceforge.net>
670
671         PR bootstrap/11455
672         * config/i386/winnt.c: Replace use of error(), warning() with
673         error_with_decl(), warning_with_decl(),  throughout.
674
675 2003-07-08  Neil Booth  <neil@daikokuya.co.uk>
676
677         * opts.c (wrap_help): Use unsigned int, not size_t.
678
679 2003-07-08  Stephane Carrez  <stcarrez@nerim.fr>
680
681         * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
682         as .file/.loc directives are incompatible with linker relaxation.
683
684 2003-07-08  Zack Weinberg  <zack@codesourcery.com>
685
686         * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
687         * fixinc/Makefile.in: Remove all references to gnu-regex.[och].
688         * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
689         * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
690         * fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
691         * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
692         Escape { and } characters which are not part of range expressions.
693         * fixinc/fixincl.x: Regenerate.
694         * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file.
695
696 2003-07-08  Steven Bosscher  <steven@gcc.gnu.org>
697
698         PR c/1687
699         * tree-inline.c (find_alloca_call): Use
700         walk_tree_without_duplicates, instead of walk_tree.
701         (find_builtin_longjmp_call): Likewise.
702         * c-objc-common.c (c_cannot_inline_fn): Likewise.
703         * c-semantics.c (find_reachable_label): Likewise.
704
705 2003-07-08  Jakub Jelinek  <jakub@redhat.com>
706
707         PR c/11420
708         * config/i386/i386.c (ix86_check_movabs): New function.
709         * config/i386/i386-protos.h (ix86_check_movabs): New prototype.
710         * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
711         (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
712
713 2003-07-08  Chris Demetriou  <cgd@broadcom.com>
714
715         * Makefile.in (install-po): Cope with empty CATALOGS.
716
717 2003-07-08  Richard Sandiford  <rsandifo@redhat.com>
718
719         * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
720         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
721         (SECTION_FUNCTION_TEMPLATE): Delete.
722         * config/mips/elf.h: As for elf64.h.
723         (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
724         * config/mips/linux.h: As for elf.h
725         * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
726         * config/mips/iris6.h (EXTRA_SECTIONS): Delete.
727         (EXTRA_SECTION_FUNCTIONS): Remove sdata_section.  Remove the handling
728         of in_sdata from current_section_name and current_section_flags.
729         * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
730         * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
731         (MASK_GP_OPT, TARGET_GP_OPT): Delete.
732         (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
733         (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
734         (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
735         * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
736         (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
737         (mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
738         (override_options): Remove setting of MASK_GPOPT.
739         (mips_output_external): Use mips_in_small_data_p to check whether a
740         symbol needs an .extern directive.  Don't emit such directives for
741         TARGET_EXPLICIT_RELOCS.
742         (mips_declare_object): Update accordingly.
743         (mips_select_rtx_section): Call named_section rather than
744         SMALL_DATA_SECTION.
745         (mips_select_section): Use default_elf_section_section for everything
746         except .text string constants.
747         (mips_in_small_data_p): New function.
748         (mips_encode_section_info): Remove small data handling.
749         (mips_unique_section): Delete.
750         (iris6_section_type_flags): New function.
751         * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.
752
753 2003-07-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
754
755         PR Target/11453
756         * pa.md: Disparage all mtsar constraints.
757         (extzv, extv, insv): Don't fail on length of {32|64}.
758
759 2003-07-08  Zack Weinberg  <zack@codesourcery.com>
760
761         * system.h: Poison MAP_CHARACTER.
762         * config/i370/i370-protos.h (mvs_map_char): Delete.
763         * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
764         * config/i370/i370.h (MAP_CHARACTER): Delete definition.
765         (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
766
767 2003-07-08  Danny Smith  <dannysmith@users.sourceforge.net>
768
769         * toplev.c (randomize): Correct call to time().
770
771 2003-07-08  Jakub Jelinek  <jakub@redhat.com>
772
773         * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
774         REG_EQUIV notes as well.
775
776 2003-07-08  Kazu Hirata  <kazu@cs.umass.edu>
777
778         * doc/md.texi: Fix the description of addmodecc.
779
780 2003-07-07  Zack Weinberg  <zack@codesourcery.com>
781
782         * Makefile.in (top_builddir): Set to "..", not ".".
783         (INTLLIBS, INTLDEPS): Delete.
784         (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
785         (LIBDEPS): Add $(LIBICONV_DEP).
786         (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
787         (INCLUDES): Replace -I../intl with @INCINTL@.
788         ($(top_builddir)/intl/libintl.a): Delete rule.
789         (stage2-start, stage3-start, stage4-start, stageprofile-start,
790         stagefeedback-start): Use $$ for variable to be evaluated by
791         shell, not make.
792         * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
793         HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
794         * aclocal.m4: sinclude ../config/progtest.m4.  Add
795         contents of lcmessage.m4 from gettext distro.
796         * configure.in: Check for wchar.h and setlocale.  Set
797         LIBICONV_DEP to the empty string and substitute it.
798         Call AM_LC_MESSAGES.  Delete AC_ARG_ENABLE for --enable-nls;
799         this is handled elsewhere.  Use ZW_GNU_GETTEXT_SISTER_DIR,
800         not CY_GNU_GETTEXT.  Clear $LIBICONV if its text is included
801         in $LIBINTL, to avoid linking it twice.
802         * configure, config.in: Regenerate.
803
804 2003-07-08  Nathanael Nerode  <neroden@gcc.gnu.org>
805
806         * fixinc/mkfixinc.sh: Remove winnt support.
807         * fixinc/fixinc.winnt: Delete with extreme prejudice.
808
809 2003-07-08  Neil Booth  <neil@daikokuya.co.uk>
810
811         * Makefile.in: Update.
812         * c-opts.c (c_common_handle_option): opt_text now contains the '-'.
813         * c.opt: Update documentation.
814         * common.opt: Add some help text.
815         * opts.c: Include intl.h.
816         (wrap_help, print_help): New.
817         (find_opt, handle_option, common_handle_option): opt_text now
818         contains the '-'.  Use print_help to output help.
819         * opts.h (struct cl_option): New member "help".
820         * opts.sh: Update to handle help text output and to prepend
821         options with '-'.
822         * toplev.c (display_help): Remove some help text.
823
824 2003-07-07  David Edelsohn  <edelsohn@gnu.org>
825             Fariborz Jahanian  <fjahanian@apple.com>
826
827         * configure.in: Test for PowerPC mfcr field support in assembler.
828         * config.in, configure: Regenderated.
829
830         * config/rs6000/power4.md: Add mfcrf reservation.
831         * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
832         * config/rs6000/rs6000.c (mfcr_operation): Define.
833         (print_operand): Add 'Q' case for mfcrf.
834         * config/rs6000/rs6000.h (TARGET_MFCRF): New.
835         * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
836         (movcc_internal1): Emit optional field operand for mfcr and set
837         "type" attribute appropriately.
838         (mfcr SCC): Likewise.
839         (movesi_from_cr_one): New.
840
841 2003-07-07  Roger Sayle  <roger@eyesopen.com>
842
843         * config/i386/i386.md: Correct check-in of incorrect version.
844
845 2003-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
846
847         * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
848         adjacent stdio calls.
849         * c-decl.c (c_print_identifier): Likewise.
850         * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
851         * print-rtl.c (print_rtx): Likewise.
852         * print-tree.c (print_node_brief, print_node): Likewise.
853         * system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
854
855         * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
856         * config.in, configure: Regenerated.
857
858 2003-07-07  Roger Sayle  <roger@eyesopen.com>
859
860         PR target/10979
861         * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
862         Changed to define_expand patterns that copy operand[1] to prevent
863         it from being clobbered before emitting an atan2?f3_1 insn.
864         (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
865         patterns that actually specify the behaviour of x87's FPATAN.
866
867 2003-07-07  Jakub Jelinek  <jakub@redhat.com>
868
869         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
870         clearing of SYMBOL_FLAG_LOCAL bit.
871         If vcall_offset fits into signed 16-bit immediate, use
872         one instruction for both addition and load.
873
874 2003-07-07  Neil Booth  <neil@daikokuya.co.uk>
875
876         * opts.c (common_handle_option): Correct handling of the
877         -falign- switches that do and don't take an argument.
878
879 2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
880
881         * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
882         today.
883         (pushhi1_h8300hs): Likewise.
884
885 2003-07-07  Andreas Jaeger  <aj@suse.de>
886
887         * genextract.c: Convert remaining prototypes to ISO C90.
888
889         * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
890         * fold-const.c (fold_single_bit_test): Likewise.
891         * diagnostic.c (default_diagnostic_finalizer): Likewise.
892         * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
893
894         * gengtype.c (write_array): Generate ISO C90 prototypes.
895
896         * genflags.c (gen_proto): Generate ISO C90 prototypes.
897
898 2003-07-07  Roger Sayle  <roger@eyesopen.com>
899
900         PR optimization/11059
901         * expr.c (can_store_by_pieces): Return true if length is zero.
902         (store_by_pieces): If length is zero and endp is two, abort,
903         othwerise, if length is zero and endp is not two, return "to".
904         (clear_by_pieces): Do nothing if length is zero.
905         (clear_storage): Do nothing if length is zero.
906         (store_constructor): Simplify code when size is zero, or the
907         target has already been cleared.  This avoids emitting a
908         blockage instruction when initializing empty structures.
909
910 2003-07-07  Andreas Jaeger  <aj@suse.de>
911
912         * mips-tfile.c: Convert prototypes to ISO C90.
913         * mips-tdump.c: Convert prototypes to ISO C90.
914
915 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
916
917         * rtl.h (emit_line_note): Take a location_t.
918         (emit_line_note_force): Remove.
919         (set_file_and_line_for_statement): Take a location_t.
920         * tree.g (emit_line_note): Take a location_t.
921         * emit-rtl.c (emit_line_note): Take a location_t.
922         (emit_line_note_force): Remove.
923         * function.c (init_function_start): Adjust emit_line_note call.
924         (expand_function_end): Use force_next_line_note, not
925         emit_line_note_force.
926         * c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
927         * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
928         genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
929         genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
930         genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
931         genrtl_continue_stmt, genrtl_switch_stmt,
932         genrtl_asm_stmt): Likewise.
933         * expr.c (expand_expr): Likewise.
934         * integrate.c (expand_inline_function): Likewise.
935         * stmt.c (set_file_and_line_for_stmt): Take a location_t.
936         (expand_decl_init): Adjust emit_line_note call.
937
938 2003-07-07  Dale Johannesen  <dalej@apple.com>
939
940         * config/rs6000/darwin-tramp.asm:  Fix trampolines.  PR 10900.
941
942 2003-07-07  Andreas Jaeger  <aj@suse.de>
943
944         * config/i386/i386-protos.h: Convert prototypes to ISO C90.
945         * config/i386/i386.c: Likewise.
946
947 2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
948
949         * config/h8300/h8300.md: Use gen_int_mode instead of
950         GEN_INT (trunc_int_for_mode (...)).
951
952 2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
953
954         * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
955         2 bytes and then subtract 2 from the stack pointer.
956         (pushhi1_h8300hs): Likewise.
957
958 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
959
960         * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
961         -frandom-seed.
962         * configure: Regenerated.
963         * Makefile.in: Remove extraneous comment.
964         * toplev.c (randomize): Protect against potential multiple calls.
965         * doc/invoke.texi (-frandom-seed): Document use for in coverage
966         files.
967
968 2003-07-07  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
969             Eric Botcazou  <ebotcazou@libertysurf.fr>
970
971         PR optimization/11198
972         * alias.c (objects_must_conflict_p): Return 1 if the types have
973         the same alias set, not if the alias sets only conflict.
974
975 2003-07-07  Andrew Pinski  <pinskia@physics.uc.edu>
976
977         * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
978         (convert_cset): Change inbuf to type ICONV_CONST char.
979         * Makefile.in (LIBS): Add LIBICONV.
980
981         * doc/invoke.texi (-falign-functions): Document that
982         when n is zero then a machine-dependent default is used.
983         (-falign-labels): Document that when n is zero then a
984         machine-dependent default is used and that -falign-labels =1
985         is equivalent to -fno-align-labels.
986         (-falign-loops): Likewise.
987         (-falign-jumps): Likewise.
988
989 2003-07-06  Art Haas  <ahaas@airmail.net>
990
991         * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
992         initializer syntax.
993
994 2003-07-06  James E Wilson  <wilson@tuliptree.org>
995
996         PR optimization/9812
997         * rtl.h (mem_for_const_double): Delete prototype.
998         * varasm.c (mem_for_const_double): Delete function.
999         * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
1000         config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
1001         (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
1002         * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
1003         (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
1004         * config/m68k/m68k.md (movxf): Add reload_in_progress guard.  Add
1005         comment about confused support for XFmode constants.
1006
1007 Mon Jul  7 02:03:56 CEST 2003  Jan Hubicka  <jh@suse.cz>
1008
1009         * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
1010
1011 2003-07-06  Kazu Hirata  <kazu@cs.umass.edu>
1012
1013         * config/h8300/h8300.c: Fix comment typos.
1014         * config/h8300/h8300.md: Likewise.
1015         * config/i386/athlon.md: Likewise.
1016         * config/i386/i386.c: Likewise.
1017         * config/i386/pentium.md: Likewise.
1018         * config/ia64/ia64.c: Likewise.
1019         * config/ia64/itanium1.md: Likewise.
1020         * config/ia64/itanium2.md: Likewise.
1021         * config/m32r/m32r.md: Likewise.
1022         * config/m68hc11/m68hc11.c: Likewise.
1023         * config/mcore/mcore.c: Likewise.
1024         * config/mips/sr71k.md: Likewise.
1025         * config/mips/t-iris5-as: Likewise.
1026         * config/mmix/mmix.h: Likewise.
1027         * config/ns32k/ns32k.h: Likewise.
1028         * config/ns32k/NOTES: Fix a typo.
1029
1030 2003-07-06  Andreas Jaeger  <aj@suse.de>
1031
1032         * stmt.c: Convert remaining prototypes to ISO C90.
1033         * cfglayout.c: Likewise.
1034         * dbxout.c: Likewise.
1035         * gcc.c: Likewise.
1036         * genemit.c: Likewise.
1037
1038         * basic-block.h: Convert prototypes to ISO C90.
1039         * c-parse.in: Likewise.
1040         * c-pragma.h: Likewise.
1041         * c-typeck.c: Likewise.
1042         * cfghooks.h: Likewise.
1043         * cfgloopanal.c: Likewise.
1044         * dbxout.h: Likewise.
1045         * debug.h: Likewise.
1046         * dwarf2asm.h: Likewise.
1047         * gcov.c: Likewise.
1048         * gengtype-lex.l: Likewise.
1049         * sched-int.h: Likewise.
1050         * timevar.c: Likewise.
1051
1052 2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
1053
1054         * c-common.h (c_comon_handle_filename,
1055         c_common_missing_arguement): New.
1056         * c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
1057         LANG_HOOKS_MISSING_ARGUMENT): New.
1058         * c-opts.c (missing_arg): Rename c_common_missing_argument,
1059         update to be an appropriate langhook.
1060         (c_common_handle_option): Don't handle filenames.
1061         (c_common_handle_filename): New.
1062         * hooks.c (hook_void_constcharptr,
1063         hook_bool_constcharptr_size_t_false): New.
1064         * hooks.h (hook_void_constcharptr,
1065         hook_bool_constcharptr_size_t_false): New.
1066         * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
1067         LANG_HOOKS_MISSING_ARGUMENT): New.
1068         (LANG_HOOKS_INITIALIZER): Update.
1069         * langhooks.h (struct lang_hooks): Add handle_filename and
1070         missing_argument.
1071         * opts.c (handle_option): Don't handle filenames here, but ...
1072         (handle_options): ... here.
1073         (common_handle_option): Don't handle missing arguments here.
1074         * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
1075         LANG_HOOKS_MISSING_ARGUMENT): New.
1076
1077 2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
1078
1079         * Makfile.in: Remove traces of mbchar.
1080         * c-parse.in (MULTIBYTE_CHARS): Remove.
1081         * config.in (MULTIBYTE_CHARS): Remove.
1082         * configure: Remove --enable-mbchar.
1083         * configure.in: Remove --enable-mbchar.
1084         * mbchar.c, mbchar.h: Remove.
1085         * system.h: Poison MULTIBYTE_CHARS.
1086         * config/linux-aout.h (MULTIBYTE_CHARS): Remove.
1087         * config/linux.h (MULTIBYTE_CHARS): Remove.
1088         * config/svr4.h (MULTIBYTE_CHARS): Remove.
1089         * config/sparc/linux.h (MULTIBYTE_CHARS): Remove.
1090
1091 2003-07-06  Andreas Jaeger  <aj@suse.de>
1092
1093         * varray.c (varray_check_failed): Fix typo.
1094
1095         * unroll.c: Convert prototypes to ISO C90.
1096         * varasm.c: Likewise.
1097         * varray.c: Likewise.
1098         * varray.h: Likewise.
1099         * vmsdbgout.c: Likewise.
1100         * xcoffout.c: Likewise.
1101         * xcoffout.h: Likewise.
1102
1103 2003-07-06  Nathan Sidwell  <nathan@codesourcery.com>
1104
1105         * gcov-io.h: Add a local time stamp.
1106         (struct gcov_info): Add stamp field.
1107         (gcov_truncate): New.
1108         * coverage.c (read_counts_file): Skip the stamp.
1109         (coverage_begin_output): Write the stamp.
1110         (build_gcov_info): Declare and init the stamp.
1111         (coverage_finish): Only unlink data file, if stamp is zero.
1112         * gcov-dump.c (dump_file): Dump the stamp.
1113         * gcov.c (bbg_stamp): New.
1114         (release_structures): Clear bbg_stamp.
1115         (read_graph_file): Read stamp.
1116         (read_count_file): Check stamp.
1117         * libgcov.c (gcov_exit): Check stamp and truncate if needed.
1118
1119 2003-07-06  Nathan Sidwell  <nathan@codesourcery.com>
1120
1121         * tree.h (default_flag_random_seed): Remove.
1122         * toplev.h (local_tick): Declare.
1123         * tree.c (flag_random_seed, default_flag_random_seed): Move to
1124         toplev.c.
1125         (append_random_chars): Don't call default_flag_random_seed.
1126         * toplev.c (flag_random_seed): Define here. Set local_tick.
1127         (local_tick): Define.
1128         (randomize): New, moved from tree.c.
1129         (print_switch_values): Adjust.
1130         (toplev_main): Call randomize.
1131
1132 2003-07-06  Nathan Sidwell  <nathan@codesourcery.com>
1133
1134         * tree.h (crc32_string): Declare.
1135         * tree.c (append_random_chars): Remove.
1136         (crc32_string): New.
1137         (get_file_function_name_long): Use crc32_string here.
1138
1139 2003-07-06  Andreas Jaeger  <aj@suse.de>
1140
1141         * gcc.c: Convert prototypes to ISO C90.
1142         * gcc.h: Likewise.
1143         * gcov-dump.c: Likewise.
1144         * gcov-iov.c: Likewise.
1145         * gcse.c: Likewise.
1146         * genattrtab.h: Likewise.
1147         * ggc.h: Likewise.
1148         * global.c: Likewise.
1149         * graph.c: Likewise.
1150         * graph.h: Likewise.
1151         * hosthooks.h: Likewise.
1152         * hooks.h: Likewise.
1153         * hooks.c: Likewise.
1154         * hashtable.h: Likewise.
1155         * hashtable.c: Likewise.
1156         * haifa-sched.c: Likewise.
1157         * integrate.h: Likewise.
1158         * integrate.c: Likewise.
1159         * input.h: Likewise.
1160         * ifcvt.c: Likewise.
1161         * jump.c: Likewise.
1162         * langhooks-def.h: Likewise.  Add extern to prototypes.
1163         * langhooks.c: Likewise.
1164         * langhooks.h: Likewise.
1165         * lcm.c: Likewise.
1166         * local-alloc.c: Likewise.
1167         * loop-init.c: Likewise.
1168         * loop-unroll.c: Likewise.
1169         * loop-unswitch.c: Likewise.
1170         * loop.c: Likewise.
1171         * loop.h: Likewise. Add extern to prototypes.
1172         * machmode.h: Likewise.
1173         * main.c: Likewise.
1174         * mbchar.c: Likewise.
1175         * mbchar.h: Likewise.
1176         * mkdeps.c: Likewise.
1177         * mkdeps.h: Likewise.
1178         * optabs.c: Likewise.
1179         * optabs.h: Likewise.
1180         * output.h: Likewise.
1181         * gccspec.c: Likwise.
1182         * postreload.c: Likewise.
1183         * prefix.c: Likewise.
1184         * prefix.h: Likewise.
1185         * print-rtl.c: Likewise.
1186         * print-tree.c: Likewise.
1187         * profile.c: Likewise.
1188         * read-rtl.c: Likewise.
1189         * real.c: Likewise.
1190         * real.h: Likewise.
1191         * recog.c: Likewise.
1192         * recog.h: Likewise.
1193         * reg-stack.c: Likewise.
1194         * regclass.c: Likewise.
1195         * regmove.c: Likewise.
1196         * regrename.c: Likewise.
1197         * regs.h: Likewise.
1198         * reload.c: Likewise.
1199         * reload.h: Likewise.
1200         * reload1.c: Likewise.
1201         * reorg.c: Likewise.
1202         * resource.c: Likewise.
1203         * resource.h: Likewise.
1204         * rtl-error.c: Likewise.
1205         * rtl.c: Likewise.
1206         * rtl.h: Likewise.
1207         * rtlanal.c: Likewise.
1208         * sbitmap.c: Likewise.
1209         * sbitmap.h: Likewise.
1210         * scan-decls.c: Likewise.
1211         * scan.c: Likewise.
1212         * sched-deps.c: Likewise.
1213         * sched-ebb.c: Likewise.
1214         * sched-int.h: Likewise.
1215         * sched-rgn.c: Likewise.
1216         * sched-vis.c: Likewise.
1217         * sibcall.c: Likewise.
1218         * simplify-rtx.c: Likewise.
1219         * sreal.c: Likewise.
1220         * sreal.h: Likewise.
1221         * ssa-ccp.c: Likewise.
1222         * ssa-dce.c: Likewise.
1223         * ssa.c: Likewise.
1224         * ssa.h: Likewise.
1225         * stack.h: Likewise.
1226         * stmt.c: Likewise.
1227         * stor-layout.c: Likewise.
1228         * stringpool.c: Likewise.
1229         * target.h: Likewise.
1230         * timevar.c: Likewise.
1231         * timevar.h: Likewise.
1232         * tlink.c: Likewise.
1233         * tracer.c: Likewise.
1234         * tree-inline.c: Likewise.
1235         * tree-inline.h: Likewise.
1236         * tree.c: Likewise.
1237         * tree.h: Likewise.
1238
1239 2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
1240
1241         * combine.c (nonzero_bits1): Fix a warning.
1242
1243 2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
1244
1245         * config/h8300/h8300.c (compute_mov_length): Correct the
1246         length of loading CONST0_RTX (SFmode).
1247
1248 2003-07-05  Nathan Sidwell  <nathan@codesourcery.com>
1249
1250         * toplev.c (output_clean_symbol_name): Remove.
1251         * toplev.h (output_clean_symbol_name): Remove.
1252         * config/alpha/alpha.c (unicosmk_output_module_name): Use
1253         lbasename & clean_symbol_name.
1254
1255 2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
1256
1257         * ggc.h: Follow spelling conventions.
1258         * config/i386/i386.c: Likewise.
1259         * config/i386/winnt.c: Likewise.
1260         * config/rs6000/rs6000.c: Likewise.
1261
1262 2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
1263
1264         * bt-load.c: Fix comment typos.
1265         * c-incpath.c: Likewise.
1266         * cfg.c: Likewise.
1267         * cfgcleanup.c: Likewise.
1268         * cfgloop.h: Likewise.
1269         * cfgloopmanip.c: Likewise.
1270         * cfgrtl.c: Likewise.
1271         * diagnostic.h: Likewise.
1272         * dwarfout.c: Likewise.
1273         * emit-rtl.c: Likewise.
1274         * et-forest.c: Likewise.
1275         * et-forest.h: Likewise.
1276         * expr.c: Likewise.
1277         * gcse.c: Likewise.
1278         * genattr.c: Likewise.
1279         * jump.c: Likewise.
1280         * langhooks.h: Likewise.
1281         * local-alloc.c: Likewise.
1282         * loop-unroll.c: Likewise.
1283         * loop-unswitch.c: Likewise.
1284         * ra-build.c: Likewise.
1285         * regclass.c: Likewise.
1286         * regmove.c: Likewise.
1287         * rtl.def: Likewise.
1288         * rtlanal.c: Likewise.
1289         * sched-ebb.c: Likewise.
1290         * sched-rgn.c: Likewise.
1291         * simplify-rtx.c: Likewise.
1292         * ssa.c: Likewise.
1293         * tracer.c: Likewise.
1294         * tree.c: Likewise.
1295
1296 2003-07-05  Zack Weinberg  <zack@codesourcery.com>
1297
1298         * cppcharset.c: Use the correct return type for the fallback iconv
1299         macro.
1300
1301 Sat Jul  5 16:18:53 CEST 2003  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1302
1303         Blame to Jan Hubicka  <jh@suse.cz>
1304         * cfglayout.c (record_effective_endpoints): Split insns before
1305         first basic block correctly.
1306
1307 2003-07-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1308
1309         * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
1310         bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
1311         if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
1312
1313 2003-07-05  Andreas Jaeger  <aj@suse.de>
1314
1315         * genattrtab.c (write_attr_get): Revert part of last patch to
1316         always write out a prototype.
1317
1318         * genemit.c (gen_split): Readd lost unused attributes in last
1319         patch.
1320
1321 2003-07-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1322
1323         * cfgloopmanip.c (force_single_succ_latches): Force latch to be
1324         different from header.
1325
1326 2003-07-05  Andreas Schwab  <schwab@suse.de>
1327
1328         * config/m68k/m68k.c: Remove code protected by CRDS.
1329         * config/m68k/m68k.md: Likewise.
1330
1331 2003-07-05  Neil Booth  <neil@daikokuya.co.uk>
1332
1333         PR driver/11417
1334         * c-opts.c (permit_fortran_options): New.
1335         (c_common_init_options): Accept fortran front end options if
1336         it looks like we might be preprocessing Fortran.
1337         (c_common_handle_option): Don't reject switch if permit_fotran_options.
1338
1339 2003-07-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1340
1341         * genattr.c (internal_dfa_insn_code): Output prototype.
1342         * genattrtab.c: Don't output unnecessary decls, output in ISO C.
1343         * genautomata.c: Likewise.
1344         * genconditions.c: Likewise.
1345         * genemit.c: Likewise.
1346         * genextract.c: Likewise.
1347         * gengenrtl.c: Likewise.
1348         * gengtype.c: Likewise.
1349         * genopinit.c: Likewise.
1350         * genoutput.c: Likewise.
1351         * genpeep.c: Likewise.
1352         * genrecog.c: Likewise.
1353
1354 2003-07-04  Zack Weinberg  <zack@codesourcery.com>
1355
1356         * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
1357         (struct cpp_options): Add narrow_charset, wide_charset,
1358         bytes_big_endian fields.  Remove EBCDIC field.
1359         (cpp_init_iconv, cpp_interpret_string): New external interfaces.
1360
1361         * cpphash.h: Include <iconv.h> if we have it, otherwise
1362         provide a dummy definition of iconv_t.
1363         (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
1364         (_cpp_valid_ucn): Update prototype.
1365         (_cpp_destroy_iconv): New prototype.
1366
1367         * doc/cpp.texi: Document character set handling.
1368         * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
1369         * doc/extend.texi: Delete entire section on multiline strings.
1370         Rewrite section on __FUNCTION__ etc now that these are
1371         variables in C.
1372
1373         * cppucnid.tab, cppucnid.pl: New files.
1374         * cppucnid.h: New generated file.
1375         * cppcharset.c: Include cppucnid.h.  Lots of commentary added.
1376         (iconv_open, iconv, iconv_close): Provide dummy definitions
1377         if !HAVE_ICONV.
1378         (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
1379         _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
1380         emit_numeric_escape, convert_hex, convert_oct, convert_escape,
1381         cpp_interpret_string, narrow_str_to_charconst,
1382         wide_str_to_charconst): New.
1383         (ucn_valid_in_identifier): Use a binary search through the
1384         ucnranges table defined in cppucnid.h, not a long chain of if
1385         statements.
1386         (_cpp_valid_ucn): Add a limit pointer.  Downgrade "universal
1387         character names are only valid in C++ and C99" to a warning.
1388         Issue the "meaning of \[uU] is different in traditional C"
1389         warning here.  Take care not to let iconv see an invalid UCS
1390         value if we get a malformed UCN.  Issue an error if we don't
1391         have iconv.
1392         (cpp_interpret_charconst): Moved here from cpplex.c.  Use
1393         cpp_interpret_string to do the heavy lifting.
1394
1395         * cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
1396         narrow_charset, wide_charset fields of options structure.
1397         (cpp_destroy): Call _cpp_destroy_iconv.
1398         * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
1399         (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
1400         (cpp_interpret_charconst): Moved to cppcharset.c.
1401         * cpplib.c (dequote_string): Delete.
1402         (interpret_string_notranslate): New.
1403         (do_line, do_linemarker): Use interpret_string_notranslate.
1404
1405         * Makefile.in (cppcharset.o): Depend on cppucnid.h.
1406
1407         * c-common.c (fname_string, combine_strings): Delete.
1408         * c-common.h (fname_string, combine_strings): Delete prototypes.
1409         * c-lex.c (ignore_escape_flag): Delete.
1410         (cb_ident): Use cpp_interpret_string, not lex_string.
1411         (get_nonpadding_token): New function.
1412         (c_lex): Handle Objective-C @-prefixed identifiers and strings here.
1413         Adjust calls to lex_string.  Don't write *value twice.
1414         (lex_string): Now handles string constant concatenation.
1415         Most of the work handed off to cpp_interpret_string.
1416         Call fix_string_type here.
1417         * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
1418         FUNC_NAME, throughout.
1419         (OBJC_STRING): New token type.
1420         (primary:STRING): No need to call fix_string_type here.
1421         (primary:objc_string): Make that OBJC_STRING.
1422         (objc_string nonterminal): Delete.
1423         (yylexname): Delete code to handle fake string constants.
1424         (yylexstring): Delete entirely.
1425         (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING.  No need
1426         to handle CPP_ATSIGN.
1427
1428         * c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
1429         * c-opts.c (missing_arg, c_common_handle_option): Handle
1430         OPT_fexec_charset_ and OPT_fwide_exec_charset_.
1431         (c_common_init): Set cpp_opts->bytes_big_endian, not
1432         cpp_opts->EBCDIC.  Call cpp_init_iconv.
1433         (print_help): Document -fexec-charset= and -fexec-wide-charset=.
1434         (TARGET_EBCDIC): Delete default definition.
1435
1436         * objc/objc-act.c (build_objc_string_object): No need to
1437         handle string constant concatenation.
1438
1439 2003-07-04  Kazu Hirata  <kazu@cs.umass.edu>
1440
1441         * doc/install.texi: Fix typos.
1442         * doc/invoke.texi: Likewise.
1443         * doc/tm.texi: Likewise.
1444
1445 2003-07-04  Kazu Hirata  <kazu@cs.umass.edu>
1446
1447         * config/pa/fptr.c: Fix comment typos.
1448         * config/pa/pa-64.h: Likewise.
1449         * config/pa/pa.c: Likewise.
1450         * config/pa/pa.h: Likewise.
1451         * config/rs6000/603.md: Likewise.
1452         * config/rs6000/7xx.md: Likewise.
1453         * config/rs6000/darwin.h: Likewise.
1454         * config/rs6000/freebsd.h: Likewise.
1455         * config/rs6000/rs6000.c: Likewise.
1456         * config/rs6000/rs6000.md: Likewise.
1457         * config/rs6000/spe.h: Likewise.
1458
1459 2003-07-04  Ulrich Weigand  <uweigand@de.ibm.com>
1460
1461         * config/s390/2064.md: Change GNU CC to GCC.
1462         * config/s390/2084.md: Likewise.
1463         * config/s390/fixdfdi.h: Likewise.
1464         * config/s390/linux.h: Likewise.
1465         * config/s390/s390-modes.def: Likewise.
1466         * config/s390/s390-protos.h: Likewise.
1467         * config/s390/s390.c: Likewise.
1468         * config/s390/s390.h: Likewise.
1469         * config/s390/s390.md: Likewise.
1470         * config/s390/s390x.h: Likewise.
1471
1472 2003-07-04  Jeff Law  <law@redhat.com>
1473
1474         PR c/11428
1475         * expr.c (do_store_flag): Pass in the correct result type
1476         when calling fold_single_bit_test.
1477         * fold-const.c (fold_single_bit_test): Use result_type for the
1478         result when folding a sign bit test.
1479
1480 2003-07-04  Neil Booth  <neil@daikokuya.co.uk>
1481
1482         * opts.c (common_handle_options): Negate sense of -falign- switches.
1483
1484 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
1485
1486         * Makefile.in: Replace PWD with PWD_COMMAND.
1487
1488 2003-07-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1489
1490         * cfgloopanal.c (count_strange_loop_iterations): New static function.
1491         (constant_iterations, count_loop_iterations, simple_loop_exit_p):
1492         Handle strange loops.
1493
1494 2003-07-04  Toon Moene  <toon@moene.indiv.nluug.nl>
1495
1496         * install.texi: Even the g77 manpage is derived from
1497         the full g77 manual.
1498
1499 2003-07-04  Zack Weinberg  <zack@codesourcery.com>
1500
1501         * ABOUT-NLS: Delete.
1502         * intl: Delete entire directory.
1503         * aclocal.m4: Include ../config/gettext.m4.  Delete
1504         AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
1505         AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
1506         * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
1507         Remove intl/Makefile from all_outputs.
1508         * configure, config.in: Regenerate.
1509         * Makefile.in: Expunge all references to intl subdirectory.
1510         Add -I../intl to INCLUDES.
1511         * intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
1512
1513 2003-07-04  Roger Sayle  <roger@eyesopen.com>
1514
1515         * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
1516         * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
1517
1518 2003-07-04  Danny Smith  <dannysmith@users.sourceforge.net>
1519
1520         PR c++/5287, PR c++/7910, PR c++/11021
1521         * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
1522         dllimport attribute if function is defined at declaration, but
1523         report error instead. Likewise for dllimport'd variable
1524         definitions.  Set implicit TREE_PUBLIC for dllimport'd variables
1525         declared within functions, Report error if dllimport or dllexport
1526         symbol is not global.
1527         (i386_pe_dllimport_p): Ignore dllimport attribute of functions
1528         if defined after declaration or if inlined. Don't allow definition
1529         of static data members of C++ classes. Don't dllimport virtual
1530         methods.
1531         (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
1532         (i386_pe_mark_dllimport): Remove unnecessary checks.
1533         (i386_pe_encode_section_info): Warn if the dllimport attribute
1534         and symbol prefix have been instantiated and then overridden.
1535
1536         * doc/extend.texi: Document dllimport and dllexport attributes.
1537
1538         * config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
1539
1540 2003-07-03 Uwe Stieber <uwe@kaos-group.de>
1541
1542         * config/kaos.h (CPP_PREDEFINES): Delete.
1543         (TARGET_OS_CPP_BUILTINS): New.
1544
1545 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1546
1547         * c-aux-info.c: Include toplev.h after c-tree.h.
1548         * c-common.c: Likewise.
1549         (GCC_DIAG_STYLE): Undef.
1550         * c-semantics.c (GCC_DIAG_STYLE): Define.
1551         * c-tree.h (GCC_DIAG_STYLE): Likewise.
1552         * diagnostic.h (inform): Move prototype to toplev.h.
1553         * jump.c: Include diagnostic.h before toplev.h.
1554         * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
1555         (warning, error, fatal_error, pedwarn, sorry, inform,
1556         error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
1557
1558 2003-07-03  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1559
1560         * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
1561         at all if edge is not specified.
1562         (can_copy_bbs_p, copy_bbs): New.
1563         * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
1564         * cfgloop.c (get_loop_body): Comment more precisely.
1565         * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
1566         (scale_bbs_frequencies): Fix comment typo.
1567         (can_duplicate_loop_p): Use can_copy_bbs_p.
1568         (duplicate_loop_to_header_edge): Simplify by using copy_bbs.
1569
1570 2003-07-03  Devang Patel <dpatel@apple.com>
1571
1572         * c-opts.c (c_common_parse_file): Remove extra
1573         debug_hooks->start_source_file call.
1574
1575 2003-07-03  Roger Sayle  <roger@eyesopen.com>
1576
1577         * real.c (real_trunc, real_floor, real_ceil): New functions
1578         to implement trunc, floor and ceil respectively.
1579         * real.h (real_trunc, real_floor, real_ceil): Prototype here.
1580         * builtins.c (integer_valued_real_p): New function to test if
1581         a floating point expression has an integer valued result.
1582         (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
1583         foo(x) where foo is an integer rounding function.  Similarly,
1584         optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
1585         (double)(int)x when both foo and bar are integer rounding
1586         functions and we don't need to honor errno.
1587         (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
1588         New functions to fold trunc, floor and ceil.
1589         (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
1590         fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
1591         to fold BUILT_IN_CEIL*.
1592         * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
1593         the remaining integer rounding functions.
1594
1595 2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
1596
1597         * config/sparc/sparc.c (function_arg_partial_nregs): Use
1598         SPARC_INT_ARG_MAX to determine where to split unnamed
1599         complex FP arguments.
1600
1601 Thu Jul  3 20:36:47 CEST 2003  Jan Hubicka  <jh@suse.cz>
1602
1603         * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
1604         * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
1605         (merge_blocks_move_predecessor_nojumps,
1606          merge_blocks_move_successor_nojumps): Use merge_blocks.
1607         (try_optimize_cfg): Use merge_blocks_move.
1608         * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
1609         (merge_blocks_nomove): Rename to rtl_merge_blocks.
1610         (cfg_layout_create_basic_block): New.
1611         (rtl_can_merge_blocks): New.
1612         (cfg_layout_split_block): Do not alloc aux by hand.
1613         * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
1614         merge_blocks.
1615         (create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
1616         * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
1617         * cfgloopmanip.c (loop_split_edge_with): Likewise.
1618         * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
1619
1620         * basic-block.h (basic_block_def): Add field 'rbi'.
1621         * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
1622         find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
1623         * cfg.c (entry_exit_blocks): Add new field.
1624         * cfglayout.c: Include alloc-pool.h;
1625         (cfg_layout_pool): New.
1626         (record_effective_endpoints, fixup_reorder_chain,
1627         fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
1628         of rbi.
1629         (cfg_layout_initialize_rbi): New function.
1630         (cfg_layout_initialize): Use it.
1631         (cfg_layout_finalize): Clear rbi fields.
1632         * cfglayout.h (RBI): Kill.
1633         (cfg_layout_initialize_rbi): Declare.
1634         * cfgloopmanip.c (copy_bbs): Use rbi.
1635         (record_exit_edges): Likewise.
1636         (duplicate_loop_to_header_edge): Likewise.
1637         * cfgrtl.c (cfg_layout_create_basic_block): Use
1638         cfg_layout_initialize_rbi.
1639         (cfg_layout_split_block): Use rbi.
1640         (cfg_layout_delete_block): Likewise.
1641         * loop-init.c (loop_optimizer_finalize): Likewise.
1642         * loop-unswitch.c (unswitch_loop): Likewise.
1643         * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
1644
1645         * cfgrtl.c: Update comments.
1646         (try_redirect_by_replacing_jump): New argument.
1647         (redirect_branch_edge): Break out from ...
1648         (rtl_redirect_edge_and_branch): ... this one.
1649         (update_cfg_after_block_merging): Break out from ...
1650         (rtl_merge_blocks): ... this one.
1651         (cfg_layout_split_edge): New.
1652         (cfg_layout_merge_blocks): New.
1653         (cfg_layout_can_merge_blocks_p): New.
1654         (cfg_layout_redirect_edge_and_branch): Reorganize.
1655         (cfg_layout_rtl_cfg_hooks): Fill in.
1656         (cfg_layout_delete_block): Kill barriers.
1657         * cfganal.c (can_fallthru): Deal with exit blocks
1658         * cfglayout.c (cfg_layout_function_header): New function
1659         (record_effective_endpoints): Record function header.
1660         (fixup_reorder_chain): Fixup dead jumptables; place header
1661
1662         * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
1663         * bb-reorder.c (cfg_layout_initialize): Update call.
1664         * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
1665         edges in cfglayout mode.
1666         * cfglayout.c (cleanup_unconditional_jumps): Kill.
1667         (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
1668         * cfglayout.h (cfg_layout_initialize): Update prototype.
1669         * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
1670         * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
1671         * flow.c (propagate_block): Do not crash when basic block ends
1672         by first insn in the chain.
1673         * loop-init.c (loop_optimizer_init):  First enter cfglayout mode; later
1674         do loop discovery.
1675         * tracer.c (tracer): Update call of cfg_layout_initialize.
1676
1677 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1678
1679         * Makefile.in: Use dependency variables in lieu of explicit
1680         files throughout.
1681
1682 2003-07-03  Steven Bosscher  <steven@gcc.gnu.org>
1683
1684         * rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
1685         * tree.h: ...to here.
1686
1687 2003-07-03  Kazu Hirata  <kazu@cs.umass.edu>
1688
1689         * config/s390/2064.md: Fix comment typos.
1690         * config/s390/2084.md: Likewise.
1691         * config/s390/s390.c: Likewise.
1692         * config/s390/s390.md: Likewise.
1693         * config/sh/sh.c: Likewise.
1694         * config/sh/sh.h: Likewise.
1695         * config/sh/sh.md: Likewise.
1696         * config/sparc/sparc.c: Likewise.
1697         * config/sparc/sparc.h: Likewise.
1698         * config/sparc/sparc.md: Likewise.
1699         * config/stormy16/stormy16.c: Likewise.
1700         * config/stormy16/stormy16.h: Likewise.
1701         * config/stormy16/stormy-abi: Fix a typo.
1702
1703 2003-07-03  Kelley Cook  <kelleycook@wideopenwest.org>
1704
1705         * Makefile.in (ifcvt.o): Depend on OPTABS_H.
1706
1707 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1708
1709         * config/mips/mips.h (save_argv): Delete.
1710
1711 2003-07-03  Roger Sayle  <roger@eyesopen.com>
1712
1713         PR target/10700
1714         * fold-const.c (extract_muldiv_1): There's nothing that can be done
1715         if the expression is a SAVE_EXPR.
1716
1717 2003-07-03  Kazu Hirata  <kazu@cs.umass.edu>
1718
1719         * config/m32r/m32r.c: Fix comment typos.
1720         * config/m68hc11/m68hc11.c: Likewise.
1721         * config/m68hc11/m68hc11.h: Likewise.
1722         * config/m68k/m68k.c: Likewise.
1723         * config/mcore/mcore.c: Likewise.
1724         * config/mcore/mcore.h: Likewise.
1725         * config/mcore/mcore.md: Likewise.
1726         * config/mips/mips.c: Likewise.
1727         * config/mips/mips.h: Likewise.
1728         * config/mips/mips.md: Likewise.
1729         * config/mips/netbsd.h: Likewise.
1730         * config/mn10300/mn10300.c: Likewise.
1731
1732 2003-07-03  Andreas Schwab  <schwab@suse.de>
1733
1734         * dbxout.c (pending_bincls): Move decl down inside
1735         DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
1736
1737 2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>
1738
1739         * rtl.h (NOTE_DATA): Refer to whole union.
1740         * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
1741
1742 2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
1743
1744         PR optimization/11381
1745         * simplify-rtx.c (simplify_relational_operation): Check that
1746         two equal operands have no side-effects before simplifying
1747         the comparison.
1748
1749 2003-07-02  Jeff Law  <law@redhat.com>
1750
1751         * expr.c (do_store_flag): Remove special case folding for
1752         single bit tests.  Instead call back into the commonized folder
1753         routine.
1754         * fold-const.c (fold_single_bit_test): New function, mostly
1755         extracted from do_store_flag, with an additional case extracted
1756         from fold.
1757         (fold): Call fold_single_bit_test appropriately.
1758         * tree.h (fold_single_bit_test): Prototype.
1759
1760 2003-07-02  Zack Weinberg  <zack@codesourcery.com>
1761
1762         * system.h: Include filenames.h.
1763         (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
1764         (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
1765         define based on HAVE_DOS_BASED_FILE_SYSTEM.
1766         * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
1767         * config/i386/xm-mingw32.h: Don't define
1768         HAVE_DOS_BASED_FILE_SYSTEM,
1769         DIR_SEPARATOR, or DIR_SEPARATOR_2.
1770         * doc/hostconfig.texi: Update to match.
1771
1772         * cppfiles.c, gcc.c, gensupport.c, protoize.c,
1773         config/i386/cygwin.h:
1774         Use IS_ABSOLUTE_PATH throughout.
1775         * gcc.c (DIR_UP): Delete, unused.
1776         * protoize.c (IS_SAME_PATH): Define in terms of
1777         FILENAME_CMP.
1778         (is_abspath): Delete.
1779
1780 2003-07-02  Kazu Hirata  <kazu@cs.umass.edu>
1781
1782         * config/i386/emmintrin.h: Fix comment typos.
1783         * config/i386/i386.c: Likewise.
1784         * config/i386/i386.h: Likewise.
1785         * config/i386/sco5.h: Likewise.
1786         * config/ia64/ia64.c: Likewise.
1787         * config/ia64/itanium2.md: Likewise.
1788
1789 2003-07-02  H.J. Lu  <hongjiu.lu@intel.com>
1790
1791         * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
1792         DBX_USE_BINCL.
1793         (emit_bincl_stab): Same.
1794         (emit_pending_bincls): Same.
1795
1796 2003-07-02  Kazu Hirata  <kazu@cs.umass.edu>
1797
1798         * config/h8300/h8300.c (compute_mov_length): Fix the length of
1799         loading CONST0_RTX (SFmode).
1800         * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
1801         'G' to CONST0_RTX (SFmode).
1802         * config/h8300/h8300.md (movsf_h8300): Change the first
1803         constraint to 'G'.
1804         (movsf_h8300h): Likewise.
1805
1806 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
1807
1808         * c-common.h (c_common_init_options): New prototype.
1809         * c-opts.c (deferred_size): Remove.
1810         (defer_opt): Array is now pre-allocated.
1811         (c_common_init_options): Pre-allocate deferred_opts.  Make
1812         lang_flags unsigned.
1813         (push_command_line_options): Free deferred_opts.
1814         * hooks.c (hook_uint_uint_constcharptrptr_0): New.
1815         * hooks.h (hook_uint_uint_constcharptrptr_0): New.
1816         * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
1817         * langhooks.h (struct lang_hooks): New prototype for init_options.
1818         * main.c (main): Cast argv.
1819         * opts.c (handle_option, handle_options): Update prototypes.
1820         (decode_options): save_argc, save_argv are not global.  Constify.
1821         * opts.h (decode_options): New prototype.
1822         * toplev.c (general_init): New protoype.
1823         (save_argv): Make static.
1824         (save_argc): Remove.
1825         (print_switch_values, general_init): Constify.
1826         (toplev_main): Save argv.
1827         * toplev.h (toplev_main): Update prototype.
1828         (save_argc, save_argv): Remove.
1829
1830 2003-07-02  David Edelsohn  <edelsohn@gnu.org>
1831
1832         * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
1833         (emit_bincl_stab): Same.
1834         (emit_pending_bincls): Same.
1835
1836 2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>
1837
1838         PR c++/11072
1839         * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
1840
1841 2003-07-02  Andreas Schwab  <schwab@suse.de>
1842
1843         * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
1844
1845 2003-07-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
1846
1847         PR optimization/11210
1848         * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
1849         about the behaviour with regard to bitfields.
1850         * fold-const (decode_field_reference): Record outermost type in
1851         case the expression is a NOP. Strip all NOPs. Set the signedness
1852         to that of the outermost type (if any) when the bitsize is equal
1853         to the size of the type.
1854
1855 2003-07-02  Richard Sandiford  <rsandifo@redhat.com>
1856
1857         * config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
1858         (addsi3_internal, adddi3, adddi3_internal_2): Likewise.
1859         (adddi3_internal_3, addsi3_internal_2): Likewise.
1860
1861 2003-07-02  Richard Sandiford  <rsandifo@redhat.com>
1862
1863         * config/mips/mips.c (machine_function): Add new fields:
1864         ignore_hazard_length_p and all_noreorder_p.
1865         (mips_flag_delayed_branch): New variable.
1866         (override_options): Treat '/' as an operand punctuation character.
1867         Set up mips_flag_delayed_branch.
1868         (print_operand): Handle '/'.
1869         (mips_output_function_prologue): Put the whole function in
1870         .set noreorder and .set nomacro if all_noreorder_p is true.
1871         (mips_output_function_epilogue): End the noreorder/nomacro sequence.
1872         (mips16_optimize_gp): Remove "first insn" parameter.
1873         (mips16_lay_out_constants): New function, split out from mips_reorg.
1874         (mips_avoid_hazard, mips_avoid_hazards): New functions.
1875         (mips_reorg): For mips16 code, call mips16_lay_out_constant
1876         and (optionally) mips16_optimize.  If TARGET_EXPLICIT_RELOCS,
1877         do delayed-branch scheduling followed by hazard detection.
1878         (mips_adjust_insn_length): Only account for hazards if
1879         !ignore_hazard_length_p.
1880         (mips_output_load_label): Add a nop to the o32 sequence if
1881         the target suffers from load delays.
1882         (mips_output_conditional_branch): Add %/ to the end of branches.
1883         (mips_output_division): Fill the branch delay slot with %#.
1884         * config/mips/mips.md: Remove redundant '%*' from mips16 branch
1885         instructions.  End all other %* branches with %/.
1886         (ffssi2, ffsdi2): Fix lengths.
1887         (truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
1888         (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
1889         (fix_truncsfsi2_macro): Likewise.
1890         (mov_lwl): Set hazard to "none".
1891         (ashldi3_internal): Fill the branch delay slot with %#.
1892         (ashrdi3_internal, lshrdi3_internal): Likewise.
1893         (exception_receiver): Explicitly set $28.
1894         (hazard_nop): New pattern.
1895
1896 Wed Jul  2 08:12:36 CEST 2003  Jan Hubicka  <jh@suse.cz>
1897
1898         * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
1899         before calling tree_inlinable_function_p.
1900
1901 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1902
1903         * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
1904         <internal/stdio_core.h> too.
1905         (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
1906         <internal/wchar_core.h> too.
1907         Substitute va_list uses in inline definition.
1908         * fixinc/fixincl.x: Regenerate.
1909
1910 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1911
1912         * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
1913         Undef before redefinition.
1914         (LABEL_AFTER_LOC): Likewise.
1915         (DEFAULT_SIGNED_CHAR): Likewise.
1916         (ASM_OUTPUT_ASCII): Moved here from iris4.h.
1917         Fix IRIX spelling.
1918
1919         * config/mips/iris3.h: Remove, unused.
1920         * config/mips/iris4.h: Likewise.
1921
1922         * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
1923
1924         * config/mips/iris5.h (TARGET_DEFAULT): Move ...
1925         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
1926         target_cpu_default.
1927
1928         * config/mips/iris5.h: Move explicit includes ...
1929         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
1930
1931         * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
1932         * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
1933         tm_defines.
1934
1935         * config/mips/iris6.h (TARGET_DEFAULT): Move ...
1936         * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
1937         target_cpu_default.
1938
1939         * config/mips/iris6.h: Fix IRIX spelling.
1940         (MULTILIB_DEFAULTS): Undef before redefinition.
1941
1942         * config/mips/iris6.h: Move explicit includes ...
1943         * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
1944
1945 Wed Jul  2 02:16:48 CEST 2003  Jan Hubicka  <jh@suse.cz>
1946
1947         * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
1948         cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
1949         Use next_needed field instead of aux to maintain the queue.
1950         * cgraph.h (cgraph_node): Add next_needed.
1951         (cgraph_varpool_node): Add next_needed; remove aux.
1952         * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
1953
1954 Wed Jul  2 02:12:51 CEST 2003  Jan Hubicka  <jh@suse.cz>
1955
1956         * cgraphunit.c (cgraph_finalize_function): Set finalized.
1957         (cgraph_finalize_function): Do not examine inlinablility.
1958         (cgraph_finalize_compilation_unit): Do it here.
1959         * cgraph.h (cgraph_local_info): Add finalized field.
1960
1961 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1962
1963         * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
1964         (gt_pch_restore): Likewise.
1965
1966 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
1967
1968         * config/alpha/alpha.c: Fix comment typos.
1969         * config/alpha/elf.h: Likewise.
1970         * config/arm/arm.c: Likewise.
1971         * config/arm/arm.h: Likewise.
1972         * config/arm/arm.md: Likewise.
1973         * config/arm/t-arm-coff: Likewise.
1974         * config/arm/t-strongarm-pe: Likewise.
1975         * config/arm/xscale-elf.h: Likewise.
1976         * config/avr/avr.h: Likewise.
1977
1978 2003-07-01  Jeff Law  <law@redhat.com>
1979
1980         * stmt.c (any_pending_cleanups): Remove another redundant test.
1981
1982 2003-07-01  David Edelsohn  <edelsohn@gnu.org>
1983             J"orn Rennecke <joern.rennecke@superh.com>
1984
1985         * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
1986         for MEM case.
1987
1988 2003-07-01  Devang Patel  <dpatel@apple.com>
1989
1990         * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
1991         (binclstatus): New.
1992         (struct dbx_file): New members - bincl_status, pending_bincl_name and
1993         prev.
1994         (pending_bincls): New.
1995         (dbxout_init): Initialize new dbx_file members.
1996         (dbxout_start_source_file): Same.
1997         (emit_bincl_stab): New function.
1998         (emit_pending_bincls): Same.
1999         (emit_pending_bincls_if_required): Same.
2000         (dbxout_end_source_file): Emit EINCL stab only if BINCL is  already
2001         processed.
2002         (dbxout_begin_block): Emit pending BINCL stabs.
2003         (dbxout_end_block): Same.
2004         (dbxout_function_decl): Same.
2005         (dbxout_continue): Same.
2006         (dbxout_type): Same.
2007         (dbxout_class_name_qualifiers): Same.
2008         (dbxout_symbol): Same.
2009         (dbxout_symbol_location): Same.
2010         (dbxout_parms): Same.
2011
2012 2003-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2013
2014         * c-semantics.c (genrtl_case_label): Fix format specifier bug.
2015         * cfgrtl.c (rtl_verify_flow_info_1): Likewise.
2016
2017 2003-07-01  Andreas Jaeger  <aj@suse.de>
2018
2019         * fold-const.c: Convert prototypes to ISO C90.
2020         * function.c: Likewise.
2021         * function.h: Likewise.
2022
2023 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
2024
2025         * doc/contrib.texi: Fix typos.
2026         * doc/invoke.texi: Likewise.
2027         * doc/passes.texi: Likewise.
2028         * doc/sourcebuild.texi: Likewise.
2029         * doc/tm.texi: Likewise.
2030
2031 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
2032
2033         * basic-block.h: Fix comment typos.
2034         * bb-reorder.c: Likewise.
2035         * c-format.c: Likewise.
2036         * cfgcleanup.c: Likewise.
2037         * cfghooks.h: Likewise.
2038         * cfgloop.c: Likewise.
2039         * cfgloopmanip.c: Likewise.
2040         * cfgrtl.c: Likewise.
2041         * cgraph.h: Likewise.
2042         * cgraphunit.c: Likewise.
2043         * combine.c: Likewise.
2044         * convert.c: Likewise.
2045         * dbxout.c: Likewise.
2046         * df.c: Likewise.
2047         * df.h: Likewise.
2048         * diagnostic.c: Likewise.
2049         * dwarf2out.c: Likewise.
2050         * et-forest.h: Likewise.
2051         * flow.c: Likewise.
2052         * fold-const.c: Likewise.
2053         * function.h: Likewise.
2054         * gcov-io.h: Likewise.
2055         * gcov.c: Likewise.
2056         * gcse.c: Likewise.
2057         * genautomata.c: Likewise.
2058         * ggc-common.c: Likewise.
2059         * ggc-page.c: Likewise.
2060         * loop-unroll.c: Likewise.
2061         * loop-unswitch.c: Likewise.
2062         * loop.c: Likewise.
2063         * mips-tfile.c: Likewise.
2064         * optabs.c: Likewise.
2065         * ra-build.c: Likewise.
2066         * ra-colorize.c: Likewise.
2067         * ra-rewrite.c: Likewise.
2068         * ra.h: Likewise.
2069         * regmove.c: Likewise.
2070         * reload.c: Likewise.
2071         * rtlanal.c: Likewise.
2072         * sched-ebb.c: Likewise.
2073         * sched-int.h: Likewise.
2074         * sched-vis.c: Likewise.
2075         * sreal.c: Likewise.
2076         * ssa-ccp.c: Likewise.
2077         * ssa.c: Likewise.
2078         * toplev.c: Likewise.
2079         * tree-inline.c: Likewise.
2080         * value-prof.c: Likewise.
2081         * value-prof.h: Likewise.
2082
2083 2003-07-01  Nathan Sidwell  <nathan@codesourcery.com>
2084
2085         * rtl.h (emit_line_note_after): Remove.
2086         (emit_note_copy_after, emit_note_copy): New.
2087         * emit-rtl.c (reorder_insns_with_line_notes): Replace
2088         emit_line_note_after with emit_note_copy_after.
2089         (emit_insn_after_with_line_notes): Likewise.
2090         (emit_line_note_after): Kill.
2091         (emit_note_copy_after): New.
2092         (emit_note_copy): New.
2093         * function.c (emit_return_into_block): Use emit_note_copy_after.
2094         (thread_prologue_and_epilogue_insns): Likewise.
2095         * integrate.c (expand_inline_function): Use emit_note_copy.
2096         (copy_insn_list): Likewise.
2097         * unroll.c (copy_loop_body): Likewise.
2098         * cfglayout.c (duplicate_insn_chain): Likewise.
2099
2100 2003-07-01  Nathan Sidwell  <nathan@codesourcery.com>
2101
2102         * c-tree.h (define_label): Replace filename and lineno arguments
2103         with a location_t.
2104         * c-decl.c (poplevel): Adjust define_label call.
2105         (pop_label_level): Likewise.
2106         (define_label): Replace filename and lineno arguments with a
2107         location_t.
2108         (store_parm_decls): Use DECL_SOURCE_LOCATION.
2109         * c-parse.in (label): Adjust define_label call.
2110
2111 2003-07-01  Neil Booth  <neil@daikokuya.co.uk>
2112
2113         * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
2114         config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
2115         config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
2116         config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
2117         config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
2118
2119 2003-07-01  Andreas Jaeger  <aj@suse.de>
2120
2121         * final.c: Convert prototypes to ISO C90.
2122         * flow.c: Likewise.
2123         * flags.h: Likewise.
2124         * gcov-io.c: Likewise.
2125         * gcov-io.h: Likewise.
2126
2127 2003-06-30  Bruno Haible  <bruno@clisp.org>
2128
2129         PR middle-end/6578
2130         * libgcc2.c (__subvsi3): Remove simplification that would not work
2131         when subtracting -0x80000000.
2132         (__subvdi3): Remove simplification that would return a wrong result.
2133         (__mulvsi3): Fix overflow check.
2134         (__absvdi2): Fix simplification that would return a wrong result.
2135         (__mulvdi3): Fix overflow check.
2136
2137 2003-06-30  Jeff Law  <law@redhat.com>
2138
2139         * stmt.c (any_pending_cleanups): Lose argument THIS_CONTOUR, it
2140         was always passed in the value '1'.  Simplify body appropriately.
2141         * tree.h (any_pending_cleanups): Corresponding changes.
2142         * calls.c: (expand_call): Corresponding changes.
2143
2144 2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
2145
2146         * combine.c (distribute_notes): Don't bother REG_WAS_0.
2147         * cse.c (cse_insn): Likewise.
2148         * final.c (final_scan_insn): Likewise.
2149         * jump.c (duplicate_loop_exit_test): Likewise.
2150         * rtl.c (reg_note_name): Remove REG_WAS_0.
2151         * rtl.h (REG_WAS_0): Remove.
2152         * unroll.c (final_reg_note_copy): Don't bother REG_WAS_0.
2153         * config/avr/avr.c (output_movqi): Don't use reg_was_0.
2154         (output_movhi): Likewise.
2155         (output_movsisf): Likewise.
2156         (reg_was_0): Remove.
2157         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't use
2158         REG_WAS_0.
2159         (m68hc11_gen_movqi): Likewise.
2160         * config/vax/vax-protos.h: Remove the prototype for
2161         reg_was_0_p.
2162         * config/vax/vax.c (follows_p): Remove.
2163         (reg_was_0_p): Likewise.
2164         * config/vax/vax.md (movsi): Don't use reg_was_0_p.
2165         (movhi): Likewise.
2166         (movqi): Likewise.
2167         * doc/rtl.texi (REG_WAS_0): Remove.
2168
2169 2003-06-30  Mark Mitchell  <mark@codesourcery.com>
2170
2171         * config/rs6000/spe.h (__ev_set_spefscr_frmc): Set the flag.
2172
2173 2003-06-30  Bob Wilson  <bob.wilson@acm.org>
2174
2175         * config/xtensa/lib1funcs.asm: Use "xtensa-config.h" from
2176         top-level include directory.
2177         * config/xtensa/lib2funcs.S: Likewise.
2178         * config/xtensa/xtensa.h: Likewise.
2179         * config/xtensa/xtensa-config.h: Remove.
2180         * doc/install.texi: Update location of "xtensa-config.h" header.
2181
2182 2003-06-30  Ulrich Weigand  <uweigand@de.ibm.com>
2183
2184         * config/s390/s390.c (s390_extra_constraint): New function.
2185         * config/s390/s390-protos.h (s390_extra_constraint): Declare it.
2186         * config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
2187         * config/s390/s390.c (q_constraint): Remove.
2188         * config/s390/s390-protos.h (q_constraint): Likewise.
2189         * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Add 'R', 'S', 'T'.
2190         (EXTRA_ADDRESS_CONSTRAINT): Define.
2191
2192         * config/s390/s390.c (larl_operand): Refuse out-of-range operands.
2193         (DISP_IN_RANGE, s390_short_displacement): New.
2194         (legitimate_reload_operand_p): Support long displacements.
2195         (s390_decompose_address): Likewise.
2196         (legitimize_pic_address): Likewise.
2197         (legitimize_address): Likewise.
2198         (s390_fixup_clobbered_return_reg): Likewise.
2199         (s390_emit_prologue, s390_emit_epilogue): Likewise.
2200         (s390_output_mi_thunk): Likewise.
2201
2202         * config/s390/s390.md (attr "op_type"): Add "RXY", "RSY", "SIY".
2203         (attr "atype", attr "length"): Add defaults for new op_types.
2204         (all insns): Change op_type attribute where appropriate.
2205
2206         ("*movdi_lay", "*movsi_lay", "*extendqidi2", "*extendqisi2"): New insns.
2207         ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", *tmqi_mem",
2208         "*tstsi", "*tstsi_cconly", "*tsthiCCT", "*tsthiCCT_cconly",
2209         "*tsthi", "*tsthi_cconly", "*tstqiCCT", "*tstqiCCT_cconly",
2210         "*tstqi", "*tstqi_cconly", "*cmpsi_ccs_sign", "*cmpsi_ccs",
2211         "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu", "*cli",
2212         "movti", "*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
2213         "movqi", "*movstrictqi", "*movstricthi", "movstrictsi",
2214         "*movdf_64", "*movdf_31", "*movsf",
2215         "*load_multiple_si", "*store_multiple_di",
2216         "*sethighqisi", "*sethighhisi", "*sethighqidi_31", "*extendhisi2",
2217         "*la_64", "*la_31", "*la_31_and", "force_la_31",
2218         "*addsi3_carry1_cc", *addsi3_carry1_cconly",
2219         "*addsi3_carry2_cc", *addsi3_carry2_cconly",
2220         "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2",
2221         "*addsi3_sign", "*addsi3_sub", "addsi3",
2222         "*subsi3_borrow_cc", "*subsi3_borrow_cconly", "*subsi3_cc",
2223         "*subsi3_cconly", "*subsi3_sign", "*subsi3_sub", "subsi3",
2224         "mulsi3"
2225         "*andsi3_cc", "*andsi3_cconly", "andsi3",
2226         "*andqi3_ss", "*andqi3_ss_inv",
2227         "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
2228         "*iorqi3_ss", "*iorqi3_ss_inv",
2229         "*xorsi3_cc", "*xorsi3_cconly", "xorsi3",
2230         "*xorqi3_ss", "*xorqi3_ss_inv",
2231         "*tls_load_31"): Add alternatives for long-displacement instructions.
2232
2233         ("*cmpdf_ccs", "*cmpdf_ccs_ibm", "*cmpsf_ccs", "*cmpsf_ccs_ibm",
2234         "*load_multiple_di", "*store_multiple_di",
2235         "*sethighqidi_64", "*zero_extendhisi2_31",
2236         "truncdfsf2_ibm", "extendsfdf2_ieee", "extendsfdf2_ibm",
2237         "adddf3", "*adddf3", "*adddf3_ibm",
2238         "addsf3", "*addsf3", "*addsf3_ibm",
2239         "subdf3", "*subdf3", "*subdf3_ibm",
2240         "subsf3", "*subsf3", "*subsf3_ibm",
2241         "mulsi_6432", "divmoddisi3",
2242         "muldf3", "*muldf3", "*muldf3_ibm",
2243         "mulsf3", "*mulsf3", "*mulsf3_ibm",
2244         "divdf3", "*divdf3", "*divdf3_ibm",
2245         "divsf3", "div*sf3", "*divsf3_ibm",
2246         "sqrtdf2", "sqrtsf2",
2247         "*cjump_long", "*icjump_long", "indirect_jump", "casesi_jump",
2248         "*doloop_si_long", "*doloop_di_long", "bas_64", "bas_31",
2249         "bas_r_64", "bas_r_31", "bas_tls_31", "bas_tls_64"): Adapt memory
2250         and address constraints for instructions that do not accept long
2251         displacements.
2252
2253 2003-06-30  Hartmut Penner  <hpenner@de.ibm.com>
2254             Ulrich Weigand  <uweigand@de.ibm.com>
2255
2256         * config/s390/2084.md: New file.
2257         * config/s390/s390.md: Include it.
2258         * config/s390/s390.c (s390_adjust_priority): New function.
2259         (TARGET_SCHED_ADJUST_PRIORITY): Define.
2260         (s390_first_cycle_multipass_dfa_lookahead): New function.
2261         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
2262         (s390_sched_reorder2): New function.
2263         (TARGET_SCHED_REORDER2): Define.
2264         (s390_adjust_cost): Support PROCESSOR_2084_Z990 cpu type.
2265         (s390_issue_rate): Likewise.
2266
2267 Mon Jun 30 23:47:33 CEST 2003  Jan Hubicka  <jh@suse.cz>
2268
2269         * Makefile.in (GTFILES): Add cgraph.h.
2270         * cgraph.c (known_decls): Remove.
2271         (cgraph_hash, cgraph_nodes, cgraph_nodes_queue,
2272         cgraph_varpool_hash, cgraph_varpool_nodes_queue): GTYize.
2273         (cgraph_node): Do not allocate known_decls; use polutate hashtable.
2274         (cgraph_varpool_node): Likewise; add next pointer.
2275         (cgraph_varpool_nodes): New static variable.
2276         * cgraph.h (cgraph_local_info, cgraph_global_info, cgraph_rtl_info,
2277         cgraph_node, cgraph_edge, cgraph_varpool_node, cgraph_nodes, cgraph_n_nodes,
2278         cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): GTYize.
2279         * gengtype.c (open_base_files): Include cgraph.h
2280
2281 2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
2282
2283         * Changelog: Remove ">>>>>>>" from previous change.
2284
2285 2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
2286
2287         * config/cris/cris.c: Fix spelling for "testcase".
2288         * config/cris/cris.h: Likewise.
2289         * config/cris/cris.md: Likewise.
2290         * config/mmix/crti.asm: Likewise.
2291         * config/mmix/mmix.h: Likewise.
2292         * config/mmix/mmix.md: Likewise.
2293
2294 2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
2295
2296         * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Make it always
2297         1.
2298
2299 2003-06-30  Ulrich Weigand  <uweigand@de.ibm.com>
2300
2301         * config.gcc [s390*-*-*]: Support --with-arch, --with-tune, and
2302         --with-mode configure options.
2303         * config/s390/s390.h (OPTION_DEFAULT_SPECS): Define.
2304         (DRIVER_SELF_SPECS): Define.
2305         * config/s390/linux.h (ASM_SPEC): Pass architecture mode and cpu
2306         architecture to assembler.
2307         (LINK_SPEC): Merge 31-bit and 64-bit variants.
2308         (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC, EXTRA_SPECS): Remove.
2309         * config/s390/s390.c (override_options): New default rules for
2310         architecture mode and cpu architecture selection.
2311         * doc/invoke.texi (-mesa, -mzarch, -march, -mtune): Document
2312         new default rules.
2313
2314         * config/s390/s390.h (enum processor_type): Add PROCESSOR_2084_Z990.
2315         * config/s390/s390.md (attr "cpu"): Add "z990" processor type.
2316         * config/s390/s390.c (override_options): Add "z990" to
2317         processor_alias_table.
2318         * doc/invoke.texi (-march): Document "z990" processor type.
2319
2320         * config/s390/s390.c (s390_tune_flags, s390_arch_flags): New variables.
2321         * config/s390/s390.h (s390_tune_flags, s390_arch_flags): Declare.
2322         (enum processor_flags, TARGET_CPU_IEEE_FLOAT, TARGET_CPU_ZARCH,
2323         TARGET_CPU_LONG_DISPLACEMENT, TARGET_LONG_DISPLACEMENT): New.
2324         * config/s390/s390.c (override_options): Replace enum pta_flags by
2325         enum processor_flags.  Fill in s390_tune_flags and s390_arch_flags.
2326
2327         * config/s390/s390.c (s390_cpu): Rename to ...
2328         (s390_tune): ... this.
2329         * config/s390/s390.h (s390_cpu, s390_tune): Likewise.
2330         * config/s390/s390.c (s390_issue_rate, override_options): Likewise.
2331         * config/s390/s390.md (attr "cpu"): Likewise.
2332
2333 2003-06-30  Neil Booth  <neil@daikokuya.co.uk>
2334
2335         * c-common.c (enum c_language_kind, flag_objc): Remove.
2336         (fix_string_type, check_case_value, c_common_nodes_and_builtins,
2337         c_add_case_label, finish_label_addr_expr, boolean_increment):
2338         Use c_dialect_ macros.
2339         * c-common.h (enum c_language_kind): Extend.
2340         (c_dialect_cxx, c_dialect_objc): New.
2341         (flag_objc): Remove.
2342         (c_common_init_options): Update prototype.
2343         * c-cppbuiltin.c (define__GNUC__, c_cpp_builtins): Use c_dialect_
2344         macros.
2345         * c-decl.c (finsih_decl, grokfield, finish_struct): Use c_dialect_
2346         macros.
2347         * c-format.c (C_STD_VER, C_STD_NAME): Similarly.
2348         * c-lang.c (c_init_options): Remove.
2349         (c_language): Define.
2350         (LANG_HOOKS_INIT_OPTIONS): Use common hook.
2351         * c-lex.c (lex_charconst): Use c_dialect_ macros.
2352         * c-opts.c (lang_flags): Make function-local.
2353         (c_common_init_options): Use c_dialect_ macros.  Handle
2354         C++ diagnostic requirements.
2355         (c_common_handle_option, c_common_post_options): Use flag_cxx.
2356         * c-parse.in (init_reswords): Use c_dialect_objc ().
2357         * c-pch.c (get_ident): Use c_language.
2358         * c-pretty-print.c (pp_c_bool_literal): Use c_dialect_ macros.
2359         * c-typeck.c (comptypes, build_c_cast): Similarly.
2360         * objc/objc-lang.c (c_language): Define.
2361         (LANG_HOOKS_INIT_OPTIONS): Use common hook.
2362         (objc_init_options): Remove.
2363
2364 2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
2365
2366         * config/alpha/alpha.h (FUNCTION_ARG_PADDING): Remove.
2367         * config/alpha/unicosmk.h: Don't #undef FUNCTION_ARG_PADDING.
2368
2369 2003-06-30  Wolfgang Bangerth  <bangerth@dealii.org>
2370
2371         * doc/sourcebuild.texi: Don't reference gnats.html any more.
2372
2373 2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
2374
2375         * config/h8300/h8300.c (compute_mov_length): Fix length of
2376         mov:SF on H8/300.
2377
2378 2003-06-30  Nick Clifton  <nickc@redhat.com>
2379
2380         * config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Make defintion
2381         constant.
2382
2383 Mon Jun 30 15:36:29 CEST 2003  Jan Hubicka  <jh@suse.cz>
2384
2385         (fyl2x_sfxf3, fyl2x_dfxf3, fscale_sfxf3, fscale_dfxf3): Fix condition.
2386
2387 2003-06-30 Hartmut Penner  <hpenner@de.ibm.com>
2388
2389         * config/rs6000/rs6000.c (rs6000_split_altivec_in_gprs): New function.
2390         (altivec_in_gprs_p): New function.
2391
2392         * config/rs6000/rs6000-protos (rs6000_split_altivec_in_gprs): New
2393         prototype.
2394         (altivec_in_gprs_p): New prototype.
2395
2396         * config/rs6000/altivec.md (*movv4si_internal): Change
2397         multi-assembler alternative to '#'. Add postreload splitter to
2398         handle this cases.
2399         (*movv4hi_internal): Likewise.
2400         (*movv4qi_internal): Likewise.
2401         (*movv4sf_internal): Likewise.
2402
2403 2003-06-30  Jason Merrill  <jason@redhat.com>
2404
2405         * defaults.h (PUSH_ARGS_REVERSED): Define default here.
2406         * calls.c: Not here.
2407
2408 2003-06-30  Ben Elliston  <bje@wasabisystems.com>
2409
2410         * config/arm/arm.c (arm_rtx_costs): Remove #if 0 block.
2411         (bad_signed_byte_operand): Likewise.
2412         (arm_output_epilogue): Likewise.
2413         (arm_final_prescan_insn): Likewise.
2414
2415 2003-06-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2416
2417         * cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.
2418
2419 2003-06-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2420
2421         * c-pch.c (c_common_write_pch): Flush asm_out_file to allow for
2422         subsequent writes.
2423
2424 Mon Jun 30 10:03:02 CEST 2003  Jan Hubicka  <jh@suse.cz>
2425
2426         * cfgrtl.c (verify_flow_info): Accept degenerated condjumps
2427         in cfglayout mode.
2428
2429 Mon Jun 30 09:52:39 CEST 2003  Jan Hubicka  <jh@suse.cz>
2430
2431         * i386.c (standard_80387_constant_p): Accept TFmode constants too.
2432         (init_ext_80387_constants): Likewise.
2433         (standard_80387_constant_rtx): Likewise.
2434         * i386.md (atanxf): Disable for TARGET_128BIT_LONG_LONG
2435         (atantf): Disable for !TARGET_128BIT_LONG_LONG
2436         (fyl2x_sfxf3, fyl2x_dfxf3): Accept TFmode operands.
2437         (fyl2x_xfxf3, fyl2x_tfxf3): Enable/disable as needed.
2438         (fscale_sfxf3, fscale_dfxf3): Accept TFmode operands.
2439         (fscale_xfxf3, fscale_tfxf3): Enable/disable as needed.
2440         (frndinttf2): New.
2441         (f2xm1tf2): New.
2442         (exp?f2): Use expsf2_tf when needed.
2443         (exp?f2_tf): New.
2444         (exptf): New.
2445
2446 2003-06-29 Uwe Stieber <uwe@kaos-group.de>
2447
2448         * config.gcc (sh*-*-kaos*): Put tm_file setting in separate case
2449         statement from tmake_file set.
2450
2451 2003-06-29  James E Wilson  <wilson@tuliptree.org>
2452
2453         * reload.c (find_reloads): Change push_reloads to push_reload in
2454         comment.
2455         * reload1.c (eliminate_regs): Likewise.
2456         (dump_needs): Delete prototype for deleted function.
2457
2458 2003-06-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2459
2460         * builtin-attrs.def (gcc_diag, gcc_cdiag, gcc_cxxdiag): New
2461         format attributes.
2462         * c-format.c (enum format_type): Add gcc_diag_format_type,
2463         gcc_cdiag_format_type, and gcc_cxxdiag_format_type.
2464         (gcc_diag_length_specs, gcc_cdiag_length_specs,
2465         gcc_cxxdiag_length_specs, gcc_diag_flag_pairs,
2466         gcc_cdiag_flag_pairs, gcc_cxxdiag_flag_pairs, gcc_diag_flag_specs,
2467         gcc_cdiag_flag_specs, gcc_cxxdiag_flag_specs, gcc_diag_char_table,
2468         gcc_cdiag_char_table, gcc_cxxdiag_char_table): New.
2469         (format_types_orig): Add new data.
2470         (find_char_info_specifier_index, init_dynamic_diag_info): New
2471         functions.
2472         (handle_format_attribute): Update to handle new format attributes.
2473
2474 2003-06-29  Aaron W. LaFramboise  <awlaframboise@aol.com>
2475
2476         * config/i386/gthr-win32.h (__GTHREAD_HIDE_WIN32API): Define to 1.
2477
2478 2003-06-29  Dara Hazeghi  <dhazeghi@yahoo.com>
2479
2480         * doc/install.texi: Remove install documentation for obsoleted targets
2481         i?86-*-sco, i?86-*-sco3.2v4, powerpcle-*-pe, powerpcle-*-winnt,
2482         arm-*-aof.
2483         Update information about IA64 toolchain, AIX make requirements,
2484         and binutils for m68k-*-hpux and *-*-linuxaout targets.
2485
2486 Mon Jun 30 00:50:43 CEST 2003  Jan Hubicka  <jh@suse.cz>
2487
2488         * regmove.c (regmove_optimize): Don't try to make src and dst match
2489         when they are in different modes.
2490
2491 Sun Jun 29 23:06:32 CEST 2003  Jan Hubicka  <jh@suse.cz>
2492
2493         * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2): Avoid
2494         busy work when builtin is not supported by the backend.
2495
2496 2003-06-29  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2497
2498         * loop.c (count_one_set): Fix detection of registers set in more
2499         than one basic block.
2500
2501 2003-06-29  Andreas Jaeger  <aj@suse.de>
2502
2503         * target-def.h: Remove usage of OBJECT_FORMAT_ROSE.
2504         * system.h: Poison OBJ_FORMAT_ROSE.
2505         * doc/tm.texi (Macros for Initialization): Remove documentatin of
2506         OBJECT_FORMAT_ROSE.
2507         * config/rs6000/lynx.h: Remove undef of OBJECT_FORMAT_ROSE.
2508         * collect2.c: Remove usage of OBJECT_FORMAT_ROSE.
2509
2510 2003-06-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2511
2512         * pa.c (update_total_code_bytes): New function.
2513         (last_address): Number of bytes output for a function and its
2514         associated thunks.
2515         (compute_frame_size): Use BITS_PER_UNIT.
2516         (pa_output_function_epilogue): Compute last_address.  Use
2517         update_total_code_bytes.
2518         (output_lbranch): Handle long branch on portable runtime.
2519         (attr_length_millicode_call, attr_length_call,
2520         attr_length_indirect_call): Only use total_code_bytes for calls in
2521         the text section.
2522         (output_call): Only use an indirect call sequence when the target is
2523         not local.
2524         (pa_asm_output_mi_thunk): Handle updating of total_code_bytes.  Improve
2525         test to determine when an IA-relative branch can be used.  Add various
2526         long branch sequences.  Avoid using an indirect branch on all ports
2527         except SOM.
2528
2529 2003-06-29  Ulrich Weigand  <uweigand@de.ibm.com>
2530
2531         * expr.c (clear_by_pieces): Fix prototype.
2532
2533 2003-06-29  Andreas Jaeger  <aj@suse.de>
2534
2535         * cse.c: Convert prototypes to ISO C90.
2536         * cselib.c: Likewise.
2537         * cselib.h: Likewise.
2538         * dbxout.c: Likewise.
2539         * debug.c: Likewise.
2540         * df.c: Likewise.
2541         * df.h: Likewise.
2542         * dojump.c: Likewise.
2543         * doloop.c: Likewise.
2544         * dominance.c: Likewise.
2545         * dwarf2asm.c: Likewise.
2546         * dwarf2out.c: Likewise.
2547         * dwarf2out.h: Likewise.
2548         * dwarfout.c: Likewise.
2549         * except.c: Likewise.
2550         * except.h: Likewise.
2551         * emit-rtl.c: Likewise.
2552         * et-forest.c: Likewise.
2553         * et-forest.h: Likewise.
2554         * except.c: Likewise.
2555         * explow.c: Likewise.
2556         * expmed.c: Likewise.
2557         * expr.c: Likewise.
2558         * expr.h: Likewise.
2559
2560 2003-06-29  Kazu Hirata  <kazu@cs.umass.edu>
2561
2562         * alloc-pool.c: Fix comment formatting.
2563         * bitmap.c: Likewise.
2564         * bitmap.h: Likewise.
2565         * bt-load.c: Likewise.
2566         * builtins.c: Likewise.
2567         * caller-save.c: Likewise.
2568         * cfganal.c: Likewise.
2569         * cfgrtl.c: Likewise.
2570         * collect2.c: Likewise.
2571         * cse.c: Likewise.
2572         * df.c: Likewise.
2573         * diagnostic.c: Likewise.
2574         * dwarf2out.c: Likewise.
2575         * dwarfout.c: Likewise.
2576         * expmed.c: Likewise.
2577         * final.c: Likewise.
2578         * flags.h: Likewise.
2579         * fold-const.c: Likewise.
2580         * gcc.c: Likewise.
2581         * gcov-io.h: Likewise.
2582         * gcov.c: Likewise.
2583         * genattrtab.c: Likewise.
2584         * genautomata.c: Likewise.
2585         * libgcov.c: Likewise.
2586         * mips-tfile.c: Likewise.
2587         * optabs.c: Likewise.
2588         * prefix.c: Likewise.
2589         * rtlanal.c: Likewise.
2590         * stmt.c: Likewise.
2591         * stor-layout.c: Likewise.
2592         * toplev.c: Likewise.
2593         * varasm.c: Likewise.
2594         * vmsdbgout.c: Likewise.
2595
2596 2003-06-29  Kazu Hirata  <kazu@cs.umass.edu>
2597
2598         * expr.c (emit_single_push_insn): If padding is needed
2599         downward, adjust the stack pointer first, and then store the
2600         data into the stack location using an offset.
2601
2602 2003-06-29  Andreas Jaeger  <aj@suse.de>
2603
2604         * collect2.h: Convert prototypes to ISO C90.
2605         * collect2.c: Likewise.
2606         * conflict.c: Likewise.
2607         * coverage.c: Likewise.
2608         * convert.h: Likewise.
2609         * convert.c: Likewise.
2610
2611 2003-06-29  Nathan Sidwell  <nathan@codesourcery.com>
2612
2613         * c-decl.c (c_init_decl_processing): Use a location_t. Set input
2614         filename to <internal>.
2615         * tree.c (make_node): Just copy the current location.
2616
2617 2003-06-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
2618
2619         PR optimization/11210
2620         * fold-const (decode_field_reference): Revert 2003-06-26 patch.
2621
2622 2003-06-29  Neil Booth  <neil@daikokuya.co.uk>
2623
2624         * toplev.c (flag_dummy): Remove.
2625         (f_options): Restore flag pointers.
2626
2627 2003-06-29  David Edelsohn  <edelsohn@gnu.org>
2628
2629         * config/rs6000/rs6000.c (processor_target_table): Add 970.
2630         * config.gcc: Add 970.
2631
2632 2003-06-29  Kazu Hirata  <kazu@cs.umass.edu>
2633
2634         * dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X,
2635         -1) with ggc_strdup.
2636         * stmt.c (expand_asm_operands): Likewise.
2637         * config/rs6000/rs6000.md (builtin_setjmp_receiver): Likewise.
2638
2639 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
2640
2641         * config/ip2k/ip2k.c (ip2k_reorg): Use INSN_P instead of its
2642         definition.
2643
2644 2003-06-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2645
2646         * opts.c: Include insn-attr.h.
2647         * Makefile.in (opts.o): Depend on INSN_ATTR_H.
2648
2649 2003-06-27  J"orn Rennecke <joern.rennecke@superh.com>
2650
2651         * flow.c (propagate_one_insn): Use proper test for a register
2652         being part of the return value.
2653
2654 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
2655
2656         * config/avr/avr.c: Fix a comment typo.
2657
2658 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
2659
2660         * config/avr/avr-protos.h: Replace avr_simplify_comparision_p
2661         with avr_simplify_comparison_p.
2662         * config/avr/avr.c: Likewise.
2663
2664 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
2665
2666         * builtins.c: Follow spelling conventions.
2667         * cgraph.c: Likewise.
2668         * cpplex.c: Likewise.
2669         * config/arm/arm.c: Likewise.
2670         * config/arm/iwmmxt.md: Likewise.
2671         * config/c4x/c4x-modes.def: Likewise.
2672         * config/c4x/c4x.c: Likewise.
2673         * config/c4x/c4x.h: Likewise.
2674         * config/c4x/c4x.md: Likewise.
2675         * config/i386/i386-interix.h: Likewise.
2676         * config/mips/mips.h: Likewise.
2677
2678 2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
2679
2680         * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate
2681         __mc68020__ on TARGET_68020.
2682
2683 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
2684
2685         * config/h8300/h8300.c: Fix a comment typo.
2686
2687 2003-06-28  Nathan Sidwell  <nathan@codesourcery.com>
2688
2689         * c-parse.in (yylexstring): Use a location_t.
2690
2691         * diagnostic.h (diagnostic_set_info): Replace file and lineno
2692         parameters with a location_t.
2693         * diagnostic.c (diagnostic_set_info): Replace file and lineno
2694         parameters with a location_t.
2695         (inform, warning, pedwarn, error, sorry, fatal_error,
2696         internal_error, warning_with_decl, pedwarn_with_decl,
2697         error_with_decl): Adjust.
2698         * c-error.c (pedwarn_c99): Adjust.
2699         * c-format.c (status_warning): Adjust.
2700         * rtl-error.c (file_and_line_for_asm): Rename to ...
2701         (location_for_asm): Return a location_t.
2702         (diagnostic_for_asm): Adjust.
2703
2704 2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
2705
2706         * cpptrad.c (skip_macro_block_comment): New.
2707         (copy_comment): Use it if appropriate.
2708
2709 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
2710
2711         * gcse.c (compute_ld_motion_mems): Use INSN_P instead of its
2712         definition.
2713         (store_killed_in_insn): Likewise.
2714         * print-rtl.c (print_rtx): Likewise.
2715         * config/frv/frv.c (frv_final_prescan_insn): Likewise.
2716         * config/m68hc11/m68hc11.c (dead_register_here): Likewise.
2717         (m68hc11_reassign_regs): Likewise.
2718         (m68hc11_reorg): Likewise.
2719
2720 2003-06-28  Gabriel Dos Reis <gdr@integrable-solutions.net>
2721
2722         * diagnostic.c (output_integer_with_precision): New macro.
2723         (output_format): Use it.  Handle more format specifiers.
2724         (output_long_decimal): Remove.
2725         (output_unsigned_decimal): Likewise.
2726         (output_long_unsigned_decimal): Likewise.
2727         (output_octal): Likewise.
2728         (output_long_octal): Likewise.
2729         (output_hexadecimal): Likewise.
2730         (output_long_hexadecimal): Likewise.
2731         (output_long_long_decimal): Likewise.
2732
2733 2003-06-28  Andreas Schwab  <schwab@suse.de>
2734
2735         * config/ia64/ia64.md: Follow recent emit_note API change.
2736
2737 2003-06-28  Nathan Sidwell  <nathan@codesourcery.com>
2738
2739         * c-parse.in (%union): Replace filename & lineno with location.
2740         (save_filename, save_lineno): Remove.
2741         (save_location): New.
2742         (fndef, old_style_parm_decls_1, lineno_datadecl, lineno_decl,
2743         nested_function, notype_nested_function, if_prefix, lineno_stmt,
2744         lineno_label, label): Adjust.
2745
2746 2003-06-28  Jakub Jelinek  <jakub@redhat.com>
2747
2748         * builtins.c (c_strlen): Add only_value argument.
2749         Handle COND_EXPR and COMPOUND_EXPR.
2750         (expand_builtin_strlen): Optimize also strlen (i++ ? "foo" : "bar").
2751         Adjust c_strlen callers.
2752         (expand_builtin_strcpy, expand_builtin_strncpy,
2753         expand_builtin_strcmp, expand_builtin_strncmp,
2754         expand_builtin_fputs, expand_builtin_sprintf,
2755         fold_builtin): Adjust c_strlen callers.
2756
2757 2003-06-28  Josef Zlomek  <zlomekj@suse.cz>
2758
2759         * bb-reorder.c (find_traces_1_round): Do not send basic block
2760         to next round when we are in the last round.
2761
2762 2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
2763
2764         * Makefile.in: Update.
2765         * opts.c: Include tm_p.h.
2766         (handle_options): Make static.
2767         (decode_options): Copied from toplev.c.
2768         * opts.h (decode_options): New.
2769         * toplev.c (parse_options_and_default_flags): Move most to opts.c,
2770         some to...
2771         (general_init): ...here.
2772         (toplev_main): Use decode_options instead.
2773         * toplev.h (save_argc, save_argv): New.
2774
2775 2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
2776
2777         * explow.c (find_next_ref): Remove.
2778         * rtl.h: Remove the prototype for find_next_ref.
2779
2780 2003-06-27  Roger Sayle  <roger@eyesopen.com>
2781
2782         * config/alpha/alpha.md (anonymous define_split): Adjust emit_note
2783         call to match recent API change.
2784
2785 2003-06-27  Zack Weinberg  <zack@codesourcery.com>
2786
2787         * dbxout.c (flag_debug_only_used_symbols): Delete redundant
2788         declaration.
2789
2790         * c-format.c (check_format_string, get_constant)
2791         * cfgrtl.c (rtl_split_edge):
2792         Mark the definition static, matching the forward declaration.
2793
2794 2003-06-27  Gunther Nikl <gni@gecko.de>
2795
2796         * unwind-c.c (PERSONALITY_FUNCTION): Delete duplicate define.
2797
2798         PR target/11014
2799         * config/m68k/m68k.c (m68k_output_mi_thunk): Use correct assembly
2800         syntax for MIT / MOTOROLA.
2801
2802         PR other/10240
2803         * configure.in: Removed $(XCFLAGS) from BUILD_CFLAGS for build != host.
2804         * configure: Rebuilt.
2805
2806 2003-06-27  Chris Demetriou  <cgd@broadcom.com>
2807
2808         * config/mips/mips.c (mips_build_va_list): Make padding in
2809         va_list structure explicit to avoid -Wpadded warnings.
2810
2811 2003-06-27  Ulrich Weigand  <uweigand@de.ibm.com>
2812
2813         * config/s390/s390.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define.
2814         * config/s390/s390.c (s390_secondary_output_reload_class): New function.
2815         * config/s390/s390-protos.h (s390_secondary_output_reload_class):
2816         Declare it.
2817         * config/s390/s390.md ("reload_outti", "reload_outdi",
2818         "reload_outdf"): New expanders.
2819
2820         * config/s390/s390.md ("movti" + splitters): Handle non-offsettable
2821         memory operands as source.
2822         ("movdi" + splitters): Likewise.
2823         ("movdf" + splitters): Likewise.
2824         * config/s390/s390.c (s390_split_ok_p): New function.
2825         * config/s390/s390-protos.h (s390_split_ok_p): Declare it.
2826
2827 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
2828
2829         * combine.c (force_to_mode): Replace the equality comparison
2830         of INTVALs with a pointer equality comparison.
2831         (simplify_comparison): Likewise.
2832
2833 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
2834
2835         * jump.c (rtx_renumbered_equal_p): Replace an expression that
2836         is known to be 0 with 0.
2837
2838 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
2839
2840         * gcse.c (expr_equiv_p): Replace expressions that are known to
2841         be 0 with 0.
2842
2843 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
2844
2845         * cse.c (fold_rtx): Replace the equality comparison of INTVALs
2846         with a pointer equality comparison.
2847
2848 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
2849
2850         * rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN
2851         are known to be not equivalent.
2852
2853 2003-06-27  Richard Henderson  <rth@redhat.com>
2854
2855         * config/alpha/alpha.c (function_arg): Don't pass small aggregates
2856         in floating point registers.  Validate that we don't receive complex
2857         values here.  Use #elif.
2858         (return_in_memory, function_value): New.
2859         (alpha_va_arg): Handle complex values as two arguments.
2860         * config/alpha/alpha.h (RETURN_IN_MEMORY): Use return_in_memory.
2861         (FUNCTION_VALUE, LIBCALL_VALUE): Use function_value.
2862         (SPLIT_COMPLEX_ARGS): New.
2863         * config/alpha/alpha-protos.h: Update.
2864
2865 2003-06-27  Ulrich Weigand  <uweigand@de.ibm.com>
2866
2867         * ggc-page.c (inverse_table): Change type of mult to size_t.
2868         (compute_inverse): Compute inverse using size_t, not unsigned int.
2869         Compute inverse also for sizes larger than half a machine page.
2870
2871 Fri Jun 27 18:36:12 CEST 2003  Jan Hubicka  <jh@suse.cz>
2872
2873         * toplev.c (rest_of_decl_compilation):  Only varpoolize argument
2874         when called before cgraph_optimize.
2875
2876 2003-06-27  Zack Weinberg  <zack@codesourcery.com>
2877
2878         * config/darwin.h, config/elfos.h, config/i960/i960-coff.h
2879         * config/m68k/coff.h: ASM_FILE_START_FILE_DIRECTIVE should
2880         be TARGET_ASM_FILE_START_FILE_DIRECTIVE.
2881
2882 Fri Jun 27 17:41:16 CEST 2003  Jan Hubicka  <jh@suse.cz>
2883
2884         * cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing
2885         of known_decls.
2886
2887 2003-06-27  Hans-Peter Nilsson  <hp@axis.com>
2888
2889         * defaults.h (REGISTER_MOVE_COST): Define default here.
2890         * regclass.c: Don't define default REGISTER_MOVE_COST here.
2891         * reload.c, reload1.c: Ditto.
2892
2893 2003-06-27  Richard Earnshaw <rearnsha@arm.com>
2894
2895         * flags.h: Really install previous change.
2896
2897 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
2898
2899         * rtl.h (emit_note): Remove FILE parameter.
2900         * emit-rtl.c (emit_line_note): Adjust emit_note call.
2901         (emit_note): Remove FILE parameter. Adjust.
2902         * builtins.c (expand_builtin_expect): Adjust emit_note call.
2903         * c-semantics.c (genrtl_scope_stmt): Likewise.
2904         (expand_stmt): Likewise.
2905         * cfglayout.c (reemit_insn_block_notes): Likewise.
2906         (duplicate_insn_chain): Likewise.
2907         * except.c (expand_eh_region_start, expand_eh_region_end,
2908         sjlj_emit_function_enter): Likewise.
2909         * explow.c (probe_stack_range): Likewise.
2910         * expr.c (emit_block_move_via_loop): Likewise.
2911         * function.c (init_function_start, expand_function_start,
2912         expand_function_end, thread_prologue_and_epilogue_insns): Likewise.
2913         * integrate.c (expand_inline_function, copy_insn_list): Likewise.
2914         * reg-stack.c (compensate_edge): Likewise.
2915         * reload1.c (reload): Likewise.
2916         * rtlanal.c (hoist_insn_to_edge): Likewise.
2917         * stmt.c (expand_fixup, expand_start_loop, expand_start_null_loop,
2918         expand_loop_continue_here, expand_end_loop, expand_continue_loop,
2919         expand_exit_loop_top_cond, expand_value_return,
2920         expand_start_bindings_and_block, expand_end_bindings,
2921         expand_decl_cleanup, expand_start_case): Likewise.
2922         * unroll.c (copy_loop_body
2923         * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Likewise.
2924         * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
2925         * config/rs6000/rs6000.c (rs6000_emit_eh_toc_restore,
2926         rs6000_emit_allocate_stack, rs6000_output_function_prologue,
2927         rs6000_output_function_epilogue, rs6000_output_mi_thunk): Likewise.
2928         * config/sh/sh.c (sh_output_mi_thunk): Likewise.
2929         * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
2930
2931 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
2932
2933         * c-tree.h (grokfield): Remove unused filename and line parameters.
2934         * c-decl.c (grokfield): Remove unused filename and line parameters.
2935         * c-parse.in (component_decl): Adjust field grokking rules, adjust
2936         grokfield calls.
2937         (component_declarator): Likewise.
2938         (component_notype_declarator): Likewise.
2939         * objc/objc-act.c (build_module_descriptor): Adjust grokfield
2940         calls.
2941         (build_protocol_template, build_method_prototype_list_template,
2942         build_method_prototype_template, build_category_template,
2943         build_selector_template, build_class_template,
2944         build_super_template, build_ivar_template,
2945         build_ivar_list_template, build_method_list_template,
2946         build_method_template, add_instance_variable): Likewise.
2947
2948 2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
2949
2950         * stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and
2951         OP2 are known to be not equivalent.
2952
2953 2003-06-26  Devang Patel <dpatel@apple.com>
2954
2955         * final.c (debug_flush_symbol_queue): New function.
2956         (debug_queue_symbol): New function.
2957         (debug_free_queue): New function.
2958         (debug_nesting): New variable.
2959         (symbol_queue): New variable.
2960         (symbol_queue_index): Same.
2961         (symbol_queue_size): Same.
2962         * debug.h (debug_flush_symbol_queue): New.
2963         (debug_queue_symbol): New.
2964         (debug_free_queue): New.
2965         (debug_nesting): New.
2966         (symbol_queue_index): New.
2967         * dbxout.c (DBXOUT_DECR_NESTING): New macro.
2968         (DBXOUT_DECR_NESTING_AND_RETURN): New macro.
2969         (dbxout_init): Delay symbol output.
2970         (dbxout_global_decl): Save, set and reset TREE_USED bit around
2971         dbxout_symbol() call.
2972         (dbxout_begin_function): Same.
2973         (dbxout_finish): Free symbol queue.
2974         (dbxout_type): Put appropriate symbols in queue.
2975         (dbxout_symbol): Put info for symbol's type in queue.
2976         Decrement/Increment nesting counts flush symbol queue appropriately.
2977         (dbxout_parms): Increment dbxout nesting.
2978         (dbxout_reg_parms): Same.
2979         * flags.h (flag_debug_only_used_symbols): New.
2980         * toplev.c (flag_debug_only_used_symbols): New variable.
2981         (lang_independent_options): Add entries for new option
2982         -feliminate-unused-debug-symbols.
2983         * common.opt: Add entry for -feliminate-unused-debug-symbols.
2984         * opts.c (common_handle_options): Same.
2985         * config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as
2986         -feliminate-unused-debug-symbols.
2987         * doc/invoke.texi (Debugging Options): Document
2988         -feliminate-unused-debug-symbols.
2989
2990 2003-06-26  Roger Sayle  <roger@eyesopen.com>
2991             Jakub Jelinek  <jakub@redhat.com>
2992
2993         * builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to
2994         obtain the format string instead of using TREE_STRING_POINTER and
2995         TREE_STRING_LENGTH.  Only optimize sprintf(dst,"%s",src) when the
2996         return value is unused or the length of src is a known constant.
2997
2998 2003-06-26  Richard Henderson  <rth@redhat.com>
2999
3000         * config/ia64/ia64.h (REGISTER_NAMES): R0 is really AP.
3001
3002 2003-06-26  Richard Henderson  <rth@redhat.com>
3003
3004         * config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls.
3005         (ia64_split_call): Only load descriptor for GP register inputs.
3006         (ia64_expand_epilogue): Check current_frame_info.mask not
3007         current_function_is_leaf to restore ar.pfs.
3008
3009 2003-06-26  Richard Henderson  <rth@redhat.com>
3010
3011         * emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE
3012         instead of replacing it.
3013
3014 2003-06-26  Richard Henderson  <rth@redhat.com>
3015
3016         * flow.c (propagate_one_insn): Kill function return value
3017         registers across tail calls.
3018
3019         * flow.c (propagate_one_insn): Preserve live-at-end registers
3020         across tail calls.
3021
3022 2003-06-26  J"orn Rennecke <joern.rennecke@superh.com>
3023
3024         * reload.c (can_reload_into): New function.
3025         (push_reload): Use it.
3026
3027 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
3028
3029         * config/h8300/h8300.c (compute_a_rotate_length): Fix the
3030         references to the amount of a rotation.
3031
3032 2003-06-26  Nathanael Nerode  <neroden@gcc.gnu.org>
3033
3034         * config/sh/coff.h: Don't include dbxcoff.h.
3035         * config.gcc: List it here.
3036
3037 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
3038
3039         * postreload.c (reload_cse_simplify_set): Call cselib_lookup
3040         earlier.  Don't check if SRC is a constant.
3041
3042 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
3043
3044         * Makefile.in (OBJS): Add postreload.o.
3045         Remove cselib.h from the dependency list for reload1.o.
3046         Add a dependency list for postreload.o.
3047         * reload.h: Change the comment for the prototype of
3048         reload_cse_regs.
3049         * reload1.c: Don't include cselib.h.
3050         (reload_cse_regs): Move to postreload.c
3051         (reload_cse_regs_1): Likewise.
3052         (reload_cse_noop_set_p): Likewise.
3053         (reload_cse_simplify_set): Likewise.
3054         (reload_cse_simplify_operands): Likewise.
3055         (RELOAD_COMBINE_MAX_USES): Likewise.
3056         (reload_combine_ruid): Likewise.
3057         (LABEL_LIVE): Likewise.
3058         (reload_combine): Likewise.
3059         (reload_combine_note_use): Likewise.
3060         (reload_combine_note_store): Likewise.
3061         (reg_set_luid): Likewise.
3062         (reg_offset): Likewise.
3063         (reg_base_reg): Likewise.
3064         (reg_mode): Likewise.
3065         (move2add_luid): Likewise.
3066         (move2add_last_label_luid): Likewise.
3067         (MODES_OK_FOR_MOVE2ADD): Likewise.
3068         (reload_cse_move2add): Likewise.
3069         (move2add_note_store): Likewise.
3070         (reload_cse_simplify): Likewise.
3071         * postreload.c: New.
3072
3073 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
3074
3075         * config/avr/avr.c (final_prescan_insn): Remove support for
3076         -mrtl.
3077         * config/avr/avr.h (MASK_RTL_DUMP): Remove.
3078         (TARGET_RTL_DUMP): Likewise.
3079         (TARGET_SWITCHES): Remove -mrtl.
3080
3081 2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
3082
3083         * config/h8300/h8300-protos.h: Change emit_a_rotate to
3084         output_a_rotate.  Add a prototype for compute_a_rotate_length.
3085         * config/h8300/h8300.c (emit_a_rotate): Change to
3086         output_a_rotate.
3087         (compute_a_rotate_length): New.
3088         (h8300_adjust_insn_length): Remove.
3089         * config/h8300/h8300.h (ADJUST_INSN_LENGTH): Remove.
3090         * config/h8300/h8300.md (adjust_length): Remove.
3091         (*rotlqi3_1): Use output_a_rotate and compute_a_rotate_length.
3092         (*rotlhi3_1): Likewise.
3093         (*rotlsi3_1): Likewise.
3094
3095 2003-06-26  Roger Sayle  <roger@eyesopen.com>
3096             Richard Henderson  <rth@redhat.com>
3097
3098         * builtins.c (expand_builtin_mathfn): Always stabilize the argument
3099         list against re-evaluation.  If expand_unop fails, call expand_call
3100         with the stabilized argument list rather than return NULL_RTX.
3101         (expand_builtin_mathfn2): Likewise, always stabilize the argument
3102         list, and call expand_call ourselves if expand_binop fails.
3103
3104 2003-06-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
3105
3106         PR optimization/11210
3107         * fold-const (decode_field_reference): Strip only NOPs that
3108         don't affect the sign.
3109
3110 2003-06-26  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>
3111
3112         * gcc/config/sh/sh.md (push_fpscr): Enable for TARGET_SH2E.
3113         (pop_fpscr, fpu_switch): Likewise.
3114
3115 2003-06-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3116
3117         * value-prof.c: New.
3118         * value-prof.h: New.
3119         * Makefile.in (value-prof.o): New.
3120         (LIBGCOV): Add _gcov_merge_single and _gcov_merge_delta
3121         (profile.o): Add value-prof.h and tree.h dependency.
3122         * flags.h (flag_profile_values): Declare.
3123         * gcov-io.h (GCOV_COUNTERS, GCOV_COUNTER_NAMES, GCOV_MERGE_FUNCTIONS):
3124         Add new counters.
3125         (GCOV_COUNTER_V_INTERVAL, GCOV_COUNTER_V_POW2, GCOV_COUNTER_V_SINGLE,
3126         GCOV_COUNTER_V_DELTA): New counter sections.
3127         (__gcov_merge_single, __gcov_merge_delta): Declare.
3128         * flow.c (mark_used_regs): Set subregs_of_mode only when the
3129         structure is initialized.
3130         * libgcov.c (__gcov_merge_single, __gcov_merge_delta): New functions.
3131         * profile.c: Include value-prof.h and tree.h.
3132         (gen_interval_profiler, gen_pow2_profiler, gen_one_value_profiler,
3133         gen_const_delta_profiler, instrument_values): New static functions.
3134         (get_exec_counts): Fix comment.
3135         (branch_prob): Invoke instrument_values.
3136         * toplev.c (flag_profile_values): New flag.
3137         * doc/invoke.texi (-fprofile-values): Document.
3138
3139 2003-06-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3140
3141         * Makefile.in (cfgrtl.o): Add expr.h dependency.
3142         * cfgrtl.c: Include expr.h.
3143         (mark_killed_regs, safe_insert_insn_on_edge): New
3144         functions.
3145         * config/i386/i386.h (AVOID_CCMODE_COPIES): Define.
3146         * basic-block.h (safe_insert_insn_on_edge): Declare.
3147
3148 2003-06-26  Neil Booth  <neil@daikokuya.co.uk>
3149
3150         * c-opts.c (missing_arg): Make non-static.
3151         (c_common_handle_option): Don't check for missing arguments.
3152         * opts.c (handle_option): Check for missing arguments.
3153
3154 2003-06-26  David Edelsohn  <edelsohn@gnu.org>
3155
3156         * config/rs6000/power4.md (power4-veccomplex): Correct latency.
3157
3158 2003-06-25  Loren James Rittle  <ljrittle@acm.org>
3159
3160         * configure.in (ld_vers): Portability [sed].
3161         * configure: Regenerate with autoconf213.
3162
3163 2003-06-25  H.J. Lu <hongjiu.lu@intel.com>
3164
3165         * doc/extend.texi: Document new builtin functions for Intel
3166         Prescott New Intrunctions.
3167
3168         * doc/invoke.texi: Document new command-line options, -mpni and
3169         -mno-pni, for Intel Prescott New Intrunctions.
3170
3171         * config.gcc (extra_headers): Add pmmintrin.h for i[34567]86-*-*.
3172
3173         * config/i386/i386.c (override_options): Turn on MASK_SSE2
3174         for -mpni. Turn on MASK_SSE for -msse2.
3175         (bdesc_2arg): Add PNI builtins with 2 args.
3176         (bdesc_1arg): Add PNI builtins with 1 arg.
3177         (ix86_init_mmx_sse_builtins): Handle PNI builtins.
3178         (ix86_expand_builtin): Likewise.
3179
3180         * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A,
3181         MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT,
3182         MASK_TLS_DIRECT_SEG_REFS): Renumbered.
3183         (TARGET_PNI): New.
3184         (TARGET_SWITCHES): Don't enable MASK_SSE for -msse2 here. Add
3185         -mpni and -mno-pni.
3186         (TARGET_CPU_CPP_BUILTINS): Defined __PNI__ for PNI.
3187         (ix86_builtins): Add PNI builtins.
3188         (config/i386/i386.md): Add PNI patterns.
3189
3190         * config/i386/pmmintrin.h: New file.
3191
3192 2003-06-25  Kazu Hirata  <kazu@cs.umass.edu>
3193
3194         * config/h8300/h8300.md (call): Fix the insn lengths.
3195         (call_value): Likewise.
3196
3197 Thu Jun 26 00:13:35 CEST 2003  Jan Hubicka  <jh@suse.cz>
3198
3199         * c-common.c (handle_used_attribute): Use mark_referenced.
3200         * varasm.c (mark_referenced): Break out from ...
3201         (assemble_name): ... here.
3202         * tree.h (mark_referenced): Declare.
3203
3204 2003-06-25  Wolfgang Bangerth  <bangerth@dealii.org>
3205
3206         * gccbug.in: Add PCH to list of categories.
3207
3208 2003-06-25 Martin Schaffner <schaffner@gmx.li>
3209
3210         * cppfiles.c: Clarify comments.
3211         * cpphash.h: Likewise.
3212         * cpplib.h: Likewise.
3213         * cppmacro.c: Likewise.
3214         * mkdeps.h: Likewise.
3215
3216 2003-06-25  Neil Booth  <neil@daikokuya.co.uk>
3217
3218         * c-opts.c (complain_wrong_lang, write_langs): Remove.
3219         (c_common_handle_option): Complaints about wrong language are
3220         handled in opts.c now.
3221         * opts.c (complain_wrong_lang, write_langs, handle_options): New.
3222         (find_opt): Fix thinko.
3223         (handle_option): Update prototype.  Complain about switches for
3224         a different front end.
3225         * opts.h (lang_names, handle_options): New.
3226         (handle_option): Remove.
3227         * opts.sh: Write out language names array.
3228         * toplev.c (parse_options_and_default_flags): Use handle_options.
3229
3230 2003-06-25  H.J. Lu <hongjiu.lu@intel.com>
3231
3232         * config/i386/i386.c (MASK_SSE1): Removed.
3233         (MASK_SSE164): Removed.
3234         (MASK_SSE264): Removed.
3235         (bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace
3236         MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264
3237         with MASK_SSE2 | MASK_64BIT.
3238         (bdesc_1arg): Likewise.
3239         (ix86_init_mmx_sse_builtins): Likewise.
3240
3241         * config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2.
3242         (TARGET_SWITCHES): Enable both MASK_SSE and MASK_SSE2 for
3243         -msse2.
3244
3245 2003-06-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3246
3247         * hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros.
3248         (HOST_WIDE_INT_PRINT_DEC_SPACE,
3249         HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
3250         HOST_WIDEST_INT_PRINT_DEC_SPACE,
3251         HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete.
3252         (HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C,
3253         HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in
3254         terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C.
3255
3256         * final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT.
3257         * ra-debug.c (dump_static_insn_cost): Likewise.
3258
3259 2003-06-26  Nick Clifton  <nickc@redhat.com>
3260
3261         * config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead
3262         of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
3263         Replace occurances of '???' with 'XXX' incase they are
3264         mistaken for trigraphs.
3265         (THUMB_PRINT_OPERAND_ADDRESS): abort if a compound address
3266         does not have a register for the first operand.
3267
3268 2003-06-25      Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3269
3270         * config/sh/sh.c (sh_register_move_cost):
3271         Add case for moving between MAC_REGS.
3272
3273 2003-06-25  Zack Weinberg  <zack@codesourcery.com>
3274
3275         PR 10178
3276         * langhooks.h (struct lang_hooks): Add no_body_blocks bool.
3277         * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): New; default false.
3278         * c-lang.c, objc/objc-lang.c: Override LANG_HOOKS_NO_BODY_BLOCKS
3279         to true.
3280         * stmt.c (is_body_block): If lang_hooks.no_body_blocks, always
3281         return 0.
3282
3283 2003-06-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3284
3285         * Makefile.in (bt-load.o): Depend on $(TM_P_H).
3286         * bt-load.c: Include "tm_p.h".
3287
3288 2003-06-25  Kazu Hirata  <kazu@cs.umass.edu>
3289
3290         * config/h8300/h8300.c (compute_mov_length): Adjust for the
3291         new optimization.
3292         * config/h8300/h8300.md (*movsi_h8300): Optimize the load of
3293         an SImode constant whose upper and lower are the same.
3294
3295 Wed Jun 25 11:31:59 CEST 2003  Jan Hubicka  <jh@suse.cz>
3296
3297         * varasm.c (assemble_name): Mark needed variables even when
3298         global info is ready.
3299
3300 2003-06-24  Jerry Quinn  <jlquinn@optonline.net>
3301
3302         PR other/11280
3303         * gcc/doc/invoke.texi (Optimization Options): Remove -Os from
3304         -freorder-functions description.
3305
3306 2003-06-25  Josef Zlomek  <zlomekj@suse.cz>
3307
3308         * dwarf2out.c (gen_field_die): Return if type of decl is error mark.
3309
3310 2003-06-25  Neil Booth  <neil@daikokuya.co.uk>
3311
3312         * opts.c (common_handle_option): Add missing break;s.
3313
3314 2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
3315
3316         * config/h8300/h8300-protos.h: Add a prototype for
3317         compute_mov_length.
3318         * config/h8300/h8300.c (compute_mov_length): New.
3319         * config/h8300/h8300.md (*movqi_h8300): Use it.
3320         (*movqi_h8300hs): Likewise.
3321         (movstrictqi): Likewise.
3322         (*movhi_h8300): Likewise.
3323         (*movhi_h8300hs): Likewise.
3324         (movstricthi): Likewise.
3325         (*movsi_h8300): Likewise.
3326         (*movsf_h8300): Likewise.
3327         (*movsi_h8300hs): Likewise.
3328         (*movsf_h8300hs): Likewise.
3329
3330 2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
3331
3332         * jump.c (next_nondeleted_insn): Remove.
3333         * rtl.h: Remove the prototype for next_nondeleted_insn.
3334
3335 2003-06-24  Roger Sayle  <roger@eyesopen.com>
3336
3337         PR optimization/11311
3338         * builtins.c (powi_cost): Fix typo.  The number of multiplications
3339         required is the number to reduce the argument, result, plus the
3340         cost of calculating the residual, val [not n, the original value].
3341
3342 2003-06-24  Roger Sayle  <roger@eyesopen.com>
3343
3344         * config/alpha/osf5.h (TARGET_C99_FUNCTIONS): Define.
3345
3346 2003-06-24  Richard Henderson  <rth@redhat.com>
3347             (blame to: Loren James Rittle  <ljrittle@acm.org>)
3348
3349         * real.h (ieee_extended_intel_96_round_53_format): New.
3350         * real.c (ieee_extended_intel_96_round_53_format): New.
3351         * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it
3352         for XFmode and TFmode.
3353
3354 2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
3355
3356         * config/h8300/h8300.md (4 anonymous patterns): Give internal
3357         names.
3358         (movsi_h8300): Change the name to *movsi_h8300.
3359         (movsi_h8300hs): Change the name to *movsi_h8300hs.
3360         (movsf_h8300): Change the name to *movsf_h8300.
3361         (movsf_h8300hs): Change the name to *movsf_h8300hs.
3362
3363 2003-06-24  Jakub Jelinek  <jakub@redhat.com>
3364
3365         * builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in
3366         src twice.
3367
3368 2003-06-24  J"orn Rennecke <joern.rennecke@superh.com>
3369
3370         Back out these patches:
3371          2003-06-02  J"orn Rennecke <joern.rennecke@superh.com>
3372           * sh.h (OLD_ARG_MODE): New macro.
3373           (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
3374           (FUNCTION_ARG_1): Break out of:
3375           (FUNCTION_ARG).  Use OLD_ARG_MODE.
3376          2003-06-06  J"orn Rennecke <joern.rennecke@superh.com>
3377           * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
3378           of the generated register.
3379
3380         * sh.h (FUNCTION_ARG_SCmode_WART): Define.
3381         (FUNCTION_ARG): Unless FUNCTION_ARG_SCmode_WART is defined and
3382         an even number of floating point regs are in use, use the same
3383         sequence of argument passing registers for SCmode as would be
3384         used for two SFmode values.
3385         * sh.c (sh_va_arg): If FUNCTION_ARG_SCmode_WART is defined,
3386         swap real / imaginary parts in incoming SCmode values passed
3387         in registers.
3388
3389 2003-06-24  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
3390
3391         PR target/11260
3392         * config/alpha/alpha.md (sqrtdf2): Fix operand substitution.
3393
3394 Tue Jun 24 18:49:33 CEST 2003  Jan Hubicka  <jh@suse.cz>
3395
3396         * Makefile.in (cgraph.o): Depend on output.h, not depend on
3397         tree-inline.h
3398         * cgraph.c: Do not include tree-inline.h; include output.h
3399         (known_fns): Rename to ...
3400         (known_decls): ... this one; update all uses.
3401         (cgraph_varpool_hash): New static variable.
3402         (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): New global
3403         variables.
3404         (cgraph_varpool_hash_node, eq_cgraph_varpool_node, cgraph_varpool_node,
3405         cgraph_varpool_node_for_identifier, cgraph_varpool_mark_needed_node,
3406         cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
3407         New functions.
3408         * cgraph.h (cgraph_varpool_node): New structure.
3409         (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): Declare.
3410         (cgraph_varpool_node, cgraph_varpool_node_for_identifier,
3411         cgraph_varpool_finalize_decl, cgraph_varpool_mark_needed_node,
3412         cgraph_varpool_asemble_pending_decls): Declare.
3413         * cgraphunit.c (record_call_1): Notice variable references.
3414         (cgraph_finalize_compilation_unit): Assemble pending variables.
3415         * toplev.c (wrapup_global_declarations): Use varpool.
3416         (compile_file): Assemble pending declarations.
3417         (rest_of_decl_compilation): Use varpool in unit-at-a-time mode.
3418         * varasm.c (assemble_name): Notice varpool references.
3419
3420 Tue Jun 24 13:52:11 CEST 2003  Jan Hubicka  <jh@suse.cz>
3421
3422         * langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro.
3423         * langhooks.h (lang_hooks_for_decls): Add prepare_assemble_variable.
3424         * varasm.c (assemble_variable): Call prepare_assemble_variable.
3425
3426 2003-06-23  Roger Sayle  <roger@eyesopen.com>
3427
3428         * builtins.c (expand_builtin): Use expand_builtin_pow to expand
3429         calls for pow, powf, powl and their __builtin_ variants.
3430         (expand_builtin_pow): If the second argument is a constant
3431         integer and compiling with -ffast-math, use expand_powi to
3432         generate RTL if powi_cost is less than POWI_MAX_MULTS.
3433         (powi_cost): New function to return the number of multiplications
3434         necessary to evaluate an Nth power, for integer constant N.
3435         (expand_powi): New function to expand the RTL for evaluating
3436         the Nth power of a floating point value, for integer constant N.
3437
3438         * doc/tm.texi (POWI_MAX_MULTS): Document new target macro.
3439
3440 Mon Jun 23 23:07:35 CEST 2003  Jan Hubicka  <jh@suse.cz>
3441
3442         * cgraph.c (cgraph_nodes_queue): Declare.
3443         (eq_node): Take identifier as p2.
3444         (cgraph_node): Update htab_find_slot_with_hash call.
3445         (cgraph_node_for_identifier): New.
3446         (cgraph_mark_needed_node): Move here from cgraphunit.c.
3447         * cgraph.h (cgraph_nodes_queue): Declare.
3448         (cgraph_node_for_identifier): Declare.
3449         * cgraphunit.c (cgraph_finalize_function): Collect entry points here
3450         instead of in cgraph_finalize_compilation_unit; constructors and
3451         destructors are entry points.
3452         (cgraph_finalize_compilation_unit): Reorganize debug outout;
3453         examine nested functions after lowerng; call collect_functions hook.
3454         (cgraph_mark_local_functions): DECL_COMDAT functions are not local.
3455         (cgraph_finalize_compilation_unit): Do not collect entry points.
3456         * varasm.c: Include cgraph.h
3457         (assemble_name): Mark referenced identifier as needed.
3458
3459         * cgraphunit.c (record_call_1): Use get_callee_fndecl.
3460
3461 2003-06-23  Jakub Jelinek  <jakub@redhat.com>
3462
3463         * config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0,
3464         just SYMBOL_REF.
3465         * config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31
3466         mode, as it requires pic register loaded.
3467
3468         * varasm.c (resolve_unique_section): Remove prototype.  No longer
3469         static.
3470         * tree.h (resolve_unique_section): New prototype.
3471
3472 2003-06-23  Andreas Schwab  <schwab@suse.de>
3473
3474         PR debug/9905
3475         * dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by
3476         recursing through first argument.
3477
3478 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
3479
3480         * ChangeLog.1: Fix a typo.
3481         * cfgrtl.c: Fix comment typos.
3482         * dwarf2out.c: Likewise.
3483         * expmed.c: Likewise.
3484         * genrecog.c: Likewise.
3485         * jump.c: Likewise.
3486         * rtlanal.c: Likewise.
3487         * ssa-dce.c: Likewise.
3488         * toplev.c: Likewise.
3489
3490 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
3491
3492         * doc/extend.texi: Fix typos.
3493         * doc/md.texi: Likewise.
3494         * doc/tm.texi: Likewise.
3495
3496 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
3497
3498         * basic-block.h: Fix comment formatting.
3499         * bt-load.c: Likewise.
3500         * builtins.c: Likewise.
3501         * c-common.c: Likewise.
3502         * c-common.h: Likewise.
3503         * c-format.c: Likewise.
3504         * coverage.c: Likewise.
3505         * cpplib.h: Likewise.
3506         * cpppch.c: Likewise.
3507         * dbxout.c: Likewise.
3508         * diagnostic.c: Likewise.
3509         * dwarf2out.c: Likewise.
3510         * expr.c: Likewise.
3511         * fold-const.c: Likewise.
3512         * function.c: Likewise.
3513         * gcc.c: Likewise.
3514         * gcov-io.c: Likewise.
3515         * gcov-io.h: Likewise.
3516         * gcov.c: Likewise.
3517         * profile.c: Likewise.
3518         * real.h: Likewise.
3519         * sched-deps.c: Likewise.
3520
3521 2003-06-23  Roger Sayle  <roger@eyesopen.com>
3522             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3523
3524         * doc/contrib.texi (Contributors): Add a note on testing and
3525         remove duplicates from testers list.
3526
3527 2003-06-23  Nick Clifton  <nickc@redhat.com>
3528
3529         * read-rtl.c (read_braced_string): Check for EOF.  If
3530         encountered issue an error message.
3531
3532 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
3533
3534         * doc/invoke.texi: Document dump options, dT and dW.
3535
3536 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
3537
3538         * genrecog.c (pred_table): Remove the entry for
3539         mode_independent_operand.
3540         * recog.c (next_insns_test_no_inequality): Remove.
3541         (mode_independent_operand): Likewise.
3542         * recog.h: Remove the prototype for mode_independent_operand.
3543
3544 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
3545
3546         * config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
3547         store into bit 0.
3548         * config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the
3549         second alternative to set_znv.
3550         (*extzv_1_r_inv_h8300hs): Likewise.
3551
3552 2003-06-23  Hans-Peter Nilsson  <hp@bitrange.com>
3553
3554         * configure.in (in_tree_gas): Find out here whether GAS is ELF,
3555         set in_tree_gas_is_elf accordingly.
3556         (in_tree_ld): Find out whether LD emulation is ELF, set
3557         in_tree_ld_is_elf accordingly.
3558         (gcc_cv_as_subsections, gcc_cv_as_hidden, gcc_cv_as_leb128)
3559         (gcc_cv_as_eh_frame, gcc_cv_as_shf_merge)
3560         (gcc_cv_as_dwarf2_debug_line, gcc_cv_as_gdwarf2_flag)
3561         (gcc_cv_as_gstabs_flag): Use $in_tree_gas_is_elf instead of
3562         grepping gas/Makefile.
3563         (gcc_cv_ld_ro_rw_mix, gcc_cv_ld_eh_frame_hdr, gcc_cv_ld_pie): Use
3564         $in_tree_ld_is_elf instead of grepping ld/Makefile.
3565         * configure: Regenerate.
3566
3567 2003-06-22  Roger Sayle  <roger@eyesopen.com>
3568
3569         * builtins.c (expand_builtin_mathfn_2): Use tree_cons to build
3570         up the stabilized argument list, not build_tree_list.
3571         (expand_builtin_strcpy): Construct new argument list manually
3572         instead of using chainon to modify the original argument list.
3573         (expand_builtin_stpcpy): Construct new argument list manually
3574         instead of using copy_list and chainon.
3575         (expand_builtin_sprintf): New function.  Optimize calls to
3576         sprintf when the format is "%s" or doesn't contain a '%'.
3577         (expand_builtin): Expand BUILT_IN_SPRINTF using the new function
3578         expand_builtin_sprintf.
3579
3580 2003-06-22  Andreas Schwab  <schwab@suse.de>
3581
3582         * function.c (set_insn_locators): Mark as unused.
3583
3584 2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
3585
3586         * common.opt: Add -finline-limit.
3587         * opts.c (common_handle_options): Handle it.
3588         * opts.sh: Temporary kludge for -finline-limit.
3589         * toplev.c (decode_f_option, independent_decode_option): Die.
3590         (parse_options_and_default_flags): No independent_decode_option.
3591
3592 2003-06-22  Andreas Jaeger  <aj@suse.de>
3593
3594         * calls.c (emit_call_1): Readd lost ATTRIBUTE_UNUSED.
3595
3596 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
3597
3598         * doc/invoke.texi: Document dumps, .btl, .cfg, and .bypass.
3599
3600 2003-06-22  Andreas Schwab  <schwab@suse.de>
3601
3602         * doc/invoke.texi: Remove leading `-' from options in index.
3603
3604 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
3605
3606         * bt-load.c: Follow spelling conventions.
3607
3608 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
3609
3610         * expr.c (emit_move_insn_1): Fix a comment typo.
3611
3612 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
3613
3614         * doc/invoke.texi: Alphabetize dump options.
3615
3616 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
3617
3618         * doc/invoke.texi: Remove a duplicate -dk.
3619
3620 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
3621
3622         * doc/invoke.texi: Update dump file names.
3623
3624 2003-06-22  Zack Weinberg  <zack@codesourcery.com>
3625
3626         * config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII
3627         and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC.
3628
3629 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
3630
3631         * doc/rtl.texi: Fix the @findex for pre_modify.
3632
3633 2003-06-22  Andreas Jaeger  <aj@suse.de>
3634
3635         * caller-save.c: Convert to ISO C90.
3636         * calls.c: Likewise.
3637         * cfg.c: Likewise.
3638         * cfganal.c: Likewise.
3639         * cfgbuild.c: Likewise.
3640         * cfgcleanup.c: Likewise.
3641         * cfghooks.c: Likewise.
3642         * cfglayout.c: Likewise.
3643         * cfglayout.h: Likewise.
3644         * cfgloop.c: Likewise.
3645         * cfgloop.h: Likewise.
3646         * cfgloopanal.c: Likewise.
3647         * cfgloopmainip.c: Likewise.
3648         * cfgrtl.c: Likewise.
3649
3650 2003-06-22  Richard Earnshaw  <rearnsha@arm.com>
3651
3652         * arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting
3653         64-bit alignment.
3654
3655 2003-06-22  Richard Earnshaw  <rearnsha@arm.com>
3656
3657         * arm.md (all call_value patterns): Remove register constraints on
3658         value operand.
3659
3660 2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
3661
3662         * common.opt: More -f switches.
3663         * opts.c (common_handle_options): Handle them.
3664         * toplev.c (time_report): Make extern.
3665         (f_options): USe flag_dummy.
3666         (decode_f_option): No need to use f_options now.
3667         * toplev.h (flag_cprop_registers, flag_ssa, flag_ssa_ccp,
3668         flag_ssa_dce, time_report, flag_new_regalloc): Make extern.
3669
3670 2003-06-22  Andreas Jaeger  <aj@suse.de>
3671
3672         * c-lex.c: Convert to ISO C90.
3673         * c-objc-common.c: Likewise.
3674         * c-opts.c: Likewise.
3675         * c-pch.c: Likewise.
3676         * c-ppoutput.c: Likewise.
3677         * c-pragma.h: Likewise.
3678         * c-pretty-print.c: Likewise.
3679         * c-pretty-print.h: Likewise.
3680         * c-semantics.c: Likewise.
3681         * c-tree.h: Likewise.
3682         * c-typeck.c: Likewise.
3683
3684         * c-lang.c: Convert to ISO C90.
3685
3686 2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
3687
3688         * opts.c (find_opt): Fix to always guarantee a find of a
3689         switch with joined parameter.
3690         * opts.h (struct cl_option): New member back_chain.
3691         * opts.sh: Update to calculate and add back_chain member.
3692
3693 2003-06-22  Gabriel Dos Reis <gdr@integrable-solutions.net>
3694
3695         * diagnostic.h (output_host_wide_integer): Declare.
3696         * diagnostic.c (output_long_long_decicaml): New function.
3697         (output_host_wide_integer): Likewise.
3698         (output_format): Use them.  Handle "%ll" and "%w".
3699
3700 2003-06-21  Jason Thorpe  <thorpej@wasabisystems.com>
3701
3702         * config.gcc (*-*-netbsd*): Add t-libgcc-pic to tmake_file.
3703
3704 2003-06-21  Zack Weinberg  <zack@codesourcery.com>
3705
3706         * aclocal.m4 (gcc_AC_C_CHARSET): Delete.
3707         * configure.in: Don't use gcc_AC_C_CHARSET.
3708         * configure, config.in: Regenerate.
3709         * config/i370/i370.c, config/i370/i370.h: Use
3710         (HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII)
3711         instead of HOST_EBCDIC or !HOST_EBCDIC.  Clarify comments a tad.
3712
3713 2003-06-21  Neil Booth  <neil@daikokuya.co.uk>
3714
3715         * Makefile.in: Update.
3716         * common.opt: New switches.
3717         * opts.c: Include diagnostic.h.
3718         (common_handle_option): Handle new switches.
3719         * toplev.c (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
3720         flag_if_conversion2, flag_delete_null_pointer_checks,
3721         flag_rerun_cse_after_loop): Make extern.
3722         (flag_dummy): New.
3723         (f_options): Update to use flag_dummy for moved options.
3724         (decode_f_option): Some switches moved to opts.c.
3725         * toplev.h (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
3726         flag_if_conversion2, flag_delete_null_pointer_checks,
3727         flag_rerun_cse_after_loop, flag_keep_static_consts, flag_peel_loops,
3728         flag_tracer, flag_thread_jumps, flag_unroll_loops,
3729         flag_unroll_all_loops, flag_unswitch_loops): New.
3730
3731 Sat Jun 21 13:41:00 CEST 2003  Jan Hubicka  <jh@suse.cz>
3732
3733         * i386.c (ix86_va_arg): Fix allocation of temporary slot.
3734
3735 2003-06-20  Kazu Hirata  <kazu@cs.umass.edu>
3736
3737         * config/h8300/h8300-protos.h: Add a prototype for
3738         same_cmp_preceding_p.
3739         * config/h8300/h8300.c (same_cmp_preceding): New.
3740         * config/h8300/h8300.md: Extend peephole2's that transform
3741         compare:SI into shorter sequences so that they can deal with
3742         signed comparisons.
3743
3744 2003-06-21  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3745
3746         * doc/contrib.texi (Contributors): Use Windows instead of Win32.
3747
3748         Update Andreas Jaeger's entry.
3749
3750         Merge the two entries of Kaveh Ghazi, David Edelsohn, and
3751         Loren J. Rittle.
3752
3753 2003-06-21  Nathanael Nerode  <neroden@gcc.gnu.org>
3754
3755         * mkconfig.sh: Add multiple inclusion guards to generated headers.
3756
3757 2003-06-20  Neil Booth  <neil@daikokuya.co.uk>
3758
3759         * c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.
3760         * common.opt: Add remaining -W options and -g.
3761         * diagnostic.c (warnings_are_errors): Remove.
3762         * flags.h: Make most warning flags boolean.
3763         * opts.c (common_handle_option): Handle remaining -W options, and -g.
3764         Move many warning flags from toplev.c, making them boolean.
3765         * toplev.c: Remove many warning flags.
3766         (decode_W_option): Remove.
3767         (decode_g_option): Make extern.  Error on unknown switch.
3768         (lang_independent_W_options): Use warn_dummy.
3769         (independent_decode_option): Just handle -f switches now.
3770         * toplev.h (decode_g_option): New.
3771
3772 2003-06-20  Aldy Hernandez  <aldyh@redhat.com>
3773
3774         PR/11092
3775         * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for
3776         vectors.
3777
3778 2003-06-20  Kelley Cook  <kelleycook@wideopenwest.com>
3779
3780         * opts.sh: Tweak awk script for portability.
3781
3782 2003-06-20  Mark Mitchell  <mark@codesourcery.com>
3783
3784         PR c++/10888
3785         * tree-inline.c (expand_call_inline): Do not warn about failing to
3786         inline functions declared in system headers.
3787         * doc/invoke.texi (-Winline): Expand on documentation.
3788
3789 2003-06-20  Richard Henderson  <rth@redhat.com>
3790
3791         * config/alpha/alpha.c (alpha_file_start): Disable
3792         file_start_file_directive for ELF and not MDEBUG.
3793
3794 2003-06-20  J"orn Rennecke <joern.rennecke@superh.com>
3795
3796         * sh.h (ROUND_TYPE_ALIGN): Remove.
3797
3798 2003-06-20  Richard Henderson  <rth@redhat.com>
3799
3800         * hooks.c (hook_int_void_no_regs): Rename from
3801         hook_reg_class_void_no_regs; change return type.
3802         * hooks.h: Update.
3803         * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Update.
3804         * target.h (branch_target_register_class): Change return type to int.
3805         Add documentation.
3806         * config/sh/sh.c (sh_target_reg_class): Change return type.
3807         * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise.
3808
3809 2003-06-20  Andreas Tobler <toa@pop.agri.ch>
3810
3811         * c-format.c: Change _Bool to bool reverting part of the last
3812         patch.
3813
3814 2003-06-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3815
3816         * som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to
3817         strip name encoding.
3818
3819 2003-06-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3820
3821         * configure.in (gcc_cv_as_gstabs_flag): Disable if assembler warns.
3822         * configure: Regenerate.
3823         Fixes PR driver/9362.
3824
3825 2003-06-20  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3826
3827         * config/alpha/alpha.c (alpha_file_start): Fix typo.
3828
3829 2003-06-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3830
3831         * config/mips/mips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg
3832         to ASM_OUTPUT_SOURCE_LINE.
3833
3834 2003-06-20  Daniel Egger  <degger@fhm.edu>
3835             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3836
3837         * doc/install.texi (Building): Correct and improve statement
3838         about parallel builds.
3839
3840 2003-06-20  Andreas Jaeger  <aj@suse.de>
3841
3842         * c-common.c: Change _Bool to bool reverting part of the last
3843         patch.
3844
3845 2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
3846
3847         * tree.h (expand_function_end): Remove all parameters.
3848         * function.c (expand_function_end): Remove all parameters.
3849         Use input_location. Never expand_end_bindings.
3850         * c-decl.c (c_expand_body_1): Adjust expand_function_end call.
3851         * coverage.c (create_coverage): Likewise.
3852
3853 2003-06-20  Nick Clifton  <nickc@redhat.com>
3854
3855         * doc/extend.texi (ARM Built-in Functions): New node.  Document
3856         ARM builtin functions for iWMMXt support.
3857
3858 2003-06-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
3859
3860         * doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and
3861         SPARC64/Solaris as platforms where --with-gnu-as makes a difference.
3862         (--with-as): Add @anchor.
3863         (--with-gnu-ld): Fix typo.
3864         (--with-ld): Add @uref to --with-as.
3865
3866 2003-06-19  Zack Weinberg  <zack@codesourcery.com>
3867
3868         * doc/tm.texi: Uniformly use @defmac for macros, rather than
3869         @table items.  Minor formatting and editorial corrections.
3870
3871 2003-06-20  Neil Booth  <neil@daikokuya.co.uk>
3872
3873         * line-map.c, line-map.h: Convert to ISO prototypes.
3874
3875 2003-06-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3876
3877         * gcse.c (store_killed_in_insn): Fix.
3878
3879 2003-06-19  Zack Weinberg  <zack@codesourcery.com>
3880
3881         * target.h (asm_out.file_start, file_start_app_off,
3882         file_start_file_directive): New hooks.
3883         * target-def.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE,
3884         TARGET_ASM_FILE_START_APP_OFF, TARGET_ASM_FILE_START):
3885         New hook-definition macros.
3886         * doc/tm.texi: Document new hooks; remove docs of ASM_FILE_START.
3887         * varasm.c (default_file_start): New.
3888         * output.h: Prototype it.
3889         * toplev.c (init_asm_output): Use targetm.asm_out.file_start.
3890         * system.h: Poison ASM_FILE_START.
3891
3892         * config/alpha/alpha.c (alpha_write_verstamp): Delete.
3893         (alpha_file_start): New, define if !TARGET_ABI_UNICOSMK.
3894         (unicosmk_asm_file_start): Rename unicosmk_file_start,
3895         make static, take no arguments.
3896         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_END,
3897         TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set as appropriate.
3898         * config/alpha/unicosmk.h: Don't define ASM_FILE_START nor
3899         TARGET_ASM_FILE_END.  Remove reference to ASM_FILE_START in
3900         comment.
3901         * config/arc/arc.c (arc_asm_file_start): Rename
3902         arc_file_start, take no arguments, make static.
3903         (TARGET_ASM_FILE_START): Set it.
3904         * config/arm/arm.c (aof_file_start): New static function.
3905         (TARGET_ASM_FILE_START): Set it, when appropriate.
3906         * config/arm/coff.h, config/arm/elf.h:
3907         Set TARGET_ASM_FILE_START_APP_OFF to true.
3908         * config/avr/avr.c (asm_file_start): Rename avr_file_start,
3909         take no arguments, make static.
3910         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
3911         Set them.
3912         * config/c4x/c4x.c (c4x_file_start): New static function.
3913         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
3914         Set them.
3915         * config/cris/cris.c (cris_file_start): New static function.
3916         (TARGET_ASM_FILE_START): Set it.
3917         * config/dsp16xx/dsp16xx.c (coff_dsp16xx_file_start): Rename
3918         dsp16xx_file_start, make static.
3919         (luxworks_dsp16xx_file_start): Delete.
3920         (TARGET_ASM_FILE_START): Set it.
3921         * config/h8300/h8300.c (asm_file_start): Rename
3922         h8300_file_start, make static, take no arguments.
3923         (TARGET_ASM_FILE_START): Set it.
3924         * config/i370/i370.c (i370_file_start): New static function.
3925         (TARGET_ASM_FILE_START): Set it.
3926         * config/i386/i386.c (x86_file_start): New static function.
3927         (TARGET_ASM_FILE_START): Set it.
3928         * config/i386/i386.h (X86_FILE_START_VERSION_DIRECTIVE,
3929         X86_FILE_START_FLTUSED): New macros, default to false.
3930         * config/i386/i386-interix.h: Override X86_FILE_START_FLTUSED to 1.
3931         * config/i386/sysv4.h, config/i386/sco5.h: Override
3932         X86_FILE_START_VERSION_DIRECTIVE to true.
3933         * config/ia64/ia64.c (ia64_file_start): New static function.
3934         (TARGET_ASM_FILE_START): Set it.
3935         (emit_safe_across_calls): Take no arguments.
3936         * config/ia64/ia64.md: Update to match.
3937         * config/m32r/m32r.c (m32r_asm_file_start): Rename
3938         m32r_file_start, make static, take no arguments.
3939         (TARGET_ASM_FILE_START): Set it.
3940         * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Rename
3941         m68hc11_file_start, make static, take no arguments.
3942         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
3943         (print_options): Delete.
3944         * config/m68k/m68k.c (m68k_hp320_file_start): New static function.
3945         (TARGET_ASM_FILE_START_APP_OFF): Set.
3946         * config/m68k/hp320.h: Set TARGET_ASM_FILE_START to
3947         m68k_hp320_file_start.
3948         * config/mips/mips.c (iris6_asm_file_start, mips_asm_file_start):
3949         Make static, take no arguments.
3950         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
3951         * config/mmix/mmix.c (mmix_asm_file_start): Rename
3952         mmix_file_start, make static, take no arguments.
3953         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
3954         * config/mn10300/mn10300.c (asm_file_start): Rename
3955         mn10300_file_start, make static, take no arguments.
3956         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
3957         * config/ns32k/ns32k.c (TARGET_ASM_FILE_START_APP_OFF): Set.
3958         * config/pa/pa.c (pa_file_start_level, pa_file_start_space,
3959         pa_file_start_file, pa_file_start_mcount, pa_elf_file_start,
3960         pa_som_file_start, pa_linux_file_start, pa_hpux64_gas_file_start,
3961         pa_hpux64_hpas_file_start): New static functions.
3962         * config/pa/elf.h: Set TARGET_ASM_FILE_START to pa_elf_file_start.
3963         * config/pa/pa-linux.h: Set TARGET_ASM_FILE_START to
3964         pa_linux_file_start.
3965         * config/pa/pa64-hpux.h: Set TARGET_ASM_FILE_START to
3966         pa_hpux64_gas_file_start or pa_hpux64_hpas_file_start, as
3967         appropriate.
3968         * config/pa/som.h: Set TARGET_ASM_FILE_START to pa_som_file_start.
3969         * config/rs6000/rs6000.c: Include xcoffout.h when TARGET_XCOFF.
3970         (rs6000_file_start): Make static, take no arguments.  Reset
3971         default_cpu under certain conditions.
3972         (rs6000_xcoff_file_start): New function.
3973         * config/rs6000/rs6000.h (TARGET_ASM_FILE_START): Set.
3974         * config/rs6000/xcoff.h (TARGET_ASM_FILE_START,
3975         TARGET_ASM_FILE_START_FILE_DIRECTIVE): Override.
3976         * config/sh/sh.c (output_file_start): Rename
3977         sh_file_start, make static, take no arguments.  Merge in old
3978         code from sh/elf.h's ASM_FILE_START, conditioned on TARGET_ELF.
3979         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
3980         * config/sh/sh.c (TARGET_ELF): Define to 0.
3981         * config/sh/elf.h (TARGET_ELF): Redefine to 1.
3982         * config/v850/v850.c (asm_file_start): Delete.
3983         (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
3984         * config/vax/vax.c (vax_file_start): New static function.
3985         (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_APP_OFF): Set.
3986
3987         * config/darwin.h: Override ASM_FILE_START_FILE_DIRECTIVE to false.
3988         * config/elfos.h, config/svr3.h, config/arm/elf.h, config/arm/pe.h
3989         * config/i386/att.h, config/i386/gas.h, config/i386/linux.h
3990         * config/i386/sysv4.h, config/i386/sco5.h, config/i960/i960-coff.h
3991         * config/m68k/coff.h, config/m68k/hp320.h, config/mcore/mcore-pe.h
3992         * config/vax/vaxv.h: Set ASM_FILE_START_FILE_DIRECTIVE to true.
3993
3994         * config/darwin.h, config/elfos.h, config/alpha/elf.h
3995         * config/alpha/openbsd.h, config/alpha/osf.h, config/alpha/vms.h
3996         * config/arc/arc.h, config/arm/aof.h, config/arm/aout.h
3997         * config/arm/coff.h, config/arm/elf.h, config/arm/pe.h
3998         * config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h
3999         * config/dsp16xx/dsp16xx.h, config/h8300/elf.h, config/h8300/h8300.h
4000         * config/i370/i370.h, config/i386/att.h, config/i386/gas.h
4001         * config/i386/i386-interix.h, config/i386/linux.h, config/i386/sysv4.h
4002         * config/i386/sco5.h, config/i960/i960-coff.h, config/i960/i960.h
4003         * config/ia64/ia64.h, config/ia64/sysv4.h, config/m32r/m32r.h
4004         * config/m68hc11/m68hc11.h, config/m68k/coff.h, config/m68k/m68k.h
4005         * config/mcore/mcore-pe.h, config/mips/iris6.h, config/mips/mips.h
4006         * config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h
4007         * config/pa/elf.h, config/pa/pa-linux.h, config/pa/pa64-hpux.h
4008         * config/pa/som.h, config/pdp11/pdp11.h, config/rs6000/linux64.h
4009         * config/rs6000/lynx.h, config/rs6000/xcoff.h, config/sh/elf.h
4010         * config/sh/sh.h, config/sparc/sparc.h, config/v850/v850.h
4011         * config/vax/vax.h, config/vax/vaxv.h: Don't (re)define ASM_FILE_START.
4012
4013         * config/alpha/alpha-protos.h, config/arc/arc-protos.h
4014         * config/avr/avr-protos.h, config/dsp16xx/dsp16xx-protos.h
4015         * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
4016         * config/m32r/m32r-protos.h, config/m68hc11/m68hc11-protos.h
4017         * config/mips/mips-protos.h, config/mmix/mmix-protos.h
4018         * config/mn10300/mn10300-protos.h, config/rs6000/rs6000-protos.h
4019         * config/sh/sh-protos.h, config/v850/v850-protos.h: Update.
4020
4021         * xcoffout.h, config/rs6000/aix.h, config/rs6000/xcoff.h:
4022         Remove reference to ASM_FILE_START in comment.
4023         * config/arm/aof.h, config/arm/aout.h, config/arm/freebsd.h
4024         * config/arm/linux-gas.h, config/arm/netbsd-elf.h
4025         * config/arm/netbsd.h: Delete definition of ARM_OS_NAME.
4026
4027 2003-06-19  Graeme Peterson <gp@qnx.com>
4028
4029         * gcc.c (target_sysroot_suffix, target_sysroot_hdrs_suffix,
4030         SYSROOT_SUFFIX_SPEC,