1 2004-01-26 Richard Henderson <rth@redhat.com>
3 * c-parse.in (extension): Use itype.
4 (SAVE_EXT_FLAGS): Don't allocate a tree.
5 (RESTORE_EXT_FLAGS): Don't read a tree.
7 2004-01-26 Jan Hubicka <jh@suse.cz>
9 * cselib.c (discard_useless_values): Clear out value pointer pointing
10 to datastructure to be recycled.
12 2004-01-25 Jan Hubicka <jh@suse.cz>
14 * genextract.c (main): Do not output the memset when not checking.
16 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
18 * config/h8300/h8300.c (h8300_tiny_constant_address_p): Use a
19 switch statement instead of a chain of if statements.
21 2004-01-26 Jeff Law <law@redhat.com>
23 * doc/contrib.texi: Minor cleanup for Paolo Carlini's entry. Add
24 acute accents for Petur Runolfsson's entry.
26 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
28 * config/pdp11/pdp11.c (TARGET_STRUCT_VALUE_RTX): New.
29 (TARGET_RETURN_IN_MEMORY): Likewise.
30 * config/pdp11/pdp11.h (STRUCT_VALUE): Remove.
31 (RETURN_IN_MEMORY): Likewise.
33 2004-01-26 Fariborz Jahanian <fjahanian@apple.com>
35 * config/rs6000/rs6000.c (rs6000_emit_move): split slow
36 unaligned load/store into smaller loads and stores.
38 2004-01-26 Fariborz Jahanian <fjahanian@apple.com>
40 * function.c (assign_parms): Do not assign
41 long long argument to memory in prologue if
42 is it loaded into register.
44 2004-01-26 Fariborz Jahanian <fjahanian@apple.com>
47 * expr.c (emit_group_load): split constant
48 correctly into register components of PARALLEL insn.
50 2004-01-26 Fariborz Jahanian <fjahanian@apple.com>
52 * gcc/config/rs6000/rs6000.md (save_stack_nonlocal):
53 Use adjust_address_nv directly with appropriate mode.
54 (restore_stack_nonlocal): Ditto.
56 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
58 * config/xtensa/xtensa-protos.h: Remove the prototype for
59 xtensa_builtin_saveregs.
60 * config/xtensa/xtensa.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
61 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
62 (TARGET_PROMOTE_PROTOTYPES): Likewise.
63 (TARGET_STRUCT_VALUE_RTX): Likewise.
64 (TARGET_RETURN_IN_MEMORY): Likewise.
65 (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
66 (xtensa_builtin_saveregs): Make it static.
67 (xtensa_return_in_memory): New.
68 * config/xtensa/xtensa.h (PROMOTE_FUNCTION_ARGS: Remove.
69 (PROMOTE_FUNCTION_RETURN): Likewise.
70 (PROMOTE_PROTOTYPES): Likewise.
71 (STRUCT_VALUE): Likewise.
72 (RETURN_IN_MEMORY): Likewise.
73 (EXPAND_BUILTIN_SAVEREGS): Likewise.
75 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
77 * config/arm/arm.c (TARGET_SETUP_INCOMING_VARARGS): New.
78 (arm_setup_incoming_varargs): Likewise.
79 * config/arm/arm.h (SETUP_INCOMING_VARARGS): Remove.
81 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
83 * config/cris/cris.c (TARGET_SETUP_INCOMING_VARARGS): New.
84 (cris_setup_incoming_varargs): Likewise.
85 * config/cris/cris.h (SETUP_INCOMING_VARARGS): Remove.
87 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
89 * config/ns32k/ns32k.c (TARGET_STRUCT_VALUE_RTX): New.
90 (ns32k_struct_value_rtx): Likewise.
91 * config/ns32k/ns32k.h (STRUCT_VALUE_REGNUM): Rename to
92 NS32K_STRUCT_VALUE_REGNUM.
94 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
96 * config/arm/arm.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
97 (TARGET_PROMOTE_PROTOTYPES): Likewise.
98 (TARGET_STRUCT_VALUE_RTX): Likewise.
99 (arm_struct_value_rtx): Likewise.
100 * config/arm/arm.h (PROMOTE_FUNCTION_ARGS): Remove.
101 (STRUCT_VALUE): Likewise.
102 (STRUCT_VALUE_REGNUM): Likewise.
103 (PROMOTE_PROTOTYPES): Likewise.
105 2004-01-26 Kazu Hirata <kazu@cs.umass.edu>
107 * config/ia64/ia64-protos.h: Remove the prototype for
108 ia64_setup_incoming_varargs and ia64_return_in_memory.
109 * config/ia64/ia64.c (TARGET_STRUCT_VALUE_RTX): New.
110 (TARGET_RETURN_IN_MEMORY): Likewise.
111 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
112 (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
113 (ia64_setup_incoming_varargs): Adjust the arguments to meet
114 the requirement of TARGET_SETUP_INCOMING_VARARGS.
115 (ia64_return_in_memory): Make it static. Change the return
116 type to bool from int. Add an argument.
117 (ia64_struct_value_rtx): New.
118 * config/ia64/ia64.h: Remove commented-out definitions of
119 PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN, and
121 (RETURN_IN_MEMORY): Remove.
122 (STRUCT_VALUE_REGNUM): Likewise.
123 (STRICT_ARGUMENT_NAMING): Likewise.
125 2004-01-26 Eric Botcazou <ebotcazou@libertysurf.fr>
128 * config/sparc/sparc.c (function_arg_union_value): New function.
129 (function_arg): Use it to deal with unions.
130 (function_value): Likewise. Define 'regbase' only for ARCH64.
131 Replace a conditional statement by a simpler one.
133 2004-01-26 Richard Sandiford <rsandifo@redhat.com>
135 * config/mips/mips.c (mips16_optimize_gp): Delete.
136 (mips_reorg): Don't call it.
138 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
140 * config/c4x/c4x.md (addqi3_noclobber): Move up pecking order.
141 (floatunsqihf2): Remove operand 6.
142 (fixhfqi_set, fix_trunchfqi2, fixuns_trunchfqi2): Group with other
144 (ldi_conditional, ldf_conditional): Validate operands.
146 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
148 * config/c4x/c4x.h (BCT_CHECK_LOOP_ITERATIONS): Remove.
149 (HAVE_GAS_HIDDEN): Undefine as interim measure.
151 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
153 * config/c4x/c4x.c (c4x_legitimate_address_p): Invalidate direct
154 memory references if TARGET_EXPOSE_LDP nonzero.
156 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
158 * config/c4x/c4x.c (legitimize_operands): Truncate invalid shift counts.
160 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
162 * config/c4x/c4x.c (c4x_valid_operands): More aggressively reject
163 invalid operand combinations.
165 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
167 * config/c4x/c4x.c (c4x_check_legit_addr): Rename to
168 c4x_legitimate_address_p. Fix post_modify check.
170 * config/c4x/c4x-protos.h (c4x_check_legit_addr): Adjust.
171 * config/c4x/c4x.h (c4x_check_legit_addr): Adjust.
173 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
175 * config/pa/pa-protos.h: Remove the prototype for
176 hppa_builtin_saveregs. Add a prototype for
178 * config/pa/pa.c (TARGET_PROMOTE_FUNCTION_RETURN): New.
179 (TARGET_PROMOTE_PROTOTYPES): Likewise.
180 (TARGET_STRUCT_VALUE_RTX): Likewise.
181 (TARGET_RETURN_IN_MEMORY): Likewise.
182 (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
183 (pa_struct_value_rtx): Likewise.
184 (pa_return_in_memory): Likewise.
185 * config/pa/pa.h (STRUCT_VALUE_REGNUM): Rename to
186 PA_STRUCT_VALUE_REGNUM.
187 (INIT_CUMULATIVE_ARGS): Use pa_return_in_memory.
188 (EXPAND_BUILTIN_SAVEREGS): Remove.
189 (PROMOTE_PROTOTYPES): Likewise.
190 (PROMOTE_FUNCTION_RETURN): Likewise.
192 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
194 * config/vax/vax.c (TARGET_PROMOTE_PROTOTYPES): New.
195 (TARGET_STRUCT_VALUE_RTX): Likewise.
196 (vax_struct_value_rtx): Likewise.
197 * config/vax/vax.h (STRUCT_VALUE_REGNUM): Rename to
198 VAX_STRUCT_VALUE_REGNUM.
199 (PROMOTE_PROTOTYPES): Remove.
201 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
203 * config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Handle symref.
205 2003-04-25 Chris Demetriou <cgd@broadcom.com>
207 * config/mips/mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2,
208 and MIPS64 have HI/LO interlocks. Update comment.
210 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
212 * config/stormy16/stormy16-protos.h: Remove the prototype for
213 xstormy16_setup_incoming_varargs.
214 * config/stormy16/stormy16.c
215 (xstormy16_setup_incoming_varargs): Remove.
216 (xstormy16_return_in_memory): New.
217 (TARGET_PROMOTE_FUNCTION_ARGS): Likewise.
218 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
219 (TARGET_PROMOTE_PROTOTYPES): Likewise.
220 (TARGET_STRUCT_VALUE_RTX): Likewise.
221 (TARGET_RETURN_IN_MEMORY): Likewise.
222 * config/stormy16/stormy16.h (PROMOTE_FUNCTION_ARGS): Remove.
223 (PROMOTE_FUNCTION_RETURN): Likewise
224 (PROMOTE_PROTOTYPES): Likewise
225 (RETURN_IN_MEMORY): Likewise
226 (STRUCT_VALUE): Likewise
227 (SETUP_INCOMING_VARARGS): Likewise
229 2004-01-25 Richard Sandiford <rsandifo@redhat.com>
231 * config/mips/mips.c (mips_offset_within_object_p): New function.
232 (mips_symbolic_constant_p): Use it in the SYMBOL_SMALL_DATA and
233 SYMBOL_CONSTANT_POOL cases. Also use it for SYMBOL_GENERAL if the
234 ABI has 64-bit pointers and the object file only allows 32-bit symbols.
236 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
238 * config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove.
239 (PROMOTE_FUNCTION_RETURN): Likewise.
241 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
243 * config/mn10300/mn10300-protos.h: Remove the prototype for
244 mn10300_builtin_saveregs.
245 * config/mn10300/mn10300.c (TARGET_PROMOTE_PROTOTYPES): New.
246 (TARGET_STRUCT_VALUE_RTX): Likewise.
247 (TARGET_RETURN_IN_MEMORY): Likewise.
248 (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
249 (mn10300_return_in_memory): Likewise.
250 (mn10300_builtin_saveregs): Make it static.
251 * config/mn10300/mn10300.h (PROMOTE_PROTOTYPES): Remove.
252 (RETURN_IN_MEMORY): Likewise.
253 (STRUCT_VALUE): Likewise.
254 (EXPAND_BUILTIN_SAVEREGS): Likewise.
256 2004-01-25 Eric Botcazou <ebotcazou@act-europe.fr>
259 * cfgcleanup.c (try_optimize_cfg): Explicitly test against 0.
261 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
263 * config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by
266 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
268 * config/i860/i860-protos.h: Remove the prototype for
270 * config/i860/i860.c (i860_saveregs): Make it static.
271 (i860_struct_value_rtx): New.
272 (TARGET_STRUCT_VALUE_RTX): Likewise.
273 (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
274 * config/i860/i860.h (STRUCT_VALUE_REGNUM): Rename to
275 I860_STRUCT_VALUE_REGNUM.
276 (EXPAND_BUILTIN_SAVEREGS): Remove.
278 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
280 * config/m68hc11/m68hc11.c (TARGET_STRUCT_VALUE_RTX): New.
281 (TARGET_RETURN_IN_MEMORY): Likewise.
282 (m68hc11_struct_value_rtx): Likewise.
283 (m68hc11_return_in_memory): Likewise.
284 * config/m68hc11/m68hc11.h: Remove a commented-out definition
285 of PROMOTE_PROTOTYPES.
286 (RETURN_IN_MEMORY): Remove.
287 (STRUCT_VALUE_REGNUM): Likewise.
289 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
291 * config/mmix/mmix-protos.h: Remove the prototype for
292 mmix_setup_incoming_varargs.
293 * config/mmix/mmix.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
294 (TARGET_STRUCT_VALUE_RTX): Likewise.
295 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
296 (mmix_setup_incoming_varargs): Make it static.
297 (mmix_struct_value_rtx): New.
298 * config/mmix/mmix.h (PROMOTE_FUNCTION_ARGS): Remove.
299 Remove a commented-out definition of PROMOTE_FUNCTION_RETURN.
300 (STRUCT_VALUE_REGNUM): Remove.
301 (SETUP_INCOMING_VARARGS): Likewise.
303 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
305 * config/mips/mips-protos.h: Remove the prototypes for
306 mips_setup_incoming_varargs and mips_return_in_memory.
307 * config/mips/mips.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
308 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
309 (TARGET_PROMOTE_PROTOTYPES): Likewise.
310 (TARGET_STRUCT_VALUE_RTX): Likewise.
311 (TARGET_RETURN_IN_MEMORY): Likewise.
312 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
313 (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
314 (mips_setup_incoming_varargs): Match the prototype for
315 TARGET_SETUP_INCOMING_VARARGS.
316 (mips_return_in_memory): Make it static. Add argument fntype.
317 (mips_strict_argument_naming): New.
318 * config/mips/mips.h (PROMOTE_PROTOTYPES): Remove.
319 (PROMOTE_FUNCTION_ARGS): Likewise.
320 (PROMOTE_FUNCTION_RETURN): Likewise.
321 (STRUCT_VALUE): Likewise.
322 (RETURN_IN_MEMORY): Likewise.
323 (SETUP_INCOMING_VARARGS): Likewise.
324 (STRICT_ARGUMENT_NAMING): Likewise.
326 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
328 * config/ip2k/ip2k.c (TARGET_STRUCT_VALUE_RTX): New.
329 (TARGET_RETURN_IN_MEMORY): Likewise.
330 (TARGET_SETUP_INCOMING_VARARGS): Likewise.
331 (ip2k_return_in_memory): Likewise.
332 (ip2k_setup_incoming_varargs): Likewise.
333 * config/ip2k/ip2k.h (RETURN_IN_MEMORY): Remove.
334 (STRUCT_VALUE): Likewise.
335 (STRUCT_VALUE_INCOMING): Likewise.
336 (SETUP_INCOMING_VARARGS): Likewise.
338 2004-01-25 Kazu Hirata <kazu@cs.umass.edu>
340 * config/avr/avr.c (TARGET_STRUCT_VALUE_RTX): New.
341 (TARGET_RETURN_IN_MEMORY): Likewise.
342 (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
343 (avr_return_in_memory): Remove.
344 * config/avr/avr.h (RETURN_IN_MEMORY): Remove.
345 (STRUCT_VALUE): Likewise.
346 (STRUCT_VALUE_INCOMING): Likewise.
347 (STRICT_ARGUMENT_NAMING): Likewise.
349 2004-01-25 Jan Hubicka <jh@suse.cz>
351 * combine.c (recog_for_combine): Avoid allocating unnecesary RTX.
353 2004-01-25 Richard Sandiford <rsandifo@redhat.com>
355 * config/mips/mips-protos.h (mips_reg_mode_ok_for_base_p): Delete.
356 (mips_regno_mode_ok_for_base_p): Declare.
357 * config/mips/mips.h (ARG_POINTER_REGNUM): Renumber to 77.
358 (FRAME_POINTER_REGNUM): Renumber to 78.
359 (FIRST_PSEUDO_REGISTER): Update comment accordingly.
360 (BASE_REG_P, GP_REG_OR_PSEUDO_STRICT_P): Delete.
361 (GP_REG_OR_PSEUDO_NONSTRICT_P): Delete.
362 (REGNO_MODE_OK_FOR_BASE_P): Use mips_regno_mode_ok_for_base_p.
363 (REG_MODE_OK_FOR_BASE_P): Likewise.
364 * config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Change
365 entry for 77 to "$arg" and entry for 78 to "$frame".
366 (mips_regno_to_class): Map 77 and 78 to ALL_REGS.
367 (mips_reg_mode_ok_for_base_p): Remove.
368 (mips_regno_mode_ok_for_base_p): New function, derived from old
369 BASE_REG_P macro. Don't enforce the mips16 stack pointer
370 restrictions unless we're being strict.
371 (mips_valid_base_register_p): Use mips_regno_mode_ok_for_base_p.
373 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
375 * c-common.h: Fix comment typos.
376 * c-decl.c: Likewise.
377 * cgraphunit.c: Likewise.
378 * combine.c: Likewise.
379 * et-forest.c: Likewise.
381 * function.c: Likewise.
383 * integrate.c: Likewise.
385 * postreload.c: Likewise.
386 * varray.c: Likewise.
388 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
390 * doc/frontends.texi: Update copyright.
391 * doc/gcov.texi: Likewise.
392 * doc/gty.texi: Likewise.
393 * doc/sourcebuild.texi: Likewise.
394 * doc/standards.texi: Likewise.
396 2004-01-24 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
399 * c4x.md: (movstrqi*) Use match_scratch instead of match_dup.
400 Remove movstrqi_small because it conflicts with movstrqi_large.
402 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
404 * config/cris/cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
405 (TARGET_STRUCT_VALUE_RTX): Likewise.
406 (cris_struct_value_rtx): Likewise.
407 * config/cris/cris.h (PROMOTE_FUNCTION_ARGS): Remove.
408 (CRIS_STACKADJ_REG): Use CRIS_STRUCT_VALUE_REGNUM instead of
410 (STRUCT_VALUE_REGNUM): Rename to CRIS_STRUCT_VALUE_REGNUM.
412 2004-01-24 Ian Lance Taylor <ian@wasabisystems.com>
415 * cse.c (cse_cc_succs): Change the mode of the source expression
416 as soon as decide we need a new mode. Don't permit changing modes
417 if we found a match in a successor block.
418 (cse_condition_code_reg): Save original mode of source expression
419 so that we know whether we have to change the mode in other
422 2004-01-24 Jan Hubicka <jh@suse.cz>
424 * emit-rtl.c (change_address, adjust_address_1, offset_address,
425 widen_memory_access): Return early when there is nothing to change.
427 2004-01-24 Jakub Jelinek <jakub@redhat.com>
429 * simplify-rtx.c (simplify_relational_operation): Don't
430 simplify address == constant into address + -constant == 0.
432 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
434 * gcc.c (process_command): Don't internationalize the
436 * mips-tfile.c (main): Likewise.
438 2004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
440 * cse.c: (cse_cc_succs) Fix comparison warning.
442 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
444 * config/h8300/h8300.md: Remove extraneous USE in expanders.
446 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
448 * config/h8300/h8300-protos.h: Provide prototypes for
449 h8300_legitimate_constant_p and h8300_legitimate_address_p.
450 * config/h8300/h8300.c (h8300_legitimate_constant_p): New.
451 (h8300_rtx_ok_for_base_p): Likewise.
452 (h8300_legitimate_address_p): Likewise.
453 * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Use
454 h8300_legitimate_constant_p.
455 (RTX_OK_FOR_BASE_P): Remove.
456 (GO_IF_LEGITIMATE_ADDRESS): Use h8300_legitimate_address_p.
458 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
460 * config/h8300/h8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New.
461 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
462 (REG_OK_FOR_INDEX_STRICT_P): Likewise.
463 (REG_OK_FOR_BASE_STRICT_P): Likewise.
464 (REG_OK_FOR_INDEX_STRICT_P): Use REGNO_OK_FOR_INDEX_P.
465 (REG_OK_FOR_BASE_STRICT_P): Use REGNO_OK_FOR_BASE_P.
466 (REG_OK_FOR_INDEX_P): Use REG_OK_FOR_INDEX_STRICT_P.
467 (REG_OK_FOR_BASE_P): Use REG_OK_FOR_BASE_STRICT_P.
469 2004-01-24 Jan Hubicka <jh@suse.cz>
471 * cselib.c (remove_useless_values): Do not access discarded values.
473 2004-01-24 Joseph S. Myers <jsm@polyomino.org.uk>
475 * c-typeck.c (build_conditional_expr): Do not allow non-lvalue
478 2004-01-23 Kazu Hirata <kazu@cs.umass.edu>
480 * recog.c: Fix a typo in copyright.
482 2004-01-23 Andrew Pinski <apinski@apple.com>
484 * config/rs6000/rs6000.md (call): Fix misappiled patch.
485 (call_value): Likewise.
487 2004-01-23 Richard Henderson <rth@redhat.com>
490 * combine.c (SHIFT_COUNT_TRUNCATED): Provide default value.
491 (simplify_comparison): Don't simplify (eq (zero_extract c 1 r) 0)
492 if SHIFT_COUNT_TRUNCATED is set.
494 2004-01-23 Bob Wilson <bob.wilson@acm.org>
496 * config/xtensa/xtensa.c (xtensa_va_arg): Handle complex values as
497 separate real and imaginary parts.
498 * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Define.
500 2004-01-23 Hartmut Penner <hpenner@de.ibm.com>
503 * config/rs6000/rs6000.md (movdf_hardfloat64): Do not disparage
506 2004-01-23 Jan Hubicka <jh@suse.cz>
508 * emit-rtl.c (change_address_1): Do not re-generate the RTX if nothing
511 * alloc-pool.c (align_four): Kill.
512 (create_alloc_pool): Align size to eight.
513 (free_alloc_pool, free_pool): Invalidate deallocated data.
515 2004-01-23 Ian Lance Taylor <ian@wasabisystems.com>
518 * cse.c (cse_change_cc_mode): New static function.
519 (cse_change_cc_mode_insns, cse_cc_succs): Likewise.
520 (cse_condition_code_reg): New function.
521 * rtl.h (cse_condition_code_reg): Declare.
522 * toplev.c (rest_of_handle_cse2): Call cse_condition_code_reg.
523 * target.h (struct gcc_target): Add fixed_condition_code_regs and
525 * target-def.h (TARGET_FIXED_CONDITION_CODE_REGS): Define.
526 (TARGET_CC_MODES_COMPATIBLE): Define.
527 (TARGET_INITIALIZER): Add new initializers.
528 * targhooks.c (default_cc_modes_compatible): New function.
529 * targhooks.c (default_cc_modes_compatible): Declare.
530 * hooks.c (hook_bool_intp_intp_false): New function.
531 * hooks.h (hook_bool_intp_intp_false): Declare.
532 * config/i386/i386.c (TARGET_FIXED_CONDITION_CODE_REGS): Define.
533 (TARGET_CC_MODES_COMPATIBLE): Define.
534 (ix86_fixed_condition_code_regs): New static function.
535 (ix86_cc_modes_compatible): Likewise.
536 * doc/tm.texi (Condition Code): Document new hooks.
538 2004-01-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
540 * fixinc/inclhack.def (bad_lval): Renamed to ...
541 (alpha_bad_lval): ... this.
543 Restrict to alpha*-dec-osf*.
544 * fixinc/fixincl.x: Regenerate.
545 * fixinc/tests/base/dirent.h: Remove, moving test ...
546 * fixinc/tests/base/testing.h: ... here, reflecting new name.
548 2004-01-23 Zack Weinberg <zack@codesourcery.com>
551 * c-decl.c (diagnose_mismatched_decls): Also discard a
552 built-in if we encounter an old-style definition with the
555 2004-01-23 Jakub Jelinek <jakub@redhat.com>
557 * config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was
558 set to default{32,64}.
560 2004-01-21 Jakub Jelinek <jakub@redhat.com>
562 * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR)
563 [!__powerpc64__]: Corrected to handle kernels with changed ucontext.
565 2004-01-23 Eric Botcazou <ebotcazou@act-europe.fr>
566 Olivier Hainque <hainque@act-europe.fr>
568 * fold-const.c (fold_binary_op_with_conditional_arg): Only
569 build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR.
571 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
573 * config/arm/arm.c (arm_legitimate_address_p): Don't check the mode
574 size for minipool references.
576 2004-01-23 Roger Sayle <roger@eyesopen.com>
578 * real.c (real_floor, real_ceil): Tweak to allow input and output
579 arguments to overlap.
580 (real_round): New function to implement round(3m) semantics.
581 * real.h (real_round): Prototype here.
582 * builtins.c (fold_builtin_round): New function to constant fold
583 round, roundf and roundl.
584 (fold_builtin): Call fold_builtin_round for BUILT_IN_ROUND{,F,L}.
586 2004-01-23 Alexandre Oliva <aoliva@redhat.com>
588 PR optimization/13819
589 * config/sh/sh.c (sh_reorg): Compensate for sharing of CLOBBERs
590 introduced by 2004-01-20's Jan Hubicka's copy_insn change.
591 (sh_handle_sp_switch_attribute): Remove warning.
593 2003-11-30 Jan Hubicka <jh@suse.cz>
595 * i386.c (ix86_emit_restore_regs_using_mov): Deal with large offsets.
597 2004-01-23 J"orn Rennecke <joern.rennecke@superh.com>
599 * doc/tm.texi: Insert some weasel words when LOAD_EXTEND_OP
600 may or may not return non-NIL.
601 * postreload.c (reload_cse_simplify_operands): In LOAD_EXTEND_OP code,
602 check CANNOT_CHANGE_MODE_CLASS
604 2004-01-23 Jan Hubicka <jh@suse.cz>
606 * basic-block.h (PROP_POSTRELOAD): New macro.
607 (CLEANUP_LOG_LINKS): New.
608 * cfgcleanup.c (cleanup_cfg): Only PROP_LOG_LINKS when asked to.
609 * toplev.c (rest_of_handle_life): Preserve LOG_LINKS trought cleanup_cfg.
611 * cselib.c (value_pool): New.
612 (new_cselib_val): Use pool.
613 (cselib_init): Initialize value_pool
614 (cselib_finish): Free pool.
616 2004-01-23 Eric Botcazou <ebotcazou@libertysurf.fr>
618 * config/sparc/sparc.c (scan_record_type): New function.
619 (function_arg_slotno): Use it to determine which kinds of
620 registers the record can be passed in.
622 2004-01-22 James A. Mmorrison <ja2morri@uwaterloo.ca>
624 * config/pa/fptr.c: Fix old-style definition.
626 2004-01-22 Paolo Bonzini <bonzini@gnu.org>
628 PR optimization/13724
629 * cse.c (fold_rtx) <SUBREG>: Fold a SUBREG to zero if it
630 represents the zero bits produced by a ZERO_EXTEND operation.
632 2004-01-22 Roger Sayle <roger@eyesopen.com>
634 PR optimization/13821
635 * simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset to
636 correctly calculate the lowpart offset of the contracted subreg.
638 2004-01-22 Ian Lance Taylor <ian@wasabisystems.com>
640 * doc/invoke.texi (Optimize Options): Note that --param arguments
641 are subject to change without notice.
643 2004-01-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
645 * config.gcc (mips-sgi-irix6*o32): Removed.
646 * config/mips/iris6-o32-as.h: Likewise.
647 * config/mips/iris6-o32-gas.h: Likewise.
648 * config/mips/iris6-o32.h: Likewise.
650 2004-01-22 Jan Hubicka <jh@suse.cz>
652 * cfgcleanup.c (first_pass): New static variable.
653 (try_forward_edges): Add work limiting check for threading.
654 (try_crossjump_bb): Add work limiting check for crossjumping.
655 (try_optimize_cfg): Maintain first pass variable.
657 2004-01-22 Bob Wilson <bob.wilson@acm.org>
659 * config/xtensa/xtensa.c (function_arg): Generalize logic so that it
660 handles complex and vector modes.
662 2004-01-22 Kazu Hirata <kazu@cs.umass.edu>
664 * config/h8300/h8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove.
665 (REG_OK_FOR_BASE_P_STRICT): Likewise.
668 2004-01-22 Daniel Jacobowitz <drow@mvista.com>
670 * c-semantics.c (genrtl_while_stmt, genrtl_do_stmt_1)
671 (genrtl_for_stmt): Remove emit_nop calls.
673 2004-01-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
677 * pa.md (movstrsi_prereload, movstrsi_postreload, movstrdi_prereload,
678 movstrdi_postreload, clrstrsi_prereload, clrstrsi_postreload,
679 clrstrdi_prereload, clrstrdi_postreload): Fix constraints.
681 2004-01-22 Daniel Jacobowitz <drow@mvista.com>
683 * config/arm/arm.c: Include "debug.h".
684 (thumb_pushpop): Take two new arguments. Add some commentary.
685 Output frame information when pushing.
686 (thumb_exit, thumb_unexpanded_epilogue): Update calls to
688 (thumb_output_function_prologue): Likewise. Accumulate a CFA
689 offset, and pass it to thumb_pushpop. Output CFI information.
690 (thumb_expand_prologue): Add some frame-related markers and notes.
692 2004-01-22 Ulrich Weigand <uweigand@de.ibm.com>
694 * config/s390/s390.c (s390_frame_info): Allow large frame sizes
696 (s390_arg_frame_offset): Change return type to HOST_WIDE_INT.
697 * config/s390/s390-protos.h (s390_arg_frame_offset): Likewise.
699 2004-01-22 Roger Sayle <roger@eyesopen.com>
700 Paolo Bonzini <bonzini@gnu.org>
702 * rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb.
703 (subreg_lsb): Change to call new subreg_lsb_1 helper function.
704 * rtl.h (subreg_lsb_1): Prototype here.
705 * simplify-rtx.c (simplify_subreg): Optimize subregs of zero and
708 2004-01-22 Kazu Hirata <kazu@cs.umass.edu>
710 * doc/tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the
711 macro need not be defined if jump-tables should contain
712 relative addresses only when -fPIC or -fPIC is in effect.
714 2004-01-22 Jan Hubicka <jh@suse.cz>
716 * alias.c (reg_base_value): Turn into varray.
717 (reg_base_value_size): Kill.
718 (old_reg_base_value): New deletable varray.
719 (alias_invariant_size): New variable.
720 (REG_BASE_VALUE): Update to use varray.
721 (find_base_value): Likewise.
722 (record_set): Likewise.
723 (record_base_value): Likewise.
724 (memrefs_conflict_p): Likewise.
725 (record_set): Likewise
726 (record_base_value): Likewise.
727 (memrefs_conflict_p): Use alias_invariant_size.
728 (init_alias_analysis): Use varray; set alias_invariant_size;
729 rescale other arrays to be sized by maxreg.
730 (end_alias_analysis): Save reg_base_value; clear alias_invariant_size.
732 2004-01-22 Eric Botcazou <ebotcazou@libertysurf.fr>
734 * config/sparc/sparc.c (function_arg_slotno): Use
735 FLOAT_TYPE_P to detect FP fields in structures.
736 (function_arg_record_value_1): Likewise.
737 (function_arg_record_value_2): Likewise.
739 2004-01-22 Jan Hubicka <jh@suse.cz>
741 * function.c (allocate_struct_function): Do not initialize expr, emit
743 (prepare_function_start): Do it here.
744 * c-parse.in (maybe_type_qual): Do not produce line number notes.
746 2004-01-22 Eric Botcazou <ebotcazou@libertysurf.fr>
749 * config/sparc/sparc.c (function_arg_record_value_3): Revert
750 to 'word_mode' once the first slot has been filled.
752 2004-01-22 Olivier Hainque <hainque@act-europe.fr>
754 * config/sparc/sparc.c (function_arg_record_value_1): Fix
755 computation of the number of integer registers required.
757 2004-01-21 Kazu Hirata <kazu@cs.umass.edu>
759 * config/i386/i386.md: Simplify certain comparisons of
762 2004-01-21 Andrew Pinski <apinski@apple.com>
765 * config/rs6000/rs6000.md (call_value): Force operand
766 1 not operand 0 into a register.
768 2004-01-21 Kazu Hirata <kazu@cs.umass.edu>
770 * cpperror.c, cpptrad.c, longlong.h, params.def, rtl.def,
771 unwind-dw2-fde.h: Update copyright.
773 2004-01-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
775 * pa-protos.h: Update copyright.
779 2004-01-21 Caroline Tice <ctice@apple.com>
782 * config/i386/i386.md (fix_truncxfdi2): Add clause to clobber
784 (fix_truncdfdi2): Likewise.
785 (fix_truncsfdi2): Likewise.
786 (*fix_truncdi_1): Likewise.
787 (fix_truncxfsi2): Likewise.
788 (fix_truncdfsi2): Likewise.
789 (fix_truncsfsi2): Likewise.
790 (*fix_truncsi_1): Likewise.
791 (fix_truncxfhi2): Likewise.
792 (fix_truncdfhi2): Likewise.
793 (fix_truncsfhi2): Likewise.
794 (*fix_trunchi_1): Likewise.
796 2004-01-21 Kazu Hirata <kazu@cs.umass.edu>
798 * alias.c, basic-block.h, c-common.c, c-common.h,
799 c-cppbuiltin.c, c-opts.c, c-pragma.c, c-pretty-print.c,
800 calls.c, cfg.c, cfgcleanup.c, cfgrtl.c, cgraph.h, collect2.c,
801 combine.c, cppcharset.c, cpphash.h, cppinit.c, cpplib.c,
802 cpplib.h, cppmacro.c, crtstuff.c, cselib.c, cselib.h,
803 defaults.h, df.c, dominance.c, et-forest.c, expmed.c, expr.c,
804 expr.h, fix-header.c, function.h, gcc.c, gcse.c, genattrtab.c,
805 genautomata.c, genconditions.c, genemit.c, genflags.c,
806 gengtype.c, gengtype.h, genopinit.c, genrecog.c, gensupport.c,
807 ggc-zone.c, graph.c, haifa-sched.c, input.h, integrate.c,
808 langhooks-def.h, langhooks.c, langhooks.h, line-map.c,
809 line-map.h, local-alloc.c, optabs.c, optabs.h, postreload.c,
810 ra.h, recog.c, reg-stack.c, regmove.c, reload.c, reorg.c,
811 rtl.c, sched-deps.c, sched-ebb.c, sdbout.c, system.h,
812 target.h, targhooks.c, toplev.h, tree-inline.c, unwind-pe.h,
813 unwind.h, varray.c, varray.h: Update copyright.
815 2004-01-21 Kazu Hirata <kazu@cs.umass.edu>
817 * config/h8300/coff.h: Update copyright.
818 * config/h8300/elf.h: Likewise.
819 * config/h8300/h8300-protos.h: Likewise.
820 * config/h8300/h8300.c: Likewise.
821 * config/h8300/h8300.h: Likewise.
822 * config/h8300/h8300.md: Likewise.
824 2004-01-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
826 * fixinc/inclhack.def (hpux10_stdio_declarations, ultrix_const3,
827 ultrix_locale, ultrix_stdlib, ultrix_strings, ultrix_sys_time,
828 ultrix_unistd): New hacks.
829 * fixinc/tests/base/stdio.h (HPUX10_STDIO_DECLARATIONS_CHECK,
830 ULTRIX_CONST2_CHECK): Add checks.
831 * fixinc/tests/base/stdlib.h (ULTRIX_STDLIB_CHECK): Likewise.
832 * fixinc/tests/base/strings.h (ULTRIX_STRINGS2_CHECK): Likewise.
833 * fixinc/tests/base/unistd.h (ULTRIX_UNISTD_CHECK): Likewise.
834 * fixinc/tests/base/sys/time.h (ULTRIX_SYS_TIME_CHECK): Likewise.
835 * fixinc/tests/base/locale.h: New file.
836 * fixinc/fixincl.x: Rebuilt.
838 2004-01-21 Andreas Jaeger <aj@suse.de>
839 Michael Matz <matz@suse.de>
841 * doc/extend.texi (Extended Asm): Clarify memory clobber.
843 2004-01-21 Jakub Jelinek <jakub@redhat.com>
845 * crtstuff.c (frame_dummy, __do_global_ctors_1): Call
846 _Jv_RegisterClasses through a function pointer.
848 2004-01-21 Falk Hueffner <falk@debian.org>
851 * config/alpha/alpha.c (alpha_emit_set_const_1): If
852 no_new_pseudos, use gen_rtx_SET directly for SImode constants
853 which need multiple instructions to emit.
855 2004-01-21 Inaoka Kazuhiro <inaoka.kazuhiro@renesas.com>
857 * config/m32r/m32r.h (CPP_SPEC): Define.
859 2004-01-21 Zack Weinberg <zack@codesourcery.com>
861 * c-decl.c (merge_decls): Kill different_binding_level and
862 different_tu arguments; simplify throughout.
863 (duplicate_decls): Likewise.
864 (pushdecl, merge_translation_unit_decls): Update calls to
867 2004-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
869 * Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and
871 (print-rtl1.o): Depend on $(SYSTEM_H).
873 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
876 * configure.ac: Delete definition and subsitution of docdir.
877 Add info, man, srcman and srcinfo to target hooks. Create doc/
879 * configure: Regenerate.
880 * Makefile.in: Don't substitute docdir and delete all references
882 (MAKEINFOFLAGS): Define.
883 (stmp-docobjdir): Delete.
884 (INFOFILES, MANFILES): Define.
885 (info): Call lang.info, srcinfo and lang.srcinfo.
886 (generated-manpages): Call lang.man, srcman and lang.srcman.
887 (srcinfo, srcman): New rules to copy back files to source directory.
888 (doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
889 (install-man): Revamp rule.
890 (clean): Update dvi directory.
891 (distclean): Delete TAGS from front end directorys.
892 (maintainer-clean): Delete all document files in source directory.
894 objc/Make-lang.in (objc.man, objc.info): Dummy entries.
895 (objc.srcman, objc.srcinfo): Likewise.
897 2004-01-20 Bruce Korb <bkorb@gnu.org>
899 * fixinc/inclhack.def(math_exception): bypass only for glibc.
900 (matherr_decl): rename & relocate as exception_structure.
901 This fix must precede the math_exception fix.
903 2004-01-20 Roger Sayle <roger@eyesopen.com>
905 * fold-const.c (fold_convert): Rename to fold_convert_const.
906 (fold_convert_const): Change arguments to take a tree_code,
907 a type and the operand/expression to be converted. Return
908 NULL_TREE if no simplification is possible. Add support for
909 FIX_CEIL_EXPR and FIX_FLOOR_EXPR in addition to FIX_TRUNC_EXPR.
910 (fold): Handle FIX_CEIL_EXPR and FIX_FLOOR_EXPR.
911 Adjust call to fold_convert to match new fold_convert_const.
912 Avoid modifying the tree passed to fold in-place.
914 2004-01-21 Alan Modra <amodra@bigpond.net.au>
916 * config/rs6000/sysv4.h (DWARF2_FRAME_REG_OUT): Define.
917 * dwarf2out.c (output_cfi): Map regs using DWARF2_FRAME_REG_OUT.
918 * doc/tm.texi (DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Document.
920 2004-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
922 * pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.
923 * pa.c (store_reg, store_reg_modify, load_reg, set_reg_plus_d):
924 Likewise. Handle frames larger than 0x7fffffff on 64-bit ports.
925 (emit_move_sequence): Check scratch_reg first in various if statements.
926 Extend source simplification to handle all 64-bit CONST_INTs.
927 (pa_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for printing
929 (hppa_expand_prologue, hppa_expand_epilogue): Use HOST_WIDE_INT for
930 frame offset calculations.
931 * pa.h (NEW_HP_ASSEMBLER): Add comment.
932 (MAX_LEGIT_64BIT_CONST_INT, MIN_LEGIT_64BIT_CONST_INT,
933 LEGITIMATE_64BIT_CONST_INT_P): Define.
934 (LEGITIMATE_CONSTANT_P): Use LEGITIMATE_64BIT_CONST_INT_P. Treat
935 any CONST_INT as legitimate during and after reload.
936 (VAL_32_BITS_P, INT_32_BITS): Define.
937 (LEGITIMIZE_RELOAD_ADDRESS): Handle large frame offsets.
939 2004-01-20 Jan Hubicka <jh@suse.cz>
941 * emit-rtl.c (verify_rtx_sharing, copy_insn_1,
942 emit_copy_of_insn_after, emit_copy_of_insn_after): Clobbers
943 containing hard regs are shared.
944 (gen_hard_reg_clobber): New function.
945 (hard_reg_clobbers): New array.
946 * genemit.c (gen_exp): Use gen_hard_reg_clobber.
947 (copy_rtx): Do not copy clobbers containing hard regs.
948 * rtl.h (gen_hard_reg_clobber): Declare.
950 2004-01-20 Jan Hubicka <jh@suse.cz>
952 * varray.c: Include hashtab.h
953 (varray_descriptor): New structure.
954 (hash_descriptor, eq_descriptor, varray_descriptor,
955 print_statistics): New static functions
956 (varray_init, varray_grow): Update statistics
957 (dump_varray_statistics): New function.
958 * varray.h (dump_varray_statistics): Declare.
959 * toplev.c (finalize): Call it.
960 * Makefile.in (varray.o): Add dependency.
962 2004-01-20 Jan Hubicka <jh@suse.cz>
964 * cselib.c: Include alloc-pool.h
965 (empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill.
966 (elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare.
967 (new_elt_list, new_elt_loc_list, unchain_one_elt_list,
968 unchain_one_elt_loc_list_pool, unchain_one_value,
969 new_cselib_val): Simplify using allocpool.
970 (cselib_init): Initialize allocpools.
971 (cselib_finish): Finish allocpools.
972 * Makefile.in (cselib.o): Depend on alloc-pool.h
974 2004-01-20 Richard Sandiford <rsandifo@redhat.com>
976 * config/mips/mips.c (mips_load_call_address): Make the call insn
977 use $gp if it could be calling a lazy binding stub.
979 2004-01-20 Kazu Hirata <kazu@cs.umass.edu>
981 * config/s390/s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define.
982 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
983 (TARGET_STRUCT_VALUE_RTX): Likewise.
984 * config/s390/s390.h (PROMOTE_FUNCTION_ARGS): Remove.
985 (PROMOTE_FUNCTION_RETURN): Remove.
986 (STRUCT_VALUE): Remove.
988 2004-01-20 Denis Chertykov <denisc@overta.ru>
991 * config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X
992 register as pointer after reload.
994 2004-01-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
996 PR optimization/12440
997 * loop.c: Include ggc.h.
998 (loop_optimize): Run garbage collector between optimization of loops.
999 * Makefile.in (loop.o): Add GGC_H dependency.
1001 2004-01-20 Hartmut Penner <hpenner@de.ibm.com>
1003 * gcc/config/rs6000/rs6000.c (function_arg) Handle
1004 vector register special in function without prototype.
1005 (function_arg_advance): Vector parameters get always
1006 GPRs allocated for the linux64 target.
1008 2004-01-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1010 * config/m32r/m32r.h (TARGET_M32R2). Test for TARGET_M32R2_MASK
1011 not TARGET_M32RX_MASK.
1013 2004-01-20 Eric Botcazou <ebotcazou@libertysurf.fr>
1016 * config/sparc/sparc.c (function_arg): Reorder the cases.
1018 2004-01-19 Per Bothner <per@bothner.com>
1020 Move cpp_reader's line_maps field to a shared global.
1021 * cpphash.h (cpp_reader): Rename line_maps field to line_table
1022 and change the type to a pointer rather than a struct.
1023 * cppinit.c (cpp_push_main_field): Adjust accordingly.
1024 * cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks):
1026 * cppfiles.c (validate_pch): Likewise.
1027 * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text):
1029 * cpperror.c (print_location): Likewise.
1030 * cpplib.h (cpp_create_reader): New line_maps pointer parameter.
1031 * cppinit.c (cpp_create_reader): Handle new parameter.
1032 (cpp_destroy): Don't free line_maps - that's no longer our job.
1033 * input.h (line_table): New variable.
1034 * toplev.c (line_table): Declare variable.
1035 (general_init): Initialize line_table.
1036 * c-opts.c (c_common_init_options): Pass line_table to
1038 * fix-header.c (read_scan_file): New local variable line_table.
1039 Initialize, and pass it to cpp_create_reader.
1040 * Makefile.in (LIBS, LIBDEPS): Add libcpp.a.
1041 (C_AND_OBJC_OBJS, fix-header): Remove redundant libcpp.a.
1043 2004-01-19 Per Bothner <per@bothner.com>
1045 Implement a cache for linemap_lookup.
1046 * line-map.h (struct_line_maps): Add cache field.
1047 * line-map.c (linemap_init): Zero cache field.
1048 (linemap_add): Set cache field to offset of newly allocated map.
1049 (linemap_lookup): Use and set cache field.
1051 2004-01-20 Kaz Kojima <kkojima@gcc.gnu.org>
1053 PR optimization/13567
1054 * cse.c (cse_basic_block): Call cse_insn with a non-null
1055 libcall_insn for the last SET insn of a no-confilict block.
1057 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
1059 * Makefile.in (target_noncanonical, program_transform_name): Use
1060 immediate define instead of deferred.
1061 (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
1062 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
1063 GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
1066 2004-01-20 Joseph S. Myers <jsm@polyomino.org.uk>
1068 * c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
1069 true unconditionally.
1070 * c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning):
1072 (build_unary_op, build_modify_expr): Don't handle extended
1074 (build_component_ref, build_conditional_expr): Call non_lvalue
1075 instead of pedantic_non_lvalue.
1076 (build_c_cast): Don't condition use of non_lvalue on pedantic.
1077 * fold-const.c (fold): Don't check pedantic directly for
1078 COMPOUND_EXPR. Ensure that results for COMPOUND_EXPR are
1079 passed to pedantic_non_lvalue.
1080 * doc/extend.texi: Remove documentation of extended lvalues.
1082 2004-01-19 Roger Sayle <roger@eyesopen.com>
1084 PR optimization/5263
1085 * simplify-rtx.c (associative_constant_p): Delete.
1086 (simplify_associative_operation): Rewrite to linearize terms, and
1087 attempt to simplify new term against both left and right subterms.
1088 (simplify_binary_operation): Call swap_commutative_operands_p on
1089 op0 and op1, not trueop0 and trueop1. Move the initialization of
1090 trueop0 and trueop1 down to where first needed.
1091 (simplify_relational_operation): Likewise.
1092 * rtlanal.c (commutative_operand_precedence): Also order constant
1093 operands using avoid_constant_pool_reference.
1095 2004-01-19 Richard Henderson <rth@redhat.com>
1097 * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
1098 don't check memory mode.
1099 (unaligned_memory_operand): Likewise.
1100 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't
1101 abort for op0 not MEM.
1103 * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination
1104 is not a reg, copy to a scratch first.
1105 (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi,
1106 unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le,
1107 unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG.
1108 (reload_inqi, reload_inhi): Fix mode of op0.
1109 (reload_inqi_help, reload_inhi_help, reload_outqi_help,
1110 reload_outhi_help): Likewise. Use define_insn_and_split.
1112 * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN
1113 as well as $29 dead.
1115 2004-01-19 Eric Botcazou <ebotcazou@libertysurf.fr>
1117 * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit
1118 "tls_object" for thread-local objects.
1119 * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
1120 "#tls" for thread-local sections.
1121 * configure.ac (thread-local checks): Specify --fatal-warnings in
1122 every binutils-specific checks. For sparc*-*-*, test whether the
1123 OS is Solaris and the tools are native and act accordingly.
1124 * configure: Rebuild.
1126 2004-01-19 Jeff Law <law@redhat.com>
1128 * contrib.texi: Update Paolo Carlini's entry. New entries for
1129 Jerry Quinn and Petur Runolfsson.
1131 2004-01-19 Roger Sayle <roger@eyesopen.com>
1133 * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
1134 size, don't use the larger zero-extending loads.
1136 2004-01-19 Richard Henderson <rth@redhat.com>
1138 * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
1139 * alpha.md (UNSPEC_NT_LDA): Remove.
1140 (UNSPEC_CVTLQ, cvtlq): New.
1141 (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
1142 (extendsidi2_fix): Remove.
1143 (extendsidi2 splitter): Use cvtlq.
1144 (extendsidi2 fp peepholes): Remove.
1145 (cvtql): Use SFmode instead of SImode.
1146 (fix_trunc?fsi): Update to match.
1147 (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
1148 (movsi): Rename from movsi_nofix, remove f alternatives.
1149 (movsi_nt_vms): Similarly.
1150 (movsi_fix, movsi_nt_vms_fix): Remove.
1152 * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.
1154 2004-01-19 Jan Hubicka <jh@suse.cz>
1156 * cgraph.c (cgraph_remove_node): Fix removal from linked list.
1157 * cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
1159 (cgraph_remove_unreachable_nodes): New function
1160 (cgraph_decide_inlining_of_small_function): Fix pasto.
1161 (cgraph_decide_inlining_incrementally): Fix pasto.
1162 (cgrpah_decide_inlining): Likewise; remove unreachable nodes.
1164 2004-01-19 Steven Bosscher <stevenb@suse.de>
1166 * gengtype.c (header_file): Make it static.
1167 (write_types_process_field, write_enum_defn): Minor whitespace fixes.
1168 * gengtype.h (header_file): No longer extern.
1170 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
1172 * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
1173 * expr.c (CASE_VECTOR_PC_RELATIVE): Remove.
1174 * stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise.
1176 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
1178 * stmt.c (HAVE_casesi): Define it not already defined.
1179 (HAVE_tablejump): Likewise.
1180 (expand_end_case_type): Resort to the binary tree method if
1181 neither casesi or tablejump is available.
1183 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
1185 * final.c (final_scan_insn): Make non-static again.
1186 * output.h (final_scan_insn): Re-add prototype.
1187 * config/arc/arc.c (arc_output_function_epilogue): Add NULL
1188 to final_scan_insn call.
1189 * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise.
1190 * config/mips/mips.c (mips_output_conditional_branch): Likewise.
1191 * config/pa/pa.c (output_lbranch, output_call): Likewise.
1192 * config/sh/sh.c (print_slot): Likewise.
1193 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise.
1194 (output_sibcall, sparc_flat_function_epilogue): Likewise.
1196 2004-01-18 Jan Hubicka <jh@suse.cz>
1198 * basic-block.h (try_redirect_by_replacing_jump): Declare.
1199 * cfgcleanup.c (try_optimize_cfg): Use it.
1200 * cfgrtl.c (try_redirect_by_replacing_jump): Export.
1201 (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
1203 (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.
1206 2004-01-16 Geoffrey Keating <geoffk@apple.com>
1208 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
1209 even after reload, just don't remove the actual jump tables.
1211 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
1213 * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.
1215 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
1217 * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
1218 the size of a pointer in bytes.
1220 2004-01-18 Roger Sayle <roger@eyesopen.com>
1222 * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
1223 live "next" variable, which could lead to an infinite loop.
1225 2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
1227 * config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
1230 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
1231 Check for NULL in the chain and remove repeated code.
1233 2004-01-18 Jan Hubicka <jh@suse.cz>
1235 * coverage.c (checksum_string): Rename to ...
1236 (coverage_checksum_string): ... this one, Use crc32_string; recognize
1237 names containing random number and zero the number out in order to get
1240 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
1242 * config/mips/mips.c (mips_got_alias_set): Mark for PCH.
1244 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
1246 * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
1247 doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
1248 doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
1249 doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
1250 doc/trouble.texi: Remove trailing whitespace.
1252 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
1255 * config/mips/mips.c: Include cfglayout.h.
1256 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
1257 (mips_unspec_offset_high): Add temporary register argument.
1258 (mips_load_call_address): New function, split out from...
1259 (mips_expand_call): ...here.
1260 (mips_output_cplocal): New function.
1261 (mips_output_function_prologue, mips_output_function_epilogue): Use it.
1262 (mips_emit_loadgp): New function, split out from...
1263 (mips_expand_prologue): ...here.
1264 (mips_output_mi_thunk): New function.
1266 2004-01-17 Bernardo Innocenti <bernie@develer.com>
1268 * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
1269 mcpu32): Remove redundant checks for implied target predefines.
1271 2004-1-17 Andrew Pinski <pinskia@physics.uc.edu>
1273 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
1274 Return type is unsigned int not int.
1275 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
1278 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
1280 * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
1281 doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
1282 "GNU/Linux" and "Microsoft Windows" terminology.
1284 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
1286 * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
1287 doc/cppopts.texi, doc/extend.texi, doc/install.texi,
1288 doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
1289 doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
1290 @smallexample instead of @example.
1292 2004-01-17 Ziemowit Laski <zlaski@apple.com>
1294 * objc/objc-act.c (build_objc_method_call): Use target
1295 hooks instead of macros to determine if ..._stret
1296 dispatchers should be used (NeXT runtime only).
1298 2004-01-17 Roger Sayle <roger@eyesopen.com>
1300 * builtins.c (expand_builtin_expect_jump): Fix mistake in my
1301 last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
1303 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
1305 * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
1306 (emit_call_insn_before_sameloc, emit_insn_after_sameloc)
1307 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
1309 * reload1.c (emit_reload_insns): Use them.
1310 * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
1311 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
1314 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
1316 * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
1317 (final_scan_insn): Update to take an additional SEEN argument. Emit
1318 a line note after the prologue. Make static.
1319 (line_note_exists): Remove.
1320 (final): Don't initialize line_note_exists. Update call to
1322 * output.h (final_scan_insn): Remove prologue.
1323 * function.c (set_insn_locators): Update comment.
1324 (thread_prologue_and_epilogue_insns): Add a comment.
1326 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
1329 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
1331 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
1333 * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
1334 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
1335 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
1337 2004-01-17 Jan Hubicka <jh@suse.cz>
1339 * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
1342 * toplev.c (HAVE_conditional_execution): Provide default.
1343 (rest_of_handle_reorder_blocks): For conditional_execution target
1344 update liveness once after all transformations
1345 (rest_of_compilation): Do crossjumping before ce3.
1347 2004-01-17 Geoffrey Keating <geoffk@apple.com>
1349 * alias.c (new_alias_set): Mark last_alias_set for PCH.
1350 (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
1352 (get_frame_alias_set): Likewise, except rename it to 'frame_set'.
1353 * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
1354 (get_TOC_alias_set): Mark 'set' for PCH.
1356 2004-01-16 Geoffrey Keating <geoffk@apple.com>
1358 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
1359 even after reload, just don't remove the actual jump tables.
1361 2004-01-17 J. Brobecker <brobecker@gnat.com>
1363 * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
1364 Remove checks for is_ada() and TREE_UNSIGNED.
1365 (subrange_type_die): Emit a byte_size attribute if the subrange
1366 type size is different from the base type size.
1367 (modified_type_die): Replace call to is_ada_subrange_type() by
1368 call to is_subrange_type().
1370 2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
1372 * config/sh/sh.c: Include ggc.h.
1374 2004-01-16 Geoffrey Keating <geoffk@apple.com>
1376 * Makefile.in (MD5_H): New.
1377 (fold-const.o): Depend on md5.h.
1378 (dwarf2out.o): Likewise.
1379 (cppfiles.o): Likewise.
1380 * cppfiles.c: Include md5.h.
1381 (should_stack_file): Check against list read from PCH file.
1382 (struct pchf_data): New.
1383 (pchf): New variable.
1384 (struct pchf_adder_info): New.
1386 (pchf_save_compare): New.
1387 (_cpp_save_file_entries): New.
1388 (_cpp_read_file_entries): New.
1389 (struct pchf_compare_data): New.
1390 (pchf_compare): New.
1391 (check_file_against_entries): New.
1392 * cpphash.h (_cpp_save_file_entries): Prototype.
1393 (_cpp_read_file_entries): Prototype.
1394 * cpppch.c (cpp_write_pch_state): Write the list of headers.
1395 (cpp_read_state): Read the list of headers.
1397 2004-01-17 Jan Hubicka <jh@suse.cz>
1399 * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
1400 builtin_expect specially.
1401 * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
1402 (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
1403 * invoke.texi (max-inline-insns-single): Set to 100.
1404 (large-function-insns): Set to 3000.
1406 2004-01-16 Eric Christopher <echristo@redhat.com>
1407 Chandrakala Chavva <cchavva@redhat.com>
1409 * cppcharset.c (one_iso88591_to_utf8): New function.
1410 (convert_iso88591_utf8): Ditto. Use.
1411 (conversion_tab): Use.
1412 (_cpp_input_to_utf8): New function.
1413 (_cpp_init_iconv_buffer): Ditto.
1414 (_cpp_close_iconv_buffer): Ditto.
1415 * cpphash.h: Prototype new functions.
1416 (cpp_buffer): Add input_cset_desc.
1417 * cppinit.c: Add input_charset default.
1418 * cpplib.c (cpp_push_buffer): Support init and
1420 * cpplib.h (cpp_options): Add input_charset.
1422 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
1424 * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
1425 * config/alpha/unicosmk.h: Remove a commented-out definition
1426 of ASM_OUTPUT_SECTION_NAME.
1427 * config/stormy16/stormy16.h: Likewise.
1429 2004-01-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1431 * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
1432 (alpha___extern_prefix_sys_stat): ... this.
1433 Apply to <sys/mount.h>, too.
1434 Tweak to match more variations.
1435 * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
1437 * fixinc/inclhack.def (alpha___extern_prefix,
1438 alpha___extern_prefix_standards): New hacks to obey
1439 __PRAGMA_EXTERN_PREFIX.
1440 * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
1442 * fixinc/tests/base/standards.h: Likewise.
1444 * fixincl/inclhack.def (alpha_pthread): Tweak to match more
1447 * fixinc/tests/base/pthread.h: Handle it.
1449 * fixincl/inclhack.def (bad_lval): Sort file list.
1450 Add many missing files up to Tru64 UNIX V5.1B.
1451 * gcc/fixinc/tests/base/libgen.h: Renamed to ...
1452 * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
1455 * fixinc/fixincl.x: Regenerate.
1457 2004-01-16 Mark Mitchell <mark@codesourcery.com>
1459 * version.c (version_string): Change to 3.5.0.
1460 * doc/include/gcc-common.texi (version-GCC): Likewise.
1462 2004-01-16 Jan Hubicka <jh@suse.cz>
1464 * i386.md (load_tp_di): Fix pasto.
1467 * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
1469 * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
1470 pp_c_character_constant, pp_c_floating_constant,
1471 pp_c_additive_expression, pp_c_shift_expression,
1472 pp_c_equality_expression, pp_c_and_expression,
1473 pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
1474 pp_c_logical_and_expression): Remove inline modifier.
1475 * dwarf2out.c (get_AT): Likewise.
1476 * et-forest.c (et_splay): Likewise.
1477 * ra.h (ra_alloc, ra_calloc): Likewise
1479 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
1481 * config/frv/frv-protos.h: Fix comment formatting.
1482 * config/frv/frv.c: Likewise.
1483 * config/frv/frv.h: Likewise.
1484 * config/frv/frv.md: Likewise.
1485 * config/frv/frvbegin.c: Likewise.
1486 * config/frv/frvend.c: Likewise.
1488 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
1490 * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
1491 * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
1492 LINKER_DOES_NOT_WORK_WITH_DWARF2.
1493 (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
1495 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
1498 * postreload.c (reload_cse_simplify_operands): Don't remove
1499 implicit extension from LOAD_EXTEND_OP.
1501 2004-01-16 Jan Hubicka <jh@suse.cz>
1504 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
1506 * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
1507 rtl_try_redirect_by_replacing_branch): Likewise.
1509 2004-01-15 Geoffrey Keating <geoffk@apple.com>
1512 * alias.c (struct alias_set_entry): Mark for GC.
1513 (alias_sets): Make static, mark for GC.
1514 (record_alias_subset): Use GC to allocate alias structures.
1515 * varray.c (element): Make generic varrays GCed.
1518 * c-typeck.c (constructor_asmspec): Delete.
1519 (struct initializer_stack): Delete field 'asmspec'.
1520 (start_init): Delete saving of asmspec.
1521 (finish_init): Don't update constructor_asmspec.
1522 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
1523 * stmt.c (expand_asm): Duplicate strings from tree.
1524 (expand_asm_operands): Likewise.
1525 * tree.c (tree_size): Update computation of size of STRING_CST.
1526 (make_node): Don't make STRING_CST nodes.
1527 (build_string): Allocate string with tree node.
1528 * tree.def (STRING_CST): Update comment.
1529 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
1530 (tree_string): Place contents of string in tree node.
1531 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
1534 * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
1537 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
1539 * c-common.h: Fix comment formatting.
1540 * c-cppbuiltin.c: Likewise.
1541 * c-pragma.c: Likewise.
1542 * calls.c: Likewise.
1543 * collect2.c: Likewise.
1544 * cppcharset.c: Likewise.
1545 * cpptrad.c: Likewise.
1546 * dbxout.c: Likewise.
1547 * defaults.h: Likewise.
1548 * dwarf2out.c: Likewise.
1549 * fold-const.c: Likewise.
1550 * genautomata.c: Likewise.
1551 * genconditions.c: Likewise.
1552 * genflags.c: Likewise.
1553 * gengtype.c: Likewise.
1554 * integrate.c: Likewise.
1556 * predict.c: Likewise.
1557 * sdbout.c: Likewise.
1559 2004-01-15 Zack Weinberg <zack@codesourcery.com>
1561 * config/ia64/ia64.md (*movti_internal): C output template
1562 extracted to ia64.c.
1563 (*movti_internal_reg): Delete.
1564 (reload_inti, reload_outti): Use the correct mode on operand 2
1565 in the first place, don't fix it up in the output template.
1566 (movtf, reload_ointf, reload_outtf): New expanders.
1567 (*movtf_internal): New define_insn_and_split.
1568 * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
1569 make static; do not hand TFmode CONST_DOUBLEs to split_double.
1570 (ia64_split_tmode_move): New function, body mostly pulled
1571 from ia64.md:*movti_internal.
1572 (ia64_function_arg_words): New function, extracted common
1573 logic from ia64_function_arg et seq.
1574 (ia64_function_arg_offset): Likewise. Handle correctly the
1575 case of a scalar quantity 16 bytes wide with only 8-byte alignment.
1576 (ia64_function_arg, ia64_function_arg_partial_nregs)
1577 (ia64_function_arg_advance): Use ia64_function_arg_words and
1578 ia64_function_arg_offset.
1579 (ia64_function_value): TCmode does not go in float regs.
1580 (ia64_secondary_reload_class): Also handle TFmode.
1581 * config/ia64/ia64-protos.h: Remove prototype for
1582 ia64_split_timode; add prototype for ia64_split_tmode_move.
1584 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
1586 * Makefile.in (MAINT): Make it an immediate assignment.
1588 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
1590 * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
1592 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
1594 * config/h8300/coff.h: Replace Hitachi with Renesas.
1595 * config/h8300/elf.h: Likewise.
1596 * config/h8300/h8300-protos.h: Likewise.
1597 * config/h8300/h8300.c: Likewise.
1598 * config/h8300/h8300.h: Likewise.
1599 * config/h8300/h8300.md: Likewise.
1600 * config/h8300/lib1funcs.asm: Likewise.
1602 2004-01-15 Andrew Pinski <apinski@apple.com>
1604 * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
1607 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
1609 * config/h8300/h8300.c (h8300_return_in_memory): New.
1610 (TARGET_STRUCT_VALUE_RTX): Likewise.
1611 (TARGET_RETURN_IN_MEMORY): Likewise.
1612 * config/h8300/h8300.h (STRUCT_VALUE): Remove.
1613 (RETURN_IN_MEMORY): Likewise.
1615 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
1617 PR optimization/13375
1618 * gcse.c (handle_avail_expr): Just return if the source is not a
1621 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
1622 Daniel Jacobowitz <drow@mvista.com>
1624 * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
1626 (ARM_FUNC_ALIAS): New macro.
1627 * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
1628 * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
1630 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1632 PR optimization/12372
1633 * calls.c (expand_call): Add call_fusage data for stack arguments in
1636 2004-01-15 Alan Modra <amodra@bigpond.net.au>
1638 * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
1639 (rs6000_elf_declare_function_name): Formatting.
1640 * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
1642 2004-01-15 Jan Hubicka <jh@suse.cz>
1645 * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
1648 2004-01-15 Richard Henderson <rth@redhat.com>
1650 * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
1651 integer regs of the same call-savedness.
1653 2004-01-15 Andreas Schwab <schwab@suse.de>
1656 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
1657 status for NOTB/NOTW/NEGW methods.
1659 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
1661 * doc/invoke.texi: Update dump file names. Fix a typo.
1663 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
1665 * builtins.c (expand_builtin_va_end): Don't use
1666 EXPAND_BUILTIN_VA_END.
1667 * system.h (EXPAND_BUILTIN_VA_END): Poison.
1668 * config/d30v/d30v.h: Remove a commented-out definition of
1669 EXPAND_BUILTIN_VA_END.
1670 * config/stormy16/stormy16.h: Likewise.
1672 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
1674 * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
1675 * targhooks.c (default_struct_value_rtx): Don't use
1676 STRUCT_VALUE_INCOMING_REGNUM.
1678 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
1681 * configure.in: Revamp enable-generated-files-in-srcdir rule to define
1682 GENINSRC and not parsedir. Define srcextra as a langhook.
1683 * configure: Regenerate.
1684 * Makefile.in: Suppress default .l.c rule. Don't substitute
1685 parsedir and delete all references throughout. Conditionally define
1686 rule for srcextra dependent on GENINSRC.
1687 (stmp-docobjdir): Delete.
1688 (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
1689 (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
1690 and gengtype-yacc.h back to source directory.
1691 (maintainer-clean): Delete all parse files in source directory.
1692 (distclean): Delete generated files.
1694 * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
1695 (objc-parse.c, objc-parse.y): Don't use parsedir.
1696 (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
1697 directory if requested.
1698 (po-generated): Don't use parsedir.
1699 (objc.maintainer-clean): Delete above files from source directory.
1701 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
1703 * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
1705 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
1707 * doc/tm.texi: Replace RETURN_IN_MEMORY with
1708 TARGET_RETURN_IN_MEMORY.
1710 2004-01-15 Jan Hubicka <jh@suse.cz>
1712 * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
1713 * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
1714 functions accepting SSE arguments
1715 (function_arg): Warn only when asked to warn.
1716 * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
1718 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
1720 * c-parse.in (stmts_and_decls): Make label at end of compound
1721 statement a hard error.
1723 2004-01-14 Jan Hubicka <jh@suse.cz>
1725 * cgraph.c (create_edge): Use local.redefined_extern_inline.
1726 * cgraph.h (cgraph_local_info): Sort fields by size; add
1727 redefined_extern_inline
1728 (cgraph_global_info): Sort fields by size.
1729 (cgraph_node): Likewise.
1730 * cgraphunit.c (cgraph_finalize_function): Se
1731 local.redefined_extern_inline on redefinition.
1732 (cgraph_analyze_function): Use it; fix formating.
1734 2004-01-14 Jan Hubicka <jh@suse.cz>
1737 * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
1738 outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
1740 (cache_size): New variable
1741 (add_dependence): Update use; canonize early memory locations
1742 (sched_analyze_1): Likewise.
1743 (sched_analyze_2): Likewise.
1744 (init_dependency_caches): Initialize bitmaps.
1745 (free_dependency_caches): Free bitmaps
1747 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
1749 * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
1750 targetm.calls.strict_argument_naming().
1751 * target.h: Likewise.
1753 2004-01-14 Richard Henderson <rth@redhat.com>
1756 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
1759 2004-01-14 Richard Henderson <rth@redhat.com>
1762 * except.c (struct eh_region): Add u.fixup.resolved.
1763 (resolve_one_fixup_region): Split out from ...
1764 (resolve_fixup_regions): ... here.
1766 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
1768 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
1770 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
1772 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
1773 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
1774 (STRUCT_VALUE): Remove.
1776 2004-01-14 Steven Bosscher <stevenb@suse.de>
1778 * system.h: Poison PROMOTED_MODE
1779 * integrate.c (expand_inline_function): Don't mention the
1781 * loop.c (update_giv_derive): Same.
1782 * tree.h (DECL_RTL): Same.
1784 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
1787 * sh.c (gen_block_redirect): Add special handling of RETURN.
1788 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
1789 far branch target (i.e. it's a return).
1791 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
1793 * regrename.c (find_oldest_value_reg): Fix a warning.
1795 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
1798 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
1799 Move linux-gas.h and linux-elf.h before aout.h.
1800 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
1801 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
1803 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
1805 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
1806 (CONST_INT, VOIDmode, ...).
1808 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
1810 * regrename.c (find_oldest_value_reg): If the replacement uses
1811 multiple hard registers, check that all of them are in CLASS.
1813 2004-01-14 Jan Hubicka <jh@suse.cz>
1815 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
1818 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
1820 * Makefile.in: Define MAINT from --enable-maintainer-mode.
1822 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
1824 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
1825 Calculate always vrsave_mask if TARGET_ALTIVEC.
1826 (rs6000_emit_prologue): Emit code for vrsave
1827 only if TARGET_ALTIVEC_VRSAVE.
1828 (rs6000_emit_epilogue): Likewise.
1830 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
1832 * config/sparc/sparc.md (tie_add32): Fix pasto.
1833 (tie_add64): Likewise.
1835 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1837 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
1839 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
1841 * config/iq2000/iq2000-protos.h: Fix comment formatting.
1842 * config/iq2000/iq2000.c: Likewise.
1843 * config/iq2000/iq2000.md: Likewise.
1845 2004-01-14 J. Brobecker <brobecker@gnat.com>
1847 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
1848 (subrange_type_die): Add handle for nameless subrange types.
1850 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
1852 * config/h8300/h8300-protos.h: Replace do_movsi with
1854 * config/h8300/h8300.c (do_movsi): Change to
1856 * config/h8300/h8300.md (movsi): Replace do_movsi with
1860 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
1862 * config/h8300/h8300.c (dosize): Change to
1863 h8300_emit_stack_adjustment. Update callers.
1865 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
1867 * config/h8300/h8300.md (movstrictqi): Add an alternative with
1868 the source being post_inc. Tighten the predicate for the
1869 destination to register_operand.
1870 (movstricthi): Likewise.
1872 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
1874 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
1875 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
1876 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
1878 2004-01-14 Jan Hubicka <jh@suse.cz>
1880 Partial fix PR c++/12850
1881 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
1884 2004-01-13 Bernardo Innocenti <bernie@develer.com>
1886 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
1889 2004-01-13 Devang Patel <dpatel@apple.com
1892 * dbxout.c (dbxout_symbol_name): Emit mangled names for
1893 NAMESPACE_DECL memebers.
1895 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
1898 * c-common.c (finish_fname_decls): Use the chain only if the
1899 tree is an expr_stmt.
1901 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
1903 * rtl.def: Add comment about new option in automata_option.
1905 * genautomata.c (PROGRESS_OPTION): New macro.
1906 (progress_flag): New global variable.
1907 (gen_automata_option): Process `progress'.
1908 (transform_insn_regexps, check_unit_distributions_to_automata,
1909 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
1910 expand_automata, write_automata): Print about the progress only if
1911 progress_flag. Remove fflush.
1912 (initiate_automaton_gen): Process command line flag `-progress'.
1914 * doc/md.texi: Describe the new option.
1916 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1918 * cfg.c (dump_bb): Dump entry edges.
1920 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
1922 * arm.c (thumb_legitimate_address_p): Only allow constant pool
1923 references from SImode.
1924 * arm.md (thumb_movhi_insn): Don't allow minipool references.
1926 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
1928 * system.h (TEXT_SECTION): Poison.
1929 * varasm.c (text_section): Don't use TEXT_SECTION.
1930 * config/sh/sh.c (sh_file_start): Fix a comment typo.
1931 * doc/tm.texi (TEXT_SECTION): Remove.
1933 2004-01-13 Ben Elliston <bje@wasabisystems.com>
1935 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
1937 2004-01-12 James E Wilson <wilson@specifixinc.com>
1939 * unwind-libunwind.c: Delete.
1941 2004-01-12 Zack Weinberg <zack@codesourcery.com>
1944 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
1945 oldtype is set, set *newtypep or *oldtypep too. Do not set
1946 them at the very end.
1947 (validate_proto_after_old_defn): Restructure for comprehensibility;
1948 make error messages clearer.
1950 2004-01-12 Zack Weinberg <zack@codesourcery.com>
1952 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
1953 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
1954 * varray.c: No need to prototype error.
1955 (varray_check_failed): Wrap long string onto two lines.
1956 (varray_underflow): New function.
1958 2004-01-13 Steven Bosscher <stevenb@suse.de>
1961 * function.h (struct function): Kill `name' field.
1962 (current_function_name): Make it an extern function.
1963 * function.c (current_function_name): New function.
1964 * graph.c: Update all uses of current_function_name.
1966 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
1967 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
1968 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
1969 instead of a strcmp with "main".
1971 2004-01-13 Jan Hubicka <jh@suse.cz>
1973 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
1975 * cgraphunit.c (cgraph_optimize_function): Always do
1976 optimize_inline_calls when there is always_inline callee.
1977 (cgraph_decide_inlining): Fix formating.
1978 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
1980 (expand_call_inline): Likewise.
1981 * toplev.h (sorry): Fix prototype.
1983 2004-01-12 Roger Sayle <roger@eyesopen.com>
1985 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
1986 conditional jumps that drop through to unconditional jumps or the
1987 end of the sequence.
1989 2004-01-13 Jan Hubicka <jh@suse.cz>
1991 * alias.c (new_alias_set): Construct the alias_set varray.
1992 (init_alias_once): Don't do it here.
1994 2004-01-12 Marc Espie <espie@openbsd.org>
1996 * system.h: handle YYBYACC like YYBISON.
1998 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
2001 * config.gcc: No longer includes conflicting header sparc/sol2.h when
2002 building on sparc64-*-openbsd*.
2004 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
2007 * dbxout.c (dbxout_type): Protected inheritance is not
2008 private but protected.
2010 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
2012 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
2014 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
2016 PR optimization/12508.
2017 * combine.c (try_combine): Remove a dead set in a parallel
2018 even if its destination is a subreg.
2021 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
2022 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
2023 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
2025 2004-01-12 Geoffrey Keating <geoffk@apple.com>
2027 * real.c: Update copyright date.
2028 * emit-rtl.c: Likewise.
2030 * dwarf2out.c: Likewise.
2031 * config/rs6000/darwin-ldouble.c: Likewise.
2032 * config/rs6000/rs6000.md: Likewise.
2034 2004-01-12 David Edelsohn <edelsohn@gnu.org>
2036 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
2037 TFmode to SImode libfuncs.
2039 2004-01-12 Roger Sayle <roger@eyesopen.com>
2042 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
2044 2004-01-12 Jan Hubicka <jh@suse.cz>
2047 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
2051 * cfgcleanup.c (label_is_jump_target_p): Move to...
2052 * rtlanal.c (label_is_jump_target_p): ... here.
2053 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
2054 edges unified with branch edges.
2056 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
2058 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
2059 high word of an integral CONST_DOUBLE.
2061 2004-01-12 Paul Brook <paul@codesourcery.com>
2063 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
2065 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
2068 * sh-protos.h (check_use_sfunc_addr): Declare.
2069 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
2070 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
2072 2004-01-12 Jan Hubicka <jh@suse.cz>
2074 * alias.c: Invlude varray.h
2075 (alias_sets): Turn into varray.
2076 (get_alias_set_entry): Use VARRAY; mark inline.
2077 (mems_in_disjoint_alias_sets_p): Mark inline.
2078 (record_alias_subset): Use varray.
2079 (init_alias_once): Initialize varray.
2080 (new_alias_set): Grow array.
2081 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
2083 2004-01-12 Jan Hubicka <jh@suse.cz>
2085 Partial fix for PR opt/10776 II
2086 * cselib.c: Include params.h
2087 (cselib_invalidate_mem): Limit amount of nonconflicting memory
2089 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
2090 * Makefile.in (cselib.o): Depend on params.h
2092 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
2094 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
2095 simplify_unary_operation if the operand has a known mode.
2097 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
2100 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
2101 predicate to handle 'ld' conform addresses.
2102 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
2104 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
2105 are memory contraints.
2106 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
2108 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
2109 Change 'o' to 'Y' constraint.
2110 (*movdf_softfloat64): Ditto.
2112 2004-01-12 Bernardo Innocenti <bernie@develer.com>
2114 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
2115 brace-enclosed syntax in all C output statements.
2117 2004-01-12 David Edelsohn <edelsohn@gnu.org>
2120 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
2121 Objective-C language type value is 14.
2123 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
2126 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
2127 `int' in a number of places to make sure we always have a SImode
2128 and not a HImode. Add a 'L' suffix to a number of constants.
2130 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2132 * pa.c: Don't include obstack.h.
2134 * pa.md: Correct constraint in pattern for loading PIC label address.
2136 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
2138 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
2141 2004-01-11 Steven Bosscher <stevenb@suse.de>
2144 * toplev.c (rest_of_handle_inline): Also consider functions
2145 for deferral if the language is GNU F77.
2147 2004-01-11 Zack Weinberg <zack@codesourcery.com>
2149 * c-decl.c (diagnose_arglist_conflict): Add missing space to
2150 diagnostic messages.
2152 2004-01-11 Jakub Jelinek <jakub@redhat.com>
2155 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
2156 to drop through label. Don't fall back to SCC even when conditional
2157 jump has not been found.
2159 2004-01-11 Jan Hubicka <jh@suse.cz>
2161 * invoke.texi: Fix syntax error in previous patch.
2163 Partial fix for PR opt/10776
2164 * Makefile.in (reload.o): Include param.h
2165 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
2166 * reload.c: Include params.h.
2167 (find_equiv_reg): Work limiting check.
2168 * invoke.texi: Document.
2170 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
2172 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
2173 out-of-bounds accesses to string constants. Simplify mips16
2176 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
2178 PR optimization/13469
2179 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
2180 reload_cse_regs (-fnon-call-exceptions only).
2182 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
2184 * config/mcore/lib1.asm: Fix comment formatting.
2185 * config/mcore/mcore-elf.h: Likewise.
2186 * config/mcore/mcore.c: Likewise.
2187 * config/mcore/mcore.h: Likewise.
2188 * config/mcore/mcore.md: Likewise.
2190 2004-01-10 Zack Weinberg <zack@codesourcery.com>
2192 * c-decl.c (duplicate_decls): Break apart into...
2193 (diagnose_arglist_conflict, validate_proto_after_old_defn)
2194 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
2195 ... these new functions. Restructure for comprehensibility.
2196 Remove various archaic special cases. Always report the
2197 location of the previous declaration when a diagnostic is issued.
2198 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
2199 (match_builtin_function_types): Delete unnecessary forward declaration.
2201 2004-01-10 Zack Weinberg <zack@codesourcery.com>
2203 * genautomata.c (make_automaton, NDFA_to_DFA):
2204 Print progress bars with '.' characters instead of '*'.
2205 (build_automaton): Change notes to match.
2207 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
2209 * config/m32r/m32r.md: Use define_constants for unspec and
2212 2004-01-10 Jan Hubicka <jh@suse.cz>
2215 * expr.c (expand_expr_real): More curefully expand union casts.
2217 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
2219 * config/m32r/m32r.md (flush_icache): Use 1 for
2222 2004-01-10 David Edelsohn <edelsohn@gnu.org>
2223 James E Wilson <wilson@specifixinc.com>
2226 * dbxout.c (dbxout_symbol): Remove initialization of
2227 current_sym_code, current_sym_value, and current_sym_addr.
2228 (dbxout_symbol_location): Same.
2229 (dbxout_prepare_symbol): Zero current_sym_code,
2230 current_sym_value, and current_sym_addr.
2232 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
2234 * tree.c (get_unwidened): Reorder conditions so that the null pointer
2235 check is done first.
2237 2004-01-09 Eric Christopher <echristo@redhat.com>
2239 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
2240 if we're running mark_constant_function.
2242 2004-01-09 Jeff Bailey <jbailey@nisa.net>
2245 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
2247 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
2250 * dbxout.c (dbxout_type_fields): Return if any item is
2251 error_mark_node or the type is error_mark_node.
2253 2004-01-09 Geoffrey Keating <geoffk@apple.com>
2255 * config/rs6000/darwin-ldouble.c: Add big comment explaining
2256 exactly what is expected as a 'long double'.
2257 (_xlqadd): When a value to be returned is representable as a
2258 'double', just return it directly, do not construct it using a union.
2259 Also, correct final fixup.
2260 (_xlqmul): Likewise.
2261 (_xlqdiv): Likewise.
2262 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
2264 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
2266 2004-01-09 Richard Henderson <rth@redhat.com>
2268 * recog.c (constrain_operands): Validate mem operands.
2270 2004-01-09 James E Wilson <wilson@specifixinc.com>
2272 * gcc.c (init_spec): Remove -lunwind from shared case.
2273 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
2275 2004-01-09 Steve Ellcey <sje@cup.hp.com>
2277 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
2278 * configure: Regenerate
2280 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
2283 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
2284 between function and object pointers.
2285 (digest_init): When comparing a pointer to function type to the
2286 target type, only apply TREE_TYPE once to the pointer to function
2288 * except.c (for_each_eh_label_1): Treat data as a pointer to a
2289 function pointer rather than casting it to a function pointer.
2290 (for_each_eh_label): Update caller.
2291 * recog.h (struct insn_data): Use a struct or union for output.
2292 * genoutput.c (output_insn_data): Update.
2293 * final.c (get_insn_template): Update.
2295 2004-01-09 Mark Mitchell <mark@codesourcery.com>
2297 * expr.h (expand_expr): Make it a macro, not a function.
2298 (expand_expr_real): New function.
2299 * expr.c (store_expr): Adjust logic for deciding whether or not to
2300 copy the value returned by expand_expr.
2301 (expand_expr): Rename to ...
2302 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
2303 calls to language hooks.
2304 * c-common.h (c_expand_expr): Adjust prototype.
2305 * c-common.c (c_expand_expr): Add alt_rtl parameter.
2306 * langhooks-def.h (lhd_expand_expr): Change prototype.
2307 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
2308 * langhooks.h (lang_hooks): Change type of expand_expr.
2309 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
2310 (last_expr_alt_rtl): Likewise.
2311 (expand_expr_stmt_value): Set last_expr_alt_rtl.
2312 (clear_last_expr): Clear it.
2313 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
2314 (expand_end_bindings): Save and restor last_expr_alt_rtl.
2315 * tree.def (RTL_EXPR): Give it an additional operand.
2316 * tree.h (RTL_EXPR_ALT_RTL): New macro.
2318 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2320 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
2321 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
2323 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
2326 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
2327 or (ne:SI (reg:CC 17) (const_int 0)).
2328 Be specific about modes wherever possible.
2330 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
2332 * config/m32r/m32r.c (m32r_expand_block_move): Call
2333 gen_movestrsi_internal with two more arguments.
2334 (m32r_output_block_move): Adjust operand numbers.
2335 Properly update the source and destination pointers.
2336 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
2337 'r+'. Change the set detinations to match_operand.
2339 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
2341 * final.c (FIRST_INSN_ADDRESS): Remove.
2342 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
2343 * system.h (FIRST_INSN_ADDRESS): Poison.
2344 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
2345 * config/m32r/m32r-protos.h: Remove the prototype for
2346 m32r_first_insn_address.
2347 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
2348 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
2349 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
2351 2004-01-09 J. Brobecker <brobecker@gnat.com>
2353 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
2355 (is_ada_subrange_type): DIEs for enumeration subtypes should be
2356 emitted as subrange types too.
2357 (subrange_type_die): Add handling of enumeration subtypes.
2359 2004-01-08 Richard Henderson <rth@redhat.com>
2362 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
2363 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
2364 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
2365 (ix86_address_cost): Be prepared for SUBREGed registers.
2366 (legitimate_address_p): Accept SUBREGed registers.
2368 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
2370 * Makefile.in: Rename configure.in to configure.ac
2371 * doc/sourcebuild.texi: Likewise.
2372 * configure: Regenerate.
2373 * config.in: Regenerate.
2375 2004-01-08 Stuart Hastings <stuart@apple.com>
2377 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
2379 2004-01-08 Jan Hubicka <jh@suse.cz>
2381 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
2383 2004-01-08 Geoffrey Keating <geoffk@apple.com>
2385 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
2386 (UNSPEC_FIX_TRUNC_TF): New constant.
2387 (movtf_internal): Make splitter active only when insn is active.
2388 (extenddftf2): Rewrite to properly load zero into low part.
2389 (extenddftf2_internal): New.
2390 (extendsftf2): Rewrite.
2391 (truncdftf2): Correct length.
2392 (floatditf2): Delete.
2393 (fix_trunc_helper): New.
2394 (fix_trunctfdi2): Use fix_trunc_helper.
2395 (fix_trunctfsi2): Likewise.fix_trunc
2396 (fix_trunctfsi2_internal): New.
2398 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
2399 addresses are legitimate on Darwin even when flag_pic.
2400 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
2401 non-offsettable addresses for loads of TFmode constants.
2403 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2405 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
2406 variables in the appropriate bss section.
2408 2004-01-09 Alan Modra <amodra@bigpond.net.au>
2410 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
2411 target_flags has MASK_POWERPC64 when -m64.
2412 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
2413 to 620, 630, power3, power4 and rs64a entries.
2414 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
2416 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
2418 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
2419 floating-point constants.
2421 2004-01-08 J. Brobecker <brobecker@gnat.com>
2423 * dwarf2out.c (subrange_type_die): Add context_die parameter.
2424 Create the subrange_type DIE using the given context DIE.
2425 (modified_type_die): Update call to subrange_type_die.
2427 2004-01-08 Zack Weinberg <zack@codesourcery.com>
2429 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
2430 Add multiple-include guard.
2432 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
2434 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
2435 all vector constant loadable by vsplt*.
2436 (output_vec_const_move): Likewise.
2438 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
2441 * c-typeck.c (comptypes): Only treat enumerated types in the same
2442 translation unit as compatible with each other when they are the
2444 * doc/extend.texi: Update.
2446 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
2449 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
2450 array type from the array element type.
2452 2004-01-07 Alan Modra <amodra@bigpond.net.au>
2454 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
2455 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
2456 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
2457 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
2458 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
2460 2004-01-06 Eric Christopher <echristo@redhat.com>
2462 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
2463 (DWARF2_DEBUGGING_INFO): Define.
2464 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
2465 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
2466 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
2468 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
2469 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
2470 * config/mips/iris5gas.h: Ditto.
2471 (DBX_DEBUGGING_INFO): Remove.
2472 (DWARF2_DEBUGGING_INFO): Ditto.
2473 (MIPS_DEBUGGING_INFO): Ditto.
2474 (PREFERRED_DEBUGGING_TYPE): Ditto.
2475 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
2476 (PREFERRED_DEBUGGING_TYPE): Ditto.
2477 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
2478 * config/mips/elf64.h: Ditto.
2480 2004-01-06 Jan Hubicka <jh@suse.cz>
2482 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
2483 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
2485 2004-01-06 Geoffrey Keating <geoffk@apple.com>
2487 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
2488 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
2489 * config/rs6000/darwin-ldouble.c: New.
2491 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
2493 (constant_subword): Delete.
2494 * rtl.h (constant_subword): Delete prototype.
2495 (immed_double_const): Is not in varasm.c.
2496 * simplify-rtx.c (simplify_immed_subreg): New.
2497 (simplify_subreg): Use simplify_immed_subreg.
2499 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
2500 than trying to generate RTL directly.
2501 (fix_trunctfsi2): Use expand_fix rather than trying to generate
2504 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
2506 2004-01-06 David Edelsohn <edelsohn@gnu.org>
2508 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
2509 function into a separate macro.
2510 (read_only_data_section): Add void argument.
2511 (private_data_section): Same.
2512 (read_only_private_data_section): Same.
2513 (toc_section): Same.
2515 2004-01-06 Jan Hubicka <jh@suse.cz>
2517 * invoke.texi: Remove typo in last change.
2520 * config.gcc: Accept opteron and athlon-64 as variants
2522 * i386.c (override_options): Likewise.
2523 * invoke.texi (i386 -mtune): Expand documentation.
2525 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
2527 * alias.c: Fix comment typos.
2528 * builtins.c: Likewise.
2531 * dominance.c: Likewise.
2532 * dwarf2out.c: Likewise.
2533 * emit-rtl.c: Likewise.
2535 * final.c: Likewise.
2536 * fold-const.c: Likewise.
2538 * genattrtab.c: Likewise.
2539 * genrecog.c: Likewise.
2540 * gensupport.c: Likewise.
2541 * ggc-zone.c: Likewise.
2542 * integrate.c: Likewise.
2543 * local-alloc.c: Likewise.
2545 * recog.c: Likewise.
2546 * regmove.c: Likewise.
2547 * reg-stack.c: Likewise.
2548 * reorg.c: Likewise.
2549 * rtlanal.c: Likewise.
2551 * sched-ebb.c: Likewise.
2552 * simplify-rtx.c: Likewise.
2553 * toplev.c: Likewise.
2554 * varasm.c: Likewise.
2556 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
2558 * doc/install.texi: Fix typos.
2559 * doc/invoke.texi: Likewise.
2560 * doc/md.texi: Likewise.
2562 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2564 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
2566 2004-01-06 Jan Hubicka <jh@suse.cz>
2568 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
2569 (function_arg_advance): Do not pass aggregates in SSE; deal handling
2571 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
2573 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
2574 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
2575 (MMX_REGPARM_MAX): Similarly for -mmmx.
2577 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
2579 * config/sh/linux.h: Fix comment formatting.
2580 * config/sh/netbsd-elf.h: Likewise.
2581 * config/sh/sh.c: Likewise.
2582 * config/sh/sh.h: Likewise.
2583 * config/sh/vxworks.h: Likewise.
2585 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
2587 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
2588 * toplev.c (output_file_directive): Don't use
2589 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
2591 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
2593 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
2594 (USING_MMAP): We don't support non-mmap.
2595 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
2597 (struct page_entry): Remove bytes_free.
2598 (struct page_table_chain): Remove.
2599 (struct globals): Remove page_table member.
2600 (loookup_page_table_entry): Function deleted.
2601 (set_page_table_entry): Ditto.
2602 (ggc_allocated_p): No longer need page table lookups.
2603 (ggc_marked_p): Ditto.
2604 (alloc_small_page): Don't care about bytes_free anymore.
2605 (alloc_large_page): Round up size.
2606 (ggc_alloc_zone_1): Mark large objects as such, and calculate
2607 their size the new way.
2608 Remove page table lookups and setting.
2609 (ggc_get_size): Calculate large object size the new way.
2610 (sweep_pages): Redo to account for fact that we no longer have
2612 (ggc_collect): No longer need to reincrement bytes_free.
2613 (ggc_pch_alloc_object): Handle new large objects properly.
2614 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
2616 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
2618 * doc/invoke.texi: Remove a page break.
2620 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
2622 * config/avr/avr.c (avr_output_function_prologue): Remove an
2623 extra pair of curly braces.
2625 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
2627 * config/mn10300/mn10300.c: Fix comment formatting.
2628 * config/mn10300/mn10300.h: Likewise.
2630 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2632 * tree.h: Update documentation on nothrow_flag.
2633 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
2636 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
2638 * doc/invoke.texi: Remove traces of dead ports.
2640 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
2642 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
2645 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
2648 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
2650 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
2651 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
2652 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
2653 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
2654 (mips_symbol_insns): Don't trust the local/global classification.
2655 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
2656 (override_options): Make -mabicalls -fno-unit-at-a-time imply
2657 -mno-explicit-relocs.
2658 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
2659 between local and global symbols.
2661 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
2663 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
2664 (mips_preferred_reload_class): Declare.
2665 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
2666 (EXTRA_CONSTRAINT): Update accordingly.
2667 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
2668 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
2669 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
2670 mips_dangerous_for_la25_p.
2671 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
2672 if mips_dangerous_for_la25_p.
2674 2004-01-05 Bernardo Innocenti <bernie@develer.com>
2676 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
2679 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
2681 * configure.ac: Use AC_PROG_CPP_WERROR.
2682 * configure: Regenerate.
2684 2004-01-04 Zack Weinberg <zack@codesourcery.com>
2686 * .cvsignore: Add autom4te.cache.
2688 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
2690 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
2691 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
2692 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
2693 then architecture options, then ABI options. General rewording.
2695 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
2698 * doc/extend.texi: Clarify definition of malloc attribute.
2700 2004-01-04 Jan Hubicka <jh@suse.cz>
2702 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
2703 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
2704 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
2705 (cgraph_inline_p): Add extra argument reason.
2706 * cgraphunit.c: Minor formating fixes.
2707 cgraph_first_inlined_callee): New functions.
2708 (record_call_1): Record builtins too.
2709 (cgraph_analyze_function): Update inline_failed messages.
2710 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
2711 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
2712 (cgraph_check_inline_limits): Likewise; Add argument reason.
2713 (cgraph_set_inline_failed): New static function.
2714 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
2716 (cgraph_inline_p): Add new argument reason.
2717 * tree-inline.c (expand_call_inline): Update warning.
2719 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
2721 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
2722 with modern equivalents.
2723 * configure: Regenerate.
2725 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
2726 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
2727 * configure: Regenerate.
2729 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
2731 * configure.in: Rename to configure.ac.
2732 * configure.ac: Renamed from configure.in; make minimum necessary
2733 changes for autoconf 2.5x.
2734 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
2735 * configure: Regenerate with autoconf 2.57.
2737 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
2739 * config/mips/linux.h: Fix comment formatting.
2740 * config/mips/mips.c: Likewise.
2741 * config/mips/mips.h: Likewise.
2742 * config/mips/mips.md: Likewise.
2743 * config/mips/netbsd.h: Likewise.
2744 * config/mips/windiss.h: Likewise.
2746 2004-01-02 Richard Henderson <rth@redhat.com>
2748 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
2749 for sse and 387; add suppression for mmx.
2751 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
2753 * loop.c (loop_optimize): Free all loops_info's mems.
2755 * c-typeck.c (finish_init): Free spelling_base before
2758 * cfgloop.c (flow_loops_find): Always free the sbitmap
2761 * predict.c (estimate_probability): Free bbs after being
2764 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
2766 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
2767 const_8bit_operand and call_address_operand.
2769 2004-01-02 Jan Hubicka <jh@suse.cz>
2771 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
2772 when there is nothing to inline but warnings are requested.
2773 (cgraph_decide_inlining): Fix memory leak.
2775 2004-01-02 Jan Hubicka <jh@suse.cz>
2777 * expr.c (store_constructor): Fix pasto in previous patch.
2779 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
2781 * config/i386/cygming.h: Fix comment formatting.
2782 * config/i386/djgpp.h: Likewise.
2783 * config/i386/gthr-win32.c: Likewise.
2784 * config/i386/i386-interix.h: Likewise.
2785 * config/i386/i386.c: Likewise.
2786 * config/i386/i386.h: Likewise.
2787 * config/i386/openbsd.h: Likewise.
2788 * config/i386/winnt.c: Likewise.
2789 * config/i386/xm-mingw32.h: Likewise.
2791 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
2793 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
2794 copyright and last modification dates.
2796 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
2798 * doc/install.texi (Specific): Mention x86_64.
2800 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2802 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
2803 Call force_operand on plus_constant result.
2805 2004-01-01 Jan Hubicka <jh@suse.cz>
2807 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
2808 * expr.c (store_constructor): Use vec_init pattern.
2809 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
2810 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
2811 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
2812 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
2814 (sse2_unpc?pd): Fix pattern.
2815 (sse2_movlpd): Kill.
2816 (sse2_movsd): Deal with movlpd too.
2817 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
2818 (ix86_expand_vector_init): New.
2819 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
2820 * md.texi (vec_set, vec_extract): Document
2822 2003-12-31 Jan Hubicka <jh@suse.cz>
2825 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
2829 * toplev.c (dump_file_index): Reorder ce3 and bbro.
2830 (dump_file): Likewise.
2831 (rest_of_compilation): Likewise.
2834 * cgraph.c (cgraph_function_possibly_inlined): Even with
2835 flag_really_no_inline we inline always_inline functions.
2836 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
2837 for non-always_inline functions when there is flag_really_no_inline.
2838 (cgraph_decide_inlining): Limit work done when not inlining.
2839 (cgraph_decide_inlining_incrementally): Likewise.
2840 (cgraph_optimize_function): Check whether something got inlined.
2841 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
2842 extern inline functions when not inlining.
2844 * opts.c (decode_options): Disable crossjumping at -O1
2845 * invoke.texi (-O1): Document change.
2847 See ChangeLog.10 for earlier changes.