OSDN Git Service

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