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