OSDN Git Service

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