OSDN Git Service

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