OSDN Git Service

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