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