OSDN Git Service

72abddbbb1a6b5ab128410b754729dfc84e05d17
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2004-01-16  Andrew Pinski  <pinskia@physics.uc.edu>
2
3         * config/sh/sh.c: Include ggc.h.
4
5 2004-01-16  Geoffrey Keating  <geoffk@apple.com>
6
7         * Makefile.in (MD5_H): New.
8         (fold-const.o): Depend on md5.h.
9         (dwarf2out.o): Likewise.
10         (cppfiles.o): Likewise.
11         * cppfiles.c: Include md5.h.
12         (should_stack_file): Check against list read from PCH file.
13         (struct pchf_data): New.
14         (pchf): New variable.
15         (struct pchf_adder_info): New.
16         (pchf_adder): New.
17         (pchf_save_compare): New.
18         (_cpp_save_file_entries): New.
19         (_cpp_read_file_entries): New.
20         (struct pchf_compare_data): New.
21         (pchf_compare): New.
22         (check_file_against_entries): New.
23         * cpphash.h (_cpp_save_file_entries): Prototype.
24         (_cpp_read_file_entries): Prototype.
25         * cpppch.c (cpp_write_pch_state): Write the list of headers.
26         (cpp_read_state): Read the list of headers.
27
28 2004-01-17  Jan Hubicka  <jh@suse.cz>
29
30         * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
31         builtin_expect specially.
32         * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
33         (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
34         * invoke.texi (max-inline-insns-single): Set to 100.
35         (large-function-insns): Set to 3000.
36
37 2004-01-16  Eric Christopher  <echristo@redhat.com>
38             Chandrakala Chavva <cchavva@redhat.com>
39
40         * cppcharset.c (one_iso88591_to_utf8): New function.
41         (convert_iso88591_utf8): Ditto. Use.
42         (conversion_tab): Use.
43         (_cpp_input_to_utf8): New function.
44         (_cpp_init_iconv_buffer): Ditto.
45         (_cpp_close_iconv_buffer): Ditto.
46         * cpphash.h: Prototype new functions.
47         (cpp_buffer): Add input_cset_desc.
48         * cppinit.c: Add input_charset default.
49         * cpplib.c (cpp_push_buffer): Support init and
50         close of iconv.
51         * cpplib.h (cpp_options): Add input_charset.
52
53 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
54
55         * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
56         * config/alpha/unicosmk.h: Remove a commented-out definition
57         of ASM_OUTPUT_SECTION_NAME.
58         * config/stormy16/stormy16.h: Likewise.
59
60 2004-01-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
61
62         * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
63         (alpha___extern_prefix_sys_stat): ... this.
64         Apply to <sys/mount.h>, too.
65         Tweak to match more variations.
66         * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
67
68         * fixinc/inclhack.def (alpha___extern_prefix,
69         alpha___extern_prefix_standards): New hacks to obey
70         __PRAGMA_EXTERN_PREFIX.
71         * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
72         test.
73         * fixinc/tests/base/standards.h: Likewise.
74
75         * fixincl/inclhack.def (alpha_pthread): Tweak to match more
76         variations.
77         New testcase.
78         * fixinc/tests/base/pthread.h: Handle it.
79
80         * fixincl/inclhack.def (bad_lval): Sort file list.
81         Add many missing files up to Tru64 UNIX V5.1B.
82         * gcc/fixinc/tests/base/libgen.h: Renamed to ...
83         * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
84         order.
85
86         * fixinc/fixincl.x: Regenerate.
87
88 2004-01-16  Mark Mitchell  <mark@codesourcery.com>
89
90         * version.c (version_string): Change to 3.5.0.
91         * doc/include/gcc-common.texi (version-GCC): Likewise.
92
93 2004-01-16  Jan Hubicka  <jh@suse.cz>
94
95         * i386.md (load_tp_di): Fix pasto.
96
97         PR opt/13608
98         * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
99
100         * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
101         pp_c_character_constant, pp_c_floating_constant,
102         pp_c_additive_expression, pp_c_shift_expression,
103         pp_c_equality_expression, pp_c_and_expression,
104         pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
105         pp_c_logical_and_expression): Remove inline modifier.
106         * dwarf2out.c (get_AT): Likewise.
107         * et-forest.c (et_splay): Likewise.
108         * ra.h (ra_alloc, ra_calloc): Likewise
109
110 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
111
112         * config/frv/frv-protos.h: Fix comment formatting.
113         * config/frv/frv.c: Likewise.
114         * config/frv/frv.h: Likewise.
115         * config/frv/frv.md: Likewise.
116         * config/frv/frvbegin.c: Likewise.
117         * config/frv/frvend.c: Likewise.
118
119 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
120
121         * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
122         * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
123         LINKER_DOES_NOT_WORK_WITH_DWARF2.
124         (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
125
126 2004-01-16  J"orn Rennecke <joern.rennecke@superh.com>
127
128         PR 11864
129         * postreload.c (reload_cse_simplify_operands): Don't remove
130         implicit extension from LOAD_EXTEND_OP.
131
132 2004-01-16  Jan Hubicka  <jh@suse.cz>
133
134         PR opt/11350
135         * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
136         after reload.
137         * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
138         rtl_try_redirect_by_replacing_branch): Likewise.
139
140 2004-01-15  Geoffrey Keating  <geoffk@apple.com>
141
142         PR pch/13689
143         * alias.c (struct alias_set_entry): Mark for GC.
144         (alias_sets): Make static, mark for GC.
145         (record_alias_subset): Use GC to allocate alias structures.
146         * varray.c (element): Make generic varrays GCed.
147
148         PR pch/13361
149         * c-typeck.c (constructor_asmspec): Delete.
150         (struct initializer_stack): Delete field 'asmspec'.
151         (start_init): Delete saving of asmspec.
152         (finish_init): Don't update constructor_asmspec.
153         * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
154         * stmt.c (expand_asm): Duplicate strings from tree.
155         (expand_asm_operands): Likewise.
156         * tree.c (tree_size): Update computation of size of STRING_CST.
157         (make_node): Don't make STRING_CST nodes.
158         (build_string): Allocate string with tree node.
159         * tree.def (STRING_CST): Update comment.
160         * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
161         (tree_string): Place contents of string in tree node.
162         * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
163         from tree.
164
165         * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
166         altivec operands.
167
168 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
169
170         * c-common.h: Fix comment formatting.
171         * c-cppbuiltin.c: Likewise.
172         * c-pragma.c: Likewise.
173         * calls.c: Likewise.
174         * collect2.c: Likewise.
175         * cppcharset.c: Likewise.
176         * cpptrad.c: Likewise.
177         * dbxout.c: Likewise.
178         * defaults.h: Likewise.
179         * dwarf2out.c: Likewise.
180         * fold-const.c: Likewise.
181         * genautomata.c: Likewise.
182         * genconditions.c: Likewise.
183         * genflags.c: Likewise.
184         * gengtype.c: Likewise.
185         * integrate.c: Likewise.
186         * loop.c: Likewise.
187         * predict.c: Likewise.
188         * sdbout.c: Likewise.
189
190 2004-01-15  Zack Weinberg  <zack@codesourcery.com>
191
192         * config/ia64/ia64.md (*movti_internal): C output template
193         extracted to ia64.c.
194         (*movti_internal_reg): Delete.
195         (reload_inti, reload_outti): Use the correct mode on operand 2
196         in the first place, don't fix it up in the output template.
197         (movtf, reload_ointf, reload_outtf): New expanders.
198         (*movtf_internal): New define_insn_and_split.
199         * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
200         make static; do not hand TFmode CONST_DOUBLEs to split_double.
201         (ia64_split_tmode_move): New function, body mostly pulled
202         from ia64.md:*movti_internal.
203         (ia64_function_arg_words): New function, extracted common
204         logic from ia64_function_arg et seq.
205         (ia64_function_arg_offset): Likewise.  Handle correctly the
206         case of a scalar quantity 16 bytes wide with only 8-byte alignment.
207         (ia64_function_arg, ia64_function_arg_partial_nregs)
208         (ia64_function_arg_advance): Use ia64_function_arg_words and
209         ia64_function_arg_offset.
210         (ia64_function_value): TCmode does not go in float regs.
211         (ia64_secondary_reload_class): Also handle TFmode.
212         * config/ia64/ia64-protos.h: Remove prototype for
213         ia64_split_timode; add prototype for ia64_split_tmode_move.
214
215 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
216
217         * Makefile.in (MAINT): Make it an immediate assignment.
218
219 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
220
221         * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
222
223 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
224
225         * config/h8300/coff.h: Replace Hitachi with Renesas.
226         * config/h8300/elf.h: Likewise.
227         * config/h8300/h8300-protos.h: Likewise.
228         * config/h8300/h8300.c: Likewise.
229         * config/h8300/h8300.h: Likewise.
230         * config/h8300/h8300.md: Likewise.
231         * config/h8300/lib1funcs.asm: Likewise.
232
233 2004-01-15  Andrew Pinski  <apinski@apple.com>
234
235         * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
236         around it.
237
238 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
239
240         * config/h8300/h8300.c (h8300_return_in_memory): New.
241         (TARGET_STRUCT_VALUE_RTX): Likewise.
242         (TARGET_RETURN_IN_MEMORY): Likewise.
243         * config/h8300/h8300.h (STRUCT_VALUE): Remove.
244         (RETURN_IN_MEMORY): Likewise.
245
246 2004-01-15  Richard Earnshaw  <rearnsha@arm.com>
247
248         PR optimization/13375
249         * gcse.c (handle_avail_expr): Just return if the source is not a
250         single set.
251
252 2004-01-15  Richard Earnshaw  <rearnsha@arm.com>
253             Daniel Jacobowitz  <drow@mvista.com>
254
255         * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
256         (EQUIV): Define.
257         (ARM_FUNC_ALIAS): New macro.
258         * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
259         * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
260
261 2004-01-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
262
263         PR optimization/12372
264         * calls.c (expand_call): Add call_fusage data for stack arguments in
265         constant calls.
266
267 2004-01-15  Alan Modra  <amodra@bigpond.net.au>
268
269         * config/rs6000/rs6000.c (uses_TOC): Correct comment.  Make static.
270         (rs6000_elf_declare_function_name): Formatting.
271         * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
272
273 2004-01-15  Jan Hubicka  <jh@suse.cz>
274
275         PR bootstrap/13692
276         * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
277         previous patch.
278
279 2004-01-15  Richard Henderson  <rth@redhat.com>
280
281         * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
282         integer regs of the same call-savedness.
283
284 2004-01-15  Andreas Schwab  <schwab@suse.de>
285
286         PR bootstrap/13562
287         * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
288         status for NOTB/NOTW/NEGW methods.
289
290 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
291
292         * doc/invoke.texi: Update dump file names.  Fix a typo.
293
294 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
295
296         * builtins.c (expand_builtin_va_end): Don't use
297         EXPAND_BUILTIN_VA_END.
298         * system.h (EXPAND_BUILTIN_VA_END): Poison.
299         * config/d30v/d30v.h: Remove a commented-out definition of
300         EXPAND_BUILTIN_VA_END.
301         * config/stormy16/stormy16.h: Likewise.
302
303 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
304
305         * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
306         * targhooks.c (default_struct_value_rtx): Don't use
307         STRUCT_VALUE_INCOMING_REGNUM.
308
309 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
310
311         PR bootstrap/12744
312         * configure.in: Revamp enable-generated-files-in-srcdir rule to define
313         GENINSRC and not parsedir.  Define srcextra as a langhook.
314         * configure: Regenerate.
315         * Makefile.in: Suppress default .l.c rule.  Don't substitute
316         parsedir and delete all references throughout.  Conditionally define
317         rule for srcextra dependent on GENINSRC.
318         (stmp-docobjdir): Delete.
319         (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
320         (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
321         and gengtype-yacc.h back to source directory.
322         (maintainer-clean): Delete all parse files in source directory.
323         (distclean): Delete generated files.
324
325         * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
326         (objc-parse.c, objc-parse.y): Don't use parsedir.
327         (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
328         directory if requested.
329         (po-generated): Don't use parsedir.
330         (objc.maintainer-clean): Delete above files from source directory.
331
332 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
333
334         * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
335
336 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
337
338         * doc/tm.texi: Replace RETURN_IN_MEMORY with
339         TARGET_RETURN_IN_MEMORY.
340
341 2004-01-15  Jan Hubicka  <jh@suse.cz>
342
343         * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
344         * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
345         functions accepting SSE arguments
346         (function_arg): Warn only when asked to warn.
347         * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
348
349 2004-01-14  Joseph S. Myers  <jsm@polyomino.org.uk>
350
351         * c-parse.in (stmts_and_decls): Make label at end of compound
352         statement a hard error.
353
354 2004-01-14  Jan Hubicka  <jh@suse.cz>
355
356         * cgraph.c (create_edge): Use local.redefined_extern_inline.
357         * cgraph.h (cgraph_local_info): Sort fields by size; add
358         redefined_extern_inline
359         (cgraph_global_info): Sort fields by size.
360         (cgraph_node): Likewise.
361         * cgraphunit.c (cgraph_finalize_function): Se
362         local.redefined_extern_inline on redefinition.
363         (cgraph_analyze_function): Use it; fix formating.
364
365 2004-01-14  Jan Hubicka  <jh@suse.cz>
366
367         PR c++/10776
368         * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
369         outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
370         bitmaps
371         (cache_size): New variable
372         (add_dependence): Update use; canonize early memory locations
373         (sched_analyze_1): Likewise.
374         (sched_analyze_2): Likewise.
375         (init_dependency_caches): Initialize bitmaps.
376         (free_dependency_caches): Free bitmaps
377
378 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
379
380         * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
381         targetm.calls.strict_argument_naming().
382         * target.h: Likewise.
383
384 2004-01-14  Richard Henderson  <rth@redhat.com>
385
386         PR debug/13231
387         * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
388         instructions.
389
390 2004-01-14  Richard Henderson  <rth@redhat.com>
391
392         PR c++/12491
393         * except.c (struct eh_region): Add u.fixup.resolved.
394         (resolve_one_fixup_region): Split out from ...
395         (resolve_fixup_regions): ... here.
396
397 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
398
399         * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
400
401 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
402
403         * config/alpha/alpha.h (STRUCT_VALUE): Remove.
404         * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
405         (STRUCT_VALUE): Remove.
406
407 2003-01-14  Steven Bosscher  <stevenb@suse.de>
408
409         * system.h: Poison PROMOTED_MODE
410         * integrate.c (expand_inline_function): Don't mention the
411         PROMOTED_MODE.
412         * loop.c (update_giv_derive): Same.
413         * tree.h (DECL_RTL): Same.
414
415 2004-01-14  J"orn Rennecke <joern.rennecke@superh.com>
416
417         PR target/9365
418         * sh.c (gen_block_redirect): Add special handling of RETURN.
419         (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
420         far branch target (i.e. it's a return).
421
422 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
423
424         * regrename.c (find_oldest_value_reg): Fix a warning.
425
426 2004-01-14  Richard Earnshaw  <rearnsha@arm.com>
427
428         PR bootstrap/12527
429         * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
430         Move linux-gas.h and linux-elf.h before aout.h.
431         * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
432         * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
433
434 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
435
436         * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
437         (CONST_INT, VOIDmode, ...).
438
439 2004-01-14  Richard Earnshaw  <rearnsha@arm.com>
440
441         * regrename.c (find_oldest_value_reg): If the replacement uses
442         multiple hard registers, check that all of them are in CLASS.
443
444 2004-01-14  Jan Hubicka  <jh@suse.cz>
445
446         * alias.c (get_alias_set):  Initialize alias set to 0 when subset is
447         impossible.
448
449 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
450
451         * Makefile.in: Define MAINT from --enable-maintainer-mode.
452
453 2004-01-14  Hartmut Penner  <hpenner@de.ibm.com>
454
455         * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
456         Calculate always vrsave_mask if TARGET_ALTIVEC.
457         (rs6000_emit_prologue): Emit code for vrsave
458         only if TARGET_ALTIVEC_VRSAVE.
459         (rs6000_emit_epilogue): Likewise.
460
461 2004-01-14  Eric Botcazou  <ebotcazou@libertysurf.fr>
462
463         * config/sparc/sparc.md (tie_add32): Fix pasto.
464         (tie_add64): Likewise.
465
466 2004-01-14  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
467
468         * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
469
470 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
471
472         * config/iq2000/iq2000-protos.h: Fix comment formatting.
473         * config/iq2000/iq2000.c: Likewise.
474         * config/iq2000/iq2000.md: Likewise.
475
476 2004-01-14  J. Brobecker  <brobecker@gnat.com>
477
478         * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
479         (subrange_type_die): Add handle for nameless subrange types.
480
481 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
482
483         * config/h8300/h8300-protos.h: Replace do_movsi with
484         h8300_expand_movsi.
485         * config/h8300/h8300.c (do_movsi): Change to
486         h8300_expand_movsi.
487         * config/h8300/h8300.md (movsi): Replace do_movsi with
488         h8300_expand_movsi.
489         (movsf): Likewise.
490
491 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
492
493         * config/h8300/h8300.c (dosize): Change to
494         h8300_emit_stack_adjustment.  Update callers.
495
496 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
497
498         * config/h8300/h8300.md (movstrictqi): Add an alternative with
499         the source being post_inc.  Tighten the predicate for the
500         destination to register_operand.
501         (movstricthi): Likewise.
502
503 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
504
505         * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
506         * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
507         * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
508
509 2004-01-14  Jan Hubicka  <jh@suse.cz>
510
511         Partial fix PR c++/12850
512         * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
513         at zero nest level.
514
515 2004-01-13  Bernardo Innocenti  <bernie@develer.com>
516
517         * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
518         pseudo-register.
519
520 2004-01-13  Devang Patel <dpatel@apple.com
521
522         PR debug/7078
523         * dbxout.c (dbxout_symbol_name): Emit mangled names for
524         NAMESPACE_DECL memebers.
525
526 2004-01-13  Andrew Pinski  <pinskia@physics.uc.edu>
527
528         PR c++/12709
529         * c-common.c (finish_fname_decls): Use the chain only if the
530         tree is an expr_stmt.
531
532 2004-01-13  Vladimir Makarov  <vmakarov@redhat.com>
533
534         * rtl.def: Add comment about new option in automata_option.
535
536         * genautomata.c (PROGRESS_OPTION): New macro.
537         (progress_flag): New global variable.
538         (gen_automata_option): Process `progress'.
539         (transform_insn_regexps, check_unit_distributions_to_automata,
540         make_automaton, NDFA_to_DFA, build_automaton, create_automata,
541         expand_automata, write_automata): Print about the progress only if
542         progress_flag.  Remove fflush.
543         (initiate_automaton_gen): Process command line flag `-progress'.
544
545         * doc/md.texi: Describe the new option.
546
547 2004-01-13  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
548
549         * cfg.c (dump_bb): Dump entry edges.
550
551 2004-01-13  Richard Earnshaw  <rearnsha@arm.com>
552
553         * arm.c (thumb_legitimate_address_p): Only allow constant pool
554         references from SImode.
555         * arm.md (thumb_movhi_insn): Don't allow minipool references.
556
557 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
558
559         * system.h (TEXT_SECTION): Poison.
560         * varasm.c (text_section): Don't use TEXT_SECTION.
561         * config/sh/sh.c (sh_file_start): Fix a comment typo.
562         * doc/tm.texi (TEXT_SECTION): Remove.
563
564 2004-01-13  Ben Elliston  <bje@wasabisystems.com>
565
566         * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
567
568 2004-01-12  James E Wilson  <wilson@specifixinc.com>
569
570         * unwind-libunwind.c: Delete.
571
572 2004-01-12  Zack Weinberg  <zack@codesourcery.com>
573
574         PR 13656
575         * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
576         oldtype is set, set *newtypep or *oldtypep too.  Do not set
577         them at the very end.
578         (validate_proto_after_old_defn): Restructure for comprehensibility;
579         make error messages clearer.
580
581 2004-01-12  Zack Weinberg  <zack@codesourcery.com>
582
583         * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
584         (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
585         * varray.c: No need to prototype error.
586         (varray_check_failed): Wrap long string onto two lines.
587         (varray_underflow): New function.
588
589 2004-01-13  Steven Bosscher  <stevenb@suse.de>
590
591         PR c++/13376
592         * function.h (struct function): Kill `name' field.
593         (current_function_name): Make it an extern function.
594         * function.c (current_function_name): New function.
595         * graph.c: Update all uses of current_function_name.
596         * gcse.c: Likewise.
597         * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
598         config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
599         * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
600         instead of a strcmp with "main".
601
602 2004-01-13  Jan Hubicka  <jh@suse.cz>
603
604         * c-decl.c (diagnose_mismatched_decls):  Fix warning calls.
605
606         * cgraphunit.c (cgraph_optimize_function):  Always do
607         optimize_inline_calls when there is always_inline callee.
608         (cgraph_decide_inlining): Fix formating.
609         * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
610         functions.
611         (expand_call_inline): Likewise.
612         * toplev.h (sorry): Fix prototype.
613
614 2004-01-12  Roger Sayle  <roger@eyesopen.com>
615
616         * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
617         conditional jumps that drop through to unconditional jumps or the
618         end of the sequence.
619
620 2004-01-13  Jan Hubicka  <jh@suse.cz>
621
622         * alias.c (new_alias_set): Construct the alias_set varray.
623         (init_alias_once): Don't do it here.
624
625 2004-01-12  Marc Espie <espie@openbsd.org>
626
627         * system.h: handle YYBYACC like YYBISON.
628
629 2004-01-12  Jonathan Merriman <jonm@dualitymedia.com>
630
631         PR target/10847
632         * config.gcc: No longer includes conflicting header sparc/sol2.h when
633         building on sparc64-*-openbsd*.
634
635 2004-01-12  Andrew Pinski  <pinskia@physics.uc.edu>
636
637         PR debug/13539
638         * dbxout.c (dbxout_type): Protected inheritance is not
639         private but protected.
640
641 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
642
643         * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
644
645 2004-01-12  Kazu Hirata  <kazu@cs.umass.edu>
646
647         PR optimization/12508.
648         * combine.c (try_combine): Remove a dead set in a parallel
649         even if its destination is a subreg.
650
651         Revert:
652         2003-06-03  Kazu Hirata  <kazu@cs.umass.edu>
653         * combine.c (simplify_set): Don't move a subreg in SET_SRC to
654         SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
655
656 2004-01-12  Geoffrey Keating  <geoffk@apple.com>
657
658         * real.c: Update copyright date.
659         * emit-rtl.c: Likewise.
660         * rtl.h: Likewise.
661         * dwarf2out.c: Likewise.
662         * config/rs6000/darwin-ldouble.c: Likewise.
663         * config/rs6000/rs6000.md: Likewise.
664
665 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
666
667         * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
668         TFmode to SImode libfuncs.
669
670 2004-01-12  Roger Sayle  <roger@eyesopen.com>
671
672         PR middle-end/11397
673         * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
674
675 2004-01-12  Jan Hubicka  <jh@suse.cz>
676
677         PR opt/12826
678         * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
679         stored.
680
681         PR opt/12863
682         * cfgcleanup.c (label_is_jump_target_p): Move to...
683         * rtlanal.c (label_is_jump_target_p): ... here.
684         * cfgrtl.c (cfg_layout_redirect_edge_and_branch):  Fix redirecting of fallthru
685         edges unified with branch edges.
686
687 2004-01-12  Richard Earnshaw  <rearnsha@arm.com>
688
689         * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
690         high word of an integral CONST_DOUBLE.
691
692 2004-01-12  Paul Brook  <paul@codesourcery.com>
693
694         * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
695
696 2004-01-12  J"orn Rennecke <joern.rennecke@superh.com>
697
698         PR target/13585
699         * sh-protos.h (check_use_sfunc_addr): Declare.
700         * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
701         * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
702
703 2004-01-12  Jan Hubicka  <jh@suse.cz>
704
705         * alias.c:  Invlude varray.h
706         (alias_sets): Turn into varray.
707         (get_alias_set_entry): Use VARRAY; mark inline.
708         (mems_in_disjoint_alias_sets_p): Mark inline.
709         (record_alias_subset): Use varray.
710         (init_alias_once): Initialize varray.
711         (new_alias_set): Grow array.
712         * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
713
714 2004-01-12  Jan Hubicka  <jh@suse.cz>
715
716         Partial fix for PR opt/10776 II
717         * cselib.c: Include params.h
718         (cselib_invalidate_mem):  Limit amount of nonconflicting memory
719         locations.
720         * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
721         * Makefile.in (cselib.o): Depend on params.h
722
723 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
724
725         * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
726         simplify_unary_operation if the operand has a known mode.
727
728 2004-01-12  Hartmut Penner  <hpenner@de.ibm.com>
729
730         PR target/13534
731         * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
732         predicate to handle 'ld' conform addresses.
733         * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
734         contraint.
735         (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
736         are memory contraints.
737         * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
738         New prototype.
739         * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
740         Change 'o' to 'Y' constraint.
741         (*movdf_softfloat64): Ditto.
742
743 2004-01-12  Bernardo Innocenti  <bernie@develer.com>
744
745         * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
746         brace-enclosed syntax in all C output statements.
747
748 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
749
750         PR target/13401
751         * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
752         Objective-C language type value is 14.
753
754 2004-01-12  Markus F.X.J. Oberhumer  <markus@oberhumer.com>
755
756         PR c/12148
757         * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
758         `int' in a number of places to make sure we always have a SImode
759         and not a HImode.  Add a 'L' suffix to a number of constants.
760
761 2004-01-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
762
763         * pa.c: Don't include obstack.h.
764
765         * pa.md: Correct constraint in pattern for loading PIC label address.
766
767 2004-01-11  Kaz Kojima  <kkojima@gcc.gnu.org>
768
769         * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
770          before defining.
771
772 2004-01-11  Steven Bosscher  <stevenb@suse.de>
773
774         PR fortran/9972
775         * toplev.c (rest_of_handle_inline): Also consider functions
776         for deferral if the language is GNU F77.
777
778 2004-01-11  Zack Weinberg  <zack@codesourcery.com>
779
780         * c-decl.c (diagnose_arglist_conflict): Add missing space to
781         diagnostic messages.
782
783 2004-01-11  Jakub Jelinek  <jakub@redhat.com>
784
785         PR middle-end/13392
786         * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
787         to drop through label.  Don't fall back to SCC even when conditional
788         jump has not been found.
789
790 2004-01-11  Jan Hubicka  <jh@suse.cz>
791
792         * invoke.texi: Fix syntax error in previous patch.
793
794         Partial fix for PR opt/10776
795         * Makefile.in (reload.o): Include param.h
796         * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
797         * reload.c: Include params.h.
798         (find_equiv_reg): Work limiting check.
799         * invoke.texi: Document.
800
801 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
802
803         * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
804         out-of-bounds accesses to string constants.  Simplify mips16
805         case accordingly.
806
807 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
808
809         PR optimization/13469
810         * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
811         reload_cse_regs (-fnon-call-exceptions only).
812
813 2004-01-11  Kazu Hirata  <kazu@cs.umass.edu>
814
815         * config/mcore/lib1.asm: Fix comment formatting.
816         * config/mcore/mcore-elf.h: Likewise.
817         * config/mcore/mcore.c: Likewise.
818         * config/mcore/mcore.h: Likewise.
819         * config/mcore/mcore.md: Likewise.
820
821 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
822
823         * c-decl.c (duplicate_decls): Break apart into...
824         (diagnose_arglist_conflict, validate_proto_after_old_defn)
825         (locate_old_defn, diagnose_mismatched_decls, merge_decls):
826         ... these new functions.  Restructure for comprehensibility.
827         Remove various archaic special cases.  Always report the
828         location of the previous declaration when a diagnostic is issued.
829         (redeclaration_error_message): Fold into diagnose_mismatched_decls.
830         (match_builtin_function_types): Delete unnecessary forward declaration.
831
832 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
833
834         * genautomata.c (make_automaton, NDFA_to_DFA):
835         Print progress bars with '.' characters instead of '*'.
836         (build_automaton): Change notes to match.
837
838 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
839
840         * config/m32r/m32r.md: Use define_constants for unspec and
841         unspec_volatile.
842
843 2004-01-10  Jan Hubicka  <jh@suse.cz>
844
845         PR opt/11635
846         * expr.c (expand_expr_real):  More curefully expand union casts.
847
848 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
849
850         * config/m32r/m32r.md (flush_icache): Use 1 for
851         unspec_volatile.
852
853 2004-01-10  David Edelsohn  <edelsohn@gnu.org>
854             James E Wilson  <wilson@specifixinc.com>
855
856         PR debug/12860
857         * dbxout.c (dbxout_symbol): Remove initialization of
858         current_sym_code, current_sym_value, and current_sym_addr.
859         (dbxout_symbol_location): Same.
860         (dbxout_prepare_symbol): Zero current_sym_code,
861         current_sym_value, and current_sym_addr.
862
863 2004-01-10  Richard Sandiford  <rsandifo@redhat.com>
864
865         * tree.c (get_unwidened): Reorder conditions so that the null pointer
866         check is done first.
867
868 2004-01-09  Eric Christopher  <echristo@redhat.com>
869
870         * toplev.c (rest_of_handle_cfg): Add reg_scan pass
871         if we're running mark_constant_function.
872
873 2004-01-09  Jeff Bailey  <jbailey@nisa.net>
874
875         PR target/12561
876         * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
877
878 2004-01-09  Andrew Pinski <pinskia@physics.uc.edu>
879
880         PR debug/11231
881         * dbxout.c (dbxout_type_fields): Return if any item is
882         error_mark_node or the type is error_mark_node.
883
884 2004-01-09  Geoffrey Keating  <geoffk@apple.com>
885
886         * config/rs6000/darwin-ldouble.c: Add big comment explaining
887         exactly what is expected as a 'long double'.
888         (_xlqadd): When a value to be returned is representable as a
889         'double', just return it directly, do not construct it using a union.
890         Also, correct final fixup.
891         (_xlqmul): Likewise.
892         (_xlqdiv): Likewise.
893         * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
894
895         * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
896
897 2004-01-09  Richard Henderson  <rth@redhat.com>
898
899         * recog.c (constrain_operands): Validate mem operands.
900
901 2004-01-09   James E Wilson  <wilson@specifixinc.com>
902
903         * gcc.c (init_spec): Remove -lunwind from shared case.
904         * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
905
906 2004-01-09  Steve Ellcey  <sje@cup.hp.com>
907
908         * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
909         * configure: Regenerate
910
911 2004-01-09  Joseph S. Myers  <jsm@polyomino.org.uk>
912
913         PR c/11234
914         * c-typeck.c (build_c_cast): If pedantic, warn for conversions
915         between function and object pointers.
916         (digest_init): When comparing a pointer to function type to the
917         target type, only apply TREE_TYPE once to the pointer to function
918         type.
919         * except.c (for_each_eh_label_1): Treat data as a pointer to a
920         function pointer rather than casting it to a function pointer.
921         (for_each_eh_label): Update caller.
922         * recog.h (struct insn_data): Use a struct or union for output.
923         * genoutput.c (output_insn_data): Update.
924         * final.c (get_insn_template): Update.
925
926 2004-01-09  Mark Mitchell  <mark@codesourcery.com>
927
928         * expr.h (expand_expr): Make it a macro, not a function.
929         (expand_expr_real): New function.
930         * expr.c (store_expr): Adjust logic for deciding whether or not to
931         copy the value returned by expand_expr.
932         (expand_expr): Rename to ...
933         (expand_expr_real): ... this.  Add alt_rtl parameter.  Adjust
934         calls to language hooks.
935         * c-common.h (c_expand_expr): Adjust prototype.
936         * c-common.c (c_expand_expr): Add alt_rtl parameter.
937         * langhooks-def.h (lhd_expand_expr): Change prototype.
938         * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
939         * langhooks.h (lang_hooks): Change type of expand_expr.
940         * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
941         (last_expr_alt_rtl): Likewise.
942         (expand_expr_stmt_value): Set last_expr_alt_rtl.
943         (clear_last_expr): Clear it.
944         (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
945         (expand_end_bindings): Save and restor last_expr_alt_rtl.
946         * tree.def (RTL_EXPR): Give it an additional operand.
947         * tree.h (RTL_EXPR_ALT_RTL): New macro.
948
949 2004-01-09  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
950
951         * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
952         * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
953
954 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
955
956         PR target/13380.
957         * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
958         or (ne:SI (reg:CC 17) (const_int 0)).
959         Be specific about modes wherever possible.
960
961 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
962
963         * config/m32r/m32r.c (m32r_expand_block_move): Call
964         gen_movestrsi_internal with two more arguments.
965         (m32r_output_block_move): Adjust operand numbers.
966         Properly update the source and destination pointers.
967         * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
968         'r+'.  Change the set detinations to match_operand.
969
970 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
971
972         * final.c (FIRST_INSN_ADDRESS): Remove.
973         (shorten_branches): Don't use FIRST_INSN_ADDRESS.
974         * system.h (FIRST_INSN_ADDRESS): Poison.
975         * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
976         * config/m32r/m32r-protos.h: Remove the prototype for
977         m32r_first_insn_address.
978         * config/m32r/m32r.c (m32r_first_insn_address): Remove.
979         * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
980         * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
981
982 2004-01-09  J. Brobecker  <brobecker@gnat.com>
983
984         * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
985         we just created.
986         (is_ada_subrange_type): DIEs for enumeration subtypes should be
987         emitted as subrange types too.
988         (subrange_type_die): Add handling of enumeration subtypes.
989
990 2004-01-08  Richard Henderson  <rth@redhat.com>
991
992         PR opt/12441
993         Revert: Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
994         * i386.c (aligned_operand): Be prepared for SUBREGed registers.
995         (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
996         (ix86_address_cost): Be prepared for SUBREGed registers.
997         (legitimate_address_p): Accept SUBREGed registers.
998
999 2004-01-08  Kelley Cook  <kcook@gcc.gnu.org>
1000
1001         * Makefile.in: Rename configure.in to configure.ac
1002         * doc/sourcebuild.texi: Likewise.
1003         * configure: Regenerate.
1004         * config.in: Regenerate.
1005
1006 2004-01-08  Stuart Hastings  <stuart@apple.com>
1007
1008         * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
1009
1010 2004-01-08  Jan Hubicka  <jh@suse.cz>
1011
1012         * cgraphunit.c (cgraph_decide_inlining):  Fix typo.
1013
1014 2004-01-08  Geoffrey Keating  <geoffk@apple.com>
1015
1016         * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
1017         (UNSPEC_FIX_TRUNC_TF): New constant.
1018         (movtf_internal): Make splitter active only when insn is active.
1019         (extenddftf2): Rewrite to properly load zero into low part.
1020         (extenddftf2_internal): New.
1021         (extendsftf2): Rewrite.
1022         (truncdftf2): Correct length.
1023         (floatditf2): Delete.
1024         (fix_trunc_helper): New.
1025         (fix_trunctfdi2): Use fix_trunc_helper.
1026         (fix_trunctfsi2): Likewise.fix_trunc
1027         (fix_trunctfsi2_internal): New.
1028
1029         * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
1030         addresses are legitimate on Darwin even when flag_pic.
1031         (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
1032         non-offsettable addresses for loads of TFmode constants.
1033
1034 2004-01-08  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1035
1036         * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
1037         variables in the appropriate bss section.
1038
1039 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
1040
1041         * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
1042         target_flags has MASK_POWERPC64 when -m64.
1043         * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
1044         to 620, 630, power3, power4 and rs64a entries.
1045         * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
1046
1047 2004-01-08  Richard Sandiford  <rsandifo@redhat.com>
1048
1049         * simplify-rtx.c (simplify_immed_subreg): Fix construction of
1050         floating-point constants.
1051
1052 2004-01-08  J. Brobecker  <brobecker@gnat.com>
1053
1054         * dwarf2out.c (subrange_type_die): Add context_die parameter.
1055         Create the subrange_type DIE using the given context DIE.
1056         (modified_type_die): Update call to subrange_type_die.
1057
1058 2004-01-08  Zack Weinberg  <zack@codesourcery.com>
1059
1060         * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
1061         Add multiple-include guard.
1062
1063 2004-01-08  Hartmut Penner  <hpenner@de.ibm.com>
1064
1065         * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
1066         all vector constant loadable by vsplt*.
1067         (output_vec_const_move): Likewise.
1068
1069 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
1070
1071         PR c/6024
1072         * c-typeck.c (comptypes): Only treat enumerated types in the same
1073         translation unit as compatible with each other when they are the
1074         same type.
1075         * doc/extend.texi: Update.
1076
1077 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
1078
1079         PR c/12165
1080         * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
1081         array type from the array element type.
1082
1083 2004-01-07  Alan Modra  <amodra@bigpond.net.au>
1084
1085         * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
1086         * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
1087         * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
1088         (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
1089         * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
1090
1091 2004-01-06  Eric Christopher  <echristo@redhat.com>
1092
1093         * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
1094         (DWARF2_DEBUGGING_INFO): Define.
1095         (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
1096         * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
1097         * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
1098         for irix as.
1099         (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
1100         * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
1101         * config/mips/iris5gas.h: Ditto.
1102         (DBX_DEBUGGING_INFO): Remove.
1103         (DWARF2_DEBUGGING_INFO): Ditto.
1104         (MIPS_DEBUGGING_INFO): Ditto.
1105         (PREFERRED_DEBUGGING_TYPE): Ditto.
1106         * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
1107         (PREFERRED_DEBUGGING_TYPE): Ditto.
1108         (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
1109         * config/mips/elf64.h: Ditto.
1110
1111 2004-01-06  Jan Hubicka  <jh@suse.cz>
1112
1113         * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
1114         (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
1115
1116 2004-01-06  Geoffrey Keating  <geoffk@apple.com>
1117
1118         * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
1119         (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
1120         * config/rs6000/darwin-ldouble.c: New.
1121
1122         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
1123         for constants.
1124         (constant_subword): Delete.
1125         * rtl.h (constant_subword): Delete prototype.
1126         (immed_double_const): Is not in varasm.c.
1127         * simplify-rtx.c (simplify_immed_subreg): New.
1128         (simplify_subreg): Use simplify_immed_subreg.
1129
1130         * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
1131         than trying to generate RTL directly.
1132         (fix_trunctfsi2): Use expand_fix rather than trying to generate
1133         RTL directly.
1134
1135         * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
1136
1137 2004-01-06  David Edelsohn  <edelsohn@gnu.org>
1138
1139         * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
1140         function into a separate macro.
1141         (read_only_data_section): Add void argument.
1142         (private_data_section): Same.
1143         (read_only_private_data_section): Same.
1144         (toc_section): Same.
1145
1146 2004-01-06  Jan Hubicka  <jh@suse.cz>
1147
1148         * invoke.texi:  Remove typo in last change.
1149
1150         PR target/10301
1151         * config.gcc: Accept opteron and athlon-64 as variants
1152         of k8.
1153         * i386.c (override_options): Likewise.
1154         * invoke.texi (i386 -mtune): Expand documentation.
1155
1156 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
1157
1158         * alias.c: Fix comment typos.
1159         * builtins.c: Likewise.
1160         * cfg.c: Likewise.
1161         * df.c: Likewise.
1162         * dominance.c: Likewise.
1163         * dwarf2out.c: Likewise.
1164         * emit-rtl.c: Likewise.
1165         * expr.c: Likewise.
1166         * final.c: Likewise.
1167         * fold-const.c: Likewise.
1168         * gcse.c: Likewise.
1169         * genattrtab.c: Likewise.
1170         * genrecog.c: Likewise.
1171         * gensupport.c: Likewise.
1172         * ggc-zone.c: Likewise.
1173         * integrate.c: Likewise.
1174         * local-alloc.c: Likewise.
1175         * loop.c: Likewise.
1176         * recog.c: Likewise.
1177         * regmove.c: Likewise.
1178         * reg-stack.c: Likewise.
1179         * reorg.c: Likewise.
1180         * rtlanal.c: Likewise.
1181         * rtl.h: Likewise.
1182         * sched-ebb.c: Likewise.
1183         * simplify-rtx.c: Likewise.
1184         * toplev.c: Likewise.
1185         * varasm.c: Likewise.
1186
1187 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
1188
1189         * doc/install.texi: Fix typos.
1190         * doc/invoke.texi: Likewise.
1191         * doc/md.texi: Likewise.
1192
1193 2004-01-06  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1194
1195         * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
1196
1197 2004-01-06  Jan Hubicka  <jh@suse.cz>
1198
1199         * i386.c (init_cumulative_args):  Add handling of MMX_REGPARM.
1200         (function_arg_advance):  Do not pass aggregates in SSE; deal handling
1201         of MMX_REGPARM.
1202         (function_arg): Add new warnings about ABI changes;  fix SSE_REGPARM;
1203         add MMX_REGPARM.
1204         * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
1205         (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
1206         (MMX_REGPARM_MAX): Similarly for -mmmx.
1207
1208 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
1209
1210         * config/sh/linux.h: Fix comment formatting.
1211         * config/sh/netbsd-elf.h: Likewise.
1212         * config/sh/sh.c: Likewise.
1213         * config/sh/sh.h: Likewise.
1214         * config/sh/vxworks.h: Likewise.
1215
1216 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
1217
1218         * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
1219         * toplev.c (output_file_directive): Don't use
1220         ASM_OUTPUT_MAIN_SOURCE_FILENAME.
1221
1222 2004-01-05  Daniel Berlin  <dberlin@dberlin.org>
1223
1224         * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
1225         (USING_MMAP): We don't support non-mmap.
1226         (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
1227         large objects.
1228         (struct page_entry): Remove bytes_free.
1229         (struct page_table_chain): Remove.
1230         (struct globals): Remove page_table member.
1231         (loookup_page_table_entry): Function deleted.
1232         (set_page_table_entry): Ditto.
1233         (ggc_allocated_p): No longer need page table lookups.
1234         (ggc_marked_p): Ditto.
1235         (alloc_small_page): Don't care about bytes_free anymore.
1236         (alloc_large_page): Round up size.
1237         (ggc_alloc_zone_1): Mark large objects as such, and calculate
1238         their size the new way.
1239         Remove page table lookups and setting.
1240         (ggc_get_size): Calculate large object size the new way.
1241         (sweep_pages): Redo to account for fact that we no longer have
1242         bytes_free.
1243         (ggc_collect): No longer need to reincrement bytes_free.
1244         (ggc_pch_alloc_object): Handle new large objects properly.
1245         (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
1246
1247 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
1248
1249         * doc/invoke.texi: Remove a page break.
1250
1251 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
1252
1253         * config/avr/avr.c (avr_output_function_prologue): Remove an
1254         extra pair of curly braces.
1255
1256 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
1257
1258         * config/mn10300/mn10300.c: Fix comment formatting.
1259         * config/mn10300/mn10300.h: Likewise.
1260
1261 2004-01-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1262
1263         * tree.h: Update documentation on nothrow_flag.
1264         * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
1265         types.
1266
1267 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
1268
1269         * doc/invoke.texi: Remove traces of dead ports.
1270
1271 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
1272
1273         * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
1274         option.
1275
1276 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
1277
1278         PR target/12945
1279         * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
1280         counter labels.
1281         * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
1282         (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
1283         string constants if TARGET_MIPS16.  Use SYMBOL_REF_DECL to check
1284         the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
1285         (mips_symbol_insns): Don't trust the local/global classification.
1286         (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
1287         (override_options): Make -mabicalls -fno-unit-at-a-time imply
1288         -mno-explicit-relocs.
1289         (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
1290         between local and global symbols.
1291
1292 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
1293
1294         * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
1295         (mips_preferred_reload_class): Declare.
1296         * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
1297         (EXTRA_CONSTRAINT): Update accordingly.
1298         (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
1299         * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
1300         (mips_preferred_reload_class): New function.  Prefer LEA_REGS if
1301         mips_dangerous_for_la25_p.
1302         (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
1303         if mips_dangerous_for_la25_p.
1304
1305 2004-01-05  Bernardo Innocenti  <bernie@develer.com>
1306
1307         * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
1308         warning.
1309
1310 2004-01-04  Nathanael Nerode  <neroden@gcc.gnu.org>
1311
1312         * configure.ac: Use AC_PROG_CPP_WERROR.
1313         * configure: Regenerate.
1314
1315 2004-01-04  Zack Weinberg  <zack@codesourcery.com>
1316
1317         * .cvsignore: Add autom4te.cache.
1318
1319 2004-01-04  Richard Sandiford  <rsandifo@redhat.com>
1320
1321         * doc/invoke.texi: Revamp documentation of MIPS options.  Remove
1322         -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
1323         -m4650, -mfix7000 and -(m)no-crt0.  Put endianness options first,
1324         then architecture options, then ABI options.  General rewording.
1325
1326 2004-01-04  Joseph S. Myers  <jsm@polyomino.org.uk>
1327
1328         PR c/3414
1329         * doc/extend.texi: Clarify definition of malloc attribute.
1330
1331 2004-01-04  Jan Hubicka  <jh@suse.cz>
1332
1333         * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
1334         * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
1335         * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
1336         (cgraph_inline_p): Add extra argument reason.
1337         * cgraphunit.c: Minor formating fixes.
1338         cgraph_first_inlined_callee): New functions.
1339         (record_call_1): Record builtins too.
1340         (cgraph_analyze_function): Update inline_failed messages.
1341         (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
1342         cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
1343         (cgraph_check_inline_limits): Likewise; Add argument reason.
1344         (cgraph_set_inline_failed): New static function.
1345         (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
1346         reasons.
1347         (cgraph_inline_p): Add new argument reason.
1348         * tree-inline.c (expand_call_inline):  Update warning.
1349
1350 2004-01-03  Nathanael Nerode  <neroden@gcc.gnu.org>
1351
1352         * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1353         with modern equivalents.
1354         * configure: Regenerate.
1355
1356         * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1357         * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1358         * configure: Regenerate.
1359
1360         * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1361
1362         * configure.in: Rename to configure.ac.
1363         * configure.ac: Renamed from configure.in; make minimum necessary
1364         changes for autoconf 2.5x.
1365         * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1366         * configure: Regenerate with autoconf 2.57.
1367
1368 2004-01-03  Kazu Hirata  <kazu@cs.umass.edu>
1369
1370         * config/mips/linux.h: Fix comment formatting.
1371         * config/mips/mips.c: Likewise.
1372         * config/mips/mips.h: Likewise.
1373         * config/mips/mips.md: Likewise.
1374         * config/mips/netbsd.h: Likewise.
1375         * config/mips/windiss.h: Likewise.
1376
1377 2004-01-02  Richard Henderson  <rth@redhat.com>
1378
1379         * config/i386/i386.md (fp constant pool splitter): Reorg suppression
1380         for sse and 387; add suppression for mmx.
1381
1382 2004-01-02  Andrew Pinski  <pinskia@physics.uc.edu>
1383
1384         * loop.c (loop_optimize): Free all loops_info's mems.
1385
1386         * c-typeck.c (finish_init): Free spelling_base before
1387         setting it again.
1388
1389         * cfgloop.c (flow_loops_find): Always free the sbitmap
1390         headers.
1391
1392         * predict.c (estimate_probability): Free bbs after being
1393         done with it.
1394
1395 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
1396
1397         * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1398         const_8bit_operand and call_address_operand.
1399
1400 2004-01-02  Jan Hubicka  <jh@suse.cz>
1401
1402         * cgraphunit.c (cgraph_optimize_function):  Call optimize_inline_calls
1403         when there is nothing to inline but warnings are requested.
1404         (cgraph_decide_inlining):  Fix memory leak.
1405
1406 2004-01-02  Jan Hubicka  <jh@suse.cz>
1407
1408         * expr.c (store_constructor):  Fix pasto in previous patch.
1409
1410 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
1411
1412         * config/i386/cygming.h: Fix comment formatting.
1413         * config/i386/djgpp.h: Likewise.
1414         * config/i386/gthr-win32.c: Likewise.
1415         * config/i386/i386-interix.h: Likewise.
1416         * config/i386/i386.c: Likewise.
1417         * config/i386/i386.h: Likewise.
1418         * config/i386/openbsd.h: Likewise.
1419         * config/i386/winnt.c: Likewise.
1420         * config/i386/xm-mingw32.h: Likewise.
1421
1422 2004-01-02  Joseph S. Myers  <jsm@polyomino.org.uk>
1423
1424         * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1425         copyright and last modification dates.
1426
1427 2004-01-02  Andreas Jaeger  <aj@suse.de>, Gerald Pfeifer  <gp@suse.de>
1428
1429         * doc/install.texi (Specific): Mention x86_64.
1430
1431 2004-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
1432
1433         * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1434         Call force_operand on plus_constant result.
1435
1436 2004-01-01  Jan Hubicka  <jh@suse.cz>
1437
1438         * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1439         * expr.c (store_constructor): Use vec_init pattern.
1440         * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1441         * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1442         (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1443         * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1444         New patterns.
1445         (sse2_unpc?pd): Fix pattern.
1446         (sse2_movlpd): Kill.
1447         (sse2_movsd): Deal with movlpd too.
1448         * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1449         (ix86_expand_vector_init): New.
1450         * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1451         * md.texi (vec_set, vec_extract): Document
1452
1453 2003-12-31  Jan Hubicka  <jh@suse.cz>
1454
1455         PR opt/13473
1456         * recog.c (validate_replace_rtx_1):  Take care for RTL sharing inside
1457         ASM input operands
1458
1459         PR opt/12617
1460         * toplev.c (dump_file_index): Reorder ce3 and bbro.
1461         (dump_file): Likewise.
1462         (rest_of_compilation): Likewise.
1463
1464         PR debug/13367
1465         * cgraph.c (cgraph_function_possibly_inlined):  Even with
1466         flag_really_no_inline we inline always_inline functions.
1467         * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1468         for non-always_inline functions when there is flag_really_no_inline.
1469         (cgraph_decide_inlining): Limit work done when not inlining.
1470         (cgraph_decide_inlining_incrementally): Likewise.
1471         (cgraph_optimize_function): Check whether something got inlined.
1472         * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1473         extern inline functions when not inlining.
1474
1475         * opts.c (decode_options):  Disable crossjumping at -O1
1476         * invoke.texi (-O1): Document change.
1477
1478 See ChangeLog.10 for earlier changes.