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