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