OSDN Git Service

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