* Makefile.in (options.c options.h): Use stamp file s-options to
[official-gcc.git] / gcc / ChangeLog
blobf987470bb7e8b0fd4589492b2ccb88d81c74aaac
1 2004-01-28  Ian Lance Taylor  <ian@wasabisystems.com>
3         * Makefile.in (options.c options.h): Use stamp file s-options to
4         avoid unnecessary rebuilds.
5         (options.o): New target listing dependencies.
6         (gtyp-gen.h): Use stamp file s-gtyp-gen.
7         (STAGESTUFF): Add s-gtyp-gen.
9 2004-01-28  Richard Henderson  <rth@redhat.com>
11         * ggc.h (ggc_free): Declare.
12         * ggc-common.c (ggc_realloc): Use it.
13         * ggc-page.c: Remove lots of inline markers.
14         (globals): Add free_object_list.
15         (ggc_alloc): Tidy.
16         (ggc_free, validate_free_objects): New.
17         (poison_pages): Provide default.
18         (ggc_collect): Call validate_free_objects; emit markers to
19         the debug file.
21 2004-01-28  Zack Weinberg  <zack@codesourcery.com>
22             Jim Wilson  <wilson@specifixinc.com>
24         * config/ia64/ia64.c (ia64_split_tmode, ia64_split_tmode_move):
25         Rewrite to use POST_INC/POST_DEC/POST_MODIFY instead of a
26         scratch pointer.
27         (ia64_secondary_reload_class): Delete case GR_REGS.
28         * config/ia64/ia64.md (movti, *movti_internal, movtf, *movtf_internal):
29         Do not allocate a scratch register.
30         (reload_inti, reload_outti, reload_intf, reload_outtf): Delete.
32 2004-01-28  Jan Hubicka  <jh@suse.cz>
34         * gcse.c (bypass_block): Prevent edges to be unified when we are
35         about to emit compenstation code.
37 2004-01-28  Nick Clifton  <nickc@redhat.com>
39         * config/arm/arm.c (arm_expand_builtin): Force second argument of
40         the setcwx insn into a register.
42 2004-01-28  Richard Sandiford  <rsandifo@redhat.com>
44         * config/fp-bit.c (pack_d): When using paired doubles to implement
45         a long double, round the high part separately.
46         (unpack_d): Fix the case in which the high part is a power of two
47         and the low part is a nonzero value of the opposite sign.
49 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
51         * config/c4x/c4x.c (TARGET_ASM_EXTERNAL_LIBCALL): New.
52         (TARGET_STRUCT_VALUE_RTX): Likewise.
53         (c4x_external_libcall): Likewise.
54         (c4x_struct_value_rtx): Likewise.
55         * config/c4x/c4x.h: Remove.
56         (STRUCT_VALUE_REGNUM): Likewise.
57         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
59 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
61         * config/i386/i386.c (TARGET_PROMOTE_PROTOTYPES): New.
62         (TARGET_STRUCT_VALUE_RTX): Likewise.
63         * config/i386/i386.h (STRUCT_VALUE_INCOMING): Remove.
64         (STRUCT_VALUE): Likewise.
65         (PROMOTE_PROTOTYPES): Likewise.
67 2004-01-27  Roger Sayle  <roger@eyesopen.com>
69         * config/pa/pa.c (emit_move_sequence): Check that operand1 is a
70         CONST_INT before using INTVAL.
72 2004-01-27  Ulrich Weigand  <uweigand@de.ibm.com>
74         * config/s390/s390.h (TARGET_DEFAULT): Default to !TARGET_BACKCHAIN.
75         * config/s390/s390.c (s390_return_addr_rtx): Fail for all but current
76         frame if !TARGET_BACKCHAIN.
77         * config/s390/s390.md ("allocate_stack"): Use pattern only if
78         TARGET_BACKCHAIN.
79         * doc/invoke.texi (-mbackchain/-mno-backchain): Document new default.
81 2004-01-27  Zack Weinberg  <zack@codesourcery.com>
83         * ia64.c (ia64_function_arg): When placing HFAs in integer
84         registers, do not special case the mode used for complex
85         types.  Do not advance int_regs until the current register
86         is full.
88 2004-01-27  Richard Sandiford  <rsandifo@redhat.com>
90         PR target/7297
91         * except.c (init_eh): Use a 5-word __jbuf for __builtin_setjmp().
93 2004-01-27  David Edelsohn  <edelsohn@gnu.org>
95         * config/rs6000/rs6000.c (rs6000_emit_move): #if 0 splitting
96         slow, unaligned loads and stores while debugging.  Fix formatting.
98 2004-01-27  David Edelsohn  <edelsohn@gnu.org>
100         * config/rs6000/rs6000.md (save_stack_nonlocal): Use Pmode instead
101         of computing wmode.
102         (restore_stack_nonlocal): Same.
104 2004-01-27  Devang Patel <dpatel@apple.com>
106         * Makefile.in (dwarf2out.o): Depend on input.h
107         * dbxout.c (dbx_debug_hooks): Add new empty hook for
108         imported_module_or_decl.
109         (xcoff_debug_hooks): Same.
110         * sdbout.c (sdb_debug_hooks): Same.
111         * vmsdbgout.c (vmsdbg_debug_hooks): Same.
112         * debug.c (do_nothing_debug_hooks): Same.
113         (debug_nothing_tree_tree): New function.
114         * debug.h (gcc_debug_hooks): New hook, imported_module_or_decl.
115         * dwarf2out.c: Include input.h.
116         (dwarf2_debug_hooks): Add new hook for imported_module_or_decl.
117         (remove_child_TAG): New function.
118         (dwarf_tag_name): Handle DW_TAG_imported_module.
119         (gen_subprogram_die): Equate decl number to declaration die. Do not
120         remove all children dies while reusing declaration die for definition.
121         Instead, selectively remove only formal parameters.
122         (gen_variable_die): Equate variable decl to declaration die.
123         (gen_field_die): Equate field decl to line number.
124         (force_namespace_die): Replace it with ...
125         (force_decl_die): ... this.
126         (force_type_die): New function.
127         (setup_namespace_context): Replace use of force_namespace_die() with
128         force_decl_die().
129         (gen_namespace_die): Same.
130         (dwarf2out_imported_module_or_decl): New function.
132 2004-01-27  Bob Wilson  <bob.wilson@acm.org>
134         * config/xtensa/xtensa.c (xtensa_copy_incoming_a7): Remove SUBREG
135         on CQImode and CHImode incoming arguments in register a7.
136         (function_arg): Wrap BLKmode argument in register a7 in a PARALLEL.
137         * config/xtensa/xtensa.h (BLOCK_REG_PADDING): Define.
138         * config/xtensa/xtensa.md (movdi, movdf): Only call force_reg or
139         xtensa_copy_incoming_a7 before reload.
141 2004-01-27  J"orn Rennecke <joern.rennecke@superh.com>
143         * coverage.c (get_coverage_counts): Give a different message
144         if flag_guess_branch_prob is set.
145         * predict.c (counts_to_freqs): Return an int.
146         (estimate_bb_frequencies): If counts_to_freqs returns zero,
147         calculate estimates.
149 2004-01-27  Kazu Hirata  <kazu@cs.umass.edu>
151         * config/iq2000/iq2000-protos.h: Remove the prototype for
152         iq2000_setup_incoming_varargs.
153         * config/iq2000/iq2000.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
154         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
155         (TARGET_PROMOTE_PROTOTYPES): Likewise.
156         (TARGET_STRUCT_VALUE_RTX): Likewise.
157         (TARGET_RETURN_IN_MEMORY): Likewise.
158         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
159         (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
160         (iq2000_return_in_memory): Likewise.
161         (iq2000_setup_incoming_varargs): Make it static.  Receive the
162         first argument by reference.
163         * config/iq2000/iq2000.h (PROMOTE_FUNCTION_ARGS): Remove.
164         (PROMOTE_FUNCTION_RETURN): Likewise.
165         (PROMOTE_PROTOTYPES): Likewise.
166         (RETURN_IN_MEMORY): Likewise.
167         (STRUCT_VALUE): Likewise.
168         (SETUP_INCOMING_VARARGS): Likewise.
169         (STRICT_ARGUMENT_NAMING): Likewise.
171 2004-01-24  James A. Morrison  <ja2morri@uwaterloo.ca>
173         * fixinc/fixinc.c (test_test): Initialize res.
174         (start_flexer): Initialize pz_cmd_save.
176 2004-01-27  Zack Weinberg  <zack@codesourcery.com>
178         * doc/rtl.texi (Arithmetic): Rewrite entries for PLUS,
179         SS_PLUS, US_PLUS, LO_SUM, MINUS, SS_MINUS, US_MINUS.
181 2004-01-27  Zack Weinberg  <zack@codesourcery.com>
183         PR 7198
184         * config/ia64/ia64.md (*nmaddsf4, *nmadddf4, *nmadddf4_alts)
185         (*nmadddf4_trunc, *nmaddxf4, *nmaddxf4_truncsf, *nmaddxf4_truncdf)
186         (*nmaddxf4_alts, *nmaddxf4_truncdf_alts):
187         Rewrite pattern as (minus (op 3) (mult (op 1) (op 2))).
188         Possibly rename pattern for consistency.
189         Remove ??? comments suggesting that this be done.
190         (*nmaddsf4_alts, *nmadddf4_truncsf_alts, *nmaddxf4_truncsf_alts):
191         New patterns.
192         (divsi3_internal, divdi3_internal_lat, divdi3_internal_thr)
193         (divsf3_internal_lat, divsf3_internal_thr, sqrtsf2_internal_thr)
194         (divdf3_internal_lat, divdf3_internal_thr, sqrtdf2_internal_thr)
195         (divxf3_internal_lat, divxf3_internal_thr, sqrtxf2_internal_thr):
196         Update to match.
198 2004-01-27  Ian Lance Taylor  <ian@wasabisystems.com>
200         * config/arm/arm.c (output_return_instruction): Only restore IP
201         into SP if frame_pointer_needed.
203 2004-01-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
205         * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1
206         for SCmode and DCmode if ARCH32.
207         (sparc_va_arg): Handle SCmode and DCmode by reference if ARCH32.
208         * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for TCmode
209         if ARCH32.
210         (BASE_RETURN_VALUE_REG): Return 32 for all FP modes except TFmode
211         if ARCH32.
212         (BASE_OUTGOING_VALUE_REG): Likewise.
214 2004-01-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
216         PR target/10904
217         PR target/13058
218         * config/sparc/sparc.h (CANNOT_CHANGE_MODE_CLASS): New.
219         Forbid mode changes from SImode for lower FP regs if ARCH64.
221 2004-01-27  J"orn Rennecke <joern.rennecke@superh.com>
223         * Makefile.in (bt-load.o): Depend on except.h.
224         * bt-load.c (except.h): #include.
225         (compute_defs_uses_and_gen): If insn at end of BB can throw
226         within this function, consider registers used by it unavailable for
227         btr migration.
228         (move_btr_def): If insn at end of BB can throw, insert before rather
229         than after.
231         * flags.h (flag_btr_bb_exclusive): Declare.
232         * toplev.c (flag_btr_bb_exclusive): New variable.
233         (f_options): Add btr-bb-exclusive.
234         * bt-load.c (augment_live_range): Restore old behaviour if
235         flag_btr_bb_exclusive is set.
236         * common.opt: Add entry for -fbtr-bb-exclusive.
237         * opts.c (common_handle_options): Same.
238         * doc/invoke.texi: Document -fbtr-bb-exclusive.
240         * bt-load.c (btrs_live_at_end): New variable.
241         (compute_defs_uses_and_gen): Compute its pointed-to array.
242         (clear_btr_from_live_range, add_btr_to_live_range): Update it.
243         (augment_live_range): When augmenting with a new dominator,
244         use only its btrs_live_at_end set, but also add in the full set
245         of the old dominator.
246         (btr_def_live_range): Use btrs_live_at_end.
247         (move_btr_def): Set other_btr_uses_before_def, and move new set
248         to the end of the basic block, if appropriate.
249         (migrate_btr_defs): Allocate and free btrs_live_at_end.
251         * bt-load.c (basic_block_freq): Remove outdated comment.
253 2004-01-27  Alan Modra  <amodra@bigpond.net.au>
255         * config/rs6000/rs6000.h: Correct target_flags free bits comment.
256         (PREDICATE_CODES): Remove duplicate.
257         * config/rs6000/linux64.h (CPP_SYSV_SPEC): Don't define.
258         (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow 32 bit TARGET_PROFILE_KERNEL.
259         (MASK_PROFILE_KERNEL): Adjust define.
261 2004-01-27  Jakub Jelinek  <jakub@redhat.com>
263         * config/i386/i386.c (ix86_constant_alignment): Decrease alignment
264         of long string literals from 32 bytes to sizeof (void *) when !-Os
265         and to 1 with -Os.
267 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
269         * config/h8300/h8300.c (h8300_tiny_constant_address_p): Accept
270         constant addresses in the normal mode.
272 2004-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
274         * system.h (CHAR_BITFIELD): Delete.
275         (BOOL_BITFIELD): New.
276         * c-decl.c (c_scope): Use BOOL_BITFIELD.
277         * gengtype-lex.l: Recognize BOOL_BITFIELD instead of CHAR_BITFIELD.
279 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
281         * config/arc/arc.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
282         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
283         (TARGET_PROMOTE_PROTOTYPES): Likewise.
284         (TARGET_STRUCT_VALUE_RTX): Likewise.
285         (TARGET_RETURN_IN_MEMORY): Likewise.
286         (arc_return_in_memory): Likewise.
287         * config/arc/arc.h (PROMOTE_FUNCTION_ARGS): Remove.
288         (PROMOTE_FUNCTION_RETURN): Likewise.
289         (RETURN_IN_MEMORY): Likewise.
290         (STRUCT_VALUE): Likewise.
292 2004-01-26  Richard Henderson  <rth@redhat.com>
294         * c-parse.in (extension): Use itype.
295         (SAVE_EXT_FLAGS): Don't allocate a tree.
296         (RESTORE_EXT_FLAGS): Don't read a tree.
298 2004-01-26  Jan Hubicka  <jh@suse.cz>
300         * cselib.c (discard_useless_values):  Clear out value pointer pointing
301         to datastructure to be recycled.
303 2004-01-25  Jan Hubicka  <jh@suse.cz>
305         * genextract.c (main): Do not output the memset when not checking.
307 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
309         * config/h8300/h8300.c (h8300_tiny_constant_address_p): Use a
310         switch statement instead of a chain of if statements.
312 2004-01-26  Jeff Law  <law@redhat.com>
314         * doc/contrib.texi: Minor cleanup for Paolo Carlini's entry.  Add
315         acute accents for Petur Runolfsson's entry.
317 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
319         * config/pdp11/pdp11.c (TARGET_STRUCT_VALUE_RTX): New.
320         (TARGET_RETURN_IN_MEMORY): Likewise.
321         * config/pdp11/pdp11.h (STRUCT_VALUE): Remove.
322         (RETURN_IN_MEMORY): Likewise.
324 2004-01-26  Fariborz Jahanian <fjahanian@apple.com>
326          * config/rs6000/rs6000.c (rs6000_emit_move): split slow
327          unaligned load/store into smaller loads and stores.
329 2004-01-26  Fariborz Jahanian <fjahanian@apple.com>
331         * function.c (assign_parms): Do not assign
332         long long argument to memory in prologue if
333         is it loaded into register.
335 2004-01-26  Fariborz Jahanian <fjahanian@apple.com>
337          PR middle-end/13779
338          * expr.c (emit_group_load): split constant
339          correctly into register components of PARALLEL insn.
341 2004-01-26  Fariborz Jahanian <fjahanian@apple.com>
343         * gcc/config/rs6000/rs6000.md (save_stack_nonlocal):
344         Use adjust_address_nv directly with appropriate mode.
345         (restore_stack_nonlocal): Ditto.
347 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
349         * config/xtensa/xtensa-protos.h: Remove the prototype for
350         xtensa_builtin_saveregs.
351         * config/xtensa/xtensa.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
352         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
353         (TARGET_PROMOTE_PROTOTYPES): Likewise.
354         (TARGET_STRUCT_VALUE_RTX): Likewise.
355         (TARGET_RETURN_IN_MEMORY): Likewise.
356         (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
357         (xtensa_builtin_saveregs): Make it static.
358         (xtensa_return_in_memory): New.
359         * config/xtensa/xtensa.h (PROMOTE_FUNCTION_ARGS: Remove.
360         (PROMOTE_FUNCTION_RETURN): Likewise.
361         (PROMOTE_PROTOTYPES): Likewise.
362         (STRUCT_VALUE): Likewise.
363         (RETURN_IN_MEMORY): Likewise.
364         (EXPAND_BUILTIN_SAVEREGS): Likewise.
366 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
368         * config/arm/arm.c (TARGET_SETUP_INCOMING_VARARGS): New.
369         (arm_setup_incoming_varargs): Likewise.
370         * config/arm/arm.h (SETUP_INCOMING_VARARGS): Remove.
372 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
374         * config/cris/cris.c (TARGET_SETUP_INCOMING_VARARGS): New.
375         (cris_setup_incoming_varargs): Likewise.
376         * config/cris/cris.h (SETUP_INCOMING_VARARGS): Remove.
378 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
380         * config/ns32k/ns32k.c (TARGET_STRUCT_VALUE_RTX): New.
381         (ns32k_struct_value_rtx): Likewise.
382         * config/ns32k/ns32k.h (STRUCT_VALUE_REGNUM): Rename to
383         NS32K_STRUCT_VALUE_REGNUM.
385 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
387         * config/arm/arm.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
388         (TARGET_PROMOTE_PROTOTYPES): Likewise.
389         (TARGET_STRUCT_VALUE_RTX): Likewise.
390         (arm_struct_value_rtx): Likewise.
391         * config/arm/arm.h (PROMOTE_FUNCTION_ARGS): Remove.
392         (STRUCT_VALUE): Likewise.
393         (STRUCT_VALUE_REGNUM): Likewise.
394         (PROMOTE_PROTOTYPES): Likewise.
396 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
398         * config/ia64/ia64-protos.h: Remove the prototype for
399         ia64_setup_incoming_varargs and ia64_return_in_memory.
400         * config/ia64/ia64.c (TARGET_STRUCT_VALUE_RTX): New.
401         (TARGET_RETURN_IN_MEMORY): Likewise.
402         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
403         (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
404         (ia64_setup_incoming_varargs): Adjust the arguments to meet
405         the requirement of TARGET_SETUP_INCOMING_VARARGS.
406         (ia64_return_in_memory): Make it static.  Change the return
407         type to bool from int.  Add an argument.
408         (ia64_struct_value_rtx): New.
409         * config/ia64/ia64.h: Remove commented-out definitions of
410         PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN, and
411         PROMOTE_PROTOTYPES.
412         (RETURN_IN_MEMORY): Remove.
413         (STRUCT_VALUE_REGNUM): Likewise.
414         (STRICT_ARGUMENT_NAMING): Likewise.
416 2004-01-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
418         PR target/13666
419         * config/sparc/sparc.c (function_arg_union_value): New function.
420         (function_arg): Use it to deal with unions.
421         (function_value): Likewise.  Define 'regbase' only for ARCH64.
422         Replace a conditional statement by a simpler one.
424 2004-01-26  Richard Sandiford  <rsandifo@redhat.com>
426         * config/mips/mips.c (mips16_optimize_gp): Delete.
427         (mips_reorg): Don't call it.
429 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
431         * config/c4x/c4x.md (addqi3_noclobber): Move up pecking order.
432         (floatunsqihf2): Remove operand 6.
433         (fixhfqi_set, fix_trunchfqi2, fixuns_trunchfqi2): Group with other
434         fix patterns.
435         (ldi_conditional, ldf_conditional): Validate operands.
437 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
439         * config/c4x/c4x.h (BCT_CHECK_LOOP_ITERATIONS): Remove.
440         (HAVE_GAS_HIDDEN): Undefine as interim measure.
442 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
444         * config/c4x/c4x.c (c4x_legitimate_address_p):  Invalidate direct
445         memory references if TARGET_EXPOSE_LDP nonzero.
447 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
449         * config/c4x/c4x.c (legitimize_operands): Truncate invalid shift counts.
451 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
453         * config/c4x/c4x.c (c4x_valid_operands): More aggressively reject
454         invalid operand combinations.
456 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
458         * config/c4x/c4x.c (c4x_check_legit_addr): Rename to
459         c4x_legitimate_address_p.  Fix post_modify check.
461         * config/c4x/c4x-protos.h (c4x_check_legit_addr): Adjust.
462         * config/c4x/c4x.h (c4x_check_legit_addr): Adjust.
464 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
466         * config/pa/pa-protos.h: Remove the prototype for
467         hppa_builtin_saveregs.  Add a prototype for
468         pa_return_in_memory.
469         * config/pa/pa.c (TARGET_PROMOTE_FUNCTION_RETURN): New.
470         (TARGET_PROMOTE_PROTOTYPES): Likewise.
471         (TARGET_STRUCT_VALUE_RTX): Likewise.
472         (TARGET_RETURN_IN_MEMORY): Likewise.
473         (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
474         (pa_struct_value_rtx): Likewise.
475         (pa_return_in_memory): Likewise.
476         * config/pa/pa.h (STRUCT_VALUE_REGNUM): Rename to
477         PA_STRUCT_VALUE_REGNUM.
478         (INIT_CUMULATIVE_ARGS): Use pa_return_in_memory.
479         (EXPAND_BUILTIN_SAVEREGS): Remove.
480         (PROMOTE_PROTOTYPES): Likewise.
481         (PROMOTE_FUNCTION_RETURN): Likewise.
483 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
485         * config/vax/vax.c (TARGET_PROMOTE_PROTOTYPES): New.
486         (TARGET_STRUCT_VALUE_RTX): Likewise.
487         (vax_struct_value_rtx): Likewise.
488         * config/vax/vax.h (STRUCT_VALUE_REGNUM): Rename to
489         VAX_STRUCT_VALUE_REGNUM.
490         (PROMOTE_PROTOTYPES): Remove.
492 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
494         * config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS):  Handle symref.
496 2003-04-25  Chris Demetriou  <cgd@broadcom.com>
498         * config/mips/mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2,
499         and MIPS64 have HI/LO interlocks.  Update comment.
501 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
503         * config/stormy16/stormy16-protos.h: Remove the prototype for
504         xstormy16_setup_incoming_varargs.
505         * config/stormy16/stormy16.c
506         (xstormy16_setup_incoming_varargs): Remove.
507         (xstormy16_return_in_memory): New.
508         (TARGET_PROMOTE_FUNCTION_ARGS): Likewise.
509         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
510         (TARGET_PROMOTE_PROTOTYPES): Likewise.
511         (TARGET_STRUCT_VALUE_RTX): Likewise.
512         (TARGET_RETURN_IN_MEMORY): Likewise.
513         * config/stormy16/stormy16.h (PROMOTE_FUNCTION_ARGS): Remove.
514         (PROMOTE_FUNCTION_RETURN): Likewise
515         (PROMOTE_PROTOTYPES): Likewise
516         (RETURN_IN_MEMORY): Likewise
517         (STRUCT_VALUE): Likewise
518         (SETUP_INCOMING_VARARGS): Likewise
520 2004-01-25  Richard Sandiford  <rsandifo@redhat.com>
522         * config/mips/mips.c (mips_offset_within_object_p): New function.
523         (mips_symbolic_constant_p): Use it in the SYMBOL_SMALL_DATA and
524         SYMBOL_CONSTANT_POOL cases.  Also use it for SYMBOL_GENERAL if the
525         ABI has 64-bit pointers and the object file only allows 32-bit symbols.
527 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
529         * config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove.
530         (PROMOTE_FUNCTION_RETURN): Likewise.
532 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
534         * config/mn10300/mn10300-protos.h: Remove the prototype for
535         mn10300_builtin_saveregs.
536         * config/mn10300/mn10300.c (TARGET_PROMOTE_PROTOTYPES): New.
537         (TARGET_STRUCT_VALUE_RTX): Likewise.
538         (TARGET_RETURN_IN_MEMORY): Likewise.
539         (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
540         (mn10300_return_in_memory): Likewise.
541         (mn10300_builtin_saveregs): Make it static.
542         * config/mn10300/mn10300.h (PROMOTE_PROTOTYPES): Remove.
543         (RETURN_IN_MEMORY): Likewise.
544         (STRUCT_VALUE): Likewise.
545         (EXPAND_BUILTIN_SAVEREGS): Likewise.
547 2004-01-25  Eric Botcazou  <ebotcazou@act-europe.fr>
549         PR bootstrap/13853
550         * cfgcleanup.c (try_optimize_cfg): Explicitly test against 0.
552 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
554         * config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by
555         using ccr.
557 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
559         * config/i860/i860-protos.h: Remove the prototype for
560         i860_saveregs.
561         * config/i860/i860.c (i860_saveregs): Make it static.
562         (i860_struct_value_rtx): New.
563         (TARGET_STRUCT_VALUE_RTX): Likewise.
564         (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
565         * config/i860/i860.h (STRUCT_VALUE_REGNUM): Rename to
566         I860_STRUCT_VALUE_REGNUM.
567         (EXPAND_BUILTIN_SAVEREGS): Remove.
569 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
571         * config/m68hc11/m68hc11.c (TARGET_STRUCT_VALUE_RTX): New.
572         (TARGET_RETURN_IN_MEMORY): Likewise.
573         (m68hc11_struct_value_rtx): Likewise.
574         (m68hc11_return_in_memory): Likewise.
575         * config/m68hc11/m68hc11.h: Remove a commented-out definition
576         of PROMOTE_PROTOTYPES.
577         (RETURN_IN_MEMORY): Remove.
578         (STRUCT_VALUE_REGNUM): Likewise.
580 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
582         * config/mmix/mmix-protos.h: Remove the prototype for
583         mmix_setup_incoming_varargs.
584         * config/mmix/mmix.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
585         (TARGET_STRUCT_VALUE_RTX): Likewise.
586         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
587         (mmix_setup_incoming_varargs): Make it static.
588         (mmix_struct_value_rtx): New.
589         * config/mmix/mmix.h (PROMOTE_FUNCTION_ARGS): Remove.
590         Remove a commented-out definition of PROMOTE_FUNCTION_RETURN.
591         (STRUCT_VALUE_REGNUM): Remove.
592         (SETUP_INCOMING_VARARGS): Likewise.
594 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
596         * config/mips/mips-protos.h: Remove the prototypes for
597         mips_setup_incoming_varargs and mips_return_in_memory.
598         * config/mips/mips.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
599         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
600         (TARGET_PROMOTE_PROTOTYPES): Likewise.
601         (TARGET_STRUCT_VALUE_RTX): Likewise.
602         (TARGET_RETURN_IN_MEMORY): Likewise.
603         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
604         (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
605         (mips_setup_incoming_varargs): Match the prototype for
606         TARGET_SETUP_INCOMING_VARARGS.
607         (mips_return_in_memory): Make it static.  Add argument fntype.
608         (mips_strict_argument_naming): New.
609         * config/mips/mips.h (PROMOTE_PROTOTYPES): Remove.
610         (PROMOTE_FUNCTION_ARGS): Likewise.
611         (PROMOTE_FUNCTION_RETURN): Likewise.
612         (STRUCT_VALUE): Likewise.
613         (RETURN_IN_MEMORY): Likewise.
614         (SETUP_INCOMING_VARARGS): Likewise.
615         (STRICT_ARGUMENT_NAMING): Likewise.
617 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
619         * config/ip2k/ip2k.c (TARGET_STRUCT_VALUE_RTX): New.
620         (TARGET_RETURN_IN_MEMORY): Likewise.
621         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
622         (ip2k_return_in_memory): Likewise.
623         (ip2k_setup_incoming_varargs): Likewise.
624         * config/ip2k/ip2k.h (RETURN_IN_MEMORY): Remove.
625         (STRUCT_VALUE): Likewise.
626         (STRUCT_VALUE_INCOMING): Likewise.
627         (SETUP_INCOMING_VARARGS): Likewise.
629 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
631         * config/avr/avr.c (TARGET_STRUCT_VALUE_RTX): New.
632         (TARGET_RETURN_IN_MEMORY): Likewise.
633         (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
634         (avr_return_in_memory): Remove.
635         * config/avr/avr.h (RETURN_IN_MEMORY): Remove.
636         (STRUCT_VALUE): Likewise.
637         (STRUCT_VALUE_INCOMING): Likewise.
638         (STRICT_ARGUMENT_NAMING): Likewise.
640 2004-01-25  Jan Hubicka  <jh@suse.cz>
642         * combine.c (recog_for_combine): Avoid allocating unnecesary RTX.
644 2004-01-25  Richard Sandiford  <rsandifo@redhat.com>
646         * config/mips/mips-protos.h (mips_reg_mode_ok_for_base_p): Delete.
647         (mips_regno_mode_ok_for_base_p): Declare.
648         * config/mips/mips.h (ARG_POINTER_REGNUM): Renumber to 77.
649         (FRAME_POINTER_REGNUM): Renumber to 78.
650         (FIRST_PSEUDO_REGISTER): Update comment accordingly.
651         (BASE_REG_P, GP_REG_OR_PSEUDO_STRICT_P): Delete.
652         (GP_REG_OR_PSEUDO_NONSTRICT_P): Delete.
653         (REGNO_MODE_OK_FOR_BASE_P): Use mips_regno_mode_ok_for_base_p.
654         (REG_MODE_OK_FOR_BASE_P): Likewise.
655         * config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Change
656         entry for 77 to "$arg" and entry for 78 to "$frame".
657         (mips_regno_to_class): Map 77 and 78 to ALL_REGS.
658         (mips_reg_mode_ok_for_base_p): Remove.
659         (mips_regno_mode_ok_for_base_p): New function, derived from old
660         BASE_REG_P macro.  Don't enforce the mips16 stack pointer
661         restrictions unless we're being strict.
662         (mips_valid_base_register_p): Use mips_regno_mode_ok_for_base_p.
664 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
666         * c-common.h: Fix comment typos.
667         * c-decl.c: Likewise.
668         * cgraphunit.c: Likewise.
669         * combine.c: Likewise.
670         * et-forest.c: Likewise.
671         * flow.c: Likewise.
672         * function.c: Likewise.
673         * ifcvt.c: Likewise.
674         * integrate.c: Likewise.
675         * jump.c: Likewise.
676         * postreload.c: Likewise.
677         * varray.c: Likewise.
679 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
681         * doc/frontends.texi: Update copyright.
682         * doc/gcov.texi: Likewise.
683         * doc/gty.texi: Likewise.
684         * doc/sourcebuild.texi: Likewise.
685         * doc/standards.texi: Likewise.
687 2004-01-24  Herman A.J. ten Brugge  <hermantenbrugge@home.nl>
689         PR target/12978
690         * c4x.md: (movstrqi*) Use match_scratch instead of match_dup.
691         Remove movstrqi_small because it conflicts with movstrqi_large.
693 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
695         * config/cris/cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
696         (TARGET_STRUCT_VALUE_RTX): Likewise.
697         (cris_struct_value_rtx): Likewise.
698         * config/cris/cris.h (PROMOTE_FUNCTION_ARGS): Remove.
699         (CRIS_STACKADJ_REG): Use CRIS_STRUCT_VALUE_REGNUM instead of
700         STRUCT_VALUE_REGNUM.
701         (STRUCT_VALUE_REGNUM): Rename to CRIS_STRUCT_VALUE_REGNUM.
703 2004-01-24  Ian Lance Taylor  <ian@wasabisystems.com>
705         PR bootstrap/13848
706         * cse.c (cse_cc_succs): Change the mode of the source expression
707         as soon as decide we need a new mode.  Don't permit changing modes
708         if we found a match in a successor block.
709         (cse_condition_code_reg): Save original mode of source expression
710         so that we know whether we have to change the mode in other
711         insns.
713 2004-01-24  Jan Hubicka  <jh@suse.cz>
715         * emit-rtl.c (change_address, adjust_address_1, offset_address,
716         widen_memory_access):  Return early when there is nothing to change.
718 2004-01-24  Jakub Jelinek  <jakub@redhat.com>
720         * simplify-rtx.c (simplify_relational_operation): Don't
721         simplify address == constant into address + -constant == 0.
723 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
725         * gcc.c (process_command): Don't internationalize the
726         Copyright message.
727         * mips-tfile.c (main): Likewise.
729 2004-01-24  Andreas Tobler  <a.tobler@schweiz.ch>
731         * cse.c: (cse_cc_succs) Fix comparison warning.
733 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
735         * config/h8300/h8300.md: Remove extraneous USE in expanders.
737 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
739         * config/h8300/h8300-protos.h: Provide prototypes for
740         h8300_legitimate_constant_p and h8300_legitimate_address_p.
741         * config/h8300/h8300.c (h8300_legitimate_constant_p): New.
742         (h8300_rtx_ok_for_base_p): Likewise.
743         (h8300_legitimate_address_p): Likewise.
744         * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Use
745         h8300_legitimate_constant_p.
746         (RTX_OK_FOR_BASE_P): Remove.
747         (GO_IF_LEGITIMATE_ADDRESS): Use h8300_legitimate_address_p.
749 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
751         * config/h8300/h8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New.
752         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
753         (REG_OK_FOR_INDEX_STRICT_P): Likewise.
754         (REG_OK_FOR_BASE_STRICT_P): Likewise.
755         (REG_OK_FOR_INDEX_STRICT_P): Use REGNO_OK_FOR_INDEX_P.
756         (REG_OK_FOR_BASE_STRICT_P): Use REGNO_OK_FOR_BASE_P.
757         (REG_OK_FOR_INDEX_P): Use REG_OK_FOR_INDEX_STRICT_P.
758         (REG_OK_FOR_BASE_P): Use REG_OK_FOR_BASE_STRICT_P.
760 2004-01-24  Jan Hubicka  <jh@suse.cz>
762         * cselib.c (remove_useless_values):  Do not access discarded values.
764 2004-01-24  Joseph S. Myers  <jsm@polyomino.org.uk>
766         * c-typeck.c (build_conditional_expr): Do not allow non-lvalue
767         arrays.
769 2004-01-23  Kazu Hirata  <kazu@cs.umass.edu>
771         * recog.c: Fix a typo in copyright.
773 2004-01-23  Andrew Pinski  <apinski@apple.com>
775         * config/rs6000/rs6000.md (call): Fix misappiled patch.
776         (call_value): Likewise.
778 2004-01-23  Richard Henderson  <rth@redhat.com>
780         PR opt/12941
781         * combine.c (SHIFT_COUNT_TRUNCATED): Provide default value.
782         (simplify_comparison): Don't simplify (eq (zero_extract c 1 r) 0)
783         if SHIFT_COUNT_TRUNCATED is set.
785 2004-01-23  Bob Wilson  <bob.wilson@acm.org>
787         * config/xtensa/xtensa.c (xtensa_va_arg): Handle complex values as
788         separate real and imaginary parts.
789         * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Define.
791 2004-01-23  Hartmut Penner <hpenner@de.ibm.com>
793         PR target/13674
794         * config/rs6000/rs6000.md (movdf_hardfloat64): Do not disparage
795         loading into GPR.
797 2004-01-23  Jan Hubicka  <jh@suse.cz>
799         * emit-rtl.c (change_address_1):  Do not re-generate the RTX if nothing
800         change.
802         * alloc-pool.c (align_four): Kill.
803         (create_alloc_pool): Align size to eight.
804         (free_alloc_pool, free_pool): Invalidate deallocated data.
806 2004-01-23  Ian Lance Taylor  <ian@wasabisystems.com>
808         PR gcc/1532
809         * cse.c (cse_change_cc_mode): New static function.
810         (cse_change_cc_mode_insns, cse_cc_succs): Likewise.
811         (cse_condition_code_reg): New function.
812         * rtl.h (cse_condition_code_reg): Declare.
813         * toplev.c (rest_of_handle_cse2): Call cse_condition_code_reg.
814         * target.h (struct gcc_target): Add fixed_condition_code_regs and
815         cc_modes_compatible.
816         * target-def.h (TARGET_FIXED_CONDITION_CODE_REGS): Define.
817         (TARGET_CC_MODES_COMPATIBLE): Define.
818         (TARGET_INITIALIZER): Add new initializers.
819         * targhooks.c (default_cc_modes_compatible): New function.
820         * targhooks.c (default_cc_modes_compatible): Declare.
821         * hooks.c (hook_bool_intp_intp_false): New function.
822         * hooks.h (hook_bool_intp_intp_false): Declare.
823         * config/i386/i386.c (TARGET_FIXED_CONDITION_CODE_REGS): Define.
824         (TARGET_CC_MODES_COMPATIBLE): Define.
825         (ix86_fixed_condition_code_regs): New static function.
826         (ix86_cc_modes_compatible): Likewise.
827         * doc/tm.texi (Condition Code): Document new hooks.
829 2004-01-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
831         * fixinc/inclhack.def (bad_lval): Renamed to ...
832         (alpha_bad_lval): ... this.
833         Removed file list.
834         Restrict to alpha*-dec-osf*.
835         * fixinc/fixincl.x: Regenerate.
836         * fixinc/tests/base/dirent.h: Remove, moving test ...
837         * fixinc/tests/base/testing.h: ... here, reflecting new name.
839 2004-01-23  Zack Weinberg  <zack@codesourcery.com>
841         PR c/13814
842         * c-decl.c (diagnose_mismatched_decls): Also discard a
843         built-in if we encounter an old-style definition with the
844         same name.
846 2004-01-23  Jakub Jelinek  <jakub@redhat.com>
848         * config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was
849         set to default{32,64}.
851 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
853         * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR)
854         [!__powerpc64__]: Corrected to handle kernels with changed ucontext.
856 2004-01-23  Eric Botcazou  <ebotcazou@act-europe.fr>
857             Olivier Hainque  <hainque@act-europe.fr>
859         * fold-const.c (fold_binary_op_with_conditional_arg): Only
860         build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR.
862 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
864         * config/arm/arm.c (arm_legitimate_address_p): Don't check the mode
865         size for minipool references.
867 2004-01-23  Roger Sayle  <roger@eyesopen.com>
869         * real.c (real_floor, real_ceil): Tweak to allow input and output
870         arguments to overlap.
871         (real_round): New function to implement round(3m) semantics.
872         * real.h (real_round): Prototype here.
873         * builtins.c (fold_builtin_round): New function to constant fold
874         round, roundf and roundl.
875         (fold_builtin): Call fold_builtin_round for BUILT_IN_ROUND{,F,L}.
877 2004-01-23  Alexandre Oliva  <aoliva@redhat.com>
879         PR optimization/13819
880         * config/sh/sh.c (sh_reorg): Compensate for sharing of CLOBBERs
881         introduced by 2004-01-20's Jan Hubicka's copy_insn change.
882         (sh_handle_sp_switch_attribute): Remove warning.
884 2003-11-30  Jan Hubicka  <jh@suse.cz>
886         * i386.c (ix86_emit_restore_regs_using_mov):  Deal with large offsets.
888 2004-01-23  J"orn Rennecke <joern.rennecke@superh.com>
890         * doc/tm.texi: Insert some weasel words when LOAD_EXTEND_OP
891         may or may not return non-NIL.
892         * postreload.c (reload_cse_simplify_operands): In LOAD_EXTEND_OP code,
893         check CANNOT_CHANGE_MODE_CLASS
895 2004-01-23  Jan Hubicka  <jh@suse.cz>
897         * basic-block.h (PROP_POSTRELOAD): New macro.
898         (CLEANUP_LOG_LINKS): New.
899         * cfgcleanup.c (cleanup_cfg): Only PROP_LOG_LINKS when asked to.
900         * toplev.c (rest_of_handle_life):  Preserve LOG_LINKS trought cleanup_cfg.
902         * cselib.c (value_pool): New.
903         (new_cselib_val): Use pool.
904         (cselib_init): Initialize value_pool
905         (cselib_finish): Free pool.
907 2004-01-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
909         * config/sparc/sparc.c (scan_record_type): New function.
910         (function_arg_slotno): Use it to determine which kinds of
911         registers the record can be passed in.
913 2004-01-22  James A. Mmorrison  <ja2morri@uwaterloo.ca>
915         * config/pa/fptr.c: Fix old-style definition.
917 2004-01-22  Paolo Bonzini  <bonzini@gnu.org>
919         PR optimization/13724
920         * cse.c (fold_rtx) <SUBREG>:  Fold a SUBREG to zero if it
921         represents the zero bits produced by a ZERO_EXTEND operation.
923 2004-01-22  Roger Sayle  <roger@eyesopen.com>
925         PR optimization/13821
926         * simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset to
927         correctly calculate the lowpart offset of the contracted subreg.
929 2004-01-22  Ian Lance Taylor  <ian@wasabisystems.com>
931         * doc/invoke.texi (Optimize Options): Note that --param arguments
932         are subject to change without notice.
934 2004-01-22  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
936         * config.gcc (mips-sgi-irix6*o32): Removed.
937         * config/mips/iris6-o32-as.h: Likewise.
938         * config/mips/iris6-o32-gas.h: Likewise.
939         * config/mips/iris6-o32.h: Likewise.
941 2004-01-22  Jan Hubicka  <jh@suse.cz>
943         * cfgcleanup.c (first_pass): New static variable.
944         (try_forward_edges):  Add work limiting check for threading.
945         (try_crossjump_bb):  Add work limiting check for crossjumping.
946         (try_optimize_cfg):  Maintain first pass variable.
948 2004-01-22  Bob Wilson  <bob.wilson@acm.org>
950         * config/xtensa/xtensa.c (function_arg): Generalize logic so that it
951         handles complex and vector modes.
953 2004-01-22  Kazu Hirata  <kazu@cs.umass.edu>
955         * config/h8300/h8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove.
956         (REG_OK_FOR_BASE_P_STRICT): Likewise.
957         (STRICT): Likewise.
959 2004-01-22  Daniel Jacobowitz  <drow@mvista.com>
961         * c-semantics.c (genrtl_while_stmt, genrtl_do_stmt_1)
962         (genrtl_for_stmt): Remove emit_nop calls.
964 2004-01-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
966         PR target/13713
967         PR target/13324
968         * pa.md (movstrsi_prereload, movstrsi_postreload, movstrdi_prereload,
969         movstrdi_postreload, clrstrsi_prereload, clrstrsi_postreload,
970         clrstrdi_prereload, clrstrdi_postreload): Fix constraints.
972 2004-01-22  Daniel Jacobowitz  <drow@mvista.com>
974         * config/arm/arm.c: Include "debug.h".
975         (thumb_pushpop): Take two new arguments.  Add some commentary.
976         Output frame information when pushing.
977         (thumb_exit, thumb_unexpanded_epilogue): Update calls to
978         thumb_pushpop.
979         (thumb_output_function_prologue): Likewise.  Accumulate a CFA
980         offset, and pass it to thumb_pushpop.  Output CFI information.
981         (thumb_expand_prologue): Add some frame-related markers and notes.
983 2004-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
985         * config/s390/s390.c (s390_frame_info): Allow large frame sizes
986         for TARGET_64BIT.
987         (s390_arg_frame_offset): Change return type to HOST_WIDE_INT.
988         * config/s390/s390-protos.h (s390_arg_frame_offset): Likewise.
990 2004-01-22  Roger Sayle  <roger@eyesopen.com>
991             Paolo Bonzini  <bonzini@gnu.org>
993         * rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb.
994         (subreg_lsb): Change to call new subreg_lsb_1 helper function.
995         * rtl.h (subreg_lsb_1): Prototype here.
996         * simplify-rtx.c (simplify_subreg): Optimize subregs of zero and
997         sign extensions.
999 2004-01-22  Kazu Hirata  <kazu@cs.umass.edu>
1001         * doc/tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the
1002         macro need not be defined if jump-tables should contain
1003         relative addresses only when -fPIC or -fPIC is in effect.
1005 2004-01-22  Jan Hubicka  <jh@suse.cz>
1007         * alias.c (reg_base_value): Turn into varray.
1008         (reg_base_value_size): Kill.
1009         (old_reg_base_value): New deletable varray.
1010         (alias_invariant_size): New variable.
1011         (REG_BASE_VALUE): Update to use varray.
1012         (find_base_value): Likewise.
1013         (record_set): Likewise.
1014         (record_base_value): Likewise.
1015         (memrefs_conflict_p): Likewise.
1016         (record_set): Likewise
1017         (record_base_value): Likewise.
1018         (memrefs_conflict_p): Use alias_invariant_size.
1019         (init_alias_analysis): Use varray; set alias_invariant_size;
1020         rescale other arrays to be sized by maxreg.
1021         (end_alias_analysis): Save reg_base_value; clear alias_invariant_size.
1023 2004-01-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
1025         * config/sparc/sparc.c (function_arg_slotno): Use
1026         FLOAT_TYPE_P to detect FP fields in structures.
1027         (function_arg_record_value_1): Likewise.
1028         (function_arg_record_value_2): Likewise.
1030 2004-01-22  Jan Hubicka  <jh@suse.cz>
1032         * function.c (allocate_struct_function): Do not initialize expr, emit
1033         and varasm.
1034         (prepare_function_start): Do it here.
1035         * c-parse.in (maybe_type_qual): Do not produce line number notes.
1037 2004-01-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
1039         PR target/13559
1040         * config/sparc/sparc.c (function_arg_record_value_3): Revert
1041         to 'word_mode' once the first slot has been filled.
1043 2004-01-22  Olivier Hainque  <hainque@act-europe.fr>
1045         * config/sparc/sparc.c (function_arg_record_value_1): Fix
1046         computation of the number of integer registers required.
1048 2004-01-21  Kazu Hirata  <kazu@cs.umass.edu>
1050         * config/i386/i386.md: Simplify certain comparisons of
1051         const_int.
1053 2004-01-21  Andrew Pinski  <apinski@apple.com>
1055         PR target/13785
1056         * config/rs6000/rs6000.md (call_value): Force operand
1057         1 not operand 0 into a register.
1059 2004-01-21  Kazu Hirata  <kazu@cs.umass.edu>
1061         * cpperror.c, cpptrad.c, longlong.h, params.def, rtl.def,
1062         unwind-dw2-fde.h: Update copyright.
1064 2004-01-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1066         * pa-protos.h: Update copyright.
1067         * pa.h: Likewise.
1068         * pa.md: Likewise.
1070 2004-01-21  Caroline Tice <ctice@apple.com>
1072         PR target/12308
1073         * config/i386/i386.md (fix_truncxfdi2): Add clause to clobber
1074         flags register.
1075         (fix_truncdfdi2): Likewise.
1076         (fix_truncsfdi2): Likewise.
1077         (*fix_truncdi_1): Likewise.
1078         (fix_truncxfsi2): Likewise.
1079         (fix_truncdfsi2): Likewise.
1080         (fix_truncsfsi2): Likewise.
1081         (*fix_truncsi_1): Likewise.
1082         (fix_truncxfhi2): Likewise.
1083         (fix_truncdfhi2): Likewise.
1084         (fix_truncsfhi2): Likewise.
1085         (*fix_trunchi_1): Likewise.
1087 2004-01-21  Kazu Hirata  <kazu@cs.umass.edu>
1089         * alias.c, basic-block.h, c-common.c, c-common.h,
1090         c-cppbuiltin.c, c-opts.c, c-pragma.c, c-pretty-print.c,
1091         calls.c, cfg.c, cfgcleanup.c, cfgrtl.c, cgraph.h, collect2.c,
1092         combine.c, cppcharset.c, cpphash.h, cppinit.c, cpplib.c,
1093         cpplib.h, cppmacro.c, crtstuff.c, cselib.c, cselib.h,
1094         defaults.h, df.c, dominance.c, et-forest.c, expmed.c, expr.c,
1095         expr.h, fix-header.c, function.h, gcc.c, gcse.c, genattrtab.c,
1096         genautomata.c, genconditions.c, genemit.c, genflags.c,
1097         gengtype.c, gengtype.h, genopinit.c, genrecog.c, gensupport.c,
1098         ggc-zone.c, graph.c, haifa-sched.c, input.h, integrate.c,
1099         langhooks-def.h, langhooks.c, langhooks.h, line-map.c,
1100         line-map.h, local-alloc.c, optabs.c, optabs.h, postreload.c,
1101         ra.h, recog.c, reg-stack.c, regmove.c, reload.c, reorg.c,
1102         rtl.c, sched-deps.c, sched-ebb.c, sdbout.c, system.h,
1103         target.h, targhooks.c, toplev.h, tree-inline.c, unwind-pe.h,
1104         unwind.h, varray.c, varray.h: Update copyright.
1106 2004-01-21  Kazu Hirata  <kazu@cs.umass.edu>
1108         * config/h8300/coff.h: Update copyright.
1109         * config/h8300/elf.h: Likewise.
1110         * config/h8300/h8300-protos.h: Likewise.
1111         * config/h8300/h8300.c: Likewise.
1112         * config/h8300/h8300.h: Likewise.
1113         * config/h8300/h8300.md: Likewise.
1115 2004-01-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1117         * fixinc/inclhack.def (hpux10_stdio_declarations, ultrix_const3,
1118         ultrix_locale, ultrix_stdlib, ultrix_strings, ultrix_sys_time,
1119         ultrix_unistd): New hacks.
1120         * fixinc/tests/base/stdio.h (HPUX10_STDIO_DECLARATIONS_CHECK,
1121         ULTRIX_CONST2_CHECK): Add checks.
1122         * fixinc/tests/base/stdlib.h (ULTRIX_STDLIB_CHECK): Likewise.
1123         * fixinc/tests/base/strings.h (ULTRIX_STRINGS2_CHECK): Likewise.
1124         * fixinc/tests/base/unistd.h (ULTRIX_UNISTD_CHECK): Likewise.
1125         * fixinc/tests/base/sys/time.h (ULTRIX_SYS_TIME_CHECK): Likewise.
1126         * fixinc/tests/base/locale.h: New file.
1127         * fixinc/fixincl.x: Rebuilt.
1129 2004-01-21  Andreas Jaeger  <aj@suse.de>
1130             Michael Matz  <matz@suse.de>
1132         * doc/extend.texi (Extended Asm): Clarify memory clobber.
1134 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
1136         * crtstuff.c (frame_dummy, __do_global_ctors_1): Call
1137         _Jv_RegisterClasses through a function pointer.
1139 2004-01-21  Falk Hueffner  <falk@debian.org>
1141         PR target/12898
1142         * config/alpha/alpha.c (alpha_emit_set_const_1): If
1143         no_new_pseudos, use gen_rtx_SET directly for SImode constants
1144         which need multiple instructions to emit.
1146 2004-01-21  Inaoka Kazuhiro  <inaoka.kazuhiro@renesas.com>
1148         * config/m32r/m32r.h (CPP_SPEC): Define.
1150 2004-01-21  Zack Weinberg  <zack@codesourcery.com>
1152         * c-decl.c (merge_decls): Kill different_binding_level and
1153         different_tu arguments; simplify throughout.
1154         (duplicate_decls): Likewise.
1155         (pushdecl, merge_translation_unit_decls): Update calls to
1156         duplicate_decls.
1158 2004-01-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1160         * Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and
1161         $(SYSTEM_H).
1162         (print-rtl1.o): Depend on $(SYSTEM_H).
1164 2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
1166         PR bootstrap/12730
1167         * configure.ac: Delete definition and subsitution of docdir.
1168         Add info, man, srcman and srcinfo to target hooks. Create doc/
1169         directory.
1170         * configure: Regenerate.
1171         * Makefile.in: Don't substitute docdir and delete all references
1172         throughout.
1173         (MAKEINFOFLAGS): Define.
1174         (stmp-docobjdir): Delete.
1175         (INFOFILES, MANFILES): Define.
1176         (info): Call lang.info, srcinfo and lang.srcinfo.
1177         (generated-manpages): Call lang.man, srcman and lang.srcman.
1178         (srcinfo, srcman): New rules to copy back files to source directory.
1179         (doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
1180         (install-man): Revamp rule.
1181         (clean): Update dvi directory.
1182         (distclean): Delete TAGS from front end directorys.
1183         (maintainer-clean): Delete all document files in source directory.
1185         objc/Make-lang.in (objc.man, objc.info): Dummy entries.
1186         (objc.srcman, objc.srcinfo): Likewise.
1188 2004-01-20  Bruce Korb  <bkorb@gnu.org>
1190         * fixinc/inclhack.def(math_exception): bypass only for glibc.
1191         (matherr_decl): rename & relocate as exception_structure.
1192         This fix must precede the math_exception fix.
1194 2004-01-20  Roger Sayle  <roger@eyesopen.com>
1196         * fold-const.c (fold_convert): Rename to fold_convert_const.
1197         (fold_convert_const): Change arguments to take a tree_code,
1198         a type and the operand/expression to be converted.  Return
1199         NULL_TREE if no simplification is possible.  Add support for
1200         FIX_CEIL_EXPR and FIX_FLOOR_EXPR in addition to FIX_TRUNC_EXPR.
1201         (fold): Handle FIX_CEIL_EXPR and FIX_FLOOR_EXPR.
1202         Adjust call to fold_convert to match new fold_convert_const.
1203         Avoid modifying the tree passed to fold in-place.
1205 2004-01-21  Alan Modra  <amodra@bigpond.net.au>
1207         * config/rs6000/sysv4.h (DWARF2_FRAME_REG_OUT): Define.
1208         * dwarf2out.c (output_cfi): Map regs using DWARF2_FRAME_REG_OUT.
1209         * doc/tm.texi (DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Document.
1211 2004-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1213         * pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.
1214         * pa.c (store_reg, store_reg_modify, load_reg, set_reg_plus_d):
1215         Likewise.  Handle frames larger than 0x7fffffff on 64-bit ports.
1216         (emit_move_sequence): Check scratch_reg first in various if statements.
1217         Extend source simplification to handle all 64-bit CONST_INTs.
1218         (pa_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for printing
1219         frame size.
1220         (hppa_expand_prologue, hppa_expand_epilogue): Use HOST_WIDE_INT for
1221         frame offset calculations.
1222         * pa.h (NEW_HP_ASSEMBLER): Add comment.
1223         (MAX_LEGIT_64BIT_CONST_INT, MIN_LEGIT_64BIT_CONST_INT,
1224         LEGITIMATE_64BIT_CONST_INT_P): Define.
1225         (LEGITIMATE_CONSTANT_P): Use LEGITIMATE_64BIT_CONST_INT_P.  Treat
1226         any CONST_INT as legitimate during and after reload.
1227         (VAL_32_BITS_P, INT_32_BITS): Define.
1228         (LEGITIMIZE_RELOAD_ADDRESS): Handle large frame offsets.
1230 2004-01-20  Jan Hubicka  <jh@suse.cz>
1232         * emit-rtl.c (verify_rtx_sharing, copy_insn_1,
1233         emit_copy_of_insn_after, emit_copy_of_insn_after): Clobbers
1234         containing hard regs are shared.
1235         (gen_hard_reg_clobber): New function.
1236         (hard_reg_clobbers): New array.
1237         * genemit.c (gen_exp): Use gen_hard_reg_clobber.
1238         (copy_rtx): Do not copy clobbers containing hard regs.
1239         * rtl.h (gen_hard_reg_clobber): Declare.
1241 2004-01-20  Jan Hubicka  <jh@suse.cz>
1243         * varray.c:  Include hashtab.h
1244         (varray_descriptor): New structure.
1245         (hash_descriptor, eq_descriptor, varray_descriptor,
1246         print_statistics): New static functions
1247         (varray_init, varray_grow): Update statistics
1248         (dump_varray_statistics): New function.
1249         * varray.h (dump_varray_statistics): Declare.
1250         * toplev.c (finalize): Call it.
1251         * Makefile.in (varray.o): Add dependency.
1253 2004-01-20  Jan Hubicka  <jh@suse.cz>
1255         * cselib.c: Include alloc-pool.h
1256         (empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill.
1257         (elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare.
1258         (new_elt_list, new_elt_loc_list, unchain_one_elt_list,
1259         unchain_one_elt_loc_list_pool, unchain_one_value,
1260         new_cselib_val): Simplify using allocpool.
1261         (cselib_init): Initialize allocpools.
1262         (cselib_finish): Finish allocpools.
1263         * Makefile.in (cselib.o): Depend on alloc-pool.h
1265 2004-01-20  Richard Sandiford  <rsandifo@redhat.com>
1267         * config/mips/mips.c (mips_load_call_address): Make the call insn
1268         use $gp if it could be calling a lazy binding stub.
1270 2004-01-20  Kazu Hirata  <kazu@cs.umass.edu>
1272         * config/s390/s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define.
1273         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
1274         (TARGET_STRUCT_VALUE_RTX): Likewise.
1275         * config/s390/s390.h (PROMOTE_FUNCTION_ARGS): Remove.
1276         (PROMOTE_FUNCTION_RETURN): Remove.
1277         (STRUCT_VALUE): Remove.
1279 2004-01-20  Denis Chertykov  <denisc@overta.ru>
1281         PR bootstrap/13735
1282         * config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X
1283         register as pointer after reload.
1285 2004-01-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1287         PR optimization/12440
1288         * loop.c: Include ggc.h.
1289         (loop_optimize): Run garbage collector between optimization of loops.
1290         * Makefile.in (loop.o): Add GGC_H dependency.
1292 2004-01-20  Hartmut Penner  <hpenner@de.ibm.com>
1294         * gcc/config/rs6000/rs6000.c (function_arg) Handle
1295         vector register special in function without prototype.
1296         (function_arg_advance): Vector parameters get always
1297         GPRs allocated for the linux64 target.
1299 2004-01-20  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1301         * config/m32r/m32r.h (TARGET_M32R2). Test for TARGET_M32R2_MASK
1302         not TARGET_M32RX_MASK.
1304 2004-01-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
1306         PR target/13557
1307         * config/sparc/sparc.c (function_arg): Reorder the cases.
1309 2004-01-19  Per Bothner  <per@bothner.com>
1311         Move cpp_reader's line_maps field to a shared global.
1312         * cpphash.h (cpp_reader):  Rename line_maps field to line_table
1313         and change the type to a pointer rather than a struct.
1314         * cppinit.c (cpp_push_main_field):  Adjust accordingly.
1315         * cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks):
1316         Likewise.
1317         * cppfiles.c (validate_pch):  Likewise.
1318         * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text):
1319         Likewise.
1320         * cpperror.c (print_location):  Likewise.
1321         * cpplib.h (cpp_create_reader):  New line_maps pointer parameter.
1322         * cppinit.c (cpp_create_reader):  Handle new parameter.
1323         (cpp_destroy):  Don't free line_maps - that's no longer our job.
1324         * input.h (line_table):  New variable.
1325         * toplev.c (line_table):  Declare variable.
1326         (general_init):  Initialize line_table.
1327         * c-opts.c (c_common_init_options):  Pass line_table to
1328         cpp_create_reader.
1329         * fix-header.c (read_scan_file):  New local variable line_table.
1330         Initialize, and pass it to cpp_create_reader.
1331         * Makefile.in (LIBS, LIBDEPS):  Add libcpp.a.
1332         (C_AND_OBJC_OBJS, fix-header):  Remove redundant libcpp.a.
1334 2004-01-19  Per Bothner  <per@bothner.com>
1336         Implement a cache for linemap_lookup.
1337         * line-map.h (struct_line_maps):  Add cache field.
1338         * line-map.c (linemap_init):  Zero cache field.
1339         (linemap_add):  Set cache field to offset of newly allocated map.
1340         (linemap_lookup):  Use and set cache field.
1342 2004-01-20  Kaz Kojima  <kkojima@gcc.gnu.org>
1344         PR optimization/13567
1345         * cse.c (cse_basic_block): Call cse_insn with a non-null
1346         libcall_insn for the last SET insn of a no-confilict block.
1348 2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
1350         * Makefile.in (target_noncanonical, program_transform_name): Use
1351         immediate define instead of deferred.
1352         (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
1353         PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
1354         GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
1355         deferred backquote.
1357 2004-01-20  Joseph S. Myers  <jsm@polyomino.org.uk>
1359         * c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
1360         true unconditionally.
1361         * c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning):
1362         Remove.
1363         (build_unary_op, build_modify_expr): Don't handle extended
1364         lvalues.
1365         (build_component_ref, build_conditional_expr): Call non_lvalue
1366         instead of pedantic_non_lvalue.
1367         (build_c_cast): Don't condition use of non_lvalue on pedantic.
1368         * fold-const.c (fold): Don't check pedantic directly for
1369         COMPOUND_EXPR.  Ensure that results for COMPOUND_EXPR are
1370         passed to pedantic_non_lvalue.
1371         * doc/extend.texi: Remove documentation of extended lvalues.
1373 2004-01-19  Roger Sayle  <roger@eyesopen.com>
1375         PR optimization/5263
1376         * simplify-rtx.c (associative_constant_p): Delete.
1377         (simplify_associative_operation): Rewrite to linearize terms, and
1378         attempt to simplify new term against both left and right subterms.
1379         (simplify_binary_operation): Call swap_commutative_operands_p on
1380         op0 and op1, not trueop0 and trueop1.  Move the initialization of
1381         trueop0 and trueop1 down to where first needed.
1382         (simplify_relational_operation): Likewise.
1383         * rtlanal.c (commutative_operand_precedence): Also order constant
1384         operands using avoid_constant_pool_reference.
1386 2004-01-19  Richard Henderson  <rth@redhat.com>
1388         * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
1389         don't check memory mode.
1390         (unaligned_memory_operand): Likewise.
1391         (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't
1392         abort for op0 not MEM.
1394         * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination
1395         is not a reg, copy to a scratch first.
1396         (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi,
1397         unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le,
1398         unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG.
1399         (reload_inqi, reload_inhi): Fix mode of op0.
1400         (reload_inqi_help, reload_inhi_help, reload_outqi_help,
1401         reload_outhi_help): Likewise.  Use define_insn_and_split.
1403         * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN
1404         as well as $29 dead.
1406 2004-01-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
1408         * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New.  Emit
1409         "tls_object" for thread-local objects.
1410         * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
1411         "#tls" for thread-local sections.
1412         * configure.ac (thread-local checks): Specify --fatal-warnings in
1413         every binutils-specific checks.  For sparc*-*-*, test whether the
1414         OS is Solaris and the tools are native and act accordingly.
1415         * configure: Rebuild.
1417 2004-01-19  Jeff Law  <law@redhat.com>
1419         * contrib.texi: Update Paolo Carlini's entry.  New entries for
1420         Jerry Quinn and Petur Runolfsson.
1422 2004-01-19  Roger Sayle  <roger@eyesopen.com>
1424         * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
1425         size, don't use the larger zero-extending loads.
1427 2004-01-19  Richard Henderson  <rth@redhat.com>
1429         * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
1430         * alpha.md (UNSPEC_NT_LDA): Remove.
1431         (UNSPEC_CVTLQ, cvtlq): New.
1432         (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
1433         (extendsidi2_fix): Remove.
1434         (extendsidi2 splitter): Use cvtlq.
1435         (extendsidi2 fp peepholes): Remove.
1436         (cvtql): Use SFmode instead of SImode.
1437         (fix_trunc?fsi): Update to match.
1438         (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
1439         (movsi): Rename from movsi_nofix, remove f alternatives.
1440         (movsi_nt_vms): Similarly.
1441         (movsi_fix, movsi_nt_vms_fix): Remove.
1442         (nt_lda): Remove.
1443         * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.
1445 2004-01-19  Jan Hubicka  <jh@suse.cz>
1447         * cgraph.c (cgraph_remove_node): Fix removal from linked list.
1448         * cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
1449         list.
1450         (cgraph_remove_unreachable_nodes): New function
1451         (cgraph_decide_inlining_of_small_function): Fix pasto.
1452         (cgraph_decide_inlining_incrementally): Fix pasto.
1453         (cgrpah_decide_inlining): Likewise; remove unreachable nodes.
1455 2004-01-19  Steven Bosscher  <stevenb@suse.de>
1457         * gengtype.c (header_file): Make it static.
1458         (write_types_process_field, write_enum_defn): Minor whitespace fixes.
1459         * gengtype.h (header_file): No longer extern.
1461 2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
1463         * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
1464         * expr.c (CASE_VECTOR_PC_RELATIVE): Remove.
1465         * stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise.
1467 2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
1469         * stmt.c (HAVE_casesi): Define it not already defined.
1470         (HAVE_tablejump): Likewise.
1471         (expand_end_case_type): Resort to the binary tree method if
1472         neither casesi or tablejump is available.
1474 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
1476         * final.c (final_scan_insn): Make non-static again.
1477         * output.h (final_scan_insn): Re-add prototype.
1478         * config/arc/arc.c (arc_output_function_epilogue): Add NULL
1479         to final_scan_insn call.
1480         * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise.
1481         * config/mips/mips.c (mips_output_conditional_branch): Likewise.
1482         * config/pa/pa.c (output_lbranch, output_call): Likewise.
1483         * config/sh/sh.c (print_slot): Likewise.
1484         * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise.
1485         (output_sibcall, sparc_flat_function_epilogue): Likewise.
1487 2004-01-18  Jan Hubicka  <jh@suse.cz>
1489         * basic-block.h (try_redirect_by_replacing_jump): Declare.
1490         * cfgcleanup.c (try_optimize_cfg): Use it.
1491         * cfgrtl.c (try_redirect_by_replacing_jump): Export.
1492         (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
1493         Kill hack.
1494         (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.
1496         Revert:
1497         2004-01-16  Geoffrey Keating  <geoffk@apple.com>
1499                 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
1500                 even after reload, just don't remove the actual jump tables.
1502 2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
1504         * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.
1506 2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
1508         * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
1509         the size of a pointer in bytes.
1511 2004-01-18  Roger Sayle  <roger@eyesopen.com>
1513         * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
1514         live "next" variable, which could lead to an infinite loop.
1516 2004-01-18  Andrew Pinski  <pinskia@physics.uc.edu>
1518         * config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
1519         block.
1521         * config/rs6000/rs6000.c (rs6000_special_round_type_align):
1522         Check for NULL in the chain and remove repeated code.
1524 2004-01-18  Jan Hubicka  <jh@suse.cz>
1526         * coverage.c (checksum_string): Rename to ...
1527         (coverage_checksum_string): ... this one, Use crc32_string; recognize
1528         names containing random number and zero the number out in order to get
1529         match.
1531 2004-01-18  Richard Sandiford  <rsandifo@redhat.com>
1533         * config/mips/mips.c (mips_got_alias_set): Mark for PCH.
1535 2004-01-18  Joseph S. Myers  <jsm@polyomino.org.uk>
1537         * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
1538         doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
1539         doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
1540         doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
1541         doc/trouble.texi: Remove trailing whitespace.
1543 2004-01-18  Richard Sandiford  <rsandifo@redhat.com>
1545         PR target/7618
1546         * config/mips/mips.c: Include cfglayout.h.
1547         (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
1548         (mips_unspec_offset_high): Add temporary register argument.
1549         (mips_load_call_address): New function, split out from...
1550         (mips_expand_call): ...here.
1551         (mips_output_cplocal): New function.
1552         (mips_output_function_prologue, mips_output_function_epilogue): Use it.
1553         (mips_emit_loadgp): New function, split out from...
1554         (mips_expand_prologue): ...here.
1555         (mips_output_mi_thunk): New function.
1557 2004-01-17  Bernardo Innocenti  <bernie@develer.com>
1559         * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
1560         mcpu32): Remove redundant checks for implied target predefines.
1562 2004-1-17  Andrew Pinski  <pinskia@physics.uc.edu>
1564         * config/rs6000/rs6000.c (rs6000_special_round_type_align):
1565         Return type is unsigned int not int.
1566         * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
1567         Likewise.
1569 2004-01-18  Joseph S. Myers  <jsm@polyomino.org.uk>
1571         * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
1572         doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
1573         "GNU/Linux" and "Microsoft Windows" terminology.
1575 2004-01-18  Joseph S. Myers  <jsm@polyomino.org.uk>
1577         * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
1578         doc/cppopts.texi, doc/extend.texi, doc/install.texi,
1579         doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
1580         doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
1581         @smallexample instead of @example.
1583 2004-01-17  Ziemowit Laski  <zlaski@apple.com>
1585         * objc/objc-act.c (build_objc_method_call): Use target
1586         hooks instead of macros to determine if ..._stret
1587         dispatchers should be used (NeXT runtime only).
1589 2004-01-17  Roger Sayle  <roger@eyesopen.com>
1591         * builtins.c (expand_builtin_expect_jump): Fix mistake in my
1592         last patch.  Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
1594 2004-01-17  Daniel Jacobowitz  <drow@mvista.com>
1596         * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
1597         (emit_call_insn_before_sameloc, emit_insn_after_sameloc)
1598         (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
1599         macros.
1600         * reload1.c (emit_reload_insns): Use them.
1601         * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
1602         (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
1603         for NULL PATTERN.
1605 2004-01-17  Daniel Jacobowitz  <drow@mvista.com>
1607         * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
1608         (final_scan_insn): Update to take an additional SEEN argument.  Emit
1609         a line note after the prologue.  Make static.
1610         (line_note_exists): Remove.
1611         (final): Don't initialize line_note_exists.  Update call to
1612         final_scan_insn.
1613         * output.h (final_scan_insn): Remove prologue.
1614         * function.c (set_insn_locators): Update comment.
1615         (thread_prologue_and_epilogue_insns): Add a comment.
1617 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
1619         PR target/10781
1620         * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
1621         Prototype.
1622         * config/rs6000/rs6000.c (rs6000_special_round_type_align):
1623         New function.
1624         * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
1625         * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
1626         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
1628 2004-01-17  Jan Hubicka  <jh@suse.cz>
1630         * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
1631         commit.
1633         * toplev.c (HAVE_conditional_execution): Provide default.
1634         (rest_of_handle_reorder_blocks): For conditional_execution target
1635         update liveness once after all transformations
1636         (rest_of_compilation): Do crossjumping before ce3.
1638 2004-01-17  Geoffrey Keating  <geoffk@apple.com>
1640         * alias.c (new_alias_set): Mark last_alias_set for PCH.
1641         (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
1642         for PCH.
1643         (get_frame_alias_set): Likewise, except rename it to 'frame_set'.
1644         * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
1645         (get_TOC_alias_set): Mark 'set' for PCH.
1647 2004-01-16  Geoffrey Keating  <geoffk@apple.com>
1649         * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
1650         even after reload, just don't remove the actual jump tables.
1652 2004-01-17  J. Brobecker  <brobecker@gnat.com>
1654         * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
1655         Remove checks for is_ada() and TREE_UNSIGNED.
1656         (subrange_type_die): Emit a byte_size attribute if the subrange
1657         type size is different from the base type size.
1658         (modified_type_die): Replace call to is_ada_subrange_type() by
1659         call to is_subrange_type().
1661 2004-01-16  Andrew Pinski  <pinskia@physics.uc.edu>
1663         * config/sh/sh.c: Include ggc.h.
1665 2004-01-16  Geoffrey Keating  <geoffk@apple.com>
1667         * Makefile.in (MD5_H): New.
1668         (fold-const.o): Depend on md5.h.
1669         (dwarf2out.o): Likewise.
1670         (cppfiles.o): Likewise.
1671         * cppfiles.c: Include md5.h.
1672         (should_stack_file): Check against list read from PCH file.
1673         (struct pchf_data): New.
1674         (pchf): New variable.
1675         (struct pchf_adder_info): New.
1676         (pchf_adder): New.
1677         (pchf_save_compare): New.
1678         (_cpp_save_file_entries): New.
1679         (_cpp_read_file_entries): New.
1680         (struct pchf_compare_data): New.
1681         (pchf_compare): New.
1682         (check_file_against_entries): New.
1683         * cpphash.h (_cpp_save_file_entries): Prototype.
1684         (_cpp_read_file_entries): Prototype.
1685         * cpppch.c (cpp_write_pch_state): Write the list of headers.
1686         (cpp_read_state): Read the list of headers.
1688 2004-01-17  Jan Hubicka  <jh@suse.cz>
1690         * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
1691         builtin_expect specially.
1692         * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
1693         (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
1694         * invoke.texi (max-inline-insns-single): Set to 100.
1695         (large-function-insns): Set to 3000.
1697 2004-01-16  Eric Christopher  <echristo@redhat.com>
1698             Chandrakala Chavva <cchavva@redhat.com>
1700         * cppcharset.c (one_iso88591_to_utf8): New function.
1701         (convert_iso88591_utf8): Ditto. Use.
1702         (conversion_tab): Use.
1703         (_cpp_input_to_utf8): New function.
1704         (_cpp_init_iconv_buffer): Ditto.
1705         (_cpp_close_iconv_buffer): Ditto.
1706         * cpphash.h: Prototype new functions.
1707         (cpp_buffer): Add input_cset_desc.
1708         * cppinit.c: Add input_charset default.
1709         * cpplib.c (cpp_push_buffer): Support init and
1710         close of iconv.
1711         * cpplib.h (cpp_options): Add input_charset.
1713 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
1715         * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
1716         * config/alpha/unicosmk.h: Remove a commented-out definition
1717         of ASM_OUTPUT_SECTION_NAME.
1718         * config/stormy16/stormy16.h: Likewise.
1720 2004-01-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1722         * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
1723         (alpha___extern_prefix_sys_stat): ... this.
1724         Apply to <sys/mount.h>, too.
1725         Tweak to match more variations.
1726         * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
1728         * fixinc/inclhack.def (alpha___extern_prefix,
1729         alpha___extern_prefix_standards): New hacks to obey
1730         __PRAGMA_EXTERN_PREFIX.
1731         * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
1732         test.
1733         * fixinc/tests/base/standards.h: Likewise.
1735         * fixincl/inclhack.def (alpha_pthread): Tweak to match more
1736         variations.
1737         New testcase.
1738         * fixinc/tests/base/pthread.h: Handle it.
1740         * fixincl/inclhack.def (bad_lval): Sort file list.
1741         Add many missing files up to Tru64 UNIX V5.1B.
1742         * gcc/fixinc/tests/base/libgen.h: Renamed to ...
1743         * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
1744         order.
1746         * fixinc/fixincl.x: Regenerate.
1748 2004-01-16  Mark Mitchell  <mark@codesourcery.com>
1750         * version.c (version_string): Change to 3.5.0.
1751         * doc/include/gcc-common.texi (version-GCC): Likewise.
1753 2004-01-16  Jan Hubicka  <jh@suse.cz>
1755         * i386.md (load_tp_di): Fix pasto.
1757         PR opt/13608
1758         * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
1760         * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
1761         pp_c_character_constant, pp_c_floating_constant,
1762         pp_c_additive_expression, pp_c_shift_expression,
1763         pp_c_equality_expression, pp_c_and_expression,
1764         pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
1765         pp_c_logical_and_expression): Remove inline modifier.
1766         * dwarf2out.c (get_AT): Likewise.
1767         * et-forest.c (et_splay): Likewise.
1768         * ra.h (ra_alloc, ra_calloc): Likewise
1770 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
1772         * config/frv/frv-protos.h: Fix comment formatting.
1773         * config/frv/frv.c: Likewise.
1774         * config/frv/frv.h: Likewise.
1775         * config/frv/frv.md: Likewise.
1776         * config/frv/frvbegin.c: Likewise.
1777         * config/frv/frvend.c: Likewise.
1779 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
1781         * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
1782         * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
1783         LINKER_DOES_NOT_WORK_WITH_DWARF2.
1784         (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
1786 2004-01-16  J"orn Rennecke <joern.rennecke@superh.com>
1788         PR 11864
1789         * postreload.c (reload_cse_simplify_operands): Don't remove
1790         implicit extension from LOAD_EXTEND_OP.
1792 2004-01-16  Jan Hubicka  <jh@suse.cz>
1794         PR opt/11350
1795         * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
1796         after reload.
1797         * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
1798         rtl_try_redirect_by_replacing_branch): Likewise.
1800 2004-01-15  Geoffrey Keating  <geoffk@apple.com>
1802         PR pch/13689
1803         * alias.c (struct alias_set_entry): Mark for GC.
1804         (alias_sets): Make static, mark for GC.
1805         (record_alias_subset): Use GC to allocate alias structures.
1806         * varray.c (element): Make generic varrays GCed.
1808         PR pch/13361
1809         * c-typeck.c (constructor_asmspec): Delete.
1810         (struct initializer_stack): Delete field 'asmspec'.
1811         (start_init): Delete saving of asmspec.
1812         (finish_init): Don't update constructor_asmspec.
1813         * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
1814         * stmt.c (expand_asm): Duplicate strings from tree.
1815         (expand_asm_operands): Likewise.
1816         * tree.c (tree_size): Update computation of size of STRING_CST.
1817         (make_node): Don't make STRING_CST nodes.
1818         (build_string): Allocate string with tree node.
1819         * tree.def (STRING_CST): Update comment.
1820         * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
1821         (tree_string): Place contents of string in tree node.
1822         * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
1823         from tree.
1825         * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
1826         altivec operands.
1828 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
1830         * c-common.h: Fix comment formatting.
1831         * c-cppbuiltin.c: Likewise.
1832         * c-pragma.c: Likewise.
1833         * calls.c: Likewise.
1834         * collect2.c: Likewise.
1835         * cppcharset.c: Likewise.
1836         * cpptrad.c: Likewise.
1837         * dbxout.c: Likewise.
1838         * defaults.h: Likewise.
1839         * dwarf2out.c: Likewise.
1840         * fold-const.c: Likewise.
1841         * genautomata.c: Likewise.
1842         * genconditions.c: Likewise.
1843         * genflags.c: Likewise.
1844         * gengtype.c: Likewise.
1845         * integrate.c: Likewise.
1846         * loop.c: Likewise.
1847         * predict.c: Likewise.
1848         * sdbout.c: Likewise.
1850 2004-01-15  Zack Weinberg  <zack@codesourcery.com>
1852         * config/ia64/ia64.md (*movti_internal): C output template
1853         extracted to ia64.c.
1854         (*movti_internal_reg): Delete.
1855         (reload_inti, reload_outti): Use the correct mode on operand 2
1856         in the first place, don't fix it up in the output template.
1857         (movtf, reload_ointf, reload_outtf): New expanders.
1858         (*movtf_internal): New define_insn_and_split.
1859         * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
1860         make static; do not hand TFmode CONST_DOUBLEs to split_double.
1861         (ia64_split_tmode_move): New function, body mostly pulled
1862         from ia64.md:*movti_internal.
1863         (ia64_function_arg_words): New function, extracted common
1864         logic from ia64_function_arg et seq.
1865         (ia64_function_arg_offset): Likewise.  Handle correctly the
1866         case of a scalar quantity 16 bytes wide with only 8-byte alignment.
1867         (ia64_function_arg, ia64_function_arg_partial_nregs)
1868         (ia64_function_arg_advance): Use ia64_function_arg_words and
1869         ia64_function_arg_offset.
1870         (ia64_function_value): TCmode does not go in float regs.
1871         (ia64_secondary_reload_class): Also handle TFmode.
1872         * config/ia64/ia64-protos.h: Remove prototype for
1873         ia64_split_timode; add prototype for ia64_split_tmode_move.
1875 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
1877         * Makefile.in (MAINT): Make it an immediate assignment.
1879 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
1881         * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
1883 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
1885         * config/h8300/coff.h: Replace Hitachi with Renesas.
1886         * config/h8300/elf.h: Likewise.
1887         * config/h8300/h8300-protos.h: Likewise.
1888         * config/h8300/h8300.c: Likewise.
1889         * config/h8300/h8300.h: Likewise.
1890         * config/h8300/h8300.md: Likewise.
1891         * config/h8300/lib1funcs.asm: Likewise.
1893 2004-01-15  Andrew Pinski  <apinski@apple.com>
1895         * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
1896         around it.
1898 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
1900         * config/h8300/h8300.c (h8300_return_in_memory): New.
1901         (TARGET_STRUCT_VALUE_RTX): Likewise.
1902         (TARGET_RETURN_IN_MEMORY): Likewise.
1903         * config/h8300/h8300.h (STRUCT_VALUE): Remove.
1904         (RETURN_IN_MEMORY): Likewise.
1906 2004-01-15  Richard Earnshaw  <rearnsha@arm.com>
1908         PR optimization/13375
1909         * gcse.c (handle_avail_expr): Just return if the source is not a
1910         single set.
1912 2004-01-15  Richard Earnshaw  <rearnsha@arm.com>
1913             Daniel Jacobowitz  <drow@mvista.com>
1915         * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
1916         (EQUIV): Define.
1917         (ARM_FUNC_ALIAS): New macro.
1918         * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
1919         * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
1921 2004-01-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1923         PR optimization/12372
1924         * calls.c (expand_call): Add call_fusage data for stack arguments in
1925         constant calls.
1927 2004-01-15  Alan Modra  <amodra@bigpond.net.au>
1929         * config/rs6000/rs6000.c (uses_TOC): Correct comment.  Make static.
1930         (rs6000_elf_declare_function_name): Formatting.
1931         * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
1933 2004-01-15  Jan Hubicka  <jh@suse.cz>
1935         PR bootstrap/13692
1936         * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
1937         previous patch.
1939 2004-01-15  Richard Henderson  <rth@redhat.com>
1941         * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
1942         integer regs of the same call-savedness.
1944 2004-01-15  Andreas Schwab  <schwab@suse.de>
1946         PR bootstrap/13562
1947         * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
1948         status for NOTB/NOTW/NEGW methods.
1950 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
1952         * doc/invoke.texi: Update dump file names.  Fix a typo.
1954 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
1956         * builtins.c (expand_builtin_va_end): Don't use
1957         EXPAND_BUILTIN_VA_END.
1958         * system.h (EXPAND_BUILTIN_VA_END): Poison.
1959         * config/d30v/d30v.h: Remove a commented-out definition of
1960         EXPAND_BUILTIN_VA_END.
1961         * config/stormy16/stormy16.h: Likewise.
1963 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
1965         * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
1966         * targhooks.c (default_struct_value_rtx): Don't use
1967         STRUCT_VALUE_INCOMING_REGNUM.
1969 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
1971         PR bootstrap/12744
1972         * configure.in: Revamp enable-generated-files-in-srcdir rule to define
1973         GENINSRC and not parsedir.  Define srcextra as a langhook.
1974         * configure: Regenerate.
1975         * Makefile.in: Suppress default .l.c rule.  Don't substitute
1976         parsedir and delete all references throughout.  Conditionally define
1977         rule for srcextra dependent on GENINSRC.
1978         (stmp-docobjdir): Delete.
1979         (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
1980         (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
1981         and gengtype-yacc.h back to source directory.
1982         (maintainer-clean): Delete all parse files in source directory.
1983         (distclean): Delete generated files.
1985         * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
1986         (objc-parse.c, objc-parse.y): Don't use parsedir.
1987         (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
1988         directory if requested.
1989         (po-generated): Don't use parsedir.
1990         (objc.maintainer-clean): Delete above files from source directory.
1992 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
1994         * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
1996 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
1998         * doc/tm.texi: Replace RETURN_IN_MEMORY with
1999         TARGET_RETURN_IN_MEMORY.
2001 2004-01-15  Jan Hubicka  <jh@suse.cz>
2003         * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
2004         * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
2005         functions accepting SSE arguments
2006         (function_arg): Warn only when asked to warn.
2007         * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
2009 2004-01-14  Joseph S. Myers  <jsm@polyomino.org.uk>
2011         * c-parse.in (stmts_and_decls): Make label at end of compound
2012         statement a hard error.
2014 2004-01-14  Jan Hubicka  <jh@suse.cz>
2016         * cgraph.c (create_edge): Use local.redefined_extern_inline.
2017         * cgraph.h (cgraph_local_info): Sort fields by size; add
2018         redefined_extern_inline
2019         (cgraph_global_info): Sort fields by size.
2020         (cgraph_node): Likewise.
2021         * cgraphunit.c (cgraph_finalize_function): Se
2022         local.redefined_extern_inline on redefinition.
2023         (cgraph_analyze_function): Use it; fix formating.
2025 2004-01-14  Jan Hubicka  <jh@suse.cz>
2027         PR c++/10776
2028         * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
2029         outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
2030         bitmaps
2031         (cache_size): New variable
2032         (add_dependence): Update use; canonize early memory locations
2033         (sched_analyze_1): Likewise.
2034         (sched_analyze_2): Likewise.
2035         (init_dependency_caches): Initialize bitmaps.
2036         (free_dependency_caches): Free bitmaps
2038 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
2040         * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
2041         targetm.calls.strict_argument_naming().
2042         * target.h: Likewise.
2044 2004-01-14  Richard Henderson  <rth@redhat.com>
2046         PR debug/13231
2047         * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
2048         instructions.
2050 2004-01-14  Richard Henderson  <rth@redhat.com>
2052         PR c++/12491
2053         * except.c (struct eh_region): Add u.fixup.resolved.
2054         (resolve_one_fixup_region): Split out from ...
2055         (resolve_fixup_regions): ... here.
2057 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
2059         * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
2061 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
2063         * config/alpha/alpha.h (STRUCT_VALUE): Remove.
2064         * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
2065         (STRUCT_VALUE): Remove.
2067 2004-01-14  Steven Bosscher  <stevenb@suse.de>
2069         * system.h: Poison PROMOTED_MODE
2070         * integrate.c (expand_inline_function): Don't mention the
2071         PROMOTED_MODE.
2072         * loop.c (update_giv_derive): Same.
2073         * tree.h (DECL_RTL): Same.
2075 2004-01-14  J"orn Rennecke <joern.rennecke@superh.com>
2077         PR target/9365
2078         * sh.c (gen_block_redirect): Add special handling of RETURN.
2079         (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
2080         far branch target (i.e. it's a return).
2082 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
2084         * regrename.c (find_oldest_value_reg): Fix a warning.
2086 2004-01-14  Richard Earnshaw  <rearnsha@arm.com>
2088         PR bootstrap/12527
2089         * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
2090         Move linux-gas.h and linux-elf.h before aout.h.
2091         * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
2092         * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
2094 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
2096         * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
2097         (CONST_INT, VOIDmode, ...).
2099 2004-01-14  Richard Earnshaw  <rearnsha@arm.com>
2101         * regrename.c (find_oldest_value_reg): If the replacement uses
2102         multiple hard registers, check that all of them are in CLASS.
2104 2004-01-14  Jan Hubicka  <jh@suse.cz>
2106         * alias.c (get_alias_set):  Initialize alias set to 0 when subset is
2107         impossible.
2109 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
2111         * Makefile.in: Define MAINT from --enable-maintainer-mode.
2113 2004-01-14  Hartmut Penner  <hpenner@de.ibm.com>
2115         * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
2116         Calculate always vrsave_mask if TARGET_ALTIVEC.
2117         (rs6000_emit_prologue): Emit code for vrsave
2118         only if TARGET_ALTIVEC_VRSAVE.
2119         (rs6000_emit_epilogue): Likewise.
2121 2004-01-14  Eric Botcazou  <ebotcazou@libertysurf.fr>
2123         * config/sparc/sparc.md (tie_add32): Fix pasto.
2124         (tie_add64): Likewise.
2126 2004-01-14  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2128         * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
2130 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
2132         * config/iq2000/iq2000-protos.h: Fix comment formatting.
2133         * config/iq2000/iq2000.c: Likewise.
2134         * config/iq2000/iq2000.md: Likewise.
2136 2004-01-14  J. Brobecker  <brobecker@gnat.com>
2138         * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
2139         (subrange_type_die): Add handle for nameless subrange types.
2141 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
2143         * config/h8300/h8300-protos.h: Replace do_movsi with
2144         h8300_expand_movsi.
2145         * config/h8300/h8300.c (do_movsi): Change to
2146         h8300_expand_movsi.
2147         * config/h8300/h8300.md (movsi): Replace do_movsi with
2148         h8300_expand_movsi.
2149         (movsf): Likewise.
2151 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
2153         * config/h8300/h8300.c (dosize): Change to
2154         h8300_emit_stack_adjustment.  Update callers.
2156 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
2158         * config/h8300/h8300.md (movstrictqi): Add an alternative with
2159         the source being post_inc.  Tighten the predicate for the
2160         destination to register_operand.
2161         (movstricthi): Likewise.
2163 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
2165         * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
2166         * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
2167         * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
2169 2004-01-14  Jan Hubicka  <jh@suse.cz>
2171         Partial fix PR c++/12850
2172         * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
2173         at zero nest level.
2175 2004-01-13  Bernardo Innocenti  <bernie@develer.com>
2177         * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
2178         pseudo-register.
2180 2004-01-13  Devang Patel <dpatel@apple.com
2182         PR debug/7078
2183         * dbxout.c (dbxout_symbol_name): Emit mangled names for
2184         NAMESPACE_DECL memebers.
2186 2004-01-13  Andrew Pinski  <pinskia@physics.uc.edu>
2188         PR c++/12709
2189         * c-common.c (finish_fname_decls): Use the chain only if the
2190         tree is an expr_stmt.
2192 2004-01-13  Vladimir Makarov  <vmakarov@redhat.com>
2194         * rtl.def: Add comment about new option in automata_option.
2196         * genautomata.c (PROGRESS_OPTION): New macro.
2197         (progress_flag): New global variable.
2198         (gen_automata_option): Process `progress'.
2199         (transform_insn_regexps, check_unit_distributions_to_automata,
2200         make_automaton, NDFA_to_DFA, build_automaton, create_automata,
2201         expand_automata, write_automata): Print about the progress only if
2202         progress_flag.  Remove fflush.
2203         (initiate_automaton_gen): Process command line flag `-progress'.
2205         * doc/md.texi: Describe the new option.
2207 2004-01-13  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2209         * cfg.c (dump_bb): Dump entry edges.
2211 2004-01-13  Richard Earnshaw  <rearnsha@arm.com>
2213         * arm.c (thumb_legitimate_address_p): Only allow constant pool
2214         references from SImode.
2215         * arm.md (thumb_movhi_insn): Don't allow minipool references.
2217 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
2219         * system.h (TEXT_SECTION): Poison.
2220         * varasm.c (text_section): Don't use TEXT_SECTION.
2221         * config/sh/sh.c (sh_file_start): Fix a comment typo.
2222         * doc/tm.texi (TEXT_SECTION): Remove.
2224 2004-01-13  Ben Elliston  <bje@wasabisystems.com>
2226         * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
2228 2004-01-12  James E Wilson  <wilson@specifixinc.com>
2230         * unwind-libunwind.c: Delete.
2232 2004-01-12  Zack Weinberg  <zack@codesourcery.com>
2234         PR 13656
2235         * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
2236         oldtype is set, set *newtypep or *oldtypep too.  Do not set
2237         them at the very end.
2238         (validate_proto_after_old_defn): Restructure for comprehensibility;
2239         make error messages clearer.
2241 2004-01-12  Zack Weinberg  <zack@codesourcery.com>
2243         * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
2244         (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
2245         * varray.c: No need to prototype error.
2246         (varray_check_failed): Wrap long string onto two lines.
2247         (varray_underflow): New function.
2249 2004-01-13  Steven Bosscher  <stevenb@suse.de>
2251         PR c++/13376
2252         * function.h (struct function): Kill `name' field.
2253         (current_function_name): Make it an extern function.
2254         * function.c (current_function_name): New function.
2255         * graph.c: Update all uses of current_function_name.
2256         * gcse.c: Likewise.
2257         * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
2258         config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
2259         * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
2260         instead of a strcmp with "main".
2262 2004-01-13  Jan Hubicka  <jh@suse.cz>
2264         * c-decl.c (diagnose_mismatched_decls):  Fix warning calls.
2266         * cgraphunit.c (cgraph_optimize_function):  Always do
2267         optimize_inline_calls when there is always_inline callee.
2268         (cgraph_decide_inlining): Fix formating.
2269         * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
2270         functions.
2271         (expand_call_inline): Likewise.
2272         * toplev.h (sorry): Fix prototype.
2274 2004-01-12  Roger Sayle  <roger@eyesopen.com>
2276         * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
2277         conditional jumps that drop through to unconditional jumps or the
2278         end of the sequence.
2280 2004-01-13  Jan Hubicka  <jh@suse.cz>
2282         * alias.c (new_alias_set): Construct the alias_set varray.
2283         (init_alias_once): Don't do it here.
2285 2004-01-12  Marc Espie <espie@openbsd.org>
2287         * system.h: handle YYBYACC like YYBISON.
2289 2004-01-12  Jonathan Merriman <jonm@dualitymedia.com>
2291         PR target/10847
2292         * config.gcc: No longer includes conflicting header sparc/sol2.h when
2293         building on sparc64-*-openbsd*.
2295 2004-01-12  Andrew Pinski  <pinskia@physics.uc.edu>
2297         PR debug/13539
2298         * dbxout.c (dbxout_type): Protected inheritance is not
2299         private but protected.
2301 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
2303         * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
2305 2004-01-12  Kazu Hirata  <kazu@cs.umass.edu>
2307         PR optimization/12508.
2308         * combine.c (try_combine): Remove a dead set in a parallel
2309         even if its destination is a subreg.
2311         Revert:
2312         2003-06-03  Kazu Hirata  <kazu@cs.umass.edu>
2313         * combine.c (simplify_set): Don't move a subreg in SET_SRC to
2314         SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
2316 2004-01-12  Geoffrey Keating  <geoffk@apple.com>
2318         * real.c: Update copyright date.
2319         * emit-rtl.c: Likewise.
2320         * rtl.h: Likewise.
2321         * dwarf2out.c: Likewise.
2322         * config/rs6000/darwin-ldouble.c: Likewise.
2323         * config/rs6000/rs6000.md: Likewise.
2325 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
2327         * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
2328         TFmode to SImode libfuncs.
2330 2004-01-12  Roger Sayle  <roger@eyesopen.com>
2332         PR middle-end/11397
2333         * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
2335 2004-01-12  Jan Hubicka  <jh@suse.cz>
2337         PR opt/12826
2338         * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
2339         stored.
2341         PR opt/12863
2342         * cfgcleanup.c (label_is_jump_target_p): Move to...
2343         * rtlanal.c (label_is_jump_target_p): ... here.
2344         * cfgrtl.c (cfg_layout_redirect_edge_and_branch):  Fix redirecting of fallthru
2345         edges unified with branch edges.
2347 2004-01-12  Richard Earnshaw  <rearnsha@arm.com>
2349         * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
2350         high word of an integral CONST_DOUBLE.
2352 2004-01-12  Paul Brook  <paul@codesourcery.com>
2354         * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
2356 2004-01-12  J"orn Rennecke <joern.rennecke@superh.com>
2358         PR target/13585
2359         * sh-protos.h (check_use_sfunc_addr): Declare.
2360         * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
2361         * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
2363 2004-01-12  Jan Hubicka  <jh@suse.cz>
2365         * alias.c:  Invlude varray.h
2366         (alias_sets): Turn into varray.
2367         (get_alias_set_entry): Use VARRAY; mark inline.
2368         (mems_in_disjoint_alias_sets_p): Mark inline.
2369         (record_alias_subset): Use varray.
2370         (init_alias_once): Initialize varray.
2371         (new_alias_set): Grow array.
2372         * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
2374 2004-01-12  Jan Hubicka  <jh@suse.cz>
2376         Partial fix for PR opt/10776 II
2377         * cselib.c: Include params.h
2378         (cselib_invalidate_mem):  Limit amount of nonconflicting memory
2379         locations.
2380         * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
2381         * Makefile.in (cselib.o): Depend on params.h
2383 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
2385         * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
2386         simplify_unary_operation if the operand has a known mode.
2388 2004-01-12  Hartmut Penner  <hpenner@de.ibm.com>
2390         PR target/13534
2391         * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
2392         predicate to handle 'ld' conform addresses.
2393         * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
2394         contraint.
2395         (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
2396         are memory contraints.
2397         * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
2398         New prototype.
2399         * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
2400         Change 'o' to 'Y' constraint.
2401         (*movdf_softfloat64): Ditto.
2403 2004-01-12  Bernardo Innocenti  <bernie@develer.com>
2405         * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
2406         brace-enclosed syntax in all C output statements.
2408 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
2410         PR target/13401
2411         * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
2412         Objective-C language type value is 14.
2414 2004-01-12  Markus F.X.J. Oberhumer  <markus@oberhumer.com>
2416         PR c/12148
2417         * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
2418         `int' in a number of places to make sure we always have a SImode
2419         and not a HImode.  Add a 'L' suffix to a number of constants.
2421 2004-01-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2423         * pa.c: Don't include obstack.h.
2425         * pa.md: Correct constraint in pattern for loading PIC label address.
2427 2004-01-11  Kaz Kojima  <kkojima@gcc.gnu.org>
2429         * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
2430          before defining.
2432 2004-01-11  Steven Bosscher  <stevenb@suse.de>
2434         PR fortran/9972
2435         * toplev.c (rest_of_handle_inline): Also consider functions
2436         for deferral if the language is GNU F77.
2438 2004-01-11  Zack Weinberg  <zack@codesourcery.com>
2440         * c-decl.c (diagnose_arglist_conflict): Add missing space to
2441         diagnostic messages.
2443 2004-01-11  Jakub Jelinek  <jakub@redhat.com>
2445         PR middle-end/13392
2446         * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
2447         to drop through label.  Don't fall back to SCC even when conditional
2448         jump has not been found.
2450 2004-01-11  Jan Hubicka  <jh@suse.cz>
2452         * invoke.texi: Fix syntax error in previous patch.
2454         Partial fix for PR opt/10776
2455         * Makefile.in (reload.o): Include param.h
2456         * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
2457         * reload.c: Include params.h.
2458         (find_equiv_reg): Work limiting check.
2459         * invoke.texi: Document.
2461 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
2463         * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
2464         out-of-bounds accesses to string constants.  Simplify mips16
2465         case accordingly.
2467 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
2469         PR optimization/13469
2470         * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
2471         reload_cse_regs (-fnon-call-exceptions only).
2473 2004-01-11  Kazu Hirata  <kazu@cs.umass.edu>
2475         * config/mcore/lib1.asm: Fix comment formatting.
2476         * config/mcore/mcore-elf.h: Likewise.
2477         * config/mcore/mcore.c: Likewise.
2478         * config/mcore/mcore.h: Likewise.
2479         * config/mcore/mcore.md: Likewise.
2481 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
2483         * c-decl.c (duplicate_decls): Break apart into...
2484         (diagnose_arglist_conflict, validate_proto_after_old_defn)
2485         (locate_old_defn, diagnose_mismatched_decls, merge_decls):
2486         ... these new functions.  Restructure for comprehensibility.
2487         Remove various archaic special cases.  Always report the
2488         location of the previous declaration when a diagnostic is issued.
2489         (redeclaration_error_message): Fold into diagnose_mismatched_decls.
2490         (match_builtin_function_types): Delete unnecessary forward declaration.
2492 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
2494         * genautomata.c (make_automaton, NDFA_to_DFA):
2495         Print progress bars with '.' characters instead of '*'.
2496         (build_automaton): Change notes to match.
2498 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
2500         * config/m32r/m32r.md: Use define_constants for unspec and
2501         unspec_volatile.
2503 2004-01-10  Jan Hubicka  <jh@suse.cz>
2505         PR opt/11635
2506         * expr.c (expand_expr_real):  More curefully expand union casts.
2508 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
2510         * config/m32r/m32r.md (flush_icache): Use 1 for
2511         unspec_volatile.
2513 2004-01-10  David Edelsohn  <edelsohn@gnu.org>
2514             James E Wilson  <wilson@specifixinc.com>
2516         PR debug/12860
2517         * dbxout.c (dbxout_symbol): Remove initialization of
2518         current_sym_code, current_sym_value, and current_sym_addr.
2519         (dbxout_symbol_location): Same.
2520         (dbxout_prepare_symbol): Zero current_sym_code,
2521         current_sym_value, and current_sym_addr.
2523 2004-01-10  Richard Sandiford  <rsandifo@redhat.com>
2525         * tree.c (get_unwidened): Reorder conditions so that the null pointer
2526         check is done first.
2528 2004-01-09  Eric Christopher  <echristo@redhat.com>
2530         * toplev.c (rest_of_handle_cfg): Add reg_scan pass
2531         if we're running mark_constant_function.
2533 2004-01-09  Jeff Bailey  <jbailey@nisa.net>
2535         PR target/12561
2536         * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
2538 2004-01-09  Andrew Pinski <pinskia@physics.uc.edu>
2540         PR debug/11231
2541         * dbxout.c (dbxout_type_fields): Return if any item is
2542         error_mark_node or the type is error_mark_node.
2544 2004-01-09  Geoffrey Keating  <geoffk@apple.com>
2546         * config/rs6000/darwin-ldouble.c: Add big comment explaining
2547         exactly what is expected as a 'long double'.
2548         (_xlqadd): When a value to be returned is representable as a
2549         'double', just return it directly, do not construct it using a union.
2550         Also, correct final fixup.
2551         (_xlqmul): Likewise.
2552         (_xlqdiv): Likewise.
2553         * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
2555         * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
2557 2004-01-09  Richard Henderson  <rth@redhat.com>
2559         * recog.c (constrain_operands): Validate mem operands.
2561 2004-01-09   James E Wilson  <wilson@specifixinc.com>
2563         * gcc.c (init_spec): Remove -lunwind from shared case.
2564         * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
2566 2004-01-09  Steve Ellcey  <sje@cup.hp.com>
2568         * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
2569         * configure: Regenerate
2571 2004-01-09  Joseph S. Myers  <jsm@polyomino.org.uk>
2573         PR c/11234
2574         * c-typeck.c (build_c_cast): If pedantic, warn for conversions
2575         between function and object pointers.
2576         (digest_init): When comparing a pointer to function type to the
2577         target type, only apply TREE_TYPE once to the pointer to function
2578         type.
2579         * except.c (for_each_eh_label_1): Treat data as a pointer to a
2580         function pointer rather than casting it to a function pointer.
2581         (for_each_eh_label): Update caller.
2582         * recog.h (struct insn_data): Use a struct or union for output.
2583         * genoutput.c (output_insn_data): Update.
2584         * final.c (get_insn_template): Update.
2586 2004-01-09  Mark Mitchell  <mark@codesourcery.com>
2588         * expr.h (expand_expr): Make it a macro, not a function.
2589         (expand_expr_real): New function.
2590         * expr.c (store_expr): Adjust logic for deciding whether or not to
2591         copy the value returned by expand_expr.
2592         (expand_expr): Rename to ...
2593         (expand_expr_real): ... this.  Add alt_rtl parameter.  Adjust
2594         calls to language hooks.
2595         * c-common.h (c_expand_expr): Adjust prototype.
2596         * c-common.c (c_expand_expr): Add alt_rtl parameter.
2597         * langhooks-def.h (lhd_expand_expr): Change prototype.
2598         * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
2599         * langhooks.h (lang_hooks): Change type of expand_expr.
2600         * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
2601         (last_expr_alt_rtl): Likewise.
2602         (expand_expr_stmt_value): Set last_expr_alt_rtl.
2603         (clear_last_expr): Clear it.
2604         (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
2605         (expand_end_bindings): Save and restor last_expr_alt_rtl.
2606         * tree.def (RTL_EXPR): Give it an additional operand.
2607         * tree.h (RTL_EXPR_ALT_RTL): New macro.
2609 2004-01-09  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
2611         * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
2612         * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
2614 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
2616         PR target/13380.
2617         * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
2618         or (ne:SI (reg:CC 17) (const_int 0)).
2619         Be specific about modes wherever possible.
2621 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
2623         * config/m32r/m32r.c (m32r_expand_block_move): Call
2624         gen_movestrsi_internal with two more arguments.
2625         (m32r_output_block_move): Adjust operand numbers.
2626         Properly update the source and destination pointers.
2627         * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
2628         'r+'.  Change the set detinations to match_operand.
2630 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
2632         * final.c (FIRST_INSN_ADDRESS): Remove.
2633         (shorten_branches): Don't use FIRST_INSN_ADDRESS.
2634         * system.h (FIRST_INSN_ADDRESS): Poison.
2635         * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
2636         * config/m32r/m32r-protos.h: Remove the prototype for
2637         m32r_first_insn_address.
2638         * config/m32r/m32r.c (m32r_first_insn_address): Remove.
2639         * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
2640         * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
2642 2004-01-09  J. Brobecker  <brobecker@gnat.com>
2644         * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
2645         we just created.
2646         (is_ada_subrange_type): DIEs for enumeration subtypes should be
2647         emitted as subrange types too.
2648         (subrange_type_die): Add handling of enumeration subtypes.
2650 2004-01-08  Richard Henderson  <rth@redhat.com>
2652         PR opt/12441
2653         Revert: Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
2654         * i386.c (aligned_operand): Be prepared for SUBREGed registers.
2655         (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
2656         (ix86_address_cost): Be prepared for SUBREGed registers.
2657         (legitimate_address_p): Accept SUBREGed registers.
2659 2004-01-08  Kelley Cook  <kcook@gcc.gnu.org>
2661         * Makefile.in: Rename configure.in to configure.ac
2662         * doc/sourcebuild.texi: Likewise.
2663         * configure: Regenerate.
2664         * config.in: Regenerate.
2666 2004-01-08  Stuart Hastings  <stuart@apple.com>
2668         * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
2670 2004-01-08  Jan Hubicka  <jh@suse.cz>
2672         * cgraphunit.c (cgraph_decide_inlining):  Fix typo.
2674 2004-01-08  Geoffrey Keating  <geoffk@apple.com>
2676         * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
2677         (UNSPEC_FIX_TRUNC_TF): New constant.
2678         (movtf_internal): Make splitter active only when insn is active.
2679         (extenddftf2): Rewrite to properly load zero into low part.
2680         (extenddftf2_internal): New.
2681         (extendsftf2): Rewrite.
2682         (truncdftf2): Correct length.
2683         (floatditf2): Delete.
2684         (fix_trunc_helper): New.
2685         (fix_trunctfdi2): Use fix_trunc_helper.
2686         (fix_trunctfsi2): Likewise.fix_trunc
2687         (fix_trunctfsi2_internal): New.
2689         * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
2690         addresses are legitimate on Darwin even when flag_pic.
2691         (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
2692         non-offsettable addresses for loads of TFmode constants.
2694 2004-01-08  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
2696         * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
2697         variables in the appropriate bss section.
2699 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
2701         * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
2702         target_flags has MASK_POWERPC64 when -m64.
2703         * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
2704         to 620, 630, power3, power4 and rs64a entries.
2705         * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
2707 2004-01-08  Richard Sandiford  <rsandifo@redhat.com>
2709         * simplify-rtx.c (simplify_immed_subreg): Fix construction of
2710         floating-point constants.
2712 2004-01-08  J. Brobecker  <brobecker@gnat.com>
2714         * dwarf2out.c (subrange_type_die): Add context_die parameter.
2715         Create the subrange_type DIE using the given context DIE.
2716         (modified_type_die): Update call to subrange_type_die.
2718 2004-01-08  Zack Weinberg  <zack@codesourcery.com>
2720         * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
2721         Add multiple-include guard.
2723 2004-01-08  Hartmut Penner  <hpenner@de.ibm.com>
2725         * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
2726         all vector constant loadable by vsplt*.
2727         (output_vec_const_move): Likewise.
2729 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
2731         PR c/6024
2732         * c-typeck.c (comptypes): Only treat enumerated types in the same
2733         translation unit as compatible with each other when they are the
2734         same type.
2735         * doc/extend.texi: Update.
2737 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
2739         PR c/12165
2740         * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
2741         array type from the array element type.
2743 2004-01-07  Alan Modra  <amodra@bigpond.net.au>
2745         * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
2746         * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
2747         * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
2748         (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
2749         * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
2751 2004-01-06  Eric Christopher  <echristo@redhat.com>
2753         * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
2754         (DWARF2_DEBUGGING_INFO): Define.
2755         (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
2756         * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
2757         * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
2758         for irix as.
2759         (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
2760         * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
2761         * config/mips/iris5gas.h: Ditto.
2762         (DBX_DEBUGGING_INFO): Remove.
2763         (DWARF2_DEBUGGING_INFO): Ditto.
2764         (MIPS_DEBUGGING_INFO): Ditto.
2765         (PREFERRED_DEBUGGING_TYPE): Ditto.
2766         * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
2767         (PREFERRED_DEBUGGING_TYPE): Ditto.
2768         (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
2769         * config/mips/elf64.h: Ditto.
2771 2004-01-06  Jan Hubicka  <jh@suse.cz>
2773         * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
2774         (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
2776 2004-01-06  Geoffrey Keating  <geoffk@apple.com>
2778         * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
2779         (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
2780         * config/rs6000/darwin-ldouble.c: New.
2782         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
2783         for constants.
2784         (constant_subword): Delete.
2785         * rtl.h (constant_subword): Delete prototype.
2786         (immed_double_const): Is not in varasm.c.
2787         * simplify-rtx.c (simplify_immed_subreg): New.
2788         (simplify_subreg): Use simplify_immed_subreg.
2790         * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
2791         than trying to generate RTL directly.
2792         (fix_trunctfsi2): Use expand_fix rather than trying to generate
2793         RTL directly.
2795         * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
2797 2004-01-06  David Edelsohn  <edelsohn@gnu.org>
2799         * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
2800         function into a separate macro.
2801         (read_only_data_section): Add void argument.
2802         (private_data_section): Same.
2803         (read_only_private_data_section): Same.
2804         (toc_section): Same.
2806 2004-01-06  Jan Hubicka  <jh@suse.cz>
2808         * invoke.texi:  Remove typo in last change.
2810         PR target/10301
2811         * config.gcc: Accept opteron and athlon-64 as variants
2812         of k8.
2813         * i386.c (override_options): Likewise.
2814         * invoke.texi (i386 -mtune): Expand documentation.
2816 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
2818         * alias.c: Fix comment typos.
2819         * builtins.c: Likewise.
2820         * cfg.c: Likewise.
2821         * df.c: Likewise.
2822         * dominance.c: Likewise.
2823         * dwarf2out.c: Likewise.
2824         * emit-rtl.c: Likewise.
2825         * expr.c: Likewise.
2826         * final.c: Likewise.
2827         * fold-const.c: Likewise.
2828         * gcse.c: Likewise.
2829         * genattrtab.c: Likewise.
2830         * genrecog.c: Likewise.
2831         * gensupport.c: Likewise.
2832         * ggc-zone.c: Likewise.
2833         * integrate.c: Likewise.
2834         * local-alloc.c: Likewise.
2835         * loop.c: Likewise.
2836         * recog.c: Likewise.
2837         * regmove.c: Likewise.
2838         * reg-stack.c: Likewise.
2839         * reorg.c: Likewise.
2840         * rtlanal.c: Likewise.
2841         * rtl.h: Likewise.
2842         * sched-ebb.c: Likewise.
2843         * simplify-rtx.c: Likewise.
2844         * toplev.c: Likewise.
2845         * varasm.c: Likewise.
2847 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
2849         * doc/install.texi: Fix typos.
2850         * doc/invoke.texi: Likewise.
2851         * doc/md.texi: Likewise.
2853 2004-01-06  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
2855         * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
2857 2004-01-06  Jan Hubicka  <jh@suse.cz>
2859         * i386.c (init_cumulative_args):  Add handling of MMX_REGPARM.
2860         (function_arg_advance):  Do not pass aggregates in SSE; deal handling
2861         of MMX_REGPARM.
2862         (function_arg): Add new warnings about ABI changes;  fix SSE_REGPARM;
2863         add MMX_REGPARM.
2864         * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
2865         (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
2866         (MMX_REGPARM_MAX): Similarly for -mmmx.
2868 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
2870         * config/sh/linux.h: Fix comment formatting.
2871         * config/sh/netbsd-elf.h: Likewise.
2872         * config/sh/sh.c: Likewise.
2873         * config/sh/sh.h: Likewise.
2874         * config/sh/vxworks.h: Likewise.
2876 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
2878         * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
2879         * toplev.c (output_file_directive): Don't use
2880         ASM_OUTPUT_MAIN_SOURCE_FILENAME.
2882 2004-01-05  Daniel Berlin  <dberlin@dberlin.org>
2884         * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
2885         (USING_MMAP): We don't support non-mmap.
2886         (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
2887         large objects.
2888         (struct page_entry): Remove bytes_free.
2889         (struct page_table_chain): Remove.
2890         (struct globals): Remove page_table member.
2891         (loookup_page_table_entry): Function deleted.
2892         (set_page_table_entry): Ditto.
2893         (ggc_allocated_p): No longer need page table lookups.
2894         (ggc_marked_p): Ditto.
2895         (alloc_small_page): Don't care about bytes_free anymore.
2896         (alloc_large_page): Round up size.
2897         (ggc_alloc_zone_1): Mark large objects as such, and calculate
2898         their size the new way.
2899         Remove page table lookups and setting.
2900         (ggc_get_size): Calculate large object size the new way.
2901         (sweep_pages): Redo to account for fact that we no longer have
2902         bytes_free.
2903         (ggc_collect): No longer need to reincrement bytes_free.
2904         (ggc_pch_alloc_object): Handle new large objects properly.
2905         (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
2907 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
2909         * doc/invoke.texi: Remove a page break.
2911 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
2913         * config/avr/avr.c (avr_output_function_prologue): Remove an
2914         extra pair of curly braces.
2916 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
2918         * config/mn10300/mn10300.c: Fix comment formatting.
2919         * config/mn10300/mn10300.h: Likewise.
2921 2004-01-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2923         * tree.h: Update documentation on nothrow_flag.
2924         * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
2925         types.
2927 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
2929         * doc/invoke.texi: Remove traces of dead ports.
2931 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
2933         * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
2934         option.
2936 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
2938         PR target/12945
2939         * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
2940         counter labels.
2941         * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
2942         (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
2943         string constants if TARGET_MIPS16.  Use SYMBOL_REF_DECL to check
2944         the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
2945         (mips_symbol_insns): Don't trust the local/global classification.
2946         (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
2947         (override_options): Make -mabicalls -fno-unit-at-a-time imply
2948         -mno-explicit-relocs.
2949         (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
2950         between local and global symbols.
2952 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
2954         * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
2955         (mips_preferred_reload_class): Declare.
2956         * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
2957         (EXTRA_CONSTRAINT): Update accordingly.
2958         (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
2959         * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
2960         (mips_preferred_reload_class): New function.  Prefer LEA_REGS if
2961         mips_dangerous_for_la25_p.
2962         (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
2963         if mips_dangerous_for_la25_p.
2965 2004-01-05  Bernardo Innocenti  <bernie@develer.com>
2967         * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
2968         warning.
2970 2004-01-04  Nathanael Nerode  <neroden@gcc.gnu.org>
2972         * configure.ac: Use AC_PROG_CPP_WERROR.
2973         * configure: Regenerate.
2975 2004-01-04  Zack Weinberg  <zack@codesourcery.com>
2977         * .cvsignore: Add autom4te.cache.
2979 2004-01-04  Richard Sandiford  <rsandifo@redhat.com>
2981         * doc/invoke.texi: Revamp documentation of MIPS options.  Remove
2982         -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
2983         -m4650, -mfix7000 and -(m)no-crt0.  Put endianness options first,
2984         then architecture options, then ABI options.  General rewording.
2986 2004-01-04  Joseph S. Myers  <jsm@polyomino.org.uk>
2988         PR c/3414
2989         * doc/extend.texi: Clarify definition of malloc attribute.
2991 2004-01-04  Jan Hubicka  <jh@suse.cz>
2993         * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
2994         * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
2995         * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
2996         (cgraph_inline_p): Add extra argument reason.
2997         * cgraphunit.c: Minor formating fixes.
2998         cgraph_first_inlined_callee): New functions.
2999         (record_call_1): Record builtins too.
3000         (cgraph_analyze_function): Update inline_failed messages.
3001         (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
3002         cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
3003         (cgraph_check_inline_limits): Likewise; Add argument reason.
3004         (cgraph_set_inline_failed): New static function.
3005         (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
3006         reasons.
3007         (cgraph_inline_p): Add new argument reason.
3008         * tree-inline.c (expand_call_inline):  Update warning.
3010 2004-01-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3012         * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
3013         with modern equivalents.
3014         * configure: Regenerate.
3016         * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
3017         * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
3018         * configure: Regenerate.
3020         * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
3022         * configure.in: Rename to configure.ac.
3023         * configure.ac: Renamed from configure.in; make minimum necessary
3024         changes for autoconf 2.5x.
3025         * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
3026         * configure: Regenerate with autoconf 2.57.
3028 2004-01-03  Kazu Hirata  <kazu@cs.umass.edu>
3030         * config/mips/linux.h: Fix comment formatting.
3031         * config/mips/mips.c: Likewise.
3032         * config/mips/mips.h: Likewise.
3033         * config/mips/mips.md: Likewise.
3034         * config/mips/netbsd.h: Likewise.
3035         * config/mips/windiss.h: Likewise.
3037 2004-01-02  Richard Henderson  <rth@redhat.com>
3039         * config/i386/i386.md (fp constant pool splitter): Reorg suppression
3040         for sse and 387; add suppression for mmx.
3042 2004-01-02  Andrew Pinski  <pinskia@physics.uc.edu>
3044         * loop.c (loop_optimize): Free all loops_info's mems.
3046         * c-typeck.c (finish_init): Free spelling_base before
3047         setting it again.
3049         * cfgloop.c (flow_loops_find): Always free the sbitmap
3050         headers.
3052         * predict.c (estimate_probability): Free bbs after being
3053         done with it.
3055 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
3057         * config/mn10300/mn10300.h (PREDICATE_CODES): Add
3058         const_8bit_operand and call_address_operand.
3060 2004-01-02  Jan Hubicka  <jh@suse.cz>
3062         * cgraphunit.c (cgraph_optimize_function):  Call optimize_inline_calls
3063         when there is nothing to inline but warnings are requested.
3064         (cgraph_decide_inlining):  Fix memory leak.
3066 2004-01-02  Jan Hubicka  <jh@suse.cz>
3068         * expr.c (store_constructor):  Fix pasto in previous patch.
3070 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
3072         * config/i386/cygming.h: Fix comment formatting.
3073         * config/i386/djgpp.h: Likewise.
3074         * config/i386/gthr-win32.c: Likewise.
3075         * config/i386/i386-interix.h: Likewise.
3076         * config/i386/i386.c: Likewise.
3077         * config/i386/i386.h: Likewise.
3078         * config/i386/openbsd.h: Likewise.
3079         * config/i386/winnt.c: Likewise.
3080         * config/i386/xm-mingw32.h: Likewise.
3082 2004-01-02  Joseph S. Myers  <jsm@polyomino.org.uk>
3084         * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
3085         copyright and last modification dates.
3087 2004-01-02  Andreas Jaeger  <aj@suse.de>, Gerald Pfeifer  <gp@suse.de>
3089         * doc/install.texi (Specific): Mention x86_64.
3091 2004-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
3093         * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
3094         Call force_operand on plus_constant result.
3096 2004-01-01  Jan Hubicka  <jh@suse.cz>
3098         * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
3099         * expr.c (store_constructor): Use vec_init pattern.
3100         * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
3101         * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
3102         (vec_set_optab, vec_extract_optab, vec_init_optab): New.
3103         * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
3104         New patterns.
3105         (sse2_unpc?pd): Fix pattern.
3106         (sse2_movlpd): Kill.
3107         (sse2_movsd): Deal with movlpd too.
3108         * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
3109         (ix86_expand_vector_init): New.
3110         * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
3111         * md.texi (vec_set, vec_extract): Document
3113 2003-12-31  Jan Hubicka  <jh@suse.cz>
3115         PR opt/13473
3116         * recog.c (validate_replace_rtx_1):  Take care for RTL sharing inside
3117         ASM input operands
3119         PR opt/12617
3120         * toplev.c (dump_file_index): Reorder ce3 and bbro.
3121         (dump_file): Likewise.
3122         (rest_of_compilation): Likewise.
3124         PR debug/13367
3125         * cgraph.c (cgraph_function_possibly_inlined):  Even with
3126         flag_really_no_inline we inline always_inline functions.
3127         * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
3128         for non-always_inline functions when there is flag_really_no_inline.
3129         (cgraph_decide_inlining): Limit work done when not inlining.
3130         (cgraph_decide_inlining_incrementally): Likewise.
3131         (cgraph_optimize_function): Check whether something got inlined.
3132         * c-objc-common.c (c_disregard_inline_limits): Do not always inline
3133         extern inline functions when not inlining.
3135         * opts.c (decode_options):  Disable crossjumping at -O1
3136         * invoke.texi (-O1): Document change.
3138 See ChangeLog.10 for earlier changes.