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