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