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