OSDN Git Service

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