OSDN Git Service

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