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