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