OSDN Git Service

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