OSDN Git Service

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