OSDN Git Service

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