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