]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
sparc-protos.h: Remove the prototype for sparc_builtin_saveregs.
[gcc.git] / gcc / ChangeLog
1 2004-01-30 Kazu Hirata <kazu@cs.umass.edu>
2 Eric Botcazou <ebotcazou@libertysurf.fr>
3
4 * config/sparc/sparc-protos.h: Remove the prototype for
5 sparc_builtin_saveregs.
6 * config/sparc/sparc.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
7 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
8 (TARGET_PROMOTE_PROTOTYPES): Likewise.
9 (TARGET_STRUCT_VALUE_RTX): Likewise.
10 (TARGET_RETURN_IN_MEMORY): Likewise.
11 (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
12 (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
13 (sparc_builtin_saveregs): Make it static.
14 (sparc_promote_prototypes): New.
15 (sparc_struct_value_rtx): Likewise.
16 (sparc_return_in_memory): Likewise.
17 * config/sparc/sparc.h: (PROMOTE_FUNCTION_ARGS): Remove.
18 (PROMOTE_FUNCTION_RETURN): Likewise.
19 (RETURN_IN_MEMORY): Likewise.
20 (STRUCT_VALUE): Likewise.
21 (STRUCT_VALUE_INCOMING): Likewise.
22 (EXPAND_BUILTIN_SAVEREGS): Likewise.
23 (STRICT_ARGUMENT_NAMING): Likewise.
24 (PROMOTE_PROTOTYPES): Likewise.
25
26 * config/sparc/sparc.h (PROMOTE_MODE): Use word_mode.
27
28 2004-01-30 Eric Botcazou <ebotcazou@libertysurf.fr>
29
30 PR c/12818
31 * varasm.c (const_hash_1) <STRING_CST>: Use the
32 address to compute the hash value if flag_writable_strings.
33 (compare_constant) <STRING_CST>: Compare the addresses
34 if flag_writable_strings.
35 (build_constant_desc): Do not copy the expression for a
36 STRING_CST if flag_writable_strings.
37
38 2004-01-30 Jan Hubicka <jh@suse.cz>
39
40 * alloc-pool.c: Include hashtab.h
41 (alloc_pool_descriptor): New structure
42 (alloc_pool_hash): New global variable.
43 (hash_descriptor, eq_descriptor, alloc_pool_descriptor): New.
44 (create_alloc_pool): Update statistics.
45 (free_alloc_pool): Likewise.
46 (pool_alloc): Likewise.
47 (output_info): New structure
48 (print_statistics, dump_alloc_pool_statistics): New function.
49 * alloc-pool.h (alloc_pool_def): Turn name to be constant.
50 (dump_alloc_pool_statistics): Declare.
51 * toplev.c (finalize): Dump statistics.
52
53 * reload.c (secondary_memlocs_elim_used): New static variable.
54 (get_secondary_mem): Update it.
55 (find_reloads): Use it.
56
57 2004-01-30 Steven Bosscher <s.bosscher@student.tudelft.nl>
58
59 * toplev.c: Fix broken checkin of 2003-12-30, again.
60
61 2004-01-30 Ulrich Weigand <uweigand@de.ibm.com>
62
63 * configure.ac (gcc_cv_as_dwarf2_debug_line): Enable test for
64 s390*-*-* targets by specifying a 'nop' insn.
65 * configure: Regenerate.
66
67 2004-01-30 Eric Botcazou <ebotcazou@libertysurf.fr>
68
69 PR target/11475
70 * config/sparc/sparc.md (movhi_lo_sum): Tighten predicates.
71
72 2004-01-29 Jakub Jelinek <jakub@redhat.com>
73
74 * emit-rtl.c (change_address): Use XEXP (memref, 0) instead
75 of addr when creating MEM copy.
76
77 2004-01-29 Devang Patel <dpatel@apple.com>
78
79 * dwarf2out.c (gen_field_die): Do not equate decl number to die.
80
81 2004-01-28 Ian Lance Taylor <ian@wasabisystems.com>
82
83 PR inline-asm/6162
84 * reload.c (find_reloads): Only support one pair of commutative
85 operands.
86
87 2004-01-29 Roger Sayle <roger@eyesopen.com>
88
89 PR java/13824
90 * tree.c (unsafe_for_reeval): Handle EXIT_BLOCK_EXPR nodes specially
91 as their EXIT_BLOCK_LABELED_BLOCK operands can lead to unbounded
92 recursion.
93
94 2004-01-29 Kazu Hirata <kazu@cs.umass.edu>
95
96 * config/frv/frv.c: Don't mention deprecated macros in
97 comments. Remove some target-independent comments about
98 target macros.
99 * config/frv/frv.h: Likewise.
100
101 2004-01-29 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
102
103 * cfghooks.c (split_block): Set probability and count of the
104 new edge.
105
106 2005-01-29 Josef Zlomek <zlomekj@suse.cz>
107
108 * dwarf2out.c (struct die_struct): Added field decl_id.
109 (decl_die_table): Changed to hash table.
110 (decl_die_table_allocated): Deleted.
111 (decl_die_table_in_use): Deleted.
112 (DECL_DIE_TABLE_INCREMENT): Deleted.
113 (decl_die_table_hash): New function.
114 (decl_die_table_eq): New function.
115 (lookup_decl_die): Lookup in a hash table.
116 (equate_decl_number_to_die): Insert into a hash table.
117 (dwarf2out_init): Init hash table decl_die_table.
118
119 2004-01-29 Jakub Jelinek <jakub@redhat.com>
120
121 PR optimization/13424
122 * expr.c (store_constructor): Revert 2003-12-03 change.
123
124 * emit-rtl.c (change_address): Check also if MEM_ATTRS is set as
125 expected before returning early. Avoid sharing RTL if they
126 need to be changed.
127
128 * config/i386/i386.c (ix86_expand_movstr): Rework rep_mov and strmov
129 handling so that memory attributes are preserved. Don't call
130 ix86_set_move_mem_attrs.
131 (ix86_set_move_mem_attrs_1, ix86_set_move_mem_attrs): Removed.
132 (ix86_expand_clrstr): Rename src argument to
133 dst. Rework rep_stos and strset handling so that memory attributes
134 are preserved.
135 (ix86_expand_strlen): Pass src argument to
136 ix86_expand_strlensi_unroll_1. Rework strlenqi_1 handling so that
137 memory attributes are preserved.
138 (ix86_expand_strlensi_unroll_1): Add src argument. Use
139 change_address instead of gen_rtx_MEM.
140 * config/i386/i386.md (strmov, strmov_singleop, rep_mov): New
141 expanders.
142 (strmovdi_rex64, strmovsi, strmovsi_rex64, strmovhi, strmovhi_rex64,
143 strmovqi, strmovqi_rex64): Remove.
144 (rep_mov*, strmov*): Prefix insn names with *.
145 (strset, strset_singleop, rep_stos): New expanders.
146 (strsetdi_rex64, strsetsi, strsetsi_rex64, strsethi, strsethi_rex64,
147 strsetqi, strsetqi_rex64): Remove.
148 (rep_stos*, strset*): Prefix insn names with *.
149 (rep_stosqi_rex64): Likewise. Fix mode of dirflag reg from DImode
150 to SImode.
151 (cmpstrsi): Rework cmpstrqi_1 handling so that memory attributes
152 are preserved.
153 (cmpstrqi_nz_1, cmpstrqi_nz_rex_1, cmpstrqi_1, cmpstrqi_rex_1):
154 Prefix insn names with *.
155 (cmpstrqi_nz_1, cmpstrqi_1): New expanders.
156 (strlenqi_1, strlenqi_rex_1): Prefix insn names with *.
157 (strlenqi_1): New expander.
158 * config/i386/i386.h (ix86_set_move_mem_attrs): Remove prototype.
159
160 2004-01-29 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
161
162 * Makefile.in (cfghooks.o): Add TIMEVAR_H and toplev.h dependency.
163 * basic-block.h (tidy_fallthru_edge, tidy_fallthru_edges, dump_bb,
164 verify_flow_info): Declaration removed.
165 * cfg.c (verify_flow_info, dump_bb): Moved to cfghooks.c.
166 (debug_bb, debug_bb_n): Add argument to dump_bb call.
167 * cfgcleanup.c (try_simplify_condjump, try_crossjump_to_edge,
168 try_optimize_cfg, delete_unreachable_blocks): Use delete_basic_block
169 instead of delete_block.
170 * cfghooks.c: Include timevar.h and toplev.h.
171 (cfg_hooks): Define here.
172 (verify_flow_info, dump_bb): Moved from cfg.c.
173 (redirect_edge_and_branch, redirect_edge_and_branch_force,
174 split_block, split_block_after_labels, move_block_after,
175 delete_basic_block, split_edge, create_basic_block,
176 create_empty_bb, can_merge_blocks_p, merge_blocks,
177 make_forwarder_block, tidy_fallthru_edge, tidy_fallthru_edges):
178 New functions.
179 * cfghooks.h (struct cfg_hooks): Added fields name,
180 make_forwarder_block, tidy_fallthru_edge and
181 move_block_after. Changed type of verify_flow_info, dump_bb,
182 split_block fields. Renamed cfgh_split_edge and delete_block
183 fields.
184 (redirect_edge_and_branch, redirect_edge_and_branch_force,
185 split_block, delete_block, split_edge, create_basic_block,
186 can_merge_blocks_p, merge_blocks): Macros removed.
187 (cfg_hooks): Do not export.
188 (verify_flow_info, dump_bb, redirect_edge_and_branch,
189 redirect_edge_and_branch_force, split_block, split_block_after_labels,
190 move_block_after, delete_basic_block, split_edge, create_basic_block,
191 create_empty_bb, can_merge_blocks_p, merge_blocks,
192 make_forwarder_block, tidy_fallthru_edge, tidy_fallthru_edges):
193 Declare.
194 (cfg_layout_rtl_cfg_hooks): Declare.
195 * cfgloop.c (update_latch_info, mfb_keep_just, mfb_keep_nonlatch):
196 New functions.
197 (canonicalize_loop_headers): Use new semantics of make_forwarder_block.
198 (redirect_edge_with_latch_update): Removed.
199 (make_forwarder_block): Moved to cfghooks.c, semantics changed.
200 * cfgloopmanip.c (remove_bbs): Do not update dominators here.
201 * cfgrtl.c (cfg_layout_split_block, rtl_split_block, rtl_dump_bb,
202 rtl_delete_block, rtl_split_block, rtl_merge_blocks,
203 tidy_fallthru_edge, rtl_split_edge, cfg_layout_delete_block,
204 cfg_layout_merge_blocks, cfg_layout_split_edge): Partly moved to
205 cfghooks.c.
206 (rtl_create_basic_block): Coding style fix.
207 (rtl_tidy_fallthru_edge, rtl_move_block_after,
208 rtl_make_forwarder_block): New functions.
209 (update_cfg_after_block_merging): Removed.
210 (rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): Fill in new entries.
211 * flow.c (verify_wide_reg, verify_local_live_at_start): Add argument
212 to dump_bb.
213 * ifcvt.c (merge_if_block, find_cond_trap, find_if_case_1,
214 find_if_case_2): Don't update dominators.
215 * timevar.def (TV_CFG_VERIFY): New.
216 * loop-unswitch.c (unswitch_loop): Don't call add_to_dominance_info.
217 * cfglayout.c (copy_bbs): Don't call add_to_dominance_info.
218 * cfgloopmanip.c (split_loop_bb): Don't update dominators.
219 (remove_bbs): Don't call remove_bbs.
220 (create_preheader): Use make_forwarder_block.
221 (mfb_keep_just, mfb_update_loops): New static functions.
222
223 2004-01-29 Kazu Hirata <kazu@cs.umass.edu>
224
225 * config/avr/avr.h: Remove target-independent comments about
226 target macros.
227
228 2004-01-28 Daniel Berlin <dberlin@dberlin.org>
229
230 * timevar.c (timevar_print): Mention when checking is enabled.
231
232 2004-01-28 Giovanni Bajo <giovannibajo@gcc.gnu.org>
233
234 * c-lex.c (c_lex): Rename to...
235 (c_lex_with_flags): Add new parameter to get CPP flags.
236 (c_lex): Thunk to c_lex_with_flags while keeping the old interface.
237 * c-pragma.h (c_lex_with_flags): Declare.
238
239 2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
240
241 * config/mcore/mcore.c (mcore_external_libcall): Add a
242 comment.
243 (mcore_return_in_memory): Likewise.
244
245 2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
246
247 * config/mcore/mcore-protos.h: Remove the prototype for
248 mcore_setup_incoming_varargs.
249 * config/mcore/mcore.c (TARGET_ASM_EXTERNAL_LIBCALL): New.
250 (TARGET_PROMOTE_FUNCTION_ARGS): Likewise.
251 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
252 (TARGET_PROMOTE_PROTOTYPES): Likewise.
253 (TARGET_STRUCT_VALUE_RTX): Likewise.
254 (TARGET_RETURN_IN_MEMORY): Likewise.
255 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
256 (mcore_setup_incoming_varargs): Make it static. Receive the
257 first argument by reference. Add argument second_time.
258 (mcore_external_libcall): New.
259 (mcore_return_in_memory): Likewise.
260 * config/mcore/mcore.h (PROMOTE_FUNCTION_ARGS): New.
261 (PROMOTE_FUNCTION_RETURN): Likewise.
262 (STRUCT_VALUE): Likewise.
263 (RETURN_IN_MEMORY): Likewise.
264 (SETUP_INCOMING_VARARGS): Likewise.
265 (PROMOTE_PROTOTYPES): Likewise.
266 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
267
268 2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
269
270 * config/m32r/m32r-protos.h: Remove the prototype for
271 m32r_setup_incoming_varargs.
272 * config/m32r/m32r.c (TARGET_PROMOTE_PROTOTYPES): New.
273 (TARGET_STRUCT_VALUE_RTX): Likewise.
274 (TARGET_RETURN_IN_MEMORY): Likewise.
275 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
276 (m32r_return_in_memory): New.
277 (m32r_setup_incoming_varargs): Make it static.
278 * config/m32r/m32r.h: Remove #undef of
279 ASM_OUTPUT_EXTERNAL_LIBCALL. Remove the commented-out
280 definitions of PROMOTE_FUNCTION_ARGS and
281 PROMOTE_FUNCTION_RETURN.
282 (PROMOTE_PROTOTYPES): Remove.
283 (RETURN_IN_MEMORY): Likewise.
284 (STRUCT_VALUE): Likewise.
285
286 2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
287
288 * config/m68k/m68k.c (TARGET_PROMOTE_PROTOTYPES): New.
289 (TARGET_STRUCT_VALUE_RTX): Likewise.
290 (m68k_struct_value_rtx): Likewise.
291 * config/m68k/m68k.h (STRUCT_VALUE_REGNUM): Rename to
292 STRUCT_VALUE_REGNUM.
293 (PROMOTE_PROTOTYPES): Remove.
294 * config/m68k/m68kelf.h (STRUCT_VALUE_REGNUM): Rename to
295 STRUCT_VALUE_REGNUM.
296 * config/m68k/m68kv4.h (STRUCT_VALUE_REGNUM): Likewise.
297 * config/m68k/netbsd-elf.h (STRUCT_VALUE_REGNUM): Likewise.
298
299 2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
300
301 * config/stormy16/stormy16.c
302 (TARGET_BUILD_BUILTIN_VA_LIST_TYPE): Rename to
303 TARGET_BUILD_BUILTIN_VA_LIST.
304
305 2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
306
307 * config/v850/v850.c (TARGET_PROMOTE_PROTOTYPES): New.
308 (TARGET_STRUCT_VALUE_RTX): Likewise.
309 (TARGET_RETURN_IN_MEMORY): Likewise.
310 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
311 (v850_return_in_memory): Likewise.
312 (v850_setup_incoming_varargs): Likewise.
313 * config/v850/v850.h (PROMOTE_PROTOTYPES): Remove.
314 (SETUP_INCOMING_VARARGS): Likewise.
315 (RETURN_IN_MEMORY): Likewise.
316 (STRUCT_VALUE): Likewise.
317
318 2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
319
320 * config/fr30/fr30.c (TARGET_PROMOTE_PROTOTYPES): New.
321 (fr30_setup_incoming_varargs): Don't use
322 STRICT_ARGUMENT_NAMING.
323 * config/fr30/fr30.h (PROMOTE_PROTOTYPES): Remove.
324 (STRICT_ARGUMENT_NAMING): Likewise.
325
326 2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
327
328 * config/frv/frv-protos.h: Remove the prototype for
329 frv_expand_builtin_saveregs.
330 * config/frv/frv.c (TARGET_STRUCT_VALUE_RTX): Likewise.
331 (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
332 (frv_stack_info): Use FRV_STRUCT_VALUE_REGNUM instead of
333 STRUCT_VALUE_REGNUM.
334 (frv_expand_builtin_saveregs): Make it static.
335 (frv_struct_value_rtx): New.
336 * config/frv/frv.h (EXPAND_BUILTIN_SAVEREGS): Remove.
337
338 2004-01-29 Jan Hubicka <jh@suse.cz>
339
340 PR c++/12850
341 * cgraph.c (cgraph_remove_node): Clear out saved/insns/arguments and
342 initial pointers.
343 * cgraphunit.c (cgraph_finalize_function): Clear out DECL_SAVED_INSNS
344 for functions that will be only inlined.
345 (cgraph_mark_function_to_output): Likewise.
346 (cgraph_expand_function): Sanity check that DECL_DEFER_OUTPUT is clear;
347 do not clear function body.
348 * tree-optimize.c (clear_decl_rtl): Use decl_function_context.
349 (tree_rest_of_compilation): Reorganize the logic releasing function
350 body to use callgraph datastructure.
351
352 2004-01-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
353
354 * pa.md: Change predicate of a peephole2 pattern from reg_or_0_operand
355 to register_operand.
356
357 2004-01-28 Zack Weinberg <zack@codesourcery.com>
358
359 * config/ia64/ia64.md (fetchadd_acq_si, fetchadd_acq_di)
360 (cmpxchg_acq_si, cmpxchg_acq_di): Exchange match_dup and
361 match_operand expressions so that all match_dups appear
362 lexically after their corresponding match_operands.
363
364 2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
365
366 * config/h8300/h8300.c (WORD_REG_USED): Use
367 HARD_FRAME_POINTER_REGNUM instead of FRAME_POINTER_REGNUM.
368 (compute_saved_regs): Likewise.
369 (h8300_expand_prologue): Likewise. Allocate locals after
370 saving registers.
371 (h8300_expand_epilogue): Use HARD_FRAME_POINTER_REGNUM instead
372 of FRAME_POINTER_REGNUM. Deallocate locals before saving
373 registers.
374 (h8300_initial_elimination_offset): Adjust for the new frame
375 layout, which swaps flips the order of locals and saved
376 registers.
377 * config/h8300/h8300.h (FIRST_PSEUDO_REGISTER): Change to 12.
378 (HARD_FRAME_POINTER_REGNUM): New.
379 (ELIMINABLE_REGS): Add an elimination rule from
380 FRAME_POINTER_REGNUM to HARD_FRAME_POINTER_REGNUM.
381 (REGISTER_NAMES): Add fp.
382 * config/h8300/h8300.md (FP_REG): Change to 11.
383 (HFP_REG): New.
384
385 2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
386
387 * genrecog.c (write_node): Remove a useless local variable.
388
389 2004-01-28 Ian Lance Taylor <ian@wasabisystems.com>
390
391 * Makefile.in (options.c options.h): Use stamp file s-options to
392 avoid unnecessary rebuilds.
393 (options.o): New target listing dependencies.
394 (gtyp-gen.h): Use stamp file s-gtyp-gen.
395 (STAGESTUFF): Add s-gtyp-gen.
396
397 2004-01-28 Richard Henderson <rth@redhat.com>
398
399 * ggc.h (ggc_free): Declare.
400 * ggc-common.c (ggc_realloc): Use it.
401 * ggc-page.c: Remove lots of inline markers.
402 (globals): Add free_object_list.
403 (ggc_alloc): Tidy.
404 (ggc_free, validate_free_objects): New.
405 (poison_pages): Provide default.
406 (ggc_collect): Call validate_free_objects; emit markers to
407 the debug file.
408
409 2004-01-28 Zack Weinberg <zack@codesourcery.com>
410 Jim Wilson <wilson@specifixinc.com>
411
412 * config/ia64/ia64.c (ia64_split_tmode, ia64_split_tmode_move):
413 Rewrite to use POST_INC/POST_DEC/POST_MODIFY instead of a
414 scratch pointer.
415 (ia64_secondary_reload_class): Delete case GR_REGS.
416 * config/ia64/ia64.md (movti, *movti_internal, movtf, *movtf_internal):
417 Do not allocate a scratch register.
418 (reload_inti, reload_outti, reload_intf, reload_outtf): Delete.
419
420 2004-01-28 Jan Hubicka <jh@suse.cz>
421
422 * gcse.c (bypass_block): Prevent edges to be unified when we are
423 about to emit compenstation code.
424
425 2004-01-28 Nick Clifton <nickc@redhat.com>
426
427 * config/arm/arm.c (arm_expand_builtin): Force second argument of
428 the setcwx insn into a register.
429
430 2004-01-28 Richard Sandiford <rsandifo@redhat.com>
431
432 * config/fp-bit.c (pack_d): When using paired doubles to implement
433 a long double, round the high part separately.
434 (unpack_d): Fix the case in which the high part is a power of two
435 and the low part is a nonzero value of the opposite sign.
436
437 2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
438
439 * config/c4x/c4x.c (TARGET_ASM_EXTERNAL_LIBCALL): New.
440 (TARGET_STRUCT_VALUE_RTX): Likewise.
441 (c4x_external_libcall): Likewise.
442 (c4x_struct_value_rtx): Likewise.
443 * config/c4x/c4x.h: Remove.
444 (STRUCT_VALUE_REGNUM): Likewise.
445 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
446
447 2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
448
449 * config/i386/i386.c (TARGET_PROMOTE_PROTOTYPES): New.
450 (TARGET_STRUCT_VALUE_RTX): Likewise.
451 * config/i386/i386.h (STRUCT_VALUE_INCOMING): Remove.
452 (STRUCT_VALUE): Likewise.
453 (PROMOTE_PROTOTYPES): Likewise.
454
455 2004-01-27 Roger Sayle <roger@eyesopen.com>
456
457 * config/pa/pa.c (emit_move_sequence): Check that operand1 is a
458 CONST_INT before using INTVAL.
459
460 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com>
461
462 * config/s390/s390.h (TARGET_DEFAULT): Default to !TARGET_BACKCHAIN.
463 * config/s390/s390.c (s390_return_addr_rtx): Fail for all but current
464 frame if !TARGET_BACKCHAIN.
465 * config/s390/s390.md ("allocate_stack"): Use pattern only if
466 TARGET_BACKCHAIN.
467 * doc/invoke.texi (-mbackchain/-mno-backchain): Document new default.
468
469 2004-01-27 Zack Weinberg <zack@codesourcery.com>
470
471 * ia64.c (ia64_function_arg): When placing HFAs in integer
472 registers, do not special case the mode used for complex
473 types. Do not advance int_regs until the current register
474 is full.
475
476 2004-01-27 Richard Sandiford <rsandifo@redhat.com>
477
478 PR target/7297
479 * except.c (init_eh): Use a 5-word __jbuf for __builtin_setjmp().
480
481 2004-01-27 David Edelsohn <edelsohn@gnu.org>
482
483 * config/rs6000/rs6000.c (rs6000_emit_move): #if 0 splitting
484 slow, unaligned loads and stores while debugging. Fix formatting.
485
486 2004-01-27 David Edelsohn <edelsohn@gnu.org>
487
488 * config/rs6000/rs6000.md (save_stack_nonlocal): Use Pmode instead
489 of computing wmode.
490 (restore_stack_nonlocal): Same.
491
492 2004-01-27 Devang Patel <dpatel@apple.com>
493
494 * Makefile.in (dwarf2out.o): Depend on input.h
495 * dbxout.c (dbx_debug_hooks): Add new empty hook for
496 imported_module_or_decl.
497 (xcoff_debug_hooks): Same.
498 * sdbout.c (sdb_debug_hooks): Same.
499 * vmsdbgout.c (vmsdbg_debug_hooks): Same.
500 * debug.c (do_nothing_debug_hooks): Same.
501 (debug_nothing_tree_tree): New function.
502 * debug.h (gcc_debug_hooks): New hook, imported_module_or_decl.
503 * dwarf2out.c: Include input.h.
504 (dwarf2_debug_hooks): Add new hook for imported_module_or_decl.
505 (remove_child_TAG): New function.
506 (dwarf_tag_name): Handle DW_TAG_imported_module.
507 (gen_subprogram_die): Equate decl number to declaration die. Do not
508 remove all children dies while reusing declaration die for definition.
509 Instead, selectively remove only formal parameters.
510 (gen_variable_die): Equate variable decl to declaration die.
511 (gen_field_die): Equate field decl to line number.
512 (force_namespace_die): Replace it with ...
513 (force_decl_die): ... this.
514 (force_type_die): New function.
515 (setup_namespace_context): Replace use of force_namespace_die() with
516 force_decl_die().
517 (gen_namespace_die): Same.
518 (dwarf2out_imported_module_or_decl): New function.
519
520 2004-01-27 Bob Wilson <bob.wilson@acm.org>
521
522 * config/xtensa/xtensa.c (xtensa_copy_incoming_a7): Remove SUBREG
523 on CQImode and CHImode incoming arguments in register a7.
524 (function_arg): Wrap BLKmode argument in register a7 in a PARALLEL.
525 * config/xtensa/xtensa.h (BLOCK_REG_PADDING): Define.
526 * config/xtensa/xtensa.md (movdi, movdf): Only call force_reg or
527 xtensa_copy_incoming_a7 before reload.
528
529 2004-01-27 J"orn Rennecke <joern.rennecke@superh.com>
530
531 * coverage.c (get_coverage_counts): Give a different message
532 if flag_guess_branch_prob is set.
533 * predict.c (counts_to_freqs): Return an int.
534 (estimate_bb_frequencies): If counts_to_freqs returns zero,
535 calculate estimates.
536
537 2004-01-27 Kazu Hirata <kazu@cs.umass.edu>
538
539 * config/iq2000/iq2000-protos.h: Remove the prototype for
540 iq2000_setup_incoming_varargs.
541 * config/iq2000/iq2000.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
542 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
543 (TARGET_PROMOTE_PROTOTYPES): Likewise.
544 (TARGET_STRUCT_VALUE_RTX): Likewise.
545 (TARGET_RETURN_IN_MEMORY): Likewise.
546 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
547 (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
548 (iq2000_return_in_memory): Likewise.
549 (iq2000_setup_incoming_varargs): Make it static. Receive the
550 first argument by reference.
551 * config/iq2000/iq2000.h (PROMOTE_FUNCTION_ARGS): Remove.
552 (PROMOTE_FUNCTION_RETURN): Likewise.
553 (PROMOTE_PROTOTYPES): Likewise.
554 (RETURN_IN_MEMORY): Likewise.
555 (STRUCT_VALUE): Likewise.
556 (SETUP_INCOMING_VARARGS): Likewise.
557 (STRICT_ARGUMENT_NAMING): Likewise.
558
559 2004-01-24 James A. Morrison <ja2morri@uwaterloo.ca>
560
561 * fixinc/fixinc.c (test_test): Initialize res.
562 (start_flexer): Initialize pz_cmd_save.
563
564 2004-01-27 Zack Weinberg <zack@codesourcery.com>
565
566 * doc/rtl.texi (Arithmetic): Rewrite entries for PLUS,
567 SS_PLUS, US_PLUS, LO_SUM, MINUS, SS_MINUS, US_MINUS.
568
569 2004-01-27 Zack Weinberg <zack@codesourcery.com>
570
571 PR 7198
572 * config/ia64/ia64.md (*nmaddsf4, *nmadddf4, *nmadddf4_alts)
573 (*nmadddf4_trunc, *nmaddxf4, *nmaddxf4_truncsf, *nmaddxf4_truncdf)
574 (*nmaddxf4_alts, *nmaddxf4_truncdf_alts):
575 Rewrite pattern as (minus (op 3) (mult (op 1) (op 2))).
576 Possibly rename pattern for consistency.
577 Remove ??? comments suggesting that this be done.
578 (*nmaddsf4_alts, *nmadddf4_truncsf_alts, *nmaddxf4_truncsf_alts):
579 New patterns.
580 (divsi3_internal, divdi3_internal_lat, divdi3_internal_thr)
581 (divsf3_internal_lat, divsf3_internal_thr, sqrtsf2_internal_thr)
582 (divdf3_internal_lat, divdf3_internal_thr, sqrtdf2_internal_thr)
583 (divxf3_internal_lat, divxf3_internal_thr, sqrtxf2_internal_thr):
584 Update to match.
585
586 2004-01-27 Ian Lance Taylor <ian@wasabisystems.com>
587
588 * config/arm/arm.c (output_return_instruction): Only restore IP
589 into SP if frame_pointer_needed.
590
591 2004-01-27 Eric Botcazou <ebotcazou@libertysurf.fr>
592
593 * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1
594 for SCmode and DCmode if ARCH32.
595 (sparc_va_arg): Handle SCmode and DCmode by reference if ARCH32.
596 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for TCmode
597 if ARCH32.
598 (BASE_RETURN_VALUE_REG): Return 32 for all FP modes except TFmode
599 if ARCH32.
600 (BASE_OUTGOING_VALUE_REG): Likewise.
601
602 2004-01-27 Eric Botcazou <ebotcazou@libertysurf.fr>
603
604 PR target/10904
605 PR target/13058
606 * config/sparc/sparc.h (CANNOT_CHANGE_MODE_CLASS): New.
607 Forbid mode changes from SImode for lower FP regs if ARCH64.
608
609 2004-01-27 J"orn Rennecke <joern.rennecke@superh.com>
610
611 * Makefile.in (bt-load.o): Depend on except.h.
612 * bt-load.c (except.h): #include.
613 (compute_defs_uses_and_gen): If insn at end of BB can throw
614 within this function, consider registers used by it unavailable for
615 btr migration.
616 (move_btr_def): If insn at end of BB can throw, insert before rather
617 than after.
618
619 * flags.h (flag_btr_bb_exclusive): Declare.
620 * toplev.c (flag_btr_bb_exclusive): New variable.
621 (f_options): Add btr-bb-exclusive.
622 * bt-load.c (augment_live_range): Restore old behaviour if
623 flag_btr_bb_exclusive is set.
624 * common.opt: Add entry for -fbtr-bb-exclusive.
625 * opts.c (common_handle_options): Same.
626 * doc/invoke.texi: Document -fbtr-bb-exclusive.
627
628 * bt-load.c (btrs_live_at_end): New variable.
629 (compute_defs_uses_and_gen): Compute its pointed-to array.
630 (clear_btr_from_live_range, add_btr_to_live_range): Update it.
631 (augment_live_range): When augmenting with a new dominator,
632 use only its btrs_live_at_end set, but also add in the full set
633 of the old dominator.
634 (btr_def_live_range): Use btrs_live_at_end.
635 (move_btr_def): Set other_btr_uses_before_def, and move new set
636 to the end of the basic block, if appropriate.
637 (migrate_btr_defs): Allocate and free btrs_live_at_end.
638
639 * bt-load.c (basic_block_freq): Remove outdated comment.
640
641 2004-01-27 Alan Modra <amodra@bigpond.net.au>
642
643 * config/rs6000/rs6000.h: Correct target_flags free bits comment.
644 (PREDICATE_CODES): Remove duplicate.
645 * config/rs6000/linux64.h (CPP_SYSV_SPEC): Don't define.
646 (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow 32 bit TARGET_PROFILE_KERNEL.
647 (MASK_PROFILE_KERNEL): Adjust define.
648
649 2004-01-27 Jakub Jelinek <jakub@redhat.com>
650
651 * config/i386/i386.c (ix86_constant_alignment): Decrease alignment
652 of long string literals from 32 bytes to sizeof (void *) when !-Os
653 and to 1 with -Os.
654
655 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
656
657 * config/h8300/h8300.c (h8300_tiny_constant_address_p): Accept
658 constant addresses in the normal mode.
659
660 2004-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
661
662 * system.h (CHAR_BITFIELD): Delete.
663 (BOOL_BITFIELD): New.
664 * c-decl.c (c_scope): Use BOOL_BITFIELD.
665 * gengtype-lex.l: Recognize BOOL_BITFIELD instead of CHAR_BITFIELD.
666
667 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
668
669 * config/arc/arc.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
670 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
671 (TARGET_PROMOTE_PROTOTYPES): Likewise.
672 (TARGET_STRUCT_VALUE_RTX): Likewise.
673 (TARGET_RETURN_IN_MEMORY): Likewise.
674 (arc_return_in_memory): Likewise.
675 * config/arc/arc.h (PROMOTE_FUNCTION_ARGS): Remove.
676 (PROMOTE_FUNCTION_RETURN): Likewise.
677 (RETURN_IN_MEMORY): Likewise.
678 (STRUCT_VALUE): Likewise.
679
680 2004-01-26 Richard Henderson <rth@redhat.com>
681
682 * c-parse.in (extension): Use itype.
683 (SAVE_EXT_FLAGS): Don't allocate a tree.
684 (RESTORE_EXT_FLAGS): Don't read a tree.
685
686 2004-01-26 Jan Hubicka <jh@suse.cz>
687
688 * cselib.c (discard_useless_values): Clear out value pointer pointing
689 to datastructure to be recycled.
690
691 2004-01-25 Jan Hubicka <jh@suse.cz>
692
693 * genextract.c (main): Do not output the memset when not checking.
694
695 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
696
697 * config/h8300/h8300.c (h8300_tiny_constant_address_p): Use a
698 switch statement instead of a chain of if statements.
699
700 2004-01-26 Jeff Law <law@redhat.com>
701
702 * doc/contrib.texi: Minor cleanup for Paolo Carlini's entry. Add
703 acute accents for Petur Runolfsson's entry.
704
705 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
706
707 * config/pdp11/pdp11.c (TARGET_STRUCT_VALUE_RTX): New.
708 (TARGET_RETURN_IN_MEMORY): Likewise.
709 * config/pdp11/pdp11.h (STRUCT_VALUE): Remove.
710 (RETURN_IN_MEMORY): Likewise.
711
712 2004-01-26 Fariborz Jahanian <fjahanian@apple.com>
713
714 * config/rs6000/rs6000.c (rs6000_emit_move): split slow
715 unaligned load/store into smaller loads and stores.
716
717 2004-01-26 Fariborz Jahanian <fjahanian@apple.com>
718
719 * function.c (assign_parms): Do not assign
720 long long argument to memory in prologue if
721 is it loaded into register.
722
723 2004-01-26 Fariborz Jahanian <fjahanian@apple.com>
724
725 PR middle-end/13779
726 * expr.c (emit_group_load): split constant
727 correctly into register components of PARALLEL insn.
728
729 2004-01-26 Fariborz Jahanian <fjahanian@apple.com>
730
731 * gcc/config/rs6000/rs6000.md (save_stack_nonlocal):
732 Use adjust_address_nv directly with appropriate mode.
733 (restore_stack_nonlocal): Ditto.
734
735 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
736
737 * config/xtensa/xtensa-protos.h: Remove the prototype for
738 xtensa_builtin_saveregs.
739 * config/xtensa/xtensa.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
740 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
741 (TARGET_PROMOTE_PROTOTYPES): Likewise.
742 (TARGET_STRUCT_VALUE_RTX): Likewise.
743 (TARGET_RETURN_IN_MEMORY): Likewise.
744 (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
745 (xtensa_builtin_saveregs): Make it static.
746 (xtensa_return_in_memory): New.
747 * config/xtensa/xtensa.h (PROMOTE_FUNCTION_ARGS: Remove.
748 (PROMOTE_FUNCTION_RETURN): Likewise.
749 (PROMOTE_PROTOTYPES): Likewise.
750 (STRUCT_VALUE): Likewise.
751 (RETURN_IN_MEMORY): Likewise.
752 (EXPAND_BUILTIN_SAVEREGS): Likewise.
753
754 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
755
756 * config/arm/arm.c (TARGET_SETUP_INCOMING_VARARGS): New.
757 (arm_setup_incoming_varargs): Likewise.
758 * config/arm/arm.h (SETUP_INCOMING_VARARGS): Remove.
759
760 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
761
762 * config/cris/cris.c (TARGET_SETUP_INCOMING_VARARGS): New.
763 (cris_setup_incoming_varargs): Likewise.
764 * config/cris/cris.h (SETUP_INCOMING_VARARGS): Remove.
765
766 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
767
768 * config/ns32k/ns32k.c (TARGET_STRUCT_VALUE_RTX): New.
769 (ns32k_struct_value_rtx): Likewise.
770 * config/ns32k/ns32k.h (STRUCT_VALUE_REGNUM): Rename to
771 NS32K_STRUCT_VALUE_REGNUM.
772
773 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
774
775 * config/arm/arm.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
776 (TARGET_PROMOTE_PROTOTYPES): Likewise.
777 (TARGET_STRUCT_VALUE_RTX): Likewise.
778 (arm_struct_value_rtx): Likewise.
779 * config/arm/arm.h (PROMOTE_FUNCTION_ARGS): Remove.
780 (STRUCT_VALUE): Likewise.
781 (STRUCT_VALUE_REGNUM): Likewise.
782 (PROMOTE_PROTOTYPES): Likewise.
783
784 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
785
786 * config/ia64/ia64-protos.h: Remove the prototype for
787 ia64_setup_incoming_varargs and ia64_return_in_memory.
788 * config/ia64/ia64.c (TARGET_STRUCT_VALUE_RTX): New.
789 (TARGET_RETURN_IN_MEMORY): Likewise.
790 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
791 (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
792 (ia64_setup_incoming_varargs): Adjust the arguments to meet
793 the requirement of TARGET_SETUP_INCOMING_VARARGS.
794 (ia64_return_in_memory): Make it static. Change the return
795 type to bool from int. Add an argument.
796 (ia64_struct_value_rtx): New.
797 * config/ia64/ia64.h: Remove commented-out definitions of
798 PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN, and
799 PROMOTE_PROTOTYPES.
800 (RETURN_IN_MEMORY): Remove.
801 (STRUCT_VALUE_REGNUM): Likewise.
802 (STRICT_ARGUMENT_NAMING): Likewise.
803
804 2004-01-26 Eric Botcazou <ebotcazou@libertysurf.fr>
805
806 PR target/13666
807 * config/sparc/sparc.c (function_arg_union_value): New function.
808 (function_arg): Use it to deal with unions.
809 (function_value): Likewise. Define 'regbase' only for ARCH64.
810 Replace a conditional statement by a simpler one.
811
812 2004-01-26 Richard Sandiford <rsandifo@redhat.com>
813
814 * config/mips/mips.c (mips16_optimize_gp): Delete.
815 (mips_reorg): Don't call it.
816
817 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
818
819 * config/c4x/c4x.md (addqi3_noclobber): Move up pecking order.
820 (floatunsqihf2): Remove operand 6.
821 (fixhfqi_set, fix_trunchfqi2, fixuns_trunchfqi2): Group with other
822 fix patterns.
823 (ldi_conditional, ldf_conditional): Validate operands.
824
825 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
826
827 * config/c4x/c4x.h (BCT_CHECK_LOOP_ITERATIONS): Remove.
828 (HAVE_GAS_HIDDEN): Undefine as interim measure.
829
830 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
831
832 * config/c4x/c4x.c (c4x_legitimate_address_p): Invalidate direct
833 memory references if TARGET_EXPOSE_LDP nonzero.
834
835 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
836
837 * config/c4x/c4x.c (legitimize_operands): Truncate invalid shift counts.
838
839 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
840
841 * config/c4x/c4x.c (c4x_valid_operands): More aggressively reject
842 invalid operand combinations.
843
844 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
845
846 * config/c4x/c4x.c (c4x_check_legit_addr): Rename to
847 c4x_legitimate_address_p. Fix post_modify check.
848
849 * config/c4x/c4x-protos.h (c4x_check_legit_addr): Adjust.
850 * config/c4x/c4x.h (c4x_check_legit_addr): Adjust.
851
852 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
853
854 * config/pa/pa-protos.h: Remove the prototype for
855 hppa_builtin_saveregs. Add a prototype for
856 pa_return_in_memory.
857 * config/pa/pa.c (TARGET_PROMOTE_FUNCTION_RETURN): New.
858 (TARGET_PROMOTE_PROTOTYPES): Likewise.
859 (TARGET_STRUCT_VALUE_RTX): Likewise.
860 (TARGET_RETURN_IN_MEMORY): Likewise.
861 (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
862 (pa_struct_value_rtx): Likewise.
863 (pa_return_in_memory): Likewise.
864 * config/pa/pa.h (STRUCT_VALUE_REGNUM): Rename to
865 PA_STRUCT_VALUE_REGNUM.
866 (INIT_CUMULATIVE_ARGS): Use pa_return_in_memory.
867 (EXPAND_BUILTIN_SAVEREGS): Remove.
868 (PROMOTE_PROTOTYPES): Likewise.
869 (PROMOTE_FUNCTION_RETURN): Likewise.
870
871 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
872
873 * config/vax/vax.c (TARGET_PROMOTE_PROTOTYPES): New.
874 (TARGET_STRUCT_VALUE_RTX): Likewise.
875 (vax_struct_value_rtx): Likewise.
876 * config/vax/vax.h (STRUCT_VALUE_REGNUM): Rename to
877 VAX_STRUCT_VALUE_REGNUM.
878 (PROMOTE_PROTOTYPES): Remove.
879
880 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
881
882 * config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Handle symref.
883
884 2003-04-25 Chris Demetriou <cgd@broadcom.com>
885
886 * config/mips/mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2,
887 and MIPS64 have HI/LO interlocks. Update comment.
888
889 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
890
891 * config/stormy16/stormy16-protos.h: Remove the prototype for
892 xstormy16_setup_incoming_varargs.
893 * config/stormy16/stormy16.c
894 (xstormy16_setup_incoming_varargs): Remove.
895 (xstormy16_return_in_memory): New.
896 (TARGET_PROMOTE_FUNCTION_ARGS): Likewise.
897 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
898 (TARGET_PROMOTE_PROTOTYPES): Likewise.
899 (TARGET_STRUCT_VALUE_RTX): Likewise.
900 (TARGET_RETURN_IN_MEMORY): Likewise.
901 * config/stormy16/stormy16.h (PROMOTE_FUNCTION_ARGS): Remove.
902 (PROMOTE_FUNCTION_RETURN): Likewise
903 (PROMOTE_PROTOTYPES): Likewise
904 (RETURN_IN_MEMORY): Likewise
905 (STRUCT_VALUE): Likewise
906 (SETUP_INCOMING_VARARGS): Likewise
907
908 2004-01-25 Richard Sandiford <rsandifo@redhat.com>
909
910 * config/mips/mips.c (mips_offset_within_object_p): New function.
911 (mips_symbolic_constant_p): Use it in the SYMBOL_SMALL_DATA and
912 SYMBOL_CONSTANT_POOL cases. Also use it for SYMBOL_GENERAL if the
913 ABI has 64-bit pointers and the object file only allows 32-bit symbols.
914
915 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
916
917 * config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove.
918 (PROMOTE_FUNCTION_RETURN): Likewise.
919
920 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
921
922 * config/mn10300/mn10300-protos.h: Remove the prototype for
923 mn10300_builtin_saveregs.
924 * config/mn10300/mn10300.c (TARGET_PROMOTE_PROTOTYPES): New.
925 (TARGET_STRUCT_VALUE_RTX): Likewise.
926 (TARGET_RETURN_IN_MEMORY): Likewise.
927 (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
928 (mn10300_return_in_memory): Likewise.
929 (mn10300_builtin_saveregs): Make it static.
930 * config/mn10300/mn10300.h (PROMOTE_PROTOTYPES): Remove.
931 (RETURN_IN_MEMORY): Likewise.
932 (STRUCT_VALUE): Likewise.
933 (EXPAND_BUILTIN_SAVEREGS): Likewise.
934
935 2004-01-25 Eric Botcazou <ebotcazou@act-europe.fr>
936
937 PR bootstrap/13853
938 * cfgcleanup.c (try_optimize_cfg): Explicitly test against 0.
939
940 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
941
942 * config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by
943 using ccr.
944
945 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
946
947 * config/i860/i860-protos.h: Remove the prototype for
948 i860_saveregs.
949 * config/i860/i860.c (i860_saveregs): Make it static.
950 (i860_struct_value_rtx): New.
951 (TARGET_STRUCT_VALUE_RTX): Likewise.
952 (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
953 * config/i860/i860.h (STRUCT_VALUE_REGNUM): Rename to
954 I860_STRUCT_VALUE_REGNUM.
955 (EXPAND_BUILTIN_SAVEREGS): Remove.
956
957 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
958
959 * config/m68hc11/m68hc11.c (TARGET_STRUCT_VALUE_RTX): New.
960 (TARGET_RETURN_IN_MEMORY): Likewise.
961 (m68hc11_struct_value_rtx): Likewise.
962 (m68hc11_return_in_memory): Likewise.
963 * config/m68hc11/m68hc11.h: Remove a commented-out definition
964 of PROMOTE_PROTOTYPES.
965 (RETURN_IN_MEMORY): Remove.
966 (STRUCT_VALUE_REGNUM): Likewise.
967
968 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
969
970 * config/mmix/mmix-protos.h: Remove the prototype for
971 mmix_setup_incoming_varargs.
972 * config/mmix/mmix.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
973 (TARGET_STRUCT_VALUE_RTX): Likewise.
974 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
975 (mmix_setup_incoming_varargs): Make it static.
976 (mmix_struct_value_rtx): New.
977 * config/mmix/mmix.h (PROMOTE_FUNCTION_ARGS): Remove.
978 Remove a commented-out definition of PROMOTE_FUNCTION_RETURN.
979 (STRUCT_VALUE_REGNUM): Remove.
980 (SETUP_INCOMING_VARARGS): Likewise.
981
982 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
983
984 * config/mips/mips-protos.h: Remove the prototypes for
985 mips_setup_incoming_varargs and mips_return_in_memory.
986 * config/mips/mips.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
987 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
988 (TARGET_PROMOTE_PROTOTYPES): Likewise.
989 (TARGET_STRUCT_VALUE_RTX): Likewise.
990 (TARGET_RETURN_IN_MEMORY): Likewise.
991 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
992 (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
993 (mips_setup_incoming_varargs): Match the prototype for
994 TARGET_SETUP_INCOMING_VARARGS.
995 (mips_return_in_memory): Make it static. Add argument fntype.
996 (mips_strict_argument_naming): New.
997 * config/mips/mips.h (PROMOTE_PROTOTYPES): Remove.
998 (PROMOTE_FUNCTION_ARGS): Likewise.
999 (PROMOTE_FUNCTION_RETURN): Likewise.
1000 (STRUCT_VALUE): Likewise.
1001 (RETURN_IN_MEMORY): Likewise.
1002 (SETUP_INCOMING_VARARGS): Likewise.
1003 (STRICT_ARGUMENT_NAMING): Likewise.
1004
1005 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
1006
1007 * config/ip2k/ip2k.c (TARGET_STRUCT_VALUE_RTX): New.
1008 (TARGET_RETURN_IN_MEMORY): Likewise.
1009 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
1010 (ip2k_return_in_memory): Likewise.
1011 (ip2k_setup_incoming_varargs): Likewise.
1012 * config/ip2k/ip2k.h (RETURN_IN_MEMORY): Remove.
1013 (STRUCT_VALUE): Likewise.
1014 (STRUCT_VALUE_INCOMING): Likewise.
1015 (SETUP_INCOMING_VARARGS): Likewise.
1016
1017 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
1018
1019 * config/avr/avr.c (TARGET_STRUCT_VALUE_RTX): New.
1020 (TARGET_RETURN_IN_MEMORY): Likewise.
1021 (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
1022 (avr_return_in_memory): Remove.
1023 * config/avr/avr.h (RETURN_IN_MEMORY): Remove.
1024 (STRUCT_VALUE): Likewise.
1025 (STRUCT_VALUE_INCOMING): Likewise.
1026 (STRICT_ARGUMENT_NAMING): Likewise.
1027
1028 2004-01-25 Jan Hubicka <jh@suse.cz>
1029
1030 * combine.c (recog_for_combine): Avoid allocating unnecesary RTX.
1031
1032 2004-01-25 Richard Sandiford <rsandifo@redhat.com>
1033
1034 * config/mips/mips-protos.h (mips_reg_mode_ok_for_base_p): Delete.
1035 (mips_regno_mode_ok_for_base_p): Declare.
1036 * config/mips/mips.h (ARG_POINTER_REGNUM): Renumber to 77.
1037 (FRAME_POINTER_REGNUM): Renumber to 78.
1038 (FIRST_PSEUDO_REGISTER): Update comment accordingly.
1039 (BASE_REG_P, GP_REG_OR_PSEUDO_STRICT_P): Delete.
1040 (GP_REG_OR_PSEUDO_NONSTRICT_P): Delete.
1041 (REGNO_MODE_OK_FOR_BASE_P): Use mips_regno_mode_ok_for_base_p.
1042 (REG_MODE_OK_FOR_BASE_P): Likewise.
1043 * config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Change
1044 entry for 77 to "$arg" and entry for 78 to "$frame".
1045 (mips_regno_to_class): Map 77 and 78 to ALL_REGS.
1046 (mips_reg_mode_ok_for_base_p): Remove.
1047 (mips_regno_mode_ok_for_base_p): New function, derived from old
1048 BASE_REG_P macro. Don't enforce the mips16 stack pointer
1049 restrictions unless we're being strict.
1050 (mips_valid_base_register_p): Use mips_regno_mode_ok_for_base_p.
1051
1052 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
1053
1054 * c-common.h: Fix comment typos.
1055 * c-decl.c: Likewise.
1056 * cgraphunit.c: Likewise.
1057 * combine.c: Likewise.
1058 * et-forest.c: Likewise.
1059 * flow.c: Likewise.
1060 * function.c: Likewise.
1061 * ifcvt.c: Likewise.
1062 * integrate.c: Likewise.
1063 * jump.c: Likewise.
1064 * postreload.c: Likewise.
1065 * varray.c: Likewise.
1066
1067 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
1068
1069 * doc/frontends.texi: Update copyright.
1070 * doc/gcov.texi: Likewise.
1071 * doc/gty.texi: Likewise.
1072 * doc/sourcebuild.texi: Likewise.
1073 * doc/standards.texi: Likewise.
1074
1075 2004-01-24 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
1076
1077 PR target/12978
1078 * c4x.md: (movstrqi*) Use match_scratch instead of match_dup.
1079 Remove movstrqi_small because it conflicts with movstrqi_large.
1080
1081 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
1082
1083 * config/cris/cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
1084 (TARGET_STRUCT_VALUE_RTX): Likewise.
1085 (cris_struct_value_rtx): Likewise.
1086 * config/cris/cris.h (PROMOTE_FUNCTION_ARGS): Remove.
1087 (CRIS_STACKADJ_REG): Use CRIS_STRUCT_VALUE_REGNUM instead of
1088 STRUCT_VALUE_REGNUM.
1089 (STRUCT_VALUE_REGNUM): Rename to CRIS_STRUCT_VALUE_REGNUM.
1090
1091 2004-01-24 Ian Lance Taylor <ian@wasabisystems.com>
1092
1093 PR bootstrap/13848
1094 * cse.c (cse_cc_succs): Change the mode of the source expression
1095 as soon as decide we need a new mode. Don't permit changing modes
1096 if we found a match in a successor block.
1097 (cse_condition_code_reg): Save original mode of source expression
1098 so that we know whether we have to change the mode in other
1099 insns.
1100
1101 2004-01-24 Jan Hubicka <jh@suse.cz>
1102
1103 * emit-rtl.c (change_address, adjust_address_1, offset_address,
1104 widen_memory_access): Return early when there is nothing to change.
1105
1106 2004-01-24 Jakub Jelinek <jakub@redhat.com>
1107
1108 * simplify-rtx.c (simplify_relational_operation): Don't
1109 simplify address == constant into address + -constant == 0.
1110
1111 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
1112
1113 * gcc.c (process_command): Don't internationalize the
1114 Copyright message.
1115 * mips-tfile.c (main): Likewise.
1116
1117 2004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
1118
1119 * cse.c: (cse_cc_succs) Fix comparison warning.
1120
1121 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
1122
1123 * config/h8300/h8300.md: Remove extraneous USE in expanders.
1124
1125 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
1126
1127 * config/h8300/h8300-protos.h: Provide prototypes for
1128 h8300_legitimate_constant_p and h8300_legitimate_address_p.
1129 * config/h8300/h8300.c (h8300_legitimate_constant_p): New.
1130 (h8300_rtx_ok_for_base_p): Likewise.
1131 (h8300_legitimate_address_p): Likewise.
1132 * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Use
1133 h8300_legitimate_constant_p.
1134 (RTX_OK_FOR_BASE_P): Remove.
1135 (GO_IF_LEGITIMATE_ADDRESS): Use h8300_legitimate_address_p.
1136
1137 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
1138
1139 * config/h8300/h8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New.
1140 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
1141 (REG_OK_FOR_INDEX_STRICT_P): Likewise.
1142 (REG_OK_FOR_BASE_STRICT_P): Likewise.
1143 (REG_OK_FOR_INDEX_STRICT_P): Use REGNO_OK_FOR_INDEX_P.
1144 (REG_OK_FOR_BASE_STRICT_P): Use REGNO_OK_FOR_BASE_P.
1145 (REG_OK_FOR_INDEX_P): Use REG_OK_FOR_INDEX_STRICT_P.
1146 (REG_OK_FOR_BASE_P): Use REG_OK_FOR_BASE_STRICT_P.
1147
1148 2004-01-24 Jan Hubicka <jh@suse.cz>
1149
1150 * cselib.c (remove_useless_values): Do not access discarded values.
1151
1152 2004-01-24 Joseph S. Myers <jsm@polyomino.org.uk>
1153
1154 * c-typeck.c (build_conditional_expr): Do not allow non-lvalue
1155 arrays.
1156
1157 2004-01-23 Kazu Hirata <kazu@cs.umass.edu>
1158
1159 * recog.c: Fix a typo in copyright.
1160
1161 2004-01-23 Andrew Pinski <apinski@apple.com>
1162
1163 * config/rs6000/rs6000.md (call): Fix misappiled patch.
1164 (call_value): Likewise.
1165
1166 2004-01-23 Richard Henderson <rth@redhat.com>
1167
1168 PR opt/12941
1169 * combine.c (SHIFT_COUNT_TRUNCATED): Provide default value.
1170 (simplify_comparison): Don't simplify (eq (zero_extract c 1 r) 0)
1171 if SHIFT_COUNT_TRUNCATED is set.
1172
1173 2004-01-23 Bob Wilson <bob.wilson@acm.org>
1174
1175 * config/xtensa/xtensa.c (xtensa_va_arg): Handle complex values as
1176 separate real and imaginary parts.
1177 * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Define.
1178
1179 2004-01-23 Hartmut Penner <hpenner@de.ibm.com>
1180
1181 PR target/13674
1182 * config/rs6000/rs6000.md (movdf_hardfloat64): Do not disparage
1183 loading into GPR.
1184
1185 2004-01-23 Jan Hubicka <jh@suse.cz>
1186
1187 * emit-rtl.c (change_address_1): Do not re-generate the RTX if nothing
1188 change.
1189
1190 * alloc-pool.c (align_four): Kill.
1191 (create_alloc_pool): Align size to eight.
1192 (free_alloc_pool, free_pool): Invalidate deallocated data.
1193
1194 2004-01-23 Ian Lance Taylor <ian@wasabisystems.com>
1195
1196 PR gcc/1532
1197 * cse.c (cse_change_cc_mode): New static function.
1198 (cse_change_cc_mode_insns, cse_cc_succs): Likewise.
1199 (cse_condition_code_reg): New function.
1200 * rtl.h (cse_condition_code_reg): Declare.
1201 * toplev.c (rest_of_handle_cse2): Call cse_condition_code_reg.
1202 * target.h (struct gcc_target): Add fixed_condition_code_regs and
1203 cc_modes_compatible.
1204 * target-def.h (TARGET_FIXED_CONDITION_CODE_REGS): Define.
1205 (TARGET_CC_MODES_COMPATIBLE): Define.
1206 (TARGET_INITIALIZER): Add new initializers.
1207 * targhooks.c (default_cc_modes_compatible): New function.
1208 * targhooks.c (default_cc_modes_compatible): Declare.
1209 * hooks.c (hook_bool_intp_intp_false): New function.
1210 * hooks.h (hook_bool_intp_intp_false): Declare.
1211 * config/i386/i386.c (TARGET_FIXED_CONDITION_CODE_REGS): Define.
1212 (TARGET_CC_MODES_COMPATIBLE): Define.
1213 (ix86_fixed_condition_code_regs): New static function.
1214 (ix86_cc_modes_compatible): Likewise.
1215 * doc/tm.texi (Condition Code): Document new hooks.
1216
1217 2004-01-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1218
1219 * fixinc/inclhack.def (bad_lval): Renamed to ...
1220 (alpha_bad_lval): ... this.
1221 Removed file list.
1222 Restrict to alpha*-dec-osf*.
1223 * fixinc/fixincl.x: Regenerate.
1224 * fixinc/tests/base/dirent.h: Remove, moving test ...
1225 * fixinc/tests/base/testing.h: ... here, reflecting new name.
1226
1227 2004-01-23 Zack Weinberg <zack@codesourcery.com>
1228
1229 PR c/13814
1230 * c-decl.c (diagnose_mismatched_decls): Also discard a
1231 built-in if we encounter an old-style definition with the
1232 same name.
1233
1234 2004-01-23 Jakub Jelinek <jakub@redhat.com>
1235
1236 * config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was
1237 set to default{32,64}.
1238
1239 2004-01-21 Jakub Jelinek <jakub@redhat.com>
1240
1241 * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR)
1242 [!__powerpc64__]: Corrected to handle kernels with changed ucontext.
1243
1244 2004-01-23 Eric Botcazou <ebotcazou@act-europe.fr>
1245 Olivier Hainque <hainque@act-europe.fr>
1246
1247 * fold-const.c (fold_binary_op_with_conditional_arg): Only
1248 build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR.
1249
1250 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
1251
1252 * config/arm/arm.c (arm_legitimate_address_p): Don't check the mode
1253 size for minipool references.
1254
1255 2004-01-23 Roger Sayle <roger@eyesopen.com>
1256
1257 * real.c (real_floor, real_ceil): Tweak to allow input and output
1258 arguments to overlap.
1259 (real_round): New function to implement round(3m) semantics.
1260 * real.h (real_round): Prototype here.
1261 * builtins.c (fold_builtin_round): New function to constant fold
1262 round, roundf and roundl.
1263 (fold_builtin): Call fold_builtin_round for BUILT_IN_ROUND{,F,L}.
1264
1265 2004-01-23 Alexandre Oliva <aoliva@redhat.com>
1266
1267 PR optimization/13819
1268 * config/sh/sh.c (sh_reorg): Compensate for sharing of CLOBBERs
1269 introduced by 2004-01-20's Jan Hubicka's copy_insn change.
1270 (sh_handle_sp_switch_attribute): Remove warning.
1271
1272 2003-11-30 Jan Hubicka <jh@suse.cz>
1273
1274 * i386.c (ix86_emit_restore_regs_using_mov): Deal with large offsets.
1275
1276 2004-01-23 J"orn Rennecke <joern.rennecke@superh.com>
1277
1278 * doc/tm.texi: Insert some weasel words when LOAD_EXTEND_OP
1279 may or may not return non-NIL.
1280 * postreload.c (reload_cse_simplify_operands): In LOAD_EXTEND_OP code,
1281 check CANNOT_CHANGE_MODE_CLASS
1282
1283 2004-01-23 Jan Hubicka <jh@suse.cz>
1284
1285 * basic-block.h (PROP_POSTRELOAD): New macro.
1286 (CLEANUP_LOG_LINKS): New.
1287 * cfgcleanup.c (cleanup_cfg): Only PROP_LOG_LINKS when asked to.
1288 * toplev.c (rest_of_handle_life): Preserve LOG_LINKS trought cleanup_cfg.
1289
1290 * cselib.c (value_pool): New.
1291 (new_cselib_val): Use pool.
1292 (cselib_init): Initialize value_pool
1293 (cselib_finish): Free pool.
1294
1295 2004-01-23 Eric Botcazou <ebotcazou@libertysurf.fr>
1296
1297 * config/sparc/sparc.c (scan_record_type): New function.
1298 (function_arg_slotno): Use it to determine which kinds of
1299 registers the record can be passed in.
1300
1301 2004-01-22 James A. Mmorrison <ja2morri@uwaterloo.ca>
1302
1303 * config/pa/fptr.c: Fix old-style definition.
1304
1305 2004-01-22 Paolo Bonzini <bonzini@gnu.org>
1306
1307 PR optimization/13724
1308 * cse.c (fold_rtx) <SUBREG>: Fold a SUBREG to zero if it
1309 represents the zero bits produced by a ZERO_EXTEND operation.
1310
1311 2004-01-22 Roger Sayle <roger@eyesopen.com>
1312
1313 PR optimization/13821
1314 * simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset to
1315 correctly calculate the lowpart offset of the contracted subreg.
1316
1317 2004-01-22 Ian Lance Taylor <ian@wasabisystems.com>
1318
1319 * doc/invoke.texi (Optimize Options): Note that --param arguments
1320 are subject to change without notice.
1321
1322 2004-01-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1323
1324 * config.gcc (mips-sgi-irix6*o32): Removed.
1325 * config/mips/iris6-o32-as.h: Likewise.
1326 * config/mips/iris6-o32-gas.h: Likewise.
1327 * config/mips/iris6-o32.h: Likewise.
1328
1329 2004-01-22 Jan Hubicka <jh@suse.cz>
1330
1331 * cfgcleanup.c (first_pass): New static variable.
1332 (try_forward_edges): Add work limiting check for threading.
1333 (try_crossjump_bb): Add work limiting check for crossjumping.
1334 (try_optimize_cfg): Maintain first pass variable.
1335
1336 2004-01-22 Bob Wilson <bob.wilson@acm.org>
1337
1338 * config/xtensa/xtensa.c (function_arg): Generalize logic so that it
1339 handles complex and vector modes.
1340
1341 2004-01-22 Kazu Hirata <kazu@cs.umass.edu>
1342
1343 * config/h8300/h8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove.
1344 (REG_OK_FOR_BASE_P_STRICT): Likewise.
1345 (STRICT): Likewise.
1346
1347 2004-01-22 Daniel Jacobowitz <drow@mvista.com>
1348
1349 * c-semantics.c (genrtl_while_stmt, genrtl_do_stmt_1)
1350 (genrtl_for_stmt): Remove emit_nop calls.
1351
1352 2004-01-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1353
1354 PR target/13713
1355 PR target/13324
1356 * pa.md (movstrsi_prereload, movstrsi_postreload, movstrdi_prereload,
1357 movstrdi_postreload, clrstrsi_prereload, clrstrsi_postreload,
1358 clrstrdi_prereload, clrstrdi_postreload): Fix constraints.
1359
1360 2004-01-22 Daniel Jacobowitz <drow@mvista.com>
1361
1362 * config/arm/arm.c: Include "debug.h".
1363 (thumb_pushpop): Take two new arguments. Add some commentary.
1364 Output frame information when pushing.
1365 (thumb_exit, thumb_unexpanded_epilogue): Update calls to
1366 thumb_pushpop.
1367 (thumb_output_function_prologue): Likewise. Accumulate a CFA
1368 offset, and pass it to thumb_pushpop. Output CFI information.
1369 (thumb_expand_prologue): Add some frame-related markers and notes.
1370
1371 2004-01-22 Ulrich Weigand <uweigand@de.ibm.com>
1372
1373 * config/s390/s390.c (s390_frame_info): Allow large frame sizes
1374 for TARGET_64BIT.
1375 (s390_arg_frame_offset): Change return type to HOST_WIDE_INT.
1376 * config/s390/s390-protos.h (s390_arg_frame_offset): Likewise.
1377
1378 2004-01-22 Roger Sayle <roger@eyesopen.com>
1379 Paolo Bonzini <bonzini@gnu.org>
1380
1381 * rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb.
1382 (subreg_lsb): Change to call new subreg_lsb_1 helper function.
1383 * rtl.h (subreg_lsb_1): Prototype here.
1384 * simplify-rtx.c (simplify_subreg): Optimize subregs of zero and
1385 sign extensions.
1386
1387 2004-01-22 Kazu Hirata <kazu@cs.umass.edu>
1388
1389 * doc/tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the
1390 macro need not be defined if jump-tables should contain
1391 relative addresses only when -fPIC or -fPIC is in effect.
1392
1393 2004-01-22 Jan Hubicka <jh@suse.cz>
1394
1395 * alias.c (reg_base_value): Turn into varray.
1396 (reg_base_value_size): Kill.
1397 (old_reg_base_value): New deletable varray.
1398 (alias_invariant_size): New variable.
1399 (REG_BASE_VALUE): Update to use varray.
1400 (find_base_value): Likewise.
1401 (record_set): Likewise.
1402 (record_base_value): Likewise.
1403 (memrefs_conflict_p): Likewise.
1404 (record_set): Likewise
1405 (record_base_value): Likewise.
1406 (memrefs_conflict_p): Use alias_invariant_size.
1407 (init_alias_analysis): Use varray; set alias_invariant_size;
1408 rescale other arrays to be sized by maxreg.
1409 (end_alias_analysis): Save reg_base_value; clear alias_invariant_size.
1410
1411 2004-01-22 Eric Botcazou <ebotcazou@libertysurf.fr>
1412
1413 * config/sparc/sparc.c (function_arg_slotno): Use
1414 FLOAT_TYPE_P to detect FP fields in structures.
1415 (function_arg_record_value_1): Likewise.
1416 (function_arg_record_value_2): Likewise.
1417
1418 2004-01-22 Jan Hubicka <jh@suse.cz>
1419
1420 * function.c (allocate_struct_function): Do not initialize expr, emit
1421 and varasm.
1422 (prepare_function_start): Do it here.
1423 * c-parse.in (maybe_type_qual): Do not produce line number notes.
1424
1425 2004-01-22 Eric Botcazou <ebotcazou@libertysurf.fr>
1426
1427 PR target/13559
1428 * config/sparc/sparc.c (function_arg_record_value_3): Revert
1429 to 'word_mode' once the first slot has been filled.
1430
1431 2004-01-22 Olivier Hainque <hainque@act-europe.fr>
1432
1433 * config/sparc/sparc.c (function_arg_record_value_1): Fix
1434 computation of the number of integer registers required.
1435
1436 2004-01-21 Kazu Hirata <kazu@cs.umass.edu>
1437
1438 * config/i386/i386.md: Simplify certain comparisons of
1439 const_int.
1440
1441 2004-01-21 Andrew Pinski <apinski@apple.com>
1442
1443 PR target/13785
1444 * config/rs6000/rs6000.md (call_value): Force operand
1445 1 not operand 0 into a register.
1446
1447 2004-01-21 Kazu Hirata <kazu@cs.umass.edu>
1448
1449 * cpperror.c, cpptrad.c, longlong.h, params.def, rtl.def,
1450 unwind-dw2-fde.h: Update copyright.
1451
1452 2004-01-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1453
1454 * pa-protos.h: Update copyright.
1455 * pa.h: Likewise.
1456 * pa.md: Likewise.
1457
1458 2004-01-21 Caroline Tice <ctice@apple.com>
1459
1460 PR target/12308
1461 * config/i386/i386.md (fix_truncxfdi2): Add clause to clobber
1462 flags register.
1463 (fix_truncdfdi2): Likewise.
1464 (fix_truncsfdi2): Likewise.
1465 (*fix_truncdi_1): Likewise.
1466 (fix_truncxfsi2): Likewise.
1467 (fix_truncdfsi2): Likewise.
1468 (fix_truncsfsi2): Likewise.
1469 (*fix_truncsi_1): Likewise.
1470 (fix_truncxfhi2): Likewise.
1471 (fix_truncdfhi2): Likewise.
1472 (fix_truncsfhi2): Likewise.
1473 (*fix_trunchi_1): Likewise.
1474
1475 2004-01-21 Kazu Hirata <kazu@cs.umass.edu>
1476
1477 * alias.c, basic-block.h, c-common.c, c-common.h,
1478 c-cppbuiltin.c, c-opts.c, c-pragma.c, c-pretty-print.c,
1479 calls.c, cfg.c, cfgcleanup.c, cfgrtl.c, cgraph.h, collect2.c,
1480 combine.c, cppcharset.c, cpphash.h, cppinit.c, cpplib.c,
1481 cpplib.h, cppmacro.c, crtstuff.c, cselib.c, cselib.h,
1482 defaults.h, df.c, dominance.c, et-forest.c, expmed.c, expr.c,
1483 expr.h, fix-header.c, function.h, gcc.c, gcse.c, genattrtab.c,
1484 genautomata.c, genconditions.c, genemit.c, genflags.c,
1485 gengtype.c, gengtype.h, genopinit.c, genrecog.c, gensupport.c,
1486 ggc-zone.c, graph.c, haifa-sched.c, input.h, integrate.c,
1487 langhooks-def.h, langhooks.c, langhooks.h, line-map.c,
1488 line-map.h, local-alloc.c, optabs.c, optabs.h, postreload.c,
1489 ra.h, recog.c, reg-stack.c, regmove.c, reload.c, reorg.c,
1490 rtl.c, sched-deps.c, sched-ebb.c, sdbout.c, system.h,
1491 target.h, targhooks.c, toplev.h, tree-inline.c, unwind-pe.h,
1492 unwind.h, varray.c, varray.h: Update copyright.
1493
1494 2004-01-21 Kazu Hirata <kazu@cs.umass.edu>
1495
1496 * config/h8300/coff.h: Update copyright.
1497 * config/h8300/elf.h: Likewise.
1498 * config/h8300/h8300-protos.h: Likewise.
1499 * config/h8300/h8300.c: Likewise.
1500 * config/h8300/h8300.h: Likewise.
1501 * config/h8300/h8300.md: Likewise.
1502
1503 2004-01-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1504
1505 * fixinc/inclhack.def (hpux10_stdio_declarations, ultrix_const3,
1506 ultrix_locale, ultrix_stdlib, ultrix_strings, ultrix_sys_time,
1507 ultrix_unistd): New hacks.
1508 * fixinc/tests/base/stdio.h (HPUX10_STDIO_DECLARATIONS_CHECK,
1509 ULTRIX_CONST2_CHECK): Add checks.
1510 * fixinc/tests/base/stdlib.h (ULTRIX_STDLIB_CHECK): Likewise.
1511 * fixinc/tests/base/strings.h (ULTRIX_STRINGS2_CHECK): Likewise.
1512 * fixinc/tests/base/unistd.h (ULTRIX_UNISTD_CHECK): Likewise.
1513 * fixinc/tests/base/sys/time.h (ULTRIX_SYS_TIME_CHECK): Likewise.
1514 * fixinc/tests/base/locale.h: New file.
1515 * fixinc/fixincl.x: Rebuilt.
1516
1517 2004-01-21 Andreas Jaeger <aj@suse.de>
1518 Michael Matz <matz@suse.de>
1519
1520 * doc/extend.texi (Extended Asm): Clarify memory clobber.
1521
1522 2004-01-21 Jakub Jelinek <jakub@redhat.com>
1523
1524 * crtstuff.c (frame_dummy, __do_global_ctors_1): Call
1525 _Jv_RegisterClasses through a function pointer.
1526
1527 2004-01-21 Falk Hueffner <falk@debian.org>
1528
1529 PR target/12898
1530 * config/alpha/alpha.c (alpha_emit_set_const_1): If
1531 no_new_pseudos, use gen_rtx_SET directly for SImode constants
1532 which need multiple instructions to emit.
1533
1534 2004-01-21 Inaoka Kazuhiro <inaoka.kazuhiro@renesas.com>
1535
1536 * config/m32r/m32r.h (CPP_SPEC): Define.
1537
1538 2004-01-21 Zack Weinberg <zack@codesourcery.com>
1539
1540 * c-decl.c (merge_decls): Kill different_binding_level and
1541 different_tu arguments; simplify throughout.
1542 (duplicate_decls): Likewise.
1543 (pushdecl, merge_translation_unit_decls): Update calls to
1544 duplicate_decls.
1545
1546 2004-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1547
1548 * Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and
1549 $(SYSTEM_H).
1550 (print-rtl1.o): Depend on $(SYSTEM_H).
1551
1552 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
1553
1554 PR bootstrap/12730
1555 * configure.ac: Delete definition and subsitution of docdir.
1556 Add info, man, srcman and srcinfo to target hooks. Create doc/
1557 directory.
1558 * configure: Regenerate.
1559 * Makefile.in: Don't substitute docdir and delete all references
1560 throughout.
1561 (MAKEINFOFLAGS): Define.
1562 (stmp-docobjdir): Delete.
1563 (INFOFILES, MANFILES): Define.
1564 (info): Call lang.info, srcinfo and lang.srcinfo.
1565 (generated-manpages): Call lang.man, srcman and lang.srcman.
1566 (srcinfo, srcman): New rules to copy back files to source directory.
1567 (doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
1568 (install-man): Revamp rule.
1569 (clean): Update dvi directory.
1570 (distclean): Delete TAGS from front end directorys.
1571 (maintainer-clean): Delete all document files in source directory.
1572
1573 objc/Make-lang.in (objc.man, objc.info): Dummy entries.
1574 (objc.srcman, objc.srcinfo): Likewise.
1575
1576 2004-01-20 Bruce Korb <bkorb@gnu.org>
1577
1578 * fixinc/inclhack.def(math_exception): bypass only for glibc.
1579 (matherr_decl): rename & relocate as exception_structure.
1580 This fix must precede the math_exception fix.
1581
1582 2004-01-20 Roger Sayle <roger@eyesopen.com>
1583
1584 * fold-const.c (fold_convert): Rename to fold_convert_const.
1585 (fold_convert_const): Change arguments to take a tree_code,
1586 a type and the operand/expression to be converted. Return
1587 NULL_TREE if no simplification is possible. Add support for
1588 FIX_CEIL_EXPR and FIX_FLOOR_EXPR in addition to FIX_TRUNC_EXPR.
1589 (fold): Handle FIX_CEIL_EXPR and FIX_FLOOR_EXPR.
1590 Adjust call to fold_convert to match new fold_convert_const.
1591 Avoid modifying the tree passed to fold in-place.
1592
1593 2004-01-21 Alan Modra <amodra@bigpond.net.au>
1594
1595 * config/rs6000/sysv4.h (DWARF2_FRAME_REG_OUT): Define.
1596 * dwarf2out.c (output_cfi): Map regs using DWARF2_FRAME_REG_OUT.
1597 * doc/tm.texi (DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Document.
1598
1599 2004-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1600
1601 * pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.
1602 * pa.c (store_reg, store_reg_modify, load_reg, set_reg_plus_d):
1603 Likewise. Handle frames larger than 0x7fffffff on 64-bit ports.
1604 (emit_move_sequence): Check scratch_reg first in various if statements.
1605 Extend source simplification to handle all 64-bit CONST_INTs.
1606 (pa_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for printing
1607 frame size.
1608 (hppa_expand_prologue, hppa_expand_epilogue): Use HOST_WIDE_INT for
1609 frame offset calculations.
1610 * pa.h (NEW_HP_ASSEMBLER): Add comment.
1611 (MAX_LEGIT_64BIT_CONST_INT, MIN_LEGIT_64BIT_CONST_INT,
1612 LEGITIMATE_64BIT_CONST_INT_P): Define.
1613 (LEGITIMATE_CONSTANT_P): Use LEGITIMATE_64BIT_CONST_INT_P. Treat
1614 any CONST_INT as legitimate during and after reload.
1615 (VAL_32_BITS_P, INT_32_BITS): Define.
1616 (LEGITIMIZE_RELOAD_ADDRESS): Handle large frame offsets.
1617
1618 2004-01-20 Jan Hubicka <jh@suse.cz>
1619
1620 * emit-rtl.c (verify_rtx_sharing, copy_insn_1,
1621 emit_copy_of_insn_after, emit_copy_of_insn_after): Clobbers
1622 containing hard regs are shared.
1623 (gen_hard_reg_clobber): New function.
1624 (hard_reg_clobbers): New array.
1625 * genemit.c (gen_exp): Use gen_hard_reg_clobber.
1626 (copy_rtx): Do not copy clobbers containing hard regs.
1627 * rtl.h (gen_hard_reg_clobber): Declare.
1628
1629 2004-01-20 Jan Hubicka <jh@suse.cz>
1630
1631 * varray.c: Include hashtab.h
1632 (varray_descriptor): New structure.
1633 (hash_descriptor, eq_descriptor, varray_descriptor,
1634 print_statistics): New static functions
1635 (varray_init, varray_grow): Update statistics
1636 (dump_varray_statistics): New function.
1637 * varray.h (dump_varray_statistics): Declare.
1638 * toplev.c (finalize): Call it.
1639 * Makefile.in (varray.o): Add dependency.
1640
1641 2004-01-20 Jan Hubicka <jh@suse.cz>
1642
1643 * cselib.c: Include alloc-pool.h
1644 (empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill.
1645 (elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare.
1646 (new_elt_list, new_elt_loc_list, unchain_one_elt_list,
1647 unchain_one_elt_loc_list_pool, unchain_one_value,
1648 new_cselib_val): Simplify using allocpool.
1649 (cselib_init): Initialize allocpools.
1650 (cselib_finish): Finish allocpools.
1651 * Makefile.in (cselib.o): Depend on alloc-pool.h
1652
1653 2004-01-20 Richard Sandiford <rsandifo@redhat.com>
1654
1655 * config/mips/mips.c (mips_load_call_address): Make the call insn
1656 use $gp if it could be calling a lazy binding stub.
1657
1658 2004-01-20 Kazu Hirata <kazu@cs.umass.edu>
1659
1660 * config/s390/s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define.
1661 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
1662 (TARGET_STRUCT_VALUE_RTX): Likewise.
1663 * config/s390/s390.h (PROMOTE_FUNCTION_ARGS): Remove.
1664 (PROMOTE_FUNCTION_RETURN): Remove.
1665 (STRUCT_VALUE): Remove.
1666
1667 2004-01-20 Denis Chertykov <denisc@overta.ru>
1668
1669 PR bootstrap/13735
1670 * config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X
1671 register as pointer after reload.
1672
1673 2004-01-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1674
1675 PR optimization/12440
1676 * loop.c: Include ggc.h.
1677 (loop_optimize): Run garbage collector between optimization of loops.
1678 * Makefile.in (loop.o): Add GGC_H dependency.
1679
1680 2004-01-20 Hartmut Penner <hpenner@de.ibm.com>
1681
1682 * gcc/config/rs6000/rs6000.c (function_arg) Handle
1683 vector register special in function without prototype.
1684 (function_arg_advance): Vector parameters get always
1685 GPRs allocated for the linux64 target.
1686
1687 2004-01-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1688
1689 * config/m32r/m32r.h (TARGET_M32R2). Test for TARGET_M32R2_MASK
1690 not TARGET_M32RX_MASK.
1691
1692 2004-01-20 Eric Botcazou <ebotcazou@libertysurf.fr>
1693
1694 PR target/13557
1695 * config/sparc/sparc.c (function_arg): Reorder the cases.
1696
1697 2004-01-19 Per Bothner <per@bothner.com>
1698
1699 Move cpp_reader's line_maps field to a shared global.
1700 * cpphash.h (cpp_reader): Rename line_maps field to line_table
1701 and change the type to a pointer rather than a struct.
1702 * cppinit.c (cpp_push_main_field): Adjust accordingly.
1703 * cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks):
1704 Likewise.
1705 * cppfiles.c (validate_pch): Likewise.
1706 * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text):
1707 Likewise.
1708 * cpperror.c (print_location): Likewise.
1709 * cpplib.h (cpp_create_reader): New line_maps pointer parameter.
1710 * cppinit.c (cpp_create_reader): Handle new parameter.
1711 (cpp_destroy): Don't free line_maps - that's no longer our job.
1712 * input.h (line_table): New variable.
1713 * toplev.c (line_table): Declare variable.
1714 (general_init): Initialize line_table.
1715 * c-opts.c (c_common_init_options): Pass line_table to
1716 cpp_create_reader.
1717 * fix-header.c (read_scan_file): New local variable line_table.
1718 Initialize, and pass it to cpp_create_reader.
1719 * Makefile.in (LIBS, LIBDEPS): Add libcpp.a.
1720 (C_AND_OBJC_OBJS, fix-header): Remove redundant libcpp.a.
1721
1722 2004-01-19 Per Bothner <per@bothner.com>
1723
1724 Implement a cache for linemap_lookup.
1725 * line-map.h (struct_line_maps): Add cache field.
1726 * line-map.c (linemap_init): Zero cache field.
1727 (linemap_add): Set cache field to offset of newly allocated map.
1728 (linemap_lookup): Use and set cache field.
1729
1730 2004-01-20 Kaz Kojima <kkojima@gcc.gnu.org>
1731
1732 PR optimization/13567
1733 * cse.c (cse_basic_block): Call cse_insn with a non-null
1734 libcall_insn for the last SET insn of a no-confilict block.
1735
1736 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
1737
1738 * Makefile.in (target_noncanonical, program_transform_name): Use
1739 immediate define instead of deferred.
1740 (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
1741 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
1742 GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
1743 deferred backquote.
1744
1745 2004-01-20 Joseph S. Myers <jsm@polyomino.org.uk>
1746
1747 * c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
1748 true unconditionally.
1749 * c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning):
1750 Remove.
1751 (build_unary_op, build_modify_expr): Don't handle extended
1752 lvalues.
1753 (build_component_ref, build_conditional_expr): Call non_lvalue
1754 instead of pedantic_non_lvalue.
1755 (build_c_cast): Don't condition use of non_lvalue on pedantic.
1756 * fold-const.c (fold): Don't check pedantic directly for
1757 COMPOUND_EXPR. Ensure that results for COMPOUND_EXPR are
1758 passed to pedantic_non_lvalue.
1759 * doc/extend.texi: Remove documentation of extended lvalues.
1760
1761 2004-01-19 Roger Sayle <roger@eyesopen.com>
1762
1763 PR optimization/5263
1764 * simplify-rtx.c (associative_constant_p): Delete.
1765 (simplify_associative_operation): Rewrite to linearize terms, and
1766 attempt to simplify new term against both left and right subterms.
1767 (simplify_binary_operation): Call swap_commutative_operands_p on
1768 op0 and op1, not trueop0 and trueop1. Move the initialization of
1769 trueop0 and trueop1 down to where first needed.
1770 (simplify_relational_operation): Likewise.
1771 * rtlanal.c (commutative_operand_precedence): Also order constant
1772 operands using avoid_constant_pool_reference.
1773
1774 2004-01-19 Richard Henderson <rth@redhat.com>
1775
1776 * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
1777 don't check memory mode.
1778 (unaligned_memory_operand): Likewise.
1779 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't
1780 abort for op0 not MEM.
1781
1782 * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination
1783 is not a reg, copy to a scratch first.
1784 (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi,
1785 unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le,
1786 unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG.
1787 (reload_inqi, reload_inhi): Fix mode of op0.
1788 (reload_inqi_help, reload_inhi_help, reload_outqi_help,
1789 reload_outhi_help): Likewise. Use define_insn_and_split.
1790
1791 * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN
1792 as well as $29 dead.
1793
1794 2004-01-19 Eric Botcazou <ebotcazou@libertysurf.fr>
1795
1796 * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit
1797 "tls_object" for thread-local objects.
1798 * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
1799 "#tls" for thread-local sections.
1800 * configure.ac (thread-local checks): Specify --fatal-warnings in
1801 every binutils-specific checks. For sparc*-*-*, test whether the
1802 OS is Solaris and the tools are native and act accordingly.
1803 * configure: Rebuild.
1804
1805 2004-01-19 Jeff Law <law@redhat.com>
1806
1807 * contrib.texi: Update Paolo Carlini's entry. New entries for
1808 Jerry Quinn and Petur Runolfsson.
1809
1810 2004-01-19 Roger Sayle <roger@eyesopen.com>
1811
1812 * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
1813 size, don't use the larger zero-extending loads.
1814
1815 2004-01-19 Richard Henderson <rth@redhat.com>
1816
1817 * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
1818 * alpha.md (UNSPEC_NT_LDA): Remove.
1819 (UNSPEC_CVTLQ, cvtlq): New.
1820 (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
1821 (extendsidi2_fix): Remove.
1822 (extendsidi2 splitter): Use cvtlq.
1823 (extendsidi2 fp peepholes): Remove.
1824 (cvtql): Use SFmode instead of SImode.
1825 (fix_trunc?fsi): Update to match.
1826 (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
1827 (movsi): Rename from movsi_nofix, remove f alternatives.
1828 (movsi_nt_vms): Similarly.
1829 (movsi_fix, movsi_nt_vms_fix): Remove.
1830 (nt_lda): Remove.
1831 * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.
1832
1833 2004-01-19 Jan Hubicka <jh@suse.cz>
1834
1835 * cgraph.c (cgraph_remove_node): Fix removal from linked list.
1836 * cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
1837 list.
1838 (cgraph_remove_unreachable_nodes): New function
1839 (cgraph_decide_inlining_of_small_function): Fix pasto.
1840 (cgraph_decide_inlining_incrementally): Fix pasto.
1841 (cgrpah_decide_inlining): Likewise; remove unreachable nodes.
1842
1843 2004-01-19 Steven Bosscher <stevenb@suse.de>
1844
1845 * gengtype.c (header_file): Make it static.
1846 (write_types_process_field, write_enum_defn): Minor whitespace fixes.
1847 * gengtype.h (header_file): No longer extern.
1848
1849 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
1850
1851 * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
1852 * expr.c (CASE_VECTOR_PC_RELATIVE): Remove.
1853 * stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise.
1854
1855 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
1856
1857 * stmt.c (HAVE_casesi): Define it not already defined.
1858 (HAVE_tablejump): Likewise.
1859 (expand_end_case_type): Resort to the binary tree method if
1860 neither casesi or tablejump is available.
1861
1862 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
1863
1864 * final.c (final_scan_insn): Make non-static again.
1865 * output.h (final_scan_insn): Re-add prototype.
1866 * config/arc/arc.c (arc_output_function_epilogue): Add NULL
1867 to final_scan_insn call.
1868 * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise.
1869 * config/mips/mips.c (mips_output_conditional_branch): Likewise.
1870 * config/pa/pa.c (output_lbranch, output_call): Likewise.
1871 * config/sh/sh.c (print_slot): Likewise.
1872 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise.
1873 (output_sibcall, sparc_flat_function_epilogue): Likewise.
1874
1875 2004-01-18 Jan Hubicka <jh@suse.cz>
1876
1877 * basic-block.h (try_redirect_by_replacing_jump): Declare.
1878 * cfgcleanup.c (try_optimize_cfg): Use it.
1879 * cfgrtl.c (try_redirect_by_replacing_jump): Export.
1880 (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
1881 Kill hack.
1882 (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.
1883
1884 Revert:
1885 2004-01-16 Geoffrey Keating <geoffk@apple.com>
1886
1887 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
1888 even after reload, just don't remove the actual jump tables.
1889
1890 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
1891
1892 * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.
1893
1894 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
1895
1896 * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
1897 the size of a pointer in bytes.
1898
1899 2004-01-18 Roger Sayle <roger@eyesopen.com>
1900
1901 * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
1902 live "next" variable, which could lead to an infinite loop.
1903
1904 2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
1905
1906 * config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
1907 block.
1908
1909 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
1910 Check for NULL in the chain and remove repeated code.
1911
1912 2004-01-18 Jan Hubicka <jh@suse.cz>
1913
1914 * coverage.c (checksum_string): Rename to ...
1915 (coverage_checksum_string): ... this one, Use crc32_string; recognize
1916 names containing random number and zero the number out in order to get
1917 match.
1918
1919 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
1920
1921 * config/mips/mips.c (mips_got_alias_set): Mark for PCH.
1922
1923 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
1924
1925 * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
1926 doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
1927 doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
1928 doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
1929 doc/trouble.texi: Remove trailing whitespace.
1930
1931 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
1932
1933 PR target/7618
1934 * config/mips/mips.c: Include cfglayout.h.
1935 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
1936 (mips_unspec_offset_high): Add temporary register argument.
1937 (mips_load_call_address): New function, split out from...
1938 (mips_expand_call): ...here.
1939 (mips_output_cplocal): New function.
1940 (mips_output_function_prologue, mips_output_function_epilogue): Use it.
1941 (mips_emit_loadgp): New function, split out from...
1942 (mips_expand_prologue): ...here.
1943 (mips_output_mi_thunk): New function.
1944
1945 2004-01-17 Bernardo Innocenti <bernie@develer.com>
1946
1947 * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
1948 mcpu32): Remove redundant checks for implied target predefines.
1949
1950 2004-1-17 Andrew Pinski <pinskia@physics.uc.edu>
1951
1952 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
1953 Return type is unsigned int not int.
1954 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
1955 Likewise.
1956
1957 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
1958
1959 * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
1960 doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
1961 "GNU/Linux" and "Microsoft Windows" terminology.
1962
1963 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
1964
1965 * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
1966 doc/cppopts.texi, doc/extend.texi, doc/install.texi,
1967 doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
1968 doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
1969 @smallexample instead of @example.
1970
1971 2004-01-17 Ziemowit Laski <zlaski@apple.com>
1972
1973 * objc/objc-act.c (build_objc_method_call): Use target
1974 hooks instead of macros to determine if ..._stret
1975 dispatchers should be used (NeXT runtime only).
1976
1977 2004-01-17 Roger Sayle <roger@eyesopen.com>
1978
1979 * builtins.c (expand_builtin_expect_jump): Fix mistake in my
1980 last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
1981
1982 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
1983
1984 * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
1985 (emit_call_insn_before_sameloc, emit_insn_after_sameloc)
1986 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
1987 macros.
1988 * reload1.c (emit_reload_insns): Use them.
1989 * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
1990 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
1991 for NULL PATTERN.
1992
1993 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
1994
1995 * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
1996 (final_scan_insn): Update to take an additional SEEN argument. Emit
1997 a line note after the prologue. Make static.
1998 (line_note_exists): Remove.
1999 (final): Don't initialize line_note_exists. Update call to
2000 final_scan_insn.
2001 * output.h (final_scan_insn): Remove prologue.
2002 * function.c (set_insn_locators): Update comment.
2003 (thread_prologue_and_epilogue_insns): Add a comment.
2004
2005 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
2006
2007 PR target/10781
2008 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
2009 Prototype.
2010 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
2011 New function.
2012 * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
2013 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
2014 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
2015
2016 2004-01-17 Jan Hubicka <jh@suse.cz>
2017
2018 * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
2019 commit.
2020
2021 * toplev.c (HAVE_conditional_execution): Provide default.
2022 (rest_of_handle_reorder_blocks): For conditional_execution target
2023 update liveness once after all transformations
2024 (rest_of_compilation): Do crossjumping before ce3.
2025
2026 2004-01-17 Geoffrey Keating <geoffk@apple.com>
2027
2028 * alias.c (new_alias_set): Mark last_alias_set for PCH.
2029 (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
2030 for PCH.
2031 (get_frame_alias_set): Likewise, except rename it to 'frame_set'.
2032 * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
2033 (get_TOC_alias_set): Mark 'set' for PCH.
2034
2035 2004-01-16 Geoffrey Keating <geoffk@apple.com>
2036
2037 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
2038 even after reload, just don't remove the actual jump tables.
2039
2040 2004-01-17 J. Brobecker <brobecker@gnat.com>
2041
2042 * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
2043 Remove checks for is_ada() and TREE_UNSIGNED.
2044 (subrange_type_die): Emit a byte_size attribute if the subrange
2045 type size is different from the base type size.
2046 (modified_type_die): Replace call to is_ada_subrange_type() by
2047 call to is_subrange_type().
2048
2049 2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
2050
2051 * config/sh/sh.c: Include ggc.h.
2052
2053 2004-01-16 Geoffrey Keating <geoffk@apple.com>
2054
2055 * Makefile.in (MD5_H): New.
2056 (fold-const.o): Depend on md5.h.
2057 (dwarf2out.o): Likewise.
2058 (cppfiles.o): Likewise.
2059 * cppfiles.c: Include md5.h.
2060 (should_stack_file): Check against list read from PCH file.
2061 (struct pchf_data): New.
2062 (pchf): New variable.
2063 (struct pchf_adder_info): New.
2064 (pchf_adder): New.
2065 (pchf_save_compare): New.
2066 (_cpp_save_file_entries): New.
2067 (_cpp_read_file_entries): New.
2068 (struct pchf_compare_data): New.
2069 (pchf_compare): New.
2070 (check_file_against_entries): New.
2071 * cpphash.h (_cpp_save_file_entries): Prototype.
2072 (_cpp_read_file_entries): Prototype.
2073 * cpppch.c (cpp_write_pch_state): Write the list of headers.
2074 (cpp_read_state): Read the list of headers.
2075
2076 2004-01-17 Jan Hubicka <jh@suse.cz>
2077
2078 * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
2079 builtin_expect specially.
2080 * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
2081 (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
2082 * invoke.texi (max-inline-insns-single): Set to 100.
2083 (large-function-insns): Set to 3000.
2084
2085 2004-01-16 Eric Christopher <echristo@redhat.com>
2086 Chandrakala Chavva <cchavva@redhat.com>
2087
2088 * cppcharset.c (one_iso88591_to_utf8): New function.
2089 (convert_iso88591_utf8): Ditto. Use.
2090 (conversion_tab): Use.
2091 (_cpp_input_to_utf8): New function.
2092 (_cpp_init_iconv_buffer): Ditto.
2093 (_cpp_close_iconv_buffer): Ditto.
2094 * cpphash.h: Prototype new functions.
2095 (cpp_buffer): Add input_cset_desc.
2096 * cppinit.c: Add input_charset default.
2097 * cpplib.c (cpp_push_buffer): Support init and
2098 close of iconv.
2099 * cpplib.h (cpp_options): Add input_charset.
2100
2101 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
2102
2103 * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
2104 * config/alpha/unicosmk.h: Remove a commented-out definition
2105 of ASM_OUTPUT_SECTION_NAME.
2106 * config/stormy16/stormy16.h: Likewise.
2107
2108 2004-01-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2109
2110 * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
2111 (alpha___extern_prefix_sys_stat): ... this.
2112 Apply to <sys/mount.h>, too.
2113 Tweak to match more variations.
2114 * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
2115
2116 * fixinc/inclhack.def (alpha___extern_prefix,
2117 alpha___extern_prefix_standards): New hacks to obey
2118 __PRAGMA_EXTERN_PREFIX.
2119 * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
2120 test.
2121 * fixinc/tests/base/standards.h: Likewise.
2122
2123 * fixincl/inclhack.def (alpha_pthread): Tweak to match more
2124 variations.
2125 New testcase.
2126 * fixinc/tests/base/pthread.h: Handle it.
2127
2128 * fixincl/inclhack.def (bad_lval): Sort file list.
2129 Add many missing files up to Tru64 UNIX V5.1B.
2130 * gcc/fixinc/tests/base/libgen.h: Renamed to ...
2131 * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
2132 order.
2133
2134 * fixinc/fixincl.x: Regenerate.
2135
2136 2004-01-16 Mark Mitchell <mark@codesourcery.com>
2137
2138 * version.c (version_string): Change to 3.5.0.
2139 * doc/include/gcc-common.texi (version-GCC): Likewise.
2140
2141 2004-01-16 Jan Hubicka <jh@suse.cz>
2142
2143 * i386.md (load_tp_di): Fix pasto.
2144
2145 PR opt/13608
2146 * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
2147
2148 * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
2149 pp_c_character_constant, pp_c_floating_constant,
2150 pp_c_additive_expression, pp_c_shift_expression,
2151 pp_c_equality_expression, pp_c_and_expression,
2152 pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
2153 pp_c_logical_and_expression): Remove inline modifier.
2154 * dwarf2out.c (get_AT): Likewise.
2155 * et-forest.c (et_splay): Likewise.
2156 * ra.h (ra_alloc, ra_calloc): Likewise
2157
2158 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
2159
2160 * config/frv/frv-protos.h: Fix comment formatting.
2161 * config/frv/frv.c: Likewise.
2162 * config/frv/frv.h: Likewise.
2163 * config/frv/frv.md: Likewise.
2164 * config/frv/frvbegin.c: Likewise.
2165 * config/frv/frvend.c: Likewise.
2166
2167 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
2168
2169 * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
2170 * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
2171 LINKER_DOES_NOT_WORK_WITH_DWARF2.
2172 (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
2173
2174 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
2175
2176 PR 11864
2177 * postreload.c (reload_cse_simplify_operands): Don't remove
2178 implicit extension from LOAD_EXTEND_OP.
2179
2180 2004-01-16 Jan Hubicka <jh@suse.cz>
2181
2182 PR opt/11350
2183 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
2184 after reload.
2185 * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
2186 rtl_try_redirect_by_replacing_branch): Likewise.
2187
2188 2004-01-15 Geoffrey Keating <geoffk@apple.com>
2189
2190 PR pch/13689
2191 * alias.c (struct alias_set_entry): Mark for GC.
2192 (alias_sets): Make static, mark for GC.
2193 (record_alias_subset): Use GC to allocate alias structures.
2194 * varray.c (element): Make generic varrays GCed.
2195
2196 PR pch/13361
2197 * c-typeck.c (constructor_asmspec): Delete.
2198 (struct initializer_stack): Delete field 'asmspec'.
2199 (start_init): Delete saving of asmspec.
2200 (finish_init): Don't update constructor_asmspec.
2201 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
2202 * stmt.c (expand_asm): Duplicate strings from tree.
2203 (expand_asm_operands): Likewise.
2204 * tree.c (tree_size): Update computation of size of STRING_CST.
2205 (make_node): Don't make STRING_CST nodes.
2206 (build_string): Allocate string with tree node.
2207 * tree.def (STRING_CST): Update comment.
2208 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
2209 (tree_string): Place contents of string in tree node.
2210 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
2211 from tree.
2212
2213 * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
2214 altivec operands.
2215
2216 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
2217
2218 * c-common.h: Fix comment formatting.
2219 * c-cppbuiltin.c: Likewise.
2220 * c-pragma.c: Likewise.
2221 * calls.c: Likewise.
2222 * collect2.c: Likewise.
2223 * cppcharset.c: Likewise.
2224 * cpptrad.c: Likewise.
2225 * dbxout.c: Likewise.
2226 * defaults.h: Likewise.
2227 * dwarf2out.c: Likewise.
2228 * fold-const.c: Likewise.
2229 * genautomata.c: Likewise.
2230 * genconditions.c: Likewise.
2231 * genflags.c: Likewise.
2232 * gengtype.c: Likewise.
2233 * integrate.c: Likewise.
2234 * loop.c: Likewise.
2235 * predict.c: Likewise.
2236 * sdbout.c: Likewise.
2237
2238 2004-01-15 Zack Weinberg <zack@codesourcery.com>
2239
2240 * config/ia64/ia64.md (*movti_internal): C output template
2241 extracted to ia64.c.
2242 (*movti_internal_reg): Delete.
2243 (reload_inti, reload_outti): Use the correct mode on operand 2
2244 in the first place, don't fix it up in the output template.
2245 (movtf, reload_ointf, reload_outtf): New expanders.
2246 (*movtf_internal): New define_insn_and_split.
2247 * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
2248 make static; do not hand TFmode CONST_DOUBLEs to split_double.
2249 (ia64_split_tmode_move): New function, body mostly pulled
2250 from ia64.md:*movti_internal.
2251 (ia64_function_arg_words): New function, extracted common
2252 logic from ia64_function_arg et seq.
2253 (ia64_function_arg_offset): Likewise. Handle correctly the
2254 case of a scalar quantity 16 bytes wide with only 8-byte alignment.
2255 (ia64_function_arg, ia64_function_arg_partial_nregs)
2256 (ia64_function_arg_advance): Use ia64_function_arg_words and
2257 ia64_function_arg_offset.
2258 (ia64_function_value): TCmode does not go in float regs.
2259 (ia64_secondary_reload_class): Also handle TFmode.
2260 * config/ia64/ia64-protos.h: Remove prototype for
2261 ia64_split_timode; add prototype for ia64_split_tmode_move.
2262
2263 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
2264
2265 * Makefile.in (MAINT): Make it an immediate assignment.
2266
2267 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
2268
2269 * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
2270
2271 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
2272
2273 * config/h8300/coff.h: Replace Hitachi with Renesas.
2274 * config/h8300/elf.h: Likewise.
2275 * config/h8300/h8300-protos.h: Likewise.
2276 * config/h8300/h8300.c: Likewise.
2277 * config/h8300/h8300.h: Likewise.
2278 * config/h8300/h8300.md: Likewise.
2279 * config/h8300/lib1funcs.asm: Likewise.
2280
2281 2004-01-15 Andrew Pinski <apinski@apple.com>
2282
2283 * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
2284 around it.
2285
2286 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
2287
2288 * config/h8300/h8300.c (h8300_return_in_memory): New.
2289 (TARGET_STRUCT_VALUE_RTX): Likewise.
2290 (TARGET_RETURN_IN_MEMORY): Likewise.
2291 * config/h8300/h8300.h (STRUCT_VALUE): Remove.
2292 (RETURN_IN_MEMORY): Likewise.
2293
2294 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
2295
2296 PR optimization/13375
2297 * gcse.c (handle_avail_expr): Just return if the source is not a
2298 single set.
2299
2300 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
2301 Daniel Jacobowitz <drow@mvista.com>
2302
2303 * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
2304 (EQUIV): Define.
2305 (ARM_FUNC_ALIAS): New macro.
2306 * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
2307 * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
2308
2309 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2310
2311 PR optimization/12372
2312 * calls.c (expand_call): Add call_fusage data for stack arguments in
2313 constant calls.
2314
2315 2004-01-15 Alan Modra <amodra@bigpond.net.au>
2316
2317 * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
2318 (rs6000_elf_declare_function_name): Formatting.
2319 * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
2320
2321 2004-01-15 Jan Hubicka <jh@suse.cz>
2322
2323 PR bootstrap/13692
2324 * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
2325 previous patch.
2326
2327 2004-01-15 Richard Henderson <rth@redhat.com>
2328
2329 * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
2330 integer regs of the same call-savedness.
2331
2332 2004-01-15 Andreas Schwab <schwab@suse.de>
2333
2334 PR bootstrap/13562
2335 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
2336 status for NOTB/NOTW/NEGW methods.
2337
2338 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
2339
2340 * doc/invoke.texi: Update dump file names. Fix a typo.
2341
2342 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
2343
2344 * builtins.c (expand_builtin_va_end): Don't use
2345 EXPAND_BUILTIN_VA_END.
2346 * system.h (EXPAND_BUILTIN_VA_END): Poison.
2347 * config/d30v/d30v.h: Remove a commented-out definition of
2348 EXPAND_BUILTIN_VA_END.
2349 * config/stormy16/stormy16.h: Likewise.
2350
2351 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
2352
2353 * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
2354 * targhooks.c (default_struct_value_rtx): Don't use
2355 STRUCT_VALUE_INCOMING_REGNUM.
2356
2357 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
2358
2359 PR bootstrap/12744
2360 * configure.in: Revamp enable-generated-files-in-srcdir rule to define
2361 GENINSRC and not parsedir. Define srcextra as a langhook.
2362 * configure: Regenerate.
2363 * Makefile.in: Suppress default .l.c rule. Don't substitute
2364 parsedir and delete all references throughout. Conditionally define
2365 rule for srcextra dependent on GENINSRC.
2366 (stmp-docobjdir): Delete.
2367 (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
2368 (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
2369 and gengtype-yacc.h back to source directory.
2370 (maintainer-clean): Delete all parse files in source directory.
2371 (distclean): Delete generated files.
2372
2373 * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
2374 (objc-parse.c, objc-parse.y): Don't use parsedir.
2375 (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
2376 directory if requested.
2377 (po-generated): Don't use parsedir.
2378 (objc.maintainer-clean): Delete above files from source directory.
2379
2380 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
2381
2382 * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
2383
2384 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
2385
2386 * doc/tm.texi: Replace RETURN_IN_MEMORY with
2387 TARGET_RETURN_IN_MEMORY.
2388
2389 2004-01-15 Jan Hubicka <jh@suse.cz>
2390
2391 * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
2392 * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
2393 functions accepting SSE arguments
2394 (function_arg): Warn only when asked to warn.
2395 * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
2396
2397 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
2398
2399 * c-parse.in (stmts_and_decls): Make label at end of compound
2400 statement a hard error.
2401
2402 2004-01-14 Jan Hubicka <jh@suse.cz>
2403
2404 * cgraph.c (create_edge): Use local.redefined_extern_inline.
2405 * cgraph.h (cgraph_local_info): Sort fields by size; add
2406 redefined_extern_inline
2407 (cgraph_global_info): Sort fields by size.
2408 (cgraph_node): Likewise.
2409 * cgraphunit.c (cgraph_finalize_function): Se
2410 local.redefined_extern_inline on redefinition.
2411 (cgraph_analyze_function): Use it; fix formating.
2412
2413 2004-01-14 Jan Hubicka <jh@suse.cz>
2414
2415 PR c++/10776
2416 * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
2417 outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
2418 bitmaps
2419 (cache_size): New variable
2420 (add_dependence): Update use; canonize early memory locations
2421 (sched_analyze_1): Likewise.
2422 (sched_analyze_2): Likewise.
2423 (init_dependency_caches): Initialize bitmaps.
2424 (free_dependency_caches): Free bitmaps
2425
2426 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
2427
2428 * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
2429 targetm.calls.strict_argument_naming().
2430 * target.h: Likewise.
2431
2432 2004-01-14 Richard Henderson <rth@redhat.com>
2433
2434 PR debug/13231
2435 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
2436 instructions.
2437
2438 2004-01-14 Richard Henderson <rth@redhat.com>
2439
2440 PR c++/12491
2441 * except.c (struct eh_region): Add u.fixup.resolved.
2442 (resolve_one_fixup_region): Split out from ...
2443 (resolve_fixup_regions): ... here.
2444
2445 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
2446
2447 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
2448
2449 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
2450
2451 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
2452 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
2453 (STRUCT_VALUE): Remove.
2454
2455 2004-01-14 Steven Bosscher <stevenb@suse.de>
2456
2457 * system.h: Poison PROMOTED_MODE
2458 * integrate.c (expand_inline_function): Don't mention the
2459 PROMOTED_MODE.
2460 * loop.c (update_giv_derive): Same.
2461 * tree.h (DECL_RTL): Same.
2462
2463 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
2464
2465 PR target/9365
2466 * sh.c (gen_block_redirect): Add special handling of RETURN.
2467 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
2468 far branch target (i.e. it's a return).
2469
2470 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
2471
2472 * regrename.c (find_oldest_value_reg): Fix a warning.
2473
2474 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
2475
2476 PR bootstrap/12527
2477 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
2478 Move linux-gas.h and linux-elf.h before aout.h.
2479 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
2480 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
2481
2482 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
2483
2484 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
2485 (CONST_INT, VOIDmode, ...).
2486
2487 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
2488
2489 * regrename.c (find_oldest_value_reg): If the replacement uses
2490 multiple hard registers, check that all of them are in CLASS.
2491
2492 2004-01-14 Jan Hubicka <jh@suse.cz>
2493
2494 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
2495 impossible.
2496
2497 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
2498
2499 * Makefile.in: Define MAINT from --enable-maintainer-mode.
2500
2501 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
2502
2503 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
2504 Calculate always vrsave_mask if TARGET_ALTIVEC.
2505 (rs6000_emit_prologue): Emit code for vrsave
2506 only if TARGET_ALTIVEC_VRSAVE.
2507 (rs6000_emit_epilogue): Likewise.
2508
2509 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
2510
2511 * config/sparc/sparc.md (tie_add32): Fix pasto.
2512 (tie_add64): Likewise.
2513
2514 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2515
2516 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
2517
2518 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
2519
2520 * config/iq2000/iq2000-protos.h: Fix comment formatting.
2521 * config/iq2000/iq2000.c: Likewise.
2522 * config/iq2000/iq2000.md: Likewise.
2523
2524 2004-01-14 J. Brobecker <brobecker@gnat.com>
2525
2526 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
2527 (subrange_type_die): Add handle for nameless subrange types.
2528
2529 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
2530
2531 * config/h8300/h8300-protos.h: Replace do_movsi with
2532 h8300_expand_movsi.
2533 * config/h8300/h8300.c (do_movsi): Change to
2534 h8300_expand_movsi.
2535 * config/h8300/h8300.md (movsi): Replace do_movsi with
2536 h8300_expand_movsi.
2537 (movsf): Likewise.
2538
2539 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
2540
2541 * config/h8300/h8300.c (dosize): Change to
2542 h8300_emit_stack_adjustment. Update callers.
2543
2544 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
2545
2546 * config/h8300/h8300.md (movstrictqi): Add an alternative with
2547 the source being post_inc. Tighten the predicate for the
2548 destination to register_operand.
2549 (movstricthi): Likewise.
2550
2551 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
2552
2553 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
2554 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
2555 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
2556
2557 2004-01-14 Jan Hubicka <jh@suse.cz>
2558
2559 Partial fix PR c++/12850
2560 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
2561 at zero nest level.
2562
2563 2004-01-13 Bernardo Innocenti <bernie@develer.com>
2564
2565 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
2566 pseudo-register.
2567
2568 2004-01-13 Devang Patel <dpatel@apple.com
2569
2570 PR debug/7078
2571 * dbxout.c (dbxout_symbol_name): Emit mangled names for
2572 NAMESPACE_DECL memebers.
2573
2574 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
2575
2576 PR c++/12709
2577 * c-common.c (finish_fname_decls): Use the chain only if the
2578 tree is an expr_stmt.
2579
2580 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
2581
2582 * rtl.def: Add comment about new option in automata_option.
2583
2584 * genautomata.c (PROGRESS_OPTION): New macro.
2585 (progress_flag): New global variable.
2586 (gen_automata_option): Process `progress'.
2587 (transform_insn_regexps, check_unit_distributions_to_automata,
2588 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
2589 expand_automata, write_automata): Print about the progress only if
2590 progress_flag. Remove fflush.
2591 (initiate_automaton_gen): Process command line flag `-progress'.
2592
2593 * doc/md.texi: Describe the new option.
2594
2595 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2596
2597 * cfg.c (dump_bb): Dump entry edges.
2598
2599 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
2600
2601 * arm.c (thumb_legitimate_address_p): Only allow constant pool
2602 references from SImode.
2603 * arm.md (thumb_movhi_insn): Don't allow minipool references.
2604
2605 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
2606
2607 * system.h (TEXT_SECTION): Poison.
2608 * varasm.c (text_section): Don't use TEXT_SECTION.
2609 * config/sh/sh.c (sh_file_start): Fix a comment typo.
2610 * doc/tm.texi (TEXT_SECTION): Remove.
2611
2612 2004-01-13 Ben Elliston <bje@wasabisystems.com>
2613
2614 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
2615
2616 2004-01-12 James E Wilson <wilson@specifixinc.com>
2617
2618 * unwind-libunwind.c: Delete.
2619
2620 2004-01-12 Zack Weinberg <zack@codesourcery.com>
2621
2622 PR 13656
2623 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
2624 oldtype is set, set *newtypep or *oldtypep too. Do not set
2625 them at the very end.
2626 (validate_proto_after_old_defn): Restructure for comprehensibility;
2627 make error messages clearer.
2628
2629 2004-01-12 Zack Weinberg <zack@codesourcery.com>
2630
2631 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
2632 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
2633 * varray.c: No need to prototype error.
2634 (varray_check_failed): Wrap long string onto two lines.
2635 (varray_underflow): New function.
2636
2637 2004-01-13 Steven Bosscher <stevenb@suse.de>
2638
2639 PR c++/13376
2640 * function.h (struct function): Kill `name' field.
2641 (current_function_name): Make it an extern function.
2642 * function.c (current_function_name): New function.
2643 * graph.c: Update all uses of current_function_name.
2644 * gcse.c: Likewise.
2645 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
2646 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
2647 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
2648 instead of a strcmp with "main".
2649
2650 2004-01-13 Jan Hubicka <jh@suse.cz>
2651
2652 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
2653
2654 * cgraphunit.c (cgraph_optimize_function): Always do
2655 optimize_inline_calls when there is always_inline callee.
2656 (cgraph_decide_inlining): Fix formating.
2657 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
2658 functions.
2659 (expand_call_inline): Likewise.
2660 * toplev.h (sorry): Fix prototype.
2661
2662 2004-01-12 Roger Sayle <roger@eyesopen.com>
2663
2664 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
2665 conditional jumps that drop through to unconditional jumps or the
2666 end of the sequence.
2667
2668 2004-01-13 Jan Hubicka <jh@suse.cz>
2669
2670 * alias.c (new_alias_set): Construct the alias_set varray.
2671 (init_alias_once): Don't do it here.
2672
2673 2004-01-12 Marc Espie <espie@openbsd.org>
2674
2675 * system.h: handle YYBYACC like YYBISON.
2676
2677 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
2678
2679 PR target/10847
2680 * config.gcc: No longer includes conflicting header sparc/sol2.h when
2681 building on sparc64-*-openbsd*.
2682
2683 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
2684
2685 PR debug/13539
2686 * dbxout.c (dbxout_type): Protected inheritance is not
2687 private but protected.
2688
2689 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
2690
2691 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
2692
2693 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
2694
2695 PR optimization/12508.
2696 * combine.c (try_combine): Remove a dead set in a parallel
2697 even if its destination is a subreg.
2698
2699 Revert:
2700 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
2701 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
2702 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
2703
2704 2004-01-12 Geoffrey Keating <geoffk@apple.com>
2705
2706 * real.c: Update copyright date.
2707 * emit-rtl.c: Likewise.
2708 * rtl.h: Likewise.
2709 * dwarf2out.c: Likewise.
2710 * config/rs6000/darwin-ldouble.c: Likewise.
2711 * config/rs6000/rs6000.md: Likewise.
2712
2713 2004-01-12 David Edelsohn <edelsohn@gnu.org>
2714
2715 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
2716 TFmode to SImode libfuncs.
2717
2718 2004-01-12 Roger Sayle <roger@eyesopen.com>
2719
2720 PR middle-end/11397
2721 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
2722
2723 2004-01-12 Jan Hubicka <jh@suse.cz>
2724
2725 PR opt/12826
2726 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
2727 stored.
2728
2729 PR opt/12863
2730 * cfgcleanup.c (label_is_jump_target_p): Move to...
2731 * rtlanal.c (label_is_jump_target_p): ... here.
2732 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
2733 edges unified with branch edges.
2734
2735 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
2736
2737 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
2738 high word of an integral CONST_DOUBLE.
2739
2740 2004-01-12 Paul Brook <paul@codesourcery.com>
2741
2742 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
2743
2744 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
2745
2746 PR target/13585
2747 * sh-protos.h (check_use_sfunc_addr): Declare.
2748 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
2749 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
2750
2751 2004-01-12 Jan Hubicka <jh@suse.cz>
2752
2753 * alias.c: Invlude varray.h
2754 (alias_sets): Turn into varray.
2755 (get_alias_set_entry): Use VARRAY; mark inline.
2756 (mems_in_disjoint_alias_sets_p): Mark inline.
2757 (record_alias_subset): Use varray.
2758 (init_alias_once): Initialize varray.
2759 (new_alias_set): Grow array.
2760 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
2761
2762 2004-01-12 Jan Hubicka <jh@suse.cz>
2763
2764 Partial fix for PR opt/10776 II
2765 * cselib.c: Include params.h
2766 (cselib_invalidate_mem): Limit amount of nonconflicting memory
2767 locations.
2768 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
2769 * Makefile.in (cselib.o): Depend on params.h
2770
2771 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
2772
2773 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
2774 simplify_unary_operation if the operand has a known mode.
2775
2776 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
2777
2778 PR target/13534
2779 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
2780 predicate to handle 'ld' conform addresses.
2781 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
2782 contraint.
2783 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
2784 are memory contraints.
2785 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
2786 New prototype.
2787 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
2788 Change 'o' to 'Y' constraint.
2789 (*movdf_softfloat64): Ditto.
2790
2791 2004-01-12 Bernardo Innocenti <bernie@develer.com>
2792
2793 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
2794 brace-enclosed syntax in all C output statements.
2795
2796 2004-01-12 David Edelsohn <edelsohn@gnu.org>
2797
2798 PR target/13401
2799 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
2800 Objective-C language type value is 14.
2801
2802 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
2803
2804 PR c/12148
2805 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
2806 `int' in a number of places to make sure we always have a SImode
2807 and not a HImode. Add a 'L' suffix to a number of constants.
2808
2809 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2810
2811 * pa.c: Don't include obstack.h.
2812
2813 * pa.md: Correct constraint in pattern for loading PIC label address.
2814
2815 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
2816
2817 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
2818 before defining.
2819
2820 2004-01-11 Steven Bosscher <stevenb@suse.de>
2821
2822 PR fortran/9972
2823 * toplev.c (rest_of_handle_inline): Also consider functions
2824 for deferral if the language is GNU F77.
2825
2826 2004-01-11 Zack Weinberg <zack@codesourcery.com>
2827
2828 * c-decl.c (diagnose_arglist_conflict): Add missing space to
2829 diagnostic messages.
2830
2831 2004-01-11 Jakub Jelinek <jakub@redhat.com>
2832
2833 PR middle-end/13392
2834 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
2835 to drop through label. Don't fall back to SCC even when conditional
2836 jump has not been found.
2837
2838 2004-01-11 Jan Hubicka <jh@suse.cz>
2839
2840 * invoke.texi: Fix syntax error in previous patch.
2841
2842 Partial fix for PR opt/10776
2843 * Makefile.in (reload.o): Include param.h
2844 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
2845 * reload.c: Include params.h.
2846 (find_equiv_reg): Work limiting check.
2847 * invoke.texi: Document.
2848
2849 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
2850
2851 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
2852 out-of-bounds accesses to string constants. Simplify mips16
2853 case accordingly.
2854
2855 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
2856
2857 PR optimization/13469
2858 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
2859 reload_cse_regs (-fnon-call-exceptions only).
2860
2861 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
2862
2863 * config/mcore/lib1.asm: Fix comment formatting.
2864 * config/mcore/mcore-elf.h: Likewise.
2865 * config/mcore/mcore.c: Likewise.
2866 * config/mcore/mcore.h: Likewise.
2867 * config/mcore/mcore.md: Likewise.
2868
2869 2004-01-10 Zack Weinberg <zack@codesourcery.com>
2870
2871 * c-decl.c (duplicate_decls): Break apart into...
2872 (diagnose_arglist_conflict, validate_proto_after_old_defn)
2873 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
2874 ... these new functions. Restructure for comprehensibility.
2875 Remove various archaic special cases. Always report the
2876 location of the previous declaration when a diagnostic is issued.
2877 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
2878 (match_builtin_function_types): Delete unnecessary forward declaration.
2879
2880 2004-01-10 Zack Weinberg <zack@codesourcery.com>
2881
2882 * genautomata.c (make_automaton, NDFA_to_DFA):
2883 Print progress bars with '.' characters instead of '*'.
2884 (build_automaton): Change notes to match.
2885
2886 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
2887
2888 * config/m32r/m32r.md: Use define_constants for unspec and
2889 unspec_volatile.
2890
2891 2004-01-10 Jan Hubicka <jh@suse.cz>
2892
2893 PR opt/11635
2894 * expr.c (expand_expr_real): More curefully expand union casts.
2895
2896 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
2897
2898 * config/m32r/m32r.md (flush_icache): Use 1 for
2899 unspec_volatile.
2900
2901 2004-01-10 David Edelsohn <edelsohn@gnu.org>
2902 James E Wilson <wilson@specifixinc.com>
2903
2904 PR debug/12860
2905 * dbxout.c (dbxout_symbol): Remove initialization of
2906 current_sym_code, current_sym_value, and current_sym_addr.
2907 (dbxout_symbol_location): Same.
2908 (dbxout_prepare_symbol): Zero current_sym_code,
2909 current_sym_value, and current_sym_addr.
2910
2911 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
2912
2913 * tree.c (get_unwidened): Reorder conditions so that the null pointer
2914 check is done first.
2915
2916 2004-01-09 Eric Christopher <echristo@redhat.com>
2917
2918 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
2919 if we're running mark_constant_function.
2920
2921 2004-01-09 Jeff Bailey <jbailey@nisa.net>
2922
2923 PR target/12561
2924 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
2925
2926 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
2927
2928 PR debug/11231
2929 * dbxout.c (dbxout_type_fields): Return if any item is
2930 error_mark_node or the type is error_mark_node.
2931
2932 2004-01-09 Geoffrey Keating <geoffk@apple.com>
2933
2934 * config/rs6000/darwin-ldouble.c: Add big comment explaining
2935 exactly what is expected as a 'long double'.
2936 (_xlqadd): When a value to be returned is representable as a
2937 'double', just return it directly, do not construct it using a union.
2938 Also, correct final fixup.
2939 (_xlqmul): Likewise.
2940 (_xlqdiv): Likewise.
2941 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
2942
2943 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
2944
2945 2004-01-09 Richard Henderson <rth@redhat.com>
2946
2947 * recog.c (constrain_operands): Validate mem operands.
2948
2949 2004-01-09 James E Wilson <wilson@specifixinc.com>
2950
2951 * gcc.c (init_spec): Remove -lunwind from shared case.
2952 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
2953
2954 2004-01-09 Steve Ellcey <sje@cup.hp.com>
2955
2956 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
2957 * configure: Regenerate
2958
2959 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
2960
2961 PR c/11234
2962 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
2963 between function and object pointers.
2964 (digest_init): When comparing a pointer to function type to the
2965 target type, only apply TREE_TYPE once to the pointer to function
2966 type.
2967 * except.c (for_each_eh_label_1): Treat data as a pointer to a
2968 function pointer rather than casting it to a function pointer.
2969 (for_each_eh_label): Update caller.
2970 * recog.h (struct insn_data): Use a struct or union for output.
2971 * genoutput.c (output_insn_data): Update.
2972 * final.c (get_insn_template): Update.
2973
2974 2004-01-09 Mark Mitchell <mark@codesourcery.com>
2975
2976 * expr.h (expand_expr): Make it a macro, not a function.
2977 (expand_expr_real): New function.
2978 * expr.c (store_expr): Adjust logic for deciding whether or not to
2979 copy the value returned by expand_expr.
2980 (expand_expr): Rename to ...
2981 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
2982 calls to language hooks.
2983 * c-common.h (c_expand_expr): Adjust prototype.
2984 * c-common.c (c_expand_expr): Add alt_rtl parameter.
2985 * langhooks-def.h (lhd_expand_expr): Change prototype.
2986 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
2987 * langhooks.h (lang_hooks): Change type of expand_expr.
2988 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
2989 (last_expr_alt_rtl): Likewise.
2990 (expand_expr_stmt_value): Set last_expr_alt_rtl.
2991 (clear_last_expr): Clear it.
2992 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
2993 (expand_end_bindings): Save and restor last_expr_alt_rtl.
2994 * tree.def (RTL_EXPR): Give it an additional operand.
2995 * tree.h (RTL_EXPR_ALT_RTL): New macro.
2996
2997 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2998
2999 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
3000 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
3001
3002 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
3003
3004 PR target/13380.
3005 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
3006 or (ne:SI (reg:CC 17) (const_int 0)).
3007 Be specific about modes wherever possible.
3008
3009 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
3010
3011 * config/m32r/m32r.c (m32r_expand_block_move): Call
3012 gen_movestrsi_internal with two more arguments.
3013 (m32r_output_block_move): Adjust operand numbers.
3014 Properly update the source and destination pointers.
3015 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
3016 'r+'. Change the set detinations to match_operand.
3017
3018 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
3019
3020 * final.c (FIRST_INSN_ADDRESS): Remove.
3021 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
3022 * system.h (FIRST_INSN_ADDRESS): Poison.
3023 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
3024 * config/m32r/m32r-protos.h: Remove the prototype for
3025 m32r_first_insn_address.
3026 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
3027 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
3028 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
3029
3030 2004-01-09 J. Brobecker <brobecker@gnat.com>
3031
3032 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
3033 we just created.
3034 (is_ada_subrange_type): DIEs for enumeration subtypes should be
3035 emitted as subrange types too.
3036 (subrange_type_die): Add handling of enumeration subtypes.
3037
3038 2004-01-08 Richard Henderson <rth@redhat.com>
3039
3040 PR opt/12441
3041 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
3042 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
3043 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
3044 (ix86_address_cost): Be prepared for SUBREGed registers.
3045 (legitimate_address_p): Accept SUBREGed registers.
3046
3047 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
3048
3049 * Makefile.in: Rename configure.in to configure.ac
3050 * doc/sourcebuild.texi: Likewise.
3051 * configure: Regenerate.
3052 * config.in: Regenerate.
3053
3054 2004-01-08 Stuart Hastings <stuart@apple.com>
3055
3056 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
3057
3058 2004-01-08 Jan Hubicka <jh@suse.cz>
3059
3060 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
3061
3062 2004-01-08 Geoffrey Keating <geoffk@apple.com>
3063
3064 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
3065 (UNSPEC_FIX_TRUNC_TF): New constant.
3066 (movtf_internal): Make splitter active only when insn is active.
3067 (extenddftf2): Rewrite to properly load zero into low part.
3068 (extenddftf2_internal): New.
3069 (extendsftf2): Rewrite.
3070 (truncdftf2): Correct length.
3071 (floatditf2): Delete.
3072 (fix_trunc_helper): New.
3073 (fix_trunctfdi2): Use fix_trunc_helper.
3074 (fix_trunctfsi2): Likewise.fix_trunc
3075 (fix_trunctfsi2_internal): New.
3076
3077 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
3078 addresses are legitimate on Darwin even when flag_pic.
3079 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
3080 non-offsettable addresses for loads of TFmode constants.
3081
3082 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3083
3084 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
3085 variables in the appropriate bss section.
3086
3087 2004-01-09 Alan Modra <amodra@bigpond.net.au>
3088
3089 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
3090 target_flags has MASK_POWERPC64 when -m64.
3091 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
3092 to 620, 630, power3, power4 and rs64a entries.
3093 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
3094
3095 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
3096
3097 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
3098 floating-point constants.
3099
3100 2004-01-08 J. Brobecker <brobecker@gnat.com>
3101
3102 * dwarf2out.c (subrange_type_die): Add context_die parameter.
3103 Create the subrange_type DIE using the given context DIE.
3104 (modified_type_die): Update call to subrange_type_die.
3105
3106 2004-01-08 Zack Weinberg <zack@codesourcery.com>
3107
3108 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
3109 Add multiple-include guard.
3110
3111 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
3112
3113 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
3114 all vector constant loadable by vsplt*.
3115 (output_vec_const_move): Likewise.
3116
3117 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
3118
3119 PR c/6024
3120 * c-typeck.c (comptypes): Only treat enumerated types in the same
3121 translation unit as compatible with each other when they are the
3122 same type.
3123 * doc/extend.texi: Update.
3124
3125 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
3126
3127 PR c/12165
3128 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
3129 array type from the array element type.
3130
3131 2004-01-07 Alan Modra <amodra@bigpond.net.au>
3132
3133 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
3134 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
3135 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
3136 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
3137 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
3138
3139 2004-01-06 Eric Christopher <echristo@redhat.com>
3140
3141 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
3142 (DWARF2_DEBUGGING_INFO): Define.
3143 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
3144 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
3145 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
3146 for irix as.
3147 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
3148 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
3149 * config/mips/iris5gas.h: Ditto.
3150 (DBX_DEBUGGING_INFO): Remove.
3151 (DWARF2_DEBUGGING_INFO): Ditto.
3152 (MIPS_DEBUGGING_INFO): Ditto.
3153 (PREFERRED_DEBUGGING_TYPE): Ditto.
3154 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
3155 (PREFERRED_DEBUGGING_TYPE): Ditto.
3156 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
3157 * config/mips/elf64.h: Ditto.
3158
3159 2004-01-06 Jan Hubicka <jh@suse.cz>
3160
3161 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
3162 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
3163
3164 2004-01-06 Geoffrey Keating <geoffk@apple.com>
3165
3166 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
3167 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
3168 * config/rs6000/darwin-ldouble.c: New.
3169
3170 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
3171 for constants.
3172 (constant_subword): Delete.
3173 * rtl.h (constant_subword): Delete prototype.
3174 (immed_double_const): Is not in varasm.c.
3175 * simplify-rtx.c (simplify_immed_subreg): New.
3176 (simplify_subreg): Use simplify_immed_subreg.
3177
3178 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
3179 than trying to generate RTL directly.
3180 (fix_trunctfsi2): Use expand_fix rather than trying to generate
3181 RTL directly.
3182
3183 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
3184
3185 2004-01-06 David Edelsohn <edelsohn@gnu.org>
3186
3187 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
3188 function into a separate macro.
3189 (read_only_data_section): Add void argument.
3190 (private_data_section): Same.
3191 (read_only_private_data_section): Same.
3192 (toc_section): Same.
3193
3194 2004-01-06 Jan Hubicka <jh@suse.cz>
3195
3196 * invoke.texi: Remove typo in last change.
3197
3198 PR target/10301
3199 * config.gcc: Accept opteron and athlon-64 as variants
3200 of k8.
3201 * i386.c (override_options): Likewise.
3202 * invoke.texi (i386 -mtune): Expand documentation.
3203
3204 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
3205
3206 * alias.c: Fix comment typos.
3207 * builtins.c: Likewise.
3208 * cfg.c: Likewise.
3209 * df.c: Likewise.
3210 * dominance.c: Likewise.
3211 * dwarf2out.c: Likewise.
3212 * emit-rtl.c: Likewise.
3213 * expr.c: Likewise.
3214 * final.c: Likewise.
3215 * fold-const.c: Likewise.
3216 * gcse.c: Likewise.
3217 * genattrtab.c: Likewise.
3218 * genrecog.c: Likewise.
3219 * gensupport.c: Likewise.
3220 * ggc-zone.c: Likewise.
3221 * integrate.c: Likewise.
3222 * local-alloc.c: Likewise.
3223 * loop.c: Likewise.
3224 * recog.c: Likewise.
3225 * regmove.c: Likewise.
3226 * reg-stack.c: Likewise.
3227 * reorg.c: Likewise.
3228 * rtlanal.c: Likewise.
3229 * rtl.h: Likewise.
3230 * sched-ebb.c: Likewise.
3231 * simplify-rtx.c: Likewise.
3232 * toplev.c: Likewise.
3233 * varasm.c: Likewise.
3234
3235 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
3236
3237 * doc/install.texi: Fix typos.
3238 * doc/invoke.texi: Likewise.
3239 * doc/md.texi: Likewise.
3240
3241 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3242
3243 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
3244
3245 2004-01-06 Jan Hubicka <jh@suse.cz>
3246
3247 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
3248 (function_arg_advance): Do not pass aggregates in SSE; deal handling
3249 of MMX_REGPARM.
3250 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
3251 add MMX_REGPARM.
3252 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
3253 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
3254 (MMX_REGPARM_MAX): Similarly for -mmmx.
3255
3256 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
3257
3258 * config/sh/linux.h: Fix comment formatting.
3259 * config/sh/netbsd-elf.h: Likewise.
3260 * config/sh/sh.c: Likewise.
3261 * config/sh/sh.h: Likewise.
3262 * config/sh/vxworks.h: Likewise.
3263
3264 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
3265
3266 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
3267 * toplev.c (output_file_directive): Don't use
3268 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
3269
3270 2004-01-05 Steven Bosscher <s.bosscher@student.tudelft.nl>
3271
3272 * toplev.c: Fix broken checkin of 2003-12-30.
3273
3274 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
3275
3276 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
3277 (USING_MMAP): We don't support non-mmap.
3278 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
3279 large objects.
3280 (struct page_entry): Remove bytes_free.
3281 (struct page_table_chain): Remove.
3282 (struct globals): Remove page_table member.
3283 (loookup_page_table_entry): Function deleted.
3284 (set_page_table_entry): Ditto.
3285 (ggc_allocated_p): No longer need page table lookups.
3286 (ggc_marked_p): Ditto.
3287 (alloc_small_page): Don't care about bytes_free anymore.
3288 (alloc_large_page): Round up size.
3289 (ggc_alloc_zone_1): Mark large objects as such, and calculate
3290 their size the new way.
3291 Remove page table lookups and setting.
3292 (ggc_get_size): Calculate large object size the new way.
3293 (sweep_pages): Redo to account for fact that we no longer have
3294 bytes_free.
3295 (ggc_collect): No longer need to reincrement bytes_free.
3296 (ggc_pch_alloc_object): Handle new large objects properly.
3297 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
3298
3299 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
3300
3301 * doc/invoke.texi: Remove a page break.
3302
3303 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
3304
3305 * config/avr/avr.c (avr_output_function_prologue): Remove an
3306 extra pair of curly braces.
3307
3308 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
3309
3310 * config/mn10300/mn10300.c: Fix comment formatting.
3311 * config/mn10300/mn10300.h: Likewise.
3312
3313 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3314
3315 * tree.h: Update documentation on nothrow_flag.
3316 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
3317 types.
3318
3319 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
3320
3321 * doc/invoke.texi: Remove traces of dead ports.
3322
3323 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
3324
3325 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
3326 option.
3327
3328 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
3329
3330 PR target/12945
3331 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
3332 counter labels.
3333 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
3334 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
3335 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
3336 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
3337 (mips_symbol_insns): Don't trust the local/global classification.
3338 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
3339 (override_options): Make -mabicalls -fno-unit-at-a-time imply
3340 -mno-explicit-relocs.
3341 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
3342 between local and global symbols.
3343
3344 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
3345
3346 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
3347 (mips_preferred_reload_class): Declare.
3348 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
3349 (EXTRA_CONSTRAINT): Update accordingly.
3350 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
3351 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
3352 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
3353 mips_dangerous_for_la25_p.
3354 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
3355 if mips_dangerous_for_la25_p.
3356
3357 2004-01-05 Bernardo Innocenti <bernie@develer.com>
3358
3359 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
3360 warning.
3361
3362 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
3363
3364 * configure.ac: Use AC_PROG_CPP_WERROR.
3365 * configure: Regenerate.
3366
3367 2004-01-04 Zack Weinberg <zack@codesourcery.com>
3368
3369 * .cvsignore: Add autom4te.cache.
3370
3371 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
3372
3373 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
3374 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
3375 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
3376 then architecture options, then ABI options. General rewording.
3377
3378 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
3379
3380 PR c/3414
3381 * doc/extend.texi: Clarify definition of malloc attribute.
3382
3383 2004-01-04 Jan Hubicka <jh@suse.cz>
3384
3385 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
3386 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
3387 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
3388 (cgraph_inline_p): Add extra argument reason.
3389 * cgraphunit.c: Minor formating fixes.
3390 cgraph_first_inlined_callee): New functions.
3391 (record_call_1): Record builtins too.
3392 (cgraph_analyze_function): Update inline_failed messages.
3393 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
3394 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
3395 (cgraph_check_inline_limits): Likewise; Add argument reason.
3396 (cgraph_set_inline_failed): New static function.
3397 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
3398 reasons.
3399 (cgraph_inline_p): Add new argument reason.
3400 * tree-inline.c (expand_call_inline): Update warning.
3401
3402 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
3403
3404 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
3405 with modern equivalents.
3406 * configure: Regenerate.
3407
3408 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
3409 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
3410 * configure: Regenerate.
3411
3412 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
3413
3414 * configure.in: Rename to configure.ac.
3415 * configure.ac: Renamed from configure.in; make minimum necessary
3416 changes for autoconf 2.5x.
3417 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
3418 * configure: Regenerate with autoconf 2.57.
3419
3420 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
3421
3422 * config/mips/linux.h: Fix comment formatting.
3423 * config/mips/mips.c: Likewise.
3424 * config/mips/mips.h: Likewise.
3425 * config/mips/mips.md: Likewise.
3426 * config/mips/netbsd.h: Likewise.
3427 * config/mips/windiss.h: Likewise.
3428
3429 2004-01-02 Richard Henderson <rth@redhat.com>
3430
3431 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
3432 for sse and 387; add suppression for mmx.
3433
3434 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
3435
3436 * loop.c (loop_optimize): Free all loops_info's mems.
3437
3438 * c-typeck.c (finish_init): Free spelling_base before
3439 setting it again.
3440
3441 * cfgloop.c (flow_loops_find): Always free the sbitmap
3442 headers.
3443
3444 * predict.c (estimate_probability): Free bbs after being
3445 done with it.
3446
3447 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
3448
3449 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
3450 const_8bit_operand and call_address_operand.
3451
3452 2004-01-02 Jan Hubicka <jh@suse.cz>
3453
3454 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
3455 when there is nothing to inline but warnings are requested.
3456 (cgraph_decide_inlining): Fix memory leak.
3457
3458 2004-01-02 Jan Hubicka <jh@suse.cz>
3459
3460 * expr.c (store_constructor): Fix pasto in previous patch.
3461
3462 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
3463
3464 * config/i386/cygming.h: Fix comment formatting.
3465 * config/i386/djgpp.h: Likewise.
3466 * config/i386/gthr-win32.c: Likewise.
3467 * config/i386/i386-interix.h: Likewise.
3468 * config/i386/i386.c: Likewise.
3469 * config/i386/i386.h: Likewise.
3470 * config/i386/openbsd.h: Likewise.
3471 * config/i386/winnt.c: Likewise.
3472 * config/i386/xm-mingw32.h: Likewise.
3473
3474 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
3475
3476 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
3477 copyright and last modification dates.
3478
3479 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
3480
3481 * doc/install.texi (Specific): Mention x86_64.
3482
3483 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
3484
3485 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
3486 Call force_operand on plus_constant result.
3487
3488 2004-01-01 Jan Hubicka <jh@suse.cz>
3489
3490 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
3491 * expr.c (store_constructor): Use vec_init pattern.
3492 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
3493 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
3494 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
3495 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
3496 New patterns.
3497 (sse2_unpc?pd): Fix pattern.
3498 (sse2_movlpd): Kill.
3499 (sse2_movsd): Deal with movlpd too.
3500 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
3501 (ix86_expand_vector_init): New.
3502 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
3503 * md.texi (vec_set, vec_extract): Document
3504
3505 2003-12-31 Jan Hubicka <jh@suse.cz>
3506
3507 PR opt/13473
3508 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
3509 ASM input operands
3510
3511 PR opt/12617
3512 * toplev.c (dump_file_index): Reorder ce3 and bbro.
3513 (dump_file): Likewise.
3514 (rest_of_compilation): Likewise.
3515
3516 PR debug/13367
3517 * cgraph.c (cgraph_function_possibly_inlined): Even with
3518 flag_really_no_inline we inline always_inline functions.
3519 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
3520 for non-always_inline functions when there is flag_really_no_inline.
3521 (cgraph_decide_inlining): Limit work done when not inlining.
3522 (cgraph_decide_inlining_incrementally): Likewise.
3523 (cgraph_optimize_function): Check whether something got inlined.
3524 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
3525 extern inline functions when not inlining.
3526
3527 * opts.c (decode_options): Disable crossjumping at -O1
3528 * invoke.texi (-O1): Document change.
3529
3530 See ChangeLog.10 for earlier changes.
3531
This page took 0.186722 seconds and 6 git commands to generate.