PR opt/14980
[official-gcc.git] / gcc / ChangeLog
blob44e58d7c24014c3780f189fe2087a1c7c6b53bb2
1 2004-05-05  Jan Hubicka  <jh@suse.cz>
3         PR opt/14980
4         * cgraphunit.c (cgraph_remove_unreachable_nodes): Deal properly with
5         inline clones.
7 2004-05-05  H.J. Lu  <hongjiu.lu@intel.com>
9         PR target/15290
10         * config/i386/i386.c (ix86_split_to_parts): Use real_to_target
11         instead of REAL_VALUE_TO_TARGET_LONG_DOUBLE.
13 2004-05-05  Mike Stump  <mrs@apple.com>
15         * config/darwin-c.c (add_framework): Copy the directory name as it
16         can be freed later.  Also, ensure we always allocate enough room
17         for the cached framework information.
18         (find_subframework_header): Keep track of the directory where the
19         subframework header was found.
20         (framework_construct_pathname): Speed up by not trying to re-add a
21         framework.
22         * cppfiles.c (search_path_exhausted): Arrange for the missing
23         header callback to be able to set the directory where the header
24         was found.
25         (cpp_get_dir): Add.
26         * cpplib.h (missing_header_cb): Add a parameter.
27         (cpp_get_dir): Add.
29 2004-05-03  Mike Stump  <mrs@apple.com>
31         * doc/invoke.texi (Directory Options): Document -iquote.
32         * doc/cpp.texi: Likewise.
33         * doc/cppopts.texi: Likewise.
34         * c-opts.c (c_common_missing_argument): Add -iquote processing.
35         (c_common_handle_option): Likewise.
36         * c.opt (iquote): Add.
37         * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -iquote.
38         * c-incpath.c (merge_include_chains): Update comment to use -iquote.
40         * c-opts.c (case OPT_I): Deprecate -I- support.
41         * doc/invoke.texi: Likewise.
42         * doc/cpp.texi: Likewise.
43         * doc/cppopts.texi: Likewise.
45 2004-05-05  Steven Bosscher  <stevenb@suse.de>
47         * basic-block.h (free_basic_block_vars): Update prototype.
48         * flow.c (free_basic_block_vars): Remove the keep_head_end_p
49         argument.
50         (life_analysis): Update call.
51         * ifcvt.c (if_convert): Likewise.
52         * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
53         * passes.c (rest_of_handle_final): Likewise.
54         (rest_of_compilation): Likewise.
55         * config/sh/sh.c (sh_output_mi_thunk): Likewise.
57         * emit-rtl.c (next_real_insn): Use INSN_P.
58         (prev_real_insn): Likewise.
60 2004-05-05  Eric Christopher  <echristo@redhat.com>
62         * config/mips/mips.md: Update the madd define_split for new mflo/mfhi
63         representation.
65 2004-05-05  Paolo Bonzini  <bonzini@gnu.org>
67         * config/rs6000/rs6000.c (build_opaque_vector_type):
68         New function.
69         (rs6000_init_builtins): Use it.
71 2004-05-04  Bernard Giroud  <bgiroud2@free.fr>
73         * gcc/gcc/vmsdbgout.c (vms_func_node, vms_func_ref): New.
74         (func_table): Change type from char ** to vms_func_ref.
75         (write_rtnbeg):  Update to reflect func_table change.  Use
76         fde->funcdef_number instead of rtnnum in output.
77         (write_rtnend, vmxdbgout_begin_function, vmsdbgout_init): Likewise.
79 2004-05-04  Paolo Bonzini  <bonzini@gnu.org>
80             Richard Henderson  <rth@redhat.com>
82         PR target/14899
84         * c-common.c (vector_types_convertible_p): New function.
85         * c-typeck.c (comptypes): Recurse on vector types.
86         (convert_for_assignment): Use vector_types_convertible_p.
87         (digest_init): Use vector_types_convertible_p to check
88         validness of constant vector initializers; otherwise treat
89         them as scalars.
90         * tree.c (make_or_reuse_type): New.
91         (build_common_tree_nodes): Use it.
92         * cp/call.c (standard_conversion): Likewise.
93         * cp/typeck.c (comptypes): Recurse on vector types.
94         (convert_for_assignment): Use vector_types_convertible_p.
96 2004-05-04  Chris Demetriou  <cgd@broadcom.com>
98         * config/mips/mips.c (override_options): Default to no
99         generation of branch-likely operations when tuning for
100         CPUs where they tend to have a negative performance impact
101         (e.g., SB-1).
103 2004-05-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
105         * expr.c (store_constructor_field): Don't call store_constructor
106         if bitsize is not a multiple of a byte.
108 2004-05-04  Richard Sandiford  <rsandifo@redhat.com>
110         * reload1.c (inherit_piecemeal_p): New function.
111         (emit_reload_insns): When reloading a group of hard registers, use
112         inherit_piecemeal_p to decide whether the values of individual hard
113         registers can be inherited.
115 2004-05-04  H.J. Lu  <hongjiu.lu@intel.com>
117         * config/ia64/t-ia64 (LIB2ADDEH): Remove gthr-gnat.c.
118         * config/s390/t-tpf (LIB2ADDEHDEP): Likewise.
119         * config/t-linux (LIB2ADDEHDEP): Likewise.
121 2004-05-04  Paul Brook  <paul@codesourcery.com>
123         * config/arm/crti.asm: Push an even number of registers.
124         * config/arm/crtn.asm: And restore them.  Load via sp.
126 2004-05-04  Paolo Bonzini  <bonzini@gnu.org>
128         * ggc-zone.c (ggc_alloc_zone_1): Add MEM_STAT_DECL parameter.
129         Collect overhead information.
130         (ggc_alloc_stat): New name of ggc_alloc.  Add MEM_STAT_DECL
131         parameter and pass it through.
132         (ggc_alloc_typed_stat): New name of ggc_alloc_typed.  Add
133         MEM_STAT_DECL parameter and pass it through.
134         (ggc_alloc_zone_stat): New name of ggc_alloc_zone.  Add
135         MEM_STAT_DECL parameter and pass it through.
137 2004-05-03  Aldy Hernandez  <aldyh@redhat.com>
139         * config/rs6000/rs6000-protos.h: Protoize rs6000_hard_regno_nregs.
141         * config/rs6000/rs6000.c (rs6000_hard_regno_nregs): New.
143         * config/rs6000/rs6000.h (HARD_REGNO_NREGS): Call
144         rs6000_hard_regno_nregs.
146 2004-05-03  Eric Christopher  <echristo@redhat.com>
148         * config/s390/s390.c (s390_emit_prologue): Call unspec tpf
149         prologue insn instead of setting up call.
150         (s390_emit_epilogue): Ditto.
151         * config/s390/s390.md (prologue_tpf, epilogue_tpf): New patterns.
152         (define_constants): Add numbers for above patterns.
154 2004-05-03  Eric Christopher  <echristo@redhat.com>
156         * config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Move body...
157         * config/s390/s390.c (s390_conditional_register_usage): ...here.
158         * config/s390/s390-protos.h: Prototype.
160 2004-05-03  Joe Buck <jbuck@welsh-buck.org>
162         * cppfiles.c (pchf_adder): Eliminate use of |= in d->have_once_only
163         assignment.
165 2004-05-03  Eric Christopher  <echristo@redhat.com>
167         * config/mips/mips.md: Fix branch length attribute definition.
169 2004-05-03  Aldy Hernandez  <aldyh@redhat.com>
171         * config.gcc: Remove --enable-altivec support.
173         * config/rs6000/altivec-defs.h: Remove.
175 2004-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
177         * fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6.
178         * fixinc/fixincl.x: Regenerate.
180 2004-05-03  Uros Bizjak  <uros@kss-loka.si>
182         * config/i386/i386.md (*fyl2x_sfxf3, *fyl2x_dfxf3): Remove insn
183         definition.
184         (log?f2, log10?f2, log2?f2): Reimplement expanders with
185         float_truncate insn.
186         (*fxtractsf3, *fxtractdf3): Remove insn definition.
187         (logb?f2): Reimplement expanders with float_truncate insn.
189 2004-05-03  Graham Stott  <graham.stott@btinternet.com>
191         PR 14718
192         * dwarf2out.c (dwarf2out_imported_module_or_decl): Use
193         force_type_die for CONST_DECL.
195 2004-05-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
196             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
198         * config.gcc (sparc64-*-solaris2*, sparcv9-*-solaris2*): Add
199         tm-dwarf2.h to tm_file.
200         (sparc-*-solaris2*): Add tm-dwarf2.h to tm_file for Solaris 7+.
201         * config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Delete.
202         (ASM_DEBUG_SPEC): Delete.
204 2004-05-03  Uros Bizjak  <uros@kss-loka.si>
206         * optabs.h (enum optab_index): Add new OTI_expm1.
207         (expm1_optab): Define corresponding macro.
208         * optabs.c (init_optabs): Initialize expm1_optab.
209         * genopinit.c (optabs): Implement expm1_optab using expm1?f2
210         patterns.
211         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXPM1{,F,L}
212         using expm1_optab.
213         (expand_builtin): Expand BUILT_IN_EXPM1{,F,L} using
214         expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
216         * config/i386/i386.md (expm1df2, expm1sf2, expm1xf2): New expanders
217         to implement expm1, expm1f and expm1l built-ins as inline x87
218         intrinsics.
220 2004-05-02  Alexandre Oliva  <aoliva@redhat.com>
222         2003-11-19  Richard Sandiford  <rsandifo@redhat.com>
223         * config/frv/frv.md (*return_true, *return_false): New patterns.
225 2004-05-02  Kazu Hirata  <kazu@cs.umass.edu>
227         * rtl.h (PHI_NODE_P): Remove.
229 2004-05-02  Eric Botcazou  <ebotcazou@act-europe.fr>
231         PR middle-end/14988
232         * function.c (assign_stack_local_1): Use BITS_PER_UNIT alignment
233         when passed -2 as 'align'.
234         (put_var_into_stack): Use 'bool' as the type for the three local
235         predicates.  Adjust calls to put_reg_into_stack.
236         When passed a CONCAT, instruct put_reg_into_stack to use
237         a consecutive stack slot for the second part.
238         (put_reg_into_stack): Remove 'promoted_mode' parameter, add
239         'consecutive_p' parameter.  Turn the three predicates into 'bool'
240         parameters.  Retrieve the register mode from 'reg'.
241         When consecutive_p is true, instruct assign_stack_local_1 to use
242         BITS_PER_UNIT alignment.
243         (put_addressof_into_stack): Use 'bool' as the type for the two
244         local predicates. Adjust call to put_reg_into_stack.
246 2004-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
248         * fold-const.c (fold_convert_const, fold): Add missing
249         FIX_ROUND_EXPR case.
251 2004-05-02  Alexandre Oliva  <aoliva@redhat.com>
253         * configure.ac (FLEX, BISON): Only use tools from the build tree
254         if build equals host.
255         * configure: Rebuilt.
257         * config/frv/frv-protos.h (frv_expand_epilogue,
258         frv_expand_fdpic_call): Add bool argument.
259         * config/frv/frv.c (frv_function_ok_for_sibcall): New.
260         (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to it.
261         (frv_expand_epilogue): Use new argument to decide whether to emit
262         return instruction or copy the return address to LR.
263         (frv_expand_fdpic_call): Inline PLT entry when emitting direct
264         sibcalls.
265         (sibcall_operand): New.
266         * config/frv/frv.h (PREDICATE_CODES): call_operand doesn't match
267         PLUS nor LABEL_REF.  Add sibcall_operand.
268         * config/frv/frv.md (call, call_value): Pass false to
269         frv_expand_fdpic_call.
270         (call_fdpicdi, call_value_fdpicdi): Insert %i0 in calll.
271         (sibcall, sibcall_internal, sibcall_fdpicdi, sibcall_value,
272         sibcall_value_internal, sibcall_value_fdpicdi): New.
273         (return_unsigned_true, return_unsigned_false): New.
274         (epilogue): Adjust call to frv_expand_epilogue.
275         (sibcall_epilogue): New.
277         * config/frv/frv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic.
278         (CPP_SPEC, CPP_SIMPLE_SPEC): Undefine __FRV_ACC__ and __FRV_FPR__
279         before redefining them.
281 2004-05-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
283         * builtins.c (fold_fixed_mathfn): New function.
284         (fold_builtin_lround, fold_builtin): Use it.
286 2004-05-01  Jakub Jelinek  <jakub@redhat.com>
288         * config/sparc/linux64.h (TARGET_DEFAULT): Make 64-bit by default
289         also for TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc3.
291 2004-05-01  Kazu Hirata  <kazu@cs.umass.edu>
293         * config/cris/cris.h: Revert my "fix comment typos" patch.
295 2004-05-01  Richard Sandiford  <rsandifo@redhat.com>
297         * config/mips/mips.h (TUNE_MACC_CHAINS): Fix comment.
299 2004-05-01  Falk Hueffner  <falk@debian.org>
301         * config/alpha/alpha.md (builtin_insbl, builtin_inswl,
302         builtin_insll): Disallow 0 as first input operand.
304 2004-05-01  Falk Hueffner  <falk@debian.org>
306         * config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.
308 2004-05-01  Ulrich Weigand  <uweigand@de.ibm.com>
310         PR middle-end/15054
311         * expr.c (expand_expr_real): Do not call preserve_temp_slots
312         on a TARGET_EXPR temp.
313         * function.c (assign_stack_temp_for_type): Set 'keep' flag for
314         TARGET_EXPR temp slots.
316 2004-05-01  Paolo Bonzini  <bonzini@gnu.org>
318         * simplify-rtx.c (simplify_ternary_operation): When
319         converting an IF_THEN_ELSE to a relational op, return
320         correct mode.
322 2004-04-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
324         * builtins.c (fold_builtin_round): Fix comment typo.
325         (fold_builtin_lround): New function.
326         (fold_builtin): Use it.
328 2004-04-20  Andrew Pinski  <pinskia@physics.uc.edu>
330         PR target/11608
331         * config/sh/elf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Update and make it
332         more like the one in config/dbxelf.h.
334 2004-04-30  Zack Weinberg  <zack@codesourcery.com>
336         * tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK
337         and adjust definition accordingly.
338         (TYPE_DOMAIN): Allow only SET_TYPE and ARRAY_TYPE.
339         (TYPE_DEBUG_REPRESENTATION_TYPE): Allow only VECTOR_TYPE.
340         * expr.c (store_constructor): Do not access TYPE_DOMAIN of a
341         VECTOR_TYPE.
343 2004-04-30  Jason Merrill  <jason@redhat.com>
345         PR c++/14587
346         * config/i386/winnt.c (associated_type): Look for attributes on
347         the TYPE_MAIN_VARIANT of *this.
348         * attribs.c (decl_attributes): If ATTR_FLAG_TYPE_IN_PLACE, also
349         apply the attributes to the variants.
351 2004-04-30  Paul Brook  <paul@codesourcery.com>
353         * config.gcc: Simplify arm --with-{cpu,tune} test.
354         * config/arm/arm-cores.def: Document whitespace restrictions.
356 2004-04-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
358         PR other/1963
359         * config/alpha/osf.h (SWITCHES_NEED_SPACES): Define.
361 2004-04-30  Brian Ford  <ford@vss.fsi.com>
362             DJ Delorie  <dj@redhat.com>
364         * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
365         (DWARF2_DEBUGGING_INFO): Define to enable.
366         (DBX_REGISTER_NUMBER): Define to use the svr4 register map for
367         DWARF2.
368         * configure.ac (Target-specific assembler checks)
369         <i[34567]86-*-[cygwin*|pe|mingw32*]>: New test for .secrel32
370         relocs.
371         * configure: Regenerate.
372         * config.in: Likewise.
374         * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
375         (ASM_OUPUT_DWARF_OFFSET): Define.
377 2004-04-29  Andreas Krebbel  <krebbel1@de.ibm.com>
379         * config/s390/s390-protos.h (s390_emit_epilogue): Parameter added.
380         (s390_emit_call): New function prototype added.
381         (s390_tls_get_offset): Function removed.
382         * config/s390/s390.c (s390_function_ok_for_sibcall,
383         s390_call_saved_register_used_p): New functions.
384         (TARGET_FUNCTION_OK_FOR_SIBCALL): Definition of target macro added.
385         (s390_tls_get_offset): Function merged into s390_emit_tls_call_insn.
386         (s390_emit_tls_call_insn): New function.
387         (legitimize_tls_address): Call s390_emit_tls_call_insn instead of
388         emit_call_insn.
389         (s390_emit_prologue): Use s390_emit_call instead of emit_call_insn.
390         (s390_emit_epilogue): Like s390_emit_prologue. Parameter for sibcalls
391         added.
392         * config/s390/s390.h (SIBCALL_REGNUM): New macro representing the
393         register number used to hold the target address for sibcalls.
394         * config/s390/s390.md ("sibcall", "sibcall_value", "sibcall_epilogue"):
395         New expanders.
396         ("*sibcall_br", "*sibcall_brc", "*sibcall_brcl", "*sibcall_value_br",
397         "*sibcall_value_brc", "*sibcall_value_brcl"): New insns.
398         ("call_exp", "call_value_exp", "call_value_tls", "call_value_tls_exp"):
399         Expanders removed.
400         ("call", "call_value"): Call s390_emit_call to emit the call patterns.
401         ("*bras", "*brasl", "*bras_r", "*brasl_r", "*bras_tls", "*brasl_tls",
402         "*basr", "*basr_r", "*basr_tls"): Added constraint: !SIBLING_CALL_P.
403         ("epilogue"): Changed the call to s390_emit_epilogue to use the
404         new parameter.
406 2004-04-30  Kazu Hirata  <kazu@cs.umass.edu>
408         * bb-reorder.c, c-opts.c, cfglayout.c, cgraph.c, cgraphunit.c,
409         cppfiles.c, fold-const.c, ggc-zone.c, loop-doloop.c, optabs.c,
410         reg-stack.c, varasm.c, config/alpha/ev4.md,
411         config/alpha/ev5.md, config/alpha/ev6.md, config/arm/arm.c,
412         config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.c,
413         config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c,
414         config/frv/frv.h, config/frv/frv.md, config/h8300/h8300.c,
415         config/i386/i386.c, config/i386/i386.md, config/i386/winnt.c,
416         config/ia64/itanium2.md, config/ip2k/ip2k.c,
417         config/mips/mips.c, config/mips/mips.h, config/mips/sr71k.md,
418         config/pa/pa.c, config/s390/s390.c, config/sh/sh.c: Fix
419         comment typos.
421 2004-04-30  Paul Brook  <paul@codesourcery.com>
423         * config.gcc: Default ep9312 to hard-float.
424         * config/arm/arm-cores.def: Add ARCH field.
425         * config/arm/arm.c (FL_FOR_ARCH*): Define.
426         (arm_arch_cirrus): New variable.
427         (all_cores): Set and use arch.
428         (all_architectures): Ditto.
429         (arm_arch_name): New variable.
430         (arm_override_options): Set it. Use [SUB]TARGET_CPU_DEFAULT.
431         Set and use arm_arch_cirrus.
432         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set arch defines.
433         (enum processor_type): Update ARM_CORE define.
434         (enum target_cpus): Add.  Replaces TARGET_CPU_* defines.
435         (CPP_SPEC): Remove %(cpp_cpu_arch).
436         (CPP_ARCH_DEFAULT_SPEC): Remove.
437         (CPP_CPU_ARCH_SPEC): Remove.
438         (EXTRA_SPECS): Don't use CPP_*ARCH*_SPEC.
439         (FPUTYPE_DEFAULT): Don't define here.
441 2004-04-30  J"orn Rennecke <joern.rennecke@superh.com>
443         * flow.c (propagate_one_insn): Call mark_set_regs for stack pointer
444         updates too.
446 2004-04-30  Paul Brook  <paul@codesourcery.com>
448         * arm.c (arm_needs_doubleword_align): Use mode alignment.
450 2004-04-30  Paolo Bonzini  <bonzini@gnu.org>
452         * config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to
453         vec_sububs.
454         [__cplusplus] (vec_subsuhs): Rename to vec_subuhs, without
455         duplicates.
457 2004-04-30  Uros Bizjak  <uros@kss-loka.si>
459         * config/i386/i386.md (atansf2, atandf2, atanxf2): Move near
460         atan2?f3 expanders.
462 2004-04-29  Nick Clifton  <nickc@redhat.com>
464         Bug 14093
465         * config/sh/sh-protos.h (sh_promote_prototypes): Declare.
466         * config/sh/sh.c (sh_promote_prototypes): Remove declaration.
467         Delete static from definition.
468         * config/sh/sh.h (FUNCTION_VALUE): Add sh_promote_prototypes call.
470 2004-04-30  Uros Bizjak  <uros@kss-loka.si>
472         * reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS,
473         UNSPEC_FRNDINT, UNSPEC_F2XM1>: abort() if src1 dies.
474         <UNSPEC_SINCOS_COS, UNSPEC_TAN_ONE, UNSPEC_XTRACT_FRACT>: Same.
475         <UNSPEC_SINCOS_SIN, UNSPEC_TAN_TAN, UNSPEC_XTRACT_EXP>: Same.
477 2004-04-29  Richard Guenther  <richard.guenther@uni-tuebingen.de>
479         * commom.opt (Wfatal-errors): Add it.
480         * diagnostic.c (flag_fatal_errors): Define it.
481         (diagnostic_action_after_output): Check for flag_fatal_errors.
482         * flags.h (flag_fatal_errors): Declare it.
483         * opts.c (common_handle_option): Add OPT_Wfatal_errors.
484         * doc/invoke.texi (Warning Options): Document -Wfatal-errors.
486 2004-04-30  Josef Zlomek  <zlomekj@suse.cz>
488         * gcse.c (remove_reachable_equiv_notes): Delete notes also in
489         blocks which have kill flag set.
491 2004-04-29  Ben Elliston  <bje@au.ibm.com>
493         * configure.ac (--with-as): Abort if user-supplied assembler
494         cannot be executed.
495         (--with-ld): Likewise for the linker.
496         * configure: Regenerate.
498 2004-04-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
500         * convert.c (convert_to_integer): Ensure `long_integer_type_node'
501         isn't NULL before using it.
503 2004-04-29  Richard Sandiford  <rsandifo@redhat.com>
505         PR target/15189
506         * config/mips/mips.md (load_df_low): Use default length.
507         (load_df_high, store_df_high): Likewise.
509 2004-04-29  Kazu Hirata  <kazu@cs.umass.edu>
511         * config/mips/mips.md, config/mips/sb1.md,
512         config/rs6000/rs6000.c: Fix comment typos.
514 2004-04-29  Kazu Hirata  <kazu@cs.umass.edu>
516         * builtins.c, cgraph.c, cgraphunit.c, final.c, fold-const.c:
517         Fix comment typos.
519 2004-04-29  Douglas B Rupp  <rupp@gnat.com>
521         * gcc.c (DELETE_IF_ORDINARY): New macro default definition.
522         (delete_if_ordinary): Use above macro.
523         * config/alpha/xm-vms.h (DELETE_IF_ORDINARY): New macro VMS definition.
524         Update copyright.
525         * doc/hostconfig.texi (DELETE_IF_ORDINARY): Document new macro.
527 2004-04-29  Richard Earnshaw  <rearnsha@arm.com>
529         * c-decl.c (get_parm_info): Use the correct tag keywords when
530         warning about type declarations in prototypes.
532 2004-04-29  Paul Brook  <paul@codesourcery.com>
534         * config.gcc: Pull list of cores from arm-cores.def.
536 2004-04-29  Paolo Bonzini  <bonzini@gnu.org>
538         * combine.c (combine_simplify_rtx): Adjust call to use
539         simplify_relational_operation.  Do not use SELECT_CC_MODE
540         when a comparison already has a MODE_CC mode.
542 2004-04-29  Paolo Bonzini  <bonzini@gnu.org>
544         (simplify_set): simplify_relational_operation may now
545         return another relational expression.
546         * cse.c (fold_rtx): simplify_relational_operation now
547         takes of computing the comparison mode.
548         * dojump.c (compare_from_rtx): Use simplify_relational_operation,
549         remove dead code.
550         (do_compare_rtx_and_jump): Likewise.
551         * integrate.c (subst_constants): simplify_relational_operation
552         may now return another relational expression.
553         * simplify-rtx.c (simplify_gen_relational): Move most code to
554         the new simplify_relational_operation and
555         simplify_relational_operation_1 functions.
556         (simplify_relational_operation): Rewritten.
557         (simplify_relational_operation_1): New function.
558         (simplify_ternary_operation): simplify_relational_operation
559         may now return another relational expression.
560         (simplify_rtx): Remove unnecessary temp variable.
562 2004-04-29  Uros Bizjak  <uros@kss-loka.si>
564         * reg-stack.c (swap_to_top): New function.
565         (subst_stack_regs_pat): UNSPEC_FPATAN, UNSPEC_FYL2X: Use
566         swap_to_top().
567         (subst_stack_regs_pat): UNSPEC_FSCALE: Remove.
568         (subst_stack_regs_pat): Handle UNSPEC_FSCALE_FRACT and
569         UNSPEC_FSCALE_EXP.
571         * config/i386/i386.md (UNSPEC_FSCALE): Remove.
572         (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): Remove insn pattern.
573         (UNSPEC_FSCALE_FRACT, UNSPEC_FSCALE_EXP): New unspecs to represent
574         x87's fscale insn.
575         (*fscalexf4: Define new insn pattern to implement x87 fscale insn.
576         (exp?f2, exp10?f2, exp2?f2): Use *fscalexf4 and float_truncate
577         patterns.
579 2004-04-28  Serge Belyshev  <1319@bot.ru>
581         PR 14944
582         * coverage.c (read_counts_file): Fix usage of warning () call.
583         * pretty-print.c (pp_base_format_text): Fix typo in the comment.
585 2004-04-28  Ben Elliston  <bje@au.ibm.com>
587         * doc/invoke.texi (Objective-C Dialect Options): Don't prefix
588         options with "-" in the option index.
589         (SPARC Options): Likewise.
590         (M32R/D Options): Likewise.
592 2004-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
594         * convert.c (convert_to_integer): Convert (long)round -> lround,
595         etc.
597 2004-04-28  Andrew Pinski  <pinskia@physics.uc.edu>
599         * config/rs6000/rs6000.c (registers_ok_for_quad_peep):
600         Return false if we do not have fp register.
601         (addrs_ok_for_quad_peep): Rename to ...
602         (mems_ok_for_quad_peep): this.
603         Add check for volatile memory.
604         * config/rs6000/rs6000-protos.h (addrs_ok_for_quad_peep):
605         Rename to ...
606         (mems_ok_for_quad_peep): this.
607         * config/rs6000/rs6000.md: Change peephole's for lfq/stq
608         to peephole2's.
609         (lfq_power2): New instruction.
610         (stfq_power2): Likewise.
612 2004-04-28  Jan Hubicka  <jh@suse.cz>
614         PR c/15004
615         * function.c (do_warn_unused_parameter): Break out form ...
616         (expand_function_end): ... here; warn only when not using cgraphunit.
617         * function.h (do_warn_unused_parameter): Declare.
618         * cgraphunit.c: Include function.h.
619         (cgraph_finalize_function): Do unused parameter warning.
620         * Makefile.in (cgraphunit.o): Depend on function.h
622 2004-04-28  Joseph S. Myers  <jsm@polyomino.org.uk>
624         * Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition
625         calling install-info on $(DESTDIR)$(infodir)/dir already being
626         present.
628 2004-04-28  Paul Brook  <paul@codesourcery.com>
630         * dwarf2out.c (mem_loc_descriptor): Handle shifts.
632 2004-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
634         * gcse.c (find_moveable_store): Do not accept store insns with
635         REG_EH_REGION note.
637 2004-04-28  Paul Brook  <paul@codesourcery.com>
639         * calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY.
640         * function.c (assign_temp): Ditto.
641         * system.h (PROMOTE_FOR_CALL_ONLY): Poison.
643 2004-04-28  Paul Brook  <paul@codesourcery.com>
645         * config/arm/lib1funcs.asm: Recognize armv5tej and armv6.
647 2004-04-28  Josef Zlomek  <zlomekj@suse.cz>
649         * var-tracking.c (variable_different_p): Add a parameter
650         compare_current_location, compare current location of variable parts
651         if it is true.
652         (dataflow_set_different_1): Pass compare_current_location == false.
653         (dataflow_set_different_2): Pass compare_current_location == false.
654         (emit_notes_for_differences_1): Pass compare_current_location == true.
656 2004-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
658         * config/s390/s390.md ("casesi"): Mark jump table access as
659         non-trapping and unchanging.
661 2004-04-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
663         PR debug/14829
664         * dwarf2out.c (reg_number): Rename to dbx_reg_number.  Adjust all
665         callers.
666         (multiple_reg_loc_descriptor, reg_loc_descriptor): Use gcc register
667         number for indexing hard_regno_nregs array.
669 2004-04-27  Geoffrey Keating  <geoffk@apple.com>
671         * config/darwin.h (STARTFILE_SPEC): Use %s to find crt2.o.
672         * config/darwin-crt2.c: Only have contents on __ppc__.
674 2004-04-27  Bob Wilson  <bob.wilson@acm.org>
676         * config/xtensa/xtensa.c (call_insn_operand): Check
677         SYMBOL_REF_EXTERNAL_P in addition to SYMBOL_REF_LOCAL_P.
678         * config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND): Likewise.
679         * config/xtensa/xtensa.md (call, call_value): Likewise.
681 2004-04-27  Wu Yongwei  <adah@sh163.net>
683         * gthr-win32.h (__gthread_mutex_t): Change typedef to new structure.
684         (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust.
685         (__gthread_mutex_init_function): Replace CreateMutex with
686         initialization of custom mutex using CreateSemaphore.
687         (__gthread_mutex_lock): Use InterlockedIncrement.
688         (__gthread_mutex_trylock): Use InterlockedCompareExchange.
689         (__gthread_mutex_unlock): Use InterlockedDecrement and
690         ReleaseSemaphore to unlock
691         * config/i386/gthr-win32.c (__gthread_mutex_init_function,
692         __gthread_mutex_lock, __gthread_mutex_trylock,
693         __gthread_mutex_unlock): Adjust to match inline versions in
694         gthr-win32.h.
696 2004-04-27  Paul Brook  <paul@codesourcery.com>
698         * config/arm/arm.c (arm_promote_prototypes): New function.
699         (TARGET_PROMOTE_PROTOTYPES): Use it.
701 2004-04-27  Paul Brook  <paul@codesourcery.com>
703         * config/arm/arm.c (arm_expand_epilogue): Count blocks of 4 regs.
705 2004-04-26  Bernard Giroud  <bgiroud@free.fr>
707         * config/alpha.c (alpha_end_function): For OpenVMS gas,
708         correctly output .pdesc directive before .end.
710 2004-04-26  James E Wilson  <wilson@specifixinc.com>
712         Bug 14927
713         * config/ia64/ia64.md (movxf): New local op0.  Handle case where
714         operands[0] is a SUBREG.  Handle case where operands[1] is a GR reg.
716 2004-04-26  Zack Weinberg  <zack@codesourcery.com>
718         * config/ia64/hpux.h: Predefine __STDCPP__ when compiling C++.
719         * config/pa/pa-hpux10.h: Likewise.
720         * config/pa/pa-hpux11.h: Likewise.
722 2004-04-26  Geoffrey Keating  <geoffk@apple.com>
724         * doc/invoke.texi (Overall Options): Document default for -o
725         for PCH files.
727 2004-04-26  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
729         * builtins.c (expand_builtin_update_setjmp_buf): New function.
730         (expand_builtin, case BUILT_IN_UPDATE_SETJMP_BUF): New case.
731         * builtins.def (BUILT_IN_UPDATE_SETJMP_BUF): New code.
733 2004-04-26  Paul Brook  <paul@codesourcery.com>
735         * config/arm/arm.c (arm_legitimate_index_p): Correct iwmmxt offsets.
737 2004-04-26  Paul Brook  <paul@codesourcery.com>
739         * config/arm/arm.c (arm_legitimate_index_p): Correct maverick offsets.
741 2004-04-25  Roger Sayle  <roger@eyesopen.com>
743         * fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to
744         fold (build1 (NEGATE_EXPR, ...)).  Optimize X / -1 as -X and
745         X % -1 as 0.
747 2004-04-26  Hans-Peter Nilsson  <hp@bitrange.com>
749         PR bootstrap/15141
750         * except.c (connect_post_landing_pads): Delete insns after the
751         barrier when generating a unwind_resume_libfunc call.
753 2004-04-25  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
755         PR/c++ 15119
756         * tree.c (substitute_placeholder_in_expr, case 4): New case,
757         for TARGET_EXPR.
759 2004-04-25  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
761         * gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
762         __gcov_execv, __gcov_execvp, __gcov_execve): Do not declare when
763         inhibit_libc is defined.
765 2004-04-25  Richard Sandiford  <rsandifo@redhat.com>
767         * config/mips/mips-protos.h (mips_linked_macc_p): Declare.
768         * config/mips/mips.h (TUNE_MACC_CHAINS): New macro.
769         * config/mips/mips.c (TARGET_SCHED_REORDER): Define.
770         (TARGET_SCHED_VARIABLE_ISSUE): Define.
771         (mips_adjust_cost): Move later in file, next to other sched hooks.
772         (mips_macc_chains_last_hilo): New variable.
773         (mips_linked_madd_p, mips_macc_chains_record, mips_macc_chains_reorder)
774         (mips_promote_ready, mips_sched_reorder, mips_variable_issue): New.
775         * config/mips/mips.md (may_clobber_hilo): New attribute.
777 2004-04-24  Roger Sayle  <roger@eyesopen.com>
778             Bruce Korb  <bkorb@gnu.org>
780         * fixinc/inclhack.def (aix_syswait_2): New fix.
781         * fixinc/fixincl.x: Regenerate.
782         * fixinc/tests/base/sys/wait.h: Update for new test.
784 2004-04-24  Alan Modra  <amodra@bigpond.net.au>
786         PR target/14960
787         * config/rs6000/rs6000.c (rs6000_stack_info): Rename total_raw_size
788         to non_fixed_size, and leave out fixed_size from the sum.
789         (generate_set_vrsave): Correct clobbers.
790         (rs6000_emit_epilogue): Test TARGET_ALTIVEC with TARGET_ALTIVEC_SAVE.
791         (rs6000_function_value): Test TARGET_ALTIVEC and TARGET_ALTIVEC_ABI.
792         (rs6000_libcall_value): Likewise.
793         * config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Likewise.
794         (FUNCTION_ARG_REGNO_P): Likewise.
796 2004-04-24  Ulrich Weigand  <uweigand@de.ibm.com>
798         * expmed.c (expand_mult_highpart_adjust): Do not assume OP1
799         is a CONST_INT.
800         (expand_mult_highpart_optab): Call expand_mult_highpart_adjust
801         with NARROW_OP1 instead of OP1.
803 2004-04-24  Ulrich Weigand  <uweigand@de.ibm.com>
805         * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __s390__
806         and __s390x__ hosts.
808 2004-03-23  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
810         * Makefile.in (LIBGCOV): Add _gcov_fork, _gcov_execl, _gcov_execlp,
811         _gcov_execle, _gcov_execv, _gcov_execvp, _gcov_execve.
812         * builtin-types.def (BT_PID, BT_PTR_CONST_STRING, BT_FN_PID,
813         BT_FN_INT_CONST_STRING_PTR_CONST_STRING,
814         BT_FN_INT_CONST_STRING_PTR_CONST_STRING_PTR_CONST_STRING): New.
815         * builtins.c (expand_builtin_fork_or_exec): New.
816         (expand_builtin): Call it.
817         * builtins.def (BUILT_IN_EXECL, BUILT_IN_EXECLP,BUILT_IN_EXECLE,
818         BUILT_IN_EXECV, BUILT_IN_EXECVP, BUILT_IN_EXECVE, BUILT_IN_FORK): New.
819         * c-common.c (PID_TYPE): New macro.
820         (c_common_nodes_and_builtins): Initialize pid_type_node.
821         * calls.c (special_function_p): Do not handle fork and exec.
822         (expand_call): Do not handle ECF_FORK_OR_EXEC.
823         * gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
824         __gcov_execv, __gcov_execvp, __gcov_execve): Declare.
825         * libgcov.c (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
826         __gcov_execv, __gcov_execvp, __gcov_execve): New.
827         * tree.h (enum tree_index): Add TI_PID_TYPE.
828         (pid_type_node): New macro.
829         (ECF_FORK_OR_EXEC): Removed.
831 2004-04-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
833         PR optimization/13985
834         * cfgloopmanip.c (fix_loop_placements): New prototype.
835         Call fix_bb_placements on the preheader of loops that have
836         been reparented.
837         (remove_path): Adjust call to fix_loop_placements.
839 2004-04-23  Andrew Pinski  <pinskia@physics.uc.edu>
841         * config/darwin7.h: New file.
842         * config.gcc (*-*-darwin*): Add darwin7.h if the
843         version is greater than 6.
844         * config/darwin.h (TARGET_C99_FUNCTIONS): Define.
845         (MATH_LIBRARY): Wrap in ifdefs.
847 2004-04-23  Daniel Jacobowitz  <drow@mvista.com>
849         * config/arm/arm.c (arm_output_epilogue): Reverse the order of
850         loading iWMMXt registers with a frame pointer.  Use post-increment
851         without a frame pointer.
852         (arm_expand_prologue): Reverse the order of saving iWMMXt registers.
854 2004-04-23  Paolo Bonzini  <bonzini@gnu.org>
856         * doc/invoke.texi (Optimize Options): Refer to "unit-at-a-time
857         mode" rather than "-funit-at-a-time" since -O2 enables it
858         without requiring -f* options.  Refer to -fprofile-generate and
859         -fprofile-use correctly.  Move -funit-at-a-time among options
860         enabled by -O.  Add information about unit-at-a-time caveats.
862 2004-04-22  Per Bothner  <per@bothner.com>
864         * line-map.h (struct line_maps):  New field highest_line.
865         (linemap_position_for_column):  Make non-inline function.
866         (LINEMAP_POSITION_FOR_COLUMN):  New macro.
867         * line-map.c (linemap_init):  Clear highest_line field.
868         (linemap_add):  Set highest_line field.
869         (linemap_line_start):  Minor optimization - use highest_line field.
870         Reduce maximum column hint to 10000.  Update highest_line field.
871         (linemap_position_for_column):  Moved from line-map.h.  Optimize a bit.
872         * cpphash.h (struct cpp_reader):  Remove line field - instead use
873         line_table->highest_line.
874         (saved_line):  Remove unused field.
875         (CPP_INCREMENT_FILE):  Don't do linemap_lookup - just use newest map.
876         Use  line_table's highest_line field instead of cpp_reader's line.
877         * cpplib.c (start_directive):  Likewise use highest_line field.
878         (do_line, do_linemarker):  Likewise just use newest map.
879         (_cpp_do_file_change):  Don't need to set cpp_reader's line field.
880         * cpperror.c (cpp_error):  Likewise use highest_line field.
881         * cppfiles.c (open_file_failed:  Likewise.
882         (cpp_make_system_header):  Likewise use newest map and highest_line.
883         * cppinit.c (cpp_create_reader):  Don't initialize removed field.
884         * cpplex.c (_cpp_process_line_notes, _cpp_skip_block_comment,
885         skip_line_comment, skip_whitespace, _cpp_get_fresh_line,
886         _cpp_lex_direct):  Likewise use highest_line.
887         (_cpp_lex_direct):  Use new LINEMAP_POSITION_FOR_COLUMN macro.
888         * cppmacro.c (_cpp_builtin_macro_text):  Likewise use highest_line,
889         and use newest map.
890         * cpppch.c (cpp_read_state):  Don't save+restore cpp_reader's line.
891         * cpptrad.c (_cpp_overlay_buffer):  Don't save cpp_reader's line.
892         (copy_comment, _cpp_scan_out_logical_line):  Likewise use highest_line.
894 2004-04-23  Alan Modra  <amodra@bigpond.net.au>
896         PR bootstrap/14992
897         * gcc.c (init_gcc_specs): Test USE_LD_AS_NEEDED, not HAVE_LD_AS_NEEDED.
898         * config/linux.h (USE_LD_AS_NEEDED): Define.
899         * gcc/config/alpha/linux.h (USE_LD_AS_NEEDED): Define.
900         * gcc/config/arm/linux-elf.h (USE_LD_AS_NEEDED): Define.
901         * gcc/config/rs6000/linux.h (USE_LD_AS_NEEDED): Define.
902         * gcc/config/rs6000/linux64.h (USE_LD_AS_NEEDED): Define.
903         * gcc/config/sh/linux.h (USE_LD_AS_NEEDED): Define.
904         * gcc/config/sparc/linux.h (USE_LD_AS_NEEDED): Define.
905         * gcc/config/sparc/linux64.h (USE_LD_AS_NEEDED): Define.
907 2004-04-22  Per Bothner  <per@bothner.com>
909         * cppinit.c (cpp_read_main_file):  Return NULL rather than false.
910         Fixes PR preprocessor/15067.
912 2004-04-23  Andreas Schwab  <schwab@suse.de>
914         * config/ia64/ia64intrin.h: Add intermediate cast to void * to
915         avoid aliasing warning.
917 2004-04-22  Jan Hubicka  <jh@suse.cz>
918             Mostafa Hagog <mustafa@il.ibm.com>
920       * cfgloopmanip.c (scale_bbs_frequencies): Use RDIV macro
921       * cfgloopanal.c (expected_loop_iterations): Change the return value
923 2004-04-22  Jakub Jelinek  <jakub@redhat.com>
925         * cselib.h (struct elt_loc_list): Remove canon_loc field.
926         * cselib.c (new_elt_loc_list): Remove canon_loc initialization.
927         (cselib_invalidate_mem): Remove all canon_loc and canon_x
928         traces.
930 2004-04-22  Josef Zlomek  <zlomekj@suse.cz>
932         Revert
933         2004-04-20  Josef Zlomek  <zlomekj@suse.cz>
935                 * var-tracking.c (variable_part_different_p): Variable parts
936                 differ when the most recent locations differ.
938 2004-04-22  Richard Sandiford  <rsandifo@redhat.com>
940         * doc/invoke.texi: Remove the MIPS -membedded-pic option.
941         * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): Delete.
942         (embedded_pic_offset): Delete.
943         * config/mips/mips.h (MASK_EMBEDDED_PIC): Delete.  Shuffle other
944         MASK_* constants.
945         (TARGET_EMBEDDED_PIC): Delete.
946         (TARGET_SWITCHES): Remove -m{no-,}embedded-pic.
947         (ASM_SPEC): Remove -membedded-pic.
948         (ASM_OUTPUT_ADDR_DIFF_ELT): Remove embedded-pic handling.
949         (ASM_OUTPUT_CASE_LABEL): Likewise.
950         * config/mips/vxworks.h (ASM_SPEC): Remove -membedded-pic.
951         * config/mips/windiss.h (ASM_SPEC): Likewise.
952         * config/mips/mips.c (struct machine_function): Remove
953         embedded_pic_fnaddr_rtx.
954         (TARGET_ENCODE_SECTION_INFO): Remove override.
955         (embedded_pic_fnaddr_reg, embedded_pic_offset): Delete.
956         (override_options): Remove -membedded-pic handling.
957         (print_operand): Remove handling of '%S'.
958         (mips_select_section: Remove -membedded-pic handling.
959         (mips_encode_section_info): Delete.
960         (mips_output_conditional_branch): Remove mention of -membedded-pic.
961         * config/mips/mips.md (define_attr length, movsi, movdi, jump): Remove
962         -membedded-pic handling.
963         (casesi, casesi_internal, casesi_internal_di, get_fnaddr): Delete.
965 2004-04-22  Alan Modra  <amodra@bigpond.net.au>
967         * var-tracking.c (frame_base_decl): Remove useless GTY.
969 2004-04-21  Aldy Hernandez  <aldyh@redhat.com>
971         * config/rs6000/rs6000.c (rs6000_override_options): Error when
972         user wants altivec and e500 instructions.
974 2004-04-21  H.J. Lu  <hongjiu.lu@intel.com>
976         PR target/14813
977         * config/ia64/crtend.asm: Move pointer to __do_global_ctors_aux
978         in .init_array section to ...
979         * config/ia64/crtbegin.asm: Here.
981         * config/ia64/crtend.asm: Mark __do_global_ctors_aux global
982         and hidden if HAVE_INITFINI_ARRAY is defined.
984 2004-04-21  James E Wilson  <wilson@specifixinc.com>
986         * config/mips/mips-protos.h (fp_register_operand, lo_operand): Declare.
987         * config/mips/mips.c (mips_multipass_dfa_lookahead): Declare.
988         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): New.
989         (fp_register_operand, lo_operand): New.
990         (mips_rtx_costs): Add TUNE_SB1 support.
991         (mips_issue_rate): Add comment.  Add PROCESSOR_SB1 support.
992         (mips_use_dfa_pipeline_interface): Add PROCESSOR_SB1 support.
993         (mips_multipass_dfa_lookahead): New.
994         * config/mips/mips.h (MASK_FP_EXCEPTIONS, TARGET_FP_EXCEPTIONS,
995         TUNE_SB1): New.
996         (TARGET_SWITCHES): Add -mfp-exceptions support.
997         (TARGET_FP_EXCEPTIONS_DEFAULT): New.
998         (BRANCH_COST): Fix whitespace.
999         * config/mips/mips.md: Include sb1.md.
1000         * config/mips/sb1.md: New file.
1001         * doc/invoke.texi: Document -mfp-exceptions.
1003         * Makefile.in (fixinc.sh): Don't set or export WARN_CFLAGS.  Fix
1004         comment.
1005         * fixinc/Makefile.in (FL_LIST): Don't mention WARN_CFLAGS.
1006         (fixincl.o-warn): Delete.
1008 2004-04-21  Andrew Pinski  <pinskia@physics.uc.edu>
1010         * config/rs6000/rs6000 (print_operand) ['z']:
1011         Change ifdef of TARGET_MACHO to if TARGET_MACHO.
1013 2004-04-21 Daniel Jacobowitz  <drow@mvista.com>
1015         * config.gcc: Support --with-arch=iwmmxt for ARM.
1017 2004-04-21  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1019         * expmed.c (expand_mult_highpart_optab): Use narrower version of OP1
1020         in two more places; remove unneeded force_reg
1022 2004-04-21  Andrew Pinski  <pinskia@physics.uc.edu>
1024         * config/rs6000/rs6000.c (symbol_ref_operand): Remove hack
1025         for TARGET_MACHO.
1026         (print_operand): For TARGET_MACHO check to see if we need a stub
1027         and output one if we need it.
1029         PR debug/15033
1030         * dwarf2out.c (rtl_for_decl_location): Check for NULL
1031         rtl.
1033 2004-04-20  James E Wilson  <wilson@specifixinc.com>
1035         * config/ia64/ia64.md (call_value_nogp): Add constraints for op0.
1036         (vall_value_gp): Likewise.
1038 2004-04-20  DJ Delorie  <dj@redhat.com>
1040         * dwarf2out.c (rtl_for_decl_location): Adjust rtl for byte
1041         variables stored in word registers, then in memory.
1043 2004-04-20  Eric Christopher  <echristo@redhat.com>
1045         * cp/parser.c (cp_parser_declaration): Move translate
1046         up before tokens are lexed.
1048 2004-04-20  Uros Bizjak  <uros@kss-loka.si>
1050         * optabs.h (enum optab_index): Add new OTI_asin and OTI_acos.
1051         (asin_optab, acos_optab): Define corresponding macros.
1052         * optabs.c (init_optabs): Initialize asin_optab and acos_optab.
1053         * genopinit.c (optabs): Implement asin_optab and acos_optab
1054         using asin?f2 and acos?f2 patterns.
1055         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_ASIN{,F,L}
1056         using asin_optab, and BUILT_IN_ACOS{,F,L} using acos_optab.
1057         (expand_builtin): Expand BUILT_IN_ASIN{,F,L} and BUILT_IN_ACOS{,F,L}
1058         using expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
1060         * config/i386/i386.md (asindf2, asinsf2, asinxf2, acosdf2,
1061         acossf2, acosxf2): New expanders to implement asin, asinf, asinl,
1062         acos, acosf and acosl built-ins as inline x87 intrinsics.
1064 2004-04-20  Paul Brook  <paul@codesourcery.com>
1066         * config/arm/arm.c (arm_legitimate_address_p): Use rtx_equal_p.
1068 2004-04-20  Paul Brook  <paul@codesourcery.com>
1070         * config/arm/arm.c (arm_expand_prologue): Fix size calculation.
1072 2004-04-20  Paolo Bonzini  <bonzini@gnu.org>
1074         Revert part of 2004-04-17 change that moved -frename-registers
1075         to -O1.  -frename-registers is buggy.
1077         * toplev.c (flag_rename_registers): Initialize to 0.
1078         * doc/invoke.texi (Optimize options): Move -frename-registers
1079         to "Not triggered by any -O level" section.  Adjust commentary
1080         accordingly.
1082 2004-04-20  Anil Paranjpe <anilp1@kpitcummins.com>
1084         * toplev.c (compile_file): Move targetm.asm_out.file_end call to end.
1086 2004-04-20  Richard Sandiford  <rsandifo@redhat.com>
1088         * config/mips/mips.c (mips_legitimize_move): Generate special patterns
1089         for mflo and mfhi instructions.
1090         (mips_output_move): Remove mflo and mfhi handling.
1091         * config/mips/mips.md (UNSPEC_MFHILO): New unspec.
1092         (*mulsidi3_64bit): Update for new mfhi/mflo representation.
1093         Likewise various define_peephole2s.
1094         (*movdi_32bit, *movdi_64bit, *movsi_internal): Merge x<-J and x<-d
1095         alternatives.
1096         (*movdi_64bit, *movdi_64bit_mips16, *mov[shq]i_internal)
1097         (*mov[shq]i_mips16): Remove mflo and mfhi alternatives.
1098         (mfhilo_di, mfhilo_si): New patterns.
1100 2004-04-20  Josef Zlomek  <zlomekj@suse.cz>
1102         * function.c (assign_parms): Force
1103         MEM_EXPR (DECL_INCOMING_RTL (parm)) == parm.
1105 2004-04-20  Josef Zlomek  <zlomekj@suse.cz>
1107         * var-tracking.c (variable_part_different_p): Variable parts differ
1108         when the most recent locations differ.
1110 2004-04-19  James E Wilson  <wilson@specifixinc.com>
1112         * rtl.h (reg_set_last): Delete declaration.
1113         * rtlanal.c (reg_set_last): Delete.
1115 2004-04-19  Roger Sayle  <roger@eyesopen.com>
1117         * fold-const.c (fold_convert): Make function extern/public.
1118         * tree.h (fold_convert): Prototype here.
1119         * builtins.c (expand_builtin_strstr, expand_builtin_strchr,
1120         expand_builtin_strrchr, expand_builtin_strpbrk,
1121         expand_builtin_mempcpy, expand_builtin_bcopy,
1122         expand_builtin_bzero, expand_builtin_memcmp,
1123         expand_builtin_strcmp, expand_builtin_strncmp,
1124         stabilize_va_list, expand_builtin_sprintf,
1125         fold_trunc_transparent_mathfn, fold_builtin_logarithm,
1126         fold_builtin_exponent, fold_builtin_mempcpy,
1127         fold_builtin_strcpy, fold_builtin_strcmp, fold_builtin_strncmp,
1128         fold_builtin_signbit, fold_builtin_isdigit, fold_builtin): Prefer
1129         fold_convert to "convert" or "fold (build1 (NOP_EXPR, ...))".
1131 2004-04-19  Aldy Hernandez  <aldyh@redhat.com>
1133         * config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): New constant.
1134         (move_from_CR_gt_bit): New.
1135         (cceq_ior_compare): Name previously unnamed pattern.  Disable for
1136         E500.
1137         (cceq_rev_compare): Name previously unnamed pattern.  Allow for
1138         E500.
1140         * config/rs6000/spe.md (cmpsfeq_gpr): Rewrite as unspec.
1141         (tstsfeq_gpr): Same.
1142         (cmpsfgt_gpr): Same.
1143         (tstsfgt_gpr): Same.
1144         (cmpsflt_gpr): Same.
1145         (tstsflt_gpr): Same.
1146         (e500_cceq_ior_compare): New.
1147         (e500_flip_gt_bit): New.
1149         * config/rs6000/rs6000.c (ccr_bit): Remove E500 specific code.
1150         (print_operand): Add 'c' and 'D'.
1151         (rs6000_generate_compare): Rewrite to generate correct rtl.
1152         (rs6000_emit_sCOND): Handle E500.
1153         (output_cbranch): Adjust for changes in rs6000_generate_compare.
1154         (output_e500_flip_gt_bit): New.
1156         * config/rs6000/rs6000-protos.h (output_e500_flip_gt_bit):
1157         Protoize.
1159 2004-04-19  Eric Christopher  <echristo@redhat.com>
1161         * config/mips/mips.h (DWARF2_ADDR_SIZE): New.
1163 2004-04-19  David Edelsohn  <edelsohn@gnu.org>
1165         * doc/install.texi (*-ibm-aix*): Add AIX 5.1 assembler and archiver
1166         fix information.
1168 2004-04-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1170         * doc/install.texi (Specific, mips-sgi-irix5): Fix IRIX 5.3 IDO
1171         download URL.
1173 2004-04-19  Daniel Jacobowitz  <drow@mvista.com>
1175         * stor-layout.c (layout_decl): Check DECL_PACKED before calling
1176         ADJUST_FIELD_ALIGN.  Check maximum_field_alignment after.
1178 2004-04-19  Andrew PInski  <pinskia@physics.uc.edu>
1180         * builtins.c (fold_builtin_cabs): Remove fndecl parameter.
1181         (fold_builtin): Update caller to match.
1183         PR bootstrap/15009
1184         * bb-reorder.c (fix_up_fall_thru_edges): Init cond_jump.
1186         PR bootstrap/14999
1187         * builtins.c (fold_builtin_cabs): Mark fndecl as unused.
1189 2004-04-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1191         * varasm.c (compare_constant, case VIEW_CONVERT_EXPR): Add case.
1193         * expmed.c (expand_mult_highpart_adjust): Make OP1 valid for MODE.
1194         (expand_mult_highpart_optab): Likewise.
1195         (expand_mult_highpart): Make OP1 valid for WIDER_MODE, not MODE.
1197 2004-04-19  Paul Brook  <paul@codesourcery.com>
1199         * config/arm/arm.md (fixuns_truncsfsi2, fixuns_truncdfsi2,
1200         floatunssisf2, floatunssidf2): New patterns.
1202 2004-04-18  Mark Mitchell  <mark@codesourcery.com>
1204         PR other/14918
1205         * doc/invoke.texi (-fprofile-generate): Document requirement to
1206         use -fprofile-generate when linking.
1208         * doc/extend.texi (Strong Using): Warn users against using this
1209         feature.
1211 2004-04-18  Richard Sandiford  <rsandifo@redhat.com>
1213         * config/mips/mips-protos.h (m16_usym8_4, m16_usym5_4): Delete.
1214         * config/mips/mips.h (mips_entry, mips_string_length): Delete.
1215         (CONSTANT_POOL_BEFORE_FUNCTION, ASM_OUTPUT_POOL_EPILOGUE): Undefine.
1216         * config/mips/mips.c (struct mips16_constant): Renamed from struct
1217         constant.  Propogate change throughout file.
1218         (struct machine_function): Remove insns_len.
1219         (mips_string_length, mips16_strings, string_constants): Delete.
1220         (mips_classify_symbol): Return SYMBOL_CONSTANT_POOL for LABEL_REFs
1221         when generating mips16 code.  Remove special mips16 treatment of
1222         string constants.
1223         (mips_symbolic_constant_p): Allow mips16 constant pool accesses
1224         to have the form LABEL+CONSTANT.
1225         (mips_symbolic_address_p): Fix comment.
1226         (m16_usym8_4, m16_usym5_4): Delete.
1227         (mips_output_function_epilogue): Remove mips16 string handling.
1228         (mips_output_mi_thunk): Call mips16_lay_out_constants.
1229         (mips_select_section, mips_encode_section_info): Remove mips16
1230         string handling.
1231         (struct mips16_constant_pool): New.
1232         (add_constant): Take a mips16_constant_pool structure.  Keep pool
1233         sorted into order of ascending mode size.  Keep track of the highest
1234         possible start address, taking padding and the masking of the base PC
1235         value into account.
1236         (dump_constants_1): New function, split out from dump_constants.
1237         Handle vector constants.  Use gen_consttable_{int,float} rather than
1238         separate functions for each mode.
1239         (dump_constants): Simplify.  Use GET_MODE_ALIGNMENT.  Use gen_align
1240         rather than separate functions for each alignment.
1241         (mips_find_symbol): Delete.
1242         (mips16_insn_length): New function, split out from
1243         mips16_lay_out_constants.
1244         (mips16_rewrite_pool_refs): New function.
1245         (mips16_lay_out_constants): Rework. Remove string handling.
1246         Always create an inline constant pool.
1247         * config/mips/mips.md (UNSPEC_CONSTTABLE_INT, UNSPEC_CONSTTABLE_FLOAT)
1248         (UNSPEC_ALIGN): New constants.
1249         (UNSPEC_CONSTTABLE_[QHSD]I, UNSPEC_CONSTTABLE_[SD]F): Delete.
1250         (UNSPEC_ALIGN_[248]): Delete.
1251         (consttable_int, consttable_float, align): New patterns.
1252         (consttable_[qhsd]i, consttable_[sd]f, align_[248]): Delete.
1254 2004-04-17  Aldy Hernandez  <aldyh@redhat.com>
1256         * config/rs6000/altivec.h (vec_any_numeric): Correct typo in
1257         __unn_args_eq.
1259 2004-04-17  Alan Modra  <amodra@bigpond.net.au>
1261         PR target/14715
1262         * config/rs6000/rs6000.c (rs6000_stack_info): Make parm_size agree
1263         with STARTING_FRAME_OFFSET.
1265 2004-04-17  Richard Sandiford  <rsandifo@redhat.com>
1267         * config/mips/mips.h (PREDICATE_CODES): Add macc_msac_operand.
1268         * config/mips/mips.c (macc_msac_operand): New function.
1269         * config/mips/mips.md (*msac): Move after *macc.
1270         (*msac2): New.  Generalize macc-related peepholes so that they apply
1271         to msac too.
1273 2004-04-17  Paolo Bonzini  <bonzini@gnu.org>
1275         * opts.c (decode_options): Do not enable flag_rename_registers
1276         and flag_web at -O3.
1277         * toplev.c (flag_rename_registers): Initialize
1278         flag_rename_registers and flag_web to
1279         AUTODETECT_FLAG_VAR_TRACKING.
1280         (default_debug_hooks): New global.
1281         (process_options): Initialize default_debug_hooks.  Warn if
1282         -fvar-tracking specified but not supported by the current
1283         debug format.  Do not run var tracking at -O0 or if not
1284         supported by the current debug format, even if
1285         -fvar-tracking was given.  If -fno-rename-registers
1286         is not specified, always run register renaming if var
1287         tracking is supported by the default debugging information
1288         format for the target, and we are at -O1 or higher; similarly
1289         for -fweb, but only at -O2 or higher.
1290         * doc/invoke.texi (Optimize Options): Document this.
1292 2004-04-17  Richard Sandiford  <rsandifo@redhat.com>
1294         * configure.ac (gcc_cv_ld_as_needed): Use AC_CACHE_CHECK.
1295         * configure: Regenerate.
1297 2004-04-17  Richard Sandiford  <rsandifo@redhat.com>
1299         * gcc.c (used_arg): Check whether an option has been removed.
1301 2004-04-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1303         * config.gcc (i[34567]86-*-solaris2*): Default to DWARF-2
1304         debugging on Solaris 7 and up.
1306 2004-04-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1308         * doc/install.texi (Specific, mips-sgi-irix5): Reflect working
1309         IRIX 5 port.
1310         Remove -save-temps workaround, handled automatically.
1311         Require GNU binutils 2.15 for debugging.
1312         Remove SGI make warnings since GNU make is now required.
1313         (Specific, mips-sgi-irix6): Some markup fixes.
1314         Describe MIPSpro C problems and workarounds.
1315         Mention working O32 ABI support.
1316         Recommend GNU as 2.15 for O32 with debugging.
1317         Remove description of fixed structure pass/return bug.
1319 2004-04-16  DJ Delorie  <dj@redhat.com>
1321         * sdbout.c (sdbout_one_type): Use TYPE_VALUES for enums, not
1322         TYPE_FIELDS.
1323         (sdbout_finish): Don't free deferred_global_decls; it's GC'd.
1325 2004-04-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1327         * pa.md: Remove unnecessary declarations for asm_out_file.
1329         * pa64-regs.h (DBX_REGISTER_NUMBER): Simplify and correct mapping of
1330         SAR register.  Fix comment.
1331         (ADDITIONAL_REGISTER_NAMES): Correct register number of SAR register
1332         (%cr11).
1334         * pa64-hpux.h (LIB_SPEC): Fix library specification used with GNU ld.
1336 2004-04-16  Nick Clifton  <nickc@redhat.com>
1338         * config/arm/arm.c (arm_override_options): Revert previous patch.
1339         * config/arm/t-xscale-elf: Disable iwmmxt multilibs until they can
1340         be safely built.
1342 2004-04-16  Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
1344         * config/m32r/m32r.h (BIG_ENDIAN_BIT): Deleted to fix endian
1345         bug.
1346         (TARGET_LITTLE_ENDIAN, TARGET_BIG_ENDIAN,
1347         TARGET_DEFAULT): Changed. Ditto.
1348         (LITTLE_ENDIAN_BIT, TARGET_CPU_DEFAULT,
1349         TARGET_ENDIAN_DEFAULT): Added. Ditto.
1350         * config/m32r/little.h (TARGET_LITTLE_ENDIAN): Deleted.
1351         (TARGET_ENDIAN_DEFAULT): Added.
1353 2004-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1355         * builtins.def (BUILT_IN_ISDIGIT, BUILT_IN_ISXDIGIT): Mark with
1356         ATTR_CONST_NOTHROW_LIST.
1358 2004-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1360         PR/middle-end 14915
1361         * builtins.c (expand_builtin_signbit): Test BYTES_BIG_ENDIAN, not
1362         BITS_BIG_ENDIAN.
1364 2004-04-15  Pat Haugen  <pthaugen@us.ibm.com>
1366         * ra-debug.c (ra_print_rtx): Add break's to case legs.
1368 2004-04-14  James E Wilson  <wilson@specifixinc.com>
1370         * Makefile.in (fixinc.sh): Set WARN_CFLAGS to empty string.
1372 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
1374         * libada-mk.in: New file.
1375         * configure.ac: Create libada-mk from libada-mk.in.
1376         * configure: Regenerate.
1378 2004-04-14  Uros Bizjak  <uros@kss-loka.si>
1380         * optabs.h (enum optab_index): Add new OTI_logb and OTI_ilogb.
1381         (logb_optab, ilogb_optab): Define corresponding macros.
1382         * optabs.c (init_optabs): Initialize logb_optab and ilogb_optab.
1383         * genopinit.c (optabs): Implement logb_optab and ilogb_optab
1384         using logb?f2 and ilogb?i2 patterns.
1385         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOGB{,F,L}
1386         using logb_optab, and BUILT_IN_ILOGB{,F,L} using ilogb_optab.
1387         (expand_builtin): Expand BUILT_IN_LOGB{,F,L} and BUILT_IN_ILOGB{,F,L}
1388         using expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
1390         * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_XTRACT_FRACT
1391         and UNSPEC_XTRACT_EXP.
1393         * config/i386/i386.md (*fxtractdf3, *fxtractsf3, *fxtractxf3): New
1394         patterns to implement fxtract x87 instruction.
1395         (logbdf2, logbsf2, logbxf2, ilogbsi2): New expanders to implement
1396         logb, logbf, logbl, ilogb, ilogbf and ilogbl built-ins as inline x87
1397         intrinsics.
1398         (UNSPEC_XTRACT_FRACT, UNSPEC_XTRACT_EXP): New unspecs to represent
1399         x87's fxtract insn.
1401 2004-04-14  Eric Christopher  <echristo@redhat.com>
1403         * config/mips/t-elf: Enable multilibs by default.
1405 2004-04-14  Andreas Tobler  <a.tobler@schweiz.ch>
1407         * bb-reorder.c (fix_crossing_conditional_branches): Adjust the
1408         previous fix to check HAVE_return at runtime too.
1410 2004-04-14  Nick Clifton  <nickc@redhat.com>
1412         * config/arm/arm.c (arm_override_options): If the user has not
1413         specified an ABI, then default to AAPCS for the iWMMXt processor.
1414         * config/arm/t-xscale-elf: Remove redundant multilib specifications.
1415         * config/arm/t-xscale-coff: Likewise.
1417 2004-04-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1419         * builtins.c (fold_builtin_isdigit): New.
1420         (fold_builtin): Handle BUILT_IN_ISDIGIT.
1421         * defaults.h: Add TARGET_DIGIT0 and sort.
1422         * doc/tm.texi: Add TARGET_BS and TARGET_DIGIT0.
1424 2004-04-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1426         * builtins.c (fold_builtin_cabs, fold_builtin): Use
1427         `mathfn_built_in' to determine the new builtin.
1428         * fold-const.c (fold): Likewise.
1430 2004-04-14  Richard Sandiford  <rsandifo@redhat.com>
1432         * doc/invoke.texi: Rename MIPS's -mfix-vr4122-bugs to -mfix-vr4120.
1433         * config/mips/mips.h (MASK_FIX_VR4120): Renamed from MASK_FIX_VR4122.
1434         (TARGET_FIX_VR4120): Likewise TARGET_FIX_VR4122.
1435         (TARGET_SWITCHES): Replace -mfix-vr4122-bugs with -mfix-vr4120.
1436         (ASM_SPEC): Update accordingly.
1437         * config/mips/mips.c: Update after above renaming.
1438         * config/mips/mips.md, config/mips/t-vr, config/mips/vr.h: Likewise.
1439         * config/mips/vr4120-div.S: Renamed from vr4122-div.S.
1441 2004-04-13  James E Wilson  <wilson@specifixinc.com>
1443         * c-opt.c (c_common_post_options): If this_input_filename is NULL,
1444         increment errorcount and return false instead of true.
1446 2004-04-13  Uros Bizjak  <uros@kss-loka.si>:
1448         * optabs.c (expand_twoval_unop): Reorder function arguments.
1449         * builtins.c (expand_builtin_mathfn_3): Update calls to
1450         expand_twoval_unop.
1452         * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_TAN_ONE
1453         and UNSPEC_TAN_TAN. Add missing comment.
1455         * config/i386/i386.md (*tandf3_1, *tansf3_1, *tanxf3_1): New
1456         patterns to implement fptan x87 instruction.
1457         (tandf2, tansf2, tanxf2): New expanders to implement tan, tanf
1458         and tanl built-ins as inline x87 intrinsics. Define corresponding
1459         peephole2 optimizers for 'fptan; fstp %st(0); fld1' sequence.
1460         (UNSPEC_TAN_ONE, UNSPEC_TAN_TAN): New unspecs to represent
1461         x87's fptan insn.
1463 2004-03-13  Richard Henderson  <rth@redhat.com>
1465         * bb-reorder.c (fix_crossing_unconditional_branches): Use Pmode
1466         for LABEL_REFs.
1468         * defaults.h (HOT_TEXT_SECTION_NAME): Add leading dot.
1469         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Likewise.
1470         * doc/invoke.texi: Update to match.
1472         * varasm.c (unlikely_text_section): Use assemble_align instead of
1473         ASM_OUTPUT_ALIGN.  Use it in the correct place with an approximately
1474         correct alignment argument.
1476 2004-04-13  Ulrich Weigand  <uweigand@de.ibm.com>
1478         * reload1.c (emit_reload_insns): Set reg_has_output_reload to one
1479         after setting reg_last_reload_reg for optional output reloads.
1481 2004-04-12  Fariborz Jahanian <fjahanian@apple.com>
1483         * config/rs6000/altivec.h (vec_mergeh, vec_mergel):
1484         Definition of these two macros are corrected by adding
1485         matchine right paren.
1487 2004-04-12  Jonathan Larmour  <jifl@eCosCentric.com>
1489         * fix-header.c: kill(), putenv() and tzset() are POSIX not ANSI.
1491 2004-04-12  Roger Sayle  <roger@eyesopen.com>
1493         * config/i386/i386.c (output_387_reg_move): New function.
1494         * config/i386/i386-protos.h (output_387_reg_move): Prototype here.
1495         * config/i386/i386.md (*movsf_1, *movsf1_nointerunit,
1496         *movdf_nointeger, *movdf_integer, *movxf_nointeger, *movxf_integer,
1497         *extendsfdf2_1,  *extendsfxf2_1, *extenddfxf2_1, truncdfsf2_noop,
1498         truncxfsf2_noop, truncxfdf2_noop): Call output_387_reg_move.
1500 2004-04-12  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1502         * c-decl.c (finish_decl): Make a decl_stmt for a variable-sized
1503         TYPE_DECL.
1504         * c-semantics.c (genrtl_decl_stmt): Handle TYPE_DECL.
1505         * stmt.c (expand_decl): Remove redundant expansion of TYPE_DOMAIN.
1506         * stor-layout.c (variable_size): Don't check for MINUS_EXPR.
1507         Use skip_simple_arithmetic to find SAVE_EXPR.
1508         (force_type_save_exprs, force_type_save_exprs_1): New functions.
1509         * tree-inline.c (remap_type, case POINTER_TYPE, case REFERENCE_TYPE):
1510         Properly chain multiple pointers.
1511         (copy_tree_r): Copy a TYPE_DECL.
1512         * tree.c (variably_modified_type_p): Add some missing tests and
1513         make some other minor changes.
1514         * tree.h (force_type_save_exprs): New declaration.
1516 2004-04-12  Roger Sayle  <roger@eyesopen.com>
1518         * simplify-rtx.c (simplify_binary_operation) <UDIV, DIV, UMOD, MOD>:
1519         Remove fall throughs.  Convert 0/x and 0%x into x&0 when x has
1520         side-effects.  Don't convert x/1.0 into x if we honor signaling NaNs.
1521         Convert x/-1.0 into -x if we don't honor signaling NaNs.  Convert
1522         x/-1 into -x.  Optimize x%1 into x&0 if x has side-effects.  Optimize
1523         x%-1 into 0 (or x&0 if x has side-effects).
1525 2004-04-11  Aldy Hernandez  <aldyh@redhat.com>
1527         * config/rs6000/rs6000.md: Document why a pattern is not
1528         available.
1530         * config/rs6000/rs6000.c (rs6000_emit_cmove): Disable comparisons
1531         of floats on the E500.
1532         (branch_positive_comparison_operator): Do not allow NE even on the
1533         E500.
1535 2004-04-11  Aldy Hernandez  <aldyh@redhat.com>
1537         * config/rs6000/rs6000.c (rs6000_assemble_integer): Change
1538         in_text_unlikely_section to in_unlikely_text_section.
1540 2004-04-11  Roger Sayle  <roger@eyesopen.com>
1542         * fold-const.c (fold_binary_op_with_conditional_arg):  Tweak
1543         calling convention to allow a NULL_TREE to be returned.  Factor
1544         sanity checks from callers, return NULL_TREE when appropriate.
1545         (fold): Handle COMPOUND_EXPR operands of binary expressions
1546         before COND_EXPR operands.  Use reorder_operands_p(a,b) to check
1547         whether a op (b,c) can be rewritten as (b, a op c).  Simplify
1548         calls to fold_binary_op_with_conditional_arg.
1550 2004-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1552         * config/mips/iris5.h (current_section_flags):  Add
1553         in_unlikely_executed_text and default case.
1555 2004-04-11  Andreas Tobler  <a.tobler@schweiz.ch>
1557         * bb-reorder.c (fix_crossing_conditional_branches): Fix bootstrap
1558         failure on solaris. Place ifdef HAVE_return around gen_ret call.
1559         * cfgrtl.c (force_nonfallthru_and_redirect): Remove ifdef
1560         HAVE_return and place it around the place where it is needed.
1562 2004-04-11  Andrew Pinski  <pinskia@physics.uc.edu>
1564         * varasm.c (text_section): Use TEXT_SECTION_ASM_OP and
1565         ASM_OUTPUT_ALIGN instead of SECTION_FORMAT_STRING
1566         and NORMAL_TEXT_SECTION_NAME.
1567         (unlikely_text_section): Check targetm.have_named_sections
1568         instead of TARGET_ASM_NAMED_SECTION and use TEXT_SECTION_ASM_OP
1569         instead of SECTION_FORMAT_STRING.
1570         * config/mips/iris5.h (current_section_name): Add
1571         in_unlikely_executed_text case and move the abort into the switch.
1572         * config/rs6000/sysv4.h (HOT_TEXT_SECTION_NAME): Remove.
1573         (NORMAL_TEXT_SECTION_NAME): Remove.
1574         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
1575         (SECTION_FORMAT_STRING): Remove.
1576         * defaults.h (SECTION_FORMAT_STRING): Remove.
1577         * tm.texi (NORMAL_TEXT_SECTION_NAME): Remove.
1578         (SECTION_FORMAT_STRING): Remove.
1580 2004-04-10  Joseph S. Myers  <jsm@polyomino.org.uk>
1582         * c-typeck.c (common_type): Prefer long long to long when same
1583         precision.
1585 2004-04-09  Zack Weinberg  <zack@codesourcery.com>
1587         PR 14887
1588         * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Look only at
1589         mode argument.
1590         * config/ia64/ia64.c (ia64_hpux_file_end): Check
1591         TREE_SYMBOL_REFERENCED on DECL_ASSEMBLER_NAME, not DECL_NAME.
1593 2004-04-09  Roger Sayle  <roger@eyesopen.com>
1595         * simplify-rtx.c (mode_signbit_p): New function to check whether
1596         an RTX is an immediate constant that represents the most significant
1597         bit of a given machine mode.
1598         (simplify_unary_operation) <NOT>: Optimize ~(X+C) as X ^ ~C, where
1599         C is the sign bit.
1600         (simplify_binary_operation) <PLUS>: Optimize (X^C1) + C2 as X^(C1^C2)
1601         when C2 is the sign bit.
1602         (simplify_binary_operation) <XOR>: Canonicalize X^C as X+C when C
1603         is the sign bit.  Optimize (X+C1) ^ C2 as X^(C1^C2) when C1 is the
1604         sign bit.
1606 2004-04-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1608         * builtins.c (mathfn_built_in): Check TYPE_MAIN_VARIANT, not
1609         TYPE_MODE.
1611 2004-04-09  Andrew Pinski  <pinskia@physics.uc.edu>
1613         * c-common.c (handle_noreturn_attribute): Use TYPE_READONLY instead
1614         of TREE_READONLY for types.
1616 2004-04-09  Caroline Tice  <ctice@apple.com>
1618         * basic-block.h (struct edge_def):  Add new field, crossing_edge.
1619         (struct basic_block_def):  Add new field, partition.
1620         (UNPARTITIONED, HOT_PARTITION, COLD_PARTITION):  New constant macro
1621         definitions.
1622         (partition_hot_cold_basic_blocks): Add extern function
1623         declaration.
1624         * bb-reorder.c (function.h, obstack.h, expr.h, regs.h):  Add four new
1625         include statements.
1626         (N_ROUNDS): Increase the maximum number of rounds by 1.
1627         (branch_threshold): Add array value for new round.
1628         (exec_threshold): Add array value for new round.
1629         (push_to_next_round_p): New function.
1630         (add_unlikely_executed_notes): New function.
1631         (find_rarely_executed_basic_blocks_and_crossing_edges): New function.
1632         (mark_bb_for_unlikely_executed_section): New function.
1633         (add_labels_and_missing_jumps): New function.
1634         (add_reg_crossing_jump_notes): New function.
1635         (fix_up_fall_thru_edges): New function.
1636         (find_jump_block): New function.
1637         (fix_crossing_conditional_branches): New function.
1638         (fix_crossing_unconditional_branches): New function.
1639         (fix_edges_for_rarely_executed_code): New function.
1640         (partition_hot_cold_basic_blocks): New function.
1641         (find_traces):  Add an extra round for partitioning hot/cold
1642         basic blocks.
1643         (find_traces_1_round): Add a parameter.  Modify to push all cold blocks,
1644         and only cold blocks, into the last (extra) round of collecting traces.
1645         (better_edge_p): Add a parameter.  Modify to favor non-crossing edges
1646         over crossing edges.
1647         (bb_to_key):  Add code to correctly identify cold blocks when
1648         doing partitioning.
1649         (connect_traces): Modify to connect all the non-cold traces first, then
1650         go back and connect up all the cold traces.
1651         (reorder_basic_blocks):  Add call to add_unlikely_executed_notes.
1652         * cfg.c (entry_exit_blocks): Add initialization for partition field in
1653         entry and exit blocks.
1654         * cfgbuild.c (make_edges): Update current_function_has_computed_jump
1655         if we are doing hot/cold partitioning.
1656         * cfgcleanup.c (cfglayout.h): Add new include statement.
1657         (try_simplify_condjump): Modify to not attempt on blocks with jumps
1658         that cross section boundaries.
1659         (try_forward_edges): Likewise.
1660         (merge_blocks_move_predecessor_nojumps): Likewise.
1661         (merge_blocks_move_successor_nojumps): Likewise.
1662         (merge_blocks_move): Likewise.
1663         (try_crossjump_to_edge): Modify to not attempt after we have done
1664         the block partitioning.
1665         (try_crossjump_bb): Modify to not attempt on blocks with jumps that
1666         cross section boundaries.
1667         (try_optimize_cfg): Likewise.
1668         * cfghooks.c (tidy_fallthru_edges): Modify to not remove indirect
1669         jumps that cross section boundaries.
1670         * cfglayout.c (flags.h): Add new include statement.
1671         (update_unlikely_executed_notes):  New function.
1672         (fixup_reorder_chain):  Add code so when a new jumping basic block is
1673         added, it's UNLIKELY_EXECUTED_CODE and REG_CROSSING_JUMP notes are
1674         updated appropriately.
1675         (duplicate_insn_chain):  Add code to duplicate the new NOTE insn
1676         introduced by this optimization.
1677         * cfglayout.h (scan_ahead_for_unlikely_executed_note):  Add new
1678         extern function declaration.
1679         * cfgrtl.c (can_delete_note_p):  Add NOTE_INSN_UNLIKELY_EXECUTED_CODE to
1680         list of notes that can be deleted.
1681         (create_basic_block_structure):  Add initialization for partition field.
1682         (rtl_can_merge_blocks):  Modify to test blocks for jumps that cross
1683         section boundaries.
1684         (try_redirect_by_replacing_jump):  Modify to not attempt on jumps that
1685         cross section boundaries.
1686         (commit_one_edge_insertion): Add code so newly created basic block
1687         ends up in correct (hot or cold) section.  Modify to disallow
1688         insertions before NOTE_INSN_UNLIKELY_EXECUTED_CODE notes.
1689         (rtl_verify_flow_info_1):  Add code to verify that no fall_thru edge
1690         crosses section boundaries.
1691         (cfg_layout_can_merge_blocks_p): Modify to test blocks for jumps that
1692         cross section boundaries.
1693         (force_nonfallthru_and_redirect): Modify to make sure new basic block
1694         ends up in correct section, with correct notes attached.
1695         * common.opt (freorder-blocks-and-partition):  Add new flag for this
1696         optimization.
1697         * dbxout.c (dbx_function_end):  Add code to make sure scope labels at
1698         the end of functions are written into the correct (hot or cold)
1699         section.
1700         (dbx_source_file): Add code so writing debug file information
1701         doesn't incorrectly change sections.
1702         * defaults.h (NORMAL_TEXT_SECTION_NAME): New constant macro, for use
1703         in partitioning hot/cold basic blocks into separate sections.
1704         (SECTION_FORMAT_STRING): New constant macro, for linux/i386 hot/cold
1705         section partitioning.
1706         (HAS_LONG_COND_BRANCH): New constant macro, indicating whether or not
1707         conditional branches can span all of memory.
1708         (HAS_LONG_UNCOND_BRANCH): New constant macro, indicationg whether or not
1709         unconditional branches can span all of memory.
1710         * final.c (scan_ahead_for_unlikely_executed_note):  New function.
1711         (final_scan_insn):  Add code to check for NOTE instruction indicating
1712         whether basic block belongs in hot or cold section, and to make sure
1713         the current basic block is being written to the appropriate section.
1714         Also added code to ensure that jump table basic blocks end up in the
1715         correct section.
1716         * flags.h (flag_reorder_blocks_and_partition):  New flag.
1717         * ifcvt.c (find_if_case_1):  Modify to not attempt if conversion if
1718         one of the branches has a jump that crosses between sections.
1719         (find_if_case_2): Likewise.
1720         (ifcvt): Modify to not attempt to mark loop exit edges after
1721         hot/cold partitioning has occurred.
1722         * opts.c (decode_options): Code to handle new flag,
1723         flag_reorder_blocks_and_partition; also to turn it off if
1724         flag_exceptions is on.
1725         (common_handle_option): Code to handle new flag,
1726         flag_reorder_blocks_and_partition.
1727         * output.h (unlikely_text_section): New extern function declaration.
1728         (in_unlikely_text_section): New extern function declaration.
1729         * passes.c (rest_of_handle_stack_regs):  Add
1730         flag_reorder_blocks_and_partition as an 'or' condition for calling
1731         reorder_basic_blocks.
1732         (rest_of_handle_reorder_blocks):  Add flag_reorder_blocks_and_partition
1733         as an 'or' condition for calling reorder_basic_blocks.
1734         (rest_of_compilation):  Add call to partition_hot_cold_basic_blocks.
1735         * print-rtl.c (print_rtx): Add code for handling new note,
1736         NOTE_INSN_UNLIKELY_EXECUTED_CODE
1737         * rtl.c  (NOTE_INSN_UNLIKELY_EXECUTED_CODE): New note insn (see below).
1738         (REG_CROSSING_JUMP): New kind of reg_note, to mark jumps that
1739         cross between section boundaries.
1740         * rtl.h (NOTE_INSN_UNLIKELY_EXECUTED_CODE):  New note instruction,
1741         indicating the basic block containing it belongs in the cold section.
1742         (REG_CROSSING_JUMP): New type of reg_note, to mark jumps that cross
1743         between hot and cold sections.
1744         * toplev.c (flag_reorder_blocks_and_partition):  Add code to
1745         initialize this flag, and to tie it to the command-line option
1746         freorder-blocks-and-partition.
1747         * varasm.c (cfglayout.h):  Add new include statement.
1748         (unlikely_section_label_printed):  New global variable, used for
1749         determining when to output section name labels for cold sections.
1750         (in_section):  Add in_unlikely_executed_text to enum data structure.
1751         (text_section):  Modify code to use SECTION_FORMAT_STRING and
1752         NORMAL_TEXT_SECTION_NAME macros.
1753         (unlikely_text_section):  New function.
1754         (in_unlikely_text_section):  New function.
1755         (function_section):  Add code to make sure beginning of function is
1756         written into correct section (hot or cold).
1757         (assemble_start_function):  Add code to make sure stuff is written to
1758         the correct section.
1759         (assemble_zeros):  Add in_unlikely_text_section as an 'or' condition
1760         to an if statement that was checking 'in_text_section'.
1761         (assemble_variable):  Add 'in_unlikely_text_section' as an 'or'
1762         condition to an if statement that was checking 'in_text_section'.
1763         (default_section_type_flags_1):  Add check: if in cold section
1764         flags = SECTION_CODE.
1765         * config/darwin.c (darwin_asm_named_section):  Modify to use
1766         SECTION_FORMAT_STRING if we are partitioning hot/cold blocks.
1767         * config/i386/i386.h (HAS_LONG_COND_BRANCH): Defined this macro
1768         specifically for the i386.
1769         (HAS_LONG_UNCOND_BRANCH):  Defined this macro specifically for the i386.
1770         * config/rs6000/darwin.h (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Change
1771         text string to something more informative.
1772         (NORMAL_TEXT_SECTION_NAME): Add new definition.
1773         (SECTION_FORMAT_STRING):  Add new definition.
1774         * config/rs6000/rs6000.c (rs6000_assemble_integer):  Add
1775         '!in_unlikely_text_section' as an 'and' condition to an if statement
1776         that was already checking '!in_text_section'.
1777         * config/rs6000/sysv4.h (HOT_TEXT_SECTION_NAME,NORMAL_TEXT_SECTION_NAME,
1778         UNLIKELY_EXECUTED_TEXT_SECTION_NAME,SECTION_FORMAT_STRING): Make
1779         sure these are properly defined for linux on ppc.
1780         * doc/invoke.texi  (freorder-blocks-and-partition): Add documentation
1781         for this new flag.
1782         * doc/rtl.texi (REG_CROSSING_JUMP):  Add documentation for new
1783         reg_note.
1784         * doc/tm.texi (NORMAL_TEXT_SECTION_NAME, SECTION_FORMAT_STRING,
1785         HAS_LONG_COND_BRANCH, HAS_LONG_UNCOND_BRANCH): Add documentation for
1786         these new macros.
1788 2004-04-08  Roger Sayle  <roger@eyesopen.com>
1790         * function.c (gen_mem_addressof): When changing the RTX from a REG
1791         to a MEM, clear MEM_VOLATILE_P which was formerly REG_USERVAR_P.
1793 2004-04-08  Roger Sayle  <roger@eyesopen.com>
1795         PR target/14888
1796         * config/i386/i386.md (truncdfsf2_noop, truncxfsf2_noop,
1797         truncxfdf2_noop): Provide dummy "fmov" implementations.
1799 2004-04-08  Ian Lance Taylor  <ian@wasabisystems.com>
1801         * gcc.c (default_compilers): Add missing initializers.
1803         * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address):
1804         Return 1 if file was successfully mapped.
1806 2004-04-08  Geoffrey Keating  <geoffk@apple.com>
1808         PR pch/13419
1809         PR pch/14137
1810         Radar #: 3315288
1811         * doc/invoke.texi (Precompiled Headers): Suggest -o
1812         to put an output file in a particular place.  Be more detailed
1813         about which options affect PCH validity and which options
1814         might not work.
1815         * c-pch.c (pch_matching): New.
1816         (MATCH_SIZE): New.
1817         (struct c_pch_validity): New field 'match'.
1818         (pch_init): Handle pch_matching.
1819         (c_common_valid_pch): Check pch_matching.
1821         * explow.c: Fix typo defining default of PROMOTE_FUNCTION_MODE.
1823 2004-04-08  Mark Mitchell  <mark@codesourcery.com>
1825         * doc/invoke.texi (Precompiled Headers): Warn about known
1826         problems.
1828 2004-04-08  Danny Smith  <dannysmith@users.sourceforge.net>
1830         PR c++/14808
1831         * defaults.h (TARGET_USE_LOCAL_THUNK_ALIAS_P): New macro. Default
1832         to 1 if ASM_OUTPUT_DEF is defined.
1833         * doc/tm.texi (TARGET_USE_LOCAL_THUNK_ALIAS_P): Document.
1834         * config/i386/cygming.h (TARGET_USE_LOCAL_THUNK_ALIAS_P): Define.
1835         Set to non-zero iff not a one_only decl.
1837 2004-04-08  Paul Brook  <paul@codesourcery.com>
1839         * arm.h (CLASS_LIKELY_SPILLED_P): Define.
1841 2004-04-08  Paul Brook  <paul@codesourcery.com>
1843         * explow.c (promote_mode): Use PROMOTE_FUNCTION_MODE instead of
1844         PROMOTE_FOR_CALL_ONLY.
1845         * config/arm/arm-protos.h (arm_function_value): Declare.
1846         * config/arm/arm.h (TARGET_PROMOTE_FUNCTION_ARGS): Define.
1847         (TARGET_PROMOTE_PROTOTYPES): Return false.
1848         (arm_function_value): New function.
1849         * config/arm/arm.h (PROMOTE_FUNCTION_MODE): Define.
1850         (FUNCTION_VALUE): Call arm_function_value.
1851         * config/cris/cris.h (PROMOTE_MODE): Rename ...
1852         (PROMOTE_FUNCTION_MODE): ... to this.
1853         (PROMOTE_FOR_CALL_ONLY): Remove.
1854         * config/mmix/mmix.h: Likewise.
1855         * config/s390/s390.h: Likewise.
1856         * config/sparc/sparc.h: Likewise.
1857         * config/sparc/sparc.c: Update comments about PROMOTE_MODE.
1858         * doc/tm.texi (PROMOTE_FUNCTION_MODE): Document.
1859         (TARGET_PROMOTE_FUNCTION_MODE, TARGET_PROMOTE_FUNCTION_RETURN): Update.
1860         (PROMOTE_FOR_CALL_ONLY): Remove.
1862 2004-04-08  Joel Sherrill <joel@oarcorp.com>
1864         PR ada/14538
1865         * ada/5rosinte.adb: Remove fake mprotect() body.
1866         * ada/5rosinte.ads: Add SA_SIGINFO.
1867         * ada/5rtpopsp.adb: Rewrite to use new interface.
1868         * ada/init.c: Reorder so the simple single OS conditional __rtems__
1869         is tested before more complex ones which mix UNIX and embedded
1870         systems in the conditional.
1872 2004-04-08  Joel Sherrill  <joel@oarcorp.com>
1874         PR ada/14665
1875         * ada/osint.adb (Find_Program_Name): Rework to properly handle
1876         filenames which end in .exe or have versioning suffixes like VMS.
1878 2004-04-08  Andrew Pinski  <pinskia@physics.uc.edu>
1880         PR target/10129
1881         * config/darwin.c (darwin_encode_section_info): When the decl has
1882         a DECL_INITIAL, it is only defined also when it is not a common.
1884 2004-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1886         * builtins.c (fold_builtin_isascii, fold_builtin_toascii): New.
1887         (fold_builtin): Handle BUILT_IN_ISASCII and BUILT_IN_TOASCII.
1889 2004-04-07  H.J. Lu  <hongjiu.lu@intel.com>
1891         * config/ia64/ia64.c (ia64_encode_section_info): Don't prod
1892         global register variables.
1894 2004-04-07  Joseph S. Myers  <jsm@polyomino.org.uk>
1896         * fixinc/inclhack.def (rpc_xdr_lvalue_cast_a,
1897         rpc_xdr_lvalue_cast_b): New fixes.
1898         * fixinc/fixincl.x: Regenerate.
1899         * fixinc/tests/base/rpc/xdr.h: Add new tests.
1901 2004-04-07  David Edelsohn  <edelsohn@gnu.org>
1903         * config/rs6000/rs6000.c (processor_target_table): Add MASK_MFCRF
1904         to power4 and power5 entries.
1906 2004-04-06  Geoffrey Keating  <geoffk@apple.com>
1908         * c-common.h (pending_lang_change): Mark for PCH.
1910 2004-04-07  Caroline Tice  <ctice@apple.com>
1912         * gcc.c (main): Move 'break' in main loops (on an error)
1913         to wait until error processing has occurred.
1915 2004-04-06  Nathanael Nerode  <neroden@gcc.gnu.org>
1917         * config.gcc: Stop changing enable_threads midstream.
1918         Replace uses of enable_threads_flag with enable_threads.
1919         * configure.ac: Replace uses of enable_threads_flag with
1920         enable_threads.  Improve autoconf quotation in one place.
1921         * configure: Regenerate.
1923 2004-04-06  Uros Bizjak  <uros@kss-loka.si>
1925         * builtins.c: Implement support for sincos function.
1926         (expand_builtin_mathfn): Remove BUILT_IN_SIN{,F,L} and
1927         BUILT_IN_COS{,F,L}.
1928         (expand_builtin_mathfn_3): New function.
1929         (expand_builtin): Expand BUILT_IN_SIN{,F,L} and
1930         BUILT_IN_COS{,F,L} using expand_builtin_mathfn_3 if
1931         flag_unsafe_math_optimization is set.
1933         * optabs.h (enum optab_index): Add new OTI_sincos.
1934         (sincos_optab): Define corresponding macro.
1936         * optabs.c (init_optabs): Initialize sincos_optab.
1937         (expand_twoval_unop): New function.
1939         * genopinit.c (optabs): Implement sincos_optab using sincos?f3
1940         patterns.
1942         * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_SINCOS_COS
1943         and UNSPEC_SINCOS_SIN.
1945         * config/i386/i386.md (sincosdf3, sincossf3, *sincosextendsfdf3,
1946         sincosxf3): New patterns to implement sincos, sincosf and sincosl
1947         built-ins as inline x87 intrinsics. Define splits for
1948         sindf2, sinsf2, *sinextendsfdf2, sinxf2, cosdf2,
1949         cossf2, *cosextendsfdf2 and cosxf2 patterns from corresponding
1950         sincos patterns.
1951         (sindf2, sinsf2, sinxf2): Rename to *sindf2, *sinsf2, *sinxf2.
1952         (cosdf2, cossf2, cosxf2): Rename to *cosdf2, *cossf2, *cosxf2.
1954         (UNSPEC_SINCOS_SIN, UNSPEC_SINCOS_COS): New unspecs to represent
1955         x87's fsincos insn.
1957 2004-04-06  Devang Patel  <dpatel@apple.com>
1959         PR 14467
1960         * config/darwin.h (LINK_COMMAND_SPEC): Use c++filt instead of c++filt3.
1962 2004-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1964         * doc/install.texi: Update HP-UX 11 installation procedure.
1966 2004-04-06  Paul Brook  <paul@codesourcery.com>
1968         * doc/sourcebuild.texi: Remove obsolete contraint on testcases.
1970 2004-04-05  Kaz Kojima  <kkojima@gcc.gnu.org>
1972         * config/sh/sh.c (prepare_move_operands): Use emit_call_insn
1973         when the TLS address is generated by a function call.
1974         * config/sh/sh.md (tls_global_dynamic): Use a call expression.
1975         (tls_local_dynamic): Likewise.
1977 2004-04-05  Andrew Pinski  <pinskia@physics.uc.edu>
1979         * tree.c (reconstruct_complex_type): Use TYPE_READONLY
1980         and TYPE_VOLATILE.
1982 2004-04-05  Caroline Tice  <ctice@apple.com>
1984         * gcc.c (combine_flag): New global variable, for new driver option.
1985         (struct compiler): Add two new fields, to be used when
1986         combining multiple input files in a single pass (IMA).
1987         (default_compilers):  Add values for the new fields to all
1988         compiler entries. Modify the "@c" compiler entry for doing IMA
1989         properly with "-save-temps" and the "combine" flag.
1990         (option_map):  Add new driver option, "--combine", to tell driver
1991         to pass multiple input files to compiler at one time.
1992         (have_o_argbuf_index): New global variable.
1993         (store_arg): Modify to assign value to have_o_argbuf_index.
1994         (struct infile):  Add three new fields, to help with IMA.
1995         (display_help): Add help for new "combine" option.
1996         (process_command): Remove local variable have_o; add code to check
1997         for new "combine" option; remove assignment to combine_inputs.
1998         (do_spec_1):  Modify to deal with IMA better.
1999         (main): Make variable 'lang_n_infiles' local to entire function
2000         rather than to a single block.  Use flag combine_flag to
2001         determine whether to do IMA or not; Modify loop initializing
2002         infiles to deal properly with linker files.
2003         Add code for doing preprocessing in presence of
2004         IMA with "-save-temps" flag.  Modify "main" loop to handle
2005         multiple input files, in multiple languages, with or without
2006         preprocessing,  gracefully.
2007         * toplev.c (set_src_pwd): Modify to not complain if attempting to
2008         re-set it to same directory it's previously been set to (avoid
2009         irritating, meaningless warning messages when doing IMA with
2010         save-temps).
2011         * doc/invoke.texi: Add "-combine" to list of Overall Options;
2012         remove documentation about IMA that is no longer accurate; Add
2013         documentation explaining what "-combine" does.
2014         * ada/lang-specs.h: Add initialization values for new fields in
2015         "struct compiler".
2016         * cp/lang-specs.h: Likewise.
2017         * f/lang-specs.h: Likewise.
2018         * java/lang-specs.h: Likewise.
2019         * objc/lang-specs.h: Likewise.
2020         * treelang/lang-specs.h: Likewise.
2022 2004-04-05  David Edelsohn
2024         * config/rs6000/rs6000.c (VTABLE_NAME_P): Add _ZTI to special
2025         symbol handling.
2027 2004-04-05  Jakub Jelinek  <jakub@redhat.com>
2028             John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2030         PR optimization/13424 (hppa), bootstrap/14462, c/14828
2031         * pa.md: Use replace_equiv_address to retain the attributes of the
2032         memory operands used in the split and peephole2 patterns for optimizing
2033         the pre-reload movstrsi, movstrdi, clrstrsi and clrstrdi patterns.
2035 2004-04-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2037         * c-decl.c (build_compound_literal): Use TYPE_READONLY.
2038         * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
2039         * objc/objc-act.c (adorn_decl, gen_declspecs): Likewise.
2040         * c-typeck.c (decl_constant_value): Don't access DECL_INITIAL of a
2041         PARM_DECL.
2042         * calls.c (flags_from_decl_or_type): Use TYPE_READONLY and do so only
2043         for a type.
2044         * print-tree.c (print_node): Properly handle side-effects, readonly,
2045         and constant flags.
2046         * tree.c (build1_stat, build_expr_wfl): Only look at TREE_SIDE_EFFECTS
2047         and TREE_CONSTANT if not a type.
2048         * tree.h (IS_NON_TYPE_CODE_CLASS): New macro.
2049         (IS_EXPR_CODE_CLASS): Write 'E', not 'e'.
2050         (NON_TYPE_CHECK): New macro.
2051         (TREE_SIDE_EFFECT, TREE_READONLY, TREE_CONSTANT: Add check.
2053 2004-04-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
2055         * config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Set
2056         to DWARF2_DEBUG unconditionally.
2057         (ASM_DEBUG_SPEC): Set the default to --gdwarf2 unconditionally.
2059 2004-04-04  Ian Lance Taylor  <ian@wasabisystems.com>
2060             Nathanael Nerode  <neroden@gcc.gnu.org>
2062         PR target/14548
2063         * config.host: Set the shell variable host_can_use_collect2.
2064         Set it to yes by default, and to no for alpha*-dec-*vms*,
2065         i[34567]86-*-mingw32*, and powerpc-*-beos*.
2066         * configure.ac: Set and substitute the shell variable collect2.
2067         Give an error if use_collect2 is yes and host_can_use_collect2 is
2068         no.
2069         * Makefile.in (COLLECT2): Rename from USE_COLLECT2.  Change all
2070         uses.  Initialize to @collect2@.
2071         (STAGESTUFF): Remove $(USE_COLLECT2).
2072         * config/alpha/x-vms (USE_COLLECT2): Don't set.
2073         * config/i386/t-mingw32 (USE_COLLECT2): Likewise.
2074         * config/rs6000/t-beos (USE_COLLECT2): Likewise.
2075         * config/pa/t-pa64: Remove commented out USE_COLLECT2.
2076         * configure: Regenerate.
2078 2004-04-04  Roger Sayle  <roger@eyesopen.com>
2080         * simplify-rtx.c (simplify_binary_operation): Constant fold
2081         DIV, MOD, UDIV and UMOD using div_and_round_double.
2083 2004-04-04  Mark Mitchell  <mark@codesourcery.com>
2085         PR c++/14804
2086         * varasm.c (initializer_constant_valid_p): Allow NOP_EXPRs to
2087         RECORD_TYPEs.
2089 2004-04-04  Mark Mitchell  <mark@codesourcery.com>
2091         * doc/invoke.texi (-mabi=o64): Create link to O64 ABI
2092         documentation.
2094 2004-04-04  Roger Sayle  <roger@eyesopen.com>
2096         * cse.c (cse_insn): Correct usage of simplify_replace_rtx when
2097         updating the REG_EQUAL note on an insn's libcall_insn.
2099 2004-04-04  Roger Sayle  <roger@eyesopen.com>
2101         * df.h: Tidy up whitespace in the definitions of the DF_ flags.
2103 2004-04-03  Roger Sayle  <roger@eyesopen.com>
2105         * fold-const.c (fold) <PLUS_EXPR>: Guard (-A)+B -> B-A transformation
2106         with reorder_operands_p.
2108 2004-04-03  Jan Hubicka  <jh@suse.cz>
2110         * md.texi (vec_set, vec_extract, vec_init): Document.
2112 2004-04-02  Gabor Loki <loki@inf.u-szeged.hu>
2114        * opts.c (decode_options): Do function inlining with very small
2115        max-inline-insns-* parameters when optimizing for size.
2117 2004-04-02  Vladimir Makarov  <vmakarov@redhat.com>
2119         * config/i386/i386.h (TARGET_NOCONA): New macro.
2120         (TARGET_CPU_CPP_BUILTINS): Add code for Nocona.
2121         (processor_type): Add PROCESSOR_NOCONA.
2123         * config/i386/i386.md (cpu): Add nocona to the attribute values.
2125         * config/i386/i386.c (nocona_cost): New variable.
2126         (m_NOCONA): New macro.
2127         (x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
2128         x86_branch_hints, x86_use_sahf, x86_single_stringop,
2129         x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8,
2130         x86_integer_DFmode_moves, x86_partial_reg_dependency,
2131         x86_memory_mismatch_stall, x86_accumulate_outgoing_args,
2132         x86_decompose_lea, x86_arch_always_fancy_math_387,
2133         x86_sse_partial_reg_dependency, x86_sse_load0_by_pxor,
2134         x86_ext_80387_constants, x86_four_jump_limit):
2135         (override_options): Add nocona_cost to processor_target_table.
2136         Set up PROCESSOR_NOCONA for Nocona entry in processor_alias_table.
2137         (incdec_operand): Prevent inc/dec generation for Nocona too.
2138         (ix86_issue_rate): Add PROCESSOR_NOCONA.
2140 2004-04-01  Andrew Pinski  <pinskia@physics.uc.edu>
2142         * rtlanal.c (find_reg_note): Manually
2143         unswitch the loop.
2145 2004-04-01  Mark Mitchell  <mark@codesourcery.com>
2147         * genemit.c (gen_split): Change prototype of generated code.
2148         * genrecog.c (write_action): Adjust prototype for and calls to
2149         gen_split_*.
2150         * gensupport.c (struct queue_elem): Add split field.
2151         (queue_pattern): Return a value.  Clear the split field.
2152         (process_rtx): Maintain an association between an insn and the
2153         split generated from it for a define_insn_and_split.
2154         (process_one_cond_exec): Generate a new split for a
2155         define_insn_and_split.
2156         * config/arm/arm-protos.h (arm_split_constant): Add insn
2157         parameter.
2158         (emit_constant_insn): New function.
2159         (arm_gen_constant): Use it.
2160         * config/arm/arm.md: Adjust calls to arm_split_constant.
2162 2004-04-02  Jan Hubicka  <jh@suse.cz>
2164         * cgraph.c: Add overall comment.
2165         (cgraph_inline_hash): New global variable.
2166         (cgraph_create_node): Break out from ...
2167         (cgraph_node): ... here.
2168         (cgraph_edge): New function.
2169         (cgraph_create_edge): New CALL_EXPR argument; some sanity checking.
2170         (cgraph_remove_edge): Accept edge, intead of source and destination.
2171         (cgraph_redirect_edge_callee): New.
2172         (cgraph_remove_node): Update all new datastructures.
2173         (cgraph_record_call, cgraph_remove_call): Kill.
2174         (dump_cgraph_node): Break out from ... ; dump new datastructures.
2175         (dump_cgraph): ... here.
2176         (cgraph_function_possibly_inlined_p): Use new hashtable.
2177         (cgraph_clone_edge, cgraph_clone_node): New.
2178         * cgraph.h: Include hashtab.h
2179         (struct cgraph_global_info): Kill cloned_times, inline_once, will_be_output
2180         fields, add inlined_to pointer.
2181         (cgraph_node): Add pointer to next_clone.
2182         (cgraph_remove_edge, cgraph_create_edge): Update prototype.
2183         (cgraph_remove_call, cgraph_record_call): Kill.
2184         (cgraph_inline_hash): Declare.
2185         (dump_cgraph_node, cgraph_edge, cg4raph_clone_edge, cgraph_clone_node,
2186         cgraph_redirect_edge_callee): Declare.
2187         (cgraph_create_edges, cgraph_inline_p): Update prorotype.
2188         (cgraph_preserve_function_body_p, verify_cgraph, verify_cgraph_node,
2189         cgraph_mark_inline_edge, cgraph_clone_inlined_nodes): Declare.
2190         * cgraphunit.c: Add overall comment.
2191         (cgraph_optimize_function): Kill.
2192         (cgraph_assemble_pending_functions): Do not assemble inline clones.
2193         (cgraph_finalize_function): Update call of cgraph_remove_node
2194         (record_call_1): Record call sites.
2195         (cgraph_create_edges): Accept node instead of decl argument.
2196         (error_found): New static variable.
2197         (verify_cgraph_node_1, verify_cgraph_node, verify_cgraph): New functions.
2198         (cgraph_analyze_function): Update for new datastructures.
2199         (cgraph_finalize_compilation_unit): Plug memory leak.
2200         (cgraph_optimize_function): Kill.
2201         (cgraph_expand_function): Do not use cgraph_optimize_function.
2202         (INLINED_TIMES, SET_INLINED_TIMES, cgraph_inlined_into,
2203         cgraph_inlined_callees): Kill.
2204         (cgraph_remove_unreachable_nodes): Verify cgraph; update handling of
2205         clones.
2206         (estimate_growth): Simplify.
2207         (cgraph_clone_inlined_nodes): New function.
2208         (cgraph_mark_inline_edge): Re-implement.
2209         (cgraph_mark_inline): Likewise.
2210         (cgraph_check_inline_limits): Simplify.
2211         (cgraph_recursive_inlining_p): New.
2212         (update_callee_keys): Break out from ...
2213         (cgraph_decide_inlining_of_small_functions): ... here; simplify.
2214         (cgraph_decide_inlining, cgraph_decide_inlining_incrementally):
2215         Likewise.
2216         (cgraph_expand_all_functions):  Remove inline clones from the ordered
2217         list.
2218         (cgraph_preserve_function_body_p): New predicate.
2219         (cgraph_optimize): Verify cgraph.
2220         * function.h (struct function): Add fields saved_tree/saved_args.
2221         * timevar.def (TV_CGRAPH_VERIFY): Use verifier.
2222         * toplev.c (rest_of_compilation): Do not free cfun.
2223         * tree-inline.c: Include function.h
2224         (struct inline_data): Add saving_p field; replace decl/current_decl by
2225         node/current_node.
2226         (insert_decl_map): New function.
2227         (copy_body_r): Handle saving; update cgraph datastructure.
2228         (copy_body): Handle recursive inlining.
2229         (initialize_inlined_parameters): Likewise.
2230         (expand_call_inline): Propagate node attributes; update cgraph.
2231         (optimize_inline_calls): Verify that datastructure still match.
2232         (save_body): New function.
2233         * tree-inline.h (save_body): New.
2234         * tree-optimize.c (tree_rest_of_compilation): preserve function body; do inlining.
2235         * langhooks-def.c (LANG_HOOKS_UPDATE_DECL_AFTER_SAVING): New.
2236         * langhooks.c (lang_hooks): Add update_decl_after_saving.
2238 2004-04-01  Serge Belyshev  <1319@bot.ru>
2240         PR target/14702
2241         * config/i386/i386.md: fix source operand constraints in
2242         mmx_pshufw, sse2_pshufd, sse2_pshuflw, sse2_pshufhw
2244 2004-04-01  Waldek Hebisch  <hebisch@math.uni.wroc.pl>
2246         * fold-const.c (folda): Preserve types of comparisons.
2248 2004-04-01  Richard Henderson  <rth@redhat.com>
2250         * toplev.c (backend_init): Move init_optimization_passes call ...
2251         (lang_dependent_init): ... here.
2253 2004-04-01  Alan Modra  <amodra@bigpond.net.au>
2254             Jakub Jelinek  <jakub@redhat.com>
2256         * gcc.c (init_gcc_specs): If HAVE_LD_AS_NEEDED, link with
2257         -lgcc --as-needed -lgcc_s --no-as-needed by default.
2258         * configure.ac (HAVE_LD_AS_NEEDED): Check for ld --as-needed.
2259         * configure: Rebuilt.
2260         * config.in: Rebuilt.
2261         * Makefile.in (stage1-start): Copy also libgcc_s*$(SHLIB_EXT).
2262         (stage2-start, stage3-start, stage4-start): Likewise.
2263         (stageprofile-start, stagefeedback-start): Likewise.
2265 2004-04-01  Jakub Jelinek  <jakub@redhat.com>
2267         * config/sparc/sparc.h (DITF_CONVERSION_LIBFUNCS): Define to 0.
2268         * config/sparc/linux.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1.
2269         * config/sparc/linux64.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1.
2270         * config/sparc/sol2.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1.
2271         (SOLARIS_CONVERSION_LIBFUNCS): Rename to SUN_CONVERSION_LIBFUNCS.
2272         * config/sparc/sparc.c (sparc_init_libfuncs): Initialize optabs
2273         with _Q_qtoll, _Q_qtoull and _Q_lltoq if DITF_CONVERSION_LIBFUNCS.
2274         * config.gcc (sparc-*-linux*): Revert 2004-03-23 change.
2275         * config/sparc/t-linux64 (TARGET_LIBGCC2_CFLAGS): Likewise.
2276         * config/sparc/t-linux: Removed.
2278 2004-04-01  Jakub Jelinek  <jakub@redhat.com>
2280         PR c++/14755
2281         * fold-const.c (fold) <EQ_EXPR>: Properly compute newconst in
2282         "bitfld++ == const" to "++bitfld == const + incr" transformations.
2284 2004-04-01  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2286         * expr.c (get_inner_reference): Use DECL_UNSIGNED, not TREE_UNSIGNED.
2287         * stor-layout.c (layout_decl): Likewise.
2288         * tree.c (get_narrower): Likewise and also use BIT_FIELD_REF_UNSIGNED.
2289         * fold-const.c (make_bit_field_ref): Use BIT_FIELD_REF_UNSIGNED.
2290         * print-tree.c (print_node): Handle various used of unsigned_flag.
2291         * tree.def (BIT_FIELD_REF): Update comment.
2292         * tree.h (TREE_UNSIGNED): Deleted.
2293         (DECL_UNSIGNED, BIT_FIELD_REF_UNSIGNED): New macros.
2295 2004-03-31  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2297         * builtins.c, c-aux-info.c, c-common.c, c-cppbuiltin.c, c-decl.c:
2298         Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED.
2299         * c-format.c, c-opts.c, c-pretty-print.c, c-typeck.c: Likewise.
2300         * calls.c, convert.c, dbxout.c, dojump.c, dwarf2out.c: Likewise.
2301         * expmed.c, expr.c, fold-const.c, function.c, integrate.c: Likewise.
2302         * optabs.c, sdbout.c, stmt.c, stor-layout.c, tree-dump.c: Likewise.
2303         * tree.c, config/iq2000/iq2000.c, config/m32r/m32r.c: Likewise.
2304         * config/mips/mips.c, config/rs6000/rs6000.c: Likewise.
2305         * config/s390/s390.c, config/sparc/sparc.c, objc/objc-act.c: Likewise.
2306         * stor-layout.c (layout_type, case COMPLEX_TYPE): Test for
2307         REAL_TYPE, not INTEGER_TYPE.
2308         (layout_type, case VECTOR_TYPE): Simplify code.
2309         * tree.c (build_vector_type_for_mode): Remove dup unsigned setting.
2310         * tree.h: Update comments.
2311         (STRIP_NOPS): Use TYPE_UNSIGNED.
2312         (TYPE_UNSIGNED): New macro.
2313         (TYPE_TRAP_SIGNED): Remove now redundant check.
2314         (SAVE_EXPR_NOPLACEHOLDER): Don't use TREE_UNSIGNED.
2316 2004-03-31  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2318         * function.c (put_var_into_stack): Properly set orig_reg for indirect.
2320 2004-03-31  Andrew Pinski  <pinskia@physics.uc.edu>
2322         * config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA):
2323         Add darwin-fpsave.asm, darwin-vecsave.asm,
2324         and darwin-world.asm.
2325         (TARGET_LIBGCC2_CFLAGS): Add -Wa,-force_cpusubtype_ALL
2326         as the asm files contain altivec instructions.
2327         * config/rs6000/darwin-fpsave.asm: New file.
2328         * config/rs6000/darwin-vecsave.asm: New file.
2329         * config/rs6000/darwin-world.asm: New file.
2331 2004-03-31  Zack Weinberg  <zack@codesourcery.com>
2333         * gengtype-yacc.y (option, stringseq): Add missing
2334         terminating semicolon.
2336 2004-03-30  David Edelsohn  <edelsohn@gnu.org>
2338         * config/rs6000/rs6000.md (tls_gd_32, tls_gd_64,
2339         tls_ld_32, tls_ld_64, tls_dtprel_32, tls_dtprel_64,
2340         tls_dtprel_ha_32, tls_dtprel_ha_64,
2341         tls_dtprel_lo_32, tls_dtprel_lo_64,
2342         tls_got_dtprel_64, tls_tprel_32, tls_tprel_64,
2343         tls_tprel_ha_32, tls_tprel_ha_64,
2344         tls_tprel_lo_32, tls_tprel_lo_64,
2345         tls_got_tprel_32, tls_got_tprel_64,
2346         tls_tls_32, tls_tls_64): Replace register_operand with
2347         gpc_reg_operand.
2349 2004-03-30  Mostafa Hagog  <mustafa@il.ibm.com>
2351         * config/rs6000/rs6000.md (*ctrsi_internal1, *ctrsi_internal2,
2352         *ctrdi_internal1, *ctrdi_internal2, *ctrsi_internal3,
2353         *ctrsi_internal4, *ctrdi_internal3, *ctrdi_internal4,
2354         *ctrsi_internal5, *ctrsi_internal6, *ctrdi_internal5,
2355         *ctrdi_internal6): Replace register_operand with
2356         nonimmediate_operand.
2358 2004-03-29  Fariborz Jahanian <fjahanian@apple.com>
2360         * fold-const.c (fold): Reassociate multiply expression
2361         with an adjacent non-multiply expression to use
2362         architecture's multiply-add instruction.
2364 2004-03-30  Zack Weinberg  <zack@codesourcery.com>
2366         * gengtype.c (create_option): New function.
2367         * gengtype.h: Prototype it.
2368         * gengtype-yacc.y (stringseq): New rule.
2369         (option): Use create_option.  Add new bare ID production.  Use
2370         stringseq, not STRING directly.
2372         * alias.c, bitmap.c, c-decl.c, cgraph.h, cpplib.h, cselib.h
2373         * dwarf2out.c, emit-rtl.c, function.h, lists.c, tree.h
2374         * varray.h, config/alpha/alpha.c:
2375         Use new shorter form of GTY markers.
2377         * doc/gty.texi: Rewrite.
2379 2004-03-30  Andrew Pinski  <pinskia@physics.uc.edu>
2381         * config/darwin.c (machopic_function_base_name):
2382         Remove current_name and getting the name of the
2383         current function.
2385 2004-03-30  Nick Clifton  <nickc@redhat.com>
2387         * config/arm/arm.md (thumb_jump): Reduce the backward branch
2388         range, and increase the forward branch range, to allow for
2389         the fact that the PC will be off by 4.
2391 2004-03-30  Alan Modra  <amodra@bigpond.net.au>
2393         * .cvsignore: Add GPATH, GRTAGS, GSYMS and GTAGS (GNU GLOBAL)
2395 2004-03-30  Hartmut Penner  <hpenner@de.ibm.com>
2397         * config/rs6000/rs6000.c (output_vec_const_move):
2398         Find all cases of EASY_VECTOR_15_ADD_SELF.
2399         (easy_vector_constant_add_self): Accept
2400         all vector constant loadable by vsplt* and vadd*.
2401         (easy_vector_same): Use easy_vector_splat_const.
2402         (easy_vector_const): Use easy_vector_splat_const.
2403         (easy_vector_splat_const): New function.
2404         (gen_easy_vector_constant_add_self): New function.
2406         * config/rs6000/rs6000-protos.c (gen_easy_vector_constant_add_self):
2407         New prototype.
2409         * config/rs6000/altivec.md (movv4si splitter): Change to
2410         emit move insn with halfed vector constant.
2411         (*movv8hi splitter): Likewise.
2412         (*movv16qi splitter): Likewise.
2414 2004-03-30  Hartmut Penner  <hpenner@de.ibm.com>
2416         PR 11591
2417         * config/rs6000/rs6000.c (rs6000_legitimate_address):
2418         Allow any offset to argument pointer in no-strict case.
2420 2004-03-30  Jan Hubicka  <jh@suse.cz>
2422         * toplev.c (backend_init): Add missing call to inint_optimization_passes.
2423         * passes.c (init_optimization_passes, finish_optimization_passes): Output cgraph
2424         dump file in non-unit-at-a-time mode.
2426 2004-03-29  Hans-Peter Nilsson  <hp@axis.com>
2428         * config/cris/cris.h: Correct #ifdef to test for
2429         HAVE_AS_NO_MUL_BUG_ABORT_OPTION, not
2430         HAVE_AS_MUL_BUG_ABORT_OPTION.
2432 2004-03-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2434         * function.c (put_var_into_stack): If old RTL was ADDRESSOF, update
2435         the address inside the old RTL.
2437 2004-03-28  Zack Weinberg  <zack@codesourcery.com>
2439         * c-decl.c: Verify that C_SIZEOF_STRUCT_LANG_IDENTIFIER is correct.
2440         (struct c_binding, struct c_scope): Add chain_next
2441         attributes to GTY markers.
2442         (struct lang_identifier, struct lang_tree_node): Define
2443         here...
2444         * c-tree.h: ... not here.  No longer need to declare struct
2445         c_binding either.  Do define C_SIZEOF_STRUCT_LANG_IDENTIFIER.
2446         * c-lang.c, objc/objc-lang.c: Set LANG_HOOKS_IDENTIFIER_SIZE
2447         to C_SIZEOF_STRUCT_LANG_IDENTIFIER.
2449         PR 14734, 11944
2450         * c-decl.c (get_parm_info): If error_mark_node is encountered
2451         in the bindings chain, unbind and discard it; don't abort.
2453 2004-03-28  Olga Golovonevsky <olga@il.ibm.com>
2454             Dorit Naishlos <dorit@il.ibm.com>
2456         * config/rs6000/altivec.md: (andvv16qi3, andv8hi3, one_cmplv16qi2,
2457         one_cmplv8hi2, one_cmplv4si2, iorv16qi3, iorv8hi3,): New modelling.
2459 2004-03-28  Stephane Carrez  <stcarrez@nerim.fr>
2461         * config/m68hc11/m68hc11-protos.h (m68hc11_page0_symbol_p): Declare.
2463         * config/m68hc11/m68hc11.c (m68hc11_handle_page0_attribute): New.
2464         (m68hc11_attribute_table): New attribute "page0" to mark a global
2465         variable as being allocated from within page0 section.
2466         (m68hc11_encode_label): New function.
2467         (m68hc11_strip_name_encoding): New function.
2468         (m68hc11_page0_symbol_p): New function.
2469         (m68hc11_indirect_p): Accept global variables marked in page0.
2470         (m68hc11_encode_section_info): Lookup "page0" attribute.
2472         * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): 'R' constraint also
2473         represents access to page0 variables.
2475         * config/m68hc11/m68hc11.md ("*logicalsi3_zexthi"): Use gen_rtx_REG.
2476         ("*logicalsi3_silshl16_zext"): Likewise.
2477         ("*ashldi3_const32"): Likewise.
2478         (peephole2 ashift): Likewise.
2480 2004-03-28  Joseph S. Myers  <jsm@polyomino.org.uk>
2482         * c-tree.h (C_DECL_REGISTER): New.
2483         * c-aux-info.c (gen_decl), c-decl.c (objc_mark_locals_volatile,
2484         finish_decl, grokdeclarator, get_parm_info), c-typeck.c
2485         (build_array_ref, c_mark_addressable): Set and use it.
2486         * c-decl.c (grokdeclarator), c-typeck.c (c_mark_addressable):
2487         Allow structures with volatile fields to be declared register.
2488         Don't check TREE_ADDRESSABLE before warning about taking address
2489         of register.
2490         * c-decl.c (finish_decl): Don't allow structures with volatile
2491         fields to be placed in named register.
2492         * doc/trouble.texi: Remove reference to structures with volatile
2493         fields in registers.
2495 2004-03-27  Ulrich Weigand  <uweigand@de.ibm.com>
2497         * function.c (thread_prologue_and_epilogue): Move
2498         NOTE_INSN_FUNCTION_END and NOTE_INSN_FUNCTION_BEG notes
2499         before the epilogue.
2501 2004-03-27  Ulrich Weigand  <uweigand@de.ibm.com>
2503         * expr.c (store_constructor): Use gen_int_mode to correctly
2504         sign-extend CONST_INT value.
2506 2004-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2508         * builtin-types.def (BT_WINT, BT_FN_INT_WINT, BT_FN_WINT_WINT): New.
2509         * builtins.def (DEF_C94_BUILTIN): New.  Add wctype builtins.
2510         * doc/extend.texi: Likewise.
2512 2004-03-26  Diego Novillo  <dnovillo@redhat.com>
2514         * c-typeck.c (comptypes): Replace calls to TYPE_DOMAIN
2515           with TYPE_ORIG_SIZE_TYPE.
2517 2004-03-25  Aldy Hernandez  <aldyh@redhat.com>
2519         PR 14219
2520         * c-typeck.c (build_binary_op): Do not allow comparisons of
2521         vectors.
2523 2004-03-26  James A. Morrison  <ja2morri@uwaterloo.ca>
2525         * config.gcc: Remove sparc-tti-*.
2526         * config/sparc/pbd.h: Delete.
2528         * config/sparc/sol2.h: Remove note about Sun OS 4.x.
2529         * config/sparc/aout.h: Likewise.
2531         * config/sparc/sparc.h: Remove if 0'd code.
2532         * config/sparc/sparc.md (call): Remove if 0'd code.
2533         (call_value): Likewise.
2534         (nonlocal_goto): Likewise.
2535         (unimp_insn): Delete.
2537 2004-03-25  Roger Sayle  <roger@eyesopen.com>
2539         * fold-const.c (tree_expr_nonnegative_p): Handle BIT_XOR_EXPR like
2540         BIT_IOR_EXPR; A^B is nonnegative when A and B are nonnegative.
2542 2004-03-25  Richard Henderson  <rth@redhat.com>
2544         PR 11527
2545         * c-typeck.c (pop_init_level): Emit pending init elements earlier
2546         rather than later.
2548 2004-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2550         * builtins.c (fold_builtin): Fix error in last change.
2552 2004-03-25  Richard Sandiford  <rsandifo@redhat.com>
2554         * config/mips/mips.h: Formatting fix.
2556 2004-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2558         * builtins.def: Add ctype builtins.
2559         * doc/extend.texi: Likewise.
2561 2004-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2563         * builtins.c (fold_builtin): Add new builtin optimizations for
2564         sqrt and/or cbrt.
2565         * fold-const.c (fold): Likewise.
2567 2004-03-25  David Edelsohn  <edelsohn@gnu.org>
2569         * config/rs6000/rs6000.c (rs6000_always_hint): New variable.
2570         (rs6000_sched_groups): New variable.
2571         (processor_target_table): Add power5.
2572         (rs6000_override_options): Set rs6000_sched_insert_nops,
2573         rs6000_sched_costly_dep and rs6000_sched_restricted_insns_priority
2574         from rs6000_sched_groups.
2575         (output_cbranch): Use rs6000_always_hint.
2576         (rs6000_variable_issue): Use rs6000_sched_groups.
2577         (rs6000_adjust_cost): Add CPU_POWER5.
2578         (is_microcoded_insn): Use rs6000_sched_groups.
2579         (is_dispatch_slot_restricted): Use rs6000_sched_groups.
2580         Return 2 for POWER5 cracked instructions.
2581         (is_cracked_insn): Use rs6000_sched_groups.
2582         (is_branch_slot_insn): Use rs6000_sched_groups.
2583         (rs6000_issue_rate): Add CPU_POWER5.
2584         (rs6000_sched_finish): Use rs6000_sched_groups.
2585         (rs6000_rtx_costs): Add PROCESSOR_POWER5.
2586         * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_POWER5.
2587         (DEFAULT_SCHED_COSTLY_DEP): Delete.
2588         (DEFAULT_RESTRICTED_INSNS_PRIORITY): Delete.
2589         (DEFAULT_SCHED_FINISH_NOP_INSERTION_SCHEME): Delete.
2590         * config/rs6000/rs6000.md (define_attr "cpu"): Add power5.
2591         * config/rs6000/power5.md: New file.
2592         * doc/invoke.texi: Add power5 option.
2594 2004-03-25  Kazu Hirata  <kazu@cs.umass.edu>
2596         * cfgrtl.c, dbxout.c, tree.def, config/darwin.h,
2597         config/arm/arm.c, objc/objc-act.c: Fix comment typos.
2598         * doc/invoke.texi: Fix a typo.
2600 2004-03-25  Kazu Hirata  <kazu@cs.umass.edu>
2602         PR optimization/9707.
2603         * stmt.c (emit_case_nodes): Emit equality comparisons instead
2604         of recursing if both children are single-valued cases with no
2605         children.
2607 2004-03-25  Paul Brook  <paul@codesourcery.com>
2609         * config/arm/arm.c (vfp_print_multi): Remove.
2610         (arm_output_fldmx): New function.
2611         (vfp_emit_fstmx): Return block size, not insn. Add ARM10 VFPr1 bugfix.
2612         (arm_expand_prologue): Update to match.
2613         (arm_get_vfp_saved_size): New Function.
2614         (arm_get_frame_offsets): Use it.
2615         (arm_output_epilogue): Use new functions.
2617 2004-03-24  Richard Henderson  <rth@redhat.com>
2619         * alias.c (alias_invariant, alias_invariant_size): Mark GTY.
2620         (reg_known_value, reg_known_value_size): Likewise; make static.
2621         (reg_known_equiv_p): Make static.
2622         (clear_reg_alias_info): Update for new indexing.
2623         (get_reg_known_value, set_reg_known_value): New.
2624         (get_reg_known_equiv_p, set_reg_known_equiv_p): New.
2625         (canon_rtx): Use them.
2626         (init_alias_analysis): Likewise.  Allocate reg_known_value with gc.
2627         Don't play queer offsetting games with reg_known_value and
2628         reg_known_equiv_p.
2629         (end_alias_analysis): Free reg_known_value with gc.
2630         * rtl.h (get_reg_known_value, get_reg_known_equiv_p): Declare.
2631         * sched-deps.c (reg_known_equiv_p, reg_known_value): Remove.
2632         (deps_may_trap_p, sched_analyze_1, sched_analyze_2): Use the new
2633         functions instead.
2635 2004-03-24  Kazu Hirata  <kazu@cs.umass.edu>
2637         * dwarf2asm.c, loop.h, pretty-print.c, pretty-print.h,
2638         config/i386/mmintrin.h: Update copyright.
2640 2004-03-24  Nathanael Nerode  <neroden@gcc.gnu.org>
2642         * configure.ac: Add --enable-werror-always (for top level bootstrap
2643         support).
2644         * configure: Regenerate.
2646 2004-03-24  Ziemowit Laski  <zlaski@apple.com>
2648         * objc/objc-act.c (objc_comptypes): Treat comparisons
2649         between 'Class' and '<class> *' as explicitly invalid.
2651 2004-03-24  David Edelsohn  <edelsohn@gnu.org>
2653         * doc/invoke.texi (-frename-registers: Add enabled at -O3.
2654         (-fprofile-values): Add enabled with profile-{generate,use}.
2655         (-fvpt): Same.
2656         (-ftracer): Add enabled with profile-use.
2657         (-funit-at-a-time): Add enabled at -O2,-O3.
2658         (-funroll-loops): Add enabled with profile-use.
2659         (-funswitch-loops): Add enabled with profile-use.  Remove duplicates.
2660         (max-gcse-passes): Mention default.
2661         (max-cse-path-length): Mention default.
2663 2004-03-24  Nathanael Nerode  <neroden@gcc.gnu.org>
2665         * Makefile.in (STRICT2_WARN): Reorder.
2666         * configure.ac: Check for -Wold-style-definition, and use it
2667         in strict1_warn if it's available.
2668         * configure: Regnerate.
2670 2004-03-24  Paul Brook  <paul@nowt.org>
2672         * config.gcc <arm>: Add --with-abi=
2673         * config/arm/arm-protos.h (arm_get_frame_size, thumb_get_frame_size,
2674         thumb_far_jump_used): Remove prototypes.
2675         (arm_needs_doubleword_align): Add prototype.
2676         (thumb_compute_initial_elimination_offset): Ditto.
2677         * config/arm/arm.c (arm_get_frame_offsets): New function.
2678         (use_return_insn, output_return_instruction, arm_output_epilogue,
2679         arm_output_function_epilogue, arm_compute_initial_elimination_offset,
2680         arm_expand_prologue, thumb_expand_epilogue): Use it.
2681         (arm_abi, target_abi_name, all_arm_abis): New variables.
2682         (arm_override_options): Set them.  Set structure padding for AAPCS.
2683         (arm_return_in_memory): Update ABI check.
2684         (arm_init_cumulative_args): Initialize can_split.
2685         (arm_needs_doubleword_align): New function.
2686         (arm_function_arg): Don't split args after pushing to stack. Handle
2687         doubleword/even reg alignment.
2688         (arm_va_arg): Handle all doubleword aligned args.
2689         (add_minpoolforward ref, dump_minpool, push_minpool_fix): Align based
2690         on ABI, not CPU.
2691         (arm_compute_save_reg0_reg12_mask): Fix comment.
2692         (thumb_get_frame_size, thumb_get_frame_size): Remove.
2693         (thumb_jump_far_used_p): Remove superfluous argument.  Return save
2694         value for alignment.
2695         (thumb_unexpanded_epilogue, thumb_output_function_prologue): Change
2696         to match.
2697         (thumb_compute_initial_elimination_offset): New function.
2698         (thumb_expand_prologue): Use arm_get_frame_offsets.  Remove
2699         unneccessary rounding.
2700         * config/arm/arm.h (target_abi_name): Declare.
2701         (ARM_DOUBLEWORD_ALIGN, DOUBLEWORD_ALIGNMENT, TARGET_IWMMXT_ABI,
2702         arm_abi_type, ARM_DEFAULT_ABI): Define.
2703         (ARM_FLAG_ATPCS): Remove.
2704         (TARGET_OPTIONS, OPTION_DEFAULT_SPECS): Add -mabi=.
2705         (BIGGEST_ALIGNMENT, PREFERRED_STACK_BOUNDARY, STACK_BOUNDARY): Use it.
2706         (ADJUST_FIELD_ALIGN, DATA_ALIGNMENT, LOCAL_ALIGNMENT,
2707         TYPE_NEEDS_IWMMXT_ALIGNMENT): Remove.
2708         (LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P):
2709         Contitionalize on ABI, not CPU.
2710         (struct arm_stack_offsets): Define.
2711         (struct machine_function): Add stack_offsets.  Remove frame_size.
2712         (FUNCTION_ARG_PARTIAL_NREGS): Don't split if previous args have been
2713         pushed.
2714         (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_BOUNDARY): Handle general
2715         doubleword alignment.
2716         (THUMB_INITIAL_ELIMINATION_OFFSET,
2717         ARM_INITIAL_ELIMINATION_OFFSET): Remove.
2718         (INITIAL_ELIMINATION_OFFSET): Call functions directly.
2719         * config/arm/arm.md (align_8): Enable for all targets.
2720         * config/arm/netbsd-elf.h (TARGET_DEFAULT): Remove TARGET_ATPCS.
2721         (ARM_DEFAULT_ABI): Define.
2722         * doc/invoke.texi <ARM>: Document -mabi=. Update documentation for
2723         -mstructure-size-boundary.
2725 2004-03-24  Nathanael Nerode  <neroden@gcc.gnu.org>
2727         * configure.ac: Check for -Wno-variadic-macros; don't use
2728         -pedantic (in stage 1 or a simple 'make all') unless it's available,
2729         and if it's available, use it.  Also, clean up check for
2730         -Wno-long-long.
2731         * configure: Regenerate.
2733 2004-03-24  Richard Sandiford  <rsandifo@redhat.com>
2735         * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Remove tm_defines.
2736         * config/mips/vr.h (DEFAULT_VR_ARCH): New macro, defined to vr4130.
2737         (MULTILIB_DEFAULTS): Use it.
2738         (MIPS_CPU_STRING_DEFAULT): Remove.
2739         (MIPS_ABI_DEFAULT, MIPS_MARCH_CONTROLS_SOFT_FLOAT): Define.
2740         (DRIVER_SELF_SPECS): Make -mfix-vr4122-bugs imply -march=vr4120.  Make
2741         EABI64 -mlong32 the default ABI.  Enforce the default architecture.
2742         * config/mips/t-vr (MULTILIB_OPTIONS): Add mfix-vr4122-bugs,
2743         march=vr4130, march=vr4300, march=vr5000 and march=vr5500.
2744         (MULTILIB_MATCHES): Use -mfix-vr4122-bugs multilibs for -march=vr4120.
2745         (MULTILIB_EXCEPTIONS): Change choice of multilibs.  Update comments
2746         accordingly.
2748 2004-03-24  DJ Delorie  <dj@redhat.com>
2749             Richard Sandiford  <rsandifo@redhat.com>
2751         * config/mips/mips.h (MASK_FIX_VR4122, TARGET_FIX_VR4122): New macros.
2752         (TARGET_SWITCHES): Add -mfix-vr4122-bugs and -mno-fix-vr4122-bugs.
2753         (ASM_SPEC): Pass down -mfix-vr4122-bugs.
2754         * config/mips/mips.c (mips_avoid_hazards): Don't emit whole functions
2755         in .set noreorder and .set nomacro if TARGET_FIX_VR4122.
2756         (mips_init_libfuncs): Use special functions for divsi3 and modsi3
2757         if TARGET_FIX_VR4122.
2758         * config/mips/mips.md (define_attr length): Account for nops inserted
2759         after macc and dmult when using -mfix-vr4122-bugs.
2760         (umuldi3_highpart, divmodsi4, divmoddi4): Disable if TARGET_FIX_VR4122.
2761         * config/mips/t-vr (LIB2FUNCS_STATIC_EXTRA): Define instead of
2762         LIB2FUNCS_EXTRA.  Add config/mips/vr4122-div.S.
2763         * config/mips/vr4122-div.S: New file.
2764         * doc/invoke.texi: Document -mfix-vr4122-bugs.
2766 2004-03-24  Richard Sandiford  <rsandifo@redhat.com>
2768         * config/mips/mips.h (PROCESSOR_R4130): New processor_type.
2769         (TARGET_MIPS4130): New macro.
2770         (ISA_HAS_MACC): Return true if TARGET_MIPS4130 && !TARGET_MIPS16.
2771         * config/mips/mips.c (mips_cpu_info_table): Add a vr4130 entry.
2772         (override_options): Extend MIPS_MARCH_CONTROLS_SOFT_FLOAT to deal
2773         with PROCESSOR_R4130.
2774         * config/mips/mips.md (define_attr cpu): Add r4130.
2775         * doc/invoke.texi: Document vr4130 as a supported MIPS architecture.
2777 2004-03-24  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
2778             Richard Sandiford  <rsandifo@redhat.com>
2780         * doc/invoke.texi: Apply missed hunk from 2004-03-03 change.
2782 2004-03-24  Alexandre Oliva  <aoliva@redhat.com>
2784         PR preprocessor/14438
2785         * cpplib.c (do_pragma): Remove line_change call after pragma
2786         handler.
2788 2004-03-23  Ian Lance Taylor  <ian@wasabisystems.com>
2790         * doc/extend.texi (ARM Built-in Functions): Replace with correct
2791         declarations.
2793 2004-03-23  Roger Sayle  <roger@eyesopen.com>
2795         * reg-stack.c (get_true_reg): Handle FLOAT_TRUNCATE like FLOAT_EXTEND
2796         if flag_unsafe_math_optimizations.
2797         * config/i386/i386.md (truncdfsf2): If flag_unsafe_math_optimizations
2798         and TARGET_80387 expand using truncdfsf2_noop pattern.
2799         (truncxfsf2): Likewise using truncxfsf2_noop.
2800         (truncxfdf2): Likewise using truncxfdf2_noop.
2801         (truncdfsf2_noop, truncxfsf2_noop, truncxfdf2_noop): New patterns.
2803 2004-03-23  Ziemowit Laski  <zlaski@apple.com>
2805         * hooks.c (hook_constcharptr_tree_null): New hook.
2806         * hooks.h (hook_constcharptr_tree_null): New prototype.
2807         * target-def.h (TARGET_MANGLE_FUNDAMENTAL_TYPE): New target hook.
2808         * target.h (mangle_fundamental_type): New target hook.
2809         * config/rs6000/rs6000.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Point
2810         target hook at rs6000_mangle_fundamental_type.
2811         (rs6000_mangle_fundamental_type): New function.
2812         * doc/tm.texi (TARGET_MANGLE_FUNDAMENTAL_TYPE): Document.
2814 2004-03-23  Zack Weinberg  <zack@codesourcery.com>
2816         PR 12267, 12391, 12560, 13129, 14114, 14133
2817         * c-tree.h: Forward declare struct c_binding.  Declare
2818         c_override_bindings_to_false.  Update prototypes.
2819         (struct lang_identifier): Update comments.  Change fields to be
2820         struct c_binding *.
2821         (IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE)
2822         (IDENTIFIER_LABEL_VALUE, C_DECL_INVISIBLE)
2823         (KEEP_NO, KEEP_YES, KEEP_MAYBE): Delete.
2824         (C_DECL_IN_EXTERNAL_SCOPE, C_DECL_DECLARED_BUILTIN): New.
2825         * c-common.h: Update prototypes.
2826         * c-decl.c (struct c_scope): Update commentary.  Remove names,
2827         names_last, parms, parms_last, tags, and shadowed fields.  Add
2828         bindings and depth fields.
2829         (scope_freelist): Move to more appropriate location.
2830         (c_print_identifier): Update for changes to struct lang_identifier.
2831         (objc_mark_locals_volatile): Update for new bindings structures.
2832         (global_bindings_p): Honor c_override_global_bindings_to_false.
2833         (pushlevel): Rename to push_scope; take no arguments; use the
2834         scope_freelist; initialize scope->depth and check for overflow.
2835         (poplevel): Rename to pop_scope; totally rewritten for new bindings
2836         structures.
2837         (diagnose_mismatched_decls): Use C_DECL_DECLARED_BUILTIN, not
2838         C_DECL_INVISIBLE, for certain decisions.  Adjust some diagnostics.
2839         Improve some commentary.  Adjust handling of forward parm decls.
2840         (merge_decls): Set C_DECL_DECLARED_BUILTIN when appropriate.
2841         Preserve C_DECL_IN_EXTERNAL_SCOPE.
2842         (warn_if_shadowing): Correct indentation.  Improve diagnostics.
2843         (pushdecl): Remove unnecessary assertion.  Short-circuit anonymous
2844         decls.  Rewrite for new bindings structures.  Improve commentary.
2845         Eliminate the copy_node call.
2846         (implicit_decl_warning): Use the "diag" idiom (as seen in
2847         locate_old_decl) to reduce code duplication; call locate_old_decl
2848         if appropriate.  Relocate to remove need for forward declaration.
2849         (implicitly_declare): Adjust for new bindings structures.  Kludge
2850         around Objective-C not-really-builtin functions.
2851         (undeclared_variable): Improve diagnostics.  If current_function_decl
2852         is nonnull but current_function_scope is null, use current_scope.
2853         Use bind.
2854         (lookup_tag): Adjust for new bindings structures.  Kludge around
2855         Objective-C's tag declarations that wind up in the external scope.
2856         (lookup_name): Adjust for new bindings structures.  Kludge around
2857         c-common.c's pseudo-typedefs that wind up in the external scope.
2858         (lookup_name_current_level): Rename lookup_name_in_scope; take a
2859         second argument indicating the scope to examine; rewrite for
2860         new bindings structures.
2861         (c_init_decl_processing): Adjust for renamed functions.  Do not
2862         initialize current_file_decl, first_builtin_decl, last_builtin_decl.
2863         First scope pushed is the external scope, not the global scope.
2864         (builtin_function): Use bind, not pushdecl.  Adjust other bits
2865         for new data structures.  Keep track of builtins that should be
2866         made visible automatically.
2867         (start_decl): Adjust diagnostics.  Remove unnecessary call to
2868         expand_decl.
2869         (grokparms): Return 0 if arg_types is error_mark_node.
2870         (get_parm_info): Rename "void_at_end" argument to "ellipsis", with
2871         reversed sense.  Rewrite for new bindings structures.  Do not
2872         leave any decls in the scope, to prevent pop_scope from doing
2873         contradictory things with them.
2874         (finish_struct, finish_enum): Remove redundant diagnostics.
2875         (build_enumerator): Don't cascade diagnostics for error_mark_node.
2876         Mark location where -pedantic changes the meaning of the program.
2877         (store_parm_decls_newstyle, store_parm_decls_oldstyle): Load the
2878         parameter decls into the function's scope structure using bind.
2879         Warn here about function definitions in the wrong style.
2880         Adjust diagnostics.
2881         (store_parm_decls): Correct the determination of whether a
2882         function was defined with a prototype.
2883         (c_write_global_declarations): Operate on all file decls and on
2884         the external scope.  Split body of the loop to...
2885         (c_write_global_declarations_1): ... this new function, to avoid
2886         code duplication.
2887         (truly_local_externals, first_builtin_decl, last_builtin_decl)
2888         (make_scope, pop_scope, in_parm_level_p, set_block)
2889         (any_external_decl, record_external_decl, bind_label, getdecls)
2890         (link_hash_hash, link_hash_eq, merge_translation_unit_decls)
2891         (c_reset_state): Delete.
2892         (visible_builtins, c_override_global_bindings_to_false)
2893         (c_binding, I_SYMBOL_BINDING, I_SYMBOL_DECL, I_TAG_BINDING)
2894         (I_TAG_DECL, I_LABEL_BINDING, I_LABEL_DECL, file_scope)
2895         (external_scope, binding_freelist, bind, free_binding_and_advance)
2896         (push_file_scope, pop_file_scope): New.
2897         (pushtag, pushdecl_top_level, lookup_label, declare_label)
2898         (define_label, c_make_fname_decl, finish_decl)
2899         (mark_forward_parm_decls, build_compound_literal)
2900         (grokdeclarator, start_function, check_for_loop_decls)
2901         (identifier_global_value, record_builtin_type): Minor adjustments
2902         for new bindings structures.  Improve diagnostics and commentary.
2903         * c-objc-common.c (start_cdtor, finish_cdtor): Adjust calls to
2904         pushlevel/poplevel respectively.
2905         (c_objc_common_finish_file): Don't call merge_translation_unit_decls.
2906         * c-opts.c (c_common_parse_file): Remove spurious ATTRIBUTE_UNUSED.
2907         Warn about YYDEBUG not being defined only if -dy.  Remove no-longer-
2908         correct loop over multiple translation units; call fatal_error if
2909         requested to compile more than one file at once.  (This disables
2910         IMA temporarily - an up-front error being preferable to a crash.)
2911         * c-parse.in (pushlevel, poplevel rules): Rename push_scope, pop_scope.
2912         (all actions): Adjust calls to pushlevel/poplevel.
2913         (parsing_iso_function_signature): Delete.
2914         (extdef_1): Fold into extdef.
2915         (old_style_parm_decls_1): Fold into old_style_parm_decls.  Don't
2916         warn here about function definitions in the wrong style.
2917         (after_tyle_declarator, parm_declarator_starttypename)
2918         (parm_declarator_nostarttypename, notype_declarator): Remove
2919         commented-out productions.
2920         (parmlist_1, parmlist_2): Use make_node, not tree_cons, to create
2921         an empty TREE_LIST node.  Adjust calls to get_parm_info.
2922         (parmlist_2 : ELLIPSIS): Tag the arg-info block with error_mark_node
2923         to suppress -Wold-style-definition after this error.
2924         (c_parse_file): Don't clear the binding stack or call
2925         finish_fname_decls here.  Correct comment.
2926         * c-typeck.c (same_translation_unit_p): Export.
2927         (common_type): Use c_override_global_bindings_to_false, not
2928         pushlevel/poplevel/declare_parm_level.
2929         * c-lang.c: Override LANG_HOOKS_CLEAR_BINDING_STACK,
2930         LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK,
2931         and LANG_HOOKS_GETDECLS with do-nothing stubs.
2932         * objc/objc-lang.c: Likewise.
2933         * objc/objc-act.c: Adjust all calls to pushlevel, poplevel,
2934         get_parm_info.
2935         (OBJC_VOID_AT_END): Delete; replace all uses
2936         with void_list_node.
2937         (generate_forward_declaration_to_string_table): Delete.
2938         * objc/objc-act.h (OCTI_STRG_DECL, UOBJC_STRINGS_decl): Delete.
2940         * coverage.c (create_coverage): Don't pushdecl anything.
2941         * langhooks.c (lhd_clear_binding_stack): Call
2942         lang_hooks.decls.poplevel, not poplevel.
2943         * tree.c (list_length): If ENABLE_TREE_CHECKING, abort on a
2944         circular list rather than going into an infinite loop.
2946 2004-03-23  Olivier Hainque  <hainque@act-europe.fr>
2948         * optabs.c (expand_binop): When synthesizing double word rotates
2949         from single word shifts, use a new register target if the provided
2950         target is not a REG already.
2952 2004-03-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2954         * alias.c (get_alias_set): Add support for TYPE_REF_CAN_ALIAS_ALL.
2955         * c-common.c (handle_mode_attribute): Add extra arg to
2956         build_pointer_type_for_mode and build_reference_type_for_mode.
2957         * c-typeck.c (build_c_cast): Only look at TREE_CONSTANT_OVERFLOW
2958         for INTEGER_CST.
2959         * tree.c (build_pointer_type_for_mode): Add arg CAN_ALIAS_ALL.
2960         Chain pointers via TYPE_NEXT_PTR_TO.
2961         (build_reference_type_for_mode): Similarly.
2962         (build_type_no_quals): Add extra arg to build_pointer_type_for_mode
2963         and build_reference_type_for_mode.
2964         (tree_check4_failed): New function.
2965         * tree.h (TREE_CHECK4, PTR_OR_REF_CHECK): New macros.
2966         (TYPE_REF_CAN_ALIAS_ALL, TYPE_NEXT_PTR_TO, TYPE_NEXT_REF_TO): Likewise.
2967         (TREE_NO_UNSUED_WARNING, TREE_VIA_VIRTUAL, TREE_CONSTANT_OVERFLOW):
2968         Add check.
2970 2004-03-23  Roger Sayle  <roger@eyesopen.com>
2972         * fold-const.c (tree_expr_nonnegative_p): A&B is nonnegative when
2973         A is nonnegative or B is nonnegative.  Similarly A|B is nonnegative
2974         when both A and B are nonnegative.
2975         (tree_expr_nonzero_p): A|B is nonzero when A is nonzero or B is
2976         nonzero.
2978 2004-03-23  Kazu Hirata  <kazu@cs.umass.edu>
2980         * fold-const.c (fold): Remove cases for INTEGER_CST, REAL_CST,
2981         VECTOR_CST, STRING_CST, COMPLEX_CST, and CONSTRUCTOR.
2983 2004-03-23  Kazu Hirata  <kazu@cs.umass.edu>
2985         PR optimization/14669
2986         * fold-const.c (fold): Only unwiden integer comparisons for equality
2987         and inequality operators, or when the signedness doesn't change.
2989 2004-03-23  Jakub Jelinek  <jakub@redhat.com>
2991         * config.gcc (sparc-*-linux*): Add sparc/t-linux to tmake_file.
2992         * config/sparc/t-linux64 (TARGET_LIBGCC2_CFLAGS): Set.
2993         * config/sparc/t-linux: New file.
2995 2004-03-23  Richard Sandiford  <rsandifo@redhat.com>
2997         * gcse.c (can_assign_to_reg_p): New function, split out from...
2998         (want_to_gcse_p): ...here.
2999         (compute_ld_motion_mems): Use can_assign_to_reg_p to validate
3000         the rhs of a store.
3002 2004-03-22  Diego Novillo  <dnovillo@redhat.com>
3004         * c-typeck.c (same_translation_unit_p): Fix pasto.
3006 2004-03-22  David Edelsohn  <edelsohn@gnu.org>
3008         * params.def (PARAM_MAX_SCHED_REGION_BLOCKS): New.
3009         (PARAM_MAX_SCHED_REGION_INSNS): New.
3010         * sched-rgn.c: Include params.h
3011         (MAX_RGN_BLOCKS): Delete.
3012         (MAX_RGN_INSNS): Delete.
3013         (too_large): Return bool.  Convert to PARAM_VALUE.
3014         * Makefile.in (sched-rgn.o): Depend on $(PARAMS_H).
3015         * doc/invoke.texi (param): Document max-sched-region-blocks and
3016         max-sched-region-insns.
3018 2004-03-22  Joel Brobecker  <brobecker@gnat.com>
3020         * dwarf2out.c (is_subrange_type): Do not emit a subrange_type DIE
3021         for base types.
3023 2004-03-22  Joel Brobecker  <brobecker@gnat.com>
3025         * dwarf2out.c (is_subrange_type): Minor code rework. No behavior
3026         change.
3028 2004-03-22  Jakub Jelinek  <jakub@redhat.com>
3030         PR c/14069
3031         * c-decl.c (finish_struct): Change type of incorrect flexible array
3032         field into error_mark_node.
3034 2004-03-22  Andrew Pinski  <pinskia@physics.uc.edu>
3036         PR target/14580
3037         * config/rs6000/rs6000.c (symbol_ref_operand): Reject symbols
3038         who are not local for Darwin PIC.
3040 2004-03-22  Ulrich Weigand  <uweigand@de.ibm.com>
3042         * regrename.c (regrename_optimize): Set regs_ever_live for all
3043         registers introduced as replacement.
3045 2004-03-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
3047         PR middle-end/14470
3048         * expr.c (mark_queue): New function.
3049         (emit_insns_enqueued_after_mark): New function replacing
3050         emit_queue.  Clear the body of emitted queued insns.
3051         (emit_queue): Call emit_insns_enqueued_after_mark.
3052         (store_expr): Mark the increment queue on entry.  Emit
3053         only the incrementations queued when expanding the source.
3055 2004-03-22  Nathanael Nerode  <neroden@gcc.gnu.org>
3057         * configure.ac: Allow --disable-coverage-flags (for the future benefit
3058         of top level bootstrap, and consistency).  Reindent.
3059         * configure: Regenerate.
3061 2004-03-21  Kazu Hirata  <kazu@cs.umass.edu>
3063         * bt-load.c, builtins.c, cfghooks.c, cfgrtl.c, gcse.c,
3064         ggc-page.c, integrate.c, var-tracking.c, web.c: Remove
3065         unnecessary casts.
3067 2004-03-22  Danny Smith  <dannysmith@users.sourceforge.net>
3069         PR target/14291
3070         * gcov-io.h (gcov_truncate): Define ftruncate as _chsize for
3071         __MINGW32__.
3073 2004-03-21  Ulrich Weigand  <uweigand@de.ibm.com>
3075         * config/s390/s390.md ("*doloop_si"): Change predicate for operand 2
3076         to nonimmediate_operand.
3077         ("*doloop_di"): Likewise.
3079 2004-03-21  Alexandre Oliva  <aoliva@redhat.com>
3081         * real.h (struct real_value): Use the same type for all
3082         bitfields.  Rename exp to uexp.
3083         (REAL_EXP, SET_REAL_EXP): New accessor macros for uexp.
3084         Adjust all uses of exp...
3085         * builtins.c: ... here, ...
3086         * emit-rtl.c: ... here, and ...
3087         * real.c: ... and here.
3089 2004-03-21  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3091         * pretty-print.c (pp_base_maybe_space): New function.
3092         * pretty-print.h (pp_base_maybe_space): Declare.
3093         (pp_maybe_space): New macro.
3095 2004-03-21  Ulrich Weigand  <uweigand@de.ibm.com>
3097         * config/s390/s390.md ("addti3", "subti3"): New insns and splitters.
3099 2004-03-21  Ulrich Weigand  <uweigand@de.ibm.com>
3101         * expmed.c (choose_mult_variant): Pass MULT_COST as argument instead
3102         of using register multiplication cost.
3103         (expand_mult): Adapt choose_mult_variant call.
3104         (expand_mult_highpart): Call choose_mult_variant with WIDER_MODE
3105         of MODE; pass appropriate cost bound.  Adjust result when
3106         performing signed multiplication by a negative constant.
3107         Don't use intermediate modes larger than word_mode.
3109 2004-03-21  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3111         * alias.c (get_alias_set): Remove handling of PLACEHOLDER_EXPR.
3112         * emit-rtl.c (component_ref_for_mem_expr): Likewise.
3113         (set_mem_attributes_minus_bitpos): Call SUBSTITUTE_PLACEHOLDER_IN_EXPR.
3114         * explow.c (expr_size): Likewise.
3115         * expr.h (placeholder_list, find_placeholder): Deleted.
3116         * expr.c (store_constructor): Likewise.
3117         (get_inner_reference): Likewise.  Also don't call find_placeholder.
3118         (placeholder_list, find_placeholder): Deleted.
3119         (is_aligning_offset): Don't handle WITH_RECORD_EXPR, PLACEHOLDER_EXPR.
3120         (expand_expr_real, cases PLACEHOLDER_EXPR, WITH_RECORD_EXPR): Likewise.
3121         (highest_pow2_factor, case WITH_RECORD_EXPR): Remove.
3122         * dojump.c (do_jump, case WITH_RECORD_EXPR): Likewise.
3123         * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR):
3124         Likewise.
3125         * fold-const.c (invert_truthvalue, case WITH_RECORD_EXPR): Likewise.
3126         (extract_muldiv, case WITH_RECORD_EXPR): Likewise.
3127         * tree.c (expr_align, case WITH_RECORD_EXPR): Likewise.
3128         (contains_placeholder_p): Don't handle WITH_RECORD_EXPR.
3129         Clean up by using first_rtl_op.
3130         (substitute_in_expr): Use SUBSTITUTE_IN_EXPR for recursive call.
3131         (substitute_placeholder_in_expr): New function.
3132         * tree.def (WITH_RECORD_EXPR): Deleted.
3133         * tree.h (SUBSTITUTE_IN_EXPR, SUBSTITUTE_PLACEHOLDER_IN_EXPR): New.
3134         (substitute_placeholder_in_expr): New.
3136 2004-03-21  Andrew Pinski  <pinskia@gcc.gnu.org>
3138         * dojump.c (prefer_and_bit_test): Fix which part of
3139         the and_test is replaced.
3141 2004-03-21  Joseph S. Myers  <jsm@polyomino.org.uk>
3143         * frontends.texi: Add missing line.
3145 2004-03-21  Zack Weinberg  <zack@codesourcery.com>
3146             Chris Devers  <cdevers@pobox.com>
3147             Joseph S. Myers  <jsm@polyomino.org.uk>
3149         * doc/frontends.texi: Rewrite.
3150         * doc/gcc.texi: Update last modification date.
3152 2004-03-21  Josef Zlomek  <zlomekj@suse.cz>
3154         * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug
3155         message before redirecting the edge.
3157 2004-03-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3159         * emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_POINTER
3160         flag.
3161         * explow.c (force_not_mem): Set REG_POINTER flag according to
3162         MEM_POINTER one.
3163         * rtl.h (MEM_POINTER): New macro.
3164         (struct rtx_def): Use integrated for MEM_SCALAR_P and frame_related
3165         for MEM_POINTER.
3167 2004-03-20  Roger Sayle  <roger@eyesopen.com>
3169         PR target/13889
3170         * cse.c (fold_rtx): Avoid substituting constants into unary
3171         conversion operations.
3173 2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
3175         * fold-const.c (fold): Replace "expr" with "t".
3177 2004-03-20  Ian Lance Taylor  <ian@wasabisystems.com>
3179         PR c/12373
3180         * c-typeck.c (tagged_types_tu_compatible_p): Don't use
3181         DECL_ORIGINAL_TYPE if there isn't one.
3183 2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
3185         * fold-const.c (fold): Replace "final_type" with "type".
3186         Remove variable "final_type".
3188 2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
3190         * fold-const.c (fold): Constify "type".
3191         Replace "TREE_TYPE (t)" with "type".
3193 2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
3195         * bb-reorder.c, bt-load.c, c-decl.c, cfgcleanup.c, coverage.c,
3196         dwarf2asm.c, ifcvt.c, stor-layout.c, varasm.c: Replace calls
3197         via (*targetm.foo) () with targetm.foo ().
3199 2004-03-20  Joseph S. Myers  <jsm@polyomino.org.uk>
3201         PR other/14630
3202         * doc/install.texi: Add info directory category and entry.
3204 2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
3206         * fold-const.c (fold): Replace "t" with "tem" where it is used
3207         as a temporary variable.  Remove "orig_t" and all of its uses.
3209 2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
3211         * fold-const.c (fold): Remove variable "invert".
3212         Move the handling of relational expressions that can be folded
3213         to a constant ...
3214         (fold_relational_const): ... here.
3215         (tree_expr_nonzero_p): New.
3217 2004-03-20  Joseph S. Myers  <jsm@polyomino.org.uk>
3219         PR c/14635
3220         * builtins.def (nan, nanf, nanl, nans, nansf, nansl): Change to
3221         DEF_GCC_BUILTIN.
3223 2004-03-20  Richard Sandiford  <rsandifo@redhat.com>
3225         * Makefile.in (dojump.o): Depend on $(GGC_H) and dojump.h.
3226         (GTFILES): Add $(srcdir)/dojump.h.
3227         (gt-dojump.h): New dependency.
3228         * dojump.c (and_reg, and_test, shift_test): New static variables.
3229         (prefer_and_bit_test): New function.
3230         (do_jump): Use it to choose between (X & (1 << C)) and (X >> C) & 1.
3232 2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
3234         * c-common.c, cfgcleanup.c, cgraphunit.c, c-pretty-print.c,
3235         expmed.c, ggc-common.c, jump.c, passes.c, recog.c, regmove.c,
3236         reorg.c, tree.h: Fix comment typos.
3238 2004-03-19  Kazu Hirata  <kazu@cs.umass.edu>
3240         * alias.c, attribs.c, bt-load.c, builtins.c, c-common.c,
3241         c-decl.c, c-objc-common.c, c-typeck.c, calls.c, cfglayout.c,
3242         cse.c, dbxout.c, dwarf2out.c, except.c, final.c,
3243         haifa-sched.c, integrate.c, passes.c, rtlanal.c, sched-rgn.c,
3244         sched-vis.c, simplify-rtx.c, stor-layout.c, tree.c, varasm.c,
3245         vmsdbgout.c: Replace calls via (*targetm.foo) () with
3246         targetm.foo ().
3248 2004-03-19  Ziemowit Laski  <zlaski@apple.com>
3250         * config/rs6000/altivec.h (vec_dst, vec_dstst, vec_dststt,
3251         vec_dstt, vec_sld, vec_splat): Add prototypes, marked with
3252         always_inline attribute.
3253         * config/rs6000/rs6000.c (altivec_expand_dst_builtin):
3254         Treat expansion as completed even if literal argument is
3255         invalid (so that other expansions are not tried in vain).
3257 2004-03-19  Kazu Hirata  <kazu@cs.umass.edu>
3259         * loop-doloop.c (add_test): Replace GEN_INT (0) with
3260         const0_rtx.
3262 2004-03-19  Kazu Hirata  <kazu@cs.umass.edu>
3264         * fold-const.c (fold) <ABS_EXPR>: Move the handling of constants
3265         ...
3266         (fold_abs_const): ... here.
3268 2004-03-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3270         * tree.h (TYPE_ARRAY_MAX_SIZE): Use type.maxval directly.
3272 2004-03-19  Denis Chertykov  <denisc@overta.ru>
3274         PR target/11520
3275         * config/avr/avr.md ("call_insn"): Handle explicit integer
3276         specially.
3277         (call_value_insn): Likewise.
3279 2004-03-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3281         * tree.c (substitute_in_expr): Rewrite to simplify and be more generic.
3283 2004-03-19  Kazu Hirata  <kazu@cs.umass.edu>
3285         * fold-const.c (negate_expr): Move the handling of constants
3286         ...
3287         (fold_negate_const): ... here.
3289 2004-03-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3291         * langhooks-def.h (LANG_HOOKS_HASH_TYPES): New macro and hook.
3292         * langhooks.h (struct lang_hooks_for_types): New field hash_types.
3293         * tree.c (debug_no_type_hash): Deleted.
3294         (type_hash_canon): Abort if passed a variant.
3295         Check lang_hooks.types.hash_types.
3296         (build_type_no_quals): Copy mode of POINTER_TYPE and REFERENCE_TYPE.
3297         (build_array_type): Remove unnecessary allocation of pointer type.
3298         (build_complex_type): Properly qualify resulting type.
3300 2004-03-19  Paolo Bonzini  <bonzini@gnu.org>
3302         * config/rs6000/rs6000.c (rs6000_init_builtins): Fix typo.
3304 2004-03-19  Richard Sandiford  <rsandifo@redhat.com>
3306         * expmed.c (choose_mult_variant, expand_mult_const): New, split from...
3307         (expand_mult): ...here.
3308         (extract_high_half): New, split out from expand_mult_highpart.
3309         (expand_highpart_optab): Likewise.  Don't clobber target prematurely.
3310         (expand_highpart): Evaluate the cost of a shift/add sequence,
3311         then see if any of the specialized optabs are cheaper.
3313 2004-03-18  Ian Lance Taylor  <ian@wasabisystems.com>
3315         * mklibgcc.in: Remove obsolete MAYBE_USE_COLLECT2.
3317 2004-03-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3319         * convert.c (convert_to_real): Add more math builtins.
3321 2004-03-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3323         * convert.c (convert_to_real): Reformat using switch stmt.
3325 2004-03-18  Mark Mitchell  <mark@codesourcery.com>
3327         * c-common.c (pointer_int_sum): Do not complain about using
3328         pointers to pointers-to-members.
3330 2004-03-18  Kazu Hirata  <kazu@cs.umass.edu>
3332         * system.h (MD_ASM_CLOBBERS): Move to "Old target macros that
3333         have moved to the target hooks structure".
3335 2004-03-18  James E Wilson  <wilson@specifixinc.com>
3337         * config/mips/mips.md (type): Split move into arith and fmove.  Split
3338         hilo into mthilo and mfhilo.  Add trap.  Delete icmp.  Fix all uses.
3339         * config/mips/5400.md (ir_vr54_hilo, ir_vr54_arith, ir_vr54_fabs):
3340         Likewise.
3341         * config/mips/5500.md (ir_vr55_hilo, ir_vr55_arith, ir_vr55_fabs):
3342         Likewise.
3343         * config/mips/7000.md (rm7_int_other, rm7_mthilo, rm7_mfhilo,
3344         rm7_fp_quick): Likewise.
3345         * config/mips/9000.md (rm9k_int, rm9k_mfhilo, rm9k_mthilo,
3346         rm9k_fquick): Likewise.
3347         * config/mips/sr71k.md (ir_sr70_hilo, ir_sr70_arith, ir_sr70_fabs):
3348         Likewise.
3349         (ir_sr70_icmp): Delete.
3351 2004-03-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3353         * tree.h (TREE_CHECK2, TREE_CHECK3, TREE_CHECK5): New macros.
3354         (tree_check2_failed, tree_check3_failed, tree_check5_failed): New decl.
3355         (FUNC_OR_METHOD_CHECK, SET_ARRAY_OR_VECTOR_CHECK): New macros.
3356         (REC_OR_UNION_CHECK, NUMERICAL_TYPE_CHECK): Likewise.
3357         (TYPE_VALUES, TYPE_DOMAIN, TYPE_FIELDS, TYPE_METHODS, TYPE_VFIELD):
3358         Protect with proper check.
3359         (TYPE_ARG_TYPES, TYPE_METHOD_BASETYPE, TYPE_OFFSET_BASETYPE): Likewise.
3360         (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Likewise.
3361         * tree.c (type_hash_eq): Rewrite to access proper fields for each type.
3362         (tree_check2_failed, tree_check3_failed, tree_check5_failed): New.
3363         * c-typeck.c (build_array_ref): Use TYPE_DOMAIN, not TYPE_VALUES.
3364         * dwarf2out.c (gen_enumeration_type_die): Use TYPE_VALUES,
3365         not TYPE_FIELDS.
3366         * stor-layout.c (set_sizetype): Use TYPE_ORIG_SIZE_TYPE.
3368 2004-03-18  Mostafa Hagog  <mustafa@il.ibm.com>
3370         * gcse.c (eliminate_partially_redundant_loads): Reject change if
3371         dest is set between beginning and current insn.
3373 2004-03-18  Mark Mitchell  <mark@codesourcery.com>
3375         * c-decl.c (grokdeclarator): Do not complain about redeclaring
3376         visible "static" identifiers "extern" in a local scope.
3377         * dwarf2out.c (loc_descriptor_from_tree): Handle pre- and
3378         post-increments/decrements.
3380 2004-03-18  Bob Wilson  <bob.wilson@acm.org>
3382         * config/xtensa/xtensa.c (current_function_arg_words): Delete.
3383         (xtensa_builtin_saveregs): Use current_function_args_info.arg_words.
3384         (xtensa_va_start): Remove assignment to current_function_arg_words.
3386 2004-03-18  Richard Sandiford  <rsandifo@redhat.com>
3388         * alias.c (record_set): Detect the case where a register is assigned
3389         a new value that has the same base term as the old one.
3391 2004-03-18  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3393         * doloop.c: Removed.
3394         * loop-doloop.c: New file.
3395         * Makefile.in (doloop.o): Remove.
3396         (loop-doloop.o): New.
3397         * cfgloop.h (get_loop_level, doloop_optimize_loops): Declare.
3398         * cfgloopanal.c (get_loop_level): New function.
3399         * loop-iv.c (iv_number_of_iterations): Handle case when loop
3400         is leaved immediatelly.
3401         * loop.c (strength_reduce): Do not call doloop optimization.
3402         * loop.h (LOOP_BCT): Removed.
3403         * passes.c (rest_of_handle_loop_optimize): Do not use LOOP_BCT.
3404         (rest_of_handle_loop2): Call doloop_optimize_loops.
3405         (rest_of_compilation): Test for optimizations moved to
3406         rest_of_handle_loop2.
3408 2004-03-17  Fariborz Jahanian <fjahanian@apple.com>
3410         * config/rs6000/rs6000.c (rs6000_stack_info): correct reg_size
3411         for mixed mode.
3412         (rs6000_emit_prologue): Ditto.
3413         (rs6000_emit_epilogue): Ditto.
3414         * config/rs6000/rs6000.h: Definition of DWARF_CIE_DATA_ALIGNMENT
3415         macro for mixed mode.
3417 2004-03-18  Jan Hubicka  <jh@suse.cz>
3419         * predict.c (propagate_freq): Compute correctly frequency of
3420         EXIT_BLOCK.
3422 2004-03-17  Eric Christopher  <echristo@redhat.com>
3424         * builtins.c (apply_args_size): Use reg_raw_mode.
3425         (apply_result_size): Ditto.
3427 2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3429         PR target/14620
3430         * config/rtems.h: Add STD_LIB_SPEC and LIB_SPEC.
3432 2004-03-17  Jakub Jelinek  <jakub@redhat.com>
3434         * config/rs6000/t-linux64 (bispecs): Don't add -mlong-double-128 for
3435         32-bit builds when defaulting to 32-bit.
3437 2004-03-17  Jan Hubicka  <jh@suse.cz>
3439         * cfgrtl.c (rtl_create_basic_block): Pre-allocate basic_block_info
3440         array.
3442 2004-03-17  James E Wilson  <wilson@specifixinc.com>
3444         * config/mips/mips.md (zero_extendsidi2): Add length attribute.
3445         (hazard_nop): Change type to nop.
3446         (type): Split arith into arith, shift, slt, clz.  Delete darith.
3447         Fix all uses.  Change arith to multi if more than one insn emitted.
3448         * config/mips/5400.md (ir_vr54_arith): Likewise.
3449         * config/mips/5500.md (ir_vr55_arith): Likewise.
3450         * config/mips/7000.md (rm7_int_other): Likewise.
3451         * config/mips/9000.md (rm9k_int): Likewise.
3452         * config/mips/sr71k.md (ir_sr70_arith): Likewise.
3454 2004-03-17  Joel Brobecker  <brobecker@gnat.com>
3456         * dwarf2out.c (subrange_type_die): Define new variable "subtype"
3457         to hold the subtype tree instead of recomputing it several times.
3459 2004-03-17  Kazu Hirata  <kazu@cs.umass.edu>
3461         * config/mn10300/mn10300.c (notice_update_cc): Don't handle
3462         CC_INVERT.
3463         * config/mn10300/mn10300.md (cc): Remove "invert".
3465 2004-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3467         * builtins.c (integer_valued_real_p): Add builtin rint.
3468         (fold_builtin): Likewise.
3469         * convert.c (convert_to_real): Likewise.
3471         * convert.c (convert_to_real): Fix typos in `long double'
3472         builtins.
3474 2004-03-16  Mark Mitchell  <mark@codesourcery.com>
3476         PR c++/14481
3477         * fold-const.c (fold): Set TREE_NO_UNUSED_WARNING on implicitly
3478         generated COMPOUND_EXPRs.
3480 2004-03-16  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3482         * config/h8300/t-rtems (h8300-*-rtems*): New.
3484 2004-03-16  Eric Christopher  <echristo@redhat.com>
3486         * doc/cppopts.texi(fwide-exec-charset): Fix typo.
3488 2004-03-16  Kazu Hirata  <kazu@cs.umass.edu>
3490         * config/i386/i386-protos.h: Add a prototype for
3491         ix86_reverse_condition.
3492         * config/i386/i386.c (ix86_reverse_condition): New.
3493         * config/i386/i386.h (REVERSE_CONDITION): Use
3494         ix86_reverse_condition.
3495         * config/i386/i386.md: Use ix86_reverse_condition instead of
3496         REVERSE_CONDITION.
3498 2004-03-16  J. Brobecker  <brobecker@gnat.com>
3500         * dwarf2out.c (loc_descriptor_from_tree): Add handling for MIN_EXPR.
3502 2004-03-16  Nathanael Nerode  <neroden@gcc.gnu.org>
3504         PR bootstrap/12974
3505         * Makefile.in: Pass $(INCLUDES) down to libgcc.mk explicitly.
3507 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
3509         * c-common.c (c_common_type_for_mode): Build vector types on
3510         demand.
3511         (handle_mode_attribute): Deprecate using the mode attribute
3512         to create vector types.  Fix indentation.
3513         (vector_type_node_list): Remove.
3514         (handle_vector_size_attribute): Create vector types on demand.
3515         Strip a NON_LVALUE_EXPR from the attribute if there is one.
3516         * c-typeck.c (comptypes): Make vector types compatible if they
3517         have the same underlying mode.
3518         (convert_for_assignment): Use comptypes to convert between
3519         vector types.
3520         * tree.c (build_common_tree_nodes_2): Do not create vector types.
3521         * config/arm/arm.c (arm_init_iwmmxt_builtins): Create necessary
3522         vector types.
3523         * tree.h: Remove vector types.
3524         * config/i386/i386.c (i386_init_mmx_sse_builtins): Likewise.
3525         * config/rs6000/rs6000.c (rs6000_init_builtins): Likewise.
3526         (V16QI_type_node, V2SI_type_node, V2SF_type_node, V4HI_type_node,
3527         V4SI_type_node, V4SF_type_node, V8HI_type_node): New globals.
3528         * doc/extend.texi (Vector Types): Document how to use the
3529         vector_size attribute to create vectors, rather than mode.
3531         * config/arm/mmintrin.h: Use vector_size attribute, not mode.
3532         * config/i386/emmintrin.h: Likewise.
3533         * config/i386/mmintrin.h: Likewise.
3534         * config/i386/xmmintrin.h: Likewise.
3535         * config/sh/ushmedia.h: Likewise.
3537 2004-03-16  Kazu Hirata  <kazu@cs.umass.edu>
3539         * config/freebsd-spec.h, config/arc/arc-protos.h,
3540         config/arm/aout.h, config/arm/elf.h, config/arm/freebsd.h,
3541         config/arm/linux-gas.h, config/arm/semi.h,
3542         config/cris/cris-protos.h, config/i386/xm-djgpp.h,
3543         config/ia64/freebsd.h, config/mips/7000.md,
3544         config/mips/9000.md, config/ns32k/ns32k-protos.h,
3545         config/sparc/pbd.h: Update copyright.
3547 2004-03-16  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3549         PR target/14577
3550         * config.gcc: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff.
3552 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
3554         * combine.c (combine_simplify_rtx): Remove the "last"
3555         parameter and its documentation.  Adjust recursive calls.
3556         (simplify_logical): Always perform the only simplification
3557         controlled by "last", if the simplified expression is
3558         actually different.
3559         (try_combine): Do not pass the "last" parameter to
3560         combine_simplify_rtx.
3562 2004-03-16  Richard Sandiford  <rsandifo@redhat.com>
3564         PR target/14599
3565         * config/mips/mips.md (UNSPEC_GP): New constant.
3566         * config/mips/mips.c (CONST_GP_P): Expect the CONST to contain
3567         an UNSPEC instead of (reg $gp).
3568         (mips16_gp_pseudo_reg): Change accordingly.
3569         (print_operand): Print $gp directly when handling CONST_GP_P.
3571 2004-03-16  Richard Zidlicky  <rz@linux-m68k.org>
3573         * config.gcc, config/m68k/linux.h: Implement with-cpu for m68k-linux.
3574         * longlong.h: Make code 68060 clean when compiling for m68060.
3576 2004-03-16  Richard Zidlicky  <rz@linux-m68k.org>
3578         * config/m68k/m68k.md: Fix constraints for bitfield instructions.
3579         * doc/md.texi: Clarify description of "i" constraint.
3581 2004-03-15  James E Wilson  <wilson@specifixinc.com>
3583         * config/mips/mips.md (type): Split load into load, fpload, fpidxload.
3584         Split store into store, fpstore, fpidxstore.  Fix all uses.
3585         * config/mips/5400.md (ir_vr54_load, ir_vr54_store, ir_vr54_fstore):
3586         Likewise.
3587         * config/mips/5500.md (ir_vr55_load, i5_vr55_store): Likewise.
3588         * config/mips/7000.md (rm7_ld, rm7_st): Likewise.
3589         * config/mips/9000.md (rm9k_load, rm9k_store): Likewise.
3590         * config/mips/sr71k.md (ir_sr70_load, ir_sr70_store, ir_sr70_fload,
3591         ir_sr70_fstore): Likewise.
3593 2004-03-15  Richard Henderson  <rth@redhat.com>
3595         PR middle-end/14535
3596         * except.c (collect_one_action_chain): Record action for cleanup
3597         outer of exception spec.
3599 2004-03-15  Ian Lance Taylor  <ian@wasabisystems.com>
3601         * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address):
3602         Fix the check for abort and only do the mmap if we can.
3604 2004-03-15  Eric Botcazou  <ebotcazou@act-europe.fr>
3606         * config/sparc/sparc.h: Rework comments about the code model
3607         in 64-bit environment and the mode 'Pmode'.
3608         * doc/invoke.texi (SPARC options): Rework description of the
3609         different code models supported in 64-bit environment.
3611 2004-03-15  Kazu Hirata  <kazu@cs.umass.edu>
3613         * defaults.h (REVERSIBLE_CC_MODE): Define.
3614         * jump.c (reversed_comparison_code_parts): Don't check if
3615         REVERSIBLE_CC_MODE is defined.
3617 2004-03-15  Kazu Hirata  <kazu@cs.umass.edu>
3619         * c-incpath.c, c-incpath.h, c-pch.c, c.opt, cppexp.c,
3620         et-forest.h, genattr.c, ggc-none.c, hosthooks-def.h,
3621         hosthooks.h, params.h, ra-colorize.c, web.c,
3622         config/darwin-c.c, config/alpha/freebsd.h, config/arm/pe.c,
3623         config/avr/avr-protos.h, config/avr/avr.md,
3624         config/fr30/fr30-protos.h, config/fr30/fr30.md,
3625         config/h8300/fixunssfsi.c, config/i386/darwin.h,
3626         config/i386/freebsd.h, config/i386/freebsd64.h,
3627         config/ia64/hpux.h, config/ia64/unwind-ia64.c,
3628         config/ip2k/libgcc.S, config/m32r/xm-m32r.h,
3629         config/mmix/mmix-modes.def, config/ns32k/netbsd.h,
3630         config/ns32k/ns32k.md, config/pa/pa64-hpux.h,
3631         config/pa/pa64-regs.h, config/rs6000/aix41.h,
3632         config/rs6000/aix43.h, config/rs6000/host-darwin.c,
3633         config/sparc/aout.h, config/sparc/freebsd.h,
3634         config/sparc/litecoff.h, config/vax/vax-protos.h,
3635         doc/hostconfig.texi, doc/include/gcc-common.texi: Update
3636         copyright.
3638 2004-03-15  Paul Brook  <paul@codesourcery.com>
3640         * config/arm/arm.c (thumb_expand_prologue): Tie prologue insns to fp.
3642 2004-03-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3644         * c-pretty-print.c (pp_c_semicolon): Fix formatting.
3645         (pp_c_cv_qualifier): Document.
3646         (pp_c_space_for_pointer_operator): Likewise.
3647         (pp_c_integer_constant): Likewise.
3648         (pp_c_identifier): Likewise.
3649         (pp_c_init_declarator): Don't print function body.
3651 2004-03-14  Joseph S. Myers  <jsm@polyomino.org.uk>
3653         * doc/contrib.texi, doc/extend.texi, doc/gcov.texi,
3654         doc/install.texi, doc/invoke.texi, doc/makefile.texi,
3655         doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Capitalize
3656         "gcc", "g++" and "g77" or mark up with appropriate markup.  Adjust
3657         wording and grammar.
3659 2004-03-14  Roger Sayle  <roger@eyesopen.com>
3661         * alias.c (get_alias_set): Replace calls via (*lang_hooks.foo) ()
3662         with lang_hooks.foo ().
3663         * builtins.c (expand_builtin_va_arg): Likewise.
3664         * c-common.c (fname_as_string, c_common_truthvalue_conversion,
3665         c_common_type_for_mode, c_common_nodes_and_builtins,
3666         handle_mode_attribute, handle_vector_size_attribute): Likewise.
3667         * c-convert.c (convert): Likewise.
3668         * c-format.c (check_format_types): Likewise.
3669         * c-objc-common.c (c_tree_printer): Likewise.
3670         * c-typeck.c (build_unary_op, build_conditional_expr,
3671         build_binary_op): Likewise.
3672         * calls.c (try_to_integrate, expand_call,
3673         emit_library_call_value_1): Likewise.
3674         * cgraph.c (cgraph_node_name, cgraph_function_possibly_inlined_p):
3675         Likewise.
3676         * cgraphunit.c (record_call_1, cgraph_analyze_function,
3677         cgraph_expand_function): Likewise.
3678         * convert.c (convert_to_pointer, convert_to_integer): Likewise.
3679         * coverage.c (build_fn_info_type, build_ctr_info_type,
3680         build_gcov_info, create_coverage): Likewise.
3681         * dbxout.c (dbxout_init): Likewise.
3682         * diagnostic.c (diagnostic_report_current_function): Likewise.
3683         * dojump.c (do_jump): Likewise.
3684         * dwarf2out.c (dwarf2_name): Likewise.
3685         * except.c (init_eh): Likewise.
3686         * explow.c (expr_size, int_expr_size): Likewise.
3687         * expmed.c (make_tree, const_mult_add_overflow_p, expand_mult_add):
3688         Likewise.
3689         * expr.c (store_expr, store_constructor, safe_from_p,
3690         expand_expr_real, do_store_flag, try_casesi): Likewise.
3691         * function.c (push_function_context_to, pop_function_context_from,
3692         free_after_parsing, assign_stack_local_1, assign_stack_temp_for_type,
3693         put_var_into_stack, allocate_struct_function, current_function_name):
3694         Likewise.
3695         * integrate.c (copy_decl_for_inlining, expand_inline_function):
3696         Likewise.
3697         * langhooks.c (lhd_clear_binding_stack, write_global_declarations,
3698         lhd_print_error_function): Likewise.
3699         * opts.c (handle_option, decode_options): Likewise.
3700         * passes.c (open_dump_file): Likewise.
3701         * print-tree.c (print_node): Likewise.
3702         * stmt.c (expand_fixup, fixup_gotos, expand_asm_operands,
3703         expand_decl_cleanup, emit_case_nodes): Likewise.
3704         * stor-layout.c (variable_size): Likewise.
3705         * toplev.c (announce_function, wrapup_global_declarations,
3706         check_global_declarations, compile_file, default_tree_printer,
3707         process_options, lang_dependent_init, finalize): Likewise.
3708         * tree-dump.c (dequeue_and_dump): Likewise.
3709         * tree-inline.c (remap_decl, remap_block, copy_body_r,
3710         initialize_inlined_parameters, declare_return_variable,
3711         inlinable_function_p, expand_call_inline, optimize_inline_calls,
3712         walk_tree, copy_tree_r): Likewise.
3713         * tree-optimize.c (tree_rest_of_compilation): Likewise.
3714         * tree.c (decl_assembler_name, tree_size, size_in_bytes, staticp,
3715         unsafe_for_reeval, get_unwidened, get_narrower, get_callee_fndecl,
3716         variably_modified_type_p, dump_tree_statistics): Likewise.
3717         * varasm.c (assemble_variable, compare_constant, copy_constant,
3718         force_const_mem, compute_reloc_for_constant, output_constant,
3719         output_addressed_constants, initializer_constant_valid_p): Likewise.
3721 2004-03-14  Kelley Cook  <kcook@gcc.gnu.org>
3723         * doc/install.texi: Make autoconf 2.13 the exception, not the rule.
3725 2004-03-14  Andreas Tobler  <a.tobler@schweiz.ch>
3727         * doc/install.texi: Reflect autoconf and automake version for
3728         libffi. Update autoconf version to 2.59.
3730 2004-03-13  Roger Sayle  <roger@eyesopen.com>
3732         * fold-const.c (negate_expr, operand_equal_for_comparison_p,
3733         optimize_bit_field_compare, decode_field_reference, all_ones_mask_p,
3734         make_range, build_range_check, fold_range_test, unextend,
3735         constant_boolean_node, fold_binary_op_with_conditional_arg,
3736         fold_truthop, fold_mathfn_compare, fold_inf_compare,
3737         fold_single_bit_test, fold): Replace calls via (*lang_hooks.foo) ()
3738         with lang_hooks.foo ().
3740 2004-03-14  Richard Earnshaw  <rearnsha@arm.com>
3742         * arm.h (EXTRA_CONSTRAINT_STR_ARM): Update comment.
3744 2004-03-13  Dara Hazeghi  <dhazeghi@yahoo.com>
3746         * doc/install.texi: Note status of -fnew-ra.
3748 2004-03-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
3750         PR middle-end/14470
3751         * expr.c (store_expr): Call emit_queue before generating the move
3752         from the temporary to the original target.  Protect the temporary
3753         from emit_queue.
3755 2004-03-13  Jakub Jelinek  <jakub@redhat.com>
3757         PR target/14533
3758         * config/s390/s390.c (legitimize_pic_address): Don't abort on UNSPEC
3759         other than UNSPEC_GOTOFF.
3761 2004-03-13  Richard Earnshaw  <rearnsha@arm.com>
3763         * arm.c (arm_legitimate_address_p): New argument, OUTER.  Pass through
3764         to arm_legitimate_index_p.  Update all callers with SET as default
3765         value.
3766         (arm_legitimate_index_p): New argument, OUTER.  Restrict the index
3767         range if OUTER is a sign-extend operation on QImode.  Correctly
3768         reject shift operations on sign-extended QImode addresses.
3769         (bad_signed_byte_operand): Delete.
3770         (arm_extendqisi_mem_op): New function.
3771         * arm.h (EXTRA_CONSTRAINT_ARM): Delete.  Replace with...
3772         (EXTRA_CONSTRAINT_STR_ARM): ... this.  Handle extended address
3773         constraints.
3774         (CONSTRAINT_LEN): New.
3775         (EXTRA_CONSTRAINT): Delete.  Replace with...
3776         (EXTRA_CONSTRAINT_STR): ... this.
3777         (PREDICATE_CODES): Remove bad_signed_byte_operand.
3778         * arm.md (extendqihi_insn): Use new constraint Uq.  Rework.  Length
3779         is now always default.
3780         (define_splits for bad sign-extend loads): Delete.
3781         (arm_extendqisi, arm_extendqisi_v5): Likewise.
3782         * arm/vfp.md (arm_movsi_vfp, arm_movdi_vfp, movsf_vfp, movdf_vfp):
3783         Rework 'U' constraint to 'Uv'.
3784         * arm-protos.h: Remove bad_signed_byte_operand.  Add
3785         arm_extendqisi_mem_op.
3786         * doc/md.texi (ARM constraints): Rename VFP constraint (now Uv).
3787         Add Uq constraint.
3789 2004-03-13  Alan Modra  <amodra@bigpond.net.au>
3791         * config/rs6000/rs6000.c (rs6000_va_arg): Replace SPLIT_COMPLEX_ARGS
3792         with targetm version.
3794         PR target/14567
3795         * config/rs6000/rs6000.h (UNITS_PER_ARG, RS6000_ARG_SIZE): Delete.
3796         (HARD_REGNO_MODE_OK): Disallow TFmode for fp31.
3797         * config/rs6000/rs6000.c (rs6000_arg_size): New function.
3798         Update all users of RS6000_ARG_SIZE.
3799         (function_arg_advance): Count fregno using mode size.
3800         (function_arg): Handle long double split over regs and memory.
3801         (function_arg_partial_nregs): Likewise.
3802         (rs6000_va_arg): Repackage complex args.
3804 2004-03-13  Dean Ferreyra <dferreyra@igc.org>
3806         PR target/14047
3807         * config/avr/avr.c (avr_progmem_p): Add "attributes" parameter.
3808         (avr_insert_attributes): Pass "attributes" to avr_progmem_p.
3809         * config/avr/avr-protos.h (avr_progmem_p): Change prototype.
3811 2004-03-12  Jakub Jelinek  <jakub@redhat.com>
3813         * config/rs6000/rs6000-protos.h (rs6000_output_dwarf_dtprel): Add
3814         prototype.
3815         * config/rs6000/rs6000.c (rs6000_output_dwarf_dtprel): New.
3816         * config/rs6000/rs6000.h (ASM_OUTPUT_DWARF_DTPREL): Define.
3818 2003-03-12  Andrew Pinski  <apinski@apple.com>
3820         * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address):
3821         Use ret instead of result. Use addr instead of base.
3823 2004-03-12  David Edelsohn  <edelsohn@gnu.org>
3825         * doc/install.texi (*-ibm-aix*): Document assembler and achiver
3826         fixes required by libstdc++ and update installation instructions
3827         for libstdc++.a.
3829 2004-03-12  Danny Smith  <dannysmith@users.sourceforge.net>
3831         * config/i386/winnt.c (i386_pe_strip_name_encoding_full): Strip
3832         leading '@' on fastcall symbols before stripping suffix.
3834 2004-03-12  Roger Sayle  <roger@eyesopen.com>
3836         * combine.c (unmentioned_reg_p): New function to check whether an
3837         expression is a "specialization" of another, i.e. that there are
3838         no registers or memory references mentioned in the first that don't
3839         appear in the second.
3840         (unmentioned_reg_p_1): New helper subroutine of unmentioned_reg_p.
3841         (combine_instructions): Also try combining instructions using the
3842         REG_EQUAL note from a preceding log-linked instruction.
3844 2004-03-12  Roger Sayle  <roger@eyesopen.com>
3846         * config/i386/i386.c (ix86_split_ashrdi): Optimize shift by 63.
3848 2004-03-12  Matt Austern  <austern@apple.com>
3850         * target.h (struct gcc_target): New target hook, unwind_label.
3851         * target-def.h (TARGET_ASM_EMIT_UNWIND_LABEL): New hook.
3852         * output.h (default_emit_unwind_label): New function.
3853         * default.h (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): New macro.
3854         (TARGET_USES_WEAK_UNWIND_INFO): New target macro.
3855         (TARGET_SUPPORTS_HIDDEN): New target macro.
3856         * dwarf2out.c (struct dw_fde_struct): Add field for function decl
3857         that corresponds to this FDE.
3858         (FRAME_BEGIN_LABEL): Allow target to override default label.
3859         (output_call_frame_info): If FDEs are linknonce, then use extra
3860         indirection for FDE encoding, output a label for each FDE, and
3861         output an empty label for each function without an FDE.
3862         (dwarf2out_begin_prologue): Set up decl field when creating an FDE.
3863         * varasm.c (globalize_decl): Call ASM_MAKE_LABEL_LINKONCE for
3864         decls with DECL_ONE_ONLY set, if that macro is defined.
3865         (make_decl_one_only): Don't use DECL_COMMON if we're compiling
3866         for a SUPPORTS_ONE_ONLY target.
3867         * config/darwin-protos.h (darwin_unique_section): Declare.
3868         (darwin_asm_named_section): Likewise.
3869         (darwin_section_type_flags): Likewise.
3870         (darwin_non_lazy_pcrel): Likewise.
3871         (darwin_emit_unwind_label): Likewise.
3872         (darwin_make_decl_one_only): Likewise.
3873         * config/darwin.c (machopic_finish): Get rid of tweak that
3874         eliminate stubs for symbols that are defined.
3875         (darwin_encode_section_info): Don't treat weak functions as defined.
3876         (darwin_make_decl_one_only): Define.
3877         (darwin_asm_named_section): Likewise.
3878         (darwin_section_type_flags): Likewise.
3879         (darwin_unique_section): Likewise.
3880         (darwin_emit_unwind_label): Likewise.
3881         (darwin_non_lazy_pcrel): Likewise.
3882         (darwin_asm_output_dwarf_delta): Difference between two labels is
3883         local only if both labels are local.
3884         * config/darwin.h (MAKE_DECL_ONE_ONLY): Define.
3885         (ASM_MAKE_LABEL_LINKONCE): Likewise.
3886         (TARGET_SUPPORTS_HIDDEN): Likewise.
3887         (TARGET_USES_WEAK_UNWIND_INFO): Likewise.
3888         (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): Likewise.
3889         (FRAME_BEGIN_LABEL): Likewise.
3890         (ASM_DECLARE_OBJECT_NAME): Make references to weak symbols indirect.
3891         (ASM_DECLARE_FUNCTION_NAME): Likewise.
3892         (darwin_eh_frame_section): Give __eh_frame section the coalesced flag.
3893         (TARGET_ASM_UNIQUE_SECTION): Define.
3894         (EH_FRAME_SECTION_NAME): Define.
3895         (EH_FRAME_SECTION_ATTR): Likewise.
3896         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
3897         (TARGET_ASM_NAMED_SECTION): Likewise.
3898         (TARGET_SECTION_TYPE_FLAGS): Likewise.
3899         * doc/tm.texi: Document TARGET_USES_WEAK_UNWIND_INFO,
3900         TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, TARGET_SUPPORTS_HIDDEN,
3901         TARGET_ASM_EMIT_UNWIND_LABEL.
3903 2004-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3905         * builtins.c (expand_builtin_mathfn): Add pow10* to the
3906         existing exp10* case.
3907         (expand_builtin): Likewise.
3909 2004-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
3911         * doc/tm.texi (registers) <Values in Registers>: Add
3912         entry for REGMODE_NATURAL_SIZE.
3914 2004-03-12  Richard Henderson  <rth@redhat.com>
3916         PR target/14547
3917         * target.h (struct gcc_target): Move calls substructure before
3918         booleans.  Add split_complex_arg.
3919         * function.c (assign_parms, split_complex_args): Use it.
3920         * calls.c (expand_call): Likewise.
3921         (split_complex_values): Likewise.  Check for splittable types
3922         before allocating memory.
3923         (split_complex_types): Likewise.
3924         * system.h (SPLIT_COMPLEX_ARGS): Poison.
3925         * expr.h (SPLIT_COMPLEX_ARGS): Remove.
3926         * target-def.h (TARGET_SPLIT_COMPLEX_ARG): New.
3927         * config/alpha/alpha.c (alpha_split_complex_arg): New.
3928         (TARGET_SPLIT_COMPLEX_ARG): New.
3929         * config/alpha/alpha.h (SPLIT_COMPLEX_ARGS): Remove.
3930         * config/rs6000/rs6000.c (TARGET_SPLIT_COMPLEX_ARG): New.
3931         (rs6000_override_options): Zap it for non-AIX.
3932         (rs6000_function_value): Use targetm.calls.split_complex_arg.
3933         * config/rs6000/rs6000.h (SPLIT_COMPLEX_ARGS): Remove.
3934         * config/xtensa/xtensa.c (TARGET_SPLIT_COMPLEX_ARG): New.
3935         * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Remove.
3936         * doc/tm.texi (TARGET_SPLIT_COMPLEX_ARG): Modify from old
3937         SPLIT_COMPLEX_ARGS entry.
3939 2004-03-11  Richard Henderson  <rth@redhat.com>
3941         * config/alpha/alpha.c (xfloating_ops, vax_cvt_ops): New.
3942         (alpha_lookup_xfloating_lib_func): Use them, return rtx.
3943         (alpha_emit_xfloating_arith): Update to match.
3944         (alpha_emit_xfloating_compare): Likewise.
3945         (alpha_emit_xfloating_cvt): Likewise.
3946         (alpha_emit_xfloating_libcall): Take already built symbol,
3947         mark call const.
3948         * config/alpha/alpha.md (extendsftf2, extenddftf2): Take
3949         op1 in a register.
3951 2004-03-11  Richard Henderson  <rth@redhat.com>
3953         PR target/14539
3954         * config/alpha/alpha.h (STACK_BOUNDARY): Set to 128.
3956         * simplify-rtx.c (simplify_relational_operation): Fix typo.
3958 2004-03-11  Richard Henderson  <rth@redhat.com>
3960         PR middle-end/14477
3961         * except.c (remove_unreachable_regions): Look thru CALL_PLACEHOLDER.
3963 2004-03-11  Ulrich Weigand  <uweigand@de.ibm.com>
3965         PR target/14262
3966         * calls.c (load_register_parameters): If BLOCK_REG_PADDING is not
3967         defined, pass small BLKmode values in registers in the low-order part.
3969 2004-03-11  Ulrich Weigand  <uweigand@de.ibm.com>
3971         * combine.c (if_then_else_cond): Check for NULL return value of
3972         simplify_gen_subreg.
3974 2004-03-11  Richard Sandiford  <rsandifo@redhat.com>
3976         PR target/14496
3977         * config/mips/mips.h (UNITS_PER_FPVALUE): Fix value for
3978         TARGET_SINGLE_FLOAT.
3980 2004-03-11  Steve Ellcey  <sje@cup.hp.com>
3982         * config/ia64/hpux.h (TARGET_INIT_LIBFUNCS): Add undef.
3983         * config/ia64/ia64.h (TARGET_INIT_LIBFUNCS): Add define.
3984         * config/ia64/ia64.c (ia64_init_libfuncs): New.
3985         (ia64_hpux_init_libfuncs): Add call to ia64_init_libfuncs.
3987 2004-03-11  Roger Sayle  <roger@eyesopen.com>
3989         * fold-const.c (negate_expr_p) <RSHIFT_EXPR>: We can optimize
3990         -((int)X>>C) where C is an integer constant one bit less than the
3991         size of X into (unsigned)X>>C.  Similarly for unsigned->signed.
3992         (negate_expr) <RSHIFT_EXPR>: Implement the above transformations.
3994         * simplify-rtx.c (simplify_unary_operation): Also implement the
3995         above transformations at the RTL level.
3997 2004-03-11  Alan Modra  <amodra@bigpond.net.au>
3999         * real.c (encode_ibm_extended): Do round low word.
4001 2004-03-11  Ben Elliston  <bje@wasabisystems.com>
4003         * config/arm/arm.md (is_xscale): Comment this attribute and move
4004         it a bit further up in the file, closer to related attributes.
4006 2004-03-11  Eric Botcazou  <ebotcazou@libertysurf.fr>
4008         * config/host-solaris.c (sol_gt_pch_use_address): Add
4009         missing terminating marker to comment.
4011 2004-03-11  Richard Sandiford  <rsandifo@redhat.com>
4013         * config/mips/mips.md: Use move_operand in splitters for 64-bit moves.
4014         (movdi, movsi, movhi, movqi, movsf, movdf): Remove predicates.
4015         (*movdi_32bit_mips16, *movsi_mips16, *movhi_mips16, *movqi_mips16)
4016         (*movsf_mips16, *movdf_mips16):  Name unnamed patterns.  Use
4017         move_operand as source predicate in all cases.
4018         (*movdi_32bit): Renamed from movdi_internal.  Remove 'F' constraint.
4019         Test reg_or_0_operand.  Use move_operand as source predicate.
4020         (*movdi_64bit): Renamed from movdi_internal2.  Test reg_or_0_operand.
4021         (*movdi_64bit_mips16): Renamed from movdi_internal2_mips16.
4022         (*movsi_internal): Renamed from movsi_internal.  Test reg_or_0_operand.
4023         (movhi, movqi, movsf, movdf): Use mips_legitimize_move.
4024         (*movhi_internal): Renamed from movhi_internal.  Test reg_or_0_operand.
4025         Use move_operand as source predicate.  Remove 'K' constraint.
4026         (*movqi_internal): Likewise movqi_internal.
4027         (*movsf_hardfloat): Renamed from movsf_internal1.  Test
4028         reg_or_0_operand.  Use move_operand as source predicate.
4029         (*movsf_softfloat): Likewise movsf_internal2.
4030         (*movdf_hardfloat_64bit): Likewise movsf_internal1a.
4031         (*movdf_hardfloat_32bit): Likewise movsf_internal1b.
4032         (*movdf_softfloat): Likewise movdf_internal2.
4033         * config/mips/mips.c (move_operand): Match arbitrary CONST_INTs
4034         for DImode if !TARGET_64BIT.
4035         (mips_legitimize_move): Simplify accordingly.
4037 2004-03-11  Josef Zlomek  <zlomekj@suse.cz>
4039         PR/14362
4040         * var-tracking.c (struct variable_def): Added field refcount.
4041         (variable_htab_free): Decrease the refcount and delete variable
4042         only if there are no more references.
4043         (unshare_variable): New function.
4044         (vars_copy_1): Increase refcount instead of copying the variable.
4045         (variable_union): Share the variables where possible, unshare
4046         the variables if needed.
4047         (variable_different_p): Return false if var1 and var2 are
4048         the same structure.
4049         (variable_was_changed): Init the refcount of new variable.
4050         (set_frame_base_location): Unshare variable if needed.
4051         (set_variable_part): Init the refcount of new variable.
4052         Unshare the variables if needed.
4053         (delete_variable_part): Unshare the variables if needed.
4054         (emit_notes_for_differences_1): Init the refcount of new variable.
4055         (vt_add_function_parameters): Do not add function parameters to
4056         IN set of ENTRY_BLOCK_PTR because it is unused anyway.
4057         (vt_initialize): Do not add frame_base_decl to IN set of
4058         ENTRY_BLOCK_PTR because it is unused anyway.
4060 2004-03-11  Josef Zlomek  <zlomekj@suse.cz>
4062         * var-tracking.c (vars_copy_1): Cleanup and speedup chain operations.
4063         (vars_copy): Likewise.
4064         (variable_union): Likewise.
4065         (set_variable_part): Likewise.
4066         (delete_variable_part): Likewise.
4068 2004-03-11  Kazu Hirata  <kazu@cs.umass.edu>
4070         * c-typeck.c, combine.c, cse.c, dominance.c, et-forest.h,
4071         ggc-page.c, var-tracking.c, config/fp-bit.c, config/c4x/c4x.c,
4072         config/cris/cris.c, config/i386/ppro.md, config/i860/i860.c,
4073         config/i860/i860.h, config/m32r/m32r.h, config/m32r/xm-m32r.h,
4074         config/m68hc11/m68hc11.h, config/m68hc11/m68hc11.md,
4075         config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.h,
4076         config/pa/pa.c, config/pa/pa32-regs.h, config/pa/pa64-regs.h,
4077         config/pdp11/pdp11.h, config/rs6000/rs6000.c,
4078         config/stormy16/stormy16.c: Fix comment typos and formatting.
4080 2004-03-11  Nathanael Nerode  <neroden@gcc.gnu.org>
4082         * configure: Regenerate, since I forgot to while committing Paolo's
4083         changes.
4085 2004-03-08  Paolo Bonzini  <bonzini@gnu.org>
4087         PR ada/14131
4088         Move language detection to the top level.
4089         * configure.ac: Remove code to detect languages,
4090         it now lives exclusively in the top level.
4091         * aclocal.m4 (gcc_AC_PROG_GNAT): Moved to the
4092         top level, renamed to ACX_PROG_GNAT.
4094 2004-03-10  Richard Henderson  <rth@redhat.com>
4096         * c-pch.c (c_common_no_more_pch): Update for gt_pch_use_address
4097         extra arguments.
4098         * config.host (*-*-solaris2*, *-*-linux*): Add out_host_hook_obj
4099         and host_xmake_file fragments.
4100         * ggc-common.c (gt_pch_save): Update for gt_pch_get_address change.
4101         (gt_pch_restore): Similarly for gt_pch_use_address.
4102         (default_gt_pch_get_address): New.
4103         (mmap_gt_pch_get_address): Split out of gt_pch_save.
4104         (default_gt_pch_use_address): Split out of gt_pch_restore.
4105         (mmap_gt_pch_use_address): Likewise.
4106         * hooks.c (hook_voidp_size_t_null): Remove.
4107         (hook_bool_voidp_size_t_false): Remove.
4108         * hooks.h: Likewise.
4109         * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): Use one of the
4110         default_ or mmap_ definitions.
4111         (HOST_HOOKS_GT_PCH_USE_ADDRESS): Likewise.
4112         * hosthooks.h (struct host_hooks): Update gt_pch_get_address
4113         and gt_pch_use_address.
4114         * config/host-linux.c, config/host-solaris.c: New files.
4115         * config/x-linux, config/x-solaris: New files.
4116         * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_get_address):
4117         Update for changed definition.
4118         (darwin_rs6000_gt_pch_use_address): Likewise.
4119         * doc/hostconfig.texi: Update docs.
4121 2004-03-10  Richard Henderson  <rth@redhat.com>
4123         PR c/14517
4124         * c-decl.c (grokdeclarator): Don't warn for duplicate qualifiers
4125         except for pedantic c90 mode.
4127 2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
4129         * configure.ac: Bump AC_PREREQ to 2.59.
4130         * configure: Regenerate.
4132 2004-03-10  Uros Bizjak  <uros@kss-loka.si>
4134         * optabs.h (enum optab_index): Add new OTI_exp10 and OTI_exp2.
4135         (exp10_optab, exp2_optab): Define corresponding macros.
4136         * optabs.c (init_optabs): Initialize exp10_optab and exp2_optab.
4137         * genopinit.c (optabs): Implement exp10_optab and exp2_optab
4138         using exp10?f2 and exp2?f2 patterns.
4139         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP10{,F,L}
4140         using exp10_optab, and BUILT_IN_EXP2{,F,L} using exp2_optab.
4141         (expand_builtin): Expand BUILT_IN_EXP10{,F,L} and BUILT_IN_EXP2{,F,L}
4142         using expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
4144         * config/i386/i386.md (exp10sf2, exp10df2, exp10xf2, exp2sf2,
4145         exp2df2, exp2xf2): New patterns to implement exp10, exp10f, exp10l,
4146         exp2, exp2f and exp2l built-ins as inline x87 intrinsics.
4148 2004-03-10  Anthony Green  <green@redhat.com>
4150         * doc/invoke.texi (ARM Options): Fix -mpfu typo.
4152 2004-03-10  David Edelsohn  <edelsohn@gnu.org>
4154         * config/rs6000/aix.h (TARGET_OS_CPP_BUILTINS): Rename to ...
4155         (TARGET_OS_AIX_CPP_BUILTINS): this.  Conditionally define
4156         __LONGDOUBLE128.
4157         * config/rs6000/aix41.h (TARGET_OS_CPP_BUILTINS): Use
4158         TARGET_OS_AIX_CPP_BUILTINS.
4159         * config/rs6000/aix43.h (TARGET_OS_CPP_BUILTINS): Same.
4160         * config/rs6000/aix51.h (TARGET_OS_CPP_BUILTINS): Same.
4161         * config/rs6000/aix52.h (TARGET_OS_CPP_BUILTINS): Same.
4162         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Revert
4163         previous change.
4165 2004-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4167         * fold-const.c (tree_expr_nonnegative_p): Add more builtin cases.
4169 2004-03-10  David Edelsohn  <edelsohn@gnu.org>
4171         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
4172         __LONGDOUBLE128 on AIX.
4174 2004-03-10  Andrew Haley  <aph@redhat.com>
4176         PR optimization/14381
4177         * function.c (expand_function_end): Emit a blockage insn before
4178         the epilogue when -fnon-call-exceptions is used.
4180         * except.c (expand_start_all_catch): Make comment more accurate.
4182 2004-03-08  Joel Sherrill  <joel@oarcorp.com>
4184         PR target/14480
4185         * config/rs6000/t-rtems: Add missing file on branch.
4187 2004-03-10  Ulrich Weigand  <uweigand@de.ibm.com>
4189         * dbxout.c (dbxout_symbol_location): Do not output references
4190         to optimized-out constant pool symbols.
4192 2004-03-10  Andreas Schwab  <schwab@suse.de>
4194         * config/ia64/ia64.md (divsi3, udivsi3): Remove unused variable
4195         twon34_r.
4197 2004-03-09  James E Wilson  <wilson@specifixinc.com>
4199         * alias.c (alias_sets_might_conflict_p): New.
4200         * c-typeck.c (build_c_cast): Call it if warn_strict_aliasing > 1.
4201         * common.opt (Wstrict-aliasing=): New.
4202         * flags.h (warn_strict_aliasing): Change type to int.
4203         * opts.c (warn_strict_aliasing): Change type to int.
4204         (common_handle_option): Handle OPT_Wstrict_aliasing_.
4205         * tree.h (alias_sets_might_conflict_p): Declare it.
4206         * doc/invoke.tex (-Wstrict-aliasing=2): Document it.
4208 2004-03-10  Roman Zippel  <zippel@linux-m68k.org>
4210         PR bootstrap/12371
4211         * config/m68k/m68k.h (FIXED_REGISTERS): Add arg pointer.
4212         (CALL_USED_REGISTERS): Likewise.
4213         (REG_CLASS_CONTENTS): Likewise.
4214         (REG_ALLOC_ORDER): New.
4215         (REGNO_REG_CLASS): Use regno_reg_class.
4216         * config/m68k/m68k.c: Add regno_reg_class array.
4218 2004-03-09  Steve Ellcey  <sje@cup.hp.com>
4220         * config/ia64/ia64.md (divsi3): Fix algorithm.
4221           (udivsi3): Ditto.
4222           (setf_exp_xf): Remove '*' from name.
4223         * testsuite/gcc.dg/20040309-1.c: New test.
4225 2004-03-09  Ian Lance Taylor  <ian@wasabisystems.com>
4227         * system.h (SUNOS4_SHARED_LIBRARIES): Poison.
4228         * collect2.c: Remove SUNOS4_SHARED_LIBRARIES code.
4229         * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): Don't define.
4230         * config/sparc/sparc.c (sparc_aout_select_section): Remove.
4231         (sparc_aout_select_rtx_section): Don't check
4232         SUNOS4_SHARED_LIBRARIES.
4233         * config/sparc/sparc.h (SUNOS4_SHARED_LIBRARIES): Don't define.
4235 2004-03-10  Hans-Peter Nilsson  <hp@axis.com>
4237         PR other/14474
4238         * doc/md.texi (Pattern Ordering, Dependent Patterns)
4239         (Jump Patterns, Looping Patterns): Wrap in separate "@ifset
4240         INTERNALS".
4242 2004-03-09  Zack Weinberg  <zack@codesourcery.com>
4244         * config/ia64/hpux.h (MULTILIB_DEFAULTS): Define.
4245         (LIBGCC_SPEC): Update to match.
4247 2004-03-09  Zack Weinberg  <zack@codesourcery.com>
4249         * c-decl.c (last_function_parms, last_function_parm_tags)
4250         (last_function_parm_others, current_function_parms)
4251         (current_function_parm_tags, current_function_parm_others):
4252         Delete.
4253         (ARG_INFO_PARMS, ARG_INFO_TAGS, ARG_INFO_TYPES, ARG_INFO_OTHERS):
4254         New macros.
4255         (grokdeclarator): For function definitions, save the arg-info
4256         block from the declarator in DECL_ARGUMENTS.
4257         (grokparms): Do not write to last_function_parm*.  Use ARG_INFO_*
4258         macros to operate on arg-info block.  Can assume ARG_INFO_PARMS
4259         contains only PARM_DECLs.  Improve diagnostics.
4260         (get_parm_info): Use ARG_INFO_* macros.  Improve comments and
4261         diagnostics.  Disable some expensive checks if not ENABLE_CHECKING.
4262         (store_parm_decls_newstyle): Take the function to operate on,
4263         and an arg-info block, as arguments; don't get anything from
4264         current_function_* globals.
4265         (store_parm_decls_oldstyle): Likewise.
4266         (store_parm_decls): Pass fndecl and its arg-info block down to
4267         store_parm_decls_newstyle/oldstyle.  Send functions with empty
4268         argument lists through store_parm_decls_newstyle to reduce
4269         overhead.
4270         (pushdecl): Comment on the problems with the call to copy_node.
4271         Clear DECL_ARGUMENTS of the old node after copying it, if it
4272         is an arg-info block instead of a chain of decls.
4273         (start_function): Do not manipulate current_function_parm* or
4274         last_function_parm*.
4276 2004-03-09  Roger Sayle  <roger@eyesopen.com>
4277             Andrew Pinski  <pinskia@physics.uc.edu>
4279         * ifcvt.c (noce_try_sign_mask): New function to transform
4280         "x = (y < 0) ? z : 0" into the equivalent "x = (y >> C) & z".
4281         (noce_process_if_block): Call noce_try_sign_mask.
4283 2004-03-09  Andrew Pinski  <apinski@apple.com>
4285         * c-typeck.c (tagged_types_tu_compatible_p):
4286         Fix typo.
4288 2004-03-09  Roger Sayle  <roger@eyesopen.com>
4290         * simplify-rtx.c (simplify_const_relational_operation): New function
4291         renamed from simplify_relational_operation.
4292         (simplify_relational_operation): Change prototype to accept an
4293         additional mode argument.  Call simplify_const_relational_operation.
4294         (simplify_gen_relational): Update simplify_relational_operation call.
4295         (simplify_ternary_operation): Update simplify_relational_operation
4296         subroutine call to use simplify_const_relational_operation instead.
4298         * rtl.h (simplify_const_relational_operation): Prototype here.
4299         (simplify_relational_operation): Add addtional mode argument.
4301         * combine.c (combine_simplify_rtx): Update calls to
4302         simplify_relational_operation.
4303         (simplify_set): Likewise.
4304         (gen_binary): Likewise.
4305         * cse.c (fold_rtx): Likewise.
4306         * dojump.c (compare_from_rtx): Likewise.
4307         (do_compare_rtx_and_jump): Likewise.
4308         * integrate.c (subst_constants): Likewise.
4309         * unroll.c (simplify_cmp_and_jump_insns): Likewise.
4311 2004-03-09  Kazu Hirata  <kazu@cs.umass.edu>
4313         * config/m32r/m32r.md: Remove all define_peephole's.
4315 2004-03-09  Alan Modra  <amodra@bigpond.net.au>
4317         * config/rs6000/rs6000.md: Remove trailing whitespace.
4319 2004-03-08  Eric Christopher  <echristo@redhat.com>
4321         * Makefile.in (site.exp): Add libiconv variable definition.
4323 2004-03-09  Hans-Peter Nilsson  <hp@axis.com>
4325         * configure: Regenerate for config/accross.m4 correction.
4327 2004-03-08  Joel Sherrill  <joel@oarcorp.com>
4329         PR target/14480
4330         * config/rs6000/t-rtems: Add missing file on branch.
4332 2004-03-08  Roger Sayle  <roger@eyesopen.com>
4334         PR middle-end/14289
4335         * c-typeck.c (c_mark_addressable): A register variable should
4336         be considered global if its not automatic, i.e. TREE_PUBLIC,
4337         TREE_STATIC or DECL_EXTERNAL.
4338         * function.c (put_var_into_stack): Call abort when placing a
4339         hard register into the stack, if x_parm_reg_stack_loc is NULL.
4341 2004-03-08  Ulrich Weigand  <uweigand@de.ibm.com>
4343         * config/s390/s390.md ("*extendqidi2_short_displ"): Add CC clobber.
4344         ("*extendqisi2_short_displ"): Likewise.
4346 2004-03-08  Kazu Hirata  <kazu@cs.umass.edu>
4348         * config/pdp11/pdp11.c (comparison_operator_index): Remove.
4349         (comp_operator): Likewise.
4350         * config/pdp11/pdp11-protos.h: Remove corresponding
4351         prototypes.
4353 2004-03-08  Eric Botcazou  <ebotcazou@act-europe.fr>
4355         * expr.c (highest_pow2_factor_for_type): Rename into
4356         highest_pow2_factor_for_target.  Use DECL_ALIGN instead of
4357         TYPE_ALIGN when the target is a COMPONENT_REF.
4358         (expand_assignment): Ajust call to highest_pow2_factor_for_type.
4360 2004-03-08  Alan Modra  <amodra@bigpond.net.au>
4362         * config/rs6000/rs6000.c: Formatting fix.
4363         (legitimate_offset_address_p): Correct offset range check.
4365         * config/rs6000/rs6000.c (rs6000_override_options): Don't override
4366         -msoft-float by -mcpu.  Consolidate similar code for MASK_MULTIPLE
4367         and MASK_STRING.
4369 2004-03-07  Aldy Hernandez  <aldyh@redhat.com>
4371         * config/rs6000/rs6000.md (ashrdi3): Do not call ashrdi3_no_power
4372         for little endian.
4373         ("ashrdi3_no_power"): Disable for little endian.
4374         (ashrdi3): Same.
4376 2004-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4378         * fold-const.c (tree_expr_nonnegative_p): Reformat checks for
4379         builtins.
4381 2004-03-08  Hans-Peter Nilsson  <hp@axis.com>
4383         PR target/14471
4384         * configure.ac (Target-specific assembler checks) <cris-*-*>: New
4385         case, checking for -no-mul-bug-abort option.
4386         * configure, config.in: Regenerate.
4387         * doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround
4388         and -mno-mul-bug-workaround.
4389         * config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart")
4390         ("mulsidi3", "umulsidi3"): Prefix output template with "%!".
4391         ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"):
4392         Ditto.  Make attribute "slottable" dependent on TARGET_MUL_BUG.
4393         * config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make
4394         sure mulu.d is not last on cache-line.
4395         * config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround
4396         into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION.
4397         (TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros.
4398         (TARGET_SWITCHES): New options -mmul-bug-workaround and
4399         -mno-mul-bug-workaround.
4400         (TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG.
4401         (PRINT_OPERAND_PUNCT_VALID_P): Include '!'.
4402         * config/cris/cris.c (cris_operand_extend_operator): Clarify
4403         relation to MULT in head comment.
4404         (cris_op_str): Abort for MULT.
4405         (cris_print_operand) <case '!'>: New case.
4407 2004-03-08  Alan Modra  <amodra@bigpond.net.au>
4409         PR debug/11983
4410         * dwarf2out.c (enum dw_val_class): Rename dw_val_class_float to
4411         dw_val_class_vec.  Replace use throughout file.
4412         (dw_float_const): Delete.
4413         (dw_vec_const): New.
4414         (dw_val_struct_union): Rename val_float to val_vec.  Replace use
4415         throughout file.
4416         (add_AT_vec): Rename from add_AT_float.  Add elt_size param.
4417         (same_dw_val_p): Adjust vec comparison.  Use memcmp.
4418         (size_of_die): Adjust dw_val_class_vec sizing.
4419         (output_die): Output dw_val_class_vec.
4420         (insert_int, extract_int, insert_float): New functions.
4421         (add_const_value_attribute): Use insert_float for CONST_DOUBLE.
4422         Handle CONST_VECTOR.
4423         (add_location_or_const_value_attribute): Handle CONST_VECTOR.
4425 2004-03-07  Aldy Hernandez  <aldyh@redhat.com>
4427         * config/rs6000/rs6000.c (rs6000_parse_abi_options): SPE and
4428         AltiVec abi cannot co-exist.
4430         * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Same.
4432 2004-03-07  Jan Hubicka  <jh@suse.cz>
4434         * except.c (emit_to_new_bb_before):  Break fallthru edges.
4436 2004-03-07  Stephane Carrez  <stcarrez@nerim.fr>
4438         * config/m68hc11/m68hc11.md ("*lshrsi3_const"): Disable for 68HC12.
4439         ("*lshrsi3"): Also accept an immediate for 68HC12.
4440         ("*ashrsi3_const"): Likewise.
4441         ("*ashrsi3"): Likewise.
4442         ("*ashlsi3_const"): Likewise.
4443         ("*ashlsi3"): Likewise.
4444         ("cmphi_1_hc12"): Compare two hard register by pushing them and
4445         comparing with a pop; don't use a split for that.
4446         ("cmphi split"): Disable compare split for 68HC12.
4448         * config/m68hc11/m68hc11.c (m68hc11_notice_update_cc): Invalidate
4449         the status operands if they have side effects.
4451 2004-03-07  Kazu Hirata  <kazu@cs.umass.edu>
4453         * defaults.h (LEGITIMIZE_ADDRESS): Provide a default
4454         definition.
4455         * config/arc/arc.h, config/fr30/fr30.h, config/frv/frv.h,
4456         config/h8300/h8300.h, config/ia64/ia64.h,
4457         config/mcore/mcore.h, config/mmix/mmix.h,
4458         config/ns32k/ns32k.h, config/pdp11/pdp11.h,
4459         config/stormy16/stormy16.h, config/v850/v850.h,
4460         config/vax/vax.h (LEGITIMIZE_ADDRESS): Remove.
4461         * doc/tm.texi (LEGITIMIZE_ADDRESS): Mention the default
4462         definition.
4464 2004-03-07  Roger Sayle  <roger@eyesopen.com>
4466         * fold-const.c (fold) <IOR_EXPR>: Fold x | x as x.
4467         <XOR_EXPR>: Fold x ^ x as zero.
4468         <AND_EXPR>: Fold x & x as x.
4470 2004-03-07  Roger Sayle  <roger@eyesopen.com>
4472         * fold-const.c (fold) <EQ_EXPR>: Rewrite optimization to transform
4473         "foo++ == const" into "++foo == const+incr".
4475 2004-03-07  Richard Sandiford  <rsandifo@redhat.com>
4477         * config/mips/mips.c (mips_in_small_data_p): Return false if
4478         TARGET_ABICALLS.
4480 2004-03-06  Stephane Carrez  <stcarrez@nerim.fr>
4482         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Use 2,-sp to push
4483         the stack register.
4484         (expand_prologue): Don't make an interrupt or a trap handler a far
4485         symbol.
4486         (m68hc11_initial_elimination_offset): Likewise.
4488 2004-03-06  Richard Henderson  <rth@redhat.com>
4490         * config/alpha/alpha.c (alpha_in_small_data_p): False for functions.
4492 2004-03-06  Kazu Hirata  <kazu@cs.umass.edu>
4494         * config/ns32k/ns32k-protos.h: Add a prototype for
4495         ns32k_notice_update_cc.
4496         * config/ns32k/ns32k.c (ns32k_notice_update_cc): New.
4497         * config/ns32k/ns32k.h (NOTICE_UPDATE_CC): Call
4498         ns32k_notice_update_cc.
4500 2004-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
4502         * config/s390/s390.md ("load_multiple", "*load_multiple_di",
4503         "*load_multiple_si"): Allow only if reload_completed.
4504         ("store_multiple", "*store_multiple_di", "*store_multiple_si"):
4505         Likewise.
4507 2004-03-06  Kazu Hirata  <kazu@cs.umass.edu>
4509         * config/vax/vax-protos.h: Add a prototype for
4510         vax_notice_update_cc.
4511         * config/vax/vax.c (vax_notice_update_cc): New.
4512         * config/vax/vax.h (NOTICE_UPDATE_CC): Call
4513         vax_notice_update_cc.
4515 2004-03-06  David Edelsohn  <edelsohn@gnu.org>
4517         * collect2.c (main): Only export initfunc and finifunc if
4518         LD_INIT_SWITCH not defined.
4519         (scan_prog_file): Only export constructors and destructors if
4520         LD_INIT_SWITCH not defined.  Only export symbols not found in
4521         shared objects.
4523 2004-03-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4525         * pa.md (icacheflush): Reorder operands to make match_scratch operand
4526         last.
4527         * pa.h (INITIALIZE_TRAMPOLINE): Remove unnecessary scratch argument
4528         from calls to gen_icacheflush.
4530 2004-03-06  Richard Henderson  <rth@redhat.com>
4532         * config/alpha/alpha.h (MASK_LONG_DOUBLE_128): New.
4533         (TARGET_LONG_DOUBLE_128): New.
4534         (TARGET_SWITCHES): Add long-double-{128,64}.
4535         (TARGET_HAS_XFLOATING_LIBS): Default to TARGET_LONG_DOUBLE_128.
4536         (LONG_DOUBLE_TYPE_SIZE): Honor TARGET_LONG_DOUBLE_128.
4537         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New.
4538         (WIDEST_HARDWARE_FP_SIZE): New.
4539         (TARGET_CPU_CPP_BUILTINS): Define __LONG_DOUBLE_128__.
4540         * config/alpha/alpha.c (override_options): Clear MASK_LONG_DOUBLE_128
4541         if TARGET_VAX_FLOAT.
4542         * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): Remove.
4543         (TARGET_DEFAULT): Set MASK_LONG_DOUBLE_128.
4545 2004-03-06  Richard Henderson  <rth@redhat.com>
4547         * config/alpha/alpha.c (alpha_swapped_comparison_operator): Fix
4548         botched rtx class conversion.
4550 2004-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4552         * tree.h (BUILTIN_EXP10_P, BUILTIN_EXPONENT_P, BUILTIN_SQRT_P,
4553         BUILTIN_CBRT_P, BUILTIN_ROOT_P): New macros.
4555         * builtins.c (fold_builtin_logarithm, fold_builtin): Use new
4556         macros.
4557         * fold-const.c (fold_mathfn_compare, fold): Likewise.
4559 2004-03-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
4561         PR target/14343
4562         * config/i386/i386.md (movv2di_internal): Conditionalize on
4563         TARGET_SSE, not TARGET_SSE2.
4565 2004-03-05  Chris Demetriou  <cgd@broadcom.com>
4567         * config.gcc (mips64orion-*-elf*, mips64orionel-*-elf*): Delete
4568         duplicated line.
4570 2004-03-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4572         * builtins.c: Consistently use logN not log* in comments.
4574 2004-03-05  Andreas Krebbel  <krebbel1@de.ibm.com>
4576         * rtl.h (mem_expr_equal_p): Function prototype added.
4577         * cfgcleanup.c (merge_memattrs): New function.
4578         (flow_find_cross_jump): Call merge_memattrs for matching insns.
4579         * emit-rtl.c (mem_expr_equal_p): New function.
4581 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
4583         * objc/objc-act.c (synth_module_prologue): Const-qualify
4584         objc_selector type if using the GNU runtime; fix generated
4585         signatures for objc_msg_lookup and objc_msg_lookup_super
4586         to match what GNU ObjC headers provide; reformat and clean up.
4587         (synth_self_and_ucmd_args): Use previously constructed (and
4588         hence possibly const-qualified) objc_selector type.
4590 2004-03-05  Kazu Hirata  <kazu@cs.umass.edu>
4592         * doc/tm.texi (HARD_REGNO_RENAME_OK): Document.
4594 2004-03-05  Jason Merrill  <jason@redhat.com>
4596         * tree.h (TYPE_HASH): Use TYPE_UID.
4597         (TREE_HASH): New macro with old definition of TYPE_HASH.
4598         * tree.c (build_type_attribute_variant): Use iterative_hash_object.
4599         (build_array_type, build_function_type): Likewise.
4600         (build_method_type_directly): Likewise.
4601         (build_offset_type, build_complex_type): Likewise.
4602         (type_hash_list, attribute_hash_list): Likewise. Now static.
4603         * except.c: s/TYPE_HASH/TREE_HASH/.
4605 2004-03-05  Bob Wilson  <bob.wilson@acm.org>
4607         * config/xtensa/xtensa.c (function_arg): Handle 16-byte aligned args.
4608         (xtensa_va_start): Initialize __va_stk to ($arg_ptr - 32).  Adjust
4609         __va_ndx by 2 words when referencing an argument on the stack.
4610         (xtensa_va_arg): Handle 16-byte aligned args.  Adjust __va_ndx by 2
4611         words when an arg on the stack is first seen.
4613 2004-03-05  Paul Brook  <paul@codesourcery.com>
4615         * arm.h (ARM_FLAG_VFP): Remove.
4616         (ARM_FLAG_ATPCS, CIRRUS_FIX_INVALID_INSNS): Renumber.
4617         * netbsd-elf.h (ARM_FLAG_VFP): Remove.
4619 2004-03-05  Paul Brook  <paul@codesourcery.com>
4621         * function.c (assign_parms): Include pretend alignment offset.
4623 2004-03-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4625         * stor-layout.c (layout_type, case FUNCTION_TYPE): Make size
4626         FUNCTION_BOUNDARY, not POINTER_SIZE * 2.
4628 2004-03-05  Ian Lance Taylor  <ian@wasabisystems.com>
4630         * configure.ac: When passing --enable-languages to subdir
4631         configure when host != build, make sure we don't pass an empty
4632         value.
4633         * configure: Regenerate.
4635 2004-03-05  Nathan Sidwell  <nathan@codesourcery.com>
4637         PR 13577
4638         * gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o
4639         options.
4641 2004-03-05  Paolo Bonzini  <bonzini@gnu.org>
4643         * simplify-rtx.c (simplify_relational_operation): If
4644         flag_wrapv is set, do not move terms between the two
4645         side of a relational operator.
4647 2004-03-05  Paolo Bonzini  <bonzini@gnu.org>
4649         * rtlanal.c: Include target.h and output.h
4650         (rtx_cost, address_cost, default_address_cost): Move from...
4651         * cse.c (rtx_cost, address_cost, default_address_cost):
4652         ... this file.
4653         * rtl.h (rtx_cost, address_cost): Move under rtlanal.c.
4654         * Makefile.in: Adjust dependencies.
4656 2004-03-05  Paolo Bonzini <bonzini@gnu.org>
4658         * cse.c (cse_end_of_basic_block): Make static.
4659         * local-alloc.c (function_invariant_p): Move to
4660         reload1.c.
4661         * loop.c (libcall_other_reg, record_excess_regs):
4662         Make static.
4663         * reload1.c (function_invariant_p): Moved here
4664         from local-alloc.c, made static.
4665         * rtl.h (cse_end_of_basic_block, function_invariant_p,
4666         libcall_other_reg, record_excess_regs): Remove
4667         declarations.
4669 2004-03-05  Kazu Hirata  <kazu@cs.umass.edu>
4671         * config/m32r/m32r.c (signed_comparison_operator): Add a
4672         missing parenthesis.
4674 2004-03-04  Ian Lance Taylor  <ian@wasabisystems.com>
4676         * ggc-common.c (gt_pch_restore): Don't unmap addr unless we are
4677         going to call mmap again.  Read the file into the right place.
4678         Give a fatal error if we have to relocate.
4680 2004-03-04  Bob Wilson  <bob.wilson@acm.org>
4682         * config/xtensa/xtensa.c (xtensa_return_in_msb): New function.
4683         (TARGET_RETURN_IN_MSB): Define to xtensa_return_in_msb.
4685 2004-03-05  Hans-Peter Nilsson  <hp@axis.com>
4687         PR other/14354
4688         * config/fp-bit.c (_fpdiv_parts): Do not round when pack_d would
4689         round the same.  When rounding, clear bits that would cause a
4690         second rounding in pack_d.
4691         (_fpmul_parts): Ditto.  Remove #if 0:d code.
4693 2004-03-04  Ziemowit Laski  <zlaski@apple.com>
4695         PR c++/14425, c++/14426
4696         * config/rs6000/altivec.h (vec_splat_s8, vec_splat_s16,
4697         vec_splat_s32, vec_splat_u8, vec_splat_u16, vec_splat_u32):
4698         Change C++ definitions to accept a 'const int' argument;
4699         the prototypes already do.
4700         * config/rs6000/rs6000.c (rs6000_common_init_builtins):
4701         Rename v4si_ftype_char, v8hi_ftype_char, v16qi_ftype_char,
4702         v4sf_ftype_v4si_char, v4si_ftype_v4sf_char, v4si_ftype_v4si_char,
4703         v8hi_ftype_v8hi_char, v16qi_ftype_v16qi_char,
4704         v16qi_ftype_v16qi_v16qi_char, v8hi_ftype_v8hi_v8hi_char,
4705         v4si_ftype_v4si_v4si_char and v4sf_ftype_v4sf_v4sf_char to
4706         end in ..._int; change them to accept an int instead of a char
4707         as the last parameter.
4709 2004-03-04  Phil Edwards  <phil@codesourcery.com>
4711         * genmultilib:  Change '=' to '-' when translating option names
4712         to directory names.
4714 2004-03-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4716         * expr.c (expand_expr_real, case COMPONENT_REF): Get proper type of
4717         stack slot for temp used for result of BLKmode but in integral mode.
4719 2004-03-04  Jan Hubicka  <jh@suse.cz>
4721         * reload.c (find_reloads): Reorganize if seqeunce to switch.
4723         * cfgrtl.c (rtl_redirect_edge_and_branch):  Set the source BB as dirty.
4724         (cfglayout_redirect_edge_and_branch):  Set the source BB as dirty.
4726 2004-03-04  Steve Ellcey  <sje@cup.hp.com>
4728         * config/ia64/ia64.md (divdf3_internal_thr): Fix algorithm.
4729         * testsuite/gcc.dg/20040303-1.c: New test.
4731 2004-03-04  Steven Bosscher  <stevenb@suse.de>
4733         * ppro.md: Rewrite as a DFA pipeline description.
4734         * i386.md: Remove all uses of the ppro_uops attribute.
4735         * i386.c: (ix86_safe_ppro_uops, ix86_dump_ppro_packet,
4736         ix86_reorder_insn, ix86_sched_reorder_ppro, ix86_sched_init,
4737         ix86_sched_reorder, ix86_variable_issue,
4738         struct ix86_sched_data, TARGET_SCHED_VARIABLE_ISSUE,
4739         TARGET_SCHED_INIT, TARGET_SCHED_REORDER): Remove.
4740         (ia32_use_dfa_pipeline_interface): Add TARGET_PENTIUMPRO.
4741         (ia32_multipass_dfa_lookahead): Add TARGET_PENTIUMPRO.
4742         * athlon.md (athlon_ssecmp_load): Fix comment
4744 2004-03-04  Stuart Hastings  <stuart@apple.com>
4746         * gcc/doc/invoke.texi: Document -mlongcall for Darwin/PPC.
4748 2004-03-04  Stuart Hastings  <stuart@apple.com>
4750         * gcc/config/i386/darwin.h: Darwin/x86 doesn't support CPUs before
4751         686, tell Darwin assembler to allow prefetch insns, non-empty def
4752         of SUBTARGET_OPTION_TRANSLATE_TABLE.
4754 2004-03-04  DJ Delorie  <dj@redhat.com>
4756         PR optimization/14282
4757         * sched-deps.c (sched_analyze_insn): Allow a stack adjustment
4758         between a call and the assignment of its return value.
4760 2004-03-04  Kazu Hirata  <kazu@cs.umass.edu>
4762         * config/h8300/h8300.c: Put a comment for every function.
4764 2004-03-04  Kazu Hirata  <kazu@cs.umass.edu>
4766         * config/h8300/h8300.md: Add comments about peephole2's.
4768 2004-03-04  Steven Bosscher  <stevenb@suse.de>
4770         * i386.h (TARGET_CPU_DEFAULT_nocona): Fix value.
4772 2004-03-04  Jan Hubicka  <jh@suse.cz>
4774         * cfgcleanup.c (thread_jump): Update call of cselib_init.
4775         * cselib.c (cselib_record_memory): New static variable.
4776         (cselib_lookup_mem, cselib_record_set, cselib_record_sets):
4777         Give up on memories when asked for.
4778         (cselib_init): Accept new argument.
4779         * cselib.h (cselib_init): Update prototype.
4780         * gcse.c (local_cprop_pass): Update call of cselib_init.
4781         * loop.c (load_mems): Update call of cselib_init.
4782         * postreload.c (reload_cse_regs_1): Update call of cselib_init.
4783         * sched-deps.c (sched_analyze): Update call of cselib_init.
4785 2004-03-04  David Edelsohn  <edelsohn@gnu.org>
4786             GP <gp@qnx.com>
4788         * config/rs6000/rs6000.c (output_function_profiler): Append @plt
4789         when compiling PIC.
4791 2004-03-04  Josef Zlomek  <zlomekj@suse.cz>
4793         PR/14362
4794         * var-tracking.c (track_expr_p): Do not track variables which
4795         should be ignored for debugging purposes.
4797 2004-03-04  Alan Modra  <amodra@bigpond.net.au>
4799         * real.c (encode_ibm_extended): Don't bother rounding low double.
4800         * c-cppbuiltin.c (builtin_define_float_constants): Tweak MAX
4801         when fmt->pnan < fmt->p.
4803 2004-03-04  Eric Christopher  <echristo@redhat.com>
4805         * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Fix to check
4806         only range of valid arg registers and fixed_regs.
4808 2004-03-04  Alan Modra  <amodra@bigpond.net.au>
4810         PR target/14406
4811         * config/rs6000/rs6000.md (abstf2, abstf2+1): Delete define_insn.
4812         (abstf2, abstf2_internal): New define_expand.
4814 2004-03-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
4816         PR optimization/14235
4817         * expr.c (convert_move): Copy the source to a new pseudo
4818         when converting from a sub-word source to a larger-than-word
4819         register which conflicts with the source.
4821 2004-03-03  Zack Weinberg  <zack@codesourcery.com>
4823         PR 13728
4824         * c-decl.c (diagnose_mismatched_decls): Issue an error for two
4825         parameters with the same name, unless one is a forward decl.
4826         Do not issue a redundant-redeclaration warning for forward
4827         decls of parameters.
4829 2004-03-04  David Edelsohn  <edelsohn@gnu.org>
4831         * doc/install.texi (*-ibm-aix*): Document use of Bash to speed up
4832         configuration.
4834 2004-03-03  Ian Lance Taylor  <ian@wasabisystems.com>
4836         * ggc-zone.c (ggc_pch_write_object): Don't align file pointer.
4838 2004-03-04  Alan Modra  <amodra@bigpond.net.au>
4840         * target-def.h (TARGET_OPTF): Delete.
4841         * c-opts.c (TARGET_OPTF): Define.
4843 2004-03-04  Jan Hubicka  <jh@suse.cz>
4845         * cselib.c (cselib_finish): Fix another miss-application of my previous
4846         patch.
4848 2004-03-03  Mike Stump  <mrs@apple.com>
4850         Add framework support for darwin.
4852         * c-incpath.c: Include target.h and machmode.h.
4853         (add_path): Use a consistent style for cpp_dir.  Initialize
4854         p->construct to 0.
4855         (add_cpp_dir_path): New.
4856         (register_include_chains): Add use of extra_includes callback.
4857         (hook_void_int): Add.
4858         (target_c_incpath): Add.
4859         * c-incpath.h (add_cpp_dir_path): New.
4860         (target_c_incpath_s): Add.
4861         (target_c_incpath): Add.
4862         (C_INCPATH_INIT): Add.
4863         * c-opts.c (c_common_missing_argument,
4864         c_common_handle_option): Add -F argument processing.
4865         * c.opt: Add -F argument processing.
4866         * gcc.c (trad_capable_cpp): Add -F argument processing.
4867         * cppfiles.c (find_file_in_dir): Update to use construct
4868         callback.
4869         (search_path_exhausted, cpp_get_path, cpp_get_buffer,
4870         cpp_get_prev): New.
4871         (_cpp_find_file): Use search_path_exhausted.
4872         (make_cpp_dir): Initialize construct to 0.
4873         * cpplib.h (missing_header_cb
4874         cpp_get_path, cpp_get_buffer, cpp_get_file, cpp_get_prev): New.
4875         (cpp_callbacks): Add missing_header
4876         (cpp_dir): Add construct.
4877         * target-def.h: (TARGET_OPTF): New.
4878         * hooks.c (hook_void_int, hook_void_charptr): Add.
4879         * hooks.h (hook_void_int, hook_void_charptr): Add.
4880         * Makefile.in (c-incpath.o) : Add $(TARGET_H) and
4881         $(MACHMODE_H) dependencies.
4882         * doc/invoke.texi (Darwin Options): Document -F.
4883         * doc/tm.texi (TARGET_EXTRA_INCLUDES): Add.
4884         (TARGET_OPTF): Add.
4885         * fix-header.c (target_c_incpath): Add.
4887         * config/darwin-c.c: Add c-incpath.h include.
4888         (using_frameworks, find_subframework_file,
4889         find_subframework_header, add_system_framework_path,
4890         frameworks_in_use, num_frameworks, max_frameworks,
4891         add_framework, find_framework, struct framework_header,
4892         framework_header_dirs, framework_construct_pathname,
4893         find_subframework_file, add_system_framework_path,
4894         add_framework_path, framework_defaults,
4895         darwin_register_frameworks, find_subframework_header): Add.
4896         * config/darwin.h (TARGET_EXTRA_INCLUDES, TARGET_OPTF): New.
4897         (TARGET_OPTION_TRANSLATE_TABLE): Add -framework support.
4898         (CPP_SPEC): Add __APPLE_CC__ support.
4899         * t-darwin (darwin-c.o): Add c-incpath.h dependency.
4901 2004-03-04  Jan Hubicka  <jh@suse.cz>
4903         * cselib.c (cselib_finish): Fix miss-application of my previous
4904         patch.
4906 2004-03-03  Kazu Hirata  <kazu@cs.umass.edu>
4908         * hooks.c (hook_tree_tree_identity): New.
4909         * hooks.h: Add a prototype for hook_tree_tree_identity.
4910         * stmt.c (expand_asm_operands): Use targetm.md_asm_clobbers
4911         instead of MD_ASM_CLOBBERS.
4912         * system.h (MD_ASM_CLOBBERS): Poison.
4913         * target-def.h (TARGET_MD_ASM_CLOBBERS): New.
4914         (TARGET_INITIALIZER): Add TARGET_MD_ASM_CLOBBERS.
4915         * target.h (gcc_target): Add md_asm_clobbers.
4916         * config/i386/i386.c (TARGET_MD_ASM_CLOBBERS): New.
4917         (ix86_md_asm_clobbers): New.
4918         * config/i386/i386.h (MD_ASM_CLOBBERS): Remove.
4919         * doc/tm.texi (MD_ASM_CLOBBERS): Change to
4920         TARGET_MD_ASM_CLOBBERS.
4922 2004-03-03  Stuart Hastings  <stuart@apple.com>
4924         * gcc/config.gcc: Arrange for Darwin/x86 to build libgcc_eh.a.
4926 2004-03-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
4928         * config/sparc/sparc.c (noov_compare64_op): Fix typo.
4930         * config/sparc/sparc.h (ASM_FLOAT): Delete.
4931         (ASM_DOUBLE): Likewise.
4932         (ASM_LONGDOUBLE): Likewise.
4933         * config/sparc/pbd.h (ASM_INT_OP): Delete.
4935 2003-03-03  Richard Henderson  <rth@redhat.com>
4937         PR opt/13862
4938         * cselib.c (cselib_record_sets): Don't record multiple sets in
4939         asm insns.
4941 2004-03-03  Mostafa Hagog  <mustafa@il.ibm.com>
4943         * common.opt: Add description of the new -fgcse-after-reload flag.
4945         * flags.h (flag_gcse_after_reload): Declaration of global variable.
4947         * gcse.c (reg_used_on_edge ,reg_set_between_after_reload_p,
4948         reg_used_between_after_reload_p, rtx get_avail_load_store_reg,
4949         is_jump_table_basic_block, bb_has_well_behaved_predecessors,
4950         get_bb_avail_insn, hash_scan_set_after_reload,
4951         compute_hash_table_after_reload, eliminate_partially_redundant_loads,
4952         gcse_after_reload, get_bb_avail_insn): New functions to implement
4953         gcse-after-reload.
4954         (gcse_after_reload_main): New function, the main entry point to
4955         gcse-after-reload.
4957         * rtl.h (gcse_after_reload_main): Declaration of the new function.
4959         * opts.c (common_handle_option): Handle the -fgcse-after-reload flag.
4961         * toplev.c (flag_gcse_after_reload): Initialization.
4963         * passes.c (rest_of_handl_gcse2): Call gcse_after_reload_main.
4965         * params.def (PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION,
4966         PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION): New parameters for tuning
4967         the gcse after reload optimization.
4969         * params.h (GCSE_AFTER_RELOAD_PARTIAL_FRACTION,
4970         GCSE_AFTER_RELOAD_CRITICAL_FRACTION): Two macros to access the tuning
4971         parameters.
4973         * doc/invoke.texi: Documentation for the new flag gcse-after-reload.
4975 2004-03-03  Nicolas Pitre <nico@cam.org>
4977         * config/arm/ieee754-df.S (muldf3, divdf3): Fix denormalization of
4978         small negative values.
4980 2004-03-03  Jan Hubicka  <jh@suse.cz>
4982         * cselib.c (hash_table):  Remove GTY marker.
4983         (reg_values): Turn into array.
4984         (used_regs): Likewise.
4985         (n_used_regs): New static variable.
4986         (reg_values_old): Kill.
4987         (clear_table): Update uses of arrays.
4988         (cselib_lookup): Likewise.
4989         (cselib_record_set): Likewise.
4990         (cselib_init): Likewise.
4991         (cselib_finish): Likewise.
4992         (cselib_udpate_varray_sizes): Kill.
4993         * cselib.h (cselib_update_varray_sizes): Kill.
4995 2004-03-03  Paul Brook  <paul@codesourcery.com>
4997         * flow.c (ior_reg_cond, and_reg_cond): Remove stray ")".
4999 2004-03-03  Jan Hubicka  <jh@suse.cz>
5001         * ggc-common.c (ggc_alloc_cleared_stat, ggc_realloc_stat):
5002         Rename from ...; make statistics transparent.
5003         (ggc_alloc_cleared, ggc_realloc_stat): ... these.
5004         (loc_descriptor): New structure.
5005         (hash_descriptor, eq_descriptor, loc_descriptor, cmp_statistics,
5006         add_statistics):
5007         New static function.
5008         (ggc_record_overhead, dump_statistics): New global function.
5009         * ggc-none.c (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat,
5010         ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Rename
5011         from ...; accept locations
5012         (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared,
5013         ggc_realloc, ggc_alloc_typed):  ... this one.
5014         from ...; accept locations
5015         * ggc-page.c (ggc_alloc_typed_stat, ggc_alloc_zone_stat,
5016         ggc_alloc_stat): Rename from ... ; pass locations
5017         * ggc-page.c (ggc_alloc_typed, ggc_alloc_zone, ggc_alloc):
5018         ... this one.
5019         (ggc_alloc_stat): Record overehead.
5020         * ggc.h (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared,
5021         ggc_realloc, ggc_alloc_typed):  Turn to macros
5022         (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat,
5023         ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Declare.
5024         (dump_ggc_loc_satistics, ggc_record_overehead): Declare.
5025         * langhooks.h (lhd_make_node): Declare.
5026         (LANG_HOOKS_MAKE_TYPE): Default to new function,
5027         * langhooks.c (lhd_make_node): New.
5028         * rtl.c (rtx_alloc_stat, swallow_copy_rtx_stat): Rename from ... ; pass
5029         locations.
5030         (rtx_alloc, swallow_copy_rtx): ... this one.
5031         * rtl.h (rtx_alloc, swallow_copy_rtx): Turn to macros.
5032         * rtl.c (rtx_alloc_stat, swallow_copy_rtx_stat): Declare.
5033         * toplpev.c (finalize): Dump stats.
5034         * tree.c (make_node_stat, copy_node_stat, make_tree_vec_stat,
5035         build_tree_list_stat, tree_cons_stat, build?_stat,  build_decl_stat):
5036         Rename from ... ; pass locators.
5037         (make_node, copy_node, make_tree_vec, build_tree_list, tree_cons,
5038         build?,  build_decl): Declare.
5039         * tree.h (make_node_stat, copy_node_stat, make_tree_vec_stat,
5040         build_tree_list_stat, tree_cons_stat, build?_stat,  build_decl_stat):
5041         Declare.
5042         (make_node, copy_node, make_tree_vec, build_tree_list, tree_cons,
5043         build?,  build_decl): New macros.
5044         * Makefile.in (RTL_H, TREE_H): Add statistics.h dependency.
5045         * statistics.h: New file.
5047 2004-03-03  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5048             Richard Sandiford  <rsandifo@redhat.com>
5050         * config/mips/mips.h (MASK_FIX_SB1): Bump.
5051         (MASK_FIX_R4400, TARGET_FIX_R4400): New macros.
5052         (TARGET_SWITCHES): Add -mfix-r4400 and -mno-fix-r4400.
5053         * config/mips/mips.c (mips_output_division): Fill the branch delay
5054         slot with a nop if TARGET_FIX_R4000.  Extend R4000 workarounds to
5055         TARGET_FIX_R4400.
5056         (mips_output_division): Adjust accordingly.
5057         (override_options): Make -march=r4400 imply -mfix-r4400 by default.
5058         * doc/invoke.texi: Document -mfix-r4400 and new errata workarounds.
5060 2004-03-03  Paolo Bonzini  <bonzini@gnu.org>
5062         * alias.c (rtx_equal_for_memref_p): Use predicates
5063         to test rtx classes and new rtx class codes, possibly
5064         splitting conditionals that tested against '<' and 'o'.
5065         * caller-save.c (save_call_clobbered_regs): Likewise.
5066         * combine.c (contains_muldiv, find_split_point, subst,
5067         combine_simplify_rtx, simplify_if_then_else,
5068         simplify_set, simplify_logical, expand_compound_operation,
5069         make_compound_operation, if_then_else_cond, known_cond,
5070         apply_distributive_law, cached_nonzero_bits,
5071         cached_num_sign_bit_copies, simplify_shift_const,
5072         gen_binary, simplify_comparison, update_table_tick,
5073         record_value_for_reg, get_lsat_value_validate): Likewise.
5074         * cse.c (mention_regs, find_best_addr, find_comparison_args,
5075         fold_rtx, cse_insn, invalidate_memory, cse_basic_block):
5076         Likewise.
5077         * emit-rtl.c (copy_insn_1): Likewise.
5078         * expr.c (force_operand): Likewise.
5079         * final.c (final_scan_insn, get_mem_expr_from_op): Likewise.
5080         * flow.c (notice_stack_pointer_modification_1,
5081         invalidate_mems_from_autoinc, ior_reg_cond, not_reg_cond,
5082         and_reg_cond, elim_reg_cond): Likewise.
5083         * function.c (update_epilogue_consts): Likewise.
5084         * genattrtab.c (attr_rtx_1): Likewise.
5085         * genopinit.c (gen_insn): Likewise.
5086         * integrate.c (subst_constants): Likewise.
5087         * jump.c (reversed_comparison_code_parts,
5088         reversed_comparison_code, delete_related_insns,
5089         rtx_renumbered_equal_p): Likewise.
5090         * local-alloc.c (block_alloc): Likewise.
5091         * loop.c (rtx_equal_for_prefetch_p, maybe_eliminate_biv,
5092         canonicalize_condition): Likewise.
5093         * loop-iv.c (simplify_using_conditions, iv_number_of_iterations):
5094         Likewise.
5095         * optabs.c (add_equal_node, expand_binop): Likewise.
5096         * predict.c (estimate_probability): Likewise.
5097         * ra-debug.c (ra_print_rtx_2op, ra_print_rtx): Likewise.
5098         * recog.c (validate_replace_rtx_1, comparison_operator,
5099         offsettable_address_p, constrain_operands): Likewise.
5100         * reg-stack.c (swap_rtx_condition_1, subst_stack_regs_pat):
5101         Likewise.
5102         * regclass.c (scan_one_insn): Likewise.
5103         * regmove.c (stable_and_no_regs_but_for_p): Likewise.
5104         * regrename.c (kill_autoinc_value): Likewise.
5105         * reload.c (find_reusable_reload, find_reloads,
5106         reg_overlap_mentioned_for_reload_p): Likewise.
5107         * reload1.c (gen_reload, delete_address_reloads_1): Likewise.
5108         * rtl.c (copy_rtx): Likewise.
5109         * rtl.h (CONSTANT_P, INSN_P): Likewise.
5110         * rtlanal.c (commutative_operand_precedence): Likewise.
5111         * sched-deps.c (conditions_mutex_p): Likewise.
5112         * sched-rgn.c (is_cfg_nonregular): Likewise.
5113         * simplify-rtx.c (simplify_gen_binary,
5114         simplify_gen_relational, simplify_replace_rtx,
5115         simplify_unary_operation, simplify_binary_operation,
5116         simplify_ternary_operation, simplify_rtx): Likewise.
5117         * unroll.c (reg_dead_after_loop): Likewise.
5118         * config/alpha/alpha.c (alpha_swapped_comparison_operator,
5119         print_operand): Likewise.
5120         * config/arc/arc.c (proper_comparison_operator): Likewise.
5121         * config/arm/arm.c (arm_arm_address_cost, arm_select_cc_mode):
5122         Likewise.
5123         * config/avr/avr.c (_reg_unused_after): Likewise.
5124         * config/frv/frv.c (frv_ifcvt_modify_tests,
5125         frv_ifcvt_modify_insn, frv_pack_insn): Likewise.
5126         * config/i386/i386.c (ix86_comparison_operator,
5127         ix86_carry_flag_operator, fcmov_comparison_operator,
5128         arith_or_logical_operator, print_operand,
5129         ix86_expand_binary_operator, ix86_binary_operator_ok):
5130         Likewise.
5131         * config/i386/i386.md: Likewise.
5132         * config/ia64/ia64.c (not_postinc_memory_operand,
5133         ia64_print_operand, update_set_flags, errata_emit_nops):
5134         Likewise.
5135         * config/ia64/ia64.h (PREFERRED_RELOAD_CLASS,
5136         CONSTRAINT_OK_FOR_S): Likewise.
5137         * config/ip2k/ip2k.c (mdr_resequence_xy_yx,
5138         mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
5139         ip2k_xexp_not_uses_reg_for_mem, ip2k_xexp_not_uses_reg_p,
5140         ip2k_composite_xexp_not_uses_reg_p, ip2k_unary_operator):
5141         Likewise.
5142         * config/iq2000/iq2000.c (cmp_op, symbolic_expression_p,
5143         eqne_comparison_operator, signed_comparison_operator):
5144         Likewise.
5145         * config/mips/mips.c (cmp_op, symbolic_expression_p):
5146         Likewise.
5147         * config/mmix/mmix (mmix_foldable_comparison_operator,
5148         mmix_comparison_operator): Likewise.
5149         * config/pa/pa.c (hppa_legitimize_address): Likewise.
5150         * config/rs6000/rs6000.c (stmw_operation,
5151         branch_comparison_operator, trap_comparison_operator,
5152         ccr_bit): Likewise.
5153         * config/rs6000/rs6000.h (SELECT_CC_MODE): Likewise.
5154         * config/s390/s390.c (s390_alc_comparison,
5155         s390_slb_comparison):L Likewise.
5156         * config/sh/sh.c (gen_block_redirect, reg_unused_after):
5157         Likewise.
5158         * config/sparc/sparc.c (eq_or_neq, normal_comp_operator,
5159         noov_compare_op, noov_compare64_op, v9_regcmp_op,
5160         emit_hard_tfmode_operation, reg_unused_after)
5161         * doc/md.texi, doc/rtl.texi: Likewise.
5163         * ra-debug.c: Add 2004 to list of copyright years.
5164         * unroll.c: Likewise.
5166         * combine.c (simplify_logical): Remove dummy test,
5167         (apply_distributive_law): Fix typo in comment.
5168         GET_CODE (x) == AND so x is a commutative binary op.
5169         * jump.c (delete_related_insns): simplify loop
5170         condition, move testing of RTX codes inside the loop.
5171         (rtx_renumbered_equal_p): do not use RTX_CODE.
5172         * rtl.c (rtx_class): Declare as enum rtx_class.
5173         * rtl.def (EQ, NE, UNEQ, LTGT, UNORDERED, ORDERED):
5174         Move to RTX_COMM_COMPARE class.
5175         (HIGH, SYMBOL_REF, LABEL_REF, CONST, CONST_INT, CONST_DOUBLE):
5176         Move to RTX_CONST_OBJ class.
5177         * rtl.h (enum rtx_class): New declaration,
5178         (RTX_OBJ_MASK, RTX_OBJ_RESULT, RTX_COMPARE_MASK,
5179         RTX_COMPARE_RESULT, RTX_ARITHMETIC_MASK, RTX_ARITHMETIC_RESULT,
5180         RTX_BINARY_MASK, RTX_BINARY_RESULT, RTX_COMMUTATIVE_MASK,
5181         RTX_COMMUTATIVE_RESULT, RTX_NON_COMMUTATIVE_RESULT,
5182         RTX_EXPR_FIRST, RTX_EXPR_LAST, UNARY_P, BINARY_P,
5183         ARITHMETIC_P, COMMUTATIVE_ARITHMETIC_P, COMPARISON_P,
5184         SWAPPABLE_OPERANDS_P, NON_COMMUTATIVE_P, COMMUTATIVE_P,
5185         OBJECT_P): New macros.
5186         * config/sparc/sparc.c (noov_compare_op): Remove register
5187         from parameter.
5189 2004-03-03  Kazu Hirata  <kazu@cs.umass.edu>
5191         * target.h: Remove texi jargons in comments.
5193 2004-03-02  Kazu Hirata  <kazu@cs.umass.edu>
5195         * config/h8300/lib1funcs.asm (___fixunssfsi): Change the
5196         threshold to 0x4f.
5198         Revert:
5199         2004-02-27  Kazu Hirata  <kazu@cs.umass.edu>
5200         * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
5201         as well.
5202         * config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
5203         * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
5205 2004-03-02  Kazu Hirata  <kazu@cs.umass.edu>
5207         * doc/md.texi (cbranchmode4): New.
5209 2004-03-02  Eric Christopher  <echristo@redhat.com>
5211         * config/mips/mips16.S: Change fixsfsi and fixdfsi to
5212         fix_trunc.
5213         * config/mips/mips.c (mips_init_libfuncs): Change accordingly.
5214         * config/mips/t-elf (LIB1ASMFUNCS): Ditto.
5215         * config/mips/t-isa3264 (LIB1ASMFUNCS): Ditto.
5216         * config/mips/t-r3900 (LIB1ASMFUNCS): Ditto.
5218 2004-03-02  Richard Henderson  <rth@redhat.com>
5220         PR middle-end/11767
5221         * coverage.c (coverage_counter_ref): Set MEM_NOTRAP_P.
5222         * optabs.c (prepare_cmp_insn): Force trapping memories to registers
5223         before the compare, if flag_non_call_exceptions.
5225 2004-03-02  Richard Henderson  <rth@redhat.com>
5227         PR middle-end/14327
5228         * stmt.c (expand_computed_goto): Do do_pending_stack_adjust before
5229         emitting the label, not after.
5231 2004-03-02  Stephane Carrez  <stcarrez@nerim.fr>
5233         * config/m68hc11/m68hc11.c (m68hc11_addr_mode): New variable.
5234         (m68hc11_mov_addr_mode): Likewise.
5235         (m68hc11_override_options): Initialize them based on target.
5236         (register_indirect_p): Allow a MEM for indirect addressing modes and
5237         use flags to control what is allowed.
5238         (m68hc11_small_indexed_indirect_p): Use m68hc11_mov_addr_mode for
5239         supported addressing modes.
5240         (m68hc11_register_indirect_p): Use m68hc11_addr_mode.
5241         (go_if_legitimate_address_internal): Likewise.
5242         (m68hc11_indirect_p): Likewise and check the mode.
5243         (print_operand): Allow a (MEM (MEM)) and generate indirect addressing.
5245 2004-03-02  Kazu Hirata  <kazu@cs.umass.edu>
5247         * builtins.c (BUILTIN_SETJMP_FRAME_VALUE): Remove.
5248         (expand_builtin_setjmp_setup): Use
5249         targetm.builtin_setjmp_frame_value instead of
5250         BUILTIN_SETJMP_FRAME_VALUE.
5251         * system.h (BUILTIN_SETJMP_FRAME_VALUE): Poison.
5252         * target-def.h (TARGET_BUILTIN_SETJMP_FRAME_VALUE): New.
5253         (TARGET_INITIALIZER): Add TARGET_BUILTIN_SETJMP_FRAME_VALUE.
5254         * target.h (gcc_target): Add builtin_setjmp_frame_value.
5255         * targhooks.c (default_builtin_setjmp_frame_value): New.
5256         * targhooks.h: Add a prototype for
5257         default_builtin_setjmp_frame_value.
5258         * doc/tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Change to
5259         TARGET_BUILTIN_SETJMP_FRAME_VALUE.
5261 2004-03-02  Stephane Carrez  <stcarrez@nerim.fr>
5263         * config/m68hc11/m68hc11.md (move peephole2): New peepholes to optimize
5264         sequences of moves.
5265         (add peepholes): New peepholes to optimize sequences adding small
5266         constants.
5267         (bset peepholes): New peepholes to transform an OR in a bset form
5268         (bclr peepholes): Likewise for bclr form.
5269         (cmp peepholes): New peepholes to avoid register copies when comparing.
5271 2004-03-02  Stephane Carrez  <stcarrez@nerim.fr>
5273         * config/m68hc11/m68hc11.md ("*pushdi_internal"): New insn and split
5274         to separate push from moves.
5275         ("*pushdf_internal"): Likewise.
5276         ("*pushsf_internal"): Likewise.
5277         ("*pushsi_internal"): Likewise.
5278         ("movdi_internal"): Use define_insn_and_split; non push operand.
5279         ("movdf_internal"): Likewise.
5280         ("movsf_internal"): Likewise.
5281         ("movsi_internal"): Likewise.
5282         ("*movhi_68hc12", "*addhi3_68hc12"): Fix and tune constraints
5283         ("*addhi3", "*subhi3", "*andhi3_mem", "*iorhi3_mem"): Likewise.
5284         ("*ashlsi3_const1", "*lshrsi3_const1"): Likewise.
5286 2004-03-02  Stephane Carrez  <stcarrez@nerim.fr>
5288         * config/m68hc11/m68hc11.md ("tstqi_z_used"): Use define_insn_and_split.
5289         ("cmphi_z_used", "cmpqi_z_used"): Likewise.
5290         ("movstrictsi", "movstricthi", "movstrictqi"): Likewise.
5291         ("anddi3", "andsi3", "iordi3", "iorsi3"): Likewise.
5292         ("xordi3", "xorsi3", "*logicalsi3_zexthi"): Likewise.
5293         ("*logicalsi3_zextqi", "*logicalhi3_zexthi_ashift8"): Likewise.
5294         ("logicalhi3_zexthi", "*logicalsi3_silshr16"): Likewise.
5295         ("*logicalsi3_silshl16", "*logicalsi3_silshl16_zext"): Likewise.
5296         ("*ashldi3_const32", "*ashldi3_const1", "addsi_silshr16"): Likewise.
5297         ("addsi_andshr16", "*ashlsi3_const16_zexthi"): Likewise.
5298         ("*lshrdi3_const32", "*lshrdi_const1"): Likewise.
5300 2004-03-02  Stephane Carrez  <stcarrez@nerim.fr>
5302         * config/m68hc11/m68hc11.md (SOFT_TMP_REGNUM): Define.
5303         (SOFT_XY_REGNUM): Define.
5304         (cmp split): Use the above instead of hard coded numbers.
5305         (8-bit op split): No need to check the mode; allow Q_REG.
5306         (ashift split): Adjust the first operand if it uses the SP and we
5307         are pushing the shifted value.
5308         (plus shift split): Fix when a source is in register D+X.
5309         ("doloop_end"): Pass dummy arguments to gen_rtx_NE.
5311 2004-03-02  Stephane Carrez  <stcarrez@nerim.fr>
5313         * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix when
5314         comparing with Z register.
5316 2004-03-02  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5318         * cfgloop.h (struct loop_desc): Removed.
5319         (struct loop): Fields simple, desc and has_desc removed.
5320         (simple_loop_p, count_loop_iterations): Declaration removed.
5321         * cfgloopanal.c (struct unmark_altered_insn_data): Removed.
5322         (unmark_altered, blocks_invariant_registers, unmark_altered_insn
5323         blocks_single_set_registers, invariant_rtx_wrto_regs_p_helper,
5324         invariant_rtx_wrto_regs_p, test_for_iteration, constant_iterations,
5325         simple_loop_exit_p, variable_initial_value, variable_initial_values,
5326         simple_condition_p, simple_increment, count_strange_loop_iterations,
5327         inverse, fits_in_mode_p, simple_loop_p, count_loop_iterations):
5328         Removed.
5329         * loop-iv.c (check_simple_exit, find_simple_exit): Update comments.
5331 2004-03-02  Kazu Hirata  <kazu@cs.umass.edu>
5333         * genattrtab.c: Don't handle MATCH_INSN.
5334         * genrecog.c: Likewise.
5335         * gensupport.c: Likewise.
5336         * rtl.def (match_insn): Remove.
5337         * doc/md.texi (match_insn, match_insn2): Remove.
5339 2004-03-02  Mark Mitchell  <mark@codesourcery.com>
5341         * doc/c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this
5342         macro results in memory allocation.
5344 2004-03-02  David O'Brien  <obrien@FreeBSD.org>
5346         * config/freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add.
5347         * config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Define
5348         %(fbsd_dynamic_linker),
5349         (LINK_SPEC): Use %(fbsd_dynamic_linker), and sync style with
5350         config/i386/freebsd.h
5351         * config/arm/freebsd.h: Ditto.
5352         * config/i386/freebsd.h: Ditto.
5353         * config/i386/freebsd64.h: Ditto.
5354         * config/ia64/freebsd.h: Ditto.
5355         * config/rs6000/sysv4.h: Ditto.
5356         * config/sparc/freebsd.h: Ditto.
5358 2004-03-02  Loren James Rittle  <ljrittle@acm.org>
5360         * gcc/doc/install.texi (*-*-freebsd*): Update target information.
5362 2004-03-02  Kazu Hirata  <kazu@cs.umass.edu>
5364         * rtl.def (define_combine): Remove.
5366 2004-03-02  Kazu Hirata  <kazu@cs.umass.edu>
5368         * config/h8300/h8300.md: Tweak formatting.
5370 2004-03-02  Kazu Hirata  <kazu@cs.umass.edu>
5372         * config/h8300/h8300.md (*cmphi_h8300): Rename to
5373         *cmphi_h8300_znvc.
5374         (*cmphi_h8300hs): Rename to *cmphi_h8300hs_znvc.
5376 2004-03-01  Mark Mitchell  <mark@codesourcery.com>
5378         PR bootstrap/14356
5379         * gcc.c (process_command): Remove const-qualification from argv.
5380         (main): Likewise.
5382 2004-03-02  Kazu Hirata  <kazu@cs.umass.edu>
5384         * config/h8300/h8300.md (pushqi1_h8300hs): Rename to
5385         pushqi1_h8300hs_advanced.  Adjust its caller.
5386         (pushhi1_h8300hs): Rename to pushhi1_h8300hs_advanced.
5387         Adjust its caller.
5389 2004-03-02  Nicolas Roche  <roche@act-europe.fr>
5391         * Makefile.in (install-libgcc, install-multilib): Pass
5392         mkinstalldirs var to libgcc.mk.
5394 2004-03-01  Kazu Hirata  <kazu@cs.umass.edu>
5396         * system.h (DBX_OUTPUT_STANDARD_TYPES): Poison.
5397         * doc/tm.texi (DBX_OUTPUT_STANDARD_TYPES): Remove.
5399 2004-03-01  Kazu Hirata  <kazu@cs.umass.edu>
5401         * config/h8300/h8300.c (gtle_operator): Accept GT and LE.
5402         * config/h8300/h8300.md: Split several peephole2's, each into
5403         two.
5405 2004-03-02  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5407         * dominance.c (recount_dominator): Handle postdominators.
5409 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
5411         * config/mips/mips-protos.h (enum mips_symbol_type): Move from mips.h.
5412         (NUM_SYMBOL_TYPES): Likewise.
5413         (SYMBOL_64_HIGH, SYMBOL_64_MID, SYMBOL_64_LOW): New symbol types.
5414         (mips_unspec_address): Declare.
5415         (mips_gotoff_page, mips_gotoff_global): Delete.
5416         * config/mips/mips.h (PREDICATE_CODES): Add general_symbolic_operand.
5417         * config/mips/mips.c (enum mips_symbol_type, NUM_SYMBOL_TYPES): Delete.
5418         (mips_symbolic_constant_p, mips_symbolic_address_p)
5419         (mips_symbol_insns): Handle new symbol types.
5420         (general_symbolic_operand): New predicate.
5421         (mips_unspec_address): Make extern.
5422         (mips_gotoff_page, mips_gotoff_global): Delete.
5423         (override_options): Allow -mabi=64 -mno-abicalls -mexplicit-relocs.
5424         Handle new symbol types.
5425         * config/mips/mips.md (*lea_high64, *lea64): New patterns.
5426         (*xgot_hi[sd]i, *xgot_lo[sd]i, *got_disp[sd]i, *got_disp[sd]i): Call
5427         mips_unspec_address directly.
5428         * doc/invoke.texi: Remove the -mabi=64 -mno-abicalls exception from
5429         the documentation of -mexplicit-relocs.
5431 2004-03-01  Jeff Law  <law@redhat.com>
5433         * fold-const.c (fold): An equality comparison of a non-weak object
5434         against zero has a known result.  Similarly an equality comparison
5435         of the address of two non-weak, unaliased symbols has a known result.
5437         * ggc-page.c (struct page_entry): New field PREV.
5438         (ggc_alloc): Update PREV field appropriately.
5439         (sweep_pages): Likewise.
5440         (ggc_free): Likewise.  Use PREV field rather than loop to
5441         improve ggc_free performance.
5443 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
5445         * config/mips/mips.c (mips_output_division): Use the division
5446         instruction to fill the delay slot of a zero check.
5447         (mips_idiv_insns): Adjust accordingly.
5449 2004-03-01  Nathanael Nerode  <neroden@gcc.gnu.org>
5451         * config.gcc: Create a default tmake_file for linux, and use
5452         it in all but two linux clauses.  Comment those two.
5454 2004-03-01  Paolo Bonzini  <bonzini@gnu.org>
5456         * combine.c (try_combine):  Do not refer to is_replaced.
5457         (gen_lowpart_for_combine):  Perverse subregs now have a
5458         more politically correct name.
5459         * cse.c (cse_insn): Likewise.
5460         * jump.c: Fix bogus reference to delete_insn.
5462 2004-02-29  Mark Mitchell  <mark@codesourcery.com>
5464         PR debug/14328
5465         * dwarf2out.c (gen_enumeration_type_die): Output all enumeration
5466         constants as signed values.
5468         PR middle-end/13448
5469         * c-tree.h (readonly_warning): Rename to ...
5470         (readonly_error): ... this.
5471         * c-typeck.c (build_unary_op): Adjust accordingly.
5472         (readonly_warning): Rename to ...
5473         (readonly_error): ... this and issue errors, not warnings.
5474         (build_modify_expr): Call readonly_error, not readonly_warning.
5475         (c_expand_asm_operands): Likewise.
5476         * tree-inline.c (optimize_inline_calls): Do not inline functions
5477         after errors have occurred.
5479 2004-02-29  Nathanael Nerode  <neroden@gcc.gnu.org>
5481         * configure.ac: Rearrange some threading code for clarity;
5482         add section comment.
5483         * configure: Regenerate.
5485 2004-02-29  Kazu Hirata  <kazu@cs.umass.edu>
5487         * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment
5488         typos.
5489         * doc/cppopts.texi: Fix a typo.
5491 2004-02-29  Kazu Hirata  <kazu@cs.umass.edu>
5493         * config/i386/i386.md: Fix formatting.
5495 2004-02-29  Nathanael Nerode  <neroden@gcc.gnu.org>
5497         * configure.ac: Add some comments delineating sections of code.
5499         * doc/install.texi: Note that libada uses autoconf 2.57 also.
5501         * doc/install.texi: Fix idiot typo in previous commit.
5503         * doc/install.texi: Update for conversion of intl to autoconf 2.57.
5505 2004-02-29  Kazu Hirata  <kazu@cs.umass.edu>
5507         * config/h8300/h8300.md: Add comments about peephole2's.
5509 2004-02-29  Kazu Hirata  <kazu@cs.umass.edu>
5511         * config/h8300/h8300.md: Tweak operand numbers of some
5512         peephole2's.
5514 2004-02-29  Kazu Hirata  <kazu@cs.umass.edu>
5516         * config/h8300/h8300.md: Tweak comments about peephole2's.
5518 2004-02-29  Waldek Hebisch  <hebisch@math.uni.wroc.pl>
5520         PR middle-end/14203
5521         * function.c (uninitialized_vars_warning): Use DECL_RTL_SET_P
5522         instead of testing whether DECL_RTL is not NULL.
5524 2004-02-28  Kazu Hirata  <kazu@cs.umass.edu>
5526         * config/sh/sh.c: Fix formatting.
5528 2004-02-28  Kazu Hirata  <kazu@cs.umass.edu>
5530         * config/sh/sh.c: Convert to ISO-C.
5532 2004-02-28  Andrew Pinski  <pinskia@physics.uc.edu>
5534         * c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in
5535         my previous patch.
5537         * config/darwin.h (machopic_finish): Output stub even if the
5538         symbol is already defined.
5540 2004-02-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5542         * pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg.
5544 2004-02-28  Kazu Hirata  <kazu@cs.umass.edu>
5546         * genattr.c (main): Don't define
5547         TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE.
5548         * system.h (TRADITIONAL_PIPELINE_INTERFACE): Poison.
5549         (DFA_PIPELINE_INTERFACE): Likewise.
5550         * doc/tm.texi (TRADITIONAL_PIPELINE_INTERFACE): Remove.
5551         (DFA_PIPELINE_INTERFACE): Likewise.
5553 2004-02-28  Richard Sandiford  <rsandifo@redhat.com>
5555         * config/mips/mips.md (tstsi, tstdi): Delete.
5557 2004-02-28  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5559         * config/mips/mips.c (override_options): Remove an obsolete
5560         duplicate definition of the "e" constraint.
5561         * config/mips/mips.h: Update a comment accordingly.
5563 2004-02-28  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5565         * config/mips/mips.md: Complete the unfinished R4000
5566         multiply/shift errata workaround.  Improve documentation.
5567         (hazard): Use TARGET_FIX_R4000 to decide whether an "imul" instruction
5568         has a hilo hazard.
5569         (mulsi3, mulsi3_internal, mulsi3_r4000): Use TARGET_FIX_R4000.
5570         (muldi3, muldi3_internal): Likewise.
5571         (muldi3_internal2): Remove, replacing with...
5572         (muldi3_mult3, muldi3_r4000): ...these new patterns.
5573         (mulsidi3): Take the errata into account.
5574         (mulsidi3_32bit): Remove, replacing with...
5575         (mulsidi3_32bit_internal, mulsidi3_32bit_r4000): ...these new patterns.
5576         (mulsidi3_64bit, mulsidi3_64bit_parts): Disable if TARGET_FIX_R4000.
5577         (umulsidi3): Take the errata into account.
5578         (umulsidi3_32bit): Remove, replacing with..
5579         (umulsidi3_32bit_internal, umulsidi3_32bit_r4000): ...these patterns.
5580         (umulsi3_highpart, umulsi3_highpart_internal): Disable if
5581         TARGET_FIX_R4000.
5582         (smulsi3_highpart, smulsi3_highpart_internal): Likewise.
5583         (smuldi3_highpart, umuldi3_highpart): Likewise.
5584         * doc/invoke.texi: Document the errata workaround.
5586 2004-02-28  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5588         * config/mips/mips-protos.h (mips_idiv_insns): Declare.
5589         * config/mips/mips.h (MASK_FIX_SB1): Bump.
5590         (MASK_FIX_R4000, TARGET_FIX_R4000): New macros.
5591         (TARGET_SWITCHES): Add -mfix-r4000 and -mno-fix-r4000.
5592         * config/mips/mips.c (mips_idiv_insns): New function.
5593         (override_options): Make -march=r4000 imply -mfix-r4000 by default.
5594         (mips_output_division): Add a workaround for the R4000 divide/shift
5595         errata.
5596         * config/mips/mips.md (length): Use mips_idiv_insns() to calculate
5597         the length of an "idiv" instruction.
5598         * doc/invoke.texi: Document the new switches.
5600 2004-02-28  Kazu Hirata  <kazu@cs.umass.edu>
5602         * doc/tm.texi (IS_COSTLY_DEPENDENCE): Change to
5603         TARGET_SCHED_IS_COSTLY_DEPENDENCE.
5605 2004-02-28  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5607         PR optimization/14229
5608         * cfgrtl.c (rtl_tidy_fallthru_edge): Do not fail for !onlyjump jump.
5610 2004-02-28  Eric Botcazou  <ebotcazou@act-europe.fr>
5612         * fold-const.c (fold): Strip NOPs that change the signedness
5613         for RSHIFT too.  Expand comment.
5615 2004-02-27  Ian Lance Taylor  <ian@wasabisystems.com>
5617         PR optimization/7871
5618         * flow.c (mark_set_1): Don't add LOG_LINKS for global registers
5619         from or to call insns.
5621 2004-02-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
5623         PR optimization/7871
5624         * flow.c (propagate_one_insn): Interpret calls as setting global
5625         registers, not merely clobbering them.
5627 2004-02-27  Dale Johannesen  <dalej@apple.com>
5629         * config/darwin.c (machopic_output_possible_stub_label):  Remove.
5630         config/darwin-protos.h:  Ditto.
5631         config/darwin.h:  Remove call to it.
5632         * combine.c (distribute_notes): Do not place a REG_DEAD note
5633         when value is both set and used.
5635 2004-02-27  Kazu Hirata  <kazu@cs.umass.edu>
5637         * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
5638         as well.
5639         * config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
5640         * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
5642 2004-02-27  Andrew Pinski  <apinski@apple.com>
5644         * c-typeck.c (tagged_types_tu_compatible_p) <ENUMERAL_TYPE>:
5645         Speedup common case of the type values being in the same order.
5647 2004-02-27  Steve Ellcey  <sje@cup.hp.com>
5649         * config/ia64/ia64.h (no-inline-float-divide): New option.
5650         * config/ia64/ia64.h (no-inline-int-divide): New option.
5651         * config/ia64/ia64.h (no-inline-sqrt): New option.
5652         (TARGET_DEFAULT): Add MASK_INLINE_FLOAT_DIV_THR to define.
5653         * config/ia64/hpux.h (TARGET_DEFAULT): Ditto.
5654         * config/ia64/ia64.c (ia64_override_options): Modify error
5655         checking for inlined division/sqrt.
5657 2004-02-27  Kazu Hirata  <kazu@cs.umass.edu>
5659         * bb-reorder.c, cfgbuild.c, diagnostic.c, explow.c, profile.c,
5660         ra-build.c, read-rtl.c, tracer.c, unwind-dw2-fde-glibc.c,
5661         value-prof.c, config/darwin-protos.h, config/frv/frv-abi.h,
5662         config/i386/pmmintrin.h, config/pa/pa-hpux.h: Update
5663         copyright.
5665 2004-02-27  Paul Brook  <paul@codesourcery.com>
5667         * function.c (assign_parms): Don't count pretend args for alignment.
5669 2004-02-27  Richard Henderson  <rth@redhat.com>
5671         * passes.c: New file.
5672         * Makefile.in (OBJS-common): Add it.
5673         * diagnostic.c (rtl_dump_and_exit): Move decl ...
5674         * flags.h (rtl_dump_and_exit): ... here.
5675         * output.h (size_directive_output, last_assemble_variable_decl):
5676         Move from toplev.c.
5677         * rtl.h (reg_alloc): Move from toplev.c.
5678         * toplev.c (HAVE_conditional_execution, DUMPFILE_FORMAT,
5679         struct dump_file_info, enum dump_file_index, dump_file_tbl,
5680         open_dump_file, close_dump_file, rest_of_decl_compilation,
5681         rest_of_type_compilation, rest_of_handle_final,
5682         rest_of_handle_delay_slots, rest_of_handle_stack_regs,
5683         rest_of_handle_variable_tracking, rest_of_handle_machine_reorg,
5684         rest_of_handle_new_regalloc, rest_of_handle_old_regalloc,
5685         rest_of_handle_regrename, rest_of_handle_reorder_blocks,
5686         rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_regmove,
5687         rest_of_handle_tracer, rest_of_handle_if_conversion,
5688         rest_of_handle_if_after_combine, rest_of_handle_web,
5689         rest_of_handle_branch_prob,
5690         rest_of_handle_value_profile_transformations, rest_of_handle_cfg,
5691         rest_of_handle_addressof, rest_of_handle_sibling_calls,
5692         rest_of_handle_jump_bypass, rest_of_handle_inlining,
5693         rest_of_handle_null_pointer, rest_of_handle_combine,
5694         rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2,
5695         rest_of_handle_gcse, rest_of_handle_loop_optimize,
5696         rest_of_handle_loop2, rest_of_compilation): Move to passes.c.
5697         (decode_d_option): Use enable_rtl_dump_file.
5698         (compile_file, finalize, do_compile): Move profile+combine+graph
5699         cleanup to finish_optimization_passes.
5700         * toplev.h (init_optimization_passes, finish_optimization_passes,
5701         enable_rtl_dump_file): Declare.
5703 2004-02-27  Eric Botcazou  <ebotcazou@act-europe.fr>
5704             Roger Sayle  <roger@eyesopen.com>
5706         * fold-const.c (fold): Revert 2004-02-25 change.  Use the original
5707         operands to build a tree with swapped operands.
5708         * expr.c (expand_expr_real) <MAX_EXPR>: Consistently use the
5709         'unsignedp' predicate to specify the signedness.
5711 2004-02-27  Kazu Hirata  <kazu@cs.umass.edu>
5713         * c-decl.c, c-ppoutput.c, combine.c, cppfiles.c, dwarf2out.c,
5714         expr.c, fold-const.c, gcc.c, haifa-sched.c, loop-iv.c,
5715         params.def, read-rtl.c, rtl.c, rtlanal.c, toplev.c: Fix
5716         comment typos and formatting.  Follow spelling conventions.
5718 2004-02-26  Aldy Hernandez  <aldyh@redhat.com>
5720         * config/rs6000/rs6000.md: Add fixuns_truncsfsi2 and
5721         fix_truncsfsi2.
5723         * config/rs6000/spe.md: Delete spe_efsctuiz.
5724         Add spe_fixuns_truncsfsi2.
5725         Add spe_fix_truncsfsi2.
5727 2004-02-26  Eric Christopher  <echristo@redhat.com>
5729         * c-lex.c (c_lex_string_translate): New variable.
5730         (lex_string): Use to determine string translation.
5731         * c-pragma.h: Prototype.
5732         * c-parse.in (start_string_translation): New. Set above.
5733         (stop_string_translation): Ditto.
5734         (attribute, attribute_list, asm_def, asm_stmt,
5735         asm_operand): Use above functions.
5736         * cp/parser.c (cp_parser_declaration): Translate strings
5737         unless token is RID_EXTERN. Set c_lex_string_translate
5738         for recursive use.
5739         (cp_parser_asm_definition): Only translate argument strings
5740         to asms.
5741         (cp_parser_asm_operand_list): Ditto.
5742         (cp_parser_attribute_list): Do not translate attribute strings.
5744 2004-02-26  Kazu Hirata  <kazu@cs.umass.edu>
5746         * stmt.c (expand_start_case_dummy): Remove.
5747         * tree.h: Remove the corresponding prototype.
5749 2004-02-26  Kazu Hirata  <kazu@cs.umass.edu>
5751         * builtins.c (apply_args_register_offset): Remove.
5752         * tree.h: Remove the corresponding prototype.
5754 2004-02-26  Kazu Hirata  <kazu@cs.umass.edu>
5756         * stor-layout.c (is_pending_size): Remove.
5757         * tree.h: Remove the corresponding prototype.
5759 2004-02-26  Kazu Hirata  <kazu@cs.umass.edu>
5761         * recog.c (validate_replace_src): Remove.
5762         * recog.h: Remove the corresponding prototype.
5764 2004-02-26  Kazu Hirata  <kazu@cs.umass.edu>
5766         * calls.c: Don't reference FINAL_REG_PARM_STACK_SPACE or
5767         MAYBE_REG_PARM_STACK_SPACE.
5768         * function.c: Likewise.
5769         * system.h (FINAL_REG_PARM_STACK_SPACE): Poison.
5770         (MAYBE_REG_PARM_STACK_SPACE): Likewise.
5771         * doc/tm.texi (FINAL_REG_PARM_STACK_SPACE): Remove.
5772         (MAYBE_REG_PARM_STACK_SPACE): Likewise.
5774 2004-02-26  Kazu Hirata  <kazu@cs.umass.edu>
5776         * c-decl.c (c_expand_deferred_function): Remove.
5777         * c-tree.h: Remove the corresponding prototype.
5779 2004-02-26  Kazu Hirata  <kazu@cs.umass.edu>
5781         * postreload.c (reload_cse_move2add): Generate just a PLUS
5782         instead of an entire SET.
5784 2004-02-26  Jan Hubicka  <jh@suse.cz>
5786         * config.gcc: Add support for nocoma/prescott/pentium-m/pentium3m
5787         /pentium4m.
5788         * i386.c (override_options): Add support for new CPUs.
5789         * i386.h (TARGET_CPU_DEFAULT_NAMES): New names.
5790         (TARGET_CPU_DEFAULT_pentium_m, TARGET_CPU_DEFAULT_pentium4e): New
5791         constants.
5792         * invoke.texi: Extend documentation of -mtune/-march for new CPUs.
5794 2004-02-26  Bob Wilson  <bob.wilson@acm.org>
5796         * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.
5798 2004-02-26  Eric Botcazou  <ebotcazou@act-europe.fr>
5800         * config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'.
5801         (sparc_emit_fixunsdi): New prototype.
5802         * config/sparc/sparc.c (sparc_emit_floatunsdi): Use 'mode' argument.
5803         (sparc_emit_fixunsdi): New function.
5804         * config/sparc/sparc.md (floatunsdisf2): Use 'general_operand' for
5805         operand 1.  Pass SFmode to sparc_emit_floatunsdi.
5806         (floatunsdidf2): Use 'general_operand' for operand 1.  Pass DFmode
5807         to sparc_emit_floatunsdi.
5808         (fixuns_truncsfdi2): New expander.
5809         (fixuns_truncdfdi2): Likewise.
5811 2004-02-26  Alan Modra  <amodra@bigpond.net.au>
5813         * gcse.c (delete_null_pointer_checks_1): Do not delete CC setter
5814         unless HAVE_cc0.
5816 2004-02-25  Richard Henderson  <rth@redhat.com>
5818         * explow.c (force_reg): Call mark_reg_pointer as appropriate.
5819         * config/alpha/alpha.c (alpha_emit_conditional_branch): Don't
5820         use (op0-op1) == 0 if op0 is a pointer.
5821         * config/alpha/alpha.md (cmpdi): Use some_operand.
5822         (three comparison combine splits): Remove.
5824 2004-02-25  Richard Henderson  <rth@redhat.com>
5826         PR c/12794
5827         * c-common.c (handle_alias_attribute): Reject the attribute if
5828         current_function_decl is set.
5830 2004-02-25  Kelley Cook  <kcook@gcc.gnu.org>
5832         * config.gcc: Add comment describing extra_gcc_objs.
5833         i[34567]86-*-cygwin*): Replace host_extra_gcc_objs with extra_gcc_objs.
5834         * configure.ac (extra_gcc_objs): New substitution variable.
5835         (host_extra_gcc_objs): Don't substitute.
5836         * configure: Regenerate.
5837         * Makefile.in: Use extra_gcc_objs.
5839 2004-02-25  Kelley Cook  <kcook@gcc.gnu.org>
5841         * doc/contrib.texi: Add an entry for myself.
5843 2004-02-25  Jan Hubicka  <jh@suse.cz>
5845         * basic-block.h (make_eh_edge, break_superblocks): Declare.
5846         * cfgbuild.c (make_eh_edge):  Make global.
5847         * cfglayout.c (break_superblocks): Likewise; fix memory leak.
5848         * except.c (build_post_landing_pads, connect_post_landing_pads,
5849         dw2_build_landing_pads, sjlj_emit_function_enter,
5850         sjlj_emit_function_exit, sjlj_emit_dispatch_table,
5851         sjlj_build_landing_pads): Update CFG.
5852         (emit_to_new_bb_before): New function.
5853         (finish_eh_generation): Do not rebuild the CFG.
5855 2004-02-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5857         * config.gcc (hppa*-*-*, parisc*-*-*): Add MASK_BIG_SWITCH to all
5858         target_cpu_default defines.
5859         * pa-hpux.h (TARGET_DEFAULT): Add MASK_BIG_SWITCH to define.
5860         * pa.h (TARGET_DEFAULT): Likewise.
5862 2004-02-25  Eric Botcazou  <ebotcazou@act-europe.fr>
5864         * fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like
5865         comparisons with regard to signedness.
5867 2004-02-25  Richard Earnshaw  <rearnsha@arm.com>
5869         * arm.c (thumb_legitimize_address): New function.
5870         * arm-protos.h: Prototype it.
5871         * arm.h (THUMB_LEGITIMIZE_ADDRESS): Define.
5872         (LEGITIMIZE_ADDRESS): Use it.
5874 2004-02-25  J"orn Rennecke <joern.rennecke@superh.com>
5876         * reload1.c (reload): Only spill eliminable register with multiple
5877         adjacent elimination alternatives if all alternatives fail.
5879 2004-02-25  Richard Earnshaw  <rearnsha@arm.com>
5881         * arm.c (arm_legitimate_index_p): For QImode the range of an offset
5882         is -4095...+4095 inclusive.
5884 2004-02-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
5886         * doc/install.texi (sparc-sun-solaris2* specific notes): Document
5887         the bootstrap failure with Sun CC 5.4 and 5.5.
5889 2004-02-24  Kazu Hirata  <kazu@cs.umass.edu>
5891         * cse.c (cse_change_cc_mode_insns): Stop at any instruction
5892         which modifies NEWREG.
5893         (cse_condition_code_reg): Update the mode of CC_REG in
5894         CC_SRC_INSN on our own.
5896 2004-02-24  Michael Matz  <matz@suse.de>
5898         * config/i386/i386.c (ix86_comp_type_attributes): Check for
5899         regparm attributes.
5901 2004-02-24  Richard Henderson  <rth@redhat.com>
5903         * toplev.c (dump_file_tbl): Rename from dump_file.
5904         * bb-reorder.c, bt-load.c, cfgcleanup.c, cfglayout.c, cfgloopanal.c,
5905         cfgloopmanip.c, cfgrtl.c, config/arm/arm.c, config/frv/frv.c,
5906         config/i386/i386.c, config/ia64/ia64.c, config/mips/mips.c,
5907         config/sh/sh.c, cse.c, flow.c, ifcvt.c, loop-iv.c, loop-unroll.c,
5908         loop-unswitch.c, output.h, predict.c, profile.c, ra-build.c,
5909         ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, regrename.c, reload1.c,
5910         toplev.c, tracer.c, value-prof.c, var-tracking.c, web.c:
5911         s/rtl_dump_file/dump_file/g.
5913 2004-02-24  Aldy Hernandez  <aldyh@redhat.com>
5915         * config/rs6000/spe.md (spe_fix_truncsfsi2): Delete.
5916         (spe_fixuns_truncsfsi2): Delete.
5918         * config/rs6000/rs6000.md (fix_truncsfsi2): Delete.
5919         (fixuns_truncsfsi2): Delete.
5921 2004-02-24  Josef Zlomek  <zlomekj@suse.cz>
5923         PR/14240
5924         * rtlanal.c (replace_label): Fix replacing labels in constant pool.
5926 2004-02-24  Geoffrey Keating  <geoffk@apple.com>
5928         * config/darwin.h (TARGET_HAS_F_SETLKW): Define.
5930 2004-02-24  Jason Merrill  <jason@redhat.com>
5932         * tree.c (check_qualified_type): New fn.
5933         (get_qualified_type): Use it.  If type already has the desired
5934         quals, just return it.
5935         * tree.h: Declare it.
5937 2003-02-24  Sanjiv Kumar Gupta  <sanjivg@noida.hcltech.com>
5939         * target-def.h (TARGET_SCHED_INIT_GLOBAL,
5940         TARGET_SCHED_FINISH_GLOBAL): New macros.
5942         * target.h (md_init_global, md_finish_global): Function
5943         declarations corresponding to new target macros.
5945         * haifa-sched.c (sched_init, sched_finish): Allow target to
5946         call the new schedular hooks.
5948         * flow.c (recompute_reg_usage): Add PROP_DEATH_NOTES flag in
5949         call to update_life_info.
5951         * config/sh/sh.h (OVERRIDE_OPTIONS): Re-enable
5952         flag_schedule_insns for SH4.
5954         * config/sh/sh.c (sh_md_init_global, sh_md_finish_global,
5955         find_set_regmode_weight, find_insn_regmode_weight,
5956         find_regmode_weight), sh_md_init, sh_dfa_new_cycle,
5957         sh_variable_issue, high_pressure, ready_reorder,
5958         rank_for_reorder, swap_reorder, sh_reorder, sh_reorder2): New
5959         functions used to throttle the insn movement in first
5960         scheduling pass for SH.
5962         * gcc/doc/tm.texi: Document TARGET_SCHED_INIT_GLOBAL and
5963         TARGET_SCHED_FINISH_GLOBAL.
5965 2004-02-24  Alexandre Oliva  <aoliva@redhat.com>
5967         Implement FR-V FDPIC ABI support for frv-uclinux and frv-linux.
5968         2004-02-05  Alexandre Oliva  <aoliva@redhat.com>
5969         * config/frv/frv.c (frv_emit_movsi): Use GOT relocations for
5970         symbols in sections named by the user.
5971         2004-01-30  Alexandre Oliva  <aoliva@redhat.com>
5972         * config/frv/linux.h (TARGET_OS_CPP_BUILTINS): New.
5973         2004-01-27  Alexandre Oliva  <aoliva@redhat.com>
5974         * config.gcc (frv-*-*linux*): Handle like *-*-linux*.
5975         * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Remove, obviated by
5976         the above.
5977         2004-01-20  Alexandre Oliva  <aoliva@redhat.com>
5978         * config/frv/frv.md (symGOT2reg_hilo, symGOTOFF2reg_hilo): Add
5979         one more pseudo to further improve code generation.
5980         2004-01-19  Alexandre Oliva  <aoliva@redhat.com>
5981         * config/frv/frv.md (movdi_ldd): Introduce explicit indirection
5982         inside UNSPEC.
5983         2004-01-16  Alexandre Oliva  <aoliva@redhat.com>
5984         * config/frv/frv.c (frv_legitimate_address_p): Added
5985         allow_double_reg_p argument.  Adjust all callers.  Use it to
5986         decide whether to enable double-register indirect addressing.
5987         (frv_funcdesc_alias_set): Remove.
5988         (frv_expand_fdpic_call): Force non-SYMBOL_REF operand into
5989         register.  Emit movdi_ldd.
5990         (ldd_address_operand): New.
5991         * config/frv/frv-protos.h (frv_legitimate_address_p): Adjust.
5992         * config/frv/frv.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
5993         (PREDICATE_CODES): Add ldd_address_operand.
5994         * config/frv/frv.md (movdi_ldd): New.
5995         (symGOT2reg_hilo, symGOTOFF2reg_hilo): Use separate pseudo for
5996         intermediate computations if possible.
5997         (symGOTOFF2reg_i): Fix harmless typo.
5998         2003-12-18  Alexandre Oliva  <aoliva@redhat.com>
5999         * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Cast
6000         relocated p_vaddr to vaddr type.
6001         * config/frv/frv-protos.h (frv_expand_fdpic_call): Return void.
6002         * config/frv/frv.c (frv_get_funcdesc_alias_set): New.
6003         (frv_expand_fdpic_call): Propagate incoming MEM's expr to funcdesc
6004         MEM, or use a funcdesc alias set.  Use regular move instead of
6005         ldd.
6006         (dbl_memory_one_insn_operand): Recognize function descriptors by
6007         type or by alias set, and don't split them.
6008         * config/frv/frv.md (call, call_value): Never use call_internal
6009         for fdpic.
6010         (call_internal, call_value_internal): Never match for FDPIC.
6011         (call_fdpicdi, call_fdpicsi, call_value_fdpicdi,
6012         call_value_fdpicsi): Require FDPIC.
6013         (ldd): Removed.
6014         2003-12-17  Alexandre Oliva  <aoliva@redhat.com>
6015         * config/frv/frv.h (CRT_GET_RFIB_DATA): Define for __FRV_FDPIC__.
6016         * unwind-dw2-fde-glibc.c: Don't include elf-fdpic.h any more.
6017         (_Unwind_IteratePhdrCallback): Adjust type of load_base for FRV
6018         FDPIC.  Compute data base address.
6019         * config/frv/linux.h (SUBTARGET_DRIVER_SELF_SPECS): Enable -mfdpic
6020         before the other self-specs are processed.
6021         * config/frv/t-linux (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
6022         Build with -fPIC.
6023         2003-12-15  Alexandre Oliva  <aoliva@redhat.com>
6024         * unwind-dw2-fde-glibc.c: Don't include bits/elf-fdpic.h if
6025         inhibit_libc is defined.
6026         2003-12-12  Alexandre Oliva  <aoliva@redhat.com>
6027         * unwind-dw2-fde-glibc.c: Include bits/elf-fdpic.h for
6028         __FRV_FDPIC__.
6029         (__RELOC_POINTER): Define.
6030         (_Unwind_IteratePhdrCallback): Use it.
6031         * config/frv/frv.h (Twrite): Define.
6032         (TRANSFER_FROM_TRAMPOLINE): Use it.
6033         * config/frv/linux.h (INVOKE__main): Undefine.
6034         (Twrite): Override.
6035         2003-12-05  Richard Sandiford  <rsandifo@redhat.com>
6036         * doc/invoke.texi (-mlong-calls, -mlinked-fp): Document FRV options.
6037         (-mlibrary-pic): Emphasize that this option generates EABI code.
6038         (-mcpu): Add fr550.
6039         (-mpack): Remove.
6040         2003-11-30  Alexandre Oliva  <aoliva@redhat.com>
6041         * config/frv/frv.c (int_2word_operand): Reject LABELs, SYMBOL_REFs
6042         and CONSTs in FDPIC mode.
6043         * gcc/config.gcc (with_cpu): Default to fr400 on frv-*-*linux*.
6044         2003-11-29  Richard Sandiford  <rsandifo@redhat.com>
6045         * config/frv/frv.c (move_source_operand): Don't accept symbolic
6046         constants.
6047         * config/frv/frv.md (*movhi_internal, *movsi_internal): Use an 'n'
6048         rather than 'i' constraint for the 2-instruction alternative.
6049         (*movsi_2word): New, incorporating existing int_2word_operand splitter.
6050         2003-11-29  Richard Sandiford  <rsandifo@redhat.com>
6051         * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Q): Renamed from
6052         EXTRA_CONSTRAINT_FOR_Y.
6053         (EXTRA_CONSTRAINT): Remove handling of 'Y'.
6054         * config/frv/frv.md (*movsi_internal): Remove 'Q' constraint.
6055         (addsi3): Change 'Y' constraint to 'Q'.
6056         2003-11-27  Richard Sandiford  <rsandifo@redhat.com>
6057         * reload.c (CONST_POOL_OK_P): New macro.
6058         (find_reloads): Use it to decide whether a constant can be forced
6059         into memory.
6060         * config/frv/frv.h (LEGITIMATE_PIC_OPERAND_P): Return true if the
6061         constant satisfies got12_operand.
6062         (frv_cannot_force_const_mem): Always return true for TARGET_FDPIC.
6063         (frv_legitimate_address_p): Check for valid unspec offsets using
6064         got12_operand rather than frv_legitimate_fdpic_operand_p.
6065         (frv_legitimate_fdpic_operand_p): Delete.
6066         (frv_emit_movsi): Abort if we try to use the FDPIC register during
6067         or after reload.
6068         (frv_legitimate_constant_p): Return LEGITIMATE_PIC_OPERAND_P if
6069         TARGET_FDPIC.
6070         * config/frv/frv.md (*movdf_double): Add alternatives for CONST_DOUBLE.
6071         2003-11-19  Richard Sandiford  <rsandifo@redhat.com>
6072         * config/frv/frv-protos.h (fdpic_operand, fdpic_got12_operand)
6073         (frv_fdpic_fptr_operand): Don't declare here.
6074         * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Y): Call got12_operand
6075         rather than fdpic_got12_operand.
6076         (PREDICATE_CODES): Remove symbolic_operand entry.  Add entries for
6077         got12_operand and const_unspec_operand.
6078         * config/frv/frv.c (got12_operand): Renamed from fdpic_got12_operand.
6079         (gpr_or_int12_operand, dbl_memory_one_insn_operand): Update calls.
6080         (symbolic_operand): Remove.
6081         (const_unspec_operand): New predicate.
6082         * config/frv/frv.md (*movsi_got): Use got12_operand.
6083         (*movsi_high_got, *movsi_lo_sum_got): Use const_unspec_operand.
6084         2003-11-18  Richard Sandiford  <rsandifo@redhat.com>
6085         * config/frv/frv-protos.h (frv_output_addr_const_extra): Remove.
6086         * config/frv/frv.h (OUTPUT_ADDR_CONST_EXTRA): Remove definition.
6087         * config/frv/frv.c (frv_unspec): New structure.
6088         (frv_small_data_reloc_p, frv_const_unspec_p): New functions.
6089         (frv_print_operand_memory_reference): Use frv_const_unspec_p to
6090         validate CONST indices.  Use frv_output_const_unspec to print them.
6091         (frv_print_operand): Update call to unspec_got_name.  Use
6092         frv_output_const_unspec to print constant unspecs.
6093         (frv_legitimate_fdpic_operand_p): Return true if frv_const_unspec_p.
6094         Reject UNSPECs otherwise.
6095         (unspec_got_name): Take the relocation number as argument, not an
6096         rtx containing it.
6097         (frv_output_addr_const_extra): Remove, replacing with...
6098         (frv_output_const_unspec): ...this new function.
6099         (frv_find_base_term): Use frv_const_unspec_p & frv_small_data_reloc_p.
6100         (gpr_or_int12_operand): Use fdpic_got12_operand.
6101         (dbl_memory_one_insn_operand): Likewise.
6102         (fdpic_got12_operand): Use frv_const_unspec_p.
6103         (frv_emit_movsi): Use frv_const_unspec_p to check for CONSTs that
6104         are already legitimate.  Use frv_small_data_reloc_p when deciding
6105         whether to use HIGH/LO_SUM for R_FRV_GOTOFF12 and R_FRV_GPREL12.
6106         2003-11-18  Alexandre Oliva  <aoliva@redhat.com>
6107         * config/frv/t-linux (SHLIB_MAPFILES): Override so as to export...
6108         * config/frv/libgcc-frv.ver: ... frv-specific symbols.  New file.
6109         * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local
6110         label, for real this time.
6111         * config/frv/frv.c (frv_local_funcdesc_p): Update to new
6112         representation of visibility.
6113         (fdpic_got12_operand, symbolic_operand): Mark unused arguments as
6114         such.
6115         2003-11-17  Richard Sandiford  <rsandifo@redhat.com>
6116         * config/frv/frv.h (MASK_LINKED_FP, TARGET_LINKED_FP): New macros.
6117         (TARGET_SWITCHES): Add -mlinked-fp and -mno-linked-fp.
6118         * config/frv/frv.c (frv_override_options): Set MASK_LINKED_FP unless
6119         it was explicitly disabled.
6120         (frv_stack_info): There is no need to save the link register in every
6121         frame unless TARGET_LINKED_FP is true.
6122         (frv_frame_pointer_required): If !TARGET_LINKED_FP, only require a
6123         frame pointer if the stack pointer might change value.
6124         (frv_return_addr_rtx): Check and process "count" argument.
6125         2003-11-14  Richard Sandiford  <rsandifo@redhat.com>
6126         * config/frv/frv-protos.h (frv_legitimize_address): Remove.
6127         (frv_find_base_term): Declare.
6128         * config/frv/frv.h (LEGITIMIZE_ADDRESS): Do nothing.
6129         (FIND_BASE_TERM): Define.
6130         (PREDICATE_CODES): Remove pic_register_operand, pic_symbolic_operand,
6131         small_data_register_operand, small_data_symbolic_operand.  Add
6132         symbolic_operand.
6133         * config/frv/frv.c (const_small_data_p, plus_small_data_p): Delete.
6134         (frv_print_operand_memory_reference, output_move_single): Remove
6135         special handling for unlegitimized sdata addresses.
6136         (frv_legitimate_address_p): Don't allow sums of SDA_BASE_REG
6137         and symbolic addresses.
6138         (frv_legitimize_address, frv_legitimize_fdpic_address): Delete.
6139         (frv_find_base_term): New function.
6140         (int_2word_operand): Check specifically for symbolic address constants.
6141         (pic_register_operand, pic_symbolic_operand): Delete.
6142         (small_data_register_operand, small_data_symbolic_operand): Delete.
6143         (dbl_memory_one_insn_operand): Don't call plus_small_data_p.
6144         Allow UNSPEC_GOT constants if !TARGET_FDPIC.
6145         (move_source_operand): Only accept CONSTs if they're a two-insn
6146         symbolic constant.
6147         (fdpic_got12_operand): Don't require TARGET_FDPIC.
6148         (frv_emit_movsi): Legitimize sdata and -mlibrary-pic addresses
6149         using gen_symGOTOFF2reg*.
6150         (frv_ifcvt_rewrite_mem): Remove (plus gr16 ...) special cases.
6151         (frv_rtx_costs): Give all MEM addresses a cost of 0.  Give MEMs
6152         themselves a cost of 3 insns.
6153         * config/mips/mips.md (*movsi_got): Allow for !TARGET_FDPIC too.
6154         Change predicate to symbolic_operand.
6155         (*movsi_high_got, *movsi_lo_sum_got): Likewise.
6156         (*movsi_lda_sdata): Delete.
6157         (*movsi_pic, movsi_high_pic, movsi_lo_sum_pic): Delete.
6158         2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
6159         * config.gcc: Add t-slibgcc-elf-ver and support --with-cpu for
6160         frv-*-*linux*.
6161         * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local
6162         label.
6163         * config/frv/frv.h (DRIVER_SELF_SPECS): Add blank before
6164         -multilib-library-pic.
6165         (LINK_SPEC): Add -z text for -mfdpic.
6166         * config/frv/frvbegin.c (__ROFIXUP_LIST__): Don't define on FDPIC.
6167         * config/frv/frvend.c (__ROFIXUP_END__): Likewise.
6168         * config/frv/linux.h (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC):
6169         Override.
6170         (OPTION_DEFAULT_SPECS, HAS_INIT_SECTION, INIT_SECTION_ASM_OP,
6171         FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION): Define.
6172         * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Use
6173         crtstuff-generated files.
6174         2003-10-31  Alexandre Oliva  <aoliva@redhat.com>
6175         * config.gcc: Add frv-*-*linux*.
6176         * config/frv/linux.h, config/frv/t-linux: New.
6177         2003-10-06  Alexandre Oliva  <aoliva@redhat.com>
6178         * config/frv/frv.h (LINK_SPEC): Pass -melf32frvfd to the linker
6179         when -mfdpic even if a linker script is explicitly listed.
6180         2003-10-02  Alexandre Oliva  <aoliva@redhat.com>
6181         * config/frv/frv.c (frv_override_options): Clear asm_out
6182         unaligned_op for SImode on FDPIC.
6183         (frv_emit_movsi): Use compute_reloc_for_constant to compute the
6184         argument passed to decl_readonly_section.
6185         (frv_assemble_integer): Revert 2003-09-30's change, but make the
6186         whole block run with FDPIC even with -fno-PIC.
6187         2003-10-02  Alexandre Oliva  <aoliva@redhat.com>
6188         * config/frv/frv.c (frv_cannot_force_const_mem): Don't force
6189         symbol or label plus offset to memory.
6190         (frv_emit_movsi): Emit GPREL only if -mgprel-ro.  Emit 32-bit
6191         GOTOFF and GPREL for LABEL_REF.
6192         * config/frv/frv.h (DRIVER_SELF_SPECS): Add -mgprel-ro with
6193         -mfdpic unless -mno-gprel-ro, -fpic or -fpie.
6194         (MASK_GPREL_RO, TARGET_GPREL_RO): New.
6195         (TARGET_SWITCHES): Added gprel-ro and no-gprel-ro.
6196         * doc/invoke.texi: Document them.
6197         2003-09-30  Alexandre Oliva  <aoliva@redhat.com>
6198         * config/frv/frv-protos.h (frv_gen_GPsym2reg): Declare.
6199         (frv_splittable_got_operand): Removed.
6200         * config/frv/frv.c (frv_cannot_force_const_mem): Reject HIGH and
6201         LO_SUM.  Add comments.
6202         (frv_override_options): Moved enabling of FDPIC to
6203         DRIVER_SELF_SPECS.  Don't enable MASK_DWORD.
6204         (frv_local_funcdesc_p): Remove unnecessary heck for flag_pie.
6205         (frv_legitimize_fdpic_address): Don't duplicate logic in
6206         frv_emit_movsi.
6207         (frv_gen_GPsym2reg): New.
6208         (unspec_got_name): Added gprel.
6209         (frv_expand_fdpic_call): Add support for inlining PLTs.
6210         (fdpic_fptr_operand): Renamed from frv_fdpic_fptr_operand.
6211         (gpr_or_int12_operand): Added GPREL12.
6212         (pic_symbolic_operand): Match even if !flag_pic for FDPIC.
6213         (small_data_symbolic_operand): Fail if FDPIC.
6214         (fdpic_splittable_got_operand): Removed.
6215         (fdpic_got12_operand): Added GPREL12.
6216         (frv_emit_movsi): Reorganize to avoid duplication.  Emit GPREL
6217         when appropriate.  Fix sdata GOTOFF.
6218         (frv_legitimate_constant_p): Require legitimate PIC operand for
6219         FDPIC with pic, but only a legitimate fdpic operand for non-pic.
6220         (frv_assemble_integer): Move FDPIC funcdesc handling out of
6221         flag_pic case.
6222         (frv_asm_out_constructor, frv_asm_out_destructor): Abort if
6223         frv_assemble_integer fails.
6224         * config/frv/frv.h (DRIVER_SELF_SPECS): New.
6225         (SUBTARGET_DRIVER_SELF_SPECS): New.
6226         (ASM_SPEC): Don't pass -mno-fdpic.
6227         (LINK_SPEC): Pass -melf32frvfd for FDPIC.
6228         (MASK_INLINE_PLT, TARGET_INLINE_PLT): New.
6229         (TARGET_SWITCHES): Add -minline-plt, -mno-inline-plt and
6230         -multilib-library-pic.
6231         (PREDICATE_CODES): Added fdpic_operand, fdpic_fptr_operand,
6232         condexec_si_media_operator, condexec_sf_add_operator and
6233         condexec_sf_conv_operator.  Removed condexec_sf_binary_operator
6234         and condexec_sf_unary_operator.
6235         * config/frv/frv.md (R_FRV_GPREL12, R_FRV_GPRELHI, R_FRV_GPRELLO):
6236         New.
6237         (movsi_got, movsi_high_got, movsi_lo_sum_got): Move before
6238         movsi_internal.  Give them internal names.  movsi_got has type
6239         int.
6240         (fdpic got splitters): Remove.
6241         (symGPREL2reg, symGPREL2reg_hilo): New.
6242         * config/frv/t-frv (MULTILIB_MATCHES): Don't map -fpic and -fPIC
6243         to -mlibrary-pic.  Map -multilib-library-pic to it.
6244         * doc/invoke.texi: -mfdpic, -minline-plt, -multilib-library-pic:
6245         Document.
6246         2003-09-28  Alexandre Oliva  <aoliva@redhat.com>
6247         * config/frv/frv.c (frv_function_symbol_referenced_p): Declare.
6248         (TARGET_CANNOT_FORCE_CONST_MEM): Define to...
6249         (frv_cannot_force_const_mem): New function.
6250         (const_small_data_p, plus_small_data_p): Update comments on sdata
6251         on FDPIC.
6252         (frv_override_options): Set flag_pie for FDPIC too.
6253         (frv_conditional_register_usage): Mark gr16 and gr17 as non-fixed,
6254         call-saved registers on FDPIC.
6255         (frv_stack_info): Don't preserve the PIC register on FDPIC, and
6256         don't force LR to be preserved.
6257         (frv_expand_prologue): Likewise.
6258         (frv_asm_output_mi_thunk): Use 12-bit funcdesc gotoff for -fpic.
6259         (frv_frame_pointer_required): Don't force it just because the
6260         FDPIC register is used.
6261         (frv_legitimate_address_p) <CONST>: Accept a legitimate FDPIC
6262         operand only if !condexec_p.
6263         (frv_legitimize_address): Return the FDPIC-legitimized address.
6264         Don't match small data here on FDPIC.
6265         (frv_legitimate_fdpic_operand_p): Don't accept unadorned function
6266         symbols.  Use TRUE/FALSE instead of 1/0.
6267         (frv_local_funcdesc_p): New.
6268         (frv_legitimize_fdpic_address): Rewrite to use GOTOFF and 12-bit
6269         immediates when possible.
6270         (pic_symbolic_operand): Accept SYMBOL_REFs and CONSTs in FDPIC.
6271         (dbl_memory_one_insn_operand): Accept addresses that add a REG and
6272         an UNSPEC_GOT.
6273         (frv_emit_movsi): Handle FDPIC before small data.  Use GOTOFF and
6274         12-bit immediates when possible.
6275         (frv_legitimate_constant_p): In FDPIC, reject SImode operands that
6276         are not legitimate pic operands.
6277         (frv_in_small_data_p): Re-enable for FDPIC.
6278         * config/frv/frv.h (SDA_BASE_REG): Remove comment about FDPIC.
6279         (FRV_GLOBAL_P): Removed.
6280         * config/frv/frv.md: Add modes to CONSTs.
6281         (movsi_got): New.
6282         (movsi_lo_sum_got): Use separate matches instead of match_dup.
6283         (movsi_high_pic, movsi_lo_sum_pic): Match on non-FDPIC only.
6284         (fdpic splittable operations): Match on flag_pic != 1.
6285         2003-09-22  Alexandre Oliva  <aoliva@redhat.com>
6286         * config/frv/frv.c (frv_asm_out_constructor,
6287         frv_asm_out_destructor): Pass to frv_assemble_integer the size in
6288         bytes, not bits.
6289         2003-09-19  Alexandre Oliva  <aoliva@redhat.com>
6290         * config/frv/frv.c (frv_assemble_integer): Reject complex
6291         expressions referencing function SYMBOL_REFs.
6292         * config/frv/frv.c (frv_function_symbol_referenced_p): New.
6293         (move_source_operand): Reject CONSTs that reference function
6294         SYMBOL_REFs on FDPIC.
6295         (frv_emit_movsi): If we get such a CONST, break it up.
6296         * config/frv/frv.h (CPP_SPEC): Define __FRV_FDPIC__ for -mfdpic.
6297         (TRANSFER_FROM_TRAMPOLINE): Use different definitions for FDPIC.
6298         * config/frv/frv.c (frv_print_operand) <I>: Recognize PLUS without
6299         MEM.
6300         (frv_assemble_integer): Don't use funcdesc for LABEL_REFs.
6301         (frv_trampoline_size): Increase for FDPIC.
6302         * config/frv/frv.h (TRAMPOLINE_ALIGNMENT): Bump to 64 for FDPIC.
6303         (TRANSFER_FROM_TRAMPOLINE): Handle FDPIC trampolines.
6304         * config/frv/frv.c (frv_legitimize_fdpic_address, frv_emit_movsi):
6305         Disable use of GOTOFF for now.
6306         (const_small_data_p, plus_small_data_p, frv_in_small_data_p):
6307         Disable use of small data in FDPIC for now.
6308         (frv_asm_output_mi_thunk): Implement for FDPIC.
6309         * config/frv/frv.h (SDA_BASE_REG): Set to -1 with FDPIC.
6310         * config/frv/frv.c (frv_asm_out_constructor): Use
6311         frv_assemble_integer for FDPIC pointers.
6312         (frv_asm_out_destructor): Likewise.
6313         * config/frv/frv.md (ldd): Fix order of operands.  Use
6314         address_operand for input.
6315         2003-09-18  DJ Delorie  <dj@redhat.com>
6316         * config/frv/frv.c (frv_legitimate_fdpic_operand_p): Remove UNSPEC_PIC.
6317         (unspec_got_name): Correct typo.
6318         (frv_emit_movsi): Pre-expand splittable GOTs.
6319         (frv_expand_fdpic_call): Rename gen_lddi to gen_ldd.
6320         * config/frv/frv.md (lddi): Fix syntax error, rename to ldd.
6321         (symGOT2reg_hilo, symGOTOFF2reg_hilo): New.
6322         * config/frv/t-frv: Add -mfdpic multilibs.
6323         * config/frv/frv.h (ASM_SPEC): Pass -mfdpic/-mno-fdpic.
6324         (TARGET_SWITCHES): Add -mno-fdpic, fix documentation.
6325         * config/frv/frv.c (frv_override_options): -mfdpic assumes
6326         flag_pic, default to 32-bit pics, require DWORD ops.
6327         (frv_override_options): Add W and Z constraints.
6328         (frv_expand_prologue): No pic prologue for -mfdpic.
6329         (frv_asm_output_mi_thunk): Support -mfdpic (soon).
6330         (frv_print_operand_memory_reference): Handle GOT constants.
6331         (frv_legitimate_address_p): Allow GOT constants.
6332         (frv_legitimize_address): Handle GOT addresses too.
6333         (frv_legitimate_fdpic_operand_p): New.
6334         (frv_legitimize_fdpic_address): New.
6335         (unspec_got_name): New.
6336         (frv_output_addr_const_extra): New.
6337         (frv_expand_fdpic_call): New.
6338         (frv_fdpic_fptr_operand): New.
6339         (gpr_or_int12_operand): Handle GOT operands.
6340         (int_2word_operand): Handle GOT operands.
6341         (fdpic_operand): New.
6342         (fdpic_splittable_got_operand): New.
6343         (fdpic_got12_operand): New.
6344         (frv_emit_movsi): Handle GOT operands.
6345         (frv_assemble_integer): -mfdpic doesn't use rofixups.
6346         (frv_print_operand): Support 'g' code for GOT operands.
6347         * config/frv/frv-protos.h: Add prototypes as needed.
6348         * config/frv/frv.md (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO,
6349         R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI,
6350         R_FRV_FUNCDESC_GOTLO, R_FRV_FUNCDESC_VALUE,
6351         R_FRV_FUNCDESC_GOTOFF12, R_FRV_FUNCDESC_GOTOFFHI,
6352         R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12, R_FRV_GOTOFFHI,
6353         R_FRV_GOTOFFLO): New.
6354         (movsi_high_got, movsi_lo_sum_got): New.
6355         (*movsi_pic): Don't use this splitter for -mfdpic.
6356         (addsi3): Allow GOT references also.
6357         (call, call_value): Handle -mfdpic separately.
6358         (call_fdpicdi, call_fdpicsi, lddi, call_value_fdpicdi,
6359         call_value_fdpicsi): New.
6360         (symGOT2reg, symGOT2reg_i, got splitters, symGOTOFF2reg,
6361         symGOTOFF2reg_i): New.
6362         * config/frv/frv.h (MASK_FDPIC): New.
6363         (TARGET_FDPIC): New.
6364         (TARGET_SWITCHES): Add -mfdpic.
6365         (FDPIC_FPTR_REGNO): New.
6366         (FDPIC_REGNO): New.
6367         (OUR_FDPIC_REG): New.
6368         (enum reg_class): Add FDPIC_REGS, FDPIC_FPTR_REGS, and
6369         FDPIC_CALL_REGS.
6370         (REG_CLASS_NAMES): Likewise.
6371         (REG_CLASS_CONTENTS): Likewise.
6372         (EXTRA_CONSTRAINT_FOR_Y): New, for 12-bit GOTs.
6373         (EXTRA_CONSTRAINT): Add it here.
6374         (FRV_GLOBAL_P): New.
6375         (OUTPUT_ADDR_CONST_EXTRA): New.
6377 2004-02-24  Kazu Hirata  <kazu@cs.umass.edu>
6379         * config/sparc/sparc.h: Remove commented-out definitions of
6380         TARGET_EDOM and GEN_ERRNO_RTX.
6382 2004-02-24  Kazu Hirata  <kazu@cs.umass.edu>
6384         * df.c, df.h, ra-build.c, ra-rewrite.c, ra.c, web.c: Replace
6385         df_analyse with df_analyze.
6387 2004-02-24  Alan Modra  <amodra@bigpond.net.au>
6389         * gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not
6390         beginning of block.
6392 2004-02-23  James E Wilson  <wilson@specifixinc.com>
6394         * calls.c (precompute_arguments): Update comment.
6396 2004-02-23  Kazu Hirata  <kazu@cs.umass.edu>
6398         * et-forest.c: Replace et_occurences with et_occurrences.
6400 2004-02-23  Kazu Hirata  <kazu@cs.umass.edu>
6402         * cfgloop.h, loop-iv.c, loop-unswitch.c: Replace iv_analyse
6403         with iv_analyze.
6405 2004-02-23  Kelley Cook  <kcook@gcc.gnu.org>
6407         * config/i386/i386.c: Rename pni to sse3.
6408         * config/i386/i386.h: Likewise.
6409         * config/i386/i386.md: Likewise.
6410         * config/i386/pmmintrin.h: Likewise.
6411         * doc/extend.texi: Likewise.
6412         * doc/invoke.texi: Likewise.
6414 2004-02-23  Zack Weinberg  <zack@codesourcery.com>
6415             Kazu Hirata  <kazu@cs.umass.edu>
6417         Remove -fwritable-strings.
6418         * c-common.c (fix_string_type): Don't check
6419         flag_writable_strings.
6420         (fix_string_type): Likewise.
6421         * c-opts.c (set_std_c89): Don't initialize
6422         flag_writable_strings.
6423         (set_std_c99): Likewise.
6424         * common.opt (fwritable-strings): Remove.
6425         * flags.h: Remove the external declaration of
6426         flag_writable_strings.
6427         * opts.c (common_handle_option) <OPT_fwritable_strings>:
6428         Remove.
6429         * toplev.c (flag_writable_strings): Remove.
6430         (f_options): Remove an entry for writable-strings.
6431         * varasm.c (const_hash_1) <STRING_CST>: Don't check
6432         flag_writable_strings.
6433         (compare_constant) <STRING_CST>: Likewise.
6434         (build_constant_desc): Likewise.
6435         * config/darwin.c (machopic_select_section): Likewise.
6436         * config/arm/arm.c (AOF_ASSEMBLER): Likewise.
6437         * config/arm/pe.c (arm_pe_encode_section_info): Likewise.
6438         * config/iq2000/iq2000.c (iq2000_select_section): Likewise.
6439         * config/mips/mips.c (mips_select_section): Likewise.
6440         (mips_encode_section_info): Likewise.
6441         * config/pa/pa.c (pa_select_section): Likewise.
6442         * config/pa/pa.h (TEXT_SPACE_P): Likewise.
6443         * config/v850/v850.c (v850_select_section): Likewise.
6444         * doc/invoke.texi (-fwritable-strings): Remove.
6445         (-fno-const-strings): Don't mention -fwritable-strings.
6446         * doc/trouble.texi: Don't mention -fwritable-strings.
6448 2003-02-23  Nathanael Nerode  <neroden@gcc.gnu.org>
6450         * doc/install.texi: Update for switch of boehm-gc to autoconf 2.57.
6452 2004-02-23  Dale Johannesen  <dalej@apple.com>
6454         * config/rs6000.md (movsf_hardfloat): Add POWER form of nop.
6455         (movdf_hardfloat64):  Ditto.
6456         (movdf_softfloat64):  Ditto.
6458 2004-02-23  Fariborz Jahanian <fjahanian@apple.com>
6459         * config/rs6000/rs6000.c (function_arg): call to
6460         rs6000_mixed_function_arg for DFmode moved to allow
6461         normal DFmode incoming register assignment.
6463 2004-02-23  Dale Johannesen  <dalej@apple.com>
6465         * config/rs6000.md (movsf_hardfloat): Accept CTR-to-CTR copy.
6466         (movdf_hardfloat64):  Ditto.
6468 2004-02-23  Kazu Hirata  <kazu@cs.umass.edu>
6470         * convert.c, gcov-io.c, libgcov.c, sched-int.h, sibcall.c,
6471         config/rs6000/linux.h, config/rs6000/rs6000-c.c: Update
6472         copyright.
6474 2004-02-23  Andrew Pinski  <pinskia@physics.uc.edu>
6476         PR c/14156
6477         * c-typeck.c (c_expand_return): Change check for VAR_DECL
6478         to use DECL_P instead.
6480         * config/rs6000/linux.h (OS_MISSING_POWERPC64): Define.
6481         * config/rs6000/linux64.h (OS_MISSING_POWERPC64): Define.
6483 2004-02-23  Kazu Hirata  <kazu@cs.umass.edu>
6485         * Makefile.in (opts.o): Depend on target.h.
6486         * opts.c (decode_options): Use targetm.default_short_enums
6487         instead of DEFAULT_SHORT_ENUMS.
6488         * system.h (DEFAULT_SHORT_ENUMS): Poison.
6489         * target-def.h (TARGET_DEFAULT_SHORT_ENUMS): New.
6490         (TARGET_INITIALIZER): Add TARGET_DEFAULT_SHORT_ENUMS.
6491         * target.h (gcc_target): Add default_short_enums.
6492         * config/cris/cris.h: Remove a comment about
6493         DEFAULT_SHORT_ENUMS.
6494         * config/ip2k/ip2k.h: Likewise.
6495         * doc/tm.texi (DEFAULT_SHORT_ENUMS): Change to
6496         TARGET_DEFAULT_SHORT_ENUMS.  Update the description.
6498 2004-02-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
6499             Falk Hueffner  <falk@debian.org>
6501         PR c/14188
6502         * builtins.c (expand_builtin_va_arg): Emit an informative message
6503         if a trap is generated.
6504         * c-typeck.c (build_function_call): Likewise.
6506 2004-02-22  Jakub Jelinek  <jakub@redhat.com>
6508         * gcov-io.c (gcov_open) [GCOV_LOCKED]: Use open + fdopen instead of
6509         fopen.
6510         * libgcov.c: Include sys/stat.h.
6511         * config/rs6000/linux.h (TARGET_HAS_F_SETLKW): Define.
6512         * config/rs6000/linux64.h (TARGET_HAS_F_SETLKW): Define.
6513         * config/sparc/linux.h (TARGET_HAS_F_SETLKW): Define.
6514         * config/sparc/linux64.h (TARGET_HAS_F_SETLKW): Define.
6516 2004-02-22  Kazu Hirata  <kazu@cs.umass.edu>
6518         * reorg.c: Remove comments about dead ports.
6520 2004-02-22  Christopher Faylor  <cgf@redhat.com>
6522         * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): *Really* specify
6523         extra host object file when targetting cygwin rather than generic
6524         object files.
6526 2004-02-22  Josef Zlomek  <zlomekj@suse.cz>
6528         Merge from tree-ssa:
6529         2003-11-20  Richard Henderson  <rth@redhat.com>
6531                 * tree-inline.c (insert_decl_map): New.
6532                 (remap_decl, remap_type, remap_block, copy_body_r,
6533                 initialize_inlined_parameters, declare_return_variable,
6534                 remap_save_expr): Use it.
6536         * function.c (copy_body_r): Add mapping from id->ret_label to
6537         id->ret_label.  Revert test for ret_label.
6539 2004-02-22  Jakub Jelinek  <jakub@redhat.com>
6541         * genoutput.c (process_template): Strip trailing whitespace in @
6542         templates and issue a warning if there was any.
6544 2004-02-21  Christopher Faylor  <cgf@redhat.com>
6546         * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host
6547         object file when targetting cygwin.
6548         * config/i386/t-cygwin (EXTRA_GCC_OBJS): Remove definition since it is
6549         overridden by top-level Makefile.
6551 2004-02-21  Roger Sayle  <roger@eyesopen.com>
6553         * config/i386/i386.c (standard_80387_constant_p): Also prefer
6554         the x87's load constant instructions when optimizing for size.
6556 2004-02-21  Kazu Hirata  <kazu@cs.umass.edu>
6558         * combine.c (SHIFT_COUNT_TRUNCATED): Remove.
6559         * defaults.h (SHIFT_COUNT_TRUNCATED): Provide the default.
6560         * expmed.c: Assume SHIFT_COUNT_TRUNCATED is always defined.
6561         * fold-const.c: Likewise.
6562         * simplify-rtx.c: Likewise.
6564 2004-02-21  Alan Modra  <amodra@bigpond.net.au>
6566         * combine.c (can_combine_p): Don't ignore SETs marked with
6567         REG_EH_REGION notes.
6568         (try_combine): When attemting to fix unrecognized insns, don't
6569         split a PARALLEL that contains the original i2.
6571 2004-02-21  Ziemowit Laski  <zlaski@apple.com>
6573         * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to
6574         SUBTARGET_OPTION_TRANSLATE_TABLE for architecture-specific options.
6575         * config/i386/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): Define it.
6576         * config/rs6000/altivec.h: #error out if '-maltivec' not specified.
6577         (vector, pixel, bool): #define to __vector, __pixel and __bool.
6578         (__un_args_eq, __bin_args_eq, __tern_args_eq): Move to C-specific
6579         portion of header.
6580         (__altivec_link_error_invalid_argument): Remove prototype; will use
6581         __builtin_altivec_compiletime_error("vec_*") instead.
6582         (vec_*): Fix/complete set of available operation overloads given the
6583         existence of distinct 'vector bool ...' and 'vector pixel' types; tighten
6584         cv-correctness of pointer arguments; in C, always check for correct
6585         argument types before macro expansion.
6586         * config/rs6000/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): New macro
6587         defining Darwin/PowerPC-specific '-f[no-]altivec' and
6588         '-W[no-]altivec-long-deprecated' switches.
6589         * config/rs6000/rs6000-c (rs6000_cpu_cpp_builtins): Pre-define
6590         '__vector', '__pixel' and '__bool' macros using
6591         '__attribute__((altivec(...)))' types.
6592         * config/rs6000/rs6000.c (bool_char_type_node, bool_short_type_node,
6593         bool_int_type_node, pixel_type_node, bool_V16QI_type_node,
6594         bool_V8HI_type_node, bool_V4SI_type_node, pixel_V8HI_type_node):
6595         New type nodes.
6596         (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): New, for
6597         handling '-W[no-]altivec-long-deprecated'.
6598         (rs6000_override_options): Handle '-W[no-]altivec-long-deprecated'.
6599         (rs6000_expand_binop_builtin, rs6000_expand_ternop_builtin,
6600         altivec_expand_dst_builtin): Remove casts from integer literals.
6601         (altivec_expand_builtin): Likewise; handle expansion of new
6602         '__builtin_altivec_compiletime_error' function.
6603         (rs6000_init_builtins): Initialize 'vector bool ...' and 'vector pixel'
6604         types, and make them distinct from other vector types; register
6605         '__builtin_altivec_compiletime_error' function.
6606         (print_operand): For 'P', print a full target register name instead of
6607         merely its number.
6608         (rs6000_attribute_table): Add "altivec" attribute.
6609         (rs6000_handle_altivec_attribute): New function.
6610         * config/rs6000/rs6000.h (TARGET_OPTIONS): Describe
6611         '-m[no-]-warn-altivec-long' (which '-W[no-]altivec-long-deprecated'
6612         maps to).
6613         (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): Forward
6614         declare.
6615         (ALTIVEC_BUILTIN_COMPILETIME_ERROR): New built-in enumeration.
6617 2004-02-20  James E Wilson  <wilson@specifixinc.com>
6619         * config/ia64/ia64.md (shift_mix4left+1): Delete reload_completed
6620         check.
6621         (shift_mix4left+2): Delete redundant pattern.
6623 2004-02-20  Kazu Hirata  <kazu@cs.umass.edu>
6625         * alias.c (OUTGOING_REGNO): Don't define the default.
6626         * builtins.c (OUTGOING_REGNO): Likewise.
6627         (INCOMING_REGNO): Likewise.
6628         (apply_args_register_offset): Always use OUTGOING_REGNO.
6629         * combine.c (OUTGOING_REGNO): Likewise.
6630         * sibcall.c (OUTGOING_REGNO): Likewise.
6631         * defaults.h (INCOMING_REGNO): Provide the default.
6632         (OUTGOING_REGNO): Likewise.
6634 2004-02-21  Jan Hubicka  <jh@suse.cz>
6636         * params.def (max-peeled-insns, max-completely-peeled-insns,
6637         max-once-peeled-insns): Set to 400.
6639 2004-02-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6641         PR c++/12007
6642         * dbxout.c (dbxout_parms): Check that DECL_RTL and DECL_INCOMING_RTL
6643         are set for parameters before outputing debugging information.
6645 2004-02-20  Falk Hueffner  <falk@debian.org>
6647         PR target/14201
6648         * config/alpha/alpha.md (*fix_truncsfsi_ieee): Fix typoed operand
6649         numbers.
6651 2004-02-20  Per Bothner  <per@bothner.com>
6653         * input.h:  Don't #include line-map.h.  It may cause link problems
6654         with undefined linemap_line_start when line-map.h is included but
6655         line-map.o is not linked, as currently happens with gengtype on
6656         compilers that don't support inline.
6657         * toplev.c:  So we do have to explicitly #include line-map.h here.
6659 2004-02-20  Richard Henderson  <rth@redhat.com>
6661         * doc/invoke.texi: Add -Wvariadic-macros.
6663 2004-02-20  Kazu Hirata  <kazu@cs.umass.edu>
6665         * haifa-sched.c (sched_emit_insn): Remove.
6666         * sched-int.h: Remove the corresponding prototype.
6668 2004-02-20  Kazu Hirata  <kazu@cs.umass.edu>
6670         Revert:
6671         2004-02-19  Kazu Hirata  <kazu@cs.umass.edu>
6672         * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
6673         * system.h (DEFAULT_SHORT_ENUMS): Poison.
6674         * config/cris/cris.h: Remove a comment about
6675         DEFAULT_SHORT_ENUMS.
6676         * config/ip2k/ip2k.h: Likewise.
6677         * doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove.
6679 2004-02-20  Mohan Embar  <gnustuff@thisiscool.com>
6680             Tom Tromey  <tromey@redhat.com>
6682         * doc/install.texi: Moved --disable-libgcj and
6683         --with-system-zlib documentation to new section for
6684         Java-specific options.
6685         Added explicit Cross-Compiler-Specific Options subheading.
6686         Added section for Java-specific options.
6688 2004-02-20  Matt Kraai  <kraai@alumni.cmu.edu>
6690         * doc/install.texi (Building the Ada compiler): Remove
6691         example.
6693 2004-02-20  James E Wilson  <wilson@specifixinc.com>
6695         * toplev.c (dump_file_index, dump_file): Put ce3 before rnreg.
6697 2004-02-20  Kazu Hirata  <kazu@cs.umass.edu>
6699         * gcc.c (process_command): Allow translation of the copyright
6700         symbol but not the rest of the copyright message.
6701         * gcov.c (print_version): Likewise.  Allow translation of the
6702         message about warranty.
6704 2004-02-20  Hans-Peter Nilsson  <hp@axis.com>
6706         * config/cris/cris.md ("*andsi_movu"): Correct parentheses in
6707         predicate.
6708         ("*andsi_clear"): Tweak constraints to not match postincrement.
6709         Adjust the predicate to exclude a volatile memory reference.
6710         ("*andhi_clear"): Ditto.  Rename from "*andhi_clear_signed".
6711         ("*andhi_clear_unsigned"): Remove, non-matching pattern.
6713 2004-02-19  Matt Kraai  <kraai@alumni.cmu.edu>
6715         * move-if-change: Remove.
6716         * Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
6717         (s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
6718         (s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
6719         (s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
6720         (s-gtyp-gen, s-iov): Use the top level move-if-change.
6721         * objc/Make-lang.in (objc/objc-parse.y): Likewise.
6723 2004-02-19  James E Wilson  <wilson@specifixinc.com>
6725         * config/i386/i386.md (doloop_end_internal): Use nonimmediate_operand
6726         for operand2.  Add condition that requires register_operand operand2
6727         before reload.
6729 2004-02-19  Richard Sandiford  <rsandifo@redhat.com>
6730             Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6732         * config/mips/mips.c (mips_address_insns): Treat BLKmode specially.
6733         * config/mips/mips.md: Expand comment above unaligned loads and stores.
6735 2004-02-19  Richard Henderson  <rth@redhat.com>
6737         * Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros.
6738         * tree.c (build0, build1, build2, build3, build4): Split out from...
6739         (build): ... here.  Call them.
6740         * tree.h (build, _buildN1, _buildN2, _buildC1, _buildC2): New.
6742         * convert.c (convert_to_integer): Remove extra build argument.
6743         * tree-inline.c (expand_call_inline): Likewise.
6745 2004-02-19  Richard Henderson  <rth@redhat.com>
6747         * c-opts.c (warn_variadic_macros): New.
6748         (c_common_handle_option): Set it.
6749         (sanitize_cpp_opts): Copy it to cpp_opts.
6750         * c.opt (Wvariadic-macros): New.
6751         * cpplib.h (struct cpp_options): Add warn_variadic_macros.
6752         * cppinit.c (cpp_create_reader): Initialize it.
6753         * cppmacro.c (parse_params): Check it.
6755 2004-02-19  David Daney <ddaney@avtrex.com>
6757         PR preprocessor/14198
6758         * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add
6759         builtin_assert ("machine=mips")
6761 2004-02-19  Kazu Hirata  <kazu@cs.umass.edu>
6763         * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
6764         * system.h (DEFAULT_SHORT_ENUMS): Poison.
6765         * config/cris/cris.h: Remove a comment about
6766         DEFAULT_SHORT_ENUMS.
6767         * config/ip2k/ip2k.h: Likewise.
6768         * doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove.
6770 2004-02-19  Zack Weinberg  <zack@codesourcery.com>
6772         * config/ia64/ia64.c (ia64_function_arg): In big-endian mode,
6773         when passing single SFmode quantities in general registers,
6774         put them in the high half.
6776 2004-02-19  Aldy Hernandez  <aldyh@redhat.com>
6778         * doc/md.texi (Standard Names): Document additional dependency on
6779         fix pattern.
6781         * optabs.c (ftruncify): Remove.
6782         (expand_fix): Manually inline ftruncify above.
6783         (can_fix_p): Add FIXME note.
6785 2004-02-19  Aldy Hernandez  <aldyh@redhat.com>
6787         * config/rs6000/spe.md (spe_fixunssfsi2): Rename to
6788         spe_fixuns_truncsfsi2.
6790         * config/rs6000/rs6000.md (fixunssfsi2): Rename to
6791         fixuns_truncsfsi2.
6793 2004-02-19  Steve Ellcey  <sje@cup.hp.com>
6795         * config/ia64/ia64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
6796         * testsuite/gcc.dg/20040219-1.c: New test.
6798 2004-02-19  Ulrich Weigand  <uweigand@de.ibm.com>
6800         * config/s390/s390.md ("*subdf3_cc", "*subdf3_cconly", "*subsf3_cc",
6801         "*subsf3_cconly"): Subtraction is not commutative.
6803 2004-02-19  Zack Weinberg  <zack@codesourcery.com>
6805         * sdbout.c (preinit_symbols, sdbout_initialized): New statics.
6806         (sdbout_symbol): If called before sdbout_init, queue DECL for
6807         later and return.
6808         (sdbout_init): Set sdbout_initialized true, process decls
6809         queued earlier by sdbout_symbol.
6810         (sdbout_finish): Use size_t for index variable.
6812 2004-02-19  Jeff Law  <law@redhat.com>
6814         * fold-const.c (invert_truthvalue): Do not call invert_tree_comparison
6815         for unordered comparison codes.
6817 2004-02-19  Ian Lance Taylor  <ian@wasabisystems.com>
6819         * reload1.c (reload): Correct comment.
6820         (scan_paradoxical_subregs): Remove #if 0 and old comment.
6821         * doc/extend.texi (Local Reg Vars): Remove obsolete comment that
6822         register variables are not used by reload.
6824 2004-02-19  Hans-Peter Nilsson  <hp@axis.com>
6826         PR target/14209
6827         * config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak
6828         constraints to not match postincrement.  Adjust the predicate to
6829         exclude a volatile memory reference.
6831 2004-02-19  Kazu Hirata  <kazu@cs.umass.edu>
6833         * config/mcore/mcore.h (ASM_OUTPUT_EXTERNAL): Remove.
6835 2004-02-19  Kazu Hirata  <kazu@cs.umass.edu>
6837         * hooks.c (hook_void_tree_int): Remove.
6838         (hook_void_constcharptr): Likewise.
6839         (hook_int_void_0): Likewise.
6840         * hooks.h: Remove the prototypes for the above three
6841         functions.
6842         * targhooks.c (hook_bool_machine_mode_true): Remove.
6843         * targhooks.h: Remove the prototype for
6844         hook_bool_machine_mode_true.
6846 2004-02-19  Kazu Hirata  <kazu@cs.umass.edu>
6848         * emit-rtl.c (subreg_realpart_p): Remove.
6849         (reorder_insns_with_line_notes): Likewise.
6850         (end_full_sequence): Likewise.
6851         * rtl.h: Remove the prototype for the above functions.
6853 2004-02-19  Kazu Hirata  <kazu@cs.umass.edu>
6855         * config/arc/arc.h, config/arm/arm.h, config/frv/frv.h,
6856         config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h,
6857         config/iq2000/iq2000.h, config/m32r/m32r.h,
6858         config/pdp11/pdp11.h, config/sparc/sparc.h,
6859         config/xtensa/xtensa.h: Remove commented-out or useless
6860         definitions of CASE_VECTOR_PC_RELATIVE.
6862 2004-02-19  Kazu Hirata  <kazu@cs.umass.edu>
6864         * loop.c (all_sets_invariant_p): Remove.
6866 2004-02-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
6868         PR target/12916
6869         * config/sparc/sparc.h (NPARM_REGS): Delete.
6870         (BASE_RETURN_VALUE_REG): Likewise.
6871         (BASE_OUTGOING_VALUE_REG): Likewise.
6872         (BASE_PASSING_ARG_REG): Likewise.
6873         (BASE_INCOMING_ARG_REG): Likewise.
6874         * config/sparc/sparc.c (sparc_strict_argument_naming): Test
6875         TARGET_ARCH64, not TARGET_V9.
6876         (function_arg_slotno): Dispatch based on the mode class.
6877         Handle vector modes like floating-point modes.
6878         (function_arg_record_value_1): Handle vector types like
6879         floating-point types.
6880         (function_arg_record_value_2): Likewise.
6881         Calculate regno after mode transformation.
6882         (function_arg): Handle vector modes like floating-point modes.
6883         (function_arg_partial_nregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX.
6884         If ARCH64, do not recheck alignment.
6885         (function_arg_pass_by_reference): Reorder the conditions.
6886         (sparc_return_in_memory): Move after function_arg_padding.
6887         Implement calling conventions for vector modes.
6888         (sparc_struct_value_rtx): Move after sparc_return_in_memory.
6889         (function_value): Move scope of 'regbase'.
6890         Implement calling conventions for vector modes.
6891         (sparc_builtin_saveregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX
6892         and BASE_INCOMING_ARG_REG by SPARC_INCOMING_INT_ARG_FIRST.
6893         (sparc_va_arg): Use function_arg_pass_by_reference to test whether
6894         the argument is passed by reference.
6895         (sparc_type_code): Handle vector types.
6897 2004-02-19  Alan Modra  <amodra@bigpond.net.au>
6899         * function.c (assign_parms): When building decl_rtl for
6900         SPLIT_COMPLEX_ARGS, ensure inner modes of concat match outer.
6902 2004-02-19  Olivier Hainque  <hainque@act-europe.fr>
6904         * expr.c (is_aligning_offset): Check if we are aligning the
6905         expressions's address over BIGGEST_ALIGNMENT in bytes, not
6906         in bits.
6908 2003-02-18  Matt Austern  <austern@apple.com>
6910         * gcc.c (LIBGCC_SPEC): If REAL_LIBGCC_SPEC is defined, and
6911         LIBGCC_SPEC isn't, set LIBGCC_SPEC to REAL_LIBGCC_SPEC.
6912         (init_gcc_spec): Don't define or call if REAL_LIBGCC_SPEC is
6913         defined.  Instead use REAL_LIBGCC_SPEC, unmodifed, as the libgcc
6914         spec string.
6915         * doc/tm.texi (REAL_LIBGCC_SPEC): Document.
6917 2004-02-18  Zack Weinberg  <zack@codesourcery.com>
6919         * dwarf2out.c (loclabel_num): Move outside #ifdef
6920         DWARF2_DEBUGGING_INFO and mark with GTY(()).
6921         * config/ia64/ia64.c (struct extern_func_list,extern_func_head):
6922         Mark with GTY(()).
6923         (ia64_hpux_add_extern_decl): Save the decl, not the name string.
6924         Allocate memory with ggc_alloc.  No need to copy anything.
6925         (ia64_hpux_file_end): Update to match.
6927 2004-02-18  Jakub Jelinek  <jakub@redhat.com>
6929         * config/i386/i386.c (override_options): Don't imply 3DNow! for -m64
6930         by default.
6932 2004-02-18  Ulrich Weigand  <uweigand@de.ibm.com>
6934         * config/s390/s390.md ("divmodtidi3"): Use canonical RTL.
6935         ("divmodtisi3"): Likewise.
6936         ("udivmoddi4", "udivmodtidi3"): Likewise.
6937         ("divmodsi4", "divmoddisi3"): Likewise.
6938         ("udivmodsi4", "udivmoddisi3"): Likewise.
6939         ("udivsi3", "umodsi3"): Likewise.
6941 2004-02-18  Ulrich Weigand  <uweigand@de.ibm.com>
6943         * config/s390/s390.c (s390_mainpool_start): Delete the main pool
6944         placeholder insn when chunkifying the pool.
6946 2004-02-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6948         * pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not
6949         generating PIC code.
6951 2004-02-18  Kazu Hirata  <kazu@cs.umass.edu>
6953         * config/h8300/h8300-protos.h: Add a prototype for
6954         h8300_expand_branch.
6955         * config/h8300/h8300.c (h8300_expand_branch): New.
6956         * config/h8300/h8300.md (ble, bleu, bge, bgeu, blt, bltu, bgt,
6957         bgtu, beq, bne): Call h8300_expand_branch().
6959 2004-02-18  Kazu Hirata  <kazu@cs.umass.edu>
6961         * config/h8300/h8300-protos.h: Add prototypes for
6962         h8300_hard_regno_nregs and h8300_hard_regno_mode_ok.
6963         * config/h8300/h8300.c (h8300_hard_regno_nregs): New.
6964         (h8300_hard_regno_mode_ok): Likewise.
6965         * config/h8300/h8300.h (HARD_REGNO_NREGS): Call
6966         h8300_hard_regno_nregs().
6967         (HARD_REGNO_MODE_OK): Call h8300_hard_regno_mode_ok().
6969 2004-02-18  Per Bothner  <per@bothner.com>
6971         * cpphash.h (struct cpp_buffer):  Restore return_at_eof field.  This
6972         partly reverts my 2003-10-01 change, because we're back to logically
6973         including <command line> inside the main line.
6974         * cpplex.c (_cpp_get_fresh_line):  Check return_at_eof field.
6975         * cppmacro.c (cpp_scan_nooutput):  Set return_at_eof of current buffer.
6976         Fixes PR preprocessor/14103.
6978         * cppfiles.c (_cpp_stack_include):  When appropriate decrement
6979         line_table's highest_location, fixing LAST_SOURCE_LINE_LOCATION.
6980         (cpp_push_include):  Don't need to increment pfile's line field.
6981         * line-map.h (LAST_SOURCE_LINE_LOCATION):  Only decrement by 1.
6983         * c-ppoutput.c (print struct):  New first_time field.
6984         (init_pp_output):  Set print.first_time.
6985         (pp_file_change):  Use print.first_time, rather than MAIN_FILE_P,
6986         which is set also for (say) <command line>.  Clear print.first_time.
6988         * cppfiles.c (struct _cpp_file):  Comment and type for pch field
6989         does not match the code, so fix both.
6990         (should_stack_file):  Inline include_pch_p function.
6991         (include_pch_p):  Remove pointless function.
6993         * cpphash.h (struct cpp_buffer):  Remove unused search_cached field.
6995 2004-02-18  Kazu Hirata  <kazu@cs.umass.edu>
6997         * config/h8300/h8300.md (four define_peephole2's): Use
6998         h8300_regs_ok_for_stm().
7000 2004-02-18  Kazu Hirata  <kazu@cs.umass.edu>
7002         * config/h8300/h8300-protos.h: Update the prototype for
7003         expand_a_rotate().
7004         * config/h8300/h8300.c (expand_a_rotate): Remove the first
7005         argument.
7006         * config/h8300/h8300.md: Update all callers.
7008 2004-02-18  Jan Hubicka  <jh@suse.cz>
7010         * simplify-rtx.c (simplify_unary_operation): Deal with logicals on
7011         floats.
7012         (simplify_binary_operation): Deal with logicals on floats.
7014         * i386.md (SSE fabs splitters): Emit new patterns.
7015         (SSE cmov splitters): Likewise.
7016         (sse_andv4sf3, sse_nandv4sf3, sse_iorv4sf3, sse_xorv4sf3
7017         (sse_andv2df3, sse_nandv2df3, sse_iorv2df3, sse_xorv2df3): Do not use
7018         subregs.
7019         (sse_andsf3, sse_nandsf3, sse_xorsf3): Kill.
7020         (sse_anddf3, sse_nanddf3, sse_xordf3): Kill.
7022 2004-02-18  Kazu Hirata  <kazu@cs.umass.edu>
7024         * config/h8300/h8300.c (expand_a_rotate): Don't generate insns
7025         by hand.
7026         (output_a_rotate): Tweak a comment.
7027         * config/h8300/h8300.md (*rotlqi3_1): Change to rotlqi3_1.
7028         (*rotlhi3_1): Change to rotlhi3_1.
7029         (*rotlsi3_1): Change to rotlsi3_1.
7031 2004-02-18  Richard Earnshaw  <rearnsha@arm.com>
7033         PR target/13866
7034         * arm.c (load_multiple_operation): Don't insist that the source reg
7035         of a post-increment component is the same as the destination.
7036         (store_multiple_operation): Likewise.
7038 2004-02-18  Kazu Hirata  <kazu@cs.umass.edu>
7040         * config/h8300/h8300.md: Move movsf patterns into one section
7041         of the file.
7043 2004-02-18  Kazu Hirata  <kazu@cs.umass.edu>
7045         * cfgloop.h, cfgloopanal.c, cpplex.c, except.h, loop-init.c,
7046         loop-unroll.c, scan-decls.c, scan.h, stor-layout.c,
7047         xcoffout.c, xcoffout.h, config/arm/mmintrin.h,
7048         config/mips/linux64.h, config/pa/pa-64.h,
7049         config/rs6000/aix51.h, config/rs6000/aix52.h,
7050         config/rs6000/spe.md, config/sparc/linux.h,
7051         config/sparc/linux64.h: Update copyright.
7053 2004-02-18  Kazu Hirata  <kazu@cs.umass.edu>
7055         * config/h8300/h8300.md: Move push patterns into one
7056         section of the file.
7058 2004-02-18  Mark Mitchell <mark@codesourcery.com>
7060         PR c++/11326
7061         * config/ia64/ia64.c (ia64_struct_value_rtx): Cope with NULL
7062         fntype.
7064 2004-02-18  Paul Brook  <paul@codesourcery.com>
7066         * rtlanal.c (rtx_varies_p): Return 0 for NULL_RTX
7068 2004-02-18  Paul Brook  <paul@codesourcery.com>
7070         PR debug/12934
7071         * dwarf2out.c (loc_descriptor_from_tree): Handle
7072         EXPR_WITH_FILE_LOCATION.
7074 2004-02-18  Jakub Jelinek  <jakub@redhat.com>
7076         * config/i386/i386.md (zero_extendqidi2, zero_extendqidi2,
7077         testdi_1_rex64, anddi_2, xordi_1_rex64, xordi_2_rex64): Remove
7078         trailing whitespace from instructions.
7080 2004-02-17  Geoffrey Keating  <geoffk@apple.com>
7082         * configure.ac: When generating auto-build.h, pass
7083         --enable-languages to the sub-configure.
7084         Put quotes around ${program_transform_name} when generating
7085         name of as, ld, nm, objdump.
7086         * configure: Regenerate.
7088 2004-02-17  Matt Kraai  <kraai@alumni.cmu.edu>
7090         * Makefile.in (s-check, s-config, s-conditions, s-flags)
7091         (s-codes, s-constants, s-emit, s-recog, s-opinit, s-extract)
7092         (s-peep, s-attr, s-attrtab, s-output, s-genrtl, s-modes)
7093         (s-preds, s-iov): Do not depend on move-if-change.
7095 2004-02-17  James E Wilson  <wilson@specifixinc.com>
7097         * caller-save.c (insert_restore): Pass mem through copy_rtx.
7098         (insert_save): Likewise.
7100 2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
7102         * config/h8300/h8300.c (h8300_emit_stack_adjustment): Fix a
7103         warning.
7105 2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
7107         * config/h8300/h8300.md (*one_complsi2_h8300): Change to
7108         *one_cmplsi2_h8300.
7109         (*one_complsi2_h8300hs): Change to *one_cmplsi2_h8300hs.
7111 2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
7113         * config/h8300/h8300-protos.h: Update the prototype of
7114         fix_bit_operand().
7115         * config/h8300/h8300.c (fix_bit_operand): Remove the second
7116         argument "what".
7117         * config/h8300/h8300.md: Update all callers.
7119 2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
7121         * config/h8300/h8300.c (fix_bit_operand): Change the name of
7122         the last argument to "code" from "type".
7124 2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
7126         * config/h8300/h8300.c: Remove an extern declaration of
7127         rtx_equal_function_value_matters.
7129 2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
7131         * config/h8300/h8300.c (fix_bit_operand): Don't generate insns
7132         by hand.
7133         * config/h8300/h8300.md (*andqi3_1): Change to andqi3_1.
7134         (*iorqi3_1): Change to iorqi3_1.
7135         (*xorqi3_1): Change to xorqi3_1.
7137 2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
7139         * c-common.c, cfghooks.c, rtlanal.c, varasm.c: Fix comment
7140         typos.
7142 2004-02-17  Jan Hubicka  <jh@suse.cz>
7144         * i386.c (x86_prologue_using_move, x86_epilogue_using_move): Disable for P4.
7146 2004-02-18  Alan Modra  <amodra@bigpond.net.au>
7148         PR optimization/14119
7149         * combine.c (try_combine): When attemting to fix unrecognized insns,
7150         don't delete SETs marked with REG_EH_REGION notes.
7152 2004-02-17  Ulrich Weigand  <uweigand@de.ibm.com>
7154         * combine.c (simplify_if_then_else): Do not replace
7155         (if_then_else (ne reg 0) (0) (const_int)) by (reg) if the
7156         modes differ.
7158 2004-02017  Steven Bosscher  <stevenb@suse.de>
7160         * (c-decl.c, c-semantics.c, calls.c, cgraph.c, cgraphunit.c,
7161         function.c, integrate.c, print-tree.c, toplev.c, tree-optimize.c,
7162         tree.h): Replace DECL_SAVED_INSNS with DECL_STRUCT_FUNCTION.
7163         * ada/utils.c: Likewise.
7164         * cp/decl.c: Likewise.
7165         * f/com.c: Likewise.
7166         * java/class.c: Likewise.
7168 2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
7170         * config/h8300/h8300.md: Fix comment typos.
7172 2004-02-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7174         * config/mips/t-iris6gld: Renamed to ...
7175         * config/mips/t-irix-gld: ... this.
7176         * config.gcc (mips-sgi-irix6*): Reflect this
7177         (mips-sgi-irix5*): Use it with GNU ld.
7179         * config/mips/irix6-crti.asm, config/mips/irix6-crtn.asm: Renamed
7180         to ...
7181         * config/mips/irix-crti.asm, config/mips/irix-crtn.asm: ... this.
7182         * config/mips/t-irix-gld: Reflect this.
7183         * config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
7185         * config/mips/iris5gld.h: New file.
7186         * config.gcc (mips-sgi-irix5*): Use it with GNU ld.
7187         Only use collect2 without gas.
7189         * config/mips/iris6.h (IRIX6_STARTFILE_SPEC, IRIX6_ENDFILE_SPEC):
7190         Renamed to IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC.
7191         (STARTFILE_SPEC, ENDFILE_SPEC, SUBTARGET_EXTRA_SPECS): Reflect this.
7192         * config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
7194         * config/mips/iris6.h (SUBTARGET_EXTRA_SPECS): Moved ...
7195         * config/mips/iris5.h: ... here.
7197         * config/mips/iris5.h (STARTFILE_SPEC, ENDFILE_SPEC): Renamed to
7198         IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC.
7199         (STARTFILE_SPEC, ENDFILE_SPEC): Define.
7201         * config/mips/iris5gas.h (STARTFILE_SPEC, ENDFILE_SPEC): Simplify
7202         using irix_startfile_spec, irix_endfile_spec.
7204 2004-02-16  Gunther Nikl  <gni@gecko.de>
7206         * config/m68k/m68k.c: Remove obsolete support for HPUX_ASM.
7208 2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
7210         * config/h8300/h8300.c (h8300_expand_prologue): Don't generate
7211         insns by hand.
7213 2004-02-17  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
7215         * cfghooks.c (split_edge): Speed up updating of dominators.
7217 2004-02-17  Mark Mitchell  <mark@codesourcery.com>
7219         PR c++/11326
7220         * c-common.c (flag_abi_version): Remove.
7221         * c-common.h (flag_abi_version): Likewise.
7222         * c-opts.c (c_common_handle_option): Remove OPT_fabi_version case.
7223         * c.opt (fabi-version): Remove.
7224         * calls.c (expand_call): Always pass a function type to
7225         struct_value_rtx.  Use convert_memory_address.
7226         * common.opt (fabi-version): Add it.
7227         * flags.h (flag_abi_version): Likewise.
7228         (abi_version_at_least): New macro.
7229         * opts.c (common_handle_option): Add OPT_fabi_version.
7230         * toplev.c (flag_abi_version): Define it.
7231         * config/ia64/ia64.c (ia64_struct_retval_addr_is_first_parm_p):
7232         New function.
7233         (ia64_output_mi_thunk): Use it.
7234         (ia64_struct_value_rtx): Likewise.
7236 2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
7238         * config/h8300/h8300.c (h8300_emit_stack_adjustment):
7239         Don't generate insns by hand.
7241 2004-02-17  Andrew Pinski  <pinskia@physics.uc.edu>
7243         PR c++/14178
7244         * doc/invoke.texi (fabi-version): The default is 2 now.
7246 2004-02-17  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
7248         * loop-iv.c: New file.
7249         * Makefile.in (loop-iv.o): New.
7250         * basic_block.h (FOR_BB_INSNS, FOR_BB_INSNS_REVERSE): New macros.
7251         * cfgloop.c (fill_sons_in_loop, get_loop_body_in_dom_order,
7252         num_loop_branches): New functions.
7253         * cfgloop.h (get_loop_body_in_dom_order, num_loop_branches,
7254         iv_analysis_loop_init, iv_get_reaching_def, iv_analyse, get_iv_value,
7255         find_simple_exit, iv_number_of_iterations, iv_analysis_done,
7256         get_simple_loop_desc, free_simple_loop_desc): Declare.
7257         (simple_loop_desc): New inline function.
7258         (struct rtx_iv, struct niter_desc): New.
7259         * cfgloopmanip.c (loopify): Specify semantics more precisely.
7260         * expr.c (force_operand): Handle subregs of expressions created by
7261         loop unroller.
7262         * loop-init.c (loop_optimizer_init, loop_optimizer_finalize): Move
7263         parts of the initialization to toplev.c
7264         * loop-unroll.c (loop_exit_at_end_p): New.
7265         (unroll_and_peel_loops): Call iv_analysis_done.
7266         (decide_peel_once_rolling, decide_peel_completely,
7267         decide_unroll_stupid, decide_unroll_constant_iterations,
7268         decide_unroll_runtime_iterations, decide_peel_simple,
7269         peel_loop_simple, unroll_loop_stupid, unroll_loop_constant_iterations,
7270         unroll_loop_runtime_iterations): Use new simple loop analysis.
7271         * loop-unswitch.c (compare_and_jump_seq): New.
7272         (may_unswitch_on_p): Renamed to ...
7273         (may_unswitch_on): Use new iv analysis.
7274         (reversed_condition): Export.
7275         (unswitch_single_loop, unswitch_loop): Use new iv analysis.
7276         * predict.c (estimate_probability): Use new simple loop analysis.
7277         * rtl.h (get_mode_bounds, reversed_condition,compare_and_jump_seq,
7278         canon_condition, simplify_using_condition): Declare.
7279         * stor-layout.c (get_mode_bounds): New.
7280         * toplev.c (rest_of_handle_loop2): Some parts of
7281         initialization/finalization moved here from loop-init.c.
7283 2004-02-17  Kazu Hirata  <kazu@cs.umass.edu>
7285         * config/h8300/h8300.h (FIXED_REGISTERS): Add the soft frame
7286         pointer.
7287         (CALL_USED_REGISTERS): Likewise.
7288         (REG_ALLOC_ORDER): Likewise.
7289         (REG_CLASS) <GENERAL_REGS>: Likewise.
7291 2004-02-16  Geoffrey Keating  <geoffk@apple.com>
7293         * doc/md.texi (Insn Canonicalizations): Document left-chaining
7294         in associative operators.
7295         * rtlanal.c (commutative_operand_precedence): Create some new
7296         variables.  Prefer a commutative operand on the left, then
7297         binary expressions, then NEG and NOT.
7299 2004-02-16  Matthias Klose  <doko@debian.org>
7301         * config/t-slibgcc-elf-ver: Define SHLIB_NAME and SHLIB_SONAME
7302         in terms of SHLIB_SOVERSION.
7303         * config/m68k/t-slibgcc-elf-ver: New file.
7304         * config/pa/t-slibgcc-elf-ver: New file.
7305         * config.gcc (m68k-linux, parisc-linux): Use them when not
7306         sjlj exceptions are not configured.
7308 2004-02-16  Eric Botcazou  <ebotcazou@libertysurf.fr>
7310         * config/sparc/sparc.c (get_pc_symbol_name): Mark with GTY(()).
7312 2004-02-16  Zack Weinberg  <zack@codesourcery.com>
7314         * sdbout.c (sdb_debug_hooks): Correct the type_decl entry.
7316 2004-02-16  Joseph S. Myers  <jsm@polyomino.org.uk>
7318         * doc/sourcebuild.texi: Mention backends.html.
7320 2004-02-16  Kazu Hirata  <kazu@cs.umass.edu>
7322         * c-decl.c, c-ppoutput.c, cpphash.h, cpplib.h, dbxout.c,
7323         line-map.c, line-map.h, var-tracking.c: Fix comment
7324         formatting.
7326 2004-02-16  Richard Henderson  <rth@redhat.com>
7328         * cse.c (cse_insn): Don't lose REG_NON_LOCAL_GOTO note.
7330         * fold-const.c (operand_equal_p): Fix VECTOR_CST comparison.
7332 2004-02-15  Kazu Hirata  <kazu@cs.umass.edu>
7334         * config/h8300/h8300.md: Remove unnecessary parallels from
7335         all define_insn and define_split patterns.
7337 2004-02-15  Kazu Hirata  <kazu@cs.umass.edu>
7339         * config/h8300/h8300.md: Remove explicit (set_attr "cc"
7340         "clobber").
7342 2004-02-15  Bernardo Innocenti  <bernie@develer.com>
7344         * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Restore support for
7345         '%#'.
7347 2004-02-15  Kazu Hirata  <kazu@cs.umass.edu>
7349         * config/ia64/ia64.c, config/mips/mips.c,
7350         config/mmix/mmix-modes.def: Fix comment typos.
7352 2004-02-15  Roger Sayle  <roger@eyesopen.com>
7354         * c-common.h (GET_DIRECTIVE_LINE): Remove unused macro.
7355         (get_directive_line): Remove unused function prototype.
7357 2004-02-14  Josef Zlomek  <zlomekj@suse.cz>
7359         * tree-inline.c (copy_body_r): Do not replace ret_label.
7361 2004-02-14  Jan Hubicka  <jh@suse.cz>
7363         * i386.c (x86_four_jump_limit): New variable.
7364         (k8_avoid_jump_misspredicts): Rename to ...
7365         (ix86_avoid_jump_misspredicts): .. this one.
7366         (ix86_pad_returns): Break out from ...
7367         (ix86_reorg): ... this one; do ix86_avoid_jump_misspredicts when asked
7368         to.
7369         * i386.h (TARGET_FOUR_JUMP_LIMIT): New macro.
7371 2004-02-14  Josef Zlomek  <zlomekj@suse.cz>
7373         * emit-rtl.c (set_decl_incoming_rtl): Check whether the 0th element of
7374         PARALLEL is NULL.
7376 2004-02-14  Per Bothner  <per@bothner.com>
7378         * fix-header.c (line_table):  Move local variable in main to global.
7379         * scan.h (line_table):  Use it.
7380         * scan-decls.c (scan_decls):  Need to call linemap_lookup on token's
7381         line (recently renamed to src_loc) before calling recognized_function.
7383 2004-02-14  Matt Kraai  <kraai@alumni.cmu.edu>
7385         * Makefile.in: Fix comment typos.
7387 2004-02-14  Olivier Hainque  <hainque@act-europe.fr>
7389         * loop.c (check_dbra_loop): Use gen_int_mode instead of GEN_INT
7390         for start_value when it is directly moved into reg, and factorize
7391         the retrieval of GET_MODE (reg).
7393 2004-02-14  Richard Sandiford  <rsandifo@redhat.com>
7395         * config/mips/mips-protos.h (mips_load_got_page): Delete.
7396         (mips_load_got_global): Delete.
7397         (mips_gotoff_page): Declare.
7398         * config/mips/mips.md (UNSPEC_LOAD_GOT): New constant.
7399         (*xgot_lo[sd]i, *got_disp[sd]i, *got_page[sd]i): Build an
7400         UNSPEC_LOAD_GOT pattern rather than a MEM.
7401         (*load_got[sd]i): New patterns.
7402         * config/mips/mips.c (mips_got_alias_set, mips_load_got): Delete.
7403         (mips_load_got_page, mips_load_got_global): Delete.
7404         (mips_gotoff_page): New function.
7405         (override_options): Don't initialize mips_got_alias_set.
7407 2004-02-14  Richard Sandiford  <rsandifo@redhat.com>
7409         * config/mips/mips.h (MASK_DEBUG_[ABEFI], TARGET_DEBUG_[ABEFI]_MODE)
7410         (TARGET_MIPS4100, TARGET_MIPS4300, TARGET_MIPS4KC, TARGET_MIPS5KC)
7411         (TARGET_SB1, TUNE_SB1, TUNE_SR71K, BIGGEST_MAX_ARGS_IN_REGISTERS)
7412         (GO_PRINTF, GO_PRINTF2, GO_DEBUG_RTX, DFMODE_NAN, SFMODE_NAN): Delete.
7413         (TARGET_SWITCHES): Remove MASK_DEBUG_[ABEFI].
7414         * config/mips/mips.c: Fix some overly-long lines.
7415         (SINGLE_WORD_MODE_P, PIC_OFFSET_TABLE_MASK): Delete.
7416         (init_cumulative_args): Remove TARGET_DEBUG_E_MODE handling.
7418 2004-02-13  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7420         * configure.ac: Search for as, ld below libexec/gcc.
7421         * configure: Regenerate.
7423 2004-02-14  Ben Elliston  <bje@wasabisystems.com>
7425         * config/arm/mmintrin.h (_mm_setwcx): Reverse arguments in call to
7426         __builtin_arm_setwcx ().
7427         * config/arm/arm.c (arm_expand_builtin): Generate operands
7428         correctly and reverse their order in call to gen_iwmmxt_tmcr ().
7430 2004-02-14  Ben Elliston  <bje@wasabisystems.com>
7432         * config/arm/arm.c (bdesc_2arg): Correct builtin names "wmulsh"
7433         and "wmuluh" to "wmulsm" and "wmulum", respectively.
7434         * config/arm/arm.h (enum arm_builtins): Rename enumerators to
7435         ARM_BUILTIN_WMULSM and ARM_BUILTIN_WMULUM.
7436         * config/arm/mmintrin.h (_mm_mulhi_pi16): Update intrinsic call.
7437         (_mm_mulhi_pu16): Likewise.
7439 2004-02-13  Zack Weinberg  <zack@codesourcery.com>
7441         * xcoffout.c (xcoff_assign_fundamental_type_number): Check
7442         DECL_NAME != 0 before dereferencing.
7444 2004-02-13  Ulrich Weigand  <uweigand@de.ibm.com>
7446         * config/s390/s390-protos.h (s390_output_symbolic_const): Remove.
7447         (s390_output_addr_const_extra): Declare.
7448         (s390_output_pool_entry): Remove FILE * argument.
7449         * config/s390/s390.c (s390_output_symbolic_const): Remove.
7450         (s390_output_addr_const_extra): New function.
7451         (print_operand_address): Call output_addr_const instead of
7452         s390_output_symbolic_const.
7453         (print_operand): Likewise.
7454         (s390_output_pool_entry): Use assemble_integer for symbolic constants.
7455         Remove FILE * argument.
7456         * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Define.
7457         * config/s390/s390.md ("*pool_entry"): Adapt s390_output_pool_entry
7458         call.
7460 2004-02-13  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
7462         * cfgloopanal.c (mark_irreducible_loops): Rewriten.
7463         (struct edge, struct vertex, struct graph): New.
7464         (dump_graph, new_graph, add_edge, dfs, check_irred, for_each_edge,
7465         free_graph): New functions.
7467 2004-02-12  Chris Demetriou  <cgd@broadcom.com>
7469         * config/mips/mips.md (casesi_internal, casesi_internal_di):
7470         Use ".set macro" to avoid warnings about multi-instruction
7471         macros, since they're intentional.
7473 2004-02-12  Geoffrey Keating  <geoffk@apple.com>
7475         * config/darwin.h: Add include guards.  Remove old, now incorrect,
7476         comment about STANDARD_EXEC_PREFIX.
7478         * Makefile.in (install-man): Use $(CPP_INSTALL_NAME) and
7479         $(GCOV_INSTALL_NAME) to install manpages.  Remove generic rule
7480         for installing .1 manpages.  Add rules for installing cpp
7481         and gcov manpages under their installed names.
7483 2004-02-12  Alexandre Oliva  <aoliva@redhat.com>
7485         * configure.ac (gcc_cv_ld): Don't set to LD if target is not
7486         host, but try LD_FOR_TARGET first.
7487         * configure: Rebuilt.
7489 2004-02-12  Zack Weinberg  <zack@codesourcery.com>
7491         * dbxout.c: Move declaration of dbxout_type_decl outside
7492         #ifdef DBX_DEBUGGING_INFO.
7493         * c-parse.in: Don't give the asmdef production a type.
7495 2004-02-12  Zack Weinberg  <zack@codesourcery.com>
7497         * debug.h (struct gcc_debug_hooks): Add type_decl field.
7498         (debug_nothing_tree_int): Prototype.
7499         (dwarf_debug_hooks): Delete, unused.
7500         * debug.c (do_nothing_debug_hooks): Update.
7501         (debug_nothing_tree_int): New function.
7502         * langhooks.h (struct lang_hooks_for_decls):
7503         Remove builtin_type_decls field.
7504         * langhooks-def.h (LANG_HOOKS_BUILTIN_TYPE_DECLS): Delete.
7505         (LANG_HOOKS_DECLS): Update.
7506         * toplev.c (rest_of_decl_compilation, rest_of_type_compilation):
7507         Use debug_hooks->type_decl.
7508         * dbxout.c (preinit_symbols): New static.
7509         (dbx_debug_hooks, xcoff_debug_hooks): Update.
7510         (dbxout_init): Don't call DBX_OUTPUT_STANDARD_TYPES or
7511         lang_hooks.decls.builtin_type_decls.  Do scan preinit_symbols
7512         for symbols to output.
7513         (dbxout_type_decl): New function.
7514         (dbxout_symbol): If called before dbxout_init has run, queue
7515         the symbol for later.  Apply DBX_ASSIGN_FUNDAMENTAL_TYPE_NUMBER
7516         to TYPE_DECLs before emitting them.
7517         * xcoffout.c (assign_type_number): Delete.
7518         (xcoff_type_numbers): New static table.
7519         (xcoff_assign_fundamental_type_number): New function.
7520         * xcoffout.h: Define DBX_ASSIGN_FUNDAMENTAL_TYPE_NUMBER, not
7521         DBX_OUTPUT_STANDARD_TYPES.  Remove unnecessary #ifdefs.
7522         * sdbout.c: Include varray.h.
7523         (deferred_global_decls): New static.
7524         (sdb_debug_hooks): Update.
7525         (sdbout_global_decl): If we can't emit something right now,
7526         remember it in deferred_global_decls.
7527         (sdbout_finish): Just scan deferred_global_decls; don't call getdecls.
7528         (sdbout_init): Initialize deferred_global_decls.
7529         * Makefile.in: Update dependencies of sdbout.o.
7530         * dwarf2out.c (dwarf2out_type_decl): New function.
7531         (dwarf2_debug_hooks): Update.
7532         * vmsdbgout.c (vmsdbg_debug_hooks): Update.
7533         * c-decl.c (getdecls): Just return 0.
7534         (check_for_loop_decls): Don't use getdecls.
7535         (record_builtin_type): Call debug_hooks->type_decl on the TYPE_DECL.
7536         * c-objc-common.c (c_objc_common_finish_file): Don't use getdecls.
7538 2004-02-12  Ulrich Weigand  <uweigand@de.ibm.com>
7540         * config/s390/s390.c (s390_sched_reorder2): Remove.
7541         (TARGET_SCHED_REORDER2): Do not redefine.
7543 2004-02-12  Zack Weinberg  <zack@codesourcery.com>
7545         * c-parse.in (maybe_type_qual): Delete.
7546         (maybe_volatile, simple_asm_expr, asmdef, asm_stmt)
7547         (asm_argument): New grammar rules.
7548         (extdef_1): Use asmdef.
7549         (maybeasm): Move down with other asm rules; use simple_asm_expr.
7550         (xexpr): Move up with other expression rules.
7551         (stmt): Use asm_stmt.
7553         * c-typeck.c (build_asm_expr): New function - body mostly
7554         pulled from build_asm_stmt.
7555         (build_asm_stmt): Just handle tacking on the volatile qualifier.
7556         * c-tree.h (build_asm_expr, build_asm_stmt): Update prototypes.
7558 2004-02-12  Richard Sandiford  <rsandifo@redhat.com>
7560         PR bootstrap/13617
7561         * config/mips/mips-protos.h (mips_output_aligned_decl_common): Declare.
7562         (mips_declare_object): Make variadic.
7563         * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use
7564         mips_output_aligned_decl_common.
7565         * config/mips/mips.c (mips_output_aligned_decl_common): New function.
7566         (mips_declare_object): Make variadic.
7568 2004-02-12  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7570         * function.c (update_epilogue_consts): Teach about binary operations.
7572         * emit-rtl.c (set_mem_attributes_minus_bitpos): Don't kill
7573         previous MEM_VOLATILE in REF.
7574         * function.c (fixup_var_refs): Save volatile_ok and set to 1.
7575         * expr.c (emit_block_move_via_movstr): Save and restore volatile_ok.
7577 2004-02-12  Gunther Nikl  <gni@gecko.de>
7579         * config.gcc: Restore support for m68k-openbsd.
7581 2004-02-12  Jan Hubicka  <jh@suse.cz>
7583         * tree-optimize.c (tree_rest_of_compilation): Do not release
7584         DECL_ARGUMENTS.
7586 2004-02-11  Matt Kraai  <kraai@alumni.cmu.edu>
7588         * doc/install.texi: Fix the spelling of "explicitly".
7590 2004-02-11  Eric Christopher  <echristo@redhat.com>
7592         * cppcharset.c (_cpp_interpret_string_notranslate): Rename and
7593         duplicate argument structure of cpp_interpret_string.
7594         * cpphash.h: Move prototype...
7595         * cpplib.h: Here.
7596         * cpplib.c: Fix calls to match new function signature.
7598 2004-02-11  Joseph S. Myers  <jsm@polyomino.org.uk>
7600         PR c/456
7601         * cppexp.c (num_binary_op): Don't allow comma operators in #if
7602         constant expressions at all outside C99 mode if pedantic.
7604 2004-02-11  Uros Bizjak  <uros@kss-loka.si>
7606         * optabs.h (enum optab_index): Add new OTI_log10 and OTI_log2.
7607         (log10_optab, log2_optab): Define corresponding macros.
7608         * optabs.c (init_optabs): Initialize log10_optab and log2_optab.
7609         * genopinit.c (optabs): Implement log10_optab and log2_optab
7610         using log10?f2 and log2?f2 patterns.
7611         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOG10{,F,L}
7612         using log10_optab, and BUILT_IN_LOG2{,F,L} using log2_optab.
7613         (expand_builtin): Expand BUILT_IN_LOG10{,F,L} and BUILT_IN_LOG2{,F,L}
7614         using expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
7616         * config/i386/i386.md (log10sf2, log10df2, log10xf2, log2sf2,
7617         log2df2, log2xf2): New patterns to implement log10, log10f, log10l,
7618         log2, log2f and log2l built-ins as inline x87 intrinsics.
7620 2004-02-11  Richard Henderson  <rth@redhat.com>
7622         PR target/1532
7623         * flow.c (insn_dead_p): A clobber of a dead hard register is a
7624         dead insn after reload.
7626 2004-02-11  Ulrich Weigand  <uweigand@de.ibm.com>
7628         * tree.h (frame_base_decl): Add GTY marker.
7629         * var-tracking.c (frame_base_decl): Likewise.
7631 2004-02-11  Daniel Berlin  <dberlin@dberlin.org>
7633         * dwarf2out.c (output_loc_list): Remove no longer necessary, and now
7634         incorrect, hunk.
7635         (add_location_or_const_value_attribute): Use text_section_label,
7636         not TEXT_SECTION_NAME.
7638 2004-02-11  Per Bothner  <per@bothner.com>
7640         Represent column numbers using line-map's source_location.
7641         The "next available source_location" is now managed internally by
7642         line-maps.c rather than by clients.
7643         * line-map.h (struct line_map):  New field column_bits.
7644         <from_line>:  Rename field to start_location.
7645         (struct line_maps):  New fields highest_location and max_column_hint.
7646         (linemap_check_files_exited):  New declaration.
7647         (linemap_line_start):  New declaration.
7648         (linemap_add):  Remove from_line parameter; use highest_location field.
7649         (SOURCE_LINE, LAST_SOURCE_LINE):  Modify to use column_bits.
7650         (SOURCE_COLUMN, LAST_SOURCE_LINE_LOCATION):  New macros.
7651         (CURRENT_LINE_MAP):  Remove macro.
7652         (linemap_position_for_column):  New inline function.
7653         * line-map.c (linemap_init):  Clear new fields.
7654         (linemap_check_files_exited):  New function, extracted from ...
7655         (linemap_free):  Use linemap_check_files_exited.
7656         (linemap_add):  Remove from_line parameter.  Various updates.
7657         (linemap_line_start):  New function.
7658         (linemap_lookeup):  Update for new field names.
7659         * cpphash.h (struct cpp_reader) <map>:  Field removed.  Because
7660         linemap_position_for_column may unpredictably change the current map,
7661         it is cleaner and simpler for us to not cache it in cpp_reader.
7662         (struct cpp_buffer):  New sysp field.
7663         Changed warned_cplusplus_comments and from_stage3 to bitfields.
7664         * cppinit.c (cpp_read_min_file):  pfile->map no longer exists.
7665         * cpplib.c (do_line, do_linemarker, _cpp_do_file_change):  Get
7666         current map using linemap_lookup.
7667         (do_linemarker):  Also set buffer's sysp field.
7668         (destringize_and_run):  No longer need to decrement current line.
7669         * cppfiles.c (_cpp_stack_file):  Set sysp from and in buffer.
7670         (search_path_head, open_file_failed):  Use buffer's sysp.
7671         (cpp_make_system_header):  Get current map using linemap_lookup.
7672         Also set buffer's sysp flag.
7673         * cppmacro.c (_cpp_builtin_macro_text):  Likewise use linemap_lookup.
7674         * cpphash.h (CPP_INCREMENT_LINE):  New macro.
7675         (struct cpp_buffer):  Moved fields saved_cur, saved_rlimit to ...
7676         (struct cpp_reader):  ... and adding saved_line_base field.
7677         * cpptrad.c (_cpp_overlay_buffer, _cpp_remove_overlay):
7678         Update accordingly.  Don't adjust line.
7679         (_cpp_scan_out_logical_line):  Use CPP_INCREMENT_LINE.
7680         * cpphash.c (CPP_IN_SYSTEM_HEADER):  Replaced macro by ...
7681         (cpp_in_system_header):  ... new inline function, using buffer's sysp.
7682         * cpperror.c (_cpp_begin_message):  Update to use cpp_in_system_header.
7683         * cpplex.c (_cpp_lex_direct):  Likewise.
7684         * cppmacro.c (_cpp_builtin_macro_text):  Likewise.
7685         * cppmacro.c (_cpp_create_definition):  Use buffer's sysp field.
7686         * cpplib.h (struct cpp_token):  Rename line field to src_loc.
7687         Remove col field as it is now subsumed by src_loc.
7688         * cpperror.c:  Update various field, parameter, and macro names.
7689         (print_location):  If col==0, try SOURCE_COLUMN of line.
7690         (cpp_error):  Use cur_token's src_loc field, rather than line+col.
7691         * cpplib.c (do_diagnostic):  Token's src_loc fields replaces line+col.
7692         * cpplex.c (_cpp_process_line_notes, _cpp_lex_direct,
7693         _cpp_skip_block_comment):  Use CPP_INCREMENT_LINE.
7694         (_cpp_temp_token):  Replace cpp_token's line+col fields by src_loc.
7695         (_cpp_get_fresh_line):  Don't need to adjust line for missing newline.
7696         (_cpp_lex_direct):  Use linemap_position_for_column.
7697         * c-ppoutput.c (maybe_print_line, print_line):  Don't take map
7698         parameter.  Instead get it from the line_table global.  Adjust callers.
7699         (print):  Remove map field.  Replace line field to src_line.
7700         (init_pp_output, account_for_newlines, maybe_print_line):  Adjust.
7701         (cb_line_change):  Use SOURCE_COLUMN.  Minor optimizations.
7702         (pp_file_change):  Use MAIN_FILE_P since we cannot checked print.map.
7703         Use LAST_SOURCE_LINE_LOCATION to "catch up" after #include.
7704         * cpptrad.c (copy_comment):  Rename variable.
7705         * c-lex.c (map):  Remove static variable, for same reason we removed
7706         cpp_reader's map field.
7707         (cb_line_change, cb_def_pragma, cb_define, cb_undef):  Hence we need
7708         to call linemap_lookup.
7709         (cb_line_change):  Token's line field replaced by src_loc.
7710         (fe_file_change):  Use MAINFILE_P and LAST_SOURCE_LINE macros.
7711         Don't save new_map.
7713         * cpphash.h, cpperror.c, cpplib.h:  Some renames of fileline to
7714         source_location.
7716 2004-02-11  Hartmut Penner  <hpenner@de.ibm.com>
7718         * config/rs6000/altivec.md (*movv4si_internal): At least one
7719         operand must be register_operand.
7720         (*movv8hi_internal1): Likewise.
7721         (*movv16qi_internal1): Likewise.
7722         (*movv4sf_internal1): Likewise.
7724 2004-02-10  Aldy Hernandez  <aldyh@redhat.com>
7726         * config/rs6000/spe.md ("*movv2si_internal"): Check for register
7727         operand.
7728         (movv4hi_internal): Same.
7729         (movv2sf_internal): Same.
7730         (movv1di_internal): Same.
7732 2004-02-11  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
7734         * config/mips/mips.h (TARGET_OLDABI): Define. Use TARGET_NEWABI and
7735         TARGET_OLDABI consistently.
7736         * config/mips/mips.c (function_arg,mips_setup_incoming_varargs,
7737         mips_va_arg,override_options,compute_frame_size,
7738         mips_initial_elimination_offset,mips16_fp_args,build_mips16_call_stub
7739         ,mips_return_in_memory,mips_strict_argument_naming): Use TARGET_NEWABI
7740         and TARGET_OLDABI consistently.
7741         * config/mips/mips.md (exception_receiver): Likewise.
7742         * config/mips/linux64.h: Likewise.
7744 2004-02-11  Hartmut Penner  <hpenner@de.ibm.com>
7746         * gcc/config/rs6000/rs6000.c (rs6000_override_options)
7747         Set AltiVec ABI and vrsave as default for ppc64 linux.
7748         (init_cumulative_args): Post error, if try to return
7749         value in AltiVec register without enable AltiVec.
7750         (function_arg_advance): Ditto for passing arguments.
7752 2004-02-11  Richard Sandiford  <rsandifo@redhat.com>
7754         * emit-rtl.c (mark_label_nuses): Check that a LABEL_REF refers to
7755         a label before updating its usage count.
7757 2004-02-10  Matt Kraai  <kraai@alumni.cmu.edu>
7759         * doc/install.texi: Remove extra cd.
7761 2004-02-10  Ziemowit Laski  <zlaski@apple.com>
7763         * c-common.c (vector_size_helper): Remove; call
7764         reconstruct_complex_type() instead.
7765         * tree.c (reconstruct_complex_type): New function
7766         (formerly vector_size_helper() in c-common.c).
7767         (make_vector): Make externally visible.
7768         * tree.h (reconstruct_complex_type, make_vector): Add prototypes.
7770 2004-02-10  Kazu Hirata  <kazu@cs.umass.edu>
7772         * config/h8300/h8300-protos.h: Add a prototype for
7773         h8300_regs_ok_for_stm.
7774         * config/h8300/h8300.c (h8300_regs_ok_for_stm): New.
7775         * config/h8300/h8300.md (stm_h8300s_2_advanced,
7776         stm_h8300s_2_normal, stm_h8300s_2, stm_h8300s_3_advanced,
7777         stm_h8300s_3_normal, stm_h8300s_3, stm_h8300s_4_advanced,
7778         stm_h8300s_4_normal, stm_h8300s_4, ldm_h8300s_2_advanced,
7779         ldm_h8300s_2_normal, ldm_h8300s_2, ldm_h8300s_3_advanced,
7780         ldm_h8300s_3_normal, ldm_h8300s_3, ldm_h8300s_4_advanced,
7781         ldm_h8300s_4_normal, ldm_h8300s_4): Use
7782         h8300_regs_ok_for_stm().
7784 2004-02-10  Danny Smith  <dannysmith@users.sourceforge.net>
7786         PR c/14088
7787         * real.c (real_from_string): Look for 'X' as well as 'x' in
7788         hexfloat strings.
7790 2004-02-10  Kazu Hirata  <kazu@cs.umass.edu>
7792         * config/h8300/h8300.md: Remove an incorrect comment about
7793         peephole2.  Add comments.
7795 2004-02-10  Josef Zlomek  <zlomekj@suse.cz>
7797         PR/14058
7798         * emit-rtl.c (set_decl_incoming_rtl): New.
7799         * tree.h (set_decl_incoming_rtl): New.
7800         * function.c (assign_parms): Use set_decl_incoming_rtl for setting
7801         DECL_INCOMING_RTL.
7802         * ada/misc.c (adjust_decl_rtl): Likewise.
7804 2004-02-10  Per Bothner  <per@bothner.com>
7806         * c-opts.c (c_common_post_options):   Don't emit working directory
7807         in cpp output if -P was specified.
7809 2004-02-10  Paolo Bonzini  <bonzini@gnu.org>
7811         PR c/14092
7812         * fold-const.c (fold) <NEGATE_EXPR>: Convert result of
7813         negate_expr back to the original type.
7815 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
7817         * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Don't
7818         bump retaddr here.
7820 2004-02-10  Paolo Bonzini  <bonzini@gnu.org>
7822         * rtl.h (schedule_insns, schedule_ebbs, fix_sched_param,
7823         gen_lowpart_SUBREG): Move under the file in which they
7824         are actually declared.
7826 2004-02-10  Arnaud Charlet  <charlet@act-europe.fr>
7828         * doc/sourcebuild.texi: Add libada documentation.
7830         * doc/install.texi: Update documentation on Ada build, now
7831         that the GNAT lib and tools are built automatically.
7833 2004-02-10  Richard Sandiford  <rsandifo@redhat.com>
7835         * config/mips/mips.h (TARGET_GPWORD): Return false for TARGET_NEWABI
7836         && TARGET_IRIX.
7838 2004-02-09  Ziemowit Laski  <zlaski@apple.com>
7840         * objc/objc-act.c (get_super_receiver): Move '#ifdef OBJCPLUS'
7841         boundaries outside build_component_ref() call (a macro in ObjC++).
7843 2004-02-09  Bob Wilson  <bob.wilson@acm.org>
7845         * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Update.
7846         (init_cumulative_args): Likewise.
7847         (a7_overlap_mentioned_p): Delete prototype.
7848         * config/xtensa/xtensa.c (struct machine_function): Replace
7849         incoming_a7_copied field with need_a7_copy and vararg_a7 flags.
7850         Add set_frame_ptr_insn field.
7851         (xtensa_emit_move_sequence): Update call to xtensa_copy_incoming_a7.
7852         (xtensa_copy_incoming_a7): Rewrite to check need_a7_copy flag and check
7853         if the operand is an argument in a7.  If so, copy a7 to a new pseudo
7854         at the function entry and replace the operand with the pseudo.
7855         (init_cumulative_args): Remove unused arguments.  Add new "incoming"
7856         argument and record this flag in CUMULATIVE_ARGS.
7857         (function_arg): Remove result_mode and special-case code to handle
7858         arguments in a7.  Instead, set need_a7_copy flag when there is an
7859         incoming argument in a7.
7860         (xtensa_expand_prologue): Remove code to search for set_frame_ptr insn
7861         and use the value recorded in cfun->machine->set_frame_ptr_insn.
7862         (xtensa_builtin_saveregs): Check for negative gp_left value.  Set
7863         need_a7_copy and vararg_a7 flags.  Use move_block_from_reg instead of
7864         special-case code.
7865         (a7_overlap_mentioned_p): Delete.
7866         * config/xtensa/xtensa.h (CUMULATIVE_ARGS): Add "incoming" flag.
7867         (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Remove useless
7868         arguments to init_cumulative_args and pass "incoming" flag instead.
7869         (BLOCK_REG_PADDING): Delete.
7870         * config/xtensa/xtensa.md (movdi, movsf, movdf): Remove unnecessary
7871         checks for reload_in_progress and reload_completed.  Update calls to
7872         xtensa_copy_incoming_a7.
7873         (ashlsi3): Rename existing insn to ashlsi3_internal.  Add expander
7874         to call xtensa_copy_incoming_a7.
7876 2004-02-09  DJ Delorie  <dj@redhat.com>
7878         * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): No
7879         longer modify standard_exec_prefix, standard_bindir_prefix, or
7880         standard_startfile_prefix.
7882 2004-02-09  James E Wilson  <wilson@specifixinc.com>
7884         PR c++/11295
7885         * c-common.c (c_expand_expr, case STMT_EXPR): Change expand_expr call
7886         to expand_expr_real call, and pass in alt_rtl as last argument.
7888         PR libstdc++/5625
7889         * builtin-types.def (BT_WORD, BT_FN_WORD_PTR): New.
7890         * builtins.c (expand_builtin): Handle BUILT_IN_EXTEND_POINTER.
7891         * builtins.def (BUILT_IN_EXTEND_POINTER): New.
7892         * except.c (expand_builtin_extend_pointer): New.
7893         * except.h (expand_builtin_extend_pointer): Declare.
7895 2004-02-09  David Edelsohn  <edelsohn@gnu.org>
7897         * config/rs6000/rs6000.c (rs6000_emit_move): Remove splitting slow
7898         unaligned loads and stores.
7900 2004-02-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7902         * config/mips/iris5.h (BSS_SECTION_ASM_OP): Define.
7903         * config/mips/iris6.h (BSS_SECTION_ASM_OP): Undef.
7905         * config/mips/iris6.h (TARGET_ASM_NAMED_SECTION): Moved ...
7906         * config/mips/iris5.h: ... here.
7907         * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Remove.
7909         * config/mips/iris6.h (EXTRA_SECTION_FUNCTIONS): Move ...
7910         * config/mips/iris5.h: ... here.
7912 2004-02-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7914         * configure.ac: Remove default executable files before AC_PROG_CC.
7915         * configure: Regenerate.
7917 2004-02-09  Kazu Hirata  <kazu@cs.umass.edu>
7919         PR target/13721
7920         * config/h8300/h8300.c (byte_reg): Call abort() if asked to
7921         print a operand other than a register.
7923 2004-02-09  Roger Sayle  <roger@eyesopen.com>
7925         * fold-const.c (fold) <NOP_EXPR>: Use the original type conversion
7926         tree code rather than call fold_convert, which doesn't specify a
7927         default floating point to integer conversion.
7929 2004-02-08  Bernardo Innocenti  <bernie@develer.com>
7931         * config/m68k/m68k.c, config/m68k/m68k.md (SGS, SGS_CMP_ORDER): Remove
7932         code to support SGS assembler.  Reformat adjacent code where possible.
7933         * config/m68k/m68k.c (switch_table_difference_label_flag): Remove
7934         definition.
7935         * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Remove support
7936         for '%#'.
7937         * config/m68k/linux.h, config/m68k/m68k.c,
7938         * config/m68k/math-68881.h: Replace `%#' with `#' in inline asm
7939         macros and asm_printf() format strings.
7940         * config/m68k/m68kelf.h (ASM_OUTPUT_CASE_END): Remove macro definition.
7941         * config/m68k/linux.h: Update copyright.
7942         * config/m68k/linux.h, config/m68k/m68k.c: Remove traling whitespace.
7944 2004-02-08  Andreas Schwab  <schwab@suse.de>
7945             Bernardo Innocenti  <bernie@develer.com>
7947         * config/m68k/m68k.h (REGISTER_NAMES): Prefix each name with
7948         REGISTER_PREFIX.
7949         * (M68K_FP_REG_NAME): New macro to specify an alternate name for the
7950         frame pointer register, overridable by OS targets.
7951         * (M68K_REGNAME): Macro to obtain register name for asm output,
7952         eventually replacing %a6 with M68K_FP_REG_NAME.
7953         * config/m68k/coff.h (REGISTER_NAMES): Don't redefine.
7954         * config/m68k/linux.h (REGISTER_NAMES): Likewise.
7955         * config/m68k/m68kelf.h (REGISTER_NAMES): Likewise.
7956         * config/m68k/netbsd-elf.h (REGISTER_NAMES): Likewise.
7957         * config/m68k/m68k.c: Use M68K_REGNAME(x) in place of reg_names[x].
7959 2004-02-08  Kazu Hirata  <kazu@cs.umass.edu>
7961         * target-def.h (TARGET_STRUCT_VALUE_RTX): Define as
7962         hook_rtx_tree_int_null.
7963         * targhooks.c (default_struct_value_rtx): Remove.
7964         * targhooks.h: Remove the prototype for
7965         default_struct_value_rtx.
7966         * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c,
7967         config/fr30/fr30.c, config/h8300/h8300.c, config/i386/i386.c,
7968         config/ip2k/ip2k.c, config/iq2000/iq2000.c,
7969         config/m32r/m32r.c, config/mcore/mcore.c, config/mips/mips.c,
7970         config/mn10300/mn10300.c, config/pdp11/pdp11.c,
7971         config/rs6000/rs6000.c, config/s390/s390.c,
7972         config/stormy16/stormy16.c, config/v850/v850.c,
7973         config/xtensa/xtensa.c (TARGET_STRUCT_VALUE_RTX): Remove.
7974         * doc/tm.texi (TARGET_STRUCT_VALUE_RTX): Document the default.
7976 2004-02-08  Joseph S. Myers  <jsm@polyomino.org.uk>
7978         * README.Portability: Change "ISO C89" to "ISO C90".
7979         * c-parse.in (primary, initelt): Likewise.
7981 2004-02-08  Richard Sandiford  <rsandifo@redhat.com>
7983         * real.c (encode_ibm_extended): Normalize the input value before
7984         converting it to a double.  Handle the case where a normal value
7985         rounds to infinity.
7987 2004-02-08  Kazu Hirata  <kazu@cs.umass.edu>
7989         * c-objc-common.c (c_cannot_inline_tree_fn): Fix a typo in a
7990         warning.
7991         * cse.c (preferrable): Change to preferable. Update all of its
7992         callers.
7993         * genautomata.c (ainsn): Change
7994         first_ainsn_with_given_equialence_num to
7995         first_ainsn_with_given_equivalence_num.  Update all of its
7996         references.
7998 2004-02-08  Jan Hubicka  <jh@suse.cz>
8000         * schedule-ebb.c (schedule_ebbs): Do not allocate reg life data.
8002 2004-02-07  David Edelsohn  <edelsohn@gnu.org>
8004         * function.c (assign_parms): Fix formatting.
8006 2004-02-07  Kazu Hirata  <kazu@cs.umass.edu>
8008         * default.h (PROMOTE_PROTOTYPES): Remove.
8009         * system.h (PROMOTE_FUNCTION_RETURN, PROMOTE_PROTOTYPES,
8010         STRUCT_VALUE_REGNUM, SETUP_INCOMING_VARARGS,
8011         EXPAND_BUILTIN_SAVEREGS): Poison.
8012         * target-def.h (TARGET_PROMOTE_FUNCTION_RETURN): Define as
8013         hook_bool_tree_false.
8014         (TARGET_PROMOTE_PROTOTYPES): Likewise.
8015         * target.h: Replace SETUP_INCOMING_VARARGS with
8016         targetm.calls.setup_incoming_varargs().
8017         * targhooks.c (default_promote_function_return): Remove.
8018         (default_promote_prototypes): Likewise.
8019         (default_struct_value_rtx): Always abort().
8020         (default_expand_builtin_saveregs): Always print an error
8021         message.
8022         (default_setup_incoming_varargs): Do nothing.
8023         (default_pretend_outgoing_varargs_named): Don't depend on
8024         SETUP_INCOMING_VARARGS.
8025         * targhooks.h: Remove the prototype for
8026         default_promote_function_return and
8027         default_promote_prototypes.
8029 2004-02-07  Kazu Hirata  <kazu@cs.umass.edu>
8031         * system.h (SHARED_SECTION_ASM_OP): Poison.
8032         * varasm.c (data_section): Don't use SHARED_SECTION_ASM_OP.
8033         * doc/tm.texi (SHARED_SECTION_ASM_OP): Remove.
8035 2004-02-07  Zack Weinberg  <zack@codesourcery.com>
8037         Bug 13856
8038         * c-decl.c (diagnose_mismatched_decls): Only give special
8039         treatment when olddecl is DECL_BUILT_IN, if C_DECL_INVISIBLE
8040         is also true.
8041         (merge_decls): Don't clear DECL_BUILT_IN_CLASS and
8042         DECL_FUNCTION_CODE when defining a built-in function.
8043         Don't update DECL_ESTIMATED_INSNS.
8044         * dwarf2out.c (dwarf2out_decl): Don't ignore built-in
8045         FUNCTION_DECLs.
8046         * tree.h: Delete DECL_ESTIMATED_INSNS.
8047         * tree-inline.c (struct inline_data): Delete inlined_insns field.
8048         (expand_call_inline, optimize_inline_calls): Don't update
8049         DECL_ESTIMATED_INSNS nor inlined_insns.
8050         * cgraphunit.c (cgraph_analyze_function): Don't update
8051         DECL_ESTIMATED_INSNS.
8053 2004-02-07  Zack Weinberg  <zack@codesourcery.com>
8055         * c-common.c (shadow_warning): Delete.
8056         * c-common.h (free_parser_stacks, shadow_warning, sw_kind): Delete.
8057         * c-decl.c (warn_if_shadowing): Issue shadow warnings directly.
8058         * c-opts.c (c_common_parse_file): Don't call free_parser_stacks.
8059         * c-parse.in (free_parser_stacks): Delete.
8061 2004-02-07  Nathanael Nerode  <neroden@gcc.gnu.org>
8063         * Makefile.in, config/t-slibgcc-darwin, config/t-slibgcc-elf-ver,
8064         config/t-slibgcc-sld, config/mips/t-iris5-6, config/sh/t-linux:
8065         Use the top level mkinstalldirs, not the one in the gcc subdir.
8066         * mkinstalldirs: Remove (from the gcc subdir).
8068 2004-02-07  Roger Sayle  <roger@eyesopen.com>
8070         PR middle-end/13696
8071         * fold-const.c (fold_convert): New function to provide type
8072         conversion to the middle-end without using convert.
8073         (negate_expr, associate_trees, size_diffop, omit_one_operand,
8074         operand_equal_for_comparison_p, pedantic_omit_one_operand,
8075         invert_truthvalue, optimize_bit_field_compare, range_binop,
8076         decode_field_reference, make_range, build_range_check, unextend,
8077         fold_truthop, extract_muldiv_1, fold_mathfn_compare,
8078         fold_binary_op_with_conditional_arg, fold_inf_compare,
8079         fold_single_bit_test, fold, multiple_of_p): Replace all calls to
8080         convert with calls to fold_convert.
8082 2004-02-07  Jan Hubicka  <jh@suse.cz>
8084         * genrecog.c (find_operand): add extra argument stop.
8085         (validate_pattern): Verify that mach_dup is duplicating operand
8086         defined lexically earlier.
8088 2004-02-07  Kazu Hirata  <kazu@cs.umass.edu>
8090         * config.gcc: Don't mention MAX_LONG_TYPE_SIZE.
8091         * system.h (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
8092         MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Poison.
8093         * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
8094         config/ia64/ia64.h, config/ip2k/ip2k.h,
8095         config/iq2000/iq2000.h, config/mips/iris5.h,
8096         config/mips/mips.h, config/pa/pa-64.h, config/pa/pa.h,
8097         config/rs6000/aix51.h, config/rs6000/aix52.h,
8098         config/rs6000/darwin.h, config/rs6000/rs6000.h,
8099         config/s390/s390.h, config/sh/sh.h, config/sparc/freebsd.h,
8100         config/sparc/linux.h, config/sparc/linux64.h,
8101         config/sparc/netbsd-elf.h, config/sparc/sparc.h,
8102         config/xtensa/xtensa.h: Remove the definitions of
8103         MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, and/or
8104         MAX_WCHAR_TYPE_SIZE.
8105         * doc/tm.texi (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
8106         MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Remove.
8108 2004-02-07  Stephane Carrez  <stcarrez@nerim.fr>
8110         PR bootstrap/13990
8111         * config/m68hc11/m68hc11.md ("doloop_end"): Pass dummy arguments to
8112         gen_rtx_NE.
8114 2004-02-07  Josef Zlomek  <zlomekj@suse.cz>
8116         * var-tracking.c (vt_add_function_parameters): Surround checkings by
8117         #ifdef ENABLE_CHECKING and #endif.
8119 2004-02-07  Roger Sayle  <roger@eyesopen.com>
8121         * fold-const.c (negate_expr_p, negate_expr): Optimize -(A+B) into
8122         either (-A)-B or (-B)-A, if A or B is easily negated respectively.
8123         (fold) <MINUS_EXPR>: Optimize (A*C) - (B*C) -> (A-B)*C for both
8124         integer types and floating point with unsafe_math_optimizations.
8125         Add similar optimization for (A*C1) - (A*C2) -> A*(C1-C2).
8126         Optimize A - B as A + (-B), if B is easily negated.
8128 2004-02-07  Kazu Hirata  <kazu@cs.umass.edu>
8130         * c-ppoutput.c, cfganal.c, diagnostic.h, print-rtl.c,
8131         config/darwin.c, config/darwin.h, config/ia64/ia64-c.c,
8132         config/m32r/linux.h, config/rs6000/ppc64-fp.c,
8133         config/sparc/openbsd.h, doc/makefile.texi, doc/passes.texi:
8134         Update copyright.
8136 2004-02-07  Kazu Hirata  <kazu@cs.umass.edu>
8138         * c-ppoutput.c, var-tracking.c: Fix comment typos.
8140 2004-02-06  James E Wilson  <wilson@specifixinc.com>
8142         * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Only define for
8143         glibc 2.3 or better.
8145 2004-02-06  Kazu Hirata  <kazu@cs.umass.edu>
8147         * doc/tm.texi (TARGET_FLOAT_LIB_COMPARE_RETURNS_BOOL): Change
8148         to FLOAT_LIB_COMPARE_RETURNS_BOOL.
8150 2004-02-07  Alan Modra  <amodra@bigpond.net.au>
8152         * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add darwin-ldouble.c.
8153         (SHLIB_MAPFILES): Add libgcc-ppc64.ver.
8154         (SHLIB_MKMAP_OPTS): Delete.
8155         (TARGET_LIBGCC2_CFLAGS): Add -specs.
8156         (bispecs): Add rule.
8157         * config/rs6000/libgcc-ppc64.ver: New file.
8158         * config/rs6000/ppc64-fp.c (__fixtfdi, __floatditf): New functions.
8159         (__floatdidf, __floatdisf): Optimize multiply.
8160         (__fixunstfdi): New function.
8161         * config/rs6000/rs6000.c (rs6000_complex_function_value): Allow for
8162         real and imag parts larger than one register.
8163         (function_arg): Correct type of reg used when fp arg split partially
8164         to stack.
8165         * config/rs6000/darwin-ldouble.c: Protect with #if !_SOFT_FLOAT
8166         and __MACH__ or __powerpc64__.
8168 2004-02-06  Roger Sayle  <roger@eyesopen.com>
8169             Ulrich Weigand  <uweigand@de.ibm.com>
8171         * builtins.c (expand_builtin_signbit): Use extract_bit_field instead
8172         of gen_highpart or gen_lowpart when the floating point format is
8173         wider than the result mode.
8175 2004-02-06  Andrew Pinski  <pinskia@physics.uc.edu>
8177         * dwarf2out.c (loclabel_num): Move into #ifdef
8178         DWARF2_DEBUGGING_INFO.
8180 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
8182         * objc/objc-act.c (build_super_template) the 'class' field of
8183         'struct _objc_super' shall be named 'super_class' #ifdef OBJCPLUS.
8184         (get_super_receiver): Likewise.
8186 2004-02-06  Kazu Hirata  <kazu@cs.umass.edu>
8188         * reload1.c (check_eliminable_occurrences): Optimize the reset
8189         of can_eliminate.
8190         (eliminate_regs_in_insn): Likewise.
8192 2004-02-06  Daniel Berlin <dberlin@dberlin.org>
8193             Josef Zlomek  <zlomekj@suse.cz>
8195         * dwarf2out.c (struct gcc_debug_hooks): Call dwarf2out_begin_function
8196         at the beginning of function, call dwarf2out_var_location for
8197         NOTE_INSN_VAR_LOCATION note.
8198         (struct var_loc_node, struct var_loc_list_def, loclabel_num,
8199         decl_loc_table): New.
8200         (lookup_decl_loc): New function.
8201         (add_var_loc_to_decl): New function.
8202         (based_loc_descr): Added parameter can_use_fbreg, DW_OP_fbreg is used
8203         only if can_use_fbreg.
8204         (mem_loc_descriptor): Added parameter can_use_fbreg, pass it to other
8205         functions.
8206         (loc_descriptor): Likewise. Process VAR_LOCATION.
8207         (concat_loc_descriptor): Call loc_descriptor with can_use_fbreg == true.
8208         (loc_descriptor_from_tree): Call mem_loc_descriptor with
8209         can_use_fbreg == true.
8210         (add_location_or_const_value_attribute): Added parameter enum
8211         dwarf_attribute attr, generate attribute ATTR.  Create the location list.
8212         (add_bound_info): Call loc_descriptor with can_use_fbreg == true.
8213         (gen_formal_parameter_die): Call add_location_or_const_value_attribute
8214         with attr == DW_AT_location.
8215         (gen_subprogram_die): Generate the location list for DW_AT_frame_base
8216         if frame_base_decl is defined and has a location list.
8217         (gen_variable_die): Call add_location_or_const_value_attribute with
8218         attr == DW_AT_location.
8219         (dwarf2out_var_location): New function.
8220         (dwarf2out_begin_function): New function.
8221         (dwarf2out_init): Create decl_loc_table.
8223 2004-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
8225         * loop.c (force_movables): Transitively increase the priorities of
8226         all insns forces by an insn, not just the first one.
8228 2004-02-06  Josef Zlomek  <zlomekj@suse.cz>
8229             Daniel Berlin <dberlin@dberlin.org>
8231         Josef Zlomek  <zlomekj@suse.cz>
8232         * Makefile.in (var-tracking.o): New.
8233         * common.opt (fvar-tracking): New.
8234         * flags.h (flag_var_tracking): New.
8235         * gengtype.c (adjust_field_rtx_def): NOTE_INSN_VAR_LOCATION was added.
8236         * opts.c (common_handle_option): Add OPT_fvar_tracking.
8237         * print-rtl.c (print_rtx): NOTE_INSN_VAR_LOCATION was added.
8238         * rtl.c (note_insn_name): Likewise.
8239         * rtl.def (VAR_LOCATION): New.
8240         * rtl.h (NOTE_VAR_LOCATION): New.
8241         (NOTE_VAR_LOCATION_DECL): New.
8242         (NOTE_VAR_LOCATION_LOC): New.
8243         (enum insn_note): NOTE_INSN_VAR_LOCATION was added.
8244         (variable_tracking_main): New exported function.
8245         * timevar.def (TV_VAR_TRACKING): New.
8246         * toplev.c (enum dump_file_index): Added DFI_vartrack.
8247         (dump_file): "vartrack" was added (-dV).
8248         (flag_var_tracking): New.
8249         (f_options): "var-tracking" was added.
8250         (rest_of_handle_variable_tracking): New function.
8251         (rest_of_compilation): Run variable tracking.
8252         (process_options): If user has not specified flag_var_tracking set it
8253         according to optimize, debug_info_level and debug_hooks.
8254         * tree.h (frame_base_decl): New.
8255         * var-tracking.c: New file.
8256         * config/ia64/ia64.c (ia64_flag_var_tracking): New variable.
8257         (ia64_override_options): Set flags to run variable tracking in machine
8258         dependent reorg instead of toplev.c.
8259         (ia64_reorg): Run variable tracking if wanted.
8260         * doc/invoke.texi: Mention variable tracking in -dV,
8261         add and -fvar-tracking.
8262         * doc/passes.texi: Added variable tracking pass.
8264         Daniel Berlin <dberlin@dberlin.org>
8265         * debug.h (struct gcc_debug_hooks): Added var_location debug hook.
8266         * dbxout.c (dbx_debug_hooks): Likewise.
8267         (xcoff_debug): Likewise.
8268         * debug.c (do_nothing_debug_hooks): Likewise.
8269         * dwarf2out.c (dwarf2_debug_hooks): Likewise.
8270         * dwarfout.c (dwarf_debug_hooks): Likewise.
8271         * sdbout.c (sdb_debug_hooks): Likewise.
8272         * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
8273         * final.c (final_scan_insn): Call var_location debug hook for each
8274         NOTE_INSN_VAR_LOCATION.
8276 2004-02-06  Jan Hubicka  <jh@suse.cz>
8278         * flow.c (update_life_info): Allocate reg_deaths when called from
8279         scheudler.
8280         (attempt_auto_inc):  Update life ranges accordingly.
8282 2004-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
8284         PR debug/11816
8285         * dwarf2out.c (gen_decl_die): Handle anonymous struct members.
8287 2004-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
8289         * cfganal.c (flow_call_edges_add): Never split a libcall block.
8291 2004-02-06  Daniel Berlin  <dberlin@dberlin.org>
8293         * dwarf2out.c (output_loc_list): Don't use deltas if we have
8294         a separate line info table in use.
8295         Use the correct size for terminators.
8296         (output_die): Use offset, not delta.
8298 2004-02-06  H.J. Lu  <hongjiu.lu@intel.com>
8300         * doc/invoke.texi: Remove the pni option from -mfpmath=.
8302 2004-02-06  Jan Hubicka  <jh@suse.cz>
8304         * recog.c (split_all_insns): Do not update reg info.
8305         * regrename.c (regrename_optimize): Likewise.
8306         * toplev.c (rest_of_handle_reorder_blocks): Likewise.
8307         * flow.c (struct propagate_block_info): Add insn_num field.
8308         (reg_deaths): New array.
8309         (life_analysis): Free reg_deaths info.
8310         (allocate_reg_life_data): Allocate reg_deaths array.
8311         (propagate_one_insn): Use new array.
8312         (init_propagate_block): Initialize it.
8313         (free_propagate_block_info): Finish compuation of
8314         REG_LIVE_LENGTH
8315         (attempt_auto_inc): Sanity check that REG_INFO is not
8316         computed at same time.
8317         (mark_used_regs): Update new array.
8319         * reg-stack.c (subst_stack_regs): Unshare clobbers before
8320         substitution.
8322 2004-02-06  Kazu Hirata  <kazu@cs.umass.edu>
8324         * config/s390/s390.md (*extendsiqi2_short_displ): Change to
8325         *extendqisi2_short_displ.
8327 2004-02-06  Alan Modra  <amodra@bigpond.net.au>
8329         * doc/tm.texi (INIT_CUMULATIVE_ARGS): Update doco.
8330         * calls.c (expand_call): Pass n_named_args to INIT_CUMULATIVE_ARGS.
8331         (emit_library_call_value_1): Likewise pass nargs.
8332         * expr.c (block_move_libcall_safe_for_call_parm): Pass 3 here.
8333         * function.c (assign_parms): Pass -1 to INIT_CUMULATIVE_ARGS.
8334         * config/rs6000/rs6000.c (init_cumulative_args): Use n_named_args
8335         parameter instead of scanning TYPE_ARGS_TYPES to count args.
8336         * config/rs6000/rs6000-protos.h (init_cumulative_args): Update
8337         prototype.
8338         * config/rs6000/rs6000.h (INIT_CUMULATIVE_ARGS): Pass extra arg.
8339         (INIT_CUMULATIVE_INCOMING_ARGS): Set extra arg to 1000.
8340         (INIT_CUMULATIVE_LIBCALL_ARGS): Set extra arg to 0.
8341         * config/sh/sh.c (sh_output_mi_thunk): Pass 1 as n_named_args to
8342         INIT_CUMULATIVE_ARGS.
8343         * config/alpha/alpha.h (INIT_CUMULATIVE_ARGS): Update.
8344         * config/alpha/unicosmk.h, config/alpha/vms.h, config/arc/arc.h,
8345         config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h,
8346         config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.h,
8347         config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h,
8348         config/ia64/ia64.h, config/ip2k/ip2k.h, config/iq2000/iq2000.h,
8349         config/iq2000/iq2000.c, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
8350         config/m68k/m68k.h, config/mcore/mcore.h, config/mips/mips.h,
8351         config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h,
8352         config/pa/pa.h, config/pdp11/pdp11.h, config/s390/s390.h,
8353         config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.h,
8354         config/v850/v850.h, config/vax/vax.h, config/xtensa/xtensa.h: Likewise.
8356 2004-02-06  Kazu Hirata  <kazu@cs.umass.edu>
8358         * genemit.c (gen_exp) [CONST_INT]: Use const_int_rtx whenever
8359         possible.
8361 2004-02-06  Kazu Hirata  <kazu@cs.umass.edu>
8363         * reload1.c (eliminate_regs_in_insn): If a set has a REG_EQUAL
8364         note containing (plus (reg) (const_int)), where reg is an
8365         eliminable reg, then perform the register elimination without
8366         depending on eliminate_regs().
8368 2004-02-06  Kazu Hirata  <kazu@cs.umass.edu>
8370         * config/arc/arc.c (arc_return_in_memory): Check the return
8371         value of int_size_in_bytes against -1.  Don't check
8372         TREE_ADDRESSABLE.
8373         * config/avr/avr.c (avr_return_in_memory): Check the return
8374         value of int_size_in_bytes against -1.
8375         * config/ip2k/ip2k.c (ip2k_return_in_memory): Likewise.
8376         * config/m68hc11/m68hc11.c (m68hc11_return_in_memory):
8377         Likewise.
8378         * config/mcore/mcore.c (mcore_return_in_memory): Likewise.
8379         * config/stormy16/stormy16.c (xstormy16_return_in_memory):
8380         Likewise.
8382 2004-02-06  Kazu Hirata  <kazu@cs.umass.edu>
8384         * config/frv/frv-protos.h: Remove the prototype for
8385         frv_setup_incoming_varargs.
8386         * config/frv/frv.c (TARGET_SETUP_INCOMING_VARARGS): New.
8387         (frv_setup_incoming_varargs): Make it static.
8388         * config/frv/frv.h (SETUP_INCOMING_VARARGS): Remove.
8390 2004-02-06  Kazu Hirata  <kazu@cs.umass.edu>
8392         * config/fr30/fr30-protos.h: Remove the prototype for
8393         fr30_setup_incoming_varargs.
8394         Update the prototypes for fr30_num_arg_regs and
8395         fr30_function_arg_partial_nregs.
8396         * config/fr30/fr30.c (TARGET_STRUCT_VALUE_RTX): New.
8397         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
8398         (fr30_setup_incoming_varargs): Make it static.
8399         Add argument second_time.  Don't do anything when second_time
8400         is nonzero.
8401         (fr30_num_arg_regs): Change the type of the first argument to
8402         enum machine_mode.
8403         (fr30_function_arg_partial_nregs): Change the type of the
8404         second argument to enum machine_mode.
8405         * config/fr30/fr30.h (STRUCT_VALUE): Remove.
8406         (SETUP_INCOMING_VARARGS): Remove.
8408 2004-02-06  Kazu Hirata  <kazu@cs.umass.edu>
8410         * config/arc/arc-protos.h: Remove the prototype for
8411         arc_setup_incoming_varargs.
8412         * config/arc/arc.c (TARGET_ASM_EXTERNAL_LIBCALL): New.
8413         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
8414         (arc_setup_incoming_varargs): Make it static.
8415         (arc_external_libcall): Likewise.
8416         * config/arc/arc.h (SETUP_INCOMING_VARARGS): Remove.
8417         Remove the commented-out definition of
8418         ASM_OUTPUT_EXTERNAL_LIBCALL.
8420 2004-02-05  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
8422         * config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR)
8423         to $$(slibdir) in the installation commands.
8425 2004-02-05  David Edelsohn  <edelsohn@gnu.org>
8427         * reload.c (refers_to_regno_for_reload_p): Index hard_regno_nregs
8428         with inner_regno, not regno.
8429         * rtlanal.c (refers_to_regno_p): Same.
8431 2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
8433         * config.gcc: Remove i370 support.
8435 2004-02-05  Kelley Cook  <kcook@gcc.gnu.org>
8437         * doc/install.texi:  Update automake and autoconf version
8438         requirements.  Note where to find gcj automake version.
8440 2004-02-05  Kelley Cook  <kcook@gcc.gnu.org>
8442         * Makefile.in (generate-manpages): Move dependencies to ...
8443         (man): here.
8444         * doc/makefile.texi: Document new targets.
8445         * doc/sourcebuild.texi (Make-lang.in): Document new langhooks.
8447 2004-02-05  Kelley Cook  <kcook@gcc.gnu.org>
8449         PR/13485
8450         Makefile.in (srcextra):  Add a level of indirection to ...
8451         (gcc.srcextra): ... here.
8452         (po-generated): Delete.
8453         (po/$(PACKAGE).pot: Use srcextra instead of po-generated.  Depend on
8454         options.c.
8455         (start.encap): Remove superfluous lang.srcextra dependency.
8456         objc/Make-lang.in (po-generated):  Delete.
8458 2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
8460         * config/ia64/ia64.c (REG_GP): Remove.
8462 2004-02-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8464         * config/mips/iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define.
8466 2004-02-05  Devang Patel  <dpatel@apple.com>
8468         * dwarf2out.c (force_type_die): Look up input type itself
8469         instead of root_type() of type.
8471 2004-02-05  Andreas Krebbel  <krebbel1@de.ibm.com>
8473         * config/s390/s390.md ("*tmqidi_ext"): New insn.
8474         ("*extendqidi2_short_displ", "*extendsiqi2_short_displ"): Old
8475         pre-reload splitters are transformed to post-reload
8476         define_insn_and_split patterns.
8477         ("*tmqisi_ext"): Renamed old "*tmqi_ext".
8479 2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
8481         * config/cris/cris.h: Replace PROMOTE_PROTOTYPES with
8482         TARGET_PROMOTE_PROTOTYPES.
8484 2004-02-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8486         PR middle-end/13750
8487         Revert:
8488         2004-01-15  Geoffrey Keating  <geoffk@apple.com>
8489         PR pch/13361
8490         * c-typeck.c (constructor_asmspec): Delete.
8491         (struct initializer_stack): Delete field 'asmspec'.
8492         (start_init): Delete saving of asmspec.
8493         (finish_init): Don't update constructor_asmspec.
8494         * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
8495         * stmt.c (expand_asm): Duplicate strings from tree.
8496         (expand_asm_operands): Likewise.
8497         * tree.c (tree_size): Update computation of size of STRING_CST.
8498         (make_node): Don't make STRING_CST nodes.
8499         (build_string): Allocate string with tree node.
8500         * tree.def (STRING_CST): Update comment.
8501         * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
8502         (tree_string): Place contents of string in tree node.
8503         * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
8504         from tree.
8506 2004-02-05  Joseph S. Myers  <jsm@polyomino.org.uk>
8508         * diagnostic.h (DEFINE_DIAGNOSTIC_KIND): Change parameter M to
8509         msgid.
8511 2004-02-05  Dorit Naishlos  <dorit@il.ibm.com>
8513         * config/rs6000/altivec.md (*movv4si_internal): At least one
8514         operand must be altivec_register_operand.
8515         (*movv8hi_internal1): Likewise.
8516         (*movv16qi_internal1): Likewise.
8517         (*movv4sf_internal1): Likewise.
8519 2004-02-05  David Edelsohn  <edelsohn@gnu.org>
8521         * configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.
8522         * configure: Regenerate.
8524 2004-02-05  Jonathan Wakely  <redi@gcc.gnu.org>
8526         * doc/install.texi: Update description of --gxx-include-dir to
8527         give correct default value.
8529 2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
8531         * config/h8300/h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replace
8532         8 with MAC_REG.
8534 2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
8536         * config/pa/pa.c (emit_hpdiv_const): Replace gen_rtx with
8537         gen_rtx_PARALLEL.
8539 2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
8541         * emit-rtl.c: Update the comment about the file.
8543 2004-02-05  Joseph S. Myers  <jsm@polyomino.org.uk>
8545         * sourcebuild.texi (Test Idioms): Update testcase naming
8546         conventions.
8548 2004-02-04  Per Bothner  <per@bothner.com>
8550         Partially revert/redo 2003-10-01 change; fix -fworking-directory.
8551         * c-ppoutput.c (pp_dir_change):  New function.
8552         * c-common.h (pp_dir_change):  New declaration.
8553         * cpplib.h (struct cpp_options):  Remove working_directory field.
8554         * cppinit.c (cpp_find_main_file, cpp_push_main_file):  Merge back to
8555         (cpp_read_main_file):  as before 10-01.  Call _cpp_stack_file.
8556         Don't handle -fworking_directory here, but in c_common_post_options.
8557         (read_original_directory): Don't back up when done.
8558         Don't clear no-longer used working_directory flag.
8559         * cpplib.h:  Update declarations to match.
8560         * c-lex.c (cb_dir_change):  Move to c-opts.c.
8561         (init_c_lex):  Don't set dir_change callback here, since we want
8562         to set it even if flag_preprocess_only.
8563         * c-opts.c (cb_dir_change):  Function moved from c-lex.c.
8564         (c_common_post_options):  Set dir_change callback.
8565         Call pp_dir_change if approporiate.
8566         (finish_options):  Don't call cpp_find_main_file here.  Hence remove
8567         unneeded parameter and result. Do LC_RENAME for <built-in>.
8568         (c_common_post_options):  Call cpp_read_main_file here instead.
8569         (c_common_init):  Update accordingly.
8570         (push_command_line_include):  Don't cpp_push_main_file.
8571         Do LC_RENAME rather than LC_LEASE to get back to main file.
8572         Compared to pre-10-01 version, inline cpp_rename_to_main_file.
8573         (c_common_parse_file):  Call cpp_read_main_file for subsequent main
8574         files, but call finish_options for all files.
8575         * c-opts.c (sanitize_cpp_opts):  Don't set cpp_opts->working_directory.
8576         * fix-header.c (read_scan_file):  Call cpp_read_main_file instead of
8577         cpp_find_main_file + cpp_push_main_file.
8578         * c-lex.c (fe_file_change):  Don't set main_input_filename here.
8579         * opts.c (handle_options):  Only set main_input_filename first time.
8581 2004-02-05  Ian Lance Taylor  <ian@wasabisystems.com>
8583         * config/arm/arm.h (REG_CLASS_NAMES): Add missing comma.
8585 2004-02-04  Geoffrey Keating  <geoffk@apple.com>
8587         * reload.c (find_equiv_reg): When checking for register overlap,
8588         don't index hard_regno_nregs with a pseudo-reg.
8590 2004-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
8592         * config/s390/s390.c (s390_trampoline_template): Remove gen_rtx().
8594 2004-02-04  David Edelsohn  <edelsohn@gnu.org>
8596         * reload.c (refers_to_regno_for_reload_p): Test regno, not inner_regno,
8597         against FIRST_PSEUDO_REGISTER.
8599 2004-02-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8601         * Makefile.in: Move target, host overrides after per-language
8602         fragments.
8604         * config/mips/t-iris5-as (FORCE_DEBUG_ADAFLAGS): Clear.
8605         (GNATLIBCFLAGS): Remove -g.
8607 2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
8609         * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c,
8610         config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
8611         config/ia64/ia64.c, config/ia64/unwind-ia64.c,
8612         config/m32r/m32r.c, config/ns32k/ns32k.c, config/pa/pa.c,
8613         config/pdp11/pdp11.c, config/rs6000/rs6000.c,
8614         config/sparc/sparc.c, config/vax/vax.c: Revert the
8615         replacements of "FALLTHRU" with "Fall through" done in the
8616         previous patch.
8618 2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
8620         * config/darwin.c, config/darwin.h, config/freebsd-spec.h,
8621         config/arm/arm.c, config/arm/arm.md,
8622         config/cris/cris-protos.h, config/fr30/fr30.c,
8623         config/fr30/fr30.h, config/h8300/h8300.c, config/i386/i386.h,
8624         config/i860/i860.c, config/i860/i860.h, config/ia64/ia64-c.c,
8625         config/ia64/ia64.c, config/ia64/ia64.h, config/ip2k/ip2k.h,
8626         config/ip2k/ip2k.md, config/ip2k/libgcc.S,
8627         config/m32r/linux.h, config/m32r/m32r.c, config/m32r/m32r.h,
8628         config/m68k/m68k.c, config/m68k/netbsd-elf.h,
8629         config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.md,
8630         config/ns32k/netbsd.h, config/ns32k/ns32k.c,
8631         config/ns32k/ns32k.h, config/pdp11/pdp11.h,
8632         config/rs6000/darwin-ldouble.c, config/s390/s390.h,
8633         config/s390/s390.md, config/sparc/netbsd-elf.h,
8634         config/sparc/openbsd.h, config/sparc/sparc.c,
8635         config/xtensa/lib2funcs.S: Fix comment formatting.
8637 2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
8639         * config/alpha/alpha.c, config/arc/arc.c,
8640         config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h,
8641         config/arm/arm1026ejs.md, config/arm/arm1136jfs.md,
8642         config/arm/arm926ejs.md, config/arm/vfp.md, config/avr/avr.c,
8643         config/c4x/c4x.c, config/cris/cris.c, config/frv/frv.md,
8644         config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
8645         config/ia64/ia64.c, config/ia64/unwind-ia64.c,
8646         config/iq2000/iq2000.c, config/m32r/m32r.c,
8647         config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
8648         config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c,
8649         config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c,
8650         config/rs6000/rs6000.h, config/sparc/sparc.c,
8651         config/vax/vax.c: Fix comment typos.  Follow spelling
8652         conventions.
8654 2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
8656         * alloc-pool.h, c-convert.c, c-lang.c, c-tree.h,
8657         caller-save.c, df.h, genconfig.c, global.c, lcm.c,
8658         ra-rewrite.c, ra.c, regclass.c, regs.h, resource.c,
8659         sched-rgn.c, config/arm/aof.h, config/arm/cirrus.md,
8660         config/arm/fpa.md, config/arm/iwmmxt.md,
8661         config/arm/netbsd-elf.h, config/arm/netbsd.h,
8662         config/m68hc11/m68hc11.md, config/mips/iris5.h,
8663         config/mn10300/mn10300.md, config/rs6000/altivec.md,
8664         config/sparc/netbsd-elf.h: Update copyright.
8666 2004-02-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
8668         * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1
8669         for all modes whose size is greater than 8 bytes if ARCH32.
8670         (sparc_va_arg): Handle all modes whose size is greater than 8 bytes
8671         by reference if ARCH32.
8673 2004-02-04  Aldy Hernandez  <aldyh@redhat.com>
8675         * cgraphunit.c (cgraph_postorder): Fix typo in comment.
8677 2004-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
8679         * config/s390/s390.md ("*la_64" + peepholes, "reload_indi"): Move
8680         to before adddi3 insn patterns.
8681         ("*la_31" + peepholes, "*la_31_and", "*la_31_and_cc", "force_la_31",
8682         "reload_insi"): Move to before addsi3 insn patterns.
8684 2004-02-04  Mark Mitchell  <mark@codesourcery.com>
8686         * calls.c (initialize_argument_information): Add CALL_FROM_THUNK_P
8687         parameter.  Use it instead of current_function_is_thunk.
8688         * function.h (struct function): Update documentation for is_thunk.
8689         * tree.h (CALL_FROM_THUNK_P): New macro.
8690         * config/alpha/alpha.c (alpha_sa_mask): Do not check
8691         no_new_pseudos when testing current_function_is_thunk.
8692         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likeiwse.
8694 2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
8696         * doc/tm.texi: Replace SETUP_INCOMING_VARARGS with
8697         TARGET_SETUP_INCOMING_VARARGS.
8699 2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
8701         * emit-rtl.c (gen_rtx): Remove.
8702         * genattrtab.c: Don't mention gen_rtx in a comment.
8703         * rtl.h: Remove the prototype for gen_rtx.
8704         * doc/md.texi: Replace gen_rtx with gen_rtx_REG.
8706 2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
8708         * config/arc/arc.h, config/fr30/fr30.h
8709         (SETUP_INCOMING_VARARGS): Remove the target-independent
8710         comments.
8711         * doc/tm.texi: Don't mention deprecated target macros.
8713 2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
8715         * config/fr30/fr30.h (FUNCTION_VALUE): Remove the
8716         target-independent comment.
8718 2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
8720         * doc/interface.texi, doc/tm.texi, doc/trouble.texi: Don't
8721         mention deprecated target macros.
8723 2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
8725         * config.gcc: Remove obsolete ports and configurations.
8726         * config/linux-aout.h, config/netware.h,
8727         config/t-linux-gnulibc1, config/d30v/abi,
8728         config/d30v/d30v-protos.h, config/d30v/d30v.c,
8729         config/d30v/d30v.h, config/d30v/d30v.md,
8730         config/d30v/libgcc1.asm, config/d30v/t-d30v,
8731         config/dsp16xx/dsp16xx-modes.def,
8732         config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
8733         config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md,
8734         config/i370/README, config/i370/i370-c.c,
8735         config/i370/i370-protos.h, config/i370/i370.c,
8736         config/i370/i370.h, config/i370/i370.md, config/i370/linux.h,
8737         config/i370/mvs.h, config/i370/oe.h, config/i370/t-i370,
8738         config/i386/freebsd-aout.h, config/i386/linux-aout.h,
8739         config/i386/moss.h, config/i386/netware.h,
8740         config/i386/svr3.ifile, config/i386/svr3dbx.h,
8741         config/i386/svr3gas.h, config/i386/svr3z.ifile,
8742         config/i386/t-udk, config/i386/udk.h, config/i386/vsta.h,
8743         config/i960/i960-c.c, config/i960/i960-coff.h,
8744         config/i960/i960-modes.def, config/i960/i960-protos.h,
8745         config/i960/i960.c, config/i960/i960.h, config/i960/i960.md,
8746         config/i960/rtems.h, config/i960/t-960bare,
8747         config/m68k/hp310.h, config/m68k/hp320.h,
8748         config/m68k/hp320base.h, config/m68k/m68kv4.h,
8749         config/m68k/netbsd.h, config/m68k/sgs.h, config/m68k/t-hp320:
8750         Remove.
8751         * doc/extend.texi, doc/install.texi, doc/invoke.texi,
8752         doc/md.texi: Remove mentions of obsolete ports.
8754 2004-02-04  Jan Hubicka  <jh@suse.cz>
8756         * alias.c (find_base_term, get_addr):  Do not dereference NULL
8757         pointer when all VALUE's locations has been invalidated.
8758         (rtx_equal_for_memref_p): Simplify checking of VALUEs.
8760 2004-02-03  Wolfgang Bangerth  <bangerth@dealii.org>
8762         * doc/invoke.texi (x86 options): Fix spelling/wording.
8764 2004-02-03  Richard Sandiford  <rsandifo@redhat.com>
8766         * config/mips/iris5.h (ASM_OUTPUT_ASCII): Use mips_output_ascii to
8767         put the original string in a comment.
8768         * config/mips/mips-protos.h (mips_output_ascii): Add prefix argument.
8769         * config/mips/mips.c (mips_output_ascii): Likewise.
8770         * config/mips/mips.h (ASM_OUTPUT_ASCII): Adjust accordingly.
8772 2004-02-03  Kazu Hirata  <kazu@cs.umass.edu>
8774         * system.h (GIV_SORT_CRITERION): Poison.
8775         * config/avr/avr.h (GIV_SORT_CRITERION): Remove.
8776         * config/ip2k/ip2k.h (GIV_SORT_CRITERION): Likewise.
8778 2004-02-03  Roger Sayle  <roger@eyesopen.com>
8780         PR target/9348
8781         * expr.c (expand_expr_real) <MULT_EXPR>:  When performing widening
8782         multiplies with a multiplication of the wrong signedness, its the
8783         signedness of the multiplication that we've performed that needs to
8784         be passed to expand_mult_highpart_adjust.  Avoid emitting a nop-move
8785         if expand_mult_highpart_adjust places the result in target.
8787 2004-02-03  Richard Henderson  <rth@redhat.com>
8789         * varasm.c (const_desc_rtx_sym_eq): Compare symbol strings.
8791 2004-02-03  J"orn Rennecke <joern.rennecke@superh.com>
8793         * config.gcc (sh[234]l): Use little endian fragments.
8795 2004-02-03  Paul Koning  <pkoning@equallogic.com>
8797         * config/pdp11/pdp11-modes.def: Add RESET_FLOAT_FORMAT calls.
8798         * config/pdp11/pdp11-protos.h (legitimate_const_double_p): Add.
8799         * config/pdp11/pdp11.c (encode_pdp11_f, decode_pdp11_f,
8800         encode_pdp11_d, decode_pdp11_d): New functions to handle PDP11
8801         floating point format.
8802         (pdp11_f_format, pdp11_d_format): New real_format descriptors for
8803         the above functions.
8804         (output_move_quad): Output float values in correct target format.
8805         (legitimate_const_double_p): New function.
8806         * config/pdp11/pdp11.h: Fix typos.
8807         (FLOAT_WORDS_BIG_ENDIAN): Add definition.
8808         (TARGET_FLOAT_FORMAT): Ditto.
8809         (pdp11_f_format, pdp11_d_format): Add external declarations.
8810         (MAX_REGS_PER_ADDRESS): Corrected.
8811         (LEGITIMATE_CONSTANT_P): Use legitimate_const_double_p().
8812         (PRINT_OPERAND): Output float literals in target format.
8814 2004-02-03  Mark Mitchell  <mark@codesourcery.com>
8816         PR c++/13975
8817         * tree.h (enum tree_index): Add TI_PUBLIC, TI_PROTECTED, and
8818         TI_PRIVATE.
8819         (access_public_node): Redefine.
8820         (access_protected_node): Likewise.
8821         (access_private_node): Likewise.
8822         * tree.c (build_common_tree_nodes): Create access_public_node,
8823         access_protected_node, and access_private_node.
8825 2004-02-03  Steve Ellcey  <sje@cup.hp.com>
8827         * config/ia64/ia64.h (MASK_INLINE_INT_DIV_LAT): Change value.
8828         (MASK_INLINE_INT_DIV_THR): Ditto.
8829         (MASK_INLINE_SQRT_LAT): Ditto.
8830         (MASK_INLINE_SQRT_THR): Ditto.
8831         (MASK_DWARF2_ASM): Ditto.
8832         (MASK_EARLY_STOP_BITS): Ditto.
8834 2004-02-02  Paul Brook  <paul@codesourcery.com>
8836         Merge from csl-arm-branch.
8838         2004-01-30  Paul Brook  <paul@codesourcery.com>
8840         * aof.h (REGISTER_NAMES): Add vfp reg names
8841         (ADDITIONAL_REGISTER_NAMES): Ditto.
8842         * aout.h (REGISTER_NAMES): Ditto.
8843         (ADDITIONAL_REGISTER_NAMES): Ditto.
8844         * arm-protos.h: Update/Add Prototypes.
8845         * arm.c (init_fp_table): Rename from init_fpa_table. Update users.
8846         Only allow 0.0 for VFP.
8847         (fp_consts_inited): Rename from fpa_consts_inited.  Update users.
8848         (values_fp): Rename from values_fpa.  Update Users.
8849         (arm_const_double_rtx): Rename from const_double_rtx_ok_for_fpa.
8850         Update users.  Only check valid constants for this hardware.
8851         (arm_float_rhs_operand): Rename from fpa_rhs_operand.  Update Users.
8852         Only allow consts for FPA.
8853         (arm_float_add_operand): Rename from fpa_add_operand.  Update users.
8854         Only allow consts for FPA.
8855         (use_return_insn): Check for saved VFP regs.
8856         (arm_legitimate_address_p): Handle VFP DFmode addressing.
8857         (arm_legitimize_address): Ditto.
8858         (arm_general_register_operand): New function.
8859         (vfp_mem_operand): New function.
8860         (vfp_compare_operand): New function.
8861         (vfp_secondary_reload_class): New function.
8862         (arm_float_compare_operand): New function.
8863         (vfp_print_multi): New function.
8864         (vfp_output_fstmx): New function.
8865         (vfp_emit_fstm): New function.
8866         (arm_output_epilogue): Output VPF reg restore code.
8867         (arm_expand_prologue): Output VFP reg save code.
8868         (arm_print_operand): Add 'P'.
8869         (arm_hard_regno_mode_ok): Return modes for VFP regs.
8870         (arm_regno_class): Return classes for VFP regs.
8871         (arm_compute_initial_elimination_offset): Include space for VFP regs.
8872         (arm_get_frame_size): Ditto.
8873         * arm.h (FIXED_REGISTERS): Add VFP regs.
8874         (CALL_USED_REGISTERS): Ditto.
8875         (CONDITIONAL_REGISTER_USAGE): Enable VFP regs.
8876         (FIRST_VFP_REGNUM): Define.
8877         (LAST_VFP_REGNUM): Define.
8878         (IS_VFP_REGNUM): Define.
8879         (FIRST_PSEUDO_REGISTER): Include VFP regs.
8880         (HARD_REGNO_NREGS): Handle VFP regs.
8881         (REG_ALLOC_ORDER): Add VFP regs.
8882         (enum reg_class): Add VFP_REGS.
8883         (REG_CLASS_NAMES): Ditto.
8884         (REG_CLASS_CONTENTS): Ditto.
8885         (CANNOT_CHANGE_MODE_CLASS) Handle VFP Regs.
8886         (REG_CLASS_FROM_LETTER): Add 'w'.
8887         (EXTRA_CONSTRAINT_ARM): Add 'U'.
8888         (EXTRA_MEMORY_CONSTRAINT): Define.
8889         (SECONDARY_OUTPUT_RELOAD_CLASS): Handle VFP regs.
8890         (SECONDARY_INPUT_RELOAD_CLASS): Ditto.
8891         (REGISTER_MOVE_COST): Ditto.
8892         (PREDICATE_CODES): Add arm_general_register_operand,
8893         arm_float_compare_operand and vfp_compare_operand.
8894         * arm.md (various): Rename as above.
8895         (divsf3): Enable when TARGET_VFP.
8896         (divdf3): Ditto.
8897         (movdfcc): Ditto.
8898         (sqrtsf2): Ditto.
8899         (sqrtdf2): Ditto.
8900         (arm_movdi): Disable when TARGET_VFP.
8901         (arm_movsi_insn): Ditto.
8902         (movsi): Only split with general regs.
8903         (cmpsf): Use arm_float_compare_operand.
8904         (push_fp_multi): Restrict to TARGET_FPA.
8905         (vfp.md): Include.
8906         * vfp.md: New file.
8907         * fpa.md (various): Rename as above.
8908         * doc/md.texi: Document ARM w and U constraints.
8910         2004-01-15  Paul Brook  <paul@codesourcery.com>
8912         * config.gcc: Add with_fpu.  Allow with-float=softfp.
8913         * config/arm/arm.c (arm_override_options): Rename *-s to *s.
8914         Break out of loop when we find a float-abi.  Fix typo.
8915         * config/arm/arm.h (OPTION_DEFAULT_SPECS): Add "fpu".
8916         Set -mfloat-abi=.
8917         * doc/install.texi: Document --with-fpu.
8919         2003-01-14  Paul Brook  <paul@codesourcery.com>
8921         * config.gcc (with_arch): Add armv6.
8922         * config/arm/arm.h: Rename TARGET_CPU_*_s to TARGET_CPU_*s.
8923         * config/arm/arm.c (arm_overrride_options): Ditto.
8925         2004-01-08  Richard Earnshaw  <rearnsha@arm.com>
8927         * arm.c (FL_ARCH3M): Renamed from FL_FAST_MULT.
8928         (FL_ARCH6): Renamed from FL_ARCH6J.
8929         (arm_arch3m): Renamed from arm_fast_multiply.
8930         (arm_arch6): Renamed from arm_arch6j.
8931         * arm.h: Update all uses of above.
8932         * arm-cores.def: Likewise.
8933         * arm.md: Likewise.
8935         * arm.h (CPP_CPU_ARCH_SPEC): Emit __ARM_ARCH_6J__ define for armV6j,
8936         not arm6j.  Add entry for arch armv6.
8938         2004-01-07  Richard Earnshaw  <rearnsha@arm.com>
8940         * arm.c (arm_emit_extendsi): Delete.
8941         * arm-protos.h (arm_emit_extendsi): Delete.
8942         * arm.md (zero_extendhisi2): Also handle zero-extension of
8943         non-subregs.
8944         (zero_extendqisi2, extendhisi2, extendqisi2): Likewise.
8945         (thumb_zero_extendhisi2): Only match if not v6.
8946         (arm_zero_extendhisi2, thumb_zero_extendqisi2, arm_zero_extendqisi2)
8947         (thumb_extendhisi2, arm_extendhisi2, arm_extendqisi)
8948         (thumb_extendqisi2): Likewise.
8949         (thumb_zero_extendhisi2_v6, arm_zero_extendhisi2_v6): New patterns.
8950         (thumb_zero_extendqisi2_v6, arm_zero_extendqisi2_v6): New patterns.
8951         (thumb_extendhisi2_insn_v6, arm_extendhisi2_v6): New patterns.
8952         (thumb_extendqisi2_v6, arm_extendqisi_v6): New patterns.
8953         (arm_zero_extendhisi2_reg, arm_zero_extendqisi2_reg): Delete.
8954         (arm_extendhisi2_reg, arm_extendqisi2_reg): Delete.
8955         (arm_zero_extendhisi2addsi): Remove subreg.  Add attributes.
8956         (arm_zero_extendqisi2addsi, arm_extendhisi2addsi): Likewise.
8957         (arm_extendqisi2addsi): Likewise.
8959         2003-12-31  Mark Mitchell  <mark@codesourcery.com>
8961         Revert this change:
8962         * config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG
8963         + REG addressing modes.
8965         * config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG
8966         + REG addressing modes.
8968         2003-12-30  Mark Mitchell  <mark@codesourcery.com>
8970         * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept
8971         CONSTANT_P_RTX.
8973         2003-30-12  Paul Brook  <paul@codesourcery.com>
8975         * longlong.h: protect arm inlines with !defined (__thumb__)
8977         2003-30-12  Paul Brook  <paul@codesourcery.com>
8979         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Always define __arm__.
8981         2003-12-30  Nathan Sidwell  <nathan@codesourcery.com>
8983         * builtins.c (expand_builtin_apply_args_1): Fix typo in previous
8984         change.
8986         2003-12-29  Nathan Sidwell  <nathan@codesourcery.com>
8988         * builtins.c (expand_builtin_apply_args_1): Add pretend args size
8989         to the virtual incoming args pointer for downward stacks.
8991         2003-12-29  Paul Brook  <paul@codesourcery.com>
8993         * config/arm/arm-cores.def: Add cost function.
8994         * config/arm/arm.c (arm_*_rtx_costs): New functions.
8995         (arm_rtx_costs): Remove
8996         (struct processors): Add rtx_costs field.
8997         (all_cores, all_architectures): Ditto.
8998         (arm_override_options): Set targetm.rtx_costs.
8999         (thumb_rtx_costs): New function.
9000         (arm_rtx_costs_1): Remove cases handled elsewhere.
9001         * config/arm/arm.h (processor_type): Add COSTS parameter.
9003         2003-12-29  Nathan Sidwell  <nathan@codesourcery.com>
9005         * config/arm/arm.md (generic_sched): arm926 has its own scheduler.
9006         (arm926ejs.md): Include it.
9007         * config/arm/arm926ejs.md: New pipeline description.
9009         2003-12-24  Paul Brook  <paul@codesourcery.com>
9011         * config/arm/arm.c (arm_arch6j): New variable.
9012         (arm_override_options): Set it.
9013         (arm_emit_extendsi): New function.
9014         * config/arm/arm-protos.h (arm_emit_extendsi): Add prototype.
9015         * config/arm/arm.h (arm_arch6j): Declare.
9016         * config/arm/arm.md: Add sign/zero extend insns.
9018         2003-12-23  Paul Brook  <paul@codesourcery.com>
9020         * config/arm/arm.c (all_architectures): Add armv6.
9021         * doc/invoke.texi: Document it.
9023         2003-12-19  Paul Brook  <paul@codesourcery.com>
9025         * config/arm/arm.md: Add load1 and load_byte "type" attrs.  Modify
9026         insn patterns to match.
9027         * config/arm/arm-generic.md: Ditto.
9028         * config/arm/cirrus.md: Ditto.
9029         * config/arm/fpa.md: Ditto.
9030         * config/amm/iwmmxt.md: Ditto.
9031         * config/arm/arm1026ejs.md: Ditto.
9032         * config/arm/arm1135jfs.md: Ditto.  Add insn_reservation and bypasses
9033         for 11_loadb.
9035         2003-12-18  Nathan Sidwell  <nathan@codesourcery.com>
9037         * config/arm/arm-protos.h (arm_no_early_alu_shift_value_dep): Declare.
9038         * config/arm/arm.c (arm_adjust_cost): Check shift cost for
9039         TYPE_ALU_SHIFT and TYPE_ALU_SHIFT_REG.
9040         (arm_no_early_store_addr_dep, arm_no_early_alu_shift_dep,
9041         arm_no_early_mul_dep): Correctly deal with conditional execution,
9042         parallels and single shift operations.
9043         (arm_no_early_alu_shift_value_dep): Define.
9044         * arm.md (attr type): Replace 'normal' with 'alu',
9045         'alu_shift' and 'alu_shift_reg'.
9046         (attr core_cycles): Adjust.
9047         (*addsi3_carryin_shift, andsi_not_shiftsi_si, *arm_shiftsi3,
9048         *shiftsi3_compare0, *notsi_shiftsi, *notsi_shiftsi_compare0,
9049         *not_shiftsi_compare0_scratch, *cmpsi_shiftsi, *cmpsi_shiftsi_swp,
9050         *cmpsi_neg_shiftsi, *arith_shiftsi, *arith_shiftsi_compare0,
9051         *arith_shiftsi_compare0_scratch, *sub_shiftsi,
9052         *sub_shiftsi_compare0, *sub_shiftsi_compare0_scratch,
9053         *if_shift_move, *if_move_shift, *if_shift_shift): Set type
9054         attribute appropriately.
9055         * config/arm/arm1026ejs.md (alu_op): Adjust.
9056         (alu_shift_op, alu_shift_reg_op): New.
9057         * config/arm/arm1136.md: Add better bypasses for early
9058         registers. Remove load[234] and store[234] bypasses.
9059         (11_alu_op): Adjust.
9060         (11_alu_shift_op, 11_alu_shift_reg_op): New.
9062         2003-12-15  Nathan Sidwell  <nathan@codesourcery.com>
9064         * config/arm/arm-protos.h (arm_no_early_store_addr_dep,
9065         arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Declare.
9066         * config/arm/arm.c (arm_no_early_store_addr_dep,
9067         arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Define.
9068         * config/arm/arm1026ejs.md: Add load-store bypass.
9069         * config/arm/arm1136jfs.md (11_alu_op): Take 2 cycles.
9070         Add bypasses between instructions.
9072         2003-12-10  Paul Brook  <paul@codesourcery.com>
9074         * config/arm/arm.c (arm_fpu_model): New variable.
9075         (arm_fload_abi): New variable.
9076         (target_fpe_name): Rename from target_fp_name.
9077         (target_fpu_name): New variable.
9078         (arm_is_cirrus): Remove.
9079         (fpu_desc): New struct.
9080         (all_fpus): Define.
9081         (pf_model_for_fpu): Define.
9082         (all_loat_abis): Define.
9083         (arm_override_options): Set fp arch flags based on -mfpu=
9084         and -float-abi=.
9085         (FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM.
9086         (LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM.
9087         (*): Use new TARGET_* flags.
9088         * config/arm/arm.h (TARGET_ANY_HARD_FLOAT): Remove.
9089         (TARGET_HARD_FLOAT): No longer implies TARGET_FPA.
9090         (TARGET_SOFT_FLOAT): Ditto.
9091         (TARGET_SOFT_FLOAT_ABI): New.
9092         (TARGET_MAVERICK): Rename from TARGET_CIRRUS.  No longer implies
9093         TARGET_HARD_FLOAT.
9094         (TARGET_VFP): No longer implies TARGET_HARD_FLOAT.
9095         (TARGET_OPTIONS): Add -mfpu=.
9096         (FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM.
9097         (LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM.
9098         (arm_pf_model): Define.
9099         (arm_float_abi_type): Define.
9100         (fputype): Add FPUTYPE_VFP.  Change SOFT_FPA->NONE
9101         * config/arm/arm.md: Use new TARGET_* flags.
9102         * config/arm/cirrus.md: Ditto.
9103         * config/arm/fpa.md: Ditto.
9104         * config/arm/elf.h (ASM_SPEC): Pass -mfloat-abi= and -mfpu=.
9105         * config/arm/semi.h (ASM_SPEC): Ditto.
9106         * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Specify vfp.
9107         (FPUTYPE_DEFAULT): Set to VFP.
9108         * doc/invoke.texi: Document -mfpu= and -mfloat-abi=.
9110         2003-11-22  Phil Edwards  <phil@codesourcery.com>
9112         PR target/12476
9113         * config/arm/arm.c (arm_output_mi_thunk):  In Thumb mode, use
9114         'bx' instead of 'b' to avoid branch range restrictions.  Output
9115         the thunk immediately before the thunked-to function.
9116         * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME):  Do not emit
9117         .thumb_func if a thunk is being generated.  Emit .code 16 along
9118         with .thumb_func if a thunk is not being generated.
9120         2003-11-15  Nicolas Pitre <nico@cam.org>
9122         * config/arm/arm.md (ashldi3, arm_ashldi3_1bit, ashrdi3,
9123         arm_ashrdi3_1bit, lshrdi3, arm_lshrdi3_1bit): New patterns.
9124         * config/arm/iwmmxt.md (ashrdi3_iwmmxt): Renamed from ashrdi3.
9125         (lshrdi3_iwmmxt): Renamed from lshrdi3.
9126         * config/arm/arm.c (IWMMXT_BUILTIN2): Renamed argument accordingly.
9128         2003-11-12  Steve Woodford  <scw@wasabisystems.com>
9129             Ian Lance Taylor  <ian@wasabisystems.com>
9131         * config/arm/lib1funcs.asm (ARM_DIV_BODY, ARM_MOD_BODY): Add new
9132         code for __ARM_ARCH__ >= 5 && ! defined (__OPTIMIZE_SIZE__).
9134         2003-11-05  Phil Edwards  <phil@codesourcery.com>
9136         * config/arm/arm.md (insn):  Add new V6 instruction names.
9137         (generic_sched):  New attr.
9138         * config/arm/arm-generic.md:  Use generic_sched here.
9139         * config/arm/arm1026ejs.md:  Do not model fetch/issue/decode
9140         stages of pipeline.  Adjust latency counts accordingly.
9141         * config/arm/arm1136jfs.md:  New file.
9143         2003-10-28  Mark Mitchell  <mark@codesourcery.com>
9145         * config/arm/arm.h (processor_type): New enumeration type.
9146         (CPP_ARCH_DEFAULT_SPEC): Set appropriately for ARM 926EJ-S,
9147         ARM1026EJ-S, ARM1136J-S, and ARM1136JF-S processor cores.
9148         (CPP_CPU_ARCH_SPEC): Likewise.
9149         * config/arm/arm.c (arm_tune): New variable.
9150         (all_cores): Use cores.def.
9151         (all_architectures): Add representative processor.
9152         (arm_override_options): Restructure way in which tuning
9153         information is deduced.
9154         * arm.md: Update "insn" and "type" attributes throughout.
9155         (insn): New attribute.
9156         (type): Compute "mult" from "insn" attribute.  Add load2,
9157         load3, load4 alternatives.
9158         (arm automaton): Move to arm-generic.md.
9159         * config/arm/arm-cores.def: New file.
9160         * config/arm/arm-generic.md: Likewise.
9161         * config/arm/arm1026ejs.md: Likewise.
9163 2004-02-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
9165         * doc/invoke.texi (SPARC options): Remove -mflat and
9166         all -mxxx (xxx:chip) options.
9167         * config/sparc/aout.h (DBX_REGISTER_NUMBER): Delete.
9168         * config/sparc/litecoff.h (DBX_REGISTER_NUMBER): Likewise.
9169         * config/sparc/netbsd-elf.h (DBX_REGISTER_NUMBER): Likewise.
9170         * config/sparc/sol2.h (DBX_REGISTER_NUMBER): Likewise.
9171         * config/sparc/sparc-protos.h: Delete sparc_flat_* prototypes.
9172         * config/sparc/sparc.c: Likewise.
9173         (sparc_output_function_prologue): Remove TARGET_FLAT handling.
9174         (sparc_nonflat_function_prologue): Rename into sparc_function_prologue.
9175         (sparc_output_function_epilogue): Remove TARGET_FLAT handling.
9176         (sparc_nonflat_function_epilogue): Rename into sparc_function_epilogue.
9177         (struct sparc_frame_info, current_frame_info, zero_frame_info): Delete.
9178         (sparc_flat_must_save_register_p): Likewise.
9179         (sparc_flat_compute_frame_size): Likewise.
9180         (sparc_flat_save_restore): Likewise.
9181         (sparc_flat_function_prologue): Likewise.
9182         (sparc_flat_function_epilogue): Likewise.
9183         (sparc_flat_epilogue_delay_slots): Likewise.
9184         (sparc_flat_eligible_for_epilogue_delay): Likewise.
9185         (sparc_function_ok_for_sibcall): Remove TARGET_FLAT handling.
9186         * config/sparc/sparc.h (MASK_FLAT, TARGET_FLAT): Delete.
9187         (TARGET_SWITCHES): Remove -mflat and all -mxxx (xxx:chip) options.
9188         (SPARC_INCOMING_INT_ARG_FIRST): Remove TARGET_FLAT handling.
9189         (CONDITIONAL_REGISTER_USAGE): Likewise.
9190         (FRAME_POINTER_REQUIRED): Likewise.
9191         (INITIAL_ELIMINATION_OFFSET): Likewise.
9192         (BASE_RETURN_VALUE_REG): Likewise.
9193         (BASE_OUTGOING_VALUE_REG): Likewise.
9194         (BASE_PASSING_ARG_REG): Likewise.
9195         (BASE_INCOMING_ARG_REG): Likewise.
9196         (INCOMING_REGNO): Likewise.
9197         (OUTGOING_REGNO): Likewise.
9198         (LOCAL_REGNO): Likewise.
9199         (DELAY_SLOTS_FOR_EPILOGUE): Likewise.
9200         (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise.
9201         (EPILOGUE_USES): Likewise.
9202         * config/sparc/sparc.md ("isa" attribute): Change "v6" into "v7".
9203         ("flat" attribute): Delete.
9204         (do_builtin_setjmp_setup): Remove TARGET_FLAT and "flat" attribute
9205         handling.
9206         (call followed by jump define_peephole's): Delete.
9207         (exception_receiver): Likewise.
9208         (builtin_setjmp_receiver): Likewise.
9209         * config/sparc/t-sparclite (MULTILIB_OPTIONS): Remove -mflat.
9211 2004-02-03  Paolo Bonzini  <bonzini@gnu.org>
9213         PR c/11658
9214         PR c/13994
9215         * Makefile.in (c-parse.o, c-convert.o, c-typeck.o): Depend
9216         on langhooks.h.
9217         * objc/Make-lang.in (objc-parse.o): Depend on langhooks.h.
9218         * c-parse.in, c-convert.c, c-typeck.c, objc/objc-act.c:
9219         Include langhooks.h.  Replace c_common_truthvalue_conversion
9220         with the truthvalue_conversion language hook throughout.
9221         (expr_no_commas): Call default_conversion before save_expr
9222         for the first term of the production 'x ? : y'.
9223         * c-common.c (c_common_truthvalue_conversion): Remove
9224         obsolete block.  Invoke recursively the hook instead
9225         of this function.
9226         * c-convert.c (convert): handle ERROR_MARK_NODE.
9227         * c-typeck.c (build_binary_op): handle ERROR_MARK_NODE
9228         returned by the truthvalue_conversion language hook.
9229         * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Use
9230         c_objc_common_truthvalue_conversion.
9231         * c-objc-common.c (c_objc_common_truthvalue_conversion):
9232         New function.
9233         * c-tree.h (c_objc_common_truthvalue_conversion): Declare it.
9234         * objc/objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Use
9235         c_objc_common_truthvalue_conversion.
9237 2004-02-03  Kazu Hirata  <kazu@cs.umass.edu>
9239         * config/c4x/c4x.h (FUNCTION_VALUE): Use gen_rtx_REG instead
9240         of gen_rtx.
9241         (LIBCALL_VALUE): Likewise.
9242         * config/ip2k/ip2k.c (mdr_try_propagate_clr_sequence): Use
9243         gen_rtx_CC0 instead of gen_rtx.
9244         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use
9245         gen_rtx_fmt_e and gen_rtx_fmt_ee instead of gen_rtx.
9246         (m68hc11_expand_compare): Use gen_rtx_fmt_ee instead of
9247         gen_rtx.
9248         (m68hc11_emit_logical): Likewise.
9250 2004-02-03  Kazu Hirata  <kazu@cs.umass.edu>
9252         * config/alpha/alpha.c, config/arm/arm.c, config/c4x/c4x.c,
9253         config/fr30/fr30.md, config/frv/frv.c, config/frv/frv.md,
9254         config/h8300/h8300.c, config/ia64/ia64.c, config/ip2k/ip2k.md,
9255         config/m32r/m32r.md, config/m68hc11/m68hc11.c,
9256         config/mips/mips.md, config/mmix/mmix.c,
9257         config/mn10300/mn10300.c, config/mn10300/mn10300.md,
9258         config/ns32k/ns32k.c, config/pa/pa.md, config/pdp11/pdp11.c,
9259         config/rs6000/altivec.md, config/s390/s390.c,
9260         config/s390/s390.h, config/s390/s390.md, config/sh/sh.c,
9261         config/sh/sh.h, config/sh/sh.md, config/stormy16/stormy16.c:
9262         Use const0_rtx instead of GEN_INT (0).  Do the same for other
9263         constants that are readily available.
9265 2004-02-03  Kazu Hirata  <kazu@cs.umass.edu>
9267         * doloop.c, optabs.c, regmove.c, sched-deps.c,
9268         config/i386/i386.c, config/i386/i386.md: Use const0_rtx
9269         instead of GEN_INT (0).  Do the same for other constants that
9270         are readily available.
9272 2004-02-03  Kazu Hirata  <kazu@cs.umass.edu>
9274         * combine.c (simplify_set): Use gen_rtx_fmt_e instead of
9275         gen_rtx.
9276         * emit-rtl.c (init_emit_once): Use gen_rtx_PC and gen_rtx_CC0
9277         instead of gen_rtx.
9278         * reload1.c (init_elim_table): Use gen_rtx_fmt_e instead of
9279         gen_rtx.
9280         * config/ns32k/ns32k.md (udivmodhi4): Use gen_rtx_IOR and
9281         gen_rtx_ASHIFT instead of gen_rtx.
9282         (udivmodqi4): Likewise.
9284 2004-02-02  Richard Henderson  <rth@redhat.com>
9286         PR target/13789
9287         * expr.c (store_expr): Use force_operand before emit_move_insn.
9289 2004-02-02  Jeff Law  <law@redhat.com>
9290             Roger Sayle  <roger@eyesopen.com>
9292         * tree.c (commutative_tree_code, associative_tree_code): New
9293         functions.
9294         (iterative_hash_expr): Use commutative_tree_code.
9295         * tree.h (commutative_tree_code, associative_tree_code): Declare.
9296         * fold-const.c (operand_equal_p): Use commutative_tree_code
9297         rather than inlining the commutativity check.
9298         (fold): Likewise.
9300 2004-02-02  Kazu Hirata  <kazu@cs.umass.edu>
9302         * system.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Poison.
9303         * config/frv/frv-protos.h: Remove the prototype for
9304         frv_function_arg_keep_as_reference.
9305         * config/frv/frv.c (frv_function_arg_keep_as_reference):
9306         Remove.
9307         * config/frv/frv.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Likewise.
9308         * config/stormy16/stormy16.h: Remove the commented-out
9309         definition of FUNCTION_ARG_KEEP_AS_REFERENCE.
9311 2004-02-03  Alan Modra  <amodra@bigpond.net.au>
9313         PR target/13914
9314         * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Use ap
9315         for retaddr_column.
9317 2004-02-02  Kazu Hirata  <kazu@cs.umass.edu>
9319         * genemit.c (gen_exp): Generate gen_rtx_fmt_e* instead of
9320         gen_rtx.
9322 2004-02-02  Eric Christopher  <echristo@redhat.com>
9323             Zack Weinberg  <zack@codesourcery.com>
9325         * c-opts.c (c_common_handle_option): Add -finput-charset.
9326         * c.opt: Ditto.
9327         * cppcharset.c (one_iso88591_to_utf8): Remove.
9328         (convert_iso88591_utf8): Ditto.
9329         (conversion_tab): Remove 8859-1 converter.
9330         (_cpp_input_to_utf8): Remove.
9331         (_cpp_init_iconv_buffer): Ditto.
9332         (_cpp_close_iconv_buffer): Ditto.
9333         (_cpp_convert_input): New function.
9334         (_cpp_default_encoding): Ditto.
9335         * cpphash.h: Add/remove prototypes for above.
9336         * cppfiles.c (read_file_guts): Use _cpp_convert_input.
9337         * cppinit.c (cpp_create_reader): Use _cpp_default_encoding
9338         for narrow execution and input character sets.
9339         * cpplib.c (cpp_push_buffer): Delete uses of removed functions.
9340         * doc/cppopts.texi: Document -finput-charset.
9342 2004-02-02  David Edelsohn  <edelsohn@gnu.org>
9344         * rtlanal.c (refers_to_regno_p): Test regno, not inner_regno,
9345         against FIRST_PSEUDO_REGISTER.
9347 2004-02-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
9349         * doc/invoke.texi (SPARC options): Further improve.
9351 2004-02-02  Kazu Hirata  <kazu@cs.umass.edu>
9353         * config/arm/arm.md, config/c4x/c4x.md, config/cris/cris.md,
9354         config/h8300/h8300.c, config/ip2k/ip2k.md,
9355         config/iq2000/iq2000.c, config/mips/mips.c,
9356         config/rs6000/rs6000.c, config/rs6000/rs6000.md,
9357         config/sh/sh.c, config/sh/sh.md, config/stormy16/stormy16.c,
9358         config/v850/v850.md: Fix indentation.
9360 2004-02-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
9362         * config/sparc/sparc.c (function_arg_slotno): Align TImode
9363         arguments on a 16-byte boundary in the parameter array if ARCH64.
9364         Split handling of TFmode.
9366 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
9368         * rtlanal.c (reg_overlap_mentioned_p) [!ENABLE_CHECKING]:
9369         Don't test CONSTANT_P (x).
9370         (reg_overlap_mentioned_p): Merge check for STRICT_LOWPART,
9371         ZERO_EXTRACT, SIGN_EXTRACT with the switch statement.
9372         Fix misindentation.
9374 2004-02-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
9376         * doc/invoke.texi (SPARC options): Document that -mflat is deprecated.
9378 2004-02-02  Kazu Hirata  <kazu@cs.umass.edu>
9380         * config/arc/arc.md, config/arm/arm.c, config/arm/arm.md,
9381         config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.md,
9382         config/frv/frv.c, config/h8300/h8300.c, config/ip2k/ip2k.md,
9383         config/iq2000/iq2000.c, config/m32r/m32r.c,
9384         config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.md,
9385         config/mn10300/mn10300.c, config/rs6000/rs6000.c,
9386         config/rs6000/rs6000.md, config/sh/sh.c, config/sh/sh.md,
9387         config/stormy16/stormy16.c, config/v850/v850.md,
9388         config/xtensa/xtensa.c: Replace gen_rtx with gen_rtx_fmt_e*.
9390 2004-02-01  Kazu Hirata  <kazu@cs.umass.edu>
9392         * config/mcore/mcore.c (block_move_sequence): Replace
9393         gen_rtx_CONST_INT with GEN_INT.
9395 2004-02-02  Jan Hubicka  <jh@suse.cz>
9397         * alias.c (record_set): Use hard_regno_nregs.
9398         * bt-load.c (find_btr_reference, note_btr_set): Likewise.
9399         * builtins.c (apply_args_size): Likewise.
9400         * caller-save.c (setup_save_areas, save_call_clobbered_regs,
9401         mark_set_regs, add_stored_regs, mark_referenced_regs,
9402         insert_restore, insert_save, insert_one_insn): Likewise.
9403         * cfgcleanup.c: Include regs.h
9404         (mark_effect, mentions_nonequal_regs): Likewise.
9405         * cfgrtl.c (mark_killed_regs): Likewise
9406         * combine.c (update_table_tick, record_value_for_reg,
9407         record_dead_and_set_regs, get_last_value_validate, use_crosses_set_p,
9408         reg_dead_at_p_1, reg_dead_at_p, mark_used_regs_combine, move_deaths,
9409         reg_bitfield_target_p, distribute_notes): Likewise.
9410         * cse.c (mention_regs, insert, invalidate, invalidate_for_call,
9411         exp_equiv_p, cse_insn): Likewise.
9412         * cselib.c (cselib_lookup): Likewise.
9413         (cselib_invalidate_regno, cselib_record_set): Likewise.
9414         * df.c (df_ref_record): Likewise.
9415         * dwarf2out.c (reg_loc_descriptor, multiple_reg_loc_descriptor):
9416         Likewise.
9417         * flow.c (mark_reg, insn_dead_p, mark_set_1, mark_used_reg,
9418         count_or_remove_death_notes_bb): Likewise.
9419         * function.c (aggregate_value_p, keep_stack_depressed): Likewise.
9420         * gloval.c (global_alloc, find_reg, mark_reg_store, mark_reg_conflicts,
9421         mark_reg_death, set_preference, reg_becomes_live, reg_dies): Likewise.
9422         * integrate.c (mark_stores): Likewise.
9423         * jump.c (delete_prior_computation): Likewise.
9424         * lcm.c (reg_dies, reg_becomes_live): Likewise.
9425         * local-alloc.c (combine_regs, find_free_reg, post_mark_life): Likewise.
9426         * loop.c (LOOP_REGNO_NREGS): Likewise.
9427         * postreload.c (reload_combine, reload_combine_note_store,
9428         reload_combine_note_use, reload_cse_move2add, move2add_note_store): Likewise.
9429         * ra-colorize.c (combine, color_usable_p, get_free_reg,
9430         calculate_dont_begin, calculate_dont_begin, colorize_one_web,
9431         try_recolor_web, insert_coalesced_conflicts, check_colors,
9432         break_precolored_alias): Likewise.
9433         * ra-debug.c: Include regs.h
9434         (ra_print_rtx_object): Likewise.
9435         * ra-rewrite (choose_spill_colors): Likewise.
9436         (spill_same_color_p, update_spill_colors, spill_is_free): Likewise.
9437         * ra.c (init_ra): Likewise.
9438         * recog.c (reg_fits_class_p, peep2_reg_dead_p,
9439         peep2_find_free_register): Likewise.
9440         * reg-stack.c (subst_stack_regs_pat, convert_regs_exit): Likewise.
9441         * regclass.c (hard_regno_nregs): New array.
9442         (init_reg_modes_once): Initialize it.
9443         (choose_hard_reg_mode): Use it.
9444         (record_reg_classes): Likewise.
9445         * regmove.c (mark_flags_life_zones): Likewise.
9446         * regrename.c (note_sets, clear_dead_regs, regrename_optimize,
9447         scan_rtx_reg, dump_def_use_chain, kill_value, set_value_regno,
9448         copy_value, maybe_mode_change, find_oldest_value_reg,
9449         copyprop_hardreg_forward_1):
9450         * regs.h (hard_regno_nregs): Declare.
9451         * realod.c (reload_inner_reg_of_subreg): Use it.
9452         (push_reload, combine_reloads, find_dummy_reload,
9453         hard_reg_set_here_p, operands_match_p, decompose, find_reloads,
9454         refers_to_regno_for_reload_p, find_equiv_reg, regno_clobbered_p,
9455         reload_adjust_reg_for_mode): Likewise.
9456         * reload1.c (compute_use_by_pseudos, count_pseudo,
9457         count_spilled_pseudo, find_reg, find_reload_regs, mark_home_live,
9458         spill_hard_reg, forget_old_reloads_1, mark_reload_reg_in_use,
9459         clear_reload_reg_in_use, reload_reg_free_for_value_p, free_for_value_p
9460         allocate_reload_reg, choose_reload_regs, emit_reload_insns,
9461         delete_output_reload): Likewise.
9462         * resource.c (update_live_status, mark_referenced_resources,
9463         mark_set_resources, mark_target_live_regs): Likewise.
9464         * rtlanal.c:  Include regs.h
9465         (refers_to_regno_p, reg_overlap_mentioned_p, dead_or_set_p,
9466         dead_or_set_regno_p, find_regno_note, find_reg_fusage,
9467         subreg_regno_offset, subreg_offset_representable_p,
9468         hoist_test_store): Likewise.
9469         * sched-deps.c (sched_analyze_1, sched_analyze_2): Likewise.
9470         * sched-rgn.c (check_live_1, update_live_1): Likewise.
9471         * stmt.c: Include regs.h
9472         (decl_conflicts_with_clobbers_p): Likewise.
9473         * varasm.c (make_decl_rtl): Likewise.
9474         * Makefile.in (cfgcleanup.o, rtlanal.o, ra-debug.o): Add regs.h dependnecy.
9476 2004-02-01  Kazu Hirata  <kazu@cs.umass.edu>
9478         * config/arm/arm.c, config/arm/arm.h, config/arm/arm.md,
9479         config/arm/linux-gas.h, config/arm/netbsd-elf.h,
9480         config/arm/netbsd.h, config/arm/pe.c, config/avr/avr.c,
9481         config/avr/avr.h, config/avr/avr.md, config/c4x/c4x.h,
9482         config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c,
9483         config/frv/frv.h, config/ip2k/ip2k.c, config/iq2000/iq2000.c,
9484         config/iq2000/iq2000.h, config/m32r/m32r.c,
9485         config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
9486         config/m68hc11/m68hc11.md, config/m68k/m68k.md,
9487         config/mcore/mcore.c, config/mcore/mcore.h,
9488         config/mcore/mcore.md, config/mips/mips.c,
9489         config/ns32k/ns32k.h, config/ns32k/ns32k.md,
9490         config/rs6000/rs6000.c, config/s390/s390.c,
9491         config/s390/s390.md, config/sparc/sparc.c, config/v850/v850.c,
9492         config/xtensa/xtensa.h, config/xtensa/xtensa.md: Replace
9493         "gen_rtx (FOO, " with "gen_rtx_FOO (".
9495 2004-02-01  Kazu Hirata  <kazu@cs.umass.edu>
9497         * config/h8300/h8300.md (two peephole2's): New.
9499 2004-02-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
9501         * config/sparc/sol2-bi.h: Handle TARGET_CPU_ultrasparc3.
9502         (CPP_CPU_SPEC): Handle -mcpu=ultrasparc3.
9503         (ASM_CPU_SPEC): Likewise
9504         * config/sparc/sol2.h: Handle TARGET_CPU_ultrasparc3.
9505         (ASM_CPU_SPEC): Remove -mcpu=v8plus.  Handle -mcpu=ultrasparc3.
9507 2004-02-01  Roger Sayle  <roger@eyesopen.com>
9509         * builtins.c (expand_builtin_pow): If flag_unsafe_math_optimizations
9510         isn't set, don't call expand_builtin_mathfn_2 to use the pow optab.
9511         (expand_builtin): Always call expand_builtin_pow.
9513 2004-02-01  Roger Sayle  <roger@eyesopen.com>
9515         * builtins.def (BUILT_IN_SIGNBIT, BUILT_IN_SIGNBITF,
9516         BUILT_IN_SIGNBITL): New GCC builtins.
9517         * builtins.c (expand_builtin_signbit): New function to RTL expand
9518         calls to signbit, signbitf and signbitl as inline intrinsics.
9519         (expand_builtin): Call expand_builtin_signbit for BUILT_IN_SIGNBIT*.
9520         (fold_builtin_signbit): New function to perform constant folding
9521         of signbit, signbitf and signbitl.
9522         (fold_builtin): Call fold_builtin_signbit for BUILT_IN_SIGNBIT*.
9524         * doc/extend.texi: Document new signbit{,f,l} builtins.
9526 2004-02-01  Richard Sandiford  <rsandifo@redhat.com>
9528         * config/mips/mips.md (adddi3_internal_2): Remove superfluous %s.
9530 2004-02-01  Chris Demetriou  <cgd@broadcom.com>
9532         * config/mips/mips.h (PREDICATE_CODES): Remove entries for
9533         "mips_const_double_ok" and "simple_memory_operand", which were
9534         removed from the MIPS port with the mips-3_4-rewrite branch merge.
9535         * config/mips/mips.c (mips16_lay_out_constants): Update comment
9536         for removal of simple_memory_operand.
9538 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
9540         * config/c4x/c4x.md: Use GEN_INT instead of
9541         gen_rtx (CONST_INT, ...).
9543 2004-01-31  Richard Henderson  <rth@redhat.com>
9545         * varasm.c (output_constant_pool): Don't zap the pool.
9547 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
9549         * genrecog.c (decision_type): Add DT_const_int.
9550         (write_cond) [DT_const_int]: Print a comparison against small
9551         constant.
9552         (write_node): Simplify comparisons against small constants
9553         before printing tests.
9555 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
9557         * config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT
9558         instead of gen_rtx_CONST_INT.
9560 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
9562         * config/xtensa/xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT
9563         instead of gen_rtx_CONST_INT.
9565 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
9567         * target-def.h (TARGET_STRICT_ARGUMENT_NAMING): Define as
9568         hook_bool_CUMULATIVE_ARGS_false.
9569         * targhooks.c (default_strict_argument_naming): Rename to
9570         hook_bool_CUMULATIVE_ARGS_false.
9571         * targhooks.h: Update the prototype for
9572         default_strict_argument_naming.
9574 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
9576         * config/sh/sh.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".
9577         * config/sh/sh.h: Likewise.
9578         * config/sh/sh.md: Likewise.
9580 2004-01-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
9582         * doc/invoke.texi (SPARC options): Restructure and update.
9584 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
9586         * system.h (PROMOTE_FUNCTION_ARGS, STRUCT_VALUE_INCOMING, and
9587         STRICT_ARGUMENT_NAMING): Poison.
9588         * target-def.h (TARGET_PROMOTE_FUNCTION_ARGS): Define as
9589         hook_bool_tree_false.
9590         * targhooks.c (default_promote_function_args): Remove.
9591         (default_struct_value_rtx): Don't use STRUCT_VALUE_INCOMING.
9592         Don't check incoming.
9593         (default_strict_argument_naming): Don't use
9594         STRICT_ARGUMENT_NAMING.
9595         * targhooks.h: Remove the prototype for
9596         default_promote_function_args.
9598 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
9600         * config/i386/i386-protos.h: Remove the prototype for
9601         ix86_setup_incoming_varargs.
9602         * config/i386/i386.c (TARGET_SETUP_INCOMING_VARARGS): New.
9603         (ix86_setup_incoming_varargs): Make it static.
9604         * config/i386/i386.h (SETUP_INCOMING_VARARGS): Remove.
9606 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
9608         * alloc-pool.c: Fix comment typos.
9609         * builtin-types.def: Likewise.
9610         * builtins.def: Likewise.
9611         * c-pretty-print.c: Likewise.
9612         * df.h: Likewise.
9613         * reload1.c: Likewise.
9615 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
9617         * doc/invoke.texi: Follow spelling conventions.
9618         * doc/tm.texi: Likewise.
9620 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
9622         * doc/install.texi: Fix typos.
9623         * doc/invoke.texi: Likewise.
9625 2004-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
9627         * config/s390/s390.c (s390_decompose_address): Do not treat virtual
9628         registers as pointers.
9629         * config/s390/s390.md ("*la_31" second peephole2): Fix incorrect mode.
9631 2004-01-31  Paolo Bonzini  <bonzini@gnu.org>
9633         * combine.c (cse_main): Set gen_lowpart to gen_lowpart_for_combine
9634         and restore it to gen_lowpart_general on exit.
9635         (gen_lowpart_for_combine): Adjust all callers to go through
9636         gen_lowpart.
9637         * cse.c (cse_main): Set gen_lowpart to gen_lowpart_if_possible
9638         and restore it to gen_lowpart_general on exit.
9639         (gen_lowpart_if_possible): Adjust all callers to go through
9640         gen_lowpart.
9641         * emit-rtl.c (gen_lowpart_general): New name of gen_lowpart.
9642         (gen_lowpart): Declare as pointer to function, initialized to
9643         gen_lowpart_general.
9644         * rtl.h (gen_lowpart): Declare as pointer to function.
9646 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
9648         * bt-load.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".
9649         * calls.c: Likewise.
9650         * emit-rtl.c: Likewise.
9651         * function.c: Likewise.
9652         * reload1.c: Likewise.
9653         * config/i386/cygming.h: Likewise.
9654         * config/i386/i386.c: Likewise.
9655         * config/i386/winnt.c: Likewise.
9657 2004-01-30  Dara Hazeghi  <dhazeghi@yahoo.com>
9659         PR bootstrap/9249
9660         * doc/install.texi: document --enable-__cxa_atexit option.
9661         * configure.ac: Disable __cxa_atexit if not supported.
9662         * configure: Regenerate.
9664 2003-01-30  Daniel Berlin  <dberlin@dberlin.org>
9666         * ggc-zone.c (ggc_free): New function.
9668 2004-01-30  Kazu Hirata  <kazu@cs.umass.edu>
9670         alloc-pool.c, c-lex.c, c-pragma.h, c-semantics.c, cfghooks.c,
9671         cfghooks.h, cfglayout.c, cfgloopmanip.c, debug.c, debug.h,
9672         flow.c, genextract.c, ggc-common.c, ggc-page.c, ggc.h,
9673         ifcvt.c, jump.c, loop-unswitch.c, timevar.c, timevar.def,
9674         tree-optimize.c, vmsdbgout.c, config/fp-bit.c,
9675         config/alpha/alpha.c, config/alpha/alpha.h,
9676         config/alpha/alpha.md, config/alpha/unicosmk.h,
9677         config/alpha/vms.h, config/arm/linux-elf.h, config/avr/avr.c,
9678         config/c4x/c4x-protos.h, config/c4x/c4x.md,
9679         config/d30v/d30v.h, config/frv/frv.md, config/frv/frvbegin.c,
9680         config/frv/frvend.c, config/i386/cygming.h,
9681         config/i386/djgpp.h, config/i386/emmintrin.h,
9682         config/i386/gthr-win32.c, config/i386/i386-interix.h,
9683         config/i386/i386-protos.h, config/i386/openbsd.h,
9684         config/i386/winnt.c, config/i386/xm-mingw32.h,
9685         config/i386/xmmintrin.h, config/ia64/ia64.md,
9686         config/iq2000/iq2000.md, config/m32r/m32r.md,
9687         config/m68k/m68k.md, config/mcore/mcore-elf.h,
9688         config/mcore/mcore.md, config/mips/elf.h, config/mips/elf64.h,
9689         config/mips/iris5gas.h, config/mips/iris6.h,
9690         config/mips/iris6gas.h, config/mips/linux.h,
9691         config/mips/mips.md, config/mips/netbsd.h,
9692         config/mips/openbsd.h, config/mips/windiss.h,
9693         config/pa/fptr.c, config/rs6000/aix.h,
9694         config/rs6000/altivec.h, config/rs6000/darwin.h,
9695         config/rs6000/xcoff.h, config/s390/s390-protos.h,
9696         config/s390/s390.c, config/s390/s390.h, config/s390/s390.md,
9697         config/sh/netbsd-elf.h, config/sh/sh.h, config/sh/vxworks.h,
9698         config/sparc/sol2.h: Update copyright.
9700 2004-01-30  Kelley Cook  <kcook@gcc.gnu.org>
9702         * Makefile.in (abs_docdir, abs_srcdir): Define.
9703         (doc/%.dvi, doc/gccinstall.dvi): Use $(abs_docdir).
9705 2004-01-30  Kazu Hirata  <kazu@cs.umass.edu>
9707         * genconfig.c (main): Have CC0_P check its operand even on a
9708         target without cc0.
9710 2004-01-30  Kazu Hirata  <kazu@cs.umass.edu>
9712         * config/alpha/alpha.c: Remove mentions of deprecates macros
9713         in comments, remove some target-independent comments about target
9714         macros, and/or add minimal function comments for target hook
9715         implementations.
9716         * config/avr/avr.c: Likewise.
9717         * config/ia64/ia64.h: Likewise.
9718         * config/ip2k/ip2k.c: Likewise.
9719         * config/iq2000/iq2000.c: Likewise.
9720         * config/m32r/m32r.h: Likewise.
9721         * config/m68hc11/m68hc11.c: Likewise.
9722         * config/mcore/mcore.c: Likewise.
9723         * config/mmix/mmix.c: Likewise.
9724         * config/mn10300/mn10300.c: Likewise.
9725         * config/pa/pa.c: Likewise.
9726         * config/pdp11/pdp11.c: Likewise.
9727         * config/rs6000/rs6000.h: Likewise.
9728         * config/sh/sh.c: Likewise.
9729         * config/sh/sh.h: Likewise.
9730         * config/sparc/sparc.c: Likewise.
9731         * config/sparc/sparc.h: Likewise.
9732         * config/stormy16/stormy16.c: Likewise.
9733         * config/xtensa/xtensa.c: Likewise.
9735 2004-01-30  Ulrich Weigand  <uweigand@de.ibm.com>
9737         PR optimization/12147
9738         * reload1.c (reload_reg_free_p): RELOAD_OTHER conflicts with
9739         RELOAD_FOR_OPADDR_ADDR.
9740         (reload_reg_reaches_end_p): RELOAD_FOR_OTHER_ADDRESS register
9741         might be reused as RELOAD_FOR_OPADDR_ADDR register.
9743 2004-01-30  Jan Hubicka  <jh@suse.cz>
9745         * reload.c (get_secondary_mem): Fix updating of
9746         secondary_memlocs_elim_used.
9748 2004-01-30  Richard Henderson  <rth@redhat.com>
9750         * varasm.c (struct rtx_const, struct pool_constant): Remove.
9751         (MAX_RTX_HASH_TABLE): Remove.
9752         (const_rtx_hash_table, const_rtx_sym_hash_table): Remove.
9753         (first_pool, last_pool, pool_offset): Remove.
9754         (struct rtx_constant_pool): Split out from ...
9755         (struct varasm_status): ... here.  Reference one via pointer.
9756         (struct constant_descriptor_rtx): Merge struct pool_constant.
9757         (SYMHASH): Remove.
9758         (decode_rtx_const): Remove.
9759         (const_hash_rtx, compare_constant_rtx): Remove.
9760         (record_constant_rtx): Remove.
9761         (const_desc_rtx_hash, const_desc_rtx_eq): New.
9762         (const_desc_rtx_sym_hash, const_desc_rtx_sym_eq): New.
9763         (const_rtx_hash_1, const_rtx_hash): New.
9764         (init_varasm_status): Allocate a rtx_constant_pool, and its hashes.
9765         (simplify_subtraction): Use simplify_rtx.
9766         (force_const_mem): Rewrite to use new data structures.
9767         (find_pool_constant): Likewise.
9768         (get_pool_constant, get_pool_constant_mark,
9769         get_pool_constant_for_function, get_pool_mode,
9770         get_pool_mode_for_function, get_pool_offset, get_pool_size): Likewise.
9771         (output_constant_pool_2): Split out from output_constant_pool.
9772         (output_constant_pool_1): Likewise.  Use new pool datastructures.
9773         (output_constant_pool): Zap entire pool datastructure.
9774         (mark_constant): Use new pool datastructures.
9775         (mark_constants): Use for_each_rtx.
9776         (mark_constant_pool): Use new pool datastructures.
9778 2004-01-30  Fariborz Jahanian <fjahanian@apple.com>
9780         * config/rs6000/rs6000.c (rs6000_emit_move): Remove #if 0.
9781         Copy operands[1] to pseudo for simplify_gen_subreg.
9783 2004-01-30  Kazu Hirata  <kazu@cs.umass.edu>
9785         * gcse.c (bypass_block): Fix a typo in the previous check-in
9786         to the file.
9788 2004-01-30  Andrew Pinski <pinskia@physics.uc.edu>
9790         * toplev.c: Include alloc-pool.h.
9791         * Makefile.in (toplev.c): Update dependencies.
9793 2004-01-30  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9795         * combine.c (simplify_shift_const, case XOR): Be careful when
9796         commuting XOR with ASHIFTRT.
9798 2004-01-30  Kazu Hirata  <kazu@cs.umass.edu>
9799             Eric Botcazou  <ebotcazou@libertysurf.fr>
9801         * config/sparc/sparc-protos.h: Remove the prototype for
9802         sparc_builtin_saveregs.
9803         * config/sparc/sparc.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
9804         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
9805         (TARGET_PROMOTE_PROTOTYPES): Likewise.
9806         (TARGET_STRUCT_VALUE_RTX): Likewise.
9807         (TARGET_RETURN_IN_MEMORY): Likewise.
9808         (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
9809         (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
9810         (sparc_builtin_saveregs): Make it static.
9811         (sparc_promote_prototypes): New.
9812         (sparc_struct_value_rtx): Likewise.
9813         (sparc_return_in_memory): Likewise.
9814         * config/sparc/sparc.h: (PROMOTE_FUNCTION_ARGS): Remove.
9815         (PROMOTE_FUNCTION_RETURN): Likewise.
9816         (RETURN_IN_MEMORY): Likewise.
9817         (STRUCT_VALUE): Likewise.
9818         (STRUCT_VALUE_INCOMING): Likewise.
9819         (EXPAND_BUILTIN_SAVEREGS): Likewise.
9820         (STRICT_ARGUMENT_NAMING): Likewise.
9821         (PROMOTE_PROTOTYPES): Likewise.
9823         * config/sparc/sparc.h (PROMOTE_MODE): Use word_mode.
9825 2004-01-30  Eric Botcazou  <ebotcazou@libertysurf.fr>
9827         PR c/12818
9828         * varasm.c (const_hash_1) <STRING_CST>: Use the
9829         address to compute the hash value if flag_writable_strings.
9830         (compare_constant) <STRING_CST>: Compare the addresses
9831         if flag_writable_strings.
9832         (build_constant_desc): Do not copy the expression for a
9833         STRING_CST if flag_writable_strings.
9835 2004-01-30  Jan Hubicka  <jh@suse.cz>
9837         * alloc-pool.c: Include hashtab.h
9838         (alloc_pool_descriptor): New structure
9839         (alloc_pool_hash): New global variable.
9840         (hash_descriptor, eq_descriptor, alloc_pool_descriptor): New.
9841         (create_alloc_pool): Update statistics.
9842         (free_alloc_pool): Likewise.
9843         (pool_alloc): Likewise.
9844         (output_info): New structure
9845         (print_statistics, dump_alloc_pool_statistics): New function.
9846         * alloc-pool.h (alloc_pool_def): Turn name to be constant.
9847         (dump_alloc_pool_statistics): Declare.
9848         * toplev.c (finalize):  Dump statistics.
9850         * reload.c (secondary_memlocs_elim_used): New static variable.
9851         (get_secondary_mem): Update it.
9852         (find_reloads): Use it.
9854 2004-01-30  Steven Bosscher <s.bosscher@student.tudelft.nl>
9856         * toplev.c: Fix broken checkin of 2003-12-30, again.
9858 2004-01-30  Ulrich Weigand  <uweigand@de.ibm.com>
9860         * configure.ac (gcc_cv_as_dwarf2_debug_line): Enable test for
9861         s390*-*-* targets by specifying a 'nop' insn.
9862         * configure: Regenerate.
9864 2004-01-30  Eric Botcazou  <ebotcazou@libertysurf.fr>
9866         PR target/11475
9867         * config/sparc/sparc.md (movhi_lo_sum): Tighten predicates.
9869 2004-01-29  Jakub Jelinek  <jakub@redhat.com>
9871         * emit-rtl.c (change_address): Use XEXP (memref, 0) instead
9872         of addr when creating MEM copy.
9874 2004-01-29  Devang Patel  <dpatel@apple.com>
9876         * dwarf2out.c (gen_field_die): Do not equate decl number to die.
9878 2004-01-28  Ian Lance Taylor  <ian@wasabisystems.com>
9880         PR inline-asm/6162
9881         * reload.c (find_reloads): Only support one pair of commutative
9882         operands.
9884 2004-01-29  Roger Sayle  <roger@eyesopen.com>
9886         PR java/13824
9887         * tree.c (unsafe_for_reeval): Handle EXIT_BLOCK_EXPR nodes specially
9888         as their EXIT_BLOCK_LABELED_BLOCK operands can lead to unbounded
9889         recursion.
9891 2004-01-29  Kazu Hirata  <kazu@cs.umass.edu>
9893         * config/frv/frv.c: Don't mention deprecated macros in
9894         comments.  Remove some target-independent comments about
9895         target macros.
9896         * config/frv/frv.h: Likewise.
9898 2004-01-29  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
9900         * cfghooks.c (split_block): Set probability and count of the
9901         new edge.
9903 2005-01-29  Josef Zlomek  <zlomekj@suse.cz>
9905         * dwarf2out.c (struct die_struct): Added field decl_id.
9906         (decl_die_table): Changed to hash table.
9907         (decl_die_table_allocated): Deleted.
9908         (decl_die_table_in_use): Deleted.
9909         (DECL_DIE_TABLE_INCREMENT): Deleted.
9910         (decl_die_table_hash): New function.
9911         (decl_die_table_eq): New function.
9912         (lookup_decl_die): Lookup in a hash table.
9913         (equate_decl_number_to_die): Insert into a hash table.
9914         (dwarf2out_init): Init hash table decl_die_table.
9916 2004-01-29  Jakub Jelinek  <jakub@redhat.com>
9918         PR optimization/13424
9919         * expr.c (store_constructor): Revert 2003-12-03 change.
9921         * emit-rtl.c (change_address): Check also if MEM_ATTRS is set as
9922         expected before returning early.  Avoid sharing RTL if they
9923         need to be changed.
9925         * config/i386/i386.c (ix86_expand_movstr): Rework rep_mov and strmov
9926         handling so that memory attributes are preserved.  Don't call
9927         ix86_set_move_mem_attrs.
9928         (ix86_set_move_mem_attrs_1, ix86_set_move_mem_attrs): Removed.
9929         (ix86_expand_clrstr): Rename src argument to
9930         dst.  Rework rep_stos and strset handling so that memory attributes
9931         are preserved.
9932         (ix86_expand_strlen): Pass src argument to
9933         ix86_expand_strlensi_unroll_1.  Rework strlenqi_1 handling so that
9934         memory attributes are preserved.
9935         (ix86_expand_strlensi_unroll_1): Add src argument.  Use
9936         change_address instead of gen_rtx_MEM.
9937         * config/i386/i386.md (strmov, strmov_singleop, rep_mov): New
9938         expanders.
9939         (strmovdi_rex64, strmovsi, strmovsi_rex64, strmovhi, strmovhi_rex64,
9940         strmovqi, strmovqi_rex64): Remove.
9941         (rep_mov*, strmov*): Prefix insn names with *.
9942         (strset, strset_singleop, rep_stos): New expanders.
9943         (strsetdi_rex64, strsetsi, strsetsi_rex64, strsethi, strsethi_rex64,
9944         strsetqi, strsetqi_rex64): Remove.
9945         (rep_stos*, strset*): Prefix insn names with *.
9946         (rep_stosqi_rex64): Likewise.  Fix mode of dirflag reg from DImode
9947         to SImode.
9948         (cmpstrsi): Rework cmpstrqi_1 handling so that memory attributes
9949         are preserved.
9950         (cmpstrqi_nz_1, cmpstrqi_nz_rex_1, cmpstrqi_1, cmpstrqi_rex_1):
9951         Prefix insn names with *.
9952         (cmpstrqi_nz_1, cmpstrqi_1): New expanders.
9953         (strlenqi_1, strlenqi_rex_1): Prefix insn names with *.
9954         (strlenqi_1): New expander.
9955         * config/i386/i386.h (ix86_set_move_mem_attrs): Remove prototype.
9957 2004-01-29  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
9959         * Makefile.in (cfghooks.o): Add TIMEVAR_H and toplev.h dependency.
9960         * basic-block.h (tidy_fallthru_edge, tidy_fallthru_edges, dump_bb,
9961         verify_flow_info): Declaration removed.
9962         * cfg.c (verify_flow_info, dump_bb): Moved to cfghooks.c.
9963         (debug_bb, debug_bb_n): Add argument to dump_bb call.
9964         * cfgcleanup.c (try_simplify_condjump, try_crossjump_to_edge,
9965         try_optimize_cfg, delete_unreachable_blocks): Use delete_basic_block
9966         instead of delete_block.
9967         * cfghooks.c: Include timevar.h and toplev.h.
9968         (cfg_hooks): Define here.
9969         (verify_flow_info, dump_bb): Moved from cfg.c.
9970         (redirect_edge_and_branch, redirect_edge_and_branch_force,
9971         split_block, split_block_after_labels, move_block_after,
9972         delete_basic_block, split_edge, create_basic_block,
9973         create_empty_bb, can_merge_blocks_p, merge_blocks,
9974         make_forwarder_block, tidy_fallthru_edge, tidy_fallthru_edges):
9975         New functions.
9976         * cfghooks.h (struct cfg_hooks): Added fields name,
9977         make_forwarder_block, tidy_fallthru_edge and
9978         move_block_after. Changed type of verify_flow_info, dump_bb,
9979         split_block fields. Renamed cfgh_split_edge and delete_block
9980         fields.
9981         (redirect_edge_and_branch, redirect_edge_and_branch_force,
9982         split_block, delete_block, split_edge, create_basic_block,
9983         can_merge_blocks_p, merge_blocks): Macros removed.
9984         (cfg_hooks): Do not export.
9985         (verify_flow_info, dump_bb, redirect_edge_and_branch,
9986         redirect_edge_and_branch_force, split_block, split_block_after_labels,
9987         move_block_after, delete_basic_block, split_edge, create_basic_block,
9988         create_empty_bb, can_merge_blocks_p, merge_blocks,
9989         make_forwarder_block, tidy_fallthru_edge, tidy_fallthru_edges):
9990         Declare.
9991         (cfg_layout_rtl_cfg_hooks): Declare.
9992         * cfgloop.c (update_latch_info, mfb_keep_just, mfb_keep_nonlatch):
9993         New functions.
9994         (canonicalize_loop_headers): Use new semantics of make_forwarder_block.
9995         (redirect_edge_with_latch_update): Removed.
9996         (make_forwarder_block): Moved to cfghooks.c, semantics changed.
9997         * cfgloopmanip.c (remove_bbs): Do not update dominators here.
9998         * cfgrtl.c (cfg_layout_split_block, rtl_split_block, rtl_dump_bb,
9999         rtl_delete_block, rtl_split_block, rtl_merge_blocks,
10000         tidy_fallthru_edge, rtl_split_edge, cfg_layout_delete_block,
10001         cfg_layout_merge_blocks, cfg_layout_split_edge): Partly moved to
10002         cfghooks.c.
10003         (rtl_create_basic_block): Coding style fix.
10004         (rtl_tidy_fallthru_edge, rtl_move_block_after,
10005         rtl_make_forwarder_block): New functions.
10006         (update_cfg_after_block_merging): Removed.
10007         (rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): Fill in new entries.
10008         * flow.c (verify_wide_reg, verify_local_live_at_start): Add argument
10009         to dump_bb.
10010         * ifcvt.c (merge_if_block, find_cond_trap, find_if_case_1,
10011         find_if_case_2): Don't update dominators.
10012         * timevar.def (TV_CFG_VERIFY): New.
10013         * loop-unswitch.c (unswitch_loop): Don't call add_to_dominance_info.
10014         * cfglayout.c (copy_bbs): Don't call add_to_dominance_info.
10015         * cfgloopmanip.c (split_loop_bb): Don't update dominators.
10016         (remove_bbs): Don't call remove_bbs.
10017         (create_preheader): Use make_forwarder_block.
10018         (mfb_keep_just, mfb_update_loops): New static functions.
10020 2004-01-29  Kazu Hirata  <kazu@cs.umass.edu>
10022         * config/avr/avr.h: Remove target-independent comments about
10023         target macros.
10025 2004-01-28  Daniel Berlin  <dberlin@dberlin.org>
10027         * timevar.c (timevar_print): Mention when checking is enabled.
10029 2004-01-28  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
10031         * c-lex.c (c_lex): Rename to...
10032         (c_lex_with_flags): Add new parameter to get CPP flags.
10033         (c_lex): Thunk to c_lex_with_flags while keeping the old interface.
10034         * c-pragma.h (c_lex_with_flags): Declare.
10036 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
10038         * config/mcore/mcore.c (mcore_external_libcall): Add a
10039         comment.
10040         (mcore_return_in_memory): Likewise.
10042 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
10044         * config/mcore/mcore-protos.h: Remove the prototype for
10045         mcore_setup_incoming_varargs.
10046         * config/mcore/mcore.c (TARGET_ASM_EXTERNAL_LIBCALL): New.
10047         (TARGET_PROMOTE_FUNCTION_ARGS): Likewise.
10048         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
10049         (TARGET_PROMOTE_PROTOTYPES): Likewise.
10050         (TARGET_STRUCT_VALUE_RTX): Likewise.
10051         (TARGET_RETURN_IN_MEMORY): Likewise.
10052         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
10053         (mcore_setup_incoming_varargs): Make it static.  Receive the
10054         first argument by reference.  Add argument second_time.
10055         (mcore_external_libcall): New.
10056         (mcore_return_in_memory): Likewise.
10057         * config/mcore/mcore.h (PROMOTE_FUNCTION_ARGS): New.
10058         (PROMOTE_FUNCTION_RETURN): Likewise.
10059         (STRUCT_VALUE): Likewise.
10060         (RETURN_IN_MEMORY): Likewise.
10061         (SETUP_INCOMING_VARARGS): Likewise.
10062         (PROMOTE_PROTOTYPES): Likewise.
10063         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
10065 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
10067         * config/m32r/m32r-protos.h: Remove the prototype for
10068         m32r_setup_incoming_varargs.
10069         * config/m32r/m32r.c (TARGET_PROMOTE_PROTOTYPES): New.
10070         (TARGET_STRUCT_VALUE_RTX): Likewise.
10071         (TARGET_RETURN_IN_MEMORY): Likewise.
10072         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
10073         (m32r_return_in_memory): New.
10074         (m32r_setup_incoming_varargs): Make it static.
10075         * config/m32r/m32r.h: Remove #undef of
10076         ASM_OUTPUT_EXTERNAL_LIBCALL.  Remove the commented-out
10077         definitions of PROMOTE_FUNCTION_ARGS and
10078         PROMOTE_FUNCTION_RETURN.
10079         (PROMOTE_PROTOTYPES): Remove.
10080         (RETURN_IN_MEMORY): Likewise.
10081         (STRUCT_VALUE): Likewise.
10083 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
10085         * config/m68k/m68k.c (TARGET_PROMOTE_PROTOTYPES): New.
10086         (TARGET_STRUCT_VALUE_RTX): Likewise.
10087         (m68k_struct_value_rtx): Likewise.
10088         * config/m68k/m68k.h (STRUCT_VALUE_REGNUM): Rename to
10089         STRUCT_VALUE_REGNUM.
10090         (PROMOTE_PROTOTYPES): Remove.
10091         * config/m68k/m68kelf.h (STRUCT_VALUE_REGNUM): Rename to
10092         STRUCT_VALUE_REGNUM.
10093         * config/m68k/m68kv4.h (STRUCT_VALUE_REGNUM): Likewise.
10094         * config/m68k/netbsd-elf.h (STRUCT_VALUE_REGNUM): Likewise.
10096 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
10098         * config/stormy16/stormy16.c
10099         (TARGET_BUILD_BUILTIN_VA_LIST_TYPE): Rename to
10100         TARGET_BUILD_BUILTIN_VA_LIST.
10102 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
10104         * config/v850/v850.c (TARGET_PROMOTE_PROTOTYPES): New.
10105         (TARGET_STRUCT_VALUE_RTX): Likewise.
10106         (TARGET_RETURN_IN_MEMORY): Likewise.
10107         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
10108         (v850_return_in_memory): Likewise.
10109         (v850_setup_incoming_varargs): Likewise.
10110         * config/v850/v850.h (PROMOTE_PROTOTYPES): Remove.
10111         (SETUP_INCOMING_VARARGS): Likewise.
10112         (RETURN_IN_MEMORY): Likewise.
10113         (STRUCT_VALUE): Likewise.
10115 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
10117         * config/fr30/fr30.c (TARGET_PROMOTE_PROTOTYPES): New.
10118         (fr30_setup_incoming_varargs): Don't use
10119         STRICT_ARGUMENT_NAMING.
10120         * config/fr30/fr30.h (PROMOTE_PROTOTYPES): Remove.
10121         (STRICT_ARGUMENT_NAMING): Likewise.
10123 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
10125         * config/frv/frv-protos.h: Remove the prototype for
10126         frv_expand_builtin_saveregs.
10127         * config/frv/frv.c (TARGET_STRUCT_VALUE_RTX): Likewise.
10128         (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
10129         (frv_stack_info): Use FRV_STRUCT_VALUE_REGNUM instead of
10130         STRUCT_VALUE_REGNUM.
10131         (frv_expand_builtin_saveregs): Make it static.
10132         (frv_struct_value_rtx): New.
10133         * config/frv/frv.h (EXPAND_BUILTIN_SAVEREGS): Remove.
10135 2004-01-29  Jan Hubicka  <jh@suse.cz>
10137         PR c++/12850
10138         * cgraph.c (cgraph_remove_node): Clear out saved/insns/arguments and
10139         initial pointers.
10140         * cgraphunit.c (cgraph_finalize_function): Clear out DECL_SAVED_INSNS
10141         for functions that will be only inlined.
10142         (cgraph_mark_function_to_output): Likewise.
10143         (cgraph_expand_function): Sanity check that DECL_DEFER_OUTPUT is clear;
10144         do not clear function body.
10145         * tree-optimize.c (clear_decl_rtl): Use decl_function_context.
10146         (tree_rest_of_compilation): Reorganize the logic releasing function
10147         body to use callgraph datastructure.
10149 2004-01-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10151         * pa.md: Change predicate of a peephole2 pattern from reg_or_0_operand
10152         to register_operand.
10154 2004-01-28  Zack Weinberg  <zack@codesourcery.com>
10156         * config/ia64/ia64.md (fetchadd_acq_si, fetchadd_acq_di)
10157         (cmpxchg_acq_si, cmpxchg_acq_di): Exchange match_dup and
10158         match_operand expressions so that all match_dups appear
10159         lexically after their corresponding match_operands.
10161 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
10163         * config/h8300/h8300.c (WORD_REG_USED): Use
10164         HARD_FRAME_POINTER_REGNUM instead of FRAME_POINTER_REGNUM.
10165         (compute_saved_regs): Likewise.
10166         (h8300_expand_prologue): Likewise.  Allocate locals after
10167         saving registers.
10168         (h8300_expand_epilogue): Use HARD_FRAME_POINTER_REGNUM instead
10169         of FRAME_POINTER_REGNUM.  Deallocate locals before saving
10170         registers.
10171         (h8300_initial_elimination_offset): Adjust for the new frame
10172         layout, which swaps flips the order of locals and saved
10173         registers.
10174         * config/h8300/h8300.h (FIRST_PSEUDO_REGISTER): Change to 12.
10175         (HARD_FRAME_POINTER_REGNUM): New.
10176         (ELIMINABLE_REGS): Add an elimination rule from
10177         FRAME_POINTER_REGNUM to HARD_FRAME_POINTER_REGNUM.
10178         (REGISTER_NAMES): Add fp.
10179         * config/h8300/h8300.md (FP_REG): Change to 11.
10180         (HFP_REG): New.
10182 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
10184         * genrecog.c (write_node): Remove a useless local variable.
10186 2004-01-28  Ian Lance Taylor  <ian@wasabisystems.com>
10188         * Makefile.in (options.c options.h): Use stamp file s-options to
10189         avoid unnecessary rebuilds.
10190         (options.o): New target listing dependencies.
10191         (gtyp-gen.h): Use stamp file s-gtyp-gen.
10192         (STAGESTUFF): Add s-gtyp-gen.
10194 2004-01-28  Richard Henderson  <rth@redhat.com>
10196         * ggc.h (ggc_free): Declare.
10197         * ggc-common.c (ggc_realloc): Use it.
10198         * ggc-page.c: Remove lots of inline markers.
10199         (globals): Add free_object_list.
10200         (ggc_alloc): Tidy.
10201         (ggc_free, validate_free_objects): New.
10202         (poison_pages): Provide default.
10203         (ggc_collect): Call validate_free_objects; emit markers to
10204         the debug file.
10206 2004-01-28  Zack Weinberg  <zack@codesourcery.com>
10207             Jim Wilson  <wilson@specifixinc.com>
10209         * config/ia64/ia64.c (ia64_split_tmode, ia64_split_tmode_move):
10210         Rewrite to use POST_INC/POST_DEC/POST_MODIFY instead of a
10211         scratch pointer.
10212         (ia64_secondary_reload_class): Delete case GR_REGS.
10213         * config/ia64/ia64.md (movti, *movti_internal, movtf, *movtf_internal):
10214         Do not allocate a scratch register.
10215         (reload_inti, reload_outti, reload_intf, reload_outtf): Delete.
10217 2004-01-28  Jan Hubicka  <jh@suse.cz>
10219         * gcse.c (bypass_block): Prevent edges to be unified when we are
10220         about to emit compenstation code.
10222 2004-01-28  Nick Clifton  <nickc@redhat.com>
10224         * config/arm/arm.c (arm_expand_builtin): Force second argument of
10225         the setcwx insn into a register.
10227 2004-01-28  Richard Sandiford  <rsandifo@redhat.com>
10229         * config/fp-bit.c (pack_d): When using paired doubles to implement
10230         a long double, round the high part separately.
10231         (unpack_d): Fix the case in which the high part is a power of two
10232         and the low part is a nonzero value of the opposite sign.
10234 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
10236         * config/c4x/c4x.c (TARGET_ASM_EXTERNAL_LIBCALL): New.
10237         (TARGET_STRUCT_VALUE_RTX): Likewise.
10238         (c4x_external_libcall): Likewise.
10239         (c4x_struct_value_rtx): Likewise.
10240         * config/c4x/c4x.h: Remove.
10241         (STRUCT_VALUE_REGNUM): Likewise.
10242         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
10244 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
10246         * config/i386/i386.c (TARGET_PROMOTE_PROTOTYPES): New.
10247         (TARGET_STRUCT_VALUE_RTX): Likewise.
10248         * config/i386/i386.h (STRUCT_VALUE_INCOMING): Remove.
10249         (STRUCT_VALUE): Likewise.
10250         (PROMOTE_PROTOTYPES): Likewise.
10252 2004-01-27  Roger Sayle  <roger@eyesopen.com>
10254         * config/pa/pa.c (emit_move_sequence): Check that operand1 is a
10255         CONST_INT before using INTVAL.
10257 2004-01-27  Ulrich Weigand  <uweigand@de.ibm.com>
10259         * config/s390/s390.h (TARGET_DEFAULT): Default to !TARGET_BACKCHAIN.
10260         * config/s390/s390.c (s390_return_addr_rtx): Fail for all but current
10261         frame if !TARGET_BACKCHAIN.
10262         * config/s390/s390.md ("allocate_stack"): Use pattern only if
10263         TARGET_BACKCHAIN.
10264         * doc/invoke.texi (-mbackchain/-mno-backchain): Document new default.
10266 2004-01-27  Zack Weinberg  <zack@codesourcery.com>
10268         * ia64.c (ia64_function_arg): When placing HFAs in integer
10269         registers, do not special case the mode used for complex
10270         types.  Do not advance int_regs until the current register
10271         is full.
10273 2004-01-27  Richard Sandiford  <rsandifo@redhat.com>
10275         PR target/7297
10276         * except.c (init_eh): Use a 5-word __jbuf for __builtin_setjmp().
10278 2004-01-27  David Edelsohn  <edelsohn@gnu.org>
10280         * config/rs6000/rs6000.c (rs6000_emit_move): #if 0 splitting
10281         slow, unaligned loads and stores while debugging.  Fix formatting.
10283 2004-01-27  David Edelsohn  <edelsohn@gnu.org>
10285         * config/rs6000/rs6000.md (save_stack_nonlocal): Use Pmode instead
10286         of computing wmode.
10287         (restore_stack_nonlocal): Same.
10289 2004-01-27  Devang Patel <dpatel@apple.com>
10291         * Makefile.in (dwarf2out.o): Depend on input.h
10292         * dbxout.c (dbx_debug_hooks): Add new empty hook for
10293         imported_module_or_decl.
10294         (xcoff_debug_hooks): Same.
10295         * sdbout.c (sdb_debug_hooks): Same.
10296         * vmsdbgout.c (vmsdbg_debug_hooks): Same.
10297         * debug.c (do_nothing_debug_hooks): Same.
10298         (debug_nothing_tree_tree): New function.
10299         * debug.h (gcc_debug_hooks): New hook, imported_module_or_decl.
10300         * dwarf2out.c: Include input.h.
10301         (dwarf2_debug_hooks): Add new hook for imported_module_or_decl.
10302         (remove_child_TAG): New function.
10303         (dwarf_tag_name): Handle DW_TAG_imported_module.
10304         (gen_subprogram_die): Equate decl number to declaration die. Do not
10305         remove all children dies while reusing declaration die for definition.
10306         Instead, selectively remove only formal parameters.
10307         (gen_variable_die): Equate variable decl to declaration die.
10308         (gen_field_die): Equate field decl to line number.
10309         (force_namespace_die): Replace it with ...
10310         (force_decl_die): ... this.
10311         (force_type_die): New function.
10312         (setup_namespace_context): Replace use of force_namespace_die() with
10313         force_decl_die().
10314         (gen_namespace_die): Same.
10315         (dwarf2out_imported_module_or_decl): New function.
10317 2004-01-27  Bob Wilson  <bob.wilson@acm.org>
10319         * config/xtensa/xtensa.c (xtensa_copy_incoming_a7): Remove SUBREG
10320         on CQImode and CHImode incoming arguments in register a7.
10321         (function_arg): Wrap BLKmode argument in register a7 in a PARALLEL.
10322         * config/xtensa/xtensa.h (BLOCK_REG_PADDING): Define.
10323         * config/xtensa/xtensa.md (movdi, movdf): Only call force_reg or
10324         xtensa_copy_incoming_a7 before reload.
10326 2004-01-27  J"orn Rennecke <joern.rennecke@superh.com>
10328         * coverage.c (get_coverage_counts): Give a different message
10329         if flag_guess_branch_prob is set.
10330         * predict.c (counts_to_freqs): Return an int.
10331         (estimate_bb_frequencies): If counts_to_freqs returns zero,
10332         calculate estimates.
10334 2004-01-27  Kazu Hirata  <kazu@cs.umass.edu>
10336         * config/iq2000/iq2000-protos.h: Remove the prototype for
10337         iq2000_setup_incoming_varargs.
10338         * config/iq2000/iq2000.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
10339         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
10340         (TARGET_PROMOTE_PROTOTYPES): Likewise.
10341         (TARGET_STRUCT_VALUE_RTX): Likewise.
10342         (TARGET_RETURN_IN_MEMORY): Likewise.
10343         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
10344         (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
10345         (iq2000_return_in_memory): Likewise.
10346         (iq2000_setup_incoming_varargs): Make it static.  Receive the
10347         first argument by reference.
10348         * config/iq2000/iq2000.h (PROMOTE_FUNCTION_ARGS): Remove.
10349         (PROMOTE_FUNCTION_RETURN): Likewise.
10350         (PROMOTE_PROTOTYPES): Likewise.
10351         (RETURN_IN_MEMORY): Likewise.
10352         (STRUCT_VALUE): Likewise.
10353         (SETUP_INCOMING_VARARGS): Likewise.
10354         (STRICT_ARGUMENT_NAMING): Likewise.
10356 2004-01-24  James A. Morrison  <ja2morri@uwaterloo.ca>
10358         * fixinc/fixinc.c (test_test): Initialize res.
10359         (start_flexer): Initialize pz_cmd_save.
10361 2004-01-27  Zack Weinberg  <zack@codesourcery.com>
10363         * doc/rtl.texi (Arithmetic): Rewrite entries for PLUS,
10364         SS_PLUS, US_PLUS, LO_SUM, MINUS, SS_MINUS, US_MINUS.
10366 2004-01-27  Zack Weinberg  <zack@codesourcery.com>
10368         PR 7198
10369         * config/ia64/ia64.md (*nmaddsf4, *nmadddf4, *nmadddf4_alts)
10370         (*nmadddf4_trunc, *nmaddxf4, *nmaddxf4_truncsf, *nmaddxf4_truncdf)
10371         (*nmaddxf4_alts, *nmaddxf4_truncdf_alts):
10372         Rewrite pattern as (minus (op 3) (mult (op 1) (op 2))).
10373         Possibly rename pattern for consistency.
10374         Remove ??? comments suggesting that this be done.
10375         (*nmaddsf4_alts, *nmadddf4_truncsf_alts, *nmaddxf4_truncsf_alts):
10376         New patterns.
10377         (divsi3_internal, divdi3_internal_lat, divdi3_internal_thr)
10378         (divsf3_internal_lat, divsf3_internal_thr, sqrtsf2_internal_thr)
10379         (divdf3_internal_lat, divdf3_internal_thr, sqrtdf2_internal_thr)
10380         (divxf3_internal_lat, divxf3_internal_thr, sqrtxf2_internal_thr):
10381         Update to match.
10383 2004-01-27  Ian Lance Taylor  <ian@wasabisystems.com>
10385         * config/arm/arm.c (output_return_instruction): Only restore IP
10386         into SP if frame_pointer_needed.
10388 2004-01-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
10390         * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1
10391         for SCmode and DCmode if ARCH32.
10392         (sparc_va_arg): Handle SCmode and DCmode by reference if ARCH32.
10393         * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for TCmode
10394         if ARCH32.
10395         (BASE_RETURN_VALUE_REG): Return 32 for all FP modes except TFmode
10396         if ARCH32.
10397         (BASE_OUTGOING_VALUE_REG): Likewise.
10399 2004-01-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
10401         PR target/10904
10402         PR target/13058
10403         * config/sparc/sparc.h (CANNOT_CHANGE_MODE_CLASS): New.
10404         Forbid mode changes from SImode for lower FP regs if ARCH64.
10406 2004-01-27  J"orn Rennecke <joern.rennecke@superh.com>
10408         * Makefile.in (bt-load.o): Depend on except.h.
10409         * bt-load.c (except.h): #include.
10410         (compute_defs_uses_and_gen): If insn at end of BB can throw
10411         within this function, consider registers used by it unavailable for
10412         btr migration.
10413         (move_btr_def): If insn at end of BB can throw, insert before rather
10414         than after.
10416         * flags.h (flag_btr_bb_exclusive): Declare.
10417         * toplev.c (flag_btr_bb_exclusive): New variable.
10418         (f_options): Add btr-bb-exclusive.
10419         * bt-load.c (augment_live_range): Restore old behaviour if
10420         flag_btr_bb_exclusive is set.
10421         * common.opt: Add entry for -fbtr-bb-exclusive.
10422         * opts.c (common_handle_options): Same.
10423         * doc/invoke.texi: Document -fbtr-bb-exclusive.
10425         * bt-load.c (btrs_live_at_end): New variable.
10426         (compute_defs_uses_and_gen): Compute its pointed-to array.
10427         (clear_btr_from_live_range, add_btr_to_live_range): Update it.
10428         (augment_live_range): When augmenting with a new dominator,
10429         use only its btrs_live_at_end set, but also add in the full set
10430         of the old dominator.
10431         (btr_def_live_range): Use btrs_live_at_end.
10432         (move_btr_def): Set other_btr_uses_before_def, and move new set
10433         to the end of the basic block, if appropriate.
10434         (migrate_btr_defs): Allocate and free btrs_live_at_end.
10436         * bt-load.c (basic_block_freq): Remove outdated comment.
10438 2004-01-27  Alan Modra  <amodra@bigpond.net.au>
10440         * config/rs6000/rs6000.h: Correct target_flags free bits comment.
10441         (PREDICATE_CODES): Remove duplicate.
10442         * config/rs6000/linux64.h (CPP_SYSV_SPEC): Don't define.
10443         (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow 32 bit TARGET_PROFILE_KERNEL.
10444         (MASK_PROFILE_KERNEL): Adjust define.
10446 2004-01-27  Jakub Jelinek  <jakub@redhat.com>
10448         * config/i386/i386.c (ix86_constant_alignment): Decrease alignment
10449         of long string literals from 32 bytes to sizeof (void *) when !-Os
10450         and to 1 with -Os.
10452 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
10454         * config/h8300/h8300.c (h8300_tiny_constant_address_p): Accept
10455         constant addresses in the normal mode.
10457 2004-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10459         * system.h (CHAR_BITFIELD): Delete.
10460         (BOOL_BITFIELD): New.
10461         * c-decl.c (c_scope): Use BOOL_BITFIELD.
10462         * gengtype-lex.l: Recognize BOOL_BITFIELD instead of CHAR_BITFIELD.
10464 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
10466         * config/arc/arc.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
10467         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
10468         (TARGET_PROMOTE_PROTOTYPES): Likewise.
10469         (TARGET_STRUCT_VALUE_RTX): Likewise.
10470         (TARGET_RETURN_IN_MEMORY): Likewise.
10471         (arc_return_in_memory): Likewise.
10472         * config/arc/arc.h (PROMOTE_FUNCTION_ARGS): Remove.
10473         (PROMOTE_FUNCTION_RETURN): Likewise.
10474         (RETURN_IN_MEMORY): Likewise.
10475         (STRUCT_VALUE): Likewise.
10477 2004-01-26  Richard Henderson  <rth@redhat.com>
10479         * c-parse.in (extension): Use itype.
10480         (SAVE_EXT_FLAGS): Don't allocate a tree.
10481         (RESTORE_EXT_FLAGS): Don't read a tree.
10483 2004-01-26  Jan Hubicka  <jh@suse.cz>
10485         * cselib.c (discard_useless_values):  Clear out value pointer pointing
10486         to datastructure to be recycled.
10488 2004-01-25  Jan Hubicka  <jh@suse.cz>
10490         * genextract.c (main): Do not output the memset when not checking.
10492 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
10494         * config/h8300/h8300.c (h8300_tiny_constant_address_p): Use a
10495         switch statement instead of a chain of if statements.
10497 2004-01-26  Jeff Law  <law@redhat.com>
10499         * doc/contrib.texi: Minor cleanup for Paolo Carlini's entry.  Add
10500         acute accents for Petur Runolfsson's entry.
10502 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
10504         * config/pdp11/pdp11.c (TARGET_STRUCT_VALUE_RTX): New.
10505         (TARGET_RETURN_IN_MEMORY): Likewise.
10506         * config/pdp11/pdp11.h (STRUCT_VALUE): Remove.
10507         (RETURN_IN_MEMORY): Likewise.
10509 2004-01-26  Fariborz Jahanian  <fjahanian@apple.com>
10511          * config/rs6000/rs6000.c (rs6000_emit_move): split slow
10512          unaligned load/store into smaller loads and stores.
10514 2004-01-26  Fariborz Jahanian  <fjahanian@apple.com>
10516         * function.c (assign_parms): Do not assign
10517         long long argument to memory in prologue if
10518         is it loaded into register.
10520 2004-01-26  Fariborz Jahanian  <fjahanian@apple.com>
10522          PR middle-end/13779
10523          * expr.c (emit_group_load): split constant
10524          correctly into register components of PARALLEL insn.
10526 2004-01-26  Fariborz Jahanian  <fjahanian@apple.com>
10528         * gcc/config/rs6000/rs6000.md (save_stack_nonlocal):
10529         Use adjust_address_nv directly with appropriate mode.
10530         (restore_stack_nonlocal): Ditto.
10532 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
10534         * config/xtensa/xtensa-protos.h: Remove the prototype for
10535         xtensa_builtin_saveregs.
10536         * config/xtensa/xtensa.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
10537         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
10538         (TARGET_PROMOTE_PROTOTYPES): Likewise.
10539         (TARGET_STRUCT_VALUE_RTX): Likewise.
10540         (TARGET_RETURN_IN_MEMORY): Likewise.
10541         (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
10542         (xtensa_builtin_saveregs): Make it static.
10543         (xtensa_return_in_memory): New.
10544         * config/xtensa/xtensa.h (PROMOTE_FUNCTION_ARGS: Remove.
10545         (PROMOTE_FUNCTION_RETURN): Likewise.
10546         (PROMOTE_PROTOTYPES): Likewise.
10547         (STRUCT_VALUE): Likewise.
10548         (RETURN_IN_MEMORY): Likewise.
10549         (EXPAND_BUILTIN_SAVEREGS): Likewise.
10551 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
10553         * config/arm/arm.c (TARGET_SETUP_INCOMING_VARARGS): New.
10554         (arm_setup_incoming_varargs): Likewise.
10555         * config/arm/arm.h (SETUP_INCOMING_VARARGS): Remove.
10557 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
10559         * config/cris/cris.c (TARGET_SETUP_INCOMING_VARARGS): New.
10560         (cris_setup_incoming_varargs): Likewise.
10561         * config/cris/cris.h (SETUP_INCOMING_VARARGS): Remove.
10563 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
10565         * config/ns32k/ns32k.c (TARGET_STRUCT_VALUE_RTX): New.
10566         (ns32k_struct_value_rtx): Likewise.
10567         * config/ns32k/ns32k.h (STRUCT_VALUE_REGNUM): Rename to
10568         NS32K_STRUCT_VALUE_REGNUM.
10570 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
10572         * config/arm/arm.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
10573         (TARGET_PROMOTE_PROTOTYPES): Likewise.
10574         (TARGET_STRUCT_VALUE_RTX): Likewise.
10575         (arm_struct_value_rtx): Likewise.
10576         * config/arm/arm.h (PROMOTE_FUNCTION_ARGS): Remove.
10577         (STRUCT_VALUE): Likewise.
10578         (STRUCT_VALUE_REGNUM): Likewise.
10579         (PROMOTE_PROTOTYPES): Likewise.
10581 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
10583         * config/ia64/ia64-protos.h: Remove the prototype for
10584         ia64_setup_incoming_varargs and ia64_return_in_memory.
10585         * config/ia64/ia64.c (TARGET_STRUCT_VALUE_RTX): New.
10586         (TARGET_RETURN_IN_MEMORY): Likewise.
10587         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
10588         (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
10589         (ia64_setup_incoming_varargs): Adjust the arguments to meet
10590         the requirement of TARGET_SETUP_INCOMING_VARARGS.
10591         (ia64_return_in_memory): Make it static.  Change the return
10592         type to bool from int.  Add an argument.
10593         (ia64_struct_value_rtx): New.
10594         * config/ia64/ia64.h: Remove commented-out definitions of
10595         PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN, and
10596         PROMOTE_PROTOTYPES.
10597         (RETURN_IN_MEMORY): Remove.
10598         (STRUCT_VALUE_REGNUM): Likewise.
10599         (STRICT_ARGUMENT_NAMING): Likewise.
10601 2004-01-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
10603         PR target/13666
10604         * config/sparc/sparc.c (function_arg_union_value): New function.
10605         (function_arg): Use it to deal with unions.
10606         (function_value): Likewise.  Define 'regbase' only for ARCH64.
10607         Replace a conditional statement by a simpler one.
10609 2004-01-26  Richard Sandiford  <rsandifo@redhat.com>
10611         * config/mips/mips.c (mips16_optimize_gp): Delete.
10612         (mips_reorg): Don't call it.
10614 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10616         * config/c4x/c4x.md (addqi3_noclobber): Move up pecking order.
10617         (floatunsqihf2): Remove operand 6.
10618         (fixhfqi_set, fix_trunchfqi2, fixuns_trunchfqi2): Group with other
10619         fix patterns.
10620         (ldi_conditional, ldf_conditional): Validate operands.
10622 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10624         * config/c4x/c4x.h (BCT_CHECK_LOOP_ITERATIONS): Remove.
10625         (HAVE_GAS_HIDDEN): Undefine as interim measure.
10627 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10629         * config/c4x/c4x.c (c4x_legitimate_address_p):  Invalidate direct
10630         memory references if TARGET_EXPOSE_LDP nonzero.
10632 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10634         * config/c4x/c4x.c (legitimize_operands): Truncate invalid shift counts.
10636 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10638         * config/c4x/c4x.c (c4x_valid_operands): More aggressively reject
10639         invalid operand combinations.
10641 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10643         * config/c4x/c4x.c (c4x_check_legit_addr): Rename to
10644         c4x_legitimate_address_p.  Fix post_modify check.
10646         * config/c4x/c4x-protos.h (c4x_check_legit_addr): Adjust.
10647         * config/c4x/c4x.h (c4x_check_legit_addr): Adjust.
10649 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
10651         * config/pa/pa-protos.h: Remove the prototype for
10652         hppa_builtin_saveregs.  Add a prototype for
10653         pa_return_in_memory.
10654         * config/pa/pa.c (TARGET_PROMOTE_FUNCTION_RETURN): New.
10655         (TARGET_PROMOTE_PROTOTYPES): Likewise.
10656         (TARGET_STRUCT_VALUE_RTX): Likewise.
10657         (TARGET_RETURN_IN_MEMORY): Likewise.
10658         (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
10659         (pa_struct_value_rtx): Likewise.
10660         (pa_return_in_memory): Likewise.
10661         * config/pa/pa.h (STRUCT_VALUE_REGNUM): Rename to
10662         PA_STRUCT_VALUE_REGNUM.
10663         (INIT_CUMULATIVE_ARGS): Use pa_return_in_memory.
10664         (EXPAND_BUILTIN_SAVEREGS): Remove.
10665         (PROMOTE_PROTOTYPES): Likewise.
10666         (PROMOTE_FUNCTION_RETURN): Likewise.
10668 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
10670         * config/vax/vax.c (TARGET_PROMOTE_PROTOTYPES): New.
10671         (TARGET_STRUCT_VALUE_RTX): Likewise.
10672         (vax_struct_value_rtx): Likewise.
10673         * config/vax/vax.h (STRUCT_VALUE_REGNUM): Rename to
10674         VAX_STRUCT_VALUE_REGNUM.
10675         (PROMOTE_PROTOTYPES): Remove.
10677 2004-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10679         * config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS):  Handle symref.
10681 2003-04-25  Chris Demetriou  <cgd@broadcom.com>
10683         * config/mips/mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2,
10684         and MIPS64 have HI/LO interlocks.  Update comment.
10686 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
10688         * config/stormy16/stormy16-protos.h: Remove the prototype for
10689         xstormy16_setup_incoming_varargs.
10690         * config/stormy16/stormy16.c
10691         (xstormy16_setup_incoming_varargs): Remove.
10692         (xstormy16_return_in_memory): New.
10693         (TARGET_PROMOTE_FUNCTION_ARGS): Likewise.
10694         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
10695         (TARGET_PROMOTE_PROTOTYPES): Likewise.
10696         (TARGET_STRUCT_VALUE_RTX): Likewise.
10697         (TARGET_RETURN_IN_MEMORY): Likewise.
10698         * config/stormy16/stormy16.h (PROMOTE_FUNCTION_ARGS): Remove.
10699         (PROMOTE_FUNCTION_RETURN): Likewise
10700         (PROMOTE_PROTOTYPES): Likewise
10701         (RETURN_IN_MEMORY): Likewise
10702         (STRUCT_VALUE): Likewise
10703         (SETUP_INCOMING_VARARGS): Likewise
10705 2004-01-25  Richard Sandiford  <rsandifo@redhat.com>
10707         * config/mips/mips.c (mips_offset_within_object_p): New function.
10708         (mips_symbolic_constant_p): Use it in the SYMBOL_SMALL_DATA and
10709         SYMBOL_CONSTANT_POOL cases.  Also use it for SYMBOL_GENERAL if the
10710         ABI has 64-bit pointers and the object file only allows 32-bit symbols.
10712 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
10714         * config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove.
10715         (PROMOTE_FUNCTION_RETURN): Likewise.
10717 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
10719         * config/mn10300/mn10300-protos.h: Remove the prototype for
10720         mn10300_builtin_saveregs.
10721         * config/mn10300/mn10300.c (TARGET_PROMOTE_PROTOTYPES): New.
10722         (TARGET_STRUCT_VALUE_RTX): Likewise.
10723         (TARGET_RETURN_IN_MEMORY): Likewise.
10724         (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
10725         (mn10300_return_in_memory): Likewise.
10726         (mn10300_builtin_saveregs): Make it static.
10727         * config/mn10300/mn10300.h (PROMOTE_PROTOTYPES): Remove.
10728         (RETURN_IN_MEMORY): Likewise.
10729         (STRUCT_VALUE): Likewise.
10730         (EXPAND_BUILTIN_SAVEREGS): Likewise.
10732 2004-01-25  Eric Botcazou  <ebotcazou@act-europe.fr>
10734         PR bootstrap/13853
10735         * cfgcleanup.c (try_optimize_cfg): Explicitly test against 0.
10737 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
10739         * config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by
10740         using ccr.
10742 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
10744         * config/i860/i860-protos.h: Remove the prototype for
10745         i860_saveregs.
10746         * config/i860/i860.c (i860_saveregs): Make it static.
10747         (i860_struct_value_rtx): New.
10748         (TARGET_STRUCT_VALUE_RTX): Likewise.
10749         (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
10750         * config/i860/i860.h (STRUCT_VALUE_REGNUM): Rename to
10751         I860_STRUCT_VALUE_REGNUM.
10752         (EXPAND_BUILTIN_SAVEREGS): Remove.
10754 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
10756         * config/m68hc11/m68hc11.c (TARGET_STRUCT_VALUE_RTX): New.
10757         (TARGET_RETURN_IN_MEMORY): Likewise.
10758         (m68hc11_struct_value_rtx): Likewise.
10759         (m68hc11_return_in_memory): Likewise.
10760         * config/m68hc11/m68hc11.h: Remove a commented-out definition
10761         of PROMOTE_PROTOTYPES.
10762         (RETURN_IN_MEMORY): Remove.
10763         (STRUCT_VALUE_REGNUM): Likewise.
10765 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
10767         * config/mmix/mmix-protos.h: Remove the prototype for
10768         mmix_setup_incoming_varargs.
10769         * config/mmix/mmix.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
10770         (TARGET_STRUCT_VALUE_RTX): Likewise.
10771         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
10772         (mmix_setup_incoming_varargs): Make it static.
10773         (mmix_struct_value_rtx): New.
10774         * config/mmix/mmix.h (PROMOTE_FUNCTION_ARGS): Remove.
10775         Remove a commented-out definition of PROMOTE_FUNCTION_RETURN.
10776         (STRUCT_VALUE_REGNUM): Remove.
10777         (SETUP_INCOMING_VARARGS): Likewise.
10779 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
10781         * config/mips/mips-protos.h: Remove the prototypes for
10782         mips_setup_incoming_varargs and mips_return_in_memory.
10783         * config/mips/mips.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
10784         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
10785         (TARGET_PROMOTE_PROTOTYPES): Likewise.
10786         (TARGET_STRUCT_VALUE_RTX): Likewise.
10787         (TARGET_RETURN_IN_MEMORY): Likewise.
10788         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
10789         (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
10790         (mips_setup_incoming_varargs): Match the prototype for
10791         TARGET_SETUP_INCOMING_VARARGS.
10792         (mips_return_in_memory): Make it static.  Add argument fntype.
10793         (mips_strict_argument_naming): New.
10794         * config/mips/mips.h (PROMOTE_PROTOTYPES): Remove.
10795         (PROMOTE_FUNCTION_ARGS): Likewise.
10796         (PROMOTE_FUNCTION_RETURN): Likewise.
10797         (STRUCT_VALUE): Likewise.
10798         (RETURN_IN_MEMORY): Likewise.
10799         (SETUP_INCOMING_VARARGS): Likewise.
10800         (STRICT_ARGUMENT_NAMING): Likewise.
10802 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
10804         * config/ip2k/ip2k.c (TARGET_STRUCT_VALUE_RTX): New.
10805         (TARGET_RETURN_IN_MEMORY): Likewise.
10806         (TARGET_SETUP_INCOMING_VARARGS): Likewise.
10807         (ip2k_return_in_memory): Likewise.
10808         (ip2k_setup_incoming_varargs): Likewise.
10809         * config/ip2k/ip2k.h (RETURN_IN_MEMORY): Remove.
10810         (STRUCT_VALUE): Likewise.
10811         (STRUCT_VALUE_INCOMING): Likewise.
10812         (SETUP_INCOMING_VARARGS): Likewise.
10814 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
10816         * config/avr/avr.c (TARGET_STRUCT_VALUE_RTX): New.
10817         (TARGET_RETURN_IN_MEMORY): Likewise.
10818         (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
10819         (avr_return_in_memory): Remove.
10820         * config/avr/avr.h (RETURN_IN_MEMORY): Remove.
10821         (STRUCT_VALUE): Likewise.
10822         (STRUCT_VALUE_INCOMING): Likewise.
10823         (STRICT_ARGUMENT_NAMING): Likewise.
10825 2004-01-25  Jan Hubicka  <jh@suse.cz>
10827         * combine.c (recog_for_combine): Avoid allocating unnecesary RTX.
10829 2004-01-25  Richard Sandiford  <rsandifo@redhat.com>
10831         * config/mips/mips-protos.h (mips_reg_mode_ok_for_base_p): Delete.
10832         (mips_regno_mode_ok_for_base_p): Declare.
10833         * config/mips/mips.h (ARG_POINTER_REGNUM): Renumber to 77.
10834         (FRAME_POINTER_REGNUM): Renumber to 78.
10835         (FIRST_PSEUDO_REGISTER): Update comment accordingly.
10836         (BASE_REG_P, GP_REG_OR_PSEUDO_STRICT_P): Delete.
10837         (GP_REG_OR_PSEUDO_NONSTRICT_P): Delete.
10838         (REGNO_MODE_OK_FOR_BASE_P): Use mips_regno_mode_ok_for_base_p.
10839         (REG_MODE_OK_FOR_BASE_P): Likewise.
10840         * config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Change
10841         entry for 77 to "$arg" and entry for 78 to "$frame".
10842         (mips_regno_to_class): Map 77 and 78 to ALL_REGS.
10843         (mips_reg_mode_ok_for_base_p): Remove.
10844         (mips_regno_mode_ok_for_base_p): New function, derived from old
10845         BASE_REG_P macro.  Don't enforce the mips16 stack pointer
10846         restrictions unless we're being strict.
10847         (mips_valid_base_register_p): Use mips_regno_mode_ok_for_base_p.
10849 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
10851         * c-common.h: Fix comment typos.
10852         * c-decl.c: Likewise.
10853         * cgraphunit.c: Likewise.
10854         * combine.c: Likewise.
10855         * et-forest.c: Likewise.
10856         * flow.c: Likewise.
10857         * function.c: Likewise.
10858         * ifcvt.c: Likewise.
10859         * integrate.c: Likewise.
10860         * jump.c: Likewise.
10861         * postreload.c: Likewise.
10862         * varray.c: Likewise.
10864 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
10866         * doc/frontends.texi: Update copyright.
10867         * doc/gcov.texi: Likewise.
10868         * doc/gty.texi: Likewise.
10869         * doc/sourcebuild.texi: Likewise.
10870         * doc/standards.texi: Likewise.
10872 2004-01-24  Herman A.J. ten Brugge  <hermantenbrugge@home.nl>
10874         PR target/12978
10875         * c4x.md: (movstrqi*) Use match_scratch instead of match_dup.
10876         Remove movstrqi_small because it conflicts with movstrqi_large.
10878 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
10880         * config/cris/cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
10881         (TARGET_STRUCT_VALUE_RTX): Likewise.
10882         (cris_struct_value_rtx): Likewise.
10883         * config/cris/cris.h (PROMOTE_FUNCTION_ARGS): Remove.
10884         (CRIS_STACKADJ_REG): Use CRIS_STRUCT_VALUE_REGNUM instead of
10885         STRUCT_VALUE_REGNUM.
10886         (STRUCT_VALUE_REGNUM): Rename to CRIS_STRUCT_VALUE_REGNUM.
10888 2004-01-24  Ian Lance Taylor  <ian@wasabisystems.com>
10890         PR bootstrap/13848
10891         * cse.c (cse_cc_succs): Change the mode of the source expression
10892         as soon as decide we need a new mode.  Don't permit changing modes
10893         if we found a match in a successor block.
10894         (cse_condition_code_reg): Save original mode of source expression
10895         so that we know whether we have to change the mode in other
10896         insns.
10898 2004-01-24  Jan Hubicka  <jh@suse.cz>
10900         * emit-rtl.c (change_address, adjust_address_1, offset_address,
10901         widen_memory_access):  Return early when there is nothing to change.
10903 2004-01-24  Jakub Jelinek  <jakub@redhat.com>
10905         * simplify-rtx.c (simplify_relational_operation): Don't
10906         simplify address == constant into address + -constant == 0.
10908 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
10910         * gcc.c (process_command): Don't internationalize the
10911         Copyright message.
10912         * mips-tfile.c (main): Likewise.
10914 2004-01-24  Andreas Tobler  <a.tobler@schweiz.ch>
10916         * cse.c: (cse_cc_succs) Fix comparison warning.
10918 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
10920         * config/h8300/h8300.md: Remove extraneous USE in expanders.
10922 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
10924         * config/h8300/h8300-protos.h: Provide prototypes for
10925         h8300_legitimate_constant_p and h8300_legitimate_address_p.
10926         * config/h8300/h8300.c (h8300_legitimate_constant_p): New.
10927         (h8300_rtx_ok_for_base_p): Likewise.
10928         (h8300_legitimate_address_p): Likewise.
10929         * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Use
10930         h8300_legitimate_constant_p.
10931         (RTX_OK_FOR_BASE_P): Remove.
10932         (GO_IF_LEGITIMATE_ADDRESS): Use h8300_legitimate_address_p.
10934 2004-01-24  Kazu Hirata  <kazu@cs.umass.edu>
10936         * config/h8300/h8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New.
10937         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
10938         (REG_OK_FOR_INDEX_STRICT_P): Likewise.
10939         (REG_OK_FOR_BASE_STRICT_P): Likewise.
10940         (REG_OK_FOR_INDEX_STRICT_P): Use REGNO_OK_FOR_INDEX_P.
10941         (REG_OK_FOR_BASE_STRICT_P): Use REGNO_OK_FOR_BASE_P.
10942         (REG_OK_FOR_INDEX_P): Use REG_OK_FOR_INDEX_STRICT_P.
10943         (REG_OK_FOR_BASE_P): Use REG_OK_FOR_BASE_STRICT_P.
10945 2004-01-24  Jan Hubicka  <jh@suse.cz>
10947         * cselib.c (remove_useless_values):  Do not access discarded values.
10949 2004-01-24  Joseph S. Myers  <jsm@polyomino.org.uk>
10951         * c-typeck.c (build_conditional_expr): Do not allow non-lvalue
10952         arrays.
10954 2004-01-23  Kazu Hirata  <kazu@cs.umass.edu>
10956         * recog.c: Fix a typo in copyright.
10958 2004-01-23  Andrew Pinski  <apinski@apple.com>
10960         * config/rs6000/rs6000.md (call): Fix misappiled patch.
10961         (call_value): Likewise.
10963 2004-01-23  Richard Henderson  <rth@redhat.com>
10965         PR opt/12941
10966         * combine.c (SHIFT_COUNT_TRUNCATED): Provide default value.
10967         (simplify_comparison): Don't simplify (eq (zero_extract c 1 r) 0)
10968         if SHIFT_COUNT_TRUNCATED is set.
10970 2004-01-23  Bob Wilson  <bob.wilson@acm.org>
10972         * config/xtensa/xtensa.c (xtensa_va_arg): Handle complex values as
10973         separate real and imaginary parts.
10974         * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Define.
10976 2004-01-23  Hartmut Penner <hpenner@de.ibm.com>
10978         PR target/13674
10979         * config/rs6000/rs6000.md (movdf_hardfloat64): Do not disparage
10980         loading into GPR.
10982 2004-01-23  Jan Hubicka  <jh@suse.cz>
10984         * emit-rtl.c (change_address_1):  Do not re-generate the RTX if nothing
10985         change.
10987         * alloc-pool.c (align_four): Kill.
10988         (create_alloc_pool): Align size to eight.
10989         (free_alloc_pool, free_pool): Invalidate deallocated data.
10991 2004-01-23  Ian Lance Taylor  <ian@wasabisystems.com>
10993         PR gcc/1532
10994         * cse.c (cse_change_cc_mode): New static function.
10995         (cse_change_cc_mode_insns, cse_cc_succs): Likewise.
10996         (cse_condition_code_reg): New function.
10997         * rtl.h (cse_condition_code_reg): Declare.
10998         * toplev.c (rest_of_handle_cse2): Call cse_condition_code_reg.
10999         * target.h (struct gcc_target): Add fixed_condition_code_regs and
11000         cc_modes_compatible.
11001         * target-def.h (TARGET_FIXED_CONDITION_CODE_REGS): Define.
11002         (TARGET_CC_MODES_COMPATIBLE): Define.
11003         (TARGET_INITIALIZER): Add new initializers.
11004         * targhooks.c (default_cc_modes_compatible): New function.
11005         * targhooks.c (default_cc_modes_compatible): Declare.
11006         * hooks.c (hook_bool_intp_intp_false): New function.
11007         * hooks.h (hook_bool_intp_intp_false): Declare.
11008         * config/i386/i386.c (TARGET_FIXED_CONDITION_CODE_REGS): Define.
11009         (TARGET_CC_MODES_COMPATIBLE): Define.
11010         (ix86_fixed_condition_code_regs): New static function.
11011         (ix86_cc_modes_compatible): Likewise.
11012         * doc/tm.texi (Condition Code): Document new hooks.
11014 2004-01-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11016         * fixinc/inclhack.def (bad_lval): Renamed to ...
11017         (alpha_bad_lval): ... this.
11018         Removed file list.
11019         Restrict to alpha*-dec-osf*.
11020         * fixinc/fixincl.x: Regenerate.
11021         * fixinc/tests/base/dirent.h: Remove, moving test ...
11022         * fixinc/tests/base/testing.h: ... here, reflecting new name.
11024 2004-01-23  Zack Weinberg  <zack@codesourcery.com>
11026         PR c/13814
11027         * c-decl.c (diagnose_mismatched_decls): Also discard a
11028         built-in if we encounter an old-style definition with the
11029         same name.
11031 2004-01-23  Jakub Jelinek  <jakub@redhat.com>
11033         * config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was
11034         set to default{32,64}.
11036 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11038         * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR)
11039         [!__powerpc64__]: Corrected to handle kernels with changed ucontext.
11041 2004-01-23  Eric Botcazou  <ebotcazou@act-europe.fr>
11042             Olivier Hainque  <hainque@act-europe.fr>
11044         * fold-const.c (fold_binary_op_with_conditional_arg): Only
11045         build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR.
11047 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
11049         * config/arm/arm.c (arm_legitimate_address_p): Don't check the mode
11050         size for minipool references.
11052 2004-01-23  Roger Sayle  <roger@eyesopen.com>
11054         * real.c (real_floor, real_ceil): Tweak to allow input and output
11055         arguments to overlap.
11056         (real_round): New function to implement round(3m) semantics.
11057         * real.h (real_round): Prototype here.
11058         * builtins.c (fold_builtin_round): New function to constant fold
11059         round, roundf and roundl.
11060         (fold_builtin): Call fold_builtin_round for BUILT_IN_ROUND{,F,L}.
11062 2004-01-23  Alexandre Oliva  <aoliva@redhat.com>
11064         PR optimization/13819
11065         * config/sh/sh.c (sh_reorg): Compensate for sharing of CLOBBERs
11066         introduced by 2004-01-20's Jan Hubicka's copy_insn change.
11067         (sh_handle_sp_switch_attribute): Remove warning.
11069 2003-11-30  Jan Hubicka  <jh@suse.cz>
11071         * i386.c (ix86_emit_restore_regs_using_mov):  Deal with large offsets.
11073 2004-01-23  J"orn Rennecke <joern.rennecke@superh.com>
11075         * doc/tm.texi: Insert some weasel words when LOAD_EXTEND_OP
11076         may or may not return non-NIL.
11077         * postreload.c (reload_cse_simplify_operands): In LOAD_EXTEND_OP code,
11078         check CANNOT_CHANGE_MODE_CLASS
11080 2004-01-23  Jan Hubicka  <jh@suse.cz>
11082         * basic-block.h (PROP_POSTRELOAD): New macro.
11083         (CLEANUP_LOG_LINKS): New.
11084         * cfgcleanup.c (cleanup_cfg): Only PROP_LOG_LINKS when asked to.
11085         * toplev.c (rest_of_handle_life):  Preserve LOG_LINKS trought cleanup_cfg.
11087         * cselib.c (value_pool): New.
11088         (new_cselib_val): Use pool.
11089         (cselib_init): Initialize value_pool
11090         (cselib_finish): Free pool.
11092 2004-01-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
11094         * config/sparc/sparc.c (scan_record_type): New function.
11095         (function_arg_slotno): Use it to determine which kinds of
11096         registers the record can be passed in.
11098 2004-01-22  James A. Mmorrison  <ja2morri@uwaterloo.ca>
11100         * config/pa/fptr.c: Fix old-style definition.
11102 2004-01-22  Paolo Bonzini  <bonzini@gnu.org>
11104         PR optimization/13724
11105         * cse.c (fold_rtx) <SUBREG>:  Fold a SUBREG to zero if it
11106         represents the zero bits produced by a ZERO_EXTEND operation.
11108 2004-01-22  Roger Sayle  <roger@eyesopen.com>
11110         PR optimization/13821
11111         * simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset to
11112         correctly calculate the lowpart offset of the contracted subreg.
11114 2004-01-22  Ian Lance Taylor  <ian@wasabisystems.com>
11116         * doc/invoke.texi (Optimize Options): Note that --param arguments
11117         are subject to change without notice.
11119 2004-01-22  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11121         * config.gcc (mips-sgi-irix6*o32): Removed.
11122         * config/mips/iris6-o32-as.h: Likewise.
11123         * config/mips/iris6-o32-gas.h: Likewise.
11124         * config/mips/iris6-o32.h: Likewise.
11126 2004-01-22  Jan Hubicka  <jh@suse.cz>
11128         * cfgcleanup.c (first_pass): New static variable.
11129         (try_forward_edges):  Add work limiting check for threading.
11130         (try_crossjump_bb):  Add work limiting check for crossjumping.
11131         (try_optimize_cfg):  Maintain first pass variable.
11133 2004-01-22  Bob Wilson  <bob.wilson@acm.org>
11135         * config/xtensa/xtensa.c (function_arg): Generalize logic so that it
11136         handles complex and vector modes.
11138 2004-01-22  Kazu Hirata  <kazu@cs.umass.edu>
11140         * config/h8300/h8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove.
11141         (REG_OK_FOR_BASE_P_STRICT): Likewise.
11142         (STRICT): Likewise.
11144 2004-01-22  Daniel Jacobowitz  <drow@mvista.com>
11146         * c-semantics.c (genrtl_while_stmt, genrtl_do_stmt_1)
11147         (genrtl_for_stmt): Remove emit_nop calls.
11149 2004-01-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11151         PR target/13713
11152         PR target/13324
11153         * pa.md (movstrsi_prereload, movstrsi_postreload, movstrdi_prereload,
11154         movstrdi_postreload, clrstrsi_prereload, clrstrsi_postreload,
11155         clrstrdi_prereload, clrstrdi_postreload): Fix constraints.
11157 2004-01-22  Daniel Jacobowitz  <drow@mvista.com>
11159         * config/arm/arm.c: Include "debug.h".
11160         (thumb_pushpop): Take two new arguments.  Add some commentary.
11161         Output frame information when pushing.
11162         (thumb_exit, thumb_unexpanded_epilogue): Update calls to
11163         thumb_pushpop.
11164         (thumb_output_function_prologue): Likewise.  Accumulate a CFA
11165         offset, and pass it to thumb_pushpop.  Output CFI information.
11166         (thumb_expand_prologue): Add some frame-related markers and notes.
11168 2004-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
11170         * config/s390/s390.c (s390_frame_info): Allow large frame sizes
11171         for TARGET_64BIT.
11172         (s390_arg_frame_offset): Change return type to HOST_WIDE_INT.
11173         * config/s390/s390-protos.h (s390_arg_frame_offset): Likewise.
11175 2004-01-22  Roger Sayle  <roger@eyesopen.com>
11176             Paolo Bonzini  <bonzini@gnu.org>
11178         * rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb.
11179         (subreg_lsb): Change to call new subreg_lsb_1 helper function.
11180         * rtl.h (subreg_lsb_1): Prototype here.
11181         * simplify-rtx.c (simplify_subreg): Optimize subregs of zero and
11182         sign extensions.
11184 2004-01-22  Kazu Hirata  <kazu@cs.umass.edu>
11186         * doc/tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the
11187         macro need not be defined if jump-tables should contain
11188         relative addresses only when -fPIC or -fPIC is in effect.
11190 2004-01-22  Jan Hubicka  <jh@suse.cz>
11192         * alias.c (reg_base_value): Turn into varray.
11193         (reg_base_value_size): Kill.
11194         (old_reg_base_value): New deletable varray.
11195         (alias_invariant_size): New variable.
11196         (REG_BASE_VALUE): Update to use varray.
11197         (find_base_value): Likewise.
11198         (record_set): Likewise.
11199         (record_base_value): Likewise.
11200         (memrefs_conflict_p): Likewise.
11201         (record_set): Likewise
11202         (record_base_value): Likewise.
11203         (memrefs_conflict_p): Use alias_invariant_size.
11204         (init_alias_analysis): Use varray; set alias_invariant_size;
11205         rescale other arrays to be sized by maxreg.
11206         (end_alias_analysis): Save reg_base_value; clear alias_invariant_size.
11208 2004-01-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
11210         * config/sparc/sparc.c (function_arg_slotno): Use
11211         FLOAT_TYPE_P to detect FP fields in structures.
11212         (function_arg_record_value_1): Likewise.
11213         (function_arg_record_value_2): Likewise.
11215 2004-01-22  Jan Hubicka  <jh@suse.cz>
11217         * function.c (allocate_struct_function): Do not initialize expr, emit
11218         and varasm.
11219         (prepare_function_start): Do it here.
11220         * c-parse.in (maybe_type_qual): Do not produce line number notes.
11222 2004-01-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
11224         PR target/13559
11225         * config/sparc/sparc.c (function_arg_record_value_3): Revert
11226         to 'word_mode' once the first slot has been filled.
11228 2004-01-22  Olivier Hainque  <hainque@act-europe.fr>
11230         * config/sparc/sparc.c (function_arg_record_value_1): Fix
11231         computation of the number of integer registers required.
11233 2004-01-21  Kazu Hirata  <kazu@cs.umass.edu>
11235         * config/i386/i386.md: Simplify certain comparisons of
11236         const_int.
11238 2004-01-21  Andrew Pinski  <apinski@apple.com>
11240         PR target/13785
11241         * config/rs6000/rs6000.md (call_value): Force operand
11242         1 not operand 0 into a register.
11244 2004-01-21  Kazu Hirata  <kazu@cs.umass.edu>
11246         * cpperror.c, cpptrad.c, longlong.h, params.def, rtl.def,
11247         unwind-dw2-fde.h: Update copyright.
11249 2004-01-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11251         * pa-protos.h: Update copyright.
11252         * pa.h: Likewise.
11253         * pa.md: Likewise.
11255 2004-01-21  Caroline Tice  <ctice@apple.com>
11257         PR target/12308
11258         * config/i386/i386.md (fix_truncxfdi2): Add clause to clobber
11259         flags register.
11260         (fix_truncdfdi2): Likewise.
11261         (fix_truncsfdi2): Likewise.
11262         (*fix_truncdi_1): Likewise.
11263         (fix_truncxfsi2): Likewise.
11264         (fix_truncdfsi2): Likewise.
11265         (fix_truncsfsi2): Likewise.
11266         (*fix_truncsi_1): Likewise.
11267         (fix_truncxfhi2): Likewise.
11268         (fix_truncdfhi2): Likewise.
11269         (fix_truncsfhi2): Likewise.
11270         (*fix_trunchi_1): Likewise.
11272 2004-01-21  Kazu Hirata  <kazu@cs.umass.edu>
11274         * alias.c, basic-block.h, c-common.c, c-common.h,
11275         c-cppbuiltin.c, c-opts.c, c-pragma.c, c-pretty-print.c,
11276         calls.c, cfg.c, cfgcleanup.c, cfgrtl.c, cgraph.h, collect2.c,
11277         combine.c, cppcharset.c, cpphash.h, cppinit.c, cpplib.c,
11278         cpplib.h, cppmacro.c, crtstuff.c, cselib.c, cselib.h,
11279         defaults.h, df.c, dominance.c, et-forest.c, expmed.c, expr.c,
11280         expr.h, fix-header.c, function.h, gcc.c, gcse.c, genattrtab.c,
11281         genautomata.c, genconditions.c, genemit.c, genflags.c,
11282         gengtype.c, gengtype.h, genopinit.c, genrecog.c, gensupport.c,
11283         ggc-zone.c, graph.c, haifa-sched.c, input.h, integrate.c,
11284         langhooks-def.h, langhooks.c, langhooks.h, line-map.c,
11285         line-map.h, local-alloc.c, optabs.c, optabs.h, postreload.c,
11286         ra.h, recog.c, reg-stack.c, regmove.c, reload.c, reorg.c,
11287         rtl.c, sched-deps.c, sched-ebb.c, sdbout.c, system.h,
11288         target.h, targhooks.c, toplev.h, tree-inline.c, unwind-pe.h,
11289         unwind.h, varray.c, varray.h: Update copyright.
11291 2004-01-21  Kazu Hirata  <kazu@cs.umass.edu>
11293         * config/h8300/coff.h: Update copyright.
11294         * config/h8300/elf.h: Likewise.
11295         * config/h8300/h8300-protos.h: Likewise.
11296         * config/h8300/h8300.c: Likewise.
11297         * config/h8300/h8300.h: Likewise.
11298         * config/h8300/h8300.md: Likewise.
11300 2004-01-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11302         * fixinc/inclhack.def (hpux10_stdio_declarations, ultrix_const3,
11303         ultrix_locale, ultrix_stdlib, ultrix_strings, ultrix_sys_time,
11304         ultrix_unistd): New hacks.
11305         * fixinc/tests/base/stdio.h (HPUX10_STDIO_DECLARATIONS_CHECK,
11306         ULTRIX_CONST2_CHECK): Add checks.
11307         * fixinc/tests/base/stdlib.h (ULTRIX_STDLIB_CHECK): Likewise.
11308         * fixinc/tests/base/strings.h (ULTRIX_STRINGS2_CHECK): Likewise.
11309         * fixinc/tests/base/unistd.h (ULTRIX_UNISTD_CHECK): Likewise.
11310         * fixinc/tests/base/sys/time.h (ULTRIX_SYS_TIME_CHECK): Likewise.
11311         * fixinc/tests/base/locale.h: New file.
11312         * fixinc/fixincl.x: Rebuilt.
11314 2004-01-21  Andreas Jaeger  <aj@suse.de>
11315             Michael Matz  <matz@suse.de>
11317         * doc/extend.texi (Extended Asm): Clarify memory clobber.
11319 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11321         * crtstuff.c (frame_dummy, __do_global_ctors_1): Call
11322         _Jv_RegisterClasses through a function pointer.
11324 2004-01-21  Falk Hueffner  <falk@debian.org>
11326         PR target/12898
11327         * config/alpha/alpha.c (alpha_emit_set_const_1): If
11328         no_new_pseudos, use gen_rtx_SET directly for SImode constants
11329         which need multiple instructions to emit.
11331 2004-01-21  Inaoka Kazuhiro  <inaoka.kazuhiro@renesas.com>
11333         * config/m32r/m32r.h (CPP_SPEC): Define.
11335 2004-01-21  Zack Weinberg  <zack@codesourcery.com>
11337         * c-decl.c (merge_decls): Kill different_binding_level and
11338         different_tu arguments; simplify throughout.
11339         (duplicate_decls): Likewise.
11340         (pushdecl, merge_translation_unit_decls): Update calls to
11341         duplicate_decls.
11343 2004-01-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11345         * Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and
11346         $(SYSTEM_H).
11347         (print-rtl1.o): Depend on $(SYSTEM_H).
11349 2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
11351         PR bootstrap/12730
11352         * configure.ac: Delete definition and subsitution of docdir.
11353         Add info, man, srcman and srcinfo to target hooks. Create doc/
11354         directory.
11355         * configure: Regenerate.
11356         * Makefile.in: Don't substitute docdir and delete all references
11357         throughout.
11358         (MAKEINFOFLAGS): Define.
11359         (stmp-docobjdir): Delete.
11360         (INFOFILES, MANFILES): Define.
11361         (info): Call lang.info, srcinfo and lang.srcinfo.
11362         (generated-manpages): Call lang.man, srcman and lang.srcman.
11363         (srcinfo, srcman): New rules to copy back files to source directory.
11364         (doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
11365         (install-man): Revamp rule.
11366         (clean): Update dvi directory.
11367         (distclean): Delete TAGS from front end directorys.
11368         (maintainer-clean): Delete all document files in source directory.
11370         objc/Make-lang.in (objc.man, objc.info): Dummy entries.
11371         (objc.srcman, objc.srcinfo): Likewise.
11373 2004-01-20  Bruce Korb  <bkorb@gnu.org>
11375         * fixinc/inclhack.def(math_exception): bypass only for glibc.
11376         (matherr_decl): rename & relocate as exception_structure.
11377         This fix must precede the math_exception fix.
11379 2004-01-20  Roger Sayle  <roger@eyesopen.com>
11381         * fold-const.c (fold_convert): Rename to fold_convert_const.
11382         (fold_convert_const): Change arguments to take a tree_code,
11383         a type and the operand/expression to be converted.  Return
11384         NULL_TREE if no simplification is possible.  Add support for
11385         FIX_CEIL_EXPR and FIX_FLOOR_EXPR in addition to FIX_TRUNC_EXPR.
11386         (fold): Handle FIX_CEIL_EXPR and FIX_FLOOR_EXPR.
11387         Adjust call to fold_convert to match new fold_convert_const.
11388         Avoid modifying the tree passed to fold in-place.
11390 2004-01-21  Alan Modra  <amodra@bigpond.net.au>
11392         * config/rs6000/sysv4.h (DWARF2_FRAME_REG_OUT): Define.
11393         * dwarf2out.c (output_cfi): Map regs using DWARF2_FRAME_REG_OUT.
11394         * doc/tm.texi (DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Document.
11396 2004-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11398         * pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.
11399         * pa.c (store_reg, store_reg_modify, load_reg, set_reg_plus_d):
11400         Likewise.  Handle frames larger than 0x7fffffff on 64-bit ports.
11401         (emit_move_sequence): Check scratch_reg first in various if statements.
11402         Extend source simplification to handle all 64-bit CONST_INTs.
11403         (pa_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for printing
11404         frame size.
11405         (hppa_expand_prologue, hppa_expand_epilogue): Use HOST_WIDE_INT for
11406         frame offset calculations.
11407         * pa.h (NEW_HP_ASSEMBLER): Add comment.
11408         (MAX_LEGIT_64BIT_CONST_INT, MIN_LEGIT_64BIT_CONST_INT,
11409         LEGITIMATE_64BIT_CONST_INT_P): Define.
11410         (LEGITIMATE_CONSTANT_P): Use LEGITIMATE_64BIT_CONST_INT_P.  Treat
11411         any CONST_INT as legitimate during and after reload.
11412         (VAL_32_BITS_P, INT_32_BITS): Define.
11413         (LEGITIMIZE_RELOAD_ADDRESS): Handle large frame offsets.
11415 2004-01-20  Jan Hubicka  <jh@suse.cz>
11417         * emit-rtl.c (verify_rtx_sharing, copy_insn_1,
11418         emit_copy_of_insn_after, emit_copy_of_insn_after): Clobbers
11419         containing hard regs are shared.
11420         (gen_hard_reg_clobber): New function.
11421         (hard_reg_clobbers): New array.
11422         * genemit.c (gen_exp): Use gen_hard_reg_clobber.
11423         (copy_rtx): Do not copy clobbers containing hard regs.
11424         * rtl.h (gen_hard_reg_clobber): Declare.
11426 2004-01-20  Jan Hubicka  <jh@suse.cz>
11428         * varray.c:  Include hashtab.h
11429         (varray_descriptor): New structure.
11430         (hash_descriptor, eq_descriptor, varray_descriptor,
11431         print_statistics): New static functions
11432         (varray_init, varray_grow): Update statistics
11433         (dump_varray_statistics): New function.
11434         * varray.h (dump_varray_statistics): Declare.
11435         * toplev.c (finalize): Call it.
11436         * Makefile.in (varray.o): Add dependency.
11438 2004-01-20  Jan Hubicka  <jh@suse.cz>
11440         * cselib.c: Include alloc-pool.h
11441         (empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill.
11442         (elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare.
11443         (new_elt_list, new_elt_loc_list, unchain_one_elt_list,
11444         unchain_one_elt_loc_list_pool, unchain_one_value,
11445         new_cselib_val): Simplify using allocpool.
11446         (cselib_init): Initialize allocpools.
11447         (cselib_finish): Finish allocpools.
11448         * Makefile.in (cselib.o): Depend on alloc-pool.h
11450 2004-01-20  Richard Sandiford  <rsandifo@redhat.com>
11452         * config/mips/mips.c (mips_load_call_address): Make the call insn
11453         use $gp if it could be calling a lazy binding stub.
11455 2004-01-20  Kazu Hirata  <kazu@cs.umass.edu>
11457         * config/s390/s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define.
11458         (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
11459         (TARGET_STRUCT_VALUE_RTX): Likewise.
11460         * config/s390/s390.h (PROMOTE_FUNCTION_ARGS): Remove.
11461         (PROMOTE_FUNCTION_RETURN): Remove.
11462         (STRUCT_VALUE): Remove.
11464 2004-01-20  Denis Chertykov  <denisc@overta.ru>
11466         PR bootstrap/13735
11467         * config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X
11468         register as pointer after reload.
11470 2004-01-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
11472         PR optimization/12440
11473         * loop.c: Include ggc.h.
11474         (loop_optimize): Run garbage collector between optimization of loops.
11475         * Makefile.in (loop.o): Add GGC_H dependency.
11477 2004-01-20  Hartmut Penner  <hpenner@de.ibm.com>
11479         * gcc/config/rs6000/rs6000.c (function_arg) Handle
11480         vector register special in function without prototype.
11481         (function_arg_advance): Vector parameters get always
11482         GPRs allocated for the linux64 target.
11484 2004-01-20  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
11486         * config/m32r/m32r.h (TARGET_M32R2). Test for TARGET_M32R2_MASK
11487         not TARGET_M32RX_MASK.
11489 2004-01-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
11491         PR target/13557
11492         * config/sparc/sparc.c (function_arg): Reorder the cases.
11494 2004-01-19  Per Bothner  <per@bothner.com>
11496         Move cpp_reader's line_maps field to a shared global.
11497         * cpphash.h (cpp_reader):  Rename line_maps field to line_table
11498         and change the type to a pointer rather than a struct.
11499         * cppinit.c (cpp_push_main_field):  Adjust accordingly.
11500         * cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks):
11501         Likewise.
11502         * cppfiles.c (validate_pch):  Likewise.
11503         * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text):
11504         Likewise.
11505         * cpperror.c (print_location):  Likewise.
11506         * cpplib.h (cpp_create_reader):  New line_maps pointer parameter.
11507         * cppinit.c (cpp_create_reader):  Handle new parameter.
11508         (cpp_destroy):  Don't free line_maps - that's no longer our job.
11509         * input.h (line_table):  New variable.
11510         * toplev.c (line_table):  Declare variable.
11511         (general_init):  Initialize line_table.
11512         * c-opts.c (c_common_init_options):  Pass line_table to
11513         cpp_create_reader.
11514         * fix-header.c (read_scan_file):  New local variable line_table.
11515         Initialize, and pass it to cpp_create_reader.
11516         * Makefile.in (LIBS, LIBDEPS):  Add libcpp.a.
11517         (C_AND_OBJC_OBJS, fix-header):  Remove redundant libcpp.a.
11519 2004-01-19  Per Bothner  <per@bothner.com>
11521         Implement a cache for linemap_lookup.
11522         * line-map.h (struct_line_maps):  Add cache field.
11523         * line-map.c (linemap_init):  Zero cache field.
11524         (linemap_add):  Set cache field to offset of newly allocated map.
11525         (linemap_lookup):  Use and set cache field.
11527 2004-01-20  Kaz Kojima  <kkojima@gcc.gnu.org>
11529         PR optimization/13567
11530         * cse.c (cse_basic_block): Call cse_insn with a non-null
11531         libcall_insn for the last SET insn of a no-confilict block.
11533 2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
11535         * Makefile.in (target_noncanonical, program_transform_name): Use
11536         immediate define instead of deferred.
11537         (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
11538         PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
11539         GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
11540         deferred backquote.
11542 2004-01-20  Joseph S. Myers  <jsm@polyomino.org.uk>
11544         * c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
11545         true unconditionally.
11546         * c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning):
11547         Remove.
11548         (build_unary_op, build_modify_expr): Don't handle extended
11549         lvalues.
11550         (build_component_ref, build_conditional_expr): Call non_lvalue
11551         instead of pedantic_non_lvalue.
11552         (build_c_cast): Don't condition use of non_lvalue on pedantic.
11553         * fold-const.c (fold): Don't check pedantic directly for
11554         COMPOUND_EXPR.  Ensure that results for COMPOUND_EXPR are
11555         passed to pedantic_non_lvalue.
11556         * doc/extend.texi: Remove documentation of extended lvalues.
11558 2004-01-19  Roger Sayle  <roger@eyesopen.com>
11560         PR optimization/5263
11561         * simplify-rtx.c (associative_constant_p): Delete.
11562         (simplify_associative_operation): Rewrite to linearize terms, and
11563         attempt to simplify new term against both left and right subterms.
11564         (simplify_binary_operation): Call swap_commutative_operands_p on
11565         op0 and op1, not trueop0 and trueop1.  Move the initialization of
11566         trueop0 and trueop1 down to where first needed.
11567         (simplify_relational_operation): Likewise.
11568         * rtlanal.c (commutative_operand_precedence): Also order constant
11569         operands using avoid_constant_pool_reference.
11571 2004-01-19  Richard Henderson  <rth@redhat.com>
11573         * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
11574         don't check memory mode.
11575         (unaligned_memory_operand): Likewise.
11576         (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't
11577         abort for op0 not MEM.
11579         * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination
11580         is not a reg, copy to a scratch first.
11581         (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi,
11582         unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le,
11583         unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG.
11584         (reload_inqi, reload_inhi): Fix mode of op0.
11585         (reload_inqi_help, reload_inhi_help, reload_outqi_help,
11586         reload_outhi_help): Likewise.  Use define_insn_and_split.
11588         * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN
11589         as well as $29 dead.
11591 2004-01-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
11593         * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New.  Emit
11594         "tls_object" for thread-local objects.
11595         * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
11596         "#tls" for thread-local sections.
11597         * configure.ac (thread-local checks): Specify --fatal-warnings in
11598         every binutils-specific checks.  For sparc*-*-*, test whether the
11599         OS is Solaris and the tools are native and act accordingly.
11600         * configure: Rebuild.
11602 2004-01-19  Jeff Law  <law@redhat.com>
11604         * contrib.texi: Update Paolo Carlini's entry.  New entries for
11605         Jerry Quinn and Petur Runolfsson.
11607 2004-01-19  Roger Sayle  <roger@eyesopen.com>
11609         * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
11610         size, don't use the larger zero-extending loads.
11612 2004-01-19  Richard Henderson  <rth@redhat.com>
11614         * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
11615         * alpha.md (UNSPEC_NT_LDA): Remove.
11616         (UNSPEC_CVTLQ, cvtlq): New.
11617         (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
11618         (extendsidi2_fix): Remove.
11619         (extendsidi2 splitter): Use cvtlq.
11620         (extendsidi2 fp peepholes): Remove.
11621         (cvtql): Use SFmode instead of SImode.
11622         (fix_trunc?fsi): Update to match.
11623         (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
11624         (movsi): Rename from movsi_nofix, remove f alternatives.
11625         (movsi_nt_vms): Similarly.
11626         (movsi_fix, movsi_nt_vms_fix): Remove.
11627         (nt_lda): Remove.
11628         * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.
11630 2004-01-19  Jan Hubicka  <jh@suse.cz>
11632         * cgraph.c (cgraph_remove_node): Fix removal from linked list.
11633         * cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
11634         list.
11635         (cgraph_remove_unreachable_nodes): New function
11636         (cgraph_decide_inlining_of_small_function): Fix pasto.
11637         (cgraph_decide_inlining_incrementally): Fix pasto.
11638         (cgrpah_decide_inlining): Likewise; remove unreachable nodes.
11640 2004-01-19  Steven Bosscher  <stevenb@suse.de>
11642         * gengtype.c (header_file): Make it static.
11643         (write_types_process_field, write_enum_defn): Minor whitespace fixes.
11644         * gengtype.h (header_file): No longer extern.
11646 2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
11648         * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
11649         * expr.c (CASE_VECTOR_PC_RELATIVE): Remove.
11650         * stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise.
11652 2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
11654         * stmt.c (HAVE_casesi): Define it not already defined.
11655         (HAVE_tablejump): Likewise.
11656         (expand_end_case_type): Resort to the binary tree method if
11657         neither casesi or tablejump is available.
11659 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
11661         * final.c (final_scan_insn): Make non-static again.
11662         * output.h (final_scan_insn): Re-add prototype.
11663         * config/arc/arc.c (arc_output_function_epilogue): Add NULL
11664         to final_scan_insn call.
11665         * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise.
11666         * config/mips/mips.c (mips_output_conditional_branch): Likewise.
11667         * config/pa/pa.c (output_lbranch, output_call): Likewise.
11668         * config/sh/sh.c (print_slot): Likewise.
11669         * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise.
11670         (output_sibcall, sparc_flat_function_epilogue): Likewise.
11672 2004-01-18  Jan Hubicka  <jh@suse.cz>
11674         * basic-block.h (try_redirect_by_replacing_jump): Declare.
11675         * cfgcleanup.c (try_optimize_cfg): Use it.
11676         * cfgrtl.c (try_redirect_by_replacing_jump): Export.
11677         (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
11678         Kill hack.
11679         (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.
11681         Revert:
11682         2004-01-16  Geoffrey Keating  <geoffk@apple.com>
11684                 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
11685                 even after reload, just don't remove the actual jump tables.
11687 2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
11689         * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.
11691 2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
11693         * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
11694         the size of a pointer in bytes.
11696 2004-01-18  Roger Sayle  <roger@eyesopen.com>
11698         * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
11699         live "next" variable, which could lead to an infinite loop.
11701 2004-01-18  Andrew Pinski  <pinskia@physics.uc.edu>
11703         * config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
11704         block.
11706         * config/rs6000/rs6000.c (rs6000_special_round_type_align):
11707         Check for NULL in the chain and remove repeated code.
11709 2004-01-18  Jan Hubicka  <jh@suse.cz>
11711         * coverage.c (checksum_string): Rename to ...
11712         (coverage_checksum_string): ... this one, Use crc32_string; recognize
11713         names containing random number and zero the number out in order to get
11714         match.
11716 2004-01-18  Richard Sandiford  <rsandifo@redhat.com>
11718         * config/mips/mips.c (mips_got_alias_set): Mark for PCH.
11720 2004-01-18  Joseph S. Myers  <jsm@polyomino.org.uk>
11722         * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
11723         doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
11724         doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
11725         doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
11726         doc/trouble.texi: Remove trailing whitespace.
11728 2004-01-18  Richard Sandiford  <rsandifo@redhat.com>
11730         PR target/7618
11731         * config/mips/mips.c: Include cfglayout.h.
11732         (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
11733         (mips_unspec_offset_high): Add temporary register argument.
11734         (mips_load_call_address): New function, split out from...
11735         (mips_expand_call): ...here.
11736         (mips_output_cplocal): New function.
11737         (mips_output_function_prologue, mips_output_function_epilogue): Use it.
11738         (mips_emit_loadgp): New function, split out from...
11739         (mips_expand_prologue): ...here.
11740         (mips_output_mi_thunk): New function.
11742 2004-01-17  Bernardo Innocenti  <bernie@develer.com>
11744         * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
11745         mcpu32): Remove redundant checks for implied target predefines.
11747 2004-1-17  Andrew Pinski  <pinskia@physics.uc.edu>
11749         * config/rs6000/rs6000.c (rs6000_special_round_type_align):
11750         Return type is unsigned int not int.
11751         * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
11752         Likewise.
11754 2004-01-18  Joseph S. Myers  <jsm@polyomino.org.uk>
11756         * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
11757         doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
11758         "GNU/Linux" and "Microsoft Windows" terminology.
11760 2004-01-18  Joseph S. Myers  <jsm@polyomino.org.uk>
11762         * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
11763         doc/cppopts.texi, doc/extend.texi, doc/install.texi,
11764         doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
11765         doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
11766         @smallexample instead of @example.
11768 2004-01-17  Ziemowit Laski  <zlaski@apple.com>
11770         * objc/objc-act.c (build_objc_method_call): Use target
11771         hooks instead of macros to determine if ..._stret
11772         dispatchers should be used (NeXT runtime only).
11774 2004-01-17  Roger Sayle  <roger@eyesopen.com>
11776         * builtins.c (expand_builtin_expect_jump): Fix mistake in my
11777         last patch.  Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
11779 2004-01-17  Daniel Jacobowitz  <drow@mvista.com>
11781         * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
11782         (emit_call_insn_before_sameloc, emit_insn_after_sameloc)
11783         (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
11784         macros.
11785         * reload1.c (emit_reload_insns): Use them.
11786         * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
11787         (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
11788         for NULL PATTERN.
11790 2004-01-17  Daniel Jacobowitz  <drow@mvista.com>
11792         * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
11793         (final_scan_insn): Update to take an additional SEEN argument.  Emit
11794         a line note after the prologue.  Make static.
11795         (line_note_exists): Remove.
11796         (final): Don't initialize line_note_exists.  Update call to
11797         final_scan_insn.
11798         * output.h (final_scan_insn): Remove prologue.
11799         * function.c (set_insn_locators): Update comment.
11800         (thread_prologue_and_epilogue_insns): Add a comment.
11802 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
11804         PR target/10781
11805         * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
11806         Prototype.
11807         * config/rs6000/rs6000.c (rs6000_special_round_type_align):
11808         New function.
11809         * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
11810         * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
11811         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
11813 2004-01-17  Jan Hubicka  <jh@suse.cz>
11815         * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
11816         commit.
11818         * toplev.c (HAVE_conditional_execution): Provide default.
11819         (rest_of_handle_reorder_blocks): For conditional_execution target
11820         update liveness once after all transformations
11821         (rest_of_compilation): Do crossjumping before ce3.
11823 2004-01-17  Geoffrey Keating  <geoffk@apple.com>
11825         * alias.c (new_alias_set): Mark last_alias_set for PCH.
11826         (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
11827         for PCH.
11828         (get_frame_alias_set): Likewise, except rename it to 'frame_set'.
11829         * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
11830         (get_TOC_alias_set): Mark 'set' for PCH.
11832 2004-01-16  Geoffrey Keating  <geoffk@apple.com>
11834         * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
11835         even after reload, just don't remove the actual jump tables.
11837 2004-01-17  J. Brobecker  <brobecker@gnat.com>
11839         * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
11840         Remove checks for is_ada() and TREE_UNSIGNED.
11841         (subrange_type_die): Emit a byte_size attribute if the subrange
11842         type size is different from the base type size.
11843         (modified_type_die): Replace call to is_ada_subrange_type() by
11844         call to is_subrange_type().
11846 2004-01-16  Andrew Pinski  <pinskia@physics.uc.edu>
11848         * config/sh/sh.c: Include ggc.h.
11850 2004-01-16  Geoffrey Keating  <geoffk@apple.com>
11852         * Makefile.in (MD5_H): New.
11853         (fold-const.o): Depend on md5.h.
11854         (dwarf2out.o): Likewise.
11855         (cppfiles.o): Likewise.
11856         * cppfiles.c: Include md5.h.
11857         (should_stack_file): Check against list read from PCH file.
11858         (struct pchf_data): New.
11859         (pchf): New variable.
11860         (struct pchf_adder_info): New.
11861         (pchf_adder): New.
11862         (pchf_save_compare): New.
11863         (_cpp_save_file_entries): New.
11864         (_cpp_read_file_entries): New.
11865         (struct pchf_compare_data): New.
11866         (pchf_compare): New.
11867         (check_file_against_entries): New.
11868         * cpphash.h (_cpp_save_file_entries): Prototype.
11869         (_cpp_read_file_entries): Prototype.
11870         * cpppch.c (cpp_write_pch_state): Write the list of headers.
11871         (cpp_read_state): Read the list of headers.
11873 2004-01-17  Jan Hubicka  <jh@suse.cz>
11875         * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
11876         builtin_expect specially.
11877         * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
11878         (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
11879         * invoke.texi (max-inline-insns-single): Set to 100.
11880         (large-function-insns): Set to 3000.
11882 2004-01-16  Eric Christopher  <echristo@redhat.com>
11883             Chandrakala Chavva <cchavva@redhat.com>
11885         * cppcharset.c (one_iso88591_to_utf8): New function.
11886         (convert_iso88591_utf8): Ditto. Use.
11887         (conversion_tab): Use.
11888         (_cpp_input_to_utf8): New function.
11889         (_cpp_init_iconv_buffer): Ditto.
11890         (_cpp_close_iconv_buffer): Ditto.
11891         * cpphash.h: Prototype new functions.
11892         (cpp_buffer): Add input_cset_desc.
11893         * cppinit.c: Add input_charset default.
11894         * cpplib.c (cpp_push_buffer): Support init and
11895         close of iconv.
11896         * cpplib.h (cpp_options): Add input_charset.
11898 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
11900         * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
11901         * config/alpha/unicosmk.h: Remove a commented-out definition
11902         of ASM_OUTPUT_SECTION_NAME.
11903         * config/stormy16/stormy16.h: Likewise.
11905 2004-01-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11907         * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
11908         (alpha___extern_prefix_sys_stat): ... this.
11909         Apply to <sys/mount.h>, too.
11910         Tweak to match more variations.
11911         * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
11913         * fixinc/inclhack.def (alpha___extern_prefix,
11914         alpha___extern_prefix_standards): New hacks to obey
11915         __PRAGMA_EXTERN_PREFIX.
11916         * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
11917         test.
11918         * fixinc/tests/base/standards.h: Likewise.
11920         * fixincl/inclhack.def (alpha_pthread): Tweak to match more
11921         variations.
11922         New testcase.
11923         * fixinc/tests/base/pthread.h: Handle it.
11925         * fixincl/inclhack.def (bad_lval): Sort file list.
11926         Add many missing files up to Tru64 UNIX V5.1B.
11927         * gcc/fixinc/tests/base/libgen.h: Renamed to ...
11928         * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
11929         order.
11931         * fixinc/fixincl.x: Regenerate.
11933 2004-01-16  Mark Mitchell  <mark@codesourcery.com>
11935         * version.c (version_string): Change to 3.5.0.
11936         * doc/include/gcc-common.texi (version-GCC): Likewise.
11938 2004-01-16  Jan Hubicka  <jh@suse.cz>
11940         * i386.md (load_tp_di): Fix pasto.
11942         PR opt/13608
11943         * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
11945         * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
11946         pp_c_character_constant, pp_c_floating_constant,
11947         pp_c_additive_expression, pp_c_shift_expression,
11948         pp_c_equality_expression, pp_c_and_expression,
11949         pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
11950         pp_c_logical_and_expression): Remove inline modifier.
11951         * dwarf2out.c (get_AT): Likewise.
11952         * et-forest.c (et_splay): Likewise.
11953         * ra.h (ra_alloc, ra_calloc): Likewise
11955 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
11957         * config/frv/frv-protos.h: Fix comment formatting.
11958         * config/frv/frv.c: Likewise.
11959         * config/frv/frv.h: Likewise.
11960         * config/frv/frv.md: Likewise.
11961         * config/frv/frvbegin.c: Likewise.
11962         * config/frv/frvend.c: Likewise.
11964 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
11966         * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
11967         * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
11968         LINKER_DOES_NOT_WORK_WITH_DWARF2.
11969         (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
11971 2004-01-16  J"orn Rennecke <joern.rennecke@superh.com>
11973         PR 11864
11974         * postreload.c (reload_cse_simplify_operands): Don't remove
11975         implicit extension from LOAD_EXTEND_OP.
11977 2004-01-16  Jan Hubicka  <jh@suse.cz>
11979         PR opt/11350
11980         * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
11981         after reload.
11982         * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
11983         rtl_try_redirect_by_replacing_branch): Likewise.
11985 2004-01-15  Geoffrey Keating  <geoffk@apple.com>
11987         PR pch/13689
11988         * alias.c (struct alias_set_entry): Mark for GC.
11989         (alias_sets): Make static, mark for GC.
11990         (record_alias_subset): Use GC to allocate alias structures.
11991         * varray.c (element): Make generic varrays GCed.
11993         PR pch/13361
11994         * c-typeck.c (constructor_asmspec): Delete.
11995         (struct initializer_stack): Delete field 'asmspec'.
11996         (start_init): Delete saving of asmspec.
11997         (finish_init): Don't update constructor_asmspec.
11998         * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
11999         * stmt.c (expand_asm): Duplicate strings from tree.
12000         (expand_asm_operands): Likewise.
12001         * tree.c (tree_size): Update computation of size of STRING_CST.
12002         (make_node): Don't make STRING_CST nodes.
12003         (build_string): Allocate string with tree node.
12004         * tree.def (STRING_CST): Update comment.
12005         * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
12006         (tree_string): Place contents of string in tree node.
12007         * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
12008         from tree.
12010         * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
12011         altivec operands.
12013 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
12015         * c-common.h: Fix comment formatting.
12016         * c-cppbuiltin.c: Likewise.
12017         * c-pragma.c: Likewise.
12018         * calls.c: Likewise.
12019         * collect2.c: Likewise.
12020         * cppcharset.c: Likewise.
12021         * cpptrad.c: Likewise.
12022         * dbxout.c: Likewise.
12023         * defaults.h: Likewise.
12024         * dwarf2out.c: Likewise.
12025         * fold-const.c: Likewise.
12026         * genautomata.c: Likewise.
12027         * genconditions.c: Likewise.
12028         * genflags.c: Likewise.
12029         * gengtype.c: Likewise.
12030         * integrate.c: Likewise.
12031         * loop.c: Likewise.
12032         * predict.c: Likewise.
12033         * sdbout.c: Likewise.
12035 2004-01-15  Zack Weinberg  <zack@codesourcery.com>
12037         * config/ia64/ia64.md (*movti_internal): C output template
12038         extracted to ia64.c.
12039         (*movti_internal_reg): Delete.
12040         (reload_inti, reload_outti): Use the correct mode on operand 2
12041         in the first place, don't fix it up in the output template.
12042         (movtf, reload_ointf, reload_outtf): New expanders.
12043         (*movtf_internal): New define_insn_and_split.
12044         * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
12045         make static; do not hand TFmode CONST_DOUBLEs to split_double.
12046         (ia64_split_tmode_move): New function, body mostly pulled
12047         from ia64.md:*movti_internal.
12048         (ia64_function_arg_words): New function, extracted common
12049         logic from ia64_function_arg et seq.
12050         (ia64_function_arg_offset): Likewise.  Handle correctly the
12051         case of a scalar quantity 16 bytes wide with only 8-byte alignment.
12052         (ia64_function_arg, ia64_function_arg_partial_nregs)
12053         (ia64_function_arg_advance): Use ia64_function_arg_words and
12054         ia64_function_arg_offset.
12055         (ia64_function_value): TCmode does not go in float regs.
12056         (ia64_secondary_reload_class): Also handle TFmode.
12057         * config/ia64/ia64-protos.h: Remove prototype for
12058         ia64_split_timode; add prototype for ia64_split_tmode_move.
12060 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
12062         * Makefile.in (MAINT): Make it an immediate assignment.
12064 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
12066         * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
12068 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
12070         * config/h8300/coff.h: Replace Hitachi with Renesas.
12071         * config/h8300/elf.h: Likewise.
12072         * config/h8300/h8300-protos.h: Likewise.
12073         * config/h8300/h8300.c: Likewise.
12074         * config/h8300/h8300.h: Likewise.
12075         * config/h8300/h8300.md: Likewise.
12076         * config/h8300/lib1funcs.asm: Likewise.
12078 2004-01-15  Andrew Pinski  <apinski@apple.com>
12080         * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
12081         around it.
12083 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
12085         * config/h8300/h8300.c (h8300_return_in_memory): New.
12086         (TARGET_STRUCT_VALUE_RTX): Likewise.
12087         (TARGET_RETURN_IN_MEMORY): Likewise.
12088         * config/h8300/h8300.h (STRUCT_VALUE): Remove.
12089         (RETURN_IN_MEMORY): Likewise.
12091 2004-01-15  Richard Earnshaw  <rearnsha@arm.com>
12093         PR optimization/13375
12094         * gcse.c (handle_avail_expr): Just return if the source is not a
12095         single set.
12097 2004-01-15  Richard Earnshaw  <rearnsha@arm.com>
12098             Daniel Jacobowitz  <drow@mvista.com>
12100         * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
12101         (EQUIV): Define.
12102         (ARM_FUNC_ALIAS): New macro.
12103         * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
12104         * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
12106 2004-01-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12108         PR optimization/12372
12109         * calls.c (expand_call): Add call_fusage data for stack arguments in
12110         constant calls.
12112 2004-01-15  Alan Modra  <amodra@bigpond.net.au>
12114         * config/rs6000/rs6000.c (uses_TOC): Correct comment.  Make static.
12115         (rs6000_elf_declare_function_name): Formatting.
12116         * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
12118 2004-01-15  Jan Hubicka  <jh@suse.cz>
12120         PR bootstrap/13692
12121         * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
12122         previous patch.
12124 2004-01-15  Richard Henderson  <rth@redhat.com>
12126         * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
12127         integer regs of the same call-savedness.
12129 2004-01-15  Andreas Schwab  <schwab@suse.de>
12131         PR bootstrap/13562
12132         * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
12133         status for NOTB/NOTW/NEGW methods.
12135 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
12137         * doc/invoke.texi: Update dump file names.  Fix a typo.
12139 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
12141         * builtins.c (expand_builtin_va_end): Don't use
12142         EXPAND_BUILTIN_VA_END.
12143         * system.h (EXPAND_BUILTIN_VA_END): Poison.
12144         * config/d30v/d30v.h: Remove a commented-out definition of
12145         EXPAND_BUILTIN_VA_END.
12146         * config/stormy16/stormy16.h: Likewise.
12148 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
12150         * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
12151         * targhooks.c (default_struct_value_rtx): Don't use
12152         STRUCT_VALUE_INCOMING_REGNUM.
12154 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
12156         PR bootstrap/12744
12157         * configure.in: Revamp enable-generated-files-in-srcdir rule to define
12158         GENINSRC and not parsedir.  Define srcextra as a langhook.
12159         * configure: Regenerate.
12160         * Makefile.in: Suppress default .l.c rule.  Don't substitute
12161         parsedir and delete all references throughout.  Conditionally define
12162         rule for srcextra dependent on GENINSRC.
12163         (stmp-docobjdir): Delete.
12164         (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
12165         (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
12166         and gengtype-yacc.h back to source directory.
12167         (maintainer-clean): Delete all parse files in source directory.
12168         (distclean): Delete generated files.
12170         * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
12171         (objc-parse.c, objc-parse.y): Don't use parsedir.
12172         (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
12173         directory if requested.
12174         (po-generated): Don't use parsedir.
12175         (objc.maintainer-clean): Delete above files from source directory.
12177 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
12179         * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
12181 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
12183         * doc/tm.texi: Replace RETURN_IN_MEMORY with
12184         TARGET_RETURN_IN_MEMORY.
12186 2004-01-15  Jan Hubicka  <jh@suse.cz>
12188         * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
12189         * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
12190         functions accepting SSE arguments
12191         (function_arg): Warn only when asked to warn.
12192         * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
12194 2004-01-14  Joseph S. Myers  <jsm@polyomino.org.uk>
12196         * c-parse.in (stmts_and_decls): Make label at end of compound
12197         statement a hard error.
12199 2004-01-14  Jan Hubicka  <jh@suse.cz>
12201         * cgraph.c (create_edge): Use local.redefined_extern_inline.
12202         * cgraph.h (cgraph_local_info): Sort fields by size; add
12203         redefined_extern_inline
12204         (cgraph_global_info): Sort fields by size.
12205         (cgraph_node): Likewise.
12206         * cgraphunit.c (cgraph_finalize_function): Se
12207         local.redefined_extern_inline on redefinition.
12208         (cgraph_analyze_function): Use it; fix formating.
12210 2004-01-14  Jan Hubicka  <jh@suse.cz>
12212         PR c++/10776
12213         * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
12214         outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
12215         bitmaps
12216         (cache_size): New variable
12217         (add_dependence): Update use; canonize early memory locations
12218         (sched_analyze_1): Likewise.
12219         (sched_analyze_2): Likewise.
12220         (init_dependency_caches): Initialize bitmaps.
12221         (free_dependency_caches): Free bitmaps
12223 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
12225         * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
12226         targetm.calls.strict_argument_naming().
12227         * target.h: Likewise.
12229 2004-01-14  Richard Henderson  <rth@redhat.com>
12231         PR debug/13231
12232         * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
12233         instructions.
12235 2004-01-14  Richard Henderson  <rth@redhat.com>
12237         PR c++/12491
12238         * except.c (struct eh_region): Add u.fixup.resolved.
12239         (resolve_one_fixup_region): Split out from ...
12240         (resolve_fixup_regions): ... here.
12242 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
12244         * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
12246 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
12248         * config/alpha/alpha.h (STRUCT_VALUE): Remove.
12249         * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
12250         (STRUCT_VALUE): Remove.
12252 2004-01-14  Steven Bosscher  <stevenb@suse.de>
12254         * system.h: Poison PROMOTED_MODE
12255         * integrate.c (expand_inline_function): Don't mention the
12256         PROMOTED_MODE.
12257         * loop.c (update_giv_derive): Same.
12258         * tree.h (DECL_RTL): Same.
12260 2004-01-14  J"orn Rennecke <joern.rennecke@superh.com>
12262         PR target/9365
12263         * sh.c (gen_block_redirect): Add special handling of RETURN.
12264         (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
12265         far branch target (i.e. it's a return).
12267 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
12269         * regrename.c (find_oldest_value_reg): Fix a warning.
12271 2004-01-14  Richard Earnshaw  <rearnsha@arm.com>
12273         PR bootstrap/12527
12274         * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
12275         Move linux-gas.h and linux-elf.h before aout.h.
12276         * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
12277         * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
12279 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
12281         * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
12282         (CONST_INT, VOIDmode, ...).
12284 2004-01-14  Richard Earnshaw  <rearnsha@arm.com>
12286         * regrename.c (find_oldest_value_reg): If the replacement uses
12287         multiple hard registers, check that all of them are in CLASS.
12289 2004-01-14  Jan Hubicka  <jh@suse.cz>
12291         * alias.c (get_alias_set):  Initialize alias set to 0 when subset is
12292         impossible.
12294 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
12296         * Makefile.in: Define MAINT from --enable-maintainer-mode.
12298 2004-01-14  Hartmut Penner  <hpenner@de.ibm.com>
12300         * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
12301         Calculate always vrsave_mask if TARGET_ALTIVEC.
12302         (rs6000_emit_prologue): Emit code for vrsave
12303         only if TARGET_ALTIVEC_VRSAVE.
12304         (rs6000_emit_epilogue): Likewise.
12306 2004-01-14  Eric Botcazou  <ebotcazou@libertysurf.fr>
12308         * config/sparc/sparc.md (tie_add32): Fix pasto.
12309         (tie_add64): Likewise.
12311 2004-01-14  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
12313         * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
12315 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
12317         * config/iq2000/iq2000-protos.h: Fix comment formatting.
12318         * config/iq2000/iq2000.c: Likewise.
12319         * config/iq2000/iq2000.md: Likewise.
12321 2004-01-14  J. Brobecker  <brobecker@gnat.com>
12323         * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
12324         (subrange_type_die): Add handle for nameless subrange types.
12326 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
12328         * config/h8300/h8300-protos.h: Replace do_movsi with
12329         h8300_expand_movsi.
12330         * config/h8300/h8300.c (do_movsi): Change to
12331         h8300_expand_movsi.
12332         * config/h8300/h8300.md (movsi): Replace do_movsi with
12333         h8300_expand_movsi.
12334         (movsf): Likewise.
12336 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
12338         * config/h8300/h8300.c (dosize): Change to
12339         h8300_emit_stack_adjustment.  Update callers.
12341 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
12343         * config/h8300/h8300.md (movstrictqi): Add an alternative with
12344         the source being post_inc.  Tighten the predicate for the
12345         destination to register_operand.
12346         (movstricthi): Likewise.
12348 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
12350         * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
12351         * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
12352         * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
12354 2004-01-14  Jan Hubicka  <jh@suse.cz>
12356         Partial fix PR c++/12850
12357         * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
12358         at zero nest level.
12360 2004-01-13  Bernardo Innocenti  <bernie@develer.com>
12362         * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
12363         pseudo-register.
12365 2004-01-13  Devang Patel <dpatel@apple.com
12367         PR debug/7078
12368         * dbxout.c (dbxout_symbol_name): Emit mangled names for
12369         NAMESPACE_DECL memebers.
12371 2004-01-13  Andrew Pinski  <pinskia@physics.uc.edu>
12373         PR c++/12709
12374         * c-common.c (finish_fname_decls): Use the chain only if the
12375         tree is an expr_stmt.
12377 2004-01-13  Vladimir Makarov  <vmakarov@redhat.com>
12379         * rtl.def: Add comment about new option in automata_option.
12381         * genautomata.c (PROGRESS_OPTION): New macro.
12382         (progress_flag): New global variable.
12383         (gen_automata_option): Process `progress'.
12384         (transform_insn_regexps, check_unit_distributions_to_automata,
12385         make_automaton, NDFA_to_DFA, build_automaton, create_automata,
12386         expand_automata, write_automata): Print about the progress only if
12387         progress_flag.  Remove fflush.
12388         (initiate_automaton_gen): Process command line flag `-progress'.
12390         * doc/md.texi: Describe the new option.
12392 2004-01-13  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
12394         * cfg.c (dump_bb): Dump entry edges.
12396 2004-01-13  Richard Earnshaw  <rearnsha@arm.com>
12398         * arm.c (thumb_legitimate_address_p): Only allow constant pool
12399         references from SImode.
12400         * arm.md (thumb_movhi_insn): Don't allow minipool references.
12402 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
12404         * system.h (TEXT_SECTION): Poison.
12405         * varasm.c (text_section): Don't use TEXT_SECTION.
12406         * config/sh/sh.c (sh_file_start): Fix a comment typo.
12407         * doc/tm.texi (TEXT_SECTION): Remove.
12409 2004-01-13  Ben Elliston  <bje@wasabisystems.com>
12411         * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
12413 2004-01-12  James E Wilson  <wilson@specifixinc.com>
12415         * unwind-libunwind.c: Delete.
12417 2004-01-12  Zack Weinberg  <zack@codesourcery.com>
12419         PR 13656
12420         * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
12421         oldtype is set, set *newtypep or *oldtypep too.  Do not set
12422         them at the very end.
12423         (validate_proto_after_old_defn): Restructure for comprehensibility;
12424         make error messages clearer.
12426 2004-01-12  Zack Weinberg  <zack@codesourcery.com>
12428         * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
12429         (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
12430         * varray.c: No need to prototype error.
12431         (varray_check_failed): Wrap long string onto two lines.
12432         (varray_underflow): New function.
12434 2004-01-13  Steven Bosscher  <stevenb@suse.de>
12436         PR c++/13376
12437         * function.h (struct function): Kill `name' field.
12438         (current_function_name): Make it an extern function.
12439         * function.c (current_function_name): New function.
12440         * graph.c: Update all uses of current_function_name.
12441         * gcse.c: Likewise.
12442         * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
12443         config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
12444         * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
12445         instead of a strcmp with "main".
12447 2004-01-13  Jan Hubicka  <jh@suse.cz>
12449         * c-decl.c (diagnose_mismatched_decls):  Fix warning calls.
12451         * cgraphunit.c (cgraph_optimize_function):  Always do
12452         optimize_inline_calls when there is always_inline callee.
12453         (cgraph_decide_inlining): Fix formating.
12454         * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
12455         functions.
12456         (expand_call_inline): Likewise.
12457         * toplev.h (sorry): Fix prototype.
12459 2004-01-12  Roger Sayle  <roger@eyesopen.com>
12461         * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
12462         conditional jumps that drop through to unconditional jumps or the
12463         end of the sequence.
12465 2004-01-13  Jan Hubicka  <jh@suse.cz>
12467         * alias.c (new_alias_set): Construct the alias_set varray.
12468         (init_alias_once): Don't do it here.
12470 2004-01-12  Marc Espie <espie@openbsd.org>
12472         * system.h: handle YYBYACC like YYBISON.
12474 2004-01-12  Jonathan Merriman <jonm@dualitymedia.com>
12476         PR target/10847
12477         * config.gcc: No longer includes conflicting header sparc/sol2.h when
12478         building on sparc64-*-openbsd*.
12480 2004-01-12  Andrew Pinski  <pinskia@physics.uc.edu>
12482         PR debug/13539
12483         * dbxout.c (dbxout_type): Protected inheritance is not
12484         private but protected.
12486 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
12488         * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
12490 2004-01-12  Kazu Hirata  <kazu@cs.umass.edu>
12492         PR optimization/12508.
12493         * combine.c (try_combine): Remove a dead set in a parallel
12494         even if its destination is a subreg.
12496         Revert:
12497         2003-06-03  Kazu Hirata  <kazu@cs.umass.edu>
12498         * combine.c (simplify_set): Don't move a subreg in SET_SRC to
12499         SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
12501 2004-01-12  Geoffrey Keating  <geoffk@apple.com>
12503         * real.c: Update copyright date.
12504         * emit-rtl.c: Likewise.
12505         * rtl.h: Likewise.
12506         * dwarf2out.c: Likewise.
12507         * config/rs6000/darwin-ldouble.c: Likewise.
12508         * config/rs6000/rs6000.md: Likewise.
12510 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
12512         * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
12513         TFmode to SImode libfuncs.
12515 2004-01-12  Roger Sayle  <roger@eyesopen.com>
12517         PR middle-end/11397
12518         * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
12520 2004-01-12  Jan Hubicka  <jh@suse.cz>
12522         PR opt/12826
12523         * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
12524         stored.
12526         PR opt/12863
12527         * cfgcleanup.c (label_is_jump_target_p): Move to...
12528         * rtlanal.c (label_is_jump_target_p): ... here.
12529         * cfgrtl.c (cfg_layout_redirect_edge_and_branch):  Fix redirecting of fallthru
12530         edges unified with branch edges.
12532 2004-01-12  Richard Earnshaw  <rearnsha@arm.com>
12534         * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
12535         high word of an integral CONST_DOUBLE.
12537 2004-01-12  Paul Brook  <paul@codesourcery.com>
12539         * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
12541 2004-01-12  J"orn Rennecke <joern.rennecke@superh.com>
12543         PR target/13585
12544         * sh-protos.h (check_use_sfunc_addr): Declare.
12545         * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
12546         * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
12548 2004-01-12  Jan Hubicka  <jh@suse.cz>
12550         * alias.c:  Invlude varray.h
12551         (alias_sets): Turn into varray.
12552         (get_alias_set_entry): Use VARRAY; mark inline.
12553         (mems_in_disjoint_alias_sets_p): Mark inline.
12554         (record_alias_subset): Use varray.
12555         (init_alias_once): Initialize varray.
12556         (new_alias_set): Grow array.
12557         * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
12559 2004-01-12  Jan Hubicka  <jh@suse.cz>
12561         Partial fix for PR opt/10776 II
12562         * cselib.c: Include params.h
12563         (cselib_invalidate_mem):  Limit amount of nonconflicting memory
12564         locations.
12565         * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
12566         * Makefile.in (cselib.o): Depend on params.h
12568 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
12570         * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
12571         simplify_unary_operation if the operand has a known mode.
12573 2004-01-12  Hartmut Penner  <hpenner@de.ibm.com>
12575         PR target/13534
12576         * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
12577         predicate to handle 'ld' conform addresses.
12578         * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
12579         contraint.
12580         (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
12581         are memory contraints.
12582         * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
12583         New prototype.
12584         * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
12585         Change 'o' to 'Y' constraint.
12586         (*movdf_softfloat64): Ditto.
12588 2004-01-12  Bernardo Innocenti  <bernie@develer.com>
12590         * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
12591         brace-enclosed syntax in all C output statements.
12593 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
12595         PR target/13401
12596         * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
12597         Objective-C language type value is 14.
12599 2004-01-12  Markus F.X.J. Oberhumer  <markus@oberhumer.com>
12601         PR c/12148
12602         * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
12603         `int' in a number of places to make sure we always have a SImode
12604         and not a HImode.  Add a 'L' suffix to a number of constants.
12606 2004-01-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12608         * pa.c: Don't include obstack.h.
12610         * pa.md: Correct constraint in pattern for loading PIC label address.
12612 2004-01-11  Kaz Kojima  <kkojima@gcc.gnu.org>
12614         * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
12615          before defining.
12617 2004-01-11  Steven Bosscher  <stevenb@suse.de>
12619         PR fortran/9972
12620         * toplev.c (rest_of_handle_inline): Also consider functions
12621         for deferral if the language is GNU F77.
12623 2004-01-11  Zack Weinberg  <zack@codesourcery.com>
12625         * c-decl.c (diagnose_arglist_conflict): Add missing space to
12626         diagnostic messages.
12628 2004-01-11  Jakub Jelinek  <jakub@redhat.com>
12630         PR middle-end/13392
12631         * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
12632         to drop through label.  Don't fall back to SCC even when conditional
12633         jump has not been found.
12635 2004-01-11  Jan Hubicka  <jh@suse.cz>
12637         * invoke.texi: Fix syntax error in previous patch.
12639         Partial fix for PR opt/10776
12640         * Makefile.in (reload.o): Include param.h
12641         * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
12642         * reload.c: Include params.h.
12643         (find_equiv_reg): Work limiting check.
12644         * invoke.texi: Document.
12646 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
12648         * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
12649         out-of-bounds accesses to string constants.  Simplify mips16
12650         case accordingly.
12652 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
12654         PR optimization/13469
12655         * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
12656         reload_cse_regs (-fnon-call-exceptions only).
12658 2004-01-11  Kazu Hirata  <kazu@cs.umass.edu>
12660         * config/mcore/lib1.asm: Fix comment formatting.
12661         * config/mcore/mcore-elf.h: Likewise.
12662         * config/mcore/mcore.c: Likewise.
12663         * config/mcore/mcore.h: Likewise.
12664         * config/mcore/mcore.md: Likewise.
12666 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
12668         * c-decl.c (duplicate_decls): Break apart into...
12669         (diagnose_arglist_conflict, validate_proto_after_old_defn)
12670         (locate_old_defn, diagnose_mismatched_decls, merge_decls):
12671         ... these new functions.  Restructure for comprehensibility.
12672         Remove various archaic special cases.  Always report the
12673         location of the previous declaration when a diagnostic is issued.
12674         (redeclaration_error_message): Fold into diagnose_mismatched_decls.
12675         (match_builtin_function_types): Delete unnecessary forward declaration.
12677 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
12679         * genautomata.c (make_automaton, NDFA_to_DFA):
12680         Print progress bars with '.' characters instead of '*'.
12681         (build_automaton): Change notes to match.
12683 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
12685         * config/m32r/m32r.md: Use define_constants for unspec and
12686         unspec_volatile.
12688 2004-01-10  Jan Hubicka  <jh@suse.cz>
12690         PR opt/11635
12691         * expr.c (expand_expr_real):  More curefully expand union casts.
12693 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
12695         * config/m32r/m32r.md (flush_icache): Use 1 for
12696         unspec_volatile.
12698 2004-01-10  David Edelsohn  <edelsohn@gnu.org>
12699             James E Wilson  <wilson@specifixinc.com>
12701         PR debug/12860
12702         * dbxout.c (dbxout_symbol): Remove initialization of
12703         current_sym_code, current_sym_value, and current_sym_addr.
12704         (dbxout_symbol_location): Same.
12705         (dbxout_prepare_symbol): Zero current_sym_code,
12706         current_sym_value, and current_sym_addr.
12708 2004-01-10  Richard Sandiford  <rsandifo@redhat.com>
12710         * tree.c (get_unwidened): Reorder conditions so that the null pointer
12711         check is done first.
12713 2004-01-09  Eric Christopher  <echristo@redhat.com>
12715         * toplev.c (rest_of_handle_cfg): Add reg_scan pass
12716         if we're running mark_constant_function.
12718 2004-01-09  Jeff Bailey  <jbailey@nisa.net>
12720         PR target/12561
12721         * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
12723 2004-01-09  Andrew Pinski <pinskia@physics.uc.edu>
12725         PR debug/11231
12726         * dbxout.c (dbxout_type_fields): Return if any item is
12727         error_mark_node or the type is error_mark_node.
12729 2004-01-09  Geoffrey Keating  <geoffk@apple.com>
12731         * config/rs6000/darwin-ldouble.c: Add big comment explaining
12732         exactly what is expected as a 'long double'.
12733         (_xlqadd): When a value to be returned is representable as a
12734         'double', just return it directly, do not construct it using a union.
12735         Also, correct final fixup.
12736         (_xlqmul): Likewise.
12737         (_xlqdiv): Likewise.
12738         * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
12740         * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
12742 2004-01-09  Richard Henderson  <rth@redhat.com>
12744         * recog.c (constrain_operands): Validate mem operands.
12746 2004-01-09   James E Wilson  <wilson@specifixinc.com>
12748         * gcc.c (init_spec): Remove -lunwind from shared case.
12749         * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
12751 2004-01-09  Steve Ellcey  <sje@cup.hp.com>
12753         * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
12754         * configure: Regenerate
12756 2004-01-09  Joseph S. Myers  <jsm@polyomino.org.uk>
12758         PR c/11234
12759         * c-typeck.c (build_c_cast): If pedantic, warn for conversions
12760         between function and object pointers.
12761         (digest_init): When comparing a pointer to function type to the
12762         target type, only apply TREE_TYPE once to the pointer to function
12763         type.
12764         * except.c (for_each_eh_label_1): Treat data as a pointer to a
12765         function pointer rather than casting it to a function pointer.
12766         (for_each_eh_label): Update caller.
12767         * recog.h (struct insn_data): Use a struct or union for output.
12768         * genoutput.c (output_insn_data): Update.
12769         * final.c (get_insn_template): Update.
12771 2004-01-09  Mark Mitchell  <mark@codesourcery.com>
12773         * expr.h (expand_expr): Make it a macro, not a function.
12774         (expand_expr_real): New function.
12775         * expr.c (store_expr): Adjust logic for deciding whether or not to
12776         copy the value returned by expand_expr.
12777         (expand_expr): Rename to ...
12778         (expand_expr_real): ... this.  Add alt_rtl parameter.  Adjust
12779         calls to language hooks.
12780         * c-common.h (c_expand_expr): Adjust prototype.
12781         * c-common.c (c_expand_expr): Add alt_rtl parameter.
12782         * langhooks-def.h (lhd_expand_expr): Change prototype.
12783         * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
12784         * langhooks.h (lang_hooks): Change type of expand_expr.
12785         * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
12786         (last_expr_alt_rtl): Likewise.
12787         (expand_expr_stmt_value): Set last_expr_alt_rtl.
12788         (clear_last_expr): Clear it.
12789         (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
12790         (expand_end_bindings): Save and restor last_expr_alt_rtl.
12791         * tree.def (RTL_EXPR): Give it an additional operand.
12792         * tree.h (RTL_EXPR_ALT_RTL): New macro.
12794 2004-01-09  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
12796         * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
12797         * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
12799 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
12801         PR target/13380.
12802         * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
12803         or (ne:SI (reg:CC 17) (const_int 0)).
12804         Be specific about modes wherever possible.
12806 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
12808         * config/m32r/m32r.c (m32r_expand_block_move): Call
12809         gen_movestrsi_internal with two more arguments.
12810         (m32r_output_block_move): Adjust operand numbers.
12811         Properly update the source and destination pointers.
12812         * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
12813         'r+'.  Change the set detinations to match_operand.
12815 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
12817         * final.c (FIRST_INSN_ADDRESS): Remove.
12818         (shorten_branches): Don't use FIRST_INSN_ADDRESS.
12819         * system.h (FIRST_INSN_ADDRESS): Poison.
12820         * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
12821         * config/m32r/m32r-protos.h: Remove the prototype for
12822         m32r_first_insn_address.
12823         * config/m32r/m32r.c (m32r_first_insn_address): Remove.
12824         * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
12825         * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
12827 2004-01-09  J. Brobecker  <brobecker@gnat.com>
12829         * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
12830         we just created.
12831         (is_ada_subrange_type): DIEs for enumeration subtypes should be
12832         emitted as subrange types too.
12833         (subrange_type_die): Add handling of enumeration subtypes.
12835 2004-01-08  Richard Henderson  <rth@redhat.com>
12837         PR opt/12441
12838         Revert: Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
12839         * i386.c (aligned_operand): Be prepared for SUBREGed registers.
12840         (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
12841         (ix86_address_cost): Be prepared for SUBREGed registers.
12842         (legitimate_address_p): Accept SUBREGed registers.
12844 2004-01-08  Kelley Cook  <kcook@gcc.gnu.org>
12846         * Makefile.in: Rename configure.in to configure.ac
12847         * doc/sourcebuild.texi: Likewise.
12848         * configure: Regenerate.
12849         * config.in: Regenerate.
12851 2004-01-08  Stuart Hastings  <stuart@apple.com>
12853         * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
12855 2004-01-08  Jan Hubicka  <jh@suse.cz>
12857         * cgraphunit.c (cgraph_decide_inlining):  Fix typo.
12859 2004-01-08  Geoffrey Keating  <geoffk@apple.com>
12861         * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
12862         (UNSPEC_FIX_TRUNC_TF): New constant.
12863         (movtf_internal): Make splitter active only when insn is active.
12864         (extenddftf2): Rewrite to properly load zero into low part.
12865         (extenddftf2_internal): New.
12866         (extendsftf2): Rewrite.
12867         (truncdftf2): Correct length.
12868         (floatditf2): Delete.
12869         (fix_trunc_helper): New.
12870         (fix_trunctfdi2): Use fix_trunc_helper.
12871         (fix_trunctfsi2): Likewise.fix_trunc
12872         (fix_trunctfsi2_internal): New.
12874         * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
12875         addresses are legitimate on Darwin even when flag_pic.
12876         (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
12877         non-offsettable addresses for loads of TFmode constants.
12879 2004-01-08  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
12881         * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
12882         variables in the appropriate bss section.
12884 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
12886         * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
12887         target_flags has MASK_POWERPC64 when -m64.
12888         * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
12889         to 620, 630, power3, power4 and rs64a entries.
12890         * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
12892 2004-01-08  Richard Sandiford  <rsandifo@redhat.com>
12894         * simplify-rtx.c (simplify_immed_subreg): Fix construction of
12895         floating-point constants.
12897 2004-01-08  J. Brobecker  <brobecker@gnat.com>
12899         * dwarf2out.c (subrange_type_die): Add context_die parameter.
12900         Create the subrange_type DIE using the given context DIE.
12901         (modified_type_die): Update call to subrange_type_die.
12903 2004-01-08  Zack Weinberg  <zack@codesourcery.com>
12905         * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
12906         Add multiple-include guard.
12908 2004-01-08  Hartmut Penner  <hpenner@de.ibm.com>
12910         * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
12911         all vector constant loadable by vsplt*.
12912         (output_vec_const_move): Likewise.
12914 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
12916         PR c/6024
12917         * c-typeck.c (comptypes): Only treat enumerated types in the same
12918         translation unit as compatible with each other when they are the
12919         same type.
12920         * doc/extend.texi: Update.
12922 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
12924         PR c/12165
12925         * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
12926         array type from the array element type.
12928 2004-01-07  Alan Modra  <amodra@bigpond.net.au>
12930         * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
12931         * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
12932         * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
12933         (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
12934         * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
12936 2004-01-06  Eric Christopher  <echristo@redhat.com>
12938         * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
12939         (DWARF2_DEBUGGING_INFO): Define.
12940         (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
12941         * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
12942         * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
12943         for irix as.
12944         (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
12945         * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
12946         * config/mips/iris5gas.h: Ditto.
12947         (DBX_DEBUGGING_INFO): Remove.
12948         (DWARF2_DEBUGGING_INFO): Ditto.
12949         (MIPS_DEBUGGING_INFO): Ditto.
12950         (PREFERRED_DEBUGGING_TYPE): Ditto.
12951         * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
12952         (PREFERRED_DEBUGGING_TYPE): Ditto.
12953         (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
12954         * config/mips/elf64.h: Ditto.
12956 2004-01-06  Jan Hubicka  <jh@suse.cz>
12958         * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
12959         (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
12961 2004-01-06  Geoffrey Keating  <geoffk@apple.com>
12963         * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
12964         (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
12965         * config/rs6000/darwin-ldouble.c: New.
12967         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
12968         for constants.
12969         (constant_subword): Delete.
12970         * rtl.h (constant_subword): Delete prototype.
12971         (immed_double_const): Is not in varasm.c.
12972         * simplify-rtx.c (simplify_immed_subreg): New.
12973         (simplify_subreg): Use simplify_immed_subreg.
12975         * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
12976         than trying to generate RTL directly.
12977         (fix_trunctfsi2): Use expand_fix rather than trying to generate
12978         RTL directly.
12980         * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
12982 2004-01-06  David Edelsohn  <edelsohn@gnu.org>
12984         * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
12985         function into a separate macro.
12986         (read_only_data_section): Add void argument.
12987         (private_data_section): Same.
12988         (read_only_private_data_section): Same.
12989         (toc_section): Same.
12991 2004-01-06  Jan Hubicka  <jh@suse.cz>
12993         * invoke.texi:  Remove typo in last change.
12995         PR target/10301
12996         * config.gcc: Accept opteron and athlon-64 as variants
12997         of k8.
12998         * i386.c (override_options): Likewise.
12999         * invoke.texi (i386 -mtune): Expand documentation.
13001 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
13003         * alias.c: Fix comment typos.
13004         * builtins.c: Likewise.
13005         * cfg.c: Likewise.
13006         * df.c: Likewise.
13007         * dominance.c: Likewise.
13008         * dwarf2out.c: Likewise.
13009         * emit-rtl.c: Likewise.
13010         * expr.c: Likewise.
13011         * final.c: Likewise.
13012         * fold-const.c: Likewise.
13013         * gcse.c: Likewise.
13014         * genattrtab.c: Likewise.
13015         * genrecog.c: Likewise.
13016         * gensupport.c: Likewise.
13017         * ggc-zone.c: Likewise.
13018         * integrate.c: Likewise.
13019         * local-alloc.c: Likewise.
13020         * loop.c: Likewise.
13021         * recog.c: Likewise.
13022         * regmove.c: Likewise.
13023         * reg-stack.c: Likewise.
13024         * reorg.c: Likewise.
13025         * rtlanal.c: Likewise.
13026         * rtl.h: Likewise.
13027         * sched-ebb.c: Likewise.
13028         * simplify-rtx.c: Likewise.
13029         * toplev.c: Likewise.
13030         * varasm.c: Likewise.
13032 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
13034         * doc/install.texi: Fix typos.
13035         * doc/invoke.texi: Likewise.
13036         * doc/md.texi: Likewise.
13038 2004-01-06  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
13040         * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
13042 2004-01-06  Jan Hubicka  <jh@suse.cz>
13044         * i386.c (init_cumulative_args):  Add handling of MMX_REGPARM.
13045         (function_arg_advance):  Do not pass aggregates in SSE; deal handling
13046         of MMX_REGPARM.
13047         (function_arg): Add new warnings about ABI changes;  fix SSE_REGPARM;
13048         add MMX_REGPARM.
13049         * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
13050         (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
13051         (MMX_REGPARM_MAX): Similarly for -mmmx.
13053 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
13055         * config/sh/linux.h: Fix comment formatting.
13056         * config/sh/netbsd-elf.h: Likewise.
13057         * config/sh/sh.c: Likewise.
13058         * config/sh/sh.h: Likewise.
13059         * config/sh/vxworks.h: Likewise.
13061 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
13063         * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
13064         * toplev.c (output_file_directive): Don't use
13065         ASM_OUTPUT_MAIN_SOURCE_FILENAME.
13067 2004-01-05  Steven Bosscher <s.bosscher@student.tudelft.nl>
13069         * toplev.c: Fix broken checkin of 2003-12-30.
13071 2004-01-05  Daniel Berlin  <dberlin@dberlin.org>
13073         * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
13074         (USING_MMAP): We don't support non-mmap.
13075         (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
13076         large objects.
13077         (struct page_entry): Remove bytes_free.
13078         (struct page_table_chain): Remove.
13079         (struct globals): Remove page_table member.
13080         (loookup_page_table_entry): Function deleted.
13081         (set_page_table_entry): Ditto.
13082         (ggc_allocated_p): No longer need page table lookups.
13083         (ggc_marked_p): Ditto.
13084         (alloc_small_page): Don't care about bytes_free anymore.
13085         (alloc_large_page): Round up size.
13086         (ggc_alloc_zone_1): Mark large objects as such, and calculate
13087         their size the new way.
13088         Remove page table lookups and setting.
13089         (ggc_get_size): Calculate large object size the new way.
13090         (sweep_pages): Redo to account for fact that we no longer have
13091         bytes_free.
13092         (ggc_collect): No longer need to reincrement bytes_free.
13093         (ggc_pch_alloc_object): Handle new large objects properly.
13094         (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
13096 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
13098         * doc/invoke.texi: Remove a page break.
13100 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
13102         * config/avr/avr.c (avr_output_function_prologue): Remove an
13103         extra pair of curly braces.
13105 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
13107         * config/mn10300/mn10300.c: Fix comment formatting.
13108         * config/mn10300/mn10300.h: Likewise.
13110 2004-01-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13112         * tree.h: Update documentation on nothrow_flag.
13113         * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
13114         types.
13116 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
13118         * doc/invoke.texi: Remove traces of dead ports.
13120 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
13122         * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
13123         option.
13125 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
13127         PR target/12945
13128         * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
13129         counter labels.
13130         * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
13131         (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
13132         string constants if TARGET_MIPS16.  Use SYMBOL_REF_DECL to check
13133         the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
13134         (mips_symbol_insns): Don't trust the local/global classification.
13135         (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
13136         (override_options): Make -mabicalls -fno-unit-at-a-time imply
13137         -mno-explicit-relocs.
13138         (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
13139         between local and global symbols.
13141 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
13143         * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
13144         (mips_preferred_reload_class): Declare.
13145         * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
13146         (EXTRA_CONSTRAINT): Update accordingly.
13147         (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
13148         * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
13149         (mips_preferred_reload_class): New function.  Prefer LEA_REGS if
13150         mips_dangerous_for_la25_p.
13151         (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
13152         if mips_dangerous_for_la25_p.
13154 2004-01-05  Bernardo Innocenti  <bernie@develer.com>
13156         * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
13157         warning.
13159 2004-01-04  Nathanael Nerode  <neroden@gcc.gnu.org>
13161         * configure.ac: Use AC_PROG_CPP_WERROR.
13162         * configure: Regenerate.
13164 2004-01-04  Zack Weinberg  <zack@codesourcery.com>
13166         * .cvsignore: Add autom4te.cache.
13168 2004-01-04  Richard Sandiford  <rsandifo@redhat.com>
13170         * doc/invoke.texi: Revamp documentation of MIPS options.  Remove
13171         -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
13172         -m4650, -mfix7000 and -(m)no-crt0.  Put endianness options first,
13173         then architecture options, then ABI options.  General rewording.
13175 2004-01-04  Joseph S. Myers  <jsm@polyomino.org.uk>
13177         PR c/3414
13178         * doc/extend.texi: Clarify definition of malloc attribute.
13180 2004-01-04  Jan Hubicka  <jh@suse.cz>
13182         * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
13183         * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
13184         * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
13185         (cgraph_inline_p): Add extra argument reason.
13186         * cgraphunit.c: Minor formating fixes.
13187         cgraph_first_inlined_callee): New functions.
13188         (record_call_1): Record builtins too.
13189         (cgraph_analyze_function): Update inline_failed messages.
13190         (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
13191         cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
13192         (cgraph_check_inline_limits): Likewise; Add argument reason.
13193         (cgraph_set_inline_failed): New static function.
13194         (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
13195         reasons.
13196         (cgraph_inline_p): Add new argument reason.
13197         * tree-inline.c (expand_call_inline):  Update warning.
13199 2004-01-03  Nathanael Nerode  <neroden@gcc.gnu.org>
13201         * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
13202         with modern equivalents.
13203         * configure: Regenerate.
13205         * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
13206         * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
13207         * configure: Regenerate.
13209         * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
13211         * configure.in: Rename to configure.ac.
13212         * configure.ac: Renamed from configure.in; make minimum necessary
13213         changes for autoconf 2.5x.
13214         * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
13215         * configure: Regenerate with autoconf 2.57.
13217 2004-01-03  Kazu Hirata  <kazu@cs.umass.edu>
13219         * config/mips/linux.h: Fix comment formatting.
13220         * config/mips/mips.c: Likewise.
13221         * config/mips/mips.h: Likewise.
13222         * config/mips/mips.md: Likewise.
13223         * config/mips/netbsd.h: Likewise.
13224         * config/mips/windiss.h: Likewise.
13226 2004-01-02  Richard Henderson  <rth@redhat.com>
13228         * config/i386/i386.md (fp constant pool splitter): Reorg suppression
13229         for sse and 387; add suppression for mmx.
13231 2004-01-02  Andrew Pinski  <pinskia@physics.uc.edu>
13233         * loop.c (loop_optimize): Free all loops_info's mems.
13235         * c-typeck.c (finish_init): Free spelling_base before
13236         setting it again.
13238         * cfgloop.c (flow_loops_find): Always free the sbitmap
13239         headers.
13241         * predict.c (estimate_probability): Free bbs after being
13242         done with it.
13244 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
13246         * config/mn10300/mn10300.h (PREDICATE_CODES): Add
13247         const_8bit_operand and call_address_operand.
13249 2004-01-02  Jan Hubicka  <jh@suse.cz>
13251         * cgraphunit.c (cgraph_optimize_function):  Call optimize_inline_calls
13252         when there is nothing to inline but warnings are requested.
13253         (cgraph_decide_inlining):  Fix memory leak.
13255 2004-01-02  Jan Hubicka  <jh@suse.cz>
13257         * expr.c (store_constructor):  Fix pasto in previous patch.
13259 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
13261         * config/i386/cygming.h: Fix comment formatting.
13262         * config/i386/djgpp.h: Likewise.
13263         * config/i386/gthr-win32.c: Likewise.
13264         * config/i386/i386-interix.h: Likewise.
13265         * config/i386/i386.c: Likewise.
13266         * config/i386/i386.h: Likewise.
13267         * config/i386/openbsd.h: Likewise.
13268         * config/i386/winnt.c: Likewise.
13269         * config/i386/xm-mingw32.h: Likewise.
13271 2004-01-02  Joseph S. Myers  <jsm@polyomino.org.uk>
13273         * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
13274         copyright and last modification dates.
13276 2004-01-02  Andreas Jaeger  <aj@suse.de>, Gerald Pfeifer  <gp@suse.de>
13278         * doc/install.texi (Specific): Mention x86_64.
13280 2004-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
13282         * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
13283         Call force_operand on plus_constant result.
13285 2004-01-01  Jan Hubicka  <jh@suse.cz>
13287         * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
13288         * expr.c (store_constructor): Use vec_init pattern.
13289         * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
13290         * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
13291         (vec_set_optab, vec_extract_optab, vec_init_optab): New.
13292         * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
13293         New patterns.
13294         (sse2_unpc?pd): Fix pattern.
13295         (sse2_movlpd): Kill.
13296         (sse2_movsd): Deal with movlpd too.
13297         * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
13298         (ix86_expand_vector_init): New.
13299         * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
13300         * md.texi (vec_set, vec_extract): Document
13302 2003-12-31  Jan Hubicka  <jh@suse.cz>
13304         PR opt/13473
13305         * recog.c (validate_replace_rtx_1):  Take care for RTL sharing inside
13306         ASM input operands
13308         PR opt/12617
13309         * toplev.c (dump_file_index): Reorder ce3 and bbro.
13310         (dump_file): Likewise.
13311         (rest_of_compilation): Likewise.
13313         PR debug/13367
13314         * cgraph.c (cgraph_function_possibly_inlined):  Even with
13315         flag_really_no_inline we inline always_inline functions.
13316         * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
13317         for non-always_inline functions when there is flag_really_no_inline.
13318         (cgraph_decide_inlining): Limit work done when not inlining.
13319         (cgraph_decide_inlining_incrementally): Likewise.
13320         (cgraph_optimize_function): Check whether something got inlined.
13321         * c-objc-common.c (c_disregard_inline_limits): Do not always inline
13322         extern inline functions when not inlining.
13324         * opts.c (decode_options):  Disable crossjumping at -O1
13325         * invoke.texi (-O1): Document change.
13327 See ChangeLog.10 for earlier changes.