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