1 2003-01-30 Richard Earnshaw <rearnsha@arm.com>
3 * arm.c (arm_compute_initial_elimination_offset): If optimizing for
4 size, the link register is always saved if any other register is
7 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
9 * config/h8300/h8300-protos.h: Update the prototype for
11 (cpp_reader): Declare before it is used.
12 * config/h8300/h8300.c (compute_plussi_cc): Change the return
14 * config/h8300/h8300.md (monitor_prologue): Call abort() if we
15 see an unknown H8 variant.
17 2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
20 * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
21 * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
22 * config/rs6000/t-rtems: New file. multilib variants to match OS.
23 * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
24 rs6000/t-ppcgas so we get the desired multilibs.
26 2003-01-30 Nick Clifton <nickc@redhat.com>
28 * config/arm/arm.c (arm_output_epilogue): Update stack pointer
29 when popping saved IP register off the stack.
31 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
33 * config/rs6000/aix43.h: Fix comment typos.
34 * config/rs6000/aix51.h: Likewise.
35 * config/rs6000/aix52.h: Likewise.
36 * config/rs6000/altivec.h: Likewise.
37 * config/rs6000/rs6000.c: Likewise.
38 * config/rs6000/rs6000.h: Likewise.
39 * config/rs6000/rs6000.md: Likewise.
40 * config/rs6000/spe.md: Likewise.
42 2003-01-29 Mark Mitchell <mark@codesourcery.com>
44 * c-common.c (builtin_define_float_constants): Define
45 __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__.
47 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
49 * config/sh/lib1funcs.asm: Fix comment typos.
50 * config/sh/linux.h: Likewise.
51 * config/sh/sh.c: Likewise.
52 * config/sh/sh.md: Likewise.
54 2003-01-30 Loren James Rittle <ljrittle@acm.org>
56 * objc/Make-lang.in (objc-parse.y): Find c-parse.in in $(srcdir).
58 2003-01-30 Alexandre Oliva <aoliva@redhat.com>
60 * config/fp-bit.h (__make_dp): Declare if TMODES.
62 2003-01-29 Kazu Hirata <kazu@cs.umass.edu>
64 * config/h8300/h8300.h (PREDICATE_CODES): Add entries for
65 general_operand_src and general_operand_dst.
67 2003-01-29 David Edelsohn <edelsohn@gnu.org>
69 * config/rs6000/rs6000.c (function_arg_pass_by_reference):
70 Return true for variable sized types.
71 (rs6000_va_arg): Handle variable sized types passed by reference
74 2003-01-29 Richard Earnshaw <rearnsha@arm.com>
76 * arm.c (arm_legtimize_address): New function.
77 * arm-protos.h (arm_legtimize_address): Add prototype.
78 * arm.h (ARM_LEGITIMIZE_ADDRESS): Use arm_legitimize_address.
79 (LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with
82 2003-01-29 Joel Sherrill <joel@OARcorp.com>
85 * gthr-rtems.h: Define __GTHREAD_MUTEX_INIT. Apparently no code
86 depended on it being defined until now.
88 2003-01-29 Joel Sherrill <joel@OARcorp.com>
91 * config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
92 RTEMS code knows which C++ initialization style the toolset
93 configuration is using.
95 2003-01-29 Joel Sherrill <joel@OARcorp.com>
98 * config/m68k/t-crtstuff: Replace spaces with tabs, add
99 $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
101 2003-01-29 Joel Sherrill <joel@OARcorp.com>
104 * config.gcc (hppa1.1-rtems): Did not include t-rtems nor enable
106 * config/pa/rtems.h (LIB_SPEC): Use -N when linking.
108 2003-01-29 Nick Clifton <nickc@redhat.com>
110 * Makefile.in (c-parse.o): Locate source file in $(parsedir)
113 2003-01-29 Andrew Haley <aph@redhat.com>
115 * tree-inline.c (walk_tree): Add CHAR_TYPE.
117 Wed Jan 29 10:26:12 CET 2003 Jan Hubicka <jh@suse.cz>
119 * i386.md (subdi3_carry_rex64): Fix typo.
121 2003-01-28 Stan Shebs <shebs@apple.com>
123 * coretypes.h (cpp_reader): Forward declare struct.
124 * c-pragma.h (cpp_reader): Remove forward declaration.
125 * hashtable.h (cpp_reader): Likewise.
126 * scan.h (cpp_reader): Likewise.
127 * tree.h (cpp_reader): Likewise.
128 * config/darwin-protos.h (cpp_reader): Likewise.
129 * config/arm/arm-protos.h (cpp_reader): Likewise.
130 * config/rs6000/rs6000-protos.h: Remove GCC_CPPLIB_H ifdef, use
131 struct cpp_reader in prototypes.
133 2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
135 * doc/install.texi: Add documentation for installation into
136 tooldirs and with DESTDIR.
138 2003-01-28 Richard Henderson <rth@redhat.com>
140 * config.gcc (ia64*-*-aix*): Remove.
141 * config/ia64/aix.h, config/ia64/t-aix: Remove file.
142 * config/ia64/unwind-aix.c: Remove file.
144 2003-01-28 Andreas Schwab <schwab@suse.de>
146 * config/m68k/m68k.md (tablejump+2): Don't sign extend an address
148 * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise.
149 * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise.
150 * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise.
151 * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
152 * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise.
153 * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
154 * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise.
156 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
158 * combine.c (nonzero_bits): Fix check for negative divide operands.
160 2003-01-28 Richard Henderson <rth@redhat.com>
162 * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
163 * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.
165 2003-01-28 Richard Henderson <rth@redhat.com>
167 * cse.c (find_best_addr): Kill !ADDRESS_COST code.
169 * config/cris/cris.c (cris_address_cost): Make static.
170 (TARGET_RTX_COSTS, TARGET_ADDRESS_COST): New.
171 * config/cris/cris.h (ADDRESS_COST): Remove.
172 * config/cris/cris-protos.h: Update.
174 2003-01-23 Mike Stump <mrs@apple.com>
176 * regclass.c (init_reg_autoinc): New function.
177 (regclass): Move initialization of forbidden_inc_dec_class from
179 (init_regs): to here. Avoids reinitialization for each function,
180 saving compilation time.
182 2003-01-28 Jason Merrill <jason@redhat.com>
184 * cpplib.h (struct cpp_options): Add warn_deprecated field.
185 * cppinit.c (cpp_create_reader): Turn it on by default.
186 * c-opts.c (c_common_decode_option): Set it.
187 * cpplib.c (do_pragma_once): Only complain about #pragma once
188 if warn_deprecated is set.
190 2003-01-28 Dale Johannesen <dalej@apple.com>
192 * emit-rtl.c (const_double_htab_hash): Use mode in the hash.
193 * loop.c (scan_loop): Move movables on -Os rich-register targets.
194 * config/rs6000/rs6000.md (sibcall*): Use match_operand for LR.
196 2003-01-28 Richard Henderson <rth@redhat.com>
198 * target.h (targetm.address_cost): New.
199 * target-def.h (TARGET_ADDRESS_COST): New.
200 (TARGET_RTX_COSTS): Uncomment. Oops.
201 * cse.c (address_cost): Use new target hook.
202 (default_address_cost): New.
203 * output.h (default_address_cost): Declare.
204 * hooks.c (hook_int_rtx_0): New.
205 * hooks.h (hook_int_rtx_0): Declare.
206 * loop.c (combine_givs_p): Remove if 0 code.
207 * system.h (ADDRESS_COST): Poison.
209 * config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c,
210 config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h,
211 config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c,
212 config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h,
213 config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c,
214 config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h,
215 config/xtensa/xtensa.c, config/xtensa/xtensa.h
216 (TARGET_ADDRESS_COST): Define as hook_int_rtx_0.
217 (ADDRESS_COST): Remove.
219 * config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
220 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
221 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
222 config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
223 config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h,
224 config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h,
225 config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h,
226 config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h,
227 config/mips/mips.c, config/mips/mips.h,
228 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
229 config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h,
230 config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h,
231 config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h,
232 config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h,
233 config/vax/vax.c, config/vax/vax.h
234 (foo_address_cost): Make static.
235 (TARGET_ADDRESS_COST): New.
236 (ADDRESS_COST): Remove.
238 * config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h,
239 config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c,
240 config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
241 config/stormy16/stormy16.h
242 (ADDRESS_COST): Move code ...
243 (foo_address_cost): ... here.
244 (TARGET_ADDRESS_COST): New.
246 * config/m32r/m32r.c (m32r_address_cost): Remove.
247 * config/m32r/m32r-protos.h: Update.
249 * config/mmix/mmix.c (mmix_address_cost): Remove.
250 * config/mmix/mmix-protos.h: Update.
252 * config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from
253 mn10300_address_cost; move unsig allocation ...
254 (mn10300_address_cost): ... here.
255 (TARGET_ADDRESS_COST): New.
256 * config/mn10300/mn10300-protos.h: Update.
257 * config/mn10300/mn10300.h (ADDRESS_COST): Remove.
259 * doc/tm.texi: Update.
261 2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
263 * haifa-sched.c (schedule_insn): Return necessary cycle advance
264 after issuing the insn.
265 (rank_for_schedule): Make a insn with /S the highest priority
267 (move_insn): Ignore schedule groups. Clear SCHED_GROUP_P.
268 (choose_ready): Check SCHED_GROUP_P.
269 (schedule_block): Advance cycle after issuing insn if it is
270 necessary. Don't reorder insns if there is an insn with /S.
271 (set_priorities): Ignore schedule groups.
273 * sched-deps.c (remove_dependence, group_leader): Remove the
275 (add_dependence): Ignore schedule groups.
276 (set_sched_group_p): Don't make copy of dependencies from previous
277 insn of the schedule group. Add anti-dependency to the previous
278 insn of the schedule group.
279 (compute_forward_dependences): Ignore schedule groups.
281 * sched-ebb.c (init_ready_list): Ignore schedule groups.
283 * sched-rgn.c (init_ready_list): Ditto.
284 (can_schedule_ready_p): Ditto.
286 2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
288 * config/i386/i386.md (*movsi_1): Use movdqa to move one xmm
289 register to another one.
291 2003-01-28 Richard Henderson <rth@redhat.com>
293 * calls.c (default_must_pass_in_stack): Fix typo in !type case.
295 2003-01-28 Roger Sayle <roger@eyesopen.com>
297 * cse.c (cse_insn): Avoid redundant REG_EQUAL notes.
299 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
301 * config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
302 class contains a floating-point register, return the size of the
305 Tue Jan 28 12:15:13 CET 2003 Jan Hubicka <jh@suse.cz>
307 * i386.c (ix86_carry_flag_operator): New predicate.
308 (fcmov_operator): Fix whitespace.
309 (ix86_expand_carry_flag_compare): Deal with floating point.
310 (ix86_expand_int_movcc): Deal with fp; update insn expansion
311 (ix86_expand_int_addcc): Likewise.
312 (ix86_expand_strlensi_unroll_1): likewsie.
313 * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
314 * i386.md (add?i_carry_rex64): Use new predicate.
315 (sub?i3_carry_rex64): Likewise.
316 (x86_mov?icc_0_m1*): Likewise.
318 2003-01-28 Andreas Schwab <schwab@suse.de>
320 * cfgloopmanip.c (create_preheader): Initialize src to avoid
323 * expmed.c (emit_store_flag): Fix cast to avoid sign
326 * combine.c (force_to_mode): Add cast to fix warning when
327 STORE_FLAG_VALUE is negative.
329 2003-01-27 Richard Henderson <rth@redhat.com>
331 * Makefile.in (cse.o): Depend on TARGET_H.
332 * cse.c (rtx_cost): Use targetm.rtx_costs.
333 * system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison.
334 * doc/tm.texi: Update.
336 * target.h (targetm.rtx_costs): New.
337 * target-def.h (TARGET_RTX_COSTS): New.
338 * hooks.c (hook_bool_rtx_int_int_intp_false): New.
341 * config/alpha/alpha.c (alpha_rtx_cost_data): New.
342 (alpha_rtx_costs, TARGET_RTX_COSTS): New.
343 * config/alpha/alpha.h (PROCESSOR_MAX): New.
344 (CONST_COSTS, RTX_COSTS): Remove.
346 * config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c,
347 config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h,
348 config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c,
349 config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h,
350 config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
351 config/i370/i370.h, config/i386/i386.c, config/i386/i386.h,
352 config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c,
353 config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h,
354 config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c,
355 config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h,
356 config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c,
357 config/mn10200/mn10200.h, config/mn10300/mn10300.c,
358 config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h,
359 config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c,
360 config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h,
361 config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c,
362 config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
363 config/stormy16/stormy16.c, config/stormy16/stormy16.h,
364 config/v850/v850.c, config/v850/v850.h,
365 config/xtensa/xtensa.c, config/xtensa/xtensa.h
366 (CONST_COSTS, RTX_COSTS): Move code ...
367 (foo_rtx_costs, TARGET_RTX_COSTS): ... here.
369 * config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs.
370 (arm_rtx_costs, TARGET_RTX_COSTS): New.
371 * config/arm/arm-protos.h: Update.
372 * config/arm/arm.h (DEFAULT_RTX_COSTS): Remove.
374 * config/avr/avr.h (CONST_COSTS): Move code ...
375 * config/avr/avr.c (avr_rtx_costs): ... here.
376 (default_rtx_costs): Make static.
377 * config/avr/avr-protos.h: Update.
379 * config/h8300/h8300.c (const_costs): Make static.
380 (h8300_and_costs, h8300_shift_costs): Likewise.
381 * config/h8300/h8300-protos.h: Update.
383 * config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove.
384 (CONST_COSTS): Move code ...
385 * config/ip2k/ip2k.c (ip2k_rtx_costs): ... here. Rename from
386 default_rtx_costs; update for signature change.
387 * config/ip2k/ip2k-protos.h: Update.
389 * config/m68hc11/m68hc11.h (RTX_COSTS): Remove.
390 (CONST_COSTS): Move code ...
391 * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here.
392 (TARGET_RTX_COSTS): New.
393 (m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static.
394 * config/m68hc11/m68hc11-protos.h: Update.
396 * config/m68k/m68k.c (const_int_cost): Make static.
397 * config/m68k/m68k-protos.h: Update.
399 * config/mcore/mcore.c (mcore_const_costs): Make static.
400 (mcore_and_cost, mcore_ior_cost): Likewise.
401 * config/mcore/mcore-protos.h: Update.
403 * config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New.
404 (mmix_rtx_cost_recalculated): Remove.
405 * config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove.
406 * config/mmix/mmix-protos.h: Update.
408 * config/sh/sh.c (shiftcosts): Make static.
409 (addsubcosts, andcosts, multcosts): Likewise.
410 * config/sh/sh-protos.h: Update.
412 * config/sparc/sparc.c (TARGET_RTX_COSTS): New.
413 (sparc_rtx_costs): Make static; update for change in signature.
414 * config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove.
415 * config/sparc/sparc-protos.h: Update.
417 * config/v850/v850.c (const_costs): Make static.
418 * config/v850/v850-protos.h: Update.
420 * config/vax/vax.h (RTX_COSTS): Remove.
421 (CONST_COSTS): Move code ...
422 * config/vax/vax.c (vax_rtx_costs_1): ... here; rename
424 (vax_rtx_costs, TARGET_RTX_COSTS): New.
426 2003-01-27 Richard Henderson <rth@redhat.com>
428 * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove. Really.
429 * config/vax/vax-protos.h: Update. Really.
431 2003-01-28 Alexandre Oliva <aoliva@redhat.com>
433 * config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
434 (UNITS_PER_FPVALUE): Defined as the width of a long double, or
435 zero if no hardware floating point.
436 (LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
437 (MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
438 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
439 (BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
440 (FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
441 * config/mips/mips.c (mips_arg_info): Pass TFmode values in
442 even FP registers on N32 and N64.
443 (mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
444 (mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
445 (mips_va_arg): Use UNITS_PER_HWFPVALUE. Impose additional
446 even-register-like alignment to 128-bit arguments.
447 (save_restore_insns): Use UNITS_PER_HWFPVALUE.
448 (mips_function_value): Likewise. Return TFmode in $f0 and $f2
450 * config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
451 * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
452 (TPBIT): Set to tp-bit.c.
453 (tp-bit.c): Create out of fp-bit.c.
455 2003-01-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
457 * c-parse.in: Remove '%expect 32' directive in objc mode.
459 2003-01-27 Nathan Sidwell <nathan@codesourcery.com>
461 * Makefile.in (LIB2FUNCS_ST): Remove _gcov.
462 (LIBGCOV): New variable.
463 (libgcc.mk): Add LIBGCOV.
464 (LIBGCC_DEPS): Add libgcov.c.
465 (libgcov.a): New target.
466 (clean): Remove libgcov.a.
467 (install-libgcc): Do libgcov too.
468 (stage1-start, stage2-start, stage3-start, stage4-start): Deal
470 * libgcc2.c (L_gcov): Move into ...
471 * libgcov.c: ... here. New file.
472 * mklibgcc.in: Add libgcov rules.
473 * gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling.
475 * doc/invoke.texi (profile-arcs, test-coverage): Update and
478 * profile.c (index_counts_file): Remove duplicate check for open file.
480 2003-01-27 Jerry Quinn <jlquinn@optonline.net>
482 * gcc/doc/invoke.texi (Optimization Options): Group together
483 optional and experimental flags. Move trapv and bounds-check
484 out of this section. Group floating point flags together.
485 (Code Gen Options): Move trapv and bounds-check to here.
487 2003-01-27 Josef Zlomek <zlomekj@suse.cz>
489 * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
491 2003-01-27 Richard Earnshaw <rearnsha@arm.com>
494 * function.c (purge_addressof_1): After pushing an addressed register
495 onto the stack, simplify the result.
497 2003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
499 * doc/extend.texi: Fix typo.
501 2003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
503 * doc/cppopts.texi: Fix typo.
504 * doc/objc.texi: Likewise.
505 * doc/passes.texi: Likewise.
507 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
509 * real.c (ibm_extended_format): Add 53 to minimum exponent.
510 (encode_ibm_extended): Adjust.
512 2003-01-26 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
514 * timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
515 timevar_id enumerations.
517 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
519 * combine.c: Fix formatting.
521 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
523 * doc/gccint.texi: Update the copyright.
525 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
527 * doc/cpp.texi: Fix typos.
528 * doc/extend.texi: Likewise.
529 * doc/gty.texi: Likewise.
530 * doc/install.texi: Likewise.
531 * doc/passes.texi: Likewise.
532 * doc/rtl.texi: Likewise.
533 * doc/tm.texi: Likewise.
535 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
537 * config/ia64/fde-glibc.c: Fix comment typos.
538 * config/ia64/hpux.h: Likewise.
539 * config/ia64/ia64.c: Likewise.
540 * config/ia64/ia64.h: Likewise.
541 * config/ia64/unwind-ia64.c: Likewise.
543 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
545 * config/i386/i386-modes.def: Fix comment typos.
546 * config/i386/i386.c: Likewise.
547 * config/i386/i386.md: Likewise.
549 2003-01-26 Steven Bosscher <s.bosscher@student.tudelft.nl>
551 * config/avr/avr.h, config/cris/aout.h, config/elfos.h,
552 config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine
553 ASM_FINISH_DECLARE_OBJECT before defining it.
554 * toplev.c (rest_of_decl_compilation): Don't define
555 ASM_FINISH_DECLARE_OBJECT. Only use it if it is defined.
556 (rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function
557 parameters for DWARF2 targets because they _are_ used.
559 2003-01-26 Alexandre Oliva <aoliva@redhat.com>
561 * fp-bit.h: Define macros for TFmode floating-point constants
562 in IBM-extended TFmode types.
563 (TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported
565 * config/fp-bit.c (pack_d, unpack_d): Support IBM-extended
568 * config/fp-bit.h: Define macros for TFmode floating-point
569 constants in IEEE quad TFmode type. Declare functions according
571 (TMODES): Define if __LDBL_MANT_DIG__ is 113.
572 (TFtype, TItype, UTItype): Define if TMODES is defined.
573 (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise.
574 (F_T_BITOFF, D_T_BITOFF): Define.
575 (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are
576 guaranteed to be wide enough.
577 * config/fp-bit.c: Check for L_ macros for tf functions.
580 (pack_d, unpack_d): Support IEEE 854 quad type.
581 (_fpmul_parts): Support TFmode. Compute exponent adjustment
582 from FRAC_NBITS, FRAC_BITS and NGARDS.
583 (usi_to_float): Cast constants to be shifted to fractype
584 instead of assuming long long is wide enough.
585 (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New.
587 2003-01-26 Andreas Jaeger <aj@suse.de>
589 * df.c: Remove prototype of unused function df_regno_rtl_debug.
591 2003-01-26 Alexandre Oliva <aoliva@redhat.com>
593 * Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.
594 (DBBIT_FUNCS): Added _df_to_tf.
596 (libgcc.mk): Pass TPBIT and TPBIT_FUNCS down.
597 (LIBGCC_DEPS): Added TPBIT.
598 * mklibgcc.in: Support TPBIT and TPBIT_FUNCS.
600 * optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
601 been able to move the result to target.
603 * expr.c (emit_group_store): Initialize dst with CONST0_RTX
604 for the appropriate mode.
606 * calls.c (emit_library_call_value_1): Handle return values
609 * rtl.c (get_mode_alignment): Moved to...
610 * stor-layout.c: ... here.
612 * print-rtl.c (print_rtx): Don't print MEM details in
615 2003-01-26 Michael Hayes <mph@paradise.net.nz>
617 * df.h: Update comments, tidy formatting.
618 (DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD,
619 REVERSE, UNION, INTERSECTION. All uses updated.
620 (OLD_DF_INTERFACE): Remove.
621 (struct insn_info): Remove commented out insn field.
622 * df.c: Update comments, tidy formatting.
623 (df_def_table_realloc): Remove.
626 2003-01-26 Alan Modra <amodra@bigpond.net.au>
628 * calls.c (save_fixed_argument_area): Tidy.
629 (restore_fixed_argument_area): Tidy. Set alignment of stack_area.
630 (expand_call): Comment typo fixes. Don't init low_to_save. Start
631 call chain loop at 1 if !try_tail_call. Formatting.
632 (emit_library_call_value_1): Don't init low_to_save or high_to_save.
633 Use save_fixed_argument_area and restore_fixed_argument_area.
635 2003-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
637 * df.c (df_uses_record): Handle CC0.
639 2003-01-25 Ulrich Weigand <uweigand@de.ibm.com>
641 * reload.c (maybe_memory_address_p): New function.
642 (find_reloads_address): Use it instead of memory_address_p.
644 2003-01-25 Kaz Kojima <kkojima@gcc.gnu.org>
646 * final.c (shorten_branches): Align the address of code label
647 when computing initial lengths and addresses.
649 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
651 * config/m68hc11/m68hc11.md: Fix a comment typo.
653 2003-01-25 Andreas Jaeger <aj@suse.de>
655 * config/i386/i386.c (x86_output_mi_thunk): Correct test for
658 2003-01-25 Roger Sayle <roger@eyesopen.com>
660 * gcse.c (bypass_last_basic_block): New global variable.
661 (bypass_block): Use redirect_edge_and_branch_force to redirect
662 fall-through edges. Use bypass_last_basic_block to determine
663 which blocks have valid PRE information.
664 (bypass_conditional_jumps): Initialize bypass_last_basic_block.
666 Sat Jan 25 22:31:59 CET 2003 Jan Hubicka <jh@suse.cz>
668 * gcse.c (local_cprop_pass): Update reg_sets table when needed.
670 Sat Jan 25 21:04:33 CET 2003 Jan Hubicka <jh@suse.cz>
671 Eric Botcazou <ebotcazou@libertysurf.fr>
673 * gcse.c (one_cprop_pass): Delete unreachable blocks.
675 2003-01-25 Richard Henderson <rth@redhat.com>
677 * config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename
678 from ia64_aix_select_rtx_section.
679 (ia64_rwreloc_select_section): Simlarly; use default*_1 function
680 instead of saving and restoring flag_pic.
681 (ia64_rwreloc_unique_section): Similarly.
682 * config/ia64/aix.h (TARGET_ASM_SELECT_SECTION,
683 TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update.
684 * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
685 TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New.
687 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
689 * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a
692 2002-01-25 Richard Henderson <rth@redhat.com>
694 * config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.
696 2002-01-25 Kelley Cook <kelleycook@comcast.net>
698 * ggc-simple.c (debug_ggc_tree): Add PTR cast.
700 2003-01-25 Segher Boessenkool <segher@koffie.nl>
702 * bitmap.h (BITMAP_WORD): New typedef: fundamental storage
703 type for bitmaps. Use unsigned long.
704 (nBITMAP_WORD_BITS): New macro.
705 (BITMAP_WORD_BITS): New macro.
706 (rest of file): Use it.
709 2003-01-25 Richard Henderson <rth@redhat.com>
711 2002-02-19 Robert Lipe <robertlipe@usa.net>
712 * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff.
714 2002-01-25 Roger Sayle <roger@eyesopen.com>
716 * builtins.c (purge_builtin_constant_p): Scan insn stream
717 sequentially rather than by basic block.
718 * function.c (purge_addressof): Simplify test with INSN_P.
720 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
722 * combine.c (simplify_comparison, case AND): Remove a redundant test.
724 2002-01-25 Roger Sayle <roger@eyesopen.com>
726 * function.h (struct function): New field calls_constant_p.
727 (current_function_calls_constant_p): New macro for above.
728 * function.c (prepare_function_start): Initialize calls_eh_return
729 and calls_constant_p.
730 * builtins.c (expand_builtin_constant_p): Set calls_constant_p.
731 * toplev.c (rest_of_compilation): Only call purge_builtin_constant_p
732 when the current_function_calls_constant_p.
733 * integrate.c (expand_inline_function): Set calls_constant_p if
734 the function being inlined has calls_constant_p set.
736 2002-01-25 Roger Sayle <roger@eyesopen.com>
738 * cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not
739 optimizing, even if flag_gcse is true.
740 * toplev.c (rest_of_compilation): purge_builtin_constant_p
741 only needs to be called when "optimize > 0 && flag_gcse".
743 2003-01-25 Roger Sayle <roger@eyesopen.com>
745 * stmt.c (emit_case_bit_tests): New routine to implement suitable
746 switch statements using the equivalent of "if ((1<<x) & cst) ... ".
747 (case_bit_test_cmp): New comparison function for "qsort" to order
748 case_bit_tests by decreasing number of destination nodes.
749 (lshift_cheap_p): New function to determine if "1 << x" is cheap.
750 (expand_end_case_type): Use emit_case_bit_tests to implement
751 suitable switch statments.
752 (CASE_USE_BIT_TESTS): New target macro to disable the above.
753 * Makefile.in (stmt.o): Add dependency on optab.h.
754 * doc/tm.texi (CASE_USE_BIT_TESTS): Document new target macro.
756 2003-01-23 Andreas Schwab <schwab@suse.de>
758 * config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make
759 __do_global_ctors_aux hidden global and don't put it in
761 * config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here
762 instead so that it comes first.
764 Sat Jan 25 16:11:22 CET 2003 Jan Hubicka <jh@suse.cz>
766 * df.c (read_modify_subreg_p): When osize == UNITS_PER_WORD,
767 subreg is read/modify.
769 Sat Jan 25 15:55:08 CET 2003 Jan Hubicka <jh@suse.cz>
771 * i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently
772 do libcall for large blocks.
773 * i386.md (comi patterns): Set type to ssecomi.
774 (sse2_unpck?pd): Fix mode of vec_select.
776 * cse.c: Include except.h
777 (cse_set_around_loop): Do not create new basic blocks.
778 * Makefile.in (cse.o): Add dependnecy on except.h
780 Sat Jan 25 12:05:17 CET 2003 Jan Hubicka <jh@suse.cz>
782 * builtins.c (fold_trunc_transparent_mathfn): New function.
783 (fold_builtin): Use it.
784 * convert.c (convert_to_real): Re-enable code to convert
785 math functions; add support for floor familly functions.
787 2003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
789 * Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add
790 dependencies on coretypes.h and $(TM_H).
792 Sat Jan 25 11:10:03 CET 2003 Jan Hubicka <jh@suse.cz>
794 * builtins.c (fold_trunc_transparent_mathfn): Undo accidental commit.
796 2002-01-24 Stuart Hastings <stuart@apple.com>
798 * config/i386/i386.c (x86_output_mi_thunk): Add Darwin/x86 support.
800 2003-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
802 * config/c4x/c4x.md (UNSPEC_BU): New constants.
803 (UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise.
804 (UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise.
805 (UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise.
806 (UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST): Likewise.
807 (UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP): Likewise.
808 (UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST): Likewise.
809 (UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE): Likewise.
811 Fri Jan 24 23:44:12 CET 2003 Jan Hubicka <jh@suse.cz>
813 * emit-rtl.c (reg_attrs_htab): New static variable.
814 (reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static
816 (reg_rtx): Do not maintain regno_decl.
817 (gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx,
818 set_mem_attrs_from_reg): New global function.
819 (init_emit): Do not initialize regno_decl.
820 (init_emit_once): initialize reg_attrs_htab.
821 * final.c (alter_subreg): Do not replace REG by SUBREG.
822 (gen_mem_expr_from_op): Improve output.
823 (output_asm_operands): Likewise.
824 * function.c (assign_params): Do not set REGNO_DECL.
825 * function.h (struct function): Kill regno_decl.
827 * gengtype.c (adjust_field_rtx_def): Handle new field of reg.
828 * print_rtl.c (print_rtx): Output REG information.
829 * regclass.c (reg_scan_mark_refs): Update attrs.
830 * reload1.c (alter_reg): Likewise.
831 * simplify_rtx.c (simplify_subreg): Likewise.
832 * stmt.c (expand_decl): Likewise.
833 * rtl.def (REG): Add new field.
834 * rtl.h (struct reg_attrs): New.
835 (rtunion_def): At rtreg.
836 (X0MEMATTR): Add checking.
837 (X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro.
838 (set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset):
840 * tree.h (SET_DECL_RTL): Call set_decl_rtl.
842 2003-01-24 Bob Wilson <bob.wilson@acm.org>
844 * config/xtensa/xtensa.c: Remove unused include of machmode.h.
845 (xtensa_emit_call, print_operand): Fix printf format strings
846 to avoid compile warnings.
847 (xtensa_function_prologue, xtensa_function_epilogue): Change type
848 of "size" argument to HOST_WIDE_INT to fix compile warnings.
849 * config/xtensa/xtensa-protos.h
850 (xtensa_function_prologue, xtensa_function_epilogue): Ditto.
852 Fri Jan 24 23:03:32 CET 2003 Jan Hubicka <jh@suse.cz>
854 * builtins.c (DEF_BUILTIN): Accept 10 arguments.
855 (implicit_built_in_decls): New global array.
856 (mathfn_built_in): New global function.
857 (fold_trunc_transparent_mathfn): New static function
858 (expand_builtin_strstr, expand_bultin_strchr,
859 expand_builtin_strpbrk, expand_builtin_strcpy,
860 expand_builtin_strncpy, expand_bultin_strcmp,
861 expand_bultin_strncat, expand_builtin_fputs): Use
862 implicint_built_in_decls.
863 (fold_builtin): Fold floor/trunc/round/ceil/nearbyint.
864 * builtins.def: Fix comments.
865 (DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN,
866 DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN,
867 DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN,
868 DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed.
869 (DEF_C99_C90RES_BULTIN): New.
870 (*f, *l builtins): Update.
871 * c-common.c (DEF_BUILTIN): Initialize implicit array.
872 (c_expand_builtin_printf, c_expand_builtin_fprintf): Update.
873 * convert.c (strip_float_extensions): New global function.
874 * tree.h (DEF_BUILTIN): Accept 10 arguments.
875 (implicit_built_in_decls, mathfn_built_in, strip_float_extension):
877 * java/builtins.c (define_builtin): Handle implicit.
878 (DEF_BUILTIN): Update.
879 * tm.texi (TARGET_C99_FUNCTIONS): Document.
880 * defaults.h (TARGET_C99_FUNCTIONS): Default to 0.
881 * config/linux.h (TARGET_C99_FUNCTIONS): Default to 1
884 2003-01-24 Bob Wilson <bob.wilson@acm.org>
886 * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib,
887 extra_parts, and fixincludes. Add xtensa/t-elf tmake_file.
888 (xtensa-*-linux*): Add xtensa/t-linux tmake_file.
889 * config/xtensa/crti.asm: New file.
890 * config/xtensa/crtn.asm: New file.
891 * config/xtensa/t-elf: New file.
892 * config/xtensa/t-linux: New file.
893 * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o.
894 Move various CFLAGS settings to new t-elf file.
896 2003-01-24 Richard Henderson <rth@redhat.com>
899 * tree-inline.c (find_builtin_longjmp_call_1): New.
900 (find_builtin_longjmp_call): New.
901 (inlinable_function_p): Use it.
903 2003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
905 * config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
906 * config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
907 * config/i386/i386.c (function_arg_pass_by_reference): New.
908 (ix86_va_arg): Support arguments passed by reference.
910 2003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
912 * cfgloopanal.c: New file.
913 * cfgloopmanip.c: New file.
914 * Makefile.in (cfgloopanal.o, cfgloopmanip.o): New.
915 (toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o,
916 cfglayout.o): Add dependency on cfgloop.h.
917 (cfgloop.o): Add flags.h dependency.
918 * basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags.
919 (VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed.
920 (struct loop, struct loops, flow_loops_find, flow_loops_update,
921 flow_loops_free, flow_loops_dump, flow_loop_dump,
922 flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove,
923 LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
924 LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p,
925 flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge,
926 loop_latch_edge, add_bb_to_loop, remove_bb_from_loops,
927 find_common_loop, verify_loop_structure): Declarations moved to ...
928 * cfgloop.h: New file.
929 * bb-reorder.c (reorder_basic_blocks): Modified.
930 * cfglayout.c: Include cfgloop.h.
931 (cleanup_unconditional_jumps, cfg_layout_redirect_edge,
932 cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure.
933 (break_superblocks): New static function.
934 (cfg_layout_finalize): Use it.
935 (cfg_layout_split_block): New function.
936 * cfglayout.h (struct reorder_block_def): Add copy and duplicated
938 (cfg_layout_initialize, cfg_layout_redirect_edge): Declaration
940 (cfg_layout_split_block): Declare.
941 * cfgloop.c: Include cfgloop.h and flags.h.
942 (flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find,
943 get_loop_body): Avoid signed versus unsigned comparison warnings.
944 (make_forwarder_block, flow_loops_find, loop_preheader_edge,
945 loop_latch_edge): Modified.
946 (verify_loop_structure): Modified to use flags stored in loop structure;
947 check irreducible loops.
948 (cancel_loop, cancel_loop_tree): New functions.
949 (estimate_probability): Use loop analysis code for predictions.
950 (estimate_loops_at_level): Avoid signed versus unsigned comparison
952 * doloop.c: Include cfgloop.h.
953 * loop.c: Include cfgloop.h.
954 * predict.c: Include cfgloop.h.
955 * toplev.c: Include cfgloop.h.
956 * unroll.c: Include cfgloop.h.
957 * tracer.c (tracer): Modified.
959 2003-01-24 Kazu Hirata <kazu@cs.umass.edu>
961 * config/h8300/h8300.c (get_shift_alg): Fix a typo.
963 2003-01-24 Ulrich Weigand <uweigand@de.ibm.com>
965 * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
966 * configure: Regenerate.
968 * config/s390/s390-protos.h (tls_symbolic_operand): Add prototype.
969 (tls_symbolic_reference_mentioned_p): Add prototype.
970 (s390_tls_get_offset): Add prototype.
971 (emit_pic_move): Remove prototype, replace by ...
972 (emit_symbolic_move): .. this new prototype.
974 * config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define.
975 (tls_model_chars): New global variable.
976 (s390_encode_section_info): Encode TLS model.
977 Use targetm.binds_local_p to check for local symbols.
978 (s390_strip_name_encoding): New function.
979 (TARGET_STRIP_NAME_ENCODING): Define.
981 (get_thread_pointer): New function.
982 (legitimize_tls_address): New function.
983 (legitimize_address): Call it.
984 (emit_pic_move): Remove, replace by ...
985 (emit_symbolic_move): ... this new function.
987 (larl_operand): Handle TLS operands.
988 (legitimate_constant_p): Likewise.
989 (s390_decompose_address): Likewise.
990 (s390_cannot_force_const_mem): New function.
991 (TARGET_CANNOT_FORCE_CONST_MEM): Define.
993 (s390_output_symbolic_const): Handle TLS unspecs.
994 (print_operand): New code 'J'.
995 (machine_function): Add struct member 'some_ld_name'.
996 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
998 (enum s390_builtin): New type.
999 (code_for_builtin_64, code_for_builtin_31): New global variables.
1000 (s390_init_builtins, s390_expand_builtin): New functions.
1001 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.
1003 * config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro.
1004 (ASM_OUTPUT_LABELREF): Define.
1005 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants.
1007 * config/s390/s390.md: Define TLS UNSPEC constants.
1008 ("movdi", "movsi"): Handle TLS operands.
1009 ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns.
1010 ("*tls_load_64", "*tls_load_31"): New insns.
1011 ("call_value_tls", "call_value_tls_exp"): New expanders.
1012 ("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31",
1013 "bas_tls_64", "bas_tls_31"): New insns.
1015 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
1017 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
1018 spe ABI is configured, if requested.
1020 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1022 * doc/passes.texi: Fix typo.
1024 2003-01-24 Andreas Schwab <schwab@suse.de>
1026 * stor-layout.c (excess_unit_span): Only define if used.
1028 2003-01-24 Jerry Quinn <jlquinn@optonline.net>
1030 * gcc/doc/invoke.texi (Optimization Options): List -O levels
1031 for each optimization flag.
1033 2003-01-24 Kazu Hirata <kazu@cs.umass.edu>
1035 * config/h8300/h8300.md (*andsi3_ashift_n_lower): New.
1037 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1039 * doc/bugreport.texi: Use @command instead of @code for commands.
1040 * doc/collect2.texi: Likewise.
1041 * doc/headerdirs.texi: Likewise.
1042 * doc/invoke.texi: Likewise.
1043 * doc/standards.texi: Likewise.
1044 * doc/tm.texi: Likewise.
1045 * doc/trouble.texi: Likewise.
1047 2003-01-24 Nick Clifton <nickc@redhat.com>
1049 * config/arm/arm.c (use_return_insn): Do not use a single return
1050 instruction for interrupt handelrs which have to create a stack
1052 (arm_expand_prologue): Do not pre-bias the return address of
1053 interrupt handlers which create a stack frame.
1055 2003-01-24 Nick Clifton <nickc@redhat.com>
1059 2002-08-12 Alexandre Oliva <aoliva@redhat.com>
1061 * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle
1062 med_cbranches. Fix logic in short_cbranches.
1064 2002-04-03 Alexandre Oliva <aoliva@redhat.com>
1066 * config/sh/sh.md (delay for cbranch): Don't annul delay
1068 * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for
1069 cbranch with unfilled delay slot on SH2e.
1070 (output_branch): Fill with a nop the delay slot of a
1071 branch that required a delay slot but didn't get one.
1073 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
1075 * doc/invoke.texi (SH options): Document -m2e.
1076 * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__.
1077 * config/sh/lib1funcs.asm: Likewise.
1078 * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E.
1079 * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and
1081 (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from
1083 (SH3E_BIT): Renamed to...
1084 (SH_E_BIT): ... this. Replace all uses.
1085 (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2.
1086 Replace all uses of TARGET_SH3E with TARGET_SH2E.
1087 (TARGET_SWITCHES): Added 2e.
1088 (OVERRIDE_OPTIONS): Set sh_cpu for SH2E.
1089 (processor_type): Added PROCESSOR_SH2E.
1090 * config/sh/sh.md: Replace all uses of TARGET_SH3E with
1091 TARGET_SH2E, except in sqrtsf2_i.
1092 (attribute cpu): Added sh2e.
1093 * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e.
1094 (MULTILIB_MATCHES): Use m2e multilib for m3e.
1095 * config.gcc: Add sh2e target support.
1097 2003-01-24 Phil Edwards <pme@gcc.gnu.org>
1099 Rename -W to -Wextra.
1100 * c-decl.c: Update comments.
1101 * c-typeck.c: Likewise.
1102 * flags.h: Likewise.
1103 * function.c: Likewise.
1105 * toplev.c: Update comments.
1106 (W_options): Add 'extra'.
1107 (display_help): Remove '-W'.
1108 (decode_W_option): Special warn_uninitialized treatment in the case
1110 * doc/invoke.texi: Update with new entries.
1112 2003-01-23 Richard Henderson <rth@redhat.com>
1114 * ifcvt.c (noce_process_if_block): Re-add check vs X being changed
1115 in no-else-block case. Add commentary.
1117 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1119 * configure.in: Revert last change.
1121 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1123 * configure.in: Don't include ansidecl.h in tconfig.h.
1124 * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2.
1125 * unwind-dw2-fde.h (last_fde): Use __attribute__, not
1128 * configure: Regenerate.
1130 2003-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1133 * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
1134 regs->nip. Fix rt_sigreturn frame layout. Add support for newer
1137 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1139 * cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
1141 2003-01-23 Ulrich Weigand <uweigand@de.ibm.com>
1143 * genattrtab.c (write_attr_get): Mark 'insn' paramter
1144 as ATTRIBUTE_UNUSED.
1146 2003-01-23 Richard Earnshaw <rearnsha@arm.com>
1148 * arm.c (thumb_base_register_rtx_p): New function.
1149 (thumb_index_register_rtx_p): New function.
1150 (thumb_legitimate_address_p): New function.
1151 (thumb_legitimate_offset_p): New function.
1152 * arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT.
1153 (ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid duplicate
1155 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p.
1156 (THUMB_LEGITIMATE_OFFSET): Delte.
1157 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset.
1158 * arm-protos.h (thumb_legitimate_address_p): Add prototype.
1159 (thumb_legitimate_offset_p): Likewise.
1161 2003-01-23 Andreas Schwab <schwab@suse.de>
1163 * unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused.
1165 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1167 * fixinc/Makefile.in (FL_LIST): Revert last change.
1169 2003-01-23 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1172 * invoke.texi (ftest-coverage): Fix broken cross-reference.
1173 Change @code to @command for gcov command.
1175 * gcc.texi: Adjust title of gcov section.
1177 * gcov.texi: Likewise.
1179 2003-01-22 Roger Sayle <roger@eyesopen.com>
1181 PR optimization/8423
1182 * cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when
1183 its argument is constant, or 0 if !flag_gcse.
1184 * simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1
1185 if it's argument is constant.
1186 * gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes.
1187 (hash_scan_set): Don't record CONSTANT_P_RTX expressions.
1188 (do_local_cprop): Don't propagate CONSTANT_P_RTX constants.
1189 * builtins.c (purge_builtin_constant_p): New function to force
1190 instantiation of any remaining CONSTANT_P_RTX nodes.
1191 * rtl.h (purge_builtin_constant_p): Prototype here.
1192 * toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p
1193 pass after GCSE and before loop.
1194 (flag_gcse): No longer static.
1195 * flags.h (flag_gcse): Prototype here.
1197 2003-01-22 Ulrich Weigand <uweigand@de.ibm.com>
1199 * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
1200 introduced by last change.
1202 2003-01-22 Andreas Schwab <schwab@suse.de>
1204 * ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning.
1206 2003-01-22 Kazu Hirata <kazu@cs.umass.edu>
1208 * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
1209 request a scratch reg on H8S when the shift count is 8.
1211 2003-01-22 Ulrich Weigand <uweigand@de.ibm.com>
1213 * config/s390/s390-protos.h (preferred_la_operand_p):
1214 Remove second parameter.
1215 * config/s390/s390.c (preferred_la_operand_p): Likewise.
1216 * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
1217 (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
1218 * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
1219 Add peepholes to transform ADD to LOAD ADDRESS.
1221 2003-01-22 Richard Earnshaw <rearnsha@arm.com>
1223 * arm.c (arm_address_register_rtx_p): New function.
1224 (arm_legitimate_address_p): New function.
1225 (arm_legitimate_index_p): New function.
1226 (legitimize_pic_address): Use arm_legitimate_index_p.
1227 * arm-protos.h (arm_legtimate_address_p): Add prototype.
1228 * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete.
1229 (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p.
1231 2003-01-22 Hartmut Penner <hpenner@de.ibm.com>
1233 * config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
1234 * config/s390/2064.md (define_bypass): Correct 'Load' and
1235 'Load-address' bypass values.
1237 2003-01-22 Andreas Schwab <schwab@suse.de>
1239 * config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.
1241 2003-01-21 Zack Weinberg <zack@codesourcery.com>
1243 * genautomata.c (output_internal_insn_latency_func,
1244 output_print_reservation_func): Short circuit when there is no
1245 automaton to generate code for.
1247 2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1249 * Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
1250 (df.o): Delete duplicate dependency on coretypes.h $(TM_H).
1252 2003-01-21 Geoffrey Keating <geoffk@apple.com>
1254 * config/rs6000/rs6000.md: Remove warning.
1255 (builtin_setjmp_receiver): Likewise.
1256 * config/darwin.c (update_stubs): Slightly improve terrible hack
1257 with identifiers. Add comment pointing out problems with it.
1258 (update_non_lazy_ptrs): Likewise.
1260 2003-01-21 Richard Henderson <rth@redhat.com>
1262 * dwarf2out.c (lookup_filename): Fix printf format warning.
1263 * system.h (fread_unlocked, fwrite_unlocked): Undef.
1265 * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
1266 (fixincl.o-warn, gnu-regex.o-warn): New.
1267 * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
1268 * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
1269 * fixinc/fixincl.c (process): Fix printf format warning.
1271 2003-01-21 Ulrich Weigand <uweigand@de.ibm.com>
1273 * dwarf2out (output_file_names): Don't crash if called
1274 with empty file_table.
1276 2003-01-21 Zack Weinberg <zack@codesourcery.com>
1278 * genautomata.c (output_internal_insn_latency_func): Add
1279 missing break statement to generated code.
1281 2003-01-21 Roger Sayle <roger@eyesopen.com>
1283 * stmt.c (same_case_target_p): New function to determine whether
1284 two case labels branch to the same target. Split out from...
1285 (group_case_nodes): ... here. Use same_case_target_p instead.
1286 (strip_default_case_nodes): Remove explicit case nodes
1287 that branch to the default destination.
1288 (expand_end_case_type): Call strip_default_case_nodes after
1289 group_case_nodes, to simplify the case-list before we count it.
1290 Only generate table_label RTX when actually needed. Try to share
1291 thiscase->exit_label and thiscase->data.case_stmt.default_label
1292 when a switch has no explicit default case. Simplify test for
1295 2003-01-21 Kazu Hirata <kazu@cs.umass.edu>
1297 * config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of
1299 (*negsf2_h8300hs): Likewise.
1300 (*addsi3_lshiftrt_16_zexthi): Likewise.
1301 (*iorhi3_lshiftrt_8): Likewise.
1303 2003-01-21 Ulrich Weigand <uweigand@de.ibm.com>
1305 * dwarf2out.c (fde_table_in_use): Mark GTY.
1306 (dwarf2out_cfi_label_num): New variable, marked GTY.
1307 (dwarf2out_cfi_label): Use it instead of static label_num.
1308 * emit-rtl.c (label_num): Mark GTY.
1310 2003-01-21 Kazu Hirata <kazu@cs.umass.edu>
1312 * config/h8300/h8300.c (output_plussi): Support H8/300.
1313 (compute_plussi_length): Likewise.
1314 (compute_plussi_cc): Likewise.
1315 * config/h8300/h8300.md (addsi_h8300): Use output_plussi to
1316 output assembly instructions.
1318 2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1320 * calls.c (fix_unsafe_tree): Prototype.
1322 * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn)
1323 (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn,
1324 insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn,
1325 c-parse.o-warn): Add -Wno-error.
1326 (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@".
1328 * configure.in (--enable-werror): Add new flag.
1329 * doc/install.texi (--enable-werror): Document.
1330 * configure: Regenerate.
1332 * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error.
1334 2003-01-21 Andreas Schwab <schwab@suse.de>
1336 * genautomata.c (output_internal_insn_latency_func): Fix missing
1337 close paren in output.
1339 2003-01-21 Zack Weinberg <zack@codesourcery.com>
1341 * genautomata.c: Space savings in generated code:
1342 (output_dfa_insn_code_func): Split out the table-enlargement
1343 path to an out-of-line static function, dfa_insn_code_enlarge.
1344 (output_internal_insn_latency_func): Use a lookup table for the
1346 (output_print_reservation_func): Use a lookup table for the
1349 2003-01-21 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
1352 * calls.c (fix_unsafe_tree): Split out from ...
1353 (expand_call): ... here. Use it on the function address too.
1355 2003-01-20 Richard Henderson <rth@redhat.com>
1357 * expr.h (default_must_pass_in_stack): Move decl outside ifdef.
1359 2003-01-20 Richard Henderson <rth@redhat.com>
1362 * stmt.c (expand_asm_operands): Validize memory operands.
1364 2003-01-20 Richard Henderson <rth@redhat.com>
1367 * ifcvt.c (noce_process_if_block): Correct arguments to
1368 modified_between_p for no-else-block case.
1370 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
1372 * config/h8300/h8300.c (const_costs): Remove a warning.
1373 (output_plussi): Likewise.
1374 (compute_plussi_length): Likewise.
1375 (compute_plussi_cc): Likewise.
1377 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
1379 * config/h8300/h8300.md (addsi_h8300): Remove the last
1382 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
1384 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
1386 2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1388 * system.h (__NO_STRING_INLINES): Define.
1390 2003-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1392 * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
1393 is not a scalar int mode.
1395 2003-01-20 Roger Sayle <roger@eyesopen.com>
1397 * cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL
1398 insn's notes following a substitution inside a libcall.
1400 2003-01-20 Zack Weinberg <zack@codesourcery.com>
1402 * configure.in: Check for system-provided 'uchar' type.
1403 * configure, config.in: Regenerate.
1404 * cpphash.h: Only typedef 'uchar' if the system doesn't.
1406 2003-01-20 Richard Henderson <rth@redhat.com>
1408 * expr.h (MUST_PASS_IN_STACK): Move implementation...
1409 * calls.c (default_must_pass_in_stack): ... here.
1411 2003-01-20 Vladimir Makarov <vmakarov@redhat.com>
1413 * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.
1415 * genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h.
1417 * genattr.c (main): Output default definition of AUTOMATON_ALTS.
1418 Wrap up definition of `insn_alts'.
1420 * genattrtab.c (main): Wrap up `insn_alts'.
1422 2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1424 * collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before
1426 * configure.in: Check for <ldfcn.h> and ldgetname() prototype.
1428 * config.in, configure: Regenerate.
1430 2003-01-20 Nick Clifton <nickc@redhat.com>
1432 * config/arm/arm.md (sibcall_epilogue): Add an
1433 UNSPEC_PROLOGUE_USE to prevent the link register from being
1436 Mon Jan 20 14:36:23 CET 2003 Jan Hubicka <jh@suse.cz>
1438 * i386.md (SSE cmov splitter): Handle memory operand in operand 5.
1440 2003-01-20 Andreas Schwab <schwab@suse.de>
1442 * system.h: Don't declare strsignal if the decl test hasn't been
1445 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
1447 * config/h8300/h8300.c (notice_update_cc): Don't assume that
1448 recog_data.operands[0] is always associated with cc0.
1450 2003-01-19 David Edelsohn <edelsohn@gnu.org>
1452 * collect2.c (ldgetname): Expand declaration to prototype.
1453 * read-rtl.c (atoll): Add prototype.
1454 * system.h (strsignal): Also declare if no declaration found.
1456 2003-01-19 Alexandre Oliva <aoliva@redhat.com>
1458 * config.gcc (mips64*-*-linux*): Added.
1459 * config/mips/linux64.h, config/mips/t-linux64: New file.
1460 * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
1461 * config/mips/mips.c (override_options): Use it.
1462 * config/mips/mips.h (TARGET_SWITCHES): Added...
1463 (SUBTARGET_TARGET_SWITCHES): New, empty by default.
1464 * Makefile.in (SPECS): New.
1465 (STAGESTUFF, specs, mostlyclean, install-common): Use it.
1466 * gcc.c (process_command): Move self-spec processing past spec
1468 * doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
1469 * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
1472 * doc/invoke.texi (-mabi-fake-default): Document.
1474 2003-01-19 Stephane Carrez <stcarrez@nerim.fr>
1476 * config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
1477 z_reg, z_reg_qi): Declare static and GTY().
1479 (create_regs_rtx): Don't create da_reg.
1480 ("gt-m68hc11.h"): Include for GTY roots.
1481 * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
1483 (m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
1484 (m68hc11_soft_tmp_reg): Likewise.
1485 * config/m68hc11/m68hc11-protos.h: Remove above declarations.
1487 2003-01-18 Kazu Hirata <kazu@cs.umass.edu>
1489 * basic-block.h: Fix comment formatting.
1490 * calls.c: Likewise.
1491 * combine.c: Likewise.
1492 * convert.c: Likewise.
1494 * haifa-sched.c: Likewise.
1495 * libgcc2.c: Likewise.
1497 * profile.c: Likewise.
1498 * system.h: Likewise.
1500 2003-01-18 Roger Sayle <roger@eyesopen.com>
1502 * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
1504 2003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1506 * ra-build.c (undef_to_size_word): Avoid `switch' warning.
1508 2003-01-17 Dale Johannesen <dalej@apple.com>
1510 * config/rs6000/rs6000.md (*floatsidf2_internal): Add earlyclobbers.
1511 (*floatunssidf2_internal): Ditto.
1513 2003-01-17 Kazu Hirata <kazu@cs.umass.edu>
1515 * alias.c: Fix comment typos.
1516 * basic-block.h: Likewise.
1517 * c-common.c: Likewise.
1518 * c-common.h: Likewise.
1519 * c-decl.c: Likewise.
1520 * c-opts.c: Likewise.
1521 * c-pragma.c: Likewise.
1522 * c-pretty-print.h: Likewise.
1524 * cfganal.c: Likewise.
1525 * cfgbuild.c: Likewise.
1526 * cfgcleanup.c: Likewise.
1527 * cfglayout.c: Likewise.
1528 * cfgrtl.c: Likewise.
1529 * convert.c: Likewise.
1530 * cpphash.h: Likewise.
1531 * cpplex.c: Likewise.
1532 * cpplib.h: Likewise.
1534 * diagnostic.c: Likewise.
1535 * diagnostic.h: Likewise.
1536 * dwarf2.h: Likewise.
1538 2003-01-17 Stan Shebs <shebs@apple.com>
1540 * config/darwin-protos.h: Forward-declare struct cpp_reader.
1542 2003-01-17 Douglas B Rupp <rupp@gnat.com>
1544 * config/alpha/alpha.c (alpha_need_linkage): Fix obvious
1545 mistake in last checkin.
1547 2003-01-17 Kazu Hirata <kazu@cs.umass.edu>
1549 * et-forest.c: Fix comment typos.
1550 * et-forest.h: Likewise.
1551 * except.c: Likewise.
1553 * flags.h: Likewise.
1557 * genattrtab.c: Likewise.
1558 * genautomata.c: Likewise.
1559 * gengtype.c: Likewise.
1560 * genrecog.c: Likewise.
1561 * global.c: Likewise.
1562 * gthr-rtems.h: Likewise.
1564 2003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1566 * i386.c (x86_function_profiler): Fix format specifier.
1568 2003-01-17 Richard Henderson <rth@redhat.com>
1570 * gengtype.c (walk_type): Allow paramN_is.
1572 2003-01-17 Nick Clifton <nickc@redhat.com>
1574 * config/i960/t-960bare (i960-c.o): Add missing newline escape.
1576 2003-01-16 Richard Henderson <rth@redhat.com>
1578 * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
1580 2003-01-16 Richard Henderson <rth@redhat.com>
1582 * config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
1583 (alpha_next_sequence_number): Likewise.
1584 (alpha_this_literal_sequence_number): Likewise.
1585 (alpha_this_gpdisp_sequence_number): Likewise.
1586 (struct alpha_funcs, alpha_funcs_num): Likewise.
1587 (struct alpha_links): Fix branch merge error.
1588 (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.
1590 2003-01-17 Alexandre Oliva <aoliva@redhat.com>
1592 * config/mips/mips.h: Don't use #elif. Reported by Kaveh
1595 2003-01-16 Kazu Hirata <kazu@cs.umass.edu>
1597 * ifcvt.c: Fix comment typos.
1599 * libgcc2.c: Likewise.
1600 * local-alloc.c: Likewise.
1602 * predict.c: Likewise.
1603 * ra-build.c: Likewise.
1605 * ra-colorize.c: Likewise.
1607 * ra-rewrite.c: Likewise.
1608 * regmove.c: Likewise.
1609 * reload.h: Likewise.
1610 * rtlanal.c: Likewise.
1611 * toplev.c: Likewise.
1613 * unwind-dw2-fde-glibc.c: Likewise.
1614 * vmsdbgout.c: Likewise.
1616 2003-01-16 Richard Henderson <rth@redhat.com>
1618 * dwarf2out.c (struct file_table): Remove.
1619 (FILE_TABLE_INCREMENT): Remove.
1620 (file_table): Make a varray; mark for GC. Update all users.
1621 (file_table_last_lookup_index): Extract from struct file_table.
1622 (output_file_names): Fix unsigned compare warnings.
1623 (add_name_attribute): Remove inline marker.
1624 (add_comp_dir_attribute): Split out from gen_compile_unit_die.
1625 (lookup_filename): Don't manage size of file_table.
1626 (init_file_table): Allocate file_table with GC.
1627 (dwarf2out_init): Don't record main_input_filename here.
1628 (dwarf2out_finish): Do it here instead.
1630 2003-01-16 Bruce Korb <bkorb@gnu.org>
1632 * gcc/fixinc/inclhack.def(limits_ifndef): QNX needs a bypass, too.
1634 2003-01-16 Kaz Kojima <kkojima@gcc.gnu.org>
1636 * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
1637 instead of rotldi3_mextr.
1639 2003-01-16 Vladimir Makarov <vmakarov@redhat.com>
1641 * haifa-sched.c (move_insn): Restore moving all schedule group.
1642 (set_priorities): Restore taking SCHED_GROUP_P into account.
1644 * sched-deps.c (add_dependence): Restore processing the last group
1646 (remove_dependence, group_leader): Restore the functions.
1647 (set_sched_group_p): Restore adding dependencies from previous insn
1649 (compute_forward_dependences): Restore usage of group_leader.
1651 * sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
1654 * sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
1656 (can_schedule_ready_p): Ditto.
1657 (add_branch_dependences): Restore skipping over the group insns.
1659 2003-01-16 Stephane Carrez <stcarrez@nerim.fr>
1661 * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
1662 68HC12 pre/post inc/dec side effects.
1664 2003-01-16 Stephane Carrez <stcarrez@nerim.fr>
1666 * config/m68hc11/m68hc11.h (MASK_M6812): Define.
1668 Thu Jan 16 21:50:25 2003 J"orn Rennecke <amylaar@onetel.net.uk>
1670 * sh.md (mshflo_w_x): Fix description of operation.
1672 2003-01-16 Zack Weinberg <zack@codesourcery.com>
1674 * config/rs6000/rs6000.h: Mention Altivec registers in
1675 commentary. Fix typo.
1677 2003-01-16 David Edelsohn <edelsohn@gnu.org>
1679 * config/rs6000/rs6000.md (movti_string): Remove clobber.
1680 * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
1681 generate PARALLEL with clobber for TARGET_POWER.
1683 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1685 * ra-colorize.c (colorize_one_web): Initialize variable.
1686 * regmove.c (fixup_match_1): Likewise.
1687 * reload1.c (reload_as_needed): Likewise.
1688 * sdbout.c (SET_KNOWN_TYPE_TAG): Add cast.
1690 2003-01-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1692 * cfgloop.c (flow_loops_find): Fix handling of abnormal edges.
1694 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1696 * dbxout.c (lastfile, cwd): Fix `unused' warning.
1697 * dwarf2out.c (fde_table_in_use, current_funcdef_fde,
1698 dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
1699 is_main_source, file_table, decl_die_table_in_use,
1700 abbrev_die_table_in_use, line_info_table_in_use,
1701 separate_line_info_table_in_use, pubname_table_in_use,
1702 arange_table_in_use, ranges_table_in_use,
1703 current_function_has_inlines): Likewise.
1704 * flow.c (life_analysis): Likewise.
1705 * genemit.c (gen_insn): Likewise.
1706 * protoize.c (cplus_suffix): Likewise.
1708 * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
1709 * arm.h (ROUND_UP_WORD): Likewise.
1711 * arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
1713 * emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos,
1714 init_emit_once): Likewise.
1715 * flow.c (mark_regs_live_at_end, calculate_global_regs_live):
1717 * function.c (assign_stack_temp_for_type): Likewise.
1718 * loop.c (loop_invariant_p): Likewise.
1719 * recog.c (push_operand): Likewise.
1720 * regclass.c (init_reg_sets_1): Likewise.
1721 * reload.c (update_auto_inc_notes): Likewise.
1722 * reload1.c (reload_as_needed, emit_input_reload_insns): Likewise.
1723 * stmt.c (expand_asm_operands): Likewise.
1724 * stor-layout.c (start_record_layout): Likewise.
1726 2003-01-16 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
1728 * config/c4x/c4x.md (epilogue): Correct last patch.
1730 2003-01-15 Richard Henderson <rth@redhat.com>
1732 * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
1733 also check that GP is being used.
1734 (alpha_find_lo_sum_using_gp): New.
1735 (alpha_does_function_need_gp): Use get_attr_usegp.
1736 * config/alpha/alpha-protos.h: Update.
1737 * config/alpha/alpha.md (attr usegp): New. Annotate patterns
1740 2003-01-15 Roger Sayle <roger@eyesopen.com>
1742 * gcse.c (one_cprop_pass): Change function arguments to take both
1743 cprop_jumps and bypass_jumps flags instead of just alter_jumps.
1744 (gcse_main): Update calls to one_cprop_pass, disabling bypassing.
1745 (bypass_jumps): New function to perform separate jump bypassing pass.
1746 * rtl.h (bypass_jumps): Add function prototype.
1747 * timevar.def (TV_BYPASS): New timing variable.
1748 * toplev.c (enum dump_file_index): Add new entry DFI_bypass.
1749 (dump_file): New entry for the bypass RTL dump file.
1750 (rest_of_compilation): Insert new jump bypassing optimization
1752 * doc/passes.texi: Document new pass.
1754 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1756 * som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
1757 ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
1758 * pa.h (TARGET_SOM_SDEF): Define.
1759 * pa-hpux11.h (TARGET_SOM_SDEF): Define.
1761 2003-01-16 Stephane Carrez <stcarrez@nerim.fr>
1763 * config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
1764 allocate 4-bytes of locals on 68HC11.
1765 (expand_epilogue): Likewise.
1766 (m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.
1768 2003-01-15 Stephane Carrez <stcarrez@nerim.fr>
1770 * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
1771 and -mshort-double to the assembler to specify the ABI.
1772 (LINK_SPEC): Likewise.
1773 (CPP_SPEC): Pass HCS12 specific define.
1774 (MASK_M68S12): New define.
1775 (TARGET_M68S12): Likewise.
1776 (TARGET_SWITCHES): New options -m68hcs12 and -m68S12.
1777 (TARGET_VERSION): Update.
1778 * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define.
1779 (LINK_SPEC): Update.
1781 * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update.
1782 * doc/invoke.texi (M68hc1x Options): Document -m68hcs12.
1784 2003-01-15 Stephane Carrez <stcarrez@nerim.fr>
1786 * config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
1789 2003-01-15 Josef Zlomek <zlomekj@suse.cz>
1791 * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
1792 flag before setting it.
1794 2003-01-15 Roger Sayle <roger@eyesopen.com>
1796 * c-semantics.c (genrtl_while_stmt): Improve initial RTL generation
1797 when loop condition is known true, i.e. "while (1) { ... }".
1798 (genrtl_for_stmt): Similarly for "for" statements.
1800 2003-01-15 Roger Sayle <roger@eyesopen.com>
1802 * real.c (real_sqrt): Return a bool result indicating whether
1803 a floating point exception or trap should be raised.
1804 * real.h (real_sqrt): Update function prototype.
1805 * builtins.c (fold_builtin): Only fold non-trapping square
1806 roots unless we're ignoring errno and trapping math.
1808 2003-01-15 John David Anglin <dave.anglin@nrc.gc.ca>
1810 * expr.h (emit_conditional_add): Add PARAMS to declaration.
1811 * gengtype-lex.l (malloc, realloc): Move defines after include of
1812 system.h. Remove duplicate include of system.h.
1814 2003-01-15 Roger Sayle <roger@eyesopen.com>
1817 * optabs.c (expand_unop): When manipulating the FP sign bit
1818 using integer operations, account for targets with different
1819 integer and FP word orders.
1820 (expand_abs): Likewise.
1822 2003-01-15 David Edelsohn <edelsohn@gnu.org>
1824 * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include
1825 file extension in section name.
1827 2003-01-15 Richard Earnshaw <rearnsha@arm.com>
1829 * flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with
1832 2003-01-15 Richard Earnshaw <rearnsha@arm.com>
1834 * arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define.
1835 (HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define.
1836 (ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses.
1837 (ARM_PRINT_OPERAND_ADDRESS): Likewise.
1839 Wed Jan 15 12:23:21 CET 2003 Jan Hubicka <jh@suse.cz>
1842 * global.c (struct allocno): Add no_stack_reg.
1843 (global_conflicts): Set no_stack_reg.
1846 * convert.c (convert_to_real): Fold - and abs only when profitable.
1847 * fold-const.c (fold): Fold truncates in - and abs.
1849 2003-01-15 Josef Zlomek <zlomekj@suse.cz>
1851 Segher Boessenkool <segher@koffie.nl>
1853 * predict.c (real_inv_br_prob_base): New variable.
1854 (propagate_freq): Use multiply by reciprocal instead of
1855 division. Don't divide by 1.0 at all.
1856 (estimate_bb_frequencies): Similar.
1858 2003-01-15 Alexandre Oliva <aoliva@redhat.com>
1860 * configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
1861 * configure: Rebuilt.
1863 2003-01-15 Hartmut Penner <hpenner@de.ibm.com>
1865 * config/s390/s390.c (s390_safe_attr_type): New function.
1866 (s390_use_dfa_pipeline_interface): New function, return true for z900.
1867 (s390_issue_rate): New function.
1868 (s390_agen_dep_p): New function.
1869 (addr_generation_dependency_p): Use 's390_safe_attr_type'.
1870 (s390_adjust_cost): Return 'cost' if new DFA is used.
1871 (s390_adjust_priority): Delete function.
1872 * config/s390/s390-protos.h: (s390_agen_dep_p): New prototype.
1873 * config/s390/s390.md (atype attribute): Attribute 'atype' default
1874 determined by 'op_type'.
1875 (type attribute): Added more type attributes.
1876 * config/s390/2064.md: New DFA description for z900 pipeline.
1878 2003-01-15 Alexandre Oliva <aoliva@redhat.com>
1880 * config/i386/i386.c (ix86_expand_vector_move): Validize constant
1881 forced to memory. Fixes PR bootstrap/9036.
1883 * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
1884 to set $gp before the call.
1886 2003-01-14 Richard Henderson <rth@redhat.com>
1888 * config/alpha/alpha.c (alpha_expand_mov): Use correct mode
1889 for force_const_mem.
1891 2003-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1893 * genattr.c (main): Rearrange output to avoid prototype warning.
1894 * genautomata.c (transform_3): Fix ambiguous-else warning.
1895 * local-alloc.c (requires_inout): Add parentheses around
1896 assignment used as truth-value.
1897 * timevar.c: Move system includes above local includes. Include
1899 * Makefile.in (timevar.o): Depend on toplev.h.
1901 2003-01-14 Denis Chertykov <denisc@overta.ru>
1903 * config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
1904 (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
1906 * config/ip2k/ip2k.c (ip2k_attribute_table): New table of
1908 (TARGET_ATTRIBUTE_TABLE): New macro.
1909 (valid_machine_type_attribute): Remove.
1910 (valid_machine_decl_attribute): Remove.
1911 (ip2k_handle_progmem_attribute): New function.
1912 (ip2k_handle_fndecl_attribute): New function.
1914 2003-01-10 Andrew Haley <aph@redhat.com>
1916 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
1917 registers to be in correct order. Add rip.
1919 2003-01-14 Kazu Hirata <kazu@cs.umass.edu>
1921 * config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New.
1922 (*iorsi3_and_lshiftrt_9_sb): Likewise.
1924 Tue Jan 14 00:45:33 CET 2003 Jan Hubicka <jh@suse.cz>
1926 * convert.c (strip_float_extensions): Look for narrowest type handling
1929 * fold-const.c (fold): Fold (double)float1 CMP (double)float2 into
1931 * convert.c (strip_float_extensions): Make global.
1932 * tree.h (strip_float_extensions): Declare.
1934 2003-01-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
1936 * timevar.def: define TV_NAME_LOOKUP.
1937 * timevar.c (timevar_pop): Be verbose when aborting.
1939 2003-01-13 Andreas Schwab <schwab@suse.de>
1941 * Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
1942 $(parsedir), just move the temporary file at the end.
1943 ($(parsedir)/gengtype-yacc.c): Likewise.
1945 2003-01-13 Alexandre Oliva <aoliva@redhat.com>
1947 * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
1948 ${ac_tool_prefix} to ADAC or CC. Protect them from word
1950 * configure: Rebuilt.
1952 2003-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1954 * config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
1955 internal_mcount): Don't use PARAMS.
1956 (monstartup, _mcleanup, internal_mcount, moncontrol): Convert to
1958 (internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED.
1960 2003-01-13 Andreas Schwab <schwab@suse.de>
1962 * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
1965 2003-01-13 Kazu Hirata <kazu@cs.umass.edu>
1967 * config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
1968 (*iorsi3_and_lshiftrt_n_sb): Likewise.
1970 2003-01-12 Mark Mitchell <mark@codesourcery.com>
1973 * c-lex.c (c_lex): Set the token value to error_mark_node for
1974 invalid numeric constants.
1976 2003-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1978 * c-pch.c (asm_file_startpos): Change to `long'.
1979 (pch_init): Use ftell, not ftello.
1980 (c_common_write_pch): Use ftell/fseek, not ftello/fseeko.
1981 Use `long' instead of `off_t'.
1982 (c_common_read_pch): Likewise.
1983 * ggc-common.c (gt_pch_save): Use long/ftell instead of
1986 2003-01-12 Alan Modra <amodra@bigpond.net.au>
1988 * expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
1990 2003-01-11 Richard Earnshaw (rearnsha@arm.com)
1992 * arm-protos.h (struct cpp_reader): Add declaration.
1994 Sat Jan 11 11:02:58 CET 2003 Jan Hubicka <jh@suse.cz>
1997 * i386.c (output_fp_compare): Fix typo.
1999 2003-01-10 David Edelsohn <edelsohn@gnu.org>
2001 * config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.
2003 2003-01-10 Geoffrey Keating <geoffk@apple.com>
2005 * Makefile.in (parsedir): New variable.
2006 (docobjdir): New variable.
2007 (c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o,
2008 gengtype-lex.c, gengtype-yacc.c): Use parsedir.
2009 (info, cpp.info, gcc.info, gccint.info, gccinstall.info,
2010 cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7,
2011 gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man):
2013 * objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y,
2014 objc.maintainer-clean): Use parsedir.
2016 * varasm.c (struct constant_descriptor_rtx): Remove unused
2019 * toplev.c (documented_lang_options): Document -Winvalid-pch.
2021 2003-01-10 Richard Henderson <rth@redhat.com>
2023 * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set.
2024 (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill.
2026 2003-01-10 Richard Henderson <rth@redhat.com>
2028 * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
2029 not INTEGRAL_MODE_P when widening extensions.
2031 2003-01-10 Richard Henderson <rth@redhat.com>
2033 * config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
2035 2003-01-10 Geoffrey Keating <geoffk@apple.com>
2037 * ggc-page.c (ggc_collect): Avoid overflow computing
2040 * Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
2041 (RANLIB_TEST_FOR_TARGET): Delete. Don't pass down to sub-makes.
2043 * mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET.
2045 Fri Jan 10 22:05:35 CET 2003 Jan Hubicka <jh@suse.cz>
2047 * ifcvt.c (noce_try_addcc): Do not call emit_conditional_add
2048 with weird operands.
2050 2003-01-10 Dale Johannesen <dalej@apple.com>
2052 * calls.c (load_register_parameters): Add is_sibcall, sibcall_failure
2053 parameters. Call check_sibcall_argument_overlap if indicated.
2054 (check_sibcall_argument_overlap): Add mark_stored_args_map
2055 parameter. Don't mark parameter area as clobbered if not set.
2056 (expand_call): Adjust calls to above.
2058 2003-01-10 Kelley Cook <kelleycook@comcast.net>
2060 * configure.in (linker read-only and read-write section mixing):
2061 Squelch some assembler warnings.
2062 * configure: Likewise.
2064 2003-01-10 Hartmut Penner <hpenner@de.ibm.com>
2066 * doc/invoke.texi: Document -mtune, delete -mcpu
2067 option for S/390 and zSeries.
2068 * config/s390/s390.c (s390_tune_string) New variable.
2069 (s390_cpu_string) Delete variable.
2070 (override_options): Use s390_tune_string instead of
2072 * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'.
2074 2003-01-10 Kazu Hirata <kazu@cs.umass.edu>
2076 * config/h8300/h8300.md (*iorsi3_ashift_31): New.
2078 2003-01-10 Josef Zlomek <zlomekj@suse.cz>
2080 * jump.c (next_nonnote_insn_in_loop): New function.
2081 (copy_loop_headers): Use next_nonnote_insn_in_loop instead of
2083 (duplicate_loop_exit_test). Likewise.
2085 2003-01-09 Geoffrey Keating <geoffk@apple.com>
2087 Merge from pch-branch:
2089 2003-01-06 Geoffrey Keating <geoffk@apple.com>
2091 * ggc-page.c (ggc_pch_read): Update the statistics after a PCH
2094 2002-12-24 Geoffrey Keating <geoffk@apple.com>
2096 * cpplib.c (count_registered_pragmas): New function.
2097 (save_registered_pragmas): New function.
2098 (_cpp_save_pragma_names): New function.
2099 (restore_registered_pragmas): New function.
2100 (_cpp_restore_pragma_names): New function.
2101 * cpphash.h (_cpp_save_pragma_names): Prototype.
2102 (_cpp_restore_pragma_names): Likewise.
2103 * cpppch.c (struct save_macro_item): Split from save_macro_data.
2104 (struct save_macro_data): New field 'saved_pragmas'.
2105 (save_macros): Update for changes to struct save_macro_data.
2106 (cpp_prepare_state): Call _cpp_save_pragma_names, update
2107 for changes to struct save_macro_data.
2108 (cpp_read_state): Call _cpp_restore_pragma_names, update
2109 for changes to struct save_macro_data.
2111 * cpppch.c (cpp_read_state): Restore the hashtable references
2114 * tree.h (built_in_decls): Mark for PCH.
2116 * dbxout.c (lastfile): Don't mark for PCH.
2118 * ggc.h: Document PCH calls into memory managers.
2120 2002-12-18 Geoffrey Keating <geoffk@apple.com>
2122 * doc/invoke.texi (Precompiled Headers): Document the
2123 directory form of PCH.
2124 * cppfiles.c (validate_pch): New function.
2125 (open_file_pch): Search suitably-named directories for PCH files.
2127 2002-12-14 Geoffrey Keating <geoffk@apple.com>
2129 * doc/gty.texi (GTY Options): Document chain_next, chain_prev,
2131 (Type Information): Mention that the information is also
2132 used to implement PCH.
2133 * doc/passes.texi (Passes): Improve documentation of
2134 language-specific files.
2136 2002-12-11 Geoffrey Keating <geoffk@apple.com>
2138 * gengtype.c (struct write_types_data): Add reorder_note_routine field.
2139 (struct walk_type_data): Add reorder_fn field.
2140 (walk_type): Process 'reorder' option.
2141 (write_types_process_field): Reorder parameters to gt_pch_note_object,
2142 call reorder_note_routine.
2143 (write_func_for_structure): Reorder parameters to gt_pch_note_object.
2144 (ggc_wtd): Update for change to struct write_types_data.
2145 (pch_wtd): Likewise.
2146 * ggc.h (gt_pch_note_object): Reorder parameters.
2147 (gt_handle_reorder): New definition.
2148 (gt_pch_note_reorder): New prototype.
2149 * ggc-common.c (struct ptr_data): Add reorder_fn.
2150 (gt_pch_note_object): Reorder parameters.
2151 (gt_pch_note_reorder): New.
2152 (gt_pch_save): Call reorder_fn.
2153 * stringpool.c (gt_pch_n_S): Update for change to gt_pch_note_object.
2155 * dbxout.c (cwd): Don't mark for PCH.
2157 2002-12-09 Geoffrey Keating <geoffk@apple.com>
2159 * gengtype.c (finish_root_table): Fix some warnings.
2160 (write_root): Handle TYPE_STRING.
2161 * ggc.h (gt_ggc_m_S): Add prototype.
2162 * stringpool.c (gt_ggc_m_S): New function.
2164 2002-11-30 Geoffrey Keating <geoffk@apple.com>
2166 * dwarf2out.c (dw2_string_counter): New.
2167 (AT_string_form): Use it.
2168 (same_dw_val_p): Update for removal of hashtable.h hash tables.
2170 2002-11-22 Geoffrey Keating <geoffk@apple.com>
2172 * dbxout.c: Include gt-dbxout.h.
2173 (lastfile): Mark for PCH/GGC.
2175 (struct typeinfo): Likewise.
2176 (typevec): Likewise.
2177 (typevec_len): Likewise.
2178 (next_type_number): Likewise.
2179 (struct dbx_file): Likewise.
2180 (current_file): Likewise.
2181 (next_file_number): Likewise.
2182 (dbxout_init): Allocate typevec, struct dbx_file with GGC.
2183 (dbxout_start_source_file): Allocate struct dbx_file with GGC.
2184 (dbxout_end_source_file): Don't free struct dbx_file.
2185 (dbxout_type): Use GGC to allocate typevec.
2186 * Makefile.in (dbxout.o): Depend on gt-dbxout.h, $(GGC_H).
2187 (GTFILES): Add dbxout.c.
2188 (gt-dbxout.h): New rule.
2190 * Makefile.in (c-pch.o): Add debug.h as dependency.
2191 * c-pch.c: Include debug.h.
2192 (pch_init): Call start_source_file to keep nesting right.
2193 (c_common_read_pch): Add orig_name parameter. Call
2194 start_source_file debug hook. Call end_source_file debug hook.
2195 * c-common.h (c_common_read_pch): Update prototype.
2196 * cpplib.h (struct cpp_callbacks): Add fourth field to read_pch
2198 * cppfiles.c (struct include_file): Add new field `header_name'.
2199 (find_or_create_entry): Default it to `name'.
2200 (open_file_pch): Set it to the original header file searched for.
2201 (stack_include_file): Don't stack an empty buffer, just handle
2202 PCH files immediately. Pass header_name field to read_pch callback.
2204 2002-11-19 Geoffrey Keating <geoffk@apple.com>
2206 * function.c (funcdef_no): Mark to be saved in a PCH.
2208 2002-11-15 Geoffrey Keating <geoffk@apple.com>
2210 * ggc-page.c (ggc_pch_read): Remove unused 'bmap_size'.
2212 * cpppch.c (cpp_read_state): Correct size reallocated for 'defn'.
2214 2002-11-14 Geoffrey Keating <geoffk@apple.com>
2216 * optabs.h (code_to_optab): Add GTY marker.
2218 2002-11-13 Geoffrey Keating <geoffk@apple.com>
2220 * Makefile.in (GTFILES): Add cpplib.h.
2221 * c-common.h (struct c_common_identifier): Don't skip 'node' field.
2222 * c-decl.c (build_compound_literal): Don't use var_labelno.
2223 * cpplib.h (struct cpp_hashnode): Use gengtype to mark.
2224 * dwarf2asm.c (dw2_force_const_mem): Don't use const_labelno.
2225 * varasm.c (const_labelno): Use gengtype to mark.
2226 (var_labelno): Likewise.
2227 (in_section): Likewise.
2228 (in_named_name): Likewise.
2229 (struct in_named_entry): Likewise.
2230 (in_named_htab): Likewise.
2231 (set_named_section_flags): Use GGC to allocate struct in_named_entry.
2232 (init_varasm_once): Use GGC to allocate in_named_htab.
2233 * config/darwin.c (current_pic_label_num): Mark for PCH.
2235 2002-11-11 Geoffrey Keating <geoffk@apple.com>
2237 * ggc-simple.c (init_ggc_pch): New stub procedure.
2238 (ggc_pch_count_object): Likewise.
2239 (ggc_pch_total_size): Likewise.
2240 (ggc_pch_this_base): Likewise.
2241 (ggc_pch_alloc_object): Likewise.
2242 (ggc_pch_prepare_write): Likewise.
2243 (ggc_pch_write_object): Likewise
2244 (ggc_pch_finish): Likewise.
2245 (ggc_pch_read): Likewise.
2247 2002-11-08 Geoffrey Keating <geoffk@apple.com>
2249 * c-pch.c (c_common_write_pch): Write the macro definitions after
2251 (c_common_read_pch): Call cpp_prepare_state. Restore the macro
2252 definitions after the GCed data.
2253 * cpplib.c (save_macros): New.
2255 (cpp_write_pch_deps): Split out of cpp_write_pch.
2256 (cpp_write_pch_state): Split out of cpp_write_pch.
2257 (cpp_write_pch): Delete.
2258 (struct save_macro_data): Delete.
2259 (cpp_prepare_state): New.
2260 (cpp_read_state): Erase and restore initial macro definitions.
2261 * cpplib.h (struct save_macro_data): Forward-declare.
2262 (cpp_write_pch_deps): Prototype.
2263 (cpp_write_pch_state): Prototype.
2264 (cpp_write_pch): Delete prototype.
2265 (cpp_prepare_state): Prototype.
2266 (cpp_read_state): Add fourth argument.
2268 2002-11-04 Geoffrey Keating <geoffk@apple.com>
2270 * gengtype.c (adjust_field_rtx_def): Don't use skip on valid fields.
2271 (write_array): Remove warning.
2273 * gengtype.c (contains_scalar_p): New.
2274 (finish_root_table): Add the table to all languages, even if it's
2276 (write_roots): Output gt_pch_scalar_rtab.
2277 * ggc-common.c (gt_pch_save): Write out scalars.
2278 (gt_pch_restore): Read scalars back.
2280 * ggc-page.c (OBJECTS_IN_PAGE): New macro.
2281 (struct page_entry): Delete pch_page field.
2282 (ggc_recalculate_in_use_p): Use OBJECTS_IN_PAGE.
2283 (clear_marks): Likewise.
2284 (sweep_pages): Likewise.
2285 (poison_pages): Likewise.
2286 (ggc_print_statistics): Likewise.
2287 (ggc_pch_read): Don't free objects read from a PCH.
2288 Properly set up in_use_p and page_tails.
2290 2002-10-25 Geoffrey Keating <geoffk@apple.com>
2292 * gengtype.c (struct write_types_data): New.
2293 (struct walk_type_data): Make `cookie' const; add extra
2294 prev_val item; add `orig_s' field.
2295 (walk_type): Update prev_val[3].
2296 (write_types_process_field): New.
2297 (write_func_for_structure): Take write_types_data structure.
2301 (write_types_local_process_field): New.
2302 (gc_mark_process_field): Delete.
2303 (write_local_func_for_structure): New.
2304 (gc_mark_func_name): Delete.
2305 (write_gc_types): Delete.
2307 (finish_root_table): Don't include 'ggc_' in PFX.
2308 (write_root): Rename from write_root. Fill pchw field of structures.
2310 (write_roots): Rename from write_gc_roots. Split out to write_array.
2311 Update to changes to other routines. Write gt_pch_cache_rtab table.
2312 (main): Write PCH walking routines.
2313 * ggc-common.c: Include toplev.h, sys/mman.h.
2314 (ggc_mark_roots): For cache hashtables, also mark the hash table
2315 and the array of entries.
2317 (struct ptr_data): New.
2318 (POINTER_HASH): New.
2319 (gt_pch_note_object): New.
2320 (saving_htab_hash): New.
2321 (saving_htab_eq): New.
2322 (struct traversal_state): New.
2325 (compare_ptr_data): New.
2326 (relocate_ptrs): New.
2327 (write_pch_globals): New.
2328 (struct mmap_info): New.
2330 (gt_pch_restore): New.
2331 * ggc-page.c (ROUND_UP_VALUE): New.
2333 (struct page_entry): Add field `pch_page'.
2334 (init_ggc): Use ROUND_UP.
2335 (struct ggc_pch_data): Declare.
2336 (init_ggc_pch): New.
2337 (ggc_pch_count_object): New.
2338 (ggc_pch_total_size): New.
2339 (ggc_pch_this_base): New.
2340 (ggc_pch_alloc_object): New.
2341 (ggc_pch_prepare_write): New.
2342 (ggc_pch_write_object): New.
2343 (ggc_pch_finish): New.
2344 (ggc_pch_read): New.
2345 * ggc.h (gt_pointer_operator): New.
2346 (gt_note_pointers): New.
2347 (gt_pch_note_object): New prototype.
2348 (gt_pointer_walker): New.
2349 (struct ggc_root_tab): Use gt_pointer_walker, add `pchw' field.
2350 (LAST_GGC_ROOT_TAB): Update.
2351 (gt_pch_cache_rtab): Declare.
2352 (gt_pch_scalar_rtab): Declare.
2353 (struct ggc_cache_tab): Use gt_pointer_walker, add `pchw' field.
2354 (LAST_GGC_CACHE_TAB): Update.
2355 (gt_pch_save_stringpool): Declare.
2356 (gt_pch_restore_stringpool): Declare.
2357 (gt_pch_p_S): Declare.
2358 (gt_pch_n_S): Declare.
2359 (struct ggc_pch_data): Forward-declare.
2360 (init_ggc_pch): Declare.
2361 (ggc_pch_count_object): Declare.
2362 (ggc_pch_total_size): Declare.
2363 (ggc_pch_this_base): Declare.
2364 (ggc_pch_alloc_object): Declare.
2365 (ggc_pch_prepare_write): Declare.
2366 (ggc_pch_write_object): Declare.
2367 (ggc_pch_finish): Declare.
2368 (ggc_pch_read): Declare.
2369 (gt_pch_save): Declare.
2370 (gt_pch_restore): Declare.
2371 * fold-const.c (size_int_type_wide): Allocate size_htab using GGC.
2372 * emit-rtl.c (init_emit_once): Allocate const_int_htab,
2373 const_double_htab, mem_attrs_htab using GGC.
2374 * c-pch.c: Include ggc.h.
2375 (pch_init): Allow reading PCH file back.
2376 (c_common_write_pch): Call gt_pch_save.
2377 (c_common_read_pch): Call gt_pch_restore.
2378 * c-parse.in (init_reswords): Delete now-untrue comment.
2379 Allocate ridpointers using GGC.
2380 * c-objc-common.c (c_objc_common_finish_file): Write PCH before
2381 calling expand_deferred_fns.
2382 * c-common.h (ridpointers): Mark for GTY machinery.
2383 * Makefile.in (stringpool.o): Update dependencies.
2384 (c-pch.o): Update dependencies.
2385 (ggc-common.o): Update dependencies.
2386 * stringpool.c: Include gt-stringpool.h.
2389 (struct string_pool_data): New.
2391 (gt_pch_save_stringpool): New.
2392 (gt_pch_restore_stringpool): New.
2393 * tree.c (init_ttree): Make type_hash_table allocated using GC.
2395 2002-10-04 Geoffrey Keating <geoffk@apple.com>
2397 * gengtype.c (adjust_field_rtx_def): Don't pass size_t to printf.
2398 (output_mangled_typename): Don't pass size_t to printf.
2400 * tree.h (union tree_type_symtab): Add tag to `address' field.
2401 (union tree_decl_u2): Add tag to 'i' field.
2402 * varasm.c (union rtx_const_un): Add tags to all fields.
2403 * gengtype.c (struct walk_type_data): New.
2404 (output_escaped_param): Take struct walk_type_data parameter.
2405 (write_gc_structure_fields): Delete.
2407 (write_gc_marker_routine_for_structure): Delete.
2408 (write_func_for_structure): New.
2409 (gc_mark_process_field): New.
2410 (gc_mark_func_name): New.
2411 (gc_counter): Delete.
2412 (write_gc_types): Use write_func_for_structure.
2413 (write_gc_roots): Use walk_type.
2415 2002-10-02 Geoffrey Keating <geoffk@apple.com>
2417 * ggc-common.c (ggc_mark_roots): Delete 'x'.
2418 (ggc_splay_dont_free): Fix warning about unused 'x'.
2419 (ggc_print_common_statistics): Remove warnings.
2421 2002-10-01 Mike Stump <mrs@apple.com>
2423 * ggc-common.c (ggc_splay_alloc): Actually return the allocated area.
2424 * gengtype.c (write_gc_structure_fields): Handle param[digit]_is.
2426 2002-09-01 Geoffrey Keating <geoffk@redhat.com>
2427 Catherine Moore <clm@redhat.com>
2429 * Makefile (c-pch.o): Update dependencies.
2430 (LIBCPP_OBJS): Add cpppch.o.
2432 * c-common.c (c_common_init): Don't call pch_init here.
2433 * c-common.h (c_common_read_pch): Update prototype.
2434 * c-lex.c (c_common_parse_file): Call pch_init here.
2435 * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-pch, -fpch-deps.
2436 (c_common_decode_option): Handle them.
2437 * c-pch.c: Include c-pragma.h.
2438 (save_asm_offset): Delete.
2439 (pch_init): Move contents of save_asm_offset into here, call
2441 (c_common_write_pch): Call cpp_write_pch.
2442 (c_common_valid_pch): Warn only when -Winvalid-pch. Call
2444 (c_common_read_pch): Add NAME parameter. Call cpp_read_state.
2445 * cppfiles.c (stack_include_file): Update for change to
2446 parameters of cb.read_pch.
2447 * cpphash.h (struct cpp_reader): Add `savedstate' field.
2448 * cpplib.h (struct cpp_options): Add `warn_invalid_pch' and
2449 `restore_pch_deps' fields.
2450 (struct cpp_callbacks): Add NAME parameter to `read_pch'.
2451 (cpp_save_state): Prototype.
2452 (cpp_write_pch): Prototype.
2453 (cpp_valid_state): Prototype.
2454 (cpp_read_state): Prototype.
2455 * cpppch.c: New file.
2456 * flags.h (version_flag): Remove prototype.
2457 * mkdeps.c (deps_save): New.
2458 (deps_restore): New.
2459 * mkdeps.h (deps_save): Prototype.
2460 (deps_restore): Prototype.
2461 * toplev.c (late_init_hook): Delete.
2462 (version_flag): Make static again.
2463 (compile_file): Don't call late_init_hook.
2464 * toplev.h (late_init_hook): Delete.
2465 * doc/cppopts.texi: Document -fpch-deps.
2466 * doc/invoke.texi (Warning Options): Document -Winvalid-pch.
2468 2002-08-27 Geoffrey Keating <geoffk@redhat.com>
2470 * c-pch.c (c_common_write_pch): Rename from c_write_pch, change
2472 (c_common_valid_pch): Rename from c_valid_pch, change callers.
2473 (c_common_read_pch): Rename from c_read_pch, change callers.
2475 * c-opts.c (COMMAND_LINE_OPTIONS): Allow -output-pch= to have
2476 a space between it and its argument.
2478 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
2480 * c-pch.c: New file.
2481 * toplev.h (late_init_hook): Declare.
2482 * toplev.c (late_init_hook): Define.
2483 (version_flag): Make globally visible.
2484 (compile_file): Call late_init_hook.
2485 (init_asm_output): Make output file seekable.
2486 * gcc.c (default_compilers): Update c-header rule.
2487 * flags.h (version_flag): Declare.
2488 * cpplib.h (struct cpp_callbacks): Add 'valid_pch' and 'read_pch'
2490 * cppfiles.c (struct include_file): Add 'pch' field.
2491 (INCLUDE_PCH_P): New.
2492 (open_file_pch): New.
2493 (stack_include_file): Handle PCH files specially.
2494 (find_include_file): Call open_file_pch instead of open_file.
2495 (_cpp_read_file): Explain why open_file is used instead of
2497 * c-opts.c (c_common_decode_option): Correct OPT__output_pch case.
2498 * c-objc-common.c (c_objc_common_finish_file): Call c_write_pch.
2499 * c-lex.c (init_c_lex): Set valid_pch and read_pch fields
2500 in cpplib callbacks.
2501 * c-common.c (pch_file): Correct comment.
2502 (allow_pch): Define.
2503 (c_common_init): Call pch_init.
2504 * c-common.h (allow_pch): Declare.
2505 (pch_init): Declare.
2506 (c_valid_pch): Declare.
2507 (c_read_pch): Declare.
2508 (c_write_pch): Declare.
2509 * Makefile.in (c-pch.o): New.
2510 (C_AND_OBJC_OBJS): Add c-pch.o.
2511 * doc/invoke.texi (Precompiled Headers): Add index entries,
2512 complete truncated paragraph.
2514 2002-08-17 Geoffrey Keating <geoffk@redhat.com>
2516 * c-common.c: (pch_file): Define.
2517 * c-common.h (pch_file): Declare.
2518 * c-opts.c (COMMAND_LINE_OPTIONS): Add --output-pch=.
2519 (missing_arg): Require --output-pch= to have an argument.
2520 (c_common_decode_option): Handle --output-pch=.
2521 * gcc.c: Document new %V.
2522 (default_compilers): Handle compiling C header files.
2523 (do_spec_1): Implement %V.
2524 (main): Handle "gcc foo.h" without trying to run linker.
2525 * doc/invoke.texi (Invoking GCC): Add new menu item for PCH.
2526 (Overall Options): Document what the driver does with header files,
2527 document new -x option possibilities.
2528 (Invoking G++): More documentation for PCH.
2529 (Precompiled Headers): New.
2531 2002-08-09 Geoffrey Keating <geoffk@redhat.com>
2533 * ggc.h: Don't include varray.h. Rearrange functions to be more
2535 (ggc_add_root): Delete.
2536 (ggc_mark_rtx): Delete.
2537 (ggc_mark_tree): Delete.
2538 (struct ggc_statistics): Remove contents.
2539 * ggc-common.c: Remove unneeded includes.
2540 (struct ggc_root): Delete.
2542 (ggc_add_root): Delete.
2543 (ggc_mark_roots): Don't mark `roots'. Call ggc_mark_stringpool.
2544 (ggc_print_common_statistics): Remove most of the contents.
2545 * Makefile.in (GGC_H): No longer uses varray.h.
2546 (ggc-common.o): Update dependencies.
2547 (c-parse.o): Add varray.h to dependencies.
2548 (c-common.o): Add varray.h.
2549 * stringpool.c (mark_ident): Use mangled name for tree marker routine.
2550 (mark_ident_hash): Rename to ggc_mark_stringpool.
2551 (init_stringpool): Don't use ggc_add_root.
2552 * c-parse.in: Include varray.h.
2553 * c-common.c: Include varray.h.
2554 * objc/Make-lang.in (objc-act.o): Add varray.h.
2555 * objc/objc-act.c: Include varray.h.
2557 2002-07-25 Geoffrey Keating <geoffk@redhat.com>
2559 * dwarf2out.c (dw_cfi_oprnd2_desc): Fix ISO-only function definition.
2560 (dw_cfi_oprnd1_desc): Likewise.
2562 2002-07-17 Geoffrey Keating <geoffk@redhat.com>
2564 * config/alpha/alpha.c (struct alpha_links): Use gengtype to mark;
2566 (alpha_links): Use gengtype to mark; move out of ifdef.
2567 (mark_alpha_links_node): Delete.
2568 (mark_alpha_links): Delete.
2569 (alpha_need_linkage): Use GGC to allocate splay tree, struct
2570 alpha_links, strings. Don't use ggc_add_root.
2571 * ggc-common.c (ggc_splay_alloc): New.
2572 (ggc_splay_dont_free): New.
2573 * ggc.h (ggc_mark_rtx): Update for changed name mangling.
2574 (ggc_mark_tree): Likewise.
2575 (splay_tree_new_ggc): New.
2576 (ggc_splay_alloc): Declare.
2577 (ggc_splay_dont_free): Declare.
2578 * dwarf2asm.c: Include gt-dwarf2asm.h.
2579 (mark_indirect_pool_entry): Delete.
2580 (mark_indirect_pool): Delete.
2581 (indirect_pool): Use gengtype to mark.
2582 (dw2_force_const_mem): Don't use ggc_add_root.
2583 * Makefile.in (dwarf2asm.o): Depend on gt-dwarf2asm.h.
2584 (GTFILES): Add SPLAY_TREE_H, dwarf2asm.c.
2585 (gt-dwarf2asm.h): Depend on s-gtype.
2587 2002-07-08 Geoffrey Keating <geoffk@redhat.com>
2589 * tree.h (union tree_type_symtab): Mark `die' field.
2590 * Makefile.in (dwarf2out.o): Update dependencies.
2591 * dwarf2out.c: Use GGC to allocate all structures. Convert to htab_t
2593 (dw_cfi_oprnd1_desc): New function.
2594 (dw_cfi_oprnd2_desc): New function.
2595 (indirect_string_alloc): Delete.
2596 (debug_str_do_hash): New function.
2597 (debug_str_eq): New function.
2598 (mark_limbo_die_list): Delete.
2599 (dwarf2out_init): Don't call ggc_add_root.
2601 2003-01-09 Vladimir Makarov <vmakarov@redhat.com>
2603 The following changes are merged from itanium-sched-branch:
2605 2003-01-08 David Edelsohn <edelsohn@gnu.org>
2607 * doc/md.texi: Clarify assignment of units to automata description.
2609 2003-01-08 Vladimir Makarov <vmakarov@redhat.com>
2611 * genautomata.c (unit_decl): Remove members
2612 `the_same_automaton_unit' and
2613 `the_same_automaton_message_reported_p'.
2614 (process_unit_to_form_the_same_automaton_unit_lists,
2615 form_the_same_automaton_unit_lists_from_regexp,
2616 form_the_same_automaton_unit_lists, the_same_automaton_lists):
2618 (annotation_message_reported_p): New global variable.
2619 (check_unit_distribution_in_reserv,
2620 check_regexp_units_distribution): New functions.
2621 (check_unit_distributions_to_automata): Rewrite it.
2623 2003-01-04 Vladimir Makarov <vmakarov@redhat.com>
2625 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
2626 Use continue instead of break if cycle is too big.
2628 2002-12-20 Vladimir Makarov <vmakarov@redhat.com>
2630 * genautomata.c (check_unit_distributions_to_automata): Output at
2631 most one message for a unit.
2632 (process_unit_to_form_the_same_automaton_unit_lists): Check
2633 automaton of units instead of units themself.
2635 * doc/md.texi: Describe the constraint about assigning unit to
2638 2002-12-20 Jan Hubicka <jH@suse.cz>
2639 Vladimir Makarov <vmakarov@redhat.com>
2641 * genautomata.c (unit_decl): Add new members `min_occ_cycle_num'
2643 (gen_cpu_unit): Initialize the new members.
2644 (process_regexp_cycles): Calculate minimal finish cycle too. Set
2645 up `min_occ_cycle_num'.
2646 (evaluate_max_reserv_cycles): Change the function call.
2647 (CLEAR_BIT): New macro.
2648 (states_union, state_shift): Use the mask.
2649 (initiate_excl_sets, form_reserv_sets_list): Set up `in_set_p'.
2650 (form_reservs_matter): New function.
2651 (make_automaton): Call the function and use the mask.
2652 (estimate_one_automaton_bound): Take `min_occ_cycle_num' into
2655 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
2657 * config/ia64/itanium2.md (lfetch): Change the insn reservation.
2659 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
2661 * config/ia64/ia64.c (bundling): Try to insert 2 nops for M insn
2664 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
2666 * config/ia64/ia64.c (ia64_override_options): Make itanium2 as
2669 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
2670 2002-10-31 Dale Johannesen <dalej@apple.com>
2672 * haifa-sched.c (find_set_reg_weight): New function.
2673 (find_insn_reg_weight): Use the new function.
2674 (schedule_block): Do sorting ready queue always
2677 2002-11-27 Vladimir Makarov <vmakarov@redhat.com>
2679 * config/ia64/ia64.c (bundling): Use MFI template instead of MLX.
2681 2002-11-19 Vladimir Makarov <vmakarov@redhat.com>
2683 * haifa-sched.c (choice_entry): New structure.
2684 (choice_stack, cycle_issued_insns): New variables.
2685 (max_issue): Rewrite it.
2686 (choose_ready): Set up ready_try for unknown insns too.
2687 (schedule_block): Allocate and free choice_stack. Set up
2688 and modify cycle_issued_insns.
2690 * config/ia64/ia64.c (issue_nops_and_insn): Combine insn issue
2691 with and without filling the bundle.
2692 (bundling): Combine calls of issue_nops_and_insn.
2694 2002-10-17 Vladimir Makarov <vmakarov@redhat.com>
2696 * config/ia64/itanium1.md: New file.
2698 * config/ia64/itanium2.md: New file.
2700 * config/ia64/ia64.md: Move DFA descriptions into the new files.
2701 Remove the old pipeline description.
2703 * config/ia64/ia64.c (ia64_override_options): Add aliases of
2704 itanium processor names.
2706 2002-10-16 Vladimir Makarov <vmakarov@redhat.com>
2708 * config/ia64/ia64.c (bundling): Print states for Itanium2 too.
2709 (ia64_reorg): Set up queried unit codes for Itanium2 too.
2711 * config/ia64/ia64.md: Add descriptions for Itanium2.
2713 2002-10-08 Vladimir Makarov <vmakarov@redhat.com>
2715 * config/ia64/ia64.h (processor_type): New enumeration.
2716 (ia64_tune, ia64_tune_string): New external declarations.
2717 (TARGET_OPTIONS): Add option `tune='.
2719 * config/ia64/ia64.c (ia64_tune, ia64_tune_string): New global
2721 (ia64_override_options): Set up `ia64_tune'.
2722 (ia64_sched_reorder2): Set up `clocks' only for Itanium.
2723 (ia64_dfa_new_cycle): Set up `add_cycles' only for Itanium.
2724 (bundling): Add nops for MM-insns only for Itanium.
2725 (ia64_reorg): Allocate and free `clocks' and `add_cycles' only for
2728 * config/ia64/ia64.md (cpu): New attribute.
2729 (DFA description): Enable it only for Itanium.
2731 2002-10-08 Vladimir Makarov <vmakarov@redhat.com>
2732 Richard Henderson <rth@redhat.com>
2734 * config/ia64/ia64.h (MASK_TUNE_STOP_BITS): Rename it to
2735 MASK_EARLY_STOP_BITS.
2736 (TARGET_TUNE_STOP_BITS): Rename it to TARGET_EARLY_STOP_BITS.
2737 (TARGET_SWITCHES): Rename option `tune-stop-bits' to
2740 * config/ia64/ia64.c (ia64_dfa_new_cycle,
2741 final_emit_insn_group_barriers): Use TARGET_EARLY_STOP_BITS
2742 instead of TARGET_TUNE_STOP_BITS.
2744 * doc/invoke.texi: Rename option `-mtune-stop-bits' to
2745 `-mearly-stop-bits'.
2747 * config/ia64/ia64.c (automata_option "v"): Comment it.
2749 2002-10-07 Vladimir Makarov <vmakarov@redhat.com>
2751 * config/ia64/ia64.h (MASK_TUNE_STOP_BITS, TARGET_TUNE_STOP_BITS):
2753 (TARGET_SWITCHES): Add entries for the new option.
2755 * config/ia64/ia64.c (dfa_stop_insn, last_scheduled_insn, rtx
2756 dfa_pre_cycle_insn, ia64_nop): Don't make them as roots for GC.
2757 (stops_p, stop_before_p, clocks_length, clocks, add_cycles): New
2759 (ia64_sched_reorder2): Set up `clocks'.
2760 (ia64_variable_issue): Set up `stops_p' and reset `stop_before_p'.
2761 (ia64_dfa_new_cycle): Set up add_cycle. Permit sorting ready
2762 queue when TARGET_TUNE_STOP_BITS.
2763 (bundling): Insert additional nops for MM-insns.
2764 (final_emit_insn_group_barriers): Add insertion of stop bits
2765 according `stops_p'.
2766 (ia64_reorg): Initiate the new varibales.
2768 * doc/invoke.texi: Add description of option `-mtune-stop-bits'.
2770 2002-10-02 Vladimir Makarov <vmakarov@redhat.com>
2772 * haifa-sched.c (schedule_block): Modify INSN_TICK of depended
2773 insns at the end of block insn scheduling.
2775 2002-09-30 Vladimir Makarov <vmakarov@redhat.com>
2777 * sched-deps.c (remove_dependence, group_leader): Remove it.
2778 (add_dependence): Add dependence to group leader to.
2779 (set_sched_group_p): Add dependence to the first insn of the
2781 (sched_analyze_insn): Make dependence to jump as anti-dependence.
2782 Change true dependence by anti-dependence when
2783 `reg_pending_barrier'.
2785 * sched-rgn.c (init_ready_list, can_schedule_ready_p,
2786 add_branch_dependences): Ignore schedule groups.
2788 * sched-ebb.c (init_ready_list): Ditto.
2790 * (move_insn, set_priorities): Ditto.
2792 * config/ia64/ia64.c (ia64_sched_init): Check that schedule group
2793 flag is clear after reload.
2794 (adjust_cost): Change cost only for output dependencies.
2796 * config/ia64/ia64.md: Add more insns into bypass for MM-insns.
2798 2002-09-26 Vladimir Makarov <vmakarov@redhat.com>
2800 * Makefile.in (sched-ebb.o): Add `$(TARGET_H)' to the entry.
2802 * target.h (gcc_target): Add member
2803 `dependencies_evaluation_hook'.
2805 * target-def.h (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): New
2807 (TARGET_SCHED): Add initiatialization of the new member.
2809 * sched-ebb.c: Include `target.h'.
2810 (schedule_ebb): Call `dependencies_evaluation_hook'.
2812 * sched-rgn.c (schedule_region): Call
2813 `dependencies_evaluation_hook'.
2815 * config/ia64/ia64.c (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
2817 (ia64_dependencies_evaluation_hook): New function.
2819 * doc/tm.texi (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
2820 Describe the new hook.
2822 2002-09-25 Vladimir Makarov <vmakarov@redhat.com>
2824 * target.h (gcc_target): Add members
2825 `first_cycle_multipass_dfa_lookahead_guard' and `dfa_new_cycle'.
2827 * target-def.h (TARGET_SCHED_DFA_NEW_CYCLE,
2828 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): New
2830 (TARGET_SCHED): Add initiatialization of the new members.
2832 * haifa-sched.c (schedule_insn): Update last_clock_var for the 1st
2833 insn scheduling too.
2834 (choose_ready): Use `first_cycle_multipass_dfa_lookahead_guard' to
2835 initialize `ready_try'.
2836 (schedule_block): Use `dfa_new_cycle'. Sort `ready' only unless
2837 `dfa_new_cycle' says not to do it.
2839 * config/ia64/ia64.md: Add DFA Itanium 1 description for insn
2842 * config/ia64/ia64.h (CPU_UNITS_QUERY): New macro.
2844 * config/ia64/ia64.c: Include `hashtab.h'.
2845 (ia64_first_cycle_multipass_dfa_lookahead_guard,
2846 ia64_dfa_new_cycle, final_emit_insn_group_barriers,
2847 ia64_dfa_sched_reorder, get_free_bundle_state, free_bundle_state,
2848 initiate_bundle_states, finish_bundle_states, bundle_state_hash,
2849 bundle_state_eq_p, insert_bundle_state,
2850 initiate_bundle_state_table, finish_bundle_state_table,
2851 try_issue_nops, try_issue_insn, issue_nops_and_insn, get_max_pos,
2852 get_template, get_next_important_insn, bundling): New functions.
2853 (ia64_internal_sched_reorder): Remove it.
2854 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
2855 TARGET_SCHED_DFA_NEW_CYCLE): New macros.
2856 (ia64_safe_itanium_requires_unit0): Remove it.
2857 (group_barrier_needed_p): Place group barrier right before a real
2859 (bundle, ia64_packet, NR_PACKETS, type_names, packets, packets):
2861 (bundle_name): New variable.
2862 (_0mii_, _0mmi_, _0mfi_, _0mmf_, _0bbb_, _0mbb_, _0mib_, _0mmb_,
2863 _0mfb_, _0mlx_, _1mii_, _1mmi_, _1mfi_, _1mmf_, _1bbb_, _1mbb_,
2864 _1mib_, _1mmb_, _1mfb_, _1mlx_, pos_1, pos_2, pos_3, pos_4, pos_5,
2865 pos_6, dfa_stop_insn, last_scheduled_insn, dfa_state_size,
2866 temp_dfa_state, prev_cycle_state): New global variables.
2867 (insn_matches_slot, maybe_rotate, finish_last_head,
2868 rotate_one_bundle, rotate_one_bundles, nop_cycles_until,
2869 cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
2870 find_best_packet, itanium_reorder, dump_current_packet,
2871 schedule_stop, gen_nop_type, ia64_emit_nops): Remove them.
2872 (sched_data, sched_ready, sched_types): Remove them.
2873 (ia64_sched_init): Initiate only `last_scheduled_insn' and call
2874 `init_insn_group_barriers'.
2875 (ia64_sched_reorder, ia64_sched_reorder2): Call
2876 ia64_dfa_sched_reorder.
2877 (ia64_variable_issue): Rewrite it.
2878 (bundle_state): New structure.
2879 (index_to_bundle_states, bundle_states_num,
2880 allocated_bundle_states_chain, free_bundle_state_chain): New
2882 (ia64_sched_finish): Add stop bits and call `bundling' after the
2883 2nd insn scheduling.
2884 (ia64_use_dfa_pipeline_interface): Return zero always.
2885 (ia64_first_cycle_multipass_dfa_lookahead): Return 6 for the 2nd
2887 (ia64_init_dfa_pre_cycle_insn): Initialize `dfa_state_size',
2888 `temp_dfa_state', `prev_cycle_state', and `dfa_stop_insn'.
2889 (ia64_reorg): Add bundling insns.
2892 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
2893 TARGET_SCHED_DFA_NEW_CYCLE): Describe the new hooks.
2895 2002-09-23 Vladimir Makarov <vmakarov@redhat.com>
2897 * config/ia64/ia64.md: Add Itanium1 DFA description.
2898 (itanium_class): Add `nop' and `pre_cycle'. Add
2899 define_function_unit for `nop'.
2900 (nop): Change attribute `itanium_class'.
2901 (pre_cycle): New define_insn.
2903 * config/ia64/ia64-protos.h (bundling_p): New external variable.
2904 (ia64_st_address_bypass_p, ia64_ld_address_bypass_p,
2905 ia64_produce_address_p): New function prototypes.
2907 * config/ia64/ia64.c (bundling_p): New global variable.
2908 (ia64_use_dfa_pipeline_interface,
2909 ia64_first_cycle_multipass_dfa_lookahead,
2910 ia64_init_dfa_pre_cycle_insn, ia64_dfa_pre_cycle_insn): New
2912 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
2913 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
2914 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
2915 TARGET_SCHED_DFA_PRE_CYCLE_INSN): New macros.
2916 (ia64_sched_init, ia64_sched_reorder, ia64_sched_reorder2,
2917 ia64_variable_issue, ia64_sched_finish): Do nothing before reload.
2918 (dfa_pre_cycle_insn): New variable.
2920 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
2922 * rtl.def (FINAL_PRESENCE_SET, FINAL_ABSENCE_SET): New
2925 * genattrtab.h (gen_final_presence_set, gen_final_absence_set):
2926 New function prototypes.
2928 * genattrtab.c (main): Process the new constructions.
2930 * genautomata.c (gen_presence_absence_set,
2931 process_presence_absence_names, process_presence_absence_patterns,
2932 add_presence_absence, check_absence_pattern_sets): Add parameter
2934 (unit_decl): Add new members `final_presence_list' and
2935 `final_absence_list'.
2936 (unit_pattern_rel_decl): Add new member `final_p'.
2937 (gen_final_presence_set, gen_final_absence_set): New functions.
2938 (process_decls): Use member `final_p'.
2939 (temp_reserv): New global variable.
2940 (reserv_sets_are_intersected): Add processing `final_presence_set'
2941 and `final_absence_set'.
2942 (initiate_states): Allocate `temp_reserv'.
2943 (unit_final_presence_set_table, unit_final_absence_set_table): New
2945 (initiate_presence_absence_pattern_sets): Initiate them.
2946 (NDFA_to_DFA): Fix typo.
2947 (output_description): Output `final_presence_set' and
2948 `final_absence_set'.
2950 * doc/md.texi (final_presence_set, final_absence_set): Describe
2953 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
2955 * genautomata.c (transform_3): Process a missing case (nothing on
2958 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
2960 * rtl.def (DEFINE_QUERY_CPU_UNIT, AUTOMATA_OPTION): Change
2961 comments about queried units and the minimization.
2963 * doc/md.texi: Ditto.
2965 * genautomata.c (create_composed_state): Return nonzero if the new
2966 state has been created.
2967 (first_cycle_unit_presence): New function.
2968 (state_is_differed): Add new parameter. Use the new function.
2969 Take queried units into account.
2970 (partition_equiv_class): Pass additional parameter to
2971 `state_is_differed'.
2972 (merge_states): Process composed states too.
2973 (build_automaton, create_automata, output_min_issue_delay_table,
2974 output_tables, output_statistics): Output more information.
2975 (output_reserved_units_table): Use function
2976 `first_cycle_unit_presence'.
2977 (output_tables): Output table of queried units even if the
2978 minimization is switched on.
2979 (write_automata): Output code for querying units even if the
2980 minimization is switched on.
2982 2002-09-19 Vladimir Makarov <vmakarov@redhat.com>
2984 * rtl.def (PRESENCE_SET, ABSENCE_SET): Add comments about extended
2985 syntax of the constructions.
2987 * doc/md.texi (PRESENCE_SET, ABSENCE_SET): Add description of
2988 extended syntax of the constructions.
2990 * genautomata.c (unit_rel_decl): Rename it to
2991 `unit_pattern_rel_decl'.
2992 (pattern_set_el, pattern_reserv): New structures.
2993 (pattern_set_el_t, pattern_reserv_t): New types.
2994 (gen_presence_absence_set): New function.
2995 (process_presence_absence): Remove it.
2996 (process_presence_absence_names,
2997 process_presence_absence_patterns): New functions.
2998 (get_presence_absence_set): Remove it.
2999 (initiate_presence_absence_sets): Rename it on
3000 `initiate_presence_absence_pattern_sets'. Use new function
3001 `form_reserv_sets_list'.
3002 (form_reserv_sets_list, check_presence_pattern_sets,
3003 check_absence_pattern_sets, output_pattern_set_el_list): New
3005 (unit_decl): Change types of members `presence_list' and
3007 (unit_rel_decl): Rename member `names_num' to `all_names_num'.
3008 (decl): Change types of members `excl', `presence', and `absence'.
3009 (get_str_vect): Rename `par_flag' to `paren_p'. Add null element
3010 at the end of the vector.
3011 (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
3012 gen_automaton, gen_regexp_repeat, gen_regexp_allof,
3013 gen_regexp_oneof, gen_regexp_sequence): Use boolean values.
3014 (gen_presence_set, gen_absence_set): Use new function
3015 `gen_presence_absence_set'.
3016 (add_presence_absence): Process `pattern_list' instead of
3018 (process_decls): USe new functions
3019 `process_presence_absence_names' and
3020 `process_presence_absence_patterns'.
3021 (reserv_sets_are_intersected): Use new function
3022 `check_presence_pattern_sets'.
3023 (presence_set, absence_set): Remove them.
3024 (unit_presence_set_table, unit_absence_set_table): New global
3026 (output_description): Use new function
3027 `output_pattern_set_el_list'.
3028 (generate): Use `initiate_presence_absence_pattern_sets'.
3030 2002-09-18 Vladimir Makarov <vmakarov@redhat.com>
3032 * genattr.c (main): Add output of prototype of new interface
3033 function `dfa_clean_insn_cache'.
3035 * genautomata.c (output_dfa_clean_insn_cache_func): New function.
3036 (DFA_CLEAN_INSN_CACHE_FUNC_NAME): New macro.
3037 (output_dfa_start_func): Use function `dfa_clean_insn_cache' in
3039 (write_automata): Call the new function.
3041 Thu Jan 9 22:47:38 CET 2003 Jan Hubicka <jh@suse.cz>
3043 * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt
3046 2003-01-09 Paolo Carlini <pcarlini@unitus.it>
3048 * doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
3050 Thu Jan 9 17:26:40 2003 J"orn Rennecke <joern.rennecke@superh.com>
3052 * defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
3053 (EXTRA_ADDRESS_CONSTRAINT): Likewise.
3054 (CONSTRAINT_LEN): Provide default definition.
3055 (CONST_OK_FOR_CONSTRAINT_P): Likewise.
3056 (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
3057 (EXTRA_CONSTRAINT_STR): Likewise.
3058 (REG_CLASS_FROM_CONSTRAINT): Define.
3059 * genoutput.c (check_constraint_len, constraint_len): New functions.
3060 (validate_insn_alternatives): Check CONSTRAINT_LEN for each
3061 constraint / modifier.
3062 (gen_insn): Call check_constraint_len.
3063 * local-alloc.c (block_alloc): Update to use new macros / pass
3064 second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
3065 * ra-build.c (handle_asm_insn): Likewise.
3066 * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
3067 (constrain_operands, peep2_find_free_register): Likewise.
3068 * regclass.c (record_operand_costs, record_reg_classes): Likewise.
3069 * regmove.c (find_matches): Likewise.
3070 * reload.c (push_secondary_reload, find_reloads): Likewise.
3071 (alternative_allows_memconst): Likewise.
3072 * reload1.c (maybe_fix_stack_asms): Likewise.
3073 (reload_cse_simplify_operands): Likewise.
3074 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
3075 * doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
3076 (CONST_OK_FOR_CONSTRAINT_P): Likewise.
3077 (CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
3078 (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
3079 * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.
3081 * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
3083 2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
3085 * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
3087 (*extzv_1_r_h8300hs): Likewise.
3088 (*extzv_1_r_inv_h8300): Likewise.
3089 (*extzv_1_r_inv_h8300hs): Likewise.
3091 2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
3093 * config/h8300/h8300.h (PREDICATE_CODES): New.
3095 2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
3097 * config/h8300/h8300.md (*addsi3_upper): New.
3098 (*iorsi3_shift): Likewise.
3099 (two splitters): Likewise.
3100 (*addsi3_shift): Likewise.
3101 (two splitters): Likewise.
3103 2003-01-09 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
3105 * Makefile.in (optabs.o): Add dependency on basic-block.h.
3106 * basic-block.h (control_flow_insn_p): Fuction was exported.
3107 * cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
3108 * optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
3109 notes only when the region is contained in a single basic block.
3111 2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
3114 * tree.h (expand_asm): New prototype.
3115 * stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
3117 * c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
3119 * c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
3120 * rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
3121 (volatile_refs_p) [ASM_INPUT]: Likewise.
3122 (side_effects_p) [ASM_INPUT]: Likewise.
3124 Thu Jan 9 12:00:36 CET 2003 Jan Hubicka <jh@suse.cz>
3126 * i386.md (*mul*): FIx constraints; remove confused comment; fix
3127 athlon_decode attributes
3128 (imul/k8 optimization peep2s): New.
3130 * athlon.md (athlon_ssecmp*): Handle ssecomi as well.
3131 * i386.md (type attribute): Add ssecomi.
3132 (unit, memory, prefix attributes): Handle ssecomi.
3133 (cvt?2? patterns): Fix athlon_decode attribute
3134 (comi patterns): Set attribute to ssecomi.
3137 * m68k.md (umulsidi, mulsidi expanders): Use register operand.
3139 2003-01-09 Richard Sandiford <rsandifo@redhat.com>
3141 * config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates
3142 that match register_operands.
3143 * config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make
3144 register_operand the default case.
3146 2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
3149 * c-typeck.c (process_init_element) [RECORD_TYPE]: For
3150 an empty element, do not advance the pointer to unfilled
3151 fields if there are pending initializers.
3153 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3155 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
3156 (install-gcc-tooldir, install-cpp, installdirs,
3157 install-common, install-driver, install-info, install-man,
3158 install-headers, install-include-dir, install-headers-tar,
3159 install-headers-cpio, install-headers-cp, install-mkheaders,
3160 install-collect2, uninstall): Prepend $(DESTDIR) to
3161 destination paths in all (un)installation commands.
3162 (install-driver): Rewrite $(LN) commands to support DESTDIR
3163 with "ln" as well as with "ln -s".
3164 (installdirs): Simply use mkinstalldirs.
3165 (install-libgcc, install-multilib): Also pass DESTDIR.
3166 * mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
3167 installation destination variable ldir.
3168 * config/alpha/t-osf4, config/arm/t-netbsd,
3169 config/ia64/t-hpux, config/mips/t-iris5-6,
3170 config/pa/t-hpux-shlib, config/rs6000/t-aix43,
3171 config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
3172 config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
3173 in the definition of SHLIB_INSTALL.
3174 * config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
3175 $(libsubdir) in the installation commands.
3177 2003-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
3179 * config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
3180 non-optimizing compile.
3181 (ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
3184 2003-01-08 Douglas B Rupp <rupp@gnat.com>
3186 * config/i386/i386.c (ix86_attribute_table): Add new attributes
3187 ms_struct and gcc_struct.
3188 (ix86_handle_struct_attribute): New function.
3189 (ix86_ms_bitfield_layout_p): Update to take new attributes
3191 * doc/extend.texi: Document new attributes.
3192 * testsuite/gcc.dg/bf-ms-attrib.c: New test.
3194 2003-01-08 Danny Smith <dannysmith@users.sourceforge.net>
3196 PR optimization/8750
3197 * config/i386/i386.c (ix86_expand_prologue): Don't allow
3198 scheduling pass to move insns across __alloca call.
3200 2003-01-08 Dale Johannesen <dalej@apple.com>
3202 * config/rs6000/rs6000.md: Replace *store_multiple_string
3205 2003-01-08 Jeff Sturm <jsturm@one-point.com>
3208 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info):
3209 Set SYMBOL_REF_FLAG on local data sym_ref.
3211 2003-01-08 Dale Johannesen <dalej@apple.com>
3213 * function.c (assign_parms): Don't set pretend_args_size if
3214 REG_PARM_STACK_SPACE.
3215 config/rs6000/rs6000.c (setup_incoming_varargs): Don't set
3218 2003-01-08 Nathanael Nerode <neroden@gcc.gnu.org>
3222 Thu Jan 9 00:57:15 CET 2003 Jan Hubicka <jh@suse.cz>
3224 * i386.c (ix86_expand_int_addcc): Fix thinko.
3226 2003-01-08 David Edelsohn <edelsohn@gnu.org>
3228 * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
3229 * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine
3230 as hook_bool_tree_hwi_hwi_tree_true.
3231 (rs6000_emit_allocate_stack): Use TARGET_32BIT.
3232 (rs6000_emit_epilogue): Same.
3233 (rs6000_output_mi_thunk): Re-implement as RTL.
3234 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call
3235 xcoffout_declare_function if any debugging enabled.
3237 2003-01-08 Chris Demetriou <cgd@broadcom.com>
3239 * config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
3240 targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
3241 * config/mips/mips.h (enum processor_type): Rename
3242 PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
3243 PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
3245 (TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
3246 (ISA_MIPS32R2): New define.
3247 (GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
3248 (ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
3249 (ISA_HAS_PREFETCH): Add support for MIPS32R2.
3250 (MIPS_ISA_DEFAULT): Likewise. Also, fix indentation.
3251 (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2. Add new
3252 predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
3253 (ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
3254 compiling MIPS16 code.
3255 (ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
3257 (ISA_HAS_SEB_SEH): New define.
3258 (ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
3259 * config/mips/mips.c (mips_cpu_info_table): Adjust for enum
3260 processor_type value renaming. Add support for MIPS32R2.
3261 Clean up comments, and move "sb1" entry with other MIPS64 CPU
3263 (override_options): Reimplement -mipsN option handling so that
3264 it will work correctly for -mips32r2. Avoid branch-likely
3265 instructions on MIPS32R2.
3266 * config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
3267 (extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
3268 (extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
3269 (extendhisi2_hw, extendqisi2_hw): New.
3270 * config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
3271 for MIPS32R2. Add new predefine __mips_isa_rev for MIPS32,
3272 MIPS32R2, and MIPS64.
3273 (LINK_SPEC): Pass -mips32r2 to linker.
3274 * config/mips/t-isa3264: Built -mips32r2 multilibs.
3275 * doc/invoke.texi (MIPS Options): Add -mips32r2, add support
3276 for mips32r2 in the -march description. Alphabetically sort
3277 CPU names in the -march description. Add long-missed -mips32
3278 and -mips64 to MIPS option summary.
3280 * config.gcc: Update copyright years to include 2003.
3281 * config/mips/mips.c: Likewise.
3282 * config/mips/mips.h: Likewise.
3283 * config/mips/mips.md: Likewise.
3284 * config/mips/netbsd.h: Likewise.
3285 * doc/invoke.texi: Likewise.
3287 2003-01-08 Andreas Schwab <schwab@suse.de>
3289 * aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
3291 * configure: Regenerated.
3293 2003-01-08 Kazu Hirata <kazu@cs.umass.edu>
3295 * config/h8300/h8300.c (output_logical_op): Replace byte/word
3296 extraction of det with b0, b1, w0, w2, etc.
3297 (compute_logical_op_length): Likewise.
3298 (compute_logical_op_cc): Likewise.
3300 2003-01-08 Kazu Hirata <kazu@cs.umass.edu>
3302 * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
3303 HIGH on all variants.
3305 Wed Jan 8 14:06:34 CET 2003 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
3307 * Makefile.in (PARTITION_H): New.
3308 (BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H).
3309 * basic-block.h: Include hard-reg-set.h.
3311 2003-01-08 Richard Earnshaw <rearnsha@arm.com>
3313 * arm.h (ENABLE_XF_PATTERNS): Delete.
3314 * arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2)
3315 (sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2)
3316 (extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn)
3317 (cmpxf_trap): Delete.
3318 (movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS.
3320 Wed Jan 8 12:10:57 CET 2003 Jan Hubicka <jh@suse.cz>
3322 * i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern.
3323 (addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns.
3324 (add??cc): New expanders.
3325 * i386.c (expand_int_addcc): New function.
3326 * i386-protos.h (expand_int_addcc): Declare.
3328 * alias.c (memory_modified_1): New static function.
3329 (memory_modified): New static varaible.
3330 (memory_modified_in_insn_p): New global function.
3331 * rtl.h (memory_modified_in_insn_p): Declare.
3332 * rtlanal.c (modified_between_p, modified_in_p): Be smart about memory
3335 * expr.h (emit_conditional_add): Declare.
3337 2003-01-07 Janis Johnson <janis187@us.ibm.com>
3340 * doc/invoke.texi (-malign-double): Explain that the option breaks
3341 binary compatibility.
3343 2003-01-08 Andreas Schwab <schwab@suse.de>
3345 * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld,
3346 should come from the generic *-*-linux* entry.
3348 Tue Jan 7 22:29:56 CET 2003 Jan Hubicka <jh@suse.cz>
3350 * cselib.c (cselib_current_insn_in_libcall): New static variable.
3351 (new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether
3352 we are inside libcall.
3353 * cselib.h (elt_loc_list): Add in_libcall.
3354 * gcse.c (do_local_cprop): Do not copy propagate using insns
3357 2003-01-07 David Edelsohn <edelsohn@gnu.org>
3359 * doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do
3360 not normally affect to issue rate.
3362 Tue Jan 7 21:46:57 CET 2003 Jan Hubicka <jh@suse.cz>
3364 * genopinit.c (optabs): Add addc_optab.
3365 * ifcvt.c (noce_try_store_flag): Rename to ...
3366 (noce_try_addcc): ... this one; handle generic conditional increment.
3367 (noce_process_if_block): Update noce_try_addcc call.
3368 * optabs.c (emit_conditional_add): New.
3369 (init_obtabs): Initialize addc_optab.
3370 * optabs.h (optab_index): Add OTI_addcc.
3371 (addcc_optab): New macro.
3372 * md.texi: Document addMcc
3375 * i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads.
3376 * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
3377 * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
3379 * reload1.c (delete_output_reload): Avoid repeated attempts
3382 2003-01-07 Andreas Schwab <schwab@suse.de>
3384 * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
3385 Move --enable-initfini-array check ...
3386 * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here. Define
3387 HAVE_INITFINI_ARRAY also when --enable-initfini-array is given.
3388 Don't AC_SUBST gcc_cv_initfinit_array. Use AC_TRY_RUN.
3389 * configure: Rebuild.
3391 2003-01-07 Richard Henderson <rth@redhat.com>
3393 * alias.c (find_base_value): Only use new_reg_base_value shortcut
3394 if the register is set once.
3396 2003-01-07 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
3398 * config/i386/i386.c (ix86_init_mmx_sse_builtins):
3399 __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
3400 * config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX.
3402 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
3403 Sunil Davasam <sunil.k.davasam@intel.com>
3406 * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
3407 DW_CFA_same_value, read next and ignore.
3409 2003-01-07 Richard Henderson <rth@redhat.com>
3411 * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
3413 2003-01-07 Daniel Berlin <dberlin@dberlin.org>
3415 * cfg.c: Include alloc-pool.h
3416 (edge_pool): New pool.
3417 (bb_pool): New pool.
3418 (first_deleted_edge): Remove.
3419 (first_deleted_block): Remove.
3420 (init_flow): Alloc/free the pools.
3421 (free_edge): Use pools.
3422 (alloc_block): Ditto.
3423 (expunge_block): Ditto.
3424 (cached_make_edge): Ditto.
3426 * Makefile.in (cfg.o): Add alloc-pool.h dependency.
3428 2003-01-07 Daniel Berlin <dberlin@dberlin.org>
3430 * et-forest.c: Include alloc-pool.h.
3431 (struct et_forest): Add node_pool and occur_pool.
3432 (et_forest_create): Create the new pools.
3433 (et_forest_delete): Delete them.
3434 (et_forest_add_node): Allocate and free using pools.
3435 (et_forest_add_edge): Ditto.
3436 (et_forest_remove_node): Ditto.
3437 (et_forest_remove_edge): Ditto.
3439 * Makefile.in (et-forest.o): Add alloc-pool.h dependency.
3441 2003-01-07 Kazu Hirata <kazu@cs.umass.edu>
3443 * config/h8300/h8300.c (output_logical_op): Simplify and
3444 optimize the handling of SImode.
3445 * config/h8300/h8300.c (compute_logical_op_length): Update
3447 * config/h8300/h8300.c (compute_logical_op_cc): Likewise.
3449 2003-01-07 Richard Sandiford <rsandifo@redhat.com>
3451 * config/mips/mips.c (mips_va_arg): In the EABI code, apply the
3452 big-endian correction to indirect arguments too.
3454 2003-01-06 Aldy Hernandez <aldyh@redhat.com>
3456 Segher Boessenkool <segher@koffie.nl>
3458 * config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers.
3459 (alt_reg_names): Ditto, fix formatting.
3460 * config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting.
3462 2003-01-06 Kazu Hirata <kazu@cs.umass.edu>
3464 * config/h8300/h8300.c (final_prescan_insn): Constify uid.
3465 (output_logical_op): Constify intval and det.
3466 (compute_logical_length): Likewise.
3467 (compute_logical_cc): Likewise.
3468 (output_a_shift): Constify mask.
3469 (h8300_encode_label): Constify len.
3471 2003-01-06 Kazu Hirata <kazu@cs.umass.edu>
3473 * config/h8300/h8300.c (h8300_expand_prologue): Remove fsize.
3474 (h8300_expand_epilogue): Likewise.
3476 2003-01-06 Aldy Hernandez <aldyh@redhat.com>
3478 Segher Boessenkool <segher@koffie.nl>
3480 * config/rs6000/altivec.md: Remove spaces from assembler
3481 instruction argument lists.
3483 2003-01-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3485 * config/c4x/c4x.c (c4x_naked_function_p): Rename from
3486 c4x_assembler_function_p.
3487 (c4x_null_epilogue_p): Complement return value, all uses updated.
3488 (c4x_insert_attributes): Add naked.
3489 * config/c4x/c4x.md (c4x_null_epilogue_p): Changes uses.
3490 * doc/extend.texi: Update C4x function attributes.
3492 2003-01-06 Richard Henderson <rth@redhat.com>
3494 * config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str
3495 properly when changing "local-ness".
3496 * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
3498 2003-01-06 Dale Johannesen <dalej@apple.com>
3500 * config/darwin-protos.h: Add prototypes for new section functions.
3502 2003-01-06 Chris Demetriou <cgd@broadcom.com>
3504 * config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI
3507 2003-01-06 Zack Weinberg <zack@codesourcery.com>
3509 * hwint.h: If the current compiler has no 64-bit type at all,
3510 make HOST_WIDEST_INT 32 bits.
3512 2003-01-06 Eric Christopher <echristo@redhat.com>
3514 * config/mips/mips.md (movdf_internal2): Fix constraints.
3516 2003-01-06 Kazu Hirata <kazu@cs.umass.edu>
3518 * config/h8300/h8300.md (*twoshifts_l16_r1): New.
3520 2003-01-06 Richard Sandiford <rsandifo@redhat.com>
3522 * config/mips/mips.md (leadi): Use dla rather than la.
3524 2003-01-06 Svein E. Seldal <Svein.Seldal@solidas.com>
3526 * config/c4x/c4x.h: Updated specs for new gas format. Fixed bug
3527 in C33_FLAG. Added proper C33 support in ASM_FILE_START macro.
3529 2003-01-06 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
3531 * config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
3534 2003-01-05 Kazu Hirata <kazu@cs.umass.edu>
3536 * config/h8300/h8300.md (*extzv_8_23): New.
3538 2003-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
3540 * pa64-hpux.h (JCR_SECTION_NAME): Define.
3541 (PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of
3542 USE_EH_FRAME_REGISTRY when defining.
3544 2003-01-05 Kazu Hirata <kazu@cs.umass.edu>
3546 * config/h8300/h8300.c (output_a_shift): Do not output a
3548 * config/h8300/h8300.md (two splitters): New.
3550 2003-01-05 Richard Sandiford <rsandifo@redhat.com>
3552 * config/mips/mips.md: Disable the movstrsi define_split.
3554 2003-01-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3556 * alloc-pool.c: Don't include "libiberty.h".
3557 * config/sparc/gmon-sol2.c: Include <fcntl.h>.
3558 * convert.c (convert_to_real): Hide unused variable.
3560 2003-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3562 * Makefile.in (gtyp-gen.h): Const-ify.
3563 * gcov-dump.c (tag_table): Likewise.
3565 2003-01-04 Bruce Korb <bkorb@gnu.org>
3567 * fixinc/fixfixes.c(wrap_fix): the wrapper guard must be a function
3568 of *both* the file name and the fix name.
3570 2003-01-04 John David Anglin <dave.anglin@nrc.ca>
3572 * config.gcc (hppa*64*-*-hpux11*): Define extra_parts. Don't use
3574 * pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
3575 (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.
3576 * pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP,
3577 GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP,
3578 GNU_FINI_ARRAY_SECTION_ASM_OP): Define.
3579 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using
3581 (EH_FRAME_IN_DATA_SECTION): Delete define.
3582 (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine.
3583 (STARTFILE_SPEC): Use crtbegin.o.
3584 (ENDFILE_SPEC): Use crtend.o.
3585 (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION,
3586 SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK,
3587 PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB,
3588 DTOR_LIST_BEGIN): Define.
3589 * pa.c (TARGET_ASM_CONSTRUCTOR): Define.
3590 (pa_asm_out_constructor, pa_asm_out_destructor): New functions.
3591 * som.h (SUPPORTS_INIT_PRIORITY): Delete define.
3593 2002-12-31 Larin Hennessy <larin@science.oregonstate.edu>
3595 * fixinc/fixinc.svr4: Remove references to i860, Sony NewsOS, and spur.
3596 * fixinc/inclhack.def: Remove tests for Apple A/UX, ARM/RISCiX, DG/UX,
3597 m88k-*-sysv3*, Sony NewsOS. Remove references to i860.
3598 Cleanup handling of replacement text.
3599 * fixinc/mkfixinc.sh: Remove reference to i?86-*-osf1*
3601 2003-01-04 Bruce Korb <bkorb@gnu.org>
3603 * fixinc/tests/base/math.h: removed obsolete results
3604 * fixinc/tests/base/stdlib.h: ditto
3605 * fixinc/tests/base/sys/param.h: ditto
3606 * fixinc/tests/base/sys/stat.h: ditto
3607 * fixinc/tests/base/time.h: ditto
3608 * fixinc/tests/base/X11/Intrinsic.h: removed obsolete file
3609 * fixinc/tests/base/sys/byteorder.h: ditto
3610 * fixinc/inclhack.def: Remove superfluous backslashes
3612 2003-01-04 Kazu Hirata <kazu@cs.umass.edu>
3614 * config/h8300/h8300-protos.h: Add prototypes for
3615 the new functions defined below.
3616 * config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not
3618 (dosize): Emit RTL instead of assembly code.
3621 (h8300_output_function_prologue): Remove.
3622 (h8300_expand_prologue): New.
3623 (h8300_expand_epilogue): New.
3624 (h8300_output_function_epilogue): Do only the reset of
3626 * config/h8300/h8300.md (push_h8300): New.
3627 (push_h8300hs): Likewise.
3628 (pop_h8300): Likewise.
3629 (pop_h8300hs): Likewise.
3630 (*stm_h8300s_2): Change the name to stm_h8300s_2.
3631 (*stm_h8300s_3): Change the name to stm_h8300s_3.
3632 (*stm_h8300s_4): Change the name to stm_h8300s_4.
3633 (*ldm_h8300s_2): New.
3634 (*ldm_h8300s_3): Likewise.
3635 (*ldm_h8300s_4): Likewise.
3637 (*return_1): Likewise.
3638 (prologue): Likewise.
3639 (epilogue): Likewise.
3640 (monitor_prologue): Likewise.
3642 2003-01-03 Dale Johannesen <dalej@apple.com>
3644 * config/darwin.h: (EXTRA_SECTIONS): Add machopic_symbol_stub1,
3645 machopic_picsymbol_stub1.
3646 (EXTRA_SECTION_FUNCTIONS): Ditto.
3647 * rs6000/rs6000.c: Update copyright.
3648 (machopic_output_stub): Use them. Remove an insn from stub code.
3650 2003-01-02 Jason Merrill <jason@redhat.com>
3652 * fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better.
3654 * integrate.c (copy_decl_for_inlining): Don't clear the rtl for
3655 static/external decls.
3657 * c-common.c (finish_fname_decls): Put the DECL_STMTs inside the
3659 * c-decl.c (c_make_fname_decl): Push the decls there, too.
3661 2003-01-03 Kazu Hirata <kazu@cs.umass.edu>
3663 * config/h8300/h8300-protos.h: Add a prototype for
3664 h8300_current_function_interrupt_function_p.
3665 * config/h8300/h8300.c (interrupt_handler): Remove.
3666 (os_task): Likewise.
3667 (monitor): Likewise.
3668 (pragma_interrupt): New.
3669 (WORD_REG_USED): Use
3670 h8300_current_function_interrupt_function_p.
3672 (h8300_output_function_prologue): Likewise.
3673 Do not set interrupt_handler, os_task, monitor.
3674 (h8300_output_function_prologue): Use
3675 h8300_current_function_interrupt_function_p.
3676 Do not set interrupt_handler, os_task, monitor.
3677 (h8300_current_function_interrupt_function_p): New.
3678 (h8300_pr_interrupt): Set pragma_interrupt.
3679 (h8300_insert_attributes): Reset pragma_interrupt.
3681 2003-01-03 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3683 * doc/install.texi (Configuration): Fix markup for reference to
3686 2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
3688 * config/h8300/h8300.md (*iorhi3_zext): Relax the condition.
3689 (*iorhi3_two_qi): Likewise.
3690 (*iorsi3_zexthi): Likewise.
3691 (*xorhi3_zextqi): Likewise.
3692 (*xorsi3_zexthi): Likewise.
3693 (*xorsi3_zextqi): Likewise.
3695 2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
3697 * config/h8300/h8300.c (stack_pointer_operand): New.
3698 (const_int_gt_2_operand): Likewise.
3699 (const_int_ge_8_operand): Likewise.
3700 * config/h8300/h8300.md (a splitter): Likewise.
3701 (a peephole2): Likewise.
3702 * config/h8300/h8300-protos.h: Add prototypes for the new
3705 2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
3707 * objc/Make-lang.in, objc/config-lang.in, objc/lang-specs.h,
3708 objc/objc-act.h: Fix copyright years.
3710 2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
3712 * doc/passes.texi: Fix documentation for -fssa-ccp
3714 2003-01-02 Neil Booth <neil@daikokuya.co.uk>
3716 * gccbug.in: Update for new categories.
3718 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
3720 * config/h8300/h8300.md: Reorder some patterns.
3722 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
3724 * config/h8300/h8300.c (output_logical_op): Fix a warning.
3726 2003-01-01 Neil Booth <neil@daikokuya.co.uk>
3728 * config/darwin-protos.h, config/c4x/c4x-protos.h,
3729 config/cris/cris-protos.h, config/i370/i370-protos.h,
3730 config/i960/i960-protos.h, config/ia64/ia64-protos.h,
3731 config/v850/v850-protos.h: Use struct, and don't conditionally
3732 compile on GCC_C_PRAGMA_H.
3734 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
3736 * config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
3737 * config/h8300/h8300-protos.h: Likewise.
3738 * config/sh/sh-protos.h: Likewise.
3740 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
3742 * config/arm/arm-protos.h: Use struct cpp_reader instead of
3744 * config/h8300/h8300-protos.h: Likewise.
3745 * config/sh/sh-protos.h: Likewise.
3747 2003-01-01 Neil Booth <neil@daikokuya.co.uk>
3749 * config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls,
3750 arm_pr_long_calls_off): Use struct.
3751 * config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall)
3753 Don't include cpplib.h.
3754 * config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa,
3755 sh_pr_nosave_low_regs): Similarly.
3757 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
3759 * config/h8300/h8300.c: Include cpplib.h.
3761 2003-01-01 Steven Bosscher <s.bosscher@student.tudelft.nl>
3763 * objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h,
3764 objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h,
3765 objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with
3766 "GCC" in the copyright header.
3768 2003-01-01 Neil Booth <neil@daikokuya.co.uk>
3770 * c-pragma.c (c_register_pragma): New.
3771 (init_pragma): Use it.
3772 * c-pragma.h (cpp_register_pragma): Don't declare.
3773 (c_register_pragma): New.
3774 * cpplib.h: Remove #ifdef GCC_C_PRAGMA_H.
3775 * config/darwin.h (REGISTER_TARGET_PRAGMAS): Update.
3776 * config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update.
3777 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
3778 * config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update.
3779 * config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update.
3780 * config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update.
3781 * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update.
3782 * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update.
3783 * config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update.
3784 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update.
3785 * doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update
3787 2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
3789 * config/h8300/h8300-protos.h: Update the prototypes.
3790 * config/h8300/h8300.c (const_le_2_operand): Change to
3791 const_int_le_2_operand.
3792 (const_int_le_6_operand): Change to const_int_le_6_operand.
3793 * config/h8300/h8300.md (two peepholes): Update the function
3796 2002-12-31 Tom Tromey <tromey@redhat.com>
3798 * doc/install.texi (Testing): Fixed typo.
3800 2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
3802 * config/h8300/h8300.h (TRAMPOLINE_TEMPLATE): Remove.
3803 (TRAMPOLINE_SIZE): Support the normal mode.
3804 (INITIALIZE_TRAMPOLINE): Emit the entire trampoline.
3806 2002-12-31 Mark Mitchell <mark@codesourcery.com>
3808 * c-common.h (pending_lang_change): Declare.
3810 2002-12-31 Jerry Quinn <jlquinn@optonline.net>
3812 * gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
3815 2002-12-31 Jerry Quinn <jlquinn@optonline.net>
3817 * gcc/doc/invoke.texi (Optimization Options): List the options
3818 enabled by each -O flag.
3820 2002-12-31 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3822 * doc/install.texi (Configuration): Explicitly refer
3823 gcc/config.gcc for a list of cpu models.
3825 2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
3827 * config/h8300/h8300.h: Fix comment typos.
3829 2002-12-30 David Edelsohn <edelsohn@gnu.org>
3831 * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
3833 2002-12-30 Tom Tromey <tromey@redhat.com>
3835 * doc/install.texi (Testing): Mention Jacks.
3837 2002-12-30 Joseph S. Myers <jsm@polyomino.org.uk>
3839 * doc/gcc.texi, doc/gccint.texi: Update last modification dates.
3841 2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
3843 * config/h8300/h8300.c (output_logical_op): Use extu.w in more
3845 (compute_logical_op_length): Update to reflect the change in
3847 (compute_logical_op_cc): Likewise.
3849 2002-12-30 Joseph S. Myers <jsm@polyomino.org.uk>
3851 * doc/service.texi: Uncomment and update FAQ link.
3853 2002-12-30 Andreas Jaeger <aj@suse.de>
3855 * unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
3857 2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
3859 * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
3861 2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
3863 * config/h8300/h8300.c (output_logical_op): Use extu.w if we
3864 are clearing the most significant byte.
3865 (compute_logical_op_length): Update to reflect the change in
3867 (compute_logical_op_cc): Likewise.
3869 2002-12-29 Kazu Hirata <kazu@cs.umass.edu>
3871 * config/h8300/h8300.md: Give internal names to anonymous
3874 2002-12-29 Kazu Hirata <kazu@cs.umass.edu>
3876 * config/h8300/h8300.md: Reorder some insns.
3878 2002-12-29 Kazu Hirata <kazu@cs.umass.edu>
3880 * config/h8300/h8300-protos.h: Add prototypes for
3881 const_int_qi_operand and const_int_hi_operand.
3882 * config/h8300/h8300.c (const_int_qi_operand): New.
3883 (const_int_hi_operand): Likewise.
3884 * config/h8300/h8300.md (three peepholes): New.
3886 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
3888 * doc/cpp.texi, doc/gcc.texi, doc/gccint.texi, doc/install.texi:
3891 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
3893 * configure.in: Increase makeinfo version requirement to 4.[2-9].
3894 * configure: Regenerate.
3895 * doc/install.texi: Update Texinfo version requirement.
3897 2002-12-28 Andreas Jaeger <aj@suse.de>
3899 * config/i386/i386.c (x86_function_profiler): Mark labelno as
3902 * c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for
3905 2002-12-27 Kazu Hirata <kazu@cs.umass.edu>
3907 * config/h8300/h8300.md (*iorhi_shift_8): Change the name to
3909 (*iorhi_lshiftrt_8): New.
3911 2002-12-27 Joseph S. Myers <jsm@polyomino.org.uk>
3913 * doc/include/texinfo.tex: Update to version 2002-12-26.16.
3915 2002-12-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3917 * doc/contrib.texi (Contributors): Add Abramo and Roberto Bagnara.
3919 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
3921 * config/h8300/h8300-protos.h: Fix comment typos.
3923 * config/h8300/h8300.c: Fix comment typos.
3925 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
3927 * config/h8300/h8300.h (IDENT_ASM_OP): End with a tab.
3929 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
3931 * config/i386/athlon.md: Fix comment typos.
3932 * config/i386/crtdll.h: Likewise.
3933 * config/i386/djgpp.h: Likewise.
3934 * config/i386/i386-interix.h: Likewise.
3935 * config/i386/i386.c: Likewise.
3936 * config/i386/i386.h: Likewise.
3937 * config/i386/i386.md: Likewise.
3938 * config/i386/k6.md: Likewise.
3939 * config/i386/mingw32.h: Likewise.
3940 * config/i386/pentium.md: Likewise.
3941 * config/i386/sco5.h: Likewise.
3942 * config/i386/winnt.c: Likewise.
3943 * config/i386/xmmintrin.h: Likewise.
3945 2002-12-26 Jose Renau <renau@cs.uiuc.edu>
3947 * ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an
3948 INSN_P before checking to see if it is dead.
3949 (mark_all_insn_unnecessary): Similarly.
3950 (ssa_eliminate_dead_code): Similarly.
3951 * rtl.h (struct rtx_def): Update comments for in_struct usage
3952 in dead code elimination pass.
3953 (INSN_DEAD_CODE_P): Allow JUMP_INSN and CALL_INSN as well.
3955 2002-12-26 Andreas Schwab <schwab@suse.de>
3957 * config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax.
3959 2002-12-25 David Edelsohn <edelsohn@gnu.org>
3961 * config/rs6000/rs6000.c (rs6000_override_options): Convert to
3962 tartet_flags_explicit.
3963 * config/rs6000/rs6000.h (MASK_MULTIPLE_SET, MASK_STRING_SET): Delete.
3964 Compact target_flags bits.
3965 (TARGET_MULTIPLE_SET, TARGET_STRING_SET): Delete.
3966 (TARGET_SWITCHES): Delete references to *_SET flags.
3968 Wed Dec 25 20:30:53 CET 2002 Jan Hubicka <jh@suse.cz>
3970 * i386.md (memory attribute): Fix setcc attribute.
3972 2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
3974 * output.h: Fix comment typos.
3975 * predict.c: Likewise.
3976 * print-tree.c: Likewise.
3977 * profile.c: Likewise.
3978 * ra-build.c: Likewise.
3979 * ra-colorize.c: Likewise.
3980 * ra-debug.c: Likewise.
3981 * ra-rewrite.c: Likewise.
3985 * recog.c: Likewise.
3986 * reg-stack.c: Likewise.
3987 * regclass.c: Likewise.
3989 2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
3991 * config/h8300/h8300.c (print_operand_address): Do not negate
3992 a negative number when printing one.
3994 2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
3996 * config/h8300/h8300-protos.h: Add prototypes for
3997 output_plussi, compute_plussi_length, and compute_plussi_cc.
3998 * config/h8300/h8300.c (output_plussi): New.
3999 (compute_plussi_length): Likewise.
4000 (compute_plussi_cc): Likewise.
4001 * config/h8300/h8300.md (addsi_h8300h): Call
4002 output_plussi, compute_plussi_length, and compute_plussi_cc.
4004 2002-12-24 Kazu Hirata <kazu@cs.umass.edu>
4006 * config/h8300/h8300.md (two peepholes): Use match_dup instead
4007 of match_operand in the new patterns.
4009 2002-12-24 Joseph S. Myers <jsm@polyomino.org.uk>
4011 * doc/include/texinfo.tex: Update to version 2002-11-25.11.
4013 2002-12-24 Nathan Sidwell <nathan@codesourcery.com>
4015 * configure.in (enable-coverage): Add SELF_COVERAGE.
4016 * profile.c (end_branch_prob): Use SELF_COVERAGE.
4018 2002-12-24 Jim Wilson <wilson@redhat.com>
4020 * alias.c (record_set): Handle multi-reg hard registers.
4022 2002-12-24 Kazu Hirata <kazu@cs.umass.edu>
4024 * regmove.c: Fix comment typos.
4025 * reload.c: Likewise.
4026 * reload1.c: Likewise.
4027 * resource.c: Likewise.
4028 * rtl.def: Likewise.
4030 * rtlanal.c: Likewise.
4031 * sched-deps.c: Likewise.
4032 * sched-rgn.c: Likewise.
4033 * sibcall.c: Likewise.
4034 * simplify-rtx.c: Likewise.
4035 * ssa-ccp.c: Likewise.
4038 * stor-layout.c: Likewise.
4039 * system.h: Likewise.
4040 * tlink.c: Likewise.
4041 * toplev.c: Likewise.
4042 * tracer.c: Likewise.
4043 * tree-inline.c: Likewise.
4046 * unroll.c: Likewise.
4047 * varasm.c: Likewise.
4049 2002-12-23 Larin Hennessy <larin@science.oregonstate.edu>
4051 * doc/install.texi: Remove i386-*-isc, i860-*-bsd,
4052 m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries.
4053 * doc/invoke.texi: Remove AMD 29K, ARM RISC/iX, Clipper, Convex,
4055 * doc/md.texi: Remove AMD 29K entries.
4056 * doc/trouble.texi: Remove Alliant, DG/UX, Iris 4.0.5F, GAS
4057 1.38.1, NewsOS, RT PC, WE32K entries.
4059 2002-12-23 Aldy Hernandez <aldyh@redhat.com>
4062 * config/rs6000/altivec.md (mulv4sf3): Rewrite to add -0.0 vector.
4063 (altivec_vspltisw_v4sf): Name pattern.
4064 (altivec_vslw_v4sf): New pattern.
4066 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
4068 * doc/include/gcc-common.texi: Define DEVELOPMENT.
4070 2002-12-23 Mark Mitchell <mark@codesourcery.com>
4072 * stor-layout.c (update_alignment_for_field): Correct handling of
4073 unnamed bitfields on PCC_BITFIELD_TYPE_MATTERS machines.
4074 * doc/tm.texi (PCC_BITFIELD_TYPE_MATTERS): Note that an unnamed
4075 bitfield does not affect alignment.
4077 2002-12-23 David Edelsohn <edelsohn@gnu.org>
4079 * expr.c (expand_assignment): Apply special treatment to
4082 2002-12-23 Kazu Hirata <kazu@cs.umass.edu>
4084 * config/h8300/h8300-protos.h: Update the prototype of
4086 * config/h8300/h8300.c (expand_a_shift): Change the return
4088 * config/h8300/h8300.md: Update all the uses of
4091 2002-12-22 Nathan Sidwell <nathan@codesourcery.com>
4093 * tree.c (save_expr): Allow either side of a dyadic operand to be
4096 * doc/portability.texi (portability): Update portability goals.
4098 2002-12-23 Kazu Hirata <kazu@cs.umass.edu>
4100 * config/h8300/h8300.c (output_a_shift): Remove unused code.
4102 2002-12-22 Mark Mitchell <mark@codesourcery.com>
4104 * stor-layout.c (update_alignment_for_field): Guard use of
4105 ADJUST_FIELD_ALIGN with #ifdef.
4107 * stor-layout.c (update_alignment_for_field): Use
4108 ADJUST_FIELD_ALIGN when computing the alignment for a zero-width
4109 bitfield when PCC_BITFIELD_TYPE_MATTERS.
4111 2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
4113 * genautomata.c: Fix comment typos.
4115 Sun Dec 22 18:23:44 CET 2002 Jan Hubicka <jh@suse.cz>
4117 * params.def (tracer-min-branch-probability-feedback): Fix default.
4118 * final.c (compute_alignments): Use profile to avoid code bloat.
4120 2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
4122 * config/h8300/h8300.c (get_shift_alg): Make shift insn
4123 sequences end with a valid cc0 whenever possible.
4125 2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
4127 * config/h8300/h8300.md (negsf2): New.
4128 (*negsf2_h8300): Likewise.
4129 (*negsf2_h8300hs): Likewise.
4131 2002-12-21 Geoffrey Keating <geoffk@apple.com>
4133 * integrate.c (output_inline_function): Don't hold private
4134 pointers to 'struct function' over GC calls.
4136 2002-12-21 Kaz kojima <kkojima@gcc.gnu.org>
4138 * config/sh/lib1funcs.asm (__fpscr_values): Conditionalize with
4140 * config/sh/t-linux (TARGET_LIBGCC2_CFLAGS): Add -DNO_FPSCR_VALUES.
4142 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
4144 * config/h8300/h8300.md (zero_extendqisi2): Correct the
4147 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
4149 * config/h8300/h8300.md (*zero_extendqihi2_h8300): Make the
4150 second alternative "#".
4151 (*zero_extendqihi2_h8300hs): Likewise.
4152 (a define_split): New.
4154 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
4156 * config/h8300/h8300-protos.h: Update the prototype for
4158 Add prototypes for const_le_2_operand and const_le_6_operand.
4159 * config/h8300/h8300.c (split_adds_subs): Add an argument to
4160 specify whether inc/dec should be used when possible.
4161 (const_le_2_operand): New.
4162 (const_le_6_operand): Likewise.
4163 * config/h8300/h8300.md (two peepholes): New.
4165 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
4167 * config/fr30/fr30.md: Fix a comment typo.
4168 * config/i386/i386.c: Likewise.
4169 * config/ip2k/ip2k.h: Likewise.
4171 2002-12-20 Jim Wilson <wilson@redhat.com>
4173 * config/rs6000/spe.h (__ev_subifw): Reverse arguments.
4174 (__ev_subw, __ev_subiw): New.
4175 (ev_mwlssf, ev_mwlsmf, ev_mwlssfa, ev_mwlsmfa, ev_mwlssfaaw,
4176 ev_mwlsmfaaw, ev_mwlssfanw, ev_mwlsmfanw): Delete.
4178 2002-12-20 John David Anglin <dave.anglin@nrc.gc.ca>
4180 * pa-linux.h (TARGET_HAS_STUBS_AND_ELF_SECTIONS): Delete define.
4181 * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete define.
4182 * pa.c (pa_function_ok_for_sibcall): Allow non indirect sibcalls on
4183 TARGET_ELF32. Add comment on sibcall issues for TARGET_64BIT.
4185 2002-12-20 Kazu Hirata <kazu@cs.umass.edu>
4187 * config/h8300/h8300-protos.h: Add prototypes for
4188 incdec_operand and eqne_operator.
4189 * config/h8300/h8300.c (incdec_operand): New.
4190 (eqne_operator): Likewise.
4191 * config/h8300/h8300.h (CONST_OK_FOR_M): Likewise.
4192 (CONST_OK_FOR_O): Likewise.
4193 (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_M and
4195 * config/h8300/h8300.md (UNSPEC_INCDEC): New.
4196 (addhi3_incdec): New.
4197 (addsi3_incdec): Likewise.
4198 (two peepholes): Likewise.
4200 2002-12-20 Kazu Hirata <kazu@cs.umass.edu>
4202 * config/h8300/h8300.c (dosize): Remove warnings.
4203 (print_operand): Likewise.
4205 2002-12-20 Richard Henderson <rth@redhat.com>
4207 * config/alpha/alpha.c (decl_has_samegp): New.
4208 (samegp_function_operand): Use it. Rename from
4209 current_file_function_operand.
4210 (direct_call_operand): Handle -msmall-text via symbol->jump.
4211 (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel.
4212 (tls_symbolic_operand_type): Likewise.
4213 (alpha_encode_section_info): Likewise. Handle -msmall-text.
4214 (alpha_function_ok_for_sibcall): Use decl_has_samegp.
4215 (alpha_end_function): Set symbol->jump for functions defined in
4217 * config/alpha/alpha-protos.h: Update.
4218 * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New.
4219 (TARGET_SWITCHES): Add -msmall-text and -mlarge-text.
4220 (PREDICATE_CODES): Update.
4221 * config/alpha/alpha.md (call patterns): Update for
4222 samegp_function_operand rename; use !samegp reloc if
4223 TARGET_EXPLICIT_RELOCS.
4224 * doc/invoke.text: Document -msmall-text and -mlarge-text.
4226 2002-12-20 Ian Dall <ian@sibyl.beware.dropbear.id.au>
4228 * config/ns32k/ns32k.md (movdi): Use "l" instead of "f" to match
4229 all registers capable of holding a double float.
4230 (*rcond): change name of "reverse branch" insns to
4231 something more meaningful.
4232 (*rbgt, *rblt, *rbge, *rble): Reverse branches to handle IEEE
4233 comparisons properly.
4234 (*ffs): Change operand 0 from write to read-modify-write.
4235 (*ffsssi2): Drop constraints from define_expand.
4237 * config/ns32k/ns32k.h (STORE_RATIO, STORE_BY_PIECES): Avoid using
4238 MOVE_RATIO as default for store operations.
4240 * config/ns32k/ns32k.h (enum reg_class, REG_CLASS_NAMES): Add
4242 (CANNOT_CHANGE_MODE_CLASS): Can't subreg LONG_REGS.
4243 (GO_IF_LEGITIMATE_ADDRESS): Remove spurious abort().
4244 * config/ns32k/ns32k.c (regclass_map): Add LONG_REGS class.
4246 * config/ns32k/STATUS: New File
4247 * config/ns32k/NOTES: New file.
4249 2002-12-20 Hartmut Penner <hpenner@de.ibm.com>
4251 * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=
4252 option for S/390 and zSeries.
4253 * config/s390/s390.c (s390_cpu, s390_cpu_string, s390_arch,
4254 s390_arch_string): New variables.
4255 (override_options): Checking for options and setting of
4256 appropriate target_flags, cpu and arch flags.
4257 * config/s390/s390.h: (processor_type): New enum.
4258 (TARGET_SWITCHES): New switches -mesa/zarch.
4259 * config/s390/s390.md: New attribute 'cpu'.
4261 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
4263 * c-pretty-print.h: Fix comment typos.
4264 * integrate.c: Likewise.
4265 * varasm.c: Likewise.
4266 * config/c4x/c4x.h: Likewise.
4267 * config/c4x/c4x.md: Likewise.
4268 * config/fr30/fr30.md: Likewise.
4269 * config/frv/frv.c: Likewise.
4270 * config/h8300/h8300.c: Likewise.
4271 * config/i386/i386.c: Likewise.
4272 * config/i386/i386.h: Likewise.
4273 * config/ia64/ia64.c: Likewise.
4274 * config/ia64/ia64.h: Likewise.
4275 * config/ip2k/ip2k.md: Likewise.
4276 * config/m68hc11/m68hc11-crt0.S: Likewise.
4277 * config/m68hc11/m68hc11.h: Likewise.
4278 * config/m68hc11/m68hc11.md: Likewise.
4279 * config/m68hc11/m68hc12.h: Likewise.
4280 * config/mcore/mcore.md: Likewise.
4281 * config/mips/mips.c: Likewise.
4282 * config/mips/mips.md: Likewise.
4283 * config/mmix/mmix-modes.def: Likewise.
4284 * config/pa/pa.c: Likewise.
4285 * config/rs6000/rs6000.c: Likewise.
4286 * config/rs6000/rs6000.h: Likewise.
4287 * config/rs6000/rs6000.md: Likewise.
4289 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
4291 * config/h8300/h8300.md (output_a_shift): Clean up the code to
4292 output shifts using rotation.
4294 2002-12-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4296 * flow.c (allocate_reg_life_data): Reset REG_FREQ.
4298 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
4300 * config/h8300/h8300.md (pushqi_h8300): Don't push the stack
4302 (pushqi_h8300hs): Likewise.
4303 (pushhi_h8300): Likewise.
4304 (pushhi_h8300hs): Likewise.
4306 Thu Dec 19 23:44:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
4308 * sched-rgn.c (init_regions): Update comment.
4310 2002-12-19 David Edelsohn <edelsohn@gnu.org>
4312 * config/rs6000/rs6000.md (define_attr type): Remove altivec.
4313 * config/rs6000/altivec.md (movv4si_internal): Set correct instruction
4315 (movv8hi_internal,movv16qi_internal,movv4sf_internal): Same.
4316 (get_vrsave_internal,set_vrsave_internal): Same.
4317 (altivec_vspltisb,altivec_vspltish,altivec_vspltisw): Same.
4318 (absv16qi2,absv8hi2,absv4si2,absv4sf2): Same
4319 (altivec_abss_v16qi,altivec_abss_v8hi,altivec_abss_v4si): Same.
4321 2002-12-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
4322 Danny Smith <dannysmith@users.sourceforge.net>
4323 Eric Kohl <ekohl@rz-online.de>
4325 * config/i386/i386.c (ix86_handle_cdecl_attribute): Check for
4326 attributes incompatible with fastcall attribute.
4327 (ix86_handle_regparm_attribute): Likewise.
4329 * config/i386/i386.c (ix86_comp_type_attributes): Check for mismatched
4332 * config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall
4334 (ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref.
4335 * config/i386/i386-protos.h (i386_pe_output_labelref): Declare.
4336 * config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in
4337 i386_pe_output_labelref rather than here.
4338 (gen_fastcall_suffix): New function. Decorates a label name with the
4339 fastcall prefix (@) and the stdcall suffix.
4340 (i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol
4341 has a fastcall attribute.
4342 (i386_pe_output_labelref): New function. Outputs a label reference.
4343 * config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a
4345 (ix86_return_pops_args): Fastcall functions pop the stack.
4346 (init_cumulative_args): Reserve registers ECX and EDX if function has
4348 (function_arg): Use registers ECX and EDX if function has fastcall
4350 * config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag.
4351 (DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'.
4352 (FASTCALL_PREFIX): Define as '@'.
4353 * config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall
4355 * doc/extend.texi: Add documentation of fastcall attribute.
4357 2002-12-19 Nathanael Nerode <neroden@gcc.gnu.org>
4359 * configure.in: FORBUILD when build!=host changed from
4360 ../$build-alias to ../build-$build_alias to match change made
4362 * configure: Regenerated.
4364 2002-12-19 Eric Botcazou <ebotcazou@libertysurf.fr>
4366 PR optimization/8988
4367 * loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
4368 the biv when eliminating.
4370 2002-12-19 Devang Patel <dpatel@apple.com>
4371 * gcc.c (struct default_compiler): Recognizes input file name with
4372 .CPP extension as C++ source files
4373 * cp/lang-spec.h: Same
4374 * doc/invoke.texi: Add documentation for .CPP support.
4376 2002-12-19 Aldy Hernandez <aldyh@redhat.com>
4379 * config/rs6000/altivec.md ("absv8hi2"): Add & to clobbered
4381 ("absv16qi2"): Same.
4384 ("altivec_abss_v16qi"): Same.
4385 ("altivec_abss_v8hi"): Same.
4386 ("altivec_abss_v4si"): Same.
4388 2002-12-19 Ulrich Weigand <uweigand@de.ibm.com>
4390 * config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly",
4391 "*tstqiCCT", "*tstqiCCT_cconly"): New insns.
4393 2002-12-19 Eric Botcazou <ebotcazou@libertysurf.fr>
4396 * stmt.c (expand_asm_operands): Produce an error when
4397 the PIC register is clobbered.
4399 2002-12-18 Daniel Berlin <dberlin@dberlin.org>
4401 * Makefile.in (OBJS): Add alloc-pool.o
4402 (alloc-pool.o): New object.
4404 * alloc-pool.c: New file.
4405 * alloc-pool.h: New file.
4407 2002-12-18 Loren James Rittle <ljrittle@acm.org>
4409 * gcc.c (validate_switches): Robustify against skipping past '\0'.
4411 2002-12-18 Geoffrey Keating <geoffk@apple.com>
4413 * config.gcc: Set extra_objs in the generic Darwin rule,
4414 not in the machine-specific rules.
4416 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
4418 * ChangeLog: Follow spelling conventions.
4419 * ChangeLog.2: Likewise.
4420 * ChangeLog.4: Likewise.
4421 * ChangeLog.5: Likewise.
4422 * cppexp.c: Likewise.
4425 * gengtype.c: Likewise.
4426 * reload1.c: Likewise.
4427 * sched-rgn.c: Likewise.
4429 * stor-layout.c: Likewise.
4430 * timevar.c: Likewise.
4431 * toplev.c: Likewise.
4433 * varasm.c: Likewise.
4434 * config/fr30/fr30.md: Likewise.
4435 * config/i386/i386.c: Likewise.
4436 * config/ia64/ia64.c: Likewise.
4437 * config/pa/pa.c: Likewise.
4439 2002-12-18 Roger Sayle <roger@eyesopen.com>
4441 * basic-block.h (flow_bb_inside_loop_p): Correct prototype.
4443 2002-12-18 Aldy Hernandez <aldyh@redhat.com>
4446 * config/rs6000/altivec.h (vec_cmplt macro): Reverse arguments in
4448 (vec_cmplt C++ functions): Reverse arguments.
4450 2002-12-18 Geoffrey Keating <geoffk@apple.com>
4452 * config/rs6000/t-rs6000: Move contents to t-fprules,
4453 add rules for dependencies of rs6000.o and to build rs6000-c.o
4454 * config/rs6000/t-fprules: New file from t-rs6000.
4455 * config/rs6000/t-beos: Remove soft-fp rules.
4456 * config/rs6000/t-ppccomm: Likewise.
4457 * config/rs6000/t-newas: Likewise.
4458 * config/rs6000/t-rs6000-c-rule: Delete.
4459 * config.gcc: Use t-fprules for rs6000/ ports when appropriate.
4460 Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule.
4461 Create generic Darwin rules.
4463 * gengenrtl.c (gencode): Delete unnecessary rtl_obstack declaration.
4465 2002-12-18 Doug Evans <dje@sebabeach.org>
4467 * m32r/m32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P
4469 (move_src_operand): Remove compile-time warning.
4470 * m32r/m32r.h (ROUND_ADVANCE_ARG): Ditto.
4472 2002-12-18 Jason Merrill <jason@redhat.com>
4474 * unwind-dw2-fde.c (frame_downheap): Split out from...
4475 (frame_heapsort): Here.
4477 2002-12-17 Jason Merrill <jason@redhat.com>
4479 * tree.c (make_node): Don't set TREE_TYPE on 's' class nodes.
4480 (build1): Always set TREE_SIDE_EFFECTS on 's' class nodes.
4482 * gcc.c (do_spec_1) ['W']: End any pending argument from the braces.
4484 * calls.c (expand_call): Don't try to be clever about expanding
4485 the return slot address.
4487 2002-12-18 Kaz kojima <kkojima@gcc.gnu.org>
4489 * config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC):
4492 2002-12-17 Jason Merrill <jason@redhat.com>
4494 * genmultilib: Use 'cd ./foo'.
4496 2002-12-17 Kazu Hirata <kazu@cs.umass.edu>
4498 * doc/c-tree.texi: Restore deliberate spelling mistakes.
4500 2002-12-17 Kazu Hirata <kazu@cs.umass.edu>
4502 * doc/c-tree.texi: Fix typos and follow spelling conventions.
4503 * doc/cpp.texi: Likewise.
4504 * doc/extend.texi: Likewise.
4505 * doc/gty.texi: Likewise.
4506 * doc/install.texi: Likewise.
4507 * doc/invoke.texi: Likewise.
4508 * doc/md.texi: Likewise.
4509 * doc/passes.texi: Likewise.
4510 * doc/rtl.texi: Likewise.
4511 * doc/sourcebuild.texi: Likewise.
4512 * doc/tm.texi: Likewise.
4514 2002-12-17 Jerry Quinn <jlquinn@optonline.net>
4516 * doc/invoke.texi: Minor spelling and grammar fixes.
4518 2002-12-17 Ulrich Weigand <uweigand@de.ibm.com>
4520 * config/s390/s390.c (s390_output_constant_pool): Replace
4521 ASM_OUTPUT_INTERNAL_LABEL by (*targetm.asm_out.internal_label).
4523 Tue Dec 17 09:47:57 CET 2002 Jan Hubicka <jh@suse.cz>
4525 * convert.c (convert_to_real): Disable function transformation for
4528 2002-12-16 Geoffrey Keating <geoffk@apple.com>
4530 * gcc.c (handle_braces): Allow '@' as a switch name.
4532 2002-12-16 Jason Merrill <jason@redhat.com>
4534 * calls.c (expand_call): Handle CALL_EXPR_HAS_RETURN_SLOT_ADDR
4535 with special struct-return ABIs.
4537 * c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT
4538 doesn't match the begin SCOPE_STMT in partialness.
4540 2002-12-16 Geoffrey Keating <geoffk@apple.com>
4542 * genmultilib: Create temporary files in unique subdirectory.
4544 * gcc.c (validate_switches): Allow '@' as a switch name.
4546 2002-12-16 Loren J. Rittle <ljrittle@acm.org>
4548 * Makefile.in (gcov-iov.h): Improve portability.
4550 Mon Dec 16 23:39:19 CET 2002 Jan Hubicka <jh@suse.cz>
4552 * mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not
4554 * mips.md (tablejump insn): Likewise.
4556 2002-12-16 Mark Mitchell <mark@codesourcery.com>
4558 * doc/include/gcc-common.texi: Change version number to 3.4.
4560 2002-12-16 Bruce Korb <bkorb@gnu.org>
4562 * fixinc/fixlib.h: add: #include <signal.h>
4563 * fixinc/fixincl.c: remove: #include <signal.h>
4565 Mon Dec 16 17:20:04 2002 J"orn Rennecke <joern.rennecke@superh.com>
4567 * sh.h (EXTRA_CONSTRAINT_Z): New macro.
4568 (EXTRA_CONSTRAINT): Use it.
4569 * sh.md (anddi3): Use 'Z' constraint for alternative 2.
4571 2002-12-15 Zack Weinberg <zack@codesourcery.com>
4573 * config.gcc (need_64bit_hwint): New variable.
4574 (alpha*-*-*, x86_64-*-*, ia64-*-*, mips*-*-*, powerpc*-*-*,
4575 mmix-knuth-mmixware, rs6000*-*-*, sparc64*-*-*, s390*-*-*,
4576 sh*-*-*, hppa*64*-*-linux, parisc*64*-*-linux, hppa*64*-*-hpux11*,
4577 sparcv9-*-solaris2*, sparc*-*-solaris2.[789], ultrasparc-*-freebsd*):
4579 (powerpc*-*-darwin*): Unset it.
4580 (alpha-*-interix, alpha64-dec-*vms*, i?86-*-interix3*,
4581 i?86-*-interix*, sparc64-*-openbsd*): Remove references to
4582 deleted/nonexistent xm-*.h headers.
4583 * configure.in: AC_DEFINE NEED_64BIT_HOST_WIDE_INT if the
4584 target set need_64bit_hwint in config.gcc.
4585 * configure, config.in: Regenerate.
4587 * hwint.h: Overhaul. Don't bother trying int for
4588 HOST_WIDE_INT. Do try __int64 if long is not enough. Base
4589 decision to force 64-bit HOST_WIDE_INT on
4590 NEED_64BIT_HOST_WIDE_INT, not (MAX_)LONG_TYPE_SIZE which is
4591 not visible at this point. Don't allow prior definition of
4592 any macro defined by this file.
4594 * config/alpha/xm-vms.h: Don't define HOST_WIDE_INT or
4595 HOST_BITS_PER_WIDE_INT.
4596 * config/c4x/c4x.h: Adjust redefinition of
4597 HOST_WIDE_INT_PRINT_HEX to match changes to hwint.h.
4598 * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms64.h,
4599 config/i386/xm-i386-interix.h: Delete file.
4601 2002-12-14 Rodney Brown <rbrown64@csc.com.au>
4602 John David Anglin <dave@hiauly1.hia.nrc.ca>
4604 * pa.c (output_millicode_call): Convert ASM_OUTPUT_INTERNAL_LABEL.
4605 * pa64-hpux.h (ASM_OUTPUT_INTERNAL_LABEL): Delete define.
4607 2002-12-14 Zack Weinberg <zack@codesourcery.com>
4609 * mkconfig.sh: Correct comment. Add copyright boilerplate.
4611 2002-12-14 Zack Weinberg <zack@codesourcery.com>
4613 * config/t-darwin, config/arm/t-pe, config/arm/t-strongarm-pe,
4614 config/c4x/t-c4x, config/i370/t-i370, config/i386/t-cygwin,
4615 config/i386/t-interix, config/i960/t-960bare, config/ia64/t-ia64,
4616 config/rs6000/t-rs6000-c-rule, config/sparc/t-sol2,
4617 config/v850/t-v850: Correct dependencies and normalize
4618 compilation commands for files that include coretypes.h and tm.h.
4620 * config/sparc/gmon-sol2.c: Include tconfig.h and tsystem.h,
4621 not config.h and system.h.
4623 Sat Dec 14 20:43:41 CET 2002 Jan Hubicka <jh@suse.cz>
4625 * i386.c (flags_reg_operand): New function.
4626 * i386.h (PREDICATE_CODES): Add flags_reg_operand.
4627 * i386.md (cmov splitter, movqicc): Use new predicate.
4629 Sat Dec 14 17:03:17 CET 2002 Jan Hubicka <jh@suse.cz>
4631 * i386.md (movqicc splitter): Fix template.
4633 2002-12-13 Jason Merrill <jason@redhat.com>
4635 * tree.h (CALL_EXPR_HAS_RETURN_SLOT_ADDR): New macro.
4636 * calls.c (expand_call): Handle it.
4637 * tree-inline.c (struct inline_data): Remove target_exprs field.
4638 (optimize_inline_calls): Don't initialize it.
4639 (expand_call_inline): Don't modify it. Handle
4640 CALL_EXPR_HAS_RETURN_SLOT_ADDR.
4641 (declare_return_variable): Take return slot addr.
4642 * langhooks.h (copy_res_decl_for_inlining): Change target_exprs parm
4643 to return_slot_addr.
4644 * langhooks-def.h, langhooks.c: Adjust.
4645 * explow.c (maybe_set_unchanging): Don't set RTX_UNCHANGING_P for
4646 a decl with no DECL_INITIAL.
4648 * expr.c (expand_expr): Don't discard the target of a call which
4651 2002-12-13 Neil Booth <neil@daikokuya.co.uk>
4653 * cppinit.c (path_include): Take an environment variable name.
4655 (init_standard_includes): Simplify environment handling, and
4657 (cpp_read_main_file): ...here as -nostdinc should not affect
4658 environment variable paths.
4660 2002-12-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4662 * pa.c (output_millicode_call): Correct typo.
4663 (output_call): Likewise.
4665 Fri Dec 13 21:07:18 2002 Alexandre Oliva <aoliva@redhat.com>
4667 * config/mn10300/mn10300.c (print_operand) <case N>: Check
4668 operand's range. Print value directly, without aid from
4671 <case S>: Make sure argument to fprintf has the right type.
4672 * config/mn10300/mn10300.h (OK_FOR_T): New macro.
4673 (EXTRA_CONSTRAINT): Adjust.
4674 * config/mn10300/mn10300.md: Add new all-QImode pattern for
4675 bclr. Use %U for immediate operands of bset and bclr.
4676 (iorqi3): New expand, with insns for AM33 and mn10300.
4678 Fri Dec 13 16:02:27 2002 J"orn Rennecke <joern.rennecke@superh.com>
4680 * sh.c (sh_register_operand): New function.
4681 (prepare_move_operands): Use it.
4682 * sh.h (PREDICATE_CODES): Add entry for sh_register_operand.
4683 * sh.md (movsi_media, movsi_media_nofpu): Allow stores of 0.
4684 (movqi_media, movhi_media, movdi_media, movdi_media_nofpu): Likewise.
4685 (movdf_media, movdf_media_nofpu, movv4sf_i, movsf_media): Likewise.
4686 (movsf_media_nofpu, movv2hi_i, movv4hi_i, movv8qi_i): Likewise.
4687 (movv2si_i): Likewise.
4689 2002-12-13 Jim Wilson <wilson@redhat.com>
4691 * doc/extend.texi (Complex Numbers): Update info on debug info.
4693 2002-12-13 Kazu Hirata <kazu@cs.umass.edu>
4695 * config/h8300/h8300.md (addhi3_h8300): Remove the last
4698 2002-12-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4700 * hooks.h (hook_tree_tree_bool_false): Declare
4701 hook_bool_tree_tree_false instead.
4703 2002-12-12 Devang Patel <dpatel@apple.com>
4705 * doc/invoke.texi: Document Darwin linker options, -bundle
4706 -bind_at_load, -all_load and -arch_errors_fatal
4708 2002-12-12 Jim Wilson <wilson@redhat.com>
4710 * dbxout.c (dbxout_fptype_value): New.
4711 (dbxout_type, case COMPLEX_TYPE): Call it. Use 'R' instead of 'r'.
4713 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
4715 * c-decl.c: Fix a comment typo.
4717 * cfgcleanup.c: Likewise.
4718 * cfglayout.c: Likewise.
4719 * cfgrtl.c: Likewise.
4720 * c-typeck.c: Likewise.
4721 * dominance.c: Likewise.
4722 * dwarf2asm.c: Likewise.
4723 * dwarfout.c: Likewise.
4724 * expmed.c: Likewise.
4726 * final.c: Likewise.
4728 * function.c: Likewise.
4730 * genautomata.c: Likewise.
4731 * integrate.c: Likewise.
4734 * output.h: Likewise.
4735 * profile.c: Likewise.
4737 * reload1.c: Likewise.
4738 * reload.c: Likewise.
4739 * sched-rgn.c: Likewise.
4742 * vmsdbgout.c: Likewise.
4744 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
4746 * config/h8300/h8300.md: Add a new peephole2.
4748 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
4750 * config/h8300/h8300.md (a peephole2): Accept a constant
4751 that's accepted by CONST_OK_FOR_J.
4753 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
4755 * config/h8300/h8300.h (CONST_OK_FOR_J): New.
4756 (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
4757 * config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
4758 (*addhi_h8300hs): Likewise.
4760 Thu Dec 12 16:24:59 2002 J"orn Rennecke <joern.rennecke@superh.com>
4762 * sh.c (reg_class_from_letter): No longer const. Add 'e' entry.
4763 (sh_register_move_cost): Add clause for SImode fp-fp moves.
4764 Increase cost for moves involving multiple general purpose registers.
4765 * sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
4767 (HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
4768 registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
4769 (enum reg_class reg_class_from_letter): No longer const.
4770 (SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
4771 REGCLASS_HAS_GENERAL_REG.
4772 Handle SImode moves from/to fp registers.
4773 ! TARGET_SHMEDIA && TARGET_FMOVD.
4774 (SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
4775 * sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.
4777 2002-12-12 Andreas Schwab <schwab@suse.de>
4779 * config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
4780 change and some warnings.
4782 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
4784 * doc/md.texi (pushm): Fix a typo.
4786 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
4788 * config/mips/mips.c (mips_output_conditional_branch): Support
4789 PIC-safe out-of-range branch and branch-likely.
4790 * config/mips/mips.md (attr length): PIC-safe out-of-range
4791 branches are longer.
4792 ("jump"): Support PIC-safe out-of-range-for-branch jumps. Remove
4793 unused code to support indirect jumps.
4795 2002-12-11 Zack Weinberg <zack@codesourcery.com>
4797 * Makefile.in (GTFILES): Add $(host_xm_file_list) and
4800 2002-12-11 David Edelsohn <edelsohn@gnu.org>
4802 * config/rs6000/t-rs6000-c-rule: Add coretypes.h $(TM_H) dependencies.
4804 Wed Dec 11 15:20:45 CET 2002 Jan Hubicka <jh@suse.cz>
4806 * i386.md (cmove splitters): Avoid creation of unnecesary subregs.
4808 2002-12-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
4810 * pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
4811 (MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
4813 (PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
4814 (FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.
4816 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
4818 * doc/invoke.texi: Correct dump file names.
4820 2002-12-09 Steve Ellcey <sje@cup.hp.com>
4822 * config/ia64/ia64.c (ia64_hpux_asm_file_end): Don't send stripped
4823 name to globalize_label or assemble_name.
4825 Wed Dec 11 20:15:19 2002 J"orn Rennecke <joern.rennecke@superh.com>
4827 * sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS
4828 if not TARGET_SHMEDIA.
4830 Wed Dec 11 19:05:05 2002 J"orn Rennecke <joern.rennecke@superh.com>
4832 * sh.h (REG_CLASS_HAS_FP_REG): New.
4833 (REGISTER_MOVE_COST) Use it. Put body into a function and
4835 * sh.c (sh_register_move_cost).
4836 * sh-protos.h (sh_register_move_cost): Declare.
4838 * sh.c (sh_expand_builtin): Abort for unexpected nop values.
4839 (sh_adjust_cost): Always return a value.
4841 Wed Dec 11 18:39:52 2002 J"orn Rennecke <joern.rennecke@superh.com>
4843 * sh.h (REG_CLASS_HAS_GENERAL_REG): New.
4844 (REGISTER_MOVE_COST): Use it.
4846 2002-12-11 Richard Henderson <rth@redhat.com>
4848 * tree.h (MODULE_LOCAL_P): Kill.
4849 * varasm.c (default_binds_local_p_1): Use decl_visibility instead.
4851 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
4853 * config/h8300/h8300.md (two define_peephole2): New.
4855 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
4857 * config/h8300/h8300.h (CONST_OK_FOR_J): Remove.
4858 (CONST_OK_FOR_K): Likewise.
4859 (CONST_OK_FOR_M): Likewise.
4860 (CONST_OK_FOR_LETTER_P): Do not use the above macros.
4862 2002-12-11 Neil Booth <neil@daikokuya.co.uk>
4864 * c-common.c (builtin_define_type_max): Handle unsigned
4867 2002-12-10 David Edelsohn <edelsohn@gnu.org>
4869 * haifa-sched.c (rank_for_schedule): Correct style.
4871 2002-12-10 Per Bothner <pbothner@apple.com>
4873 * cpplib.h (struct cpp_hashnode): Split a non-portably-signed field
4874 directive_index into an unsigned field and a new is_directive field.
4875 * cppinit.c (mark_named_operators): Update to set new fields.
4876 * cpplex.c (_cpp_lex_direct): Now directive_field is unsigned.
4877 * cpplib.c [_cpp_handle_directive]: Test is_directive field.
4878 No longer need to subtract 1 from directive_index.
4879 (_cpp_init_directives): No longer need to add 1 to directive_index.
4880 * cpptrad.c (scan_out_logical_line): Use is_directive field.
4882 2002-12-10 Roger Sayle <roger@eyesopen.com>
4884 * builtins.c (fold_builtin): Remove -funsafe-math-optimizations
4885 check for evaluating sqrt of a constant at compile time.
4886 * simplify-rtx.c (simplify_unary_operation): Likewise.
4888 2002-12-10 Janis Johnson <janis187@us.ibm.com>
4891 * doc/tm.texi (PUSH_ARGS): Remove misplaced line.
4893 2002-12-10 Devang Patel <dpatel@appple.com>
4895 * config/darwin.h(LINK_SPEC): Add darwin specific linker options.
4896 * doc/invoke.texi: Add new "Darwin Options" section.
4898 2002-12-10 Jim Wilson <wilson@redhat.com>
4900 * rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in
4903 2002-12-10 Andrew Haley <aph@redhat.com>
4905 * cse.c (cse_insn): Don't cse past a basic block boundary.
4907 2002-12-10 Jakub Jelinek <jakub@redhat.com>
4909 * config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
4911 * config/alpha/linux-elf.h (LIB_SPEC): Likewise.
4912 * config/alpha/linux.h (LIB_SPEC): Likewise.
4913 * config/arm/linux-elf.h (LIB_SPEC): Likewise.
4914 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
4915 * config/sparc/linux.h (LIB_SPEC): Likewise.
4916 * config/sparc/linux64.h (LIB_SPEC): Likewise.
4918 2002-12-09 Larin Hennessy <larin@science.oregonstate.edu>
4920 * doc/invoke.texi: Document UltraSparc III option.
4922 2002-12-09 Richard Henderson <rth@redhat.com>
4924 * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define
4925 __tune_pentium2__ and __tune_pentium3__ as necessary.
4927 2002-12-09 Richard Henderson <rth@redhat.com>
4929 * target.h (gcc_target): Add cannot_force_const_mem.
4930 * target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
4931 (TARGET_INITIALIZER): Add it.
4932 * varasm.c (force_const_mem): Fail if cannot_force_const_mem.
4933 * expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
4934 * reload1.c (reload): Likewise.
4935 * hooks.c (hook_bool_rtx_false): New.
4936 * hooks.h: Declare it.
4938 * config/i386/i386.c (ix86_cannot_force_const_mem): New.
4939 (TARGET_CANNOT_FORCE_CONST_MEM): New.
4940 (ix86_expand_move): Remove de-const-pooling hack.
4942 Mon Dec 9 21:33:38 CET 2002 Jan Hubicka <jh@suse.cz>
4944 * toplev.c (dump_file): Fix order to match reality.
4946 2002-12-08 Geoffrey Keating <geoffk@apple.com>
4948 * config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv.
4949 (store_multiple): Likewise.
4951 2002-12-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
4953 * pa/fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize
4954 function pointers in page 0.
4956 2002-12-09 Steve Ellcey <sje@cup.hp.com>
4958 * config/ia64/hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove
4960 (MEMBER_TYPE_FORCES_BLK): Move.
4961 * config/ia64/ia64.c (ia64_function_arg): Use PARALLEL to pass
4962 aggregate arguments.
4963 (ia64_function_value): Use PARALLEL to return aggregate values.
4965 2002-12-09 Steve Ellcey <sje@cup.hp.com>
4967 * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
4968 * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
4969 * calls.c (store_unaligned_arguments_into_pseudos) Remove
4970 FUNCTION_ARG_REG_LITTLE_ENDIAN.
4971 * stmt.c (expand_return): Ditto.
4972 * expr.c (move_block_from_reg): Ditto.
4973 (copy_blkmode_from_reg): Ditto.
4974 * expmed.c (store_bit_field): Ditto.
4976 2002-12-09 Svein E. Seldal <Svein.Seldal@solidas.com>
4978 * config.gcc: Added tic4x-* target as an alias to c4x-*
4980 Sun Dec 8 14:57:39 CET 2002 Jan Hubicka <jh@suse.cz>
4982 * i386.c (ix86_expand_int_movcc): Use force_operand instead of
4983 constructing insn directly.
4985 2002-12-06 Per Bothner <pbothner@apple.com>
4987 * cpplib.h (struct cpp_hashnode): Change field directive_index from
4988 char to an int bit-field, for hosts where char is unsigned.
4990 2002-12-07 Roger Sayle <roger@eyesopen.com>
4991 Richard Henderson <rth@redhat.com>
4993 * real.c (ieee_extended_motorola_format,
4994 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
4995 ieee_quad_format, vax_d_format, vax_g_format, i370_double_format):
4996 Provide appropriate values for new signbit field.
4998 2002-12-07 Roger Sayle <roger@eyesopen.com>
5000 * real.h (real_format): Add signbit field.
5001 * real.c (ieee_single_format, ieee_double_format,
5002 ieee_extended_motorola_format, ieee_extended_intel_96_format,
5003 ieee_extended_intel_128_format, ibm_extended_format,
5004 ieee_quad_format, vax_f_format, vax_d_format,
5005 vax_g_format, i370_single_format, i370_double_format,
5006 c4x_single_format, c4x_extended_format, real_internal_format):
5007 Provide suitable signbit value, or -1 to avoid bit twiddling.
5009 * optabs.c (expand_unop): Try implementing negation of
5010 floating point modes by flipping the sign bit.
5011 (expand_abs): Try implementing abs of floating point modes
5012 by clearing the sign bit.
5014 Sat Dec 7 22:29:47 CET 2002 Jan Hubicka <jh@suse.cz>
5016 * i386.c (ix86_expand_int_movcc): Use force_operand instead
5017 of constructing insn directly.
5019 2002-12-07 Kazu Hirata <kazu@cs.umass.edu>
5021 * config/h8300/h8300.md (*iorhi_shift_8): New.
5023 2002-12-06 Bernd Schmidt <bernds@redhat.com>
5025 * doc/invoke.texi: Document FRV port options.
5026 * doc/md.texi: Document FRV register classes.
5028 2002-12-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5030 * doc/install.texi (Configuration): Improve description of cases
5031 where `make distclean` may fail; clarify --with-gnu-as; fix grammar.
5033 2002-12-06 Per Bothner <pbothner@apple.com>
5035 * cpplib.h (NODE_MACRO_ARG): New flag.
5036 (struct cpp_hashnode): Give _cpp_hashnode_value tag to value union.
5037 Remove value.operator field. Move arg_index field to value union.
5038 (directive_index): Make signed, since also used for C++ operators.
5039 * cppmacro.c (_cpp_save_parameter): Use NODE_MACRO_ARG flag to
5040 check for duplicate parameter. Set NODE_MACRO_ARG flag.
5041 Save node->value, and set node->value.arg_index.
5042 (_cpp_create_definition): For each paramater, restore node->value.
5043 (lex_expansion_token): Use NODE_MACRO_ARG flag, and moved arg_index.
5044 * cpptrad.c (scan_out_logical_line): Likewise.
5045 (scan_out_logical_line): Check for directive > 0.
5046 * cpplib.c (cpp_handle_directive): Likewise.
5047 * cpplex.c (_cpp_lex_direct): Update as value.operator is replaced
5048 by negative of directive_index.
5049 * cppinit.c (mark_named_operators): Likewise.
5051 * hashtable.h (struct ht_identifier): Swap fields, for better packing.
5053 2002-12-06 Dhananjay Deshpande <dhananjayd@kpit.com>
5055 * gcc/config/sh/sh.c (calc_live_regs): Save fpscr only if target has
5057 (push): Generate push_fpscr.
5058 (pop): Generate pop_fpscr.
5059 * gcc/config/sh/sh.md : Add define_expand "push_fpscr", "pop_fpscr".
5060 (fpu_switch): Add alternative to push fpscr. Enable for TARGET_SH3E.
5062 Fri Dec 6 19:36:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
5064 * sh.c (dump_table): DImode pool constants need only 32 bit alignment.
5065 DFmode alignment depends on TARGET_FMOVD && TARGET_ALIGN_DOUBLE.
5067 Fri Dec 6 19:17:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
5069 * sh.md (movdi_i): Name. Remove inappropriate comment.
5071 Fri Dec 6 15:44:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
5072 Merged from basic improvements branch (excerpt):
5074 2002-11-19 Kaz Kojima <kkojima@gcc.gnu.org>
5075 * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
5077 2002-12-06 Jakub Jelinek <jakub@redhat.com>
5079 * expr.c (expand_expr) <case COND_EXPR>: Never modify exp in place.
5081 Thu Dec 5 16:58:25 CET 2002 Jan Hubicka <jh@suse.cz>
5083 * i386.md (dimode peep2s): Re-add "&& 1".
5085 Thu Dec 5 14:10:15 CET 2002 Jan Hubicka <jh@suse.cz>
5087 * i386.c (ix86_expand_prologue): Add comment, do not use
5088 fast prologues for cold and normal functions.
5090 Thu Dec 5 00:52:37 CET 2002 Jan Hubicka <jh@suse.cz>
5092 * i386.c (x86_rep_movl_optimal): New variable.
5093 (ix86_expand_movstr, ix86_expand_clrstr): Use TARGET_REP_MOVL_OPTIMAL
5094 * i386.h (TARGET_REP_MOVL_OPTIMAL): New macro.
5096 * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs,
5097 absdf2_ifs, absdf2_ifs_rex64): Fix constraints.
5098 neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not
5099 generate unnecesary subregs.
5101 2002-12-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
5103 * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
5104 * pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here.
5106 2002-12-05 Dale Johannesen <dalej@apple.com>
5108 * tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
5110 2002-12-05 Danny Smith <dannysmith@users.sourceforge.net>
5112 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
5114 * config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.
5116 2002-12-05 Aldy Hernandez <aldyh@redhat.com>
5118 * config/rs6000/spe.h (__ev_mwlufi): Remove.
5119 (__ev_mwlufia): Remove.
5120 (__ev_mwlumfaaw): Remove.
5121 (__ev_mwlusfaaw): Remove.
5122 (__ev_mwlumfanw): Remove.
5123 (__ev_mwlusfanw): Remove.
5125 2002-12-05 Kazu Hirata <kazu@cs.umass.edu>
5127 * config/h8300/h8300.md (*andorsi3_shift_8): New.
5129 2002-12-05 Kazu Hirata <kazu@cs.umass.edu>
5131 * config/h8300/h8300.c (shift_alg_si): Optimize ashift:HI and
5132 lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300.
5133 (get_shift_alg): Return optimal assembly instructions for the
5134 shifts mentioned above.
5136 Wed Dec 4 11:53:07 CET 2002 Jan Hubicka <jh@suse.cz>
5138 * i386.c (ix86_expand_int_movcc): Force operand into register for QImode
5141 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
5143 * config/h8300/h8300.c (h8300_init_once): Do not use loop to
5144 implement ashiftrt:HI by 13 bits on H8S.
5146 2002-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
5148 * pa/fptr.c (__canonicalize_funcptr_for_compare): New file and function.
5149 * pa.md (canonicalize_funcptr_for_compare): Output library call to
5150 canonicalize_funcptr_for_compare_libfunc on TARGET_ELF32.
5151 * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL,
5152 CTOR_LIST_BEGIN): New defines.
5153 * pa/t-linux (LIB2FUNCS_EXTRA): New define.
5154 (fptr.c): Add make rules.
5156 2002-12-04 Geoffrey Keating <geoffk@apple.com>
5158 * combine.c (combine_simplify_rtx): Add new canonicalizations.
5159 * doc/md.texi (Insn Canonicalizations): Document new
5160 canonicalizations for multiply/add combinations.
5161 * config/rs6000/rs6000.md: Add and modify floating add/multiply
5162 patterns to ensure they're used whenever they can be.
5164 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
5166 * config/h8300/h8300.c: Update the comments related to shifts.
5168 2002-12-04 Chris Demetriou <cgd@broadcom.com>
5170 * config/mips/mips.md (get_fnaddr): Correct length attribute.
5172 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
5174 * config/h8300/h8300.md (*extzv_8_8): New.
5175 (*extzv_8_16): Likewise.
5177 2002-12-04 Jason Merrill <jason@redhat.com>
5179 PR c++/8461, c++/8625
5180 * integrate.c (copy_decl_for_inlining): Handle explicit invisible
5182 * tree-inline.c (initialize_inlined_parameters): Likewise.
5184 * tree.c (variably_modified_type_p): Just return an error_mark_node.
5186 2002-12-04 Chris Demetriou <cgd@broadcom.com>
5188 * config/mips/mips.md (get_fnaddr): Avoid placing an "la"
5189 macro instruction in a branch delay slot, to avoid assembler
5192 2002-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
5195 * c-semantics (genrtl_scope_stmt): Do not output inlined
5196 nested functions that contain no code.
5198 Wed Dec 4 15:20:54 CET 2002 Jan Hubicka <jh@suse.cz>
5200 * cfgrtl.c (force_nonfallthru_and_redirect): Allow abnormal edge
5201 to be forced into nonfallthru.
5203 2002-12-03 Jason Thorpe <thorpej@wasabisystems.com>
5205 * config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
5207 2002-12-03 Aldy Hernandez <aldyh@redhat.com>
5209 * config/rs6000/spe.md (*movv1di_const0): New pattern.
5211 2002-12-03 Richard Henderson <rth@redhat.com>
5213 * libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.
5215 2002-12-03 Hans-Peter Nilsson <hp@bitrange.com>
5217 * bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff):
5218 Initialize tmp.using_obstack to 0.
5220 2002-12-03 Andreas Schwab <schwab@suse.de>
5222 * config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define.
5223 (EH_RETURN_STACKADJ_RTX): Define.
5224 (EH_RETURN_HANDLER_RTX): Define.
5225 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
5226 * config/m68k/m68k.c (m68k_save_reg): New function. Handle eh
5227 registers and don't save fixed registers.
5228 (m68k_output_function_prologue): Use it.
5229 (use_return_insn): Likewise.
5230 (m68k_output_function_epilogue): Likewise.
5232 2002-12-03 Kazu Hirata <kazu@cs.umass.edu>
5234 * config/h8300/h8300.c (single_one_operand): Fix a warning.
5235 (single_zero_operand): Likewise.
5237 2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
5239 * Makefile.in configure configure.in dummy-conditions.c fix-header.c
5240 gcov-iov.c gen-protos.c genattr.c genattrtab.c genautomata.c
5241 gencheck.c gencodes.c genconditions.c genconfig.c genconstants.c
5242 genemit.c genextract.c genflags.c gengenrtl.c gengtype-lex.l
5243 gengtype-yacc.y gengtype.c genopinit.c genoutput.c genpeep.c
5244 genpreds.c genrecog.c gensupport.c mkconfig.sh read-rtl.c
5245 scan-decls.c scan.c config/sh/sh.h doc/configfiles.texi
5246 doc/install-old.texi: Replace hconfig.h with bconfig.h.
5247 * Makefile.in: Replace HCONFIG_H with BCONFIG_H.
5249 2002-12-02 Andrew Pinski <pinskia@physics.uc.edu>
5251 * config/rs6000/rs6000.md (ffssi): Convert to expander.
5253 (cntlzw2, cntlzd2): New patterns.
5255 2002-12-02 H.J. Lu <hjl@gnu.org>
5257 * config.gcc (mips*-*-netbsd*): Remove mips/t-netbsd.
5258 (mips*-*-linux*): Remove mips/t-linux.
5260 Mon Dec 2 19:26:30 CET 2002 Jan Hubicka <jh@suse.cz>
5262 * i386.c (ix86_expand_int_movcc): Avoid overflow.
5264 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
5266 * config/h8300/h8300.c (dosize): Replace argument op with
5268 (h8300_output_function_prologue): Update the call to dosize.
5269 (h8300_output_function_epilogue): Likewise.
5271 2002-12-02 Bob Wilson <bob.wilson@acm.org>
5273 * config/xtensa/xtensa.h: Delete ifndefs with nothing inside them.
5275 2002-12-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
5277 * configure.in: Use "missing" script to generate warning if
5278 flex or bison programs not found, instead of invoking "false".
5279 * configure: Rebuilt.
5281 Mon Dec 2 20:28:48 CET 2002 Jan Hubicka <jh@suse.cz>
5283 * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
5285 Mon Dec 2 19:42:52 CET 2002 Jan Hubicka <jh@suse.cz>
5287 * i386.c (ix86_expand_int_movcc): Avoid overflow.
5289 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
5291 * config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
5294 (h8300_output_function_prologue): Likewise.
5295 (h8300_output_function_epilogue): Likewise.
5297 Mon Dec 2 14:43:22 2002 J"orn Rennecke <joern.rennecke@superh.com>
5299 * expmed.c (store_bit_field): Use int_mode_for_mode to find
5300 corresponding mode of non-integer mode, unless it is VOIDmode.
5302 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
5304 * config/h8300/h8300.md (stm_h8300s_2): New.
5305 (stm_h8300s_3): Likewise.
5306 (stm_h8300s_4): Likewise.
5307 (five define_peephole2): Likewise.
5309 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
5311 * ra-build.c: Fix a comment typo.
5313 Sun Dec 1 16:50:47 CET 2002 Jan Hubicka <jh@suse.cz>
5315 * i386.c (ix86_expand_int_movcc): fix
5316 reversed BRANCH_COST test; be curefull about infinite recursion.
5318 2002-12-01 Kazu Hirata <kazu@cs.umass.edu>
5320 * config/h8300/h8300.c (h8300_output_function_prologue):
5321 Remove variable idx.
5322 (h8300_output_function_epilogue): Likewise.
5324 2002-12-01 Zack Weinberg <zack@codesourcery.com>
5326 * config/frv/xm-frv.h: Delete, unnecessary.
5328 2002-12-01 Kazu Hirata <kazu@cs.umass.edu>
5330 * config/h8300/h8300.md: Add comments for define_peephole2.
5332 2002-12-01 Mark Mitchell <mark@codesourcery.com>
5334 * builtin-types.def (BT_SIZE): Use size_type_node.
5335 * builtins.c (fold_builtin): Make the builtin strlen returns a
5336 size_t, not a sizetype.
5337 * c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not
5339 (c_alignof_expr): Likewise.
5340 (c_common_nodes_and_builtins): Likewise.
5341 * c-common.h (CTI_C_SIZE_TYPE): Remove.
5342 (c_size_type_node): Likewise.
5343 * c-format.c (T_ST): Use size_type_node, not c_size_type_node.
5344 * tree.h (TI_SIZE_TYPE): New enumeral.
5345 (size_type_node): Likewise.
5347 2002-11-30 Zack Weinberg <zack@codesourcery.com>
5349 * configure.in: Don't put ${tm_file} into host_xm_file,
5350 build_xm_file, or xm_file. Do put tm-preds.h into tm_p_file.
5351 Take location of tm-preds.h into account when calculating
5353 * configure: Regenerate.
5354 * mkconfig.sh: No need for separate TM_DEFINES and XM_DEFINES
5355 arguments. Do not provide rtx, rtvec, tree, or GTY here.
5356 Remove special case code for tm_p.h and *config.h; add new
5357 special case code for tm.h and tconfig.h. Clean up a bit.
5359 * Makefile.in (tm_file, tm_file_list): New variables set from
5361 (GCONFIG_H): Deleted.
5363 (CONFIG_H): Is now just config.h $(host_xm_file_list).
5364 (TM_P_H): Move up with the other mkconfig.sh-generated
5365 headers; don't mention tm-preds.h explicitly.
5366 (tm.h, cs-tm.h): New rule.
5367 (cs-config.h, cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): Adjust
5368 invocations of mkconfig.sh for changes to that program.
5369 (mostlyclean): Delete print-rtl1.c.
5370 (clean): Delete tm.h.
5371 Update dependencies for the files listed below.
5373 * mklibgcc.in: Add 'coretypes.h $(TM_H)' to libgcc2_c_dep.
5375 * coretypes.h: New file.
5376 * system.h: #define malloc to xmalloc and realloc to xrealloc
5377 when FLEX_SCANNER or YYBISON is defined, independent of the
5378 value of GCC_VERSION.
5379 * alias.c, attribs.c, bb-reorder.c, bitmap.c, builtins.c,
5380 c-aux-info.c, c-common.c, c-convert.c, c-decl.c, c-dump.c,
5381 c-errors.c, c-format.c, c-lang.c, c-lex.c, c-objc-common.c,
5382 c-opts.c, c-parse.in, c-pragma.c, c-pretty-print.c,
5383 c-semantics.c, c-typeck.c, caller-save.c, calls.c, cfg.c,
5384 cfganal.c, cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c,
5385 cfgrtl.c, collect2.c, combine.c, conflict.c, convert.c,
5386 cppdefault.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
5387 cppinit.c, cpplex.c, cpplib.c, cppmacro.c, cppmain.c,
5388 cppspec.c, cpptrad.c, crtstuff.c, cse.c, cselib.c, dbxout.c,
5389 debug.c, df.c, diagnostic.c, doloop.c, dominance.c,
5390 dummy-conditions.c, dwarf2asm.c, dwarf2out.c, dwarfout.c,
5391 emit-rtl.c, errors.c, et-forest.c, except.c, explow.c,
5392 expmed.c, expr.c, final.c, fix-header.c, flow.c, fold-const.c,
5393 function.c, gcc.c, gccspec.c, gcov-dump.c, gcov-iov.c, gcov.c,
5394 gcse.c, gen-protos.c, genattr.c, genattrtab.c, genautomata.c,
5395 gencheck.c, gencodes.c, genconditions.c, genconfig.c,
5396 genconstants.c, genemit.c, genextract.c, genflags.c,
5397 gengenrtl.c, gengtype-lex.l, gengtype-yacc.y, gengtype.c,
5398 genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c,
5399 gensupport.c, ggc-common.c, ggc-none.c, ggc-page.c,
5400 ggc-simple.c, global.c, graph.c, haifa-sched.c, hashtable.c,
5401 hooks.c, ifcvt.c, integrate.c, intl.c, jump.c, langhooks.c,
5402 lcm.c, libgcc2.c, line-map.c, lists.c, local-alloc.c, loop.c,
5403 main.c, mbchar.c, mips-tdump.c, mips-tfile.c, mkdeps.c,
5404 optabs.c, params.c, predict.c, prefix.c, print-rtl.c,
5405 print-tree.c, profile.c, protoize.c, ra-build.c,
5406 ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, read-rtl.c,
5407 real.c, recog.c, reg-stack.c, regclass.c, regmove.c,
5408 regrename.c, reload.c, reload1.c, reorg.c, resource.c,
5409 rtl-error.c, rtl.c, rtlanal.c, sbitmap.c, scan-decls.c,
5410 scan.c, sched-deps.c, sched-ebb.c, sched-rgn.c, sched-vis.c,
5411 sdbout.c, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c,
5412 ssa.c, stmt.c, stor-layout.c, stringpool.c, timevar.c,
5413 tlink.c, toplev.c, tracer.c, tree-dump.c, tree-inline.c,
5414 tree.c, unroll.c, varasm.c, varray.c, varray.h, vmsdbgout.c,
5415 xcoffout.c, config/darwin-c.c, config/darwin.c,
5416 config/fp-bit.c, config/alpha/alpha.c, config/alpha/vms-cc.c,
5417 config/alpha/vms-ld.c, config/arc/arc.c, config/arm/arm.c,
5418 config/arm/pe.c, config/avr/avr.c, config/c4x/c4x-c.c,
5419 config/c4x/c4x.c, config/cris/cris.c, config/d30v/d30v.c,
5420 config/dsp16xx/dsp16xx.c, config/fr30/fr30.c,
5421 config/frv/frv.c, config/h8300/h8300.c, config/i370/i370-c.c,
5422 config/i370/i370.c, config/i386/i386.c, config/i386/winnt.c,
5423 config/i960/i960-c.c, config/i960/i960.c,
5424 config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
5425 config/m32r/m32r.c, config/m68hc11/m68hc11.c,
5426 config/m68k/m68k.c, config/m88k/m88k.c, config/mcore/mcore.c,
5427 config/mips/irix6-libc-compat.c, config/mips/mips.c,
5428 config/mmix/mmix.c, config/mn10200/mn10200.c,
5429 config/mn10300/mn10300.c, config/ns32k/ns32k.c,
5430 config/pa/pa.c, config/pdp11/pdp11.c, config/romp/romp.c,
5431 config/rs6000/rs6000-c.c, config/rs6000/rs6000.c,
5432 config/s390/s390.c, config/sh/sh.c, config/sparc/gmon-sol2.c,
5433 config/sparc/sparc.c, config/stormy16/stormy16.c,
5434 config/v850/v850-c.c, config/v850/v850.c, config/vax/vax.c,
5435 config/xtensa/xtensa.c, objc/objc-act.c, objc/objc-lang.c:
5436 Include coretypes.h and tm.h.
5438 * genattrtab.c, genconditions.c, genemit.c, genextract.c,
5439 gengenrtl.c, gengtype.c, genopinit.c, genoutput.c, genpeep.c,
5440 genrecog.c: Include coretypes.h and tm.h from the file
5441 generated by this program.
5443 * unwind-dw2-fde-darwin.c, unwind-dw2-fde-glibc.c,
5444 unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c: Include
5445 coretypes.h and tm.h, and tsystem.h when not already included.
5446 No need to include stddef.h nor stdlib.h.
5448 * fixinc/fixlib.h: Include coretypes.h and tm.h. Do not
5449 include auto-host.h or ansidecl.h/
5450 * fixinc/server.h: Do not include stdio.h, unistd.h, or fixlib.h.
5451 * fixinc/procopen.c: Include server.h after fixlib.h. Do not
5452 include auto-host.h, ansidecl.h, or system.h.
5453 * fixinc/server.c: Likewise. Also, do not include signal.h,
5454 and do not redefine volatile.
5456 Sat Nov 30 17:16:46 CET 2002 Jan Hubicka <jh@suse.cz>
5458 * i386.md (movdf_integer): Always enable in 64bit.
5459 (movdf_nointeger): Always disable in 64bit.
5461 2002-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
5463 * cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
5464 pseudo register number plus 1.
5466 Fri Nov 29 20:10:56 2002 J"orn Rennecke <joern.rennecke@superh.com>
5468 * expmed.c (store_bit_field): Use int_mode_for_mode to find
5469 corresponding mode of non-integer mode, unless it is VOIDmode.
5471 2002-11-29 Hans-Peter Nilsson <hp@bitrange.com>
5473 * cpplib.c (_cpp_test_assertion): Default *value to 0.
5475 * cppexp.c (num_part_mul): Initialize result.unsignedp, to 1.
5477 2002-11-29 Ulrich Weigand <uweigand@de.ibm.com>
5479 * config/s390/t-crtstuff: New target makefile fragment.
5480 * config.gcc [s390-*-linux, s390x-*-linux]: Use it.
5482 2002-11-29 Kazu Hirata <kazu@cs.umass.edu>
5484 * config/h8300/h8300.md (movsi_h8300hs): Change the order of
5485 alternatives to correct the length when the memory operand is
5486 either pre_dec or post_inc.
5488 2002-11-29 Kazu Hirata <kazu@cs.umass.edu>
5490 * config/h8300/h8300.md (an anonymous pattern): Give an
5491 internal name *tst_extzv_bitqi_1_n.
5492 Accept bit_operand instead of bit_memory_operand.
5493 Do not accept bit tests with the MSB.
5494 (*tst_extzv_memqi_1_n): New.
5496 Thu Nov 28 23:56:24 CET 2002 Jan Hubicka <jh@suse.cz>
5498 * i386.c (ix86_expand_int_movcc): Add copy_rtx to avoid invalid RTX
5499 sharing when operand is SUBREG.
5501 Thu Nov 28 08:57:26 CET 2002 Jan Hubicka <jh@suse.cz>
5503 * athlon.md (athlon-decodev): New reservation unit.
5504 (athlon-direct0): New reservation.
5505 (athlon-vector): New use athlon-decodev.
5506 (athlon-double, athlon-direct): Better model.
5507 (athlon_imul_k8): Use athlon-direct0.
5508 (athlon_movlpd_load): New insn reservation.
5510 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
5512 * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
5514 (h8300_tiny_constant_address_p): Likewise.
5516 2002-11-28 Michael Matz <matz@suse.de>
5518 * doc/passes.texi: Mention the other register allocator.
5520 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
5522 * config/h8300/h8300.md (6 new peephole2 patterns): New.
5524 2002-11-28 Jakub Jelinek <jakub@redhat.com>
5526 * config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff.
5527 * config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
5528 * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define.
5530 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
5532 * config/h8300/h8300.c (h8300_and_costs): New.
5533 * config/h8300/h8300.h (RTX_COSTS): Use h8300_and_costs.
5534 * config/h8300/h8300-protos.h: Add a prototype for
5537 Wed Nov 27 20:34:13 CET 2002 Jan Hubicka <jh@suse.cz>
5539 * i386.c (x86_sse_partial_regs_for_cvtsd2ss): New.
5540 * i386.h (x86_sse_partial_regs_for_cvtsd2ss): Declare.
5541 (TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS): New macro.
5542 * i386.md (truncdfsf patterns and splitters): Use
5543 TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS
5545 2002-11-27 Zack Weinberg <zack@codesourcery.com>
5547 * config/rs6000/rs6000.c (altivec_init_builtins): Make the
5548 pointer argument in the prototypes of the following builtins
5549 be (const TYPE *) rather than (TYPE *):
5550 + __builtin_altivec_ld_internal_4sf
5551 + __builtin_altivec_ld_internal_4si
5552 + __builtin_altivec_ld_internal_8hi
5553 + __builtin_altivec_ld_internal_16qi
5554 + __builtin_altivec_lvsl
5555 + __builtin_altivec_lvsr
5556 + __builtin_altivec_lvebx
5557 + __builtin_altivec_lvehx
5558 + __builtin_altivec_lvewx
5559 + __builtin_altivec_lvxl
5560 + __builtin_altivec_lvx
5561 + __builtin_altivec_dst
5562 + __builtin_altivec_dstt
5563 + __builtin_altivec_dstst
5564 + __builtin_altivec_dststt
5566 2002-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5568 * except.c (default_exception_section): Move variable into the
5569 scope where it is used.
5571 2002-11-27 Krister Walfridsson <cato@df.lth.se>
5573 * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
5576 2002-11-27 Kazu Hirata <kazu@cs.umass.edu>
5578 * config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.
5580 2002-11-27 Kazu Hirata <kazu@cs.umass.edu>
5582 * config/h8300/h8300.c (h8300_shift_costs): New.
5583 * config/h8300/h8300.h (RTX_COSTS): Use h8300_shift_costs.
5584 * config/h8300/h8300-protos.h: Add a prototype for
5587 2002-11-27 Jim Wilson <wilson@redhat.com>
5589 * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
5592 2002-11-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
5594 * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
5595 * config/i386/winnt.c (i386_pe_dllexport_name_p): Use
5596 DLL_IMPORT_EXPORT_PREFIX, not '@'.
5597 (i386_pe_dllimport_name_p): Likewise.
5598 (i386_pe_mark_dllexport): Likewise.
5599 (i386_pe_mark_dllimport): Likewise.
5600 (i386_pe_encode_section_info): Likewise.
5601 (i386_pe_strip_name_encoding): Likewise.
5603 2002-11-27 Richard Henderson <rth@redhat.com>
5605 * mkmap-symver.awk (BEGIN): Set sawsymbol false.
5606 (nm && NF == 3): Set sawsymbol true.
5607 (END): Exit if no symbols seen.
5608 (output): Fix map syntax error if no globals for the version.
5610 Wed Nov 27 14:45:46 CET 2002 Jan Hubicka <jh@suse.cz>
5612 * builtins.def (DEF_C99_BUILTIN): Fix.
5614 2002-11-26 Kaz Kojima <kkojima@gcc.gnu.org>
5616 * config/sh/lib1funcs.asm (FUNC, ENDFUNC0, ENDFUNC): New macros.
5617 (all): Add .size and .type information.
5619 Tue Nov 26 22:43:50 CET 2002 Jan Hubicka <jh@suse.cz>
5621 * i386.c (ix86_expand_int_movcc): Do not emit lea for short mode on
5622 partial_reg_stall target.
5624 Tue Nov 26 22:27:47 CET 2002 Jan Hubicka <jh@suse.cz>
5626 * i386.md (movhicc): Allow general operand.
5627 (movqicc): New expander.
5628 (movqicc_noc): New pattern.
5629 * i386.c (ix86_expand_carry_flag_compare): New function.
5630 (ix86_expand_int_movcc): Optimize harder using sbb; support more
5631 HImode conversion; support QImode conditional moves
5633 Tue Nov 26 16:30:59 CET 2002 Jan Hubicka <jh@suse.cz>
5635 * i386.c (FAST_PROLOGUE_INSN_COUNT): Set to 20.
5636 (ix86_expand_prologue): Multiply the count by amount of registers to be
5639 Tue Nov 26 15:55:27 CET 2002 Jan Hubicka <jh@suse.cz>
5641 * i386.c (override_options): Error about wrong -mcpu on x86-64
5644 2002-11-26 NIIBE Yutaka <gniibe@m17n.org>
5646 * config/sh/linux.h (FUNCTION_PROFILER): Implemented.
5648 Tue Nov 26 00:14:20 CET 2002 Jan Hubicka <jh@suse.cz>
5650 * i386-protos.h (x86_extended_QIreg_mentioned_p,
5651 x86_extended_reg_mentioned_p): Declare.
5652 * i386.c (extended_reg_mentioned_1): New static function.
5653 (x86_extended_QIreg_mentioned_p,
5654 x86_extended_reg_mentioned_p): New global functions.
5655 * i386.h (REX_SSE_REGNO_P): New macro.
5656 * i386.md (prefix_rex): New attribute.
5657 (length attribute): Add rex.
5659 2002-11-26 Andrew Haley <aph@redhat.com>
5661 * unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename
5662 from_Unwind_Find_Enclosing_Function.
5663 * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise.
5664 * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise.
5665 * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from
5666 _Unwind_Find_Enclosing_Function, export @@GCC_3.3.
5667 * unwind.h (_Unwind_FindEnclosingFunction): Add.
5669 2002-11-26 Hartmut Penner <hpenner@de.ibm.com>
5671 * config/s390/s390.c (390_output_constant_pool): Set alignment
5672 before label in 64 bit mode, behind otherwise.
5674 2002-11-26 Richard Henderson <rth@redhat.com>
5676 * c-common.c (handle_visibility_attribute): Accept "default".
5677 * tree.h (enum symbol_visibility): New.
5678 (decl_visibility): Declare.
5679 * target.h (gcc_target.visibility): Take visibility arg as integer.
5680 * varasm.c (default_assemble_visibility): Likewise.
5681 (decl_visibility): New.
5682 (maybe_assemble_visibility): Use it.
5683 * output.h (default_assemble_visibility): Update prototype.
5684 * config/rs6000/rs6000.c (rs6000_assemble_visibility): Take
5685 visibility arg as integer.
5686 * doc/extend.texi: Document default visibility.
5688 2002-11-26 Kazu Hirata <kazu@cs.umass.edu>
5690 * config/h8300/h8300.c: Adjust spacing.
5691 * config/h8300/h8300.h: Likewise.
5693 2002-11-26 Richard Henderson <rth@redhat.com>
5695 * hooks.c (hook_bool_void_false, hook_void_tree_int,
5696 hook_void_FILEptr_constcharptr): Rename so that the return
5698 (hook_int_tree_tree_1, hook_void_tree, hook_void_tree_treeptr,
5699 hook_bool_tree_false): New.
5701 * langhooks-def.h: Update for renames.
5702 * target-def.h: Likewise.
5703 * tree.c (default_comp_type_attributes,
5704 default_set_default_type_attributes, default_insert_attributes,
5705 default_function_attribute_inlinable_p,
5706 default_ms_bitfield_layout_p): Remove.
5709 2002-11-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
5711 * pa-protos.h (function_value): New prototype.
5712 * pa.c (function_value): Use a PARALLEL to return small aggregates on
5714 * pa.h (FUNCTION_VALUE): Use function_value.
5715 * pa.md (call_value_internal_symref, call_value_internal_reg_64bit,
5716 call_value_internal_reg, sibcall_value_internal_symref,
5717 sibcall_value_internal_symref_64bit): Remove =rf constraint on return
5720 2002-11-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
5722 * expr.c (gen_group_rtx, emit_group_move): New functions.
5723 * expr.h (gen_group_rtx, emit_group_move): Prototype.
5724 * function.c (expand_function_start): Use gen_group_rtx to create a
5725 PARALLEL rtx to hold the return value when the real return rtx is a
5727 (expand_function_end): Use emit_group_move to move the return value
5728 from a PARALLEL to the real return registers.
5729 * rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned
5732 2002-11-26 Jason Thorpe <thorpej@wasabisystems.com>
5734 * config/t-libc-ok: Fix typo.
5736 2002-11-26 Jakub Jelinek <jakub@redhat.com>
5738 * configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back
5740 * configure: Rebuilt.
5742 2002-11-26 Nathan Sidwell <nathan@codesourcery.com>
5744 * c-decl.c: (start_struct): Commonize flag setting.
5746 2002-11-26 Jason Thorpe <thorpej@wasabisystems.com>
5748 * config/rs6000/rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.
5749 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Use
5750 RS6000_CPU_CPP_ENDIAN_BUILTINS.
5751 * config/rs6000/netbsd.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): Redefine.
5753 2002-11-26 Hartmut Penner <hpenner@de.ibm.com>
5755 * config/s390/s390.md (literal_pool_64, literal_pool_31 ): New
5757 * config/s390/s390.c (struct machine_function): Introduction of
5758 struct machine_function.
5759 (s390_output_symbolic_const): Use of cfun.
5760 (s390_optimize_prolog): Likewise.
5761 (s390_fixup_clobbered_return_reg): Likewise.
5762 (s390_frame_info): Likewise.
5763 (s390_emit_prologue, s390_emit_epilogue): Likewise.
5764 (s390_init_machine_status): New function.
5765 (override_options): call s390_init_machine_status.
5766 * config/s390/s390-protos.h (s390_output_constant_pool): Changed
5769 2002-11-26 Jakub Jelinek <jakub@redhat.com>
5771 * varasm.c (output_constant_pool): For pool constants in mergeable
5772 section ensure each constant is padded to multiple of entity size.
5774 2002-11-26 Jakub Jelinek <jakub@redhat.com>
5776 * varasm.c (default_exception_section): Move to...
5777 * except.c (default_exception_section): ... here. Make
5778 .gcc_except_table read-only if it is not expected to have any
5779 dynamic relocations and linker handles it.
5780 * dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only
5781 if it is not expected to have any dynamic relocations and linker
5783 * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does
5784 when linking read-only and read-write sections together.
5785 * configure, config.in: Rebuilt.
5786 * crtstuff.c (EH_FRAME_SECTION_CONST): Define.
5787 (__EH_FRAME_BEGIN__, __FRAME_END__): Add it.
5789 Mon Nov 25 18:32:37 CET 2002 Jan Hubicka <jh@suse.cz>
5791 * i386.md (pushsf_rex64): Fix typo.
5793 2002-11-25 Aldy Hernandez <aldyh@redhat.com>
5795 * config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into
5797 (__ev_create_ufix32_fs): Same.
5798 (__ev_get_sfix32_fs_internal): New.
5799 (__ev_get_sfix32_fs): Define to use function.
5800 (__ev_get_ufix32_fs_internal): New.
5801 (__ev_get_ufix32_fs): Define to use function.
5802 (__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs.
5803 (__ev_get_lower_ufix32_fs): Same.
5804 (__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs.
5805 (__ev_get_lower_sfix32_fs): Same.
5806 (__ev_set_sfix32_fs_internal): New.
5807 (__ev_set_ufix32_fs_internal): New.
5808 (__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal.
5809 (__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal.
5810 (__ev_set_upper_sfix32_fs): Call function.
5811 (__ev_set_lower_sfix32_fs): Same.
5812 (__ev_set_upper_ufix32_fs): Same.
5813 (__ev_set_lower_ufix32_fs): Same.
5815 2002-11-25 Douglas B Rupp <rupp@gnat.com>
5817 * gcc.c (do_spec_1): Reset delete_this_arg to zero.
5819 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
5821 * config/elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.
5822 * config/interix.h (HANDLE_SYSV_PRAGMA): Likewise.
5823 * config/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
5824 * config/lynx-ng.h (HANDLE_SYSV_PRAGMA): Likewise.
5825 * config/lynx.h (HANDLE_SYSV_PRAGMA): Likewise.
5826 * config/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
5827 * config/openbsd.h (HANDLE_SYSV_PRAGMA: Likewise.
5828 * config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Likewise.
5829 * config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
5830 * config/cris/aout.h (HANDLE_SYSV_PRAGMA): Likewise.
5831 * config/d30v/d30v.h (HANDLE_SYSV_PRAGMA): Likewise.
5832 * config/frv/frv.h (HANDLE_SYSV_PRAGMA): Likewise.
5833 * config/i386/djgpp.h (HANDLE_SYSV_PRAGMA): Likewise.
5834 * config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Likewise.
5835 * config/i386/vxi386.h (HANDLE_SYSV_PRAGMA): Likewise.
5836 * config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Likewise.
5837 * config/m88k/m88k.h (HANDLE_SYSV_PRAGMA): Likewise.
5838 * config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Likewise.
5839 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Likewise.
5840 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Likewise.
5841 * config/sparc/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
5842 * config/sparc/vxsparc64.h (HANDLE_SYSV_PRAGMA): Likewise.
5843 * config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Likewise.
5844 * config/alpha/osf.h (HANDLE_SYSV_PRAGMA): Don't undef before
5846 * config/i386/sco5.h (HANDLE_SYSV_PRAGMA): Likewise.
5847 * config/mips/iris5.h (HANDLE_SYSV_PRAGMA): Likewise.
5849 2002-11-25 Dave Pitts <dpitts@cozx.com>
5851 * gcc/fixinc/mkfixinc.sh: add i370-*-openedition to bypass fixinc list
5853 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
5855 * config/h8300/h8300.md (an anonymous pattern): New.
5857 2002-11-25 Richard Henderson <rth@redhat.com>
5859 * alias.c (find_base_value): Use new_reg_base_value if it's live.
5860 (copying_arguments): Make boolean.
5862 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
5864 * gcc.c (static_spec_functions): Add if-exists-else spec
5866 (if_exists_else_spec_function): New function.
5867 * doc/invoke.texi: Document the if-exists-else spec function.
5869 * config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
5870 "%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".
5872 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
5874 * config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with
5875 "netbsd.h netbsd-elf.h" in tm_file. Set tmake_file to
5876 "${tmake_file} rs6000/t-netbsd".
5877 * config/rs6000/netbsd.h: Rewrite.
5878 * config/rs6000/t-netbsd: New file.
5880 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
5882 * config/h8300/h8300.md (an anonymous pattern): Relax the
5883 condition for the pattern.
5885 2002-11-25 Aldy Hernandez <aldyh@redhat.com>
5887 * config/rs6000/rs6000.h (enum rs6000_builtins): Remove evmwlssf,
5888 evmwlsmf, evmwlssfa, evmwlsmfa, evmwlssfaaw, evmwlsmfaaw,
5889 evmwlssfanw, evmwlsmfanw.
5891 * config/rs6000/rs6000.c (bdesc_2arg): Same.
5893 * config/rs6000/spe.md: Same for patterns.
5895 2002-11-25 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
5898 * fold-const.c (extract_muldiv): Don't propagate division unless
5899 both arguments are multiples of C.
5901 2002-11-25 Andrew Haley <aph@redhat.com>
5903 * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
5904 * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
5905 * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
5906 * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.
5908 Sun Nov 24 10:38:04 CET 2002 Jan Hubicka <jh@suse.cz>
5910 * i386.c (x86_use_ffreep): New global variable.
5911 * i386.h (x86_use_frfeep): Declare
5912 (TARGET_USE_FFREEP): New macro
5913 * i386.md (movs?f*): Use freep when asked for.
5914 (push?f): Remove dead code.
5916 2002-11-24 Kazu Hirata <kazu@cs.umass.edu>
5918 * config/h8300/h8300.c (h8300_init_once): Fix a typo in the
5919 target help message.
5921 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
5923 * config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
5924 extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o
5926 (arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*)
5927 (ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts
5928 to "" for a.out configurations.
5929 * config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC".
5931 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
5933 * config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use
5934 NETBSD_CPP_SPEC directly.
5935 (SUBTARGET_EXTRA_SPECS): Remove netbsd_cpp_spec. Add
5936 netbsd_endfile_spec.
5937 (ENDFILE_SPEC): Use %(netbsd_endfile_spec).
5939 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
5941 * config/netbsd-elf.h (STARTFILE_SPEC): Rename to
5942 NETBSD_STARTFILE_SPEC.
5943 (STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC.
5944 (ENDFILE_SPEC): Likewise.
5945 * config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise.
5947 2002-11-24 Andreas Schwab <schwab@suse.de>
5949 * Makefile.in (install-driver): Remove versioned link before
5950 trying to create it.
5952 * config/m68k/m68k.c: Fix typo in last change defining
5953 TARGET_ASM_CAN_OUTPUT_MI_THUNK.
5955 2002-11-23 H.J. Lu <hjl@gnu.org>
5957 * aclocal.m4: Include ../config/accross.m4.
5958 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
5959 (gcc_AC_C_COMPILE_ENDIAN): Removed.
5960 (gcc_AC_C_FLOAT_FORMAT): Check $ac_cv_c_bigendian
5961 instead of $ac_cv_c_compile_endian.
5963 * configure.in: Replace gcc_AC_COMPILE_CHECK_SIZEOF with
5964 AC_COMPILE_CHECK_SIZEOF.
5965 Replace gcc_AC_C_COMPILE_ENDIAN with AC_C_BIGENDIAN_CROSS.
5966 * configure: Rebuild.
5968 2002-11-23 Kazu Hirata <kazu@cs.umass.edu>
5970 * config/h8300/h8300.c (print_operand): Update the use of
5971 h8300_tiny_constant_address_p.
5972 (h8300_adjust_insn_length): Likewise.
5973 (h8300_tiny_constant_address_p): Check if the given rtx is a
5974 variable declared with __attribute__ ((tiny_data)).
5976 2002-11-22 Dale Johannesen <dalej@apple.com>
5978 * toplev.c (rest_of_compilation): Fix comments.
5980 2002-11-22 Geoffrey Keating <geoffk@apple.com>
5982 * aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not
5983 allow mmap from /dev/zero. Don't make decisions for the host
5984 based on presence or absence of /dev/zero on the build machine.
5985 (ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON.
5986 (AC_FUNC_MMAP_FILE): Darwin does have mmap of a file.
5987 * configure: Regenerate.
5989 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
5991 * gcc.c (make_relative_prefix, split_directories)
5992 (free_split_directories): Removed.
5994 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
5996 * configure.in: Set insn=nop for DWARF-2 tests on ARM.
5997 * configure: Regenerated.
5999 2002-11-22 Kazu Hirata <kazu@cs.umass.edu>
6001 * config/h8300/h8300.c (compute_a_shift_length): Fix the insn
6002 length computation when xor.l is output.
6004 2002-11-21 Douglas B Rupp <rupp@gnat.com>
6006 * alpha.md (movstrdi, clrstrdi): New VMS patterns.
6007 (call_vms_1, call_value_vms_1): Cleanup syntax.
6009 Thu Nov 21 19:20:27 CET 2002 Jan Hubicka <jh@suse.cz>
6011 * athlon.md (define_atuomaton): Add athlon_load.
6012 (athlon-double): New reservation.
6013 (athlon-ieu0): New CPU unit.
6014 (athlon-load?): Use athlon_load automaton.
6015 (*_k8 reservations): New.
6016 (other insn revervations): Activate for K8.
6018 Thu Nov 21 15:07:42 CET 2002 Jan Hubicka <jh@suse.cz>
6020 * cfgrtl.c (verify_flow_info): Accept EDGE_CAN_FALLTHRU flag.
6022 2002-11-21 Jim Wilson <wilson@redhat.com>
6024 * config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
6027 2002-11-21 Bob Wilson <bob.wilson@acm.org>
6029 * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
6030 * config/xtensa/xtensa.c (struct machine_function): Add
6031 incoming_a7_copied flag.
6032 (xtensa_copy_incoming_a7): Define.
6033 (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7.
6034 * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto.
6036 Thu Nov 21 23:52:04 CET 2002 Jan Hubicka <jH@suse.cz>
6038 * i386-protos.h (x86_64_sign_extended_value): Fix prototype.
6039 * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
6040 x86_64_nonmemory_operand, x86_64_movabs_operand,
6041 x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
6042 ix86_expand_int_movcc): Update call of x86_64_sign_extended_value.
6043 (local_symbolic_operand): Do not care the 64bit limits.
6044 (x86_64_sign_extended_value): Remove allow_rip support.
6045 (legitimate_pic_address_disp_p): Handle all cases allowed
6046 with RIP addressing.
6047 (legitimate_address_p): Use legitimate_pic_address_disp_p for PIC.
6048 (legitimize_pic_address): Reorganize.
6049 * i386.h (EXTRA_CONSTRAINT): Update call of x86_64_sign_extended_value.
6051 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
6053 * config.gcc (arm*-*-netbsdelf*): Enable configuration.
6054 * config/arm/netbsd-elf.h: New file.
6056 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
6058 * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
6059 subtarget_asm_float_spec.
6060 (SUBTARGET_ASM_FLOAT_SPEC): Define, moving the
6062 (ASM_SPEC): ...here. Use subtarget_asm_float_spec.
6064 2002-11-21 Nick Clifton <nickc@redhat.com>
6066 * config/fr30/fr30.md (movsf_constant_store): Move code to
6067 detect 0.0 into fr30.c.
6068 * config/fr30/fr30-protos.h (fr30_const_double_is_zero):
6070 * config/fr30/fr30.c (fr30_const_double_is_zero): New
6071 function. Return true if the rtx is 0.0.
6073 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
6075 * config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
6076 if -mlittle-endian is specified.
6078 2002-11-21 Richard Earnshaw <rearnsha@arm.com>
6080 PR optimization/2903
6081 * arm.md (anddi_notzesidi_di): Operand 2 is inverted not operand 1.
6082 (anddi_notsesidi_di): Likewise.
6084 2002-11-21 Kazu Hirata <kazu@cs.umass.edu>
6086 * config/h8300/h8300.c (print_operand): Use
6087 h8300_eightbit_constant_address_p and
6088 h8300_tiny_constant_address_p.
6089 (h8300_adjust_insn_length): Likewise.
6090 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Remove.
6091 (TINY_CONSTANT_ADDRESS_P): Likewise.
6092 (OK_FOR_U): Use eightbit_constant_address_p.
6094 2002-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6096 * config/s390/libgcc-libc.ver: Add multilib support.
6097 * config/s390/linux.h (MULTILIB_DEFAULT): Define.
6098 * config/s390/t-linux64 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
6099 MULTILIB_OSDIRNAMES, LIBGCC, INSTALL_LIBGCC,
6100 EXTRA_MULTILIB_PARTS): Define.
6102 2002-11-21 Richard Earnshaw <rearnsha@arm.com>
6104 * arm.c (arm_get_frame_size): A leaf function does not need its
6105 stack padding to an aligned boundary if it has no frame.
6106 (thumb_get_frame_size): Likewise.
6108 Wed Nov 20 22:25:53 CET 2002 Jan Hubicka <jh@suse.cz>
6110 * x86-64.h (MCOUNT_NAME): Fix typo in my previous patch.
6111 (override_options): Likewise.
6113 Wed Nov 20 19:07:17 CET 2002 Jan Hubicka <jh@suse.cz>
6115 * config.gcc: Add k8 target alias support
6116 * i386.c (_cost): Declare costs for various variants of divides and
6119 (m_K8, m_ATHLON_K8): New macros.
6120 (x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen,
6121 x86_cmove, x86_3dnow_a, x86_deep_branch, x86_use_fiop,
6122 x86_promote_QImode, x86_sub_esp_?, x86_add_esp_?,
6123 x86_integer_DFmode_moves, x86_partial_reg_dependency,
6124 x86_memory_mismatch_stall, x86_accumulate_outgoing_args,
6125 x86_prologue_using_move, x86_epilogue_using_move,
6126 x86_arch_always_fancy_math_387, x86_sse_partial_regs,
6127 x86_sse_typeless_stores): Set for K8
6128 (override_options): Add k8 support; fix athlon alignment;
6129 complain about non-x86-64 capable CPU being used in x86-64 compilation.
6130 (ix86_issue_rate): Set for K8.
6131 (ix86_adjust_cost, ia32_use_dfa_pipeline_interface,
6132 x86_machine_dependent_reorg): Handle K8 like
6134 (x86_costs): Change mult_init and divide into array.
6135 (TARGET_K8, TARGET_ATHLON): New macros.
6136 (MODE_INDEX): New macro.
6137 (RTX_COST): Use new costs.
6138 (TARGET_CPU_CPP_BUILTINS): Define __k8__ and __tune_k8__.
6139 (TARGET_CPU_DEFAULT_NAMES): Add k8
6140 (TARGET_CPU_DEFAULT_k8): New constant
6141 (enum processor_type): Add PROCESSOR_K8.
6142 * i386.md (cpu attribute): Add k8.
6144 * invoke.texi: Document -march=k8.
6146 * i386.md (type attribute): Add leave
6147 (mode attribute): Remove unknownfp.
6148 (length_immediate, modrm, memory attributes): Handle leave correctly.
6149 (fp comparison patterns): Determine FP mode.
6150 (leave, leave_rex64): Remove special cases.
6151 * ppro.md (ppro_uops, ppro_p2): Add leave
6152 * pentiun.md (pent_pop): Handle leave too.
6153 * k6.md (k6_load): Handle leave.
6154 * athlon.md (athlon_leave, athlon_pop): Fix.
6155 (athlon_decode): Handle leave.
6157 2002-11-20 Steve Ellcey <sje@cup.hp.com>
6159 * emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type
6160 to component type using GET_MODE_INNER.
6161 * expr.c (emit_move_insn_1): Ditto.
6162 * optabs.c (expand_binop): Ditto.
6163 (expand_unop): Ditto.
6164 (expand_complex_abs): Ditto.
6166 2002-11-20 Douglas B Rupp <rupp@gnat.com>
6168 * hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).
6170 2002-11-20 DJ Delorie <dj@redhat.com>
6172 * config/stormy16/stormy16.c (s16builtins,
6173 xstormy16_init_builtins, xstormy16_expand_builtin): New.
6174 * config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New.
6176 2002-11-20 Hans-Peter Nilsson <hp@bitrange.com>
6178 * Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
6179 (DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
6180 (executing gencheck, genconfigs, genconditions, genflags,
6181 gencodes, genconstants, genemit, genrecog, genopinit, genextract,
6182 genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
6183 gengtype, genprotos): Prepend $(RUN_GEN).
6184 * configure.in: Move host compiler tests before --enable-checking
6186 (--enable-checking=valgrind): New.
6187 * config.in, configure: Regenerate.
6188 * cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
6190 (read_include_file): When doing the mmap+1 trick,
6191 valgrind-annotate the byte after the mmap:ed area as readable.
6192 (purge_cache): Remove above annotation.
6193 * gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
6194 VALGRIND_PATH -q to each command.
6196 * ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
6198 (ggc_realloc): Update valgrind annotations.
6199 * ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
6201 (alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
6202 valgrind-annotate memory.
6204 2002-11-20 Ulrich Weigand <uweigand@de.ibm.com>
6206 * recog.c (constrain_operands): Prefer exact match over reloadable
6207 EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT.
6209 * reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT
6212 2002-11-20 Eric Botcazou <ebotcazou@libertysurf.fr>
6215 * c-decl.c (duplicate_decls): Outline the second definition
6216 of an extern inline function in all cases.
6218 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
6220 * stor-layout.c (place_field): Update rli->offset as well as
6223 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
6225 * sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
6227 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
6229 * config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
6230 into a libcall block.
6231 (divsi3): Likewise divsi3_i4_media.
6233 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
6235 * global.c (find_reg): Check HARD_REGNO_NREGS before kicking
6236 out another register.
6238 2002-11-20 Jakub Jelinek <jakub@redhat.com>
6240 * combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask
6241 (not just mask) are set in C.
6243 2002-11-19 Steven Bosscher <steven.bosscher@usafa.af.mil>
6245 * config/mips/vr.h (DRIVER_SELF_SPECS): Change %{<mgp32} to %<mgp32.
6247 2002-11-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6249 * profile.c (index_counts_file): Fix obvious mistake.
6251 2002-11-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6253 * Makefile.in (profile.o): Add hashtab.h dependency.
6254 * gcov-io.h (GCOV_SUMMARY_LENGTH): New.
6255 * profile.c: Include hashtab.h.
6256 (htab_counts_index_hash, htab_counts_index_eq, htab_counts_index_del,
6257 cleanup_counts_index, index_counts_file, struct section_reference,
6258 struct da_index_entry, counts_file_name, counts_file_index): New.
6259 (get_exec_counts, init_branch_prob): Modified.
6261 2002-11-19 Kaz Kojima <kkojima@gcc.gnu.org>
6263 * config.gcc (sh*-*-linux*): Add t-slibgcc-elf-ver and t-linux
6264 to tmake_file. Remove setting gas and gnu_ld here.
6265 * config/sh/libgcc-glibc.ver: New file.
6266 * config/sh/t-linux (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
6267 (SHLIB_MAPFILES): New.
6268 * config/sh/linux.h (MD_EXEC_PREFIX): Undefine.
6269 (MD_STARTFILE_PREFIX): Likewise.
6270 (HANDLE_PRAGMA_PACK_PACK_PUSH_POP): Define.
6271 (DWARF2_UNWIND_INFO): Redefine.
6272 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6273 (LINK_EH_SPEC): Redefine.
6274 (MD_FALLBACK_FRAME_STATE_FOR): Define except for SH-media.
6275 (SH_FALLBACK_FRAME_FLOAT_STATE): Define.
6276 (SH_DWARF_FRAME_GP0, SH_DWARF_FRAME_FP0, SH_DWARF_FRAME_XD0,
6277 SH_DWARF_FRAME_BT0, SH_DWARF_FRAME_PR, SH_DWARF_FRAME_PR_MEDIA,
6278 SH_DWARF_FRAME_GBR, SH_DWARF_FRAME_MACH, SH_DWARF_FRAME_MACL,
6279 SH_DWARF_FRAME_PC, SH_DWARF_FRAME_SR, SH_DWARF_FRAME_FPUL,
6280 SH_DWARF_FRAME_FPSCR): Likewise.
6281 * config/sh/sh-protos.h (sh_set_return_address): Declare.
6282 * config/sh/sh.c (calc_live_regs): Count EH_RETURN_DATA_REGNO
6283 registers if the current function calls EH return.
6284 (sh_expand_epilogue): Handle EH stack adjustments.
6285 (sh_set_return_address): New function.
6286 * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
6287 Don't abort even if the number is mapped to -1.
6288 (EH_RETURN_DATA_REGNO): Define.
6289 (EH_RETURN_STACKADJ_RTX): Define.
6290 * config/sh/sh.md (UNSPEC_EH_RETURN): New.
6291 (eh_return): New pattern.
6292 (eh_set_ra_di, eh_set_ra_si): Likewise.
6293 Add splitter to perform EH return after reload.
6295 Tue Nov 19 12:52:07 2002 J"orn Rennecke <joern.rennecke@superh.com>
6297 * stor-layout.c (excess_unit_span): New function.
6298 (place_field): Use it.
6300 2002-11-19 Andreas Schwab <schwab@suse.de>
6302 * unwind.h (_Unwind_GetTextRelBase): Revert last change, this is
6305 2002-11-19 Nathanael Nerode <neroden@gcc.gnu.org>
6307 * configure.in, Makefile.in: Correct BUILD/HOST confusion.
6308 * configure: Regenerate.
6310 Tue Nov 19 00:11:44 CET 2002 Jan Hubicka <jh@suse.cz>
6312 * convert.c (strip_float_extensions): New function.
6313 (convert_to_real): Optimize some cases.
6315 2002-11-19 Andreas Jaeger <aj@suse.de>
6317 * loop.c (record_giv): Initialize not_replaceable.
6318 (check_final_value): Likewise.
6320 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
6322 * config/h8300/h8300.c (h8300_init_once): Replace 1 with
6325 2002-11-19 Vijay L. Khuspe <vijayk1@kpit.com>
6327 * config/h8300/h8300.c (h8300_init_once): Allow -mn switch
6328 only if -mh or -ms present.
6329 (h8300_eightbit_constant_address_p): Support the normal mode.
6330 (h8300_tiny_constant_address_p): Likewise.
6331 * config/h8300/h8300.h (TARGET_NORMAL_MODE): New.
6332 (POINTER_SIZE): Add 16 bit pointer for the normal mode.
6333 (Pmode): Evaluate to HImode for the normal mode.
6334 (SIZE_TYPE): Evaluate to unsigned int for normal mode.
6335 (PTRDIFF_TYPE): Evaluate to int for the normal mode.
6336 (ASM_WORD_OP): Evaluate to word for the normal mode.
6337 * config/h8300/h8300.md (tablejump_normal_mode): New.
6338 (indirect_jump_normal_mode): New.
6339 * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to
6341 (MULTILIB_DIRNAMES): Create target dependent directory
6343 (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
6344 * doc/invoke.texi (gccoptlist): Describe the new switch -mn.
6346 Tue Nov 19 23:50:56 CET 2002 Jan Hubicka <jh@suse.cz>
6348 * i386.md (length_immediate): Do not refer to insn address.
6349 (jcc*, jmp patterns): Compute length explicitly.
6351 2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
6354 * optabs.c (expand_binop): Convert CONST_INTs in shift
6357 2002-11-19 Roger Sayle <roger@eyesopen.com>
6359 * gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
6361 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
6363 * config/h8300/h8300.md (an anonymous pattern): Relax the
6364 condition to accept the same operands and/or subregs.
6366 2002-11-19 Daniel Jacobowitz <drow@mvista.com>
6368 * config/sh/sh.c (gen_shl_and): Revert previous patch.
6369 * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
6372 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
6374 * config/h8300/h8300.c (print_operand): Update the use of
6375 EIGHTBIT_CONSTANT_ADDRESS_P.
6376 (h8300_adjust_insn_length): Likewise.
6377 (h8300_eightbit_constant_address_p): Check if the given rtx is
6378 a variable with __attribute__((eightbit_data)).
6379 * config/h8300/h8300.h (OK_FOR_U): Update the use of
6380 EIGHTBIT_CONSTANT_ADDRESS_P.
6382 2002-11-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6384 * doc/contrib.texi (Contributors): Add self as second contact in
6385 addition to Jeff Law.
6387 2002-11-19 Andreas Jaeger <aj@suse.de>
6389 * tree-inline.c: Move prototpyes of find_alloca_call_1 and
6390 find_alloca_call to right place.
6392 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
6394 * cppfiles.c: Fix formatting.
6396 2002-11-19 Jason Thorpe <thorpej@wasabisystems.com>
6398 * gcc.c (The Specs Language): Document spec functions.
6399 (static_spec_functions, lookup_spec_function)
6400 (eval_spec_function, handle_spec_function)
6401 (if_exists_spec_function, alloc_args): New.
6402 (execute): Abort if processing_spec_function is true.
6403 (do_spec_1): Hand off spec to handle_spec_function if %:
6404 is encountered. If processing_spec_function is true,
6405 end any pending argument when the end of the string is reached.
6406 (main): Use alloc_args to allocate the initial argument vector.
6407 * gcc.h (struct spec_function): New.
6408 (lang_specific_spec_functions): New extern.
6410 * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
6411 (ENDFILE_SPEC): Add if-exists(crtn%O%s).
6412 * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
6414 * doc/invoke.texi: Document spec functions.
6416 * cppspec.c (lang_specific_spec_functions): New.
6417 * gccspec.c: Likewise.
6419 2002-11-18 Steve Ellcey <sje@cup.hp.com>
6421 * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
6422 (FIXUNS_TRUNCTFDI2_LIBCALL): New.
6423 (fixunstfsi_libfunc): Change.
6424 (fixunstfdi_libfunc): Change.
6425 (sdiv_optab): Don't zero out SImode handler.
6426 (udiv_optab): Don't zero out SImode handler.
6427 (smod_optab): Don't zero out SImode handler.
6428 (umod_optab): Don't zero out SImode handler.
6430 2002-11-18 Neil Booth <neil@daikokuya.co.uk>
6432 PR preprocessor/8524
6433 * cpplib.c (run_directive): Remove previous kludge to _Pragma.
6434 Add a new one in its place, which hopefully works.
6435 (skip_rest_of_line): Change test for bottom-of-context-stack.
6437 Mon Nov 18 21:29:03 CET 2002 Jan Hubicka <jh@suse.cz>
6439 * i386.md (addqi_1_slp): Fix output template.
6440 (subqi_1_slp): Fix type.
6442 Sun Nov 17 00:01:28 CET 2002 Jan Hubicka <jh@suse.cz>
6444 * calls.c (alloca_call_p): New global function.
6445 * tree.h (alloca_call_p): New.
6446 * tree-inline.c (inlinable_function_p): Do not inline when
6447 function calls alloca.
6448 (find_alloca_call, find_alloca_call_1): New functions.
6450 2002-11-18 Kazu Hirata <kazu@cs.umass.edu>
6452 * config/h8300/h8300.md (*andorqi3): Use bor between bld and
6453 bst. Update the insn length.
6454 (*andorhi3): Likewise.
6455 (*andorsi3): Likewise.
6457 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
6459 * config/sh/sh-protos.h (sh_mark_label): Declare.
6460 * config/sh/sh.c (sh_mark_label): New function, taken from
6461 movdi_const, but fixing the case when the address has an addend.
6462 * config/sh/sh.md (movdi_const, movdi_const_32bit): Use it.
6464 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
6466 * config/sh/sh.c (pool_node): New field: part_of_sequence_p.
6467 (add_constant): Set it.
6468 (dump_table): Don't reorder a constant if part_of_sequence_p.
6469 (machine_dependent_reorg): Assume that float constants will
6470 stay in their original order if used as a sequence.
6472 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
6474 * config/sh/sh.c (calc_live_regs): Update check for PIC liveness
6477 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
6479 * config/sh/sh.md (initialize_trampoline): Do not force the
6480 trampoline address into R0_REGS here.
6482 Sun Nov 17 14:01:09 CET 2002 Jan Hubicka <jh@suse.cz>
6484 * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs,
6485 absdf2_ifs, absdf2_ifs_rex64): Fix constraints.
6486 (neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not
6487 generate unnecesary subregs.
6489 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
6491 * df.c: Fix formatting.
6493 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
6495 * config/h8300/h8300.md (two anonymous patterns): Fix insn
6498 2002-11-17 Daniel Jacobowitz <drow@mvista.com>
6500 * sh.c (gen_shl_and): Don't create a zero_extend if the operand
6501 is not an arith_reg_operand.
6503 2002-11-17 Graham Stott <graham.stott@btinternet.com>
6505 * real.c (real_to_decimal): Fix buffer overrun when buffer size
6506 is smaller than representation.
6508 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
6510 * builtins.c: Fix formatting.
6512 Sat Nov 16 16:49:58 CET 2002 Jan Hubicka <jh@suse.cz>
6514 * i386.md (truncdfsf2_1_sse, truncdfsf2_1_sse_nooverlap, truncdfsf2_2,
6516 Work around regclass stupidity.
6517 (truncdfsf_2_1_sse splitter): Accept !TARGET_PARTIAL_SSE_REGS
6519 Sat Nov 16 02:17:48 CET 2002 Jan Hubicka <jh@suse.cz>
6521 * i386.md (fop_df_6): New pattern.
6522 (fop_xf_4, fop_xf_5): Handle both SF and DFmode extensions.
6525 (fop_tf_4, fop_tf_5): Handle both SF and DFmode extensions.
6529 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
6531 * config/h8300/h8300.md (two anonymous patterns): Fix typos.
6533 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
6535 * config/h8300/h8300.md: Fix formatting.
6537 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
6539 * config/h8300/h8300.md: Replace spaces with tabs.
6540 * config/h8300/t-h8300: Remove a trailing empty line.
6542 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
6544 * tlink.c: Fix formatting.
6546 2002-11-16 David Edelsohn <edelsohn@gnu.org>
6549 * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
6550 * config/rs6000/rs6000.md (movti_string): Remove output modifier
6551 when scratch register never needed.
6552 (ldmsi[3-8]): New patterns.
6554 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
6556 * hard-reg-set.h: Follow spelling conventions.
6558 * target.h: Likewise.
6560 2002-11-16 Jakub Jelinek <jakub@redhat.com>
6562 * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
6564 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
6566 * optabs.c: Fix formatting.
6568 Sat Nov 16 02:06:02 CET 2002 Jan Hubicka <jh@suse.cz>
6570 * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
6571 * i386.md (attribute type): Add type shift1 and rotate1.
6572 (*_slp): Rewrite to have just two operands to avoid reload problems.
6574 2002-11-15 Kazu Hirata <kazu@cs.umass.edu>
6576 * config/h8300/h8300.md (4 anonymous patterns): New.
6578 2002-11-15 Geoffrey Keating <geoffk@apple.com>
6580 * params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
6581 * doc/invoke.texi: Correct description of what needs to be done to
6582 force collection at every ggc_collect call.
6584 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
6586 * config/s390/s390.c (optimization_options): Set
6587 flag_asynchronous_unwind_tables to 1 by default.
6589 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
6591 * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6593 Fri Nov 15 14:54:19 CET 2002 Jan Hubicka <jh@suse.cz>
6595 * i386-protos.h (x86_function_profiler): New function
6596 * i386.h (MCOUNT_NAME): New.
6597 (PROFILE_COUNT_REGISTER): New.
6598 (FUNCTION_PROFILER): Move offline to ...
6599 * i386.c (x86_function_profiler) ... here; fix 64bit support
6600 * beos-elf.h (FUNCTION_PROFILER): Kill.
6602 * freebsd-aout.h (FUNCTION_PROFILER): Kill.
6604 (PROFILE_COUNT_REGISTER): New.
6605 * linux.h (FUNCTION_PROFILER): Kill.
6607 * x86-64.h (FUNCTION_PROFILER): Kill.
6609 * freebsd.h (FUNCTION_PROFILER): Kill.
6612 2002-11-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
6614 * config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
6615 FUNCTION_ARG_PASS_BY_REFERENCE): Define.
6616 * config/arm/arm.c (arm_va_arg,
6617 arm_function_arg_pass_by_reference): New.
6618 * config/arm/arm-protos.h: Add prototypes.
6620 2002-11-14 Kazu Hirata <kazu@cs.umass.edu>
6622 * gthr-single.h: Fix formatting.
6624 2002-11-14 Zack Weinberg <zack@codesourcery.com>
6626 * tree.c (tree_vec_elt_check_failed): New function.
6627 * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
6628 (TREE_VEC_ELT): Use it.
6630 * tree-inline.c (optimize_inline_calls): Don't copy a
6633 2002-11-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
6635 * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
6637 2002-11-14 Jakub Jelinek <jakub@redhat.com>
6639 * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
6640 both operands contain local relocations.
6641 (categorize_decl_for_section): Don't use mergeable sections if
6642 initializer has any relocations.
6644 2002-11-14 Kazu Hirata <kazu@cs.umass.edu>
6646 * gthr-vxworks.h: Fix formatting.
6648 2002-11-13 Janis Johnson <janis187@us.ibm.com>
6650 * doc/install.texi (Testing): Document extra Java testing.
6651 * doc/sourcebuild.texi (Test Suites): Document libgcj testing.
6653 2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
6655 * pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
6656 beginning of the spec.
6657 (LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
6658 (LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable. Add comment
6659 regarding problems with global constructors when using GNU ld.
6661 2002-11-13 Kazu Hirata <kazu@cs.umass.edu>
6663 * gthr-solaris.h: Fix formatting.
6665 2002-11-13 Kazu Hirata <kazu@cs.umass.edu>
6667 * gthr-posix.h: Fix formatting.
6669 2002-11-12 Devang Patel <dpatel@apple.com>
6670 * gcc.c (display_help): Two new options -Xpreprocessor and -Xassembler.
6671 (process_command): Same.
6672 * doc/invoke.texi: Info about these two new options.
6674 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
6676 * config/h8300/h8300.md (*andorsi3): New.
6678 2002-11-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6680 * doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
6682 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
6684 * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
6685 expressions appropriately.
6687 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
6689 * gthr-win32.h: Fix formatting.
6691 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
6693 * config/h8300/h8300.c (single_one_operand): Correctly compute
6694 mask when mode is SImode.
6695 (single_zero_operand): Likewise.
6696 * config/h8300/h8300.md (two new anonymous insns): New.
6698 2002-11-12 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6700 * doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
6701 to that entire project.
6703 2002-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6705 * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
6708 2002-11-11 Zack Weinberg <zack@codesourcery.com>
6710 * params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
6711 * doc/invoke.texi: Document them.
6713 * ggc-page.c: Include params.h. Remove definitions of
6714 GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED. Replace
6715 GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
6716 (init_gcc): Don't set G.allocated_last_gc here.
6717 (ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
6718 PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
6720 * ggc-simple.c: Similarly.
6721 * Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
6724 2002-11-11 Kazu Hirata <kazu@cs.umass.edu>
6726 * gthr-dce.h: Fix formatting.
6728 2002-11-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6731 * stmt.c (tail_recursion_args): Handle DECL_MODE differing from the
6732 mode of DECL_RTL case.
6734 2002-11-11 Janis Johnson <janis187@us.ibm.com>
6736 * doc/contrib.texi: Merge in the list from the libstdc++ web pages.
6738 Mon Nov 11 12:06:08 CET 2002 Jan Hubicka <jh@suse.cz>
6740 * i386.c (construct_container): Fix handling of SSE_CLASS.
6742 2002-11-10 Joel Sherrill <joel@gcc.gnu.org>
6744 * config/m68k/t-crtstuff (crti.o): Use this...
6745 ($(T)crti.o): ... instead.
6746 (crtn.o): Use this...
6747 ($(T)crtn.o): ... instead.
6749 2002-11-10 Eric Botcazou <ebotcazou@libertysurf.fr>
6752 * recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
6753 if there is something new to be simplified.
6755 2002-11-10 H.J. Lu <hjl@gnu.org>
6757 * calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
6758 * expr.c (PUSH_ARGS_REVERSED): Likewise.
6760 * config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
6762 2002-11-10 Zack Weinberg <zack@codesourcery.com>
6764 * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
6765 * config/rs6000/linux.h, config/rs6000/linux64.h,
6766 config/rs6000/windiss.h: ... not here.
6768 2002-11-10 Jason Thorpe <thorpej@wasabisystems.com>
6770 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
6771 __ABICALLS__ if TARGET_ABICALLS.
6773 Sun Nov 10 18:49:21 CET 2002 Jan Hubicka <jh@suse.cz>
6775 * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
6777 2002-11-10 Joseph S. Myers <jsm@polyomino.org.uk>
6779 * c-decl.c (grokdeclarator): Make error for duplicate type
6780 qualifiers into a pedwarn, disabled for C99.
6782 2002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
6784 * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
6785 as FUNCTION_ARG_PASS_BY_REFERENCE.
6787 2002-11-09 Zack Weinberg <zack@codesourcery.com>
6789 * doc/install.texi: Add *-*-vxworks* specific installation
6792 * config/vxlib.c: Rewrite using generation numbers to identify
6795 Sat Nov 9 00:10:54 CET 2002 Jan Hubicka <jh@suse.cz>
6797 * i386.c (x86_machine_dependent_reorg): Fix even more side cases.
6799 2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
6801 * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
6803 * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define.
6804 (hppa*64*-*-hpux11*): Likewise. Use elfos.h with gas.
6805 * pa.c (output_millicode_call): Use symbol difference rather than
6806 $PIC_pcrel$0 when using HP assembler.
6807 * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or
6808 not elfos.h (i.e., gas) is being used.
6809 (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
6810 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON,
6811 ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME,
6812 ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL,
6813 ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when
6815 (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h.
6816 (DWARF2_ASM_LINE_DEBUG_INFO): Delete.
6817 (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not
6819 (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6820 BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h.
6821 (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL):
6822 Don't define when not using elfos.h.
6823 (ASM_DECLARE_RESULT): Don't define.
6824 * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler
6825 doesn't work on hppa64-hp-hpux11.
6826 (hppa*-hp-hpux11): Update.
6828 2002-11-09 Jason Thorpe <thorpej@wasabisystems.com>
6830 * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
6831 to the assembler if -mno-abicalls was specified.
6833 2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
6835 * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
6836 ASM_OUTPUT_DEF): Delete.
6838 2002-11-09 Neil Booth <neil@daikokuya.co.uk>
6840 * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
6842 2002-11-08 Roger Sayle <roger@eyesopen.com>
6844 * real.c (real_sqrt): Update comment with bibliographic reference.
6846 Fri Nov 8 13:33:58 CET 2002 Jan Hubicka <jh@suse.cz>
6848 * i386.md (sse_loadss, sse2_loadsd): Fix expander.
6850 Fri Nov 8 13:25:41 CET 2002 Jan Hubicka <jh@suse.cz>
6852 * i386.c (x86_machine_dependent_reorg): Fix handling of empty functions.
6854 Fri Nov 8 13:01:42 CET 2002 Jan Hubicka <jh@suse.cz>
6856 * builtins.c (expand_builtin_mathfn): Handle floor/ceil/trunc/round/nearbyint
6857 (expand_builtin): Likewise.
6859 __builtin_floor, __builtin_floorf, __builtin_floorl
6860 __builtin_ceil, __builtin_ceilf, __builtin_ceill
6861 __builtin_round, __builtin_roundf, __builtin_roundl
6862 __builtin_trunc, __builtin_truncf, __builtin_truncl
6863 __builtin_nearbyint, __builtin_nearbyintf, __builtin_nearbyintl.
6864 * genopinit.c (optabs): Initialize the new optabs.
6865 * optab.c (init_optabs): Likewise.
6866 * optabs.h (optab_index): Add OTI_floor, OTI_ceil, OTI_trunc,
6867 OTI_round, OTI_nearbyint.
6868 (floor_optab, ceil_optab, trunc_optab, round_optab, nearbyint_optab): New.
6869 * doc/md.texi: Document new named patterns.
6870 * doc/extend.texi (builtin functions) Document
6871 floor, floorf, floorl, ceil, ceilf,
6872 ceill, round, roundf, roundl, trunc,
6873 truncf, truncl, nearbyint, nearbyintf, nearbyintl.
6875 Fri Nov 8 11:36:11 CET 2002 Jan Hubicka <jh@suse.cz>
6877 * i386.md (sse_movdfcc, sse_movsfcc): Fix typo in previous patch.
6879 2002-11-08 Dale Johannesen <dalej@apple.com>
6881 * dbxout.c (dbxout_type): Fix stabs info for vector types.
6883 2002-11-08 Neil Booth <neil@daikokuya.co.uk>
6885 PR preprocessor/8497
6886 PR preprocessor/8501
6887 * cpptrad.c (scan_out_logical_line): A '#' from a macro doesn't
6888 start a directive. In assembler, #NUM is not a line directive.
6890 2002-11-08 Neil Booth <neil@daikokuya.co.uk>
6892 * cppmain.c (cpp_preprocess_file): Loop to pop any -included
6895 2002-11-08 Kazu Hirata <kazu@cs.umass.edu>
6897 * config/h8300/h8300.md (two anonymous test insns): New.
6899 Fri Nov 8 11:20:19 CET 2002 Jan Hubicka <jh@suse.cz>
6901 * jump.c (mark_jump_label): Handle subregs of label_refs.
6903 Thu Nov 7 21:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
6905 * i386.md (sse_movdfcc, sse_movsfcc): Avoid overactive matching.
6906 * i386.c (ix86_expand_fp_movcc): Match the reversed cases.
6908 2002-11-07 David Mosberger <davidm@hpl.hp.com>
6910 * config/ia64/crtend.asm: Include "auto-host.h".
6911 [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array.
6912 * config/ia64/crtbegin.asm: Similarly.
6913 * config/ia64/t-ia64 (crtbegin.o): Include from current directory.
6914 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
6916 * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New.
6917 * configure.in: Use it if --enable-initfini-array not specified.
6918 * doc/install.texi (Configuration): Document --enable-initfini-array.
6919 * configure, config.in: Rebuild.
6921 2002-11-07 Jason Thorpe <thorpej@wasabisystems.com>
6923 * config/arm/arm-protos.h (arm_get_frame_size)
6924 (thumb_get_frame_size): New prototypes.
6925 * config/arm/arm.c (arm_get_frame_size)
6926 (thumb_get_frame_size): New functions.
6927 (use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
6928 (arm_compute_initial_elimination_offset, arm_expand_prologue): Use
6930 (thumb_expand_prologue, thumb_expand_epilogue): Use
6931 thumb_get_frame_size.
6932 * config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
6933 (machine_function): Add frame_size member.
6934 (THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size.
6936 2002-11-07 Richard Earnshaw <rearnsha@arm.com>
6938 * arm.c (bit_count): Make argument unsigned long. Return unsigned.
6939 Adjust code to use portable unsigned bit manipulation.
6940 (insn_flags, tune_flags): Change type to unsigned.
6941 (struct processors): Make flags unsigned long.
6942 (arm_override_options): Change type of count and current_bit_count
6945 2002-11-07 Richard Earnshaw <rearnsha@arm.com>
6947 * arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
6949 Thu Nov 7 15:50:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
6951 * sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
6953 Thu Nov 7 11:18:01 CET 2002 Jan Hubicka <jh@suse.cz>
6955 * reg-stack.c (compensate_edge): Fix sanity check.
6957 2002-11-05 Geoffrey Keating <geoffk@apple.com>
6959 * config.gcc: Don't create crtbegin, crtend on Darwin; do create
6960 crt2.o. Rearrange t-darwin makefiles.
6961 * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
6962 * unwind-dw2-fde-darwin.c: New.
6963 * unwind-dw2-fde-glibc.c: Correct comment.
6964 * unwind-dw2-fde.c (__register_frame_info_bases)
6965 [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
6966 (classify_object_over_fdes): Use last_fde.
6967 (add_fdes): Likewise.
6968 (linear_search_fdes): Likewise.
6969 * unwind-dw2-fde.h (struct object)
6970 [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
6972 * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
6973 (ENDFILE_SPEC): No crtend.o.
6974 * config/t-darwin: New.
6975 * config/i386/t-darwin: Delete.
6976 * config/darwin-crt2.c: New.
6977 * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
6980 2002-11-06 Douglas B Rupp <rupp@gnat.com>
6982 * config/i386/i386-interix.h (TARGET_SUBTARGET_DEFAULT): Or
6983 MASK_MS_BITFIELD_LAYOUT
6984 (SUBTARGET_OVERRIDE_OPTIONS): Warn about and turn off
6985 MS bitfields for Objective-C.
6986 (PCC_BIT_FIELD_TYPE_TEST, GROUP_BITFIELDS_BY_ALIGN): Remove
6989 * config/i386/i386.c (ix86_ms_bitfield_layout): New function.
6990 (TARGET_MS_BITFIELD_LAYOUT_P): Define to above function.
6991 (TARGET_USE_MS_BITFIELD_LAYOUT): Define.
6993 * config/i386/i386.h (MASK_MS_BITFIELD_LAYOUT: New mask.
6994 TARGET_USE_MS_BITFIELD_LAYOUT): New macro.
6995 (TARGET_SWITCHES): Add above mask.
6997 * testsuite/gcc.dg/bf-ms-layout.c: New test case.
6998 * testsuite/gcc.dg/bf-no-ms-layout.c: New test case.
6999 * testsuite/gcc.dg/i386-bitfield1.c (dg-options): Add appropriate
7002 Wed Nov 6 18:54:47 2002 Alexandre Oliva <aoliva@redhat.com>
7004 * config/mips/mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output
7005 .gpword/.gpdword for ABI_N32 and ABI_64 too, if using the GNU
7007 * config/mips/mips.md (tablejump_internal3): Output .cpadd
7008 before jump on ABI_N32 too.
7009 (tablejump_internal4): Ditto on ABI_64. Increase maximum
7012 Wed Nov 6 17:16:48 CET 2002 Jan Hubicka <jh@.suse.cz>
7014 * i386.md (negsf splitter): Accept memory operand in second register.
7015 (abssf/absdf splitters): Simplify
7016 (sse_loadss, sse_loadsd): Turn into expander.
7018 2002-11-06 David Edelsohn <edelsohn@gnu.org>
7021 * config/rs6000/rs6000.md (movdi_internal64): Discourage
7024 2002-11-06 Janis Johnson <janis187@us.ibm.com>
7026 * doc/contrib.texi: Merge in the list from the Java web pages.
7028 2002-11-06 David O'Brien <obrien@FreeBSD.org>
7030 * config/sparc/freebsd: Fix typo.
7032 2002-11-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
7034 * pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
7036 2002-11-06 Alexandre Oliva <aoliva@redhat.com>
7038 * config/mips/mips.md (call_value_multiple_internal2): Use dla for
7039 non-SImode addresses.
7041 Tue Nov 5 14:34:36 CET 2002 Jan Hubicka <jh@suse.cz>
7043 * i386.md (float_truncate SSE splitter): Ensure that operand is not
7045 (float SSE splitters): Reorder conditional.
7047 2002-11-05 Bob Wilson <bob.wilson@acm.org>
7049 * config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
7051 2002-11-05 John David Anglin <dave2hiauly1.hia.nrc.ca>
7053 * pa64-hpux.h (LIB_SPEC): Fix p and pg options.
7054 (STARTFILE_SPEC): Remove p and pg options.
7056 2002-11-05 Andrew Haley <aph@redhat.com>
7058 * fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
7059 to (compound(a1,a0 op a2)) if a0 or a1 have side effects.
7061 2002-11-05 Richard Sandiford <rsandifo@redhat.com>
7063 * config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
7064 * config/mips/mips.c (mips_cannot_change_mode_class): ...here.
7066 2002-11-04 Zack Weinberg <zack@codesourcery.com>
7068 * gthr-vxworks.h: Rewritten from scratch.
7069 * config/vxlib.c: New file.
7070 * config/t-vxworks: Add config/vxlib.c to LIB2FUNCS_EXTRA.
7071 * config/rs6000/t-vxworks: Add config/vxlib.c to
7072 LIB2FUNCS_EXTRA here too, because of clash with
7073 config/rs6000/t-ppccomm.
7075 2002-11-04 Dale Johannesen <dalej@apple.com>
7077 * doloop.c (doloop_modify_runtime): Fix loop count computation
7079 * loop.c (loop_invariant_p): Support calling from unroller.
7081 2002-11-04 Ulrich Weigand <uweigand@de.ibm.com>
7083 * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
7086 2002-11-04 Aldy Hernandez <aldyh@redhat.com>
7088 * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
7090 * config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
7091 (CLASS_CANNOT_CHANGE_MODE): Remove.
7092 (CANNOT_CHANGE_MODE_CLASS): New.
7094 * config/alpha/alpha.h: Same.
7096 * config/ia64/ia64.h: Same.
7098 * config/mips/mips.h: Same.
7100 * config/s390/s390.h: Same.
7102 * config/sh/sh.h: Same.
7104 * config/pa/pa64-regs.h: Same.
7106 * config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.
7108 * config/sh/sh.c (sh_cannot_change_mode_class): New.
7110 * config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
7113 * config/mips/mips.c (mips_cannot_change_mode_class): New.
7115 * doc/tm.texi (Register Classes): Remove
7116 CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
7117 Document CANNOT_CHANGE_MODE_CLASS.
7119 * reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
7120 (push_reload): Same.
7122 * simplify-rtx.c (simplify_subreg): Same.
7124 * reload1.c (choose_reload_regs): Same.
7126 * recog.c (register_operand): Same.
7128 * regrename.c (mode_change_ok): Change to use new
7129 CANNOT_CHANGE_MODE_CLASS infrastructure.
7131 * regclass.c (cannot_change_mode_set_regs): New.
7132 Declare subregs_of_mode.
7133 (regclass): Use subregs_of_mode.
7134 Remove references to reg_changes_mode.
7135 (init_reg_sets_1): Remove class_can_change_mode and
7136 reg_changes_mode code.
7137 (invalid_mode_change_p): New.
7138 (dump_regclass): Use invalid_mode_change_p instead of
7139 class_can_change_mode.
7141 (record_operand_costs): Do not set reg_changes_mode.
7143 * local-alloc.c (struct qty): Remove changes_mode field.
7144 (alloc_qty): Remove changes_mode initialization.
7145 (update_qty_class): Remove set of changes_mode.
7146 (find_free_reg): Use subregs_of_mode.
7148 * global.c (find_reg): Use subregs_of_mode info.
7150 * rtl.h (cannot_change_mode_set_regs): New prototype.
7151 (invalid_mode_change_p): Same.
7152 (REG_CANNOT_CHANGE_MODE_P): New macro.
7154 * flow.c (mark_used_regs): Calculate subregs_of_mode. Remove
7156 (life_analysis): Clear subregs_of_mode.
7158 * combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
7159 Remove use of CLASS_CANNOT_CHANGE_MODE.
7160 (simplify_set): Same.
7161 (gen_lowpart_for_combine): Calculate subregs_of_mode. Remove
7164 * regs.h: Add extern for subregs_of_mode;
7165 Include hard-reg-set and basic-block.
7166 (REG_CHANGES_MODE): Delete.
7168 2002-11-03 Roger Sayle <roger@eyesopen.com>
7170 * real.c (real_sqrt): New function to calculate square roots.
7171 * real.h (real_sqrt): Add function prototype.
7172 * builtins.c (fold_builtin): Fold sqrt of constant argument.
7173 * simplify-rtx.c (simplify_unary_operation): Simplify sqrt
7174 of constant argument.
7176 2002-11-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
7178 * jump.c (never_reached_warning): Don't set contains_insn until the
7179 first line note is seen.
7181 2002-11-03 David Edelsohn <edelsohn@gnu.org>
7183 * config/rs6000/rs6000.md (movti_string): Use string instructions.
7185 2002-11-03 Roger Sayle <roger@eyesopen.com>
7188 * c-typeck.c (c_expand_asm_operands): Defend against
7189 error_mark_nodes in the output argument to avoid ICE.
7191 2002-11-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7194 * genrecog.c (preds): Handle ADDRESSOF.
7195 (validate_pattern): Mark it as an lvalue.
7197 2002-11-02 David Edelsohn <edelsohn@gnu.org>
7199 * config/rs6000/rs6000.c (rs6000_override_options): Use string
7200 instructions when optimizing for size.
7202 2002-11-02 Kazu Hirata <kazu@cs.umass.edu>
7204 * config/h8300/h8300.h: Fix comment typos.
7205 * config/h8300/h8300.md: Likewise.
7206 * config/h8300/lib1funcs.asm: Likewise.
7208 2002-11-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7212 *doc/install.texi (Installing GCC: Configuration): Clarify
7213 the only supported ways to configure gcc.
7215 2002-11-01 Kazu Hirata <kazu@cs.umass.edu>
7217 * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
7218 instead of 'O' for the constraint for the second operand.
7220 2002-11-01 Mark Mitchell <mark@codesourcery.com>
7223 * toplev.c (rest_of_compilation): Do not refuse to output code for
7224 an inline function in a local class.
7226 2002-11-01 David O'Brien <obrien@FreeBSD.org>
7228 * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
7229 (TRANSFER_FROM_TRAMPOLINE): Reformat.
7232 2002-11-01 Kazu Hirata <kazu@cs.umass.edu>
7234 * config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
7236 2002-11-01 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
7238 * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
7240 2002-11-01 Steve Ellcey <sje@cup.hp.com>
7242 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
7243 (MASK_INLINE_DIV_THR): Remove.
7244 (TARGET_INLINE_DIV_LAT): Remove.
7245 (TARGET_INLINE_DIV_THR): Remove.
7246 (TARGET_INLINE_DIV): Remove.
7247 (MASK_INLINE_FLOAT_DIV_LAT): New macro.
7248 (MASK_INLINE_FLOAT_DIV_THR): New macro.
7249 (MASK_INLINE_INT_DIV_LAT): New macro.
7250 (MASK_INLINE_INT_DIV_THR): New macro.
7251 (TARGET_INLINE_FLOAT_DIV_LAT): New macro.
7252 (TARGET_INLINE_FLOAT_DIV_THR): New macro.
7253 (TARGET_INLINE_INT_DIV_LAT): New macro.
7254 (TARGET_INLINE_INT_DIV_THR): New macro.
7255 (TARGET_INLINE_FLOAT_DIV): New macro.
7256 (TARGET_INLINE_INT_DIV): New macro.
7257 * config/ia64/ia64.md (divsi3): Change to use new macros.
7261 (divsi3_internal): Ditto.
7266 (divdi3_internal_lat): Ditto.
7267 (divdi3_internal_thr): Ditto.
7269 (divsf3_internal_lat): Ditto.
7270 (divsf3_internal_thr): Ditto.
7272 (divdf3_internal_lat): Ditto.
7273 (divdf3_internal_thr): Ditto.
7275 (divtf3_internal_lat): Ditto.
7276 (divtf3_internal_thr): Ditto.
7277 * config/ia64/ia64.c (ia64_override_options): Change
7278 to check new macros for conflicts in settings.
7279 * doc/invoke.texi (-minline-divide-min-latency): Remove.
7280 (-minline-divide-max-throughput): Remove.
7281 (-minline-float-divide-min-latency): New.
7282 (-minline-float-divide-max-throughput): New.
7283 (-minline-int-divide-min-latency): New.
7284 (-minline-int-divide-max-throughput): New.
7286 2002-11-01 Richard Earnshaw (rearnsha@arm.com)
7289 * arm.c (use_return_insn): Don't use a return insn if there are
7290 saved integer regs, but LR is not one of them.
7292 Fri Nov 1 10:33:15 CET 2002 Jan Hubicka <jh@suse.cz>
7294 * expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P
7295 * machmode.h (SCALAR_FLOAT_MODE_P): New macro.
7297 Thu Oct 31 18:20:50 CET 2002 Jan Hubicka <jh@suse.cz>
7299 * i386.md (sse_loadss, sse_loadsd): Canonicalize; add expander
7300 (movps, movpd splitters): Use canonical form.
7301 (movv2di): Fix merge problem.
7303 Thu Oct 31 16:22:31 CET 2002 Jan Hubicka <jh@suse.cz>
7305 * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
7307 2002-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
7309 PR optimization/6162
7310 * doc/md.texi: Document restriction on commutative operand
7313 2002-10-31 Eric Christopher <echristo@redhat.com>
7315 * explow.c (convert_memory_address): Use shallow_copy_rtx.
7317 2002-10-31 Steve Ellcey <sje@cup.hp.com>
7319 * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
7321 2002-10-31 Steve Ellcey <sje@cup.hp.com>
7323 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
7325 Thu Oct 31 Dale Johannesen <dalej@apple.com>
7327 * config/rs6000/darwin.h: Correct formatting in previous.
7329 Thu Oct 31 Dale Johannesen <dalej@apple.com>
7331 * config/rs6000/darwin.h: Enable -falign-xxx options.
7333 Thu Oct 31 18:08:00 CET 2002 Jan Hubicka <jh@suse.cz>
7335 * i386.c (override_options): Set defaults for flag_omit_frame_pointer,
7336 flag_asynchronous_unwind_tables, flag_pcc_struct_return.
7337 * i386.c (optimization_options): Set flag_omit_frame_pointer,
7338 flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
7339 Do not clear -momit-leaf-frame-pointer when profiling.
7340 (ix86_frame_pointer_required): Frame pointer is always required when
7343 Thu Oct 31 16:09:44 CET 2002 Jan Hubicka <jh@suse.cz>
7345 * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
7347 Thu Oct 31 12:45:55 2002 J"orn Rennecke <joern.rennecke@superh.com>
7349 * sh.h (binary_logical_operator): Declare.
7350 * sh.c (binary_logical_operator): New function.
7351 * sh.md (xordi3+1): New combiner splitter pattern.
7353 2002-10-31 David O'Brien <obrien@FreeBSD.org>
7355 * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
7356 __enable_execute_stack function.
7358 2002-10-30 Zack Weinberg <zack@codesourcery.com>
7360 * gthr.h, gthr-dce.h, gthr-posix.h, gthr-rtems.h,
7361 gthr-solaris.h, gthr-win32.h: Remove __gthread_key_dtor.
7362 * unwind-sjlj.c (fc_key_dtor): Delete.
7363 (fc_key_init): Adjust __gthread_key_create call to match.
7365 2002-10-30 Aldy Hernandez <aldyh@redhat.com>
7367 * c-common.c: Add GTY to vector_type_node_list.
7369 2002-10-30 John David Anglin <dave@hiauly.hia.nrc.ca>
7371 * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
7372 * pa-protos.h (attr_length_millicode_call, attr_length_call,
7373 pa_init_machine_status): Declare new global functions.
7374 * pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and
7375 implement new functions.
7376 (attr_length_millicode_call, attr_length_call): Implement.
7377 (total_code_bytes): Change type to long.
7378 (pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT.
7379 Reset counter if flag_function_sections.
7380 (output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT.
7381 (output_cbranch): Move call to gen_label_rtx.
7382 (output_millicode_call): Rewrite adding long TARGET_64BIT call, expose
7383 delay slot in all variants, shorten pc-relative calls.
7384 (output_call): Rewrite adding long TARGET_64BIT call, improved delay
7385 slot usage and exposure, various new call variants, and shortened
7386 sequences for some variants on TARGET_PA_20.
7387 Miscellaneous format changes.
7388 * pa.h (total_code_bytes): Change type to long.
7389 (MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL,
7390 TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define.
7391 (TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options.
7392 (EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS,
7393 LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and
7394 stores on TARGET_ELF32.
7395 *pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME.
7396 (unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and
7397 canonicalize_funcptr_for_compare expanders): Calculate attribute length
7398 attr_length_millicode_call().
7399 (call_internal_symref, call_value_internal_symref): Clobber register 1.
7400 Calculate attribute length using attr_length_call().
7401 (call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load
7403 (sibcall, sibcall_value): Rewrite.
7404 (sibcall_internal_symref, sibcall_value_internal_symref): Clobber
7405 register 1. Use attr_length_call().
7406 (sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit):
7408 (unamed pattern for canonicalize_funcptr_for_compare): Rewrite.
7409 * som.h (MEMBER_TYPE_FORCES_BLK): Define.
7410 * t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls".
7411 * doc/invoke.texi (mlong-calls): Document.
7413 2002-10-30 Roger Sayle <roger@eyesopen.com>
7415 * fold-const.c (fold_binary_op_with_conditional_arg): Improve
7416 handling of cases where one or both branches of the conditional
7417 have void type, i.e. throw an exception or don't return.
7418 (fold): Only apply (and undo) type conversion to the non-void
7419 branches of a COND_EXPR.
7421 2002-10-30 Mark Mitchell <mark@codesourcery.com>
7424 * varasm.c (asm_output_aligned_bss): Do not call
7425 ASM_GLOBALIZE_LABEL.
7427 2002-10-30 David Edelsohn <edelsohn@gnu.org>
7428 Torbjorn Granlund <tege@swox.com>
7430 * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
7432 (load_toc_v4_PIC_1b): Same.
7434 2002-10-30 Kazu Hirata <kazu@cs.umass.edu>
7436 * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
7437 Truncate the addresses for H8/300 using HImode.
7439 Tue Oct 29 23:28:10 CET 2002 Jan Hubicka <jh@suse.cz>
7441 * i386.md (negdf splitter): Fix construction of the constant.
7443 Tue Oct 29 20:47:06 CET 2002 Jan Hubicka <jh@suse.cz>
7445 * i386.md (negsf, negdf): Reorganize to use vector modes
7447 (abssf, absdf): Use force_reg.
7448 (movv4sf, movv2df): New splitters.
7449 * i386.h (PREDICATE_CODES): add zero_extended_scalar_load_operand
7450 * i386.c (zero_extended_scalar_load_operand
7452 * i386-protos.h (ix86_expand_call): Update prototype.
7453 * i386.c (ix86_function_ok_for_sibcall): Handle 64bit
7454 (ix86_expand_call): Use r11 for indirect sibcalls.
7455 * i386.md (call, call_value, untyped_call, call_value_pop):
7456 update x86_expand_call call.
7457 (sibcall, sibcall_value): new patterns
7458 (call_rex64, call_value_rex64): Do not accept sibcalls.
7459 (sibcall_rex64, sibcall_value_rex64,
7460 sibcall_rex64_v, sibcall_value_rex64_v): New.
7462 Tue Oct 29 15:37:39 CET 2002 Jan Hubicka <jh@suse.cz>
7464 * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
7467 2002-10-29 Hans-Peter Nilsson <hp@bitrange.com>
7469 * toplev.c (rest_of_type_compilation): Return early in case of
7471 (check_global_declarations): Don't call debug_hooks->global_decl
7474 2002-10-28 Andreas Bauer <baueran@in.tum.de>
7476 * doc/c-tree.texi (Tree overview): Fix typos.
7478 2002-10-29 Phil Edwards <pme@gcc.gnu.org>
7480 * Makefile.in (gnucompare*): Only record bad comparisons
7481 if there really was a bad comparison.
7483 Tue Oct 29 19:32:16 CET 2002 Jan Hubicka <jh@suse.cz>
7485 * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
7486 * i386.md (movsf*, movdf*): Use 'C' instead of 'H'
7487 * md.texi (machine dependent constraints): Document 'C'
7489 * simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging.
7491 * i386.c (ix86_expand_vector_move): Fix.
7493 * i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64.
7494 * i386.md (sse2_maskmovdqu_rex64): New pattern
7497 * xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast.
7498 (ix86_init_mmx_sse_builtins): Fix type.
7500 2002-10-29 Jason Thorpe <thorpej@wasabisystems.com>
7502 * gthr-posix.h: Include <unistd.h> for feature tests.
7503 (sched_get_priority_max, sched_get_priority_min)
7504 (pthread_getschedparam, pthread_setschedparam): Only use
7505 if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
7506 (__gthread_objc_thread_set_priority): Don't treat all nonzero
7507 returns from sched_get_priority_max and sched_get_priority_min
7510 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
7512 * config/h8300/h8300.h (TARGET_DEFAULT): Make it
7515 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
7517 * config/h8300/h8300.c (h8300_eightbit_constant_address_p): New.
7518 (h8300_tiny_constant_address_p): Likewise.
7519 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use
7520 h8300_eightbit_constant_address_p.
7521 (TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p.
7522 * config/h8300/h8300-protos.h: Add the prototypes for the two
7525 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
7527 * reload1.c (update_eliminables): Unconditionally check if
7528 frame_pointer_needed has changed.
7530 Tue Oct 29 15:37:39 CET 2002 Jan Hubicka <jh@suse.cz>
7532 * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
7535 2002-10-29 Eric Botcazou <ebotcazou@libertysurf.fr>
7537 PR optimization/8334
7538 * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
7539 check for zero operands explicitly.
7541 2002-10-29 Richard Sandiford <rsandifo@redhat.com>
7543 * config/mips/mips.md (extv, extzv, insv): Set size of referenced
7544 memory after adjusting to BLKmode.
7546 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
7548 * config/h8300/h8300.h (MASK_*): New.
7549 (TARGET_*): Use MASK_*.
7551 2002-10-28 Zack Weinberg <zack@codesourcery.com>
7553 * config.gcc (*-*-vxworks, powerpc-wrs-vxworks*): New stanzas.
7554 * config/t-vxworks, config/vxworks.h, config/rs6000/t-vxworks,
7555 config/rs6000/vxworks.h: New files.
7556 * config/rs6000/sysv4.h: Rip out -mvxworks and all related code.
7558 * config.gcc (alpha*-*-vxworks*, arm-*-vxworks*,
7559 i?86-wrs-vxworks*, i960-wrs-vxworks* [all],
7560 m68k-wrs-vxworks*, mips-wrs-vxworks, powerpc-wrs-vxworks*,
7561 powerpcle-wrs-vxworks*, sparc*-wrs-vxworks* [all],
7562 sparc-*-vxsim*): Delete stanzas.
7563 * gthr-vxworks.h: Rip out all substantive code and just
7564 include gthr-single.h.
7566 * config/alpha/vxworks.h, config/arm/vxarm.h,
7567 config/i386/vxi386.h, config/i960/t-vxworks960,
7568 config/i960/vx960-coff.h, config/i960/vx960.h,
7569 config/m68k/t-vxworks68, config/m68k/vxm68k.h,
7570 config/mips/vxworks.h, config/rs6000/vxppc.h,
7571 config/sparc/t-vxsparc, config/sparc/t-vxsparc64,
7572 config/sparc/vxsim.h, config/sparc/vxsparc.h,
7573 config/sparc/vxsparc64.h: Delete files.
7575 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
7577 * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to
7578 tm_defines if pthreads are enabled.
7579 * config/netbsd.h (LIB_SPEC): Only support the -pthread option
7580 if NETBSD_ENABLE_PTHREADS is defined.
7582 2002-10-28 Kazu Hirata <kazu@cs.umass.edu>
7584 * ChangeLog.1: Fix typos.
7585 * cse.c: Fix a comment typo.
7586 * reload1.c: Likewise.
7588 2002-10-27 Hans-Peter Nilsson <hp@bitrange.com>
7590 * fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
7591 * fixinc/tests/base/_G_config.h: New file.
7593 2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
7595 * combine.c: Fix comment formatting.
7598 * regclass.c: Likewise.
7599 * regmove.c: Likewise.
7600 * regrename.c: Likewise.
7601 * reg-stack.c: Likewise.
7602 * reload1.c: Likewise.
7603 * reload.c: Likewise.
7604 * reload.h: Likewise.
7605 * unroll.c: Likewise.
7607 2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
7609 * reload1.c (reload): Fix a comment typo.
7611 Sun Oct 27 10:15:24 CET 2002 Jan Hubicka <jh@suse.cz>
7613 * linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
7615 2002-10-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
7617 * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
7618 * dwarf2out.c: Include hashtab.h.
7619 (is_main_source): New static variable.
7620 (attr_checksum, die_checksum): Modified to handle die references.
7621 (same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap,
7622 unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu,
7623 record_comdat_symbol_number): New static functions.
7624 (output_comp_unit, compute_section_prefix, is_type_die, break_out_includes,
7625 mark_dies, unmark_dies, dwarf2out_start_source_file): Modified.
7626 * toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type
7629 2002-10-26 Kazu Hirata <kazu@cs.umass.edu>
7631 * config/h8300/h8300.c (initial_offset): Change to
7632 h8300_initial_elimination_offset.
7633 * config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
7634 h8300_initial_elimination_offset.
7635 * config/h8300/h8300-protos.h: Update the prototype.
7637 2002-10-26 Hans-Peter Nilsson <hp@bitrange.com>
7639 * config/mmix/mmix.h (LIBCALL_VALUE): Use
7640 MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
7641 (FUNCTION_VALUE_REGNO_P): Similar, but move code to...
7642 * config/mmix/mmix.c (mmix_function_value_regno_p): New.
7643 * config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
7645 (mmix_function_value_regno_p): Declare.
7647 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
7648 invalid for floating point mode result, with fix.
7650 Fri Oct 25 00:04:21 2002 Alexandre Oliva <aoliva@redhat.com>
7652 * Makefile.in (GCC_FOR_TARGET): Add -L$(objdir)/../ld.
7653 (STAGE2_FLAGS_TO_PASS): Pass GCC_FOR_TARGET.
7654 (stage1_build): Likewise.
7656 2002-10-25 Mike Stump <mrs@apple.com>
7658 Fixes gcc.dg/warn-1.c.
7659 * c-typeck.c (warn_for_assignment): Don't print argument number,
7662 Sat Oct 26 01:44:46 CEST 2002 Jan Hubicka <jh@suse.cz>
7664 * toplev.c (dump_file_index): Add DFI_ce3.
7665 (dump_file_info): Likewise.
7666 (rest_of_compilation): Run first ifcvt pass before tracer.
7668 2002-10-25 Steve Ellcey <sje@cup.hp.com>
7670 * config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
7672 2002-10-25 Richard Henderson <rth@redhat.com>
7674 * real.c (real_to_decimal): If the >1 tens reduction loop results
7675 in a negative exponent, fall into the <1 pten computation.
7677 2002-10-25 Zack Weinberg <zack@codesourcery.com>
7680 * c-objc-common.c (inline_forbidden_p): Can not inline
7681 functions containing structures or unions containing VLAs.
7682 * tree-inline.c (walk_tree): For all class 't' nodes, walk
7683 TYPE_SIZE and TYPE_SIZE_UNIT.
7684 (copy_tree_r): Copy types if they are variably modified.
7686 2002-10-25 Ulrich Weigand <uweigand@de.ibm.com>
7688 * config/s390/s390.md: Remove old-style peepholes.
7690 2002-10-25 Ulrich Weigand <uweigand@de.ibm.com>
7692 * config/s390/s390.c (s390_decompose_address): Do not range check the
7693 displacement if base or index is the argument pointer register.
7695 2002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
7700 * fixinc/inclhack.def (libc1_G_va_list): New fix.
7701 * fixinc/fixincl.x: Regenerate.
7702 * config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
7703 ifndef IN_LIBGCC2. Wrap it together with signal.h and
7704 sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
7705 * configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
7706 * config.in, configure: Regenerate.
7708 2002-10-24 Igor Shevlyakov <igor@microunity.com>
7710 * varasm.c (struct rtx_const): Array size 16 for V16QImode.
7712 2002-10-24 Richard Henderson <rth@redhat.com>
7714 * config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
7716 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
7718 * config/h8300/h8300.c (initial_offset): Simplify by using
7721 2002-10-24 Marek Michalkiewicz <marekm@amelek.gda.pl>
7723 * doc/install.texi (avr): Update required binutils version.
7725 2002-10-24 Theodore A. Roth <troth@openavr.org>
7727 * doc/install.texi: Point avr users at more up-to-date information.
7729 2002-10-24 Ulrich Weigand <uweigand@de.ibm.com>
7731 * config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
7732 to pull operands out of the literal pool where possible.
7734 2002-10-24 Denis Chertykov <denisc@overta.ru>
7736 * config/avr/avr.c (init_cumulative_args): Test fntype for zero.
7738 2002-10-24 Steve Ellcey <sje@cup.hp.com>
7740 * expr.c (convert_move): If unsignedp is less then zero there
7741 is no equivalent code.
7743 2002-10-24 Zack Weinberg <zack@codesourcery.com>
7745 * tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
7747 2002-10-24 Ulrich Weigand <uweigand@de.ibm.com>
7749 * config/s390/s390.h: Rework comments; re-sort target macro definitions
7750 according to the sequence they are defined in the manual.
7751 (POINTER_BOUNDARY): Remove.
7753 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
7755 * config/h8300/h8300.c (round_frame_size): Replace 8 with
7758 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
7760 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
7762 (TINY_CONSTANT_ADDRESS_P): Likewise.
7764 2002-10-24 Richard Henderson <rth@redhat.com>
7766 * config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
7767 (ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
7770 2002-10-24 Richard Henderson <rth@redhat.com>
7773 * reload.c (find_reloads_toplev): Mode of X is not important
7774 when simplifying subregs of constants.
7776 2002-10-24 Richard Sandiford <rsandifo@redhat.com>
7778 * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
7779 MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
7780 * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
7781 (override_options): Base default setting of MASK_SOFT_FLOAT on -march
7782 if MIPS_MARCH_CONTROLS_SOFT_FLOAT.
7784 2002-10-24 Richard Sandiford <rsandifo@redhat.com>
7786 * optabs.c (expand_binop): Don't reuse the shift target in the
7787 middle of shift sequences.
7789 Wed Oct 23 22:48:44 CEST 2002 Jan Hubicka <jh@suse.cz>
7791 * i386.md (abs splitters): Do not produce nested subregs.
7793 Wed Oct 23 12:42:32 CEST 2002 Jan Hubicka <jh@suse.cz>
7795 * i386.md (movti_rex64): Fix constraints.
7797 Wed Oct 23 12:01:21 CEST 2002 Jan Hubicka <jh@suse.cz>
7799 * i386.md (abssf,absdf): Use vector operands for SSE
7800 (abssf2_ifs, absdf2_ifs, absdf2_ifs_rex64 and splitters): Update for
7803 2002-10-23 Ziemowit Laski <zlaski@apple.com>
7805 * objc/objc-act.c (get_static_reference): Remove unneeded
7806 TYPE_BINFO initialization.
7807 (get_object-reference): Likewise.
7808 (build_constructor): Tighten precondition check.
7809 (finish_message_expr): Likewise.
7811 2002-10-23 Jakub Jelinek <jakub@redhat.com>
7813 * config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
7816 2002-10-23 Steve Ellcey <sje@cup.hp.com>
7818 * config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
7821 2002-10-23 Richard Henderson <rth@redhat.com>
7823 * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
7824 (alpha_output_mi_thunk_osf): Handle vcall_offset.
7826 2002-10-23 Zack Weinberg <zack@codesourcery.com>
7828 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
7830 * langhooks-def.h: Default for tree_inlining.var_mod_type_p is
7831 hook_tree_bool_false.
7833 * tree.c (variably_modified_type_p): Moved here from
7834 cp/tree.c. Use lang_hooks.tree_inlining.var_mod_type_p for
7835 language-specific cases. Due to this, must weaken some 'if
7836 and only if' checks to merely 'if'.
7837 * tree.h: Prototype variably_modified_type_p.
7839 * tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.
7841 2002-10-23 Ulrich Weigand <uweigand@de.ibm.com>
7843 * config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
7844 * config/s390/s390.c (optimization_options): Disable -fcaller-saves.
7846 * config/s390/s390-protos.h (fp_operand): Remove.
7847 * config/s390/s390.c (fp_operand): Remove.
7848 * config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
7849 ("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
7850 ("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
7851 (movdi_31, movdf_31 splitters): Likewise.
7853 * config/s390/s390.h (IEEE_FLOAT): Remove.
7854 (TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
7855 (INT_REGNO_P): Rename to ...
7856 (GENERAL_REGNO_P): ... this.
7857 (FLOAT_REGNO_P): Rename to ...
7858 (FP_REGNO_P): ... this.
7859 (ADDR_REGNO_P): New macro.
7860 (GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
7861 (REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
7862 (DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
7863 (HARD_REGNO_NREGS): Adapt to macro renaming.
7864 (HARD_REGNO_MODE_OK): Likewise.
7866 2002-10-23 David Edelsohn <edelsohn@gnu.org>
7867 Geoff Keating <geoffk@apple.com>
7869 * config/rs6000/rs6000.c (rs6000_register_move_cost): New function.
7870 (rs6000_memory_move_cost): New function.
7871 * config/rs6000/rs6000-protos.h: Declare them.
7872 * config/rs6000/rs6000.h: Use them.
7874 2002-10-23 Ulrich Weigand <uweigand@de.ibm.com>
7876 * libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
7877 inlining it into other libgcc2 routines.
7878 (__udivmoddi4): Likewise.
7880 2002-10-22 Nathanael Nerode <neroden@gcc.gnu.org>
7882 * doc/sourcebuild.texi (Test Suites): Improve.
7884 2002-10-22 Stan Shebs <shebs@apple.com>
7886 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing
7889 2002-10-22 Jim Wilson <wilson@redhat.com>
7891 * config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
7893 Wed Oct 23 01:52:36 CEST 2002 Jan Hubicka <jh@suse.cz>
7896 * xmmintrin.h: Add const to the argument of loads.
7898 * i386.md (pushv2di): New pattern.
7900 * xmmintrin.h (_MM_TRANSPOSE4_PS): New.
7902 2002-10-22 Richard Henderson <rth@redhat.com>
7904 * target.h (gcc_target.asm_out): Merge output_mi_thunk and
7905 output_mi_vcall_thunk into a single hook. Add can_output_mi_thunk.
7906 * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
7907 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
7908 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
7909 (TARGET_ASM_OUT): Update.
7910 * hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
7911 (hook_bool_tree_hwi_hwi_tree_true): New.
7912 (default_can_output_mi_thunk_no_vcall): New.
7913 * hooks.h: Declare them.
7914 * system.h (ASM_OUTPUT_MI_THUNK): Poison.
7916 * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
7917 (alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
7918 * config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
7919 config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
7920 config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
7921 config/stormy16/stormy16.c: Similarly.
7923 * config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
7924 Handle 64-bit properly. Streamline.
7925 (x86_output_mi_vcall_thunk): Remove.
7926 (x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
7927 (x86_can_output_mi_thunk): New.
7928 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
7929 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
7930 (override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.
7932 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
7933 output_mi_thunk; make static; always use function_section.
7934 (TARGET_ASM_OUTPUT_MI_THUNK): New.
7935 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
7936 (rs6000_ra_ever_killed): Test no_new_pseudos not
7937 targetm.asm_out.output_mi_thunk in conjunction with thunks.
7938 * config/rs6000/rs6000-protos.h: Update.
7939 * config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
7940 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
7941 xcoffout_declare_function when using rs6000_output_mi_thunk.
7943 * config/s390/s390.c (s390_output_mi_thunk): Rename from
7944 s390_output_mi_vcall_thunk.
7945 (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
7946 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
7948 * config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
7949 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
7950 * config/vax/vax-protos.h: Update.
7951 * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.
7953 Wed Oct 23 00:33:11 CEST 2002 Jan Hubicka <jh@suse,cz>
7955 * i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
7956 * i386.h (EXTRA_CONSTRAINT): Recognize 'C'
7957 * i386.md (movti_internal): Use 'C'
7959 * xmmintrin.h (_mm_cmplt_epi*): New.
7961 2002-10-22 Ulrich Weigand <uweigand@de.ibm.com>
7963 * config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
7964 ("*movdf_64"): Likewise.
7965 ("*lshrdi3_64"): Likewise.
7966 ("blockage"): Add length attribute.
7969 Tue Oct 22 23:51:34 CEST 2002 Jan Hubicka <jh@suse.cz>
7971 * i386.md: FIx typo.
7972 (sse2_cvtsi2sd, sse2_pslrdq): Fix template.
7973 (sse2_umulv2siv2di3): Fix predicate.
7974 (sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
7975 lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
7976 * xmmintrin.h (_mm_mul_epu16): Rename to...
7977 (_mm_mul_epu32): This one.
7978 (_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.
7980 (contains_128bit_aligned_vector_p): Undo accidental checkin.
7982 2002-10-22 Eric Christopher <echristo@redhat.com>
7984 * config/sparc/sparc.h: Add #error.
7986 2002-10-22 Ulrich Weigand <uweigand@de.ibm.com>
7988 * config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
7989 [s390x-*-linux*]: Likewise.
7990 * config/s390/t-linux: Remove.
7991 * config/s390/s390.h: Include fixdfdi.h when building libgcc2.
7993 Tue Oct 22 19:07:03 CEST 2002 Jan Hubicka <jh@suse.cz>
7995 * i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
7996 (ix86_expand_builtin): Fix MASKMOVDQU expasion.
7997 * i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
7998 * i386.md (mmx_punpck?dq): Simplify.
7999 (sse2_pubpcklqdq): Fix.
8000 (sse2_pubpckhqdq): New.
8001 * xmmintrin.h (_mm_unpackhi_epi32): New.
8003 * xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
8004 (_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.
8006 2002-10-22 Nathan Sidwell <nathan@codesourcery.com>
8009 * fold_const.c (fold_binary_op_with_conditional_arg): Always
8010 build compound_expr if we used save_expr.
8012 2002-10-22 Alan Modra <amodra@bigpond.net.au>
8014 * output.h (SECTION_NOTYPE): Define.
8015 * varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
8016 init array sections.
8017 (default_elf_asm_named_section): Mind SECTION_NOTYPE.
8018 * config/arm/arm.c (arm_elf_asm_named_section): Likewise. Also
8021 2002-10-21 Richard Henderson <rth@redhat.com>
8023 * config/i386/i386.c (ix86_function_ok_for_sibcall): Look at
8024 the function type, not the return type.
8026 2002-10-21 Richard Henderson <rth@redhat.com>
8028 * real.c (sticky_rshift_significand): Return inexact, don't
8029 or it in immediately.
8030 (sub_significands): Accept incomming carry.
8031 (div_significands, rtd_divmod): Update for sub_significands change.
8032 (round_for_format): Update for sticky_rshift_significand change.
8033 (do_add): Don't involve the inexact bit in addition, do give the
8034 inexact bit as the subtraction carry-in.
8035 (encode_internal, decode_internal, real_internal_format): New.
8036 * real.h (real_internal_format): Declare.
8038 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
8040 * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
8041 don't define sdiv_qrnnd.
8043 2002-10-21 Kazu Hirata <kazu@cs.umass.edu>
8045 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
8047 (TINY_CONSTANT_ADDRESS_P): Likewise.
8049 Tue Oct 22 00:04:20 CEST 2002 Jan Hubicka <jh@suse.cz>
8051 * i386.c (builtin_description): Add punpcklqdq and movdq2q
8052 (ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
8053 v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
8054 void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
8055 __builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
8056 __builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
8057 __builtin_ia32_setzero128.
8058 (ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
8059 IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
8060 IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
8061 * i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
8062 IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
8063 IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
8064 IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
8065 * i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
8066 sse2_movq): New patterns.
8067 (sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
8068 * xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
8069 _mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
8070 _mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
8071 _mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
8072 _mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
8073 _mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
8074 (_mm_insert_epi16): Fix.
8076 2002-10-21 Dale Johannesen <dalej@apple.com>
8078 * config/rs6000/rs6000.c (rs6000_reverse_condition): Handle
8079 unsafe math reversals correctly for RTL generation.
8080 (output_cbranch): Replace rs6000_reverse_condition call
8081 by its former definition.
8083 2002-10-21 Jakub Jelinek <jakub@redhat.com>
8085 * config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
8086 argument. In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
8087 from constant pool or LABEL_REFs as sign extended if allow_rip.
8088 Change all +-1GB limits to +-16MB.
8089 (x86_64_general_operand, x86_64_szext_general_operand,
8090 x86_64_nonmemory_operand, x86_64_movabs_operand,
8091 x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
8092 legitimate_address_p, ix86_expand_int_movcc): Update callers.
8093 (local_symbolic_operand): Don't allow offsets bigger than +-16MB
8094 in CM_SMALL_PIC model.
8095 (legitimate_pic_address_disp_p): Don't check offsets before
8096 calling local_symbolic_operand.
8097 (legitimize_pic_address): Force offsets bigger than +-16MB into
8099 * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
8100 * config/i386/i386-protos.h (x86_64_sign_extended_value): Update
8103 * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
8104 Add x86-64 test. Set tls_first_minor to 14 on IA-32 and x86-64.
8105 * configure: Rebuilt.
8106 * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
8107 SYMBOL_REFs unless enclosed in UNSPEC. Handle UNSPEC_DTPOFF,
8108 UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
8109 (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
8111 (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
8112 non-pic code if TARGET_64BIT.
8113 (legitimize_address): Generate 64-bit TLS sequences.
8114 (output_pic_addr_const): Support x86-64 TLS operators.
8115 (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
8116 (print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
8117 Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
8118 (output_addr_const_extra): Support x86-64 TLS operators.
8119 (maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
8120 (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
8122 * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
8123 (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
8124 (*tls_global_dynamic_sun): Renamed to...
8125 (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
8126 (tls_global_dynamic): Renamed to...
8127 (tls_global_dynamic_32): ... this.
8128 (tls_global_dynamic_64, *tls_global_dynamic_64): New.
8129 (*tls_local_dynamic_base_dynamic_gnu): Renamed to...
8130 (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
8131 (*tls_local_dynamic_base_dynamic_sun): Renamed to...
8132 (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
8133 (tls_local_dynamic_base_dynamic): Renamed to...
8134 (tls_local_dynamic_base_dynamic_32): ... this.
8135 (tls_local_dynamic_base_dynamic_64,
8136 *tls_local_dynamic_base_dynamic_64): New.
8137 (*tls_local_dynamic_once): Renamed to...
8138 (*tls_local_dynamic_32_once): ... this.
8140 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
8142 * libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
8143 __divdi3, __umoddi3, or __moddi3.
8145 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
8147 * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
8148 instead of just opt_index as switch expression.
8150 * calls.c (store_one_arg): Change type of 'excess_align'
8153 * profile.c (output_gcov_string): Change type of 'temp'
8156 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
8158 * config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
8159 (__fixunssfdi, __fixsfdi): Likewise.
8160 * config/s390/s390.c (s390_single_hi): Initialize 'value'.
8161 (s390_single_qi): Likewise.
8162 (s390_emit_epilogue): Initialize 'offset'. Remove signed vs.
8163 unsigned comparison warning.
8164 (s390_return_addr_rtx): New function.
8165 * config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
8166 * config/s390/s390.h (RETURN_ADDR_RTX): Use it.
8167 (HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.
8169 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
8171 * config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
8172 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
8173 (s390_output_mi_thunk): Remove.
8174 (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
8176 2002-10-21 Kazu Hirata <kazu@cs.umass.edu>
8178 * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
8180 2002-10-20 Zack Weinberg <zack@codesourcery.com>
8182 * config/i386/i386.c (ix86_function_ok_for_sibcall): Fix an
8183 inverted test in the conditional determining the possibility
8184 of sibcalls in PIC mode.
8186 2002-10-20 Richard Henderson <rth@redhat.com>
8188 * target.h (struct gcc_target): Line wrap.
8190 * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
8191 (TARGET_ASM_OUTPUT_MI_THUNK): Define here...
8192 * config/alpha/alpha.h: ... not here.
8193 * config/alpha/alpha-protos.h: Update.
8195 * config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
8196 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
8197 config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
8198 config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
8199 config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
8200 config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
8201 config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
8202 config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
8203 config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
8204 config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
8205 config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
8206 config/sparc/openbsd.h, config/sparc/sparc-protos.h,
8207 config/sparc/sparc.c, config/sparc/sparc.h,
8208 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
8209 config/stormy16/stormy16.h: Similarly.
8211 * config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
8212 selection logic from call patterns.
8214 2002-10-20 Mark Mitchell <mark@codesourcery.com>
8216 * config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
8218 2002-10-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
8221 * i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
8222 expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
8223 * i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
8224 * xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.
8226 2002-10-20 Roger Sayle <roger@eyesopen.com>
8229 * toplev.c (flag_unsafe_profile_arcs): Remove.
8230 (flag_bounded_pointers): Remove.
8231 (flag_bounds_check): Correct comments.
8232 (lang_independent_options): Remove -funsafe-profile-arcs and
8233 -fbounded-pointers. Correct -fbounds-check comments.
8235 * flags.h: Correct flag_schedule_interblock comments.
8236 (flag_bounded_pointers): Remove prototype.
8237 (flag_bounds_check): Correct comments.
8239 * c-opts.c (c_common_init_options): No need to mark
8240 flag_bounds_check as unspecified.
8241 (c_common_post_options): And no need to set it from
8242 flag_bounded_pointers if its still unspecified.
8244 * doc/invoke.texi: Fix some overfull hboxes in "make dvi".
8245 Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock,
8246 -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous,
8247 -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
8249 Sat Oct 19 22:02:28 2002 Alexandre Oliva <aoliva@redhat.com>
8250 Angela Marie Thomas <angela@releasedominatrix.com>
8251 Brendan Kehoe <brendan@zen.org>
8252 Nick Clifton <nickc@redhat.com>
8253 Andrew Haley <aph@redhat.com>
8255 * configure.in (--with-sysroot): New. Don't inhibit libc if
8256 given. AC_SUBST TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE
8257 and CROSS_SYSTEM_HEADER_DIR.
8258 * configure: Rebuilt.
8259 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): Set in configure.
8260 (TARGET_SYSTEM_ROOT): New.
8261 (DRIVER_DEFINES): Define CROSS_INCLUDE_DIR from
8262 CROSS_SYSTEM_HEADER_DIR.
8263 (install-gcc-tooldir): New target.
8264 (stmp-fixinc): Do not create $(libsubdir), but rather bail out
8265 if SYSTEM_HEADER_DIR does not exist and it's not the default
8266 sys-include directory.
8267 (deduced.h, stmp-fixproto): Quote SYSTEM_HEADER_DIR properly.
8268 (install-mkheaders): Likewise.
8269 * gcc.c (target_system_root): New variable.
8270 (add_sysrooted_prefix): New function.
8271 (process_command): Recompute run-time target_system_root from
8272 gcc_exec_prefix, keeping it unchanged if the relocated sysroot
8274 (do_spec_1): Process 'R' spec.
8275 (main): Add md_exec_prefix to exec_prefixes regardless of
8276 startfile_prefix_spec. Use add_sysrooted_prefix for
8277 startfile_prefixes, and don't skip the default ones when cross
8278 compiling with sysroot enabled. Removed unused case of
8279 non-absolute standard_startfile_prefix.
8280 * config/interix.h: Remove the only potential, yet disabled,
8281 occurrence of non-absolute (empty) standard_startfile_prefix.
8282 * config/sh/linux.h (LIB_SPEC): Add -rpath-link in non-static
8284 * config/mips/linux.h (LIB_SPEC): Define as in sh/linux.h.
8285 * doc/install.texi (--with-sysroot): Document.
8286 (--with-headers, --with-libs): Deprecate.
8288 2002-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8289 Mark Mitchell <mark@codesourcery.com>
8291 * alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to
8293 * arm-protos.h, arm.c (arm_output_mi_thunk): Likewise.
8294 * cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise.
8295 * frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise.
8296 * i386-protos.h, i386.c (x86_output_mi_vcall_thunk,
8297 x86_output_mi_thunk): Likewise.
8298 * i960-protos.h, i960.c (i960_output_mi_thunk): Likewise.
8299 * ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise.
8300 * m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise.
8301 * mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise.
8302 * rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise.
8303 * s390-protos.h, s390.c (s390_output_mi_thunk): Likewise.
8304 * stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk):
8306 * vax-protos.h, vax.c (vax_output_mi_thunk): Likewise.
8308 * target.h (gcc_target): Update output_mi_thunk and
8309 output_mi_vcall_thunk to take a HOST_WIDE_INT delta and
8312 * config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with
8313 TARGET_ASM_OUTPUT_MI_THUNK in comments.
8314 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it.
8315 (TARGET_ASM_OUTPUT_MI_THUNK): #undef it.
8316 * config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition.
8317 * config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update
8319 * config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise.
8320 * config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
8321 TARGET_ASM_OUTPUT_MI_THUNK in comments.
8322 * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define.
8323 (TARGET_ASM_OUTPUT_MI_THUNK): Do define.
8324 * config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
8325 TARGET_ASM_OUTPUT_MI_THUNK in comments.
8326 * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef
8327 ASM_OUTPUT_MI_THUNK and replace with check of targetm.
8329 * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature.
8330 (TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise.
8332 2002-10-19 Brad Lucier <lucier@math.purdue.edu>
8334 * real.c (do_add): Fix 0+0 sign corner case.
8335 (do_divide): Fix Inf/0 corner case.
8337 Sun Oct 20 00:31:31 CEST 2002 Jan Hubicka <jh@suse.cz>
8339 * i386.c (classify_argument): Pass MMX arguments in memory
8340 (ix86_expand_builtin): Expand proper address mode for cflush.
8341 * i386.md (movdqa): Fix typo.
8342 (sse2_cflush): Accept DImode addresses.
8344 * xmmintrin.h (_mm_sqrt_sd): Accept two arguments.
8345 (_mm_max_sd): Fix pasto.
8346 (_mm_storeh_pd, _mm_storel_pd): Fix.
8348 * i386.c (bdesc_comi): Fix to match specification.
8349 (ix86_expand_sse_comi): Emit the comparison properly.
8350 * i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi):
8351 Do not use comparison operator.
8352 (vnmaskcmp): Fix template.
8354 * xmmintrin.h (_mm_cvtps_pi16): Fix.
8356 2002-10-19 Sebastian Pop <s.pop@laposte.net>
8358 * dependence.c : Removed.
8359 * Makefile.in : Remove dependence.o.
8361 Sat Oct 19 10:46:52 CEST 2002 Jan Hubicka <jh@suse.cz>
8363 * mmintrin.h (__m64): typedef it to v2si.
8364 (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
8365 _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
8366 _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
8367 _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
8368 _mm_or_si64, _mm_xor_si64): Add neccesary casts.
8369 * xmmintrin.h (_mm_setzero_si64): Likewise.
8371 * i386.h (ALIGN_MODE_128): Update comment; add missing modes
8372 (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
8375 Patch by Shawn Wagner
8376 * mmintrin.h: Replace pi64 by si64.
8378 2002-10-18 David Edelsohn <edelsohn@gnu.org>
8380 * rs6000.md (movdf_hardfloat32): Order alternatives consistently.
8381 Use length of 4 not *.
8382 (movdf_hardfloat64): Same. Support DFmode moves to/from CTR/LR.
8383 (movdf_softfloat64): Likewise.
8384 (movdi_internal32): Use length of 4 not *.
8385 (movti_power): Same.
8386 (ctrsi, ctrdi): Same.
8388 2002-10-18 Zack Weinberg <zack@codesourcery.com>
8390 * c-decl.c (start_decl): Point users of the old initialized-
8391 typedef extension at __typeof__.
8393 2002-10-18 Richard Henderson <rth@redhat.com>
8395 * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
8396 (real_to_decimal): Re-implement using the logic from the
8397 gcc 3.2 etoasc. Comment heavily.
8398 (div_significands): Simplify loop startup and comparison logic.
8400 2002-10-18 Mark Mitchell <mark@codesourcery.com>
8402 * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
8403 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
8404 (TARGET_ASM_OUT): Add them.
8405 * target.h (asm_out): Add output_mi_thunk and
8406 output_mi_vcall_thunk.
8407 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8408 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8409 * config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
8410 * config/arm/arm.c (arm_output_mi_thunk): Define.
8411 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8412 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8413 * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8414 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8415 * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8416 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8417 * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
8419 (x86_output_mi_vcall_thunk): Declare.
8420 * config/i386/i386.c (override_options): Clear
8421 output_mi_vcall_thunk in 64-bit mode.
8422 (ix86_fntype_regparm): New function.
8423 (ix86_return_pops_args): Use it.
8424 (ia32_this_parameter): New function.
8425 (x86_output_mi_vcall_thunk): New function.
8426 (x86_output_mi_thunk): Use it
8427 * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
8428 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
8429 * config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
8430 * config/i960/i960.c (i960_output_mi_thunk): New function.
8431 * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
8432 * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
8433 * config/ia64/ia64.c (ia64_output_mi_thunk): Define.
8434 * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8435 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8436 * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
8437 * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8438 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8439 * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8440 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8441 * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8442 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8443 * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8444 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8445 * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8446 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8447 * config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
8448 * config/s390/s390.c (s390_output_mi_thunk): Define.
8449 * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8450 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8451 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8452 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8453 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8454 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8455 * config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
8456 * config/vax/vax.c (vax_output_mi_thunk): Define.
8457 * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8458 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8459 * doc/tm.texi: Adjust documentation.
8461 2002-10-18 Jason Thorpe <thorpej@wasabisystems.com>
8463 * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
8464 __enable_execute_stack function.
8465 * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
8466 as NETBSD_ENABLE_EXECUTE_STACK.
8467 * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
8468 * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
8469 * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
8470 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
8471 * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
8473 2002-10-18 Jason Thorpe <thorpej@wasabisystems.com>
8475 * config/i386/i386.c (x86_initialize_trampoline): Emit a call
8476 to __enable_execute_stack with the address of the trampoline
8477 if TRANSFER_FROM_TRAMPOLINE is defined.
8478 * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
8479 constant if building libgcc2.
8481 Thu Oct 17 17:40:05 CEST 2002 Jan Hubicka <jh@suse.cz>
8483 * i386.c (pentium4_cost): Fix according to Intel recommendations.
8484 (ix86_memory_move_cost): Fix for 64bit compilation.
8486 2002-10-17 Roger Sayle <roger@eyesopen.com>
8488 * doc/c-tree.texi: Update description of COND_EXPR tree nodes.
8490 2002-10-17 Geoffrey Keating <geoffk@apple.com>
8492 * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
8494 * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves
8496 (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ.
8497 (movsf_softfloat): Likewise.
8499 2002-10-17 Janis Johnson <janis187@us.ibm.com>
8501 * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
8503 2002-10-17 Jason Thorpe <thorpej@wasabisystems.com>
8505 * config/alpha/alpha.c (alpha_initialize_trampoline): Use
8506 tramp, not addr, to pass the trampoline address to
8507 __enable_execute_stack.
8509 Thu Oct 17 18:40:47 CEST 2002 Jan Hubicka <jh@suse.cz>
8511 * mmintrin.h: Guard by __MMX__
8512 * xmmintrin.h: Guard by __SSE__
8515 * xmmintrin.h (_MM_SHUFFLE2): New macro.
8516 (_mm_load*_?d): New functions.
8517 (_mm_set*_?d): New functions.
8518 (_mm_store*_?d): New functions.
8520 Wed Oct 16 15:01:29 CEST 2002 Jan Hubicka <jh@suse.cz>
8522 Really commit patch announced at Oct 14
8524 * predict.c (can_predict_insn_p): New function.
8525 (estimate_probability): Avoid unnecesary work.
8526 (process_note_prediction): Likewise.
8527 * toplev.c (rest_of_compilation): Account early branch prediction pass
8531 Found by Ian Ollmann
8532 * xmmintrin.h (_mm_shuffle_pd): Fix typo.
8533 (_mm_load?_pd): Likewise.
8534 (_mm_store?_pd): Likewise.
8537 * i386.c (builtin_description):Drop cmpg[te]s[sd].
8538 * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
8539 swapped alternative.
8542 * reload1.c (reload_inner_reg_of_subreg): New argument output;
8543 (push_reload): Update call.
8545 2002-10-17 Richard Sandiford <rsandifo@redhat.com>
8547 * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
8548 if using mips/elf.h or mips/elf64.h.
8549 * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
8550 * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
8552 2002-10-16 Aldy Hernandez <aldyh@redhat.com>
8554 * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
8557 2002-10-16 Ulrich Weigand <uweigand@de.ibm.com>
8559 * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
8560 (LPREFIX): Likewise.
8561 (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
8562 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
8563 ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
8564 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
8565 GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.
8567 * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
8568 ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
8569 ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8570 BSS_SECTION_ASM_OP): Move from linux.h.
8571 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
8572 Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
8574 * config/s390/s390.c (s390_function_profiler): Use
8575 ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
8577 2002-10-15 Eric Christopher <echristo@redhat.com>
8579 * stor-layout.c (layout_type): Call GET_MODE_BITSIZE once.
8580 * java/parse.y (obtain_incomplete_type): Make pointer
8583 2002-10-15 Richard Henderson <rth@redhat.com>
8585 * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
8586 as arguments. Bound DIGITS by the available buffer size.
8587 (real_to_hexadecimal): Likewise.
8588 * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
8589 (REAL_VALUE_TO_DECIMAL): Remove.
8590 * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
8591 sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
8592 config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
8593 config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
8594 config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
8595 config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
8596 config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
8597 use real_to_decimal directly, and with the proper arguments.
8598 * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
8600 2002-10-15 Jim Wilson <wilson@redhat.com>
8602 * reload1.c (merge_assigned_reloads): After converting overlapping
8603 reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
8605 * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
8607 Tue Oct 15 22:08:35 CEST 2002 Jan Hubicka <jh@suse.cz>
8609 * expr.c (do_tablejump): Fix typo in my previous commit.
8611 2002-10-15 Richard Sandiford <rsandifo@redhat.com>
8613 * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
8615 2002-10-15 Ulrich Weigand <uweigand@de.ibm.com>
8617 * config/s390/s390.c (s390_split_branches): Add return
8618 value. Add parameters TEMP_REG and TEMP_USED. Use unspec 104.
8620 (find_base_register_in_addr): New function.
8621 (find_base_register_ref): New function.
8622 (replace_base_register_ref): New function.
8624 (struct constant_pool): Add members pool_insn, insns, and anchor.
8625 Remove member last_insn.
8626 (s390_start_pool): Initialize them.
8627 (s390_end_pool): Emit pool placeholder insn.
8628 (s390_add_pool_insn): New function.
8629 (s390_find_pool): Use insns bitmap instead of addresses.
8630 (s390_dump_pool): Replace placeholder insn. Emit anchor.
8631 Replace unspec 104 by local-pool-relative references.
8632 (s390_output_constant_pool): Output anchor label if required.
8633 (s390_output_symbolic_const): Handle unspec 104 and 105.
8634 (s390_add_pool): Remove, replace by ...
8635 (s390_add_constant, s390_find_constant): ... these new functions.
8636 (s390_add_anchor): New function.
8638 (s390_chunkify_pool): Delete, replace by ...
8639 (s390_chunkify_start, s390_chunkify_finish,
8640 s390_chunkify_cancel): ... these new functions.
8641 (s390_optimize_prolog): Add parameter TEMP_REGNO.
8642 Recompute register live data for special registers.
8643 (s390_fixup_clobbered_return_reg): New function.
8644 (s390_machine_dependent_reorg): Rewrite to use new
8645 s390_chunkify_... routines.
8647 config/s390/s390.md ("reload_base"): Rename to ...
8648 ("reload_base_31"): ... this.
8649 ("reload_base_64"): New insn.
8650 ("reload_base2"): Remove.
8651 ("reload_anchor"): New insn.
8654 s390.c (s390_pool_overflow): Remove.
8655 s390.h (s390_pool_overflow): Likewise.
8656 s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
8658 Tue Oct 15 16:51:04 2002 J"orn Rennecke <joern.rennecke@superh.com>
8660 * sh.md (movv8qi_i+2): Don't split if source is -1.
8662 2002-10-15 Janis Johnson <janis187@us.ibm.com>
8664 * doc/install.texi: Formatting changes for conformance to HTML 4.01.
8666 2002-10-15 Ulrich Weigand <uweigand@de.ibm.com>
8669 * loop.c (loop_regs_scan): Mark registers used for function
8670 argument passing as MAY_NOT_OPTIMIZE.
8672 Mon Oct 14 19:22:19 CEST 2002 Jan Hubicka <jh@suse.cz>
8674 * gcov-io.h (gcov_info): Fix type.
8675 * profile.c (create_profiler): Fix type mismatch.
8677 Mon Oct 14 20:33:12 CEST 2002 Jan Hubicka <jh@suse.cz>
8679 * i386.md (movv2di_internal): New pattern.
8680 (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
8681 (movv2di): New expander.
8682 * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
8684 * i386.c (ix86_expand_timode_binop_builtin): Delete.
8685 (builtin_description): Add SSE1 logicals; rename SSE2 logicals.
8686 (ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
8687 (ix86_expand_builtin): Likewise.
8688 * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
8690 sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
8692 sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
8694 sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
8696 (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
8697 sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
8698 (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
8699 *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
8700 (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
8701 *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
8703 * xmmintrin.h (__m128i): Define as __v2di.
8706 (expand_expr): Use DECL_RTL_SET_P.
8708 2002-10-14 Roger Sayle <roger@eyesopen.com>
8710 * combine.c (simplify_set): Treat MODE_CC registers like cc0.
8712 2002-10-14 Roger Sayle <roger@eyesopen.com>
8713 Zack Weinberg <zack@codesourcery.com>
8715 * config/i386/i386.c (k6_cost): Correct typo.
8717 2002-10-14 Mark Mitchell <mark@codesourcery.com>
8719 PR optimization/6631
8720 * alias.c (objects_must_conflict_p): Check honor_readonly when
8721 examining TYPE_READONLY.
8722 * function.c (assign_stack_temp_for_type): Likewise.
8724 2002-10-14 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
8726 * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
8727 Swap zero extension arguments.
8728 (umaxhi3): Fix instruction class.
8730 (prefetch): Fix prefetch instructions.
8732 (pkwb): Fix output constraint.
8734 2002-10-14 Alexandre Oliva <aoliva@redhat.com>
8736 * config/mips/mips.c (print_operand): Increase buffer size for
8739 2002-10-14 Richard Henderson <rth@redhat.com>
8742 * gcse.c (adjust_libcall_notes): Revert last change.
8743 * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
8745 2002-10-14 Andrew Haley <aph@redhat.com>
8747 * tree-inline.c (remap_block): All local class initialization
8748 flags go in the outermost scope.
8749 (expand_call_inline): Call java_inlining_map_static_initializers.
8750 (expand_call_inline): Call java_inlining_merge_static_initializers.
8751 * java/lang.c (merge_init_test_initialization): New.
8752 (java_inlining_merge_static_initializers): New.
8753 (inline_init_test_initialization): New.
8754 (java_inlining_map_static_initializers): New.
8756 * tree-inline.c (expand_call_inline): Convert retvar to expected
8759 2002-10-14 Graham Stott <graham.stott@btinternet.com>
8761 * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
8763 2002-10-14 Aldy Hernandez <aldyh@redhat.com>
8765 * stmt.c: Fix typo in comment.
8767 Mon Oct 14 11:35:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
8769 * c-common.c (c_common_type_for_mode): Add V2HImode case.
8770 * tree.c (build_common_tree_nodes_2): Initialize
8771 unsigned_V2HI_type_node and V2HI_type_node.
8772 * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
8773 (unsigned_V2HI_type_node, V2HI_type_node): Define.
8775 2002-10-14 Jakub Jelinek <jakub@redhat.com>
8777 * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
8778 Handle TARGET_64BIT.
8780 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
8782 * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
8783 * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
8784 (MULTILIB_DIRNAMES): Remove long32.
8785 (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
8786 (MULTILIB_REDUNDANT_DIRS): Remove.
8788 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
8790 * doc/tm.texi (DRIVER_SELF_SPECS): Document.
8791 * gcc.c (driver_self_specs): New variable.
8792 (do_self_spec): New function.
8793 (main): Use it to process driver_self_specs.
8795 2002-10-13 Richard Henderson <rth@redhat.com>
8797 * config/i386/i386.c (ix86_function_ok_for_sibcall): Reject
8798 indirect sibcalls when regparm >= 3.
8800 * config/i386/i386.c (sibcall_insn_operand): New.
8801 * config/i386/i386.h (PREDICATE_CODES): Update.
8802 * config/i386/i386-protos.h: Update.
8803 * config/i386/i386.md (sibcall_1, sibcall_value_1): Use it.
8805 * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
8807 2002-10-12 Roger Sayle <roger@eyesopen.com>
8809 * simplify-rtx.c (simplify_binary_operation) [ASHIFTRT]: Optimize
8810 arithmetic right shifts of ~0 during RTL simplifications.
8812 2002-10-12 Neil Booth <neil@daikokuya.co.uk>
8814 PR preprocessor/7862
8815 PR preprocessor/8190
8816 * gcc.c (cpp_unique_options): Don't delete .d files.
8817 Remove stray whitespace.
8819 2002-10-12 Naohiko Shimizu <pshimizu@fa2.so-net.ne.jp>
8821 * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
8822 (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
8823 * pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
8824 (pdp11_output_function_epilogue, output_ascii): Likewise.
8825 (output_addr_const_pdp11): Likewise.
8826 * pdp11.md (movdi): Use offsetable memory for floating store.
8827 (lshrsi3, negsi2): Delete irrelevant comment.
8829 2002-10-11 Andreas Bauer <baueran@in.tum.de>
8831 * config/i386/i386.c (ix86_function_ok_for_sibcall): Allow
8832 indirect calls to be sibcall optimized.
8833 * config/i386/i386.md (sibcall_1): New.
8834 (call_1): Add no-sibcalls condition.
8835 (sibcall_value_1): New.
8836 (call_value_1): Add no-sibcalls condition.
8838 2002-10-11 Eric Christopher <echristo@redhat.com>
8840 * output.h (default_valid_pointer_mode): Declare.
8841 * varasm.c (default_valid_pointer_mode): Define.
8842 * target-def.h (TARGET_VALID_POINTER_MODE): Use.
8844 * tree.c (build_pointer_type_for_mode): New function.
8845 (build_pointer_type): Use.
8846 (build_reference_type_for_mode): New function.
8847 (build_reference_type): Use.
8848 * tree.h: Declare new functions.
8849 * c-common.c (handle_mode_attribute): Use new functions, check
8851 * stor-layout.c (layout_type): Depend on machine mode for
8852 REFERENCE_TYPE and POINTER_TYPE.
8853 * dwarf2out.c (simple_type_size_in_bits): Move upward in file.
8854 (modified_type_die): Use instead of PTR_SIZE for POINTER_TYPE
8856 * config/mips/mips.c (mips_valid_pointer_mode): New function.
8857 (TARGET_VALID_POINTER_MODE): Use and define.
8858 * config/mips/mips-protos.h (mips_valid_pointer_mode): Declare.
8860 2002-10-11 Geoffrey Keating <geoffk@apple.com>
8862 * cse.c (mention_regs): Set SUBREG_TICKED to the register number,
8863 not the address of the REG.
8864 (struct cse_reg_info): Make subreg_ticked unsigned.
8866 2002-10-11 Janis Johnson <janis187@us.ibm.com>
8868 * doc/compat.texi: Add info about C++ libraries.
8870 2002-10-11 Richard Henderson <rth@redhat.com>
8873 * gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
8875 2002-10-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
8877 * cfganal.c (dfs_enumerate_from): Use PARAMS.
8878 * genautomata.c (output_insn_code_cases): Likewise.
8879 * real.c (real_format): Likewise.
8880 * tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
8881 ensure value is promoted before doing subtraction.
8883 Fri Oct 11 22:22:38 CEST 2002 Jan Hubicka <jh@suse.cz>
8885 * calls.c (expand_call): Simplify noreturn call.
8888 * cfgbuild.c (make_edges): Create edge cache when we do have
8890 * expr.c (do_tablejump): Note size of maximal jumptable.
8891 * function.c (prepare_function_start): Zero out size.
8892 * function.h (function): Add max_jumptable_ents.
8894 * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
8896 Fri Oct 11 12:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
8898 * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
8899 register for mperm_w operation.
8901 Fri Oct 11 10:56:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
8903 * emit-rtl.c (gen_lowpart_common): When asked to make a vector from
8904 an integer, use simplify_gen_subreg.
8906 2002-10-10 Diego Novillo <dnovillo@redhat.com>
8908 * calls.c (flags_from_decl_or_type): Make extern.
8910 * rtl.h (ECF_*): ... here.
8911 (flags_from_decl_or_type): Declare.
8913 2002-10-10 Roger Sayle <roger@eyesopen.com>
8914 Nathan Sidwell <nathan@codesourcery.com>
8916 * fold-const.c (fold) [RSHIFT_EXPR]: Optimize arithmetic right
8917 shifts of the form -1 >> x.
8919 Thu Oct 10 16:52:55 CEST 2002 Jan Hubicka <jh@suse.cz>
8921 * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
8923 2002-10-10 Aldy Hernandez <aldyh@redhat.com>
8925 * extend.texi (Vector Extensions): Remove comment about single
8928 2002-10-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8930 * fold-const.c (size_htab_hash): Use htab_hash_pointer.
8931 * function.c (insns_for_mem_hash): Likewise.
8932 * varasm.c (STRHASH): Likewise.
8934 2002-10-10 Stuart Hastings <stuart@apple.com>
8936 * cse.c (struct cse_reg_info): Add subreg_ticked.
8937 (SUBREG_TICKED): New.
8938 (get_cse_reg_info): Initialize SUBREG_TICKED.
8939 (mention_regs): Use it.
8940 (invalidate): Set SUBREG_TICKED.
8941 (invalidate_for_call): Likewise.
8942 (addr_affects_sp_p): Likewise.
8944 2002-10-10 Jakub Jelinek <jakub@redhat.com>
8946 * config/i386/i386.md (tls_local_dynamic_base): Put pic reg
8947 into proper operand.
8949 2002-10-10 Denis Chertykov <denisc@overta.ru>
8951 * config/ip2k/ip2k.c (function_epilogue): Optimize stack
8953 * config/ip2k/libgcc.S: Combine routines used by function
8956 2002-10-10 Jim Wilson <wilson@redhat.com>
8958 * cse.c (fold_rtx): Don't perform associative optimization for DIV and
8961 2002-10-10 David Edelsohn <edelsohn@gnu.org>
8963 * config/rs6000/aix52.h: New file.
8964 * config/rs6000/t-aix52: New File.
8965 * config.gcc (rs6000-ibm-aix5.1.*): New entry.
8966 (rs6000-ibm-aix[56789].*): Default to AIX 5.2.
8968 Thu Oct 10 19:37:54 CEST 2002 Jan Hubicka <jh@suse.cz>
8971 * invoke.texi (-msse-math): Kill
8972 (-msse): Add note to mfpmath=sse.
8974 Thu Oct 10 17:08:30 CEST 2002 Jan Hubicka <jh@suse.cz>
8977 * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
8979 2002-10-10 Neil Booth <neil@daikokuya.co.uk>
8981 PR preprocessor/8179
8982 * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location
8984 (default_compilers): Pass debug options when preprocessing
8987 2002-10-06 Richard Henderson <rth@redhat.com>
8989 * toplev.c (rest_of_compilation): Revert opt/2960 change.
8991 Wed Oct 9 21:18:43 CEST 2002 Jan Hubicka <jh@suse.cz>
8993 * i386.c (*_cost): Add branch costs.
8994 (override_options): set ix86_branch_cost.
8995 (ix86_expand_int_movcc): Use BRANCH_COST.
8996 * i386.h (costs): Add branch_cost.
8998 2002-10-09 Zack Weinberg <zack@codesourcery.com>
9001 * c-decl.c (start_decl): Unconditionally issue error for
9002 'typedef foo = bar'.
9003 (finish_decl): Remove special case for TYPE_DECL with initializer.
9005 * doc/extend.texi: Delete "Naming Types" section. Change all
9006 cross-references to that section to refer to "Typeof" instead.
9007 Add the useful safe-max()-macro example from "Naming Types" to
9008 "Typeof", rewritten using that extension. Add some compatibility
9011 2002-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9013 * loop.c: Revert 2002-08-15 change.
9014 (LOOP_REGNO_NREGS): Ensure type is int.
9016 2002-10-09 David Edelsohn <edelsohn@gnu.org>
9018 * config/rs6000/rs6000.md (extenddftf2): Change to define_insn
9019 which copies first FPR and clears second.
9020 (extendsftf2): Same.
9021 (floatditf2): Fix typo.
9023 (fix_trunctfdi2): Same.
9024 (fix_trunctfsi2): Same.
9026 2002-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9028 * conflict.c (arc_hash): Change return type to hashval_t.
9029 * cselib.c (get_value_hash): Likewise.
9030 * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash,
9031 state_hash, automata_list_hash): Likewise.
9032 * read-rtl.c (def_hash): Likewise.
9033 * tree.c (type_hash_hash): Likewise.
9035 2002-10-08 Aldy Hernandez <aldyh@redhat.com>
9037 * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call
9038 prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes.
9040 Wed Oct 9 15:54:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
9042 * sh.md (ffssi2): Fix emitted code.
9044 2002-10-09 Ulrich Weigand <uweigand@de.ibm.com>
9046 * cse.c (insn_live_p): Pass insn pattern, not full insn
9049 2002-10-09 Neil Booth <neil@daikokuya.co.uk>
9051 * cppmacro.c (paste_tokens): Only allow / to paste with =.
9053 2002-10-09 David Edelsohn <edelsohn@gnu.org>
9055 * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
9057 (movtf_internal): Reference correct displacement for second value
9059 (movtf splitter): Correct generation of constants in 64-bit mode.
9061 2002-10-09 Alan Modra <amodra@bigpond.net.au>
9063 * libgcc2.c (__floatdisf): Properly cure double rounding.
9065 2002-10-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
9067 * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
9068 * doc/cpp.texi (Common Predefined Macros): Document.
9070 2002-10-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
9073 * doc/invoke.texi (Option Summary): List
9074 -Wmissing-declarations as a C only option.
9076 2002-10-08 Roger Sayle <roger@eyesopen.com>
9078 * fold-const.c (fold) [LROTATE_EXPR, RROTATE_EXPR]: Optimize
9079 left and right rotates of ~0, i.e. integer_all_onesp (arg0).
9080 [LSHIFT_EXPR, RSHIFT_EXPR]: Optimize shifts and rotates of zero.
9082 Tue Oct 8 01:24:19 CEST 2002 Jan Hubicka <jh@suse.cz>
9084 * i386.c (x86_sse_partial_reg_dependency, x86_sse_partial_regs,
9085 x86_sse_typeless_stores, x86_sse_load0_by_pxor): New global
9087 (safe_vector_operand): Update sse_clrv4sf call.
9088 (ix86_expand_buildin): Likewise
9089 * i386.h (x86_sse_partial_reg_dependency, x86_sse_partial_regs,
9090 x86_sse_typeless_stores, x86_sse_load0_by_pxor): Declare.
9091 (TARGET_SSE_PARTIAL_REG_DEPENDENCY, TARGET_SSE_PARTIAL_REGS,
9092 TARGET_SSE_TYPELESS_STORES, TARGET_SSE_TYPELESS_LOAD0): New
9094 * i386.md (movsf*, movdf*, movti, movv4sf, movv2df, movv16qi, movv8hi,
9095 movv4si): Obey the new flags.
9096 (floatsi2sf, floatdi2sf, truncatedf2sf): Emit extra load of 0 to avoid
9097 reformating penalty.
9098 (anddf, cmov patterns): Avoid reformating by first converting.
9099 (sse_cvtsd2ss): Fix predicate.
9100 (sse2_clrti): Fix mode,
9101 (sse_clrv4sf): Avoid unspec.
9103 2002-10-08 Jakub Jelinek <jakub@redhat.com>
9105 * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
9106 mno-app-regs|mcmodel=medany.
9107 (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
9108 (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
9109 (CRTSTUFF_T_CFLAGS): Define.
9111 2002-10-08 Roger Sayle <roger@eyesopen.com>
9114 * simplify-rtx.c (avoid_constant_pool_reference): Allow constant
9115 pool references that are constructed using LO_SUM.
9117 2002-10-08 Nathan Sidwell <nathan@codesourcery.com>
9119 * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
9121 * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
9123 * flags.h (warn_strict_aliasing): Declare.
9124 * toplev.c (warn_strict_aliasing): Define.
9125 (lang_independent_options): Add it.
9126 * doc/invoke.texi (-Wstrict-aliasing): Document it.
9128 2002-10-08 Zack Weinberg <zack@codesourcery.com>
9130 * system.h (GCCBUGURL): Delete.
9131 * version.c (bug_report_url): New. Add commentary about
9132 modifying both these strings in modified distributions.
9133 * version.h: Declare bug_report_url.
9135 * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
9138 2002-10-08 Nick Clifton <nickc@redhat.com>
9140 * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
9141 convert uint64_t into __ev64_opaque__.
9142 (__ev_set_acc_s64): Likewise, but using signed types.
9144 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
9146 * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
9147 ("*doloop_di_long"): Likewise.
9149 Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka <jh@suse.cz>
9151 * print-rtl.c (print_rtx): Increase buffer size for real numbers.
9153 2002-10-08 Richard Sandiford <rsandifo@redhat.com>
9155 * config/mips/mips.md (define_attr cpu): Add r4111.
9157 2002-10-08 Anthony Green <green@redhat.com>
9159 * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
9161 2002-10-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9163 * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
9164 for REAL_VALUE_TO_DECIMAL output.
9166 2002-10-07 Richard Henderson <rth@redhat.com>
9168 * cse.c (fixed_base_plus_p): Turn FIXED_BASE_PLUS_P into a
9169 function; cleanup PLUS case by using recursion. Update all users.
9170 (NONZERO_BASE_PLUS_P): Remove.
9171 (find_comparison_args): Use rtx_addr_can_trap_p instead.
9172 (fold_rtx): Use nonzero_address_p.
9173 * rtl.h (nonzero_address_p): Declare.
9174 * rtlanal.c (rtx_varies_p): Handle ADDRESSOF.
9175 (rtx_addr_can_trap_p): Likewise.
9176 (nonzero_address_p): New.
9177 * simplify-rtx.c (NONZERO_BASE_PLUS_P): Remove.
9178 (simplify_relational_operation): Use nonzero_address_p.
9180 2002-10-07 David Edelsohn <edelsohn@gnu.org>
9182 * config/rs6000/rs6000.c (rs6000_override_options): Set
9183 real_format_for_mode for IBM extended format, if enabled.
9184 (easy_fp_constant): Add TFmode.
9185 (rs6000_legitimize_address): Add TFmode.
9186 (rs6000_legitimate_address): Same.
9187 (function_arg_advance): TFmode uses two FPRs.
9188 (rs6000_emit_prologue): Fix warning.
9189 (rs6000_output_function_epilogue): Add TFmode.
9190 (output_toc): Add TFmode.
9191 * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
9192 (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
9193 * rs6000.md (movtf splitter): Load TFmode constant.
9195 2002-10-07 Dale Johannesen <dalej@apple.com>
9197 * rtl.h: Add NOTE_PRECONDITIONED.
9199 * loop.c: Set loop_info->preconditioned from it.
9200 * doloop.c: Permit doloop treatment when loop_info->preconditoned.
9202 2002-10-07 Richard Henderson <rth@redhat.com>
9204 * config/i960/i960.c (i960_setup_incoming_varargs): Create a
9205 new rtx for comparing the argument pointer against zero.
9206 (i960_va_start): Similarly.
9208 2002-10-07 Richard Henderson <rth@redhat.com>
9210 * config/i960/i960.md (*): Use TFmode, not XFmode.
9211 * config/i960/i960.c (*): Likewise.
9212 (i960_arg_size_and_align): Remove XFmode alignment hack.
9213 (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
9214 * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
9215 (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
9216 (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
9218 2002-10-07 Richard Henderson <rth@redhat.com>
9220 * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
9221 entry points; use void return value and argument list.
9223 2002-10-06 Andreas Bauer <baueran@in.tum.de>
9225 * calls.c (expand_call): Fix function-is-volatile check.
9227 2002-10-05 Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
9229 * t-pdp11: Add MULTILIB support for msoft-float.
9230 * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
9232 * t-pdp11: Add LIB2FUNCS_EXTRA.
9233 * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
9234 add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
9235 'fldd' to 'ldd', rename 'fstd' to 'std'.
9236 (pdp11_output_function_epilogue): Likewise.
9237 (output_move_quad): Make the comment gas compatible.
9238 (output_ascii): Add preceding 0 to the octal constant.
9239 (print_operand_address): Add pre_modify, post_modify.
9240 (output_addr_const_pdp11): Add preceding 0 to the octal constant.
9241 * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
9242 with the indication of Paul Koning.
9243 (PRINT_OPERAND): Fix floating constant.
9244 * pdp11.md (movdi): Restrict matching pattern.
9245 (movqi): Generalize the matching pattern.
9246 (movdf): Restrict matching pattern.
9247 (zero_extendqihi2): Change constant representation.
9248 (floatsidf2): Fix wrong operands.
9249 (addqi3): Fix wrong instruction name.
9250 (subqi3): Fix wrong instruction name.
9251 (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
9252 (xorsi3): Fix wrong insn.
9253 (one_cmplqi2): Add two operand pattern.
9256 (call): Add register indirect case.
9257 (mod): Fix wrong subreg.
9259 2002-10-06 Eric Botcazou <ebotcazou@libertysurf.fr>
9260 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
9263 * expr.c (expand_expr) [PLUS]: Simplify after the operands
9264 have been expanded in EXPAND_NORMAL mode.
9266 2002-10-06 Richard Henderson <rth@redhat.com>
9268 * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
9270 2002-10-06 Richard Henderson <rth@redhat.com>
9272 PR optimization/2960
9273 * toplev.c (rest_of_compilation): Don't copy_loop_headers if
9276 2002-10-06 Alexandre Oliva <aoliva@redhat.com>
9278 * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
9279 previously definitions.
9281 2002-10-06 Frank Ch. Eigler <fche@redhat.com>
9283 * cppinit.c (init_standard_includes, parse_option): Use strncmp.
9284 * c-opts.c (find_opt): Similarly.
9286 Sat Oct 5 22:48:06 CEST 2002 Jan Hubicka <jh@suse.cz>
9288 * athlon.md: rewrite to DFA.
9289 * i386 (ix86_adjust_cost): Drop memory latency code.
9290 (ia32_use_dfa_pipeline_interface): Return true for Athlon.
9292 2002-10-05 Jakub Jelinek <jakub@redhat.com>
9294 * gcc.c (set_multilib_dir): Don't access *end.
9295 Use memcpy instead of strncpy. Don't write beyond malloced buffer.
9296 (print_multilib_info): Don't show paths starting with ".:".
9297 * genmultilib: Add new option, "yes" if multilibs are enabled.
9298 Update comments. If multilibs not enabled, print .:${osdirout}
9299 for each directory. If multilibs are enabled, always print
9300 ${dirout}:${osdirout}, even if the two are the same.
9301 * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
9302 Pass all MULTILIB_* variables to genmultilib even if
9303 --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
9305 2002-10-04 Zack Weinberg <zack@codesourcery.com>
9307 * gcc.c (process_command): Set .validated for -pipe. Correct
9310 2002-10-04 Bruce Korb <bkorb@gnu.org>
9312 * fixinc/inclhack.def(hpux11_abs): use format fix
9313 * fixinc/fixincl.x: regenerate
9314 * fixinc/tests/base/stdlib.h: accommodate new fix test
9316 Sat Oct 5 19:42:45 CEST 2002 Jan Hubicka <jh@suse.cz>
9318 * c-common.c (cb_register_builtins): Use really_no_inline.
9320 2002-10-04 David Edelsohn <edelsohn@gnu.org>
9322 * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
9323 copied instruction if the note is not loop invariant.
9325 2002-10-04 Loren J. Rittle <ljrittle@acm.org>
9327 * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
9329 2002-10-04 Steve Ellcey <sje@cup.hp.com>
9331 * doc/invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld,
9332 and -mhp-ld options to list of options. Add -mgnu-ld
9333 and -mhp-ld option descriptions.
9335 2002-10-04 Steve Ellcey <sje@cup.hp.com>
9337 * fixinc/inclhack.def (hpux11_abs): New.
9338 (stdio_va_list): change __va_list__ to __gnuc_va_list.
9339 * fixinc/fixincl.x: Rebuild.
9341 2002-10-04 Roger Sayle <roger@eyesopen.com>
9343 * config/i386/i386.h (processor_costs): Add new fields fadd,
9344 fmul, fdiv, fabs, fchs and fsqrt to costs structure.
9345 (RTX_COSTS): Use these fields to determine the RTX costs
9346 of floating point addition/subtraction, multiplication,
9347 division, fabs, negation and square root respectively.
9348 * config/i386/i386.c (size_cost): Provide instruction sizes
9349 for these new fields.
9350 (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
9351 k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
9352 counts for these new fields for all x86 processor variants.
9354 2002-10-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9356 * mips.c (mips_const_double_ok): Delete unused variable.
9358 * gengtype.c (rtx_next): Change type to int.
9360 2002-10-04 Andreas Jaeger <aj@suse.de>
9362 * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
9364 2002-10-04 Richard Henderson <rth@redhat.com>
9366 * real.h (SIGNIFICAND_BITS): Add one more word.
9367 (CONST_DOUBLE_FORMAT): Accomodate 6 words.
9368 * real.c (times_pten): New.
9369 (real_to_decimal, real_from_string): Use it.
9370 (sticky_rshift_significand): Use & to find modulus.
9371 (rshift_significand, lshift_significand): Likewise.
9372 (do_divide): Apply sticky bit after normalization.
9373 (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
9375 2002-10-03 Andreas Bauer <baueran@in.tum.de>
9377 * doc/tm.texi (FUNCTION_OK_FOR_SIBCALL): Remove.
9378 (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
9380 2002-10-03 Andreas Jaeger <aj@suse.de>
9382 * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
9383 to unsigned long, adjust printf format string.
9384 (output_mangled_typename): Likewise.
9386 2002-10-03 Jason Thorpe <thorpej@wasabisystems.com>
9388 * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
9389 * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
9390 (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
9391 assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
9392 (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
9393 (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
9394 * config/vax/elf.h (FUNCTION_PROFILER): Remove.
9395 (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
9397 2002-10-03 Mark Mitchell <mark@codesourcery.com>
9399 * doc/invoke.texi (-Wabi): Document mangling bug.
9401 2002-10-04 Alan Modra <amodra@bigpond.net.au>
9403 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
9404 name for the tbtab label that depends on the function asm name.
9405 Don't output tbtab label unless optional_tbtab.
9406 (output_mi_thunk): Formatting.
9408 2002-10-03 Richard Henderson <rth@redhat.com>
9410 * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
9411 * config/m68k/m68k.c (override_options): ... here.
9412 * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
9413 * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
9414 * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
9415 * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
9417 2002-10-03 Richard Henderson <rth@redhat.com>
9419 * real.h (struct real_value): Use ENUM_BITFIELD.
9421 2002-10-03 Richard Henderson <rth@redhat.com>
9423 * config/i960/i960.md (call, call_value): Use emit_call_insn.
9425 2002-10-03 Steve Ellcey <sje@cup.hp.com>
9427 * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
9429 2002-10-03 Steve Ellcey <sje@cup.hp.com>
9431 * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
9432 * config/pa/pa.h (MASK_GNU_LD): New.
9433 (TARGET_GNU_LD): New.
9434 * config/pa/pa64-hpux.h (LINK_SPEC): Set based
9435 on gnu-ld and MASK_GNU_LD.
9436 (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
9438 Thu Oct 3 23:35:51 CEST 2002 Jan Hubicka <jh@suse.cz>
9440 * i386.c (athlon_cost): Fix the move costs.
9442 Thu Oct 3 23:20:58 CEST 2002 Jan Hubicka <jh@suse.cz>
9444 * final.c (final): Use symbol name as function name for profiling.
9445 * profile.c (get_exec_counts): Likewise.
9446 (branch_prob): Likewise.
9448 2002-10-03 Jakub Jelinek <jakub@redhat.com>
9450 * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
9452 2002-10-03 Jakub Jelinek <jakub@redhat.com>
9454 * gcc.c (print_multi_os_directory): New variable.
9455 (option_map): Support --print-multi-os-directory.
9456 (struct prefix_list): Add os_multilib field.
9457 (multilib_os_dir): New variable.
9458 (static_specs): Add multilib_options.
9459 (find_a_file): Add multilib argument. Search in GCC or OS multilib
9461 (read_specs, execute): Update callers.
9462 (find_file): Likewise. Don't prefix name with multilib_dir, instead
9463 pass 1 as multilib option.
9464 (display_help): Include --print-multi-os-directory.
9465 (add_prefix): Add os_multilib argument. Initialize pl->os_multilib.
9466 (process_command): Update callers. Handle --print-multi-os-directory.
9467 (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
9469 (main): Update find_a_file and add_prefix callers.
9470 Handle print_multi_os_directory.
9471 (struct mdswitchstr): New.
9472 (mdswitches, n_mdswitches): New variables.
9473 (used_arg): Add MULTILIB_DEFAULT switches too if they are not
9474 present on the command line nor their mutually incompatible
9476 (default_arg): Optimize.
9477 (set_multilib_dir): Compute multilib_os_dir. Initialize mdswitches
9479 (print_multilib_info): Only print GCC multilib dir name, not OS
9481 * genmultilib: Add osdirnames parameter. Output multilib_options
9482 variable. If osdirnames is specified, output dirnames as
9484 * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
9485 and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
9486 to compute libgcc_s soname and install path.
9487 * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
9488 SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
9489 (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
9492 * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
9493 (SHLIB_SLIBDIR_SUFFIXES): Remove.
9494 * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
9495 ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
9496 (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
9498 * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
9499 (SHLIB_SLIBDIR_SUFFIXES): Remove.
9500 * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
9501 (STARTFILE_ARCH_SPEC): Remove.
9502 * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
9503 (SHLIB_SLIBDIR_SUFFIXES): Remove.
9504 * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
9505 * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
9506 (SHLIB_SLIBDIR_SUFFIXES): Remove.
9508 Thu Oct 3 21:42:20 CEST 2002 Jan Hubicka <jh@suse.cz>
9510 * predict.c (choose_function_section): Avoid choice for linkonce functions.
9512 Thu Oct 3 15:15:00 CEST 2002 Jan Hubicka <jh@suse.cz>
9514 * i386.md (lea to mul peep2): Fix condition.
9516 2002-10-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
9518 * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
9519 * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
9521 2002-10-02 David Mosberger-Tang <David.Mosberger@acm.org>
9523 * unwind.h (_Unwind_GetTextRelBase): Mark _C argument with
9526 * config/t-libunwind: Mention unwind-sjlj.c.
9527 * unwind-libunwind.c: Change #ifdef __USING_LIBUNWIND_EXCEPTIONS__
9528 to #ifndef __USING_SJLJ_EXCEPTIONS__.
9530 * configure.in: Move sjlj-exceptions and --enable-libunwind-exceptions
9531 before inclusion of config.gcc, but after configuring the compiler etc.
9532 Determine default value for --enable-libunwind-exceptions based on
9533 whether the host has a libunwind library (not guaranteed to be correct,
9534 but it's a reasonable first guess and can always be overridden with an
9535 explicit --enable/disable-libunwind-exceptions.
9536 * config.gcc: For target ia64*-*-linux*, mention t-libunwind as a
9537 tmake_file when $use_libunwind_exceptions is enabled.
9538 * Makefile.in: Update comment: LIB2ADDEH is updated not just by
9539 ia64 (e.g., config/t-linux also updates it).
9540 * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS]: Mention -lunwind
9541 along with the shared version of libgcc since the latter requires
9543 * unwind-libunwind.c: New file.
9544 * config/t-libunwind: Ditto.
9546 2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
9548 * config.gcc: Remove support for vax-*-vms*.
9549 * config/vax/vms.h: Remove.
9550 * config/vax/xm-vms.h: Remove.
9551 * config/vax/vax-protos.h: Remove VMS-specific code.
9552 * config/vax/vax.c: Remove VMS-specific code.
9554 2002-10-02 Richard Henderson <rth@redhat.com>
9557 * config/i386/i386.c (ix86_register_move_cost): Increase cost
9558 for secondary_memory_needed pairs.
9560 2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
9562 * doc/vms.texi: Blow away false include file section.
9564 2002-10-02 Roger Sayle <roger@eyesopen.com>
9566 PR optimization/6627
9567 * toplev.c (force_align_functions_log): New global variable.
9568 * flags.h (force_align_functions_log): Add extern prototype.
9569 * varasm.c (assemble_start_function): Use it to force minimum
9571 * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
9572 minimum function alignment to one byte.
9573 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
9574 the least significant bit of vtable member function pointers.
9575 * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
9576 here from cp/cp-tree.h.
9578 Wed Oct 2 17:01:36 CEST 2002 Jan Hubicka <jh@suse.cz>
9580 * i386.c (print_operand_address): Use RIP addressing for offsetted
9583 2002-09-30 David S. Miller <davem@redhat.com>
9586 * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
9587 (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
9589 2002-10-01 Andreas Bauer <baueran@in.tum.de>
9591 * calls.c (expand_call): Remove the `no indirect check'
9592 for sibcall optimization; use function_ok_for_sibcall
9593 target hook; refine check for `function is volatile'.
9594 (FUNCTION_OK_FOR_SIBCALL): Remove the redefinition.
9595 * hooks.c (hook_tree_tree_bool_false): New.
9596 * hooks.h (hook_tree_tree_bool_false): Declare.
9597 * target-def.h (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
9598 (TARGET_INITIALIZER): Add it.
9599 * target.h (struct gcc_target): Add function_ok_for_sibcall.
9600 * config/alpha/alpha.c: (alpha_function_ok_for_sibcall): New.
9601 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9602 * config/alpha/alpha.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9603 * config/arm/arm-protos.h: (arm_function_ok_for_sibcall):
9604 Remove function declaration.
9605 * config/arm/arm.c: (arm_function_ok_for_sibcall): Make
9606 function static and accept another argument of type `tree'.
9607 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9608 * config/arm/arm.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9609 * config/frv/frv.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9610 * config/i386/i386.c: (ix86_function_ok_for_sibcall): New.
9611 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9612 * config/i386/i386.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9613 * config/pa/pa-linux.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9614 (TARGET_HAS_STUBS_AND_ELF_SECTIONS): New definition.
9615 * config/pa/pa.c: (pa_function_ok_for_sibcall): New.
9616 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9617 * config/pa/pa.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9618 * config/rs6000/rs6000-protos.h: (function_ok_for_sibcall):
9619 Remove function declaration.
9620 * config/rs6000/rs6000.c: (rs6000_function_ok_for_sibcall):
9621 Rename function_ok_for_sibcall to rs6000_function_ok_for_sibcall;
9622 rename first argument to `decl'; accept another argument
9623 of type `tree'; make static.
9624 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9625 * config/rs6000/rs6000.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9626 * config/sh/sh.c: (sh_function_ok_for_sibcall): New.
9627 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9628 * config/sh/sh.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9629 * config/sparc/sparc.c: (sparc_function_ok_for_sibcall): New.
9630 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9631 * config/sparc/sparc.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9632 * config/xtensa/xtensa.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9634 2002-10-01 Roger Sayle <roger@eyesopen.com>
9636 * unroll.c (loop_iterations): Revert 2002-09-08 change.
9638 2002-10-01 Richard Henderson <rth@redhat.com>
9640 * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
9641 (real_to_hexadecimal): Likewise.
9642 * print-rtl.c (print_rtx): If we are linked with real.c, don't
9643 dump the XWINT fields of a floating point CONST_DOUBLE.
9645 2002-10-01 Jason Thorpe <thorpej@wasabisystems.com>
9647 * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
9649 2002-10-01 Richard Henderson <rth@redhat.com>
9651 * calls.c (precompute_register_parameters): Force non-legitimate
9652 constants into pseudos.
9654 2002-10-01 Nick Clifton <nickc@redhat.com>
9656 * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
9657 to assembler template.
9659 2002-10-01 Richard Henderson <rth@redhat.com>
9661 * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
9662 for TLS debug info to !DECL_EXTERNAL.
9664 2002-10-01 Matt Thomas <matt@3am-software.com>
9665 Jason Thorpe <thorpej@wasabisystems.com>
9667 * config.gcc (vax-*-netbsdelf*): Enable configuration.
9668 * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
9669 if not already defined.
9670 * config/vax/elf.h: New file.
9671 * config/vax/netbsd-elf.h: New file.
9672 * config/vax/vax.c: Include "debug.h".
9673 (vax_output_function_prologue): Add dwarf2 support. Use
9674 MAIN_NAME_P when checking for VMS_TARGET stack adjust.
9675 * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
9676 'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
9677 'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
9678 (VAX_ISTREAM_SYNC): Remove.
9679 (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
9680 (JUMP_TABLES_IN_TEXT_SECTION): Define.
9681 (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
9682 (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
9684 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
9685 (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
9686 (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
9687 (INCOMING_RETURN_ADDR_RTX): Define.
9688 * config/vax/vax.md (VUNSPEC_BLOCKAGE)
9689 (VUNSPEC_SYNC_ISTREAM): Define.
9690 (blockage): Use VUNSPEC_BLOCKAGE.
9691 (sync_istream): New insn.
9693 2002-10-01 Richard Henderson <rth@redhat.com>
9695 * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
9696 (*call_value_pop, call, call_value): Add dwarf2 EH support.
9699 2002-10-01 Nathan Sidwell <nathan@codesourcery.com>
9702 * c-typeck.c (build_c_cast): Warn about type punning which breaks
9703 type based aliasing.
9705 2002-10-01 Mark Mitchell <mark@codesourcery.com>
9707 * stor-layout.c (update_alignment_for_field): New function.
9708 (place_union_field): Use it.
9709 (place_field): Likewise.
9711 2002-10-01 Nathan Sidwell <nathan@codesourcery.com>
9714 * gcc.c (cc1_options): Add space on -auxbase-strip.
9716 2002-10-01 Jim Wilson <wilson@redhat.com>
9718 * config/v850/v850.h (EPILOGUE_USES): Define.
9720 2002-09-30 Andrew Haley <aph@redhat.com>
9722 * flow.c (insn_dead_p): When using non-call-exceptions, don't
9723 eliminate insns that may trap.
9724 * cse.c (insn_live_p): Likewise.
9726 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
9728 * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
9729 (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
9730 * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
9731 * config/mips/mips.md: Apply same renaming here.
9733 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
9735 * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
9736 (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
9737 * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
9738 * config/mips/mips.md (define_attr cpu): Remove r4320.
9739 Remove vr4320 scheduler and uses of TARGET_MIPS4320.
9741 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
9743 * config/mips/mips.c (mips16_strings): New variable.
9744 (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
9745 symbol in mips16_strings. Free the list.
9746 (mips_encode_section_info): Keep track of local strings.
9748 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
9750 * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
9751 (sordered_df, sordered_sf): Remove.
9752 * config/mips/mips.c (get_float_compare_codes): New fn.
9753 (gen_int_relational, gen_conditional_move): Use it.
9755 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
9757 * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
9758 * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
9759 * config/mips/mips.c (fcc_register_operand): New function.
9760 (mips_emit_fcc_reload): New function, extracted from reload_incc.
9761 (override_options): Allow TFmode values in float registers
9763 * cnfig/mips/mips.md (reload_incc): Change destination prediate
9764 to fcc_register_operand. Remove misleading source constraint.
9765 Use mips_emit_fcc_reload.
9766 (reload_outcc): Duplicate reload_incc.
9768 2002-09-30 Zack Weinberg <zack@codesourcery.com>
9770 * gcc.c (validate_switches): Handle all new forms of spec
9771 syntax introduced recently. Now returns a char *.
9772 (validate_all_switches): Repetitive logic broken out to...
9773 (validate_switches_from_spec): ...here.
9774 * mklibgcc.in: Don't @-flag commands to generate .oS files.
9776 2002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
9778 * longlong.h: Partially synchronize with GMP-4.1 version:
9779 Use i370 definitions also for s390.
9780 Add generic definition of umul_ppmm in terms of smul_ppmm.
9781 [s390] (umul_ppmm): Remove.
9782 [s390] (smul_ppmm): Fix incorrect assembler constraints.
9783 [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
9785 2002-09-30 Bob Wilson <bob.wilson@acm.org>
9787 * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
9788 Add new RL_REGS register class.
9789 (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
9790 Call xtensa_preferred_reload_class for both input and output reloads.
9791 * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
9792 (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
9793 instead of either AR_REGS or GR_REGS classes.
9794 (xtensa_secondary_reload_class): Use new RL_REGS class.
9795 * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
9797 2002-09-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
9799 * pa.c (hppa_encode_label): Don't drop '*' from function labels.
9800 (pa_strip_name_encoding): Strip '@' and '*', in that order.
9801 * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
9802 there is a '*' prefix in NAME.
9804 Mon Sep 30 21:33:23 CEST 2002 Jan Hubicka <jh@suse.cz>
9806 * reload.c (push_reload): Handle subregs and secondary memory.
9807 * reload1.c (gen_reload): Likewise.
9809 * jump.c (reg_or_subregno): New function.
9810 * rtl.h (reg_or_subregno): Declare
9811 * unroll.c (find_splittable_givs): Handle subregs.
9813 2002-09-30 Mark Mitchell <mark@codesourcery.com>
9815 * store-layout.c (finish_record_layout): Add free_p parameter.
9816 (layout_type): Pass it.
9817 * tree.h (finish_record_layout): Update prototype.
9819 Mon Sep 30 14:57:18 CEST 2002 Jan Hubicka <jh@suse.cz>
9821 * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
9823 * gcse.c (cprop_jump): Check that the register has not
9825 (cprop_jump): Likewise.
9827 2002-09-30 Richard Earnshaw <rearnsha@arm.com>
9829 * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
9830 (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
9831 that we have a SImode access, and only then if reload hasn't completed;
9832 for all other cases, use LO_REGS.
9834 2002-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9836 * openbsd.h: Fix typo in last change.
9838 2002-09-29 Richard Henderson <rth@redhat.com>
9840 * real.c (real_from_string): Apply sign last. Tidy exponent handling.
9842 2002-09-29 Richard Henderson <rth@redhat.com>
9845 * combine.c (force_to_mode): Handle FLOAT_MODE destinations
9848 2002-09-29 David Edelsohn <edelsohn@gnu.org>
9850 * real.h (ibm_extended_format): Declare.
9851 * real.c (encode_ibm_extended, decode_ibm_extended): New
9854 2002-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9856 * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
9858 * ia64.c (ia64_hpux_asm_file_end): Const-ify.
9860 2002-09-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
9862 * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
9864 2002-09-29 Kazu Hirata <kazu@cs.umass.edu>
9866 * builtins.def: Fix comment formatting.
9867 * c-common.def: Likewise.
9868 * cfgcleanup.c: Likewise.
9869 * combine.c: Likewise.
9870 * gengtype.c: Likewise.
9871 * params.def: Likewise.
9872 * predict.def: Likewise.
9873 * rtl.def: Likewise.
9874 * stab.def: Likewise.
9875 * stor-layout.c: Likewise.
9876 * tree.def: Likewise.
9877 * config/darwin.c: Likewise.
9878 * config/darwin.h: Likewise.
9879 * config/dbxcoff.h: Likewise.
9880 * config/elfos.h: Likewise.
9881 * config/fp-bit.c: Likewise.
9882 * config/freebsd-spec.h: Likewise.
9883 * config/interix.h: Likewise.
9884 * config/libgloss.h: Likewise.
9885 * config/linux-aout.h: Likewise.
9886 * config/linux.h: Likewise.
9887 * config/lynx-ng.h: Likewise.
9888 * config/lynx.h: Likewise.
9889 * config/netbsd-aout.h: Likewise.
9890 * config/netbsd.h: Likewise.
9891 * config/netware.h: Likewise.
9892 * config/psos.h: Likewise.
9893 * config/ptx4.h: Likewise.
9895 2002-09-28 Kazu Hirata <kazu@cs.umass.edu>
9897 * ChangeLog.4: Fix typos.
9898 * ChangeLog.6: Likewise.
9899 * FSFChangeLog.10: Likewise.
9900 * genattrtab.c: Fix comment typos.
9901 * haifa-sched.c: Likewise.
9904 * config/arm/arm.c: Likewise.
9905 * config/arm/crti.asm: Likewise.
9906 * config/arm/crtn.asm: Likewise.
9907 * config/frv/frv.c: Likewise.
9908 * config/frv/frv.md: Likewise.
9909 * config/h8300/h8300.md: Likewise.
9910 * config/i386/rtemself.h: Likewise.
9911 * config/ia64/unwind-ia64.c: Likewise.
9912 * config/ip2k/ip2k.h: Likewise.
9913 * config/m88k/m88k.c: Likewise.
9914 * config/m88k/m88k.md: Likewise.
9915 * config/mips/sr71k.md: Likewise.
9916 * config/mmix/mmix.c: Likewise.
9917 * config/rs6000/rs6000.c: Likewise.
9918 * config/sh/sh.md: Likewise.
9920 2002-09-26 Theodore A. Roth <troth@verinet.com>
9922 * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
9923 * config/avr/avr.md: Ditto.
9925 2002-09-27 Alexander N. Kabaev <ak03@gte.com>
9927 PR preprocessor/8055
9928 * cppmacro.c (stringify_arg): Do not overflow the buffer
9929 with the terminating NUL when the argument to be stringified
9932 2002-09-27 Richard Henderson <rth@redhat.com>
9934 * unroll.c (simplify_cmp_and_jump_insns): New.
9935 (unroll_loop): Use it. Use simplify_gen_foo+force_operand
9936 instead of expand_simple_foo.
9938 2002-09-27 Richard Henderson <rth@redhat.com>
9940 PR optimization/7520
9941 * cfganal.c (flow_active_insn_p): New.
9942 (forwarder_block_p): Use it.
9944 2002-09-27 Richard Henderson <rth@redhat.com>
9946 * emit-rtl.c (active_insn_p): Revert last change.
9948 2002-09-27 Jakub Jelinek <jakub@redhat.com>
9950 * doc/extend.texi (tls_model): Document.
9951 * varasm.c (decl_tls_model): New.
9952 * c-common.c (handle_tls_model_attribute): New.
9953 (c_common_attribute_table): Add tls_model.
9954 * config/alpha/alpha.c (alpha_encode_section_info): Use
9956 * flags.h (enum tls_model, flag_tls_default): Move...
9957 * tree.h (enum tls_model, flag_tls_default): ...here.
9958 (decl_tls_model): New prototype.
9959 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
9960 * config/i386/i386.c (ix86_encode_section_info): Likewise.
9961 * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
9964 2002-09-27 Kazu Hirata <kazu@cs.umass.edu>
9966 * LANGUAGES: Follow spelling conventions.
9967 * rtl.def: Likewise.
9968 * sbitmap.c: Likewise.
9969 * sched-int.h: Likewise.
9970 * sched-rgn.c: Likewise.
9971 * sibcall.c: Likewise.
9972 * simplify-rtx.c: Likewise.
9974 * stab.def: Likewise.
9976 * stor-layout.c: Likewise.
9977 * target.h: Likewise.
9978 * timevar.c: Likewise.
9979 * toplev.c: Likewise.
9980 * tree-dump.c: Likewise.
9981 * tree-inline.c: Likewise.
9983 * tree.def: Likewise.
9985 * unroll.c: Likewise.
9986 * varasm.c: Likewise.
9987 * vmsdbgout.c: Likewise.
9988 * treelang/treelang.texi: Likewise.
9989 * treelang/treetree.c: Likewise.
9991 2002-09-27 Kazu Hirata <kazu@cs.umass.edu>
9993 * config/h8300/h8300.c (compute_saved_regs): Use a macro
9994 instead of a hard register number.
9995 (get_shift_alg): Use an enumerated type instead of numbers.
9996 (h8300_shift_needs_scratch_p): Likewise.
9998 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
10000 * varasm.c (force_data_section): Remove.
10001 (assemble_constant_align): Likewise.
10002 * output.h: Remove corresponding prototypes.
10004 2002-09-26 Roger Sayle <roger@eyesopen.com>
10006 * stmt.c (expand_exit_loop_if_false): Expand a simple conditional
10007 jump, if the loop to exit is the top of the current nesting stack.
10009 2002-09-26 Torbjorn Granlund <tege@swox.com>
10011 * libgcc2.c (fixunsdfdi, fixunssfdi): Rewrite, avoiding `long long'
10014 2002-09-26 David S. Miller <davem@redhat.com>
10016 PR optimization/7335
10017 * calls.c (emit_library_call_value_1): Passing args by reference
10018 converts a CONST function into a PURE one.
10020 2002-09-26 David Edelsohn <edelsohn@gnu.org>
10022 * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
10024 * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
10026 * config/rs6000/rs6000.c (rs6000_override_options): Allow
10027 function-sections and data-sections functionality on AIX.
10029 2002-09-26 David Edelsohn <edelsohn@gnu.org>
10030 Dale Johannesen <dalej@apple.com>
10032 * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
10033 in RTL for sub-word loads from memory.
10035 2002-09-26 Richard Henderson <rth@redhat.com>
10038 * sched-deps.c (sched_analyze_insn): Make clobber insns depend
10041 2002-09-26 Richard Henderson <rth@redhat.com>
10043 * emit-rtl.c (const_double_htab_eq): Remove unused variable.
10045 2002-09-26 Chris Lattner <sabre@nondot.org>
10047 * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
10048 handling undefined values.
10050 2002-09-26 Richard Henderson <rth@redhat.com>
10053 * emit-rtl.c (active_insn_p): Consider a clobber of the
10054 function return value to be active even after reload.
10056 2002-09-27 Alan Modra <amodra@bigpond.net.au>
10058 * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
10059 by absolute loop increment, not loop increment.
10061 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
10063 * c-common.h: Follow spelling conventions.
10064 * cpplex.c: Likewise.
10065 * cpplib.h: Likewise.
10066 * gthr-dce.h: Likewise.
10067 * gthr-posix.h: Likewise.
10068 * optabs.c: Likewise.
10069 * output.h: Likewise.
10070 * profile.c: Likewise.
10071 * protoize.c: Likewise.
10072 * ra-rewrite.c: Likewise.
10073 * real.c: Likewise.
10074 * recog.c: Likewise.
10075 * reg-stack.c: Likewise.
10076 * regclass.c: Likewise.
10077 * regmove.c: Likewise.
10078 * reload.c: Likewise.
10079 * reload.h: Likewise.
10080 * reload1.c: Likewise.
10081 * reorg.c: Likewise.
10082 * resource.c: Likewise.
10084 * rtlanal.c: Likewise.
10086 2002-09-26 Steve Ellcey <sje@cup.hp.com>
10088 * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
10089 for symbol address.
10091 2002-09-24 Eric Christopher <echristo@redhat.com>
10093 * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
10094 * config/mips/elf64.h: Ditto.
10096 2002-09-24 Eric Christopher <echristo@redhat.com>
10098 * except.c (expand_builtin_extract_return_address): Handle case
10099 where Pmode != ptr_mode.
10101 2002-09-26 Steve Ellcey <sje@cup.hp.com>
10103 * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
10105 2002-09-26 Steve Ellcey <sje@cup.hp.com>
10107 * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
10109 2002-09-26 Igor Shevlyakov <igor@microunity.com>
10111 * combine.c (simplify_set): Don't call to force_to_mode if size
10112 of integer type is larger than HOST_BITS_PER_WIDE_INT.
10114 2002-09-26 Janis Johnson <janis187@us.ibm.com>
10116 * Makefile.in (qmtest-g++): Fix file path.
10118 2002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
10120 * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
10121 A + (-const) on RTX level, even for unsigned types.
10123 2002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
10125 * reload.c (dup_replacements): New function.
10126 (find_reloads): Use it to duplicate replacements at the top level
10127 of match_dup operands.
10129 2002-09-26 Miles Bader <miles@gnu.org>
10131 * v850.md ("length"): Change default value to 4.
10133 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
10135 * ChangeLog.1: Follow spelling conventions.
10136 * ChangeLog.4: Likewise.
10137 * ChangeLog.6: Likewise.
10138 * FSFChangeLog.11: Likewise.
10139 * doc/cpp.texi: Likewise.
10140 * doc/invoke.texi: Likewise.
10141 * doc/tm.texi: Likewise.
10143 2002-09-26 Nick Clifton <nickc@redhat.com>
10145 * config.gcc: Add x prefix to v850e case for handling
10148 2002-09-25 Zack Weinberg <zack@codesourcery.com>
10150 * gcc.c (input_suffix_matches, switch_matches,
10151 mark_matching_switches, process_marked_switches,
10152 process_brace_body): New functions - split from handle_braces.
10153 (handle_braces): Rewrite; handle %{S:X;T:Y;:D} syntax; accept
10154 and ignore whitespace in more places.
10155 (specs documentation comment): Document %{S:X;T:Y;:D}.
10156 Clarify other %{...} docs.
10157 * doc/invoke.texi: Document %{S:X;T:Y;:D}. Clarify other
10160 * config/arm/aof.h (LINK_SPEC): Change %{ov*,*} to %{ov*}.
10161 * config/rs6000/sysv4.h: Use N-way choice spec syntax.
10163 2002-09-25 David S. Miller <davem@redhat.com>
10166 * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
10169 2002-09-25 Richard Henderson <rth@redhat.com>
10171 * emit-rtl.c (const_double_htab_eq): Distinguish integer and
10172 fp CONST_DOUBLE; use real_identical.
10174 2002-09-25 Mark Mitchell <mark@codesourcery.com>
10176 * doc/invoke.texi: Add more -Wabi examples.
10178 2002-09-25 Richard Sandiford <rsandifo@redhat.com>
10180 * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
10182 2002-09-24 Nathan Sidwell <nathan@codesourcery.com>
10184 * profile.c (end_branch_prob): Only look for __gcov_init on
10185 weak-enabled native compilers.
10187 2002-09-24 Denis Chertykov <denisc@overta.ru>
10189 * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
10190 cases of optimizing "add sp,w" to "inc sp".
10192 2002-09-24 Adam Nemet <anemet@lnxw.com>
10194 * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
10195 epilogue for naked functions.
10197 2002-09-24 Adam Nemet <anemet@lnxw.com>
10198 Nick Clifton <nickc@redhat.com>
10200 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
10201 (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
10204 2002-09-24 Ulrich Weigand <uweigand@de.ibm.com>
10206 * config/s390/s390.c (preferred_la_operand_p): New function.
10207 * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
10208 * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
10209 ("*la_64_cc", "*la_31_cc", splitters): ... these.
10210 ("*la_31"): Deactivate for TARGET_64BIT.
10211 ("*la_31_and", "*la_31_and_cc"): New.
10213 2002-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10215 * real.h (real_value): Make `exp' explicitly signed.
10217 2002-09-24 Kazu Hirata <kazu@cs.umass.edu>
10219 * config/elfos.h: Follow spelling conventions.
10220 * config/alpha/alpha.h: Likewise.
10221 * config/arc/arc.h: Likewise.
10222 * config/arm/arm.md: Likewise.
10223 * config/avr/avr.h: Likewise.
10224 * config/cris/cris.md: Likewise.
10225 * config/d30v/d30v.h: Likewise.
10226 * config/frv/frv.c: Likewise.
10227 * config/frv/frv.h: Likewise.
10228 * config/h8300/h8300.c: Likewise.
10229 * config/h8300/h8300.h: Likewise.
10230 * config/h8300/h8300.md: Likewise.
10231 * config/i386/cygwin.h: Likewise.
10232 * config/i386/i386.h: Likewise.
10233 * config/i386/sysv3.h: Likewise.
10234 * config/i960/i960.h: Likewise.
10235 * config/ia64/ia64.h: Likewise.
10236 * config/ia64/ia64.md: Likewise.
10237 * config/ip2k/ip2k.h: Likewise.
10238 * config/m32r/m32r.h: Likewise.
10239 * config/m68k/m68k.h: Likewise.
10240 * config/m88k/m88k.h: Likewise.
10241 * config/mcore/mcore.c: Likewise.
10242 * config/mcore/mcore.h: Likewise.
10243 * config/mcore/mcore.md: Likewise.
10244 * config/mips/mips.h: Likewise.
10245 * config/mmix/mmix.h: Likewise.
10246 * config/mmix/mmix.md: Likewise.
10247 * config/ns32k/netbsd.h: Likewise.
10248 * config/ns32k/ns32k.h: Likewise.
10249 * config/ns32k/ns32k.md: Likewise.
10250 * config/pa/pa.h: Likewise.
10251 * config/romp/romp.h: Likewise.
10252 * config/rs6000/rs6000.h: Likewise.
10253 * config/rs6000/rs6000.md: Likewise.
10254 * config/sparc/sparc.h: Likewise.
10255 * config/stormy16/stormy-abi: Likewise.
10256 * config/stormy16/stormy16.h: Likewise.
10257 * config/vax/vax.h: Likewise.
10259 2002-09-23 Kazu Hirata <kazu@cs.umass.edu>
10261 * config/alpha/alpha.h: Remove commented-out macro
10262 definitions of HAVE_{POST|PRE}_{INC|DEC}REMENT.
10263 * config/avr/avr.h: Likewise.
10264 * config/d30v/d30v.h: Likewise.
10265 * config/dsp16xx/dsp16xx.h: Likewise.
10266 * config/i370/i370.h: Likewise.
10267 * config/i386/i386.h: Likewise.
10268 * config/i960/i960.h: Likewise.
10269 * config/m68k/m68k.h: Likewise.
10270 * config/m88k/m88k.h: Likewise.
10271 * config/mips/mips.h: Likewise.
10272 * config/ns32k/ns32k.h: Likewise.
10273 * config/pdp11/pdp11.h: Likewise.
10274 * config/romp/romp.h: Likewise.
10275 * config/rs6000/rs6000.h: Likewise.
10276 * config/s390/s390.h: Likewise.
10277 * config/sh/sh.h: Likewise.
10278 * config/sparc/sparc.h: Likewise.
10279 * config/stormy16/stormy16.h: Likewise.
10280 * config/vax/vax.h: Likewise.
10282 2002-09-23 Kazu Hirata <kazu@cs.umass.edu>
10284 * function.c (push_temp_slots_for_block): Remove.
10285 (push_temp_slots_for_target): Likewise.
10286 (get_target_temp_slot_level): Likewise.
10287 (set_target_temp_slot_level): Likewise.
10288 (get_first_block_beg): Likewise.
10289 * function.h: Remove corresponding prototypes.
10291 2002-09-23 Zack Weinberg <zack@codesourcery.com>
10293 * version.c (version_string): Now const char[].
10294 * version.h: Update to match.
10296 2002-09-23 Richard Henderson <rth@redhat.com>
10298 * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
10299 MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
10300 (TARGET_SWITCHES): Don't reference them.
10301 * config/i386/i386.c (override_options): Use target_flags_explicit
10302 to examine bits set by the user.
10304 2002-09-23 Dale Johannesen <dalej@apple.com>
10306 * dbxout.c (dbxout_parms): Set current_sym_code for params
10307 passed on stack by invisible reference.
10309 2002-09-23 Richard Earnshaw <rearnsha@arm.com>
10311 * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
10312 at least one byte of space.
10314 2002-09-23 Mark Mitchell <mark@codesourcery.com>
10316 * c-common.h (flag_abi_version): Fix typo in comment.
10317 * doc/invoke.texi (flag_abi_version): Document default value.
10319 2002-09-23 Hans-Peter Nilsson <hp@axis.com>
10321 * doc/extend.texi (Extended Asm): Clarify that overlap between
10322 asm-declared register variables used in an asm and the asm clobber
10323 list is not allowed.
10324 * stmt.c (decl_conflicts_with_clobbers_p): New function.
10325 (expand_asm_operands): Keep track of clobbered registers. Call
10326 decl_conflicts_with_clobbers_p for each input and output operand.
10327 If no conflicts found before, also do conflict sanity check when
10330 2002-09-23 Richard Henderson <rth@redhat.com>
10332 * c-common.c (cpp_define_data_format): Remove.
10333 (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
10334 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
10335 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
10336 * doc/cpp.texi: Don't document them either.
10337 (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
10338 __LONG_LONG_MAX__): Document.
10339 (__TARGET_FLOAT_FORMAT__): Remove.
10341 2002-09-23 Richard Henderson <rth@redhat.com>
10343 * real.c (do_multiply): Normalize U before addition.
10345 2002-09-23 Mark Mitchell <mark@codesourcery.com>
10347 * c-common.c (flag_abi_version): New variable.
10348 * c-common.h (flag_abi_version): Declare it.
10349 * c-opts.c (missing_arg): Add -fabi-version.
10350 (c_common_decode_option): Process -fabi-version.
10351 * doc/invoke.texi (-fabi-version): Document it.
10352 (-Wabi): Add information about bit-fields in unions.
10354 2002-09-22 Roger Sayle <roger@eyesopen.com>
10356 * expr.c (STORE_BY_PIECES_P): New target macro.
10357 (can_store_by_pieces, store_by_pieces): Use STORE_BY_PIECES_P
10358 instead of MOVE_BY_PIECES_P.
10359 * doc/tm.texi: Document this new macro.
10361 2002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
10363 * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
10364 unless -fno-pic or -fno-PIC is specified.
10366 2002-09-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
10368 * c-common.c (preprocessing_trad_p): Define.
10369 * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
10370 (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
10371 * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
10372 * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
10373 * pa-linux.h (CPP_PREDEFINES): Delete.
10374 (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
10375 * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
10376 * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
10377 (TARGET_OS_CPP_BUILTINS): Define.
10378 * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
10379 (TARGET_SWITCHES): Reformat. Use N_() macro. Add SUBTARGET_SWITCHES.
10380 (SUBTARGET_SWITCHES): Provide default definition.
10381 (TARGET_OPTIONS): Reformat. Use N_() macro.
10382 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
10383 CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
10384 EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
10385 (TARGET_CPU_CPP_BUILTINS): Define.
10386 (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
10387 * doc/invoke.texi (msio, mwsio): Document new hppa options.
10388 * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
10389 preprocessing_trad_p().
10391 2002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
10393 * doc/install.texi: Document behavior of --with-headers and
10394 --with-libs when arguments are omitted.
10396 2002-09-22 Kazu Hirata <kazu@cs.umass.edu>
10398 * dbxout.c: Follow spelling conventions.
10399 * defaults.h: Likewise.
10401 * diagnostic.h: Likewise.
10402 * doloop.c: Likewise.
10403 * dwarf2out.c: Likewise.
10404 * dwarfout.c: Likewise.
10405 * emit-rtl.c: Likewise.
10406 * except.c: Likewise.
10407 * explow.c: Likewise.
10408 * expmed.c: Likewise.
10409 * expr.c: Likewise.
10410 * expr.h: Likewise.
10411 * flags.h: Likewise.
10412 * flow.c: Likewise.
10413 * fold-const.c: Likewise.
10414 * function.c: Likewise.
10415 * function.h: Likewise.
10417 * gcov-io.h: Likewise.
10418 * gcov.c: Likewise.
10419 * gcse.c: Likewise.
10420 * genattrtab.c: Likewise.
10421 * genconfig.c: Likewise.
10422 * genrecog.c: Likewise.
10423 * ggc-page.c: Likewise.
10425 * global.c: Likewise.
10426 * gthr-win32.h: Likewise.
10427 * integrate.c: Likewise.
10428 * jump.c: Likewise.
10429 * langhooks.c: Likewise.
10430 * langhooks.h: Likewise.
10431 * line-map.h: Likewise.
10432 * local-alloc.c: Likewise.
10433 * longlong.h: Likewise.
10434 * loop.c: Likewise.
10435 * loop.h: Likewise.
10437 Tue Aug 27 22:26:35 CEST 2002 Jan Hubicka <jh@suse.cz>
10439 * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
10441 Tue Aug 27 20:07:01 CEST 2002 Jan Hubicka <jh@suse.cz>
10443 * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
10444 for -Os/TARGET_64BIT too.
10446 2002-09-21 Kazu Hirata <kazu@cs.umass.edu>
10448 * ChangeLog: Follow spelling conventions.
10449 * ChangeLog.0: Likewise.
10450 * ChangeLog.1: Likewise.
10451 * ChangeLog.2: Likewise.
10452 * ChangeLog.3: Likewise.
10453 * ChangeLog.4: Likewise.
10454 * ChangeLog.5: Likewise.
10455 * ChangeLog.6: Likewise.
10456 * FSFChangeLog.10: Likewise.
10457 * FSFChangeLog.11: Likewise.
10458 * alias.c: Likewise.
10459 * basic-block.h: Likewise.
10460 * c-aux-info.c: Likewise.
10461 * c-common.c: Likewise.
10462 * c-common.h: Likewise.
10463 * c-decl.c: Likewise.
10464 * c-format.c: Likewise.
10465 * c-semantics.c: Likewise.
10466 * c-typeck.c: Likewise.
10467 * calls.c: Likewise.
10468 * cfganal.c: Likewise.
10469 * cfgloop.c: Likewise.
10470 * collect2.c: Likewise.
10471 * combine.c: Likewise.
10472 * conflict.c: Likewise.
10473 * cppexp.c: Likewise.
10474 * cppfiles.c: Likewise.
10475 * cpphash.h: Likewise.
10476 * cppinit.c: Likewise.
10477 * cpplex.c: Likewise.
10478 * cpplib.c: Likewise.
10479 * cpplib.h: Likewise.
10480 * cppmacro.c: Likewise.
10483 2002-09-21 Richard Earnshaw <rearnsha@arm.com>
10485 * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
10487 (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
10488 * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
10489 (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
10491 2002-09-21 Richard Earnshaw <rearnsha@arm.com>
10494 * cse.c (fold_rtx): Calculate old_cost before we fold each
10497 2002-09-21 Richard Henderson <rth@redhat.com>
10499 * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
10500 __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
10501 __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
10502 __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
10503 __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
10504 * doc/cpp.texi: Don't document them.
10506 2002-09-21 Richard Henderson <rth@redhat.com>
10508 * c-common.c (builtin_define_float_constants): Use real_format
10509 to get the floating-point parameters.
10511 2002-09-21 Richard Henderson <rth@redhat.com>
10513 * real.c (struct real_format): Move to real.h.
10514 (real_format_for_mode): Rename from fmt_for_mode; update all users;
10515 initialize with ieee defaults.
10516 (real_to_target_fmt, real_from_target_fmt): New.
10517 (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
10518 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
10519 ieee_quad_format, i370_single_format, i370_double_format,
10520 c4x_single_format, c4x_extended_format): Rename from s/_format//.
10521 (ieee_quad_format): Fix emin.
10522 (format_for_size, init_real_once): Remove.
10523 * real.h (struct real_format): Move from real.c.
10524 (real_format_for_mode): Declare.
10525 (real_to_target_fmt, real_from_target_fmt): Declare.
10526 (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
10527 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
10528 ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
10529 i370_single_format, i370_double_format, c4x_single_format,
10530 c4x_extended_format): Declare.
10531 * toplev.c (do_compile): Don't call init_real_once.
10533 * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
10534 * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
10536 * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
10537 * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
10538 * config/alpha/alpha.c (override_options): Set real_format_for_mode
10539 for VAX, if enabled.
10541 * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
10544 * config/i370/i370.h (OVERRIDE_OPTIONS): New.
10545 * config/i370/i370.c (override_options): New.
10546 * config/i370/i370-protos.h: Update.
10548 * config/i386/i386.c (override_options): Set real_format_for_mode
10549 for Intel 80-bit extended.
10550 * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
10552 * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
10553 (OVERRIDE_OPTIONS): Move code...
10554 * config/i960/i960.c (i960_initialize): ... here. Set
10555 real_format_for_mode for Intel 80-bit extended.
10557 * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
10558 for Intel 80-bit extended, if enabled.
10560 * config/m68k/m68k.c (override_options): Set real_format_for_mode
10561 for Motorola 96-bit extended.
10563 * config/vax/vax.h (OVERRIDE_OPTIONS): New.
10564 * config/vax/vax.c (override_options): New.
10565 * config/vax/vax-protos.h: Update.
10567 2002-09-21 Alan Modra <amodra@bigpond.net.au>
10569 * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
10572 * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
10573 insns. Supply missing clobber of scratch reg.
10575 2002-09-20 Kazu Hirata <kazu@cs.umass.edu>
10577 * config/m32r/m32r.c: Follow spelling conventions.
10578 * config/m32r/m32r.h: Likewise.
10579 * config/m32r/m32r.md: Likewise.
10580 * config/m68k/m68k.c: Likewise.
10581 * config/m88k/m88k.c: Likewise.
10582 * config/mcore/mcore.c: Likewise.
10583 * config/mips/mips.c: Likewise.
10584 * config/mips/mips.h: Likewise.
10585 * config/mmix/mmix.c: Likewise.
10586 * config/mn10200/mn10200.c: Likewise.
10587 * config/ns32k/ns32k.h: Likewise.
10588 * config/pa/pa.c: Likewise.
10589 * config/pa/pa64-linux.h: Likewise.
10590 * config/pdp11/pdp11.h: Likewise.
10591 * config/romp/romp.c: Likewise.
10592 * config/romp/romp.h: Likewise.
10593 * config/rs6000/eabi.asm: Likewise.
10594 * config/rs6000/linux64.h: Likewise.
10595 * config/rs6000/rs6000.c: Likewise.
10596 * config/rs6000/rs6000.h: Likewise.
10597 * config/rs6000/rs6000.md: Likewise.
10598 * config/rs6000/sysv4.h: Likewise.
10599 * config/rs6000/xcoff.h: Likewise.
10601 2002-09-20 Jim Wilson <wilson@redhat.com>
10603 * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
10605 2002-09-20 Jakub Jelinek <jakub@redhat.com>
10607 * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
10608 * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
10609 UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
10610 (legitimate_address_p): Likewise.
10611 (legitimize_address): Use @gotntpoff and @indntpoff.
10612 (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
10613 (output_addr_const_extra): Likewise.
10615 2002-09-20 Jim Wilson <wilson@redhat.com>
10617 * combine.c (try_combine): When split an instruction pair, where the
10618 first has a sign_extend src, verify that the src and dest modes match.
10620 2002-09-20 Richard Henderson <rth@redhat.com>
10622 * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
10623 (override_options): Do not initialize them.
10624 (mips_const_double_ok): Allow no fp constants except zero,
10625 and not even that for mips16.
10626 (const_float_1_operand): Use dconst1.
10627 * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
10628 movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
10629 Don't allow arbitrary constants; fix predicates and C constraint.
10631 2002-09-20 Neil Booth <neil@daikokuya.co.uk>
10633 * cppmacro.c: Don't warn about function-like macros without
10634 '(' during pre-expansion.
10636 2002-09-20 Jim Wilson <wilson@redhat.com>
10638 * config/v850/v850.c (current_function_anonymous_args): Delete.
10639 (expand_prologue): Use current_function_args_info.anonymous_args.
10640 (expand_epilogue): Delete use of current_function_anonymous_args.
10641 * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
10642 (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
10643 (current_function_anonymous_args): Delete extern declaration.
10644 (SETUP_INCOMING_VARARGS): Set anonymous_args field.
10646 2002-09-20 Geoffrey Keating <geoffk@apple.com>
10648 * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
10649 to load_macho_picbase.
10650 * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
10651 (load_macho_picbase): Take the symbol to use as a parameter.
10652 (macho_correct_pic): New insn.
10653 (builtin_setjmp_reciever): On Darwin, restore the PIC register.
10655 * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
10656 RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
10657 (CAN_ELIMINATE): Likewise.
10658 (INITIAL_ELIMINATION_OFFSET): Likewise.
10659 (TOC_REGISTER): Likewise.
10661 2002-09-20 Richard Henderson <rth@redhat.com>
10663 * real.c (real_hash): New.
10664 * real.h: Declare it.
10665 * cse.c (canon_hash): Use it.
10666 * cselib.c (hash_rtx): Likewise.
10667 * emit-rtl.c (const_double_htab_hash): Likewise.
10668 * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
10669 * varasm.c (struct rtx_const): Reduce vector size; separate
10670 integer and fp vectors.
10671 (HASHBITS): Remove.
10672 (const_hash_1): Rename from const_hash. Use real_hash. Do not
10673 take modulus MAX_HASH_TABLE.
10674 (const_hash): New. Do take modulus MAX_HASH_TABLE.
10675 (output_constant_def): Do not take modulus MAX_HASH_TABLE.
10676 (SYMHASH): Don't use HASHBITS.
10677 (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
10678 Fix CONST_VECTOR thinko wrt fp vectors. Fix kind comparison.
10679 (simplify_subtraction): Fix kind comparison.
10680 (const_hash_rtx): Return unsigned int. Don't use HASHBITS.
10681 Use a union to pun integer array.
10682 * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
10683 only hash two words of integral CONST_DOUBLE.
10685 2002-09-20 Steve Ellcey <sje@cup.hp.com>
10687 * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
10688 (STARTFILE_PREFIX_SPEC): New.
10689 (LINK_SPEC): Modify.
10690 (LIB_SPEC): Modify.
10691 (LIBGCC_SPEC): New.
10693 2002-09-20 Jakub Jelinek <jakub@redhat.com>
10695 * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
10696 UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
10698 2002-09-20 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
10700 * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
10701 Add clobber of the condition code register.
10703 2002-09-20 Richard Henderson <rth@redhat.com>
10705 * real.c (do_fix_trunc): Static.
10706 (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
10707 encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
10708 encode_i370_single, encode_i370_double, encode_c4x_single,
10709 encode_c4x_extended): Add default abort case.
10711 2002-09-20 Richard Henderson <rth@redhat.com>
10713 * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
10714 MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
10715 (struct realvaluetype): Remove.
10716 (REAL_VALUE_TYPE): Use struct real_value.
10717 (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
10718 (test_real_width): New.
10719 * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
10720 (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
10721 (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
10722 real_isneg, real_isnegzero, real_identical, exact_real_inverse,
10723 real_to_integer, real_to_integer2, real_to_decimal,
10724 real_to_hexadecimal, real_from_string, real_from_integer,
10725 real_inf, real_nan, real_2expN, real_convert, real_to_target,
10726 real_from_target): Likewise.
10727 * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
10728 * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
10730 2002-09-20 Richard Henderson <rth@redhat.com>
10732 * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
10733 IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
10734 * defaults.h: ... here.
10735 * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
10736 config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
10737 config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
10738 config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
10740 2002-09-20 Hans-Peter Nilsson <hp@bitrange.com>
10742 * config/mmix/mmix.md ("negdf2"): Rewrite.
10743 ("*expanded_negdf2"): New.
10745 2002-09-19 Jim Wilson <wilson@redhat.com>
10747 * combine.c (simplify_set): When optimizing a subreg src with a
10748 cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
10750 2002-09-19 Dale Johannesen <dalej@apple.com>
10751 * combine.c (make_extraction): Don't create
10754 2002-09-19 Roger Sayle <roger@eyesopen.com>
10756 * tree.c (integer_nonzerop): New predicate for nonzero integers.
10757 * tree.h (integer_nonzerop): Add function prototype.
10758 * stmt.c (expand_end_loop): Don't rotate the loop when there
10759 are no instructions in the test, i.e. the loop is unconditional.
10760 (expand_exit_loop_if_false): Optimize RTL generation of loop
10761 tests when the condition is always true or always false.
10762 * c-semantics.c (genrtl_do_stmt): Optimize RTL generation of
10763 do-loops when the condition is always true.
10764 (genrtl_for_stmt): Optimize RTL generation of for-loops when
10765 the for-expression is empty.
10767 2002-09-19 Zack Weinberg <zack@codesourcery.com>
10769 * gcc.c (use_pipes): New flag.
10770 (process_command): Set it. Adjust check for -pipe conflicting
10771 with -time or -save-temps.
10772 (do_spec_1): Use it. Handle %|SUFFIX, %mSUFFIX, and
10773 %<SWITCH. Drop %| (without a SUFFIX).
10774 (handle_braces): Drop %{<SWITCH}, %{^SWITCH}, %{|...}.
10775 (give_switch): Third argument eliminated.
10776 (invoke_as, @assembler_with_cpp spec): Use %|.s or %m.s
10777 depending on AS_NEEDS_DASH_FOR_PIPED_INPUT.
10778 (specs documentation comment): Update.
10780 * config/netbsd-aout.h, config/openbsd.h, config/ptx4.h,
10781 config/svr4.h, config/i386/freebsd-aout.h,
10782 config/m68k/netbsd-elf.h, config/m68k/netbsd.h,
10783 config/m68k/openbsd.h, config/mips/openbsd.h,
10784 config/sparc/sparc.h: Define AS_NEEDS_DASH_FOR_PIPED_INPUT
10785 instead of putting %| into ASM_SPEC and/or ASM_FINAL_SPEC.
10786 * config/avr/avr.h: Delete do-nothing ASM_FINAL_SPEC.
10787 * config/cris/cris.h: Update comment.
10789 * ada/lang-specs.h: Use %(invoke_as). Straighten out
10790 error messages. Don't use %{^SWITCH}.
10791 * ada/misc.c (gnat_decode_option): Handle -I with a
10794 * f/lang-specs.h: Use %| and %m.
10795 * java/jvspec.c: Use %m and %(invoke_as). Change all
10796 uses of %{<SWITCH} to %<SWITCH.
10798 * doc/invoke.texi: Update documentation of specs.
10799 * doc/tm.texi: Document AS_NEEDS_DASH_FOR_PIPED_INPUT.
10801 2002-09-19 Ulrich Weigand <uweigand@de.ibm.com>
10803 * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
10804 and STRICT_LOW_PART within SET_DEST.
10805 * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
10806 splitters, replacing pre-reload splitters.
10807 ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
10808 "*zero_extendqihi2_31"): New insns.
10809 ("*zero_extendqihi2_64"): Do not clobber CC.
10811 2002-09-18 Devang Patel <dpatel@apple.com>
10813 * cp/cp-tree.h: New prototype for walk_vtables().
10814 * cp/decl.c (walk_vtables_r): New function.
10815 (struct cp_binding_level): Add new members, namespaces,
10816 names_size and vtables.
10817 (add_decl_to_level): Add decl in namespaces or vtables
10818 chain, if conditions match.
10819 (walk_vtables): New function.
10820 (walk_namespaces_r): Travers separate namespace chain
10821 for namespace decls.
10822 (wrapup_globals_for_namespace): Use names_size instead
10824 * cp/decl2.c (finish_file): Use walk_vtables() instead of
10825 walk_globals() to walk vtable decls.
10827 2002-09-19 Steve Ellcey <sje@cup.hp.com>
10829 * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
10830 (DTORS_SECTION_ASM_OP): Ditto.
10831 (READONLY_DATA_SECTION_ASM_OP): Moved.
10832 (DATA_SECTION_ASM_OP): New.
10833 (SDATA_SECTION_ASM_OP): New.
10834 (BSS_SECTION_ASM_OP): New.
10835 (SBSS_SECTION_ASM_OP): New.
10836 (TEXT_SECTION_ASM_OP): New.
10838 2002-09-19 Kazu Hirata <kazu@cs.umass.edu>
10840 * config/fp-bit.c: Follow spelling conventions.
10841 * config/d30v/d30v.c: Likewise.
10842 * config/d30v/d30v.h: Likewise.
10843 * config/fr30/fr30.c: Likewise.
10844 * config/fr30/fr30.h: Likewise.
10845 * config/fr30/fr30.md: Likewise.
10846 * config/frv/frv.c: Likewise.
10847 * config/frv/frv.h: Likewise.
10848 * config/h8300/h8300.c: Likewise.
10849 * config/h8300/lib1funcs.asm: Likewise.
10850 * config/i370/i370.c: Likewise.
10851 * config/i386/i386.h: Likewise.
10852 * config/i386/i386.md: Likewise.
10853 * config/i386/pentium.md: Likewise.
10854 * config/i386/winnt.c: Likewise.
10855 * config/i960/i960.c: Likewise.
10856 * config/ia64/ia64.h: Likewise.
10857 * config/ip2k/ip2k.c: Likewise.
10858 * config/ip2k/ip2k.h: Likewise.
10859 * config/ip2k/ip2k.md: Likewise.
10860 * config/ip2k/libgcc.S: Likewise.
10862 2002-09-19 Stephen Clarke <stephen.clarke@superh.com>
10864 * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
10865 (GOTOFF_P): Extend to allow gotoff plus constant.
10867 2002-09-18 Richard Henderson <rth@redhat.com>
10869 * ifcvt.c (noce_process_if_block): Correctly detect X modified
10870 with INSN_B before COND_EARLIEST. Don't check A and B for
10871 modification in condition range. Reorder INSN_B for A==B properly.
10872 (if_convert): Iterate until no matches for a block.
10874 2002-09-18 Richard Henderson <rth@redhat.com>
10876 * calls.c (store_one_arg): Rename default_align to parm_align;
10877 always adjust parm_align for downward padding.
10879 2002-09-18 Richard Henderson <rth@redhat.com>
10881 * toplev.c (backend_init): Move init_real_once invocation ...
10882 (do_compile): ... here.
10884 2002-09-18 Richard Henderson <rth@redhat.com>
10886 * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
10887 RTX_UNCHANGING_P markers for successful tail-recursive replacement.
10889 2002-09-18 Richard Henderson <rth@redhat.com>
10891 * real.c (round_for_format): Collect sticky as unsigned long, not bool.
10893 2002-09-19 Alan Modra <amodra@bigpond.net.au>
10895 * config/rs6000/rs6000.md: (floatdisf2): Rename to
10896 floatdisf2_internal1.
10897 (floatdisf2): New define_expand.
10898 (floatdisf2_internal2): Likewise.
10900 2002-09-18 Richard Henderson <rth@redhat.com>
10902 * real.c (sticky_rshift_significand): Collect sticky as
10903 unsigned long, not bool.
10905 2002-09-18 Ulrich Weigand <uweigand@de.ibm.com>
10907 * config/s390/s390.c (s390_address_cost): New function.
10908 config/s390/s390-protos.h (s390_address_cost): Add prototype.
10909 config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
10910 (RTX_COST): Use COSTS_N_INSNS.
10912 2002-09-18 Douglas Rupp <rupp@gnat.com>
10913 Donn Terry <donnte@microsoft.com>
10915 * stor-layout.c (place_field): Handle alignment of whole
10916 structures when MSVC compatible bitfields are involved.
10917 Change method of computing location of MS bitfields to
10918 be compatible with #pragma pack(n).
10920 * tree.h (record_layout_info): Add new field
10921 remaining_in_alignment.
10923 * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
10924 (pragma pack): Add paragraph on MSVC bitfield packing.
10926 2002-09-18 Richard Earnshaw (reanrsha@arm.com)
10928 PR optimization/7967
10929 * arm.md (ne_zeroextractsi): Add clobber of the condition code
10932 2002-09-18 Kazu Hirata <kazu@cs.umass.edu>
10934 * config/s390/s390.c: Follow spelling conventions.
10935 * config/sh/lib1funcs.asm: Likewise.
10936 * config/sh/sh.c: Likewise.
10937 * config/sh/sh.h: Likewise.
10938 * config/sparc/sparc.c: Likewise.
10939 * config/sparc/sparc.h: Likewise.
10940 * config/sparc/sparc.md: Likewise.
10941 * config/stormy16/stormy16.c: Likewise.
10942 * config/stormy16/stormy16.h: Likewise.
10943 * config/v850/v850.c: Likewise.
10944 * config/v850/v850.h: Likewise.
10945 * config/vax/vax.c: Likewise.
10946 * config/vax/vax.h: Likewise.
10948 2002-09-18 Nick Clifton <nickc@redhat.com>
10950 * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
10951 * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
10952 * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
10954 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
10956 * function.c (max_parm_reg_num): Remove.
10957 * stmt.c (in_control_zone_p, stmt_loop_nest_empty,
10958 drop_through_at_end_p, move_cleanups_up,
10959 expand_end_case_dummy, case_index_expr_type): Likewise.
10960 * stor-layout.c (pos_from_byte): Likewise.
10961 * tree.c (chain_member_value, chain_member_purpose, listify,
10962 tree_int_cst_msb, index_type_equal): Likewise.
10963 * tree.h: Remove prototypes for unused functions.
10965 2002-09-17 Zack Weinberg <zack@codesourcery.com>
10967 * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
10968 statement that the only translation is to en_UK.
10970 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
10972 * config/alpha/alpha.c: Follow spelling conventions.
10973 * config/alpha/alpha.h: Likewise.
10974 * config/alpha/alpha.md: Likewise.
10975 * config/arc/arc.h: Likewise.
10976 * config/arm/arm.c: Likewise.
10977 * config/arm/arm.h: Likewise.
10978 * config/arm/arm.md: Likewise.
10979 * config/arm/pe.c: Likewise.
10980 * config/arm/unknown-elf.h: Likewise.
10981 * config/avr/avr.c: Likewise.
10982 * config/avr/avr.h: Likewise.
10983 * config/c4x/c4x.c: Likewise.
10984 * config/cris/cris.c: Likewise.
10985 * config/cris/cris.h: Likewise.
10987 2002-09-17 Samuel Figueroa <figueroa@apple.com>
10989 * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
10990 * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
10991 * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
10993 2002-09-17 Dale Johannesen <dalej@apple.com>
10995 * cfgcleanup.c (try_forward_edges): Do not forward a
10996 branch to just after a loop exit before loop optimization;
10997 this interfered with doloop detection.
10999 2002-09-17 Nick Clifton <nickc@redhat.com>
11001 * config/arm/arm.c (output_return_instruction): Do not
11002 writeback the stack pointer when it is being loaded.
11003 (arm_output_epilogue): Likewise.
11005 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
11007 * optabs.c (prepare_cmp_insn): Let emit_library_call_value
11008 generate a pseudo reg that receives the result of a libcall.
11009 (prepare_float_lib_cmp): Likewise.
11011 2002-09-17 Steve Ellcey <sje@cup.hp.com>
11013 * config/ia64/elf.h: Remove CPP_PREDEFINES.
11015 Tue Sep 17 13:58:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
11017 Fix PR/7014 and related objc bugs:
11018 * c-typeck.c (comp_target_types): Added a reflexive argument.
11019 Pass it to ObjC when/if calling objc_comptypes(). Updated all
11020 callers to provide the appropriate reflexive argument.
11021 * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
11022 typechecking for all cases of comparisons and assignments,
11023 particularly the obscure and less common ones involving protocols.
11025 2002-09-17 Nick Clifton <nickc@redhat.com>
11027 * machmode.def (V1DImode): New mode. A single element vector.
11028 * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
11029 (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
11030 * tree.c (build_common_tree_nodes_2): Build
11031 unsigned_V1DI_type_node and V1D1_type_node.
11032 * c-common.c (c_common_type_for_mode): Return
11033 unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
11034 * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
11036 Tue Sep 17 13:40:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
11038 * doc/objc.texi (Constant string objects): Extended documentation
11039 to make clear that the constant string class ivar layout is
11042 2002-09-17 Roger Sayle <roger@eyesopen.com>
11044 * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
11045 NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
11047 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
11049 * config/mips/mips.c (save_restore_insns): Remove unused variable.
11050 * gcc.c (make_relative_prefix): Likewise.
11051 * loop.c (check_final_value): Likewise.
11052 * jump.c (init_label_info): Remove return value.
11053 * cse.c (prev_insn): Move variable between #ifdef HAVE_cc0 ... #endif.
11055 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11057 * dsp16xx.h (ASM_FORMAT_PRIVATE_NAME): Delete.
11058 (ASM_PN_FORMAT): Define.
11060 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11062 * alpha.h, alpha/vms.h, arc.h, arm/aof.h, arm/aout.h, avr.h,
11063 c4x.h, cris.h, d30v.h, fr30.h, frv.h, h8300.h, i370.h, i386.h,
11064 i960.h, ia64.h, ip2k.h, m32r.h, m68hc11.h, m68k/3b1.h,
11065 m68k/hp320.h, m68k.h, m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h,
11066 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
11067 pa.h, pdp11.h, romp.h, rs6000.h, s390/linux.h, sh.h, sparc.h,
11068 stormy16.h, v850.h, vax.h, xtensa.h (ASM_FORMAT_PRIVATE_NAME):
11070 * alpha/vms.h, h8300.h, i370.h, ia64.h, m68k/3b1.h, m68k/hp320.h,
11071 m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h, mmix.h, mn10200.h,
11072 mn10300.h, pa.h, v850.h (ASM_PN_FORMAT): Define.
11074 * defaults.h (ASM_PN_FORMAT, ASM_FORMAT_PRIVATE_NAME): Define.
11075 * doc/tm.texi (ASM_FORMAT_PRIVATE_NAME): Update documentation.
11077 2002-09-16 Richard Henderson <rth@redhat.com>
11079 * expr.c (emit_block_move): Set memory block size as appropriate
11082 2002-09-16 Richard Henderson <rth@redhat.com>
11085 * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
11087 2002-09-16 Richard Henderson <rth@redhat.com>
11089 * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
11090 as well as OFFSET for BITPOS.
11092 2002-09-16 Jeff Garzik <jgarzik@mandrakesoft.com>
11094 * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
11095 * config/i386/i386.c (processor_alias_table): Add winchip-c6,
11097 * doc/invoke.texi: Mention new aliases.
11099 2002-09-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
11101 * calls.c (store_one_arg): Set default alignment for BLKmode arguments
11102 to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
11104 * function.c (pad_below): Always compile.
11105 (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
11106 alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
11107 Pad below when the argument is not in a register and the padding
11108 direction is downward.
11110 * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
11111 (PAD_VARARGS_DOWN): Define.
11112 * pa.c (function_arg_padding): Revise padding directions to make them
11113 compatible with the 32 and 64-bit runtime architecture documentation.
11114 (hppa_va_arg): Add code to handle variable and size zero arguments
11115 passed by reference on TARGET_64BIT. Reformat.
11116 (function_arg): Use a PARALLEL for BLKmode and aggregates args on
11117 TARGET_64BIT. Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
11118 wide when !TARGET_64BIT. Move forward check for mode==VOIDmode.
11120 * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
11121 (RETURN_IN_MEMORY): Return size zero types in memory.
11122 (FUNCTION_VALUE): Return TFmode in general registers.
11123 (MUST_PASS_IN_STACK): Define.
11124 (FUNCTION_ARG_BOUNDARY): Simplify.
11125 (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
11127 (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
11129 2002-09-16 Richard Henderson <rth@redhat.com>
11131 * real.c (do_fix_trunc): New.
11132 (real_arithmetic): Call it.
11133 * simplify-rtx.c (simplify_unary_operation): Handle FIX
11134 with a floating-point result mode.
11136 2002-09-16 Richard Henderson <rth@redhat.com>
11138 * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
11139 (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
11140 * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
11141 (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
11142 * builtins.c (fold_builtin_nan): New.
11143 (fold_builtin): Call it.
11144 * real.c (real_nan): Parse a non-empty string.
11145 (round_for_format): Fix NaN significand truncation.
11146 * real.h (real_nan): Return bool.
11147 * doc/extend.texi: Document new builtins.
11149 2002-09-16 Jason Merrill <jason@redhat.com>
11150 Danny Smith <dannysmith@users.sourceforge.net>
11152 * config/i386/winnt.c (ix86_handle_dll_attribute): Set
11153 DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
11154 (i386_pe_mark_dllimport): Not here.
11156 2002-09-16 Nathan Sidwell <nathan@codesourcery.com>
11158 * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
11160 2002-09-16 Geoffrey Keating <geoffk@redhat.com>
11162 * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
11163 warnings about unused operands when HOST_BITS_PER_WIDE_INT is
11165 (rs6000_emit_cmove): Use real_isinf not target_isinf.
11167 2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
11169 * calls.c (emit_library_call_value_1): Don't refer to
11170 hard_libcall_value.
11171 * optabs.c (prepare_float_lib_cmp): Likewise.
11173 2002-09-16 Geoffrey Keating <geoffk@apple.com>
11175 * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
11178 The following changes are merged from pch-branch:
11180 * doc/gty.texi (GTY Options): Document %a.
11181 * gengtype.c (do_scalar_typedef): New function.
11182 (process_gc_options): Handle `length' option.
11183 (set_gc_used_type): A pointer to an array of structures doesn't
11184 qualify as a pointer to a structure.
11185 (output_escaped_param): Add `%a' escape.
11186 (write_gc_structure_fields): Allow 'desc' on array of unions.
11187 (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
11190 * gengtype.c (enum rtx_code): Make global.
11191 (rtx_format): Make global.
11193 (gen_rtx_next): New.
11194 (write_rtx_next): New.
11195 (adjust_field_rtx_def): Skip fields marked by chain_next.
11196 (open_base_files): Delete redundant prototype.
11197 (write_enum_defn): New.
11198 (output_mangled_typename): Correct abort call.
11199 (write_gc_marker_routine_for_structure): Handle chain_next and
11200 chain_prev options.
11201 (finish_root_table): Don't output redundant \n.
11202 (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
11203 * c-tree.h (union lang_tree_node): Add chain_next option.
11205 * gengtype.h (NUM_PARAM): New definition.
11206 (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
11207 * gengtype.c (find_param_structure): New.
11208 (adjust_field_type): Handle param<n>_is option.
11209 (process_gc_options): Detect use_params option. Update callers.
11210 (set_gc_used_type): Add 'param' parameter, update callers. Handle
11211 'use_params' option.
11212 (open_base_files): Add splay-tree.h to list of files included.
11213 (output_mangled_typename): New.
11214 (write_gc_structure_fields): Update 'param' parameter to support
11215 multiple parameters. Change name mangling. Allow parameterized
11216 fields to have an apparent scalar type. Handle param<n>_is options,
11218 (write_gc_marker_routine_for_structure): Update for change to name
11219 mangling. Better guess the output file for parameterized types.
11220 (write_gc_types): Update for change to name mangling.
11221 (write_gc_root): Update for change to name mangling. Handle (ignore)
11222 param<n>_is options.
11223 * doc/gty.texi (GTY Options): Add description of param<n>_is
11224 options, use_params option.
11225 * ggc.h (ggc_mark_rtx): Update for changed name mangling.
11226 * gengtype-lex.l: Produce token for param<n>_is.
11227 * gengtype-yacc.y: Parse param<n>_is.
11229 * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
11231 * rtl.c: Update comment describing rtx_format.
11232 * rtl.h (union rtunion): Separate definition and typedef.
11233 (struct rtx_def): Use gengtype to mark.
11234 * Makefile.in (gengtype.o): Also depend on rtl.def.
11235 * ggc.h (ggc_mark_rtx_children): Delete prototype.
11236 (ggc_mark_rtx): Change to alias of gengtype-generated routine.
11237 * ggc-common.c (ggc_mark_rtx_children): Delete.
11238 (ggc_mark_rtx_children_1): Delete.
11239 (gt_ggc_m_rtx_def): Delete.
11240 * gengtype.c (adjust_field_rtx_def): New.
11241 (adjust_field_type): Call adjust_field_rtx_def.
11242 (write_gc_structure_fields): Add 'default' case to switch if none
11243 is specified; remove unused code.
11245 * tree.h (struct tree_exp): Update for change to meaning
11247 * gengtype.c (adjust_field_tree_exp): New function.
11248 (adjust_field_type): Handle `tree_exp' special here.
11249 (write_gc_structure_fields): Don't handle `tree_exp' special here.
11250 Handle new `dot' option.
11252 * gengtype.h: Make `info' a pointer-to-const.
11253 * gengtype-yacc.y (yacc_ids): Use xasprintf.
11255 * gengtype.c (write_gc_structure_fields): Remove implementation
11256 of `always' option, add `default' option.
11257 * doc/gty.texi (GTY Options): Remove documentation of `always',
11260 2002-09-16 Hans-Peter Nilsson <hp@bitrange.com>
11262 * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
11264 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11266 * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
11268 * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
11269 instead of the *-protos.h file directly.
11270 * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
11271 * darwin.c (machopic_output_stub): Move prototype ...
11272 * darwin-protos.h (machopic_output_stub): ... here.
11273 * rs6000-protos.h (machopic_output_stub): Don't declare.
11275 2002-09-16 Richard Henderson <rth@redhat.com>
11277 * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
11279 2002-09-16 Richard Henderson <rth@redhat.com>
11281 * real.c, real.h: Rewrite from scratch.
11283 * Makefile.in (simplify-rtx.o): Depend on TREE_H.
11284 (paranoia): New target.
11285 * builtins.c (fold_builtin_inf): Use new real.h interface.
11286 * c-common.c (builtin_define_with_hex_fp_value): Likewise.
11287 * c-lex.c (interpret_float): Likewise.
11288 * emit-rtl.c (gen_lowpart_common): Likewise.
11289 * optabs.c (expand_float): Use real_2expN.
11290 * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
11291 * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
11292 (FLOAT_WORDS_BIG_ENDIAN): New.
11293 * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
11294 directly to REAL_VALUE_NEGATIVE.
11295 * loop.c (canonicalize_condition): Likewise.
11296 * simplify-rtx.c: Include tree.h.
11297 (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
11298 with floating-point result modes.
11299 * toplev.c (backend_init): Call init_real_once.
11301 * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
11302 * tree.c (build_real): Likewise.
11303 * config/alpha/alpha.c, config/vax/vax.c (float_strings,
11304 float_values, inited_float_values, check_float_value): Remove.
11305 * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
11306 config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
11307 * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
11308 (VAX_HALFWORD_ORDER): Remove.
11310 2002-09-16 Ulrich Weigand <uweigand@de.ibm.com>
11312 * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
11313 (s390_load_address): ... this new function.
11314 (s390_decompose_address): Allow the argument pointer and all
11315 virtual registers as 'pointer' registers.
11316 (s390_expand_plus_operand): Use s390_load_address.
11317 config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
11318 ("force_la_31"): New insn pattern.
11319 config/s390/s390-protos.h (legitimize_la_operand): Remove.
11320 (s390_load_address): Add prototype.
11322 * config/s390/s390.c: Include "optabs.h".
11323 (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
11324 config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
11325 s390_expand_cmpstr): Add prototypes.
11326 config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
11327 ("movstrdi_short"): Rename to "movstr_short_64". Change predicates
11328 for operands 0 and 1 to "memory_operand". Add type attribute.
11329 ("movstrsi_short"): Rename to "movstr_short_31". Change predicates
11330 for operands 0 and 1 to "memory_operand". Add type attribute.
11331 ("movstrdi_long", "movstrsi_long"): Remove.
11332 ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
11333 ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
11334 ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
11335 ("clrstrsico"): Remove, replace by ...
11336 ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
11337 ("clrstrsi_64"): Rename to "clrstr_long_64".
11338 ("clrstrsi_31"): Rename to "clrstr_long_31".
11339 ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
11340 ("cmpstr_const"): Remove, replace by ...
11341 ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
11342 ("cmpstr_64"): Rename to "cmpstr_long_64".
11343 ("cmpstr_31"): Rename to "cmpstr_long_31".
11345 2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
11347 * ABOUT-NLS: Follow spelling conventions.
11348 * ChangeLog: Likewise.
11349 * ChangeLog.1: Likewise.
11350 * ChangeLog.2: Likewise.
11351 * ChangeLog.3: Likewise.
11352 * ChangeLog.4: Likewise.
11353 * ChangeLog.5: Likewise.
11354 * ChangeLog.6: Likewise.
11355 * FSFChangeLog.10: Likewise.
11356 * FSFChangeLog.11: Likewise.
11357 * c-common.c: Likewise.
11358 * c-lex.c: Likewise.
11359 * c-objc-common.c: Likewise.
11360 * cppexp.c: Likewise.
11361 * cppinit.c: Likewise.
11362 * cpplex.c: Likewise.
11363 * doloop.c: Likewise.
11364 * flow.c: Likewise.
11365 * function.c: Likewise.
11366 * integrate.c: Likewise.
11367 * loop.c: Likewise.
11368 * reg-stack.c: Likewise.
11369 * reload.h: Likewise.
11372 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11374 * Makefile.in (vmsdbgout.o): Depend on $(TARGET_H)
11375 * vmsdbgout.c: Include "target.h".
11377 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
11379 * ChangeLog: Follow spelling conventions.
11380 * ChangeLog.0: Likewise.
11381 * ChangeLog.1: Likewise.
11382 * ChangeLog.2: Likewise.
11383 * ChangeLog.4: Likewise.
11384 * ChangeLog.6: Likewise.
11385 * config.gcc: Likewise.
11386 * dwarfout.c: Likewise.
11387 * reload1.c: Likewise.
11388 * simplify-rtx.c: Likewise.
11389 * unwind-sjlj.c: Likewise.
11390 * config/avr/avr.h: Likewise.
11391 * config/d30v/d30v.h: Likewise.
11392 * config/frv/frv.c: Likewise.
11393 * config/frv/frv.h: Likewise.
11394 * config/ip2k/ip2k.h: Likewise.
11395 * config/m88k/m88k-move.sh: Likewise.
11396 * config/stormy16/stormy16.c: Likewise.
11397 * config/stormy16/stormy16.h: Likewise.
11398 * doc/extend.texi: Likewise.
11399 * doc/interface.texi: Likewise.
11400 * doc/invoke.texi: Likewise.
11401 * doc/md.texi: Likewise.
11402 * doc/rtl.texi: Likewise.
11403 * doc/tm.texi: Likewise.
11404 * doc/trouble.texi: Likewise.
11405 * ginclude/float.h: Likewise.
11406 * treelang/treelang.texi: Likewise.
11408 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11410 * i386-protos.h (i386_pe_dllexport_name_p,
11411 i386_pe_dllimport_name_p, i386_pe_unique_section,
11412 i386_pe_declare_function_type, i386_pe_record_external_function,
11413 i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
11415 * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
11416 * i386/t-interix (winnt.o): Likewise.
11418 * v850-protos.h (v850_output_addr_const_extra): Prototype.
11420 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
11422 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
11423 MIPS ABI CPP macros.
11424 (TARGET_CPU_CPP_BUILTINS): Redefine.
11425 (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
11426 (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
11428 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11430 * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
11432 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
11434 * ChangeLog: Follow spelling conventions.
11435 * ChangeLog.0: Likewise.
11436 * ChangeLog.1: Likewise.
11437 * ChangeLog.2: Likewise.
11438 * ChangeLog.3: Likewise.
11439 * ChangeLog.4: Likewise.
11440 * ChangeLog.5: Likewise.
11441 * ChangeLog.6: Likewise.
11442 * FSFChangeLog.10: Likewise.
11443 * FSFChangeLog.11: Likewise.
11444 * c-common.c: Likewise.
11445 * c-common.h: Likewise.
11446 * c-format.c: Likewise.
11447 * c-opts.c: Likewise.
11448 * cpplib.c: Likewise.
11449 * langhooks.h: Likewise.
11450 * real.c: Likewise.
11451 * reg-stack.c: Likewise.
11452 * toplev.c: Likewise.
11453 * config/arm/arm.c: Likewise.
11454 * config/arm/arm.md: Likewise.
11455 * config/arm/linux-gas.h: Likewise.
11456 * config/arm/netbsd.h: Likewise.
11457 * config/c4x/c4x.c: Likewise.
11458 * config/c4x/c4x.h: Likewise.
11459 * config/c4x/c4x.md: Likewise.
11460 * config/c4x/libgcc.S: Likewise.
11461 * config/fr30/fr30.md: Likewise.
11462 * config/frv/frv.md: Likewise.
11463 * config/ia64/ia64.md: Likewise.
11464 * config/mips/mips.h: Likewise.
11465 * config/mn10300/mn10300.c: Likewise.
11466 * config/stormy16/stormy16.c: Likewise.
11467 * config/v850/v850.md: Likewise.
11468 * doc/extend.texi: Likewise.
11469 * doc/invoke.texi: Likewise.
11470 * doc/md.texi: Likewise.
11472 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
11474 * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
11475 library if -pthread is specified.
11477 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
11479 * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
11480 for --enable-threads=yes and --enable-threads=posix.
11482 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
11484 * config/sparc/cypress.md: Replace Sparc with SPARC.
11485 * config/sparc/freebsd.h: Likewise.
11486 * config/sparc/gmon-sol2.c: Likewise.
11487 * config/sparc/hypersparc.md: Likewise.
11488 * config/sparc/lb1spc.asm: Likewise.
11489 * config/sparc/lb1spl.asm: Likewise.
11490 * config/sparc/linux.h: Likewise.
11491 * config/sparc/linux64.h: Likewise.
11492 * config/sparc/lynx.h: Likewise.
11493 * config/sparc/sol2.h: Likewise.
11494 * config/sparc/sparc-modes.def: Likewise.
11495 * config/sparc/sparc.c: Likewise.
11496 * config/sparc/sparc.h: Likewise.
11497 * config/sparc/sparc.md: Likewise.
11498 * config/sparc/sparclet.md: Likewise.
11499 * config/sparc/supersparc.md: Likewise.
11500 * config/sparc/sysv4.h: Likewise.
11501 * config/sparc/vxsim.h: Likewise.
11502 * config/sparc/vxsparc64.h: Likewise.
11504 2002-09-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11506 * c-lex.c (cb_ident): Mark variable with ATTRIBUTE_UNUSED.
11507 * collect2.c (ignore_library, aix_std_libs): Move into the context
11509 * m68hc11.c (m68hc11_autoinc_compatible_p): Delete prototype.
11510 (autoinc_mode, m68hc11_make_autoinc_notes): Add prototypes.
11511 * m88k.c (output_call): Wrap variables with macro controlling use.
11512 * rs6000.md: Likewise. Const-ify variable.
11513 * sh.h (ASM_OUTPUT_LABELREF): Likewise.
11514 * final.c (only_leaf_regs_used): Likewise.
11515 * regrename.c (maybe_mode_change): Mark parameter with
11517 * reload.c (find_valid_class): Likewise. Likewise for variable.
11518 (find_reloads_address_1): Likewise.
11519 * varasm.c (weak_finish): Wrap variable with macro controlling use.
11521 2002-09-14 Marek Michalkiewicz <marekm@amelek.gda.pl>
11523 * config/avr/avr.c (output.h): Move after inclusion of tree.h.
11525 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
11527 * ChangeLog: Follow spelling conventions.
11528 * ChangeLog.0: Likewise.
11529 * ChangeLog.2: Likewise.
11530 * ChangeLog.3: Likewise.
11531 * ChangeLog.4: Likewise.
11532 * ChangeLog.5: Likewise.
11533 * ChangeLog.6: Likewise.
11534 * cppfiles.c: Likewise.
11535 * cppinit.c: Likewise.
11536 * cpplib.h: Likewise.
11538 * debug.h: Likewise.
11540 * dominance.c: Likewise.
11541 * hashtable.c: Likewise.
11542 * hashtable.h: Likewise.
11543 * loop.c: Likewise.
11544 * config/arm/README-interworking: Likewise.
11545 * config/arm/arm.c: Likewise.
11546 * config/arm/arm.h: Likewise.
11547 * config/arm/arm.md: Likewise.
11548 * config/dsp16xx/dsp16xx.h: Likewise.
11549 * config/frv/frv.c: Likewise.
11550 * config/frv/frv.h: Likewise.
11551 * config/ip2k/ip2k.h: Likewise.
11552 * config/rs6000/rs6000.c: Likewise.
11553 * config/stormy16/stormy-abi: Likewise.
11554 * config/stormy16/stormy16.h: Likewise.
11555 * config/v850/v850.c: Likewise.
11557 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
11559 * loop.c: Fix a comment typo.
11561 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
11563 * config/fr30/fr30.h: Fix comment typos.
11564 * config/frv/frv.c: Likewise.
11565 * config/i386/xmmintrin.h: Likewise.
11566 * config/mips/mips.c: Likewise.
11567 * config/sh/sh.c: Likewise.
11569 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
11571 * haifa-sched.c: Follow spelling conventions.
11572 * regclass.c: Likewise.
11573 * regrename.c: Likewise.
11574 * config/fp-bit.c: Likewise.
11575 * config/frv/frv.h: Likewise.
11576 * config/m88k/m88k.c: Likewise.
11577 * config/mcore/mcore.c: Likewise.
11578 * config/rs6000/darwin.h: Likewise.
11579 * config/rs6000/gnu.h: Likewise.
11580 * config/rs6000/linux.h: Likewise.
11581 * config/rs6000/linux64.h: Likewise.
11582 * config/rs6000/rs6000.c: Likewise.
11583 * config/rs6000/rs6000.h: Likewise.
11584 * config/sh/sh.c: Likewise.
11585 * config/sparc/sparc.c: Likewise.
11586 * config/sparc/ultra1_2.md: Likewise.
11588 2002-09-14 Stephane Carrez <stcarrez@nerim.fr>
11590 * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
11591 memory operand when source is 0 (K constraint).
11592 ("movsi_internal"): Likewise.
11593 ("movdf_internal"): Likewise.
11594 ("movsf_internal"): Likewise.
11596 2002-09-14 Alan Modra <amodra@bigpond.net.au>
11598 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
11599 targetm.binds_local_p to set SYMBOL_REF_FLAG.
11600 (rs6000_xcoff_encode_section_info): Likewise.
11601 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
11603 2002-09-10 Theodore A. Roth <troth@verinet.com>
11605 * gcc/config/avr/avr.h: Set default options for C++ for avr.
11607 2002-09-13 Roger Sayle <roger@eyesopen.com>
11609 * stmt.c (struct nexting): Remove unused alt_end_label field.
11610 (expand_start_loop): Delete initialization of alt_end_label.
11611 (expand_start_null_loop): Likewise.
11612 (expand_exit_loop_if_false): Delete updating of alt_end_label.
11614 2002-09-13 Richard Henderson <rth@redhat.com>
11616 * Makefile.in (toplev.o): Depend on real.h.
11617 (print-rtl.o, varasm.o, ifcvt.o): Likewise.
11619 2002-09-14 Alan Modra <amodra@bigpond.net.au>
11621 * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
11622 * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
11623 * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
11625 2002-09-13 Nathan Sidwell <nathan@codesourcery.com>
11627 * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
11629 2002-09-13 Steve Ellcey <sje@cup.hp.com>
11631 * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
11632 ia64*-*-linux*): Set extra_parts.
11633 * config/ia64/t-aix (EXTRA_PARTS): Remove.
11634 * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
11636 2002-09-13 Kazu Hirata <kazu@cs.umass.edu>
11638 * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
11639 * config/h8300/h8300.c: Likewise.
11640 * config/h8300/h8300.h: Likewise.
11641 * config/h8300/h8300.md: Likewise.
11642 * doc/invoke.texi: Likewise.
11644 2002-09-13 Kazu Hirata <kazu@cs.umass.edu>
11646 * config/h8300/h8300.c (h8300_init_once): Fix formatting.
11648 2002-09-13 Richard Henderson <rth@redhat.com>
11650 * config/alpha/alpha.md (attr type): Add callpal.
11651 (imb, trap, load_tp, set_tp): Use it.
11652 * config/alpha/ev4.md (ev4_callpal): New.
11653 * config/alpha/ev5.md (ev5_callpal): New.
11654 * config/alpha/ev6.md (ev6_ibr): Handle callpal.
11655 * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
11656 (alphaev5_insn_pipe): Likewise.
11658 2002-09-13 Andreas Jaeger <aj@suse.de>
11660 * Makefile.in (print-rtl.o): Depend on CONFIG_H.
11662 2002-09-13 Steve Ellcey <sje@cup.hp.com>
11664 * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
11665 LIB2ADDEH): New, set to NULL.
11666 (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
11668 2002-09-13 Steve Ellcey <sje@cup.hp.com>
11670 * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
11671 (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
11672 (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
11674 (_U_Qfneg): Remove.
11676 2002-09-13 Dhananjay Deshpande <dhananjayd@kpit.com>
11678 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
11679 for H8/300, H8S aa:8 mode.
11680 (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
11681 * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
11682 for H8/300 aa:8 mode.
11684 2002-09-13 Hartmut Penner <hpenner@de.ibm.com>
11686 * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
11689 2002-09-12 Richard Henderson <rth@redhat.com>
11691 * Makefile.in (HOST_PRINT): Use print-rtl1.o
11692 (print-rtl.o): Don't define GENERATOR_FILE.
11693 (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
11694 * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
11695 unless GENERATOR_FILE.
11697 2002-09-12 Stan Shebs <shebs@apple.com>
11699 * config/darwin.h (USER_LABEL_PREFIX): Define here...
11700 * config/i386/darwin.h: ... instead of here.
11702 * target.h (struct gcc_target): New field
11703 terminate_dw2_eh_frame_info.
11704 * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
11705 (TARGET_INITIALIZER): Add it.
11706 * dwarf2out.c (output_call_frame_info): Use target hook.
11707 * dwarf2asm.c (dw2_asm_output_delta): Use macro
11708 ASM_OUTPUT_DWARF_DELTA if defined.
11709 * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
11710 (ASM_OUTPUT_DWARF_DELTA): Ditto.
11711 (ASM_OUTPUT_DWARF_OFFSET): Ditto.
11712 (ASM_OUTPUT_DWARF_PCREL): Ditto.
11713 * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
11714 (powerpc-*-darwin*): Ditto.
11715 * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
11716 to work correctly for Darwin.
11717 * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
11718 (STARTFILE_SPEC): Add crtbegin.o.
11719 (ENDFILE_SPEC): Define.
11720 (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
11721 (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
11722 (ASM_OUTPUT_DWARF_DELTA): Define.
11723 (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
11724 * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
11726 2002-09-13 Alan Modra <amodra@bigpond.net.au>
11728 * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
11729 nesting. Correct test for non-PowerPC64 ELF ABI_AIX.
11730 * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
11732 2002-09-12 Zack Weinberg <zack@codesourcery.com>
11734 * toplev.c: Move default definition of USER_LABEL_PREFIX...
11735 * defaults.h: ... here.
11737 2002-09-12 Richard Henderson <rth@redhat.com>
11739 * vax.c: Include tree.h earlier.
11741 2002-09-12 Stan Shebs <shebs@apple.com>
11743 * config/darwin.c (machopic_finish): Remove #if 0 chunks.
11744 (machopic_operand_p): Ditto.
11746 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
11748 * config/arm/arm.c (arm_compute_initial_elimination_offset):
11749 Fix a comment typo.
11751 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
11753 * toplev.c (do_abort): Fix a comment typo.
11755 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
11757 * cselib.c: Fix comment formatting.
11758 * gengtype.c: Likewise.
11760 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
11762 * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
11763 (udivmodhi4): Likewise.
11765 2002-09-12 Graham Stott <graham.stott@btinternet.com>
11766 Roger Sayle <roger@eyesopen.com>
11768 * i386.c (any_fp_register_operand, fp_register_operand,
11769 register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
11770 New predicate functions.
11771 * i386-protos.h: Add their prototypes.
11772 * i386.h: Add them to PREDICATE_CODES.
11773 * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
11774 "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
11775 "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
11776 "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
11777 "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
11778 "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
11779 "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
11780 "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
11781 "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
11782 "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
11783 "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
11784 Use these new predicates to simplify and correct the use of
11785 FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
11787 2002-09-12 Jason Merrill <jason@redhat.com>
11789 * diagnostic.c (output_add_identifier): New fn.
11790 * diagnostic.h: Declare it.
11792 * calls.c (store_one_arg): Use size_in_bytes to determine the
11793 amount of space to push.
11795 2002-09-12 Jakub Jelinek <jakub@redhat.com>
11797 * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
11799 2002-09-12 Ulrich Weigand <uweigand@de.ibm.com>
11801 * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
11802 * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
11803 (s390_select_ccmode): Likewise.
11804 (s390_branch_condition_mask): Likewise.
11805 (optimization_options): Do not set flag_branch_on_count.
11806 (s390_split_branches): Handle doloop branches.
11807 (s390_chunkify_pool): Likewise.
11808 * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
11809 ("doloop_end"): New expander.
11810 ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
11811 associated splitters): New.
11813 2002-09-11 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
11815 * genattrtab.c (simplify_cond): Remove unused variable(s).
11816 * global.c (record_conflicts): Likewise.
11817 * jump.c (rebuild_jump_labels): Likewise.
11818 * loop.c (scan_loop, check_final_value): Likewise.
11819 * ra-colorize.c (colorize_one_web, assign_colors): Likewise.
11820 * reload1.c (eliminate_regs_in_insn, do_input_reload): Likewise.
11821 * rtlanal.c (reg_set_p): Likewise.
11822 * stmt.c (expand_asm_operands, expand_decl): Likewise.
11823 * genautomata.c (empty_reserv): Remove.
11824 * loop.c (max_luid): Likewise.
11825 * sched-rgn.c (bitlst_table_size): Likewise.
11827 2002-09-11 Nathan Sidwell <nathan@codesourcery.com>
11829 Reimplement gcov format.
11830 * gcov-io.h: Replace.
11831 * gcov.c: Reimplement.
11832 * gcov-iov.c: New file.
11833 * gcov-dump.c: New file.
11834 * libgcc2.c (L_bb): Replace with ...
11835 (L_gcov): ... this.
11836 (struct bb_function_info, struct bb): Remove.
11837 (inhibit_libc): Never inhibit.
11838 (gcov_list, gcov_crc): New static variables.
11839 (gcov_version_mismatch): New static function.
11840 (__bb_exit_func): Renamed to ...
11841 (__gcov_exit): ... here. Made static. Reimplement.
11842 (__gcov_init_func): Rename to ...
11843 (__gcov_init): ... here. Check version, update crc.
11844 (__bb_fork_func): Rename to ...
11845 (__gcov_flush): ... here.
11846 * libgcc2.h (struct bb, __bb_exit_func, __bb_init_func,
11847 __bb_fork_func, gcov_type, __bb_find_arc_counters): Remove.
11848 * calls.c (expand_call): Call __gcov_flush.
11849 * profile.c (bb_file, last_bb_file_name): Remove.
11850 (bbg_file_name): New global variable.
11851 (output_gcov_string): Remove.
11852 (get_exec_counts): Reimplement.
11853 (branch_prob): Reimplement gcov file writing.
11854 (init_branch_prob): Create bbg_file_name, don't create
11856 (end_branch_prob): Adjust. Don't remove counter file when
11857 instrumenting ourselves.
11858 (create_profiler): Adjust.
11859 * doc/gcov.texi (Gcov Data Files): Remove detailed specification,
11860 point to gcov-io.h.
11861 * Makefile.in (LANGUAGES): Add gcov-dump.
11862 (coverageexts): Remove .bb.
11863 (STAGESTUFF): Add gcov-dump.
11864 (LIB2FUNCS_ST): Replace _bb with _gcov.
11865 (profile.o): Depend on gcov-iov.h.
11866 (final.o): Don't depend on profile.h, gcov.h.
11867 (gcov.o): Depend on gcov-iov.h.
11868 (gcov-iov.o): New target.
11869 (gcov-iov): New target.
11870 (gcov-iov.h): New target.
11871 (gcov-dump.o): New target.
11872 (GCOV_DUMP_OBJS): New variable.
11873 (gcov-dump): New target.
11874 (distclean): Remove coverageexts.
11875 (stage1): Remove coverageexts.
11877 2002-09-11 Hartmut Penner <hpenner@de.ibm.com>
11879 * fold-const.c (make_range): Only narrow to signed range if
11880 the signed range is smaller than the unsigned range.
11882 2002-09-12 Alan Modra <amodra@bigpond.net.au>
11884 * emit-rtl.c (set_mem_size): New function.
11885 * expr.h (set_mem_size): Declare.
11886 * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
11887 (expand_block_move): Instead, use adjust_address and
11888 replace_equiv_address to generate proper aliasing info.
11889 Move common code out of conditionals. Localize vars.
11891 2002-09-11 Eric Botcazou <ebotcazou@libertysurf.fr>
11893 * optabs.c (expand_binop): Minor cleanup.
11894 (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
11896 2002-09-11 Dan Nicolaescu <dann@ics.uci.edu>
11898 * print-tree.c (print_node): Print the restrict qualifier.
11900 2002-09-11 Janis Johnson <janis187@us.ibm.com>
11902 * doc/install.texi: Fix typos.
11904 2002-09-11 Zack Weinberg <zack@codesourcery.com>
11906 * Makefile.in: Remove all references to s-under and underscore.c.
11907 * collect2.c, tlink.c: Change all uses of prepends_underscore
11908 to look directly at USER_LABEL_PREFIX.
11910 2002-09-11 David Edelsohn <edelsohn@gnu.org>
11912 * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
11913 alignment to csect.
11914 (rs6000_xcoff_unique_section): Only set section name for public
11916 (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
11917 * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
11918 duplicate definition.
11920 2002-09-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
11922 * pa.md (extzv): Check predicates before emitting extzv_32.
11925 2002-09-10 Ulrich Weigand <uweigand@de.ibm.com>
11927 * config/s390/s390.h (MOVE_MAX): Define to correct value.
11928 (MAX_MOVE_MAX): Define.
11929 (MOVE_BY_PIECES_P): Define.
11930 (CLEAR_BY_PIECES_P): Define.
11932 2002-09-10 Denis Chertykov <denisc@overta.ru>
11934 * config/avr/avr.md (movstrhi): Use right operands for conversion.
11936 2002-09-10 Richard Earnshaw <rearnsha@arm.com>
11939 * arm.md (insv): Use reg_or_int_operand for operand[3].
11941 2002-09-10 David Edelsohn <edelsohn@gnu.org>
11943 * rs6000.c (rs6000_assemble_visibility): Protect declaration
11944 inside macro. Correct function definition typo.
11945 (rs6000_xcoff_section_type_flags): New function.
11946 (TARGET_SECTION_TYPE_FLAGS): Remove definition.
11947 (rs6000_elf_section_type_flags): Call default_section_type_flags_1
11948 with appropriate PIC test.
11949 (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
11950 determine readonly.
11951 (rs6000_binds_local_p): Combine PIC flags.
11952 * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
11953 * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
11955 2002-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11957 * h8300.md: Fix signed/unsigned warnings.
11958 * mcore.md: Likewise.
11959 * mn10300.c (mask_ok_for_mem_btst): Likewise.
11961 2002-09-09 Per Bothner <per@bothner.com>
11963 * print-tree.c (print_node): In a STRING_CST, escape non-ascii
11964 characters, and only print TREE_STRING_LENGTH chars.
11966 2002-09-09 Steve Ellcey <sje@cup.hp.com>
11968 * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
11969 (ASM_FILE_END) New.
11970 * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
11971 * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
11972 * config/ia64/ia64.c (ia64_asm_output_external): Create list
11973 of external functions if TARGET_HPUX_LD is true.
11974 (ia64_hpux_add_extern_decl): New, routine to put names on
11975 list of external functions.
11976 (ia64_hpux_asm_file_end): Put out declarations for external
11977 functions if and only if they are used.
11979 2002-09-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
11981 * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
11982 on TARGET_64BIT before pic register restore.
11984 2002-09-09 David Edelsohn <edelsohn@gnu.org>
11986 * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
11987 (TARGET_HAVE_TLS): New description.
11989 2002-09-09 Janis Johnson <janis187@us.ibm.com>
11991 * doc/extend.texi (Statement Exprs): Fix broken link.
11993 2002-09-09 Denis Chertykov <denisc@overta.ru>
11995 * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
11996 right conversion of operands[1].
11998 2002-09-09 Ulrich Weigand <uweigand@de.ibm.com>
12000 * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
12001 commutative. Use "nonimmediate_operand" instead of "register_operand"
12002 as predicate for operand 0. Move to after the "*tmXX_mem" insns.
12004 ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
12007 ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
12008 mark as commutative. Use "nonimmediate_operand" instead of
12009 "register_operand" as predicate for operand 1.
12011 ("movstrictsi"): Fix typo in insn name.
12013 2002-09-09 Jan Hubicka <jh@suse.cz>
12015 * i386.c (index_register_operand): New.
12016 * i386.h (predicate_codes): Add new predicate.
12017 * i386.md (lea_general_*): Use index_register_operand
12018 (ashift to lea splitter): Do not produce invalid leas
12019 (ashift to mov+ashift split): New.
12021 2002-09-09 Nick Clifton <nickc@redhat.com>
12023 * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
12026 2002-09-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
12027 J"orn Rennecke <joern.rennecke@superh.com>
12029 * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
12031 2002-09-09 Alan Modra <amodra@bigpond.net.au>
12033 * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
12034 (function_ok_for_sibcall): Use binds_local_p. Respect longcall
12037 2002-09-08 Nathan Sidwell <nathan@codesourcery.com>
12039 * basic_block.h (gcov_type): Explain why it is signed.
12040 * final.c: Don't include profile.h.
12041 (struct function_list, functions_head, functions_tail,
12042 end_final): Moved to profile.c
12043 (final): Move arc chaining code to profile.c.
12044 * function.c (prepare_function_start): Remove duplicate line.
12045 * output.h (end_final): Remove prototype.
12046 * predict.c (estimate_loops_at_level): Use gcov_type.
12047 * profile.c (struct function_list, functions_head,
12048 functions_tail): Moved from final.c
12049 (need_func_profiler): Remove.
12050 (instrument_edges): Don't set need_func_profiler.
12051 (get_exec_counts): Avoid signed/unsigned warning.
12052 (compute_checksum): Use crc32.
12053 (branch_prob): Adjust. Chain onto functions_head.
12054 (init_branch_prob): Absorb init_edge_profiler.
12055 (init_edge_profiler): Remove.
12056 (create_profiler): Moved and renamed from final.c:end_final.
12057 Emit data and constructor.
12058 (output_func_start_profiler): Remove.
12059 * profile.h (struct profile_info): checksum is unsigned.
12060 * rtl.h (output_func_start_profiler): Remove prototype.
12061 (create_profiler): Declare.
12062 * toplev.c (compile_file): Call create_profiler, if instrumenting
12063 arcs. Don't call end_final.
12065 2002-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12067 * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
12069 2002-09-08 Richard Henderson <rth@redhat.com>
12071 * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
12072 (DW_OP_GNU_push_tls_address): New.
12073 (DW_OP_lo_user): Fix.
12074 * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
12075 (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
12076 (size_of_loc_descr): Likewise.
12077 (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
12078 (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
12079 (loc_descriptor_from_tree): Handle TLS variables.
12080 (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
12081 (add_location_or_const_value_attribute): ... not here. Defer
12082 to loc_descriptor_from_tree for TLS variables.
12084 * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
12085 * config/i386/i386.c (i386_output_dwarf_dtprel): New.
12086 * config/i386/i386-protos.h: Update.
12088 2002-09-08 Roger Sayle <roger@eyesopen.com>
12090 PR optimization/6405
12091 * unroll.c (loop_iterations): last_loop_insn should be the previous
12092 non-note instruction before loop->end.
12093 * loop.c (strength_reduce): The conditional jump is the last
12094 non-note instruction before loop->end (as above).
12096 2002-09-08 Roger Sayle <roger@eyesopen.com>
12098 * combine.c (try_combine): Handle the case that undobuf.other_insn
12099 has been turned into a return or unconditional jump, by inserting
12100 a BARRIER if necessary.
12101 (simplify_set): Test if a condition code setter has a constant
12102 comparison at compile time, if so convert this insn to a no-op move
12103 and update/simplify the condition code user (undobuf.other_insn).
12105 2002-09-08 Krister Walfridsson <cato@df.lth.se>
12107 * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
12108 (CLEAR_INSN_CACHE): Define.
12110 2002-09-08 Kazu Hirata <kazu@cs.umass.edu>
12112 * basic-block.h: Fix comment formatting.
12113 * c-common.c: Likewise.
12114 * c-common.h: Likewise.
12115 * c-lex.c: Likewise.
12116 * c-pretty-print.c: Likewise.
12117 * cfglayout.c: Likewise.
12118 * cfgloop.c: Likewise.
12119 * defaults.h: Likewise.
12120 * et-forest.c: Likewise.
12121 * explow.c: Likewise.
12122 * function.h: Likewise.
12123 * gcov.c: Likewise.
12124 * genattrtab.c: Likewise.
12125 * gengtype.c: Likewise.
12126 * ifcvt.c: Likewise.
12127 * libgcc2.c: Likewise.
12128 * loop.c: Likewise.
12129 * profile.c: Likewise.
12130 * ra-build.c: Likewise.
12131 * real.c: Likewise.
12133 * tracer.c: Likewise.
12134 * tree-inline.c: Likewise.
12135 * varasm.c: Likewise.
12137 2002-09-08 Jan Hubicka <jh@suse.cz>
12139 * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
12142 * loop.c (loop_givs_reduce): Emit addition after.
12144 2002-09-08 Alan Modra <amodra@bigpond.net.au>
12146 * varasm.c (default_assemble_visibility): Rename from
12147 assemble_visibility.
12148 * output.h: Here too.
12149 * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
12150 * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
12152 2002-09-08 Alan Modra <amodra@bigpond.net.au>
12154 * reload.c (find_reloads <p constraint>): Pass operand_mode to
12155 find_reloads_address.
12157 2002-09-08 Kazu Hirata <kazu@cs.umass.edu>
12159 * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
12160 (anonymous pattern): Likewise.
12162 2002-09-07 Igor Shevlyakov <igor@microunity.com>
12164 * machmode.def: Add modes for half-float vectors.
12166 2002-09-07 Scott Snyder <snyder@fnal.gov>
12169 * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
12171 2002-09-07 Roger Sayle <roger@eyesopen.com>
12173 * basic-block.h (struct loop): Remove unused cont_dominator field.
12175 2002-09-07 Igor Shevlyakov <igor@microunity.com>
12177 * varasm.c (decode_rtx_const): Don't check undefined field for
12180 2002-09-07 Glen Nakamura <glen@imodulo.com>
12183 * sched-deps.c (sched_analyze_insn): Make sure to add insn
12184 to reg_last->sets after flushing the dependency lists to guarantee
12185 that subsequent clobbers will be dependent on it.
12187 2002-09-07 Igor Shevlyakov <igor@microunity.com>
12189 * combine.c (simplify_shift_const): Calculate rotate count
12190 correctly for vector operands.
12192 2002-09-07 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de>
12194 * c-typeck.c (c_tree_expr_nonnegative_p): New function.
12195 (build_binary_op): Call c_tree_expr_nonnegative_p rather than
12196 tree_expr_nonnegative_p.
12197 (build_conditional_expr): Likewise.
12198 * c-tree.h (c_tree_expr_nonnegative_p): Declare.
12200 2002-09-07 Richard Henderson <rth@redhat.com>
12202 * builtins.def (inf, inff, infl): Mark const.
12203 (huge_val, huge_valf, huge_vall): Likewise.
12204 (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
12206 * real.c (ereal_inf): Clear E before use.
12208 2002-09-07 Kazu Hirata <kazu@cs.umass.edu>
12210 * config/h8300/h8300.md (udivmodqi4): Split the pattern into
12211 an expander and an anonymous pattern. Zero out the upper half
12212 of the dividend in the expander.
12213 (udivmodqi4): Likewise.
12215 2002-09-07 Kazu Hirata <kazu@cs.umass.edu>
12217 * config/h8300/h8300.c: Fix formatting.
12218 * config/h8300/h8300.h: Likewise.
12219 * config/h8300/h8300.md: Likewise.
12221 2002-09-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
12223 * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
12226 2002-09-07 Graham Stott <graham.stott@btinternet.com>
12228 * rtlanal.c (dead_or_set_regno_p): Fix typo.
12230 2002-09-07 Alan Modra <amodra@bigpond.net.au>
12232 * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
12234 * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
12235 * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
12236 (TARGET_ASM_OUT): Add the above here.
12237 * target.h (struct gcc_target): Add "visibility" field.
12238 * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
12239 * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
12240 (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
12241 (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
12243 2002-09-06 Ziemowit Laski <zlaski@apple.com>
12245 * c-lang.c (objc_is_id): New stub.
12246 * c-tree.h (objc_is_id): New forward declaration.
12247 * c-typeck.c (build_c_cast): Do not strip protocol
12248 qualifiers from 'id' type.
12249 * objc/objc-act.c (objc_comptypes): Correct handling
12250 of protocol qualifiers.
12253 Fri Sep 6 13:10:08 2002 Jeffrey A Law (law@redhat.com)
12255 * pentium.md (pentium-firstvboth): Fix typo.
12257 2002-09-06 Dhananjay Deshpande <dhananjayd@kpit.com>
12259 * h8300.c (enum shift_alg): Move to earlier in h8300.c.
12260 (enum shift_type, enum h8_cpu): Likewise.
12261 (INL, ROT, LOP, SPC macros): Likewise.
12262 (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise. Lose
12264 (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
12265 space efficient algorithms when optimize for codesize.
12267 Fri Sep 6 16:35:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
12269 Fix PR/1727 and long-standing failing testcase
12270 objc/formal-protocol-6.m.
12271 * objc-act.c (build_protocol_expr): If compiling for the GNU
12272 runtime, create a list of Protocol statically allocated instances
12273 if it doesn't exist, then add the Protocol object to this same
12275 (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
12276 instead of TREE_CHAIN.
12278 Fri Sep 6 16:17:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
12280 * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
12281 10k. Fixed category dumping - print out category names with the
12282 proper syntax. Print '@end\n' and not '\n@end' at the end of the
12284 (finish_objc): Fixed the -gen-decls option. It was printing out
12285 only the last class. Dump an interface declaration of all classes
12286 being compiled instead.
12288 2002-09-06 Jason Thorpe <thorpej@wasabisystems.com>
12290 * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
12292 * config/arm/arm.c (arm_gen_return_addr_mask): New function.
12293 * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
12294 if not APCS26 and not Thumb or ARMv4-or-higher. Use gen_int_mode
12295 rather than GEN_INT.
12296 * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
12297 (return_addr_mask, *check_arch2): New.
12299 2002-09-06 Ulrich Weigand <uweigand@de.ibm.com>
12301 * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
12302 "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
12303 "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
12304 "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
12305 "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
12306 "adddf3", "*adddf3", "*adddf3_ibm",
12307 "addsf3", "*addsf3", "*addsf3_ibm",
12308 "muldi3", "mulsi3", "mulsidi3",
12309 "muldf3", "*muldf3", "*muldf3_ibm",
12310 "mulsf3", "*mulsf3", "*mulsf3_ibm",
12311 "*anddi3_cc", "*anddi3_cconly", "anddi3",
12312 "*andsi3_cc", "*andsi3_cconly", "andsi3",
12313 "*iordi3_cc", "*iordi3_cconly", "iordi3",
12314 "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
12315 "*xordi3_cc", "*xordi3_cconly", "xordi3",
12316 "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
12317 instead of "register_operand" as predicate for "%0" operand.
12319 2002-09-06 Jakub Jelinek <jakub@redhat.com>
12321 * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
12322 unconditionally when gcc_cv_as_flags64 checks are gone.
12323 * configure: Rebuilt.
12325 2002-09-06 Alan Modra <amodra@bigpond.net.au>
12327 * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
12328 2002-07-26 change. Comment.
12330 2002-09-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12332 * frv.c (frv_unique_section, frv_select_section,
12333 frv_select_rtx_section): Delete.
12334 (frv_in_small_data_p): New.
12335 (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
12336 TARGET_ASM_SELECT_RTX_SECTION): Delete.
12337 (TARGET_IN_SMALL_DATA_P): Define.
12339 2002-09-05 Dale Johannesen <dalej@apple.com>
12341 * reload1.c (reload): Retain only those memory clobbers
12342 added for variable-array handling.
12344 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
12346 * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
12347 return-in-memory rules.
12348 * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
12350 2002-09-05 David Edelsohn <edelsohn@gnu.org>
12352 * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
12353 (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
12355 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
12357 * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
12358 not a compile-time constant for the non-IBM case.
12359 * config/arm/arm-protos.h (arm_float_words_big_endian): New
12361 * config/arm/arm.c (arm_float_words_big_endian): New function.
12362 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
12363 if TARGET_VFP and not TARGET_HARD_FLOAT.
12364 (ARM_FLAG_VFP, TARGET_VFP): Define.
12365 (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
12367 2002-09-05 David Edelsohn <edelsohn@gnu.org>
12369 * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
12370 URLs. Fix AIX wording.
12372 2002-09-05 Stan Shebs <shebs@apple.com>
12374 * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
12375 -fPIC equivalent on Darwin.
12377 Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
12379 * sh.c (sh_expand_builtin): Return early if encountering an
12380 error_mark for a type.
12382 2002-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12384 * config/s390/s390.c (s390_expand_plus_operand): Do not require
12385 double-word scratch register.
12386 config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
12388 ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
12389 "*cli"): Replace s_operand by memory_operand.
12390 ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
12392 2002-09-05 Kazu Hirata <kazu@cs.umass.edu>
12394 * config/h8300/h8300.c (asm_file_start): Add a missing
12397 2002-09-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
12399 * c-typeck.c (build_function_call): Remove unused variable(s).
12400 (build_c_cast): Likewise.
12401 * calls.c (rtx_for_function_call): Likewise.
12402 * cfglayout.c (duplicate_insn_chain): Likewise.
12403 * cfgloop.c (flow_loop_nodes_find): Likewise.
12404 * cfgrtl.c (split_edge): Likewise.
12405 * df.c (df_ref_create): Likewise.
12406 * except.c (expand_end_catch): Likewise.
12407 * expr.c (emit_push_insn, store_constructor, expand_expr): Likewise.
12408 * function.c (emit_return_into_block): Likewise.
12409 (reposition_prologue_and_epilogue_notes): Likewise.
12410 * gengtype.c (get_file_basename, write_gc_structure_fields): Likewise.
12411 * combine.c (subst_prev_insn, need_refresh): Remove.
12412 * dwarf2out.c (primary_filename): Remove.
12413 * final.c (new_block): Remove.
12414 * gcse.c (orig_bb_count): Remove.
12416 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12418 * dsp16xx-protos.h (dsp16xx_compare_gen): Change to bool.
12419 * dsp16xx.c (dsp16xx_compare_gen): Likewise.
12420 * dsp16xx.md: Treat dsp16xx_compare_gen as a bool. Call functions
12421 directly instead of using a function pointer.
12423 2002-09-04 Krister Walfridsson <cato@df.lth.se>
12425 * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
12426 * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
12427 (ix86_output_addr_diff_elt) Likewise.
12428 (x86_output_mi_thunk) Likewise.
12429 * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
12431 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12433 * frv.c (frv_encode_section_info): Fix error in last change.
12435 2002-09-04 David Edelsohn <edelsohn@gnu.org>
12437 * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
12438 (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
12439 (TARGET_BINDS_LOCAL_P): Define.
12440 (rs6000_override_options): Save original flag_pic value.
12441 (rs6000_elf_select_section): Call default_elf_select_section_1.
12442 (rs6000_elf_unique_section): Call default_unique_section_1.
12443 (rs6000_elf_in_small_data_p): New function.
12444 (rs6000_xcoff_asm_named_section): Determine storage mapping class.
12445 (rs6000_xcoff_select_section): Update based on defaults.
12446 (rs6000_xcoff_unique_section): Set to basic name if not common.
12447 (rs6000_binds_local_p): New function.
12448 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
12449 targetm.have_srodata_section if SDATA_EABI.
12450 (TARGET_IN_SMALL_DATA_P): Define.
12452 2002-09-04 Dale Johannesen <dalej@apple.com>
12454 * varasm.c (struct rtx_const, decode_rtx_const):
12455 Make veclo and vechi fields not share storage.
12457 Thu Sep 5 00:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
12459 * loop.c (scan_loop): Don't mark separate insns out of a libcall
12461 (move_movables): Abort if we see the first insn of a libcall.
12463 2002-09-04 Richard Henderson <rth@redhat.com>
12465 * builtin-types.def (BT_FN_FLOAT): New.
12466 (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
12467 * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
12468 BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
12469 * builtins.c (fold_builtin_inf): New.
12470 (fold_builtin): Call it.
12471 * real.c (ereal_inf): New.
12472 * real.h: Declare it.
12473 * doc/extend.texi: Document new builtins.
12475 2002-09-04 Richard Henderson <rth@redhat.com>
12477 * cse.c (cse_insn): Avoid subreg games if the equivalence
12478 is already in the proper mode.
12480 2002-09-04 Eric Botcazou <ebotcazou@multimania.com>
12483 * optabs.c (expand_binop): Convert CONST_INTs in all cases.
12485 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
12487 * pa.md (setccfp0, setccfp1): New patterns.
12489 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12491 * frv-protos.h (frv_init_builtins, frv_expand_builtin,
12492 frv_select_section, frv_select_rtx_section,
12493 frv_encode_section_info, frv_unique_section): Delete.
12494 * frv.c: Update for target hooks.
12495 * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
12496 SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
12497 EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
12499 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12501 * ip2k-protos.h (function_prologue, function_epilogue,
12502 encode_section_info): Update to match target hook specification.
12503 * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
12504 (function_prologue, function_epilogue, encode_section_info):
12505 Update to match target hook specification.
12506 * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
12507 ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
12508 (NOTICE_UPDATE_CC): Cast to void.
12509 * ip2k.md: Add defaults in switch statements.
12511 2002-09-04 Janis Johnson <janis187@us.ibm.com>
12513 * doc/trouble.texi (Interoperation): Update information about C++ ABI
12516 2002-09-04 Jason Thorpe <thorpej@wasabisystems.com>
12518 * config/sparc/t-netbsd64: Disable multilib for now.
12520 2002-09-04 David Edelsohn <edelsohn@gnu.org>
12522 * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
12523 * target.h (gcc_target): Add have_srodata_section member.
12524 * varasm.c (section_category): Add SECCAT_SRODATA.
12525 (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
12526 READONLY_SDATA_SECTION defined.
12527 (decl_readonly_section_1): True for SECCAT_SRODATA also.
12528 (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
12529 (default_unique_section_1): Likewise.
12531 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
12533 * expr.c (emit_group_load): Revise to allow splitting TCmode source
12534 into DImode pieces.
12536 * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
12537 * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
12538 for floating-point register class.
12539 * pa.c (function_arg): Fix handling of modes wider than one word for
12542 Wed Sep 4 18:48:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
12544 * combine.c (make_compound_operation): Don't generate zero / sign
12545 extensions in floating point modes.
12547 2002-09-04 Janis Johnson <janis187@us.ibm.com>
12549 * doc/c-tree.texi: Fix overfull hboxes.
12550 * doc/cppopts.texi: Ditto.
12551 * doc/extend.texi: Ditto.
12552 * doc/gty.texi: Ditto.
12553 * doc/invoke.texi: Ditto.
12554 * doc/makefile.texi: Ditto.
12555 * doc/rtl.texi: Ditto.
12556 * doc/standards.texi: Ditto.
12557 * doc/tm.texi: Ditto.
12559 2002-09-04 Richard Henderson <rth@redhat.com>
12561 * c-common.c (builtin_define_with_hex_fp_value): New.
12562 (builtin_define_float_constants): Use it. Fix H_FLOAT mant_dig.
12564 2002-09-04 Janis Johnson <janis187@us.ibm.com>
12566 * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
12567 (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
12568 -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
12569 Warn that these options can break ABI compatibility.
12571 2002-09-04 Richard Henderson <rth@redhat.com>
12573 * real.c (ereal_to_decimal): Add digits parameter.
12574 * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
12575 * c-pretty-print.c (pp_c_real_literal): Update call.
12576 * print-rtl.c (print_rtx): Likewise.
12577 * print-tree.c (print_node_brief, print_node): Likewise.
12578 * sched-vis.c (print_value): Likewise.
12579 * config/arc/arc.c (arc_print_operand): Likewise.
12580 * config/c4x/c4x.c (c4x_print_operand): Likewise.
12581 * config/i370/i370.h (PRINT_OPERAND): Likewise.
12582 * config/i386/i386.c (print_operand): Likewise.
12583 * config/i960/i960.c (i960_print_operand): Likewise.
12584 * config/ip2k/ip2k.c (asm_output_float): Likewise.
12585 * config/m32r/m32r.c (m32r_print_operand): Likewise.
12586 * config/m68hc11/m68hc11.c (print_operand): Likewise.
12587 * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
12588 ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
12589 * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
12590 ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
12591 * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
12592 ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
12593 * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
12594 ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
12595 * config/mips/mips.c (print_operand): Likewise.
12596 * config/ns32k/ns32k.c (print_operand): Likewise.
12597 * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
12598 * config/vax/vax.h (PRINT_OPERAND): Likewise.
12599 * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
12601 2002-09-04 Bob Wilson <bob.wilson@acm.org>
12603 * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
12604 xtensa_multibss_section_type_flags.
12605 * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
12607 2002-09-04 Richard Henderson <rth@redhat.com>
12609 * doc/install-old.texi: Don't mention enquire.
12610 * doc/sourcebuild.texi: Update float.h description.
12612 Wed Sep 4 11:22:14 2002 J"orn Rennecke <joern.rennecke@superh.com>
12614 * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
12616 2002-09-03 Roger Sayle <roger@eyesopen.com>
12618 * builtins.c (build_function_call_expr): Remove prototype, export
12619 as non-static and add a comment above function definition.
12620 (builtin_mathfn_code): New function to check for math builtins.
12621 (fold_builtin): Optimize sqrt(0.0) as 0.0, sqrt(1.0) as 1.0,
12622 exp(0.0) as 1.0, and log(1.0) as 0.0. Optimize exp(log(x)) and
12623 log(exp(x)) as x. Optimize sqrt(exp(x)) as exp(x/2.0) and
12624 log(sqrt(x)) as log(x)/2.0.
12626 * tree.h: Prototype build_function_call_expr and builtin_mathfn_code
12627 in new "builtins.c" section. Place the build_range_type prototype
12628 with the other prototypes from "tree.c".
12630 * fold-const.c (fold) [ABS_EXPR]: Fold fabs(sqrt(x)) as sqrt(x)
12631 and fabs(exp(x)) as exp(x). [MULT_EXPR]: Fold sqrt(x)*sqrt(y)
12632 as sqrt(x*y) and exp(x)*exp(y) as exp(x+y). [RDIV_EXPR]: Fold
12633 x/exp(y) as x*exp(-y).
12635 2002-09-03 David Edelsohn <edelsohn@gnu.org>
12637 * varasm.c (default_section_type_flags): Append _1 to name with
12638 shlib parameter. Use original name to call new function with
12640 (decl_readonly_section): Likewise.
12641 (default_elf_select_section): Likewise.
12642 (default_unique_section): Likewise.
12643 (default_bind_local_p): Likewise.
12644 (categorize_decl_for_section): Add shlib parameter to use in place
12645 of implicit flag_pic.
12646 * output.h: Declare new functions with _1 and shlib argument.
12648 2002-09-03 Janis Johnson <janis187@us.ibm.com>
12650 * doc/install.texi: Fix typos, formatting problems, and obvious
12651 overfull/underfull boxes.
12653 * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
12654 * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
12655 include its file, compat.texi.
12656 * doc/compat.texi: New file with new chapter, Binary Compatibility.
12658 2002-09-03 Neil Booth <neil@daikokuya.co.uk>
12660 Debian BTS Bug #157416
12661 * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
12662 * cpplib.c (destringize_and_run): Kludge around getting
12663 tokens from in-progress macros.
12664 (_cpp_do__Pragma): Simplify.
12666 2002-09-03 Steve Ellcey <sje@cup.hp.com>
12668 * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
12669 (CPP_CPU_SPEC): Remove.
12670 (TARGET_CPU_CPP_BUILTINS): New.
12671 * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
12672 (CPP_SPEC): Remove.
12673 (TARGET_OS_CPP_BUILTINS): New.
12674 * config/ia64/linux.h (CPP_PREDEFINES): Remove.
12675 (TARGET_OS_CPP_BUILTINS): New.
12676 * config/ia64/aix.h (CPP_SPEC): Move some stuff to
12677 TARGET_OS_CPP_BUILTINS.
12678 (CPP_PREDEFINES): Remove.
12679 (CPLUSPLUS_CPP_SPEC): Remove.
12680 (TARGET_OS_CPP_BUILTINS): New.
12682 2002-09-03 Richard Henderson <rth@redhat.com>
12684 * Makefile.in (USER_H): Add ginclude/float.h.
12686 (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
12687 (mostlyclean): Don't remove float.h intermediate files.
12688 (distclean): Don't remove float.h.
12689 * config.gcc: Remove all float_format references.
12690 * configure.in (float_format, float_h_file): Remove.
12692 * c-common.c: Include tree-inline.h.
12693 (builtin_define_with_int_value): New.
12694 (builtin_define_type_precision): Use it.
12695 (builtin_define_float_constants): New.
12696 (cb_register_builtins): Use it. Define __FLT_RADIX__ and
12697 __FLT_EVAL_METHOD__.
12698 * defaults.h (TARGET_FLT_EVAL_METHOD): New.
12699 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
12700 * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
12701 * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
12702 (TARGET_FLT_EVAL_METHOD): New.
12704 * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
12705 config/float-i386.h, config/float-i64.h, config/float-m68k.h,
12706 config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
12707 * ginclude/float.h: New.
12709 2002-09-03 Stan Shebs <shebs@apple.com>
12711 * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
12712 (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
12713 (PREFERRED_DEBUGGING_TYPE): Ditto.
12714 (ASM_OUTPUT_IDENT): Remove empty definition.
12716 2002-09-03 Steve Ellcey <sje@cup.hp.com>
12718 * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
12720 * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
12721 handling routine for builtin pragma.
12722 * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
12723 Registered pragma handling routine.
12724 * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
12725 (ia64_hpux_add_pragma_builtin) New subroutine used by above.
12726 If builtin pragma seen for math routine and C89 conformance is
12727 requested use different math function in order to set errno.
12728 * t-ia64 (ia64-c.o): Add new rule for new file.
12730 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
12732 * config/s390/s390.md ("movti"): Add Q->Q alternative.
12733 ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
12734 "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
12736 ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
12737 "*movsf_ss"): Remove.
12739 2002-09-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
12741 * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
12744 2002-09-03 Arati Dikey <aratid@kpit.com>
12746 * h8300.c (asm_file_start): Corrected optimization comment.
12748 2002-09-03 Stan Shebs <shebs@apple.com>
12750 * c-lang.c (recognize_objc_keyword): Remove, no longer used.
12751 * c-tree.h (recognize_objc_keyword): Remove decl.
12752 * c-typeck.c (comp_target_types): Update a comment.
12754 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
12756 * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
12757 and register validity checks.
12758 (general_s_operand): Adapt to s390_decompose_address interface change.
12759 (q_constraint): Likewise.
12760 (s390_expand_plus_operand): Likewise.
12761 (legitimiate_address_p): Likewise.
12762 (legitimate_la_operand_p): Likewise.
12763 (legitimize_la_operand): Likewise.
12764 (print_operand_address): Likewise.
12765 (print_operand): Likewise.
12767 Tue Sep 3 11:32:14 2002 Nicola Pero <n.pero@mi.flashnet.it>
12770 * objc/objc-act.c (build_typed_selector_reference): Fix typo which
12771 was causing the new selector never to match the existing ones
12772 (Patch by Alexander Malmberg <alexander@malmberg.org>).
12774 2002-09-03 Graham Stott <graham.stott@btinternet.com>
12776 * config/i386/i386.md ("femms"): Add "memory" attr "none".
12778 2002-09-03 Graham Stott <graham.stott@btinternet.com>
12780 * expr.c (expand_expr): Remove extraneous comment and code.
12782 2002-09-02 Nathan Sidwell <nathan@codesourcery.com>
12784 * stor-layout (finish_builtin_struct): Renamed and moved from c++
12785 frontend. Take chain of fields. Allow NULL alignment type.
12786 * tree.h (finish_builtin_struct): Declare.
12788 2002-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12790 * config/alpha/alpha.c config/alpha/alpha.h config/alpha/alpha.md
12791 config/alpha/elf.h config/alpha/unicosmk.h config/alpha/vms.h
12792 config/arc/arc.c config/arc/arc.h config/arm/aout.h
12793 config/arm/arm.c config/arm/arm.h config/arm/arm.md
12794 config/avr/avr.h config/d30v/d30v.h config/dbxcoff.h
12795 config/dbxelf.h config/elfos.h config/fr30/fr30.h config/frv/frv.h
12796 config/i386/i386.c config/i386/i386.md config/i386/sco5.h
12797 config/ia64/ia64.h config/ip2k/ip2k.h config/m68hc11/m68hc11.md
12798 config/m68k/hp320.h config/m68k/m68k.c config/m68k/m68k.md
12799 config/m68k/mot3300.h config/m68k/sgs.h config/m68k/tower-as.h
12800 config/m88k/m88k.c config/m88k/m88k.h config/mcore/mcore-pe.h
12801 config/mcore/mcore.c config/mips/mips.c config/mips/mips.h
12802 config/ns32k/ns32k.md config/pa/pa-linux.h config/pa/pa.c
12803 config/pa/pa.h config/pa/pa.md config/romp/romp.h
12804 config/rs6000/linux64.h config/rs6000/lynx.h
12805 config/rs6000/rs6000.c config/rs6000/sysv4.h config/rs6000/xcoff.h
12806 config/s390/s390.c config/s390/s390.md config/sh/sh.c
12807 config/sparc/sparc.c config/sparc/sysv4.h
12808 config/stormy16/stormy16.h dbxout.c defaults.h dwarf2out.c
12809 dwarfout.c except.c final.c varasm.c vmsdbgout.c: Replace
12810 ASM_OUTPUT_INTERNAL_LABEL macro with a call to the target hook.
12812 * doc/tm.texi: Update docs.
12813 * default.h (ASM_OUTPUT_INTERNAL_LABEL): Don't define.
12814 * system.h (ASM_OUTPUT_INTERNAL_LABEL): Poison.
12816 2002-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12818 * Makefile.in (sdbout.o, insn-output.o): Depend on $(TARGET_H).
12819 * arc.c (arc_internal_label): New function.
12820 (TARGET_ASM_INTERNAL_LABEL): Set.
12821 * arc.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12822 * arm.c (arm_internal_label): New function.
12823 (TARGET_ASM_INTERNAL_LABEL): Set.
12824 * arm.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12825 * arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12826 * i370.c (i370_internal_label): New function.
12827 (TARGET_ASM_INTERNAL_LABEL): Set.
12828 * i370.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12829 * m68k/hp320.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12830 * m68k.c (m68k_hp320_internal_label): New function.
12831 (TARGET_ASM_INTERNAL_LABEL): Set.
12832 * m88k.c (m88k_internal_label): New function.
12833 (TARGET_ASM_INTERNAL_LABEL): Set.
12834 * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12835 * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Set to target hook.
12836 * genoutput.c (output_prologue): Include target.h in output file.
12837 * output.h (default_internal_label): Declare.
12838 * sdbout.c: Include target.h.
12839 * target-def.h (TARGET_ASM_INTERNAL_LABEL): Set and add to
12841 * target.h (internal_label): Add to struct gcc_target.
12842 * varasm.c (default_internal_label): New function.
12844 2002-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12846 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12847 * avr.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12848 * c4x.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12849 * cris.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12850 * d30v.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12851 * darwin.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12852 * dsp16xx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12853 * elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12854 * h8300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12855 * i386/att.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12856 * i386/bsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12857 * i386/i386-coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12858 * i386/lynx-ng.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12859 * i386/lynx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12860 * i386/sco5.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12861 * i960/i960.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12862 * m68k/3b1.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12863 * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12864 * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12865 * m68k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12866 * m68k/mot3300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12867 * m68k/tower-as.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12868 * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12869 * mcore.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12870 * mips.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12871 * mmix-protos.h (mmix_asm_output_internal_label): Likewise.
12872 * mmix.c (mmix_asm_output_internal_label): Likewise.
12873 * mmix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12874 * ns32k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12875 * pa.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12876 * pdp11.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12877 * romp.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12878 * rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12879 * sh/coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12880 * sh/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12881 * sparc/freebsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12882 * sparc/linux.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12883 * sparc/linux64.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12884 * sparc/netbsd-elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12885 * sparc/pbd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12886 * sparc/sol2.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12887 * sparc.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12888 * sparc/vxsim.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12889 * stormy16.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12890 * svr3.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12891 * vax.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12893 * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Define.
12895 2002-08-31 Richard Henderson <rth@redhat.com>
12897 * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
12899 2002-08-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
12901 * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
12903 2002-08-30 Richard Henderson <rth@redhat.com>
12906 * c-objc-common.c: Include target.h.
12907 (c_cannot_inline_tree_fn): Don't auto-inline functions that
12908 don't bind locally. Factor setting DECL_UNINLINABLE.
12909 * Makefile.in (c-objc-common.o): Update.
12911 2002-08-30 Janis Johnson <janis187@us.ibm.com>
12913 * doc/install.texi (Configuration, Building): Fix a typo and
12914 some formatting directives.
12916 2002-08-30 Paul Koning <pkoning@equallogic.com>
12918 * doc/c-tree.texi (RDIV_EXPR): Fix typo.
12919 * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
12921 * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
12922 for alphabetic order.
12923 * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
12924 VAX_FLOAT_FORMAT. Remove reference to HOST_FLOAT_FORMAT.
12925 (VAX_HALFWORD_ORDER): Document.
12926 (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
12928 (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
12929 (ASM_OUTPUT_LABEL_REF): Fix font.
12930 (CASE_VECTOR_SHORTEN_MODE): Ditto.
12932 2002-08-30 Denis Chertykov <denisc@overta.ru>
12934 * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
12936 (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
12937 CONST_DOUBLE constants.
12939 2002-08-30 Jason Thorpe <thorpej@wasabisystems.com>
12941 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
12942 related defines to...
12943 (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
12944 * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
12947 2002-08-30 Krister Walfridsson <cato@df.lth.se>
12949 * config/arm/arm.c (arm_asm_output_labelref): New function.
12950 * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
12951 * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
12953 2002-08-29 Rodney Brown <rbrown64@csc.com.au>
12955 * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
12956 memory exhausted" workarounds.
12958 2002-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
12960 * diagnostic.c (fancy_abort): Don't repeat "internal error".
12961 * toplev.c (crash_signal): Likewise.
12963 Fri Aug 30 00:33:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
12965 * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
12966 * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
12967 Extended, updated documentation.
12968 (-Wundeclared-selector): Documented.
12970 2002-08-29 Jason Thorpe <thorpej@wasabisystems.com>
12972 * config/chorus.h: Consistently define *_DEBUGGING_INFO with
12973 the value 1. Do not undef before defining.
12974 * config/darwin.h: Likewise.
12975 * config/dbx.h: Likewise.
12976 * config/dbxcoff.h: Likewise.
12977 * config/dbxelf.h: Likewise.
12978 * config/elfos.h: Likewise.
12979 * config/interix.h: Likewise.
12980 * config/lynx-ng.h: Likewise.
12981 * config/lynx.h: Likewise.
12982 * config/netware.h: Likewise.
12983 * config/psos.h: Likewise.
12984 * config/svr3.h: Likewise.
12985 * config/alpha/alpha.h: Likewise.
12986 * config/alpha/elf.h: Likewise.
12987 * config/alpha/vms.h: Likewise.
12988 * config/arc/arc.h: Likewise.
12989 * config/arm/aout.h: Likewise.
12990 * config/arm/coff.h: Likewise.
12991 * config/c4x/c4x.h: Likewise.
12992 * config/h8300/h8300.h: Likewise.
12993 * config/i386/cygwin.h: Likewise.
12994 * config/i386/djgpp.h: Likewise.
12995 * config/i386/gas.h: Likewise.
12996 * config/i386/gstabs.h: Likewise.
12997 * config/i386/i386-coff.h: Likewise.
12998 * config/i386/i386-interix.h: Likewise.
12999 * config/i386/sco5.h: Likewise.
13000 * config/i386/svr3dbx.h: Likewise.
13001 * config/i386/sysv3.h: Likewise.
13002 * config/i386/win32.h: Likewise.
13003 * config/i386/x86-64.h: Likewise.
13004 * config/i960/i960.h: Likewise.
13005 * config/ia64/ia64.h: Likewise.
13006 * config/ip2k/ip2k.h: Likewise.
13007 * config/m32r/m32r.h: Likewise.
13008 * config/m68k/3b1.h: Likewise.
13009 * config/m68k/3b1g.h: Likewise.
13010 * config/m68k/ccur-GAS.h: Likewise.
13011 * config/m68k/coff.h: Likewise.
13012 * config/m68k/hp2bsd.h: Likewise.
13013 * config/m68k/hp310g.h: Likewise.
13014 * config/m68k/hp320g.h: Likewise.
13015 * config/m68k/hp3bsd.h: Likewise.
13016 * config/m68k/hp3bsd44.h: Likewise.
13017 * config/m68k/linux-aout.h: Likewise.
13018 * config/m68k/m68k-aout.h: Likewise.
13019 * config/m68k/mot3300.h: Likewise.
13020 * config/m68k/netbsd.h: Likewise.
13021 * config/m68k/openbsd.h: Likewise.
13022 * config/m68k/pbb.h: Likewise.
13023 * config/m68k/plexus.h: Likewise.
13024 * config/m68k/sun2.h: Likewise.
13025 * config/m68k/sun3.h: Likewise.
13026 * config/m68k/tower-as.h: Likewise.
13027 * config/m68k/vxm68k.h: Likewise.
13028 * config/m88k/aout-dbx.h: Likewise.
13029 * config/m88k/m88k-aout.h: Likewise.
13030 * config/mcore/mcore-elf.h: Likewise.
13031 * config/mcore/mcore-pe.h: Likewise.
13032 * config/mips/elf.h: Likewise.
13033 * config/mips/elf64.h: Likewise.
13034 * config/mips/iris5gas.h: Likewise.
13035 * config/mips/iris6.h: Likewise.
13036 * config/mips/mips.h: Likewise.
13037 * config/mips/sni-gas.h: Likewise.
13038 * config/mmix/mmix.h: Likewise.
13039 * config/ns32k/netbsd.h: Likewise.
13040 * config/pa/pa64-hpux.h: Likewise.
13041 * config/romp/romp.h: Likewise.
13042 * config/rs6000/sysv4.h: Likewise.
13043 * config/rs6000/xcoff.h: Likewise.
13044 * config/sh/coff.h: Likewise.
13045 * config/sh/elf.h: Likewise.
13046 * config/sparc/linux64.h: Likewise.
13047 * config/sparc/liteelf.h: Likewise.
13048 * config/sparc/netbsd.h: Likewise.
13049 * config/sparc/openbsd.h: Likewise.
13050 * config/sparc/pbd.h: Likewise.
13051 * config/sparc/sp64-elf.h: Likewise.
13052 * config/sparc/sp86x-elf.h: Likewise.
13053 * config/sparc/sparc.h: Likewise.
13054 * config/vax/vax.h: Likewise.
13055 * config/vax/vaxv.h: Likewise.
13057 2002-08-29 "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
13059 * h8300.c (shift_alg_hi): Various tweaks to improve performance
13061 (get_shift_alg): Corresponding changes.
13063 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
13065 * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
13067 2002-08-29 Richard Henderson <rth@redhat.com>
13069 * expr.h (enum block_op_methods): New.
13070 (emit_block_move): Update prototype.
13071 * expr.c (block_move_libcall_safe_for_call_parm): New.
13072 (emit_block_move_via_loop): New.
13073 (emit_block_move): Use them. New argument METHOD.
13074 (emit_push_insn): Always respect the given alignment.
13075 (expand_assignment): Update call to emit_block_move.
13076 (store_expr, store_field, expand_expr): Likewise.
13077 * builtins.c (expand_builtin_apply): Likewise.
13078 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
13079 * function.c (expand_function_end): Likewise.
13080 * config/sh/sh.c (sh_initialize_trampoline): Likewise.
13081 * config/sparc/sparc.c (sparc_va_arg): Likewise.
13082 * calls.c (expand_call, emit_library_call_value_1): Likewise.
13083 (save_fixed_argument_area): Use emit_block_move with
13084 BLOCK_OP_CALL_PARM instead of move_by_pieces.
13085 (restore_fixed_argument_area): Likewise.
13086 (store_one_arg): Fix alignment parameter to emit_push_insn.
13088 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
13090 * install.texi (hppa64-hp-hpux11*): Document installation procedure.
13092 2002-08-29 Catherine Moore <clm@redhat.com>
13094 * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
13095 NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
13096 (PREDICATE_CODES): Include new predicates.
13097 (RTX_COSTS): Handle UMOD and UDIV. Tune MULT for v850e.
13098 (TARGET_SWITCHES): Add strict-align.
13099 (TARGET_STRICT_ALIGN): New.
13100 (MASK_DEFAULT, STRICT_ALIGNMENT): Redefine.
13101 * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
13103 (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
13105 * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
13106 L_callt_save_r2_r31, L_return_r2_r31,
13107 L_save_all_interrupt): Change addi to add.
13108 (L_save_interrupt, L_return_interrupt): Rework.
13109 (__return_r31): Correct .size directive.
13110 (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
13111 (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
13113 * config/v850/v850.c (expand_prologue): Call
13114 gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
13115 gen_callt_return_interrupt and gen_callt_save_all_interrupt.
13116 (reg_or_int9_operand): New predicate.
13117 (reg_or_const_operand): New routine.
13118 * config/v850/v850.md (return_interrupt): Changed from
13120 (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
13121 (callt_save_interrupt): Change save sequence.
13122 (callt_return_interrupt): New.
13123 (save_interrupt): Don't use runtime function for LONG_CALLS
13124 and TARGET_PROLOG_FUNCTION.
13125 (save_all_interrupt): Likewise.
13126 (mulsi3): Use new predicate.
13127 (moviscc): Disallow some combination of constants.
13128 Fix define_split for sasf insns, so that it will not generate bad
13129 code if operand0 and operand5 are the same.
13130 * config/v850/v850-protos.h: Prototype new predicates.
13132 2002-08-29 Zack Weinberg <zack@codesourcery.com>
13134 * config/rs6000/rs6000.c (processor_target_table): Add 405f.
13135 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Likewise.
13137 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
13139 * c-common.c (builtin_define_type_precision): New function.
13140 (cb_register_builtins): Use it. Define __WCHAR_UNSIGNED__ is
13141 wchar_t is unsigned in C++.
13142 * doc/cpp.texi (Common Predefined Macros): Document
13143 __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
13144 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
13145 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
13147 2002-08-28 Sylvain Pion <pion@cs.nyu.edu>
13149 * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
13150 section. Mention that it is enabled by -Wall.
13151 (-Wall): Mention that there can be language-specific warnings as well.
13152 (-Wctor-dtor-privacy): Mention that it is enabled by default.
13153 (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
13155 Wed Aug 28 15:35:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
13157 * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
13158 if it is ever live.
13160 * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
13161 attribute for SHCOMPACT.
13163 * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
13165 (FUNCTION_BOUNDARY): Specify only the minimum alignment required
13168 * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
13170 2002-08-28 Jason Thorpe <thorpej@wasabisystems.com>
13172 * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
13173 "MASK_GAS|MASK_ABICALLS".
13174 * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
13175 (TARGET_DEFAULT): Remove.
13176 (MACHINE_TYPE): Undefine before defining.
13177 (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
13179 2002-08-27 Mark Mitchell <mark@codesourcery.com>
13181 * c-common.c (warn_abi): New variable.
13182 * c-common.h (warn_abi): Likewise.
13183 * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
13184 (c_common_decode_option): Handle it.
13185 * doc/invoke.texi: Document -Wabi.
13187 Tue Aug 27 23:03:52 2002 Nicola Pero <n.pero@mi.flashnet.it>
13189 * c-common.c (warn_undeclared_selector): New variable.
13190 * c-common.h (warn_undeclared_selector): Idem.
13191 * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
13192 to on when -Wundeclared-selector is found.
13193 (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
13194 * objc/objc-act.c (build_selector_expr): If
13195 warn_undeclared_selector is set, check that the selector has
13196 already been defined, and emit a warning if not.
13198 2002-08-27 Nick Clifton <nickc@redhat.com>
13199 Catherine Moore <clm@redhat.com>
13200 Jim Wilson <wilson@cygnus.com>
13202 * config.gcc: Add v850e-*-* target.
13203 Add --with-cpu= support for v850.
13204 * config/v850/lib1funcs.asm: Add v850e callt functions.
13205 * config/v850/v850.h: Add support for v850e target.
13206 * config/v850/v850.c: Add functions to support v850e target.
13207 * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
13208 * config/v850/v850.md: Add patterns for v850e instructions.
13209 * doc/invoke.texi: Document new v850e command line switches.
13211 Tue Aug 27 18:30:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
13212 Aldy Hernandez <aldyh at redhat dot com>
13214 * doc/tm.texi: Applied numerous fixes to the automaton based
13215 scheduler descrition.
13217 Tue Aug 27 19:51:05 CEST 2002 Jan Hubicka <jh@suse.cz>
13219 * i386.c (classify_argument): Handle variable sized objects.
13221 Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka <jh@suse.cz>
13223 * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
13225 Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka <jh@suse.cz>
13227 * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
13229 Tue Aug 27 18:00:11 CEST 2002 Jan Hubicka <jh@suse.cz>
13231 * i386.c (classify_argument): Properly compute word size of the analyzed object.
13233 Tue Aug 27 14:39:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
13235 * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
13236 mac_gp ftrc_s and cwb. Add / Adjust definitions in individual insn
13238 (attribute insn_class): Provide default definitions based on type.
13239 Remove all insn-specific settings.
13240 (various function units): Remove old SH4 scheduling.
13241 (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
13242 New attributes. Set them where appropriate.
13243 (cpu unit FS): Don't define / use.
13244 (F3, load_store): New cpu units.
13245 (F01): New reservation.
13246 (all insn_reservations): Make dependent on sh4 pipeline model.
13248 (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
13249 (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
13250 (mt insn_reservation): Use type mt_group.
13251 (insn_reservation load_store): Split into sh4_load, sh4_load_si,
13252 sh4_fload and sh4_store.
13253 (insn_reservation branch_zero and branch): Replace with sh4_branch.
13254 (insn_reservation branch_far): Replace with sh4_return.
13255 (insn_reservation return_from_exp): Rename to:
13256 (sh4_return_from_exp). Change to be just d_lock*5.
13257 (insn_reservation lds_to_pr): Rename to:
13258 (sh4_lds_to_pr). Change to be just d_lock*2.
13259 (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
13261 (insn_reservation prload_mem): Rename to:
13262 (sh4_prstore_mem). Change to d_lock*2,nothing,memory.
13263 (insn_reservation fpscr_store): Rename to:
13264 (fpscr_load). Change to d_lock,nothing,F1*3.
13265 (insn_reservation fpscr_store_mem): Rename to:
13266 (fpscr_load_mem). Change to d_lock,nothing,(F1+memory),F1*2.
13267 (insn_reservation multi): Change to
13268 d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
13269 (insn_reservation fp_arith): Change to issue,F01,F2.
13270 (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
13271 (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
13272 (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
13273 (insn_reservation fp_double_cmp): Change to
13274 d_lock,(d_lock+F01),F1+F2,F2.
13275 (insn_reservation dp_div): Change to
13276 issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
13277 * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
13278 (sh_adjust_cost, SHcompact): Differentiate between different
13279 kinds of dependencies. Drop factor of ten for superscalar.
13280 Use new instruction types. Add new exception rules.
13282 * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
13284 * sh.md (mperm_w): Add DONE.
13286 2002-08-27 David Edelsohn <edelsohn@gnu.org>
13288 * longlong.h: Import current PowerPC defintion from GMP-4.1.
13290 * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
13292 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
13294 Tue Aug 27 13:53:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
13296 * sh.h (MAX_FIXED_MODE_SIZE): Define.
13298 2002-08-27 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
13300 * doc/cpp.texi (Common Predefined Macros): Don't mess with table
13303 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
13305 * c-common.c (cpp_define_data_format): New function.
13306 (cb_register_builtins): Call it.
13308 * doc/cpp.texi (Common Predefined Macros): Document
13309 __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
13310 __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
13311 __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
13312 __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
13313 __TARGET_USES_VAX_H_FLOAT__.
13315 2002-08-26 Ziemowit Laski <zlaski@apple.com>
13317 * objc/objc-act.c (get_super_receiver): If inside a class method
13318 of a category, cast the receiver to 'id' before accessing the 'isa'
13319 field so that <objc/objc-class.h> is not needed. For NeXT runtime.
13321 2002-08-26 Ulrich Weigand <uweigand@de.ibm.com>
13323 * config/s390/s390-protos.h (s390_function_prologue,
13324 s390_function_epilogue): Remove.
13325 config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
13326 TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
13328 config/s390/s390.c (s390_machine_dependent_recorg): New function.
13329 config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
13330 config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
13331 config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
13332 to being called from MACHINE_DEPENDENT_REORG. Update regs_ever_live.
13334 config/s390/s390.c (s390_frame_info): Inline save_fprs_p. Always
13335 assume BASE_REGISTER and RETURN_REGNUM need to be saved.
13336 (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
13337 function is not a leaf function. Use save_gprs and restore_gprs.
13338 (s390_emit_epilogue): Likewise.
13339 (save_gprs, restore_gprs): New functions.
13340 (struct s390_frame): Remove return_reg_saved_p member.
13341 (save_fprs_p): Remove.
13342 (s390_optimize_prolog): New function.
13343 (s390_legitimate_reload_constant): Remove now unnecessary check.
13345 (s390_function_count): Remove.
13346 (s390_output_symbolic_const): Replace s390_function_count by
13347 current_function_funcdef_no.
13348 (s390_output_constant_pool): Likewise.
13350 (legitimize_pic_address): Use regs_ever_live to track PIC register
13351 instead of current_function_uses_pic_offset_table.
13352 (s390_emit_prologue): Likewise.
13353 config/s390/s390.md ("call", "call_value"): Likewise.
13355 2002-08-26 Neil Booth <neil@daikokuya.co.uk>
13357 * c-opts.c (find_opt): Don't complain about wrong languages
13358 here. Return exact matches even for wrong language.
13359 (c_common_decode_option): Complain about wrong languages
13362 2002-08-24 Stuart Hastings <stuart@apple.com>
13364 * function.h (struct function): Add flag
13365 all_throwers_are_sibcalls.
13366 * except.c (set_nothrow_function_flags): Replaces
13367 nothrow_function_p. Set new flag.
13368 * except.h (set_nothrow_function_flags): Replaces
13369 nothrow_function_p.
13370 * dwarf2out.c (struct dw_fde_struct): Add flag
13371 all_throwers_are_sibcalls.
13372 (output_call_frame_info): Test it.
13373 (dwarf2out_begin_prologue) Propagate it from cfun to
13375 * toplev.c (rest_of_compilation): Update calls to
13376 nothrow_function_p.
13378 2002-08-23 Zack Weinberg <zack@codesourcery.com>
13380 * ggc-page.c (compute_inverse): Short circuit calculation for
13381 object sizes larger than half a page.
13383 2002-08-23 David Edelsohn <edelsohn@gnu.org>
13385 * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
13386 DEFAULT_ABI == ABI_AIX like PIC. Test PIC & reloc for readonly
13388 (rs6000_elf_unique_section): Likewise.
13390 2002-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13392 * ns32k.c (ns32k_globalize_label): Delete.
13393 * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
13395 2002-08-23 Alan Modra <amodra@bigpond.net.au>
13397 * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
13398 for loading delta with num_insns_constant_wide. Calculate
13399 delta_low, delta_high without using a conditional.
13401 2002-08-22 Jason Merrill <jason@redhat.com>
13403 * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
13404 * c-common.def: Adjust.
13405 * c-dump.c (c_dump_tree): Adjust.
13406 * c-semantics.c (genrtl_return_stmt): Adjust.
13407 * c-pretty-print.c (pp_c_statement): Adjust.
13408 * tree-inline.c (copy_body_r): Adjust.
13410 2002-08-22 Zack Weinberg <zack@codesourcery.com>
13412 * ggc-page.c: Avoid division in ggc_set_mark.
13413 (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
13414 compute_inverse): New.
13415 (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
13416 (init_ggc): Initialize inverse_table.
13418 2002-08-22 Tom Tromey <tromey@redhat.com>
13420 * doc/install.texi (Configuration): Document --datadir.
13422 2002-08-22 Alexandre Oliva <aoliva@redhat.com>
13424 * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
13426 2002-08-22 Hans-Peter Nilsson <hp@bitrange.com>
13428 * gengtype-lex.l (ID): Allow underscore as first character.
13430 2002-08-21 David Edelsohn <edelsohn@gnu.org>
13432 * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
13434 (rs6000_xcoff_asm_named_section): Rename.
13435 * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
13437 2002-08-21 Tom Tromey <tromey@redhat.com>
13439 For PR java/6005 and PR java/7611:
13440 * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
13442 * langhooks.c (lhd_can_use_bit_fields_p): New function.
13443 * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
13444 (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
13445 (LANG_HOOKS_INITIALIZER): Use it.
13446 * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
13449 2002-08-21 Stan Shebs <shebs@apple.com>
13451 * tree.c (finish_vector_type): Fix a typo in a comment.
13452 * Makefile.in: Fix "the the" stutters in comments.
13453 * genautomata.c: Ditto.
13455 * regrename.c: Ditto.
13456 * config/alpha/alpha.c: Ditto.
13457 * config/alpha/vms-crt0-64.c: Ditto.
13458 * config/alpha/vms-crt0.c: Ditto.
13459 * config/alpha/vms-psxcrt0-64.c: Ditto.
13460 * config/alpha/vms-psxcrt0.c: Ditto.
13461 * config/d30v/d30v.h: Ditto.
13462 * config/fr30/fr30.h: Ditto.
13463 * config/rs6000/rs6000.c: Ditto.
13464 * config/stormy16/stormy16.h: Ditto.
13465 * doc/md.texi: Ditto.
13467 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
13469 * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
13471 2002-08-21 Joseph S. Myers <jsm@polyomino.org.uk>
13473 * c-decl.c (grokdeclarator): Make invalid combinations with long,
13474 short, signed or unsigned into hard errors. Fixes PR c/4319.
13475 Also make duplicate modifiers such as "short short" into hard
13478 2002-08-21 Andrew Pinski <pinskia@physics.uc.edu>
13479 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13481 * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
13482 to the actual end. Add '@end table' and '@table @code'.
13484 2002-08-20 Geoffrey Keating <geoffk@redhat.com>
13486 * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
13488 * unroll.c (biv_total_increment): Don't try to compute the total
13489 increment for FP BIVs.
13491 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13493 * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
13494 * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
13495 ASM_OUTPUT_ALIGNED_BSS): Use target hook.
13496 * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
13497 * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
13498 * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
13499 (GLOBAL_ASM_OP): Define.
13500 * arm.c (aof_globalize_label): New function.
13501 (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
13502 * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
13503 * c4x.c (c4x_globalize_label): New function.
13504 (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
13505 * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
13506 (GLOBAL_ASM_OP): Define.
13507 * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
13508 * darwin-protos.h (darwin_globalize_label): Declare.
13509 * darwin.c (darwin_globalize_label): New function.
13510 * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
13511 (ASM_GLOBALIZE_LABEL): Delete.
13512 (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
13513 * dsp16xx.c (asm_output_common): Use target hook.
13514 * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
13515 * frv.h (ASM_GLOBALIZE_LABEL): Delete.
13516 (GLOBAL_ASM_OP): Define.
13517 * i370.c (i370_globalize_label): New function.
13518 (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
13519 * i370.h (ASM_GLOBALIZE_LABEL): Delete.
13520 * i386.c (ix86_asm_file_end): Use target hook.
13521 * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
13522 (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
13523 * ia64.c (ia64_asm_output_external): Likewise.
13524 * ia64/sysv4.h: Update comment.
13525 * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
13526 * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
13527 * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
13528 * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
13529 * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
13530 * mmix-protos.h (mmix_asm_globalize_label): Delete.
13531 * mmix.c (mmix_asm_globalize_label): Likewise.
13532 * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
13533 (GLOBAL_ASM_OP): Define.
13534 * ns32k.c (ns32k_globalize_label): New function.
13535 * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
13536 (ASM_GLOBALIZE_LABEL): Delete.
13537 * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
13538 (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
13539 * pa.c (pa_globalize_label): New function.
13540 * pa.h (ASM_GLOBALIZE_LABEL): Delete.
13541 (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
13542 * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
13543 (GLOBAL_ASM_OP): Define.
13544 (TARGET_ASM_GLOBALIZE_LABEL): Undef.
13545 * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
13546 * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
13547 (GLOBAL_ASM_OP): Define.
13548 * v850.c (v850_output_aligned_bss): Use target hook.
13549 * vax.c (vms_globalize_label): New function.
13550 (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
13551 * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
13552 (GLOBAL_ASM_OP): Define.
13553 * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
13554 * doc/tm.texi: Update docs.
13555 * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
13557 * final.c (output_alternate_entry_point): Likewise.
13558 * hooks.c (hook_FILEptr_constcharptr_void): New function.
13559 * hooks.h (hook_FILEptr_constcharptr_void): Declare.
13560 * output.h (assemble_global): Delete.
13561 (default_globalize_label): Declare.
13562 * system.h (ASM_GLOBALIZE_LABEL): Poison.
13563 * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
13564 (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
13565 * target.h (gcc_target): Add globalize_label member.
13566 * varasm.c (asm_output_bss, asm_output_aligned_bss,
13567 globalize_decl): Use target hook.
13568 (assemble_global): Delete.
13569 (default_globalize_label): New function.
13571 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13573 * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
13575 2002-08-20 Devang Patel <dpatel@apple.com>
13576 * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
13578 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13580 * arc.c (output_shift): Use stdio instead of asm_fprintf.
13581 * arm.c (thumb_output_function_prologue): Likewise.
13582 * avr.c (print_operand): Likewise.
13583 * c4x.c (c4x_print_operand): Likewise.
13584 * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
13585 ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
13586 * cris.c (cris_target_asm_function_prologue,
13587 cris_asm_output_mi_thunk): Likewise.
13588 * h8300.c (print_operand): Likewise.
13589 * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
13590 * ip2k.c (print_operand): Likewise. Fix format specifier.
13591 * m68hc11.c (asm_print_register, print_operand,
13592 print_operand_address): Use stdio instead of asm_fprintf.
13593 (print_operand_address): Fix format specifier.
13594 * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
13595 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
13597 * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
13598 * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
13599 * m68k.c (m68k_output_function_prologue,
13600 m68k_output_function_epilogue, print_operand): Likewise.
13601 * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
13602 Likewise. Fix format specifier.
13603 * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
13604 * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
13605 * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
13607 2002-08-15 Eric Christopher <echristo@redhat.com>
13608 Jeff Knaggs <jknaggs@redhat.com>
13610 * config.gcc (mipsisa64sr71k-elf): New target.
13611 * config/mips/sr71k.md: New file.
13612 * config/mips/mips.md: Use it.
13613 (rot*): Add sr71k specifics.
13614 * config/mips/t-sr71k: New file.
13615 * config/mips/mips.h (sr71k): New cpu.
13616 (TARGET_SR71K): Use it.
13617 (TUNE_SR71K): Ditto.
13618 (GENERATE_BRANCHLIKELY): Ditto.
13619 (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
13620 ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
13621 * config/mips/mips.c (sr71k): New cpu.
13622 (mips_use_dfa_pipeline_interface): Use.
13624 2002-08-15 Eric Christopher <echristo@redhat.com>
13625 Richard Sandiford <rsandifo@redhat.com>
13626 Aldy Hernandez <aldyh@redhat.com>
13627 Graham Stott <grahams@redhat.com>
13628 Michael Meissner <meissner@redhat.com>
13629 Gavin Romig-Koch <gavin@redhat.com>
13630 Ken Raeburn <raeburn@cygnus.com>
13631 Alexandre Oliva <aoliva@redhat.com>
13633 * config.gcc (mips64vr-elf): New target.
13634 * config/mips/5400.md: New file.
13635 * config/mips/5500.md: Ditto.
13636 * config/mips/mips.md: Use them.
13638 * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
13640 (mips_issue_rate): Use them.
13641 (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
13642 (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
13643 * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
13645 (TARGET_MIPSx): Use them.
13646 (TUNE_MIPSx): Ditto.
13647 (GETNATE_MULT3_SI): Ditto.
13648 (ISA_HAS_BRANCHLIKELY): Ditto.
13649 (ISA_HAS_CONDMOVE): Ditto.
13650 (ISA_HAS_NMADD_NMSUB): Ditto.
13651 (ISA_HAS_MULHI): New. Ditto.
13652 (ISA_HAS_MULS): Ditto.
13653 (ISA_HAS_MSAC): Ditto.
13654 (ISA_HAS_MACC): Ditto.
13655 (ISA_HAS_ROTR_SI): Ditto.
13656 (ISA_HAS_ROTR_DI): Ditto.
13659 2002-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
13661 * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
13663 (remove_dup_nonsys_dirs): New function.
13664 (remove_dup_dirs): Change argument head to head_ptr. Remove warnings.
13665 (merge_include_chains): Remove non-system include directories from
13666 quote and bracket include chains when they duplicate equivalent system
13668 * doc/cpp.texi (-I): Update.
13669 * doc/cppopts.texi (-I): Update.
13670 * doc/install.texi (--with-local-prefix): Further document usage of
13672 * doc/invoke.texi (-I): Update.
13674 2002-08-20 Richard Henderson <rth@redhat.com>
13676 * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
13677 (emit_block_move): Split out subroutines.
13678 (emit_block_move_via_movstr): New.
13679 (emit_block_move_via_libcall): New. Emit bcopy via normal call also.
13680 (emit_block_move_libcall_fn): New. Construct function prototype for
13682 (clear_storage): Split out subroutines.
13683 (clear_storage_via_clrstr): New.
13684 (clear_storage_via_libcall): New. Emit bzero as a normal call also.
13685 (clear_storage_libcall_fn): New. Construct function prototype for
13687 (emit_push_insn): Use emit_block_move.
13688 (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
13689 (store_constructor): Likewise.
13691 2002-08-19 Ziemowit Laski <zlaski@apple.com>
13693 * objc/objc-act.c (building_objc_message_expr): Rename to
13694 current_objc_message_selector.
13696 2002-08-19 Ziemowit Laski <zlaski@apple.com>
13698 * objc/objc-act.c (build_ivar_chain): Remove.
13699 (objc_copy_list): Likewise.
13700 (get_class_ivars): Inline call to removed build_ivar_chain
13701 function. Save off a clean copy of ivars in the CLASS_OWN_IVARS
13702 slot; use that slot (rather than CLASS_IVARS) when accessing
13703 ivars for base classes. Call copy_list and chainon instead of
13705 (build_private_template): Call get_class_ivars instead of
13707 (start_class): Allocate room for the CLASS_OWN_IVARS slot.
13708 (continue_class): Call get_class_ivars instead of
13710 (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
13711 of DECL_BIT_FIELD (which may have been cleared).
13712 * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
13714 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13716 * genautomata.c (output_translate_vect, output_state_ainsn_table,
13717 output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
13719 (output_internal_min_issue_delay_func): Initialize variable in
13722 2002-08-19 Alexandre Oliva <aoliva@redhat.com>
13724 * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
13725 (stage2_build, stage3_build, stage4_build): Likewise, to CC.
13727 2002-08-19 Geoffrey Keating <geoffk@redhat.com>
13728 Steve Ellcey <sje@cup.hp.com>
13730 * machmode.h (SCALAR_INT_MODE_P): New macro to test for
13731 scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
13732 * explow.c (trunc_int_for_mode): Abort when the mode is not
13733 a scaler integer mode.
13734 * combine.c (expand_compound_operation): Don't expand Vector
13735 or Complex modes into shifts.
13736 (expand_field_assignment): Don't do bitwise arithmatic and
13737 shifts on Vector or Complex modes.
13738 (simplify_comparison): Don't call trunc_int_for_mode
13740 * recog.c (general_operand): Likewise.
13741 (immediate_operand): Likewise.
13742 (nonmemory_operand): Likewise.
13744 2002-08-19 David Edelsohn <edelsohn@gnu.org>
13746 * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
13747 multi-instruction SImode constant. Add REG_EQUAL note.
13748 * config/rs6000/rs6000.md (movsi splitter): Use
13749 rs6000_emit_set_const.
13751 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13753 * tree-inline.c (initialize_inlined_parameters): Wrap variable in
13754 the macro test controlling its use.
13756 2002-08-18 H.J. Lu (hjl@gnu.org)
13758 * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
13759 crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
13761 (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
13762 i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
13763 s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
13764 xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
13766 (cris-*-linux*): Remove setting thread_file here.
13768 2002-08-18 Neil Booth <neil@daikokuya.co.uk>
13770 PR preprocessor/7602
13771 * cppinit.c (path_include): Treat the system environment
13772 variables as being cxx_aware.
13774 2002-08-17 Joseph S. Myers <jsm@polyomino.org.uk>
13776 * c-decl.c (flexible_array_type_p): New function.
13777 (grokdeclarator, finish_struct): Use it.
13778 * doc/extend.texi: Document constraints on use of structures with
13779 flexible array members.
13781 2002-08-17 Richard Sandiford <rsandifo@redhat.com>
13783 * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
13784 config/mips/t-r3900 (MULTILIB_MATCHES): Define.
13785 * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
13787 2002-08-16 Stan Shebs <shebs@apple.com>
13789 * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
13790 for ObjC with -fnext-runtime.
13791 * doc/cpp.texi: Document it.
13793 2002-08-16 Janis Johnson <janis187@us.ibm.com>
13795 * doc/install.texi (Final installation): Replace links to individual
13796 build status pages with a link to a common page that lists them all.
13798 2002-08-16 Sylvain Pion <pion@cs.nyu.edu>
13800 * doc/invoke.texi: Fix typo.
13802 2002-08-16 David Edelsohn <edelsohn@gnu.org>
13804 * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
13806 2002-08-16 Andrew Haley <aph@redhat.com>
13808 * tree-inline.c: Add includes for Java inliner.
13809 (remap_decl): Don't handle anonymous types for Java.
13810 (remap_block): Add handling for Java trees.
13811 (copy_scope_stmt): Conditionalize for non-Java use only.
13812 (copy_body_r): Handle Java trees. Add handling for
13813 LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
13814 (initialize_inlined_parameters): Handle Java trees.
13815 (declare_return_variable): Likewise.
13816 (expand_call_inline): Handle Java trees.
13817 (walk_tree): Likewise.
13818 (copy_tree_r): Don't handle SCOPE_STMTs for Java.
13819 (add_stmt_to_compound): New function.
13821 2002-08-15 Richard Henderson <rth@redhat.com>
13823 * Makefile.in (LOOSE_WARN): Remove -fno-common.
13824 (NOCOMMON_FLAG): New substitution point.
13825 (GCC_WARN_CFLAGS): Include it.
13826 * configure.in (ac_checking): Set nocommon_flag.
13827 (nocommon_flag): New substitution point.
13829 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
13831 * c-tree.h (skip_evaluation): Move declaration...
13832 * c-common.h: ... here.
13833 * c-typeck.c (build_external_ref): Don't assemble_external nor
13834 mark a tree as used if skip_evaluation is set.
13835 * c-parse.in (typeof): New non-terminal to set skip_evaluation
13837 (typespec_nonreserved_nonattr): Use it.
13839 2002-08-15 Douglas B Rupp <rupp@gnat.com>
13841 * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
13842 (xcoff_debug_hooks): Update end_prologue.
13843 * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
13844 * debug.h (end_prologue): Add file arg.
13845 (end_epilogue): Add line and file args.
13846 (dwarf2out_end_epilogue): Add line and file args.
13847 (vmsdbgout_after_prologue): Remove.
13848 * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
13849 (dwarf2_debug_hooks): Update end_prologue.
13850 * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
13851 (dwarfout_end_prologue): Add file arg.
13852 * final.c (vmsdbgout_after_prologue): Remove
13853 (final_end_function): Update end_epilogue call.
13854 (final_scan_insn): Update end_prologue call.
13855 * sdbout.c (sdbout_end_epilogue): Add line and file args.
13856 (sdbout_end_prologue): Add file arg.
13857 (sdb_debug_hooks): Update end_prologue.
13858 (sdb_begin_prologue): Update sdbout_end_prologue call.
13859 * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
13860 vmsdbgout_end_function.
13861 (vmsdbgout_end_prologue): New function renamed from
13862 vmsdbgout_after_prologue. Call vmsdbgout_source_line.
13863 (vmsdbgout_end_function): New function.
13864 (vmsdbgout_end_epilogue): Add line and file args. Call
13865 vmsdbgout_source_line.
13866 (write_pclines): Write only valid line numbers.
13867 (write_srccorr): Don't write source correlation records if 0 lines.
13868 * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
13870 2002-08-15 Steve Ellcey <sje@cup.hp.com>
13872 * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
13873 (_Unwind_Internal_Ptr): 32 bit version for use in
13874 read_encoded_value_with_base.
13875 * gcc/unwind-pe.h (read_encoded_value_with_base): Use
13876 _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
13879 2002-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13881 * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
13882 signed/unsigned warnings.
13884 * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
13885 record_reg_classes): Likewise.
13887 * reload.c (reload_inner_reg_of_subreg, push_reload,
13888 find_reloads_address_1): Likewise.
13890 2002-08-15 David Edelsohn <edelsohn@gnu.org>
13892 * rs6000.c (output_mi_thunk): Return to function section on
13895 * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
13897 2002-08-15 Ulrich Weigand <uweigand@de.ibm.com>
13899 * config/s390/s390.c (legitimize_address): Optimize loading
13900 of large displacements.
13902 2002-08-14 Douglas B Rupp <rupp@gnat.com>
13904 * config/alpha/alpha-protos.h: Update.
13906 * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
13907 (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
13908 (alpha_linkage_symbol_p): New static function.
13909 (print_operand_address): Print linkage operand.
13911 (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
13913 (reloc_kind): New enum.
13914 (struct alpha_funcs): New struct.
13915 (struct alpha_links): Add reloc_kind field. Rename links_kind field.
13917 (alpha_need_linkage): Rewrite.
13918 (alpha_use_linkage): New global function.
13919 (alpha_write_linkage): Rewrite and make static.
13920 (alpha_write_one_linkage): Rewrite
13922 (alpha_start_function): Remove procedure descriptor output.
13923 (alpha_end_function): Write linkages at end of each function.
13925 * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
13926 (call_vms_1, call_value_vms_1): Rewrite.
13928 * config/alpha/vms.h (ASM_FILE_END): Remove.
13930 2002-08-14 Richard Henderson <rth@redhat.com>
13932 * ggc-page.c (RTL_SIZE): New.
13933 (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
13934 * rtl.def (BARRIER, NOTE): Pad to 9 slots.
13936 2002-08-14 Richard Henderson <rth@redhat.com>
13938 * calls.c: Include target.h.
13939 * Makefile.in (calls.o): Update.
13941 * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
13942 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
13944 2002-08-14 Richard Henderson <rth@redhat.com>
13946 * Makefile.in (LOOSE_WARN): Add -fno-common.
13947 * c-common.h (constant_string_class_name): Add missing extern.
13949 2002-08-15 Neil Booth <neil@daikokuya.co.uk>
13951 PR preprocessor/7358
13952 * c-opts.c (check_deps_environment_vars): Ignore main file
13953 for SUNPRO_DEPENDENCIES.
13954 * cppfiles.c (stack_include_file): Ignore main file if
13956 * cpplib.h (struct cpp_options): New member in deps.
13957 * doc/cppenv.texi: Update.
13959 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
13961 PR preprocessor/7526
13962 * cpplib.c (run_directive): Kludge so _Pragma dependency works.
13964 2002-08-14 Nathan Sidwell <nathan@codesourcery.com>
13966 * doc/invoke.texi (-a): Remove documentation.
13967 (-fprofile-arcs): Remove reference to -a, -ax options.
13968 * doc/gcov.texi (Gcov Data Files): Data might be merged.
13970 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
13973 * c-semantics.c (genrtl_case_label): Don't (mis)use
13976 2002-08-14 Dale Johannesen <dalej@apple.com>
13978 * explow.c (emit_stack_restore): Emit memory clobbers
13979 preceding the stack pop, to prevent the scheduler from
13980 moving refs to variable arrays below this pop.
13981 * reload1.c (reload): Preserve these clobbers for sched2.
13982 * doc/rtl.texi: Document clobber (mem:BLK (scratch)).
13984 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
13986 * c-opts.c (c_common_post_options): Correct test.
13988 2002-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13990 * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
13991 order in call to fprintf.
13993 2002-08-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13995 * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
13997 2002-08-14 Ulrich Weigand <uweigand@de.ibm.com>
13999 * reload.c (find_reloads): Handle constraint letters marked by
14000 EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
14001 (alternative_allows_memconst): Likewise.
14002 * reload1.c (maybe_fix_stack_asms): Likewise.
14003 * recog.c (asm_operand_ok, preprocess_constraints,
14004 constrain_operands): Likewise.
14005 * regclass.c (record_operand_costs, record_reg_classes): Likewise.
14006 * local-alloc.c (block_alloc, requires_inout): Likewise.
14007 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
14009 * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
14010 (EXTRA_ADDRESS_CONSTRAINT): Likewise.
14011 * doc/tm.texi: Document these two new target macros.
14013 * config/s390/s390.c (s390_expand_plus_operand): Accept already
14015 (q_constraint): New function.
14016 config/s390/s390-protos.h (q_constraint): Declare it.
14017 config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
14018 (EXTRA_MEMORY_CONSTRAINT): New macro.
14020 * config/s390/s390.md: Throughout the machine description,
14021 replace all instances of the constraint combinations 'Qo'
14022 or 'oQ' with simply 'Q'.
14024 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
14026 * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
14027 * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
14028 (LIBGCC2_CFLAGS): Compile with -mrelax.
14030 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
14032 * doc/invoke.texi: Document -minmax for 68HC12.
14034 * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
14035 ("uminqi3"): Likewise.
14036 ("uminhi3", "umaxhi3"): Likewise.
14038 * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
14039 (TARGET_MIN_MAX): Define.
14040 (TARGET_SWITCHES): New option -minmax/-mnominmax.
14042 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
14044 * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
14045 (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
14047 * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
14048 (ret, declare, farsym): New gas macros.
14049 (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
14050 ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
14051 and declare the symbol far when compiled with -mlong-calls.
14052 (__far_trampoline): New for 68HC12 trampoline code to invoke a
14053 far handler using jsr/bsr.
14055 * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
14056 (jsr): New macro to transform a 'jsr' into a 'call'.
14058 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
14060 * doc/invoke.texi: Document -mlong-calls for 68HC12.
14062 * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
14063 -mlong-calls is specified.
14064 (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
14065 assembler directives.
14066 (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
14067 (TARGET_SWITCHES): Add -mlong-calls options.
14068 (current_function_far): Declare.
14070 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
14071 into account the page register saved on the stack.
14072 (m68hc11_override_options): Take into account -mlong-calls option.
14073 (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
14075 * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
14076 if the function is going to be in 68HC12 banked memory (-mlong-calls).
14077 ("*return_16bit"): Likewise.
14078 ("*return_void"): Likewise.
14079 ("call", "call_value"): Use call for a far function call.
14081 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
14083 * toplev.c (parse_options_and_default_flags): Don't call
14085 (general_init): Initialize GC, pools and tree hash here,
14086 instead of lang_independent_init.
14087 (lang_independent_init): Rename backend_init.
14088 (do_compile): Call post_options hook; exit early if there
14089 have been errors after switch processing.
14090 (toplev_main): Update.
14092 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
14094 * c-pretty-print.h: Guard against multiple inclusion.
14096 (pp_c_attributes): Declare.
14097 * c-pretty-print.c (pp_c_attributes): New function.
14099 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14101 * m68k.c (m68k_output_function_prologue,
14102 m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
14104 * genattrtab.c: Remove dpx2 comment.
14105 * libgcc2.c (__enable_execute_stack): Delete versions for
14106 NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
14107 sony_news/SYSTYPE_BSD.
14108 * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
14109 __gmicro__, __i860__, __NeXT__ and __pyr__.
14110 * rtl.h: Remove convex comment.
14111 * varasm.c: Likewise.
14113 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14115 * c-opts.c (lang_flags): Const-ify.
14116 * ra-build.c (undef_table): Likewise.
14117 * ra.c (eliminables): Likewise.
14119 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
14121 * tree.h: Guard against multiple inclusion.
14123 2002-08-14 Hans-Peter Nilsson <hp@bitrange.com>
14125 * reload1.c (reload_cse_simplify): Before checking
14126 REG_FUNCTION_VALUE_P, check REG_P.
14128 2002-08-13 Geoffrey Keating <geoffk@redhat.com>
14130 * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
14132 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
14134 * c-opts.c (c_common_init_options): Extra braces needed.
14136 Tue Aug 13 17:40:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
14138 * sh.c (sh_init_builtins): Add PARAMS to declaration.
14139 (sh_media_init_builtins, sh_expand_builtin): Likewise.
14140 (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
14141 (sh_expand_binop_v2sf): Likewise.
14142 * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
14143 (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
14144 (sh_initialize_trampoline): Likewise.
14146 2002-08-13 Ulrich Weigand <uweigand@de.ibm.com>
14148 * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
14149 new condition code modes.
14150 s390.c (s390_match_ccmode_set): Handle those new CC modes.
14151 (s390_select_ccmode): Likewise.
14152 (s390_branch_condition_mask): Likewise.
14154 * s390-protos.h (s390_tm_ccmode): Declare.
14155 s390.c (s390_tm_ccmode): New function.
14156 (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
14158 * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
14159 ("*cmpsi_tm2"): Rename to "*tmsi_ext".
14160 ("*cmpqi_tm2"): Rename to "*tmqi_ext".
14162 ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
14163 "*cmphi_tm_sub","*cmphi_cct_0", "*cmpqi_tm", "*cmpqi_tm_sub",
14164 "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
14165 ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
14166 "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
14168 ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
14169 "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
14170 "*cmpqi_ccs_0"): Remove, replace by ...
14171 ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
14172 "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
14173 "*tstqi", "*tstqi_cconly"): ... these new patterns.
14175 ("*cmpsidi_ccs"): Remove, replace by ...
14176 ("*cmpsi_ccs_sign"): ... this new pattern.
14177 ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
14179 ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
14180 ("*cli"): ... this new pattern.
14182 ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
14183 "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
14185 ("adddi3_64"): Rename to "*adddi3_64".
14186 ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
14187 ("adddi3"): Adapt expander.
14189 ("*addsi3_cc"): Allow "general_operand" for operand 2.
14190 ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
14191 "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
14193 ("addhi3", "addqi3"): Remove, replace by ...
14194 ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
14196 ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
14197 "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
14198 ("subdi3"): Replace by insn and splitter "*subdi3_31".
14199 ("subdi3"): New expander.
14201 ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
14203 ("subhi3", "subqi3"): Remove, replace by ...
14204 ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
14206 ("*muldi3_sign"): New pattern.
14207 ("muldi3"): Do not clobber CC.
14208 ("mulsi3"): Likewise.
14209 ("mulsi_6432"): Likewise.
14211 2002-08-13 Denis Chertykov <denisc@overta.ru>
14213 * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
14214 which can change CC0.
14216 Tue Aug 13 14:49:20 2002 J"orn Rennecke <joern.rennecke@superh.com>
14218 * gcse.c (adjust_libcall_notes): New function.
14219 (do_local_cprop): Use it. Add fourth parameter. Changed caller.
14221 2002-08-13 Nathan Sidwell <nathan@codesourcery.com>
14223 * libgcc2.c (L_bb): Remove unneeded #includes.
14224 (__global_counters, __gthreads_active): Remove unused globals.
14225 (__bb_exit_func): Merge counts into files rather than appending.
14226 * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
14227 (ALL_CFLAGS): ... to here.
14229 2002-08-13 Denis Chertykov <denisc@overta.ru>
14231 * config/ip2k/ip2k.c (commands_in_file): Variable removed.
14232 (function_epilogue): Don't calculate function size.
14233 (ip2k_set_compare): Don't use lookup_const_double.
14234 (asm_file_start): Initialization of commands_in_file removed.
14235 (asm_file_end): Output of commands_in_file removed.
14237 * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
14240 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
14242 * c-opts.c (c_common_init_options): Check option array is
14243 sorted if checking enabled.
14245 2002-08-13 Gabriel Dos Reis <gdr@nerim.net>
14247 * c-pretty-print.c: #include "c-tree.h".
14248 (pp_c_simple_type_specifier): Tweak.
14249 (pp_c_storage_class_specifier): New.
14250 (pp_c_function_specifier): Likewise.
14251 (pp_c_declaration_specifiers): Likewise.
14252 (pp_c_init_declarator): Likewise.
14253 (pp_c_declaration): Likewise.
14254 (pp_c_direct_declarator): Stub.
14255 (pp_c_declarator): Likewise.
14256 (pp_c_parameter_declaration): Likewise.
14258 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
14260 * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
14261 handle_deferred_opts, sanitize_cpp_opts, defer_opt,
14262 struct deferred_opt): New.
14263 (COMMAND_LINE_OPTIONS): Add -M*.
14264 (missing_arg): Update.
14265 (c_common_decode_option): Handle -M*.
14266 (c_common_post_options): Handle -M*. Use sanitize_cpp_opts;
14267 don't call cpp_post_options.
14268 (c_common_finish, check_deps_environment_vars): Update.
14269 * cppfiles.c (stack_include_file, handle_missing_header): Update.
14270 * cpphash.h (CPP_PRINT_DEPS): Remove.
14271 * cppinit.c: Don't include version.h.
14272 (cpp_create_reader): Don't call deps_init. Initialize
14274 (cpp_read_main_file): Init deps if necessary.
14275 (cpp_destroy): Conditionally free deps.
14276 (cpp_finish): Update.
14278 (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
14279 (cpp_post_options): Rename post_options.
14280 * cpplib.h (struct cpp_options): Remove some dependency options;
14281 move others to a new structure.
14282 (cpp_post_options): Remove.
14283 (cpp_finish): Comment.
14284 * fix-header.c (read_scan_file): Don't call cpp_post_options.
14286 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
14288 * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
14289 ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
14290 MMIX_rR_REGNUM as clobbered.
14291 * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
14293 2002-08-12 Gabriel Dos Reis <gdr@nerim.net>
14295 * diagnostic.h (output_formatted_scalar): Rename from
14296 output_formatted_integer.
14297 * diagnostic.def: Add DK_DEBUG.
14298 * diagnostic.c (output_decimal): Adjust.
14299 (output_long_decimal): Likewise.
14300 (output_unsigned_decimal): Likewise.
14301 (output_octal): Likewise.
14302 (output_long_octal): Likewise.
14303 (output_hexadecimal): Likewise.
14304 (output_long_hexadecimal): Likewise.
14305 * c-pretty-print.c (pp_c_type_specifier): New function.
14306 (pp_c_specifier_qualifier_list): Likewise.
14307 (pp_c_abstract_declarator): Likewise.
14308 (pp_c_char): Replace pp_format_integer with pp_format_scalar.
14310 2002-08-12 David Edelsohn <edelsohn@gnu.org>
14312 * doc/trouble.texi (Disappointments): Add static constructor and
14313 destructor dependency information for AIX.
14315 2002-08-12 Neil Booth <neil@daikokuya.co.uk>
14317 * cpphash.h (struct printer): New from cppmain.c.
14318 (cpp_reader): New member.
14319 * cppmain.c (struct printer): Move to cpphash.h.
14320 (options, print): Remove.
14321 (account_for_newlines, print_line, maybe_print_line,
14322 cpp_preprocess_file, setup_callbacks, scan_translation_unit,
14323 scan_translation_unit_trad, cb_line_change, cb_ident,
14324 cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
14325 cb_def_pragma): Make reentrant.
14327 2002-08-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14329 * real.c (ieee_64): Always define.
14330 (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
14331 (dec_h): Not used yet, hide it.
14332 (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with
14333 macro controlling use.
14334 (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
14336 Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka <jh@suse.cz>
14338 * i386.md (tablejump): Sign extend the operand.
14339 * i386.c (classify_argument): Fix missed case from previous patch.
14341 2002-08-12 Neil Booth <neil@daikokuya.co.uk>
14343 * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
14345 (warn_multichar): Die.
14346 (cb_register_builtins): Export.
14347 * c-common.h (warn_multichar, preprocess_file): Remove.
14348 (cb_register_builtins): New.
14349 * c-lang.c (c_init): Remove.
14350 (LANG_HOOKS_INIT): Use c_objc_common_init.
14351 * c-lex.c (init_c_lex): Don't canonicalize filename.
14352 * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
14353 (preprocess_file): Make static. Update for cpplib.
14354 (c_common_decode_option): Remove warn_multichar. Use in_fname.
14355 (c_common_post_options): Set some cpp options here.
14356 (c_common_init): Move from c-common.c.
14357 * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
14358 * cpplib.h (struct cpp_options): Remove in_fname.
14359 (cpp_preprocess_file): Update.
14360 * cppmain.c (cpp_preprocess_file): Update for new prototypes.
14362 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14364 * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
14366 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14368 * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
14369 backslash in comment preceeding macro definition.
14370 * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
14371 * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
14372 * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
14374 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
14376 * expr.c (store_expr): In condition for checking if value is
14377 generated in TARGET, move call to expr_size last.
14379 2002-08-11 Neil Booth <neil@daikokuya.co.uk>
14381 * c-common.c (c_common_init): Call preprocess_file instead.
14382 (c_common_finish): Move to c-opts.c.
14383 * c-common.h (preprocess_file): new.
14384 * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
14385 check_deps_environment_vars, c_common_finish): New.
14386 (c_common_decode_option): Update for out_fname and dependencies.
14387 * cppinit.c (init_dependency_output, output_deps): Remove.
14388 (cpp_destroy): Update prototype.
14389 (cpp_add_dependency_target): New.
14390 (cpp_read_main_file): Don't overlay a buffer.
14391 (cpp_finish): Take a deps output stream and write deps to it.
14392 Return the error count.
14393 (cpp_post_options): Don't canonicalize out_fname, or do anything
14395 * cpplib.h (struct cpp_options): Remove out_fname and
14397 (cpp_add_dependency_target): New.
14398 (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
14399 * cppmain.c (cpp_preprocess_file): Update prototype. Don't
14400 set preprocess_only. Don't handle the output stream directly.
14402 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14404 * dsp16xx.c (print_operand): Fix format specifier.
14405 * dsp16xx.md: Avoid automatic aggregate initialization.
14406 * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
14407 * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
14408 integer constant modifier.
14409 * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
14410 * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
14412 * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
14413 * v850.c (v850_select_section): Mark parameter with
14415 * global.c (global_alloc): Const-ify.
14416 * ra-colorize.c (hardregset_to_string): Fix format specifier.
14418 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14420 * darwin-c.c (darwin_pragma_options): Const-ify.
14421 * darwin.c (machopic_non_lazy_ptr_name,
14422 machopic_validate_stub_or_non_lazy_ptr): Likewise.
14423 (machopic_indirect_data_reference): Wrap variables in macros
14424 controlling their use.
14425 (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
14426 (machopic_select_section): Use parentheses around && within ||.
14427 * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
14429 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14431 * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
14432 mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
14433 ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
14434 ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
14435 mdr_try_remove_redundant_insns, track_w_reload,
14436 mdr_try_wreg_elim): Make function static to match prototype.
14437 * mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark
14438 parameter with ATTRIBUTE_UNUSED.
14440 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14442 * arc.c (arc_init): Don't use ISO C style function definitions.
14443 * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
14444 arm_get_strip_length, arm_strip_name_encoding): Likewise.
14445 * avr.h (progmem_section): Likewise.
14446 * h8300.c h8300_asm_insn_count): Likewise.
14447 * m32r.c (init_idents): Likewise.
14448 * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
14449 * sh.c (sh_cfun_interrupt_handler_p): Likewise.
14450 * xtensa.c (xtensa_build_va_list): Likewise.
14452 2002-08-11 Neil Booth <neil@daikokuya.co.uk>
14454 * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
14455 * c-opts.c (parse_option): Rename find_opt.
14456 (set_std_c99): New function.
14457 (COMMAND_LINE_OPTIONS): Handle -remap and -o. Remove OPT_std_bad.
14458 (missing_arg): Remove OPT_std_bad. Handle -o.
14459 (c_common_decode_option): Handle input and output file names,
14460 -o and -remap. Clean up -std= handling.
14461 * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
14462 (cpp_handle_option): Similarly. Don't handle filenames.
14464 Sun Aug 11 14:43:17 CEST 2002 Jan Hubicka <jh@suse.cz>
14466 * i386.c (classify_argument): Fix computing of field's offsets.
14468 2002-08-11 Andreas Jaeger <aj@suse.de>
14471 * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
14473 2002-08-10 Ziemowit Laski <zlaski@apple.com>
14475 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
14476 reference to clk_objective_c with flag_objc.
14477 * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
14479 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
14481 2002-08-10 Neil Booth <neil@daikokuya.co.uk>
14483 * c-opts.c (set_std_cxx98, set_std_c89): New.
14484 (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
14485 (c_common_decode_option): Handle new switches from cppinit.c.
14487 * cppinit.c (set_lang): Rename cpp_set_lang. Export.
14488 (no_arg, no_num): Remove.
14489 (COMMAND_LINE_OPTIONS): Move more to c-opts.c. Drop all lang-
14490 switches apart from -lang-objc and lang-asm.
14491 (cpp_handle_option): Similarly.
14492 * cpplib.h (cpp_set_lang): New.
14493 * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
14495 * objc/lang-specs.h: Remove -ansi.
14497 Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz>
14500 * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
14503 2002-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14505 * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
14506 emit_jump_insn): Fix uninitialized variable.
14507 * gcov.c (init_line_info): Likewise.
14508 * genautomata.c (transform_3): Add braces around ambiguous
14510 * ifcvt.c (cond_exec_process_insns): Mark parameter with
14512 * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
14513 * regrename.c (copyprop_hardreg_forward): Fix uninitialized
14516 * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
14517 warnings in output files.
14519 2002-08-09 Ziemowit Laski <zlaski@apple.com>
14521 * c-common.c (flag_objc): New.
14522 * c-common.h (c_language_kind): Get rid of clk_objective_c
14524 (flag_objc): New extern declaration.
14525 * c-decl.c (implicitly_declare): Call objc_check_decl
14526 instead of maybe_objc_check_decl.
14527 (finish_decl): Likewise.
14528 (grokfield): Likewise.
14529 (finish_struct): Likewise.
14530 * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
14531 (maybe_objc_comptypes): Rename to objc_comptypes.
14532 (maybe_building_objc_message_expr): Rename to
14533 objc_message_selector.
14534 * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
14535 replace with flag_objc as needed.
14536 * c-opts.c (c_common_init_options): Likewise.
14537 (c_common_decode_option): Likewise.
14538 * c-parse.in (init_reswords): Likewise.
14539 * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
14540 (maybe_objc_comptypes): Rename to objc_comptypes.
14541 (maybe_building_objc_message_expr): Rename to
14542 objc_message_selector.
14543 * c-typeck.c (comptypes): Call objc_comptypes instead of
14544 maybe_objc_comptypes, and/or objc_message_selector instead of
14545 maybe_building_objc_message_expr.
14546 (comp_target_types): Likewise.
14547 (convert_for_assignment): Likewise.
14548 (warn_for_assignment): Likewise.
14549 * cppinit.c (init_builtins): Set __OBJC__ manifest constant
14550 independently of those for other languages.
14551 * objc/objc-act.c (maybe_objc_comptypes): Delete.
14552 (maybe_objc_check_decl): Delete.
14553 (maybe_building_objc_message_expr): Rename to
14554 objc_message_selector.
14555 * objc/objc-lang.c (objc_init_options): Use clk_c instead of
14556 clk_objective_c; set flag_objc flag.
14558 2002-08-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
14560 * ifcvt.c (find_if_case_2): Test correct basic block for size.
14562 2002-08-09 Dale Johannesen <dalej@apple.com>
14564 * config/rs6000/rs6000.md: Add sibcall patterns.
14565 * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL): Define.
14566 * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
14567 Rewritten to handle sibcalls.
14568 * config/rs6000/rs6000.c (function_ok_for_sibcall): New.
14569 * config/rs6000/rs6000-protos.h (function_ok_for_sibcall): New.
14571 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
14573 * profile.c (da_file_name): New static var.
14574 (init_branch_prob): Initialize it.
14575 (end_branch_prob): Remove da file.
14577 * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
14578 * configure.in (coverage_flags): Default to nothing.
14579 * configure: Rebuilt.
14581 2002-08-09 Neil Booth <neil@daikokuya.co.uk>
14583 * Makefile.in (c-opts.o): Update
14584 * c-opts.c: Include intl.h.
14585 (print_help): Move from cppinit.c. Remove unused options.
14586 (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
14587 (missing_arg): Complain for switches without an argument.
14588 (c_common_decode_option): Reject missing joined arguments.
14589 Handle new switches from cppinit.c.
14590 * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
14591 (cpp_handle_option): Similarly.
14592 (print_help): Moved to c-opts.c.
14593 * cpplib.h (struct cpp_options): Remove help_only.
14594 * gcc.c (cpp_unique_options): Remove -$.
14595 * doc/cppopts.texi: Undocument -h.
14597 2002-08-08 Jakub Jelinek <jakub@redhat.com>
14599 * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
14600 legitimate constant.
14601 (legitimate_pic_operand_p): Neither pic operand.
14602 (legitimate_address_p): But legitimate address.
14603 (get_thread_pointer): Generate MEM/u instead of CONST around
14605 (print_operand): Remove printing of UNSPEC_TP.
14606 (print_operand_address): And print it here.
14608 2002-08-08 Devang Patel <dpatel@apple.com>
14610 * objc/objc-act.c (build_selector_translation_table): Issue warning,
14611 when -Wselector is used,if method for which selector is being
14612 created does not exist.
14614 2002-08-08 Stephen Clarke <stephen.clarke@superh.com>
14616 * config/sh/sh.c (prepare_move_operands): Only call
14617 target_reg_operand if TARGET_SHMEDIA.
14619 2002-08-08 Jakub Jelinek <jakub@redhat.com>
14621 * config/rs6000/rs6000.h, config/rs6000/aix.h,
14622 config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
14624 * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
14626 2002-08-08 Lars Brinkhoff <lars@nocrew.org>
14627 Richard Henderson <rth@redhat.com>
14629 * emit-rtl.c (gen_rtx_REG): After reload, only return
14630 frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
14632 2002-08-08 Jakub Jelinek <jakub@redhat.com>
14634 * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
14635 * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
14636 * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
14639 2002-08-08 Adam Nemet <anemet@lnxw.com>
14641 * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
14643 (thumb_expand_prologue): Likewise.
14644 (thumb_output_function_prologue): Likewise.
14645 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
14646 the additional push of the PIC register.
14648 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
14650 * configure.in (enable_coverage): New enable switch.
14651 * configure: Rebuilt.
14652 * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
14653 (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
14654 (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
14655 (mostlyclean): Remove coverage files.
14656 * doc/install.texi: Document enable_coverage.
14658 * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
14659 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
14660 * f/Make-lang.in (f.mostlyclean): Remove coverage files.
14661 * java/Make-lang.in (java.mostlyclean): Remove coverage files.
14662 * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
14663 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
14666 2002-08-08 Neil Booth <neil@daikokuya.co.uk>
14668 * c-opts.c (cpp_opts): New.
14669 (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
14670 (c_common_decode_options): Handle cpplib switches.
14671 (c_common_init_options): Set cpp_opts.
14672 * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
14673 (cpp_handle_option): Similarly.
14675 2002-08-08 David Edelsohn <edelsohn@gnu.org>
14677 * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
14678 (TARGET_ALTIVEC_ABI): Same.
14679 (TARGET_ALTIVEC_VRSAVE): Same.
14681 * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
14682 icode not CODE_FOR_nothing. Change switch to if.
14684 2002-08-08 Alan Modra <amodra@bigpond.net.au>
14686 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
14688 2002-08-08 Jakub Jelinek <jakub@redhat.com>
14690 * stor-layout.c (place_union_field): For bitfields if
14691 PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
14694 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
14696 * pa.c (struct deferred_plabel): Constify name field.
14698 2002-08-07 Neil Booth <neil@daikokuya.co.uk>
14700 * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
14702 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
14704 * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
14705 local_prefix are the same.
14706 * configure: Rebuilt.
14708 2002-08-07 Jakub Jelinek <jakub@redhat.com>
14709 Richard Henderson <rth@redhat.com>
14711 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
14712 to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply
14713 ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
14714 (place_field): Likewise.
14715 * config/i386/i386.c (x86_field_alignment): Don't check
14716 DECL_USER_ALIGN here.
14717 * config/rs6000/rs6000.c (rs6000_field_alignment): New.
14718 * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
14720 * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
14721 * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
14722 * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
14723 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
14724 * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
14725 * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
14727 2002-08-07 Neil Booth <neil@daikokuya.co.uk>
14729 * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
14730 * c-common.c: Don't include tree-inline.h.
14731 (c_common_init_options, c_common_post_options): Move to c-opts.c.
14732 * c-common.h (c_common_decode_option): New.
14733 * c-decl.c (c_decode_option): Remove.
14734 * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
14735 * c-opts.c: New file.
14736 * c-tree.h (c_decode_option): Remove.
14737 * doc/passes.texi: Update.
14738 * objc/objc-act.c (objc_decode_option): Remove.
14739 * objc/objc-act.h (objc_decode_option): Remove.
14740 * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
14741 c_common_decode_option.
14743 2002-08-07 Chris Demetriou <cgd@broadcom.com>
14745 * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
14746 dependency on TARGET_DOUBLE_FLOAT.
14748 2002-08-07 Stephen Clarke <stephen.clarke@superh.com>
14750 * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
14751 overwrite callee-save registers. Fix comment.
14753 2002-08-06 Chris Demetriou <cgd@broadcom.com>
14755 * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
14756 in target_flags based on ISA, if it was not set on the command
14757 line. Warn if MASK_BRANCHLIKLEY is set but the ISA does not
14758 support Branch Likely instructions.
14759 * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
14760 (TARGET_BRANCHLIKELY): Likewise.
14761 (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
14762 (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
14763 ISA_HAS_BRANCHLIKELY.
14764 (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
14765 * doc/invoke.texi: Document new MIPS -mbranch-likely and
14766 -mno-branch-likely options.
14768 2002-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14770 * ip2k.c (ip2k_set_compare): Add missing iteration variable.
14772 * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
14775 2002-08-06 Aldy Hernandez <aldyh@redhat.com>
14777 * c-decl.c (duplicate_decls): Error out for incompatible TLS
14780 * testsuite/gcc.dg/tls/diag-3.c: New.
14782 2002-08-06 Dale Johannesen <dalej@apple.com>
14784 * c-common.c (fname_decl): Use line number 0 for
14785 __func__, to avoid confusing debuggers.
14787 2002-08-06 Nathan Sidwell <nathan@codesourcery.com>
14790 (struct line_info, struct coverage): New structures.
14791 (gcov_file_name, gcov_file): Remove globals.
14792 (output_data): Take source file parameter. Fix memory leak. Break
14794 (init_line_info, output_line_info, make_gcov_file_name,
14795 accumulate_branch_counts): ... here.
14796 (calculate_branch_probs, function_summary): Adjust.
14798 (function_*): Remove global variables.
14800 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
14802 * dwarf2out.c: Remove unused macros.
14804 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
14806 * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
14808 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
14810 * cppinit.c (struct lang_flags): Rename trigraphs std.
14811 (set_lang): Update.
14812 * cpplib.h (struct cpp_options): New member std.
14813 * cppmacro.c (_cpp_builtin_macro_text): Use std.
14814 (collect_args): Flag whether to swallow a possible future
14815 comma pasted with varargs.
14816 (replace_args): Use this flag.
14817 * doc/cpp.texi: Update varargs extension documentation.
14819 2002-08-06 Jakub Jelinek <jakub@redhat.com>
14821 * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
14823 2002-08-06 Jakub Jelinek <jakub@redhat.com>
14825 * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
14826 and MODE_CLASS_INT modes.
14828 2002-08-06 Jakub Jelinek <jakub@redhat.com>
14830 * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
14831 --{enable,disable}-threads is given to configure.
14832 (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
14833 x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
14834 powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
14835 s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
14836 Remove thread_file setting here.
14838 2002-08-06 David Edelsohn <edelsohn@gnu.org>
14840 * doc/install.texi (Binaries): Update Bull Freeware URL.
14842 2002-08-06 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14844 * doc/gcc.texi (Top): Rename Index to Keyword Index.
14846 2002-08-05 Nathan Sidwell <nathan@codesourcery.com>
14848 * gcov.c (output_data): Round to % to nearest, tweak formatting.
14850 2002-08-05 Jakub Jelinek <jakub@redhat.com>
14852 * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
14853 of the operands into MINUS_EXPR if code is PLUS_EXPR.
14855 2002-08-05 Douglas B Rupp <rupp@gnat.com>
14857 * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
14858 * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
14859 drectve_section): Define.
14860 * config/i386/t-interix: Replace interix.o rule with winnt.o.
14861 * config/i386/interix.c: Remove.
14863 2002-08-05 Geoffrey Keating <geoffk@redhat.com>
14865 * attribs.c: Don't include obstack.h.
14866 * builtins.c: Likewise.
14867 * cfganal.c: Likewise.
14868 * cfgbuild.c: Likewise.
14869 * cfgcleanup.c: Likewise.
14870 * emit-rtl.c: Likewise.
14871 * loop.c: Likewise.
14872 * stmt.c: Likewise.
14874 * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
14876 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
14878 * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
14880 2002-08-04 Chris Demetriou <cgd@broadcom.com>
14882 * doc/invoke.texi: Remove duplicated paragraph describing
14885 2002-08-04 Geoffrey Keating <geoffk@redhat.com>
14887 * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
14888 * collect2.h (permanent_obstack): Delete declaration.
14889 * collect2.c (permanent_obstack): Delete definition.
14890 (main): Don't initialize permanent_obstack. Use xstrdup instead.
14891 * expr.c: Don't include obstack.h.
14892 (permanent_obstack): Delete declaration.
14893 * function.c: Don't include obstack.h.
14894 (permanent_obstack): Delete declaration.
14895 * integrate.c: Don't include obstack.h.
14896 (function_maybepermanent_obstack): Delete declaration.
14897 * print-tree.c (debug_tree): Use x*alloc not permalloc.
14898 * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
14899 * tlink.c (pfgets): Use xstrdup not permanent_obstack.
14900 * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
14901 * tree.h: Rename init_obstacks to init_ttree. Remove declarations
14902 of permalloc, expralloc, perm_calloc.
14903 * tree.c (permanent_obstack): Delete definition.
14904 (init_ttree): Rename from init_obstacks.
14905 (permalloc): Delete.
14906 (perm_calloc): Delete.
14907 (dump_tree_statistics): Don't print information about
14909 * varasm.c (assemble_start_function): Use xstrdup instead of
14911 (assemble_variable): Likewise.
14912 * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
14914 (unicosmk_add_extern): Likewise.
14915 * config/c4x/c4x.c (c4x_external_ref): Likewise.
14916 (c4x_global_label): Likewise.
14917 * config/frv/frv.c (frv_encode_section_info): Likewise.
14918 * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
14919 (i386_pe_record_exported_symbol): Likewise.
14920 * config/mips/mips.c (mips_output_external): Likewise.
14921 (mips_output_external_libcall): Likewise.
14922 * config/pa/pa.c: (permanent_obstack): Delete declaration.
14923 (output_call): Use ggc_strdup instead of allocating on
14925 * config/romp/romp.c: Include ggc.h.
14926 (get_symref): Don't declare permanent_obstack, use ggc_strdup
14927 intead of permanent_obstack.
14928 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
14929 instead of permalloc.
14930 * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
14931 instead of permalloc
14932 * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
14933 instead of permalloc.
14934 * config/vax/vax.c (vms_check_external): Use xmalloc instead of
14937 2002-08-04 Bernd Schmidt <bernds@redhat.com>
14939 Contribute a port developed primarily by Michael Meissner,
14940 Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
14941 * config.gcc: Add frv-elf target.
14942 * config/frv/cmovd.c: New file.
14943 * config/frv/cmovh.c: New file.
14944 * config/frv/cmovw.c: New file.
14945 * config/frv/frv-abi.h: New file.
14946 * config/frv/frv-asm.h: New file.
14947 * config/frv/frv-modes.def: New file.
14948 * config/frv/frv-protos.h: New file.
14949 * config/frv/frv.c: New file.
14950 * config/frv/frv.h: New file.
14951 * config/frv/frv.md: New file.
14952 * config/frv/frvbegin.c: New file.
14953 * config/frv/frvend.c: New file.
14954 * config/frv/lib1funcs.asm: New file.
14955 * config/frv/media.h: New file.
14956 * config/frv/modi.c: New file.
14957 * config/frv/t-frv: New file.
14958 * config/frv/uitod.c: New file.
14959 * config/frv/uitof.c: New file.
14960 * config/frv/ulltod.c: New file.
14961 * config/frv/ulltof.c: New file.
14962 * config/frv/umodi.c: New file.
14963 * config/frv/xm-frv.h: New file.
14965 * config/frv/media.h: Removed again.
14967 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
14969 * gcov.c (bb_file_time): New static variable.
14970 (object_directory): May also be object file.
14971 (preserve_paths): New static variable.
14972 (print_usage): Adjust.
14974 (process_args): Adjust.
14975 (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
14976 file. Find modification date on bb file.
14977 (read_profile): Don't rewind a NULL file.
14978 (format_hwint): New static function.
14979 (function_summary): Use format_hwint.
14980 (output_data): SOURCE_FILE_NAME is never relative to
14981 OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
14982 mangling. Adjust output format to make it more machine readable.
14983 * doc/gcov.texi: Document & clarify semantics.
14985 2002-08-04 Joseph S. Myers <jsm@polyomino.org.uk>
14987 * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
14989 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
14991 * gcc.c (cc1_options): Pass output file as auxbase when
14993 * profile.c (init_branch_prob): FILENAME has already had ending
14995 * final.c (end_final): Likewise.
14996 * toplev.c (aux_base_name): New global.
14997 (compile_file): Pass aux_base_name to init init_branch_prob and
14999 (independent_decode_option, case 'a'): New auxinfo options.
15000 (case 'd'): Protect against mising basename.
15001 (do_compile): Initialize aux_base_name.
15002 * toplev.h (aux_base_name): New global.
15003 * doc/invoke.texi: Adjust documentation.
15005 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
15007 * config/i386/i386.c (x86_field_alignment): Remove duplicate test
15008 of TARGET_ALIGN_DOUBLE.
15010 2002-08-04 Gabriel Dos Reis <gdr@nerim.net>
15012 * diagnostic.c (inform): New function.
15013 * diagnostic.h (inform): Declare.
15015 2002-08-03 David Edelsohn <edelsohn@gnu.org>
15017 * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
15018 (movhi_internal): Same.
15019 (movqi_internal): Same.
15020 (movdi_internal64): Same.
15022 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
15024 * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
15025 (ASM_OUTPUT_SKIP): Use it. SIZE unsigned.
15026 (COMMON_ASM_OP): Define.
15027 (ASM_OUTPUT_ALIGNED_COMMON): Use it. SIZE unsigned.
15028 Use ALIGN parameter.
15029 (LOCAL_COMMON_ASM_OP): Define.
15030 (ASM_OUTPUT_LOCAL): Use it. SIZE unsigned.
15032 2002-08-03 Roger Sayle <roger@eyesopen.com>
15034 * builtins.def: Define new builtin functions exp, expf, expl,
15035 log, logf and logl (and their __builtin_* variants).
15036 * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
15037 Define exp_optab and log_optab.
15038 * optabs.c (init_optans): Initialize exp_optab and log_optab.
15039 * genopinit.c (optabs): Implement exp_optab and log_optab
15040 using exp?f2 and log?f2 patterns.
15041 * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
15042 and BUILT_IN_LOG* using exp_optab and log_optab respectively.
15043 (expand_builtin): Ignore the new builtins (and all cos and
15044 sin variants) when not optimizing. Expand new builtins via
15045 expand_builtin_mathfn when flag_unsafe_math_optimizations.
15047 * doc/extend.texi: Document new exp and log builtins.
15048 * doc/md.texi: Document new exp?f2 and log?f2 patterns
15049 (and previously undocumented cos?f2 and sin?f2 patterns).
15051 2002-08-03 Jason Merrill <jason@redhat.com>
15053 * explow.c (int_expr_size): New fn.
15054 * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
15055 * expr.h: Declare it.
15057 2002-08-02 Krister Walfridsson <cato@df.lth.se>
15059 * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
15060 gengtype-* dependencies.
15062 2002-08-02 Eric Christopher <echristo@redhat.com>
15064 * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
15065 * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
15067 (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
15069 2002-08-02 David Edelsohn <edelsohn@gnu.org>
15072 * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
15073 small if optimizing for size.
15075 2002-08-02 Daniel Jacobowitz <drow@mvista.com>
15077 * configure.in (FORBUILD): Use $build_alias.
15078 * configure: Regenerated.
15080 2002-08-02 Richard Sandiford <rsandifo@redhat.com>
15082 * config.gcc: Don't include mips/abi64.h in $tm_file.
15083 * hard-reg-set.h (call_really_used_regs): Declare.
15084 * config/mips/abi64.h: Remove file.
15085 * config/mips/linux.h,
15086 * config/mips/iris6.h: Don't include it.
15087 * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
15088 * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
15089 (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
15090 FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
15091 FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
15092 Bring across definitions from abi64.h.
15093 (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
15094 (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
15095 (struct mips_args): Use it.
15096 * config/mips/mips.c (mips_conditional_register_usage): Define.
15098 2002-08-02 Jason Merrill <jason@redhat.com>
15100 * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
15101 * langhooks.c (lhd_expr_size): Define default.
15102 * langhooks.h (struct lang_hooks): Add expr_size.
15103 * explow.c (expr_size): Call it.
15104 * expr.c (store_expr): Don't copy an expression of size zero.
15105 (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
15107 * Makefile.in (builtins.o): Depend on langhooks.h.
15109 2002-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15111 * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
15112 * ra-debug.c: Include "tm_p.h".
15113 * ra-rewrite.c (is_partly_live_1): Change return type to bool.
15115 2002-08-02 Toon Moene <toon@moene.indiv.nluug.nl>
15117 * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
15118 when not honoring signalling NaNs.
15119 (simplify_ternary_operation): a == b has a definite value
15120 when not honoring NaNs.
15122 2002-08-02 Jason Merrill <jason@redhat.com>
15124 * gdbinit.in (pct): New macro.
15126 2002-08-01 Stan Shebs <shebs@apple.com>
15127 Andreas Tobler <toa@pop.agri.ch>
15129 * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
15130 plays nice with Darwin headers.
15131 (_BSD_RUNE_T_DEFINED_): Likewise.
15133 2002-08-01 Zack Weinberg <zack@codesourcery.com>
15135 * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
15136 * cppinit.c (cpp_post_options): Likewise.
15138 * cppexp.c (cpp_classify_number): Suppress -Wtraditional
15139 warning about 'LL' suffix (but not 'ULL' etc) when
15140 -Wno-long-long is in effect.
15142 * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
15143 Check for failing time()/localtime(), issue a warning, and
15144 make __TIME__ and __DATE__ expand to fallback strings.
15146 * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
15147 and __TIME__ when the date and time cannot be determined.
15149 2002-08-02 Alan Modra <amodra@bigpond.net.au>
15151 * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
15153 2002-08-01 Daniel Jacobowitz <drow@mvista.com>
15155 * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
15157 2002-08-01 Chris Demetriou <cgd@broadcom.com>
15159 * config.gcc (mipsisa64sb1-*-elf*): New configuration.
15160 (mipsisa64sb1el-*-elf*): Likewise.
15161 * config/mips/mips.c (mips_cpu_info_table): Add sb1.
15162 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
15163 (TARGET_SB1, TUNE_SB1): New macros.
15164 * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
15167 2002-08-01 David Edelsohn <edelsohn@gnu.org>
15169 * varasm.c (asm_emit_uninitialized): Return false if global BSS
15170 and ASM_EMIT_BSS not supported by target.
15171 (assemble_variable): Do not duplicate uninitialized logic.
15172 Fall through if asm_emit_uninitialized failed.
15174 2002-08-01 Chris Demetriou <cgd@broadcom.com>
15176 * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
15178 2002-08-02 Alan Modra <amodra@bigpond.net.au>
15180 * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
15181 (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
15183 * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
15184 HOST_BITS_PER_WIDE_INT == 64.
15186 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15188 * df.c (df_insn_table_realloc): Change parameter to unsigned.
15189 * optabs.c (expand_binop): Make variable unsigned.
15190 * simplify-rtx.c (simplify_subreg): Likewise.
15191 * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
15193 2002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15195 * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
15197 2002-08-01 Richard Henderson <rth@redhat.com>
15199 * toplev.c (parse_options_and_default_flags): Don't set
15200 flag_reorder_blocks for -Os.
15202 * config/avr/avr.c (avr_optimization_options): Remove.
15203 * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
15204 * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
15205 * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
15207 2002-08-01 H.J. Lu <hjl@gnu.org>
15208 Richard Henderson <rth@redhat.com>
15210 * output.h (DECL_READONLY_SECTION): Remove.
15211 (decl_readonly_section): Declare.
15212 * varasm.c (decl_readonly_section): New.
15213 (default_section_type_flags, default_select_section): Use it.
15214 * config/arm/pe.c (arm_pe_unique_section): Likewise.
15215 * config/i386/interix.c (i386_pe_unique_section): Likewise.
15216 * config/i386/winnt.c (i386_pe_unique_section): Likewise.
15217 * config/mcore/mcore.c (mcore_unique_section): Likewise.
15218 * config/mips/mips.c (mips_unique_section): Likewise.
15220 2002-08-01 Richard Henderson <rth@redhat.com>
15222 * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
15223 refers to a subroutine parameter.
15225 2002-08-01 Jakub Jelinek <jakub@redhat.com>
15227 * varasm.c (assemble_visibility): Strip name encoding.
15229 2002-08-01 Ian Dall <ian@sibyl.beware.dropbear.id.au>
15231 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
15232 (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
15233 when there is no frame pointer.
15234 (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
15235 registers properly.
15236 * config/ns32k/__unorddf2.c: New file.
15237 * config/ns32k/__unordsf2.c: New file.
15238 * config/ns32k/t-ns32k: New file.
15239 * config.gcc (ns32k-*-netbsd*): Use it.
15241 2002-08-01 Aldy Hernandez <aldyh@redhat.com>
15243 * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
15245 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
15247 * c-common.c (__GXX_ABI_VERSION): Correct spelling.
15249 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
15251 * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
15253 2002-08-01 Richard Sandiford <rsandifo@redhat.com>
15255 * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
15257 2002-08-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
15259 * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
15261 (expr_hash_table, set_hash_table): Type changed to ...
15262 (struct hash_table): New type.
15263 (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
15264 insert_expr_in_table, insert_set_in_table, compute_hash_table,
15265 dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
15266 compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
15267 (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
15268 (alloc_hash_table): New.
15269 (free_set_hash_table, free_expr_hash_table): Merged to ...
15270 (free_hash_table): New.
15271 (compute_set_hash_table, compute_expr_hash_table): Merged to ...
15272 (compute_hash_table_work): New.
15273 (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
15274 find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
15275 pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
15276 one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
15277 hoist_code, one_code_hoisting_pass,
15278 trim_ld_motion_mems): Altered due to changed type of hash tables.
15280 2002-08-01 Zack Weinberg <zack@codesourcery.com>
15282 * final.c (output_alternate_entry_point):
15283 If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
15285 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15287 * objc/objc-act.c (encode_complete_bitfield): Add prototype and
15288 avoid ISO C style function definition.
15290 * expr.c (expand_assignment): Delete unused variable.
15292 2002-08-01 Toon Moene <toon@moene.indiv.nluug.nl>
15294 * c-common.c (cb_register_builtins): Set
15295 __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
15296 is given, and to 0 otherwise.
15297 * combine.c (simplify_if_then_else): HONOR_NANS
15298 implies FLOAT_MODE_P.
15300 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
15302 * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
15303 (cpp_handle_option): Don't handle it.
15304 (print_help): Update.
15305 * doc/cppopts.texi: Update.
15307 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
15309 * c-common.c (cb_register_builtins): If C++, define
15310 __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
15311 * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
15313 * lang-specs.h: Simplify in accordance with new code in
15316 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
15318 * c-common.c: Define all C/ObjC/C++ warning and flag variables.
15319 * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
15320 * c-decl.c: Move all warning and flag variables to c-common.c.
15321 * c-format.c: Move all warning variables to c-common.c.
15322 * c-tree.h: Move all warning and flag declarations to c-common.h.
15323 * objc/objc-act.c: Move all warning variables to c-common.c.
15324 (flag_warn_protocol): Rename warn_protocol.
15326 2002-07-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
15328 * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
15330 2002-07-31 Graham Stott <graham.stott@btinternet.com>
15332 * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
15335 2002-07-31 Stan Shebs <shebs@apple.com>
15337 * config.gcc (i[34567]86-*-darwin*): New configuration.
15338 * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
15340 (TARGET_ENCODE_SECTION_INFO): Ditto.
15341 (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
15342 * config/darwin.c (machopic_indirect_data_reference): Remove
15343 setting of RTX_UNCHANGING_P.
15344 (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
15345 not to be applied to sums.
15346 * config/i386/t-darwin: New file.
15347 * config/i386/darwin.h: New file.
15348 * config/i386/i386.h (TARGET_MACHO): Add default definition.
15349 * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
15350 * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
15351 label and not the GOT add.
15352 (constant_address_p): For Mach-O, seeing a CONST is enough.
15353 (legitimate_pic_address_disp_p): Add a Mach-O case.
15354 (legitimate_address_p): Also test machopic_operand_p if Mach-O.
15355 (legitimize_pic_address): Use generic Mach-O code to legitimize.
15356 (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
15357 if outputting a difference.
15358 (ix86_output_addr_diff_elt): Add Mach-O case.
15359 (ix86_expand_move): Similarly.
15360 (ix86_expand_call): Similarly.
15361 (current_machopic_label_num): New global.
15362 (machopic_output_stub): New function.
15363 (ix86_value_regno): New function.
15364 (ix86_function_value): Use it instead of VALUE_REGNO.
15365 (ix86_libcall_value): Ditto.
15366 * config/i386/unix.h (VALUE_REGNO): Remove.
15368 2002-07-31 Graham Stott <grahas@btinternet.com>
15370 * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
15371 hash for LABEL_REF's.
15373 2002-07-31 Graham Stott <grahams@btinternet.com>
15375 * config/rs6000/rs6000.c (spe_init_builtins,
15376 altivec_init_builtins, rs6000_common_init_builtins):
15377 Replace ANSI with K&R function def.
15379 2002-07-31 David Edelsohn <edelsohn@gnu.org>
15381 * rs6000.c (validate_condition_mode): Test flag_finite_math_only
15384 2002-07-31 Richard Sandiford <rsandifo@redhat.com>
15386 * config/mips/crtn.asm: Don't use __mips16 to determine the
15387 return-address offset. Define RA to a suitable temporary
15388 register for the return address.
15390 2002-07-31 Richard Sandiford <rsandifo@redhat.com>
15392 * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
15393 constraints to 'd'.
15395 2002-07-30 Chris Demetriou <cgd@broadcom.com>
15397 * config/mips/elf.h (STARTFILE_SPEC): Define differently if
15398 default ABI is MEABI. (Undoes incorrect change in Eric Christopher's
15399 patch on 2002-07-29.)
15400 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
15402 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15404 * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
15405 fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
15406 ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
15407 openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
15408 s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
15409 (ASM_GLOBALIZE_LABEL): Delete.
15410 (GLOBAL_ASM_OP): Define.
15412 * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
15414 * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
15415 * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
15417 2002-07-30 Geoffrey Keating <geoffk@redhat.com>
15419 * doc/extend.texi (Hints implementation): Document that GCC
15420 mostly ignores `register'.
15422 2002-07-30 Toon Moene <toon@moene.indiv.nluug.nl>
15424 * flags.h: Declare flag_finite_math_only.
15425 Use it in definition of HONOR_NANS and
15427 * c-common.c (cb_register_builtins): Emit
15428 __FINITE_MATH_ONLY__ when flag_finite_math_only
15430 * combine.c (simplify_if_then_else): If
15431 flag_finite_math_only is set, a == b has a
15433 * toplev.c: Initialize flag_finite_math_only.
15434 (set_flags_fast_math): Set it on -ffast-math.
15435 (flag_fast_math_set_p): Test it.
15436 * doc/invoke.texi: Document -ffinite-math-only.
15438 2002-07-30 Richard Henderson <rth@redhat.com>
15440 * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
15441 (noce_process_if_block): Likewise.
15443 2002-07-30 Bernd Schmidt <bernds@redhat.com>
15445 * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
15446 Bail out early if false_expr is NULL and we'd crash due to this.
15447 * genemit.c (gen_expand): Recognize return insns even if the return
15448 appears in a parallel.
15449 * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
15450 * config/fp-bit.c: Likewise.
15451 * doc/tm.texi: Document it.
15453 2002-07-30 David Edelsohn <edelsohn@gnu.org>
15454 Zack Weinberg <zack@codesourcery.com>
15456 * rs6000.c (rs6000_expand_unop_builtin): Check icode not
15457 CODE_FOR_nothing. Change switch to if.
15458 (rs6000_expand_binop_builtin): Same.
15459 (rs6000_expand_builtin): Expand builtin if target support enabled.
15460 (rs6000_init_builtins): Init builtin if target support enabled.
15461 (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
15463 2002-07-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15465 * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
15467 2002-07-30 Richard Sandiford <rsandifo@redhat.com>
15469 * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
15471 Tue Jul 30 18:31:31 2002 J"orn Rennecke <joern.rennecke@superh.com>
15473 * sh.md (cond_delay_slot): New attribute.
15474 (cbranch delay): Use it for anulled-true case.
15475 (stuff_delay_slot): New pattern.
15476 * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
15478 (gen_far_branch): Emit stuff_delay_slot pattern.
15480 Tue Jul 30 11:21:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
15482 * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
15484 2002-07-30 Kazu Hirata <kazu@cs.umass.edu>
15486 * fold-const.c: Fix comment typos.
15487 * gcse.c: Likewise.
15488 * reload1.c: Likewise.
15490 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
15492 * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
15495 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
15497 * c-pretty-print.h (pp_c_statement): Declare.
15498 * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
15499 (pp_c_statement): Define.
15501 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15503 * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
15504 darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
15505 ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
15506 mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
15507 rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
15508 v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
15510 * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
15511 * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
15513 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
15515 * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
15516 (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
15517 COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
15518 (pp_c_expression): Update.
15520 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15522 * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
15523 concat in lieu of xmalloc/strcpy/memcpy/sprintf.
15524 * alpha/vms-ld.c (main): Likewise.
15525 * dsp16xx.c (double_reg_to_memory): Likewise.
15526 * mcore.c (mcore_expand_prolog): Likewise.
15527 * cppfiles.c (read_name_map): Likewise.
15528 * gensupport.c (process_rtx, identify_predicable_attribute,
15529 alter_test_for_insn): Likewise.
15530 * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
15532 2002-07-29 Roger Sayle <roger@eyesopen.com>
15534 * builtins.c (expand_builtin): Change the default behavior to
15535 only issue an error if the builtin function doesn't have a
15536 fallback library call. Remove several cases handled by the
15539 2002-07-29 John David Anglin <dave@hiauly1.hia.nrc>
15541 * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
15542 floating point format of the target is IEEE.
15543 * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
15544 format of the target is DEC.
15546 2002-07-29 Richard Henderson <rth@redhat.com>
15548 * unroll.c (verify_addresses): Remove.
15549 (find_splittable_givs): Never split DEST_ADDR givs.
15551 2002-07-29 Geoffrey Keating <geoffk@redhat.com>
15553 * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
15555 (Files): Improve documentation on generated source files.
15557 * doc/extend.texi (Translation implementation): Document what
15558 diagnostics look like.
15559 (Identifiers implementation): Document that there's normally no
15560 limit on identifier names.
15561 (Integers implementation): Document two's complement.
15562 (Hints implementation): Document that GCC honors 'inline', mostly.
15563 (Preprocessing directives implementation): Document that GCC
15564 requires the current time.
15566 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
15568 * c-pretty-print.h (struct c_pretty_print_info): Add new member.
15569 (pp_initializer): New macro.
15570 (pp_c_initializer): Declare.
15571 * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
15572 (pp_c_initializer): Define.
15573 (pp_c_initializer_list): New function.
15574 (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
15575 VECTOR_CST, CONSTRUCTOR.
15576 (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
15578 (pp_c_cast_expression): Handle FLOAT_EXPR.
15579 (pp_c_assignment_expression): Handle INIT_EXPR.
15580 (pp_c_expression): Update.
15582 2002-07-30 Neil Booth <neil@daikokuya.co.uk>
15584 * objc/objc-act.c (objc_init): Return immediately if filename
15587 2002-07-29 Eric Christopher <echristo@redhat.com>
15589 * config/mips/elf.h: Remove ecoff.h and gofast includes.
15590 (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
15591 (SDB_DEBUGGING_INFO): Undefine.
15592 (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
15593 (PUT_SDB_SIZE): Remove.
15594 (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
15595 (STARTFILE_SPEC): Add isa3264 define.
15596 * config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here...
15597 * config/mips/ecoff.h: Remove. and here...
15598 * config/mips/iris3.h: and here...
15599 * config/mips/sni-svr4.h: and here...
15600 * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
15601 Add assembler -mmdebug options for non-dwarf debugging.
15602 * config/mips/r3900.h: Remove debug info defines.
15603 * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
15604 * config/mips/isa3264.h: Ditto.
15605 * config/mips/t-isa3264: Fix up for file removal and gofast configure
15607 * config/mips/t-elf: Ditto.
15608 * config/mips/t-ecoff: Ditto.
15609 * config/mips/t-r3900: Ditto.
15610 * config/mips/t-iris5-6: Ditto.
15611 * config/mips/t-isa3264: Ditto.
15612 * config/mips/t-linux: Remove.
15613 * config/mips/t-netbsd: Remove.
15614 * config/mips/t-mips: New file.
15615 * config/mips/t-gofast: Ditto.
15616 * config/mips/netbsd.h: Remove unnecessary undefines.
15617 * config/mips/linux.h: Remove #include of mips.h.
15618 * config.gcc: Add mips.h include for elf targets. Remove tm_file
15619 for ecoff. Add gofast configure option for mips.
15621 2002-07-29 Chris Demetriou <cgd@broadcom.com>
15623 * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
15624 linker scripts use STARTUP directives consistently.
15625 * configure: Regenerate.
15626 * config.in: Regenerate.
15627 * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
15628 on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
15629 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
15630 * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
15631 HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
15634 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
15636 * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
15638 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
15640 * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
15642 2002-07-29 Aldy Hernandez <aldy@quesejoda.com>
15644 * config/rs6000/rs6000.md: Move altivec patterns from here...
15646 * config/rs6000/altivec.md: ...to here.
15648 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
15650 * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
15652 2002-07-29 Richard Henderson <rth@redhat.com>
15654 * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
15655 set_mem_attributes and add BITPOS argument. Subtract it from
15656 OFFSET when same is adjusted.
15657 (set_mem_attributes): New wrapper function.
15658 * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
15659 remove offset adjustment hack.
15660 * expr.h (set_mem_attributes_minus_bitpos): Declare.
15662 2002-07-29 Gabriel Dos Reis <gdr@nerim.net>
15664 * Makefile.in (C_OBJS): Include c-pretty-print.o
15665 (c-pretty-print.o): Add depency rule.
15666 * pretty-print.h: Add more macros.
15667 * c-pretty-print.c: New file.
15668 * c-pretty-print.h: Likewise.
15670 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
15672 * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
15673 constants to __ev64_s32__.
15674 (__internal_ev_mwhgsmian): Same.
15675 (__internal_ev_mwhgsmfan): Same.
15676 (__internal_ev_mwhgssfan): Same.
15677 (__internal_ev_mwhgumiaa): Same.
15678 (__internal_ev_mwhgsmiaa): Same.
15679 (__internal_ev_mwhgsmfaa): Same.
15680 (__internal_ev_mwhgssfaa): Same.
15682 2002-07-29 David Edelsohn <edelsohn@gnu.org>
15684 * varasm.c (assemble_variable): Narrow test for uninitialized
15685 without BSS target support.
15687 2002-07-29 Nathan Sidwell <nathan@codesourcery.com>
15689 * profile.c: Add file comment describing the overall algorithm and
15691 (struct edge_info): Add comments.
15692 (struct bb_info): Add comments.
15693 * basic-block.h (EDGE_*): Add comments.
15694 * doc/gcov.texi (Gcov Data Files): Document bit flags.
15696 2002-07-29 Bob Wilson <bob.wilson@acm.org>
15698 * config/xtensa/elf.h, config/xtensa/linux.h
15699 (TARGET_OS_CPP_BUILTINS): Define.
15700 (CPP_PREDEFINES): Remove.
15701 * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
15702 (CPP_SPEC): Remove.
15704 2002-07-29 Zack Weinberg <zack@codesourcery.com>
15706 * gensupport.c: Include hashtab.h.
15707 (insn_elision, condition_table, hash_c_test, cmp_c_test,
15708 maybe_eval_c_test): New routines and data structures to
15709 support insn elision.
15710 (init_md_reader): Read and initialize the condition_table.
15711 (read_md_rtx): Discard insn patterns whose C test is provably
15713 * gensupport.h: Declare new functions and data structures.
15715 * genconditions.c, dummy-conditions.c: New files.
15716 * Makefile.in: Build genconditions; run it to construct
15717 insn-conditions.c; build that and link it into most gen*
15719 (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
15720 (GEN): Delete, unused.
15721 (STAGESTUFF): Update.
15723 * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
15724 CODE_FOR_nothing for all elided patterns.
15725 (main): Tweaked to support this.
15726 * genflags.c (gen_proto): Emit a static inline generator
15727 function here for all elided patterns, which simply returns
15729 (gen_insn): Do not define HAVE_xxx for elided patterns.
15730 (main): Tweaked to support this. No need to forward-declare
15732 * genrecog.c: Do not bother emitting the C test if it's known
15733 to be true at compile time.
15735 2002-07-29 Mike Stump <mrs@apple.com>
15737 * config.gcc (target_gtfiles): Initialize, as otherwise cross
15738 compilers hosted on powerpc-apple-darwin6.0 won't even build.
15740 2002-07-29 Richard Earnshaw <rearnsha@arm.com>
15742 * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
15743 remove clobber of LR.
15744 (sibcall_insn, sibcall_value_insn): Update accordingly.
15745 (sibcall_epilogue): Remove debugging comment from assembler stream.
15747 2002-07-29 Gabriel Dos Reis <gdr@nerim.net>
15749 * pretty-print.h: Define more macros.
15750 * diagnostic.h (output_formatted_integer): Moved from...
15751 * diagnostic.c: ... here.
15753 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15755 * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
15757 2002-07-28 Zack Weinberg <zack@codesourcery.com>
15759 * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
15760 arguments. Always use ".-symbol" as expression argument.
15761 * doc/tm.texi: Update to match. Document requirement for
15762 ".size symbol, .-symbol" to be acceptable to assembler.
15764 * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
15765 config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
15766 config/i386/freebsd-aout.h, config/i386/sco5.h,
15767 config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
15768 config/xtensa/linux.h: Update uses of ASM_OUTPUT_MEASURED_SIZE.
15770 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15772 * Makefile.in (gengtype-lex.c): Fix error in last change.
15774 * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
15777 * Makefile.in (vmsdbgout.o): Depend on function.h.
15779 * vmsdbgout.c: Include function.h.
15781 2002-07-28 Alan Modra <amodra@bigpond.net.au>
15783 * prefix.c (update_path): Don't strip single `.' path components
15784 unless stripping a later `..' component. Exit loop as soon as
15785 a valid path is found.
15787 2002-07-27 Roger Sayle <roger@eyesopen.com>
15789 * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
15790 argument. Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
15791 BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
15792 floating point unordered comparisons (e.g. __builtin_isgreater)
15793 as const, and leave the remaining GCC_BUILTINs unchanged.
15795 * c-decl.c (builtin_function): No need to explicitly mark
15796 BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
15798 2002-07-27 Roger Sayle <roger@eyesopen.com>
15800 * Makefile.in: rtlanal.o now depends upon real.h.
15802 * flags.h [flag_signaling_nans]: New flag.
15803 [HONOR_SNANS]: New macro.
15805 * toplev.c [flag_signaling_nans]: Initialize to false.
15806 (f_options): Add processing for "-fsignaling-nans".
15807 (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
15808 (process_options): flag_signaling_nans implies flag_trapping_math.
15810 * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
15811 when -fsignaling-nans. First step to implementing WG14's N965.
15813 * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
15814 1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
15815 [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
15817 * simplify-rtx.c (simplify_relational_operation): Conditionalize
15818 transforming abs(x) < 0.0 into false on !HONOR_SNANS.
15820 * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
15821 required by HONOR_SNANS. (may_trap_p): Floating point DIV, MOD,
15822 UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
15823 -fsignaling_nans. EQ and NE only trap for flag_signaling_nans
15824 not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
15826 * doc/invoke.texi: Document new -fsignaling-nans compiler option.
15828 2002-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15830 * Makefile.in (gengtype-lex.c): Work around a bug in flex.
15831 * gengtype-lex.l (YY_USE_PROTOS): Undef.
15834 2002-07-27 Roger Sayle <roger@eyesopen.com>
15836 * doc/invoke.texi: Document that both -fno-builtin-foo and
15837 -fno-builtin are supported by the g++ front-end.
15839 2002-07-27 Stan Shebs <shebs@apple.com>
15841 * configure.in: Rename config_gtfiles to target_gtfiles.
15842 * configure: Regenerate.
15843 * doc/gty.texi: Update reference.
15844 * config.gcc (powerpc-*-darwin*): Set target_gtfiles
15845 instead of appending to it.
15847 2002-07-25 Aldy Hernandez <aldyh@redhat.com>
15849 * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
15850 vectors are split into two registers.
15851 (function_arg): Same.
15853 Thu Jul 26 23:00:13 2002 J"orn Rennecke <joern.rennecke@superh.com>
15855 * pa.md (extv): Check predicates before emitting extv_32.
15857 2002-07-27 Alan Modra <amodra@bigpond.net.au>
15859 * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
15860 (rs6000_traceback): New var.
15861 (rs6000_override_options): Set rs6000_traceback.
15862 (rs6000_output_function_epilogue): Implement traceback options.
15863 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
15864 (rs6000_traceback_name): Declare.
15866 * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
15867 label reference when NO_PROFILE_COUNTERS.
15869 2002-07-26 Jason Merrill <jason@redhat.com>
15871 * function.c (assign_parms): Handle frontend-directed pass by
15872 invisible reference.
15874 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
15876 * doc/cppopts.texi: Update.
15878 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
15880 * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
15881 warnings on assertions.
15883 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
15885 * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
15886 RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
15887 RID_COMPL): Remove.
15888 * c-parse.in (rid_to_yy): Similarly.
15890 2002-07-26 Jason Merrill <jason@redhat.com>
15892 * c-dump.c: Resurrect.
15893 * tree-dump.c: Move C-specific stuff to c-dump.c.
15894 * c-common.h: Declare c_dump_tree.
15895 * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
15896 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
15897 (c-dump.o): New rule.
15899 2002-07-26 Alan Modra <amodra@bigpond.net.au>
15901 * config/rs6000/rs6000.md: Enable patterns using rlwinm for
15902 PowerPC64. Replace "T" and "S" constraints with "n" when the
15903 predicate will do. Formatting fixes.
15904 (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
15905 as for extzvsi_internal1.
15907 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
15909 * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
15910 DERIV_END_LABEL_FMT): Remove.
15911 (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
15913 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
15915 * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
15918 2002-07-25 Stan Shebs <shebs@apple.com>
15920 * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
15922 (output_compiler_stub): Remove unused locals.
15923 (output_call): Always initialize line number.
15925 Thu Jul 25 20:34:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
15927 * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
15928 * sh.md (truncdiqi2, movqi_media): Likewise.
15930 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
15932 * gcse.c (obstack_chunk_alloc): Remove.
15933 (gcse_alloc): Fix to count allocated bytes.
15934 * collect2.c (SYMBOL__MAIN): Remove.
15936 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
15938 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
15939 HAVE_TARGET_EXECUTABLE_SUFFIX.
15941 Thu Jul 25 18:57:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
15943 * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
15944 SIZE, EXPR and OFFSET.
15946 2002-07-25 Richard Henderson <rth@redhat.com>
15948 * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
15949 in ARRAY_REF of DECL_P case.
15951 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
15953 * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
15954 description. Document -mips32, -mips64, and the associated -march
15955 values. Describe the "mipsN" arguments to -march. Say that the
15956 -mipsN options are equivalent to -march. Reword the description
15957 of default type sizes.
15958 * toplev.h (target_flags_explicit): Declare.
15959 * toplev.c (target_flags_explicit): New var.
15960 (set_target_switch): Update target_flags_explicit.
15961 * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
15962 * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
15963 * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
15964 * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
15965 * config/mips/mips.h (mips_cpu_info): New struct.
15966 (mips_cpu_string, mips_explicit_type_size_string): Remove.
15967 (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
15968 (MIPS_CPP_SET_PROCESSOR): New macro.
15969 (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
15970 Define _MIPS_ARCH and _MIPS_TUNE.
15971 (MIPS_ISA_DEFAULT): Don't provide a default value. Instead...
15972 (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
15973 MIPS_ISA_DEFAULT were already defined.
15974 (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
15975 (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
15976 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
15977 (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
15978 (ABI_GAS_ASM_SPEC): Remove.
15979 (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
15980 (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
15981 Invoke %(asm_abi_default_spec) if no ABI was specified.
15982 (CC1_SPEC): Remove ISA -> register-size rules.
15983 (EXTRA_SPECS): Remove abi_gas_asm_spec. Add asm_abi_default_spec.
15984 * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
15985 (mips_cpu_string, mips_explicit_type_size_string): Remove.
15986 (mips_cpu_info_table): New array.
15987 (mips_set_architecture, mips_set_tune): New fns.
15988 (override_options): Rework to make -mipsN equivalent to -march.
15989 Detect more erroneous cases, including those removed from CC1_SPEC.
15990 Don't change the ABI based on architecture, or vice versa.
15991 Unify logic with GAS.
15992 (mips_asm_file_start): Get architecture name from mips_arch_info.
15993 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
15994 (mips_parse_cpu): Take the name of the option as argument. Handle
15995 'from-abi'. Raise an error if the option is wrong.
15996 (mips_cpu_info_from_isa): New fn.
15998 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
16000 * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
16001 (tablejump_mips162): Likewise.
16003 Thu Jul 25 10:23:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
16005 * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
16008 2002-07-25 Gabriel Dos Reis <gdr@nerim.net>
16010 * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
16012 * c-common.h (c_sizeof): Adjust definition.
16013 (c_alignof): Likewise.
16014 * c-tree.h (c_sizeof_nowarn): Now macro.
16015 * c-typeck.c (c_sizeof_nowarn): Remove definition.
16017 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
16019 * c-decl.c (c_decode_option): No need to handle switches
16022 2002-07-24 Zack Weinberg <zack@codesourcery.com>
16024 * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
16025 ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
16026 * doc/tm.texi: Document them. Also document SIZE_ASM_OP,
16027 TYPE_ASM_OP, and TYPE_OPERAND_FMT.
16029 * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
16030 config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
16031 config/cris/aout.h, config/i386/freebsd-aout.h,
16032 config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
16033 config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
16034 config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
16035 config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
16036 config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
16037 config/xtensa/elf.h, config/xtensa/linux.h:
16038 Use the new macros.
16039 Where possible, remove redundant definitions of SIZE_ASM_OP,
16040 TYPE_ASM_OP, and TYPE_OPERAND_FMT.
16042 2002-07-24 Aldy Hernandez <aldyh@redhat.com>
16044 * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
16045 TARGET_ISEL, and TARGET_FPRS.
16047 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
16048 -mabi=spe, -mabi=no-spe, and -misel=.
16050 * config/rs6000/rs6000-protos.h: Add output_isel.
16051 Move vrsave_operation prototype here.
16053 * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
16057 (abssi2_nopower): Disallow when TARGET_ISEL.
16059 (negsf2): Change to expand and rename old pattern to *negsf2.
16060 (abssf2): Change to expand and rename old pattern to *abssf2.
16062 New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
16065 Change patterns that check for TARGET_HARD_FLOAT or
16066 TARGET_SOFT_FLOAT to also check TARGET_FPRS.
16068 * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
16069 rs6000_isel, rs6000_fprs, rs6000_isel_string.
16070 (rs6000_override_options): Add 8540 case to
16071 processor_target_table.
16072 Set rs6000_isel for the 8540.
16073 Call rs6000_parse_isel_option.
16074 (enable_mask_for_builtins): New.
16075 (rs6000_parse_isel_option): New.
16076 (rs6000_parse_abi_options): Add spe and no-spe.
16077 (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
16078 (rs6000_legitimize_address): Check for TARGET_FPRS when checking
16079 for TARGET_HARD_FLOAT.
16080 Add case for SPE_VECTOR_MODE.
16081 (rs6000_legitimize_reload_address): Handle SPE vector modes.
16082 (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
16084 Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
16085 (rs6000_emit_move): Check for TARGET_FPRS.
16086 Add cases for SPE vector modes.
16087 (function_arg_boundary): Return 64 for SPE vector modes.
16088 (function_arg_advance): Check for TARGET_FPRS and
16089 Handle SPE vectors.
16090 (function_arg): Same.
16091 (setup_incoming_varargs): Check for TARGET_FPRS.
16092 (rs6000_va_arg): Same.
16093 (struct builtin_description): Un-constify mask field. Move up in
16095 (bdesc_2arg): Un-constify and add SPE builtins.
16096 (bdesc_1arg): Same.
16097 (bdesc_spe_predicates): New.
16098 (bdesc_spe_evsel): New.
16099 (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
16100 (rs6000_expand_binop_builtin): Same.
16101 (bdesc_2arg_spe): New.
16102 (spe_expand_builtin): New.
16103 (spe_expand_predicate_builtin): New.
16104 (spe_expand_evsel_builtin): New.
16105 (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
16106 (rs6000_init_builtins): Initialize SPE builtins. Call
16107 rs6000_common_init_builtins.
16108 (altivec_init_builtins): Move all non-altivec builtin code to...
16109 (rs6000_common_init_builtins): ...here. New function.
16110 (branch_positive_comparison_operator): Allow NE code for SPE.
16111 (ccr_bit): Return correct ccr bit for SPE fp.
16112 (print_operand): Emit crnor in 'D' case for SPE.
16114 Add SPE code for 'y' case.
16115 (rs6000_generate_compare): Generate rtl for SPE fp.
16116 (output_cbranch): Handle SPE hard floats.
16117 (rs6000_emit_cmove): Handle isel.
16118 (rs6000_emit_int_cmove): New.
16119 (output_isel): New.
16120 (rs6000_stack_info): Adjust stack frame so GPRs are saved in
16122 (debug_stack_info): Add SPE info.
16123 (gen_frame_mem_offset): New.
16124 (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
16125 Change mode of frame pointer, when saving it, to Pmode.
16126 (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
16127 Misc cleanups and use gen_frame_mem_offset when appropriate.
16129 * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
16130 (TARGET_SPE_ABI): New.
16132 (TARGET_ISEL): New.
16133 (TARGET_FPRS): New.
16134 (FIXED_SCRATCH): New.
16135 (RTX_COSTS): Add PROCESSOR_PPC8540.
16136 (ASM_CPU_SPEC): Add case for 8540.
16137 (TARGET_OPTIONS): Add isel= case.
16138 (rs6000_spe_abi): New.
16139 (rs6000_isel): New.
16140 (rs6000_fprs): New.
16141 (rs6000_isel_string): New.
16142 (UNITS_PER_SPE_WORD): New.
16143 (LOCAL_ALIGNMENT): Adjust for SPE.
16144 (HARD_REGNO_MODE_OK): Same.
16145 (DATA_ALIGNMENT): Same.
16146 (MEMBER_TYPE_FORCES_BLK): New.
16147 (FIRST_PSEUDO_REGISTER): Set to 113.
16148 (FIXED_REGISTERS): Add SPE registers.
16150 (REG_CLASS_NAMES): Same.
16151 (REG_CLASS_CONTENTS): Same.
16152 (REGNO_REG_CLASS): Same.
16153 (REGISTER_NAMES): Same.
16154 (DEBUG_REGISTER_NAMES): Same.
16155 (ADDITIONAL_REGISTER_NAMES): Same.
16156 (CALL_USED_REGISTERS): Same.
16157 (CALL_REALLY_USED_REGISTERS): Same.
16158 (SPE_ACC_REGNO): New.
16159 (SPEFSCR_REGNO): New.
16160 (SPE_SIMD_REGNO_P): New.
16161 (HARD_REGNO_NREGS): Adjust for SPE.
16162 (VECTOR_MODE_SUPPORTED_P): Same.
16163 (REGNO_REG_CLASS): Same.
16164 (FUNCTION_VALUE): Same.
16165 (LIBCALL_VALUE): Same.
16166 (LEGITIMATE_OFFSET_ADDRESS_P): Same.
16167 (SPE_VECTOR_MODE): New.
16168 (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
16169 the GPRs. Set FIXED_SCRATCH fixed in SPE case.
16170 (rs6000_stack): Add spe_gp_size, spe_padding_size,
16171 spe_gp_save_offset.
16172 (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
16173 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
16174 (SPE_CONST_OFFSET_OK): New.
16175 (rs6000_builtins): Add SPE builtins.
16177 * testsuite/gcc.dg/ppc-spe.c: New.
16179 * config/rs6000/eabispe.h: New.
16181 * config/rs6000/spe.h: New.
16183 * config/rs600/spe.md: New.
16185 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
16186 __SIMD__ for TARGET_SPE.
16188 * config.gcc: Add powerpc-*-eabispe* case.
16189 Add spe.h to user headers for powerpc.
16191 2002-07-24 Chris Demetriou <cgd@broadcom.com>
16193 * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
16194 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
16195 * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
16197 2002-07-24 Richard Henderson <rth@redhat.com>
16199 * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
16200 form when not optimizing.
16202 2002-07-24 David Mosberger <davidm@hpl.hp.com>
16204 * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
16205 thread_pointer_rtx as unchanging.
16207 2002-07-24 Michael Matz <matz@suse.de>
16209 * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
16210 (free_reg): Use it.
16212 2002-07-24 Richard Earnshaw <rearnsha@arm.com>
16214 * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
16216 (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
16217 (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
16219 2002-07-24 Chris Demetriou <cgd@broadcom.com>
16221 * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
16222 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
16223 * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
16225 Wed Jul 24 17:59:12 CEST 2002 Jan Hubicka <jh@suse.cz>
16227 * toplev.c (rest_of_compilation): Dump loops before clobbering
16230 Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka <jh@suse.cz>
16232 * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
16234 2002-07-24 Frank van der Linden <fvdl@wasabisystems.com>
16236 PR optimization/7291
16237 * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
16240 2002-07-24 Gabriel Dos Reis <gdr@nerim.net>
16242 * pretty-print.h: Add macros from cp/error.c
16244 2002-07-24 Alan Modra <amodra@bigpond.net.au>
16246 * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
16247 (mask64_2_operand): Declare.
16248 (build_mask64_2_operands): Declare.
16249 (and64_2_operand): Declare.
16250 (extract_MB): Declare.
16251 (extract_ME): Declare.
16252 * config/rs6000/rs6000.c (mask64_operand): Allow all ones. Remove
16254 (mask_operand_wrap): New insn predicate.
16255 (mask64_2_operand): Likewise.
16256 (and64_2_operand): Likewise.
16257 (build_mask64_2_operands): New function.
16258 (extract_MB): New function.
16259 (extract_ME): New function.
16260 (print_operand <case m,M>): Use extract_MB and extract_ME.
16261 (print_operand <case S>): Allow all ones. Remove CONST_DOUBLE support.
16262 * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
16263 (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
16264 mask64_2_operand. Remove CONST_DOUBLE from mask64_operand.
16265 * config/rs6000/rs6000.md (andsi3_internal3): New
16266 (andsi3_internal3+1): Enable split for powerpc64.
16267 (andsi3_internal3+2): New split.
16268 (andsi3_internal4): Renamed old andsi3_internal3.
16269 (andsi3_internal5): New.
16270 (andsi3_internal5+1): Enable split for powerpc64.
16271 (andsi3_internal5+2): New split.
16272 (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
16273 (anddi3): Handle 't' constraint.
16274 (anddi3+1): New split.
16275 (anddi3_internal2): Handle 't' constraint.
16276 (anddi3_internal2+1): New split.
16277 (anddi3_internal3): Handle 't' constraint.
16278 (anddi3_internal3+1): New split.
16280 2002-07-24 Alan Modra <amodra@bigpond.net.au>
16282 * config/rs6000/rs6000.md: Remove scratch reg on insns using
16283 addze and similar (plus (comparison r1 r2) r3) insns. Add
16284 missing scratch reg in one case. Formatting fixes.
16286 2002-07-24 Neil Booth <neil@daikokuya.co.uk>
16288 * cppexp.c (parse_defined): Mark macro used.
16289 * cpphash.h (struct cpp_macro): New member "used".
16290 (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
16291 (struct cpp_reader): New member.
16292 * cppinit.c (cpp_finish_options): Set first_unused_line.
16293 (cpp_finish): Warn of unused macros if requested.
16294 (OPT_TABLE): New switches.
16295 (cpp_handle_option): Handle them.
16296 * cpplib.c (do_undef): Warn if macro unused.
16297 (do_ifdef, do_ifndef): Mark macro used.
16298 * cpplib.h (struct cpp_options): New member.
16299 * cppmacro.c (_cpp_warn_if_unused_macro): New.
16300 (enter_macro_context): Mark macro used.
16301 (_cpp_create_definition): Mark macro unused; warn if unused
16303 * cpptrad.c (scan_out_logcial_line, push_replacement_text):
16305 * doc/cppopts.texi: Update.
16307 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
16309 * dwarf2out.c (SECTION_ASM_OP,
16310 ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
16311 * system.h (SECTION_ASM_OP): Poison.
16312 * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
16313 * config/alpha/alpha-interix.h, config/mips/linux.h
16314 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
16315 * config/mmix/mmix-protos.h, config/mmix/mmix.c
16316 (mmix_asm_output_define_label_difference_symbol): Remove.
16317 * config/mmix/mmix.h
16318 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
16319 * doc/tm.texi: Remove documentation.
16321 Tue Jul 23 21:49:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
16323 * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
16324 (constrain_operands): Likewise.
16325 * regclass.c (record_reg_classes): Likewise.
16326 * reload.c (find_reloads): Likewise.
16327 * doc/md.texi: Likewise.
16329 * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
16330 * simplify-rtx.c (simplify_subreg): When converting to a non-int
16331 mode, try to convert to an integer mode of matching size first.
16333 * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
16334 from individual subregs, check that each subreg has been generated
16337 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
16339 * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
16340 * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
16341 FOR_EACH_BB_IN_SBITMAP): Remove.
16342 * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
16343 * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
16344 LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
16345 * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
16346 PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
16347 * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
16349 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
16351 * pretty-print.h: New file.
16353 2002-07-23 Paul Koning <pkoning@equallogic.com>
16355 * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
16356 (LARGEST_EXPONENT_IS_NORMAL): Ditto.
16357 (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
16358 (TARGET_G_FLOAT): Default to 0 if not defined.
16359 (ieeetoe): New, common routine to convert target format floats
16361 (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
16363 (e113toe): Change to use ieeetoe.
16365 2002-07-23 Roman Lechtchinsky <rl@cs.tu-berlin.de>
16367 * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
16369 (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
16370 (e64toe): Remove special cases for DEC and IBM. Remove support for
16371 ARM_EXTENDED_IEEE_FORMAT.
16372 (e24toe): Remove special cases for DEC.
16373 (significand_size): Simplify. Indent.
16374 (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
16375 (etoieee, toieee): New.
16376 (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
16377 etoieee and toieee for IEEE arithmetic.
16379 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
16381 * doc/extend.texi: Say ISO C90, not ISO C89.
16382 * doc/invoke.texi: Likewise.
16383 * doc/standards.texi: Likewise.
16385 2002-07-23 Steve Ellcey <sje@cup.hp.com>
16387 * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
16388 Fix permutation of conversion and plus/mult.
16389 * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
16390 ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
16391 (expand_builtin_strncpy) Ditto.
16392 (expand_builtin_memset) Ditto.
16394 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
16397 * c-common.c (c_sizeof_or_alignof_type): New function.
16398 (c_alignof): Remove definition.
16399 * c-common.h (c_sizeof, c_alignof): Define as macros.
16400 (c_sizeof_or_alignof_type): Declare.
16401 (my_friendly_assert): Moved from cp/cp-tree.h
16402 * c-typeck.c (c_sizeof): Remove definition.
16404 2002-07-23 Jan Hubicka <jh@suse.cz>
16406 * gcse.c (try_replace_reg): Use num_changes_pending.
16407 * recog.c (num_changes_pending): New function.
16408 (validate_replace_src): Use validate_repalce_src_group.
16409 (validate_replace_src_group): New.
16410 * recog.h (validate_repalce_src_group): New.
16411 (num_changes_pending): Likewise.
16413 Tue Jul 23 12:16:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
16415 * calls.c (emit_library_call_value_1): If
16416 FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
16417 libcall, const call nor pure call.
16419 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
16421 * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
16423 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
16425 * vmsdbgout.c (SECTION_ASM_OP): Remove.
16427 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
16429 * config/i386/i386.c (AT_BP): Remove.
16431 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
16433 * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
16434 Default definition.
16435 * gcse.c: Don't define obstack_chunk_free.
16436 * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
16437 flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
16438 integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
16439 reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
16440 Don't define obstack macros.
16442 2002-07-22 Stephane Carrez <stcarrez@nerim.fr>
16445 * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
16446 ASM_OPERANDS instructions.
16448 2002-07-22 Stephane Carrez <stcarrez@nerim.fr>
16451 * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
16452 constant addresses only on 68HC12.
16454 2002-07-22 Neil Booth <neil@daikokuya.co.uk>
16456 * cppfiles.c (stack_include_file): Correct test of whether
16457 a dependency should be output.
16459 2002-07-22 David Edelsohn <edelsohn@gnu.org>
16461 * collect2.c (is_ctor_dtor): Add other possible JOINER values.
16463 2002-07-22 Richard Earnshaw <rearnsha@arm.com>
16465 * arm.md (movqi): If optimizing and we can create pseudos, use
16466 a ZERO_EXTEND to load from memory, then copy the result into the
16468 (movhi): Likewise, but only for ARMv4.
16470 2002-07-22 Neil Booth <neil@daikokuya.co.uk>
16472 * ssa-ccp.c (PHI_PARMS): Remove.
16474 2002-07-22 Richard Sandiford <rsandifo@redhat.com>
16476 * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
16477 on big-endian targets.
16479 2002-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16481 * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
16482 HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
16483 HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
16484 New formatting macros.
16486 * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
16488 Mon Jul 22 15:27:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
16490 * rtlanal.c (subreg_regno_offset): Return correct offset for
16491 big endian paradoxical subregs.
16493 * optabs.c (expand_vector_unop): Don't expand using sub_optab
16494 if we got the wrong mode.
16496 * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
16497 * genrecog.c (write_switch, write_cond): Use it.
16498 * genemit.c (gen_exp): Likewise.
16500 2002-07-22 Jakub Jelinek <jakub@redhat.com>
16502 * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
16504 2002-07-22 Jakub Jelinek <jakub@redhat.com>
16506 * c-decl.c (build_compound_literal): Defer compound literal decls
16507 until until file end to emit them only if they are actually used.
16509 2002-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16511 * ra-build.c (check_conflict_numbers): Hide unused function.
16512 (livethrough_conflicts_bb): Avoid automatic aggregate
16514 (parts_to_webs_1): Avoid `U' integer constant modifier.
16515 (conflicts_between_webs): Wrap a variable in the macro controlling
16517 * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
16518 (dump_igraph, dump_graph_cost): Avoid string concatenation
16519 (dump_static_insn_cost): Avoid automatic aggregate
16521 * ra-rewrite.c (insert_stores): Avoid automatic aggregate
16523 (dump_cost): Avoid string concatenation
16525 2002-07-21 Richard Henderson <rth@redhat.com>
16527 * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
16528 GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
16530 2002-07-21 Richard Henderson <rth@redhat.com>
16532 * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
16533 that are not unrolled completely.
16535 2002-07-21 Richard Henderson <rth@redhat.com>
16537 * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
16538 * loop.c (strength_reduce): Update.
16539 * toplev.c (rest_of_compilation): Do unrolling in the first
16540 loop pass, not the second.
16542 2002-07-21 Richard Henderson <rth@redhat.com>
16544 * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
16545 when flag_argument_noalias == 2.
16546 * alias.c (nonoverlapping_memrefs_p): Handle that.
16547 * print-rtl.c (print_mem_expr): Likewise.
16549 2002-07-21 Hartmut Schirmer <hartmut.schirmer@arcor.de>
16551 * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
16552 instead of __negdi2 directly.
16554 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
16556 * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
16557 * function.c (SYMBOL__MAIN): Remove definition.
16558 * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
16559 * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
16560 * profile.c (GCOV_INDEX_TO_BB): Remove.
16561 * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
16562 * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
16564 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
16566 * c-lex.c (GET_ENVIRONMENT): Remove.
16567 * collect2.c (GET_ENV_PATH_LIST): Remove.
16568 (prefix_from_env): Use GET_ENVIRONMENT.
16569 * cppinit.c (GET_ENV_PATH_LIST): Remove.
16570 (init_standard_includes): Use GET_ENVIRONMENT.
16571 * defaults.h (GET_ENVIRONMENT): Define here if not already.
16572 * gcc.c (GET_ENV_PATH_LIST): Remove.
16573 (make_relative_prefix, process_command): Update.
16574 * protoize.c (GET_ENV_PATH_LIST): Remove.
16575 (do_processing): Update.
16577 2002-07-21 Gabriel Dos Reis <gdr@nerim.net>
16579 * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
16580 (grokdeclarator): Likewise.
16581 * c-format.c (C_STD_NAME): Likewise.
16582 * c-lex.c (interpret_integer): Likewise.
16583 * c-typeck.c (build_array_ref): Likewise.
16584 * cpplex.c (_cpp_lex_direct): Likewise.
16585 * toplev.c (documented_lang_options): Likewise.
16587 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
16589 * c-format.c (T99_I, T99_UI): Remove.
16591 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
16593 * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
16595 Sun Jul 21 21:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
16597 * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
16600 2002-07-21 Andreas Jaeger <aj@suse.de>
16602 * reload1.c (fixup_abnormal_edges): Remove unused variable.
16604 2002-07-21 Bernd Schmidt <bernds@redhat.com>
16606 Improvements for the ifcvt pass from Michael Meissner, with patches
16607 by Richard Sandiford <rsandifo@redhat.com>
16608 * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
16609 * ifcvt.c (cond_exec_changed_p): New static variable.
16610 (last_active_insn): New function, renamed from last_active_insn_p
16611 and changed to return the last active insn in a basic block. All
16613 (block_fallthru): New function.
16614 (cond_exec_process_insns): New argument CE_INFO. Pass it to
16615 IFCVT_MODIFY_INSN. All callers updated.
16616 Return false if START or END are NULL.
16617 Handle case where we're processing an insn that is already
16620 (noce_process_if_block): CE_INFO argument rather than
16621 multiple args containing the involved basic blocks. All callers
16623 (process_if_block, merge_if_block, find_if_block,
16624 cond_exec_process_if_block): Likewise.
16626 (cond_exec_process_if_block): New arg DO_MULTIPLE_P. All callers
16628 Use new function last_active_insn to simplify some code.
16629 New code to handle multiple tests.
16630 Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
16631 cond_exec_changed_p to TRUE.
16633 (process_if_block): New code to handle multiple tests.
16634 (merge_if_block): Likewise.
16635 (find_if_header): New arg PASS. Changed to return the currently
16636 processed basic block or NULL instead of true/false. All callers
16638 Call IFCVT_INIT_EXTRA_FIELDS.
16639 (block_jumps_and_fallthru_p): New function.
16640 (find_if_block): Discover opportunities to convert multiple tests.
16641 Add additional debugging output.
16642 Update the ce_info structure before returning.
16644 (if_convert): Run multiple passes of if-conversion.
16645 * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
16646 IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
16647 IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
16650 Sun Jul 21 00:54:54 CEST 2002 Jan Hubicka <jh@suse.cz>
16652 * gcse.c: Include cselib.h
16653 (constptop_register): Break out from ...
16654 (cprop_insn): ... here; kill basic_block argument.
16655 (do_local_cprop, local_cprop_pass): New functions.
16656 (one_cprop_pass): Call local_cprop_pass.
16658 2002-07-20 Roger Sayle <roger@eyesopen.com>
16660 * simplify-rtx.c (simplify_relational_operation): Optimize
16661 abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
16663 2002-07-20 Michae Matz <matz@suse.de>
16665 * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
16667 2002-07-20 Neil Booth <neil@daikokuya.co.uk>
16669 * cppexp.c (struct op): Add token pointer.
16670 (check_promotion, CHECK_PROMOTION): New.
16672 (_cpp_parse_expr): Update, use token pointer of struct op.
16673 (reduce): Warn about change of sign owing to promotion.
16674 * cppinit.c (cpp_handle_option): New warning if -Wall.
16675 * cpplib.h (struct cpp_options): New member.
16677 2002-07-19 David Edelsohn <edelsohn@gnu.org>
16679 * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
16680 fpu list. Separate Power4 compare and delayed_compare. Correct
16682 (fix_truncdfsi2_internal): Restore FPR preference.
16683 * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
16684 mcpu?power4, mcpu?604e. Remove mpower, mpower2, mpowerpc.
16686 2002-07-19 Momchil Velikov <velco@fadata.bg>
16688 * reload1.c (reload_as_needed): Duplicate oldpat.
16690 2002-07-20 Alan Modra <amodra@bigpond.net.au>
16692 PR optimization/7130
16693 * loop.h (struct loop_info): Add "preconditioned".
16694 * unroll.c (unroll_loop): Set it.
16695 * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
16697 2002-07-19 Zack Weinberg <zack@codesourcery.com>
16699 * rtl.def (CODE_LABEL): Remove slot 8.
16700 * rtl.h (struct rtx_def): Document new uses of jump and call fields.
16701 (LABEL_ALTERNATE_NAME): Delete.
16702 (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
16703 * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
16705 * final.c (output_alternate_entry_point): New.
16706 (final_scan_insn): Use it instead of
16707 ASM_OUTPUT_ALTERNATE_LABEL_NAME. Do not consider possibility
16708 of a case label being an alternate entry point.
16710 * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
16711 * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
16712 Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
16714 * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
16716 * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
16717 LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
16718 * doc/tm.texi: Delete documentation of
16719 ASM_OUTPUT_ALTERNATE_LABEL_NAME.
16721 2002-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16723 * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
16724 (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
16725 (LINK_SPEC): Define.
16726 (STARTFILE_SPEC): Define.
16727 (ENDFILE_SPEC): Define.
16729 * config/mips/iris6-o32.h (LINK_SPEC): Move ...
16730 * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
16732 * config/mips/iris6-o32-gas.h: New file.
16733 * config.gcc (mips-sgi-irix6*o32): Use it.
16735 * config/mips/t-iris5-gas: New file.
16736 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
16738 2002-07-19 Neil Booth <neil@daikokuya.co.uk>
16740 * cppexp.c (ALWAYS_EVAL): Remove.
16741 (optab, reduce): Always evaluate.
16742 (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
16743 only if not skipping evaluation.
16745 2002-07-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
16747 * config/avr/avr.c (debug_hard_reg_set): Remove.
16749 2002-07-19 Chris Demetriou <cgd@broadcom.com>
16751 * gcc.c (cpp_options): Include "%1" (cc1_spec).
16753 2002-07-19 Richard Henderson <rth@redhat.com>
16755 * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
16757 2002-07-19 Alan Modra <amodra@bigpond.net.au>
16759 * prefix.c (update_path): Don't zap single `.' path components
16760 unless followed by another `.' and fix typo last patch.
16762 2002-07-18 Neil Booth <neil@daikokuya.co.uk>
16764 * cppexp.c (cpp_num_mul): Remove unused parameter.
16765 (UNARY, BINARY, OTHER, binary_handler): Remove.
16766 (ALWAYS_EVAL): New.
16768 (reduce): Refactor to a large switch, don't use a function
16771 2002-07-18 Bo Thorsen <bo@berlioz.suse.de>
16773 * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
16775 Thu Jul 18 19:39:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
16777 * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
16778 (sh_expand_binop_v2sf): Likewise.
16779 * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
16780 (int_gpr_dest, trunc_hi_operand): New functions.
16781 * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
16783 (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
16784 * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
16785 (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
16786 (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
16787 (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
16788 (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
16789 (extendhisi2_media+1, extendqisi2_media+1): Likewise.
16790 (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
16791 (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
16792 (movsf_ie+1): Likewise.
16793 (loaddi_trunc): Use int_gpr_dest predicate.
16794 (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
16795 (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
16796 (casesi_worker_0+[12], casesi_worker): Likewise.
16797 (shcompact_preserve_incoming_args): Likewise.
16798 (mov_nop): Use any_register_operand predicate.
16799 (mperm_w0): Use trunc_hi_operand predicate.
16801 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
16803 * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
16804 * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
16807 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
16809 * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
16811 2002-07-18 Richard Henderson <rth@redhat.com>
16813 PR optimization/7147
16814 * ifcvt.c (noce_get_condition): Make certain that the condition
16817 Thu Jul 18 13:44:51 2002 J"orn Rennecke <joern.rennecke@superh.com>
16819 * sh.c (barrier_align, push): Shut up compiler warnings.
16820 (initial_elimination_offset,sh_media_init_builtins): Likewise.
16821 (reg_no_subreg_operand): Delete.
16823 2002-07-17 Bo Thorsen <bo@suse.de>
16825 * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
16826 (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
16827 (STARTFILE_SPEC): Remove hardcoded library paths.
16828 (ENDFILE_SPEC): Likewise.
16830 Thu Jul 18 09:38:59 CEST 2002 Jan Hubicka <jh@suse.cz>
16832 * gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached.
16834 * gcse.c (try_replace_reg): Do not return false positives.
16836 2002-07-18 Alan Modra <amodra@bigpond.net.au>
16838 * prefix.c: (update_path): Strip ".." components when prior dir
16839 doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
16841 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
16842 (ASM_OUTPUT_REG_POP): Likewise.
16844 2002-07-18 Alan Modra <amodra@bigpond.net.au>
16846 * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
16847 adjustments to first_reg for profiling case.
16848 (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
16849 Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
16850 Save static chain reg to sp + 12 on ABI_AIX_NODESC.
16851 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
16852 (ASM_OUTPUT_REG_POP): Define.
16853 * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
16854 (ASM_OUTPUT_REG_POP): Undef.
16856 2002-07-17 Neil Booth <neil@daikokuya.co.uk>
16858 * cpplib.c (do_sccs): Handle #sccs on all systems.
16859 * system.h (SCCS_DIRECTIVE): Poison.
16860 * config/darwin.h, config/freebsd.h, config/netbsd.h,
16861 config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
16862 config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
16863 config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
16864 config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
16865 config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
16866 config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
16867 config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
16868 Remove all references to SCCS_DIRECTIVE.
16869 * doc/cpp.texi, doc/tm.texi: Update.
16871 Wed Jul 17 19:23:32 2002 J"orn Rennecke <joern.rennecke@superh.com>
16873 * regrename.c (maybe_mode_change): New function.
16874 (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
16876 2002-07-17 Rodney Brown <rbrown64@csc.com.au>
16878 * config/i386/i386.c (ix86_expand_int_movcc): In the general case
16879 suppress addition when either ct or cf are zero.
16881 2002-07-17 Eric Botcazou <ebotcazou@multimania.com>
16882 Glen Nakamura <glen@imodulo.com>
16884 PR optimization/6713
16885 * loop.c (loop_givs_rescan): Explicitly delete the insn that
16886 sets a non-replaceable giv after issuing the new one.
16888 2002-07-17 Neil Booth <neil@daikokuya.co.uk>
16890 * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
16891 eval_token): Clarify and correct use of "bool" variables.
16892 * cpplib.h (struct cpp_options): Similarly.
16893 * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
16894 * cpptrad.c (recursive_macro): Similarly.
16896 Wed Jul 17 17:08:06 2002 J"orn Rennecke <joern.rennecke@superh.com>
16898 * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
16901 * sh.md (cmpgtudi_media): Remove spurious @.
16903 * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
16904 * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
16906 * config/sh/lib1funcs.asm (init_trampoline): New entry point.
16907 * sh-protos.h (sh_initialize_trampoline): Declare.
16908 * sh.c (sh_initialize_trampoline): New function.
16909 * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
16910 (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
16911 (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
16912 (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
16913 * sh.md (initialize_trampoline, double_shori): New patterns.
16914 (initialize_trampoline_compact): Likewise.
16915 (shmedia32_initialize_trampoline_big): Remove.
16916 (shmedia32_initialize_trampoline_little): Likewise.
16918 * sh-protos.h (binary_float_operator): Remove declaration.
16919 (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
16920 * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
16921 (unary_float_operator, sh_expand_unop_v2sf): New functions.
16922 (sh_expand_binop_v2sf): Likewise.
16923 (zero_vec_operand): Delete.
16924 (SH_BLTIN_UDI): New builtin shared signature define. Renumbered
16925 all non-shared ones.
16926 (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
16927 Enable nsb and byterev.
16928 * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
16929 (HARD_REGNO_MODE_OK): Allow TImode in fp regs. Allow V2SFmode
16931 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
16932 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. Remove clause for
16933 immediate operands.
16934 (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
16936 (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
16937 lowpart fp regs - only for big endian for now.
16938 (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
16939 when FPU is in use.
16940 (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
16941 (LOAD_EXTEND_OP): NIL for SImode.
16942 (REGISTER_MOVE_COST): Add DF_HI_REGS. Const for moves between
16943 general and fp registers is 4.
16944 PREDICATE_CODES: Amend binary_float_operator entry.
16945 Remove zero_vec_operand. Add unary_float_operator.
16946 * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
16948 (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
16949 (truncdiqi2): Do sign extension.
16950 (movsi_media, movdi_media): Allow to use r63 to an fp register.
16951 (movdf_media, movsf_media): Likewise.
16952 (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
16953 Collapse to one define_insn_and_split. Allow immediate sources.
16954 (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
16955 (movv4sf_i): Allow immediate sources. Use simplify_gen_subreg.
16956 (movv4sf): Allow immediate sources.
16957 (movsf_media_nofpu+1): Don't split moves to FP registers.
16958 (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
16959 (movv8qi_i+3): Check against CONST0_RTX.
16960 (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
16961 for input and output operands. Fix argument 3 to gen_mextr_rl.
16962 (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
16963 (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
16964 (mshf0_w, fipr, ftrv): Likewise.
16965 (mshfhi_l_di): Now insn_and_split. Can handle FP regs.
16967 2002-07-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
16969 * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
16970 NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively. All uses changed.
16971 * arm.c: Similarly.
16973 2002-07-17 Richard Sandiford <rsandifo@redhat.com>
16975 * config/mips/mips-protos.h (mips_sign_extend): Declare.
16976 * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
16977 (TARGET_SWITCHES): Remove debugh.
16978 (ISA_HAS_TRUNC_W): New macro.
16979 (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
16980 (PREDICATE_CODES): Remove se_nonimmediate_operand.
16981 * config/mips/mips.c (movdi_operand): Allow sign-extensions of
16982 any SImode move_operand.
16983 (se_nonimmediate_operand): Remove.
16984 (mips_sign_extend): New.
16985 (mips_move_2words): Use it for sign-extended source operands.
16986 (override_options): Allow integers to be put into single FPRs.
16987 (mips_secondary_reload_class): Handle integers in float registers.
16988 * config/mips/mips.md (extendsidi2): Turn into a define_expand.
16989 (fix_truncsfsi2, fix_truncdfsi2): Likewise.
16990 (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
16991 (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
16992 (fix_truncdfdi2): Provide only a single alternative, in which the
16993 integer is in a float register. Depend on TARGET_FLOAT64 rather
16995 (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
16996 (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
16997 (movdi_internal2): Don't allow the source operand to be sign-extended.
16998 Add alternatives for float registers.
16999 (*movdi_internal2_extend): New. Version of movdi_internal2 that
17000 allows sign-extension.
17001 (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
17002 (movsi_internal2): Rename to movsi_internal. Add alternatives for
17003 float registers. Remove TARGET_DEBUG_H_MODE test.
17004 (movhi_internal1): Rename to movhi_internal. Don't check
17005 TARGET_DEBUG_H_MODE. Fix transposed *d and *f source constraints.
17006 (movqi_internal1): Rename to movqi_internal and remove
17007 TARGET_DEBUG_H_MODE dependency.
17008 (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
17010 2002-07-16 Jim Wilson <wilson@redhat.com>
17012 * toplev.c (lang_dependent_init): Create function context for
17015 2002-07-16 Hans-Peter Nilsson <hp@axis.com>
17017 * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
17018 --gc-sections if -r.
17019 * config/cris/cris.h: Ditto.
17021 2002-07-16 Rodney Brown <rbrown64@csc.com.au>
17023 * config/i386/i386.c (ix86_expand_int_movcc): In the case where
17024 the comparison directly gives a mask suppress addition when cf is
17025 zero by complementing the mask.
17027 2002-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
17029 * Makefile.in: Delete references to enquire.
17030 * enquire.c: Move to contrib.
17032 2002-07-16 Stan Shebs <shebs@apple.com>
17034 * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
17035 config/rs6000/darwin.h.
17036 (ASM_OUTPUT_SKIP): Ditto.
17037 (TEXT_SECTION_ASM_OP): Ditto.
17038 (DATA_SECTION_ASM_OP): Ditto.
17039 (ASM_APP_ON): Define.
17040 (ASM_APP_OFF): Define.
17041 * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
17042 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
17044 * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
17045 (machopic_function_base_name): Declare result to be const.
17046 (machopic_non_lazy_ptr_name): Ditto.
17047 (machopic_stub_name): Ditto.
17048 * config/darwin-protos.h: Ditto for the prototypes.
17050 Wed Jul 17 00:22:39 CEST 2002 Jan Hubicka <jh@suse.cz>
17052 * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
17054 Wed Jul 17 00:20:48 CEST 2002 Jan Hubicka <jh@suse.cz>
17056 * i386.md (prefetch): Fix for 64bit mode.
17057 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
17059 Wed Jul 17 00:19:20 CEST 2002 Jan Hubicka <jh@suse.cz>
17061 * i386.h (MACHINE_DEPENDENT_REORG): New macro.
17062 * i386.c (x86_machine_dependent_reorg): New function.
17063 * i386-protos.h (x86_machine_dependent_reorg): Declare.
17065 2002-07-16 Zack Weinberg <zack@codesourcery.com>
17067 * builtins.c (std_expand_builtin_va_start): Remove unused
17069 (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
17070 std_expand_builtin_va_start with just two arguments.
17071 * expr.h: Update prototypes.
17073 * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
17074 arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
17075 i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
17076 m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
17077 mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
17078 rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
17079 s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
17080 sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
17081 xtensa-protos.h, xtensa.h, xtensa.c: Remove unused first
17082 argument from all implementations of EXPAND_BUILTIN_VA_START
17083 and all uses of std_expand_builtin_va_start.
17085 Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
17087 * regrename.c (copy_value): Don't record high part copies.
17089 2002-07-16 Steve Ellcey <sje@cup.hp.com>
17091 * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
17092 (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
17093 * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
17095 2002-07-16 Ian Dall <ian@sibyl.beware.dropbear.id.au>
17097 * doc/invoke.texi (NS32K Options): Document -mieee-compare option
17099 * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
17100 into addsi3 using register class "x" and "y".
17102 * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
17103 "earlyclobber" constraint modifier for some alternative.
17105 * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
17106 (*ble, *blt): Flag to indicate bCOND and sCOND should check for
17108 config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
17110 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
17111 (TARGET_SWITCHES): Add -mieee-compare option.
17112 (OVERRIDE_OPTIONS): 32332 is a subset of
17113 32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
17114 (TARGET_SWITCHES): Fix description of bitfield option.
17115 * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
17116 -mieee-compare option. Remove 32332 flag.
17118 2002-07-16 Steve Ellcey <sje@cup.hp.com>
17120 * explow.c (convert_memory_address): Remove special handling
17121 when POINTERS_EXTEND_UNSIGNED < 0.
17122 * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
17123 (movedi_symbolic): Fix typo.
17124 (load_fptr): Remove mode restriction so it works for SI and DI.
17125 (load_fptr_internal1): Ditto.
17126 (load_gprel): Ditto.
17127 (load_symptr_internal1): Ditto.
17129 * config/ia64.c (call_operand): Modify mode check.
17130 (ia64_expand_load_address): Handle DI and SI addresses and symbols.
17131 (ia64_expand_move): Ditto.
17132 (ia64_assemble_integer): Handle SImode function pointers.
17133 (ia64_expand_fetch_and_op): Handle SImode mem addresses.
17134 (ia64_expand_op_and_fetch): Ditto.
17135 (ia64_expand_compare_and_swap): Ditto.
17136 (ia64_expand_lock_test_and_set): Ditto.
17137 (ia64_expand_lock_release): Ditto.
17139 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
17141 * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
17143 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
17144 Richard Earnshaw <rearnsha@arm.com>
17146 * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
17147 CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF. Simplify logic.
17149 2002-07-16 Richard Earnshaw <rearnsha@arm.com>
17151 * arm.md (stack_tie): New insn. Use an idiom that the alias code
17152 understands to be a memory clobber.
17153 * arm.c (arm_expand_prologue): Use it.
17155 2002-07-16 Daniel Berlin <dberlin@dberlin.org>
17157 * ra-rewrite.c: #include reload.h, insn-config.h
17158 * ra-build.c: #include reload.h
17159 * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
17160 depend on reload.h, insn-config.h.
17162 Tue Jul 16 11:57:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
17164 * expr.c (emit_move_insn_1): Handle arbitrary moves that are
17165 the same size as a word.
17167 * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
17168 BYTES_BIG_ENDIAN into account.
17170 Tue Jul 16 12:22:44 CEST 2002 Jan Hubicka <jh@suse.cz>
17172 * i386.md (prefetch): Fix for 64bit mode.
17173 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
17175 * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
17177 2002-07-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
17179 * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
17181 2002-07-15 Zack Weinberg <zack@codesourcery.com>
17183 * ginclude/varargs.h: Replace with stub which issues #error.
17184 * ginclude/stdarg.h: __builtin_stdarg_start is renamed
17185 __builtin_va_start.
17187 * builtins.def (BUILT_IN_VARARGS_START): Delete.
17188 (BUILT_IN_VA_START): New.
17189 * builtins.c (expand_builtin_va_start): Eliminate first
17190 argument and code to implement pre-ISO varargs.
17191 (std_expand_builtin_va_start): Ignore first argument; it is
17193 (expand_builtin): Handle BUILT_IN_VA_START and
17194 BUILT_IN_STDARG_START identically. Delete
17195 BUILT_IN_VARARGS_START case.
17197 * function.c (assign_parms): Delete hide_last_arg and all
17199 (mark_varargs): Delete function.
17200 * function.h (struct function): Delete 'varargs' bit.
17201 (current_function_varargs): Delete macro.
17202 * tree.h: Don't declare mark_varargs.
17204 * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
17205 (c_expand_body): Don't call mark_varargs.
17206 * c-objc-common.c: Handle BUILT_IN_VA_START and
17207 BUILT_IN_STDARG_START identically. Delete
17208 BUILT_IN_VARARGS_START case.
17209 * c-tree.h: Don't declare c_mark_varargs.
17210 * c-parse.in: Remove grammar rules for '&...' (which has been
17211 commented out since before 2.7.2) and for '...' in K+R
17212 argument declarations.
17214 * builtins.c, function.c, integrate.c, sibcall.c,
17215 config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
17216 config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
17217 config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
17218 config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
17219 config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
17220 config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
17221 config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
17222 config/stormy16/stormy16.c: Delete all references to
17223 current_function_varargs, and code predicated on that flag.
17225 * config/alpha/alpha.c (alpha_va_start),
17226 config/arc/arc.c (arc_va_start),
17227 config/i386/i386.c (ix86_va_start),
17228 config/mips/mips.c (mips_va_start),
17229 config/mn10300/mn10300.c (mn10300_va_start),
17230 config/rs6000/rs6000.c (rs6000_va_start),
17231 config/s390/s390.c (s390_va_start),
17232 config/sh/sh.c (sh_va_start),
17233 Ignore first argument; it is always 1.
17235 * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
17236 * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
17237 * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
17238 Delete m68hc11_va_start.
17239 * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
17240 No need to define EXPAND_BUILTIN_VA_START.
17242 * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
17243 doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
17245 2002-07-15 Eric Botcazou <ebotcazou@multimania.com>
17247 PR optimization/7153
17248 * regmove.c (optimize_reg_copy_3): Don't optimize if the register
17249 dies in more than one insn.
17251 2002-07-15 Jason Thorpe <thorpej@wasabisystems.com>
17253 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
17255 2002-07-15 Michael Matz <matz@suse.de>,
17256 Daniel Berlin <dberlin@dberlin.org>,
17257 Denis Chertykov <denisc@overta.ru>
17259 Add a new register allocator.
17263 * ra-build.c: New file.
17264 * ra-colorize.c: New file.
17265 * ra-debug.c: New file.
17266 * ra-rewrite.c: New file.
17268 * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
17269 (ra-rewrite.o): New .o files for libbackend.a.
17270 (GTFILES): Add basic-block.h.
17272 * toplev.c (flag_new_regalloc): New.
17273 (f_options): New option "new-ra".
17274 (rest_of_compilation): Call initialize_uninitialized_subregs()
17275 only for the old allocator. If flag_new_regalloc is set, call
17276 new allocator, instead of local_alloc(), global_alloc() and
17279 * doc/invoke.texi: Document -fnew-ra.
17280 * basic-block.h (FOR_ALL_BB): New.
17281 * config/rs6000/rs6000.c (print_operand): Write small constants
17284 * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
17285 (df_reg_table_realloc): Make size at least as large as max_reg_num().
17286 (df_insn_table_realloc): Size argument now is absolute, not relative.
17287 Changed all callers.
17289 * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
17290 * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
17292 2002-06-20 Michael Matz <matz@suse.de>
17294 * df.h (struct ref.id): Make unsigned.
17295 * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
17297 2002-06-13 Michael Matz <matz@suse.de>
17299 * df.h (DF_REF_MODE_CHANGE): New flag.
17300 * df.c (df_def_record_1, df_uses_record): Set this flag for refs
17301 involving subregs with invalid mode changes, when
17302 CLASS_CANNOT_CHANGE_MODE is defined.
17304 2002-05-07 Michael Matz <matz@suse.de>
17306 * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
17308 2002-05-03 Michael Matz <matz@suse.de>
17310 * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
17312 Sat Feb 2 18:58:07 2002 Denis Chertykov <denisc@overta.ru>
17314 * regclass.c (regclass): Work with all regs which have sets or
17316 (reg_scan_mark_refs): Count regs inside (clobber ...).
17318 2002-01-04 Michael Matz <matzmich@cs.tu-berlin.de>
17320 * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
17321 (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
17323 (df_bb_refs_update): Don't clear insns_modified here, ...
17324 (df_analyse): ... but here.
17326 * sbitmap.c (dump_sbitmap_file): New.
17327 (debug_sbitmap): Use it.
17329 * sbitmap.h (dump_sbitmap_file): Add prototype.
17331 2001-08-07 Daniel Berlin <dan@cgsoftware.com>
17333 * df.c (df_insn_modify): Grow the UID table if necessary, rather
17334 than assume all emits go through df_insns_modify.
17336 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
17338 * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
17339 increase REG_N_REFS (like flow does), so that regclass doesn't
17340 think a reg is useless, and thus, not calculate a class, when it
17341 really should have.
17343 2001-01-28 Daniel Berlin <dberlin@redhat.com>
17345 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
17348 2002-07-15 Jakub Jelinek <jakub@redhat.com>
17351 * config/i386/i386.c (const_int_1_31_operand): New.
17352 * config/i386/i386.h (PREDICATE_CODES): Add it.
17353 * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
17354 ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
17355 lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
17357 2002-07-14 Alan Modra <amodra@bigpond.net.au>
17360 * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
17361 (floatunssidf2): Likewise.
17362 (floatsidf_ppc64): New insn_and_split.
17363 (floatunssidf_ppc64): Likewise.
17365 2002-07-14 Andreas Jaeger <aj@suse.de>
17367 * config.gcc (sh64): Remove unused
17368 target_requires_64bit_host_wide_int.
17370 2002-07-12 Roger Sayle <roger@eyesopen.com>
17372 * expr.c [CLEAR_RATIO]: New macro defining the maximum number
17373 of move instructions to use when clearing memory, c.f. MOVE_RATIO.
17374 [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
17375 whether clear_by_pieces should be used to clear storage.
17376 (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
17378 * doc/tm.texi: Document these two new target macros.
17380 2002-07-12 Stephane Carrez <stcarrez@nerim.fr>
17382 * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
17383 the scratch register.
17384 ("*movhi2_push"): Accept Z_REG because a split pattern can make use
17385 of it, forbid reload to use it.
17387 2002-07-12 Marek Michalkiewicz <marekm@amelek.gda.pl>
17389 * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
17390 usage on 64-bit hosts, return value was truncated to 32 bits.
17392 Fri Jul 12 00:49:36 2002 J"orn Rennecke <joern.rennecke@superh.com>
17394 * simplify-rtx.c (simplify_subreg): Handle floating point
17395 CONST_DOUBLEs. When an integer subreg of a smaller mode than
17396 the element mode is requested, compute a subreg with an
17397 integer mode of the same size as the element mode first.
17399 Thu Jul 11 22:02:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
17401 * combine.c (try_combine): When converting a paradoxical subreg
17402 to an extension, take LOAD_EXTEND_OP into account.
17404 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17406 * config.gcc (mips-sgi-irix6*o32): New configuration.
17408 * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
17410 * configure: Regenerate.
17412 * config/mips/iris6-o32-as.h: New file.
17413 * config/mips/iris6-o32.h: New file.
17415 * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
17416 (NM_FLAGS): Define.
17417 (HAVE_AS_SHF_MERGE): Undefine.
17419 * config/mips/t-iris5-as: New file.
17420 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
17422 * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
17423 SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
17424 SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
17425 dp-bit.c, fp-bit.c): Move ...
17426 * config/mips/t-iris5-6: ... here.
17427 New file, shared by IRIX 5 and IRIX 6.
17428 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
17429 mips-sgi-irix5*): Use it.
17431 * config/mips/iris6.h: Remove duplicate comment.
17433 * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
17434 !TARGET_IRIX6]: Define.
17435 (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
17437 * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
17439 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
17441 * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
17442 and delete code to force constant to register.
17443 * pa-protos.h (adddi3_operand): Add prototype.
17444 * pa.c (adddi3_operand): New function.
17446 2002-07-11 Roger Sayle <roger@eyesopen.com>
17448 * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
17449 non-ANSI builtin functions.
17451 Thu Jul 11 11:31:12 2002 J"orn Rennecke <joern.rennecke@superh.com>
17453 * rtl.h (gen_rtx_CONST_VECTOR): Declare.
17454 * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
17455 * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
17456 (gen_const_vector_0): Use it.
17458 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
17460 * pa.md (adddi3): For 32-bit targets, force constants to a register
17461 if they don't fit in an 11-bit immediate. Change insn predicate to
17462 arith11_operand. Remove comment.
17463 * pa.c (cint_ok_for_move): Fix comment.
17464 (emit_move_sequence): Don't directly split DImode constants on 32-bit
17467 2002-07-11 Tim Josling <tej@melbpc.org.au>
17469 Remove front end hard coding from gengtype.c.
17472 (STAGESTUFF): add gtyp-gen.h
17473 (GTFILES): Remove front end specific files.
17474 (GTFILES_FILES_LANGS): New, from configure..
17475 (GTFILES_FILES_FILES): Likewise.
17476 (GTFILES_LANG_DIR_NAMES): Likewise.
17477 (GTFILES_SRCDIR): Likewise.
17478 (gtyp-gen.h): Build from configure information.
17479 (s-gtype): Remove command line parameters from gengtype.
17480 (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
17481 (mostlyclean): Delete files generated by and for gengtype.
17483 * c-config-lang.in: New file.
17485 * configure.in (all_gtfiles_files_langs): New. Accumulate files
17487 (all_gtfiles_files_files): New. Accumulate language for each file
17489 (gtfiles): Pick up value for C.
17490 (srcdir): AC-SUBST this variable.
17491 (all_gtfiles_files_langs): AC-SUBST this variable.
17492 (all_gtfiles_files_files): AC-SUBST this variable.
17494 * configure: Regenerate.
17496 * gengtype-lex.l (parse_file): Make parameter const.
17498 * gengtype.c (toplevel): include gtyp-gen.h.
17499 (BASE_FILE_<language> unnamed enum): Delete.
17500 (lang_names): Delete (replaced by gtyp-gen.h)
17501 (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
17503 (NUM_GT_FILES): New.
17504 (NUM_LANG_FILES): New.
17506 (NUM_BASE_FILES): Change calculation.
17507 (open_base_files): Change prototype to avoid warning.
17508 (startswith): Delete.
17509 (get_file_basename): Iterate through generated language list not
17511 (get_base_file_bitmap): Use generated list of files and languages.
17512 (close_output_files): Add prototype to rmove warning.
17513 (main): Iterate through list of generated files from gtyp-gen.h
17514 rather than command line paramaters. Ignore duplicated file
17517 * gengtype.h (parse_file): Amend prototype for const parameter.
17519 * doc/sourcebuild.texi: Document gtfiles variable.
17521 * doc/gty.texi: Document changes to gtfiles variable for front
17524 * objc/config-lang.in (gtfiles): Add files needed for objc front
17527 2002-07-10 Roger Sayle <roger@eyesopen.com>
17530 * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
17531 to SUBREGs of MEMs. (num_sign_bit_copies): Likewise.
17533 2002-07-10 Roger Sayle <roger@eyesopen.com>
17534 Zack Weinberg <zack@codesourcery.com>
17536 * builtins.def: Make the argument types of abort and exit
17537 independent of the front-end.
17539 2002-07-11 Alan Modra <amodra@bigpond.net.au>
17541 * config/rs6000/linux64.h (ASM_SPEC): Define.
17543 2002-07-10 Aldy Hernandez <aldyh@redhat.com>
17545 * config/rs6000/rs6000.c (emit_frame_save): New.
17546 (rs6000_frame_related): Replace reg2 before reg.
17547 (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
17548 and eh_return registers.
17550 2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
17552 Revert all patches for optimization of Complex .op. Real.
17553 * complex_part_zero_p: Remove
17554 * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
17556 * expand_cmplxdiv_wide: Ditto.
17557 * expand_binop: Ditto.
17559 2002-07-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
17561 * config/avr/avr.md: Fix two 0x80000000 constants to make them
17562 negative also on 64-bit hosts.
17564 Default to -fno-reorder-blocks when optimizing for size.
17565 * config/avr/avr-protos.h (avr_optimization_options): Declare.
17566 * config/avr/avr.c (avr_optimization_options): New function.
17567 * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
17569 Optimize returning from simple functions.
17570 * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
17571 * config/avr/avr.c (avr_simple_epilogue): New function.
17572 * config/avr/avr.md (return): New insn.
17574 2002-07-10 Douglas B Rupp <rupp@gnat.com>
17576 * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
17577 HAS_INIT_SECTION to protection.
17579 2002-07-10 Mark Mitchell <mark@codesourcery.com>
17581 * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
17584 Wed Jul 10 19:50:03 2002 J"orn Rennecke <joern.rennecke@superh.com>
17586 * combine.c (gen_lowpart_for_combine): Handle vector modes.
17587 Supply non-VOID mode to simplify_gen_subreg.
17589 Wed Jul 10 18:48:55 CEST 2002 Jan Hubicka <jh@suse.cz>
17591 * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
17593 2002-07-10 Jeffrey A Law <law@redhat.com>
17595 * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
17598 * mn10200.c (expand_epilogue): Fix test to determine which scratch
17601 Wed Jul 10 16:06:00 2002 J"orn Rennecke <joern.rennecke@superh.com>
17603 * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
17604 Get mode from dest.
17605 If simplify_gen_subreg fails, try next equivalent.
17607 2002-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
17609 * diagnostic.h: #include location.h
17610 (location_t): Move definition to..
17611 * location.h: ... here. New file.
17612 * tree.h: #include location.h
17613 (DECL_SOURCE_LOCATION): New macro.
17614 (DECL_SOURCE_FILE): Use.
17615 (DECL_SOURCE_LINE): Likewise.
17616 (struct tree_decl): REplace filename and linenum with locus.
17617 * Makefile.in (TREE_H): add location.h
17618 (diagnostic.o): Depends on gt-location.h
17619 (gt-location.h): Depends on s-gtype
17621 2002-07-09 Matt Kraai <kraai@alumni.cmu.edu>
17623 * config/rs6000/aix.h: Convert CPP_PREDEFINES to
17624 TARGET_OS_CPP_BUILTINS.
17625 * config/rs6000/aix31.h: Likewise.
17626 * config/rs6000/aix41.h: Likewise.
17627 * config/rs6000/aix43.h: Likewise.
17628 * config/rs6000/aix51.h: Likewise.
17629 * config/rs6000/beos.h: Likewise.
17630 * config/rs6000/darwin.h: Likewise.
17631 * config/rs6000/eabi.h: Likewise.
17632 * config/rs6000/eabisim.h: Likewise.
17633 * config/rs6000/linux.h: Likewise.
17634 * config/rs6000/linux64.h: Likewise.
17635 * config/rs6000/lynx.h: Likewise.
17636 * config/rs6000/mach.h: Likewise.
17637 * config/rs6000/rtems.h: Likewise.
17638 * config/rs6000/sysv4.h: Likewise.
17639 * config/rs6000/vxppc.h: Likewise.
17641 2002-07-09 Devang Patel <dpatel@apple.com>
17642 * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
17643 Do not allow ObjC objects as a parameter type for Objective-C methods.
17644 My previous patch restricted 'struct' also.
17646 2002-07-09 Neil Booth <neil@daikokuya.co.uk>
17648 * cpperror.c (cpp_error): Default to directive_line within
17650 * cppexp.c (cpp_interpret_integer): Only use traditional
17651 number semantics in directives.
17652 * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
17653 (do_include_common): Similarly.
17654 * cpptrad.c (scan_out_logical_line): Implement accurate
17655 quoting of <> in #include.
17656 * doc/cpp.texi: Update.
17658 Tue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com>
17659 J"orn Rennecke <joern.rennecke@superh.com>
17661 * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
17662 * sh.md (attribute issues): Replace with:
17663 (attribute pipe_model). All users changed.
17664 (attribute type): Change pt / ptabs to pt_media / ptabs_media.
17666 (function units sh5issue, sh5fds): New.
17667 (attribute is_mac_media): New.
17668 (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
17669 (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
17670 (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
17671 (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
17672 (call_media, call_value_media, sibcall_media): Likewise.
17673 (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
17674 (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
17675 (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
17676 (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
17677 (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
17678 (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
17679 (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
17680 (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
17681 (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
17682 (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
17683 (truncdfsf2_media): Likewise.
17684 (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
17685 (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
17687 Tue Jul 9 21:39:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
17689 * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
17690 * sh.c (general_extend_operand, inqhi_operand): New functions.
17691 * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
17692 alternatives using 'N' modifier. Add type.
17693 (adddi3z_media): Likewise. Enable generator function generation.
17694 (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
17695 exact predicates / constraints. Add type.
17696 (subsi3): Allow 0 for SHMEDIA.
17697 (udivsi3_i4_media): Use match_operand for input values
17698 rather than hard registers.
17699 (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
17700 unnecessarily through hard registers. Keep copies of pseudo
17701 registers outside of the libcall sequence.
17702 (mulsidi3_media, umulsidi3_media): Use more exact predicates. Add type.
17703 (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
17704 (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
17705 (extendhidi2, extendqidi2): Likewise.
17706 (andsi3_compact): Name.
17707 (andcdi3): Enable generator function generation.
17708 (zero_extendhisi2, zero_extendqisi2): Rename to
17709 (zero_extendhisi2_compact, zero_extendqisi2_compact).
17710 (extendhisi2, extendqisi2): Rename to
17711 (extendhisi2_compact, extendqisi2_compact).
17712 (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
17713 (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
17714 (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
17715 (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
17716 (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
17717 (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
17718 (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
17719 (shmedia32_initialize_trampoline_big): Likewise.
17720 (shmedia32_initialize_trampoline_little): Likewise.
17721 (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
17722 (negdi2): Remove spurious T clobber.
17723 (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
17724 (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
17725 (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
17726 (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
17727 (ic_invalidate_line_media): Write back data cache before invalidating
17728 instruction cache. Add type.
17729 (movsf_media): Sign-extend when the destination is a general
17730 purpose register. Add type.
17731 (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
17732 (casesi_worker_0+1): Only increment ref count for proper label.
17733 (casesi_worker_0+2): Likewise.
17735 2002-07-09 Mark Mitchell <mark@codesourcery.com>
17737 * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
17739 2002-07-09 Steve Ellcey <sje@cup.hp.com>
17741 * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
17742 from Pmode to ptr_mode.
17743 (get_exception_pointer): Ditto.
17744 (connect_post_landing_pads): Ditto.
17745 (dw2_build_landing_pads): Ditto.
17747 2002-07-08 Steve Ellcey <sje@cup.hp.com>
17748 * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
17749 * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
17750 (handle_pragma_redefine_extname): Change to use new function.
17752 2002-07-08 Roger Sayle <roger@eyesopen.com>
17754 * combine.c (combine_simplify_rtx): Add an explicit cast
17755 to avoid signed/unsigned comparison warning.
17756 (simplify_if_then_else): Likewise.
17757 (extended_count): Likewise.
17758 (simplify_shift_const): Likewise.
17759 (simplify_comparison): Likewise.
17761 2002-07-08 Richard Sandiford <rsandifo@redhat.com>
17763 * config/mips/mips.md: Add imadd type. Update scheduler description
17764 to use imadd as well as imul.
17765 (*mul_acc_si, *madsi): Change imul alternatives to imadd.
17766 (*mul_acc_di, *mul_acc_64bit_di): Likewise.
17767 (*mul_sub_si): Likewise for first alternative. Change second
17768 alternative from imul to multi.
17770 2002-07-07 Neil Booth <neil@daikokuya.co.uk>
17772 * c-common.c (c_common_post_options): Update prototype;
17773 don't init backends if preprocessing only.
17774 * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
17775 * langhooks.h (struct lang_hooks): Update post_options to
17777 * toplev.c (parse_options_and_default_flags, do_compile,
17778 lang_independent_init): Update prototypes. Allow the
17779 front end to specify that there is no need to initialize
17781 (general_init): Move call to hex_init here...
17782 (toplev_main): ...from here. Pass flag for back end init
17785 Sun Jul 7 20:38:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
17787 * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
17788 (PREDICATE_CODES): Add entries for equality_comparison_operator,
17789 greater_comparison_operator and less_comparison_operator.
17790 * sh.c (print_operand): Add '\'' code. Make 'o' handle
17792 (equality_comparison_operator): New function.
17793 (greater_comparison_operator, less_comparison_operator): Likewise.
17794 * sh.md (beq_media_i): Disable generator function generation.
17795 Use match_operator to handle a whole class of comparisons. Add
17796 modifier in output template to provide branch prediction. Add type.
17797 (bgt_media_i, ble_media_i): Likewise. Allow zero operands.
17798 (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
17799 (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
17800 (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
17802 2002-07-07 Hans-Peter Nilsson <hp@bitrange.com>
17804 Emit MMIX function prologue and epilogue as rtl.
17805 * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
17806 not unprototyped get_hard_reg_initial_val.
17807 ("call_value", "nonlocal_goto_receiver"): Ditto.
17808 ("return"): Make define_expand. Move real insn to...
17809 ("*expanded_return"): New pattern.
17810 ("prologue", "epilogue"): New define_expands.
17811 * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
17812 (struct machine_function): New member in_prologue.
17813 (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
17814 (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
17815 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
17816 (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
17817 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
17818 (LOCAL_REGNO): Define. Adjust comment.
17819 * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
17820 Consider regs_ever_live[MMIX_rJ_REGNUM], not just
17822 (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
17824 (mmix_target_asm_function_prologue): Make static. Just mark that
17825 the prologue is being emitted. Move guts to...
17826 (mmix_expand_prologue): New function. Adjust for emitting
17827 prologue as rtl. For sizes, use HOST_WIDE_INT only.
17828 (mmix_target_asm_function_epilogue): Make static. Simply emit a
17829 \n. Move guts to...
17830 (mmix_expand_epilogue): New function. Adjust for emitting
17831 epilogue as rtl. For sizes, use HOST_WIDE_INT only.
17832 (mmix_target_asm_function_end_prologue): Mark that the prologue
17834 (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
17835 (mmix_conditional_register_usage): Improve comments.
17836 (mmix_local_regno): New function.
17837 (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
17838 * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
17839 (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
17840 (mmix_get_hard_reg_initial_val): Ditto.
17842 2002-07-06 Andreas Jaeger <aj@suse.de>
17844 * toplev.c (set_fast_math_flags): Don't use ISO C style function
17846 * gengtype.c (open_base_files): Likewise.
17847 (close_output_files): Likewise.
17848 * tracer.c (find_best_predecessor): Likewise.
17849 (find_best_successor): Likewise.
17850 (ignore_bb_p): Likewise.
17852 2002-07-05 Roger Sayle <roger@eyesopen.com>
17855 * builtin-attrs.def: Define new attribute lists for use in
17857 * builtins.def [DEF_BUILTIN]: Modify to take an additional
17858 ATTRS argument, an enumerated value defined in builtin-attrs.def
17859 that represents the attribute list for the builtins. Modify
17860 all builtin functions to pass an appropriate attribute list.
17861 Specify "abort", "exit", "_exit" and "_Exit" builtins here with
17862 their required noreturn attributes.
17863 * tree.h (enum_builtin_function): Ignore the additional parameter
17865 * builtins.c (built_in_names): Likewise.
17866 * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
17867 argument with a tree representing the functions attribute list.
17868 Pass this "attrs" argument to builtin_function. No longer handle
17869 the noreturn_p processing manually.
17870 (built_in_attributes): Move the definitions from builtin-attrs.def
17871 before c_common_nodes_and_builtins.
17872 (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
17873 DEF_BUILTIN, passing it to both builtin_function and the changed
17874 builtin_function_2.
17876 * doc/extend.texi: Document __builtin_abort, __builtin_exit,
17877 __builtin__exit and __builtin__Exit.
17879 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
17881 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
17882 QI mode registers in soft registers.
17883 ("zero_extendqihi2"): Do not take into account soft registers
17884 for register allocation (use '*' constraint).
17886 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
17888 * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
17890 ("*ashrsi3"): Likewise.
17891 ("*lshrsi3"): Likewise.
17893 2002-07-05 Vladimir Makarov <vmakarov@redhat.com>
17895 * genautomata.c (output_max_insn_queue_index_def): Take latencies
17898 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
17900 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
17901 address computation and memory moves.
17903 2002-07-03 Mark Mitchell <mark@codesourcery.com>
17906 * dwarfout.c (output_reg_number): Fix warning message.
17907 (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
17910 2002-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17912 * gcc/gcc.c (asm_debug): Move initialization ...
17913 (init_spec): ... here.
17915 2002-07-05 Nathan Sidwell <nathan@codesourcery.com>
17917 * c-parse.in (extdef): Append ';'.
17918 (old_style_parm_decls): Append ';'.
17920 2002-07-04 Daniel Jacobowitz <drow@mvista.com>
17922 * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
17923 gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
17924 to gcc_cv_as_gstabs_flag.
17925 * configure: Rebuilt.
17927 2002-07-04 Geoffrey Keating <geoffk@redhat.com>
17929 * ggc.h (ggc_add_root): Document as obsolete.
17931 Thu Jul 4 07:58:01 2002 J"orn Rennecke <joern.rennecke@superh.com>
17933 * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
17934 (mshflo_w): Likewise.
17936 Thu Jul 4 07:36:29 2002 J"orn Rennecke <joern.rennecke@superh.com>
17938 * simplify-rtx.c (simplify_subreg): Reduce problem of finding
17939 vector mode subregs of constants to finding integer mode
17940 subregs of constants.
17941 * cse.c (cse_insn): Use simplify_gen_subreg.
17942 * convert.c (convert_to_integer): Don't strip a NOP_EXPR
17943 From a vector mode expression of different size than the
17946 2002-07-03 Eric Christopher <echristo@redhat.com>
17948 * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
17949 * config/mips/mips.h: Remove deprecated -m<processor> options
17950 and cc1_cpu_spec associated.
17951 (CONSTANT_ADDRESS_P): Fix last patch.
17952 (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
17953 * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
17956 2002-07-03 Stan Shebs <shebs@apple.com>
17958 * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
17959 (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
17960 (CPP_SPEC): Remove insertion of APPLE_CC definition.
17962 2002-07-03 Roger Sayle <roger@eyesopen.com>
17964 * combine.c (struct_undo): Change types of recorded substitutions
17965 to be either "int" or "rtx", instead of "unsigned int" and "rtx".
17966 (do_SUBST_INT): Change types of the substitution from unsigned int
17967 to int, to avoid compilation warning from SUBST_INT's only caller.
17969 (make_extraction): Add cast to avoid compilation warning.
17970 (force_to_mode): Remove cast to avoid compilation warning.
17972 2002-07-03 Eric Botcazou <ebotcazou@multimania.com>
17973 Jeff Law <law@redhat.com>
17975 * i386.md (length_immediate attribute): Fix typo.
17976 (length_address attribute): Likewise.
17977 (modrm attribute): Set it to 0 for immediate call instructions.
17978 (jcc_1 pattern): Set modrm attribute to 0.
17979 (jcc_2 pattern ): Likewise.
17980 (jump pattern): Likewise.
17981 (doloop_end_internal pattern): Explicitly set length.
17982 (leave pattern): Fix typo.
17983 (leave_rex64 pattern): Likewise.
17985 2002-07-03 David Edelsohn <edelsohn@gnu.org>
17987 * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
17988 in FPR as preference.
17990 (floatdidf2, fix_truncdfdi2): Same.
17991 (floatdisf2, floatditf2, fix_trunctfdi2): Same.
17992 (floatditf2): Same.
17993 (floatsitf2, fix_trunctfsi2): SImode in GPR.
17994 (ctrdi): Remove FPR alternative and splitter.
17996 2002-07-03 Will Cohen <wcohen@redhat.com>
17998 * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
18000 Wed Jul 3 10:24:16 2002 J"orn Rennecke <joern.rennecke@superh.com>
18002 * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
18003 than UNITS_PER_WORD, unless this is little endian and the first unit
18004 in this word. Let extract_bit_field decide how to load an element.
18005 Force arguments to matching mode.
18006 (expand_vector_unop): Likewise.
18008 * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
18009 consist of word_mode elements.
18010 * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
18011 BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
18012 (build_unary_op): Allow vector types for BIT_NOT_EPR.
18013 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
18015 * optabs.c (expand_vector_binop): Try to perform operation in
18016 smaller vector modes with same inner size. Add handling of AND, IOR
18017 and XOR. Reject expansion to inner-mode sized scalars when using
18018 OPTAB_DIRECT. Use simplify_gen_subreg on constants.
18019 (expand_vector_unop): Try to perform operation in smaller vector
18020 modes with same inner size. Add handling of one's complement.
18021 When there is no vector negate operation, try a vector subtract
18022 operation. Use simplify_gen_subreg on constants.
18023 * simplify-rtx.c (simplify_subreg): Add capability to convert vector
18024 constants into smaller vectors with same inner mode, and to
18025 integer CONST_DOUBLEs.
18027 2002-07-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18029 * c-parse.in (parsing_iso_function_signature): New variable.
18030 (extdef_1): New, copied from...
18031 (extdef): ... here. Reset parsing_iso_function_signature.
18032 (old_style_parm_decls): Reset parsing_iso_function_signature.
18033 (old_style_parm_decls_1): New, copied from old_style_parm_decls.
18034 Warn about ISO C style function definitions.
18035 (nested_function, notype_nested_function): Reset
18036 parsing_iso_function_signature.
18037 (parmlist_2): Set parsing_iso_function_signature.
18039 * doc/invoke.texi (-Wtraditional): Document new behavior.
18041 2002-07-02 Chris Demetriou <cgd@broadcom.com>
18043 * config.gcc (mips*el-*-*): Use tm_defines to set
18044 TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
18045 * config/mips/little.h: Remove.
18047 2002-07-02 Devang Patel <dpatel@apple.com>
18049 * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
18050 object as parameter. Prevent something like 'NSObject' to be
18051 used as the type for a method argument.
18053 2002-07-03 Neil Booth <neil@daikokuya.co.uk>
18055 * cpptrad.c: Update comment.
18057 2002-07-02 Neil Booth <neil@daikokuya.co.uk>
18059 * doc/cpp.texi: Update for traditional preprocessing changes.
18060 * goc/cppopts.texi: Similarly.
18062 2002-07-02 Ziemowit Laski <zlaski@apple.com>
18064 * c-parse.in (designator): Enable designated initializers if ObjC.
18065 (objcmessageexpr): Remove references to objc_receiver_context.
18066 * objc/objc-act.h (objc_receiver_context): Remove decl.
18067 * objc/objc-act.c (objc_receiver_context): Remove.
18068 (lookup_objc_ivar): Test objc_method_context instead of
18069 objc_receiver_context.
18071 Tue Jul 2 18:45:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
18073 * sh.c (print_operand, case 'N'): Allow zero vector.
18074 (arith_reg_or_0_operand): Likewise.
18075 (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
18076 * sh.h (CONST_COSTS): 0 has 0 cost. Check OUTER_CODE for
18077 IOR, XOR, PLUS and SET and take their respective constant
18078 ranges into account.
18079 (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
18080 * sh.md (subdi3, subdi3_media): Allow zero operand.
18081 (movv8qi_i+3): Only vector that is not split is the zero vector.
18082 Fix operand 3 to simplify_subreg.
18083 (movv2si_i): Split alternative 1.
18084 (mshfhi_l_di_rev+1): New splitter.
18086 2002-07-02 Neil Booth <neil@daikokuya.co.uk>
18088 PR preprocessor/7029
18089 * cppinit.c (cpp_handle_option): Suppress warnings with an
18090 implicit "-w" for "-M" and "-MM".
18091 * doc/cppopts.texi: Update.
18093 2002-07-01 Roger Sayle <roger@eyesopen.com>
18095 * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
18096 identifier "bzero" to "memset". Pass extra NULL_TREE argument to
18099 2002-07-02 Alan Modra <amodra@bigpond.net.au>
18101 * README.Portability: Fix typos.
18103 2002-07-01 Hans-Peter Nilsson <hp@axis.com>
18106 * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
18107 of indirections for register inside sign-extended mem part.
18109 2002-07-01 Roger Sayle <roger@eyesopen.com>
18111 * tree.h: Modify builtin_function interface to take an extra
18112 argument ATTRS, which is a tree representing an attribute list.
18114 * c-decl.c (builtin_function): Accept additional parameter.
18115 * objc/objc-act.c (builtin_function): Likewise.
18116 * f/com.c (builtin_function): Likewise.
18117 * java/decl.c (builtin_function): Likewise.
18118 * ada/utils.c (builtin_function): Likewise.
18119 * cp/decl.c (builtin_function): Likewise.
18120 (builtin_function_1): Likewise.
18122 * c-common.c (c_common_nodes_and_builtins): Pass an additional
18123 NULL_TREE argument to builtin_function. (builtin_function_2):
18125 * cp/call.c (build_java_interface_fn_ref): Likewise.
18126 * objc/objc-act.c (synth_module_prologue): Likewise.
18127 * java/decl.c (java_init_decl_processing): Likewise.
18128 * f/com.c (ffe_com_init_0): Likewise.
18130 * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
18131 NULL_TREE argument to builtin_function.
18132 * config/arm/arm.c (def_builtin): Likewise.
18133 * config/c4x/c4x.c (c4x_init_builtins): Likewise.
18134 * config/i386/i386.c (def_builtin): Likewise.
18135 * config/ia64/ia64.c (def_builtin): Likewise.
18136 * config/rs6000/rs6000.c (def_builtin): Likewise.
18138 2002-07-01 Zack Weinberg <zack@codesourcery.com>
18140 * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
18141 * config/mips/t-isa3264: Likewise.
18142 * config/mmix/t-mmix: Likewise.
18144 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
18146 * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
18148 2002-07-01 Roger Sayle <roger@eyesopen.com>
18151 * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
18152 A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
18153 B are truth values.
18155 2002-07-01 Nathanael Nerode <neroden@gcc.gnu.org>
18157 * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
18159 2002-07-01 Matt Kraai <kraai@alumni.cmu.edu>
18161 * README.Portability (Function prototypes): Give an example of
18162 declaring and defining a function with no arguments.
18164 * README.Portability (Function prototypes): Document new
18165 variable-argument function macros.
18167 Mon Jul 1 19:55:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
18169 * sh.c (langhooks.h): Include.
18170 (sh_init_builtins, sh_media_init_builtins): New functions.
18171 (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
18172 (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
18173 (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
18174 (builtin_description): New struct tag.
18175 (signature_args, bdesc): New arrays.
18176 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
18177 (print_operand): Add 'N' modifier.
18178 * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
18179 (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
18180 (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
18181 (CONST_COSTS): Add special case for SHmedia AND.
18182 (PREDICATE_CODES): Add and_operand, arith_reg_dest,
18183 extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
18184 sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
18185 target_operand can also be const or unspec.
18186 * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
18187 (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
18188 (attribute type): Add new types.
18189 (anddi3): Add splitter.
18190 (movdi_const_16bit+1): Add code to handle vector constants and
18191 bitmasks efficiently.
18192 (shori_media): Have generator function made.
18193 (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
18194 (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
18195 (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
18196 (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
18197 (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
18198 (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
18199 (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
18200 (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
18201 (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
18202 (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
18203 (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
18204 (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
18205 (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
18206 (mshflo_b, mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
18207 (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
18208 (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
18209 (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
18210 (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
18211 (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
18214 (fpu_switch+1, fpu_switch+2): Remove constraint.
18216 2002-07-01 Aldy Hernandez <aldyh@redhat.com>
18218 * tree.c (build_function_type_list): Update function comment.
18219 Rename first argument to return_type.
18221 2002-07-01 Neil Booth <neil@daikokuya.co.uk>
18223 * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
18224 tradcif.y and related files.
18226 2002-07-01 Neil Booth <neil@daikokuya.co.uk>
18228 * cpptrad.c (skip_whitespace): Pass pointer to prior char.
18230 2002-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18232 * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
18234 See ChangeLog.7 for earlier changes.