OSDN Git Service

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