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