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