1 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
3 * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
4 * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
7 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
9 * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
11 2002-07-18 Richard Henderson <rth@redhat.com>
14 * ifcvt.c (noce_get_condition): Make certain that the condition
17 Thu Jul 18 13:44:51 2002 J"orn Rennecke <joern.rennecke@superh.com>
19 * sh.c (barrier_align, push): Shut up compiler warnings.
20 (initial_elimination_offset,sh_media_init_builtins): Likewise.
21 (reg_no_subreg_operand): Delete.
23 2002-07-17 Bo Thorsen <bo@suse.de>
25 * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
26 (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
27 (STARTFILE_SPEC): Remove hardcoded library paths.
28 (ENDFILE_SPEC): Likewise.
30 Thu Jul 18 09:38:59 CEST 2002 Jan Hubicka <jh@suse.cz>
32 * gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached.
34 * gcse.c (try_replace_reg): Do not return false positives.
36 2002-07-18 Alan Modra <amodra@bigpond.net.au>
38 * prefix.c: (update_path): Strip ".." components when prior dir
39 doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
41 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
42 (ASM_OUTPUT_REG_POP): Likewise.
44 2002-07-18 Alan Modra <amodra@bigpond.net.au>
46 * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
47 adjustments to first_reg for profiling case.
48 (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
49 Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
50 Save static chain reg to sp + 12 on ABI_AIX_NODESC.
51 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
52 (ASM_OUTPUT_REG_POP): Define.
53 * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
54 (ASM_OUTPUT_REG_POP): Undef.
56 2002-07-17 Neil Booth <neil@daikokuya.co.uk>
58 * cpplib.c (do_sccs): Handle #sccs on all systems.
59 * system.h (SCCS_DIRECTIVE): Poison.
60 * config/darwin.h, config/freebsd.h, config/netbsd.h,
61 config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
62 config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
63 config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
64 config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
65 config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
66 config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
67 config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
68 Remove all references to SCCS_DIRECTIVE.
69 * doc/cpp.texi, doc/tm.texi: Update.
71 Wed Jul 17 19:23:32 2002 J"orn Rennecke <joern.rennecke@superh.com>
73 * regrename.c (maybe_mode_change): New function.
74 (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
76 2002-07-17 Rodney Brown <rbrown64@csc.com.au>
78 * config/i386/i386.c (ix86_expand_int_movcc): In the general case
79 suppress addition when either ct or cf are zero.
81 2002-06-17 Eric Botcazou <ebotcazou@multimania.com>
82 Glen Nakamura <glen@imodulo.com>
85 * loop.c (loop_givs_rescan): Explicitly delete the insn that
86 sets a non-replaceable giv after issuing the new one.
88 2002-07-17 Neil Booth <neil@daikokuya.co.uk>
90 * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
91 eval_token): Clarify and correct use of "bool" variables.
92 * cpplib.h (struct cpp_options): Similarly.
93 * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
94 * cpptrad.c (recursive_macro): Similarly.
96 Wed Jul 17 17:08:06 2002 J"orn Rennecke <joern.rennecke@superh.com>
98 * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
101 * sh.md (cmpgtudi_media): Remove spurious @.
103 * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
104 * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
106 * config/sh/lib1funcs.asm (init_trampoline): New entry point.
107 * sh-protos.h (sh_initialize_trampoline): Declare.
108 * sh.c (sh_initialize_trampoline): New function.
109 * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
110 (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
111 (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
112 (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
113 * sh.md (initialize_trampoline, double_shori): New patterns.
114 (initialize_trampoline_compact): Likewise.
115 (shmedia32_initialize_trampoline_big): Remove.
116 (shmedia32_initialize_trampoline_little): Likewise.
118 * sh-protos.h (binary_float_operator): Remove declaration.
119 (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
120 * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
121 (unary_float_operator, sh_expand_unop_v2sf): New functions.
122 (sh_expand_binop_v2sf): Likewise.
123 (zero_vec_operand): Delete.
124 (SH_BLTIN_UDI): New builtin shared signature define. Renumbered
126 (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
127 Enable nsb and byterev.
128 * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
129 (HARD_REGNO_MODE_OK): Allow TImode in fp regs. Allow V2SFmode
131 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
132 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. Remove clause for
134 (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
136 (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
137 lowpart fp regs - only for big endian for now.
138 (LEGITIMATE_CONSTANT_P): Don't allow non-zero float vectors
140 (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
141 (LOAD_EXTEND_OP): NIL for SImode.
142 (REGISTER_MOVE_COST): Add DF_HI_REGS. Const for moves between
143 general and fp registers is 4.
144 PREDICATE_CODES: Amend binary_float_operator entry.
145 Remove zero_vec_operand. Add unary_float_operator.
146 * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
148 (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
149 (truncdiqi2): Do sign extension.
150 (movsi_media, movdi_media): Allow to use r63 to an fp register.
151 (movdf_media, movsf_media): Likewise.
152 (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
153 Collapse to one define_insn_and_split. Allow immediate sources.
154 (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
155 (movv4sf_i): Allow immediate sources. Use simplify_gen_subreg.
156 (movv4sf): Allow immediate sources.
157 (movsf_media_nofpu+1): Don't split moves to FP registers.
158 (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
159 (movv8qi_i+3): Check against CONST0_RTX.
160 (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
161 for input and output operands. Fix argument 3 to gen_mextr_rl.
162 (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
163 (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
164 (mshf0_w, fipr, ftrv): Likewise.
165 (mshfhi_l_di): Now insn_and_split. Can handle FP regs.
167 2002-07-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
169 * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
170 NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively. All uses changed.
173 2002-07-17 Richard Sandiford <rsandifo@redhat.com>
175 * config/mips/mips-protos.h (mips_sign_extend): Declare.
176 * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
177 (TARGET_SWITCHES): Remove debugh.
178 (ISA_HAS_TRUNC_W): New macro.
179 (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
180 (PREDICATE_CODES): Remove se_nonimmediate_operand.
181 * config/mips/mips.c (movdi_operand): Allow sign-extensions of
182 any SImode move_operand.
183 (se_nonimmediate_operand): Remove.
184 (mips_sign_extend): New.
185 (mips_move_2words): Use it for sign-extended source operands.
186 (override_options): Allow integers to be put into single FPRs.
187 (mips_secondary_reload_class): Handle integers in float registers.
188 * config/mips/mips.md (extendsidi2): Turn into a define_expand.
189 (fix_truncsfsi2, fix_truncdfsi2): Likewise.
190 (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
191 (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
192 (fix_truncdfdi2): Provide only a single alternative, in which the
193 integer is in a float register. Depend on TARGET_FLOAT64 rather
195 (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
196 (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
197 (movdi_internal2): Don't allow the source operand to be sign-extended.
198 Add alternatives for float registers.
199 (*movdi_internal2_extend): New. Version of movdi_internal2 that
200 allows sign-extension.
201 (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
202 (movsi_internal2): Rename to movsi_internal. Add alternatives for
203 float registers. Remove TARGET_DEBUG_H_MODE test.
204 (movhi_internal1): Rename to movhi_internal. Don't check
205 TARGET_DEBUG_H_MODE. Fix transposed *d and *f source constraints.
206 (movqi_internal1): Rename to movqi_internal and remove
207 TARGET_DEBUG_H_MODE dependency.
208 (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
210 2002-07-16 Jim Wilson <wilson@redhat.com>
212 * toplev.c (lang_dependent_init): Create function context for
215 2002-07-16 Hans-Peter Nilsson <hp@axis.com>
217 * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
219 * config/cris/cris.h: Ditto.
221 2002-07-16 Rodney Brown <rbrown64@csc.com.au>
223 * config/i386/i386.c (ix86_expand_int_movcc): In the case where
224 the comparison directly gives a mask suppress addition when cf is
225 zero by complementing the mask.
227 2002-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
229 * Makefile.in: Delete references to enquire.
230 * enquire.c: Move to contrib.
232 2002-07-16 Stan Shebs <shebs@apple.com>
234 * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
235 config/rs6000/darwin.h.
236 (ASM_OUTPUT_SKIP): Ditto.
237 (TEXT_SECTION_ASM_OP): Ditto.
238 (DATA_SECTION_ASM_OP): Ditto.
239 (ASM_APP_ON): Define.
240 (ASM_APP_OFF): Define.
241 * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
242 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
244 * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
245 (machopic_function_base_name): Declare result to be const.
246 (machopic_non_lazy_ptr_name): Ditto.
247 (machopic_stub_name): Ditto.
248 * config/darwin-protos.h: Ditto for the prototypes.
250 Wed Jul 17 00:22:39 CEST 2002 Jan Hubicka <jh@suse.cz>
252 * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
254 Wed Jul 17 00:20:48 CEST 2002 Jan Hubicka <jh@suse.cz>
256 * i386.md (prefetch): Fix for 64bit mode.
257 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
259 Wed Jul 17 00:19:20 CEST 2002 Jan Hubicka <jh@suse.cz>
261 * i386.h (MACHINE_DEPENDENT_REORG): New macro.
262 * i386.c (x86_machine_dependent_reorg): New function.
263 * i386-protos.h (x86_machine_dependent_reorg): Declare.
265 2002-07-16 Zack Weinberg <zack@codesourcery.com>
267 * builtins.c (std_expand_builtin_va_start): Remove unused
269 (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
270 std_expand_builtin_va_start with just two arguments.
271 * expr.h: Update prototypes.
273 * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
274 arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
275 i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
276 m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
277 mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
278 rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
279 s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
280 sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
281 xtensa-protos.h, xtensa.h, xtensa.c: Remove unused first
282 argument from all implementations of EXPAND_BUILTIN_VA_START
283 and all uses of std_expand_builtin_va_start.
285 Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
287 * regrename.c (copy_value): Don't record high part copies.
289 2002-07-16 Steve Ellcey <sje@cup.hp.com>
291 * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
292 (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
293 * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
295 2002-07-16 Ian Dall <ian@sibyl.beware.dropbear.id.au>
297 * doc/invoke.texi (NS32K Options): Document -mieee-compare option
299 * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
300 into addsi3 using register class "x" and "y".
302 * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
303 "earlyclobber" constraint modifier for some alternative.
305 * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
306 (*ble, *blt): Flag to indicate bCOND and sCOND should check for
308 config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
310 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
311 (TARGET_SWITCHES): Add -mieee-compare option.
312 (OVERRIDE_OPTIONS): 32332 is a subset of
313 32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
314 (TARGET_SWITCHES): Fix description of bitfield option.
315 * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
316 -mieee-compare option. Remove 32332 flag.
318 2002-07-16 Steve Ellcey <sje@cup.hp.com>
320 * explow.c (convert_memory_address): Remove special handling
321 when POINTERS_EXTEND_UNSIGNED < 0.
322 * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
323 (movedi_symbolic): Fix typo.
324 (load_fptr): Remove mode restriction so it works for SI and DI.
325 (load_fptr_internal1): Ditto.
327 (load_symptr_internal1): Ditto.
329 * config/ia64.c (call_operand): Modify mode check.
330 (ia64_expand_load_address): Handle DI and SI addresses and symbols.
331 (ia64_expand_move): Ditto.
332 (ia64_assemble_integer): Handle SImode function pointers.
333 (ia64_expand_fetch_and_op): Handle SImode mem addresses.
334 (ia64_expand_op_and_fetch): Ditto.
335 (ia64_expand_compare_and_swap): Ditto.
336 (ia64_expand_lock_test_and_set): Ditto.
337 (ia64_expand_lock_release): Ditto.
339 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
341 * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
343 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
344 Richard Earnshaw <rearnsha@arm.com>
346 * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
347 CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF. Simplify logic.
349 2002-07-16 Richard Earnshaw <rearnsha@arm.com>
351 * arm.md (stack_tie): New insn. Use an idiom that the alias code
352 understands to be a memory clobber.
353 * arm.c (arm_expand_prologue): Use it.
355 2002-07-16 Daniel Berlin <dberlin@dberlin.org>
357 * ra-rewrite.c: #include reload.h, insn-config.h
358 * ra-build.c: #include reload.h
359 * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
360 depend on reload.h, insn-config.h.
362 Tue Jul 16 11:57:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
364 * expr.c (emit_move_insn_1): Handle arbitrary moves that are
365 the same size as a word.
367 * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
368 BYTES_BIG_ENDIAN into account.
370 Tue Jul 16 12:22:44 CEST 2002 Jan Hubicka <jh@suse.cz>
372 * i386.md (prefetch): Fix for 64bit mode.
373 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
375 * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
377 2002-07-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
379 * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
381 2002-07-15 Zack Weinberg <zack@codesourcery.com>
383 * ginclude/varargs.h: Replace with stub which issues #error.
384 * ginclude/stdarg.h: __builtin_stdarg_start is renamed
387 * builtins.def (BUILT_IN_VARARGS_START): Delete.
388 (BUILT_IN_VA_START): New.
389 * builtins.c (expand_builtin_va_start): Eliminate first
390 argument and code to implement pre-ISO varargs.
391 (std_expand_builtin_va_start): Ignore first argument; it is
393 (expand_builtin): Handle BUILT_IN_VA_START and
394 BUILT_IN_STDARG_START identically. Delete
395 BUILT_IN_VARARGS_START case.
397 * function.c (assign_parms): Delete hide_last_arg and all
399 (mark_varargs): Delete function.
400 * function.h (struct function): Delete 'varargs' bit.
401 (current_function_varargs): Delete macro.
402 * tree.h: Don't declare mark_varargs.
404 * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
405 (c_expand_body): Don't call mark_varargs.
406 * c-objc-common.c: Handle BUILT_IN_VA_START and
407 BUILT_IN_STDARG_START identically. Delete
408 BUILT_IN_VARARGS_START case.
409 * c-tree.h: Don't declare c_mark_varargs.
410 * c-parse.in: Remove grammar rules for '&...' (which has been
411 commented out since before 2.7.2) and for '...' in K+R
412 argument declarations.
414 * builtins.c, function.c, integrate.c, sibcall.c,
415 config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
416 config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
417 config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
418 config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
419 config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
420 config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
421 config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
422 config/stormy16/stormy16.c: Delete all references to
423 current_function_varargs, and code predicated on that flag.
425 * config/alpha/alpha.c (alpha_va_start),
426 config/arc/arc.c (arc_va_start),
427 config/i386/i386.c (ix86_va_start),
428 config/mips/mips.c (mips_va_start),
429 config/mn10300/mn10300.c (mn10300_va_start),
430 config/rs6000/rs6000.c (rs6000_va_start),
431 config/s390/s390.c (s390_va_start),
432 config/sh/sh.c (sh_va_start),
433 Ignore first argument; it is always 1.
435 * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
436 * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
437 * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
438 Delete m68hc11_va_start.
439 * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
440 No need to define EXPAND_BUILTIN_VA_START.
442 * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
443 doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
445 2002-07-15 Eric Botcazou <ebotcazou@multimania.com>
448 * regmove.c (optimize_reg_copy_3): Don't optimize if the register
449 dies in more than one insn.
451 2002-07-15 Jason Thorpe <thorpej@wasabisystems.com>
453 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
455 2002-07-15 Michael Matz <matz@suse.de>,
456 Daniel Berlin <dberlin@dberlin.org>,
457 Denis Chertykov <denisc@overta.ru>
459 Add a new register allocator.
463 * ra-build.c: New file.
464 * ra-colorize.c: New file.
465 * ra-debug.c: New file.
466 * ra-rewrite.c: New file.
468 * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
469 (ra-rewrite.o): New .o files for libbackend.a.
470 (GTFILES): Add basic-block.h.
472 * toplev.c (flag_new_regalloc): New.
473 (f_options): New option "new-ra".
474 (rest_of_compilation): Call initialize_uninitialized_subregs()
475 only for the old allocator. If flag_new_regalloc is set, call
476 new allocator, instead of local_alloc(), global_alloc() and
479 * doc/invoke.texi: Document -fnew-ra.
480 * basic-block.h (FOR_ALL_BB): New.
481 * config/rs6000/rs6000.c (print_operand): Write small constants
484 * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
485 (df_reg_table_realloc): Make size at least as large as max_reg_num().
486 (df_insn_table_realloc): Size argument now is absolute, not relative.
489 * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
490 * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
492 2002-06-20 Michael Matz <matz@suse.de>
494 * df.h (struct ref.id): Make unsigned.
495 * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
497 2002-06-13 Michael Matz <matz@suse.de>
499 * df.h (DF_REF_MODE_CHANGE): New flag.
500 * df.c (df_def_record_1, df_uses_record): Set this flag for refs
501 involving subregs with invalid mode changes, when
502 CLASS_CANNOT_CHANGE_MODE is defined.
504 2002-05-07 Michael Matz <matz@suse.de>
506 * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
508 2002-05-03 Michael Matz <matz@suse.de>
510 * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
512 Sat Feb 2 18:58:07 2002 Denis Chertykov <denisc@overta.ru>
514 * regclass.c (regclass): Work with all regs which have sets or
516 (reg_scan_mark_refs): Count regs inside (clobber ...).
518 2002-01-04 Michael Matz <matzmich@cs.tu-berlin.de>
520 * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
521 (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
523 (df_bb_refs_update): Don't clear insns_modified here, ...
524 (df_analyse): ... but here.
526 * sbitmap.c (dump_sbitmap_file): New.
527 (debug_sbitmap): Use it.
529 * sbitmap.h (dump_sbitmap_file): Add prototype.
531 2001-08-07 Daniel Berlin <dan@cgsoftware.com>
533 * df.c (df_insn_modify): Grow the UID table if necessary, rather
534 than assume all emits go through df_insns_modify.
536 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
538 * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
539 increase REG_N_REFS (like flow does), so that regclass doesn't
540 think a reg is useless, and thus, not calculate a class, when it
543 2001-01-28 Daniel Berlin <dberlin@redhat.com>
545 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
548 2002-07-15 Jakub Jelinek <jakub@redhat.com>
551 * config/i386/i386.c (const_int_1_31_operand): New.
552 * config/i386/i386.h (PREDICATE_CODES): Add it.
553 * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
554 ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
555 lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
557 2002-07-14 Alan Modra <amodra@bigpond.net.au>
560 * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
561 (floatunssidf2): Likewise.
562 (floatsidf_ppc64): New insn_and_split.
563 (floatunssidf_ppc64): Likewise.
565 2002-07-14 Andreas Jaeger <aj@suse.de>
567 * config.gcc (sh64): Remove unused
568 target_requires_64bit_host_wide_int.
570 2002-07-12 Roger Sayle <roger@eyesopen.com>
572 * expr.c [CLEAR_RATIO]: New macro defining the maximum number
573 of move instructions to use when clearing memory, c.f. MOVE_RATIO.
574 [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
575 whether clear_by_pieces should be used to clear storage.
576 (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
578 * doc/tm.texi: Document these two new target macros.
580 2002-07-12 Stephane Carrez <stcarrez@nerim.fr>
582 * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
583 the scratch register.
584 ("*movhi2_push"): Accept Z_REG because a split pattern can make use
585 of it, forbid reload to use it.
587 2002-07-12 Marek Michalkiewicz <marekm@amelek.gda.pl>
589 * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
590 usage on 64-bit hosts, return value was truncated to 32 bits.
592 Fri Jul 12 00:49:36 2002 J"orn Rennecke <joern.rennecke@superh.com>
594 * simplify-rtx.c (simplify_subreg): Handle floating point
595 CONST_DOUBLEs. When an integer subreg of a smaller mode than
596 the element mode is requested, compute a subreg with an
597 integer mode of the same size as the element mode first.
599 Thu Jul 11 22:02:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
601 * combine.c (try_combine): When converting a paradoxical subreg
602 to an extension, take LOAD_EXTEND_OP into account.
604 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
606 * config.gcc (mips-sgi-irix6*o32): New configuration.
608 * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
610 * configure: Regenerate.
612 * config/mips/iris6-o32-as.h: New file.
613 * config/mips/iris6-o32.h: New file.
615 * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
617 (HAVE_AS_SHF_MERGE): Undefine.
619 * config/mips/t-iris5-as: New file.
620 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
622 * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
623 SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
624 SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
625 dp-bit.c, fp-bit.c): Move ...
626 * config/mips/t-iris5-6: ... here.
627 New file, shared by IRIX 5 and IRIX 6.
628 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
629 mips-sgi-irix5*): Use it.
631 * config/mips/iris6.h: Remove duplicate comment.
633 * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
634 !TARGET_IRIX6]: Define.
635 (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
637 * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
639 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
641 * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
642 and delete code to force constant to register.
643 * pa-protos.h (adddi3_operand): Add prototype.
644 * pa.c (adddi3_operand): New function.
646 2002-07-11 Roger Sayle <roger@eyesopen.com>
648 * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
649 non-ANSI builtin functions.
651 Thu Jul 11 11:31:12 2002 J"orn Rennecke <joern.rennecke@superh.com>
653 * rtl.h (gen_rtx_CONST_VECTOR): Declare.
654 * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
655 * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
656 (gen_const_vector_0): Use it.
658 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
660 * pa.md (adddi3): For 32-bit targets, force constants to a register
661 if they don't fit in an 11-bit immediate. Change insn predicate to
662 arith11_operand. Remove comment.
663 * pa.c (cint_ok_for_move): Fix comment.
664 (emit_move_sequence): Don't directly split DImode constants on 32-bit
667 2002-07-11 Tim Josling <tej@melbpc.org.au>
669 Remove front end hard coding from gengtype.c.
672 (STAGESTUFF): add gtyp-gen.h
673 (GTFILES): Remove front end specific files.
674 (GTFILES_FILES_LANGS): New, from configure..
675 (GTFILES_FILES_FILES): Likewise.
676 (GTFILES_LANG_DIR_NAMES): Likewise.
677 (GTFILES_SRCDIR): Likewise.
678 (gtyp-gen.h): Build from configure information.
679 (s-gtype): Remove command line parameters from gengtype.
680 (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
681 (mostlyclean): Delete files generated by and for gengtype.
683 * c-config-lang.in: New file.
685 * configure.in (all_gtfiles_files_langs): New. Accumulate files
687 (all_gtfiles_files_files): New. Accumulate language for each file
689 (gtfiles): Pick up value for C.
690 (srcdir): AC-SUBST this variable.
691 (all_gtfiles_files_langs): AC-SUBST this variable.
692 (all_gtfiles_files_files): AC-SUBST this variable.
694 * configure: Regenerate.
696 * gengtype-lex.l (parse_file): Make parameter const.
698 * gengtype.c (toplevel): include gtyp-gen.h.
699 (BASE_FILE_<language> unnamed enum): Delete.
700 (lang_names): Delete (replaced by gtyp-gen.h)
701 (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
704 (NUM_LANG_FILES): New.
706 (NUM_BASE_FILES): Change calculation.
707 (open_base_files): Change prototype to avoid warning.
708 (startswith): Delete.
709 (get_file_basename): Iterate through generated language list not
711 (get_base_file_bitmap): Use generated list of files and languages.
712 (close_output_files): Add prototype to rmove warning.
713 (main): Iterate through list of generated files from gtyp-gen.h
714 rather than command line paramaters. Ignore duplicated file
717 * gengtype.h (parse_file): Amend prototype for const parameter.
719 * doc/sourcebuild.texi: Document gtfiles variable.
721 * doc/gty.texi: Document changes to gtfiles variable for front
724 * objc/config-lang.in (gtfiles): Add files needed for objc front
727 2002-07-10 Roger Sayle <roger@eyesopen.com>
730 * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
731 to SUBREGs of MEMs. (num_sign_bit_copies): Likewise.
733 2002-07-10 Roger Sayle <roger@eyesopen.com>
734 Zack Weinberg <zack@codesourcery.com>
736 * builtins.def: Make the argument types of abort and exit
737 independent of the front-end.
739 2002-07-11 Alan Modra <amodra@bigpond.net.au>
741 * config/rs6000/linux64.h (ASM_SPEC): Define.
743 2002-07-10 Aldy Hernandez <aldyh@redhat.com>
745 * config/rs6000/rs6000.c (emit_frame_save): New.
746 (rs6000_frame_related): Replace reg2 before reg.
747 (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
748 and eh_return registers.
750 2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
752 Revert all patches for optimization of Complex .op. Real.
753 * complex_part_zero_p: Remove
754 * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
756 * expand_cmplxdiv_wide: Ditto.
757 * expand_binop: Ditto.
759 2002-07-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
761 * config/avr/avr.md: Fix two 0x80000000 constants to make them
762 negative also on 64-bit hosts.
764 Default to -fno-reorder-blocks when optimizing for size.
765 * config/avr/avr-protos.h (avr_optimization_options): Declare.
766 * config/avr/avr.c (avr_optimization_options): New function.
767 * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
769 Optimize returning from simple functions.
770 * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
771 * config/avr/avr.c (avr_simple_epilogue): New function.
772 * config/avr/avr.md (return): New insn.
774 2002-07-10 Douglas B Rupp <rupp@gnat.com>
776 * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
777 HAS_INIT_SECTION to protection.
779 2002-07-10 Mark Mitchell <mark@codesourcery.com>
781 * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
784 Wed Jul 10 19:50:03 2002 J"orn Rennecke <joern.rennecke@superh.com>
786 * combine.c (gen_lowpart_for_combine): Handle vector modes.
787 Supply non-VOID mode to simplify_gen_subreg.
789 Wed Jul 10 18:48:55 CEST 2002 Jan Hubicka <jh@suse.cz>
791 * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
793 2002-07-10 Jeffrey A Law <law@redhat.com>
795 * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
798 * mn10200.c (expand_epilogue): Fix test to determine which scratch
801 Wed Jul 10 16:06:00 2002 J"orn Rennecke <joern.rennecke@superh.com>
803 * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
805 If simplify_gen_subreg fails, try next equivalent.
807 2002-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
809 * diagnostic.h: #include location.h
810 (location_t): Move definition to..
811 * location.h: ... here. New file.
812 * tree.h: #include location.h
813 (DECL_SOURCE_LOCATION): New macro.
814 (DECL_SOURCE_FILE): Use.
815 (DECL_SOURCE_LINE): Likewise.
816 (struct tree_decl): REplace filename and linenum with locus.
817 * Makefile.in (TREE_H): add location.h
818 (diagnostic.o): Depends on gt-location.h
819 (gt-location.h): Depends on s-gtype
821 2002-07-09 Matt Kraai <kraai@alumni.cmu.edu>
823 * config/rs6000/aix.h: Convert CPP_PREDEFINES to
824 TARGET_OS_CPP_BUILTINS.
825 * config/rs6000/aix31.h: Likewise.
826 * config/rs6000/aix41.h: Likewise.
827 * config/rs6000/aix43.h: Likewise.
828 * config/rs6000/aix51.h: Likewise.
829 * config/rs6000/beos.h: Likewise.
830 * config/rs6000/darwin.h: Likewise.
831 * config/rs6000/eabi.h: Likewise.
832 * config/rs6000/eabisim.h: Likewise.
833 * config/rs6000/linux.h: Likewise.
834 * config/rs6000/linux64.h: Likewise.
835 * config/rs6000/lynx.h: Likewise.
836 * config/rs6000/mach.h: Likewise.
837 * config/rs6000/rtems.h: Likewise.
838 * config/rs6000/sysv4.h: Likewise.
839 * config/rs6000/vxppc.h: Likewise.
841 2002-07-09 Devang Patel <dpatel@apple.com>
842 * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
843 Do not allow ObjC objects as a parameter type for Objective-C methods.
844 My previous patch restricted 'struct' also.
846 2002-07-09 Neil Booth <neil@daikokuya.co.uk>
848 * cpperror.c (cpp_error): Default to directive_line within
850 * cppexp.c (cpp_interpret_integer): Only use traditional
851 number semantics in directives.
852 * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
853 (do_include_common): Similarly.
854 * cpptrad.c (scan_out_logical_line): Implement accurate
855 quoting of <> in #include.
856 * doc/cpp.texi: Update.
858 Tue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com>
859 J"orn Rennecke <joern.rennecke@superh.com>
861 * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
862 * sh.md (attribute issues): Replace with:
863 (attribute pipe_model). All users changed.
864 (attribute type): Change pt / ptabs to pt_media / ptabs_media.
866 (function units sh5issue, sh5fds): New.
867 (attribute is_mac_media): New.
868 (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
869 (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
870 (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
871 (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
872 (call_media, call_value_media, sibcall_media): Likewise.
873 (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
874 (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
875 (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
876 (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
877 (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
878 (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
879 (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
880 (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
881 (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
882 (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
883 (truncdfsf2_media): Likewise.
884 (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
885 (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
887 Tue Jul 9 21:39:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
889 * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
890 * sh.c (general_extend_operand, inqhi_operand): New functions.
891 * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
892 alternatives using 'N' modifier. Add type.
893 (adddi3z_media): Likewise. Enable generator function generation.
894 (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
895 exact predicates / constraints. Add type.
896 (subsi3): Allow 0 for SHMEDIA.
897 (udivsi3_i4_media): Use match_operand for input values
898 rather than hard registers.
899 (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
900 unnecessarily through hard registers. Keep copies of pseudo
901 registers outside of the libcall sequence.
902 (mulsidi3_media, umulsidi3_media): Use more exact predicates. Add type.
903 (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
904 (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
905 (extendhidi2, extendqidi2): Likewise.
906 (andsi3_compact): Name.
907 (andcdi3): Enable generator function generation.
908 (zero_extendhisi2, zero_extendqisi2): Rename to
909 (zero_extendhisi2_compact, zero_extendqisi2_compact).
910 (extendhisi2, extendqisi2): Rename to
911 (extendhisi2_compact, extendqisi2_compact).
912 (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
913 (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
914 (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
915 (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
916 (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
917 (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
918 (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
919 (shmedia32_initialize_trampoline_big): Likewise.
920 (shmedia32_initialize_trampoline_little): Likewise.
921 (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
922 (negdi2): Remove spurious T clobber.
923 (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
924 (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
925 (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
926 (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
927 (ic_invalidate_line_media): Write back data cache before invalidating
928 instruction cache. Add type.
929 (movsf_media): Sign-extend when the destination is a general
930 purpose register. Add type.
931 (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
932 (casesi_worker_0+1): Only increment ref count for proper label.
933 (casesi_worker_0+2): Likewise.
935 2002-07-09 Mark Mitchell <mark@codesourcery.com>
937 * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
939 2002-07-09 Steve Ellcey <sje@cup.hp.com>
941 * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
942 from Pmode to ptr_mode.
943 (get_exception_pointer): Ditto.
944 (connect_post_landing_pads): Ditto.
945 (dw2_build_landing_pads): Ditto.
947 2002-07-08 Steve Ellcey <sje@cup.hp.com>
948 * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
949 * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
950 (handle_pragma_redefine_extname): Change to use new function.
952 2002-07-08 Roger Sayle <roger@eyesopen.com>
954 * combine.c (combine_simplify_rtx): Add an explicit cast
955 to avoid signed/unsigned comparison warning.
956 (simplify_if_then_else): Likewise.
957 (extended_count): Likewise.
958 (simplify_shift_const): Likewise.
959 (simplify_comparison): Likewise.
961 2002-07-08 Richard Sandiford <rsandifo@redhat.com>
963 * config/mips/mips.md: Add imadd type. Update scheduler description
964 to use imadd as well as imul.
965 (*mul_acc_si, *madsi): Change imul alternatives to imadd.
966 (*mul_acc_di, *mul_acc_64bit_di): Likewise.
967 (*mul_sub_si): Likewise for first alternative. Change second
968 alternative from imul to multi.
970 2002-07-07 Neil Booth <neil@daikokuya.co.uk>
972 * c-common.c (c_common_post_options): Update prototype;
973 don't init backends if preprocessing only.
974 * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
975 * langhooks.h (struct lang_hooks): Update post_options to
977 * toplev.c (parse_options_and_default_flags, do_compile,
978 lang_independent_init): Update prototypes. Allow the
979 front end to specify that there is no need to initialize
981 (general_init): Move call to hex_init here...
982 (toplev_main): ...from here. Pass flag for back end init
985 Sun Jul 7 20:38:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
987 * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
988 (PREDICATE_CODES): Add entries for equality_comparison_operator,
989 greater_comparison_operator and less_comparison_operator.
990 * sh.c (print_operand): Add '\'' code. Make 'o' handle
992 (equality_comparison_operator): New function.
993 (greater_comparison_operator, less_comparison_operator): Likewise.
994 * sh.md (beq_media_i): Disable generator function generation.
995 Use match_operator to handle a whole class of comparisons. Add
996 modifier in output template to provide branch prediction. Add type.
997 (bgt_media_i, ble_media_i): Likewise. Allow zero operands.
998 (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
999 (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
1000 (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
1002 2002-07-07 Hans-Peter Nilsson <hp@bitrange.com>
1004 Emit MMIX function prologue and epilogue as rtl.
1005 * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
1006 not unprototyped get_hard_reg_initial_val.
1007 ("call_value", "nonlocal_goto_receiver"): Ditto.
1008 ("return"): Make define_expand. Move real insn to...
1009 ("*expanded_return"): New pattern.
1010 ("prologue", "epilogue"): New define_expands.
1011 * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
1012 (struct machine_function): New member in_prologue.
1013 (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
1014 (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
1015 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
1016 (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
1017 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
1018 (LOCAL_REGNO): Define. Adjust comment.
1019 * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
1020 Consider regs_ever_live[MMIX_rJ_REGNUM], not just
1022 (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
1024 (mmix_target_asm_function_prologue): Make static. Just mark that
1025 the prologue is being emitted. Move guts to...
1026 (mmix_expand_prologue): New function. Adjust for emitting
1027 prologue as rtl. For sizes, use HOST_WIDE_INT only.
1028 (mmix_target_asm_function_epilogue): Make static. Simply emit a
1030 (mmix_expand_epilogue): New function. Adjust for emitting
1031 epilogue as rtl. For sizes, use HOST_WIDE_INT only.
1032 (mmix_target_asm_function_end_prologue): Mark that the prologue
1034 (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
1035 (mmix_conditional_register_usage): Improve comments.
1036 (mmix_local_regno): New function.
1037 (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
1038 * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
1039 (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
1040 (mmix_get_hard_reg_initial_val): Ditto.
1042 2002-07-06 Andreas Jaeger <aj@suse.de>
1044 * toplev.c (set_fast_math_flags): Don't use ISO C style function
1046 * gengtype.c (open_base_files): Likewise.
1047 (close_output_files): Likewise.
1048 * tracer.c (find_best_predecessor): Likewise.
1049 (find_best_successor): Likewise.
1050 (ignore_bb_p): Likewise.
1052 2002-07-05 Roger Sayle <roger@eyesopen.com>
1055 * builtin-attrs.def: Define new attribute lists for use in
1057 * builtins.def [DEF_BUILTIN]: Modify to take an additional
1058 ATTRS argument, an enumerated value defined in builtin-attrs.def
1059 that represents the attribute list for the builtins. Modify
1060 all builtin functions to pass an appropriate attribute list.
1061 Specify "abort", "exit", "_exit" and "_Exit" builtins here with
1062 their required noreturn attributes.
1063 * tree.h (enum_builtin_function): Ignore the additional parameter
1065 * builtins.c (built_in_names): Likewise.
1066 * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
1067 argument with a tree representing the functions attribute list.
1068 Pass this "attrs" argument to builtin_function. No longer handle
1069 the noreturn_p processing manually.
1070 (built_in_attributes): Move the definitions from builtin-attrs.def
1071 before c_common_nodes_and_builtins.
1072 (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
1073 DEF_BUILTIN, passing it to both builtin_function and the changed
1076 * doc/extend.texi: Document __builtin_abort, __builtin_exit,
1077 __builtin__exit and __builtin__Exit.
1079 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
1081 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
1082 QI mode registers in soft registers.
1083 ("zero_extendqihi2"): Do not take into account soft registers
1084 for register allocation (use '*' constraint).
1086 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
1088 * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
1090 ("*ashrsi3"): Likewise.
1091 ("*lshrsi3"): Likewise.
1093 2002-07-05 Vladimir Makarov <vmakarov@redhat.com>
1095 * genautomata.c (output_max_insn_queue_index_def): Take latencies
1098 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
1100 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
1101 address computation and memory moves.
1103 2002-07-03 Mark Mitchell <mark@codesourcery.com>
1106 * dwarfout.c (output_reg_number): Fix warning message.
1107 (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
1110 2002-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1112 * gcc/gcc.c (asm_debug): Move initialization ...
1113 (init_spec): ... here.
1115 2002-07-05 Nathan Sidwell <nathan@codesourcery.com>
1117 * c-parse.in (extdef): Append ';'.
1118 (old_style_parm_decls): Append ';'.
1120 2002-07-04 Daniel Jacobowitz <drow@mvista.com>
1122 * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
1123 gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
1124 to gcc_cv_as_gstabs_flag.
1125 * configure: Rebuilt.
1127 2002-07-04 Geoffrey Keating <geoffk@redhat.com>
1129 * ggc.h (ggc_add_root): Document as obsolete.
1131 Thu Jul 4 07:58:01 2002 J"orn Rennecke <joern.rennecke@superh.com>
1133 * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
1134 (mshflo_w): Likewise.
1136 Thu Jul 4 07:36:29 2002 J"orn Rennecke <joern.rennecke@superh.com>
1138 * simplify-rtx.c (simplify_subreg): Reduce problem of finding
1139 vector mode subregs of constants to finding integer mode
1140 subregs of constants.
1141 * cse.c (cse_insn): Use simplify_gen_subreg.
1142 * convert.c (convert_to_integer): Don't strip a NOP_EXPR
1143 From a vector mode expression of different size than the
1146 2002-07-03 Eric Christopher <echristo@redhat.com>
1148 * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
1149 * config/mips/mips.h: Remove deprecated -m<processor> options
1150 and cc1_cpu_spec associated.
1151 (CONSTANT_ADDRESS_P): Fix last patch.
1152 (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
1153 * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
1156 2002-07-03 Stan Shebs <shebs@apple.com>
1158 * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
1159 (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
1160 (CPP_SPEC): Remove insertion of APPLE_CC definition.
1162 2002-07-03 Roger Sayle <roger@eyesopen.com>
1164 * combine.c (struct_undo): Change types of recorded substitutions
1165 to be either "int" or "rtx", instead of "unsigned int" and "rtx".
1166 (do_SUBST_INT): Change types of the substitution from unsigned int
1167 to int, to avoid compilation warning from SUBST_INT's only caller.
1169 (make_extraction): Add cast to avoid compilation warning.
1170 (force_to_mode): Remove cast to avoid compilation warning.
1172 2002-07-03 Eric Botcazou <ebotcazou@multimania.com>
1173 Jeff Law <law@redhat.com>
1175 * i386.md (length_immediate attribute): Fix typo.
1176 (length_address attribute): Likewise.
1177 (modrm attribute): Set it to 0 for immediate call instructions.
1178 (jcc_1 pattern): Set modrm attribute to 0.
1179 (jcc_2 pattern ): Likewise.
1180 (jump pattern): Likewise.
1181 (doloop_end_internal pattern): Explicitly set length.
1182 (leave pattern): Fix typo.
1183 (leave_rex64 pattern): Likewise.
1185 2002-07-03 David Edelsohn <edelsohn@gnu.org>
1187 * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
1188 in FPR as preference.
1190 (floatdidf2, fix_truncdfdi2): Same.
1191 (floatdisf2, floatditf2, fix_trunctfdi2): Same.
1193 (floatsitf2, fix_trunctfsi2): SImode in GPR.
1194 (ctrdi): Remove FPR alternative and splitter.
1196 2002-07-03 Will Cohen <wcohen@redhat.com>
1198 * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
1200 Wed Jul 3 10:24:16 2002 J"orn Rennecke <joern.rennecke@superh.com>
1202 * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
1203 than UNITS_PER_WORD, unless this is little endian and the first unit
1204 in this word. Let extract_bit_field decide how to load an element.
1205 Force arguments to matching mode.
1206 (expand_vector_unop): Likewise.
1208 * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
1209 consist of word_mode elements.
1210 * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
1211 BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
1212 (build_unary_op): Allow vector types for BIT_NOT_EPR.
1213 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
1215 * optabs.c (expand_vector_binop): Try to perform operation in
1216 smaller vector modes with same inner size. Add handling of AND, IOR
1217 and XOR. Reject expansion to inner-mode sized scalars when using
1218 OPTAB_DIRECT. Use simplify_gen_subreg on constants.
1219 (expand_vector_unop): Try to perform operation in smaller vector
1220 modes with same inner size. Add handling of one's complement.
1221 When there is no vector negate operation, try a vector subtract
1222 operation. Use simplify_gen_subreg on constants.
1223 * simplify-rtx.c (simplify_subreg): Add capability to convert vector
1224 constants into smaller vectors with same inner mode, and to
1225 integer CONST_DOUBLEs.
1227 2002-07-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1229 * c-parse.in (parsing_iso_function_signature): New variable.
1230 (extdef_1): New, copied from...
1231 (extdef): ... here. Reset parsing_iso_function_signature.
1232 (old_style_parm_decls): Reset parsing_iso_function_signature.
1233 (old_style_parm_decls_1): New, copied from old_style_parm_decls.
1234 Warn about ISO C style function definitions.
1235 (nested_function, notype_nested_function): Reset
1236 parsing_iso_function_signature.
1237 (parmlist_2): Set parsing_iso_function_signature.
1239 * doc/invoke.texi (-Wtraditional): Document new behavior.
1241 2002-07-02 Chris Demetriou <cgd@broadcom.com>
1243 * config.gcc (mips*el-*-*): Use tm_defines to set
1244 TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
1245 * config/mips/little.h: Remove.
1247 2002-07-02 Devang Patel <dpatel@apple.com>
1249 * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
1250 object as parameter. Prevent something like 'NSObject' to be
1251 used as the type for a method argument.
1253 2002-07-03 Neil Booth <neil@daikokuya.co.uk>
1255 * cpptrad.c: Update comment.
1257 2002-07-02 Neil Booth <neil@daikokuya.co.uk>
1259 * doc/cpp.texi: Update for traditional preprocessing changes.
1260 * goc/cppopts.texi: Similarly.
1262 2002-07-02 Ziemowit Laski <zlaski@apple.com>
1264 * c-parse.in (designator): Enable designated initializers if ObjC.
1265 (objcmessageexpr): Remove references to objc_receiver_context.
1266 * objc/objc-act.h (objc_receiver_context): Remove decl.
1267 * objc/objc-act.c (objc_receiver_context): Remove.
1268 (lookup_objc_ivar): Test objc_method_context instead of
1269 objc_receiver_context.
1271 Tue Jul 2 18:45:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
1273 * sh.c (print_operand, case 'N'): Allow zero vector.
1274 (arith_reg_or_0_operand): Likewise.
1275 (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
1276 * sh.h (CONST_COSTS): 0 has 0 cost. Check OUTER_CODE for
1277 IOR, XOR, PLUS and SET and take their respective constant
1278 ranges into account.
1279 (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
1280 * sh.md (subdi3, subdi3_media): Allow zero operand.
1281 (movv8qi_i+3): Only vector that is not split is the zero vector.
1282 Fix operand 3 to simplify_subreg.
1283 (movv2si_i): Split alternative 1.
1284 (mshfhi_l_di_rev+1): New splitter.
1286 2002-07-02 Neil Booth <neil@daikokuya.co.uk>
1288 PR preprocessor/7029
1289 * cppinit.c (cpp_handle_option): Suppress warnings with an
1290 implicit "-w" for "-M" and "-MM".
1291 * doc/cppopts.texi: Update.
1293 2002-07-01 Roger Sayle <roger@eyesopen.com>
1295 * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
1296 identifier "bzero" to "memset". Pass extra NULL_TREE argument to
1299 2002-07-02 Alan Modra <amodra@bigpond.net.au>
1301 * README.Portability: Fix typos.
1303 2002-07-01 Hans-Peter Nilsson <hp@axis.com>
1306 * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
1307 of indirections for register inside sign-extended mem part.
1309 2002-07-01 Roger Sayle <roger@eyesopen.com>
1311 * tree.h: Modify builtin_function interface to take an extra
1312 argument ATTRS, which is a tree representing an attribute list.
1314 * c-decl.c (builtin_function): Accept additional parameter.
1315 * objc/objc-act.c (builtin_function): Likewise.
1316 * f/com.c (builtin_function): Likewise.
1317 * java/decl.c (builtin_function): Likewise.
1318 * ada/utils.c (builtin_function): Likewise.
1319 * cp/decl.c (builtin_function): Likewise.
1320 (builtin_function_1): Likewise.
1322 * c-common.c (c_common_nodes_and_builtins): Pass an additional
1323 NULL_TREE argument to builtin_function. (builtin_function_2):
1325 * cp/call.c (build_java_interface_fn_ref): Likewise.
1326 * objc/objc-act.c (synth_module_prologue): Likewise.
1327 * java/decl.c (java_init_decl_processing): Likewise.
1328 * f/com.c (ffe_com_init_0): Likewise.
1330 * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
1331 NULL_TREE argument to builtin_function.
1332 * config/arm/arm.c (def_builtin): Likewise.
1333 * config/c4x/c4x.c (c4x_init_builtins): Likewise.
1334 * config/i386/i386.c (def_builtin): Likewise.
1335 * config/ia64/ia64.c (def_builtin): Likewise.
1336 * config/rs6000/rs6000.c (def_builtin): Likewise.
1338 2002-07-01 Zack Weinberg <zack@codesourcery.com>
1340 * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
1341 * config/mips/t-isa3264: Likewise.
1342 * config/mmix/t-mmix: Likewise.
1344 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
1346 * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
1348 2002-07-01 Roger Sayle <roger@eyesopen.com>
1351 * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
1352 A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
1355 2002-07-01 Nathanael Nerode <neroden@gcc.gnu.org>
1357 * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
1359 2002-07-01 Matt Kraai <kraai@alumni.cmu.edu>
1361 * README.Portability (Function prototypes): Give an example of
1362 declaring and defining a function with no arguments.
1364 * README.Portability (Function prototypes): Document new
1365 variable-argument function macros.
1367 Mon Jul 1 19:55:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
1369 * sh.c (langhooks.h): Include.
1370 (sh_init_builtins, sh_media_init_builtins): New functions.
1371 (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
1372 (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
1373 (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
1374 (builtin_description): New struct tag.
1375 (signature_args, bdesc): New arrays.
1376 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
1377 (print_operand): Add 'N' modifier.
1378 * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
1379 (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
1380 (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
1381 (CONST_COSTS): Add special case for SHmedia AND.
1382 (PREDICATE_CODES): Add and_operand, arith_reg_dest,
1383 extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
1384 sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
1385 target_operand can also be const or unspec.
1386 * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
1387 (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
1388 (attribute type): Add new types.
1389 (anddi3): Add splitter.
1390 (movdi_const_16bit+1): Add code to handle vector constants and
1391 bitmasks efficiently.
1392 (shori_media): Have generator function made.
1393 (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
1394 (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
1395 (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
1396 (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
1397 (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
1398 (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
1399 (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
1400 (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
1401 (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
1402 (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
1403 (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
1404 (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
1405 (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
1406 (mshflo_b, mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
1407 (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
1408 (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
1409 (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
1410 (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
1411 (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
1414 (fpu_switch+1, fpu_switch+2): Remove constraint.
1416 2002-07-01 Aldy Hernandez <aldyh@redhat.com>
1418 * tree.c (build_function_type_list): Update function comment.
1419 Rename first argument to return_type.
1421 2002-07-01 Neil Booth <neil@daikokuya.co.uk>
1423 * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
1424 tradcif.y and related files.
1426 2002-07-01 Neil Booth <neil@daikokuya.co.uk>
1428 * cpptrad.c (skip_whitespace): Pass pointer to prior char.
1430 2002-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1432 * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
1434 2002-06-30 Devang Patel <dpatel@apple.com>
1436 * objc/objc-act.c (finish_file): Avoid finish_objc() if
1439 Fri Jun 28 17:22:37 2002 Denis Chertykov <denisc@overta.ru>
1440 Frank Ch. Eigler <fche@redhat.com>
1441 Matthew Green <mrg@redhat.com>
1442 Richard Henderson <rtl@redhat.com>
1443 Dave Hudson <dave.hudson@ubicom.com>
1444 Jeff Johnston <jjohnstn@redhat.com>
1445 Alan Lehotsky <apl@alum.mit.edu>
1446 Bernd Schmidt <bernds@redhat.com>
1447 Graham Stott <grahams@redhat.com>
1449 * doc/extend.texi: Add ip2k port to description of attribute
1451 * doc/install.texi (Specific): Add ip2k description.
1452 * doc/install-old.texi (Configurations): Add ip2k to possible
1454 * doc/md.texi: Document ip2k constraints.
1455 * config/ip2k/crt0.S: New file.
1456 * config/ip2k/ip2k-protos.h: New file.
1457 * config/ip2k/ip2k.c: New file.
1458 * config/ip2k/ip2k.h: New file.
1459 * config/ip2k/ip2k.md: New file.
1460 * config/ip2k/libgcc.S: New file.
1461 * config/ip2k/t-ip2k: New file.
1463 2002-06-30 Hans-Peter Nilsson <hp@bitrange.com>
1465 * config/mmix/mmix.md ("return"): New pattern.
1466 * config/mmix/mmix.h (TARGET_MASK_USE_RETURN_INSN)
1467 (TARGET_USE_RETURN_INSN): New macros.
1468 (TARGET_DEFAULT): Include TARGET_MASK_USE_RETURN_INSN.
1469 (TARGET_SWITCHES): Add -msingle-exit and -mno-single-exit.
1470 * config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Fix spacing.
1471 (MMIX_POP_ARGUMENT): New macro.
1472 (mmix_target_asm_function_prologue): When no epilogue is executed,
1473 just emit a blank line. Use MMIX_POP_ARGUMENT with final POP insn.
1474 (mmix_print_operand) <case '.'>: New case.
1475 (mmix_print_operand_punct_valid_p): Match '.'.
1476 (mmix_use_simple_return): New function.
1477 * config/mmix/mmix-protos.h (mmix_use_simple_return): Prototype.
1478 * doc/invoke.texi (Option Summary) <MMIX Summary>: Add
1479 -msingle-exit, -mno-single-exit.
1480 (MMIX Options): Ditto.
1482 2002-06-30 Aldy Hernandez <aldyh@redhat.com>
1484 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Fix typos.
1486 2002-06-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1488 * gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses.
1490 2002-06-30 Alan Modra <amodra@bigpond.net.au>
1492 * unroll.c (loop_iterations): Handle EQ loops.
1494 2002-06-29 David Edelsohn <edelsohn@gnu.org>
1496 * config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR
1497 constraint in define_expand, not splitter.
1500 2002-06-29 Aldy Hernandez <aldyh@redhat.com>
1502 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use
1503 build_function_type_list instead of build_function_type.
1505 * config/ia64/ia64.c (ia64_init_builtins): Same.
1507 * config/alpha/alpha.c (alpha_init_builtins): Same.
1509 * config/rs6000/rs6000.c (altivec_init_builtins): Same.
1511 * config/arm/arm.c (arm_init_builtins): Same.
1513 * tree.h: Add build_function_type_list prototype.
1515 * tree.c (build_function_type_list): New.
1517 2002-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1519 * collect2.c (scan_prog_file): Fix typo in message.
1521 2002-06-28 Aaron Lehmann <aaronl@vitelus.com>
1523 * fold-cont.c: Remove unused CHARMASK.
1525 2002-06-29 Neil Booth <neil@daikokuya.co.uk>
1527 PR preprocessor/7150
1528 * cppmain.c (scan_translation_unit_trad): Simplify.
1529 * cppmacro.c (cpp_scan_nooutput): Handle traditional case.
1531 2002-06-29 Neil Booth <neil@daikokuya.demon.co.uk>
1533 * config/i386/crtdll.h: Define EXTRA_OS_CPP_BUILTINS.
1534 Don't use CPP_PREDEFINES.
1535 * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): New.
1536 Used TARGET_OS_CPP_BUILTINS in preference to CPP_PREDEFINES.
1537 * config/i386/djgpp.h, config/i386/i386-coff.h,
1538 config/i386/i386-interix.h, config/i386/i386-interix3.h,
1539 config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h,
1540 config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/sysv3.h,
1541 config/i386/uwin.h: Similarly.
1543 2002-06-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1545 * c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and
1546 flag_inline_trees to enable inlining.
1548 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1550 * configure.in (gcc_gxx_include_dir): Change to match versioned
1551 C++ headers if --enable-version-specific-runtime-libs is used.
1552 * configure: Regenerate.
1554 2002-06-28 Jan Hubicka <jh@suse.cz>
1556 * gcse.c (gcse_emit_move_after): Use gen_move_insn to produce the move.
1558 2002-06-28 Stephen Clarke <stephen.clarke@superh.com>
1560 * combine.c (combine_simplify_rtx): Pass the mode of the
1561 shift count, not the shift operation when trying to simplify
1562 a shift on a SHIFT_COUNT_TRUNCATED target.
1564 2002-06-28 Stephane Carrez <stcarrez@nerim.fr>
1566 * config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to
1567 avoid the auto increment addressing modes.
1568 ("*subsi3"): Likewise.
1569 (split for add/sub on address): For 68HC12 push the value on
1570 the stack and do the operation with a pop.
1572 2002-06-28 Neil Booth <neil@daikokuya.co.uk>
1574 * cpplib.c (_cpp_handle_directive): Move #define-specific
1575 code to the #define handler...
1576 (do_define): ...here.
1577 (lex_macro_node): No longer a need to check for comments here.
1579 2002-06-28 Stephane Carrez <stcarrez@nerim.fr>
1581 * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define.
1582 * config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options):
1584 * config/m68hc11/m68hc11.c (m68hc11_optimization_options): New,
1585 do not reorder basic blocks at the end when optimizing for size.
1587 2002-06-28 Stephane Carrez <stcarrez@nerim.fr>
1589 * config/m68hc11/m68hc11.c (autoinc_mode): New function.
1590 (m68hc11_make_autoinc_notes): New function.
1591 (m68hc11_split_move): Be very cautious when spliting a move with
1592 auto increment/decrement modes because this may result in incompatible
1593 directions; add REG_INC notes to the resulting insn for CSE reg.
1595 2002-06-28 Stephane Carrez <Stephane.Carrez@nerim.fr>
1597 * config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant
1598 can be a valid address.
1600 2002-06-28 Aldy Hernandez <aldyh@redhat.com>
1602 * config/rs6000/rs6000.c: Remove unusued variables from last
1605 2002-06-27 Aldy Hernandez <aldyh@redhat.com>
1608 * config/rs6000/rs6000.c (rs6000_override_options): Move
1609 *SUBTARGET_OVERRIDE_OPTIONS before the -m options.
1611 2002-06-27 Aldy Hernandez <aldyh@redhat.com>
1613 * config/rs6000/rs6000.c (altivec_expand_builtin): Move
1614 lvx/stv/dst builtins...
1615 (altivec_expand_ld_builtin): ...to here.
1616 (altivec_expand_st_builtin): ...here.
1617 (altivec_expand_dst_builtin): ...and here (respectively).
1619 2002-06-28 Bob Wilson <bob.wilson@acm.org>
1621 * config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment.
1623 2001-06-08 Bernd Schmidt <bernds@redhat.com>
1625 * emit-rtl.c (gen_lowpart_common): Don't create paradoxical FLOAT_MODE
1627 * recog.c (general_operand, register_operand): Disallow them.
1629 2002-06-28 Neil Booth <neil@daikokuya.co.uk>
1631 PR preprocessor/7138
1632 * cpplib.c (_cpp_handle_directive): Do traditional
1633 preparation after setting state.angled_headers.
1634 * cpptrad.c (scan_out_logical_line): Fix potential
1637 2002-06-27 Aldy Hernandez <aldyh@redhat.com>
1639 * config/rs6000/rs6000.c (rs6000_override_options): Move
1640 *SUBTARGET_OVERRIDE_OPTIONS before the -m options.
1642 2002-06-27 Bob Wilson <bob.wilson@acm.org>
1644 * config/xtensa/xtensa.md: Give "*xxx" names to all unnamed insn's.
1645 (*lsiu, *ssiu, movstrsi_internal, zero_cost_loop_start,
1646 zero_cost_loop_end): Remove unnecessary "parallel" from insns.
1648 2002-06-27 Roger Sayle <roger@eyesopen.com>
1650 * config/d30v/d30v.h: Remove commented out STACK_REGS #defines.
1651 * config/stormy16/stormy16.h: Likewise.
1653 * config/stormy16/stormy16.h (CUMULATIVE_ARGS): Replace typedef
1656 2002-06-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1658 * doc/install.texi (Binaries): Add Sinix/Reliant Unix. Move
1659 Hitachi entry. Make punctuation more consistent.
1661 2002-06-27 Matt Kraai <kraai@alumni.cmu.edu>
1663 * doc/install.texi: Change ` bit' to `-bit'.
1664 * doc/md.texi: Change `-bits' to `-bit'.
1665 * doc/tm.texi: Change `-bits' to ` bits'.
1667 2002-06-27 Daniel Berlin <dberlin@dberlin.org>
1669 * gcse.c (hoist_code): Rewrite to only get list of dominated
1670 blocks once per BB. Also fix reversed test (by removing need for
1673 2002-06-27 Neil Booth <neil@daikokuya.co.uk>
1675 * cpphash.h (_cpp_set_trad_context): Remove.
1676 * cpplib.c (prepare_directive_trad): Do nothing for #define.
1677 (cpp_push_buffer, _cpp_pop_buffer): Don't call _cpp_set_trad_context.
1678 * cpptrad.c: Update comments.
1679 (_cpp_read_logical_line_trad): Let scan_logical_line handle
1680 updating the current context.
1681 (scan_logical_line): Update the current context.
1682 (_cpp_create_trad_definition): Similarly.
1683 (_cpp_set_trad_context): Remove.
1685 2002-06-27 Neil Booth <neil@daikokuya.co.uk>
1687 PR preprocessor/7070
1688 * c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF.
1690 2002-06-26 Bob Wilson <bob.wilson@acm.org>
1692 * config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare.
1693 config/xtensa/xtensa.c (xtensa_return_addr): New function.
1694 config/xtensa/xtensa.h (RETURN_ADDR_RTX): Use xtensa_return_addr.
1695 config/xtensa/xtensa.md (fix_return_addr): New pattern.
1697 2002-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1699 * mips.c (coprocessor_operand, coprocessor2_operand,
1700 symbolic_operand): Move prototypes from here...
1701 * mips-protos.h (coprocessor_operand, coprocessor2_operand,
1702 symbolic_operand): ...to here.
1704 Wed Jun 26 16:32:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
1706 * config/sh/crt1.asm: remove _stack label definition
1709 2002-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1711 * varasm.c: Include real.h before output.h.
1713 2002-06-26 Aldy Hernandez <aldyh@redhat.com>
1715 * config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Revert change to
1716 check for TARGET_ALTIVEC.
1718 2002-06-26 Nathanael Nerode <neroden@gcc.gnu.org>
1720 * config.gcc (vax-*-vms*): Make obselete.
1722 2002-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1724 * gcc.c (warn_std): Delete.
1726 2002-06-25 Loren J. Rittle <ljrittle@acm.org>
1728 * doc/extend.texi: Fix formatting of last checkin.
1730 2002-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1732 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Remove leading
1733 underscore from __IEEE_FP and __IEEE_FP_INEXACT.
1735 2002-06-25 Aldy Hernandez <aldyh@redhat.com>
1737 * doc/extend.texi (PowerPC AltiVec Built-in Functions): Document
1738 discrepancies from motorola's documentation.
1740 Tue Jun 25 21:51:13 2002 J"orn Rennecke <joern.rennecke@superh.com>
1742 * optabs.c (expand_vector_binop, expand_vector_unop): Don't assume
1743 GET_MODE_UNIT_SIZE (mode) == UNITS_PER_WORD.
1745 * config/sh/lib1funcs.asm (udivdi3): Make first divide step
1746 produce a 32 bit result before normalization, then normalize with a
1747 left shift. Compute approximative error of 2nd reciprocal
1748 approximation in 2's complement. Fix mask generation from upper
1749 longword of second divide stage result.
1750 For large divisor, fix shift count used to truncate first stage
1751 divide result; make decision if to adjust upwards based on comparison
1752 of higher parts of normalized values.
1753 (udivdi): Likewise. Undo normalization of result for large divisor
1756 2002-06-25 David S. Miller <davem@redhat.com>
1758 * config/sparc/sparc.md: Change \\{t,n} to \{t,n}.
1760 2002-06-25 Neil Booth <neil@daikokuya.co.uk>
1762 * cpplib.c (do_include_common): Revert to correct line number
1764 * cpptrad.c (scan_out_logical_line): Treat null directive as
1765 white space. Invlidate MI optimization for non-whitespace
1766 text outside a directive.
1768 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1770 * Makefile.in (SHELL): Set to @SHELL@.
1771 * fixinc/Makefile.in (SHELL): Likewise.
1773 * mips.md (fixuns_truncdfsi2, fixuns_truncdfdi2,
1774 fixuns_truncsfsi2, fixuns_truncsfdi2): Avoid automatic aggregate
1777 2002-06-24 Jeff Law <law@redhat.com>
1779 * flow.c (propagate_one_insn): When removing an insn
1780 with a REG_LIBCALL note but not the entire libcall sequence,
1781 delete the associated REG_RETVAL note.
1783 Mon Jun 24 21:05:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
1785 * lib1funcs.asm (sdivsi3): Add optimized SH64 implementations.
1786 (udivsi3): Likewise. Rewrite SH1 implementation.
1787 (udivdi3, divdi3, umoddi3, moddi3): New SHmedia functions.
1788 * sh.md (R20_REG, R21_REG, R22_REG, R23_REG, FR23_REG): New constants.
1789 (udivsi3_i1_media, divsi3_i1_media): Fix clobber list.
1790 * config/sh/t-sh64 (LIB1ASMFUNCS): (_udivdi3, _divdi3, _umoddi3): Add.
1791 (_moddi3): Likewise.
1793 * lib1funcs.asm (ic_invalidate): Add data cache line writeback.
1795 * sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK
1796 arguments into account for stack_regs.
1798 2002-06-24 Matt Kraai <kraai@alumni.cmu.edu>
1800 * doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */'
1803 2002-06-24 Art Haas <ahaas@neosoft.com>
1805 * doc/extend.texi (Other Builtins): Change `...' to `@dots{}'.
1806 * doc/tm.texi (Frame Layout): Likewise.
1808 2002-06-20 Steve Ellcey <sje@cup.hp.com>
1810 * gcc/config.gcc (ia64*-*-hpux*): Set use_collect2 to no.
1811 Set float_format to i128.
1813 2002-06-24 David S. Miller <davem@redhat.com>
1815 * config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the
1816 32-bit ABI libfuncs to NULL.
1818 * config/sparc/sparc.md: Use define_insn_and_split. Use braced
1819 strings instead of quoted strings for code blocks.
1821 * expmed.c (expand_divmod): Do not set optab1/optab2 to the shift
1822 optabs if op1 is const0_rtx.
1824 * Makefile.in (GTFILES): Add basic-block.h
1825 * basic-block.h (label_value_list, tail_recursion_label_list):
1828 2002-06-24 Neil Booth <neil@daikokuya.co.uk>
1830 * cpptrad.c (scan_out_logical_line): Check recursing only when
1831 we know we have a macro invocation in the function-like case.
1832 Only call _cpp_handle_directive if we know we have a good
1833 directive, or we want to reject a bad directive.
1835 2002-06-24 Alan Modra <amodra@bigpond.net.au>
1837 * doloop.c (doloop_valid_p): Correct comment.
1838 (doloop_modify_runtime <abs_inc != 1>): Simplify.
1839 (doloop_modify_runtime <do-while>): Don't emit code when NE.
1841 Thu Jun 20 00:26:53 2002 Denis Chertykov <denisc@overta.ru>
1843 * config.gcc: Add support for ip2k.
1845 2002-06-23 Jan Hubicka <jh@suse.cz>
1846 Jeff Law <law@redhat.com>
1848 * function.h (struct emit_status): Clarify potential contents
1849 of regno_reg_rtx array.
1850 * integrate.c (copy_rtx_and_substitute): Update comments. Make
1851 sure entry in regno_reg_rtx is a REG before checking REG_POINTER.
1853 * reg-stack.c (convert_regs_exit): Push the registers to stack in
1856 2002-06-22 Ulrich Weigand <uweigand@de.ibm.com>
1859 * function.c (assign_stack_temp_for_type): Do not return
1860 the same MEM rtx for multiple uses of a stack slot.
1862 2002-06-22 David S. Miller <davem@redhat.com>
1864 PR target/6841 target/6770 target/6719
1865 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Return
1866 NO_REGS for constant X when CLASS is GENERAL_OR_FP_REGS or
1867 GENERAL_OR_EXTRA_FP_REGS.
1869 2002-06-22 Neil Booth <neil@daikokuya.co.uk>
1871 * cpptrad.c (struct fun_macro): Add line number.
1872 (scan_out_logical_line): Set it, and use it to report unterminated
1875 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1877 * genautomata.c (copy_node, VLA_PTR_CREATE, VLA_PTR_EXPAND,
1878 VLA_PTR_ADD, VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD,
1879 DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, DECL_EXCL, DECL_PRESENCE,
1880 DECL_ABSENCE, DECL_RESERV, DECL_INSN_RESERV, REGEXP_UNIT,
1881 REGEXP_RESERV, REGEXP_SEQUENCE, REGEXP_REPEAT, REGEXP_ALLOF,
1882 REGEXP_ONEOF, check_name): Const-ify.
1884 2002-06-21 Matt Thomas <matt@3am-software.com>
1886 * config/vax/vax.c (vax_output_function_prologue): Use
1887 REGISTER_PREFIX. Fix some indentation.
1888 * config/vax/vax.h (FUNCTION_PROFILER): Use reg_names[].
1889 (VAX_ISTREAM_SYNC): Define.
1890 (INITIALIZE_TRAMPOLINE): Use VAX_ISTREAM_SYNC. Move the
1891 i-stream sync to the end.
1892 (REGISTER_PREFIX): Define as "".
1893 (ASM_OUTPUT_MI_THUNK): Use REGISTER_PREFIX.
1895 2002-06-21 Jason Thorpe <thorpej@wasabisystems.com>
1897 * config.gcc (ns32k-*-netbsd*): Remove from list of obsolete
1900 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1902 * tree.c (tree_node_kind, tree_node_counts, tree_node_sizes,
1903 tree_node_kind_names): Wrap in GATHER_STATISTICS macro.
1905 2002-06-21 Matt Thomas <matt@3am-software.com>
1907 * config/vax/netbsd.h: Adjust a comment.
1908 (TARGET_DEFAULT): Redefine as 0.
1910 2002-06-21 Richard Henderson <rth@redhat.com>
1912 * bb-reorder.c (make_reorder_chain_1): Search harder for the
1913 vax casesi fallthru edge.
1914 * cfglayout.c (cleanup_unconditional_jumps): Use
1915 redirect_edge_succ_nodup. Do not delete ADDR_VEC insns as dead.
1916 * cfgrtl.c (force_nonfallthru_and_redirect): Place redirection
1917 block after ADDR_VEC.
1919 2002-06-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1921 * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
1923 2002-06-21 Neil Booth <neil@daikokuya.co.uk>
1925 * cpperror.c (cpp_error): For traditional CPP, default to
1926 diagnostics on pfile->line.
1927 * cpplib.c (prepare_directive_trad): Set line number for
1928 diagnostics for #define too.
1929 * cpptrad.c (skip_whitespace): Skip comments properly.
1930 (_cpp_expansions_different_trad): Initialize quote2.
1932 2002-06-21 Hans-Peter Nilsson <hp@bitrange.com>
1934 * config/mmix/mmix.md: Change GNU CC to GCC in file header comment.
1935 * config/mmix/mmix.h: Ditto.
1936 * config/mmix/mmix-protos.h: Ditto.
1937 * config/mmix/mmix.c: Ditto. Fix typo in comment.
1938 * config/mmix/mmix-modes.def: Change GNU CC to GCC in file header
1939 comment. Comment extra CC modes.
1941 2002-06-20 Jan Hubicka <jh@suse.cz>
1943 * cfglayout.c (scope_to_insns_initialize): Call set_block_levels.
1944 (scope_to_insns_finalize): Do not call set_block_levels; handle
1946 (choose_inner_scope): New.
1947 * rtl.h (choose_inner_scope): Declare.
1949 2002-06-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
1951 * pa-protos.h (pa_asm_output_mi_thunk): Change third argument to
1953 * pa.c (pa_asm_output_mi_thunk): Likewise.
1954 (n_deferred_plabels): Change type to size_t.
1955 (output_deferred_plabels, output_call): Use size_t instead of int.
1957 2002-06-20 Richard Henderson <rth@redhat.com>
1960 * config/m68k/m68k.md (zero_extendsidi2): Create expander; duplicate
1961 pattern and adjust constraints for coldfire.
1963 2002-06-20 Richard Henderson <rth@redhat.com>
1965 * explow.c (probe_stack_range): Use gen_rtx_fmt_ee.
1967 2002-06-20 Chris Demetriou <cgd@broadcom.com>
1969 * config.gcc (mipsisa64-*-elf*, mipsisa64el-*-elf*): New targets.
1971 2002-06-20 Chris Demetriou <cgd@broadcom.com>
1973 * config/mips/mips.h (ISA_HAS_FP4): Fix comment to reflect use.
1975 2002-06-20 Stan Shebs <shebs@apple.com>
1977 * dominance.c: Include errors.h instead of error.h.
1979 2002-06-20 Neil Booth <neil@daikokuya.co.uk>
1981 * cppexp.c (cpp_interpret_integer): Don't force traditional
1982 numbers to be unsigned.
1983 * cpplib.c (prepare_directive_trad): Set line number for
1985 * cpptrad.c (scan_out_logical_line): Continue scanning out
1987 * gcc.c (trad_capable_cpp): Use cc1 always.
1989 2002-06-20 Jeffrey Law <law@redhat.com>
1991 * i386.h (TARGET_DEFAULT): Do not turn on frame pointer
1992 elimination in leaf functions by default yet.
1994 2002-06-20 Richard Sandiford <rsandifo@redhat.com>
1996 * combine.c (make_extraction): Reapply to the argument of an ASHIFT.
1998 2002-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2000 * config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for
2002 * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
2003 Fixes PR other/6836.
2005 Thu Jun 20 19:42:21 CEST 2002 Jan Hubicka <jh@suse.cz>
2006 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
2008 Mon Jun 10 20:42:34 CEST 2002 Jan Hubicka <jh@suse.cz>
2010 * basic-block.h: Do not include et-forest.h
2011 (dominance_info): Declare as struct dominance-info.
2012 * cfglayout.c (cleanup_unconditional_jumps): Remove the edge before
2014 * dominance.c (struct dominance_info): Define.
2015 (BB_NODE, SET_BB_NODE): New macros.
2016 (bb_hash_func, bb_eq_func): Kill.
2017 (calculate_dominace_info, free_dominacne_info, set_immediate_dominator,
2018 nearest_common_dominator, dominated_by_p, recount_dominator,
2019 add_to_dominance_info, delete_from_dominance_info): update for new
2021 (get_dominated_by, redirect_immediate_dominators): Rewrite using
2023 * ifcvt.c (process_double_test_block, merge_if_block, find_cond_trap,
2024 find_if_case_1, find_if_case_2): Remove killed blocks from dominance
2027 * et-forest.h: Update copyright; revamp all function to operate on
2029 (et_forest_value): Kill.
2030 (et_forest_enumerate_sons, et_forest_node_value): New.
2031 * et-forest.c: Update copyright.
2032 * et-forest.h: Update copyright; revamp all function to operate on
2034 (et_forest_value): Kill.
2035 (et_forest_enumerate_sons, et_forest_node_value): New.
2037 Thu Jun 6 22:43:43 CEST 2002 Jan Hubicka <jh@suse.cz>
2039 * basic-block.h: Inlude et-forest.h
2040 (basic_block_def): Kill dominator.
2041 (dominance_info): New type.
2042 (loops): Use dominace_info.
2043 (dominace handling functions): Take dominace_info as argument
2045 (create_preheader): Likewise.
2046 * cfg.c (entry_exit_blocks): Kill dominator.
2047 (dump_flow_info): Do not dump dominators.
2048 * cfglayout.c (cleanup_unconditonal_jumps): Delete deleted block from
2050 * cfgloop.c (flow_pre_header_find): Use dominacne_info.
2051 (flow_loops_pre_header_scan, make_forwarder_block,
2052 canonicale_loop_headers, flow_loops_find): Likewise.
2053 * dominance.c: Include error.h
2054 (idoms_to_doms): Kill.
2055 (bb_hash_func, bb_eq_func): New static functions.
2056 (debug_dominace_info): New global function.
2057 (calculate_dominance_info): Use new et forest structure.
2058 (free_dominace_info, get_immediate_dominator, set_immediate_dominator,
2059 get_dominated_by, redirect_immediate_dominators,
2060 nearest_common_dominator, dominated_by_p, verify_dominators,
2061 recount_dominator, iterate_fix_dominators, add_to_dominace_info,
2062 delete_from_dominance_info): New global functions.
2063 * gcse.c (domnators): CHange to dominance_info.
2064 (alloc_hoist_mem): Do not alloc dominators
2065 (free_code_hoist_mem): Use free_dominance_info.
2066 (compute_code_hoist_data): Use dominance_info.
2067 (hoist_code): Likewise.
2068 * ifcvt.c (post_dominators): Likewise.
2069 (find_if_case_2, if_convert): Likewise.
2070 * predict.c (process_note_predictions, process_note_prediction,
2071 estimate-probability): Likewise.
2072 * sched-rgn.c (find_rgns, init_regions): Likewise.
2073 * ssa-dce.c (find_all_control_dependences, fint_control_depemndence,
2074 find_pdom, delete_insn_bb, ssa_eliminate_dead_code): Likewise.
2075 * ssa.c (compute_dominance_frontiers_1, rename_block, rename_registers,
2076 find_evaluations, convert_to_ssa): Likewise.
2077 * ssa.h (compute_dominance_frontiers): Likewise.
2079 Thu Jun 6 22:57:34 CEST 2002 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
2081 * Makefile.in (et-forest.c): Add.
2082 * et-forest.c: New file.
2083 * at-forest.h: New file.
2085 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2087 * c-decl.c (c_decode_option): Use ARRAY_SIZE in lieu of explicit
2088 array size calculation.
2089 * gengtype.c (NUM_BASE_FILES, create_file, write_gc_root):
2092 * diagnostic.c (diagnostic_kind_text): Const-ify.
2093 * gengtype.c (lang_names): Likewise.
2095 Thu Jun 20 17:25:29 CEST 2002 JAn HUbicka <jh@suse.cz>
2097 * combine.c (subst): Be prepared for simplify_subreg to return VOIDmode.
2099 2002-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2101 * config/sol2.h: New file.
2102 * config.gcc (i?86-*-solaris2*): Include it before i386/sol2.h.
2103 (sparc64-wrs-vxworks*): Include it before sparc/sol2.h.
2104 (sparc-*-chorusos*): Likewise.
2105 (sparc-*-elf*): Likewise.
2106 (sparc-*-rtems*, sparc-*-rtemself*): Likewise.
2107 (sparc64-*-solaris2*, sparcv9-*-solaris2*): Likewise.
2108 (sparc-hal-solaris2*): Likewise.
2109 (sparc-*-solaris2*): Likewise.
2110 (sparclite-*-elf*): Likewise.
2111 (sparc86x-*-elf*): Likewise.
2112 (sparc64-*-elf*): Likewise.
2114 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Moved to
2116 (ASM_SPEC): Override config/sol2.h version for now.
2117 Removed obsolete GAS_REJECTS_MINUS_S variant.
2118 (WINT_TYPE, WINT_TYPE_SIZE): Moved to config/sol2.h.
2119 (HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise.
2120 (TARGET_OS_CPP_BUILTINS): Likewise.
2122 (CPP_SPEC): Simplified using new CPP_SUBTARGET_SPEC.
2123 (LIB_SPEC, ENDFILE_SPEC, STARTFILE_SPEC, LINK_SPEC): Moved to
2125 (SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise.
2126 (ASM_CPU_SPEC): Define.
2127 (SUBTARGET_EXTRA_SPECS): Define.
2129 * config/sparc/sol2-bi.h (LONG_DOUBLE_TYPE_SIZE): Removed, already
2130 in config/sparc/sol2.h.
2131 (ASM_SPEC): Moved to config/sol2.h.
2132 (CPP_CPU_SPEC): Simplified.
2133 (STARTFILE_SPEC32): Likewise, renamed to STARTFILE_ARCH32_SPEC for
2135 (STARTFILE_SPEC64): Renamed to STARTFILE_ARCH64_SPEC.
2136 (STARTFILE_ARCH_SPEC): Use new names STARTFILE_ARCH32_SPEC,
2137 STARTFILE_ARCH64_SPEC.
2138 (STARTFILE_SPEC): Moved to config/sol2.h
2139 (SUBTARGET_EXTRA_SPECS): Add startfile_arch.
2140 (LINK_ARCH32_SPEC): Moved to config/sol2.h.
2141 (LINK_ARCH64_SPEC): Simplified.
2142 (LINK_ARCH_SPEC): Redefined config/sol2.h version for 64-bit support.
2143 (LINK_SPEC): Moved to config/sol2.h
2145 * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Moved to
2147 Use BITS_PER_WORD for size.
2148 (WINT_TYPE, WINT_TYPE_SIZE): Likewise.
2149 (HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise.
2150 (CPP_PREDEFINES): Removed OS-specific part handled by
2151 TARGET_OS_CPP_BUILTINS.
2152 (CPP_SUBTARGET_SPEC): Moved to config/sol2.h.
2153 (CPLUSPLUS_CPP_SPEC): Removed, handled by TARGET_OS_CPP_BUILTINS.
2154 (ASM_SPEC): Moved to config/sol2.h.
2155 (PREFERRED_DEBUGGING_TYPE): Likewise.
2156 (STARTFILE_SPEC, LIB_SPEC, LINK_SPEC): Likewise.
2157 (SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise.
2158 (TARGET_DEFAULT): Reordered to match config/sparc/sol2-bi.h version.
2159 (TRANSFER_FROM_TRAMPOLINE): Moved to config/sol2.h
2161 * config.gcc (i?86-*-solaris2*): Removed obsolete gas support.
2162 * config/i386/sol2gas.h: Removed.
2164 Thu Jun 20 12:14:01 CEST 2002 Jan Hubicka <jh@suse.cz>
2166 * i386.md (xorqi_1_slp, xorqi_2_slp): New patterns.
2168 2002-06-16 Aldy Hernandez <aldyh@redhat.com>
2170 * gcc.c-torture/execute/simd-1.c: New.
2172 * gcc.dg/simd-1.c: New.
2174 * doc/extend.texi (Vector Extensions): Document that we can
2175 specify simd types not specifically supported by the hardware.
2176 Document that simd types can be used as function arguments.
2177 Document that signness does make a difference in SIMD types.
2178 Misc cleanups and revisions to the vector extensions section.
2180 * simplify-rtx.c (simplify_subreg): Simplify subregs of vector
2183 * expr.c (vector_mode_valid_p): New.
2185 * expr.h: Add vector_mode_valid_p.
2187 * defaults.h (VECTOR_MODE_SUPPORTED_P): Set default.
2189 * c-common.c (type_for_mode): Always build vector nodes regardless
2190 of VECTOR_MODE_SUPPORTED_P.
2191 (handle_mode_attribute): Error if we can't emulate a nonexisting
2193 (handle_vector_size_attribute): Same.
2195 * optabs.c (expand_binop): Open-code vector operations.
2196 (expand_unop): Open-code vector unops.
2197 (expand_vector_binop): New.
2198 (expand_vector_unop): New.
2200 * c-typeck.c (build_binary_op): Allow vectors in binops.
2201 Allow vectors in conditional operatiors.
2202 (build_unary_op): Allow vectors in unary minus.
2204 * config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Conditionalize on
2207 2002-05-20 Richard Henderson <rth@redhat.com>
2209 * c-common.c (c_common_get_alias_set): Correctly handle characters.
2210 Rearrange order of expressions; don't handle vectors here.
2211 * alias.c (get_alias_set): Let vectors match their components.
2213 2002-06-19 Chris Demetriou <cgd@broadcom.com>
2215 * config/mips/mips.c (mips_emit_prefetch): Use hints which
2216 match desired locality.
2218 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com>
2220 * config/h8300/h8300.c (TARGET_INSERT_ATTRIBUTES): Define.
2221 (h8300_insert_attributes): New.
2223 2002-06-19 Akim Demaille <akim@epita.fr>
2225 * c-parse.in (initelt: identifier ':' initval): Add an empty
2226 action to fix a type clash.
2227 (aliasdecl, classdef): Add the missing closing `;'.
2229 * gengtype-yacc.y (typedef_struct): Add an empty action to preevnt
2230 $$ = $1 type clashes.
2232 2002-06-19 Eric Christopher <echristo@redhat.com>
2234 * config/mips/mips.c (symbol_operand): New function.
2235 (mips_emit_prefetch): Ditto.
2236 * config/mips/mips-protos.h: Define.
2237 * config/mips/mips.h (ISA_HAS_PREFETCH): Define.
2238 (CONSTANT_ADDRESS_P): Adjust, use TARGET_GAS.
2239 (LEGITIMIZE_ADDRESS): Ditto.
2240 * config/mips/mips.md (prefetch, prefetch_si_address,
2241 prefetch_si, prefetch_di_address, prefetch_di): New patterns.
2243 2002-06-19 Eric Christopher <echristo@redhat.com>
2245 * config/fp-bit.h: Add unordered defines for gofast.
2247 2002-06-19 Vladimir Makarov <vmakarov@redhat.com>
2249 * genautomata.c (DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON,
2250 DECL_EXCL, DECL_PRESENCE, DECL_ABSENCE, DECL_RESERV,
2251 DECL_INSN_RESERV, REGEXP_UNIT, REGEXP_RESERV, REGEXP_SEQUENCE,
2252 REGEXP_REPEAT, REGEXP_ALLOF, REGEXP_ONEOF): New macros with
2253 checking and without it.
2254 (decl_name, decl_mode_check_failed, regexp_name,
2255 regexp_mode_check_failed): New functions.
2256 (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
2257 gen_presence_set, gen_absence_set, gen_automaton,
2258 gen_regexp_repeat, gen_regexp_allof, gen_regexp_oneof,
2259 gen_regexp_sequence, gen_reserv, gen_insn_reserv,
2260 automaton_decl_hash, automaton_decl_eq_p): Use the macros.
2261 (find_automaton_decl): Ditto. Set up mode of work_automaton_decl.
2262 (insn_decl_hash, insn_decl_hash, insn_decl_eq_p): Use the macros.
2263 (find_insn_decl): Ditto. Set up mode of work_insn_decl.
2264 (decl_hash, decl_eq_p): Use the macros.
2265 (find_decl): Ditto. Set up mode of work_decl.
2266 (process_excls, process_presence_absence, process_decls,
2267 check_automaton_usage, process_regexp, process_regexp_decls,
2268 check_usage, loop_in_regexp, check_loops_in_regexps,
2269 process_regexp_cycles, add_advance_cycle_insn_decl,
2270 initiate_states, initiate_excl_sets,
2271 initiate_presence_absence_sets, copy_insn_regexp, transform_1,
2272 transform_2): Use the macros.
2273 (transform_3): Ditto. Check mode before making transformations of
2275 (regexp_transform_func, transform_insn_regexps,
2276 process_unit_to_form_the_same_automaton_unit_lists,
2277 form_the_same_automaton_unit_lists_from_regexp,
2278 form_the_same_automaton_unit_lists,
2279 process_seq_for_forming_states, process_alts_for_forming_states,
2280 create_alt_states, form_ainsn_with_same_reservs, make_automaton,
2281 form_arcs_marked_by_insn, NDFA_to_DFA, set_new_cycle_flags,
2282 estimate_one_automaton_bound, compare_max_occ_cycle_nums,
2283 units_to_automata_heuristic_distr, create_ainsns,
2284 units_to_automata_distr, create_automata): Use the macros.
2285 (form_regexp): Ditto. Fix typo in access to fields of ALLOF.
2286 (longest_path_length, min_issue_delay_pass_states,
2287 output_dead_lock_vect, output_tables, output_insn_code_cases,
2288 output_internal_insn_latency_func, output_print_reservation_func,
2289 output_description, output_automaton_units, generate): Use the
2291 (make_insn_alts_attr): Ditto. Check case when there are not
2292 alternatives in the reservation.
2293 (make_internal_dfa_insn_code_attr, make_default_insn_latency_attr,
2294 make_bypass_attr, form_important_insn_automata_lists,
2295 expand_automata): Use the macros.
2297 2002-06-20 Tim Josling <tej@melbpc.org.au>
2299 * Makefile.in: Clean up code to check for misspecified languages
2300 in enable-languages.
2302 2002-06-19 Andrew Pinski <pinskia@physics.uc.edu>
2304 * cpptrad.c (_cpp_replacement_text_len): initialize len.
2306 2002-06-19 Jason Merrill <jason@redhat.com>
2308 * Makefile.in (unstrap, restrap): New targets.
2309 (bootstrap): Mention restrap.
2311 2002-06-19 Matt Kraai <kraai@alumni.cmu.edu>
2313 * except.c (ehl_free): Remove.
2315 * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Correct misnamings of
2316 builtin_define and builtin_define_std.
2318 2002-06-19 Ian Dall <ian@sibyl.beware.dropbear.id.au>
2320 * config/ns32k/ns32k.md: Give "*xxx" names to all unnamed insn's.
2321 (sCOND): Restrict operand class so that gcc knows how to reload them.
2322 (bitfield_set): Merge two unnamed insn's using alternatives.
2323 (call_value): Remove constraint on unused uperand.
2324 (udivmodhi4, udivmodsi4, udivmoddihi4_internal): Remove.
2325 (udivmoddiqi4_internal, udivmoddihi4, udivmoddiqi4): Remove.
2327 * longlong.h (count_trailing_zeros): Escape newline and beautify.
2329 2002-06-19 Mark Mitchell <mark@codesourcery.com>
2331 * Makefile.in (QMTEST_DIR): Simplify definition.
2333 2002-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2335 * config/d30v/d30v.h (CUMULATIVE_ARGS): Replace typedef with
2338 2002-06-19 Neil Booth <neil@daikokuya.co.uk>
2340 * cpphash.h (struct cpp_reader): Make date and time strings.
2341 (_cpp_builtin_macro_text, _cpp_copy_replacement_text,
2342 _cpp_replacement_text_len): New.
2343 * cppinit.c (cpp_create_reader): Update.
2344 (init_builtins): Register appropriate builtins for -traditional-cpp.
2345 * cppmacro.c (new_number_token): Remove.
2346 (_cpp_builtin_macro_text): New.
2347 (builtin_macro): Use it.
2348 (cpp_macro_definition): Update to handle traditional macros.
2349 * cppmain.c (cb_line_change): Don't do column positioning for
2351 * cpptrad.c (enum ls): Rename ls_fun_macro to ls_fun_open. New
2353 (skip_whitespace): Fix.
2354 (maybe_start_funlike): Don't set state.parsing_args.
2355 (scan_out_logical_line): Remove duplicate error. Use lex_state
2356 rather than state.parsing_args.
2357 (push_replacement_text): Handle builtins.
2358 (_cpp_replacement_text_len, _cpp_copy_replacement_text): New.
2360 2002-06-18 Hans-Peter Nilsson <hp@axis.com>
2361 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2363 * config/fp-bit.c (_fpmul_parts, _fpdiv_parts): Mark with
2364 attribute __always_inline__.
2366 2002-06-18 Bob Wilson <bob.wilson@acm.org>
2368 * config/xtensa/xtensa.h (FUNCTION_PROFILER): Respect flag_pic
2369 when generating the call to _mcount.
2370 (NO_PROFILE_COUNTERS): Define.
2372 2002-06-18 Richard Henderson <rth@redhat.com>
2374 * print-rtl.c (print_rtx): Adjust NOTE argument numbers for
2377 Tue Jun 18 20:53:32 2002 J"orn Rennecke <joern.rennecke@superh.com>
2379 * t-sh (MULTILIB_EXCEPTIONS): Set to ml.
2380 config/sh/t-linux (MULTILIB_EXCEPTIONS): Clear.
2381 * config/sh/t-netbsd (MULTILIB_EXCEPTIONS): Likewise.
2382 * config/sh/t-sh64 (MULTILIB_EXCEPTIONS): Likewise.
2384 * sh-protos.h (sh_pr_interrupt): Declare.
2385 * sh.c (sh_pr_interrupt): New function.
2386 (print_operand, calc_live_regs, sh_expand_prologue): Use it.
2387 (sh_hard_regno_rename_ok): Likewise.
2388 * sh.h (NORMAL_MODE): FP_MODE_NONE for interupt handlers.
2390 2002-06-18 Vladimir Makarov <vmakarov@redhat.com>
2392 * rtl.def (DEFINE_AUTOMATON): Add description of new options
2393 `time' and `v'. Fix incorrect description of option `w'.
2395 * doc/md.texi: Ditto.
2397 * genautomata.c (TIME_OPTION, V_OPTION): New macros.
2398 (gen_automata_option): Process the new options.
2399 (transform_2, transform_3): Initialize some variables.
2400 (initiate_automaton_gen): Use the new macros.
2402 2002-06-18 Richard Sandiford <rsandifo@redhat.com>
2404 * config/mips/mips-protos.h (mips_initial_elimination_offset): Declare.
2405 (mips_set_return_address, mips_restore_gp): Declare.
2406 * config/mips/mips.h (struct mips_frame_info): Move to mips.c
2407 (current_frame_info): Remove.
2408 (INITIAL_ELIMINATION_OFFSET): Use mips_initial_elimination_offset.
2409 * config/mips/mips.c: Remove uses of current_frame_info.
2410 (struct mips_frame_info): Moved from mips.h. Remove 'insns_len'.
2411 (struct machine_function): Add 'frame' and 'insns_len'.
2412 (current_frame_info, zero_frame_info): Remove.
2413 (mips_restore_gp, mips_set_return_address): New.
2414 (mips_initial_elimination_offset): New.
2415 * config/mips/mips.md (exception_receiver): Use mips_restore_gp.
2416 (eh_return define_split): Use mips_set_return_address.
2418 2002-06-18 Neil Booth <neil@daikokuya.demon.co.uk>
2420 * cpplib.c (dtable): Update.
2421 (end_directive): Decrement expansion prevention count.
2422 Clear state.in_expression.
2423 (prepare_directive_trad): Set state.in_expression.
2424 Increment expansion prevention count.
2425 * cpptrad.c (enum ls): New.
2426 (_cpp_overlay_buffer): Set overlaid_buffer.
2427 (_cpp_remove_overlay): Use overlaid_buffer.
2428 (_cpp_read_logcial_line_trad): Update buffer when it might
2430 (scan_out_logical_line): Handle state transitions for assertions
2431 and defined() in #if, and for funlike invocations including the
2432 directive case. Handle '<' and '>' as a quote mechanism in
2433 #include. Warn about unterminated macro invocations.
2434 * cpphash.h (struct lexer_state): New member in_expression.
2435 (struct cpp_reader): New member overlaid buffer.
2437 2002-06-18 Hans-Peter Nilsson <hp@axis.com>
2439 * config/cris/arit.c (do_31div, __Udiv, __Umod): Mark prototype
2442 2002-06-18 Alan Modra <amodra@bigpond.net.au>
2444 * config/ia64/ia64.md (doloop_end_internal): Correct rtl.
2446 * doloop.c (doloop_optimize): Extract pattern from insn.
2448 2002-06-17 Matt Kraai <kraai@alumni.cmu.edu>
2450 * doc/extend.texi (Function Attributes): Remove `,...' from @var.
2452 2002-06-17 Jeff Law <law@redhat.com>
2454 * libgcc2.c: Do not include symcat.h or machmode.h.
2456 2002-06-17 Richard Henderson <rth@redhat.com>
2459 * expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND.
2461 2002-06-17 Tom Tromey <tromey@redhat.com>
2463 * dwarfout.c: Include function.h.
2465 2002-06-17 Andreas Schwab <schwab@suse.de>
2467 * print-rtl.c (print_rtx): Print space before vector, not after.
2468 (debug_rtx): Clear sawclose before printing.
2469 (debug_rtx_list): Print newline after each list element.
2470 (debug_rtx_range): Likewise.
2472 2002-06-17 Richard Henderson <rth@redhat.com>
2474 * function.h (struct function) [funcdef_no]: Rename profile_label_no.
2475 (current_function_funcdef_no): Similarly.
2476 * function.c (funcdef_no): Similarly.
2477 (prepare_function_start): Set current_function_funcdef_no.
2478 (expand_function_start): Don't set current_function_profile_label_no.
2479 * dwarf2out.h (current_funcdef_number): Remove.
2480 * dwarf2out.c (current_funcdef_number): Remove. Replace with
2481 current_function_funcdef_no throughout.
2482 * dwarfout.c, vmsdbgout.c: Similarly.
2483 * except.c (sjlj_funcdef_number): Remove.
2484 (sjlj_emit_function_enter): Use current_function_funcdef_no instead.
2485 (output_function_exception_table): Likewise.
2486 * final.c (profile_function): Use current_function_funcdef_no
2487 instead of current_function_profile_label_no.
2489 2002-06-17 Vladimir Makarov <vmakarov@redhat.com>
2491 * sched-ebb.c (init_ready_list): Check INSN_P first.
2493 Mon Jun 17 17:26:15 2002 J"orn Rennecke <joern.rennecke@superh.com>
2495 * sh.md (divsi3): Update way how to find insns in a sequence.
2497 * reload1.c (merge_assigned_reloads): Don't change reloads
2498 other than RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS
2499 to RELOAD_OTHER when there are conflicting input reloads.
2501 2002-06-17 Richard Earnshaw (rearnsha@arm.com)
2503 * function.c (epilogue_done): Correctly build a sequence of insns for
2506 2002-06-17 Nick Clifton <nickc@cambridge.redhat.com>
2508 * config/fr30/fr30.h (CUMULATIVE_ARGS): Replace typedef with
2511 * config/m32r/m32r.md: Replace gen_sequence with get_insns.
2513 2002-06-16 Richard Henderson <rth@redhat.com>
2515 * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
2516 of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
2518 2002-06-16 Richard Henderson <rth@redhat.com>
2521 * regclass.c (globalize_reg): Update regs_invalidated_by_call.
2523 2002-06-16 Neil Booth <neil@daikokuya.demon.co.uk>
2525 * config.gcc: Add i386/sysv4-cpp.h; remove i386-aout.h from vxworks.
2526 * config/i386/i386-aout.h, config/i386/i386elf.h,
2527 config/i386/sysv4.h: Remove CPP_PREDEFINES.
2528 * config/i386/linux64.h, config/i386/i386elf.h, config/i386/mach.h,
2529 config/i386/netware.h, config/i386/rtemself.h, config/i386/sco5.h,
2530 config/i386/sol2.h, config/i386/vsta.h, config/i386/vxi386.h,
2531 config/i386/win32.h: Use TARGET_OS_CPP_BUILTINS rather than
2532 CPP_PREDEFINES and part of CPP_SPEC.
2533 * config/i386/sysv4-cpp.h: New.
2535 2002-06-16 Richard Henderson <rth@redhat.com>
2538 * dwarf2out.c (modified_type_die): Don't assign the qualified die
2539 to the unqualified type.
2541 Sun Jun 16 22:16:10 CEST 2002 Jan Hubicka <jh@suse.cz>
2543 * i386-protos.h (x86_field_alignment): Declare.
2544 * i386.c (x86_field_alignment): Define.
2545 * i386.h (ADJUST_FIELD_ALIGNMENT): New.
2546 (BIGGEST_FIELD_ALIGNMENT): Kill.
2548 2002-06-16 Richard Henderson <rth@redhat.com>
2550 * vax.md (casesi): Use emit_jump_insn. Tidy expander pattern.
2552 2002-06-16 Richard Henderson <rth@redhat.com>
2554 * c-common.c (flag_ms_extensions): Move from c++ front end.
2555 * c-common.h (flag_ms_extensions): Declare.
2556 * c-decl.c (c_decode_option): Add -fms-extensions.
2557 (grokfield): Don't accept anonymous structures in ISO C mode;
2558 accept only unnamed anonymous structures in GNU C mode; accept
2559 Plan 9 extensions in MS mode.
2560 * c-parse.in (SAVE_EXT_FLAGS, RESTORE_EXT_FLAGS): Rename from
2561 SAVE/RESTORE_WARN_FLAGS; add flag_iso frobbing; update all callers.
2562 (extension): Clear flag_iso.
2563 * doc/invoke.texi (C Dialect Options): Add -fms-extensions.
2565 2002-06-16 Hans-Peter Nilsson <hp@axis.com>
2568 * reorg.c (make_return_insns) [DELAY_SLOTS_FOR_EPILOGUE]: Exit
2569 early if current_function_epilogue_delay_list is non-empty.
2570 * config/cris/cris.md ("return"): Add sanity check asserting that
2571 current_function_epilogue_delay_list is empty.
2573 2002-06-16 Jeff Law <law@redhat.com>
2575 * emit-rtl.c (gen_rtx_REG): Temporarily turn off automatic
2576 sharing of hard registers.
2578 * toplev.c (rest_of_compilation): Remove redundant conditional.
2580 * toplev.c (rest_of_compilation): Perform a simpler, less costly
2581 cleanup of the CFG when not optimizing.
2583 2002-06-16 Alan Modra <amodra@bigpond.net.au>
2585 * gcc.c (main): Correct startfile_prefix_spec check.
2587 2002-06-12 Geoffrey Keating <geoffk@redhat.com>
2589 * config.gcc: Revert rth's patch of 2002-05-18. Instead,
2590 include both darwin.o and rs6000-c.o.
2592 2002-06-15 Roger Sayle <roger@eyesopen.com>
2594 * expr.c (compare_from_rtx): Call simplify_relational_operation
2595 on all comparisons, not just those between integer constants,
2596 with the correct (possibly unsigned) comparison code.
2597 (do_compare_rtx_and_jump): Likewise.
2599 2002-06-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
2601 * Makefile.in (tm_defines): New configuration variable.
2602 (cs-config.h, cs-hconfig.h, cs-tconfig.h): Rename DEFINES to XM_DEFINES.
2603 Pass tm_defines in TM_DEFINES.
2604 (cs-tm_p.h): Rename DEFINES to XM_DEFINES. Pass TM_DEFINES.
2605 * config.gcc (tm_defines): New configuration variable.
2606 (hppa*-*-* | parisc*-*-*): Use tm_defines instead of pa-700.h and
2607 pa-7100.h headers. Change hppa1* scheduling default to 7100LC.
2608 * configure.in: Substitute tm_defines.
2609 * configure: Rebuilt.
2610 * mkconfig.sh: Rename DEFINES to XM_DEFINES. Output TM_DEFINES.
2611 * doc/install.texi: Update.
2612 * pa/pa-700.h: Delete file.
2613 * pa/pa-7100.h: Delete file.
2615 2002-06-15 Roger Sayle <roger@eyesopen.com>
2617 * fold-const.c (comparison_to_compcode): New function to convert
2618 an comparison TREE CODE into a bit-based representation.
2619 (compcode_to_comparison): New function to convert from this bit
2620 based representation back to a comparison TREE CODE.
2621 (fold_truthop): Simplify (x<y) && (x==y) and related composite
2624 2002-06-15 Aldy Hernandez <aldyh@redhat.com>
2626 * tm.texi (MEMBER_TYPE_FORCES_BLK): Document MODE argument.
2628 * stor-layout.c (compute_record_mode): Remove check for
2629 FUNCTION_ARG_REG_LITTLE_ENDIAN and VOIDmode when checking for
2630 MEMBER_TYPE_FORCES_BLK. Pass new mode field to
2631 MEMBER_TYPE_FORCES_BLK.
2633 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Same.
2635 * config/c4x/c4x.h (MEMBER_TYPE_FORCES_BLK): Same.
2637 2002-06-14 Jeff Sturm <jsturm@one-point.com>
2639 * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.
2641 2002-06-14 Steve Ellcey <sje@cup.hp.com>
2643 * configure.in (USE_UNWIND_EXCEPTIONS): Add support to set
2644 USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set.
2645 * configure, config.in: Regenerate.
2647 2002-06-14 Eric Botcazou <ebotcazou@multimania.com>
2649 * loop.c (check_final_value): Use v->always_executed
2650 instead of v->always_computable.
2651 * unroll.c (final_giv_value): Don't calculate the final
2652 value as a function of the biv if the giv is not computed
2653 for every loop iteration.
2655 2002-06-14 Eric Botcazou <ebotcazou@multimania.com>
2657 * loop.c (for_each_insn_in_loop): Fix formatting and comments.
2659 2002-06-14 Eric Botcazou <ebotcazou@multimania.com>
2662 * convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass
2663 the truncation down when the target type is signed.
2664 [trunc1]: Use unsigned arithmetic for LSHIFT_EXPR.
2665 * fold-const.c (extract_muldiv) [NOP_EXPR]: Don't pass through
2666 the conversion if the target type is a smaller type.
2668 2002-06-14 Richard Henderson <rth@redhat.com>
2670 * fold-const.c (fold) [compare ops]: Move X>=C / X<C transfomation
2671 earlier. Re-factor comparisons vs extrema.
2673 2002-06-14 Richard Henderson <rth@redhat.com>
2675 * config/alpha/alpha.md (builtin_zapnot): Fix op2 mode.
2677 2002-06-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2679 * rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE.
2680 * sched-deps.c (add_dependence): Likewise.
2681 (group_leader): Likewise.
2682 * sched-rgn.c (init_ready_list): Likewise.
2683 * doc/rtl.texi: Adjust accordingly.
2685 2002-06-13 Jeffrey Law <law@redhat.com>
2687 * gcse.c (delete_null_pointer_checks_1): Inform caller if any
2688 null pointer checks were eliminated. Update prototype.
2689 (delete_null_pointer_checks): Similarly.
2690 * rtl.h (delete_null_pointer_checks): Update prototype.
2691 * toplev.c (rest_of_compilation): Only run cleanup_cfg if
2692 delete_null_pointer_checks deletes one or more null
2693 pointer checks. Do not run cleanup_cfg before gcse, the
2694 CFG is accurate and optimized at that point..
2696 * rs6000.c (rs6000_frame_related): Avoid unwanted sharing
2699 2002-06-14 Ulrich Weigand <uweigand@de.ibm.com>
2701 * Makefile.in (libgcc.mk): Depend on specs.
2703 Fri Jun 14 12:15:11 2002 J"orn Rennecke <joern.rennecke@superh.com>
2705 * sh.md (mulsi3): Update way how to find insns in a sequence.
2707 Fri Jun 14 12:04:02 2002 Dhananjay R. Deshpande <dhananjayd@kpit.com>
2709 * sh.h: Define HARD_REGNO_RENAME_OK
2710 * sh.c: sh_hard_regno_rename_ok: New. If current function has
2711 interrupt_handler attribute, only registers saved on stack are OK.
2712 * sh-protos.h: Declare sh_hard_regno_rename_ok.
2714 2002-06-14 Kaz Kojima <kkojima@gcc.gnu.org>
2716 * config/sh/sh.md (jump): Emit jump insn.
2717 (call_pcrel): Get pattern of the result of gen_call_site.
2718 (call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise.
2720 2002-06-14 Neil Booth <neil@daikokuya.demon.co.uk>
2722 * cpphash.h (struct cpp_buffer): Remove saved_line_base.
2723 * cpptrad.c: Update comments.
2724 (skip_whitespace, copy_comment): Take a new parameter.
2725 (skip_escaped_newlines): Don't duplicate escaped newline test.
2726 (copy_comment): Different location for CUR, decide here how
2727 to copy / replace the comment.
2728 (skip_whitespace): Copy whitespace.
2729 (_cpp_overlay_buffer, _cpp_remove_overlay): Don't play with line_base.
2730 (scan_out_logical_line): Let copy comment handle keeping or
2732 (scan_parameters, _cpp_create_trad_definition): Update.
2734 2002-06-13 Alan Lehotsky <apl@alum.mit.edu>
2736 * reload.c (get_secondary_mem,find_reloads_address,
2737 find_reloads_address_1): Pass reference to MEM to find_reloads_address
2738 so that LEGITIMIZE_RELOAD_ADDRESS will be called.
2740 2002-06-13 Jessica Han <jessica@cup.hp.com>
2742 * defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New.
2743 (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
2744 * doc/tm.texi: Document them.
2745 * config/ia64/ia64.h (TARGET_VTABLE_ENTRY_ALIGN): New.
2746 (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
2747 (TARGET_VTABLE_USES_DESCRIPTORS): 4 word descriptors for 32-bit mode.
2748 (ASM_OUTPUT_FDESC): Likewise.
2750 2002-06-13 Eric Christopher <echristo@redhat.com>
2752 * diagnostic.c (output_format): Fix thinko.
2754 Thu Jun 13 22:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
2756 * config/sh/coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Don't define.
2757 (DWARF2_UNWIND_INFO): Define to 0.
2759 * config/sh/sh.c (calc_live_regs): Don't use initial_value
2760 optimization for PR_MEDIA_REG.
2762 2002-06-13 Neil Booth <neil@daikokuya.demon.co.uk>
2764 * cpphash.h (_cpp_lex_identifier_trad): Remove.
2765 * cpplib.c (end_directive): Don't skip, always remove overlay
2767 (prepare_directive_trad): Handle NULL pfile->directive.
2768 (_cpp_handle_directive): Always call prepare_directive_trad
2770 * cppmain.c (check_multiline_token): Rename account_for_newlines,
2772 (scan_translation_unit_trad): Use it.
2773 * cpptrad.c (skip_comment): Rename copy_comment, copy comment to
2774 output, get escaped newline in comment close correct.
2775 (check_output_buffer, skip_whitespace): Update.
2776 (_cpp_lex_identifier_trad): Remove.
2777 (scan_out_logical_line): Handle -C and comments in directives
2780 Thu Jun 13 20:18:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
2782 * config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*.
2783 * config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
2784 * sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros.
2785 (SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise.
2786 (SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise.
2787 (SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise.
2788 (SELECT_SH5_COMPACT_NOFPU): Likewise.
2789 (TARGET_SWITCHES): Use them.
2790 (TARGET_CPU_DEFAULT): Define if not already defined.
2791 (TARGET_DEFAULT): Use it.
2792 (LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT.
2793 * config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN.
2794 * config/sh/t-monolib: New file.
2796 2002-06-13 Roger Sayle <roger@eyesopen.com>
2798 * toplev.c (rest_of_compilation): Simplify (and correct) the
2799 logic of the first delete-null-pointer-checks pass.
2801 Thu Jun 13 18:24:17 CEST 2002 Jan Hubicka <jh@suse.cz>
2803 * i386.c (ix86_expand_movstr): Fix pasto.
2805 Thu Jun 13 18:18:17 CEST 2002 Jan Hubicka <jh@suse.cz>
2807 * reload.c (find_valid_class): Fix thinko in my previous patch.
2809 2002-06-13 Ulrich Weigand <uweigand@de.ibm.com>
2811 * config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): New macro.
2812 * config/s390/linux.h (TARGET_OS_CPP_BUILTINS): New macro.
2813 (CPP_PREDEFINES, CPP_SPEC, CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): Remove.
2814 (EXTRA_SPECS): Remove cpp_arch31 and cpp_arch64.
2816 2002-06-13 Gabriel Dos Reis <gdr@codesourcery.com>
2818 * tree-inline.c (expand_call_inline): Don' mess with _DECL
2821 2002-06-13 Gabriel Dos Reis <gdr@codesourcery.com>
2823 * diagnostic.c (output_format): Recognize "%H" as a format
2824 specifier for a location_t.
2825 (text_specifies_location): New function.
2826 (diagnostic_set_info): Use it.
2828 2002-06-13 Jeffrey Law <law@redhat.com>
2830 * emit-rtl.c (static_regno_reg_rtx): Define.
2831 (init_emit_once): Initialize static_regno_reg_rtx.
2832 (init_emit): Copy static_regno_reg_rtx into regno_reg_rtx instead
2833 of building new hard reg objects once per function.
2834 (gen_rtx_REG): Try to share hard regs.
2835 * regclass.c (init_fake_stack_mems): New function broken out from
2837 * rtl.h (init_fake_stack_mems): Declare.
2838 * toplev.c (lang_independent_init): Call init_regs before
2839 init_emit_once. Call init_fake_stack_mems after init_emit_once.
2841 * i386.md (extenddfxf2, extenddftf2): Fix typo/thinko.
2843 * alias.c (argument_registers): Remove.
2844 (init_alias_once): Initialize static_reg_base_value here. Remove
2845 initialization of argument_registers.
2846 (init_alias_once_per_function): Remove.
2847 (init_alias_analysis): Copy all the entries from static_reg_base_value
2848 into new_reg_base_value all at once.
2849 * rtl.h (init_alias_once_per_function): Remove declaration.
2850 * function.c (prepare_function_start): Do not call
2851 init_alias_once_per_function.
2853 * caller-save.c (init_caller_save): Use gen_rtx_INSN instead of
2854 starting a sequence and emitting an INSN.
2856 2002-06-13 Richard Sandiford <rsandifo@redhat.com>
2858 * config/mips/r3900.h (MIPS_CPU_STRING_DEFAULT): Make lower case.
2860 2002-06-13 David S. Miller <davem@redhat.com>
2862 * expmed.c (init_expmed): Remove duplicate init of 'reg'.
2864 2002-06-13 Neil Booth <neil@daikokuya.demon.co.uk>
2866 * cpplib.c (end_directive): Handle line skipping. Only remove
2867 the rest of the line if the directive was valid.
2868 * cppmacro.c (_cpp_push_text_context): Set NODE_DISABLED when
2869 expanding a traditional macro.
2870 * cpptrad.c (recursive_macro): New.
2871 (read_logical_line_trad): Handle skipping.
2872 (scan_out_logical_line): Continue after a successful directive.
2873 Don't expand macros whilst skipping, or if recursing.
2874 (_cpp_create_trad_definition): scan_out_logical_line now sets
2875 the output current position.
2877 2002-06-12 Eric Christopher <echristo@redhat.com>
2879 From Chris Demetriou <cgd@broadcom.com>
2880 * config/mips/mips.h (ISA_HAS_FP4): Add ISA_MIPS64 and fix
2882 (ISA_HAS_MADD_MSUB): Ditto.
2883 (ISA_HAS_NMADD_NMSUB): Ditto.
2885 2002-06-12 Eric Christopher <echristo@redhat.com>
2887 * config.gcc: Consolidate little endian handling and
2888 little/big endian targets.
2889 * config/mips/elfl.h: Remove file.
2890 * config/mips/elfl64.h: Ditto.
2891 * config/mips/ecoffl.h: Ditto.
2892 * config/mips/r3900.h (SUBTARGET_CPP_SPEC): Remove.
2894 2002-06-12 Geoffrey Keating <geoffk@redhat.com>
2896 * gengtype.h (xvasprintf): New prototype.
2897 (xasprintf): New prototype.
2899 (get_output_file): Return an outf_p.
2900 (header_file): Is now an outf_p.
2901 (base_files): Now are outf_p.
2903 * gengtype.c: Replace all output FILE * with outf_p; use oprintf
2904 rather than stdio operations. Use xasprintf in a few places,
2908 (struct filemap): Delete.
2910 (output_files): New.
2912 (create_file): Create an outf_p. Add parameter to indicate output
2913 file name, change all callers.
2914 (open_base_files): Create gtype-desc.c here.
2915 (get_output_file_with_visibility): Rewrite.
2916 (get_output_file_name): Just look at 'name' field in struct outf.
2917 (close_output_files): Rewrite.
2919 2002-06-12 Jason Thorpe <thorpej@wasabisystems.com>
2921 * config/vax/vax.h (MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
2922 (MASK_G_FLOAT): Define.
2923 (TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT): Use them.
2924 (TARGET_SWITCHES): Likewise.
2925 (TARGET_DEFAULT): Likewise.
2927 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
2929 * config/mips/elf.h (DWARF2_DEBUG_INFO): Define.
2930 * config/mips/mips.c (mips_output_filename): Don't print a
2931 ".file" directive if we are using DWARF-2.
2932 (mips_output_function_prologue): Do not emit source file
2933 name for TARGET_GAS.
2935 Wed Jun 12 16:45:13 CEST 2002 Jan Hubicka <jh@suse.cz>
2937 * i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to
2938 decide whether emit the short opcode.
2939 * i386.h (x86_shift1): Declare.
2940 (TARGET_SHIFT1): New macro.
2941 * i386.c (x86_shift1): New global variable.
2943 * toplev.c (rest_of_compilation): Call find_basic_block pre-loop
2944 unconditionally; make loop to rebuild CFG; kill unnecesary
2945 find_basic_block calls; kill compute_bb_for_insn call.
2946 * cfgbuild.c (find_basic_blocks): Kill compute_bb_for_insn call.
2947 * haifa-sched.c (sched_init): Likewise.
2948 * ssa-ccp.c (ssa_const_prop): Likewise.
2949 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
2951 2002-06-11 David S. Miller <davem@redhat.com>
2953 * emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if
2956 2002-06-11 Richard Henderson <rth@redhat.com>
2958 * c-common.c (builtin_define_type_max): New.
2959 (cb_register_builtins): Define __SCHAR_MAX__, __SHRT_MAX__,
2960 __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__, __CHAR_BIT__.
2962 From Joseph S. Myers:
2963 * glimits.h: Rewrite to expect the double underscore definitions
2966 * config/alpha/unicosmk.h, config/avr/avr.h, config/h8300/h8300.h,
2967 config/i386/linux64.h, config/ia64/aix.h, config/ia64/hpux.h,
2968 config/ia64/ia64.h, config/m68hc11/m68hc11.h, config/m68hc11/m68hc12.h,
2969 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2970 config/pa/pa.h, config/rs6000/aix43.h, config/rs6000/aix51.h,
2971 config/rs6000/linux64.h, config/s390/linux.h, config/sh/sh.h,
2972 config/stormy16/stormy16.h: Don't define any of __SHRT_MAX__,
2973 __INT_MAX__, __LONG_MAX__, or __LONG_LONG_MAX__.
2975 2002-06-11 Richard Henderson <rth@redhat.com>
2977 * config/alpha/alpha.c (ALPHA_BUILTIN_THREAD_POINTER): New.
2978 (ALPHA_BUILTIN_SET_THREAD_POINTER): New.
2979 (code_for_builtns): Update.
2980 (alpha_init_builtins): Add __builtin_thread_pointer and
2981 __builtin_set_thread_pointer.
2982 (alpha_expand_builtin): Handle void builtins.
2983 * doc/extend.texi (Alpha Built-in Functions): Update.
2985 2002-06-11 Hans-Peter Nilsson <hp@axis.com>
2988 * config/cris/cris.md ("sleu"): Set attribute "cc" to "none".
2990 2002-06-11 Zack Weinberg <zack@codesourcery.com>
2992 * config.gcc: Make the name of the extra-modes file adjustable
2994 (s390x, strongarm, xscale stanzas): Use this facility.
2995 * configure.in: Update to match.
2996 * configure: Regenerate.
2998 2002-06-11 Aldy Hernandez <aldyh@redhat.com>
3000 * config/rs6000/rs6000.c (rs6000_emit_minmax): Treat unsigned
3001 max/mins as unsigned GE compares.
3003 2002-06-11 Jason Thorpe <thorpej@wasabisystems.com>
3005 * config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.
3006 * config/vax/bsd.h: New file.
3007 * config/vax/netbsd.h: Add missing notice.
3008 (CPP_PREDEFINES): Remove.
3009 (TARGET_OS_CPP_BUILTINS): Define.
3010 (CPP_SPEC): Use NETBSD_CPP_SPEC.
3011 * config/vax/openbsd.h: Update copyright years.
3012 (CPP_PREDEFINES): Remove.
3013 (TARGET_OS_CPP_BUILTINS): Define.
3014 * config/vax/ultrix.h: Likewise.
3015 * config/vax/vaxv.h: Likewise.
3016 * config/vax/vms.h: Likewise.
3017 * config/vax/vax.h (TARGET_CPU_CPP_BUILTINS): Define.
3018 (CPP_PREDEFINES, CPP_SPEC): Remove.
3020 Wed Jun 12 01:50:28 CEST 2002 Jan Hubicka <jh@suse.cz>
3022 * i386.md (addqi_1_slp, subqi_1_slp
3023 (andqi_ext0, testqi_ext0): Remove unnecesary check.
3024 (addhi*, addqi*): Simplify "dec" condition.
3025 (testsi to testqi splitters): Remove TARGET_PROMOTE_QImode check.
3026 (and, or, xor to QImode splitters): New.
3029 (xorqi_ext_1): Rename to xorqi_ext_2; bring to sync with and versions.
3030 (andqi_ext_1_rex64): New.
3034 (rotrqi3*_slp): New.
3035 (rotlqi3*_slp): New.
3037 2002-06-11 Geoffrey Keating <geoffk@redhat.com>
3039 * config.gcc (powerpc*-*-*, rs6000-*-*-*): Don't bother including
3041 * config/rs6000/vxppc.h (CPP_ENDIAN_BIG_SPEC): Delete.
3042 (CPP_ENDIAN_LITTLE_SPEC): Delete.
3043 * config/rs6000/sysv4le.h (CPP_ENDIAN_DEFAULT_SPEC): Delete.
3044 * config/rs6000/sysv4.h (CPP_SYSV_SPEC): Delete _SOFT_FLOAT setting,
3045 __LONG_DOUBLE_128__ setting, _CALL_* setting.
3046 (CPP_DEFAULT_SPEC): Delete.
3047 (CPP_FLOAT_DEFAULT_SPEC): Delete.
3048 (CPP_LONGDOUBLE_DEFAULT_SPEC): Delete.
3049 (CPP_SYSV_DEFAULT_SPEC): Delete.
3050 (CPP_ENDIAN_BIG_SPEC): Delete.
3051 (CPP_ENDIAN_LITTLE_SPEC): Delete.
3052 (CPP_ENDIAN_SPEC): Delete.
3053 (CPP_SPEC): Don't include cpp_endian, cpp_cpu.
3054 (SUBTARGET_EXTRA_SPECS): Delete cpp_sysv_default, cpp_endian_default,
3055 cpp_endian, cpp_endian_big, cpp_endian_little, cpp_float_default,
3056 cpp_longdouble_default.
3057 * config/rs6000/softfloat.h: Delete.
3058 * config/rs6000/rs6000.h (CPP_CPU_SPEC): Delete.
3059 (EXTRA_SPECS): Delete cpp_cpu.
3060 (TARGET_CPU_CPP_BUILTINS): New.
3061 * config/rs6000/rs6000-protos.h (rs6000_cpu_cpp_builtins): New
3063 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): New.
3064 * config/rs6000/linux64.h (CPP_PREDEFINES): Remove endianness defines.
3065 (CPP_DEFAULT_SPEC): Delete.
3066 * config/rs6000/eabiaix.h (CPP_SYSV_DEFAULT_SPEC): Delete.
3067 * config/rs6000/darwin.h (CPP_PREDEFINES): Don't define __BIG_ENDIAN__.
3068 * config/rs6000/beos.h (CPP_SPEC): Remove cpp_cpu.
3069 (CPP_DEFAULT_SPEC): Delete.
3070 * config/rs6000/aix51.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC.
3071 (CPLUSPLUS_CPP_SPEC): Likewise.
3072 (CPP_CPU_SPEC): Delete.
3073 (CPP_DEFAULT_SPEC): Delete.
3074 * config/rs6000/aix43.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC.
3075 (CPLUSPLUS_CPP_SPEC): Likewise.
3076 (CPP_CPU_SPEC): Delete.
3077 (CPP_DEFAULT_SPEC): Delete.
3078 * config/rs6000/aix41.h (CPP_SPEC): Remove cpp_cpu.
3079 (CPP_DEFAULT_SPEC): Delete.
3080 * config/rs6000/aix.h (CPP_SPEC): Remove cpp_cpu.
3081 (CPP_DEFAULT_SPEC): Delete.
3083 * doc/gty.texi: Small updates.
3085 2002-06-12 Gabriel Dos Reis <gdr@codesourcery.com>
3087 * objc/objc-act.c (warn_with_ivar): Adjust calls to
3088 diagnostic_count_error.
3089 (warn_with_method): Likewise.
3091 * diagnostic.h (warnings_are_errors_message): New field of
3093 (diagnostic_count_error): Rename to diagnostic_count_diagnostic to
3095 * diagnostic.c: Adjust calls to diagnostic_count_error through out.
3096 (diagnostic_count_diagnostic): Make aware of other kinds of
3098 (diagnostic_initialize): Initialize warnings_are_errors_message field.
3100 2002-06-11 Tom Tromey <tromey@redhat.com>
3103 * fold-const.c (fold_convert): Don't modify existing tree's type.
3105 2002-06-11 Geoffrey Keating <geoffk@redhat.com>
3107 * config/rs6000/ppc-asm.h: Remove some Windows NT leftovers.
3109 2002-06-11 Richard Henderson <rth@redhat.com>
3111 * caller-save.c (init_caller_save): Clear INSN_CODE each iteration.
3113 2002-06-11 Richard Henderson <rth@redhat.com>
3115 * defaults.h (EH_FRAME_SECTION_NAME): Don't define if
3116 DWARF2_UNWIND_INFO is false.
3118 2002-06-11 Bob Wilson <bob.wilson@acm.org>
3120 * config/xtensa/t-xtensa (LIBGCC1_TEST, CROSS_LIBGCC1): Delete.
3122 * config/s390/s390.c (emit_prologue): gen_store_multiple
3123 returns an insn now, not a pattern.
3125 2002-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3127 * Makefile.in (gccinstall.dvi): Pass absolute pathnames to
3130 Tue Jun 11 21:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
3132 * i386.c (x86_promote_QImode): Set for Athlon
3133 (x86_fast_prefix): New global variable.
3134 (x86_arch_always_fancy_math_387): Fix formating.
3135 * i386.h (x86_fast_prefix): Declare
3136 (TARGET_FAST_PREFIX): define.
3137 * i386.md (and to strict_low_part, HI to SI
3138 promoting splitter): Use new macro.
3140 * i386.h (RTX_COSTS): float_extend is not for free for SSE.
3142 2002-06-11 Zack Weinberg <zack@codesourcery.com>
3144 * Makefile.in (distclean): Delete junk left in testsuite
3147 2002-06-11 Jeffrey Law <law@redhat.com>
3149 * emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the
3150 last insn created by the splitter.
3152 * caller-save.c (init_caller_save): Move creation of SAVEINSN
3153 and RESTINSN into into the scope of the sequence.
3155 * mips.c (mips_expand_prologue): Use emit_jump_insn for trivial
3158 * loop.c (loop_regs_scan): Avoid useless generation of REG objects.
3160 * mips.c (function_arg_advance): gen_ashldi3 returns an INSN now,
3161 not the pattern. So extract the pattern from the insn.
3163 * mips.c (embedded_pic_fnaddr_reg): Fix typo.
3165 2002-06-11 Ulrich Weigand <uweigand@de.ibm.com>
3167 * config/s390/s390.md (movsi): Only use floating point
3168 register alternatives when operands are already fprs.
3169 (movdi_31, movdi_64): Likewise.
3171 2002-06-11 David S. Miller <davem@redhat.com>
3173 * emit-rtl.c (try_split): Do not abort on non-INSN_P.
3174 Only run RTX equality checks on INSN_P rtl.
3176 2002-06-11 Ulrich Weigand <uweigand@de.ibm.com>
3178 * config/s390/s390.md (reload_base, ltorg): Remove.
3179 * s390.c (s390_stop_dump_lit_p, s390_dump_literal_pool,
3180 s390_asm_output_pool_prologue, s390_pool_start_insn): Remove.
3181 * s390-protos.h (s390_stop_dump_lit_p, s390_dump_literal_pool,
3182 s390_asm_output_pool_prologue): Likewise.
3183 * s390.h (s390_pool_start_insn): Likewise.
3185 * s390.c (s390_output_symbolic_const): Remove support for
3186 old-style pool chunks.
3187 (s390_function_epilogue): Likewise.
3188 (s390_output_constant_pool): Likewise. Also, fix incorrect
3189 alignment for 64-bit literal pools.
3190 (print_operand_address): Remove 'y' and 'Y' format flags.
3191 * s390.h (ASM_OUTPUT_POOL_PROLOGUE): Remove support for
3192 old-style pool chunks.
3193 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
3194 (ASM_OUTPUT_POOL_EPILOGUE): Remove.
3195 (S390_CHUNK_MAX, S390_CHUNK_OV, S390_POOL_MAX): Remove.
3197 * s390.c (consttable_operand): New function.
3198 * s390-protos.h (consttable_operand): Declare it.
3199 * s390.h (PREDICATE_CODES): Add consttable_operand.
3200 * s390.md (consttable_qi, consttable_hi, consttable_si, consttable_di,
3201 consttable_sf, consttable_df, pool_start_31, pool_end_31,
3202 pool_start_64, pool_end_64, reload_base, reload_base2): New insns.
3203 * s390.c (struct constant, struct constant_pool): New data types.
3204 (constant_modes, gen_consttable): New variables.
3205 (s390_start_pool, s390_end_pool, s390_add_pool,
3206 s390_dump_pool, s390_free_pool): New functions.
3207 (s390_chunkify_pool): Completely reimplement literal pool
3210 * s390.c (s390_pool_overflow): New variable.
3211 * s390.h (s390_pool_overflow): Declare it.
3212 * s390.md (cjump, icjump): Use it to adapt length for out-of-range
3213 jumps in literal pool overflow situations.
3215 * s390.c (s390_decompose_address): Accept new-style pool chunk offsets.
3216 (s390_frame_info): Account for possible use of RETURN_REGNUM
3217 by new literal pool overflow code.
3218 (s390_emit_prologue): Likewise.
3220 2002-06-05 David S. Miller <davem@redhat.com>
3222 Delete SEQUENCE rtl usage outside of reorg and ssa passes.
3223 * rtl.h (gen_sequence, emit_insns, emit_insns_before,
3224 emit_insns_before_scope, emit_insns_after,
3225 emit_insns_after_scope): Delete declaration.
3226 * ada/misc.c (insert_code_for): Use emit_insn* instead of
3228 * config/alpha/alpha.c (alpha_set_memflags_1): Abort on SEQUENCE.
3229 (alpha_set_memflags): Fix comment.
3230 (set_frame_related_p): Use get_insns instead of gen_sequence.
3231 * config/alpha/alpha.md (setjmp receiver splitter): Avoid
3233 * config/arm/arm.c (arm_finalize_pic): Use get_insns instead of
3235 (arm_gen_load_multiple, arm_gen_store_multiple): Likewise.
3236 * config/fr30/fr30.c (fr30_move_double): Likewise.
3237 * config/i386/i386.c (ix86_expand_int_movcc, ix86_expand_movstr):
3239 * config/ia64/ia64.c (spill_restore_mem): Likewise.
3240 * config/ia64/ia64.md (conditional move spliiter): Avoid emitting
3242 * config/m32r/m32r.c (gen_split_move_double): Use get_insns
3243 instead of gen_sequence.
3244 * config/mips/mips.c (embedded_pic_fnaddr_reg): Likewise.
3245 (mips_expand_prologue, mips16_gp_pseudo_reg): Likewise.
3246 * config/sh/sh.c (sh_need_epilogue): Likewise.
3247 * config/sparc/sparc.md (current_function_calls_alloca, flat): New
3249 (setjmp pattern and split): Use them to avoid splitter which emits
3251 * genattrtab.c (main): Emit include of function.h
3252 * config/stormy16/stormy16.c (xstormy16_split_cbranch): Use
3253 get_insns instead of gen_sequence.
3254 * config/cris/cris.c (cris_split_movdx): Likewise.
3255 * emit-rtl.c (emit_insns*): Kill.
3256 (try_split): Expect insn list instead of SEQUENCE.
3257 (make_jump_insn_raw, make_call_insn_raw): Fix comments.
3258 (emit_*insn*): Reimplement to work with INSN lists and PATTERNs.
3259 Make them abort if a SEQUENCE is given and RTL checking is
3261 (emit_*_scope): Don't forget to set scope on final insn.
3262 (gen_sequence): Move from here...
3263 * ssa.c (gen_sequence): To here as private function.
3264 * builtins.c (expand_builtin_apply_args): Use emit_insn_foo, fix
3266 (expand_builtin_return, expand_builtin_mathfn): Likewise.
3267 (expand_builtin_strlen): Use get_insns instead of gen_sequence.
3268 (expand_builtin_saveregs): Use emit_insn_foo, fix comments.
3269 (expand_builtin_expect_jump): Use get_insns and fix comments.
3270 * calls.c (try_to_integrate): Use emit_insn_foo.
3271 (expand_call, emit_library_call_value_1): Likewise.
3272 * expr.c (emit_queue): Handle insn lists instead of SEQUENCE.
3273 (emit_move_insn_1): Use get_insns instead of gen_sequence.
3274 (expand_expr): Use emit_insn_foo.
3275 * cfgrtl.c (commit_one_edge_insertion): Use emit_insn_foo.
3276 * except.c (build_post_landing_pads): Likewise.
3277 * flow.c (attempt_auto_inc): Likewise.
3278 * stmt.c (expand_fixup, fixup_gotos, expand_nl_handler_label,
3279 expand_nl_goto_receivers, expand_decl_cleanup): Likewise.
3280 * function.c (fixup_var_refs_insn): Use get_insns instead of
3282 (fixup_var_refs_1): Likewise and expect insn list from gen_foo.
3283 (fixup_memory_subreg): Use get_insns instead of gen_sequence.
3284 (fixup_stack_1, purge_addressof_1, expand_main_function,
3285 get_arg_pointer_save_area): Likewise.
3286 (optimize_bit_field, instantiate_virtual_regs_1, assign_parms,
3287 expand_function_end): Use emit_insn_foo.
3288 (record_insns, keep_stack_depressed): Work with insn list instead
3289 of SEQUENCE, fix comments.
3290 * ifcvt.c (noce_emit_store_flag, noce_try_store_flag,
3291 noce_try_store_flag_constants, noce_try_store_flag_inc,
3292 noce_try_store_flag_mask, noce_emit_cmove, noce_try_cmove_arith,
3293 noce_try_minmax, noce_try_abs): Use emit_insn_foo.
3294 (noce_process_if_block): Use get_insns instead of gen_sequence.
3295 * optabs.c (add_equal_note): Work with insn list, fix comments.
3296 (expand_binop): Expect insn list from GEN_FCN(), use emit_insn_foo.
3297 (expand_unop, expand_complex_abs, expand_unop_insn,
3298 expand_no_conflict_block): Likewise.
3299 (gen_move_insn): Use get_insns instead of gen_sequence.
3300 (gen_cond_trap): Likewise.
3301 * integrate.c (copy_rtx_and_substitute): Likewise.
3302 (emit_initial_value_sets): Use emit_insn_foo.
3303 * reload1.c (emit_output_reload_insns, emit_reload_insns): Likewise.
3304 (fixup_abnormal_edges): Avoid losing REG_NOTES more intelligently
3305 now that RTL generators give insn lists.
3306 * sibcall.c (replace_call_placeholder): Use emit_insn_foo.
3307 * doloop.c (doloop_modify, doloop_modify_runtime): Use get_insns
3308 instead of gen_sequence.
3309 (doloop_optimize): Work with insn lists instead of SEQUENCE rtl.
3310 * explow.c (emit_stack_save, emit_stack_restore): Use get_insns
3311 instead of gen_sequence.
3312 * loop.c (move_movables, emit_prefetch_instructions,
3313 gen_add_mult, check_dbra_loop, gen_load_of_final_value):
3315 (loop_regs_update): Work with insn list instead of SEQUENCE rtl.
3316 (product_cheap_p): Likewise, and add commentary about RTL wastage
3318 * lcm.c (optimize_mode_switching): Use get_insns instead of
3320 * profile.c (gen_edge_profiler): Likewise.
3321 * regmove.c (copy_src_to_dest): Likewise.
3322 * reg-stack.c (compensate_edge): Likewise and fix comment.
3323 * gcse.c (process_insert_insn): Likewise.
3324 (insert_insn_end_bb): Work with insn list instead of SEQUENCE rtl.
3325 * jump.c (delete_prior_computation): Update comment.
3326 * genemit.c (gen_expand, gen_split, main): Use get_insns instead
3327 of gen_sequence, update comments to match.
3328 * recog.c (peephole2_optimize): Work with insn lists instead of
3330 * sched-vis.c (print_pattern): Abort on SEQUENCE.
3331 * unroll.c (unroll_loop, find_splittable_givs, final_giv_value):
3332 Use get_insns instead of gen_sequence.
3333 (copy_loop_body): Likewise and don't emit dummy NOTE.
3334 * genrecog.c: Don't mention SEQUENCE rtl in comments.
3335 * combine.c (try_combine): Expect insn lists from split generator.
3336 * reorg.c (relax_delay_slots): Emit SEQUENCE into insn list by
3339 2002-06-11 Roger Sayle <roger@eyesopen.com>
3340 Andreas Jaeger <aj@suse.de>
3342 * cfgbuild.c: Update copyright years.
3344 2002-06-11 Andreas Schwab <schwab@suse.de>
3346 * config/m68k/m68k.h (PREDICATE_CODES): Define.
3348 2002-06-11 Eric Christopher <echristo@redhat.com>
3350 * doc/tm.texi (Run-time Target): Add comment about flag_iso
3352 * config/mips/ecoff.h (CPP_PREDEFINES): Remove.
3353 * config/mips/ecoffl.h: Ditto.
3354 * config/mips/elf64.h (SUBTARGET_CPP_SPEC): Remove.
3355 (CPP_PREDEFINES): Ditto.
3356 * config/mips/elfl64.h: Ditto.
3357 * config/mips/elfl.h: Ditto.
3358 * config/mips/iris3.h (CPP_PREDEFINES, SUBTARGET_CPP_SPEC): #if 0
3359 out until irix header consolidation.
3360 * config/mips/iris5.h (CPP_PREDEFINES, SUBTARGET_CPP_SPEC): Replace
3361 with SUBTARGET_OS_CPP_BUILTINS.
3362 * config/mips/iris6.h: Ditto.
3363 (CPLUSPLUS_CPP_SPEC): Remove.
3364 * config/mips/linux.h: Ditto.
3365 * config/mips/netbsd.h: Ditto.
3366 * config/mips/openbsd.h: Ditto.
3367 * config/mips/rtems.h: Ditto.
3368 * config/mips/rtems64.h: Ditto.
3369 * config/mips/sni-svr4.h: Ditto.
3370 * config/mips/mips.h (ISA_MIPS1, ISA_MIPS2, ISA_MIPS3, ISA_MIPS4,
3371 ISA_MIPS32, ISA_MIPS64): New defines.
3372 (GENERATE_MULT3_SI, HAVE_SQRT_P, ISA_HAS_64BIT_REGS,
3373 ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4,
3374 ISA_HAS_COND_TRAP, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
3375 ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Use.
3376 (TARGET_CPU_CPP_BUILTINS): Define.
3377 (CPP_PREDEFINES, LONG_MAX_SPEC, CPP_FPR_SPEC, CPP_SPEC): Remove.
3378 * config/mips/mips.md (mulsi3_mult3): Use ISA_MIPS32/64.
3379 (movdicc): Remove check for ISA_MIPS32.
3380 (bunordered, bordered, bungt, bunlt, buneq, bunge, bunle,
3381 sunordered_df, sunordered_sf, sordered_df, sordered_sf,
3382 sunlt_df, sunlt_sf, sungt_df, sungt_sf, suneq_df, suneq_sf, sunge_df,
3383 sunge_sf, sunle_df, sunle_sf): New patterns.
3385 2002-06-11 Neil Booth <neil@daikokuya.demon.co.uk>
3387 * Makefile.in: Update cppmain.o.
3388 * cpphash.h (struct cpp_reader): Move some members to a
3390 (trad_line): Rename saved_line.
3391 (_cpp_read_logical_line_trad): Update.
3392 (_cpp_remove_overlay): New.
3393 * cppinit.c (cpp_create_reader): No need to set saved_line.
3394 (cpp_destroy): Update.
3395 (cpp_read_main_file): Only overlay if compiling.
3396 * cpplex.c (continue_after_nul): Return false if in directive.
3397 * cpplib.c (EXPAND): New.
3398 (directive_table, SEEN_EOL): Update.
3399 (end_directive): Remove overlay if traditional; don't skip
3400 line in traditional #define.
3401 (prepare_directive_trad): New.
3402 (_cpp_handle_directive, run_directive): Update for traditional
3404 (lex_macro_node): Simplify, don't use lex_identifier_trad.
3405 * cpplib.h (struct options): Add preprocess_only.
3406 * cppmain.c: Don't include intl.h.
3407 (cpp_preprocess_file): Set options->preprocess_only.
3408 (scan_translation_unit_trad): Fix, and print line numbers.
3409 * cpptrad.c (check_output_buffer, lex_identifier, scan_parameters,
3410 maybe_start_funlike, scan_out_logical_line, replace_args_and_push,
3411 save_replacement_text, _cpp_create_trad_definition): Update for
3413 (_cpp_overlay_buffer): Save line number.
3414 (_cpp_remove_overlay): Rename from restore_buff, restore line.
3415 (_cpp_read_logical_line_trad): Don't handle overlays here.
3416 (scan_out_logical_line): Process directives.
3418 2002-06-11 Danny Smith <dannysmith@users.sourforge.net>
3420 * gthr-win32.h: Wrap functions in extern "C".
3421 (__gthread_key_t): Typedef as unsigned long,
3423 (__GTHREAD_ONCE_INIT): Use 0, not win32 FALSE.
3424 (__gthread_mutex_t): Typedef as void*, not win32 HANDLE.
3425 (__gthr_win32_once, __gthr_win32_key_create,
3426 __gthr_win32_key_delete, __gthr_win32_getspecific,
3427 __gthr_win32_setspecific, __gthr_win32_mutex_init_function,
3428 __gthr_win32_mutex_lock,__gthr_win32_mutex_trylock,
3429 __gthr_win32_mutex_unlock): Declare.
3430 (__gthread_once,__gthread_key_create,
3431 __gthread_key_delete, __gthread_getspecific,
3432 __gthread_setspecific, __gthread_mutex_init_function,
3433 __gthread_mutex_lock,__gthread_mutex_trylock,
3434 __gthread_mutex_unlock): Call corresponding
3435 __gthr_win32_* extern implementations if #defined
3436 __GTHREAD_HIDE_WIN32API.
3437 * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Set to
3438 $(srcdir)/config/i386/gthr-win32.c
3439 * config/i386/gthr-win32.c: New implementation file.
3440 (__gthr_win32_once, __gthr_win32_key_create,
3441 __gthr_win32_key_delete, __gthr_win32_getspecific,
3442 __gthr_win32_setspecific, __gthr_win32_mutex_init_function,
3443 __gthr_win32_mutex_lock,__gthr_win32_mutex_trylock,
3444 __gthr_win32_mutex_unlock): New functions, based on
3445 static inlines in gthr-win32.h.
3447 2002-06-10 Bob Wilson <bob.wilson@acm.org>
3449 * config/xtensa/xtensa.c (override_options): Don't warn about
3450 using -fpic or -fPIC when PIC is enabled by default.
3452 2002-06-10 Roger Sayle <roger@eyesopen.com>
3454 * toplev.c (rest_of_compilation): Revert flag_if_conversion change.
3456 2002-06-10 Zack Weinberg <zack@codesourcery.com>
3458 * Makefile.in (MACHMODE_H): Add @extra_modes_file@.
3459 * configure.in: If $srcdir/config/${cpu_type}/${cpu_type}-modes.def
3460 exists, substitute its pathname as @extra_modes_file@, define
3461 EXTRA_MODES_FILE to be an appropriate string to #include it
3462 with, and define EXTRA_CC_MODES to 1.
3464 * machmode.def: Update comments. Include EXTRA_MODES_FILE if
3465 it's defined. Get rid of redundancy in calling sequence for
3466 CC; don't use it to define CCmode, to avoid a warning.
3467 * libgcc2.c: Include symcat.h for the sake of machmode.def.
3469 * arc-modes.def, arm-modes.def, c4x-modes.def, i386-modes.def,
3470 i960-modes.def, ia64-modes.def, m88k-modes.def, mmix-modes.def,
3471 pa-modes.def, pdp11-modes.def, rs6000-modes.def, sparc-modes.def:
3473 * arc.h, arm.h, c4x.h, i386.h, i960.h, ia64.h, m88k.h, mmix.h,
3474 pa.h, pdp11.h, rs6000.h, sparc.h: Don't define EXTRA_CC_MODES.
3476 * doc/sourcebuild.texi, doc/tm.texi: Document new scheme for
3477 defining extra CC modes.
3479 2002-06-10 Roger Sayle <roger@eyesopen.com>
3480 Andreas Jaeger <aj@suse.de>
3482 * cfgrtl.c (create_basic_block_structure): Remove index argument
3483 and use last_basic_block++ instead. (create_basic_block): Update.
3484 * cfgbuild.c (find_basic_blocks_1): Likewise.
3486 * cfgrtl.c (compute_bb_for_insn): Remove unused "max" argument.
3487 * haifa-sched.c (sched_init): Update compute_bb_for_insn caller.
3488 * sched-ebb.c (schedule_ebbs): Likewise.
3489 * sched-rgn.c (schedule_insns): Likewise.
3490 * ssa-ccp.c (ssa_const_prop): Likewise.
3491 * ssa-dcs.c (ssa_eliminate_dead_code): Likewise.
3492 * toplev.c (rest_of_compilation): Likewise.
3493 * config/ia64/ia64.c (ia64_reorg): Likewise.
3495 2002-06-10 Roger Sayle <roger@eyesopen.com>
3497 * simplify-rtx.c (simplify_replace_rtx): Allow replacement
3498 of matching registers.
3500 2002-06-10 Roger Sayle <roger@eyesopen.com>
3502 * toplev.c (rest_of_compilation): Disable early if-conversion pass.
3503 * gcse.c (bypass_conditional_jumps): Fix typo in setcc test.
3505 2002-06-10 Hans-Peter Nilsson <hp@bitrange.com>
3507 * config/mmix/mmix.h: Improve comments.
3508 (CPP_SPEC, CPP_PREDEFINES): Don't define.
3509 (TARGET_CPU_CPP_BUILTINS): Define.
3510 (CANONICALIZE_COMPARISON): Don't define, replace with comment.
3511 (PREDICATE_CODES) <"mmix_reg_or_8bit_or_256_operand">: Remove
3513 * config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Add cast to avoid
3515 (mmix_constant_address_p): Remove another
3516 redundant test before case.
3517 (mmix_canonicalize_comparison): Remove unused function.
3518 (mmix_print_operand_address): Don't test and adjust for operand in
3519 non-canonical format.
3520 (mmix_reg_or_8bit_or_256_operand): Remove unused predicate.
3521 (mmix_gen_compare_reg): Don't use CANONICALIZE_COMPARISON.
3523 2002-06-10 Zack Weinberg <zack@codesourcery.com>
3525 * config/m32r/m32r.h: Don't define SELECT_CC_MODE.
3526 * config/m32r/m32r-protos.h: Don't prototype m32r_select_cc_mode.
3527 * config/m32r/m32r.c: Don't define m32r_select_cc_mode.
3528 (gen_compare): Use CCmode unconditionally.
3530 2002-06-10 Jakub Jelinek <jakub@redhat.com>
3532 PR optimization/6759
3533 * cse.c (cse_insn): Fold src_eqv just once, store it folded back into
3536 2002-06-10 Jakub Jelinek <jakub@redhat.com>
3539 * c-decl.c (grokfield): Allow user defined types if they declare
3540 structs or unions for unnamed fields.
3542 2002-06-10 Jakub Jelinek <jakub@redhat.com>
3545 * print-rtl.c (print_mem_expr): Don't crash on unnamed fields.
3547 2002-06-10 Jakub Jelinek <jakub@redhat.com>
3549 PR optimization/6842
3550 * combine.c (combine_simplify_rtx) [SUBREG]: Don't ICE if VOIDmode
3551 operand subreg cannot be simplified.
3553 2002-06-10 Jakub Jelinek <jakub@redhat.com>
3555 * varasm.c (const_hash): Handle FDESC_EXPR like ADDR_EXPR.
3556 (compare_constant): Likewise.
3557 (output_addressed_constants): Likewise.
3559 2002-06-10 Jakub Jelinek <jakub@redhat.com>
3561 * cfgcleanup.c (try_optimize_cfg): Make sure merge_blocks doesn't
3562 merge bb with itself.
3564 2002-06-10 Richard Henderson <rth@redhat.com>
3566 * config/alpha/alpha.md (builtin_zap): Fix thinkos expanding mask.
3567 (builtin_zapnot): Likewise.
3569 * config/alpha/ev5.md: Don't combine shift and mvi insns in one
3572 2002-06-10 Eric Christopher <echristo@redhat.com>
3574 * config/i386/i386.c (ix86_osf_output_function_prologue): Remove
3575 prototype and function.
3576 (TARGET_ASM_FUNCTION_PROLOGUE): Remove OSF version.
3577 (call_insn_operand): Remove half pic references.
3578 (legitimate_address_p): Ditto.
3579 * config/i386/i386.h: Remove half pic defines.
3581 2002-06-10 Eric Christopher <echristo@redhat.com>
3583 * doc/extend.texi (Return Address): Add note explaining the side-
3584 effects of inlining on __builtin_return_address.
3586 2002-06-10 Tom Tromey <tromey@redhat.com>
3588 * Makefile.in (LANGHOOKS_DEF_H): Include langhooks-def.h.
3589 (c-common.o): Depend on langhooks.h.
3591 2002-06-10 Neil Booth <neil@daikokuya.demon.co.uk>
3593 * cpphash.h (_cpp_read_logical_line_trad,
3594 _cpp_expansions_different_trad): Update prototypes.
3595 * cpplex.c (continue_after_nul): New.
3596 * cppmain.c: Include cpphash.h.
3597 (scan_translation_unit_trad): New.
3598 (cpp_preprocess_file): Call it.
3599 * cpptrad.c (_cpp_read_logical_line_trad): Take new parameter
3601 (_cpp_expansions_different_trad): Update prototype.
3603 Mon Jun 10 18:02:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
3605 Fix cfi generation for SH[1-4]:
3607 * sh.c (frame_insn): New function.
3608 (output_stack_adjust): Add parameter emit_fn. All callers changed.
3609 (push): Now returns rtx. Use frame_insn.
3610 (sh_expand_prologue): Clear RTX_FRAME_RELATED_P for second push
3612 * sh.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_RETURN_COLUMN): Define.
3614 2002-06-10 Zack Weinberg <zack@codesourcery.com>
3616 * Makefile.in (STAGESTUFF): Add s-gtype, gt-*.h, gtype-*.h,
3618 (mostlyclean): Delete specs.h, options.h, gencheck.h here...
3619 (distclean): ... not here. But do delete all testsuite/*.log,
3620 testsuite/*.sum files here. Delete mkheaders. Delete
3621 po/*.gmo and the testsuite directory in a split tree build.
3623 2002-06-10 Jeffrey Law <law@redhat.com>
3625 * alias.c (static_reg_base_value): New to hold RTL for
3626 items allocated once per function for the aliasing code.
3627 (init_alias_once_per_function): Initialize static_reg_base_value.
3628 (init_alias_analysis): Avoid throw-away allocations of RTL by
3629 using pre-computed values in static_reg_base_value.
3630 * function.c (prepare_function_start): Call
3631 init_alias_once_per_function appropriately.
3632 * rtl.h (init_alias_once_per_function): Declare.
3633 * caller-save (init_caller_save): Restructure slightly to
3634 avoid lots of silly RTL generation.
3635 * expr.c (init_expr_once): Likewise.
3636 * reload1.c (reload_cse_regs_1): Allocate throw-away register
3637 RTL object here. Pass it into children.
3638 (reload_cse_simplify_operands): Use passed-in register RTL
3640 (reload_cse_simplify): Pass through throw-away register
3643 2002-06-10 Daniel Berlin <dberlin@dberlin.org>
3645 * Makefile.in (ssa.o): Add dependency on $(RTL_H), which was missing.
3647 2002-06-10 Richard Sandiford <rsandifo@redhat.com>
3649 * gcc.c (process_command): Avoid assignment to read-only location.
3650 Fix sizeof calculation.
3652 2002-06-10 Neil Booth <neil@daikokuya.demon.co.uk>
3654 * cpphash.h (struct cpp_macro): Put comments on their own lines.
3655 (_cpp_expansions_different_trad): New.
3656 * cppmacro.c (warn_of_redefinition): Fix for traditional case.
3657 * cpptrad.c (canonicalize_text): New.
3658 (scan_out_logical_line): Handle no arguments correctly.
3659 (save_replacement_text): Commit memory when finished.
3660 (_cpp_expansions_different_trad): New.
3662 2002-06-10 Tim Josling <tej@melbpc.org.au>
3664 * gengtype.c (unnamed enum containing BASE_FILE_*): Add languages
3666 (lang_names): Add treelang and cobol.
3667 (get_file_basename): Add code to support treelang and cobol as
3668 4th and 5th users of c-common.c.
3670 2002-06-09 Geoffrey Keating <geoffk@redhat.com>
3672 * Makefile.in (install-driver): Install driver as
3673 $(target_alias)-gcc-$(version).
3674 * gcc.c (spec_version): Make const.
3675 (process_command): Handle -V and -b by using exec.
3676 * doc/invoke.texi (Target Options): Restore -V option,
3677 update docs for -b option.
3679 2002-06-10 Tim Josling <tej@melbpc.org.au>
3681 * configure.in (remaining_languages_check):
3682 Added check that all languages specified were found.
3683 Exit if not found. Previous behaviour was silent failure.
3684 * configure: Regenerated.
3686 2002-06-10 Tim Josling <tej@melbpc.org.au>
3688 First steps to making treelang documentation compliant, based on
3689 instructions in sourcebuild.texi. Also add to gcc.c list of
3692 * doc/contrib.texi: Add self as contributor of treelang.
3694 * doc/frontends.texi: Add mention of treelang.
3696 * doc/invoke.texi (Overall Options): Add mention of treelang.
3698 * doc/standards.texi: Add mention of treelang.
3700 2002-06-09 Hans-Peter Nilsson <hp@axis.com>
3702 * config/cris/cris.c: Include ggc.h
3704 2002-06-09 Neil Booth <neil@daikokuya.demon.co.uk>
3706 * cpphash.h (_cpp_push_text_context): Update.
3707 (_cpp_arguments_ok): New.
3708 * cppmacro.c (_cpp_arguments_ok): New, split out from...
3709 (collect_args): ...here.
3710 (_cpp_push_text_context): Change inputs.
3711 * cpptrad.c (struct fun_macro, maybe_start_funlike, save_argument,
3712 replace_args_and_push): New.
3713 (lex_identifier, _cpp_lex_identifier_trad, scan_parameters):
3714 Don't use IS macros directly.
3715 (scan_out_logical_line): Handle function-like macro argument
3717 (push_replacement_text): Update.
3718 (replacement_length): Remove.
3719 (_cpp_create_trad_definition): Don't skip whitespace before
3722 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
3724 * config/avr/avr.c (avr_mcu_types): Update for new devices.
3725 * config/avr/avr.h (TARGET_SWITCHES, AVR_MEGA): Add -mshort-calls.
3726 (LINK_SPEC, CRT_BINUTILS_SPECS): Update for new devices.
3727 * config/avr/avr.md ("type" and "length" attributes): New type
3728 "xcall", length 1 or 2 if AVR_MEGA. Use in all patterns that
3729 output a single "call" or "rcall" insn depending on device size.
3730 * config/avr/t-avr (MULTILIB_MATCHES): Update for new devices.
3732 2002-06-09 David Edelsohn <edelsohn@gnu.org>
3734 * config/rs6000/{aix43.h,aix5.1} (ASM_CPU_SPEC): Add power3
3735 synonym for 630. Add power4. Remove embedded processors. Use -m604
3737 (CPP_CPU_SPEC): Add power3 and power4.
3738 (PROCESSOR_DEFAULT): Change to 604e.
3739 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Similar additions.
3740 (CPP_CPU_SPEC): Similar additions.
3741 (enum process_type): Add POWER4.
3742 (RTX_COSTS): Add POWER4.
3743 (CPP_CPU_SPEC): Similar additions.
3744 * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Define.
3745 (PROCESSOR_DEFAULT64): Define.
3746 * config/rs6000/rs6000.c (rs6000_override_options): Add power4.
3747 (rs6000_adjust_cost): Add 603, 604, 604e, 620, 630, Power4 to
3749 (rs6000_issue_rate): Add Power4.
3750 * config/rs6000/rs6000.md (cpu attr): Add power4.
3751 (iu compare): Remove 604, 604e, 620, 630.
3752 Add basic Power4 scheduling information.
3753 (mfcr/mtcrf): Change type attribute to cr_logical.
3755 2002-06-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3757 * gengtype.h (error_at_line): Use PARAMS, not VPARAMS. Add
3759 * gengtype-lex.l: Fix format specifier warning.
3761 * genautomata.c: Don't include ctype.h or limits.h. Use ISSPACE,
3763 * gengtype-lex.l: Don't include ctype.h and use ISSPACE/ISIDNUM in
3764 lieu of isspace/IDchar.
3765 * gengtype.c: Likewise for ctype.h and ISALNUM vs isalnum.
3766 * read-rtl.c: Likewise for ctype.h. Don't define ISDIGIT or
3769 2002-06-08 Zack Weinberg <zack@codesourcery.com>
3771 * Makefile.in (LIBCPP_OBJS): Take out version.o.
3772 * cpphash.h (cpp_reader): Take out print_version member.
3773 * cppinit.c: (cpp_handle_option): Don't do anything with
3774 -version. Just set help_only for --version, --target-help.
3775 Just set verbose option for -v.
3776 (cpp_post_options): Don't print a version string.
3778 2002-06-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
3780 * config/avr/avr.c (TARGET_SECTION_TYPE_FLAGS): New.
3781 (avr_section_type_flags): New, handle .noinit* sections.
3783 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
3785 * config/sh/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): Define
3786 and include netbsd_entry_point.
3787 (SUBTARGET_LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF.
3788 (NETBSD_ENTRY_POINT): Define.
3790 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
3792 * config/sh/sh.h (SUBTARGET_EXTRA_SPECS): Define empty
3793 if not already defined.
3794 (EXTRA_SPECS): Add SUBTARGET_EXTRA_SPECS.
3796 2002-06-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
3798 * config/avr/avr.c (avr_regs_to_save): No need to save any registers
3799 in a noreturn function.
3800 (avr_output_function_prologue, avr_output_function_epilogue):
3801 Correct function size calculation. Do not crash on empty function.
3802 (avr_output_function_epilogue): No need for epilogue after a BARRIER.
3804 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
3806 * config/mips/netbsd.h (SUBTARGET_EXTRA_SPECS): Add
3807 netbsd_link_spec and netbsd_entry_point.
3808 (LINK_SPEC): Use %(netbsd_link_spec).
3809 (NETBSD_ENTRY_POINT): Define.
3811 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
3813 * config/sparc/netbsd-elf.h (LINK_ARCH32_SPEC): Only specify
3815 (LINK_ARCH64_SPEC): Likewise.
3816 (LINK_SPEC, NETBSD_ENTRY_POINT): Define.
3817 (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and netbsd_entry_point.
3819 2002-06-08 Marc Espie <espie@openbsd.org>
3821 * lists.c (free_list): Fix typo in comment.
3823 2002-06-08 Andreas Jaeger <aj@suse.de>
3825 * lcm.c (optimize_mode_switching): Add unused attribute for
3828 * sched-deps.c (sched_analyze): Remove unused variable.
3830 2002-06-08 Gabriel Dos Reis <gdr@codesourcery.com>
3832 * diagnostic.def: Don't capitalize diagnostict descriptors.
3834 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
3836 * config/m68k/netbsd-elf.h (EXTRA_SPECS): Add netbsd_entry_point.
3837 (LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF.
3838 (NETBSD_ENTRY_POINT): Define.
3840 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
3842 * config/i386/netbsd-elf.h (LINK_SPEC): Define as
3843 NETBSD_LINK_SPEC_ELF.
3844 (SUBTARGET_EXTRA_SPECS): Add netbsd_entry_point.
3845 (NETBSD_ENTRY_POINT): Define.
3846 * config/i386/netbsd64.h (LINK_SPEC): Use %(netbsd_link_spec).
3847 (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and
3849 (NETBSD_ENTRY_POINT): Define.
3851 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
3853 * config/alpha/netbsd.h (SUBTARGET_EXTRA_SPECS): Add
3854 netbsd_link_spec and netbsd_entry_point.
3855 (LINK_SPEC): Use %(netbsd_link_spec).
3856 (NETBSD_ENTRY_POINT): Define.
3858 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
3860 * config/netbsd-elf.h (LINK_SPEC): Rename to...
3861 (NETBSD_LINK_SPEC_ELF): ...this. Use %(netbsd_entry_point)
3862 to specify program entry point.
3864 2002-06-07 Jeff Law <law@redhat.com
3866 * emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx.
3867 * combine.c (move_deaths): Use regno_reg_rtx for hard regs rather
3868 than creating a new register.
3869 (distribute_notes): Likewise.
3870 * df.c (df_reg_use_gen): Likewise.
3871 (df_reg_clobber_gen): Likewise.
3872 (df_ref_record): Likewise.
3873 * expr.c (use_regs): Likewise.
3874 * flow.c (propagate_one_insn): Likewise.
3875 (mark_set_1): Likewise.
3876 (mark_used_reg): Likewise.
3877 * reload.c (emit_reload_insns): Likewise.
3879 2002-06-07 Roger Sayle <roger@eyesopen.com>
3881 * simplify-rtx.c (simplify_gen_relational): Simplify RTL of the form
3882 (ne (comp x y) 0) into (comp x y) where comp is a comparison code.
3883 Simplify (eq (comp x y) 0) into (revcomp x y) if the sense of the
3884 comparison code comp can be reversed.
3886 2002-06-07 Roger Sayle <roger@eyesopen.com>
3888 * fold-const.c (fold) [EQ_EXPR]: Place both integer and real
3889 constants last in comparisons. Optimize (x+1.0)>0.0 into the
3890 equivalent x > -1.0 when -ffast-math.
3892 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com>
3894 * config.gcc (mips*-*-netbsd*): Add mips/t-netbsd to ${tmake_file}.
3895 * config/mips/t-netbsd: New file.
3897 2002-06-07 Zack Weinberg <zack@codesourcery.com>
3899 * cppinit.c (COMMAND_LINE_OPTIONS): Give all relevant -W
3900 options their own entries.
3901 (parse_option): Clarify comment.
3902 (cpp_handle_option): Remove 'ignore' parameter and OPT_W
3903 special case. Replace if/strcmp chain for -W options with
3904 use of new OPT_* entries for them.
3905 (cpp_handle_options): Update to match.
3906 * cpplib.h: Remove last parameter to cpp_handle_option from prototype.
3907 * c-decl.c: Update call to cpp_handle_option.
3909 2002-06-07 Akim Demaille <akim@epita.fr>
3911 * gengtype-yacc.y (optionseqopt): Add the ending `;' to the action.
3914 2002-06-07 Jeffrey Law <law@redhat.com>
3916 * sched-deps.c (free_deps): Avoid calling free_INSN_LIST_list
3919 2002-06-07 H.J. Lu (hjl@gnu.org)
3921 * configure.in: Add --enable-__cxa_atexit.
3922 * configure: Regenerated.
3923 * config.in: Likewise.
3925 * defaults.h (DEFAULT_USE_CXA_ATEXIT): New. Defined to be 0 if
3928 2002-06-07 Gabriel Dos Reis <gdr@merlin.nerim.net>
3930 * diagnostic.c (diagnostic_build_prefix): Fix initialization.
3932 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com>
3934 * config/mips/netbsd.h (CACHE_FLUSH_FUNC): Define.
3936 2002-06-07 Jason Merrill <jason@redhat.com>
3938 * cppexp.c (num_equality_op): Use a temporary variable to work
3939 around gcc 3.0.4 bug.
3941 2002-06-07 Gabriel Dos Reis <gdr@codesourcery.com>
3943 * diagnostic.c (diagnostic_build_prefix): Tidy.
3945 2002-06-07 Neil Booth <neil@daikokuya.demon.co.uk>
3947 * cpptrad.c (struct block, BLOCK_HEADER_LEN, BLOCK_LEN,
3948 scan_parameters, save_replacement_text, replacement_length): New.
3949 (scan_out_logical_line): Take a macro and save parameters if
3951 (_cpp_logical_line_trad): Update.
3952 (_cpp_create_trad_definition): Update to handle function-like
3954 * cpplex.c (new_buff): Update.
3955 (struct dummy, DEFAULT_ALIGNMENT, CPP_ALIGN): Move...
3956 * cpphash.h: ...here.
3957 (CPP_ALIGN2, _cpp_save_parameter): New.
3958 * cppmacro.c (save_parameter): Rename, export.
3959 (parse_params): Update.
3961 2002-06-07 Andreas Jaeger <aj@suse.de>
3963 * config/mmix/mmix.c: Remove extra broken prototype for
3964 mmix_init_machine_status.
3966 2002-06-06 Geoffrey Keating <geoffk@redhat.com>
3968 * gengtype.c: Add comments before all the routines.
3970 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com>
3972 * config.gcc (sh5*-*-netbsd*): Remove sh/t-netbsd-sh5-32
3973 from and add t-sh64 to ${tmake_file}.
3974 (sh64*-*-netbsd*): Add t-sh64 to ${tmake_file}.
3975 * config/sh/t-netbsd-sh5 (LIB1ASMFUNCS): Remove.
3976 * config/sh/t-netbsd-sh5-32: Remove.
3977 * config/sh/t-netbsd-sh5-64 (MULTILIB_OPTIONS): Use
3979 (MULTILIB_DIRNAMES): Define.
3981 Thu Jun 6 23:14:46 CEST 2002 Jan Hubicka <jh@suse.cz>
3983 * i386.md (and promoting splitters): Disable QI to SImode promoting
3984 when doing so changes immediate to be 32bit.
3986 * rtl.h (emit_*_scope): Declare.
3987 * emit-rtl.c (emit_*_scope): New global functions.
3988 (try_split): Copy scope.
3989 * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
3990 noce_try_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
3991 noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
3992 noce_process_if_block, find_cond_trap): Copy scopes.
3993 * recog.c (peephole2_optimize): likewise.
3995 2002-06-06 Jeffrey Law <law@redhat.com>
3997 * h8300.h (OK_FOR_U): Fix thinko exposed by flag checking.
3999 Thu Jun 6 21:06:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
4001 * gengtype-lex.l (INITIAL): New rule for "'"("\\".|[^\\])"'".
4003 2002-06-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4005 * Makefile.in (TEXI_GCCINSTALL_FILES): Define.
4006 ($(docdir)/gccinstall.info): New target.
4007 (info): Depend on it.
4008 (gccinstall.dvi): New target.
4009 (dvi): Depend on it.
4010 * doc/.cvsignore: Ignore new info files.
4011 * doc/install.texi (@setfilename): Reflect new info filename.
4013 Thu Jun 6 15:57:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
4015 * sh.c (machine_dependent_reorg): Don't set RTX_UNCHANGING_P
4018 Thu Jun 6 07:17:43 2002 Nicola Pero <n.pero@mi.flashnet.it>
4021 * objc/objc-lang.c (LANG_HOOKS_GET_ALIAS_SET): Define to be
4022 c_common_get_alias_set.
4023 (LANG_HOOKS_SAFE_FROM_P): Define to be c_safe_from_p.
4025 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
4027 * emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn): New
4029 * rtl.h (get_first_nonnote_insn, get_last_nonnote_insn): Declare.
4030 * avr/avr.c (avr_output_function_epilogue): Use above to determine
4032 * pa/pa.c (pa_output_function_prologue): Likewise.
4034 2002-06-05 David S. Miller <davem@redhat.com>
4036 * integrate.c (subst_constants): Handle 'B' RTL format.
4038 2002-06-05 Eric Christopher <echristo@redhat.com>
4040 * varasm.c (make_decl_rtl): Fix comment for removed
4043 2002-06-05 Eric Christopher <echristo@redhat.com>
4045 * Makefile.in: Remove missed halfpic bits.
4047 2002-06-05 Eric Christopher <echristo@redhat.com>
4049 * toplev.c: Remove half-pic.
4050 * config/mips/mips.c: Ditto.
4051 * config/mips/mips.h: Ditto. Remove unused defines.
4052 * config/mips/openbsd.h: Update comment to reflect above.
4053 * config/mips/mips.md: Remove half-pic constraints.
4054 * halfpic.h: Delete.
4057 2002-06-05 Jeffrey Law <law@redhat.com>
4059 * pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it
4060 rejects (mem (lo_sum (reg) (unspec))), but will allow
4061 (mem (lo_sum (reg) (symbol_ref)) for PA2.0.
4063 2002-06-05 Neil Booth <neil@daikokuya.demon.co.uk>
4065 * cpphash.h (_cpp_create_definition): Update prototype.
4066 (_cpp_push_text_context, _cpp_create_trad_definition): New.
4067 ( cpp_lex_identifier_trad): New.
4068 (_cpp_set_trad_context): New.
4069 * cppinit.c (cpp_finish_options): Don't conditionalize builtins.
4070 * cpplib.c (SEEN_EOL): Update.
4071 (lex_macro_node): Update for -traditional.
4072 (cpp_push_buffer, _cpp_pop_buffer): Similarly.
4073 * cppmacro.c (_cpp_create_definition): Split into
4074 create_iso_definition() and _cpp_create_trad_definition().
4075 (warn_of_redefinition): Update prototype; handle traditional
4077 (_cpp_push_text_context): New.
4078 * cpptrad.c (skip_whitespace, push_replacement_text): New.
4079 (lex_identifier): Call ht_lookup with correct start.
4080 (_cpp_lex_identifier_tradm _cpp_create_trad_definition,
4081 _cpp_set_trad_context): New.
4082 (scan_out_logical_line): Update to handle changing contexts.
4084 Wed Jun 5 20:42:31 2002 J"orn Rennecke <joern.rennecke@superh.com>
4086 * config.gcc (sh-*-elf*, sh64*-*-elf*): Unify.
4088 * config/sh/t-be (MULTILIB_ENDIAN): Set.
4089 * config/sh/t-le (MULTILIB_ENDIAN): Likewise.
4090 * t-sh (MULTILIB_ENDIAN): Set.
4091 (MULTILIB_OPTIONS): Use it.
4092 * t-sh64 (MULTILIB_OPTIONS): Likewise.
4093 (MULTILIB_DIRNAMES): Likewise.
4095 2002-06-05 Gabriel Dos Reis <gdr@codesourcery.com>
4097 * toplev.h (report_error_function): Remove.
4099 * diagnostic.h (location_t): New datatype.
4100 (text_info): Likewise.
4101 (diagnostic_info): Likewise.
4102 (output_prefix): New macro.
4103 (diagnostic_last_function_changed): Likewise.
4104 (diagnostic_set_last_function): Likewise.
4105 (diagnostic_last_module_changed): Likewise.
4106 (diagnostic_set_last_module): Likewise.
4107 (report_diagnostic): Now macro.
4108 (diagnostic_set_info): Declare.
4110 * diagnostic.c (report_problematic_module): Rename to
4111 diagnostic_repor_current_module.
4112 (set_diagnostic_context): Remove.
4113 (count_error): Rename to diagnostic_error_count.
4114 (error_function_changed): Remove.
4115 (record_last_error_function): Likewise.
4116 (error_module_changed): Likewise.
4117 (record_last_error_module): Likewise.
4118 (context_as_prefix): Rename to diagnostic_build_prefix.
4119 (flush_diagnostic_buffer): Rename to diagnostic_flush_buffer.
4120 (diagnostic_set_info): New function.
4122 * objc/objc-act.c: #include diagnostic.h
4123 (error_with_ivar): Adjust call to count_error.
4124 (warn_with_method): Likewise.
4125 * objc/Make-lang.in (objc-act.o): Depend on diagnostic.h
4127 2002-06-05 Bob Wilson <bob.wilson@acm.org>
4129 * config/xtensa/xtensa.c (xtensa_build_va_list): Use
4130 lang_hooks.types.make_type instead of make_node; set up
4131 __va_list_tag type decl.
4132 (xtensa_builtin_saveregs): Remove broken use of
4133 RTX_UNCHANGING_P and unnecessary use of MEM_IN_STRUCT_P
4134 for saved registers; add varargs alias set.
4136 2002-06-05 Neil Booth <neil@daikokuya.demon.co.uk>
4139 * alpha/gnu.h: Undef TARGET_OS_CPP_BUILTINS.
4140 * i386/beos-elf.h: Use TARGET_OS_CPP_BUILTINS rather than
4141 CPP_PREDEFINES and part of CPP_SPEC.
4142 i386/freebsd-aout.h, i386/gas.h, i386/gnu.h, i386/linux-aout.h,
4143 i386/linux.h, i386/moss.h, i386/xm-vsta.h: Similarly.
4145 Wed Jun 5 15:20:58 CEST 2002 Jan Hubicka <jh@suse.cz>
4147 * reg-stack.c (reg_to_stack): Do not call find_basic_blocks.
4149 2002-06-05 Alan Modra <amodra@bigpond.net.au>
4151 * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define.
4153 2002-06-04 Zack Weinberg <zack@codesourcery.com>
4155 * gengtype-yacc.y: Make sure all rules end with a semicolon.
4157 2002-06-04 Bob Wilson <bob.wilson@acm.org>
4159 * config/xtensa/xtensa.c (xtensa_init_machine_status): Fix
4160 typo in function prototype and include "ggc.h" header.
4162 2002-06-04 Richard Henderson <rth@redhat.com>
4164 * config/alpha/alpha.c (mode_mask_operand): Simplify without ifdefs.
4165 (print_operand) ['U']: Likewise.
4166 (alpha_expand_unaligned_store): Correct constants for 32-bit cross.
4167 (alpha_expand_unaligned_store_words): Likewise.
4168 (alpha_expand_builtin_vector_binop): Fix typo.
4169 (enum alpha_builtin, code_for_builtin): Add remaining ext, ins, msk,
4170 umulh, and cix insns.
4171 (one_arg_builtins): Add cix builtins.
4172 (two_arg_builtins): Add ext, ins, msk, umulh builtins.
4173 (alpha_expand_builtin): Fix typo in arity.
4174 * config/alpha/alpha.md (UNSPEC_CTLZ, UNSPEC_CTPOP): New.
4175 (builtin_extbl, builtin_extwl, builtin_extll, builtin_extwh,
4176 builtin_extlh, builtin_insbl, builtin_inswl, builtin_insll,
4177 builtin_insql, builtin_inswh, builtin_inslh, builtin_insqh,
4178 builtin_mskbl, builtin_mskwl, builtin_mskll, builtin_mskql,
4179 builtin_mskwh, builtin_msklh, builtin_mskqh, builtin_cttz,
4180 builtin_ctlz, builtin_ctpop): New.
4181 * doc/extend.texi (Alpha Built-in Functions): Update.
4183 2002-06-04 Geoffrey Keating <geoffk@redhat.com>
4185 * gengtype.c (write_gc_root): Don't unnecessarily prevent
4186 global variable-length arrays being roots.
4188 * config.gcc (powerpc-*-darwin*): Set config_gtfiles.
4189 * configure.in (config_gtfiles): New variable.
4190 (all_gtfiles): Initialise from config_gtfiles.
4191 * configure: Regenerate.
4193 2002-06-04 Neil Booth <neil@daikokuya.demon.co.uk>
4196 * beos-elf.h, cygwin.h, djgpp.h, gas.h, gnu.h, i386-interix.h,
4197 i386-interix3.h, i386elf.h, linux-aout.h, linux.h, linux64.h,
4198 mingw32.h, netbsd-elf.h, netbsd.h, netbsd64.h, rtemself.h,
4199 sco5.h, sol2.h, sysv3.h, sysv4.h, sysv5.h, uwin.h, vxi386.h,
4200 win32.h (CPP_SPEC): Remove cpp_cpu.
4201 * i386.h (TARGET_CPU_CPP_BUILTINS): Use.
4202 (CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Die!
4204 2002-06-04 Janis Johnson <janis187@us.ibm.com>
4206 * config/ia64/ia64.c (gen_thread_pointer): Fix variable name.
4208 2002-06-04 Jeff Law <law@redhat.com.
4209 David Edelsohn <edelsohn@gnu.org>
4210 Michael Matz <matz@kde.org>
4212 * sched-int.h (struct deps): New field libcall_block_tail_insn.
4213 * sched_deps.c (init_deps): Initialize libcall_block_tail_insn.
4214 * sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn
4215 is set, then mark the current insn as being part of a libcall
4217 (sched_analyze): Set and clear libcall_block_tail_insn appropriately.
4219 * haifa-sched.c (schedule_block): Do not count USE or CLOBBER
4220 insns against the issue rate.
4222 Tue Jun 4 19:29:42 CEST 2002 Jan Hubicka <jh@suse.cz>
4224 * cfglayout.c (duplicate_insn_chain): Kill NOTE_INSN_RANGE notes.
4225 * final.c (final_scan_insn): Likewise.
4226 * ggc-common.c (ggc_mark_rtx_children_1): Likewise; use
4227 NOTE_EXPECTED_VALUE instead of NOTE_RANGE.
4228 * haifa-sched.c (unlink_other_notes): Likeewise.
4229 (reemit_notes): Likewise.
4230 * print-rtl.c (print_rtx): Likewise.
4231 * sched-deps (sched-analyze): Likewise.
4232 * rtl.c (note_insn_name): Likewise.
4233 * rtl.h (NOTE_RANGE_INFO, NOTE_LIVE_INFO): Kill.
4234 (enum insn_note): Kill NOTE_INSN_RANGE_*, NOTE_INSN_LIVE.
4237 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
4239 * varasm.c (mark_constants): Handle RTX format 'B'.
4241 2002-06-04 Neil Booth <neil@daikokuya.demon.co.uk>
4243 * cpphash.h (FIRST, LAST, CUR, RLIMIT): New.
4244 (struct cpp_context): Add traditional fields.
4245 * cppmacro.c (paste_all_tokens, push_ptoken_context,
4246 push_token_context, cpp_get_token, _cpp_backup_tokens): Update.
4247 * cpptrad.c (skip_comment, lex_identifier,
4248 _cpp_read_logical_line_trad, scan_out_logical_line): Update.
4250 2002-06-04 Kazu Hirata <kazu@cs.umass.edu>
4252 * gbl-ctors.h: Fix formatting.
4254 * gccspec.c: Likewise.
4256 * gcov-io.h: Likewise.
4258 * ggc-common.c: Likewise.
4260 * ggc-page.c: Likewise.
4261 * ggc-simple.c: Likewise.
4262 * global.c: Likewise.
4263 * graph.h: Likewise.
4264 * gthr-dce.h: Likewise.
4266 * gthr-posix.h: Likewise.
4267 * gthr-rtems.h: Likewise.
4268 * gthr-solaris.h: Likewise.
4269 * gthr-win32.h: Likewise.
4271 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
4273 Merge from pch-branch:
4275 * gengtype.h (UNION_OR_STRUCT_P): New macro.
4276 * gengtype.c (write_gc_structure_fields): Use it.
4277 (write_gc_root): Use it here too.
4279 * gengtype.c (write_gc_structure_fields): Assume that lengths
4280 of typenames fit into an 'int'; don't pass a size_t to "%d" in
4282 (write_gc_marker_routine_for_structure): Likewise.
4283 (write_gc_types): Likewise.
4284 (write_gc_root): Likewise.
4286 * varray.h (VARRAY_CLEAR): New.
4287 (varray_clear): Prototype.
4288 * varray.c (varray_clear): New.
4289 * cselib.c (reg_values_old): New.
4290 (used_regs_old): New.
4291 (cselib_init): Use cached varrays if available to avoid
4292 generating large amounts of garbage.
4293 (cselib_finish): Don't throw away old varrays.
4295 * final.c (insn_addresses_): Move out of ifdef.
4297 * varray.c (uses_ggc): Make more varray kinds GCable.
4298 * varray.h (union varray_data_tag): Let gengtype see
4299 fields 'generic' and 'te'.
4300 * reg-stack.c: Include gt-reg-stack.h, ggc.h.
4301 (stack_regs_mentioned_data): Move out of ifdef; mark with gengtype.
4302 (reg_to_stack): Don't call VARRAY_FREE.
4303 * insn-addr.h (INSN_ADDRESSES_FREE): Don't use VARRAY_FREE.
4304 (insn_addresses_): Use gengtype to mark.
4305 * gengtype.c (write_gc_structure_fields): Handle arrays of generic
4306 pointers; handle generic pointers in unused union fields.
4307 (get_output_file_with_visibility): Include cselib.h,
4308 insn-addr.h in gtype-desc.c.
4309 * function.c (prologue): Use gengtype to mark.
4310 (epilogue): Likewise.
4311 (sibcall_epilogue): Likewise.
4312 * dependence.c: Include gt-dependence.h, ggc.h.
4313 (struct def_use): Use gengtype to mark.
4314 (struct loop): Likewise.
4315 (struct induction): Likewise.
4316 (struct dependence): Likewise.
4317 (def_use_chain): Likewise.
4318 (dep_chain): Likewise.
4319 (loop_chain): Likewise.
4320 (induction_chain): Likewise.
4321 (init_dependence_analysis): Don't free anything, just clear pointers.
4322 (build_def_use): Use GGC to allocate def_use.
4323 (add_loop): Use GGC to allocate loop.
4324 (find_induction_variable): Use GGC to allocate induction.
4325 (check_node_dependence): Use GGC to allocate induction, dependence.
4326 (dump_node_dependence): Don't free varrays.
4327 (end_dependence_analysis): Likewise.
4328 * cselib.h (struct cselib_val_struct): Use gengtype to mark.
4329 (struct elt_loc_list): Likewise.
4330 (struct elt_list): Likewise.
4331 * cselib.c: Don't include obstack.h.
4332 (hash_table): Use gengtype to mark.
4333 (reg_values): Use gengtype to mark.
4334 (used_regs): Use gengtype to mark.
4335 (cselib_obstack): Delete.
4336 (cselib_startobj): Delete.
4337 (empty_vals): Mark as deletable.
4338 (empty_elt_lists): Mark as deletable.
4339 (empty_elt_loc_lists): Mark as deletable.
4340 (new_elt_list): Use GGC to allocate struct elt_list.
4341 (new_elt_loc_list): Use GGC to allocate struct elt_loc_list.
4342 (clear_table): Don't delete obstack; don't unnecessarily clear
4343 deletable variables.
4344 (new_cselib_val): Use GGC to allocate struct cselib_val.
4345 (cselib_init): Don't set up obstacks. Use GGC to allocate
4347 (cselib_finish): Just clear variables, don't free anything.
4348 * Makefile.in (cselib.o): Remove dependency on $(OBSTACK_H).
4349 (reg-stack.o): Add dependency on gt-reg-stack.h, $(GGC_H).
4350 (dependence.o): Add dependency on gt-dependence.h, $(GGC_H).
4351 (GTFILES): Add insn-addr.h, cselib.h, dependence.c, reg-stack.c.
4352 (gt-reg-stack.h): New rule.
4353 (gt-dependence.h): New rule.
4354 (gtype-desc.o): Add cselib.h, insn-addr.h.
4356 * varray.c: Use only necessary headers.
4357 (element_size): New.
4359 (varray_init): Take type, not size. Use GGC if appropriate.
4360 (varray_grow): Update for change to struct varray_head_tag.
4361 Use GGC if appropriate.
4362 * varray.h (struct const_equiv_data): Use gengtype.
4363 (enum varray_data_enum): New.
4364 (union varray_data_tag): Use gengtype.
4365 (struct varray_head_tag): Use gengtype. Replace size field with
4366 enum varray_data_enum.
4367 (varray_init): Update prototype.
4368 (VARRAY_SCHED_INIT): Delete.
4369 (VARRAY_*_INIT): Update for change to varray_init.
4370 (VARRAY_SCHED): Delete.
4371 (VARRAY_PUSH_SCHED): Delete.
4372 (VARRAY_TOP_SCHED): Delete.
4373 * tree.h: Update for change to length specifier.
4374 * tree-inline.c (optimize_inline_calls): Don't use VARRAY_FREE.
4375 (clone_body): Likewise.
4376 * ssa.h (ssa_definition): Use gengtype to mark.
4377 * ssa.c (convert_from_ssa): Don't use VARRAY_FREE.
4378 * ssa-dce.c (ssa_eliminate_dead_code): Don't use VARRAY_FREE.
4379 * rtl.h (struct rtvec_def): Update for change to length specifier.
4380 * integrate.c (expand_inline_function): Don't use VARRAY_FREE.
4381 (struct initial_value_struct): Update for change to length specifier.
4382 * ggc.h (ggc_add_rtx_varray_root): Delete prototype.
4383 (ggc_add_tree_varray_root): Delete prototype.
4384 (ggc_mark_rtx_varray): Delete prototype.
4385 (ggc_mark_tree_varray): Delete prototype.
4386 * ggc-common.c (ggc_add_rtx_varray_root): Delete.
4387 (ggc_add_tree_varray_root): Delete.
4388 (ggc_mark_rtx_varray): Delete.
4389 (ggc_mark_tree_varray): Delete.
4390 (ggc_mark_rtx_varray_ptr): Delete.
4391 (ggc_mark_tree_varray_ptr): Delete.
4392 * gengtype.h (enum typekind): Remove TYPE_VARRAY.
4393 (create_varray): Delete prototype.
4394 * gengtype.c (varrays): Delete.
4395 (create_varray): Delete.
4396 (adjust_field_type): Detect array of string pointers.
4397 (process_gc_options): Remove code to handle varray_type option.
4398 (set_gc_used_type): Remove TYPE_VARRAY case.
4399 (output_escaped_param): New.
4400 (write_gc_structure_fields): Use output_escaped_param on all
4401 parameters. Handle 'skip' with 'use_param' option. Handle
4402 arrays of strings. Remove TYPE_VARRAY handling.
4403 (write_gc_roots): Use boolean to detect 'length' option.
4404 * gengtype-yacc.y (VARRAY_TYPE): Delete token.
4405 (struct_fields): Call adjust_field_type on array fields.
4406 (type): Remove VARRAY_TYPE case.
4407 (type_option): Likewise.
4408 * gengtype-lex.l: Don't consider varray_type a keyword.
4409 * function.h: Update for change to length specifier.
4410 (free_eh_status): Delete prototype.
4411 * function.c (free_after_compilation): Don't call free_eh_status.
4412 (reorder_blocks): Don't use VARRAY_FREE.
4413 * except.c (struct eh_status): Update for change to length specifier.
4414 remove varray_type specifier.
4415 (free_eh_status): Delete.
4416 * dwarf2out.c: Include gt-dwarf2out.h.
4417 (used_rtx_varray): Use gengtype to mark, move
4419 (incomplete_types): Likewise.
4420 (decl_scope_table): Likewise.
4421 (dwarf2out_init): Don't call ggc_add_tree_varray_root.
4422 * cfglayout.c (scope_to_insns_finalize): Don't use VARRAY_FREE.
4423 * c-tree.h (struct lang_type): Update for change to length specifier.
4424 * c-parse.in (yylexstring): Don't use VARRAY_FREE.
4425 * c-objc-common.c: Include gt-c-objc-common.h.
4426 (deferred_fns): Mark for gengtype.
4427 (c_objc_common_init): Don't call ggc_add_tree_varray_root.
4428 (expand_deferred_fns): Just set deferred_fns to 0 to free it.
4429 * Makefile.in (c-objc-common.o): Add gt-c-objc-common.h.
4430 (gtype-desc.o): Update dependencies.
4431 (dwarf2out.o): Add gt-dwarf2out.h.
4432 (varray.o): Update dependencies.
4433 (GTFILES): Add varray.h, ssa.h, dwarf2out.c, c-objc-common.c.
4434 (gt-c-objc-common.h): New rule.
4435 (gt-dwarf2out.h): New rule.
4436 * objc/objc-act.c (build_objc_string_object): Don't use VARRAY_FREE.
4438 * doc/gty.texi (GTY Options): Correct spelling.
4439 (GGC Roots): Likewise.
4440 * Makefile.in (TEXI_CPP_FILES): New.
4441 (TEXI_GCC_FILES): New.
4442 (TEXI_GCCINT_FILES): New.
4443 (TEXI_CPPINT_FILES): New.
4444 ($(docdir)/cpp.info): Use new macros.
4445 ($(docdir)/gcc.info): Likewise.
4446 ($(docdir)/gccint.info): Likewise.
4447 ($(docdir)/cppinternals.info): Likewise.
4448 (cpp.dvi): Likewise.
4449 (gcc.dvi): Likewise.
4450 (gccint.dvi): Likewise.
4451 (cppinternals.dvi): Likewise.
4453 * Makefile.in ($(docdir)/gccint.info): Depend on gty.texi.
4454 * doc/gccint.texi (Top): Include gty.texi.
4455 * doc/gty.texi: New file.
4457 * bitmap.c: Include ggc.h, gt-bitmap.h.
4458 (bitmap_ggc_free): New.
4459 (bitmap_elem_to_freelist): New.
4460 (bitmap_element_free): Use bitmap_elem_to_freelist.
4461 (bitmap_element_allocate): Allow use of GGC.
4462 (bitmap_clear): Use bitmap_elem_to_freelist.
4463 (bitmap_copy): Update for change to bitmap_element_allocate.
4464 (bitmap_set_bit): Likewise.
4465 (bitmap_operation): Update for changes elsewhere.
4466 (bitmap_initialize): Allow to create bitmaps that will use GGC.
4467 * bitmap.h (struct bitmap_element_def): Use gengtype.
4468 (struct bitmap_head_def): Likewise. Also add 'using_obstack' field.
4469 (bitmap_initialize): Add extra parameter.
4470 (BITMAP_OBSTACK_ALLOC): Update for change to bitmap_initialize.
4471 (BITMAP_ALLOCA): Delete.
4472 (BITMAP_XMALLOC): Update for change to bitmap_initialize.
4473 (BITMAP_GGC_ALLOC): New.
4474 * Makefile.in (gtype-desc.o): Add bitmap.h.
4475 (bitmap.o): Add gt-bitmap.h, $(GGC_H).
4476 (GTFILES): Add bitmap.c.
4477 (gt-bitmap.h): New rule.
4478 ($(HOST_PREFIX_1)bitmap.o): Add gt-bitmap.h.
4479 * basic-block.h: Update for changes to bitmap_initialize.
4480 * except.c (exception_handler_label_map): Move into...
4481 (struct eh_status): Here.
4482 (struct eh_region): Make 'aka' GCable.
4483 (free_eh_status): Don't need to specially handle
4484 exception_handler_label_map.
4485 (add_ehl_entry): Update for changes to exception_handler_label_map.
4486 (find_exception_handler_labels): Likewise.
4487 (remove_exception_handler_label): Likewise.
4488 (maybe_remove_eh_handler): Likewise.
4489 (for_each_eh_label): Likewise.
4490 (remove_eh_handler): Allocate 'aka' using GGC.
4491 * gengtype.c (get_output_file_with_visibility): Add bitmap.h
4492 to list of includes.
4494 * gengtype.c (write_gc_marker_routine_for_structure): Name
4495 the routines 'gt_ggc_mx_*' instead of 'gt_ggc_m_*'.
4496 (write_gc_types): Arrange for the tests with NULL to be inlined.
4497 (write_gc_roots): Update uses of procedure pointers.
4498 * ggc-common.c (gt_ggc_mx_rtx_def): Rename from gt_ggc_m_rtx_def.
4500 * Makefile.in (explow.o): Add dependency on gt-explow.h.
4501 (sdbout.o): Add dependency on gt-sdbout.h.
4503 * emit-rtl.c (const_int_htab): Use gengtype to clear unused entries.
4504 (mem_attrs_htab): Likewise.
4505 (init_emit_once): Don't call ggc_add_deletable_htab.
4506 * fold-const.c (size_htab): Use gengtype to clear unused entries.
4507 (size_int_type_wide): Don't call ggc_add_deletable_htab.
4508 * gengtype.c (finish_root_table): Add LASTNAME and TNAME
4509 parameters, use them, change callers.
4510 (write_gc_root): Add IF_MARKED parameter, use it, change callers.
4511 (write_gc_roots): Handle 'if_marked' option.
4512 (main): Don't need to call set_gc_used_type any more.
4513 * ggc.h (ggc_htab_marked_p): Delete.
4514 (ggc_htab_mark): Delete.
4515 (struct ggc_cache_tab): New.
4516 (gt_ggc_cache_rtab): New declaration.
4517 * ggc-common.c (struct d_htab_root): Delete.
4518 (d_htab_roots): Delete.
4519 (ggc_add_deletable_htab): Delete.
4520 (ggc_htab_delete): Handle new htab-deleting mechanism.
4521 (ggc_mark_roots): Use new htab-deleting mechanism.
4522 * tree.c (type_hash_table): Use gengtype to clear unused entries.
4524 (init_obstacks): Don't call ggc_add_deletable_htab.
4526 * objc/objc-act.h (struct hashed_attribute): Use gengtype.
4527 (struct hashed_entry): Likewise.
4528 (nst_method_hash_list): Likewise.
4529 (cls_method_hash_list): Likewise.
4530 (HASH_ALLOC_LIST_SIZE): Delete.
4531 (ATTR_ALLOC_LIST_SIZE): Delete.
4532 * objc/objc-act.c (hash_init): Use ggc to allocate
4533 nst_method_hash_list, cls_method_hash_list.
4534 (hash_enter): Use ggc to allocate; allocate one entry at a time.
4535 (hash_add_attr): Likewise.
4536 (ggc_mark_hash_table): Delete.
4537 (objc_act_parse_init): Delete.
4538 (objc_init): Delete reference to objc_act_parse_init.
4539 * tlink.c: Replace hash.h with hashtab.h. Explicitly include
4540 obstack.h. Replace references to 'struct hash_table' with htab_t.
4541 (struct symbol_hash_entry): Replace hash header with key field.
4542 (struct file_hash_entry): Replace hash header with key field.
4543 (struct demangled_hash_entry): Replace hash header with key field.
4544 (hash_string_eq): New.
4545 (hash_string_hash): New.
4546 (symbol_hash_newfunc): Delete.
4547 (symbol_hash_lookup): Modify to use htab_t.
4548 (file_hash_newfunc): Delete.
4549 (file_hash_lookup): Modify to use htab_t.
4550 (demangled_hash_newfunc): Delete.
4551 (demangled_hash_lookup): Modify to use htab_t.
4552 (tlink_init): Modify to use htab_t.
4555 * ggc.h: Delete forward structure declarations.
4556 Delete prototypes for deleted functions.
4557 * ggc-common.c: Don't include hash.h.
4558 (ggc_add_tree_hash_table_root): Delete.
4559 (ggc_mark_tree_hash_table_entry): Delete.
4560 (ggc_mark_tree_hash_table): Delete.
4561 (ggc_mark_tree_hash_table_ptr): Delete.
4562 * gengtype.c (write_gc_structure_fields): Allow param_is option.
4563 (write_gc_marker_routine_for_structure): Use visibility of
4564 the parameter if there is one.
4565 * function.c: Replace hash.h with hashtab.h. Replace references
4566 to 'struct hash_table *' with htab_t.
4567 (struct insns_for_mem_entry): Include a plain key.
4568 (fixup_var_refs_insns_with_hash): Update to use htab_t.
4569 (insns_for_mem_newfunc): Delete.
4570 (insns_for_mem_hash): Update to use htab_t.
4571 (insns_for_mem_comp): Likewise.
4572 (insns_for_mem_walk): Likewise.
4573 * c-lang.c: Include ggc.h.
4574 * Makefile.in (OBJS): Remove hash.o.
4575 (c-lang.o): Add GGC_H.
4576 (COLLECT2_OBJS): Remove hash.o.
4577 (tlink.o): Remove hash.h, add HASHTAB_H and OBSTACK_H.
4578 (ggc-common.o): Remove hash.h.
4579 (function.o): Remove hash.h, add HASHTAB_H.
4580 (genautomata.o): Remove hash.h, add HASHTAB_H.
4582 * varasm.c (mark_const_str_htab_1): Delete.
4583 (mark_const_str_htab): Delete.
4584 (const_str_htab_del): Delete.
4585 (const_str_htab): Use gengtype to mark.
4586 (init_varasm_once): Use gengtype to mark hashtables. Use GC to
4588 * tree.c (mark_tree_hashtable_entry): Delete.
4589 (mark_tree_hashtable): Delete.
4590 * tree.h (mark_tree_hashtable): Delete prototype.
4591 * ggc.h (ggc_test_and_set_mark): Treat (void *)1 like NULL.
4592 (ggc_mark): Likewise.
4594 (htab_create_ggc): New.
4595 * ggc-common.c (ggc_calloc): New.
4596 * gengtype.h (enum typekind): Add TYPE_PARAM_STRUCT.
4597 (struct type): Add param_struct structure.
4598 * gengtype.c (param_structs): New.
4599 (adjust_field_type): Handle param_is option.
4600 (set_gc_used_type): Handle TYPE_PARAM_STRUCT.
4601 (get_output_file_with_visibility): Include hashtab.h in gtype-desc.c.
4602 (write_gc_structure_fields): Add new PARAM parameter. Update
4603 callers. Handle use_param option. Handle TYPE_PARAM_STRUCT.
4604 (write_gc_marker_routine_for_structure): Add new PARAM parameter.
4605 Use it to generate function name. Update callers.
4606 (write_gc_types): Add new PARAM_STRUCTS parameter. Update callers.
4608 (write_gc_roots): Handle TYPE_PARAM_STRUCT. Allow param_is
4610 (main): Define PTR as pointer-to-scalar. Don't specially
4611 mark deferred_string or ehl_map_entry.
4612 * gengtype-yacc.y (PARAM_IS): Add new token.
4613 (externstatic): Use adjust_field_type.
4614 (type_option): Add PARAM_IS.
4615 * gengtype-lex.l: Add rule for typedef of function pointers.
4616 Add rule for PARAM_IS.
4617 (IWORD): Add size_t.
4618 * except.c (exception_handler_label_map): Use gengtype to mark.
4619 (type_to_runtime_map): Likewise.
4620 (mark_ehl_map_entry): Delete.
4621 (mark_ehl_map): Delete.
4622 (init_eh): Use gengtype for roots; use GC to allocate hash tables.
4623 (t2r_mark_1): Delete.
4625 * Makefile.in (gtype-desc.o): Correct dependencies.
4626 (GTFILES): Add hashtab.h.
4627 (genautomata.o): Actually uses hashtab.h.
4629 * Makefile.in (stringpool.o): Add $(GGC_H).
4630 (dwarf2asm.o): Likewise.
4631 (GTFILES): Add hashtable.h.
4632 * c-common.h (struct c_common_identifier): Use gengtype.
4633 * c-decl.h (c_mark_tree): Delete.
4634 * c-lang.c (LANG_HOOKS_MARK_TREE): Delete.
4635 * c-tree.h (struct lang_identifier): Use gengtype.
4636 (union lang_tree_node): New.
4637 (c_mark_tree): Delete prototype.
4638 * dwarf2out.c [!DWARF2_DEBUGGING_INFO]: Define dummy
4640 * gengtype-lex.l (IWORD): Allow 'bool'.
4642 * gengtype-yacc.y (ALIAS): New token.
4643 (type_option): New rule.
4644 (option): Use type_option.
4645 * gengtype.c (process_gc_options): New.
4646 (set_gc_used_type): Use it.
4647 (write_gc_structure_fields): Add 'bitmap' parameter, change callers.
4648 Add new variable 't' to hold the type of the field being processed.
4649 Add more error checking. Use UNION_P when looking at 'desc' option.
4650 Handle language-specific structures containing other
4651 language-specific structures.
4652 (write_gc_types): Handle 'ptr_alias' option.
4653 (main): Don't need to specially output lang_type, lang_decl, lang_id2.
4654 * ggc-common.c (ggc_pending_trees): Delete.
4655 (ggc_mark_roots): Don't manipulate ggc_pending_trees.
4656 (ggc_mark_trees): Delete.
4657 (gt_ggc_m_tree_node): Delete.
4658 * ggc.h (ggc_pending_trees): Delete.
4659 (ggc_mark_tree): Make alias of gt_ggc_m_tree_node.
4660 * hashtable.h (ht_identifier): Use gengtype.
4661 * langhooks-def.h (LANG_HOOKS_MARK_TREE): Delete.
4662 * langhooks.h (struct lang_hooks): Delete mark_tree.
4663 * sdbout.c [! SDB_DEBUGGING_INFO]: Define dummy sdb_debug_hooks
4665 * system.h: Poison LANG_HOOKS_MARK_TREE.
4666 * tree.c (tree_node_structure): New.
4667 * tree.h (struct tree_common): Use gengtype.
4668 (struct tree_int_cst): Likewise.
4669 (struct tree_real_cst): Likewise.
4670 (struct tree_string): Likewise.
4671 (struct tree_complex): Likewise.
4672 (struct tree_vector): Likewise.
4673 (struct tree_identifier): Likewise.
4674 (struct tree_list): Likewise.
4675 (struct tree_vec): Likewise.
4676 (struct tree_exp): Likewise.
4677 (struct tree_block): Likewise.
4678 (struct tree_type): Likewise.
4679 (struct tree_decl): Likewise.
4680 (enum tree_structure_enum): New.
4681 (union tree_node): Use gengtype, with an alias.
4682 (tree_node_structure): Prototype.
4683 * objc/objc-lang.c (LANG_HOOKS_MARK_TREE): Delete.
4685 Merge to tag pch-merge-20020430. The LANG_HOOKS_FUNCTION_MARK
4686 macro was deleted. The LANG_HOOKS_FUNCTION_FREE macro was renamed
4687 to LANG_HOOKS_FUNCTION_FINAL.
4688 * Makefile.in (GTFILES): Add bitmap.h.
4689 * except.c (struct eh_region): Mark field 'aka' to be skipped.
4691 * config/alpha/alpha.c [TARGET_ABI_UNICOSMK]
4692 (alpha_init_machine_status): Give proper type.
4693 * Makefile.in (c-lang.o): Depend on gtype-c.h.
4694 (optabs.o): Depend on gt-optabs.h.
4695 (GTFILES): Add optabs.o.
4696 (gt-optabs.h): Add rule.
4697 * optabs.c: Include gt-optabs.h.
4699 * gengtype.c (set_gc_used_type): Correct some errors in last change.
4700 (write_gc_structure_fields): If a field which should be NULL is
4702 * c-pragma.c: Move struct align_stack and variable alignment_stack
4705 * config/xtensa/t-xtensa: Add dependencies for gt-xtensa.h.
4706 * config/xtensa/xtensa.c: Include gt-cris.h.
4707 (struct machine_function): Use gengtype to mark.
4708 * config/mmix/mmix.h (struct machine_function): Use gengtype
4710 * config/cris/t-cris: Add dependencies for gt-cris.h.
4711 * config/cris/cris.c: Include gt-cris.h.
4712 (struct machine_function): Use gengtype to mark.
4713 * config/rs6000/rs6000.h (struct machine_function): Use gengtype
4715 * doc/tm.texi (Per-Function Data): Delete references to
4716 mark_machine_status.
4717 * config/ia64/ia64.c (ia64_override_options): Don't set
4718 mark_machine_status.
4719 * config/i386/i386.c (override_options): Likewise.
4720 * config/d30v/d30v.c (d30v_init_expanders): Likewise.
4721 * config/arm/arm.c (arm_init_expanders): Likewise.
4722 * config/alpha/alpha.c (override_options): Likewise.
4723 * gengtype.h (enum gc_used_enum): Add GC_MAYBE_POINTED_TO.
4724 * gengtype.c (set_gc_used_type): Handle 'maybe_null' option.
4725 (write_gc_structure_fields): Don't handle 'really' option.
4726 Handle 'maybe_null' option.
4727 (write_gc_types): Handle 'maybe_null' option.
4728 * function.h (struct function): Don't use "really".
4729 (mark_machine_status): Delete declaration.
4730 (mark_lang_status): Delete declaration.
4731 (gt_ggc_mr_machine_function): Delete prototype.
4732 (gt_ggc_mr_language_function): Delete prototype.
4733 * function.c (mark_machine_status): Delete.
4734 (mark_lang_status): Delete.
4735 (gt_ggc_mr_machine_function): Delete.
4736 (gt_ggc_mr_language_function): Delete.
4737 * c-tree.h (mark_c_function_context): Delete prototype.
4738 * c-objc-common.c (c_objc_common_init): Don't set mark_lang_status.
4739 * c-decl.c (struct language_function): Rename from struct
4740 c_language_function. Update uses. Use gengtype to mark.
4741 (mark_c_function_context): Delete.
4742 * c-common.h (struct c_language_function): Rename from struct
4744 (mark_stmt_tree): Delete prototype.
4745 (c_mark_lang_decl): Delete prototype.
4746 (mark_c_language_function): Delete prototype.
4747 * c-common.c (mark_stmt_tree): Delete.
4748 (c_mark_lang_decl): Delete.
4749 (mark_c_language_function): Delete.
4751 * gengtype.h (enum typekind): Add TYPE_LANG_STRUCT.
4752 (lang_bitmap): New typedef. Use where appropriate.
4753 (struct type): Add gc_used field, lang_struct field.
4754 (UNION_P): New macro.
4755 (new_structure): New prototype.
4756 (find_structure): Remove 'pos' parameter. Change all callers.
4757 * gengtype-lex.l: Update for changes to find_structure.
4758 * gengtype-yacc.y (typedef_struct): Use new_structure.
4759 (yacc_ids): Suppress warning.
4760 (type): Use new_structure.
4761 * gengtype.c (string_type): Update for changes to struct type.
4762 (find_structure): Just find a structure, don't worry about
4764 (new_structure): New.
4765 (note_yacc_type): Use new_structure.
4766 (set_gc_used_type): New.
4768 (write_gc_structure_fields): Allow for pointers to TYPE_LANG_STRUCT.
4769 (write_gc_types): Handle TYPE_LANG_STRUCT.
4770 (write_gc_marker_routine_for_structure): New.
4771 (main): Call set_gc_used. Add some calls to set_gc_used_type
4772 for places where GCC doesn't use gengtype properly yet.
4773 * ggc.h (gt_ggc_m_rtx_def): Don't prototype.
4774 (gt_ggc_m_tree_node): Likewise.
4776 * varasm.c (copy_constant): Call expand_constant if we hit
4777 something we can't recognise.
4779 * ggc-common.c (ggc_mark_rtvec_children): Delete.
4780 (ggc_mark_rtx_children): Use generic name for ggc_mark_rtvec.
4781 (lang_mark_false_label_stack): Delete.
4782 * rtl.h (struct rtvec_def): Use gengtype to mark.
4783 * ggc.h (ggc_mark_rtvec): Delete.
4784 (gt_ggc_m_rtvec_def): Delete.
4785 (ggc_mark_nonnull_tree): Delete.
4786 (ggc_mark_rtvec_children): Delete prototype.
4787 (lang_mark_false_label_stack): Delete declaration.
4789 * gengtype.h (note_yacc_type): Add prototype.
4790 * gengtype.c (note_yacc_type): New function.
4791 * gengtype-lex.l: Add lexer support for yacc files.
4792 * gengtype-yacc.y (start): Extract union from yacc files.
4793 (yacc_union): New rule.
4794 (yacc_typematch): New rule.
4795 (yacc_ids): New rule.
4796 (enum_items): Tweak for efficiency.
4797 (optionseq): Likewise.
4799 * c-common.h (struct language_function): Use gengtype.
4800 (struct c_lang_decl): Likewise.
4801 * c-tree.h (struct lang_decl): Likewise.
4802 (struct lang_type): Likewise.
4803 * c-decl.c (lang_mark_tree): Use generated marker routines to mark
4804 tree language substructures.
4806 * stringpool.c (mark_ident): Replace ggc_mark_nonnull_tree with
4808 * dwarf2asm.c (mark_indirect_pool_entry): Likewise.
4810 * varasm.c (struct rtx_const): Remove 'skip' tags for scalar arrays.
4812 * stmt.c (struct nesting): Add discriminator. Use gengtype to
4813 mark. Remove 'data.block.cleanup_ptr' field.
4814 (struct stmt_status): Use usual technique to mark struct nesting.
4815 (gt_ggc_mr_nesting_cond): Delete.
4816 (gt_ggc_mr_nesting_loop): Delete.
4817 (gt_ggc_mr_nesting_block): Delete.
4818 (gt_ggc_mr_nesting_case_stmt): Delete.
4819 (expand_start_cond): Set discriminator.
4820 (expand_start_loop): Likewise.
4821 (expand_start_null_loop): Likewise.
4822 (expand_start_bindings_and_block): Set discriminator. Don't set
4824 (expand_decl_cleanup): Replace 'cleanup_ptr' with
4825 &thisblock->data.block.cleanups.
4826 (expand_start_case): Set discriminator.
4827 (expand_start_case_dummy): Set discriminator.
4829 * ggc-callbacks.c: Remove.
4831 * gengtype.h (struct type): Add 'u.s.bitmap' field.
4832 (find_structure): Add 'pos' parameter.
4833 * gengtype-lex.l: Update callers to find_structure.
4834 * gengtype-yacc.y: Likewise.
4835 * gengtype.c (find_structure): Allow for structures to be defined
4836 in multiple language backends.
4837 (get_output_file_with_visibility): Include debug.h in gtype-desc.c.
4838 (counter): Rename to gc_counter.
4839 (write_gc_structure_fields): Fail when writing out fields for
4840 an incomplete structure. Ignore arrays of scalars. Handle
4842 (write_gc_types): Reset counter for each procedure written.
4844 * stmt.c (add_case_node): Use GGC to allocate struct case_node.
4845 (free_case_nodes): Delete.
4846 (expand_end_case_type): Delete call to free_case_nodes.
4848 * Makefile.in (cselib.o): Include gt-<filename>.h.
4850 (profile.o): Likewise.
4851 (alias.o): Likewise.
4852 (GTFILES): Add alias.c, cselib.c, gcse.c, profile.c, and
4853 alphabetize backend files.
4854 (gt-alias.h, gt-cselib.h, gt-gcse.h, gt-profile.h): New rules.
4855 * alias.c: Use gengtype for roots.
4856 * c-common.h (struct stmt_tree_s): Use gengtype.
4857 * c-decl.c: Use gengtype for roots.
4858 * cselib.c: Use gengtype for roots.
4859 * expr.c: Use gengtype for roots.
4860 * fold-const.c: Use gengtype for roots.
4861 * gcse.c: Use gengtype for roots.
4862 * gengtype-lex.l: Handle typedefs of function types.
4863 Allow for empty array bounds.
4864 Allow processing to stop on initialisers.
4865 * gengtype-yacc.y (externstatic): Stop processing on initialisers.
4866 (semiequal): New rule.
4867 * gengtype.c (create_file): Tidy output files.
4868 (get_output_file_with_visibility): Fix paren warning. Fix bug
4869 involving multiple input files mapping to one output file.
4870 (write_gc_structure_fields): Skip arrays of scalars.
4871 (write_gc_types): Tidy output files.
4872 (write_gc_root): New function.
4873 (write_gc_roots): Fix bugs, add support for roots that are
4875 * ggc-common.c (ggc_mark_rtx_ptr): Delete.
4876 (ggc_mark_tree_ptr): Delete.
4877 (ggc_add_rtx_root): Delete.
4878 (ggc_add_tree_root): Delete.
4879 (ggc_del_root): Delete.
4880 * integrate.c (get_func_hard_reg_initial_val): Use ggc_alloc to
4881 allocate struct initial_value_struct.
4882 * profile.c: Use gengtype for roots.
4883 * sdbout.c: Use gengtype for roots.
4884 * varasm.c (mark_weak_decls): Delete unused prototype.
4885 (mark_const_hash_entry): Delete unused function.
4886 * config/darwin-protos.h: Use gengtype for roots.
4887 (machopic_add_gc_roots): Delete.
4888 * config/arm/arm.c: Use gengtype for roots.
4889 * config/arm/arm.h: Use gengtype for roots.
4890 * config/c4x/c4x-protos.h: Use gengtype for roots.
4891 * config/c4x/c4x.c (c4x_add_gc_roots): Delete.
4892 * config/d30v/d30v-protos.h: Use gengtype for roots.
4893 * config/d30v/d30v.c (d30v_add_gc_roots): Delete.
4894 * config/dsp16xx/dsp16xx.c (override_options): Use gengtype for roots.
4895 * config/dsp16xx/dsp16xx.h: Use gengtype for roots.
4896 * config/ia64/ia64-protos.h: Use gengtype for roots.
4897 * config/ia64/ia64.c (ia64_add_gc_roots): Delete.
4898 * config/m68hc11/m68hc11-protos.h: Use gengtype for roots.
4899 * config/m68hc11/m68hc11.c (z_reg): Make global.
4900 (z_reg_qi): Make global.
4901 (m68hc11_add_gc_roots): Delete.
4902 * config/mcore/mcore-protos.h: Use gengtype for roots.
4903 * config/mcore/mcore.c (mcore_add_gc_roots): Delete.
4904 * config/mips/mips.c (mips_add_gc_roots): Delete.
4905 * config/mips/mips.h: Use gengtype for roots.
4906 * config/mmix/mmix.c (override_options): Use gengtype for roots.
4907 * config/mmix/mmix.h: Use gengtype for roots.
4908 * config/mn10200/mn10200.c (asm_file_start): Use gengtype for roots.
4909 * config/mn10200/mn10200.h: Use gengtype for roots.
4910 * config/pa/pa.c: Use gengtype for roots, marking.
4911 (struct deferred_plabel): Use GGC, gengtype.
4912 (pa_add_gc_roots): Delete.
4913 (mark_deferred_plabels): Delete.
4914 * config/pj/pj-protos.h: Use gengtype for roots.
4915 * config/pj/pj.h (OVERRIDE_OPTIONS): Don't define.
4916 * config/rs6000/rs6000.c: Use gengtype for roots. Don't call
4917 machopic_add_gc_roots.
4918 * config/rs6000/rs6000.h: Use gengtype for roots.
4919 * config/rs6000/t-darwin (darwin.o): Add dependency on gt-darwin.h.
4920 (gt-darwin.h): Add rule.
4921 * config/sh/sh.c: Use gengtype for roots.
4922 * config/sh/t-sh ($(out_object_file)): Add dependency on gt-sh.h.
4923 (gt-sh.h): Add rule.
4924 * config/sparc/sparc.c: Use gengtype for roots.
4925 (sparc_add_gc_roots): Delete.
4926 (struct ultrasparc_pipeline_state): Use GGC, gengtype.
4927 (mark_ultrasparc_pipeline_state): Delete.
4928 * config/sparc/sparc.h: Use gengtype for roots.
4930 * Makefile.in (c-parse.o): Update dependencies.
4931 (c-common.o): Likewise.
4932 (GTFILES): Add c-common.h, c-tree.h, c-common.c, c-parse.in.
4933 Add dependencies for the files they generate.
4934 * c-common.c: Replace ggc_add_* uses with GTY annotations.
4935 * c-common.h: Likewise.
4936 * c-decl.c: Likewise.
4937 (gt_ggc_mp_binding_level): Delete.
4938 * c-lang.c: Include gtype-c.h.
4939 * c-parse.in: Replace ggc_add_* uses with GTY annotations. Include
4941 * c-pragma.h: Replace ggc_add_* uses with GTY annotations.
4942 (gt_ggc_mp_align_stack): Delete.
4943 * c-tree.h: Replace ggc_add_* uses with GTY annotations.
4944 * function.c: Replace ggc_add_* uses with GTY annotations.
4945 (gt_ggc_mp_function): Delete.
4946 * function.h: Replace ggc_add_* uses with GTY annotations.
4947 * gengtype.c (lang_names): New.
4948 (NUM_BASE_FILES): New.
4949 (open_base_files): Create language base files.
4951 (get_file_basename): New.
4952 (get_base_file_bitmap): New.
4953 (get_output_file_with_visibility): Rename from get_output_file.
4954 Add more mappings for various C/Objc filenames.
4955 (finish_root_table): New.
4956 (write_gc_roots): Handle dependencies and scoping properly.
4957 * gengtype.h: Add prototypes for new functions.
4958 * ggc-common.c (struct deletable_root): Delete.
4959 (deletables): Delete.
4960 (ggc_add_deletable_root): Delete.
4961 (ggc_mark_roots): No need to deal with deleted functionality.
4962 * ggc.h (ggc_add_deletable_root): Delete prototype.
4963 * objc/Make-lang.in (objc-act.o): Add gtype-objc.h dependency.
4964 (gtype-objc.h): Add rule to create.
4965 * objc/config-lang.in (gtfiles): New.
4966 * objc/objc-act.c: Allocate imp_list using GGC. Replace uses of
4967 ggc_add_* with GTY markers. Include gtype-objc.h.
4968 (ggc_mark_imp_list): Delete.
4969 * objc/objc-act.h: Replace uses of ggc_add_* with GTY markers.
4970 * objc/objc-lang.c: Random Whitespace Change.
4972 * except.h (exception_handler_labels): Delete.
4973 (get_exception_handler_labels): New.
4974 * except.c (exception_handler_labels): Delete.
4975 (struct eh_status): Add exception_handler_labels field.
4976 (doing_eh): Don't add exception_handler_labels as root.
4977 (free_eh_status): Don't need to free exception_handler_labels.
4978 (get_exception_handler_labels): New.
4979 (find_exception_handler_labels): Update for move of
4980 exception_handler_labels.
4981 (remove_exception_handler_label): Likewise.
4982 * cfgrtl.c (can_delete_label_p): Use get_exception_handler_labels.
4983 * jump.c (rebuild_jump_labels): Likewise.
4984 * loop.c (find_and_verify_loops): Likewise.
4985 * sched-rgn.c (is_cfg_nonregular): Likewise.
4987 * gengtype.c (write_gc_structure_fields): Handle variable-length
4990 * varasm.c (struct weak_syms): Use GGC, gengtype.
4991 (mark_weak_decls): Delete.
4992 (weak_decls): Likewise.
4993 (add_weak): Likewise.
4994 (remove_from_pending_weak_list): Likewise.
4995 (init_varasm_once): Likewise.
4997 * Makefile.in (gtype-desc.o): Add libfuncs.h dependency.
4998 (GTFILES): Add tree.h, libfuncs.h, emit-rtl.c, explow.c,
4999 stor-layout.c, regclass.c, and lists.c.
5000 Add dependencies of gt-emit-rtl.h gt-explow.h gt-stor-layout.h
5001 gt-regclass.h and gt-lists.h on s-gtype.
5002 * emit-rtl.c: Use gengtype for roots. Include gt-emit-rtl.h.
5003 * except.c: Use gengtype for roots.
5004 * explow.c: Use gengtype for roots. Include gt-explow.h.
5005 * expr.h (init_stor_layout_once): Delete prototype.
5006 * function.c: Use gengtype for roots.
5007 * gengtype-lex.l: Add ENT_EXTERNSTATIC lexing.
5008 * gengtype-yacc.y (start): Can also be an externstatic.
5009 (externstatic): New production.
5010 (struct_fields): Correct array bounds inversion for 2-d arrays.
5011 * gengtype.c (variables): New variable.
5012 (note_variable): New function.
5013 (get_output_file): Include libfuncs.h into gtype-desc.c.
5014 (get_output_file_name): New function.
5015 (write_gc_structure_fields): Suppress warnings.
5016 (write_gc_types): Make static.
5017 (put_mangled_filename): New function.
5018 (write_gc_roots): New function.
5019 (main): Call write_gc_roots.
5020 * gengtype.h (note_variable): Prototype.
5021 (get_output_file_name): Prototype.
5022 (write_gc_types): Delete prototype.
5023 * ggc.h: Clean up unnecessary structure predefinitions.
5024 (struct ggc_root_tab): Define.
5025 (gt_ggc_m_rtx_def): Make function, not macro.
5026 (gt_ggc_m_tree_node): Likewise.
5027 * libfuncs.h: Use gengtype for roots.
5028 * lists.c: Use gengtype for roots. Include gt-lists.h.
5029 (init_EXPR_INSN_LIST_cache): Delete.
5030 * optabs.c: Use gengtype for roots.
5031 (gt_ggc_mp_optab): Delete.
5032 * optabs.h: Use gengtype for roots.
5033 * regclass.c: Use gengtype for roots. Include gt-regclass.h.
5034 * rtl.h: Use gengtype for roots.
5035 (init_EXPR_INSN_LIST_cache): Delete prototype.
5036 * stor-layout.c: Use gengtype for roots.
5037 Include gt-stor-layout.h.
5038 (init_stor_layout_once): Delete.
5039 * toplev.c: Use gengtype for roots. Delete calls to deleted
5041 * tree.c: Use gengtype for roots.
5042 * tree.h: Use gengtype for roots.
5043 * varasm.c: Use gengtype for roots.
5045 * Makefile.in (GTFILES): Add @all_gtfiles@.
5046 * configure: Regenerate.
5047 * configure.in: Construct all_gtfiles from the gtfiles definitions
5049 * gengtype-yacc.y (type): Warn about duplicate structure names.
5050 * gengtype.c (get_output_file): Handle .c files in language
5053 * Makefile.in (GTFILES): Run gengtype on all the config files
5054 and on the target .c file.
5055 * except.c (mark_eh_region): Delete.
5056 (init_eh_for_function): Use GGC on struct eh_status.
5057 (mark_eh_status): Delete.
5058 (free_eh_status): Use GGC.
5059 (expand_eh_region_start): Use GGC to
5060 (collect_eh_region_array): Allocate last_region_number using GGC.
5061 (duplicate_eh_region_1): Use GGC to allocate struct eh_region.
5062 (remove_eh_handler): Let GGC free struct eh_region.
5063 (add_call_site): Use GGC to reallocate call_site_record array.
5064 * function.c (init_machine_status): Update calling sequence.
5065 (mark_machine_status): Likewise.
5066 (mark_lang_status): Likewise.
5067 (prepare_function_start): Update init_machine_status call.
5068 (mark_function_status): Delete.
5069 (maybe_mark_struct_function): Delete.
5070 (ggc_mark_struct_function): Delete.
5071 (gt_ggc_mp_function): New.
5072 (gt_ggc_mr_machine_function): New.
5073 (gt_ggc_mr_language_function): New.
5074 (init_function_once): Use canonical names.
5075 * function.h (struct function): Use gengtype.
5076 (init_machine_status): Return the structure.
5077 (mark_machine_status): Take a 'void *'.
5078 (mark_lang_status): Likewise.
5079 * ggc-common.c (ggc_mark_trees): Use canonical name for
5080 ggc_mark_struct_function.
5081 * tree.h (ggc_mark_struct_function): Delete prototype.
5082 * config/alpha/alpha.c (alpha_mark_machine_status): Delete.
5083 (alpha_init_machine_status): Likewise.
5084 (override_options): Use canonical name for alpha_mark_machine_status.
5085 * config/alpha/unicosmk.h (struct machine_function): Use gengtype.
5086 * config/arm/arm.h (struct machine_function): Use gengtype.
5087 * config/arm/arm.c (arm_mark_machine_status): Delete.
5088 (arm_init_machine_status): Update calling sequence.
5089 (arm_init_expanders): Use canonical name for arm_mark_machine_status.
5090 * config/cris/cris.c (cris_init_machine_status): Update
5092 * config/d30v/d30v.h (struct machine_function): Use gengtype.
5093 * config/d30v/d30v.c (d30v_init_machine_status): Update
5095 (d30v_mark_machine_status): Delete.
5096 * config/i386/i386.c: Include gt-i386.h.
5097 (struct machine_function): Use gengtype.
5098 (ix86_init_machine_status): Update calling sequence.
5099 (ix86_mark_machine_status): Delete.
5100 (override_options): Use canonical namke for ix86_mark_machine_status.
5101 * config/ia64/ia64.h (struct machine_function): Use gengtype.
5102 * config/ia64/ia64.c (ia64_init_machine_status): Update calling
5104 (ia64_mark_machine_status): Delete.
5105 (ia64_override_options): Use canonical name for
5106 ia64_mark_machine_status.
5107 * config/mmix/mmix.c (mmix_init_machine_status): Update calling
5109 * config/rs6000/rs6000.c (rs6000_init_machine_status): Likewise.
5110 * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
5111 * gengtype.c (get_output_file): Fix warning.
5112 (main): Add prototype to suppress warning.
5113 * tree.c: Remove tree_hash_mark prototype.
5115 * tree.h (init_stmt): Delete prototype.
5116 * toplev.c (lang_independent_init): Don't call init_stmt.
5117 * stmt.c (ALLOC_NESTING): Use GGC for 'struct nesting'.
5118 (stmt_obstack): Delete.
5119 (POPSTACK): No need to free 'struct nesting'.
5120 (gt_ggc_mr_nesting_cond): Use canonical names.
5121 (gt_ggc_mr_nesting_loop): Use canonical names.
5122 (gt_ggc_mr_nesting_block): Use canonical names.
5123 (gt_ggc_mr_nesting_case_stmt): Use canonical names.
5124 (mark_stmt_status): Delete.
5125 (init_stmt): Delete.
5126 (clear_last_expr): Clear both last_expr_type and last_expr_value.
5127 Use it everywhere that last_expr_type was cleared.
5128 * lists.c (init_EXPR_INSN_LIST_cache): Use ggc_add_deletable_root.
5129 (zap_lists): Delete.
5130 * ggc.h (ggc_add_deletable_root): Prototype.
5131 (mark_stmt_status): Remove prototype.
5132 * ggc-common.c (ggc_add_deletable_root): New.
5133 (ggc_mark_roots): Handle deletable roots.
5134 * function.c (ggc_mark_struct_function): Use canonical name
5135 for mark_stmt_status.
5136 * emit-rtl.c (free_sequence_stack): New.
5137 (start_sequence): Use a freelist for sequences.
5138 (end_sequence): Likewise.
5139 (init_emit_once): Add free_sequence_stack as a deleteable root.
5140 * c-pragma.c Include gt-c-pragma.h.
5141 (struct align_stack): Use gengtype.
5142 (push_alignment): Use GGC for struct align_stack.
5143 (mark_align_stack): Delete.
5144 (gt_ggc_mp_align_stack): New.
5145 (init_pragma): Use canonical name for mark_align_stack.
5146 * c-decl.c: Include gt-c-decl.h.
5147 (struct binding_level): Use gengtype.
5148 (make_binding_level): Use GGC; handle the freelist here.
5149 (pop_binding_level): New.
5150 (pushlevel): Move code into make_binding_level.
5151 (push_label_level): Likewise.
5152 (poplevel): Move code into pop_binding_level.
5153 (pop_label_level): Likewise.
5154 (mark_binding_level): Delete.
5155 (gt_ggc_mp_binding_level): New.
5156 (c_init_decl_processing): Use canonical name for mark_binding_level.
5157 Add free_binding_level as deletable root.
5158 (mark_c_function_context): Use canonical name for mark_binding_level.
5159 * Makefile.in (c-decl.o): Add gt-c-decl.h.
5160 (c-pragma.o): Add gt-c-pragma.h.
5161 (GTFILES): Add c-decl.c and c-pragma.c.
5162 (gt-c-decl.h, gt-c-pragma.h): Create using gengtype.
5164 * tree.c (struct type_hash): Use gengtype.
5165 (init_obstacks): Use canonical name for type_hash_mark.
5166 (type_hash_mark): Delete.
5168 * rtl.h (struct mem_attrs): Use gengtype.
5169 * optabs.h (struct optab): Use gengtype.
5170 * optabs.c (expand_binop): Squish signed/unsigned warning.
5171 (mark_optab): Make local, use canonical name, use autogenerated
5173 (init_optabs): Use canonical name for mark_optab.
5174 (new_optab): Use GGC to allocate optabs.
5175 * ggc.h: Delete mark_optab prototype.
5176 * ggc-common.c (ggc_mark_rtx_children): Use canonical name for
5177 mem_attrs marker procedure.
5178 * gengtype.c (get_output_file): Include headers in gtype-desc.c
5179 explicitly rather than deducing them from file names.
5180 (write_gc_structure_fields): Handle arrays of structures.
5181 (main): Return non-zero exit code if errors occur during output.
5182 * emit-rtl.c (mem_attrs_mark): Delete.
5183 (init_emit_once): Use canonical name for mem_attrs marker procedure.
5184 * Makefile.in (gtype-desc.o): Explicitly name dependencies.
5185 (tree.o): Depend on gt-tree.h.
5186 (GTFILES): Add rtl.h, optabs.h, tree.c.
5187 (gt-tree.h): Add it to s-gtype rule.
5189 * .cvsignore: Ignore gengtype flex/bison generated files.
5190 * Makefile.in (GGC_H): Add gtype-desc.h.
5191 (OBJS): Add gtype-desc.o.
5192 (GEN): Add gengtype.
5193 (STAGESTUFF): Add gengtype.
5194 (varasm.o): Add gt-varasm.h.
5195 (stmt.o): Add gt-stmt.h.
5196 (except.o): Add gt-except.h.
5197 (integrate.o): Add gt-integrate.h.
5199 Add new rules for new files.
5200 * configure: Regenerate.
5201 * configure.in: Correct defaults.h paths.
5202 * emit-rtl.c (mark_sequence_stack): Delete.
5203 (mark_emit_status): Delete.
5204 (start_sequence): Allocate sequence structures using GGC.
5205 (end_sequence): Allocate sequence structures using GGC.
5206 * except.c: Use gengtype for various structures. Include
5208 * expr.c (mark_expr_status): Delete.
5209 * function.c: Use gengtype for various structures. Include
5211 (mark_function_status): Use standard gt_ggc names for marker functions.
5212 (ggc_mark_struct_function): Likewise.
5213 * function.h: Use gengtype for various structures.
5214 * gengtype-lex.l: New file.
5215 * gengtype-yacc.y: New file.
5216 * gengtype.c: New file.
5217 * gengtype.h: New file.
5218 * ggc.h: Include gtype-desc.h. Alias some marker procedures to
5219 the standard names. Remove some now-unnecessary prototypes.
5220 * integrate.c: Use gengtype for various structures. Include
5222 (mark_hard_reg_initial_vals): Delete.
5223 * integrate.h (mark_hard_reg_initial_vals): Delete.
5224 * stmt.c: Use gengtype for various structures. Include
5226 (mark_case_node): Delete.
5227 (mark_goto_fixup): Delete.
5228 (mark_stmt_status): Use standard gt_ggc names for marker functions.
5229 * system.h: Define GTY to empty. In flex/bison files,
5230 don't poison malloc or realloc, instead just define them to
5231 xmalloc and xrealloc.
5232 * varasm.c: Use gengtype for various structures. Include
5233 gt-varasm.h. Use standard gt_ggc names for marker functions.
5234 (mark_pool_constant): Delete.
5235 (mark_varasm_status): Delete.
5236 (decode_rtx_const): #if 0 out non-typesafe hack.
5238 * function.h (free_lang_status): Mark as obsolete.
5239 * function.c (free_lang_status): Mark as obsolete.
5240 * c-decl.c (push_c_function_context): Use GC to allocate and free
5241 struct language_function.
5242 (pop_c_function_context): Likewise.
5243 * c-common.c (mark_c_language_function): Mark struct
5246 * doc/tm.texi (Per-Function Data): Don't document free_machine_status.
5247 Document that the machine_function structures must be allocated
5248 using GC. Update mark_machine_status documentation.
5249 * function.h: Don't declare free_machine_status.
5250 * function.c (free_machine_status): Don't define.
5251 (free_after_compilation): Don't call free_machine_status.
5252 (ggc_mark_struct_function): Mark f->machine. Call
5253 mark_machine_status only on non-NULL pointers.
5254 * system.h: Poison free_machine_status.
5255 * config/xtensa/xtensa.c (xtensa_init_machine_status): Use GC on
5256 struct machine_function.
5257 (xtensa_free_machine_status): Delete.
5258 (override_options): Don't set free_machine_status.
5259 * config/rs6000/rs6000.c (rs6000_override_options): Don't set
5260 free_machine_status.
5261 (rs6000_init_machine_status): Use GC on struct machine_function.
5262 (rs6000_free_machine_status): Delete.
5263 * config/ia64/ia64.c (ia64_init_machine_status): Use GC on struct
5265 (ia64_mark_machine_status): Likewise.
5266 (ia64_free_machine_status): Delete.
5267 (ia64_override_options): Don't set free_machine_status.
5268 * config/i386/i386.c (override_options): Don't set
5269 free_machine_status.
5270 (ix86_init_machine_status): Use GC on struct machine_function.
5271 (ix86_mark_machine_status): Likewise.
5272 (ix86_free_machine_status): Delete.
5273 * config/d30v/d30v.c: (d30v_init_machine_status): Use GC on struct
5275 (d30v_mark_machine_status): Likewise.
5276 (d30v_free_machine_status): Delete.
5277 (d30v_init_expanders): Don't set free_machine_status.
5278 * config/arm/arm.c (arm_mark_machine_status): Use GC on struct
5280 (arm_init_machine_status): Likewise.
5281 (arm_free_machine_status): Delete.
5282 (arm_init_expanders): Don't set free_machine_status.
5283 * config/alpha/alpha.c (override_options): Don't set
5284 free_machine_status.
5285 (alpha_init_machine_status): Use GC on struct machine_function.
5286 (alpha_mark_machine_status): Likewise.
5287 (alpha_free_machine_status): Delete.
5289 * varasm.c (compare_constant): Fix typo.
5291 * varasm.c: Don't include obstack.h.
5292 (struct varasm_status): x_const_rtx_hash_table is a hash of rtxes.
5293 (struct rtx_const): Give substructures names, improve formatting.
5294 (struct constant_descriptor): Delete.
5295 (struct constant_descriptor_tree): New, based on constant_descriptor.
5296 (const_hash_table): Is a hash table of trees.
5297 (mark_const_hash_entry): Is used for hashes of trees. Mark
5298 constant_descriptor_tree structure.
5299 (mark_const_str_htab_1): Mark deferred_string structure.
5300 (compare_constant): Rewrite to compare trees.
5301 (compare_constant_1): Delete.
5302 (record_constant): Delete.
5303 (record_constant_1): Delete.
5304 (output_constant_def): Use struct constant_descriptor_tree.
5305 Don't duplicate trees twice.
5306 (struct constant_descriptor_rtx): New.
5307 (struct pool_constant): Used for rtx constants.
5308 (init_varasm_status): Update for change to struct varasm_status.
5309 (mark_varasm_status): Likewise.
5310 (free_varasm_status): Delete.
5311 (compare_constant_rtx): Rewrite to handle constant_descriptor_rtx.
5312 (record_constant_rtx): Likewise.
5313 (mem_for_const_double): Update to use struct constant_descriptor_rtx.
5314 (force_const_mem): Likewise.
5315 * Makefile.in (varasm.o): Doesn't depend on obstack.h.
5316 * function.c (free_after_compilation): Don't use free_varasm_status.
5317 * function.h: Don't prototype free_varasm_status.
5319 * ggc-common.c (ggc_realloc): Handle X being NULL.
5321 * ggc-common.c (ggc_realloc): New function.
5322 * ggc.h: Prototype it.
5323 * emit-rtl.c (free_emit_status): Delete.
5324 (init_emit): Allocate emit subarrays using GC.
5325 (gen_reg_rtx): Reallocate subarrays using GC.
5326 (init_emit): Use GC to allocate 'struct emit_status' and its
5328 (mark_emit_status): Mark structure and its subarrays.
5329 * stmt.c (free_stmt_status): Delete.
5330 * expr.c (free_expr_status): Delete.
5331 * function.h: Remove prototypes for deleted functions.
5332 * function.c (free_after_compilation): Don't use deleted functions.
5333 Don't call free() on x_parm_reg_stack_loc.
5334 (free_after_parsing): Don't use free_stmt_status.
5335 (assign_parms): Use GC to allocate and resize x_parm_reg_stack_loc.
5336 (mark_function_status): Mark x_parm_reg_stack_loc.
5338 * varasm.c (init_varasm_status): Use GC to allocate
5339 'struct varasm_status' and its fields x_const_rtx_hash_table
5340 and x_const_rtx_sym_hash_table.
5341 (mark_varasm_status): Mark them.
5342 (free_varasm_status): Use GC to free them.
5343 * expr.c (init_expr): Use GC to allocate 'struct expr_status'.
5344 (mark_expr_status): Mark the structure itself.
5345 (free_expr_status): Use GC to free the structure.
5346 * stmt.c (free_stmt_status): Use GC to free 'struct stmt_status'.
5347 (mark_stmt_status): Mark the 'struct stmt_status' itself.
5348 (init_stmt_for_function): Allocate the structure for GC.
5350 * dwarf2out.c (lookup_type_die): Use TYPE_SYMTAB_DIE.
5351 (equate_type_number_to_die): Likewise.
5352 * tree.h (TYPE_SYMTAB_DIE): New macro.
5353 (struct die_struct): Predeclare.
5354 (struct tree_type): Add field symtab.die. Add a tag
5355 to the union type of field symtab.
5357 * varray.h (VARRAY_RTVEC_INIT): A varray of rtvec contains
5358 'struct rtvec_def *', not 'struct rtvec_def'.
5360 * function.h (original_arg_vector): Make a real rtvec.
5361 * function.c (ggc_mark_struct_function): Adjust.
5362 * integrate.c (expand_inline_function): Adjust.
5364 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
5366 * config.gcc (sh5-*-netbsd*, sh5l*-*-netbsd*)
5367 (sh64-*-netbsd*, sh64l*-*-netbsd*): New targets.
5368 * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN)
5369 (TARGET_VERSION_CPU): Define according to the
5371 (TARGET_VERSION): Use TARGET_VERSION_ENDIAN and
5373 (TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_LP64
5374 if TARGET_SHMEDIA64.
5375 (LINK_DEFAULT_CPU_EMUL): Define according to the
5377 (SUBTARGET_LINK_EMUL_SUFFIX): Define.
5378 (SUBTARGET_LINK_SPEC): Define.
5379 (LINK_SPEC): Use SH_LINK_SPEC.
5381 (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
5382 (FUNCTION_PROFILER): Add cases for TARGET_SHMEDIA32
5383 and TARGET_SHMEDIA64 which abort, for now.
5384 * config/sh/t-netbsd-sh5: New file.
5385 * config/sh/t-netbsd-sh5-32: New file.
5386 * config/sh/t-netbsd-sh5-64: New file.
5388 2002-06-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
5389 Richard Henderson <rth@redhat.com>
5391 * config/alpha/alpha.c (reg_or_const_int_operand): New.
5392 (some_operand, input_operand): Accept CONST_VECTOR.
5393 (alpha_extra_constraint): Add 'W'.
5394 (alpha_expand_zap_mask): New.
5395 (alpha_expand_builtin_vector_binop): New.
5396 (enum alpha_builtin): New.
5397 (zero_arg_builtins, one_arg_builtins, two_arg_builtins): New.
5398 (alpha_init_builtins, alpha_expand_builtin): New.
5399 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): New.
5400 * config/alpha/alpha.h (VECTOR_MODE_SUPPORTED_P): New.
5401 (PREDICATE_CODES): Update.
5402 * config/alpha/alpha-protos.h: Update.
5403 * config/alpha/alpha.md (UNSPEC_CMPBGE, UNSPEC_ZAP,
5404 UNSPEC_AMASK, UNSPEC_IMPLVER, UNSPEC_PERR, UNSPECV_RPCC): New.
5405 (movv8qi, movv8qi_fix, movv8qi_nofix): New.
5406 (movv4hi, movv4hi_fix, movv4hi_nofix): New.
5407 (movv2si, movv2si_fix, movv2si_nofix): New.
5408 (uminv8qi3, sminv8qi3, uminv4hi3, sminv4hi3): New.
5409 (umaxv8qi3, smaxv8qi3, umaxv4hi3, smaxv4hi3): New.
5410 (builtin_cmpbge, builtin_extql, builtin_extqh, builtin_zap,
5411 builtin_zap_1, builtin_zapnot, builtin_zapnot_1, builtin_amask,
5412 builtin_implver, builtin_rpcc, builtin_minub8, builtin_minsb8,
5413 builtin_minuw4, builtin_minsw4, builtin_maxub8, builtin_maxsb8,
5414 builtin_maxuw4, builtin_maxsw4, builtin_perr, builtin_pklb,
5415 pklb, builtin_pkwb, pkwb, builtin_unpkbl, unpkbl,
5416 builtin_unpkbw, unpkbw): New.
5417 * doc/extend.texi (Alpha Built-in Functions): New.
5419 2002-06-03 Richard Henderson <rth@redhat.com>
5421 * crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on
5422 USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.
5424 2002-06-03 Richard Henderson <rth@redhat.com>
5426 * config/alpha/alpha-protos.h: Eliminate unneeded ifdefs.
5428 * config/alpha/alpha.c (reg_or_0_operand): Use CONST0_RTX.
5429 (const0_operand): New.
5430 (reg_or_fp0_operand, fp0_operand): Remove.
5431 * config/alpha/alpha.h (PREDICATE_CODES): Update.
5432 * config/alpha/alpha-protos.h: Update.
5433 * config/alpha/alpha.md: Replace all uses of reg_or_fp0_operand
5434 and fp0_operand with reg_or_0_operand and const0_operand.
5436 2002-06-03 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
5438 * alias.c (nonoverlapping_memrefs_p): Fix off by one error.
5440 2002-06-03 Roger Sayle <roger@eyesopen.com>
5442 * gcse.c (cprop_jump): Use single_set to get the pattern
5443 from the setcc argument.
5445 2002-06-03 Gabriel Dos Reis <gdr@codesourcery.com>
5447 * diagnostic.h (diagnostic_count): Move from output_buffer to
5449 (diagnostic_kind_count): Adjust definition.
5451 Mon Jun 3 19:11:53 CEST 2002 Jan Hubicka <jh@suse.cz>
5453 * except.c (except.c): Do not rebuild CFG.
5454 * toplev.c (rest_of_compilation): Recompute CFG after sibcall
5457 Mon Jun 3 11:53:01 CEST 2002 Jan Hubicka <jh@suse.cz>
5459 * integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.
5460 * toplev.c: Include cfglahout.h
5461 * Makefile.in (toplev.c): Add dependnecy.
5463 2002-06-03 Neil Booth <neil@daikokuya.demon.co.uk>
5465 * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): New.
5466 (CPP_CPU32_SPEC, CPP_CPU64_SPEC): Kill.
5467 (CPP_CPUCOMMON_SPEC): Rename CPP_CPU_SPEC.
5469 2002-06-03 Jason Thorpe <thorpej@wasabisystems.com>
5471 * config/ns32k/netbsd.h: Update copyright years.
5472 (TARGET_OS_CPP_BUILTINS): Define.
5473 (CPP_PREDEFINES): Remove.
5474 * config/ns32k/ns32k.h (CPP_PREDEFINES): Remove.
5475 (TARGET_CPU_CPP_BUILTINS): Define.
5477 2002-06-02 Kazu Hirata <kazu@cs.umass.edu>
5479 * emit-rtl.c: Fix formatting.
5480 * errors.h: Likewise.
5481 * except.c: Likewise.
5482 * explow.c: Likewise.
5483 * expmed.c: Likewise.
5487 2002-06-02 Kazu Hirata <kazu@cs.umass.edu>
5489 * config/h8300/elf.h: Fix formatting.
5490 * config/h8300/rtems.h: Likewise.
5492 2002-06-03 Jason Thorpe <thorpej@wasabisystems.com>
5494 * config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.
5496 2002-06-02 Tom Tromey <tromey@redhat.com>
5498 * fixinc/fixincl.x: Rebuilt.
5499 * fixinc/inclhack.def (thread_keyword): Match `*__thread'.
5501 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
5504 * i370.h (TARGET_CPU_CPP_BUILTINS): Use.
5505 * linux.h: Use TARGET_OS_CPP_BUILTINS rather than CPP_PREDEFINES.
5509 Mon Jun 3 00:18:20 CEST 2002 Jan Hubicka <jh@suse.cz>
5511 * final.c (final): Allow notes to not have computed addresses;
5512 kill no longer needed STACK_REGS ifdef.
5514 2002-06-02 Richard Henderson <rth@redhat.com>
5516 * gcse.c (bypass_conditional_jumps): Fix typo last change.
5518 Sun Jun 2 23:02:11 CEST 2002 Jan Hubicka <jh@suse.cz>
5520 * loop.c (emit_prefetch_instructions): Properly place the address
5523 Sun Jun 2 22:56:48 CEST 2002 Jan Hubicka <jh@suse.cz>
5525 * basic-block.h (basic_block_for_insn, BLOCK_FOR_INSN): Kill.
5526 (set_block_for_insn): Turn into macro.
5527 * cfgbuild.c (find_basic_block): Do not clear basic_block_for_insn.
5528 * cfglayout.c (insn_scopes): Kill.
5529 (scope_to_insns_initialize): Do not use insn_scopes.
5530 (scope_to_insns_finalize): Likewise.
5531 (duplicate_insn_chain): Likewise.
5532 (cfg_layout_initialize, cfg_layout_finalize): Do not turn scopes to notes.
5533 * cfgrtl.c (basic_block_for_insn): Kill.
5534 (delete_insn_and_edges, delete_insn_chain_and_edges): Simplify.
5535 (create_basic_block_structure): Use reorder_insns.
5536 (compute_bb_for_insn): Do not use basic_block_for_insn.
5537 (merge_blocks_nomove): Likewise.
5538 (update_bb_for_insn): Likewise.
5539 (verify_flow_info): Likewise.
5540 (set_block_for_insn): Kill.
5541 * combine.c (try_combine): Update gen_rtx_INSN call.
5542 * emit-rtl.c (gen_label_rtx): Update gen_rtx_CODE_LABEL call.
5543 (mark_insn_raw, make_jump_insn_raw, make_call_insn_raw): Clear
5545 (add_insn_after, add_insn_before, remove_insn, reorder_insns): Simplify.
5546 (emit_note_before, emit_note_after, emit_line_note_after, emit_note):
5548 (emit_insns_after): Simplify.
5549 (emit_copy_of_insn_after): Copy scope.
5550 * final.c (final_start_function): Lower scopes.
5551 * flow.c (check_function_return_warnings): Do not rely on deleted insn.
5552 * integrate.c (copy_insn_list): Cope scopes.
5553 * jump.c (duplicate_loop_exit_test): LIkewise; simplify.
5554 * loop.c (loop_optimize): Do not care block notes.
5555 * print-rtl.c (print_rtx): Print BB.
5556 * recog.c (apply_change_group): Simplify.
5557 * rtl.c (copy_rtx): Handle 'B'.
5558 * rtl.def (INSN, CALL_INSN, JUMP_INSN, NOTE): Add extra fields.
5559 * rtl.h (Field accessors): Update indexes.
5560 * sched-ebb.c (schedule_ebbs): Do not lower notes.
5561 * sched-rgn.c (schedule_insns): Likewise.
5562 * toplev.c (rest_of_compilation): Lower notes.
5563 * unroll.c (unroll_loop): Do not care scoping notes.
5564 (copy_loop_body): Copy scopes.
5566 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
5569 * elf.h: Use TARGET_OS_CPP_BUILTINS rather than
5571 * rtems.h: Similarly.
5572 * h8300.h (CPP_PREDEFINES, CPP_SPEC, SUBTARGET_CPP_SPEC,
5573 EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove.
5574 (TARGET_CPU_CPP_BUILTINS): Use.
5576 2002-06-02 Richard Henderson <rth@redhat.com>
5578 * alias.c: Include target.h.
5579 (mark_constant_function): Use targetm.binds_local_p instead
5580 of checking TREE_PUBLIC ourselves.
5581 * Makefile.in (alias.o): Add TARGET_H.
5583 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
5585 * c-lex.c: Update copyright and file description.
5587 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
5589 * config/fr30/fr30.h: Update to new CPP macros.
5591 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
5593 * config/dsp16xx/dsp16xx.h: Update to new CPP macros.
5595 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
5596 Zack Weinberg <zack@codesourcery.com>
5598 * c-common.c (c_common_init): Override cpplib's default
5599 warn_long_long setting.
5600 * c-lex.c (lex_number): Replace with interpret_integer,
5601 interpret_float, narrowest_unsigned_type and
5602 narrowest_signed_type, taking advantage of the new
5603 cpplib functionality.
5604 * cpperror.c (_cpp_begin_message): If a warning is turned
5605 into an error, avoid printing "warning:".
5606 * cppexp.c (cpp_num_sign_extend): New.
5607 * cppinit.c: Update comment.
5608 * cpplib.h (cpp_num_sign_extend): New.
5609 * tree.h: Update comment.
5611 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
5613 * diagnostic.h (struct diagnostic_context): Add new member
5615 (internal_error_function): Remove declaration.
5616 * diagnostic.c (internal_error_function): Remove definition..
5617 (internal_error): Adjust use.
5619 2002-06-02 Richard Henderson <rth@redhat.com>
5621 * rtl.h (CC0_P): New.
5622 * gcse.c (cprop_jump): Use it with single_set. Tweak dump text.
5623 (cprop_insn): Allow any mode register; use CC0_P. CSE out single_set.
5624 (bypass_block): Save old dest block for dump text.
5625 (bypass_conditional_jumps): Allow any mode register; use CC0_P.
5626 Allow only true SET insns, not single_set.
5628 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
5630 * diagnostic.c (diagnostic_finish): Rename to output_flush.
5631 (clear_disgnostic_info): Rename to output_clear_data. Use false
5632 instead of 0 for boolean value.
5633 Adjust function call throughout.
5635 Sun Jun 2 19:15:27 CEST 2002 Jan Hubicka <jh@suse.cz>
5637 * cfgrtl.c (commit_one_edge_insertion): Fix warning.
5638 * gcse.c (bypass_conditional_jumps): CSE out single_set call.
5640 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
5642 * d30v.h (CPP_PREDEFINES): Replace with
5643 (TARGET_CPU_CPP_BUILTINS): New.
5645 2002-06-02 Roger Sayle <roger@eyesopen.com>
5647 * config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.
5649 Sun Jun 2 12:11:52 CEST 2002 Jan Hubicka <jh@suse.cz>
5651 * gcse.c (bypass_conditional_jumps): Use single set to obtain set.
5653 2002-06-02 Richard Henderson <rth@redhat.com>
5655 * rtlanal.c (volatile_refs_p): Not automatically true for CALL.
5657 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
5659 Support for C++ constructors/destructors.
5660 * config/avr/avr.c (avr_output_function_epilogue): Jump to exit()
5661 instead of looping if main() returns.
5662 (asm_file_start): Output global symbols that cause .data and .bss
5663 initialization code to be linked in, unconditionally for now.
5664 (avr_asm_out_ctor, avr_asm_out_dtor): New functions.
5665 * config/avr/avr.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): New.
5666 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
5668 * config/avr/libgcc.S (_exit): Split in .fini9 and .fini0 sections.
5669 (__tablejump__): New.
5670 (__do_copy_data, __do_clear_bss): New.
5671 (__do_global_ctors, __do_global_dtors): New.
5672 * config/avr/t-avr (LIB1ASMFUNCS): Add _copy_data, _clear_bss,
5675 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
5677 * c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New.
5678 (CPP_SPEC, CPP_PREDEFINES): Kill.
5679 * c4x/rtems.h (CPP_PREDEFINES): Kill.
5680 (TARGET_OS_CPP_BUILTINS): New.
5682 Sat Jun 1 23:29:51 CEST 2002 Jan Hubicka <jh@suse.cz>
5684 * Makefile.in (tracer.o): New.
5685 * params.def (TRACER_*): New options.
5686 * rtl.h (tracer): Declare.
5687 * timevar.def (TV_TRACER): New.
5688 * toplev.c (dump_file_index): Add DFI_tracer.
5689 (dump_file_info): Add tracer.
5691 (lang_indepdenent_options): Add tracer.
5692 (rest_of_compilation): Call tracer.
5693 * tracer.c: New file.
5694 * invoke.texi (-ftracer): Document.
5695 (--param tracer-*): Document.
5697 2002-06-01 Daniel Berlin <dberlin@dberlin.org>
5699 * tree-inline.c (expand_call_inline): Make the statement
5700 expression we generate have a COMPOUND_STMT.
5702 2002-06-01 Roger Sayle <roger@eyesopen.com>
5704 * gcse.c (cprop_cc0_jump): Function deleted.
5705 (cprop_jump): Take an additional argument which is the possibly
5706 NULL cc setting insn immediately before the conditional jump.
5707 When a MODE_CC set is present, substitute it into the JUMP_INSN
5708 before attempting the constant propagation.
5709 (cprop_insn): Recognize cc setters followed by conditional jumps
5710 as a special case. Use cprop_jump instead of cprop_cc0_jump.
5711 (cprop_one_pass): Call bypass_conditional_jumps if altering jumps.
5712 (find_bypass_set): New function based upon find_avail_set used by
5713 cprop, but finds constant expressions available at the end of
5715 (bypass_block): New function. Given a basic block that begins
5716 with a conditional jump and multiple incoming edges, perform
5717 the jump bypass optimization.
5718 (bypass_conditional_jumps): New function. Call bypass_block with
5719 each suitable basic block in the CFG using a simple single pass.
5721 2002-06-01 Roger Sayle <roger@eyesopen.com>
5723 * tree.c (real_minus_onep): New function to test for -1.0.
5724 * fold-const.c (fold) [MULT_EXPR]: Optimize -1.0*x into -x.
5726 2002-06-01 Roger Sayle <roger@eyesopen.com>
5728 * fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0"
5729 and "!p && !q" into "(p|q) == 0" under suitable conditions.
5731 2002-06-01 Andreas Jaeger <aj@suse.de>
5733 * cppexp.c (cpp_classify_number): Cast precission to int for
5734 correct printf format.
5736 2002-06-01 Marek Michalkiewicz <marekm@amelek.gda.pl>
5738 * config/avr/avr.c (avr_mcu_types): Remove devices that were once
5739 expected, but don't really exist: atmega83, atmega85, attiny10.
5740 * config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld
5741 emulations for all devices.
5742 (CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10.
5743 * config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85.
5745 2002-06-01 Kazu Hirata <kazu@cs.umass.edu>
5747 * config/h8300/h8300-protos.h: Add a prototype for
5748 h8300_shift_needs_scratch_p.
5749 * config/h8300/h8300.c (h8300_shift_needs_scratch_p): New.
5750 * config/h8300/h8300.h (OK_FOR_R): New.
5751 (OK_FOR_S): Likewise.
5752 (OK_FOR_T): Likewise.
5753 (EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T.
5754 * config/h8300/h8300.md (anonymous shift patterns): Use
5755 constraints R, S, and T.
5757 Sat Jun 1 11:23:22 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
5759 * basic-block.h (struct basic_block_def): New field loop_father.
5760 (BB_VISITED): New flag.
5761 (struct loop): New field pred, removed field shared.
5762 (struct loops): New field parray.
5763 (LOOP_EXITS_DOMS): Removed.
5764 (flow_loop_tree_node_add, flow_loop_tree_node_remove,
5765 flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body,
5766 dfs_enumerate_from, loop_preheader_edge, loop_latch_edge,
5767 add_bb_to_loop, remove_bb_from_loops, find_common_loop,
5768 verify_loop_structure): Declare.
5769 * cfg.c (entry_exit_blocks): Initialize loop_father field.
5770 * cfganal.c (dfs_enumerate_from): New function.
5771 * cfgloop.c (HEAVY_EDGE_RATIO): New constant.
5772 (flow_loop_entry_edges_find, flow_loop_exit_edges_find,
5773 flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p,
5774 flow_loop_dump, flow_loops_dump, flow_loops_free,
5775 flow_loop_tree_node_add, flow_loop_level_compute,
5776 flow_loops_level_compute, flow_loop_scan, flow_loops_update,
5777 flow_loop_outside_edge_p): Modified for new infrastructure.
5778 (make_forwarder_block, canonicalize_loop_headers, glb_enum_p,
5779 redirect_edge_with_latch_update, flow_loop_free): New static functions.
5780 (flow_loop_tree_node_remove, flow_bb_inside_loop_p,
5781 get_loop_body, add_bb_to_loop, remove_bb_from_loops,
5782 find_common_loop, verify_loop_structure, loop_latch_edge,
5783 loop_preheader_edge): New functions.
5784 (flow_loops_cfg_dump): Do not show dominators, as this information
5785 does not remain up to date long.
5786 (flow_loops_find): Store results in new format.
5787 * predict.c (propagate_freq, estimate_probability,
5788 estimate_loops_at_level, estimate_bb_frequencies): Use new loop
5791 2002-06-01 Alan Lehotsky <apl@alum.mit.edu>
5793 * except.c (nothrow_function_p): Walk epilogue delay list
5794 checking the insn, not the chain for potential throws.
5796 2002-05-31 Zack Weinberg <zack@codesourcery.com>
5798 * Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
5799 (install): Refer to install-cpp directly.
5800 (uninstall-cpp): Folded into uninstall rule.
5801 * configure.in: Delete all code relating to --disable-cpp.
5802 * configure: Regenerate.
5803 * config/t-install-cpp: Delete.
5805 2002-05-31 Richard Henderson <rth@redhat.com>
5807 * configure.in (HAVE_AS_TLS): Add alpha tests.
5808 * configure: Rebuild.
5809 * config/alpha/alpha.c (TARGET_AS_TLS): New.
5810 (alpha_tls_size, alpha_tls_size_string): New.
5811 (overide_options): Set it. Always install machine_status hooks.
5812 (input_operand): Accept got tls predicates.
5813 (local_symbol_p): Merge into ...
5814 (local_symbolic_operand): ... here. Reject tls symbols.
5815 (global_symbolic_operand): Likewise.
5816 (tls_symbolic_operand_1, dtp16_symbolic_operand): New.
5817 (dtp32_symbolic_operand, gotdtp_symbolic_operand): New.
5818 (tp16_symbolic_operand, tp32_symbolic_operand): New.
5819 (gottp_symbolic_operand, tls_symbolic_operand_type): New.
5820 (alpha_encode_section_info): Handle TLS symbols.
5821 (alpha_strip_name_encoding): Likewise.
5822 (alpha_legitimate_address_p): Likewise.
5823 (alpha_legitimize_address): Likewise.
5824 (alpha_expand_mov): Early exit to avoid nop moves.
5825 (struct machine_function): Move from unicosmk.h. Add some_ld_name.
5826 (alpha_init_machine_status, alpha_mark_machine_status,
5827 alpha_free_machine_status): Always define.
5828 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
5829 (print_operand, print_operand_address): Add TLS relocs.
5830 * config/alpha/alpha.h (HAVE_AS_TLS): Default 0.
5831 (MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New.
5832 (TARGET_SWITCHES): Add -mtls-kernel.
5833 (alpha_tls_size, alpha_tls_size_string): New.
5834 (TARGET_OPTIONS): Add -mtls-size=.
5835 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
5836 REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG.
5837 (ASM_OUTPUT_LABELREF): Skip %.
5838 (PRINT_OPERAND_PUNCT_VALID_P): Add &.
5839 (PREDICATE_CODES): Update.
5840 * config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL,
5841 UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL,
5842 UNSPEC_TP, UNSPECV_SET_TP): New.
5843 (adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp,
5844 adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp,
5845 set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp,
5846 movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New.
5847 (call_value_osf_2_er): Accept anything as op4.
5848 * config/alpha/alpha-protos.h: Update.
5849 * config/alpha/unicosmk.h (struct machine_function): Move to alpha.c.
5851 2002-05-31 Zack Weinberg <zack@codesourcery.com>
5853 * cppinit.c (append_include_chain): Always pay attention to
5854 cxx_aware when setting new->sysp. Remove ATTRIBUTE_UNUSED
5857 2002-05-31 Kazu Hirata <kazu@cs.umass.edu>
5859 * target.h: Fix formatting.
5860 * timevar.h: Likewise.
5861 * tlink.c: Likewise.
5862 * toplev.c: Likewise.
5863 * toplev.h: Likewise.
5865 * tree-dump.h: Likewise.
5867 * tree-inline.h: Likewise.
5868 * unroll.c: Likewise.
5869 * unwind-dw2.c: Likewise.
5870 * unwind-dw2-fde.c: Likewise.
5871 * unwind-dw2-fde-glibc.c: Likewise.
5872 * unwind-dw2-fde.h: Likewise.
5873 * unwind.h: Likewise.
5874 * unwind-sjlj.c: Likewise.
5875 * varasm.c: Likewise.
5876 * varray.h: Likewise.
5877 * vmsdbg.h: Likewise.
5878 * vmsdbgout.c: Likewise.
5879 * xcoffout.h: Likewise.
5881 2002-05-31 Igor Shevlyakov <igor@microunity.com>
5883 * expr.c (compare_from_rtx): Generate comparison between op0 and op1
5884 rather than cc0 and 0 in a case when HAVE_cc0 is not defined.
5886 2002-05-31 Matthew Woodcraft <mattheww@chiark.greenend.org.uk>
5888 * gcc.c (cpp_unique_options): Remove "-d" options.
5889 (cpp_debug_options): New spec string.
5890 (default_compilers): Use it.
5891 * objc/lang-specs.h: Likewise.
5893 2002-05-31 Nathanael Nerode <neroden@twcny.rr.com>
5895 * gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with
5896 BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature.
5897 * gcc/mklibgcc.in: Likewise.
5898 * gcc/config/arc/t-arc: Likewise.
5899 * gcc/configure.in: Likewise.
5900 * gcc/configure: Regenerate.
5902 2002-05-31 Stan Shebs <shebs@apple.com>
5903 Turly O'Connor <turly@apple.com>
5905 * c-decl.c (struct binding_level): Change int field n_incomplete
5906 to tree list incomplete_list.
5907 (clear_binding_level): Init field with NULL.
5908 (pushdecl): Add incomplete type to list.
5909 (mark_binding_level): Mark the incomplete list.
5910 (finish_struct): Scan the incomplete list for types instead
5911 of all decls in the current binding level.
5913 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
5915 * pa.c (output_millicode_call): Add missing '%' characters.
5916 (output_call): Likewise.
5918 2002-05-31 David Edelsohn <edelsohn@gnu.org>
5920 * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define.
5921 (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
5923 2002-05-31 Alan Lehotsky <apl@alum.mit.edu>
5925 * varasm.c (mark_constant_pool): Walk epilogue delay list
5926 checking the insn, not the chain for potential constants.
5928 Fri May 31 12:38:43 2002 J"orn Rennecke <joern.rennecke@superh.com>
5930 * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec.
5932 Fri May 31 13:50:19 CEST 2002 Jan Hubicka <jh@suse.cz>
5934 * i386.c (classify_argument): Properly handle base types.
5936 * dwarf2out.c (expand_builin_init_dwarf_reg_sizes):
5937 Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo
5940 Fri May 31 13:37:54 CEST 2002 Jan Hubicka <jh@suse.cz>
5942 * gcse.c (gcse_emit_move_after): New.
5943 (pre_delete, hoist_store): Use it.
5945 * reload1.c (emit_input_reload_insns): Use constrain_operands
5946 instead of constraint_accepts_reg_p to verify optimization.
5947 (constraint_accepts_reg_p): Kill
5949 * reload1.c (reload_cse_delete_noop_set): Kill.
5950 (reload_cse_simplify): use delte_insn_and_edges.
5952 2002-05-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
5954 * cfgloop.c (flow_loops_find): Initialize first and last fields
5957 2002-05-31 Neil Booth <neil@daikokuya.demon.co.uk>
5959 * c-common.c (builtin_define_std): Correct logic.
5961 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
5963 * pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
5964 (output_call): Likewise.
5966 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
5968 * pa.c: Move output.h include after tree.h include.
5969 (pa_asm_output_mi_thunk): Constify identifier lab.
5971 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com>
5973 * config/ns32k/ns32k.h: Define named constants for the
5974 bits in target_flags and use them.
5975 * config/ns32k/netbsd.h (TARGET_DEFAULT): Use named constants.
5977 2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
5979 * config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0
5980 architecture and pa/pa-7100.h for PA1.1 architecture, respectively.
5981 * pa/pa.c (override_options): Use TARGET_SCHED_DEFAULT to select
5982 default scheduling model.
5983 * pa/pa.h (TARGET_SCHED_DEFAULT): Define if not defined to "8000".
5984 * pa/pa-700.h (TARGET_SCHED_DEFAULT): New file for "700" scheduling.
5985 * pa/pa-7100.h (TARGET_SCHED_DEFAULT): New file for "7100" scheduling.
5986 * doc/install.texi (hppa*-*-*): Document default scheduling.
5988 2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
5990 * pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
5992 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com>
5994 * config.gcc (ns32k-*-netbsd*): Set tm_file to
5995 "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
5996 * config/ns32k/netbsd.h: Don't include ns32k/ns32k.h,
5997 netbsd.h, or netbsd-aout.h.
5999 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com>
6001 * longlong.h (count_trailing_zeros): Add missing \, and clean up
6002 whitespace in __ns32000__ case.
6004 2002-05-31 Aldy Hernandez <aldyh@redhat.com>
6006 * expr.c (expand_expr): Output partially zeroed out vectors with
6007 output_constant_def.
6009 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com>
6011 * config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
6013 (shl*-*-netbsdelf*): New targets.
6014 * config/sh/netbsd-elf.h: New file.
6015 * config/sh/t-netbsd: New file.
6017 2002-05-30 Richard Henderson <rth@redhat.com>
6018 Eric Botcazou <ebotcazou@multimania.com>
6020 PR optimization/6822
6021 * config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL
6022 to unsigned int for op1 comparisons. Use gen_int_mode.
6024 2002-05-30 Eric Botcazou <ebotcazou@multimania.com>
6026 * expmed.c (const_mult_add_overflow_p): New.
6027 * expr.h: Declare it.
6028 * loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it.
6029 Don't eliminate the biv if the giv has a constant multiplier and
6030 the rhs argument of the comparison does satisfy the predicate.
6031 Use expand_mult_add to compute the replacement constant.
6033 2002-05-30 Osku Salerma <osku@iki.fi>
6035 * c-common.c (c_common_attribute_table): Add "may_alias" entry.
6036 (c_common_get_alias_set): Handle it.
6037 * doc/extend.texi: Document it.
6039 2002-05-30 Richard Henderson <rth@redhat.com>
6041 * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
6042 * toplev.c (process_options): Don't check it.
6043 * doc/tm.texi: Don't document it.
6044 * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New.
6045 (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
6046 * config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf
6047 frame pointer optimization if current_function_profile.
6049 2002-05-30 Kazu Hirata <kazu@cs.umass.edu>
6051 * langhooks.c: Fix formatting.
6052 * langhooks.h: Likewise.
6054 * libgcc2.c: Likewise.
6055 * lists.c: Likewise.
6056 * local-alloc.c: Likewise.
6060 2002-05-30 Marc Espie <espie@openbsd.org>
6062 * config.gcc (sparc64-*-openbsd*): New.
6063 * config/sparc/openbsd1-64.h: New.
6064 * config/sparc/openbsd64.h: New.
6066 2002-05-30 Jeff Law <law@redhat.com>
6068 * flow.c (propagate_one_insn): Revise yesterday's patch. Delete
6069 a dead insn with a REG_RETVAL note when the entire libcall is not
6070 dead and remove the associated REG_LIBCALL note at the same time.
6072 Thu May 30 19:54:30 2002 J"orn Rennecke <joern.rennecke@superh.com>
6074 * lcm.c (output.h): #include.
6075 (compute_earliest): Remove hack to treat renumbered EXIT_BLOCK
6076 as an ordinary block.
6077 (optimize_mode_switching): Don't pretend that the exit block is
6078 an ordinary block, or handle sucessors of entry block specially.
6079 Instead, split edges from entry block and to exit block, and
6080 put a computing definition on the thus gained post-entry-block,
6081 and a need on the pre-exit-block.
6083 Thu May 30 20:28:01 CEST 2002 Jan Hubicka <jh@suse.cz>
6085 * gengenrtl.c (type_from_format, accessor_from_format): Support 'B'.
6086 * rtl.texi: Document 'B'
6088 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com>
6090 * config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute
6092 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.
6094 2002-05-30 Aldy Hernandez <aldyh@redhat.com>
6096 * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return
6097 const0_rtx instead of NULL_RTX when in error.
6098 (altivec_expand_abs_builtin): Same.
6099 (rs6000_expand_binop_builtin): Same.
6100 (altivec_expand_predicate_builtin): Same.
6101 (altivec_expand_stv_builtin): Same.
6102 (rs6000_expand_ternop_builtin): Same.
6103 (altivec_expand_builtin): Same.
6105 2002-05-29 David S. Miller <davem@redhat.com>
6107 * rtl.h (clear_emit_caches): Delete.
6108 * integrate.c (output_inline_function): Don't call it.
6109 * emit-rtl.c (restore_emit_status, init_emit): Likewise.
6110 (clear_emit_caches): Delete definition.
6111 (SEQUENCE_RESULT_SIZE, sequence_result, free_insn): Likewise.
6113 2002-05-30 Hans-Peter Nilsson <hp@bitrange.com>
6115 * config/mmix/mmix.c: Include real.h.
6116 (mmix_constant_address_p): Remove redundant test before switch.
6118 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
6120 * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define
6121 only if not already defined.
6123 2002-05-29 Kazu Hirata <kazu@cs.umass.edu>
6125 * config/h8300/h8300-protos.h: Remove prototypes for
6126 ok_for_bclr and small_power_of_two.
6127 * config/h8300/h8300.c (small_power_of_two): Remove.
6128 (ok_for_blcr): Likewise.
6129 (fix_bit_operand): Make WHAT deal with an integer instead of a
6130 constraint character.
6131 * config/h8300/h8300.h (CONST_OK_FOR_O): Remove.
6132 (CONST_OK_FOR_P): Likewise.
6133 (CONST_OK_FOR_LETTER_P): Do not call CONST_OK_FOR_O or
6134 CONST_OK_FOR_P any more.
6135 * config/h8300/h8300.md (andqi3): Adjust to the new prototype
6140 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
6142 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
6143 (CPP_PREDEFINES): Make sure this is undefined.
6144 (CPP_SPEC): Place -D__mips=1 at the beginning of the spec,
6145 since it is no longer in CPP_PREDEFINES. Don't -U__MIPSEL__
6146 or -U__MIPSEB__ before defining one or the other. Instead,
6147 use %(subtarget_endian_default) if neither -EB nor -EL are
6149 (SUBTARGET_EXTRA_SPECS): Define.
6150 (SUBTARGET_CPP_SPEC): Remove __LONG64 handling. Use
6153 2002-05-29 Hans-Peter Nilsson <hp@axis.com>
6155 * doc/md.texi (Patterns): Note pattern condition pitfall
6158 2002-05-29 Aldy Hernandez <aldyh@redhat.com>
6160 * rs6000.c: (altivec_expand_builtin): Only expand altivec builtins
6161 when TARGET_ALTIVEC. Move handling of generic unary, binary, and
6162 ternary operations from here...
6163 (rs6000_expand_builtin): ...to here.
6164 New argument expandedp.
6165 Change all instances of altivec_expand_binop_builtin to
6166 rs6000_expand_binop_builtin.
6167 (altivec_expand_unop_builtin): Rename to
6168 rs6000_expand_unop_builtin.
6169 (altivec_expand_binop_builtin): Rename to
6170 rs6000_expand_binop_builtin.
6171 (altivec_expand_ternop_builtin): Rename to
6172 rs6000_expand_ternop_builtin.
6174 2002-05-29 Richard Henderson <rth@redhat.com>
6176 * config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
6177 (TARGET_BI_ARCH): Likewise.
6178 * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value.
6179 (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT.
6180 (TARGET_64BIT_DEFAULT): Default to 0.
6181 (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER.
6183 2002-05-29 Richard Henderson <rth@redhat.com>
6185 * config/i386/i386.c (USE_HIDDEN_LINKONCE): New.
6186 (get_pc_thunk_name): New.
6187 (output_set_got): Use it.
6188 (ix86_asm_file_end): If USE_HIDDEN_LINKONCE, emit get_pc thunks
6189 into linkonce sections.
6191 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
6193 * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
6194 (CPP_PREDEFINES): Make sure this is undefined.
6195 (CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove.
6196 (CPP_SUBTARGET_SPEC): Don't provide different versions for
6197 default-32 and default-64. Just always use %(netbsd_cpp_spec).
6198 (SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and
6199 cpp_subtarget_spec64. Add netbsd_cpp_spec.
6200 * config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
6201 (CPP_PREDEFINES): Make sure this is undefined.
6202 (SUBTARGET_EXTRA_SPECS): Define.
6203 (CPP_SPEC): Use %(netbsd_cpp_spec).
6205 2002-05-29 Jeff Law <law@redhat.com>
6207 * pa.h (ASM_OUTPUT_MI_THUNK): Remove unwanted semi-colon.
6209 * flow.c (propagate_one_insn): Do not remove a dead insn if it
6210 contains a REG_RETVAL note.
6212 * haifa-sched (sched_analyze): Remove another useless clearing
6213 of SCHED_GROUP_P I missed yesterday.
6215 * pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c.
6216 * pa.c (pa_asm_output_mi_thunk): New function.
6217 * pa-protos.h (pa_asm_output_mi_thunk): Declare.
6219 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk>
6220 Marek Michalkiewicz <marekm@amelek.gda.pl>
6222 * config/avr/avr.c (avr_base_arch_macro, avr_extra_arch_macro): New.
6223 (avr_asm_only_p): Make non-static.
6224 (enum avr_arch): Remove.
6225 (avr_arch_types): New.
6226 (avr_mcu_types): Update.
6227 (avr_override_options): Use avr_arch_types table instead of switch.
6228 * avr.h (CPP_PREDEFINES): Die.
6229 (avr_base_arch_macro, avr_extra_arch_macro): New.
6230 (TARGET_CPU_CPP_BUILTINS): New.
6231 (CPP_SPEC, EXTRA_SPECS): Simplify.
6232 (CPP_AVR1_SPEC, CPP_AVR2_SPEC, CPP_AVR3_SPEC, CPP_AVR4_SPEC,
6233 CPP_AVR5_SPEC): Die.
6235 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
6237 * config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
6238 NETBSD_OS_CPP_BUILTINS_AOUT.
6239 (SUBTARGET_EXTRA_SPECS): Define.
6240 (CPP_SPEC): Use %(netbsd_cpp_spec).
6242 2002-05-29 Richard Henderson <rth@redhat.com>
6244 * config/i386/i386.c (ix86_output_function_epilogue): New.
6245 (TARGET_ASM_FUNCTION_EPILOGUE): New.
6246 (pic_label_name): Remove.
6247 (pic_labels_used): New.
6248 (ix86_asm_file_end): Emit one pc load stub for each register used.
6249 (output_set_got): Generate deep pc load to any register.
6250 (ix86_select_alt_pic_regnum): New.
6251 (ix86_save_reg): Don't save pic register if we can find a valid
6252 call-clobbered replacement.
6253 (ix86_expand_prologue): If we found a valid replacement, renumber
6254 pic_offset_table_rtx.
6255 * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Look at
6256 pic_offset_table_rtx after reload.
6257 (REAL_PIC_OFFSET_TABLE_REGNUM): New.
6258 * config/i386/i386.md (set_got): Make insn, not expander.
6259 (set_got_nopic, set_got_deep, set_got_nodeep): Remove.
6261 2002-05-29 Richard Henderson <rth@redhat.com>
6263 * config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
6264 alignment for alloca.
6266 2002-05-29 Richard Henderson <rth@redhat.com>
6268 * config/i386/i386.c (output_pic_addr_const): Lowercase rip.
6269 (print_operand_address): Only add rip for symbolic addresses
6270 for which we do not have another relocation type.
6272 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
6274 * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
6275 (EXTRA_SPECS): Add netbsd_cpp_spec.
6276 (CPP_SPEC): Use %(netbsd_cpp_spec).
6277 (CPP_PREDEFINES): Remove.
6278 * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
6279 (EXTRA_SPECS): Define.
6280 (CPP_SPEC): Use %(netbsd_cpp_spec).
6281 (CPP_PREDEFINES): Remove.
6283 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk>
6285 PR preprocessor/6844
6286 * cppmacro.c (cpp_macro_definition): Reserve space for terminating
6289 2002-05-29 Eric Christopher <echristo@redhat.com>
6291 * config/mips/linux.h (SUBTARGET_CPP_SPEC): Add support for
6292 mips5/mips32/mips64 and _MIPS_ISA_MIPSXX.
6294 2002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
6296 * config/fr30/fr30.md: Remove previous restriction on splits.
6297 Enforce conformance through gen_lowpart and cont_int_operand.
6298 * config/fr30/fr30.h (BSS_SECTION_ASM_OP): Use ".section .bss"
6299 as the assembler does not support ".bss".
6301 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
6303 * config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
6304 (CPP_PREDEFINES): Remove.
6305 (SUBTARGET_EXTRA_SPECS): Define.
6306 (CPP_SPEC): Use %(netbsd_cpp_spec).
6307 * config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
6308 (CPP_PREDEFINES): Remove.
6309 (SUBTARGET_EXTRA_SPECS): Define.
6310 (CPP_SPEC): Use %(netbsd_cpp_spec).
6311 * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define.
6312 (CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove.
6313 (SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget.
6314 Add netbsd_cpp_spec.
6315 (CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec).
6317 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk>
6318 Zack Weinberg <zack@codesourcery.com>
6320 * cppexp.c (cpp_num): Move to cpplib.h.
6321 (CPP_ERROR): Remove.
6322 (interpret_float_suffix, interpret_int_suffix): New.
6323 (struct suffix, vsuf_1, vsuf_2, vsuf_3): Remove.
6324 (cpp_classify_number, cpp_interpret_integer): New.
6325 (interpret_number): Remove.
6326 (eval_token): Update to use new routines.
6327 * cpphash.h (cpp_num_part): Move to cpplib.h.
6328 * cppinit.c (cpp_post_options): Set warn_long_long.
6329 * cpplib.h (struct cpp_options): Add warn_long_long.
6330 (cpp_num, cpp_num_part, CPP_N_CATEGORY, CPP_N_INVALID,
6331 CPP_N_INTEGER, CPP_N_FLOATING, CPP_N_WIDTH, CPP_N_SMALL,
6332 CPP_N_MEDIUM, CPP_N_LARGE, CPP_N_RADIX, CPP_N_DEC, CPP_N_HEX,
6333 CPP_N_OCTAL, CPP_N_UNSIGNED, CPP_N_IMAGINARY, cpp_classify_number,
6334 cpp_interpret_integer): New.
6336 2002-05-29 Joel Sherrill <joel@OARcorp.com>
6338 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
6340 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
6342 * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
6343 NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64.
6344 (CPP_SUBTARGET_SPEC): Define.
6345 (SUBTARGET_EXTRA_SPECS): Define.
6348 2002-05-29 Chris Lattner <sabre@nondot.org>
6350 * ssa.c (rename_insn_1): Rename uses of undefined registers to
6351 prevent confusion if/when the register is defined.
6353 2002-05-29 Hans-Peter Nilsson <hp@axis.com>
6356 * config/cris/cris.md: Fix typos and thinkos in comments.
6357 ("*mov_sideqi_biap_mem"): Remove '*' in constraint for operand 4,
6359 ("*mov_sidehi_biap_mem", "*mov_sidesi_biap_mem"): Ditto.
6360 ("*mov_sideqi_mem"): Similar, but for operand 3.
6361 ("*mov_sidehi_mem", "*mov_sidesi_mem"): Ditto.
6362 (splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
6363 Remove spurious mode specifier on operand 2.
6365 2002-05-29 Kazu Hirata <kazu@cs.umass.edu>
6367 * config/h8300/h8300-protos.h: Remove the prototype for
6369 Add prototypes for single_one_operand and single_zero_operand.
6370 * config/h8300/h8300.c (o_operand): Remove.
6371 (single_one_operand): New.
6372 (single_zero_operand): Likewise.
6373 (print_operand): For 'V' operand, and the operand with 0xff.
6374 For 'V' and 'W' operands, do not and the bit position with 7.
6375 * config/h8300/h8300.md (various anonymous patterns): Replace
6376 use of exact_log2 with single_one_operand/single_zero_operand.
6378 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
6380 * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
6382 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
6384 * config/s390/s390.c (legitimate_pic_operand_p): Do not
6385 accept symbolic LARL operands.
6386 (s390_emit_epilogue): Do not set FRAME_RELATED_P on
6389 2002-05-29 Hartmut Penner <hpenner@de.ibm.com>
6391 * config/s390/s390.md (cmpstr_64/31): Mark whole
6392 input registers as used.
6394 2002-05-28 Richard Henderson <rth@redhat.com>
6396 * config/i386/i386.c (ix86_save_reg): Examine regs_ever_live,
6397 not current_function_uses_pic_offset_table and
6398 current_function_uses_const_pool; examine current_function_profile.
6399 (ix86_expand_prologue): Likewise. Add pic_offset_table_rtx as
6400 input to blockage if needed.
6401 (ix86_expand_call): Do not set current_function_uses_pic_offset_table.
6402 (legitimize_pic_address): Likewise. Set regs_ever_live for
6403 pic_offset_table_rtx when invoked during reload.
6404 * config/i386/i386.h (FINALIZE_PIC): Remove.
6405 * config/i386/i386.md (tablejump): Reformat. Do not set
6406 current_function_uses_pic_offset_table.
6407 (tls_global_dynamic, tls_local_dynamic_base): Likewise.
6408 (blockage): Accept anything as operand 0.
6410 2002-05-28 Jason Thorpe <thorpej@wasabisystems.com>
6412 * config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define
6413 common CPP built-ins for all NetBSD a.out targets.
6414 * config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define
6415 common CPP built-ins for all NetBSD ELF targets.
6416 * config/netbsd.h: Add missing notice.
6417 (NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins
6418 for all NetBSD targets.
6419 (NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins
6420 for all NetBSD targets using an LP64 code model.
6421 (NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all
6424 2002-05-28 Richard Henderson <rth@redhat.com>
6426 * flow.c (update_life_info_in_dirty_blocks): Only do a partial
6427 update if UPDATE_LIFE_LOCAL.
6429 2002-05-28 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
6431 * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE.
6433 Tue May 28 21:16:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
6434 Jason R. Thorpe <thorpej@wasabisystems.com>
6436 config/sh reorganization to factor out endianness and coff:
6438 * config/sh/little.h: New file.
6439 * config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already
6440 defined, define to 0 to select big-endian.
6441 (SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT.
6442 (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
6443 * config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
6444 * config/sh/t-be: New file.
6445 * config/sh/t-le: New file.
6447 * sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h.
6448 (SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise.
6449 (TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise.
6450 (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise.
6451 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6452 (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
6453 (ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted.
6454 (CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise.
6455 (SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise.
6456 (EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and
6457 CPP_DEFAULT_CPU_SPEC. Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL,
6458 SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC.
6459 (LINK_SPEC): Define to SH_LINK_SPEC.
6460 (TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define.
6461 (LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise.
6462 (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
6463 (CPP_SPEC): Reduce to %(subtarget_cpp_spec).
6464 (TARGET_ENDIAN_DEFAULT): Define if not already defined.
6465 * config/sh/coff.h: New file.
6466 (TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section
6467 (TARGET_OBJFMT_CPP_BUILTINS): Define.
6468 * config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start.
6469 (ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise.
6470 (DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise.
6471 (ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise.
6472 (PTRDIFF_TYPE): Likewise.
6473 ("dbxelf.h", "elfos.h", "svr4.h"): Don't #include.
6474 (CPP_PREDEFINES): Don't define.
6475 (TARGET_OBJFMT_CPP_BUILTINS): Define.
6476 (LINK_SPEC): Define to SH_LINK_SPEC.
6477 (LINK_EMUL_PREFIX): Redefine.
6478 * config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases.
6479 (SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition.
6480 (CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise.
6481 (CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise.
6482 (TARGET_OS_CPP_BUILTINS): Define.
6483 (TARGET_DEFAULT): Redefine.
6484 (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
6485 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove.
6486 (LINK_SPEC): Don't redefine.
6487 (LINK_DEFAULT_CPU_EMUL): Redefine.
6488 (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
6489 * sh.c (sh_asm_named_section): Don't declare / define.
6490 * t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option.
6491 * config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h.
6492 (sh64-*-elf* tm_file): Likewise.
6493 (sh-*-rtemself* tm_file): Likewise.
6494 (sh-*-linux* tm_file): Likewise. Add sh/little.h.
6495 (sh-*-linux* tmake_file): Add sh/t-le.
6496 (sh-*-rtems* tm_file): Add sh/coff.h
6497 (sh-*-* tm_file): Likewise.
6499 Tue May 28 21:16:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
6501 * sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using
6502 CONSTANT_POOL_ADDRESS_P.
6504 * coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define.
6506 2002-05-28 David Edelsohn <edelsohn@gnu.org>
6507 Jeff Law <law@redhat.com>
6509 * optabs.c (expand_binop): Fix nwords sign warnings.
6510 generate pseudo for add_optab.
6512 * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
6513 * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.
6515 2002-05-28 Marc Espie <espie@openbsd.org>
6517 * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove,
6518 inherited from gas.h.
6519 (ASM_QUAD): Undef. OpenBSD does not support it.
6521 2002-05-28 Danny Smith <dannysmith@users.sourceforge.net>
6523 * doc/install.texi (binaries): Change mingw binaries
6524 link to www.mingw.org.
6526 2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6528 * cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.
6530 2002-05-28 Richard Henderson <rth@redhat.com>
6532 * config/i386/i386.c (ix86_compute_frame_layout): Do not add
6533 bottom alignment for leaf functions.
6535 2002-05-28 Zack Weinberg <zack@codesourcery.com>
6537 * config/pa/milli32.S, config/pa/lib1funcs.asm,
6538 config/sparc/sol2-g1.asm: Delete unused files.
6540 2002-05-28 Richard Henderson <rth@redhat.com>
6542 * cfg.c (dump_flow_info): Print bb->index, not i, for block number.
6544 * flow.c (calculate_global_regs_live): Rename call_used to
6545 invalidated_by_call. Initialize from regs_invalidated_by_call
6546 instead of call_used_regs.
6548 * varasm.c (default_binds_local_p): Check TREE_PUBLIC before
6551 2002-05-28 Zack Weinberg <zack@codesourcery.com>
6553 * tree.h: Don't include real.h.
6554 Forward-declare struct realvaluetype.
6555 (struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not
6557 (TREE_REAL_CST_PTR): New accessor.
6558 (TREE_REAL_CST): Update.
6559 * real.h: Include machmode.h.
6560 (realvaluetype): Make it struct realvaluetype, not a typedef.
6561 (build_real): Prototype here.
6563 * tree.c: Include real.h.
6564 (build_real): Allocate the REAL_VALUE_TYPE as a separate
6565 object in GC memory, set TREE_REAL_CST_PTR to point to it.
6566 (build_real_from_int_cst): Use build_real.
6567 * ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a
6570 * builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c,
6571 fold-const.c, print-tree.c, real.c: Include real.h.
6572 * Makefile.in: Update dependency lists.
6574 2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6576 * basic-block.h (last_basic_block): Declare.
6577 (expunge_block_nocompact): Declaration removed.
6578 (compact_blocks): Declare.
6579 * cfg.c (last_basic_block): New variable.
6580 (expunge_block_nocompact): Removed.
6581 (expunge_block): Do not compact basic blocks.
6582 (compact_blocks): New.
6583 * cfganal.c (flow_call_edges_add): Use the fact that bb indices no
6585 * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Set
6587 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Do not change
6588 real positions of blocks.
6589 (delete_unreachable_blocks): Simplified -- quadratic behavior now
6591 (cleanup_cfg): Compact blocks.
6592 * cfgrtl.c (create_basic_block): Insert basic blocks to the end of
6593 basic_block_info varray.
6594 (flow_delete_block): Comment update.
6595 (back_edge_of_syntactic_loop_p): Modify position check code.
6596 (verify_flow_info): Update checking.
6597 * flow.c (calculate_global_regs_live): Use FOR_EACH_BB.
6598 * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
6599 (find_if_case_1, find_if_case_2, if_convert): Use the fact that bb
6600 indices no longer change.
6601 * lcm.c (optimize_mode_switching): Replace n_basic_blocks with
6603 * predict.c (estimate_bb_frequencies): Remove unneccessary code.
6604 * profile.c (branch_prob): Compact blocks.
6605 * sched-rgn.c (find_rgns): Replace n_basic_blocks with
6608 2002-05-28 Kazu Hirata <kazu@cs.umass.edu>
6610 * config/h8300/h8300.md (two anonymous patterns): New.
6612 2002-05-28 David S. Miller <davem@redhat.com>
6614 * config/sparc/sparc.md (cpu): Tidy.
6615 (type): Delete 'return', add 'ialuX', 'flushw', 'iflush', and
6617 (in_call_delay): Delete reference to 'return' type.
6618 (eligible_for_return_delay, in_return_delay, define_delay
6619 referencing those): Delete.
6620 (rest of file): Use new type attributes as appropriate.
6621 * config/sparc/sparc-protos.h (eligible_for_return_delay): Delete.
6622 * config/sparc/sparc.c (eligible_for_return_delay): Likewise.
6623 * config/sparc/ultra1_2.md (us1_single): New reservation.
6624 (us1_ialuX): Likewise.
6625 * config/sparc/ultra3.md (us3_single): Likewise.
6626 (us3_ialuX): Likewise.
6627 (us3_imul, us3_idiv): Tweak.
6629 2002-05-28 Richard Henderson <rth@redhat.com>
6631 * config/alpha/alpha.c (alpha_in_small_data_p): Return false for
6634 2002-05-28 Richard Henderson <rth@redhat.com>
6636 * config.gcc: Obsolete mn10200.
6638 2002-05-28 Neil Booth <neil@daikokuya.demon.co.uk>
6640 * cppexp.c (interpret_number): Optimize for single-digit
6641 and less-than-half-precision cases.
6642 (num_trim, num_positive, num_div_op): Cast constants.
6644 2002-05-27 Bo Thorsen <bo@suse.de>
6646 * config/i386/libgcc-x86_64-glibc.ver: Copy this file from the
6647 3.1 branch. The file was made by Jakub Jelinek.
6648 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386
6649 support so multilib doesn't break. And don't define this at all
6650 when -Dinhibit_libc is used.
6651 (MULTILIB_DEFAULTS): Always set default to 64 bit compilation.
6652 * config/i386/t-linux64: Implement full multilib support. Patch
6653 originally done by Andreas Jaeger and Jakub Jelinek.
6655 2002-05-27 Roger Sayle <roger@eyesopen.com>
6657 * c-common.c: Add support for __attribute__((nothrow)) to specify
6658 that a function cannot throw an exception (using TREE_NOTHROW).
6659 (handle_nothrow_attribute): New function to process this attribute.
6661 * doc/extend.texi: Document the new nothrow function attribute.
6663 2002-05-27 H.J. Lu (hjl@gnu.org)
6665 * cppexp.c (num_trim): Use 1UL instead of 1 for long int.
6666 (num_positive): Likewise.
6667 (num_div_op): Likewise.
6669 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
6671 * c-common.c (c_common_init): Always use intmax_t.
6673 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
6675 * c-common.c (c_common_init): Use intmax_t for now.
6677 2002-05-24 Andrew Haley <aph@redhat.com>
6679 * fold-const.c (fold): Don't convert (T)(x & c) into (T)x & (T)c
6680 if T is a boolean type.
6682 2002-05-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6684 * basic-block.h (last_basic_block): Defined as synonym for
6686 * cfganal.c (mark_dfs_back_edges, flow_reverse_top_sort_order_compute,
6687 flow_depth_first_order_compute, flow_preorder_transversal_compute,
6688 flow_dfs_compute_reverse_init): Replaced relevant occurences of
6689 n_basic_blocks with last_basic_block.
6690 * cfgbuild.c (make_edges): Likewise.
6691 * cfgloop.c (flow_loop_scan, flow_loops_find): Likewise.
6692 * cfgrtl.c (verify_flow_info, purge_all_dead_edges): Likewise.
6693 * combine.c (combine_instructions): Likewise.
6694 * df.c (df_alloc, df_analyse_1, df_analyse, iterative_dataflow_sbitmap,
6695 iterative_dataflow_bitmap): Likewise.
6696 * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
6697 calc_idoms, idoms_to_doms): Likewise.
6698 * flow.c (update_life_info_in_dirty_blocks, free_basic_block_vars):
6700 * gcse.c (gcse_main, alloc_gcse_mem, compute_local_properties,
6701 compute_hash_table, expr_reaches_here_p, one_classic_gcse_pass,
6702 one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p,
6703 one_pre_gcse_pass, compute_transpout, delete_null_pointer_checks_1,
6704 delete_null_pointer_checks, compute_code_hoist_vbeinout,
6705 hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
6706 compute_store_table, build_store_vectors): Likewise.
6707 * haifa-sched.c (sched_init): Likewise.
6708 * ifcvt.c (if_convert): Likewise.
6709 * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
6710 pre_edge_lcm, compute_available, compute_nearerout,
6711 compute_rev_insert_delete, pre_edge_rev_lcm, optimize_mode_switching):
6713 * predict.c (estimate_probability, process_note_prediction,
6714 note_prediction_to_br_prob): Likewise.
6715 * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): Likewise.
6716 * recog.c (split_all_insns, peephole2_optimize): Likewise.
6717 * regrename.c (copyprop_hardreg_forward): Likewise.
6718 * resource.c (init_resource_info): Likewise.
6719 * sched-rgn.c (build_control_flow, find_rgns, compute_trg_info,
6720 init_regions, schedule_insns): Likewise.
6721 * ssa-ccp.c (ssa_const_prop): Likewise.
6722 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
6723 * ssa.c (compute_dominance_frontiers,
6724 compute_iterated_dominance_frontiers, convert_to_ssa): Likewise.
6726 * df.c (df_refs_unlink): Fix FOR_EACH_BB usage (in #if 0'ed code)
6727 * gcse.c (alloc_rd_mem, alloc_avail_expr_mem): Use n_blocks for vector
6730 Mon May 27 14:28:12 CEST 2002 Jan Hubicka <jh@suse.cz>
6732 * basic-block.h (can_hoist_p, hoist_insn_after, hoist_insn_to_edge):
6734 * rtlanal.c (hoist_test_store, can_hoist_insn_p, hoist_update_store,
6735 hoist_insn_after, hoist_insn_to_edge): New.
6737 Mon May 27 12:14:02 CEST 2002 Jan Hubicka <jh@suse.cz>
6739 * basic-block.h (PEOP_SCAN_DEAD_STORES): New.
6740 (PROP_FINAL): Include.
6741 * flow.c (life_analysis, update_life_info,
6742 init_propagate_block_info, mark_set_1, mark_used_rgs):
6743 Support SCAN_DEAD_STORE.
6745 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
6747 * c-common.c (c_common_init): Set CPP arithmetic precision.
6748 * cppexp.c (cpp_num_part): Move typedef ...
6749 * cpphash.h: ...here; make unsigned HOST_WIDE_INT.
6750 * cppinit.c (cpp_create_reader): Default to host long arithmetic.
6751 (sanity_checks): Update.
6753 2002-05-26 Geoffrey Keating <geoffk@redhat.com>
6755 * Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
6756 (mkheaders): New rule.
6757 (install-mkheaders): New rule.
6758 * configure.in (all_outputs): Add mkheaders.
6759 * configure: Regenerate.
6760 * mkheaders.in: New file.
6762 2002-05-26 Jakub Jelinek <jakub@redhat.com>
6764 * cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
6766 2002-05-26 Andreas Jaeger <aj@suse.de>
6768 * cfg.c (dump_flow_info): Remove extra argument to fprintf.
6770 2002-05-26 Neil Booth <neil@daikokuya.demon.co.uk>
6772 * cppexp.c (possible_sum_sign, integer_overflow, left_shift,
6773 right_shift): Remove.
6774 (cpp_num, cpp_num_part, PART_PRECISION, HALF_MASK, LOW_PART,
6776 (struct op): Use cpp_num.
6777 (num_zerop, num_eq, num_positive, num_greater_freq, num_trim,
6778 num_part_mul, num_unary_op, num_binary_op, num_negate,
6779 num_bitwise_op, num_inequality_op, num_equality_op, num_mul,
6780 num_div_op, num_lshift, num_rshift, append_digit): New.
6781 (interpret_number, parse_defined, eval_token, reduce): Update
6782 for two-integer arithmetic.
6783 (binary_handler): New typedef.
6785 (COMPARE, EQUALITY, BITWISE, MINMAX, UNARY, SHIFT): Delete.
6786 (_cpp_parse_expr, reduce): Update to handle two-integers.
6787 * cpplib.c (_cpp_test_assertion): Back up on CPP_EOF.
6789 2002-05-26 Marek Michalkiewicz <marekm@amelek.gda.pl>
6791 * config/avr/avr-protos.h (avr_out_sbxx_branch): Declare.
6792 * config/avr/avr.c (jump_over_one_insn_p): Take length of the
6793 branch insn into account, do not assume 1.
6794 (avr_out_sbxx_branch): New function. Optimize cases of skipping
6795 over single word insn. Handle upper half of I/O space too.
6796 * config/avr/avr.md (*sbrx_branch): Use it.
6797 (*sbrx_and_branchhi, *sbrx_and_branchsi): Likewise.
6798 (*sbix_branch, *sbix_branch_bit7): Likewise.
6799 (*sbix_branch_tmp, *sbix_branch_tmp_bit7): New.
6800 Use RTL peepholes to optimize register operand sign tests.
6802 2002-05-26 Marek Michalkiewicz <marekm@amelek.gda.pl>
6804 * config/avr/avr.c (avr_asm_only_p): New variable.
6805 (avr_override_options): Set it here if AVR1.
6806 (asm_file_start): Test it here, report an error if set.
6808 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
6810 * alias.c: Fix formatting.
6811 * attribs.c: Likewise.
6812 * bb-reorder.c: Likewise.
6813 * bitmap.c: Likewise.
6814 * bitmap.h: Likewise.
6815 * builtins.c: Likewise.
6817 Sun May 26 14:00:44 CEST 2002 Jan Hubicka <jh@suse.cz>
6819 * reload.c (find_valid_class): Accept new argument DEST,
6820 choose class accordingly.
6821 (push_reload): Update callers.
6823 2002-05-26 Andreas Jaeger <aj@suse.de>
6825 * combine.c (combine_instructions): Do not indent #if for
6828 2002-05-25 Richard Henderson <rth@redhat.com>
6830 * c-pragma.c (apply_pragma_weak): Convert value identifier to
6831 string for decl_attributes.
6832 (handle_pragma_weak): Call assemble_alias if we're modifying
6835 2002-05-25 Richard Henderson <rth@redhat.com>
6838 * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation
6839 using rtl instead of fprintf.
6840 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it.
6841 * config/sparc/sparc-protos.h: Update.
6843 2002-05-25 Neil Booth <neil@daikokuya.demon.co.uk>
6845 * Makefile.in (C_COMMON_H): Fix.
6846 Update other targets.
6847 * c-common.c: Don't include c-lex.h.
6848 (builtin_define_with_value): Make static and prototype.
6849 (builtin_define_std): Move from c-lex.h.
6850 * c-common.h (init_c_lex): Move from c-lex.h.
6851 * c-decl.c: Don't include c-lex.h.
6852 (make_pointer_declarator): Move from c-parse.in.
6853 * c-lex.c: Don't include c-lex.h.
6855 * c-parse.in: Don't include c-lex.h; include c-pragma.h.
6856 (make_pointer_declarator): Move to c-decl.c.
6857 * c-pragma.c: Don't include c-lex.h.
6858 * c-pragma.h (yydebug, YYDEBUG, parse_in, c_lex): Move from c-lex.h.
6859 * c-tree.h (make_pointer_declarator): New.
6861 * passes.texi, tm.texi: Update.
6863 * Make-lang.in: Update and correct.
6864 * objc-act.c: Don't include c-lex.h or cpplib.h.
6866 * treetree.c: Don't include c-lex.h.
6868 * darwin-c.c: Don't include c-lex.h.
6869 * c4x/c4x-c.c: Don't include c-lex.h.
6870 * c4x/t-c4x: Update.
6871 * i370/i370-c.c: Don't include c-lex.h.
6872 * i370/t-i370: Update.
6873 * i960/i960-c.c: Don't include c-lex.h.
6874 * i960/i960.c: Don't include cpplib.h, c-lex.h or c-pragma.h.
6875 * i960/t-960bare: Update.
6876 * i960/t-vxworks: Update.
6877 * rs6000/rs6000-c.c: Don't include c-lex.h; include c-pragma.h.
6878 * rs6000/t-darwin: Update.
6879 * rs6000/t-rs6000-c-rule: Update.
6880 * v850/v850-c.c: Don't include c-lex.h.
6881 * v850/v850.c: Don't include c-lex.h or cpplib.h.
6884 2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
6886 * tree.def: Fix typos.
6887 * doc/install.texi: Likewise.
6889 2002-05-25 Richard Henderson <rth@redhat.com>
6891 * configure.in (HAVE_AS_TLS): Add ia64 test.
6892 * configure: Rebuild.
6893 * config/ia64/ia64.c (ia64_tls_size_string, ia64_tls_size): New.
6894 (override_options): Set it.
6895 (TARGET_HAVE_TLS): New.
6896 (sdata_symbolic_operand): Look for 's'.
6897 (tls_symbolic_operand): New.
6898 (ia64_expand_load_address): Abort for tls symbols.
6899 (gen_tls_get_addr): New.
6900 (gen_thread_pointer): New.
6901 (ia64_expand_move): Split out from movdi. Handle tls symbols.
6902 (rtx_needs_barrier): Add new unspecs.
6903 (ia64_encode_section_info): Handle tls symbols.
6904 (ia64_strip_name_encoding): Strip two encoding chars.
6905 * config/ia64/ia64.h (ia64_tls_size, ia64_tls_size_string): New.
6906 (TARGET_TLS14, TARGET_TLS22, TARGET_TLS64): New.
6907 (TARGET_OPTIONS): Add tls-size.
6908 (ENCODE_SECTION_INFO_CHAR): Rename from SDATA_NAME_FLAG_CHAR.
6909 * config/ia64/ia64.md (UNSPEC_LTOFF_DTPMOD, UNSPEC_LTOFF_DTPREL,
6910 UNSPEC_DTPREL, UNSPEC_LTOFF_TPREL, UNSPEC_TPREL, UNSPEC_LD_BASE): New.
6911 (movqi, movhi, movsi, movdi, movti): Use ia64_expand_move.
6912 (movsf, movdf): Likewise.
6913 (movdi_symbolic): Use match_scratch. Don't split if we won't
6914 have a scratch availiable.
6915 (load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22,
6916 add_dtprel, add_dtprel14, add_dtprel22, load_ltoff_tprel, load_tprel,
6917 load_tprel64, load_tprel22, add_tprel, add_tprel14, add_tprel22): New.
6918 * config/ia64/ia64-protos.h: Update.
6919 * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use
6920 sdata_symbolic_operand.
6921 (ASM_OUTPUT_LABELREF): Strip two characters.
6923 2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
6925 * combine.c (simplify_set): Remove an unnecessary subreg.
6927 2002-05-25 Marek Michalkiewicz <marekm@amelek.gda.pl>
6929 * config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
6931 * config/avr/avr.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_BSS): New.
6933 2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
6935 * toplev.c (output_clean_symbol_name): Fix another thinko. Gosh.
6937 2002-05-25 Roger Sayle <roger@eyesopen.com>
6939 * simplify-rtx.c (simplify_gen_relational): Simplify the RTX
6940 (cond (compare x y) 0) into the equivalent (cond x y).
6942 2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
6944 * toplev.c (output_clean_symbol_name): Use xstrdup. Fix thinko.
6946 2002-05-24 Zack Weinberg <zack@codesourcery.com>
6948 * config.gcc: Remove all stanzas for previously obsoleted
6949 systems. Where necessary, add explicit error stanzas to
6950 prevent removed systems from being misidentified as something
6951 else. Begin a fresh obsoletions list, with the systems that
6952 were reprieved last round.
6953 * doc/install.texi: Remove all mention of dead targets.
6954 * fixinc/mkfixinc.sh: Likewise.
6956 * config/arm/arm.h: Bit 31 of target_flags is no longer
6959 * config/1750a/1750a-protos.h, config/1750a/1750a.c,
6960 config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
6961 config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
6962 config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
6963 config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
6964 config/alpha/osf12.h, config/alpha/osf2or3.h,
6965 config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
6966 config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
6967 config/clipper/clipper-protos.h, config/clipper/clipper.c,
6968 config/clipper/clipper.h, config/clipper/clipper.md,
6969 config/clipper/clix.h, config/convex/convex-protos.h,
6970 config/convex/convex.c, config/convex/convex.h,
6971 config/convex/convex.md, config/convex/fixinc.convex,
6972 config/convex/proto.h, config/elxsi/elxsi-protos.h,
6973 config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
6974 config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
6975 config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
6976 config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
6977 config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
6978 config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
6979 config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
6980 config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
6981 config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
6982 config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
6983 config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
6984 config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
6985 config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
6986 config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
6987 config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
6988 config/m68k/altos3068.h, config/m68k/apollo68.h,
6989 config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
6990 config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
6991 config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
6992 config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
6993 config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
6994 config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
6995 config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
6996 config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
6997 config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
6998 config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
6999 config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
7000 config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
7001 config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
7002 config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
7003 config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
7004 config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
7005 config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
7006 config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
7007 config/mips/dec-osf1.h, config/mips/elflorion.h,
7008 config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
7009 config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
7010 config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
7011 config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
7012 config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
7013 config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
7014 config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
7015 config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
7016 config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
7017 config/ns32k/pc532-min.h, config/ns32k/pc532.h,
7018 config/ns32k/sequent.h, config/ns32k/tek6000.h,
7019 config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
7020 config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
7021 config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
7022 config/sparc/rtems.h, config/we32k/we32k-protos.h,
7023 config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
7026 2002-05-24 Richard Henderson <rth@redhat.com>
7028 * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1.
7029 * toplev.c (flag_tls_default) Set to TLS_MODEL_GLOBAL_DYNAMIC.
7030 * config/i386/i386.c (tls_model_chars): Add leading space.
7031 (tls_symbolic_operand): Don't bias by 1.
7032 (legitimize_address): Don't unbias by 1.
7034 2002-05-24 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
7036 * lcm.c (optimize_mode_switching): Change bb used as indices
7039 2002-05-24 Richard Henderson <rth@redhat.com>
7041 * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead
7042 of update_life_info_in_dirty_blocks.
7044 2002-05-24 Jakub Jelinek <jakub@redhat.com>
7047 * final.c (get_mem_expr_from_op): Return 0 if op is NULL.
7049 2002-05-24 Neil Booth <neil@daikokuya.demon.co.uk>
7051 PR preprocessor/6780
7052 * cppmacro.c (enter_macro_context): Clear state.angled_headers.
7054 2002-05-24 Jim Blandy <jimb@redhat.com>
7056 * dwarf2out.c (dwarf2out_finish): Don't forget to emit a final
7057 entry with a type code of zero, marking the end of the compilation
7060 2002-05-24 Richard Henderson <rth@redhat.com>
7062 * varasm.c (asm_output_bss): Always output one byte.
7063 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
7065 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7067 * tree.c (decl_type_context): Return NULL_TREE if decl's context is a
7070 2002-05-24 Andreas Jaeger <aj@suse.de>
7072 * ggc-page.c (alloc_page): Cast variables of type size_t to
7073 unsigned long, adjust printf format string.
7074 (ggc_alloc): Likewise.
7075 (ggc_print_statistics): Likewise.
7076 (ggc_print_statistics): Correct printf format string for SCALE to
7079 2002-05-24 Danny Smith <dannysmith@users.sourceforge.net>
7081 * config/i386/mingw32.h (CPP_SPEC): Remove -remap.
7083 2002-05-23 Gabriel Dos Reis <gdr@codesourcery.com>
7084 Zack Weinberg <zack@codesourcery.com>
7086 * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Properly output
7088 * dwarf2out.c (lookup_filename): Properly quote filename in .file
7089 directive in assembly file.
7090 * config/m68k/dpx2.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
7091 * config/m88k/m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
7092 * config/pj/pj.h (ASM_FILE_START): Likewise.
7093 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
7094 * config/avr/avr.c (asm_file_end): Likewise.
7095 * toplev.c (output_quoted_string): Handle possibly signed plain
7097 * toplev.h (output_clean_symbol_name): Declare
7098 * toplev.c (output_clean_symbol_name): Define.
7099 * config/alpha/alpha.c (unicosmk_output_module_name): Use it.
7100 * config/1750a/1750a.h (ASM_FILE_START): Likewise.
7102 2002-05-24 Alan Modra <amodra@bigpond.net.au>
7104 * config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
7106 2002-05-23 Vladimir Makarov <vmakarov@redhat.com>
7108 * genautomata.c (reserv_sets_hash_value): Use shift equal to 3/4
7109 of size of unsigned.
7111 2002-05-23 Richard Henderson <rth@redhat.com>
7113 * configure.in (HAVE_AS_TLS): New test.
7114 * config.in, configure: Rebuild.
7115 * config/i386/i386.c (TARGET_HAVE_TLS): Set if HAVE_AS_TLS.
7116 (ix86_tls_dialect_string, ix86_tls_dialect): New.
7117 (override_options): Set it.
7118 (tls_model_chars, tls_symbolic_operand): New.
7119 (tls_symbolic_operand_1, global_dynamic_symbolic_operand): New.
7120 (local_dynamic_symbolic_operand, initial_exec_symbolic_operand): New.
7121 (local_exec_symbolic_operand): New.
7122 (get_pic_label_name): Merge into output_set_got.
7123 (ix86_asm_file_end): Emit pic_label_name if defined.
7124 (legitimate_constant_p, constant_address_p): New.
7125 (legitimate_pic_operand_p): New.
7126 (legitimate_pic_address_disp_p): Handle GOTTPOFF, NTPOFF, DTPOFF.
7127 (legitimate_address_p): Likewise.
7128 (ix86_encode_section_info): Rename from i386_; handle tls decls.
7129 (ix86_strip_name_encoding): New.
7130 (get_thread_pointer): New.
7131 (legitimize_address): Handle tls symbols.
7132 (output_pic_addr_const): Handle GOTTPOFF, TPOFF, NTPOFF, DTPOFF.
7134 (struct machine_function): Add some_ld_name.
7135 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Set it.
7136 (print_operand) [&]: Use it. Handle UNSPEC_TP.
7137 (output_addr_const_extra): New.
7138 (maybe_get_pool_constant): New.
7139 (ix86_split_to_parts): Use it.
7140 (ix86_expand_move): Handle tls symbols.
7141 (ix86_tls_get_addr): New.
7142 * config/i386/i386.h (TARGET_GNU_TLS, TARGET_SUN_TLS): New.
7143 (TARGET_OPTIONS): Add tls-dialect.
7144 (CONSTANT_ADDRESS_P): Use new out-of-line function.
7145 (LEGITIMATE_CONSTANT_P): Likewise.
7146 (LEGITIMATE_PIC_OPERAND_P): Likewise.
7147 (TARGET_STRIP_NAME_ENCODING): New.
7148 (ASM_OUTPUT_LABELREF): New.
7149 (PRINT_OPERAND_PUNCT_VALID_P): Add '&'.
7150 (OUTPUT_ADDR_CONST_EXTRA): New.
7151 (PREDICATE_CODES): Update.
7152 (ix86_tls_dialect, ix86_tls_dialect_string): New.
7153 * config/i386/i386.md: Regroup and renumber unspec constants.
7154 (tls_global_dynamic_gnu, tls_global_dynamic_sun): New.
7155 (tls_local_dynamic_base_gnu, tls_local_dynamic_base_sun): New.
7156 (tls_global_dynamic, tls_local_dynamic_base): New.
7157 (tls_local_dynamic_once): New.
7158 * config/i386/i386-protos.h: Update.
7160 2002-05-23 Richard Henderson <rth@redhat.com>
7162 * genemit.c (gen_insn): Print file:lineno comment before function.
7164 * gensupport.c (struct queue_elem): Add filename member.
7165 (queue_pattern): Initialize it; update all callers.
7166 (process_include): Don't free filename.
7167 (read_md_rtx): Set read_rtx_filename.
7169 2002-05-23 Hans Boehm <Hans_Boehm@hp.com>
7171 * config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K pages.
7173 2002-05-23 Richard Henderson <rth@redhat.com>
7175 * config/i386/i386.c (output_set_got): Fix typo in pic no-deep case.
7177 2002-05-23 Richard Henderson <rth@redhat.com>
7179 * doc/extend.texi (C++98 Thread-Local Edits): Update with
7180 commentary from Mark.
7182 2002-05-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
7184 * bb-reorder.c (make_reorder_chain, make_reorder_chain_1):
7185 Use FOR_EACH_BB macros to iterate over basic block chain.
7186 * cfg.c (clear_edges, clear_bb_flags, dump_flow_info,
7187 alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges):
7189 * cfganal.c (set_edge_can_fallthru_flag, flow_call_edges_add,
7190 find_unreachable_blocks, create_edge_list, verify_edge_list,
7191 remove_fake_edges, add_noreturn_fake_exit_edges,
7192 flow_preorder_transversal_compute, flow_dfs_compute_reverse_execute):
7194 * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
7195 find_sub_basic_blocks): Likewise.
7196 * cfgcleanup.c (try_optimize_cfg, delete_unreachable_blocks):
7198 * cfglayout.c (record_effective_endpoints, cleanup_unconditional_jumps):
7200 * cfgloop.c (flow_loops_cfg_dump, flow_loops_find):
7202 * cfgrtl.c (compute_bb_for_insn, tidy_fallthru_edges,
7203 commit_edge_insertions, commit_edge_insertions_watch_calls,
7204 print_rtl_with_bb, verify_flow_info, purge_all_dead_edges): Likewise.
7205 * combine.c (combine_instructions, reg_dead_at_p): Likewise.
7206 * conflict.c (conflict_graph_compute): Likewise.
7207 * df.c (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
7208 df_modified_p, df_refs_unlink, df_dump): Likewise.
7209 * dominance.c (calc_dfs_tree, calculate_dominance_info): Likewise.
7210 * final.c (compute_alignments): Likewise.
7211 * flow.c (update_life_info, update_life_info_in_dirty_blocks,
7212 delete_noop_moves, calculate_global_regs_live, allocate_bb_life_data,
7213 count_or_remove_death_notes): Likewise.
7214 * gcse.c (oprs_unchanged_p, record_last_reg_set_info,
7215 compute_hash_table, compute_kill_rd, compute_rd, compute_ae_kill,
7216 classic_gcse, compute_transp, cprop, compute_pre_data,
7217 compute_transpout, invalidate_nonnull_info,
7218 delete_null_pointer_checks_1, delete_null_pointer_checks,
7219 compute_code_hoist_vbeinout, hoist_code, compute_ld_motion_mems,
7220 compute_store_table, build_store_vectors, store_motion): Likewise.
7221 * global.c (global_conflicts, mark_elimination): Likewise.
7222 * graph.c (print_rtl_graph_with_bb): Likewise.
7223 * haifa-sched.c (sched_init): Likewise.
7224 * ifcvt.c (if_convert): Likewise.
7225 * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
7226 compute_available, compute_nearerout, compute_rev_insert_delete,
7227 optimize_mode_switching): Likewise.
7228 * local-alloc.c (local_alloc, update_equiv_regs): Likewise.
7229 * predict.c (estimate_probability, note_prediction_to_br_prob,
7230 propagate_freq, counts_to_freqs, expensive_function_p,
7231 estimate_bb_frequencies): Likewise.
7232 * profile.c (instrument_edges, get_exec_counts,
7233 compute_branch_probabilities, compute_checksum, branch_prob,
7234 find_spanning_tree): Likewise.
7235 * recog.c (split_all_insns, peephole2_optimize): Likewise.
7236 * reg-stack.c (reg_to_stack, convert_regs_entry, convert_regs):
7238 * regclass.c (scan_one_insn, regclass): Likewise.
7239 * regmove.c (mark_flags_life_zones, regmove_optimize,
7240 record_stack_memrefs): Likewise.
7241 * regrename.c (regrename_optimize, copyprop_hardreg_forward): Likewise.
7242 * reload1.c (reload, reload_combine, fixup_abnormal_edges): Likewise.
7243 * resource.c (find_basic_block): Likewise.
7244 * sched-ebb.c (schedule_ebbs): Likewise.
7245 * sched-rgn.c (is_cfg_nonregular, build_control_flow,
7246 find_single_block_region, find_rgns, schedule_insns)
7247 * sibcall.c (optimize_sibling_and_tail_recursive_call)
7248 * ssa-ccp.c (optimize_unexecutable_edges,
7249 ssa_ccp_df_delete_unreachable_insns): Likewise.
7250 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
7251 * ssa.c (find_evaluations, compute_dominance_frontiers_1,
7252 rename_block, convert_to_ssa, compute_conservative_reg_partition,
7253 compute_coalesced_reg_partition, rename_equivalent_regs,
7254 convert_from_ssa): Likewise.
7255 * config/ia64/ia64.c (emit_predicate_relation_info, process_epilogue,
7256 process_for_unwind_directive): Likewise.
7258 * df.c (FOR_ALL_BBS): Removed.
7259 * gcse.c (struct null_pointer_info): Type of current_block field
7261 (struct reg_avail_info): Type of last_bb field changed.
7262 * config/ia64/ia64.c (block_num): Removed.
7263 (need_copy_state): Type changed.
7266 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
7268 * cppinit.c (mark_named_operators): Split out from init_builtins.
7269 (cpp_finish_options): Call it from here instead.
7271 2002-05-23 Jason Thorpe <thorpej@wasabisystems.com>
7273 * builtin-attrs.def: Update copyright years.
7274 (ATTR_NONNULL): New attribute identifier.
7275 (ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New
7276 attribute tree lists.
7277 (DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the
7279 (ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use...
7280 (DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg
7281 attribute lists. Chain the appropriate nonnull attribute.
7282 * c-format.c (check_format_arg): Remove null format string
7284 * testsuite/gcc.dg/format/null-1.c: New test.
7286 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7288 * Makefile.in (ADAC): Define.
7290 (.SUFFIXES): Move before language makefile fragments.
7291 (STAGE2_FLAGS_TO_PASS): Use stage CC as ADAC.
7293 2002-05-23 Mark Mitchell <mark@codesourcery.com>
7295 * varasm.c (make_decl_rtl): Don't allow weak variables to be
7298 Thu May 23 19:43:41 CEST 2002 Jan Hubicka <jh@suse.cz>
7300 * cfg.c (dump_flow_info): Print results of
7301 maybe_hot/probably_never_executed predicates.
7302 * toplev.c (open_dump_file): Print function frequency.
7304 2002-05-23 David S. Miller <davem@redhat.com>
7306 * cse.c (approx_reg_cost_1, approx_reg_cost): Recode to not use
7309 2002-05-23 Jason Thorpe <thorpej@wasabisystems.com>
7311 * c-common.c (warn_nonnull): Declare.
7312 (c_common_attribute_table): Add "nonnull" attribute.
7313 (handle_nonnull_attribute, check_function_nonnull, nonnull_check_p,
7314 check_nonnull_arg, get_nonnull_operand, check_function_arguments,
7315 check_function_arguments_recurse): New functions.
7316 * c-common.h (warn_nonnull): Declare extern.
7317 (check_function_arguments, check_function_arguments_recurse): New
7319 * c-decl.c (c_decode_option): Add -Wnonnull option.
7320 * c-format.c (set_Wformat): Set warn_nonnull if enabling
7322 (format_check_context): New structure.
7323 (check_format_info_recurse): Remove recursion and rename to...
7324 (check_format_arg): ...this. Update comment.
7325 (check_format_info): Use check_function_arguments_recurse.
7326 * c-typeck.c (build_function_call): Call check_function_arguments
7327 instead of check_function_format.
7328 * doc/extend.texi: Document "nonnull" attribute.
7329 * doc/invoke.texi: Docuemnt -Wnonnull option.
7330 * testsuite/gcc.dg/nonnull-1.c: New test.
7331 * testsuite/gcc.dg/nonnull-2.c: New test.
7333 2002-05-23 David S. Miller <davem@redhat.com>
7335 * basic-block.h (CLEANUP_NO_INSN_DEL): Define it.
7336 * cfgcleanup.c (cleanup_cfg): If it is set do not
7337 attempt to delete trivially dead insns.
7338 * except.c (finish_eh_generation): Pass it to cleanup_cfg.
7339 * toplev.c (rest_of_compilation): Document non-trivial aspect
7340 the RTL before optimize_save_area_alloca is run.
7342 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
7344 * c-lex.c (indent_level): Remove.
7345 (cb_file_change, c_lex): Remove indent level handling.
7346 * c-lex.h (indent_level): Remove.
7347 * input.h (struct file_stack): Remove indent_level.
7348 * toplev.c (push_srcloc): Remove indent_level handling.
7350 2002-05-23 Jakub Jelinek <jakub@redhat.com>
7353 * config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
7354 of x in constraints for clarity.
7355 (sse_mov?fcc split): abort if op2 == op3.
7356 (sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
7357 sse_movsfcc_const0_4): Add earlyclobber.
7358 (sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
7359 sse_movdfcc_const0_4): Likewise. Use DFmode, not SFmode.
7360 Use Y instead of x in constraints.
7362 2002-05-23 Richard Henderson <rth@redhat.com>
7364 * doc/extend.texi (C99 Thread-Local Edits): New subsection.
7365 (C++98 Thread-Local Edits): New subsection.
7367 * config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace.
7368 (ix86_arch): Set type to enum processor_type.
7370 * config/i386/i386.md (movsi_1, movdi_1_rex64): Use
7371 LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.
7373 2002-05-23 Jakub Jelinek <jakub@redhat.com>
7375 * configure.in: Fix as version test for binutils 2.12.1 releases
7377 * configure: Rebuilt.
7379 2002-05-23 Richard Henderson <rth@redhat.com>
7381 * config/i386/i386.c (get_pic_label_name): New.
7382 (load_pic_register): Remove.
7383 (output_set_got): New.
7384 (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD.
7385 * config/i386/i386.md (UNSPEC_SET_GOT): New.
7386 (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove.
7387 (prologue_set_got, prologue_get_pc): Remove.
7388 (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New.
7389 (builtin_setjmp_receiver): Use gen_set_got.
7390 * config/i386/i386-protos.h: Update.
7392 Thu May 23 09:22:23 CEST 2002 Jan Hubicka <jh@suse.cz>
7394 * gcse.c (hash_expr): Do not use alias set for hashing.
7396 2002-05-22 Kevin Buettner <kevinb@redhat.com>
7398 * dbxout.c (dbxout_class_name_qualifiers): New function.
7399 (dbxout_symbol): Output class/struct qualifiers for a .stabs entry.
7401 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
7403 * cpperror.c (_cpp_begin_message): No special casing
7405 * cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/.
7406 (output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR.
7407 * cpplib.c (do_include_common): Use DL_ERROR.
7408 * cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove.
7410 * fix-header.c (read_scan_file): Update.
7412 2002-05-22 Richard Henderson <rth@redhat.com>
7414 * config/i386/i386.c (ix86_expand_call): New function, extracted
7415 from md call patterns. Add pic_offset_table_rtx to
7416 CALL_INSN_FUNCTION_USAGE when needed.
7417 * config/i386/i386.md (call_pop, call): Use ix86_expand_call.
7418 (call_value_pop, call_value, untyped_call): Likewise.
7419 (call_exp, call_value_exp): Remove.
7420 * config/i386/i386-protos.h: Update.
7422 2002-05-22 Richard Henderson <rth@redhat.com>
7424 * varasm.c (default_section_type_flags): Check for VAR_DECL
7425 before using DECL_THREAD_LOCAL.
7427 2002-05-22 David Edelsohn <edelsohn@gnu.org>
7429 * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
7430 (STARTFILE_SPEC): Delete PE crt0.o.
7431 * config/rs6000/aix51.h: Same.
7432 * config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF.
7433 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
7434 function descriptor symbol. Use RS6000_OUTPUT_BASENAME.
7435 (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
7436 * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.
7438 2002-05-22 Richard Henderson <rth@redhat.com>
7440 * varasm.c (default_section_type_flags): Handle tls data and
7442 (default_unique_section): Handle tls sections.
7444 2002-05-23 Alan Modra <amodra@bigpond.net.au>
7446 * configure.in (CROSS): Define NATIVE_CROSS.
7447 * configure: Regenerate.
7448 * gcc.c (STARTFILE_PREFIX_SPEC): Define.
7449 (startfile_prefix_spec): New var.
7450 (static_specs): Add startfile_prefix_spec.
7451 (do_spec_2): Split out from..
7453 (main): Process startfile_prefix_spec.
7454 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of
7456 (STARTFILE_PREFIX_SPEC): Define.
7457 (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without
7460 2002-05-22 Kazu Hirata <kazu@cs.umass.edu>
7462 * cpperror.c: Fix formatting.
7463 * cppexp.c: Likewise.
7464 * cppfiles.c: Likewise.
7465 * cpphash.c: Likewise.
7466 * cpphash.h: Likewise.
7467 * cppinit.c: Likewise.
7468 * cpplex.c: Likewise.
7469 * cpplib.c: Likewise.
7470 * cppmacro.c: Likewise.
7471 * cppmain.c: Likewise.
7472 * cppspec.c: Likewise.
7474 2002-05-22 Jakub Jelinek <jakub@redhat.com>
7476 * combine.c (force_to_mode): Use gen_int_mode.
7477 Don't clear CONST_INT bits outside of mode.
7479 2002-05-22 Richard Henderson <rth@redhat.com>
7481 * fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
7482 * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
7484 2002-05-22 Jakub Jelinek <jakub@redhat.com>
7487 * emit-rtl.c (widen_memory_access): Only call compare_tree_int
7488 if DECL_SIZE_UNIT is INTEGER_CST.
7490 2002-05-22 Richard Henderson <rth@redhat.com>
7492 * flow.c (life_analysis): Delete broken reg_label check.
7494 2002-05-22 Richard Henderson <rth@redhat.com>
7496 * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
7497 * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
7499 Wed May 22 18:39:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
7501 * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
7502 (embed-bb.c): New rule.
7503 * t-sh64 (LIB2FUNCS_EXTRA): Don't change.
7504 * config/sh/embed_bb.c: Delete.
7506 Wed May 22 18:25:29 2002 J"orn Rennecke <joern.rennecke@superh.com>
7508 * c-common.c (cb_register_builtins): Don't indent '#' of #define.
7510 2002-05-22 Kazu Hirata <kazu@cs.umass.edu>
7512 * config/h8300/h8300.md (*andorqi3): New.
7514 2002-05-22 Neil Booth <neil@daikokuya.demon.co.uk>
7516 PR preprocessor/6517
7517 * Makefile.in: Update.
7518 * c-common.c (c_common_post_options): Add preprocessor
7519 errors to the error count.
7520 * c-lang.c (c_post_options): Kill.
7521 (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
7522 * hooks.h: Add header guards.
7523 * langhooks-def.h: Include hooks.h.
7524 (LANG_HOOKS_POST_OPTIONS): Update.
7525 * langhooks.h (struct lang_hooks): Update post_options.
7526 * toplev.c (parse_options_and_default_flags): Update.
7528 * objc-lang.c (objc_post_options): Kill.
7529 (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
7531 2002-05-21 Bruce Korb <bkorb@gnu.org>
7533 * fixinc/tests/base/pthread.h(THREAD_KEYWORD_CHECK): add fix check
7534 * fixinc/inclhack.def(thread_keyword): use c_fix = format.
7535 * fixinc/fixincl.x: regen.
7537 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
7539 * cfgbuild.c: Fix formatting.
7541 * cfgcleanup.c: Likewise.
7542 * cfglayout.c: Likewise.
7543 * cfgloop.c: Likewise.
7544 * cfgrtl.c: Likewise.
7546 2002-05-21 Richard Henderson <rth@redhat.com>
7548 * c-common.h (enum rid): Add RID_THREAD.
7549 * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
7550 (grokdeclarator): Grok __thread.
7551 * c-parse.in (reswords): Add __thread.
7552 (rid_to_yy): Add RID_THREAD.
7554 * tree.h (DECL_THREAD_LOCAL): New.
7555 (struct tree_decl): Add thread_local_flag.
7556 * print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
7557 * tree.c (staticp): TLS variables are not static.
7559 * target-def.h (TARGET_HAVE_TLS): New.
7560 * target.h (have_tls): New.
7561 * output.h (SECTION_TLS): New.
7562 * varasm.c (assemble_variable): TLS variables can't be common for now.
7563 (default_section_type_flags): Handle .tdata and .tbss.
7564 (default_elf_asm_named_section): Handle SECTION_TLS.
7565 (categorize_decl_for_section): Handle DECL_THREAD_LOCAL.
7567 * flags.h (flag_tls_default): Declare.
7568 * toplev.c (flag_tls_default): Define.
7569 (display_help): Display help for it.
7570 (decode_f_option): Set it.
7572 * doc/extend.texi (Thread-Local): New node describing language-level
7573 thread-local storage.
7574 * doc/invoke.texi (-ftls-model): Document.
7576 * fixinc/inclhack.def (thread_keyword): New.
7577 * fixinc/fixincl.x: Rebuild.
7579 2002-05-21 Jeffrey A Law <law@redhat.com>
7581 * optabs.c (expand_binop): For double-word integer multiplies,
7582 do not compute intermediate results into something that is
7583 not a register (such as a SUBREG or MEM).
7585 * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
7586 (ix86_sched_reorder): Make sure to initialize scheduling
7587 data even when there's only one insn in the ready queue.
7589 2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
7591 * genautomata.c (reserv_sets_hash_value): Fix a typo.
7593 2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
7595 * genautomata.c (reserv_sets_hash_value): Define hash_value as
7596 set_el_t. Transform the hash value into unsigned.
7597 (output_cycle_reservs): Fix bug with output of repeated `nothing'.
7598 (transform_3): Add code to process `(A,B)+(D,E)'.
7600 2002-05-21 NIIBE Yutaka <gniibe@m17n.org>
7602 * reload1.c (do_output_reload): Run delete_output_reload
7605 2002-05-21 Roger Sayle <roger@eyesopen.com>
7608 * expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants
7609 larger than INTEGER_CST. (store_by_pieces_1): Use it here...
7610 (can_store_by_pieces): ... and here to limit the largest mode used.
7611 Add a comment to document this function.
7613 2002-05-21 Richard Henderson <rth@redhat.com>
7615 * flow.c (life_analysis): Fix test for deleted label.
7617 2002-05-21 Neil Booth <neil@daikokuya.demon.co.uk>
7619 * doc/tm.texi: Fix typo.
7621 2002-05-21 Zack Weinberg <zack@codesourcery.com>
7623 * c-common.c (c_common_init): Set options->unsigned_char from
7625 (cb_register_builtins): Define __STRICT_ANSI__ and
7626 __CHAR_UNSIGNED__ here...
7627 * cppinit.c (init_builtins): Not here.
7628 (cpp_create_reader): unsigned_char option defaults to 0, not
7629 !DEFAULT_SIGNED_CHAR.
7630 (COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
7631 and -funsigned-char.
7633 * cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
7634 * cpphash.c (_cpp_init_hashtable): Don't set it.
7635 * cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
7636 directly. Clarify comment.
7638 2002-05-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
7640 * bb-reorder.c (make_reorder_chain_1): Use prev_bb/next_bb to get to
7641 neighbouring basic blocks. Use ENTRY_BLOCK_PTR->next_bb instead of
7642 BASIC_BLOCK (0). Use EXIT_BLOCK_PTR->prev_bb instead of
7643 BASIC_BLOCK (n_basic_blocks - 1).
7644 * cfganal.c (can_fallthru, flow_call_edges_add,
7645 flow_preorder_transversal_compute): Too.
7646 * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
7647 find_sub_basic_blocks): Too.
7648 * cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Too.
7649 * cfglayout.c (skip_insns_after_block, fixup_reorder_chain,
7650 fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Too.
7651 * cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Too.
7652 * combine.c (this_basic_block): Type changed to basic_block.
7653 (combine_instructions, set_nonzero_bits_and_sign_copies, try_combine,
7654 nonzero_bits, num_sign_bit_copies, get_last_value_validate,
7655 get_last_value, distribute_notes, distribute_links): Too.
7656 * final.c (compute_alignments): Too.
7657 * flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Too.
7658 * function.c (thread_prologue_and_epilogue_insns): Too.
7659 * gcse.c (compute_code_hoist_vbeinout): Too.
7660 * global.c (build_insn_chain): Too.
7661 * ifcvt.c (find_if_block, find_cond_trap): Too.
7662 * predict.c (last_basic_block_p, note_prediction_to_br_prob): Too.
7663 * regmove.c (regmove_optimize): Too.
7664 * resource.c (find_basic_block): Too.
7665 * sched-ebb.c (schedule_ebbs): Too.
7666 * ssa-dce.c (find_control_dependence, find_pdom): Too.
7668 2002-05-21 Andreas Jaeger <aj@suse.de>
7670 * cppinit.c (sanity_checks): Avoid printf mismatch warnings.
7672 2002-05-21 Richard Henderson <rth@redhat.com>
7674 * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
7675 unspec names, not numbers.
7677 2002-05-21 Joseph S. Myers <jsm28@cam.ac.uk>
7679 * doc/sourcebuild.texi: Mention snapshot-README and
7680 snapshot-index.html as needing updating for new front ends.
7682 2002-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7684 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
7685 disabling checking, and avoid multiple evaluation of RTX.
7687 2002-05-21 Richard Earnshaw <rearnsha@arm.com>
7689 * bitmap.c (bitmap_find_bit): Return early if we have the correct
7692 Tue May 21 10:51:54 CEST 2002 Jan Hubicka <jh@suse.cz>
7694 * profile.c (gen_edge_profiler): Set alias set before the memory is
7697 2002-05-20 David S. Miller <davem@redhat.com>
7699 * cselib.c (max_value_regs): New.
7700 (cselib_lookup, cselib_invalidate_regno): Initialize it when
7701 adding new entries to the REG_VALUES table and we are dealing with
7703 (clear_table): Initialize it.
7704 (cselib_invalidate_regno): Use it to determine which hard
7705 registers to scan when mode is not VOIDmode.
7707 2002-05-20 Duraid Madina <duraid@fl.net.au>
7709 * tradcpp.c (fixup_newlines): Use old-style function header.
7711 2002-05-20 Krister Walfridsson <cato@df.lth.se>
7713 * reload1.c (reload_cse_simplify): Fix typo in rtx code check.
7715 2002-05-20 H.J. Lu (hjl@gnu.org)
7717 Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
7719 * config/mips/mips.h (DFMODE_NAN): Defined.
7720 (SFMODE_NAN): Likewise.
7722 2002-05-20 Dale Johannesen <dalej@apple.com>
7724 * combine.c (cant_combine_insn_p): Back out my
7727 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
7729 * params.c: Fix formatting.
7730 * params.h: Likewise.
7731 * predict.c: Likewise.
7732 * prefix.c: Likewise.
7733 * print-rtl.c: Likewise.
7734 * print-tree.c: Likewise.
7735 * profile.c: Likewise.
7737 2002-05-20 H.J. Lu (hjl@gnu.org)
7739 * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.
7741 2002-05-20 Nick Clifton <nickc@cambridge.redhat.com>
7743 * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
7744 switches straight on to the assembler, do not abbreviate them.
7745 * config/arm/elf.h (ASM_SPEC): As above.
7746 * config/arm/semi.h (ASM_SPEC): As above.
7747 * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
7748 * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
7749 -mcpu=xscale on to the assembler by default.
7750 * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.
7752 2002-05-20 Richard Henderson <rth@redhat.com>
7754 * cse.c (canon_hash): Reorder do_not_record test. Always
7755 allow pic_offset_table_rtx.
7757 2002-05-19 Toon Moene <toon@moene.indiv.nluug.nl>
7759 * optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
7760 (expand_binop): Ditto (3 times).
7762 2002-05-19 Mark Mitchell <mitchell@doubledemon.codesourcery.com>
7764 * Makefile.in (distclean): Remove QMTest stuff.
7765 (QMTEST_PATH): New variable.
7766 (QMTESTFLAGS): Likewise.
7767 (QMTESTRUNFLAGS): Likewise.
7769 (QMTEST_GPP_TESTS): Likewise.
7770 (QMTEST_DIR): Likewise.
7771 (QMTEST_DIR/context): New target.
7772 (qmtest-g++): Likeise.
7773 (qmtest-gui): Likewise.
7774 (QMTEST_DIR/gpp-expected.qmr): Likewise.
7776 2002-05-19 Aldy Hernandez <aldyh@redhat.com>
7778 * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
7779 an altivec register if TARGET_ALTIVEC.
7781 * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
7782 to ALTIVEC_VECTOR_MODE.
7783 (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
7784 (rs6000_va_arg): Vectors may go in registers if they are not
7787 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
7789 * protoize.c: Fix formatting.
7791 2002-05-19 Richard Henderson <rth@redhat.com>
7793 * gensupport.c (init_include_reader): Merge into ...
7794 (process_include): ... here. Simplify composite path creation.
7795 Plug memory leaks. Fix file/line number tracking. Do not
7796 process_define_cond_exec. Return void.
7797 (process_rtx): Don't check process_include return value.
7799 2002-05-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
7801 * basic_block.h (struct basic_block_def): Added prev_bb and next_bb
7803 (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
7804 traversing basic block chain.
7805 (create_basic_block_structure, create_basic_block): Declaration changed.
7806 (link_block, unlink_block): Declare.
7807 * cfg.c (entry_exit_blocks): Initialize new fields.
7808 (link_block, unlink_block): New.
7809 (expunge_block_nocompact): Unlink basic block.
7810 (dump_flow_info): Print prev_bb/next_bb fields.
7811 * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
7812 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
7813 * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
7814 * cfgrtl.c (create_basic_block_structure, create_basic_block,
7815 split_block, force_nonfallthru_and_redirect, split_edge): Modified.
7816 (verify_flow_info): Check that list agrees with numbering.
7818 2002-05-19 Neil Booth <neil@daikokuya.demon.co.uk>
7820 * c-common.c (preprocessing_asm): New macro.
7821 * c-lex.h (builtin_define, builtin_assert): Use pfile.
7825 * alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
7826 (CPP_SPEC): Simplify.
7827 (TARGET_CPU_CPP_BUILTINS): Update.
7828 * freebsd.h (TARGET_OS_CPP_BUILTINS): New.
7829 (CPP_SPEC): Simplify.
7830 * linux.h (CPLUSPLUS_CPP_SPEC): Remove.
7831 (TARGET_OS_CPP_BUILTINS): Update.
7832 * osf.h (CPP_XFLOAT_SPEC): Kill.
7833 (TARGET_OS_CPP_BUILTINS): Update.
7834 (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
7835 * osf5.h (CPP_XFLOAT_SPEC): Kill.
7836 * vms.h (CPP_SUBTARGET_SPEC): Kill.
7837 (TARGET_OS_CPP_BUILTINS): Update.
7839 2002-05-19 Richard Henderson <rth@redhat.com>
7841 * varasm.c (default_binds_local_p): Fix typo.
7843 2002-05-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
7845 * config/avr/avr.c (machine_dependent_reorg): Sign extend the
7846 CONST_INT operand to the correct mode after adding 1 to it.
7848 2002-05-19 Mark Mitchell <mark@codesourcery.com>
7850 * config.gcc (powerpc-wrs-windiss*): New target.
7852 2002-05-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7854 * config/rs6000/rs6000.md (ashrdi3_no_power): New.
7857 2002-05-18 Mark Mitchell <mark@codesourcery.com>
7859 * configure.in (AC_CHECK_FUNCS): Add checks for scandir and
7861 * config.in: Regenerated.
7862 * configure: Regenerated.
7864 2002-05-19 Richard Henderson <rth@redhat.com>
7866 * target-def.h (TARGET_BINDS_LOCAL_P): New.
7867 * target.h (struct gcc_target): Move boolean fields to the end.
7869 * varasm.c (default_binds_local_p): New.
7870 * output.h: Declare it.
7872 * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook.
7873 * config/cris/cris.c (cris_encode_section_info): Likewise.
7874 * config/i386/i386.c (i386_encode_section_info): Likewise.
7875 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
7876 * config/sh/sh.c (sh_encode_section_info): Likewise.
7878 * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New.
7879 (TARGET_BINDS_LOCAL_P): New.
7881 2002-05-19 Richard Henderson <rth@redhat.com>
7883 * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
7884 FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
7885 MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.
7887 * toplev.c (display_help): Kill -a -ax help.
7889 * config/1750a/1750a.h, config/alpha/alpha.h,
7890 config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
7891 config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
7892 config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
7893 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.
7895 * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
7896 * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.
7898 * config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
7899 (ix86_output_function_block_profiler): Kill.
7900 * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
7901 (m68hc11_function_block_profiler): Kill.
7902 * config/m68hc11/m68hc11-protos.h: Update.
7903 * config/m88k/m88k.c (output_block_profiler): Kill.
7904 (output_function_block_profiler): Kill.
7905 * config/m88k/m88k-protos.h: Update.
7907 2002-05-19 Richard Henderson <rth@redhat.com>
7909 * system.h (STRIP_NAME_ENCODING): Poison it.
7910 * output.h (STRIP_NAME_ENCODING): Remove.
7911 (default_strip_name_encoding): Declare.
7912 * target-def.h (TARGET_STRIP_NAME_ENCODING): New.
7913 * target.h (strip_name_encoding): New.
7914 * varasm.c (default_strip_name_encoding): New.
7916 * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h,
7917 config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c,
7918 config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c,
7919 config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h,
7920 config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h,
7921 config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h,
7922 config/pa/pa.c, config/pa/pa.h, config/pa/som.h,
7923 config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h,
7924 config/v850/v850.h: Use the hook, not the macro.
7926 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
7927 config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c,
7928 config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h,
7929 config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
7930 config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
7931 config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
7932 config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
7933 config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
7934 config/v850/v850.c, config/v850/v850.h:
7935 Move STRIP_NAME_ENCODING to out-of-line function and add
7936 TARGET_STRIP_NAME_ENCODING.
7938 * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h,
7939 config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING
7940 with TARGET_STRIP_NAME_ENCODING referencing existing function;
7941 make function static.
7943 * xcoffout.c: Include target.h
7944 * Makefile.in (xcoffout.o): Update.
7946 * config/avr/avr.c (avr_encode_section_info): Correct prototype.
7947 * config/avr/avr.h (STRIP_NAME_ENCODING): Remove.
7948 * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark
7949 reloc argument unused.
7950 * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New.
7952 * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous
7953 STRIP_NAME_ENCODING docs.
7955 2002-05-19 Andreas Jaeger <aj@suse.de>
7957 * gengenrtl.c: Add prototype for excluded_rtx.
7959 * real.h: Add prototype for exact_real_truncate.
7961 2002-05-18 Richard Henderson <rth@redhat.com>
7963 * system.h (ENCODE_SECTION_INFO): Poison it.
7964 * target-def.h (TARGET_ENCODE_SECTION_INFO): New.
7965 * target.h (encode_section_info): New.
7966 * varasm.c (make_decl_rtl, output_constant_def): Use it.
7967 * hooks.c (hook_tree_int_void): New.
7968 * hooks.h: Declare it.
7970 * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
7971 config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h,
7972 config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h,
7973 config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h,
7974 config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h,
7975 config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
7976 config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c,
7977 config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h,
7978 config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
7979 config/mcore/mcore-protos.h, config/mcore/mcore.c,
7980 config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c,
7981 config/mmix/mmix.h, config/rs6000/rs6000-protos.h,
7982 config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h,
7983 config/stormy16/stormy16.c, config/stormy16/stormy16.h:
7984 Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO
7985 referencing existing function. Make function static.
7987 * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c,
7988 config/arc/arc.h, config/arm/arm.c, config/arm/arm.h,
7989 config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
7990 config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c,
7991 config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c,
7992 config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h,
7993 config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c,
7994 config/pa/pa.h, config/romp/romp.c, config/romp/romp.h,
7995 config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c,
7996 config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
7997 config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c,
7998 config/v850/v850.h, config/vax/vax.c, config/vax/vms.h,
7999 config/xtensa/xtensa.c, config/xtensa/xtensa.h:
8000 Move ENCODE_SECTION_INFO to out-of-line function and add
8001 TARGET_ENCODE_SECTION_INFO.
8003 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro.
8004 (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
8006 * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename
8008 (switch_to_section): Replace in_rdata case with in_readonly_data.
8010 * config/h8300/h8300.c (h8300_encode_label): Make static.
8011 * config/h8300/h8300-protos.h: Update.
8013 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename
8014 from rs6000_encode_section_info; make static.
8015 (rs6000_xcoff_encode_section_info): New.
8017 * config/v850/v850.c (v850_encode_data_area): Make static.
8018 * config/v850/v850-protos.h: Update.
8020 * config/vax/vax.c: Include flags.h.
8021 (vms_select_section): Fix typo.
8023 * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous
8024 ENCODE_SECTION_INFO docs.
8026 2002-05-18 Richard Henderson <rth@redhat.com>
8028 * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
8029 REGISTER_TARGET_PRAGMAS.
8030 * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
8032 * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
8034 2002-05-18 Richard Henderson <rth@redhat.com>
8036 * system.h (SELECT_RTX_SECTION): Poison.
8037 * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New.
8038 * target.h (select_rtx_section): New.
8039 * varasm.c (output_constant_pool): Use it.
8040 (default_select_rtx_section, default_elf_select_rtx_section): New.
8041 * output.h: Declare them.
8043 * config/darwin.h (SELECT_RTX_SECTION): Move ...
8044 * config/darwin.c (machopic_select_rtx_section): ... here.
8045 * config/darwin-protos.h: Update.
8047 * config/nextstep.h (SELECT_RTX_SECTION): Move ...
8048 * config/nextstep.c (machopic_select_rtx_section): ... here.
8049 (nextstep_select_section): Rename variable to avoid macro clash.
8050 * config/nextstep-protos.h: Update.
8052 * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h,
8053 config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h,
8054 config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h,
8055 config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h,
8056 config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h,
8057 config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h,
8058 config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h,
8059 config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h,
8060 config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h
8061 (SELECT_RTX_SECTION): Remove.
8063 * config/darwin.h, config/elfos.h, config/nextstep.h,
8064 config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c,
8065 config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h,
8066 config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h,
8067 config/sparc/lynx.h, config/xtensa/xtensa.c
8068 (TARGET_ASM_SELECT_RTX_SECTION): New.
8070 * config/alpha/elf.h (SELECT_RTX_SECTION): Move ...
8071 * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here.
8072 * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ...
8073 * config/ia64/ia64.c (ia64_select_rtx_section): ... here.
8074 (ia64_aix_select_rtx_section): New.
8075 * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before
8077 * config/mips/mips.c (mips_select_rtx_section): Make static.
8078 Support ELF SHF_MERGE features.
8079 * config/mips/mips-protos.h: Update.
8080 * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ...
8081 * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here.
8082 (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section;
8083 make static, fall back to default_elf_select_rtx_section.
8084 * config/rs6000/rs6000-protos.h: Update.
8085 * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ...
8086 * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here.
8087 * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2.
8088 * config/romp/romp.c (romp_select_rtx_section): New.
8089 * config/s390/s390.c (s390_select_rtx_section): New.
8090 * config/xtensa/xtensa.c: Include output.h. Shuffle local function
8091 declarations before target macro definition.
8092 (xtensa_emit_call): Use static buffer.
8093 (xtensa_select_rtx_section): New.
8094 * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove.
8095 (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove.
8096 (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section.
8098 * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from
8099 SELECT_RTX_SECTION docs.
8101 Sun May 19 00:24:23 CEST 2002 Jan Hubicka <jh@suse.cz>
8103 * i386.md (movsi/movdi): Fix template.
8104 (sse2 patterns): Set attributes consistently.
8106 * i386.md (pushqi2, ashrqi_*): Fix constraint.
8108 2002-05-18 Toon Moene <toon@moene.indiv.nluug.nl>
8110 * optabs.c (complex_part_zero_p): New.
8111 * (expand_cmplxdiv_straight): Use it.
8112 * (expand_cmplxdiv_wide): Ditto.
8113 * (expand_binop): Ditto.
8115 2002-05-18 Richard Henderson <rth@redhat.com>
8117 * final.c (HAVE_READONLY_DATA_SECTION): New.
8118 (shorten_branches): Use it instead of ifdefs.
8119 * varasm.c (enum in_section): Add in_readonly_data.
8120 (text_section, data_section): Tidy.
8121 (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.
8123 * config/darwin.h, config/nextstep.h, config/h8300/elf.h,
8124 config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
8125 (READONLY_DATA_SECTION): Don't undef.
8127 * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
8128 config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
8129 config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.
8131 * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
8132 config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
8133 config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
8134 config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.
8136 * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
8137 config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
8138 config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
8139 config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
8140 config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
8141 config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
8142 config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
8143 config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
8144 CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.
8146 * config/elfos.h, config/netware.h, config/1750a/1750a.h,
8147 config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
8148 config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
8149 config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
8150 config/pa/pa64-hpux.h, config/sparc/litecoff.h
8151 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
8153 * config/elfos.h, config/netware.h, config/svr3.h,
8154 config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
8155 config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
8156 config/h8300/h8300.h, config/i386/i386-interix.h,
8157 config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
8158 config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.
8160 * config/elfos.h, config/netware.h, config/svr3.h,
8161 config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
8162 config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
8163 config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
8164 config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.
8166 * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
8167 config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
8168 config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
8169 config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
8170 config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
8171 config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
8172 config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
8173 config/rs6000/sysv4.h, config/v850/v850.h
8174 (EXTRA_SECTIONS): Remove in_const/in_rdata.
8175 (EXTRA_SECTION_FUNCTIONS): Remove accompanying function.
8177 * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
8178 config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
8179 config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
8180 config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
8181 * config/alpha/alpha.c (alpha_start_function): Likewise.
8182 (alpha_write_linkage): Likewise.
8183 * config/m32r/m32r.c (m32r_select_section): Likewise.
8184 * config/m88k/m88k.c (m88k_select_section): Likewise.
8185 * config/mips/mips.c (mips_select_rtx_section): Likewise.
8186 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
8187 (rs6000_elf_select_section): Likewise.
8188 * config/v850/v850.c (v850_select_section): Likewise.
8190 * config/1750a/1750a.h, config/i860/sysv3.h
8191 (READONLY_DATA_SECTION_ASM_OP): New.
8192 READONLY_DATA_SECTION_ASM_OP.
8193 * config/i386/interix.c, config/i386/winnt.c
8194 (i386_pe_unique_section): Always use .rdata prefix.
8195 * config/pa/som.h (readonly_data): Always switch to read-only section.
8196 (READONLY_DATA_SECTION): Predicate on flag_pic.
8197 * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
8198 * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
8199 (READONLY_DATA_SECTION): Update.
8201 2002-05-18 Jason Thorpe <thorpej@wasabisystems.com>
8203 * c-common.c (c_common_post_options): Warn if -Wformat-zero-length
8204 is used without -Wformat.
8205 * c-common.h (warn_format_zero_length): Declare extern.
8206 * c-decl.c (warn_options): Add "format-zero-length".
8207 * c-format.c (warn_format_zero_length): Declare.
8208 (set_Wformat): Set warn_format_zero_length for -Wformat.
8209 (check_format_info): Only warn about zero-length formats if
8210 warn_format_zero_length is true. Include the format type
8211 name in the warning message.
8212 * doc/invoke.texi: Document -Wformat-zero-length.
8213 * testsuite/gcc.dg/format/zero-length-1.c: New test.
8215 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
8217 * timevar.c: Fix formatting.
8218 * tlink.c: Likewise.
8219 * toplev.c: Likewise.
8220 * tree-dump.c: Likewise.
8221 * tree-inline.c: Likewise.
8223 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
8225 * cppinit.c (cpp_post_options): If preprocessed, turn off
8226 traditional. If traditional, turn off column numbers.
8227 * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional.
8228 * cpptrad.c (handle_newline): Update line_base.
8229 (skip_comment): Handle -Wcomment.
8231 2002-05-17 Zack Weinberg <zack@codesourcery.com>
8233 * cppinit.c (struct builtin): Remove unused fields.
8234 (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill.
8235 (operator_array): New - was second half of builtin_array.
8236 (init_builtins): Simplify loop over builtin_array/operator_array.
8238 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
8240 * defaults.h (UNIQUE_SECTION): Remove.
8241 * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.
8243 2002-05-17 Richard Henderson <rth@redhat.com>
8245 * expr.c (init_expr_once): Don't use start/end_sequence.
8246 Use rtx_alloc instead of emit_insn.
8247 * toplev.c (lang_dependent_init): Run init_expr_once here ...
8248 (lang_independent_init): ... not here.
8250 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com>
8252 * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
8254 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
8256 * config/avr/avr.c (avr_regs_to_save): New function. Also check
8257 for fixed registers, possibly used for global register variables.
8258 (initial_elimination_offset, avr_output_function_prologue,
8259 avr_output_function_epilogue): Move common code to avr_regs_to_save.
8261 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
8263 * Makefile.in: Update for cpptrad.c.
8264 * cpphash.h (struct cpp_buffer): New members for buffer
8266 (struct cpp_reader): New members for traditional output.
8267 (_cpp_read_logical_line, _cpp_overlay_buffer): New.
8268 * cppinit.c (cpp_create_reader): Set trad_line.
8269 (cpp_destroy): Free trad_out_base if used.
8270 (cpp_read_main_file): Overlay an empty buffer if traditional.
8271 (cpp_finish_options): Don't do builtins.
8272 (COMMAND_LINE_OPTIONS): Add -traditional-cpp.
8273 (cpp_handle_option): Handle it.
8274 * cpplex.c (continue_after_nul): New.
8275 (_cpp_lex_direct): Use handle_nul.
8276 * cpplib.h (struct cpp_options): New traditional option.
8277 * cpptrad.c: New file.
8279 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
8281 * c-common.c (c_common_init_options): Use C89 for Objective-C,
8282 and set the options flag.
8283 * cppinit.c (lang_flags): Remove objc.
8284 (lang_defaults): Remove OBJC and OBJCXX.
8286 (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
8287 (cpp_handle_option): Remove -+ and -lang-objc++.
8288 For ObjC, just set a flag.
8289 (print_help): Update.
8290 * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.
8292 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8294 * doc/install.texi (Specific, mips-sgi-irix6): Document need to
8295 bootstrap with -mips3.
8297 2002-05-17 Kazu Hirata <kazu@cs.umass.edu>
8299 * final.c: Fix formatting.
8300 * fix-header.c: Likewise.
8302 * fold-const.c: Likewise.
8303 * function.c: Likewise.
8305 2002-05-17 David S. Miller <davem@redhat.com>
8307 PR c/6689, PR optimization/6615
8308 * local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
8309 and make it a pointer to rtx. Update comments.
8310 (update_equiv_regs): When scanning for equivalences, record
8311 address of SET_SRC (set) in reg_equiv[].src_p. Dereference
8312 it while making the equiv replacements.
8314 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8316 * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.
8318 2002-05-17 kaz Kojima <kkojima@rr.iij4u.or.jp>
8320 * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
8321 when encoding visibility into SYMBOL_REF_FLAG.
8323 2002-05-17 Richard Sandiford <rsandifo@redhat.com>
8325 * expr.c (force_operand): Fix reversed move.
8327 2002-05-17 Kurt Wall <kwall@kurtwerks.com>
8329 * doc/install.texi (Testing): Mention two common DejaGnu warnings
8330 that can be ignored.
8332 2002-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8334 * doc/install.texi (Final install): Recommend to install into a
8335 "clean" target directory.
8337 2002-05-17 Richard Henderson <rth@redhat.com>
8339 * config/ia64/ia64.md: Use braced strings instead of quoted strings
8340 for code blocks. Tidy whitespace.
8342 2002-05-17 Richard Henderson <rth@redhat.com>
8344 * hooks.c (hook_tree_bool_false): New.
8345 * hooks.h: Declare it.
8346 * target-def.h (TARGET_ASM_SELECT_SECTION): New.
8347 (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New.
8348 * target.h (select_section, unique_section): New.
8349 (in_small_data_p): New.
8350 * varasm.c (resolve_unique_section): Use hooks instead of macros.
8351 (variable_section, output_constant_def_contents): Likewise.
8352 (default_select_section, default_unique_section): New.
8353 (categorize_decl_for_section, default_elf_select_section): New.
8354 * output.h: Declare them.
8356 * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove.
8357 (TARGET_ASM_SELECT_SECTION): New.
8358 (SELECT_SECTION): Move ...
8359 * config/darwin.c (machopic_select_section): ... here.
8360 * config/darwin-protos.h: Update.
8362 * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New.
8363 (SELECT_SECTION): Move ...
8364 * config/nextstep.c (nextstep_select_section): ... here.
8365 * config/nextstep-protos.h: Update.
8367 * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove.
8368 (TARGET_ASM_SELECT_SECTION): New.
8369 * config/svr3.h (SELECT_SECTION): Remove.
8371 * config/alpha/alpha.c (unicosmk_unique_section): Make static.
8372 (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New.
8373 (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New.
8374 (alpha_encode_section_info): Use it.
8375 * config/alpha/alpha-protos.h: Update.
8376 * config/alpha/elf.h (DO_SELECT_SECTION): Remove.
8377 (SELECT_SECTION, UNIQUE_SECTION): Remove.
8378 (TARGET_ASM_SELECT_SECTION): New.
8379 * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove.
8381 * config/arm/pe.h (UNIQUE_SECTION): Remove.
8382 (TARGET_ASM_UNIQUE_SECTION): New.
8384 * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New.
8385 (avr_unique_section): Rename from unique_section; make static.
8386 * config/avr/avr-protos.h: Update.
8387 * config/avr/avr.h (UNIQUE_SECTION): Remove.
8389 * config/c4x/c4x.h (SELECT_SECTION): Remove.
8391 * config/i386/cygwin.h (UNIQUE_SECTION): Remove.
8392 (TARGET_ASM_UNIQUE_SECTION): New.
8393 * config/i386/i386-interix.h: Likewise.
8394 * config/i386/win32.h: Likewise.
8395 * config/i386/djgpp.h (UNIQUE_SECTION): Remove.
8396 * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro.
8397 * config/i386/sco5.h (SELECT_SECTION): Remove.
8398 (TARGET_ASM_SELECT_SECTION): New.
8399 * config/i386/svr3gas.h (SELECT_SECTION): Remove.
8401 * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION
8402 instead of SELECT_SECTION.
8403 * config/m68k/dpx2.h: Likewise.
8404 * config/rs6000/lynx.h: Likewise.
8406 * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
8407 (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
8408 * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New.
8409 (ia64_in_small_data_p): New.
8410 (ia64_encode_section_info): Use it. Reorganize overlarge conditional.
8411 (ia64_aix_select_section, ia64_aix_unique_section): New.
8412 * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove.
8413 (SELECT_SECTION, UNIQUE_SECTION): Remove.
8415 * config/m32r/m32r.h (SELECT_SECTION): Remove.
8416 (TARGET_ASM_SELECT_SECTION): New.
8417 * config/m32r/m32r.c (m32r_select_section): Take align argument.
8418 * config/m32r/m32r-protos.h: Update.
8420 * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New.
8421 (SELECT_SECTION): Move ...
8422 * config/m88k/m88k.c (m88k_select_section): ... here.
8424 * config/mcore/mcore-pe.h (SELECT_SECTION): Remove.
8425 * config/mcore/mcore.h (UNIQUE_SECTION): Remove.
8426 * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New.
8427 (mcore_unique_section): Make static.
8428 * config/mcore/mcore-protos.h: Update.
8430 * config/mips/elf.h (UNIQUE_SECTION): Remove.
8431 (TARGET_ASM_UNIQUE_SECTION): New.
8432 * config/mips/elf64.h: Likewise.
8433 * config/mips/iris6gld.h: Likewise.
8434 * config/mips/linux.h: Likewise.
8435 * config/mips/mips-protos.h: Update.
8436 * config/mips/mips.c (mips_select_section): Add align argument.
8437 * config/mips/mips.h (SELECT_SECTION): Remove.
8438 (TARGET_ASM_SELECT_SECTION): New.
8440 * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
8441 * config/mmix/mmix.c (mmix_select_section): Remove.
8442 (mmix_unique_section): Remove.
8443 * config/mmix/mmix-protos.h: Update.
8445 * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New.
8446 (SELECT_SECTION): Move ...
8447 * config/pa/pa.c (pa_select_section): ... here.
8448 * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove.
8450 * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename
8451 from rs6000_select_section and make static.
8452 (rs6000_elf_unique_section): Similarly.
8453 (rs6000_xcoff_select_section): From xcoff.h.
8454 (rs6000_xcoff_unique_section): Likewise.
8455 * config/rs6000/rs6000-protos.h: Update.
8456 * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
8457 (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
8458 * config/rs6000/xcoff.h: Likewise.
8460 * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New.
8461 (SELECT_SECTION): Move ...
8462 * config/sparc/sparc.c (sparc_aout_select_section): ... here.
8464 * config/v850/v850.h (SELECT_SECTION): Move ...
8465 * config/v850/v850.c (v850_select_section): ... here.
8466 (TARGET_ASM_SELECT_SECTION): New.
8468 * config/vax/vms.h (SELECT_SECTION): Move ...
8469 * config/vax/vax.c (vms_select_section): ... here.
8470 (TARGET_ASM_SELECT_SECTION): New.
8472 * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs
8473 for the target hooks.
8475 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
8477 * config/arm/arm.c (emit_multi_reg_push): Do not set
8478 RTX_FRAME_RELATED_P on the SEQUENCE.
8480 2002-05-16 Richard Henderson <rth@redhat.com>
8482 * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
8483 splitting. Use split_all_insns; update_life_info_in_dirty_blocks.
8485 2002-05-16 Richard Henderson <rth@redhat.com>
8487 * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
8489 * config/ia64/ia64.c (saveable_obstack): Do not declare.
8491 2002-05-16 Richard Henderson <rth@redhat.com>
8493 * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c,
8494 cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c,
8495 conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c,
8496 gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c,
8497 local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c,
8498 recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c,
8499 reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c,
8500 sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c:
8501 Revert "Basic block renumbering removal", and two followup patches.
8503 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
8505 * lcm.c (optimize_mode_switching): Revert previous change.
8507 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
8509 * sched-rgn.c (schedule_insns): Initialize large_region_blocks
8510 with only extant block numbers.
8512 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
8514 * lcm.c (optimize_mode_switching): Fix typo.
8516 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
8518 * flow.c (calculate_global_regs_live): Queue blocks in program order.
8520 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8522 * doc/install.texi (Configuration): Document PWDCMD.
8524 2002-05-16 Dale Johannesen <dalej@apple.com>
8526 * combine.c (cant_combine_insn_p): Reenable combinations
8527 involving hard regs unless CLASS_LIKELY_SPILLED_P.
8529 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
8531 * c-common.c (cb_register_builtins): Handle more built-ins
8532 here rather than in gcc.c specs.
8533 * gcc.c (cpp_unique_options): Move many built-ins to c-common.c.
8534 (cpp_options): Pass -O flags even when only preprocessing.
8535 * toplev.c (set_fast_math_flags): New prototype.
8536 (fast_math_flags_set_p): New.
8537 (set_no_fast_math_flags): Remove.
8538 (decode_f_option): Update.
8539 * toplev.h (set_fast_math_flags): Update.
8540 (fast_math_flags_set_p): New.
8541 (set_no_fast_math_flags): Remove.
8543 * c4x/c4x.c (c4x_override_options): Update.
8545 2002-05-16 Zack Weinberg <zack@codesourcery.com>
8547 * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
8548 Default-define here.
8549 (builtin_define_with_value): Can now wrap the expansion in
8550 quotation marks if such is wanted.
8551 (cb_register_builtins): Update calls to builtin_define_with_value.
8552 Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
8554 (c_common_init): Set options->stdc_0_in_system_headers.
8555 * c-lex.h: Update prototype of builtin_define_with_value.
8556 * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX
8557 and REGISTER_PREFIX.
8559 * cppinit.c (VERS, ULP, C, X): Kill.
8560 (builtin_array): Remove entries for __VERSION__,
8561 __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and
8562 __HAVE_BUILTIN_SETJMP__. Make __STDC__ always a builtin, not
8564 (init_builtins): Kill off a bunch of now-dead code.
8565 (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and
8566 -fno-leading-underscore.
8567 (cpp_handle_option): Remove code to set user_label_prefix.
8568 (cpp_post_options): Likewise.
8570 * cpplib.h (struct cpp_options): Remove user_label_prefix.
8571 (stdc_0_in_system_headers): New.
8572 * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
8573 stdc_0_in_system_headers) too to decide the value of __STDC__.
8575 * tradcpp.c (user_label_prefix): Kill.
8576 (main): Remove code handling -f(no-)leading-underscore.
8577 (initialize_builtins): Don't define __REGISTER_PREFIX__
8578 or __USER_LABEL_PREFIX__.
8579 (install_value): Wrap compound statement in dummy loop so the
8580 macro works properly in an if statement.
8583 2002-05-16 Janis Johnson <janis187@us.ibm.com>
8585 * loop.h (struct loop_info): Add member has_prefetch.
8586 * loop.c (PREFETCH_CONDITIONAL): Change default to 1.
8587 (prescan_loop): Initialize has_prefetch.
8588 (struct prefetch_info): Change prefetch_in_loop and
8589 prefetch_before_loop from bit fields to ints.
8590 (emit_prefetch_instructions): Several small fixes.
8591 (check_dbra_loop): Don't reverse loop that uses prefetch.
8593 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8595 * Makefile.in: Allow for PWDCMD to override hardcoded pwd.
8596 * configure.in: Likewise.
8597 * fixinc/check.tpl: Likewise.
8598 * fixinc/fixinc.dgux: Likewise.
8599 * fixinc/fixinc.svr4: Likewise.
8600 * fixinc/fixinc.winnt: Likewise.
8601 * fixinc/fixincl.sh: Likewise.
8602 * fixproto: Likewise.
8603 * configure: Regenerate.
8605 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
8607 Basic block renumbering removal:
8608 * basic_block.h (struct basic_block_def): Renamed index to sindex,
8609 added prev_bb and next_bb fields.
8610 (n_basic_blocks): Renamed to num_basic_blocks.
8611 (last_basic_block): New, index of last basic block.
8612 (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
8613 traversing basic block chain.
8614 (BLOCK_NUM): index -> sindex.
8615 (create_basic_block_structure, create_basic_block): Declaration changed.
8616 (debug_num2bb): Declare.
8617 (expunge_block_nocompact): Declaration removed.
8618 (link_block, unlink_block, compact_blocks): Declare.
8619 * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified.
8620 * cfg.c (entry_exit_blocks): Initialize new fields.
8621 (clear_edges, alloc_block, expunge_block, cached_make_edge,
8622 redirect_edge_pred, dump_flow_info, dump_edge_info,
8623 alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges,
8624 free_aux_for_edges): Modified.
8625 (link_block, unlink_block, compact_blocks, debug_num2bb): New.
8626 (expunge_block_nocompact): Removed.
8627 * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add,
8628 find_unreachable_blocks, create_edge_list, print_edge_list,
8629 verify_edge_list, flow_edge_list_print, remove_fake_successors,
8630 remove_fake_edges, flow_reverse_top_sort_order_compute,
8631 flow_depth_first_order_compute, flow_preorder_transversal_compute,
8632 flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb,
8633 flow_dfs_compute_reverse_execute): Modified.
8634 * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1,
8635 find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks):
8637 * cfgcleanup.c (try_simplify_condjump, try_forward_edges,
8638 merge_blocks_move_predecessor_nojumps,
8639 merge_blocks_move_successor_nojumps, merge_blocks,
8640 outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb,
8641 try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified.
8642 * cfglayout.c (skip_insns_after_block, label_for_bb,
8643 record_effective_endpoints, scope_to_insns_finalize,
8644 fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps,
8645 fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge,
8646 cfg_layout_duplicate_bb): Modified.
8647 * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump,
8648 flow_loop_entry_edges_find, flow_loop_exit_edges_find,
8649 flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan,
8650 flow_loops_find, flow_loop_outside_edge_p): Modified.
8651 * cfgrtl.c (create_basic_block_structure, create_basic_block,
8652 flow_delete_block, compute_bb_for_insn, split_block,
8653 try_redirect_by_replacing_jump, redirect_edge_and_branch,
8654 force_nonfallthru_and_redirect, tidy_fallthru_edge,
8655 back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion,
8656 commit_edge_insertions, commit_edge_insertions_watch_calls,
8657 dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
8658 purge_all_dead_edges): Modified.
8659 * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies,
8660 try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate,
8661 get_last_value, reg_dead_at_p, distribute_notes, distribute_links):
8663 * conflict.c (conflict_graph_compute): Modified.
8664 * df.c (FOR_ALL_BBS): Removed.
8665 (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
8666 df_modified_p, df_analyse, df_refs_unlink, df_insn_modify,
8667 df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified.
8668 * df.h (DF_BB_INFO, DF_REF_BBNO): Modified.
8669 * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
8670 calc_idoms, idoms_to_doms, calculate_dominance_info): Modified.
8671 * final.c (compute_alignments, final_scan_insn): Modified.
8672 * flow.c (verify_local_live_at_start, update_life_info,
8673 update_life_info_in_dirty_blocks, free_basic_block_vars,
8674 delete_noop_moves, calculate_global_regs_live,
8675 initialize_uninitialized_subregs, allocate_bb_life_data,
8676 regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1,
8677 mark_used_reg, count_or_remove_death_notes): Modified.
8678 * function.c (thread_prologue_and_epilogue_insns): Modified.
8679 * gcse.c (struct null_pointer_info): Change typo of current_block
8681 (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets,
8682 oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info,
8683 compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd,
8684 alloc_avail_expr_mem, expr_killed_p, compute_ae_kill,
8685 expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr,
8686 classic_gcse, one_classic_gcse_pass, compute_transp, cprop,
8687 one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work,
8688 pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert,
8689 pre_delete, one_pre_gcse_pass, compute_transpout,
8690 invalidate_nonnull_info, delete_null_pointer_checks_1,
8691 free_code_hoist_mem, compute_code_hoist_vbeinout,
8692 hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
8693 compute_ld_motion_mems, store_ops_ok, find_moveable_store,
8694 compute_store_table, build_store_vectors, insert_insn_start_bb,
8695 insert_store, replace_store_insn, free_store_memory, store_motion):
8697 * global.c (global_alloc, global_conflicts, mark_elimination,
8698 build_insn_chain): Modified.
8699 * graph.c (print_rtl_graph_with_bb): Modified.
8700 * haifa-sched.c (sched_init): Modified.
8701 * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
8702 (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2,
8703 if_convert): Modified.
8704 * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin,
8705 compute_insert_delete, pre_edge_lcm, compute_available,
8706 compute_farthest, compute_nearerout, compute_rev_insert_delete,
8707 pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching):
8709 * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified.
8710 * loop.c (loop_dump_aux): Modified.
8711 * predict.c (combine_predictions_for_insn, estimate_probability,
8712 last_basic_block_p, process_note_prediction, process_note_predictions,
8713 note_prediction_to_br_prob, propagate_freq, counts_to_freqs,
8714 expensive_function_p, estimate_bb_frequencies,
8715 compute_function_frequency): Modified.
8716 * print-rtl.c (print_rtx): Modified.
8717 * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges,
8718 get_exec_counts, compute_branch_probabilities, compute_checksum,
8719 branch_prob, find_spanning_tree): Modified.
8720 * recog.c (split_all_insns, peephole2_optimize): Modified.
8721 * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge,
8722 convert_regs_1, convert_regs_2, convert_regs): Modified.
8723 * regclass.c (scan_one_insn, regclass): Modified.
8724 * regmove.c (mark_flags_life_zones, regmove_optimize,
8725 combine_stack_adjustments): Modified.
8726 * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified.
8727 * reload1.c (reload, reload_combine, copy_eh_notes): Modified.
8728 * reorg.c (dbr_schedule): Modified.
8729 * resource.c (find_basic_block, init_resource_info): Modified.
8730 * sbitmap.c (sbitmap_intersection_of_succs,
8731 sbitmap_intersection_of_preds, sbitmap_union_of_succs,
8732 sbitmap_union_of_preds): Modified.
8733 * sched-deps.c (init_dependency_caches): Modified.
8734 * sched-ebb.c (schedule_ebbs): Modified.
8735 * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions,
8736 find_rgns, compute_trg_info, init_regions, schedule_insns): Modified.
8737 * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified.
8738 * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges,
8739 ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns,
8740 ssa_const_prop): Modified.
8741 * ssa-dce.c (set_control_dependent_block_to_edge_map_,
8742 find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified.
8743 * ssa.c (remove_phi_alternative, find_evaluations,
8744 compute_dominance_frontiers_1, compute_iterated_dominance_frontiers,
8745 insert_phi_node, rename_block, convert_to_ssa, eliminate_phi,
8746 make_regs_equivalent_over_bad_edges,
8747 make_equivalent_phi_alternatives_equival,
8748 compute_conservative_reg_partition,
8749 coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition,
8750 rename_equivalent_regs, convert_from_ssa, for_each_successor_phi):
8753 2002-05-16 Mark Mitchell <mark@codesourcery.com>
8755 * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
8757 2002-05-16 Nick Clifton <nickc@cambridge.redhat.com>
8759 * config/arm/arm.c (arm_rtx_costs): Check for RTX being a
8760 SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
8761 (arm_adjust_cost): Check for RTX being a SYMBOL_REF before
8762 calling CONSTANT_POOL_ADDRESS_P.
8763 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code
8764 to decide whether to define __arm__ or __thumb.
8765 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a
8766 SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
8768 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
8770 * config/arc/arc.h (CPP_PREDEFINES): Remove.
8772 (TARGET_CPU_CPP_BUILTINS): New.
8774 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
8776 * cpphash.h (cpp_macro): Move here, and make expansion a union.
8777 * cppmacro.c (cpp_macro): Remove.
8778 (enter_macro_context, replace_args, warn_of_redefinition,
8779 _cpp_create_definition, cpp_macro_definition): Update.
8781 2002-05-16 Jason Merrill <jason@redhat.com>
8783 * config/mips/mips.c (mips_output_external): Don't do sdata
8784 optimization for a variable with DECL_COMDAT set.
8786 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
8788 * config/rs6000/altivec.h: Cleanups for tighter typechecking.
8789 Cleanups for accepting modifiers on pointers.
8790 Fix predicate typos.
8791 Allow long pointers as well as int pointers.
8793 2002-05-15 Richard Henderson <rth@redhat.com>
8795 * varasm.c (merge_weak): Remove special case for extern and common.
8797 2002-05-15 Matt Hiller <hiller@redhat.com>
8799 * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
8801 * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
8802 * testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
8803 * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
8804 * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
8805 * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
8806 * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.
8808 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
8810 * reload1.c (forget_old_reloads_1): Do not use subreg offset.
8812 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
8814 * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
8815 ("altivec_mfvscr"): Read from VSCR.
8817 Add vscr sets for the following insns: altivec_vctuxs,
8818 altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
8819 altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
8820 altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
8821 altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
8822 altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
8823 altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
8824 altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
8825 altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
8826 altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
8827 altivec_vsum2sws, altivec_vsumsws.
8829 * config/rs6000/rs6000.h: Add VSCR fixed register.
8830 (CALL_REALLY_USED_REGISTERS): Add vscr.
8831 (CALL_USED_REGISTERS): Same.
8832 (FIXED_REGISTERS): Same.
8833 (REG_ALLOC_ORDER): Same.
8834 (reg_class): Add VSCR_REGS.
8835 (REG_CLASS_NAMES): Same.
8836 (REG_CLASS_CONTENTS): Same.
8838 (REGISTER_NAMES): Add vscr.
8839 (DEBUG_REGISTER_NAMES): Same.
8840 (ADDITIONAL_REGISTER_NAMES): Same.
8841 (FIRST_PSEUDO_REGISTER): Increment.
8842 (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.
8844 2002-05-15 Jakub Jelinek <jakub@redhat.com>
8846 * fold-const.c (fold): Fix a typo.
8848 2002-05-15 Eric Botcazou <ebotcazou@multimania.com>
8850 * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
8851 comparison against the highest or lowest integer value before
8852 the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
8853 transformation and that of an unsigned comparison against 0
8856 2002-05-15 Richard Henderson <rth@redhat.com>
8858 * varasm.c (merge_weak): Error for any weakening after definition.
8859 Adjust weakening after use warning to catch more cases.
8860 (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
8861 * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
8863 Wed May 15 10:38:27 CEST 2002 Jan Hubicka <jh@suse.cz>
8865 * invoke.texi (-malign-double): Re-add lost warning.
8867 * i386-protos.h (x86_output_mi_thunk): Declare.
8868 * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
8869 * i386.c (x86_output_mi_thunk): ... here; handle 64bits.
8871 * dwarf2out.c (output_call_frame_info): Do not skip unwind info
8872 when flag_asynchronous_unwind_tables is set.
8874 * flags.h (flag_reorder_functions): Declare.
8875 * function.c (prepare_function_start): Initialize frequnecy.
8876 * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New.
8877 * Makefile.in (predict.o): Add dependency on target.h and params.h
8878 * defaults.h (HOT_TEXT_SECTION_NAME,
8879 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
8880 * predict.c (choose_function_section): New function.
8881 (estimate_bb_frequencies): Use it.
8882 * toplev.c (flag_reorder_functions): New global variable.
8883 (lang_independent_options): New.
8884 (parse_options_and_default_flags): Set.
8885 * varasm.c (assemble_start_function): Bypass functdion alignment
8886 for never executed functions.
8887 * invoke.texi (-freorder-blocks, -freorder-functions): Document.
8888 (param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
8889 * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
8892 Thu Jan 3 21:52:09 CET 2002 Jan Hubicka <jh@suse.cz>
8894 * predict.c: Inlude profile.h
8895 (MIN_COUNT): Rename to MIN_COUNT_FRACTION
8896 (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
8897 Use the information about maximal counter in the program.
8899 Thu Dec 20 22:14:00 CET 2001 Jan Hubicka <jh@suse.cz>
8901 * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
8902 probably_never_executed_bb_p): New functions.
8903 * cfgcleanup.c (outgoing_edges_match): Use them.
8904 * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
8905 (maybe_hot_bb_p, probably_cold_bb_p,
8906 probably_never_executed_bb_p): New functions.
8908 * function.h (function): Add new field function_frequency.
8909 * predict.c (compute_function_frequency): New function.
8910 (estimate_probability): Call it.
8912 2002-03-09 Jakub Jelinek <jakub@redhat.com>
8914 PR optimization/5172, optimization/5200
8915 * gcse.c (gcse_main): Disable store_motion.
8917 2002-05-14 Zack Weinberg <zack@codesourcery.com>
8919 * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
8920 (c_common_nodes_and_builtins): Use it.
8921 (builtin_define_with_value): New function.
8922 (cb_register_builtins): Define __SIZE_TYPE__,
8923 __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
8924 using builtin_define_with_value. Use consistent notation when
8925 defining __GXX_WEAK__.
8926 (WCHAR_TYPE_SIZE): Don't redefine.
8927 (combine_strings): Don't use WCHAR_TYPE_SIZE.
8929 * cppdefault.h: Don't provide defaults for SIZE_TYPE,
8930 PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
8931 * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
8932 * tradcpp.c (initialize_builtins): Likewise.
8933 * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.
8935 * c-lex.h (builtin_define_with_value): Prototype.
8936 * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
8937 NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
8938 * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.
8940 * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
8941 config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
8942 config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
8943 config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
8944 config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
8945 config/sparc/linux64.h, config/sparc/netbsd-elf.h,
8946 config/sparc/sol2-bi.h, config/sparc/sparc.h:
8947 Do not define NO_BUILTIN_SIZE_TYPE etc. Remove all references
8948 to __SIZE_TYPE__ etc from all spec strings. When this makes
8949 extra specs empty, delete them.
8951 2002-05-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
8953 * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
8954 for PA8000 or generating dwarf2 call frame information.
8955 (output_call): Remove DO_FRAME_NOTES check from return pointer
8957 (following_call): Return 0 when scheduling for PA8000 or generating
8958 dwarf2 call frame information. Revise comment.
8960 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
8963 * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
8964 and __IEEE_FP_INEXACT as appropriate.
8965 (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
8966 (CPP_SPEC): Remove ieee defines.
8967 * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu.
8969 2002-05-14 Richard Henderson <rth@redhat.com>
8971 * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
8972 (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.
8974 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
8976 * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
8978 (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
8979 CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
8980 CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
8981 CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
8982 (EXTRA_SPECS): Update.
8983 * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
8984 arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
8985 arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
8986 define TARGET_OS_CPP_BUILTINS if necessary.
8988 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
8990 * gcc.c (cpp_options): Must pass -m* and -f* options
8991 to the front end even when only preprocessing.
8992 (cc1_options): Remove redundant -lang-c.
8993 * tradcpp.c (main): Ignore -m options.
8995 * lang-specs.h: Similarly.
8997 2002-05-14 Vladimir Makarov <vmakarov@redhat.com>
8999 * genautomata.c (transform_3): Add code for transformation
9000 `(A,B,...)+C -> A+C,B,...'.
9002 Tue May 14 12:48:22 CEST 2002 Jan Hubicka <jh@suse.cz>
9004 * final.c (end_final): Do not output profile_arcs constructor, when
9005 no functions are instrumented.
9007 Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz>
9009 * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
9011 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9013 * doc/install.texi: Remove special markup originally required for
9014 HTML generation with texi2html.
9016 2002-05-14 Andreas Schwab <schwab@suse.de>
9018 * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
9020 (UNIQUE_SECTION): Define to get small data correctly.
9022 * varasm.c (resolve_unique_section): Add third parameter
9023 flag_function_or_data_sections and use it instead of
9024 flag_function_sections.
9025 (assemble_start_function): Pass flag_function_sections.
9026 (asm_emit_uninitialised): Pass flag_data_sections.
9027 (assemble_variable): Likewise.
9029 2002-05-14 Richard Henderson <rth@redhat.com>
9031 * config/i386/i386.md: Use define_constants for unspec numbers.
9032 * config/i386/i386.c: Likewise.
9034 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
9036 * doc/contrib.texi: Update my entry.
9038 2002-05-13 Mark Mitchell <mark@codesourcery.com>
9040 * fixinc/inclhack.def (winidss_valist): Limit applicability.
9041 * fixinc/fixincl.x: Regenerated.
9042 * fixinc/tests/base/math.h: Update.
9043 * fixinc/tests/base/testing.h: Likewise.
9045 2002-05-13 Zack Weinberg <zack@codesourcery.com>
9047 * genattr.c (gen_attr): Don't emit a comma after the last
9050 2002-05-13 Richard Henderson <rth@redhat.com>
9052 * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
9054 * recog.c (peephole2_optimize): Likewise.
9056 2002-05-13 Andris Pavenis <pavenis@lanet.lv>
9058 * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
9061 2002-05-13 Jeffrey A Law (law@redhat.com)
9063 * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
9064 Update prototype and callers.
9065 (propagate_one_insn): Stack pointer adjustments kill MEMs on
9066 the mem_set_list which reference the stack pointer, as do
9067 calls to constant functions as they may clobber outgoing
9070 * i386.c (ia32_multipass_dfa_lookahead): Prototype.
9072 * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
9073 (ia32_multipass_dfa_lookahead): New function.
9075 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
9077 * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
9078 (translate_options): Remove 'V'.
9079 (process_command): Similarly.
9081 * invoke.texi: Remove documentation of 'V'.
9083 2002-05-13 Ulrich Weigand <uweigand@de.ibm.com>
9085 * config/s390/linux.h: Revert 2002-04-22 changes.
9087 2002-05-13 Scott Marks <SMarks@mobile-mind.com>
9089 * config/fr30/fr30.md: Only allow splits of immediate loads
9090 if the destination is a register.
9092 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
9094 * Makefile.in (c-common.o, cppinit.o): Update.
9095 * c-common.c: Include except.h.
9096 (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
9097 Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
9098 * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
9099 * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
9100 CPP_PREDEFINES): Handle here.
9102 * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
9103 alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
9104 alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
9105 TARGET_OS_CPP_BUILTINS.
9106 * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
9107 (CPP_SPEC, EXTRA_SPECS): Update.
9108 (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
9109 CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
9110 CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
9111 CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
9112 CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
9114 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
9115 (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.
9117 2002-05-12 Zack Weinberg <zack@codesourcery.com>
9119 * emit-rtl.c (global_rtl): Update comment.
9120 (const_double_htab, const_double_htab_hash,
9121 const_double_htab_hash, lookup_const_double): New.
9122 (const_int_htab_hash, const_int_htab_eq): Remove const
9123 qualifiers, which cause tons of warnings with RTL checking on.
9124 (gen_rtx_CONST_DOUBLE): Deleted.
9125 (const_double_from_real_value): New function - bears some
9126 resemblance to the former immed_real_const_1.
9127 (immed_double_const): Moved here from varasm.c and
9129 (gen_rtx_REG): Make REGNO unsigned to squelch warnings.
9130 (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
9131 (gen_rtx): Use immed_double_const.
9132 (init_emit_once): Initialize the const_double_htab. Use
9133 REAL_VALUE_FROM_INT where possible. Can now use
9134 CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
9135 * varasm.c (struct varasm_status): Remove x_const_double_chain.
9136 (const_double_chain, immed_real_const, clear_const_double_mem): Delete.
9137 (immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
9138 (init_varasm_status, mark_varasm_status): Don't touch
9139 x_const_double_chain.
9141 * output.h: Delete prototype for clear_const_double_mem.
9142 * real.h: Make REAL_VALUE_TYPE a macro again. Remove leading
9143 '0' slot from all CONST_DOUBLE_FORMAT definitions. Prototype
9144 const_double_from_real_value, not immed_real_const_1, and use
9145 it to define CONST_DOUBLE_FROM_REAL_VALUE. Define new macro
9147 * rtl.h (CONST_DOUBLE_CHAIN): Kill.
9148 (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
9149 (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
9150 (gen_rtx_REG): Second arg is unsigned.
9152 * gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
9153 (excluded_rtx): New, return true for CONST_DOUBLE.
9154 (genmacro): Write nothing for excluded codes.
9155 * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
9156 * expr.c (expand_expr): Likewise.
9157 * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
9159 * toplev.c (rest_of_compilation): Don't call
9160 clear_const_double_mem.
9162 * config/rs6000/rs6000.c (rs6000_float_const): Delete.
9163 (rs6000_hash_constant): Remove CONST_DOUBLE special case.
9164 (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
9165 * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
9166 * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
9167 * config/dsp16xx/dsp16xx.md, config/mips/mips.md,
9168 config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
9169 * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
9171 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9173 * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
9175 2002-05-12 Tom Tromey <tromey@redhat.com>
9177 * tree.h (copy_node): Don't mention TREE_PERMANENT.
9179 2002-05-12 Zack Weinberg <zack@codesourcery.com>
9181 * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
9182 (scan_comma_elt): New function. Accepts whitespace in comma lists.
9183 * gensupport.h: Prototype new routines.
9184 * genattr.c (gen_attr): Use scan_comma_elt. Avoid unnecessary
9186 * genattrtab.c (n_comma_elts): Moved to gensupport.c.
9187 (next_comma_elt): Use scan_comma_elt.
9189 * config/i386/i386.md: Use new attribute notation to break up
9190 long lines in define_attr forms.
9192 2002-05-12 Richard Henderson <rth@redhat.com>
9194 * expr.c (compress_float_constant): New.
9195 (emit_move_insn): Use it.
9196 (float_extend_from_mem): New.
9197 (init_expr_once): Initialize it.
9198 * real.c (exact_real_truncate): New.
9200 * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
9201 dropped into memory; penalize for size.
9202 (RTX_COSTS): FLOAT_EXTEND is free.
9203 * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
9204 extenddfxf2, extenddftf2): Accept constants and drop them to memory.
9206 2002-05-12 Richard Henderson <rth@redhat.com>
9208 * profile.h (profile_info): Add missing extern to declaration.
9209 * profile.c (profile_info): Define it.
9211 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
9213 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
9214 used for DImode and TImode.
9216 2002-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
9218 * cpplex.c (_cpp_lex_direct): When in a directive at EOF
9221 2002-05-11 Zack Weinberg <zack@codesourcery.com>
9223 * config/rs6000/rs6000.c (rs6000_default_long_calls,
9224 rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
9225 (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
9226 (rs6000_override_options): Handle -m(no-)longcall.
9227 (init_cumulative_args, output_mi_thunk): Check for both
9228 longcall and shortcall attributes on the function.
9229 (rs6000_attribute_table): Add "shortcall".
9230 (rs6000_handle_longcall_attribute): Update comment.
9231 (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
9232 altivec_expand_ternop_builtin): Add default clauses to switches
9233 to silence warnings.
9235 * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
9236 rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS.
9237 (TARGET_OPTIONS): Add longcall and no-longcall.
9239 * config/rs6000/rs6000.md (call_nonlocal_sysv,
9240 call_value_nonlocal_sysv): Split by alternatives. One pair
9241 accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
9242 the call cookie. The other pair accepts only LR/CTR and has
9245 * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
9246 Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
9248 * config/rs6000/rs6000-c.c: New file.
9249 * config/rs6000/t-rs6000-c-rule: New file.
9250 * config/rs6000/rs6000-protos.c: Add multiple-include guard.
9251 Prototype rs6000_pragma_longcall.
9253 * doc/extend.texi: Document shortcall attribute.
9254 * doc/invoke.texi: Document -mlongcall, -mno-longcall.
9256 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
9258 * reorg.c (dbr_schedule): Remove unnecessary test.
9260 Sat May 11 14:34:35 CEST 2002 Jan Hubicka <jh@suse.cz>
9262 * i386.md (testsi to testqi spliters): New.
9264 2002-01-14 Josef Zlomek <zlomek@matfyz.cz>
9266 cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
9268 Wed Jan 9 2002 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
9270 * basic-block.h: New flag EDGE_CAN_FALLTHRU
9271 * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
9272 that can be made fallthru.
9274 Mon Nov 12 16:25:53 CET 2001 Jan Hubicka <jh@suse.cz>
9276 * cfglayout.c (cleanup_unconditional_jumps): New static function.
9277 (cfg_layout_initialize): Use it.
9279 2002-05-11 Marek Michalkiewicz <marekm@amelek.gda.pl>
9281 * config/avr/avr.c (avr_mcu_types): Update supported devices.
9282 * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
9283 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
9285 2002-05-11 Kazu Hirata <kazu@cs.umass.edu>
9287 * dbxout.c: Fix formatting.
9288 * dependence.c: Likewise.
9290 * diagnostic.c: Likewise.
9291 * doloop.c: Likewise.
9292 * dominance.c: Likewise.
9293 * doschk.c: Likewise.
9294 * dwarf2asm.c: Likewise.
9295 * dwarf2out.c: Likewise.
9296 * dwarfout.c: Likewise.
9298 2002-05-10 Richard Henderson <rth@redhat.com>
9300 * final.c (end_final): Tidy whitespace. Don't honor flag_pack_struct.
9301 Convert integers constants as needed. Replace "nwords" field with
9303 (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
9304 * function.h: Fix typo in comment.
9305 * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
9307 2002-05-10 Roger Sayle <roger@eyesopen.com>
9309 * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
9310 into the equivalent (signed char)c > 0.
9312 2002-05-10 Janis Johnson <janis187@us.ibm.com>
9314 * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
9315 (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
9316 (struct prefetch_info): Fix spelling of member bytes_accessed.
9317 (emit_prefetch_instructions): Make dump messages more regular;
9318 restructure code to add more dump messages; use new macros for
9319 heuristics. (There are no code generation changes in any of this).
9321 2002-05-10 David S. Miller <davem@redhat.com>
9323 * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
9324 (struct rtx_def): Update unchanging flag comment.
9325 * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
9326 * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
9327 to be handled to INSN too.
9328 (dbr_schedule): Likewise.
9329 * resource.c (next_insn_no_annul): Likewise.
9331 * cse.c (rtx_cost): Remove multiplication by power of 2 special
9334 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9336 * doc/install.texi (Specific, *-*-solaris2*): Update passus on
9337 setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
9338 (possibly) work around broken /bin/sh.
9340 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9342 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
9343 . as N64/N32 libgcc_s.so subdirs.
9345 2002-05-10 David S. Miller <davem@redhat.com>
9347 * config/sparc/sparc.md: Use define_constants for unspec numbers.
9349 * rtl.h (struct rtx_def): Document unchanging and in_struct flags
9351 (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
9353 (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
9354 * doc/rtl.texi: Document these macros more accurately.
9355 * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
9356 JUMP_INSNs and CALL_INSNs.
9357 * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
9358 or INSN_FROM_TARGET_P if the code is appropriate.
9360 2002-05-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
9362 * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
9363 before using SYMBOL_REF_FLAG (addr).
9365 * config/avr/avr-protos.h (avr_io_address_p): Declare.
9366 * config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
9367 Make non-static. Update all callers.
9368 * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
9369 New insns to clear/set/test a single bit in I/O address space.
9371 2002-05-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9373 * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
9375 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
9377 * Makefile.in: Update.
9378 * c-common.c (flag_iso, flag_undef, cb_register_builtins,
9379 builtin_define_std): New.
9380 (c_common_init): Register CPP builtins callback.
9381 * c-common.h (flag_iso, flag_undef): New.
9382 * c-decl.c (c_decode_option): Set flag_iso and flag_undef.
9383 * c-lex.c: Don't include target.h.
9384 (cb_register_builtins): Move to c-common.c.
9385 (init_c_lex): Don't register hook here.
9386 * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
9387 (cpp_define, cpp_assert): Remove.
9388 * gcc.c (cc1_options): Pass -undef to front end.
9389 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
9390 (TARGET_INITIALIZER): Update.
9391 * target.h (struct cpp_reader): Don't predeclare.
9392 (struct gcc_target): Remove cpp builtin hook.
9393 * tree.c (default_register_cpp_builtins): Remove.
9397 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
9399 * cppexp.c (_cpp_expand_op_stack): Set op_limit.
9401 2002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9403 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
9404 (SHLIB_LINK, SHLIB_INSTALL): Adjust.
9406 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9408 * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
9409 * config/sparc/libgcc-sparc-glibc.ver: New file.
9410 * config/cris/t-linux (SHLIB_MAPFILES): Remove.
9411 * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
9413 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9416 * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
9417 * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
9418 shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
9420 * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
9421 * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
9422 * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
9423 * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
9425 2002-05-09 Richard Henderson <rth@redhat.com>
9427 * config/ia64/ia64.md: Use define_constants for unspec numbers.
9428 * config/ia64/ia64.c: Likewise.
9430 2002-05-09 Richard Sandiford <rsandifo@redhat.com>
9432 * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
9433 (save_restore_insns): Likewise.
9434 (mips_expand_prologue, mips_expand_epilogue): Update callers.
9435 (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
9437 Thu May 9 11:50:09 2002 Jeffrey A Law (law@redhat.com)
9439 * athlon.md, k6.md, pentium.md, ppro.md): New files.
9440 * i386.md: Move scheduling information into new files.
9442 * i386.md (type attribute): Add "rotate" for rotate insns.
9443 (rotate insns): Set type to "rotate".
9444 (various attributes and function units): Treat rotate like shift.
9445 (pent_pair attribute): Only rotates by one bit position are
9447 (sbb insns): Explicitly set pent_pair attribute on a couple
9448 that were missing it.
9450 Thu May 9 18:29:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
9452 * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
9453 make sure that buffer starts on odd word address.
9454 (sh_va_arg): Skip odd fp registers when reading a double precision
9457 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
9459 * tree.h (preserve_data, object_permanent_p, type_precision):
9462 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
9464 * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
9465 * cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
9467 * cpp.texi: Update for removal of obsolete features.
9469 Thu May 9 07:46:18 2002 Jan Hubicka <jh@suse.cz>
9470 Jeffrey A Law (law@redhat.com)
9472 * i386.c (ia32_use_dfa_pipeline_interface): New function. Use
9473 the DFA interface for Pentium processors.
9474 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
9475 (attr_pent_pair, ix86_pent_find_pair): Remove.
9476 (ix86_sched_reorder_pentium): Remove.
9477 (ix86_sched_reorder): Remove reordering for Pentium.
9478 * i386.md (Pentium scheduling): Rewrite using DFA description.
9480 Thu May 9 14:55:39 CEST 2002 Jan Hubicka <jh@suse.cz>
9482 * cfganal.c (can_fallthru): Fix fast path.
9483 * cfgrtl.c (verify_flow_info): Avoid crash on conditionals
9484 with edges to the next block.
9486 Thu May 9 14:52:45 CEST 2002 Jan Hubicka <jh@suse.cz>
9487 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
9489 * final.c (end_final): Use C trees to output data structures for profiling.
9491 * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
9492 (profile.o): New dependency profile.h
9493 (final.o): New dependency profile.h
9494 * profile.h: New file. New global structure profile_info.
9495 * final.h (count_edges_instrumented_now): Declare.
9496 (current_function_cfg_checksum): Declare.
9497 (function_list): New structure.
9498 (functions_head, functions_tail): New static variables.
9499 (end_final): Emits more data, removed some -ax stuff.
9500 (final): Stores function names and chcksums.
9501 * gcov-io.h (__write_gcov_string): New function.
9502 (__read_gcov_string): New function.
9503 * gcov.c (read_profile): New function.
9504 (create_program_flow_graph): Uses read_profile instead of reading
9506 (read_files): Removed da_file checking, it's done by read_profile now.
9507 * libgcc2.c (bb_function_info): New structure.
9508 (bb): New field in structure, removed some -ax stuff.
9509 (__bb_exit_func): Changed structure of da_file.
9510 * profile.c (count_edges_instrumented_now): New global variable.
9511 (current_function_cfg_checksum): New global variable.
9512 (max_counter_in_program): New global variable.
9513 (get_exec_counts): New function.
9514 (compute_checksum): New function.
9515 (instrument_edges): Sets count_edges_instrumented_now.
9516 (compute_branch_probabilities): Uses get_exec_counts instead of
9518 (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
9519 (init_branch_prob): Removed da_file checking, done in get_exec_counts
9521 (end_branch_prob): Removed da_file checking, done in get_exec_counts
9523 * gcov.texi: Updated information about gcov file format.
9525 2002-05-09 Kazu Hirata <kazu@cs.umass.edu>
9527 * sbitmap.c: Fix formatting.
9529 * scan-decls.c: Likewise.
9530 * sched-deps.c: Likewise.
9531 * sched-ebb.c: Likewise.
9532 * sched-rgn.c: Likewise.
9533 * sched-vis.c: Likewise.
9534 * sdbout.c: Likewise.
9535 * sibcall.c: Likewise.
9536 * simplify-rtx.c: Likewise.
9538 * ssa-ccp.c: Likewise.
9539 * ssa-dce.c: Likewise.
9541 * stor-layout.c: Likewise.
9542 * stringpool.c: Likewise.
9544 2002-05-09 David S. Miller <davem@redhat.com>
9546 * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
9548 2002-05-07 David S. Miller <davem@redhat.com>
9550 * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
9551 * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
9552 * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
9553 library implementation clobbers the output before the inputs
9554 are fully consumed, use stack temporary for the output.
9556 2002-05-09 Jason Thorpe <thorpej@wasabisystems.com>
9558 * config/netbsd.h (CPP_SPEC): Remove.
9559 * config/i386/netbsd-elf.h (CPP_SPEC): Define.
9560 * config/i386/netbsd.h (CPP_SPEC): Define.
9561 * config/ns32k/netbsd.h (CPP_SPEC): Define.
9562 * config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
9563 * config/sparc/netbsd.h (CPP_SPEC): Define.
9564 * config/vax/netbsd.h (CPP_SPEC): Define.
9566 2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
9568 * read-rtl.c: Fix formatting.
9570 * recog.c: Likewise.
9571 * regclass.c: Likewise.
9572 * regmove.c: Likewise.
9573 * reg-stack.c: Likewise.
9574 * reload1.c: Likewise.
9575 * reload.c: Likewise.
9576 * resource.c: Likewise.
9577 * rtlanal.c: Likewise.
9579 * rtl-error.c: Likewise.
9581 2002-05-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
9583 * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
9584 * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
9586 2002-05-08 Bernd Schmidt <bernds@redhat.com>
9588 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
9589 use __SSE2__ macro instead.
9590 * config/i386/xmmintrin.h: Likewise.
9592 2002-05-08 Janis Johnson <janis187@us.ibm.com>
9594 * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
9595 and use it in all invocations of these macros. Clean up comments.
9596 * rtl.c (rtl_check_failed_flag): Add an argument for the name
9597 of the flag access macro whose check failed.
9598 * doc/rtl.texi (Flags): Document additional flag uses.
9600 2002-05-08 Robert Spier <rspier@pobox.com>
9601 Neil Booth <neil@daikokuya.demon.co.uk>
9603 PR preprocessor/6521
9604 * cppfiles.c (handle_missing_header): Don't do anything
9605 different for <> includes.
9607 * cppopts.texi: Update documentation for -MG.
9609 2002-05-08 Neil Booth <neil@daikokuya.demon.co.uk>
9611 * cpplex.c (cpp_interpret_charconst): Truncate as well as
9614 * cpp.texi: Clarify multichar charconst valuation.
9616 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9618 * doc/invoke.texi: Document -mwindiss option.
9620 2002-05-08 Jason Merrill <jason@redhat.com>
9622 * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
9624 * dwarf2out.c (gen_type_die): Abort on broken recursion.
9627 * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
9630 2002-05-08 Nick Clifton <nickc@cambridge.redhat.com>
9632 * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/
9633 little-endian multilibs to override arm/thumb multilibs.
9634 Do not build hardware floating point multilibs, nor apcs-26
9635 multilibs for the Thumb.
9637 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9640 * varasm.c (mark_weak): New function.
9641 (merge_weak): Use it. Do not call declare_weak.
9642 (declare_weak): Use merge_weak.
9644 Wed May 8 13:12:11 CEST 2002 Jan Hubicka <jh@suse.cz>
9646 * cse.c (dead_libcall_p): Update counts.
9647 (delete_trivially_dead_insns): Update call of dead_libcall_p.
9649 Wed May 8 11:08:50 CEST 2002 Jan Hubicka <jh@suse.cz>
9651 * cfglayout.c (function_tail_eff_head): Rename to ...
9652 (function_footer): ... this one.
9653 (unlink_insn_chain): New functions.
9654 (label_for_bb): Only call block_label and emit debug message.
9655 (record_effective_endpoints): Actually unlink the headers and footers.
9656 (fixup_reorder_cahin): Re-insert the unlinked sequences.
9657 (cfg_layout_duplicate_bb): Use duplicate_insn_chain.
9658 * cfglayout.h (struct reorder_block_def): New fields footer/header;
9659 remove eff_head/eff_end.
9660 * rtl.h (set_first_insn): Declare.
9661 * emit-rtl.c (set_first_insn): New function.
9663 * cfglayout.c (fixup_reorder_chain): Dump duplicated
9664 (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
9665 cfg_layout_duplicate_bb): New global function.
9666 (duplicate_insn_chain): New static function.
9667 * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
9668 cfg_layout_duplicate_bb): Declare.
9669 (struct reorder_block_def): Add "original" field.
9670 * emit-rtl.c (emit_copy_of_insn_after): New function.
9671 * rtl.h (emit_copy_of_insn_after): Declare.
9673 * cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
9674 (fixup_reorder_chain): properly handle edges to exit block.
9676 Wed May 8 11:10:31 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
9677 Jan Hubicka <jh@suse.cz>
9679 * basic-block.h (note_prediction_to_br_prob): declare.
9680 * c-semantics.c: Inlucde predit.h
9681 (expand_stmt): predict GOTO_STMT as not taken.
9682 * cfgcleanup.c: (delete_unreachable_blocks): Make global.
9683 (cleanup_cfg): Do not free tail_recursion_list.
9684 * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
9685 (flow_delete_block): Kill predictions past end of basic block.
9686 * output.h (delete_unreachable_blocks): Declare.
9687 * predict.c (predicted_by_p, process_note_predictions,
9688 process_note_prediction, last_block_p): New function.
9689 (estimate_probability): Bypass loop on PRED_CONTINUE;
9690 do not handle noreturn heuristics; kill PRED_RETURN; add
9692 * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
9693 PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
9694 * predict.h (IS_TAKEN): New constant.
9695 * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
9696 * rtl.c (NOTE_INSN_PREDICTION): New.
9697 * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
9699 (insn_note): add NOTE_INSN_PREDICTION.
9700 * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
9701 CFG; free tail_recursion_label_list.
9702 * stmt.c: Include predict.h;
9703 (return_prediction): New.
9704 (expand_value_return): Use it.
9705 * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
9707 2002-05-08 Richard Sandiford <rsandifo@redhat.com>
9709 * config/mips/mips.md: Name the unspecs with define_constant.
9710 (*HILO_delay): Rename to 'hilo_delay' (no star).
9711 (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
9712 (reload_outdi, reload_outsi): Likewise.
9714 2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
9716 * toplev.c: Fix formatting.
9718 2002-05-07 Janis Johnson <janis187@us.ibm.com>
9720 * config.in (ENABLE_RTL_FLAG_CHECKING): New.
9721 * configure.in (ac_rtlflag_checking): New.
9722 * doc/install.texi (--enable-checking): Document RTL flag checking.
9724 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
9726 * c-common.c (c_common_init): Set options->unsigned_wchar.
9727 * cppinit.c (cpp_create_reader): Default unsigned_wchar,
9728 group target dependencies.
9729 (init_builtins, cpp_handle_option): Update.
9730 * cpplex.c (cpp_interpret_charconst): Update.
9731 * cpplib.h (struct cpp_options): Add unsigned_wchar, rename
9732 signed_char to unsigned_char, group target dependencies.
9733 * defaults.h (WCHAR_UNSIGNED): Remove.
9734 * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
9736 * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
9737 i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
9738 i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
9739 i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
9740 sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
9742 * tm.texi: Remove MAX_CHAR_TYPE_SIZE.
9744 2002-05-07 Mark Mitchell <mark@codesourcery.com>
9746 * fixinc/inclhack.def (windiss_math1): New fix.
9747 (windiss_math2): Likewise.
9748 (windiss_valist): Likewise.
9749 * fixinc/fixincl.x: Regenerated.
9751 2002-05-07 Andreas Jaeger <aj@suse.de>
9753 * genautomata.c (output_internal_min_issue_delay_func): Add
9754 ATTRIBUTE_UNUSED to avoid warning with empty dfa.
9755 (output_internal_trans_func): Likewise.
9757 Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com)
9759 * pa.c (hppa_profile_hook): Use force_reg to get the address
9760 of the profile hook into an appropriate pseudo register.
9762 2002-05-07 Mark Mitchell <mark@codesourcery.com>
9764 * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
9765 (LINK_START_SPEC): Handle it.
9766 (LINK_OS_SPEC): Likewise.
9767 (CPP_SPEC): Likewise.
9768 (STARTFILE_SPEC): Likewise.
9769 (LIB_SPEC): Likewise.
9770 (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on
9772 (CRTSAVRES_DEFAULT_SPEC): New macro.
9773 (LIB_WINDISS_SPEC): New macro.
9774 (CPP_OS_WINDISS_SPEC): Likewise.
9775 (STARTFILE_WINDISS_SPEC): Likewise.
9776 (ENDFILE_WINDISS_SPEC): Likewise.
9777 (LINK_START_WINDISS_SPEC): Likewise.
9778 (LINK_OS_WINDISS_SPEC): Likewise.
9779 * config/rs6000/windiss.h: New file.
9781 2002-05-07 Aldy Hernandez <aldyh@redhat.com>
9783 * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
9785 2002-05-06 David S. Miller <davem@redhat.com>
9787 * config/sparc/sparc.md (shift insns): Do not mask off
9788 second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
9791 2002-05-06 Richard Henderson <rth@redhat.com>
9794 * expr.c (highest_pow2_factor_for_type): New.
9795 (expand_assignment): Use it.
9797 2002-05-06 Aldy Hernandez <aldyh@redhat.com>
9799 * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
9801 ("altivec_mfvscr"): Same.
9803 2002-05-06 Janis Johnson <janis187@us.ibm.com>
9805 * rtl.h (struct rtx_def): Update comments.
9806 (RTL_FLAG_CHECK[12345678]): New. (rtl_check_failed_flag): Declare.
9807 (RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use
9808 RTL_FLAG_CHECK macros with list of expected RTL codes.
9809 * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
9810 (rtl_check_failed_flag): New.
9811 * reload1.c (reload): Use REG macro before changing rtx to MEM.
9812 (reload_cse_noop_set_p): Check rtx code before using access macro.
9813 * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
9814 before using access macro.
9816 2002-05-06 Janis Johnson <janis187@us.ibm.com>
9818 * doc/rtl.texi (Flags): Update to reflect current usage.
9820 2002-05-06 Roger Sayle <roger@eyesopen.com>
9823 * fold-const.c (sign_bit_p): New function.
9824 (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
9825 (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
9826 Reapply fold when converting (A & C) == C into (A & C) != 0.
9827 (fold_binary_op_with_conditional_arg): Fix typo in comment.
9829 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
9831 * c-common.c (warn_multichar): New.
9832 (c_common_init): Set CPP's warn_multichar.
9833 * c-common.h (warn_multichar): New.
9834 * c-decl.c (warn_multichar): Remove.
9835 * c-lex.c (lex_charconst): Update.
9836 * c-tree.h (warn_multichar): Remove.
9837 * cppexp.c (eval_token): Sign-extend charconst value.
9838 * cppinit.c (cpp_create_reader): Set warn_multichar.
9839 * cpplex.c (cpp_interpret_charconst): Don't sign-extend
9840 each character. Update prototype. Sign-extend the result.
9841 * cpplib.h: Fix conditions.
9842 (struct cpp_options): Add new warning flag.
9843 (cpp_interpret_charconst): Update prototype.
9845 * cpp.texi: Update documentation.
9847 2002-05-06 Vladimir Makarov <vmakarov@redhat.com>
9849 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
9850 Fix typo in usage of allof instead of unit.
9852 2002-05-06 Richard Henderson <rth@redhat.com>
9854 * recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
9855 and any jump or call for IN.
9857 2002-05-06 Bernd Schmidt <bernds@redhat.com>
9859 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
9861 * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
9863 2002-05-06 Roger Sayle <roger@eyesopen.com>
9865 * fold-const.c (lshift-double): Cast the high word to an unsigned
9866 HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
9867 (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
9868 avoid compiler warning. (fold): Remove redundant code from
9869 BIT_AND_EXPR as integer operands are canonicalized to be arg1.
9871 2002-05-06 Jeff Law <law@redhat.com>
9873 * pa-protos.h (hppa_fpstore_bypass_p): Declare.
9874 * pa.c (pa_adjust_cost): Remove all true dependency cost
9875 adjustments. Also remove support for non-DFA scheduling.
9876 * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
9877 to adjust true dependency costs. Update various comments.
9878 (7100lc, 7200, 7300 scheduling): Simplify by combining the
9879 FP ALU & MPY units into a single unit.
9881 2002-05-06 Catherine Moore <clm@redhat.com>
9883 * config/v850/v850.c (compute_register_save_size): Make sure
9884 to count all of the registers that will be saved.
9886 Mon May 6 18:03:11 CEST 2002 Jan Hubicka <jh@suse.cz>
9888 * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
9890 2002-05-06 David S. Miller <davem@redhat.com>
9892 * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
9893 allow result to overlap input operands in memory.
9895 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
9898 * cpp.texi: Update multichar charconst docs.
9900 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
9902 * cpplex.c (cpp_interpret_charconst): Sign-extend each
9903 character. Don't ignore excess characters. Treat
9904 multicharacter character constants as signed.
9905 (cpp_parse_escape): Clarify diagnostic.
9907 2002-05-05 Jakub Jelinek <jakub@redhat.com>
9909 * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
9910 use add instead of shift.
9911 (ashldi3_sp64): Likewise.
9912 (ashlsi3_const1, ashldi3_const1): Remove.
9913 * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
9914 * config/sparc/sparc.c (const1_operand): New.
9916 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
9918 * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
9920 2002-05-05 Jakub Jelinek <jakub@redhat.com>
9923 * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
9925 2002-05-05 Richard Henderson <rth@redhat.com>
9927 * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
9928 memory latency adjustments.
9929 (alpha_variable_issue): Remove.
9930 (alpha_use_dfa_pipeline_interface): New.
9931 (alpha_multipass_dfa_lookahead): New.
9932 * config/alpha/alpha.md: Remove define_function_unit scheduling;
9933 include new dfa scheduling.
9934 (attr type): Add none.
9936 * config/alpha/ev4.md: New.
9937 * config/alpha/ev5.md: New.
9938 * config/alpha/ev6.md: New.
9940 2002-05-05 David S. Miller <davem@redhat.com>
9942 * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
9944 2002-05-05 Kazu Hirata <kazu@cs.umass.edu>
9946 * cse.c: Fix formatting.
9947 * emit-rtl.c: Likewise.
9949 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
9951 * genautomata.c (initiate_states): Add additional guard to
9952 initialize `units_array'.
9954 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
9956 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
9957 process_unit_to_form_the_same_automaton_unit_lists,
9958 form_the_same_automaton_unit_lists
9959 check_unit_distributions_to_automata): New prototypes and
9961 (check_automata): Rename it into `check_automata_insn_issues'.
9962 (unit_decl): New fields `the_same_automaton_unit' and
9963 `the_same_automaton_message_reported_p'.
9964 (unit_decl_t): New typedef.
9965 (the_same_automaton_lists): New gloval variable.
9966 (unit_regexp, unit_set_el, units_array, units_cmp,
9967 output_get_cpu_unit_code_func): Use the typedef.
9968 (evaluate_max_reserv_cycles): Increment
9969 `description->max_insn_reserv_cycles'.
9970 (initiate_states): Don't increment `max_cycles_num'.
9971 (transform_insn_regexps): Move code around transformation of
9972 regexps from `generate'.
9973 (generate): Remove call of `transform_insn_regexps'.
9974 (expand_automata): Call `transform_insn_regexps' and
9975 `check_unit_distributions_to_automata'. Check errors before
9978 * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
9979 automaton `ultrasparc3_1'.
9981 2002-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
9983 * c-common.c (c_common_init): Set up CPP arithmetic.
9984 * cppinit.c (cpp_create_reader): Default CPP arithmetic to
9985 something reasonable for the host.
9986 (sanity_checks): Add checks.
9987 (cpp_read_main_file): Call sanity_checks() from here...
9988 (cpp_post_options): ... not here.
9989 * cpplex.c (cpp_interpret_charconst): Get max_chars right.
9990 * cpplib.h (struct cpp_options): New member int_precision.
9992 2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9994 * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
9996 2002-05-04 David S. Miller <davem@redhat.com>
9998 * config/sparc/linux.h, config/sparc/linux64.h
9999 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
10001 * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
10003 * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
10005 * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
10008 2002-05-05 Tim Josling <tej@melbpc.org.au>
10010 * treelang; New directory for new sample language treelang.
10012 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
10014 * Makefile.in (c-lex.o): Update.
10015 * c-lex.c: Include target.h.
10016 (cb_register_builtins): New.
10017 (init_c_lex): Set builtins callback.
10018 * c-lex.h (cpp_define, cpp_assert): New prototypes.
10019 * cppinit.c (init_builtins): Use callback, including for
10021 * cpplib.h (struct cpp_callbacks): New member.
10022 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
10023 (TARGET_INITIALIZER): Update.
10024 * target.h (struct gcc_target): New hook.
10025 * tree.c (default_register_cpp_builtins): New.
10026 * tree.h (default_register_cpp_builtins): New.
10028 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
10030 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
10032 * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
10033 (cpp_post_options): Move sanity checks to...
10034 (sanity_checks): New.
10035 * cpplex.c (maybe_read_ucs): Fix prototype.
10036 (parse_string, cpp_parse_escape): Cast for %c format specifier.
10037 * cpplib.h (cppchar_t): Use unsigned long or unsigned long long
10040 2002-05-04 Bernd Schmidt <bernds@redhat.com>
10042 * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2
10043 builtins. Use V2DI patterns instead of TI for logical operations.
10044 (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins.
10045 Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps.
10046 (ix86_expand_builtins): Change the pattern used for movntdq.
10047 * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3,
10048 sse2_nandv2di3): New patterns.
10049 (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes
10051 (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted.
10052 (cvtdq2pd): Correct mode on operand 1.
10053 (sse2_umulsidi3): Describe without unspec.
10054 (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate
10056 (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec.
10057 (ashlv2di3): Likewise, from sse2_ashlv2di3.
10058 (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3,
10059 ashlv4si3, ashlv2di3): Use SImode for shift count.
10060 (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti,
10061 lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti):
10063 * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi):
10065 (__m128i, __m128d): New macros.
10066 (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd,
10067 _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd,
10068 _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd,
10069 _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd,
10070 _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd,
10071 _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd,
10072 _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd,
10073 _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd,
10074 _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd,
10075 _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd,
10076 _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd,
10077 _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd,
10078 _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd,
10079 _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps,
10080 _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32,
10081 _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32,
10082 _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd,
10083 _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd,
10084 _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16,
10085 _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32,
10086 _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32,
10087 _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
10088 _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16,
10089 _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
10090 _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16,
10091 _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16,
10092 _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64,
10093 _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32,
10094 _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64,
10095 _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
10096 _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128,
10097 _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
10098 _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16,
10099 _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8,
10100 _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16,
10101 _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd,
10102 _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New
10104 (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32,
10105 _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros.
10107 2002-05-04 Kazu Hirata <kazu@cs.umass.edu>
10109 * dwarf2out.c: Fix formatting.
10110 * varasm.c: Likewise.
10112 2002-05-04 David Edelsohn <edelsohn@gnu.org>
10115 * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
10116 clobber and use result as temporary value.
10118 Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz>
10120 * expr.c (force_operand): Use expand_simple_* to handle more
10123 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
10125 * c-lex.c (lex_string): Let cpp_parse_escape handles truncation
10126 and sign-extension.
10127 (lex_charconst): Update for change in prototype of
10128 cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT
10130 * cpphash.h (BITS_PER_CPPCHAR_T): New.
10131 * cppinit.c (cpp_create_reader): Initialize them for no
10132 change in semantics.
10133 (cpp_post_options): Add sanity checks.
10134 * cpplex.c (cpp_parse_escape): Handle precision, sign-extension
10135 and truncation issues. Calculate in type cppchar_t.
10136 (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
10137 (cpp_interpret_charconst): Calculate in type cppchar_t. Handle
10138 run-time dependent precision correctly. Return whether the
10139 result is signed or not.
10140 * cpplib.c (dequote_string): Use cppchar_t; update.
10141 * cpplib.h (cppchar_signed_t): New.
10142 struct cpp_options): New precision members.
10143 (cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
10144 * cppexp.c (eval_token): Update.
10146 2002-05-03 David S. Miller <davem@redhat.com>
10148 * config/sparc/sparc-protos.h (sparc_rtx_costs): New.
10149 * config/sparc/sparc.c (sparc_rtx_costs): New function
10150 implementing RTX_COSTS and CONST_COSTS.
10151 * config/sparc/sparc.h (CONST_COSTS): Delete.
10152 (RTX_COSTS_CASES): Define.
10153 (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
10156 * config/sparc/sparc.md (DFA schedulers): Split out...
10157 * config/sparc/cypress.md, config/sparc/hypersparc.md,
10158 config/sparc/sparclet.md, config/sparc/supersparc.md,
10159 config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
10161 * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
10162 checks on it, always defined for Sparc.
10164 * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
10165 Tweak, and add more detailed comments.
10167 2002-05-03 Zack Weinberg <zack@codesourcery.com>
10169 * Re-apply patch accidentally reverted with
10170 DFA scheduler merge: remove all rules and variables to slurp
10171 source files out of libiberty and rebuild them with HOST_CC.
10172 ($(HOST_PREFIX_1)varray.o): New rule.
10173 (genattrtab rule): Word wrap.
10175 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
10177 * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
10178 (CPP_SUBTARGET_SPEC): Define.
10179 (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
10180 cpp_subtarget specs.
10181 (CPP_SPEC): Redefine to include %(cpp_subtarget).
10183 2002-05-03 David S. Miller <davem@redhat.com>
10185 * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
10186 * target.h (struct gcc_target): Delete cycle_display member.
10188 * config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
10189 (rtx_needs_barrier): Delete reference to cycle_display unspec.
10190 (ia64_sched_reorder2): Mention need for cycle display handling
10191 once such notes exist.
10193 2002-05-03 Richard Henderson <rth@redhat.com>
10195 * real.c (etoasc): Strip most trailing zeros for clarity.
10196 * sched-vis.c: Include real.h.
10197 (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
10198 * Makefile.in (sched-vis.o): Add real.h.
10200 2002-05-03 David S. Miller <davem@redhat.com>
10202 * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
10205 2002-05-03 Aldy Hernandez <aldyh@redhat.com>
10207 * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
10208 when we get an out of range literal.
10209 (altivec_expand_ternop_builtin): Same.
10210 (altivec_expand_unop_builtin): Same.
10211 (altivec_expand_builtin): Same, for dss.
10212 (altivec_expand_builtin): Use trees instead of rtl when
10213 determining literal argument validity.
10215 2002-05-03 David S. Miller <davem@redhat.com>
10217 Delete cycle display scheduling hook.
10218 * config/ia64/ia64.c (ia64_cycle_display,
10219 TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
10220 (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
10221 and use emit_insn_before instead of ia64_emit_insn_before.
10222 * config/ia64/ia64.md (unspec usage): Delete cycle display.
10223 (cycle_display): Delete insn pattern.
10224 * config/sparc/sparc.md (unspec usage): Delete cycle display.
10225 (cycle_display): Delete insn pattern.
10226 * config/sparc/sparc.c (sparc_cycle_display,
10227 TARGET_SCHED_CYCLE_DISPLAY): Delete.
10228 * doc/md.texi (cycle_display): Don't mention.
10229 * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
10231 2002-05-03 Richard Henderson <rth@redhat.com>
10233 * recog.c (store_data_bypass_p, if_test_bypass_p): New.
10234 * recog.h: Declare them.
10236 * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
10237 * config/sparc/sparc.md: Use store_data_bypass_p instead.
10238 * config/sparc/sparc-protos.h: Update.
10240 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
10242 * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
10243 -D__arch64__. Add -D_LP64.
10244 (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
10246 (CPP_ARCH64_SPEC): Likewise.
10247 (NO_BUILTIN_PTRDIFF_TYPE): Undef.
10248 (NO_BUILTIN_SIZE_TYPE): Undef.
10250 2002-05-03 Vladimir Makarov <vmakarov@redhat.com>
10252 * genautomata.c (min_issue_delay_pass_states): Change return type
10254 (min_issue_delay_pass_states): Change the algorithm.
10255 (min_issue_delay): Set up min_insn_issue_delay for the state.
10256 (output_min_issue_delay_table): Interchange the nested loops and
10257 and initiate min_insn_issue_delay for states.
10259 Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz>
10261 * cfgcleanup.c (try_optimize_cfg): Call merge_block only when
10262 jump is simplejump.
10264 Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
10266 * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops
10269 2002-05-03 Richard Henderson <rth@redhat.com>
10272 * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
10273 noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
10274 noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
10275 code before JUMP, not EARLIEST.
10277 2002-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
10279 * c-format.c (check_format_info_main): Don't check for presence of
10280 parameter for * width until after operand number has been read,
10281 and only check for it if format parameters are available.
10284 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
10286 * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
10287 (LINK_SPEC): Undef before defining.
10289 2002-05-03 Jakub Jelinek <jakub@redhat.com>
10291 PR preprocessor/6489
10292 * tradcpp.c (fixup_newlines): New.
10293 (main, finclude): Use it.
10295 2002-05-03 Richard Sandiford <rsandifo@redhat.com>
10297 * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
10298 * config/mips/mips.c (mips_unique_section): Strip encoding from
10301 2002-05-03 Jakub Jelinek <jakub@redhat.com>
10303 * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
10306 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10308 * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
10309 (Specific): Removed buildstats references.
10310 (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
10311 (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
10312 Accomodate Solaris versions beyond 8.
10313 (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
10314 (Specific, *-*-solaris2.8): Removed, obsolete.
10316 2002-05-03 Jakub Jelinek <jakub@redhat.com>
10319 * config/sparc/sparc.h (leaf_reg_remap): Remove const.
10320 (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
10321 fill leaf_reg_remap with identity.
10322 * config/sparc/sparc.c (leaf_reg_remap): Remove const.
10324 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
10326 * config/h8300/crti.asm: Remove trailing spaces.
10327 * config/h8300/h8300.c: Likewise.
10328 * config/h8300/lib1funcs.asm: Likewise.
10330 2002-05-02 Jason Merrill <jason@redhat.com>
10332 * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
10333 * c-decl.c (c_init_decl_processing): Use it.
10334 * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
10335 * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
10336 * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
10338 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
10340 * regrename.c: Fix formatting.
10341 * tree.c: Likewise.
10343 Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz>
10345 * i386.md (attribute memory): Handle compares properly.
10347 Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz>
10349 * i386.md (sse_clrsf, sse_clrsi): Set memory attribute
10352 2002-05-02 Kazu Hirata <kazu@cs.umass.edu>
10354 * function.c: Fix formatting.
10356 2002-05-02 Jan Hubicka <jh@suse.cz>
10358 * haifa-sched.c (schedule_insn): Print table of instructions and
10360 (sched_block): Do not print ready list at verbosity level 1.
10361 * sched-vis.c (print_insn): Make global.
10362 * sched-ebb.c (ebb_print_insn): Rename from...
10363 (print_insn): ... this one.
10364 * sched-int.h (print_insn): Declare
10366 2002-05-02 Richard Henderson <rth@redhat.com>
10368 * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
10369 emitted by cycle_display.
10371 2002-05-02 Loren J. Rittle <ljrittle@acm.org>
10373 * doc/install.texi (*-*-freebsd*): Update to latest status.
10375 2002-05-02 Jakub Jelinek <jakub@redhat.com>
10378 * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
10379 * config/float-sparc.h: Assume 128-bit long double if
10380 __LONG_DOUBLE_128__ is defined.
10382 2002-05-02 Vladimir Makarov <vmakarov@redhat.com>
10384 * genattrtab.c (write_function_unit_info): Add a dummy element
10385 when num_units == 0.
10387 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10389 * predict.c: (propagate_freq, estimate_bb_frequencies): Use
10390 TYPE_MODE (double_type_node) instead of DFmode.
10392 Thu May 2 19:50:04 CEST 2002 Jan Hubicka <jh@suse.cz>
10394 * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
10396 * toplev.c (rest_of_compilation): Revert Richard's patch.
10398 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
10400 * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
10402 2002-05-02 Catherine Moore <clm@redhat.com>
10404 * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
10406 2002-05-02 Kazu Hirata <kazu@hxi.com>
10408 * combine.c: Fix comment typos.
10409 * expr.c: Likewise.
10410 * genautomata.c: Likewise.
10411 * stmt.c: Likewise.
10412 * tree.h: Likewise.
10414 2002-05-02 Joseph S. Myers <jsm28@cam.ac.uk>
10416 * doc/install.texi: State GNAT version requirements.
10418 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
10420 * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
10421 of the frame pointer or arg pointer register which strict register
10422 checking is not enabled.
10424 2002-05-02 Aldy Hernandez <aldyh@redhat.com>
10426 * gcc.dg/altivec-8.c: New.
10428 * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
10429 PRE_INC and PRE_DEC for altivec modes.
10431 2002-05-01 Bruce Korb <bkorb@gnu.org>
10433 * fixinc/check.tpl(set-writable): make sure the function exists first
10434 * fixinc/inclhack.def(alpha_assert): fix test_text
10435 * fixinc/tests/base/assert.h: add in missing result
10437 2002-05-01 Jeff Law <law@redhat.com>
10439 * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
10442 2002-05-01 Joel Brobecker <brobecker@gnat.com>
10444 * dbxout.c (dbxout_type): Emit size information for range types,
10445 as well, but only when using GDB extensions.
10447 2002-05-01 Richard Henderson <rth@redhat.com>
10449 * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
10450 target-independent gnu binutils date test.
10452 2002-05-01 Richard Henderson <rth@redhat.com>
10454 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
10455 info before expunging the block.
10457 2002-05-01 Jakub Jelinek <jakub@redhat.com>
10459 * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
10460 (cpp_post_options): ...but here. Disable -dD, -dN and -dI when
10461 -M -or -MM is in effect.
10463 2002-05-01 Zack Weinberg <zack@codesourcery.com>
10465 * config.gcc: Correct test of --enable-obsolete. Obsolete all
10466 A29k configurations.
10467 * doc/install.texi: Update to match.
10469 2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10472 * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
10473 for duplicates. Always loop over whole list.
10475 Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10477 * reload.c (find_reloads, case 'p'): Set BADOP to 0.
10479 2002-05-01 Joel Sherrill <joel@OARcorp.com>
10481 * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
10484 2002-05-01 Joel Sherrill <joel@OARcorp.com>
10486 * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
10488 2002-05-01 David Edelsohn <edelsohn@gnu.org>
10490 * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
10491 (nabs_nopower): Same.
10492 (floatdisf2): New pattern.
10493 (absdi2): Convert to define_insn_and_split.
10495 (trunctfsf2): Same.
10496 (floatditf2): Same.
10497 (floatsitf2): Same.
10498 (fix_trunctfdi2): Same.
10499 (fix_trunctfsi2): Same.
10501 2002-05-01 Joseph S. Myers <jsm28@cam.ac.uk>
10503 * doc/install.texi: Update Texinfo version requirement
10506 2002-05-01 Jakub Jelinek <jakub@redhat.com>
10508 PR target/6512, PR target/5628
10509 * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
10510 when memory is not aligned.
10511 (movdf_insn_v9only_vis): Likewise.
10512 * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
10513 temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
10514 (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
10516 2002-05-01 Aldy Hernandez <aldyh@redhat.com>
10518 * gcc.dg/altivec-7.c: New.
10520 * config/rs6000/altivec.h: Cleanup.
10522 2002-04-30 Aldy Hernandez <aldyh@redhat.com>
10524 * doc/invoke.texi (Option Summary): Add -mvrsave=.
10525 (RS/6000 and PowerPC Options): Document -mvrsave=.
10527 * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
10528 (rs6000_altivec_vrsave_string): Same.
10529 (rs6000_override_options): Call rs6000_parse_vrsave_option.
10530 (rs6000_parse_vrsave_option): New.
10531 (rs6000_stack_info): Only generate vrsave instructions when
10532 TARGET_ALTIVEC_VRSAVE.
10534 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
10535 (rs6000_altivec_vrsave_string): Define extern.
10536 (rs6000_altivec_vrsave): Same.
10537 (TARGET_ALTIVEC_VRSAVE): New.
10539 2002-04-30 Richard Henderson <rth@redhat.com>
10542 * toplev.c (rest_of_compilation): Don't run cross-jump before
10545 2002-04-30 Tom Rix <trix@redhat.com>
10547 * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
10548 check which_alternative.
10550 2002-04-30 Kazu Hirata <kazu@hxi.com>
10552 * cpplex.c: Fix comment formatting.
10553 * function.c: Likewise.
10554 * integrate.c: Likewise.
10555 * regrename.c: Likewise.
10556 * sibcall.c: Likewise.
10557 * simplify-rtx.c: Likewise.
10558 * tree-inline.c: Likewise.
10560 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
10562 * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
10563 hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
10564 hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
10565 hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
10566 * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
10567 * pa/x-ada: New file. Define ADA_CFLAGS.
10569 2002-04-30 Hans-Peter Nilsson <hp@bitrange.com>
10571 * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
10572 from MMIX_LAST_REGISTER_FILE_REGNUM.
10573 (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
10574 (struct machine_function): New member highest_saved_stack_register
10575 previously static variable in mmix.c.
10576 (MACHINE_DEPENDENT_REORG): Define.
10577 * config/mmix/mmix.c (highest_saved_stack_register): Deleted.
10578 (MMIX_OUTPUT_REGNO): New.
10579 (mmix_target_asm_function_prologue): Move calculation of last used
10580 saved-stack-register into...
10581 (mmix_machine_dependent_reorg): New function. Update to also handle
10583 (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
10584 register names, simplify somewhat by new variable regno.
10585 <case 'p'>: Remove fixed FIXME. Always emit highest used saved
10587 (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
10588 emitting register names.
10589 (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
10590 (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
10591 Remove fixed FIXME.
10592 * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
10595 * config/mmix/mmix.md ("divmoddi4"): Update head comment.
10597 2002-04-30 Richard Henderson <rth@redhat.com>
10599 * config/sparc/sparc.c (emit_soft_tfmode_libcall,
10600 emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
10601 emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
10602 emit_tfmode_cvt): New.
10603 * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
10604 trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
10605 fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
10606 addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
10607 * config/sparc/sparc-protos.h: Update.
10609 2002-04-30 Janis Johnson <janis187@us.ibm.com>
10611 * install.texi (Final install): Add to the list of info to include
10612 in a report of a successful bootstrap, and add link to 3.1 list.
10614 Tue Apr 30 19:15:36 CEST 2002 Jan Hubicka <jh@suse.cz>
10616 * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
10617 (mode): Add vector modes
10618 (i387): Kill attribute.
10619 (unit): New attribute.
10620 (length_immediate): Grok new types.
10621 (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
10622 (modrm): Use "unit".
10623 (memory): Handle MMX/SSE properly.
10624 (scheduling descriptions): Kill uses of fop1.
10625 (sse, mmx, fp patterns): Set type and mode properly.
10627 Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@redhat.com)
10629 * pa.c (override_options): Default to PA8000 scheduling.
10630 * doc/invoke.texi (HP-PA options): Mention newly added 7300
10631 scheduling parameter.
10633 * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
10634 handling of double precision multiplies.
10636 * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
10637 fpdiv and fpsqrt instructions.
10638 (7200 & 7300 scheduling): Fix typo in handling of
10639 store-load and store-store penalties.
10641 2002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10643 * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
10644 mips. Add two missing commas.
10646 2002-04-30 Paolo Carlini <pcarlini@unitus.it>
10648 * doc/contrib.texi (Contributors): Update Paolo Carlini's
10649 and Benjamin Kosnik's entries.
10651 2002-04-29 David S. Miller <davem@redhat.com>
10653 * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
10654 SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
10655 * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
10656 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
10658 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10660 * combine.c (find_split_point): Use gen_int_mode.
10662 2002-04-29 Vladimir Makarov <vmakarov@redhat.com>
10664 Merging code from dfa-branch:
10666 2002-04-24 Vladimir Makarov <vmakarov@redhat.com>
10668 * genautomata.c (output_reserv_sets): Fix typo.
10670 2002-04-23 Vladimir Makarov <vmakarov@redhat.com>
10672 * genautomata.c (output_reserv_sets): Remove
10673 next_cycle_output_flag.
10675 Thu Apr 18 08:57:06 2002 Jeffrey A Law (law@redhat.com)
10677 * sched-rgn.c (init_ready_list): Make the DFA code handle
10678 USE/CLOBBER insns in the same way as the traditional
10680 (new_ready): Similarly..
10682 2002-04-17 Vladimir Makarov <vmakarov@redhat.com>
10684 * haifa-sched.c (schedule_block): Change the DFA state only after
10687 Wed Apr 17 15:38:36 2002 Jeffrey A Law (law@redhat.com)
10689 * pa.c (hppa_use_dfa_pipeline_interface): New function.
10690 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
10691 (override_options): Add PA7300 scheduling support.
10692 (pa_adjust_cost): Update various comments. Properly
10693 handle anti and output dependencies when using the
10695 (pa_issue_rate): Add PA7300 scheduling support.
10696 (pa_can_combine_p): Call extract_insn before calling
10697 constrain_operands (taken from mainline tree).
10698 * pa.h (enum processor_type): Add PROCESSOR_PA7300.
10699 * pa.md (cpu attr): Add 7300. Rewrite pipeline
10700 descriptions using DFA descriptions. Add PA7300
10701 scheduling support.
10703 2002-03-30 David S. Miller <davem@redhat.com>
10705 Add UltraSPARC-III DFA scheduling support.
10706 * config/sparc/sparc.md (define_attr type): Add fpcrmove.
10707 Update FP conditional move on register insn patterns to use it, as
10709 (define_attr cpu): Add ultrasparc3.
10710 (define_attr us3load_type): New, update integer load patterns to
10711 set it, as appropriate.
10712 (define_automaton): Add ultrasparc3_0 and ultrasparc3_1.
10713 (rest): Add UltraSPARC3 scheduling description.
10714 * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New.
10715 (PROCESSOR_ULTRASPARC3): New.
10716 ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3.
10717 ({ASM,CPP}_CPU_SPEC): Likewise.
10718 (REGISTER_MOVE_COST): Likewise.
10719 (RTX_COSTS): Likewise.
10720 * config/sparc/sparc.c (sparc_override_options,
10721 sparc_initialize_trampoline, sparc64_initialize_trampoline,
10722 sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
10723 sparc_issue_rate): Likewise.
10724 * config/sparc/sol2.h: Likewise.
10725 * config/sparc/sol2-sld-64.h: Likewise.
10726 * config/sparc/linux64.h: Likewise.
10728 2002-03-22 Vladimir Makarov <vmakarov@redhat.com>
10730 * doc/md.texi: Add comments about usage the latency time for the
10731 different dependencies and about case when two or more conditions
10732 in different define_insn_reservations returns TRUE for an insn.
10734 * doc/md.texi: Add reference for automaton based pipeline
10737 2002-03-04 Vladimir Makarov <vmakarov@redhat.com>
10739 * doc/passes.texi: Add missed information about genattrtab.
10741 2002-03-01 Vladimir Makarov <vmakarov@redhat.com>
10743 * genautomata.c (output_automata_list_transition_code): Check
10744 automata_list on NULL.
10746 2002-02-28 Vladimir Makarov <vmakarov@redhat.com>
10748 * genautomata.c (output_insn_code_cases,
10749 output_automata_list_min_issue_delay_code,
10750 output_automata_list_transition_code,
10751 output_automata_list_state_alts_code): Comment the functions.
10753 2002-02-22 Vladimir Makarov <vmakarov@redhat.com>
10755 * genautomata.c (automata_list_el_t): New typedef.
10756 (get_free_automata_list_el,free_automata_list_el,
10757 free_automata_list, automata_list_hash, automata_list_eq_p,
10758 initiate_automata_lists, automata_list_start, automata_list_add,
10759 automata_list_finish, finish_automata_lists,
10760 output_insn_code_cases, output_automata_list_min_issue_delay_code,
10761 output_automata_list_transition_code,
10762 output_automata_list_state_alts_code, add_automaton_state,
10763 form_important_insn_automata_lists): New functions and prototypes.
10764 (insn_reserv_decl): Add members important_automata_list and
10766 (ainsn): Add members important_p.
10767 (automata_list_el): New structure.
10768 (first_free_automata_list_el, current_automata_list,
10769 automata_list_table): New global variables.
10770 (create_ainsns): Initiate member important_p.
10771 (output_internal_min_issue_delay_func): Generate the switch and
10772 call output_insn_code_cases.
10773 (output_internal_trans_func, output_internal_state_alts_func):
10775 (generate): Call initiate_automata_lists.
10776 (automaton_states): New global variable.
10777 (expand_automata): Call form_important_insn_automata_lists.
10778 (write_automata): Call finish_automata_lists.
10780 2002-02-21 Vladimir Makarov <vmakarov@redhat.com>
10782 * genautomata.c (add_excls, add_presence_absence): Check that
10783 cpu units in the sets belong the same automaton.
10785 * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment
10786 about that cpu units in the sets belong the same automaton.
10788 * doc/md.texi: Ditto.
10790 2001-12-20 Naveen Sharma <naveens@noida.hcltech.com>
10791 Nitin Gupta <niting@noida.hcltech.com>
10793 * config/sh/sh.c (sh_use_dfa_interface): New function.
10795 (sh_issue_rate): New Function.
10796 TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define.
10797 TARGET_SCHED_ISSUE_RATE: define.
10799 * config/sh/sh.md: Add DFA based pipeline description for SH4.
10801 (define_attr insn_class): New attribute used for DFA
10803 (define_insn cmpgtsi_t): Set attribute insn_class mt_group.
10804 (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t,
10805 cmpeqdi_t): Likewise.
10807 (add,addc1,addsi3,subc,subc1,*subsi3_internal,
10808 negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class
10810 (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise.
10812 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
10814 * haifa-sched.c (queue_to_ready): Remove unnecessary condition for
10817 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
10819 * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro.
10820 (output_dfa_insn_code_func): Expand dfa_insn_codes if it is
10822 (output_dfa_start_func): Initiate new variable insn_codes_length,
10823 (write_automata): Output definition of the new variable.
10825 2001-10-02 David S. Miller <davem@redhat.com>
10827 * haifa-sched.c (advance_one_cycle): New function.
10828 (schedule_block): Use it.
10829 (queue_to_ready): Use it, and also make sure to advance the DFA
10830 state on all stall cycles, not just those where insn_queue links
10833 2001-10-02 Richard Sandiford <rsandifo@redhat.com>
10835 * haifa-sched.c (max_issue): Remove last_p argument. Only return
10836 non-zero if the highest-priority instruction could be scheduled.
10837 (choose_ready): Remove last argument from max_issue call.
10839 2001-09-28 David S. Miller <davem@redhat.com>
10841 * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for
10842 ultrasparc and 3 for other multi-issue sparcs.
10844 2001-09-27 David S. Miller <davem@redhat.com>
10846 * config/sparc/sparc.md (cycle_display): New pattern.
10847 * config/sparc/sparc.c (sparc_cycle_display): New.
10848 (TARGET_SCHED_CYCLE_DISPLAY): Set it.
10850 2001-09-25 David S. Miller <davem@redhat.com>
10852 Convert all of Sparc scheduling to DFA
10853 * config/sparc/sparc.md: Kill all define_function_unit
10854 directives and replace with DFA equivalent.
10855 * config/sparc/sparc.c (ultrasparc_adjust_cost,
10856 mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p,
10857 ultra_fpmode_conflict_exists, ultra_find_type,
10858 ultra_build_types_avail, ultra_flush_pipeline,
10859 ultra_rescan_pipeline_state, ultrasparc_sched_reorder,
10860 ultrasparc_variable_issue, ultrasparc_sched_init,
10861 sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask,
10862 ultra_schedule_insn, ultra_code_names, ultra_pipe_hist,
10863 ultra_cur_hist, ultra_cycles_elapsed): Kill.
10864 (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
10865 ultrasparc_store_bypass_p): New.
10866 * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p):
10869 2001-09-24 David S. Miller <davem@redhat.com>
10871 * haifa-sched.c (ready_remove): Fix thinko, we want to copy around
10872 ready->vec[foo] not ready[foo].
10874 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
10876 * doc/md.texi: Correct examples for define_insn_reservations
10879 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
10881 * genautomata.c (create_automata): Print message about creation of
10883 (generate): Remove printing meease about creation of
10886 2001-09-05 David S. Miller <davem@redhat.com>
10888 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
10889 * config/sparc/linux64.h: Likewise.
10891 2001-08-31 Vladimir Makarov <vmakarov@redhat.com>
10893 * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready,
10894 schedule_block, sched_init, sched_finish): Add missed calls of
10895 use_dfa_pipeline_interface.
10897 * sched-rgn.c (init_ready_list, new_ready, debug_dependencies):
10900 * sched-vis.c (get_visual_tbl_length): Ditto.
10902 2001-08-27 Richard Henderson <rth@redhat.com>
10904 * genattr.c (main): Emit state_t even when not doing scheduling.
10906 2001-08-27 Richard Henderson <rth@redhat.com>
10908 * genautomata.c (expand_automata): Always create a description.
10910 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
10912 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
10913 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
10914 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
10917 * genattr.c (main): New variable num_insn_reservations. Increase
10918 it if there is DEFINE_INSN_RESERVATION. Output automaton based
10919 pipeline hazard recognizer interface.
10921 * genattrtab.h: New file.
10923 * genattrtab.c: Include genattrtab.h.
10924 (attr_printf, check_attr_test, make_internal_attr,
10925 make_numeric_value): Move protypes into genattrtab.h. Define them
10927 (num_dfa_decls): New global variable.
10928 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
10929 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
10930 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
10931 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
10933 * genautomata.c: New file.
10935 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
10937 * sched-int.h: (curr_state): Add the external definition for
10938 automaton pipeline interface.
10939 (haifa_insn_data): Add comments for members blockage and units.
10941 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10942 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10943 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10944 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10945 TARGET_SCHED_DFA_POST_CYCLE_INSN,
10946 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10947 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
10949 (TARGET_SCHED): Use the new macros.
10951 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
10952 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
10953 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
10954 dfa_bubble): New members in gcc_target.sched.
10956 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
10957 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
10958 (insn_queue): Redefine it as pointer to array.
10959 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
10961 (max_insn_queue_index_macro_value): New variable.
10962 (curr_state, dfa_state_size, ready_try): New varaibles for
10963 automaton interface.
10964 (ready_element, ready_remove, max_issue): New function prototypes
10965 for automaton interface.
10966 (choose_ready): New function prototype.
10967 (insn_unit, blockage_range): Add comments.
10968 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
10969 FUNCTION_UNITS_SIZE == 0.
10970 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
10971 actual_hazard, potential_hazard): Add comments.
10972 (insn_cost): Use cost -1 as undefined value. Remove
10973 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
10974 pipeline interface.
10975 (ready_element, ready_remove): New functions for automaton
10977 (schedule_insn): Add new code for automaton pipeline interface.
10978 (queue_to_ready): Add new code for automaton pipeline interface.
10979 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
10980 (debug_ready_list): Print newline when the queue is empty.
10981 (max_issue): New function for automaton pipeline interface.
10982 (choose_ready): New function.
10983 (schedule_block): Add new code for automaton pipeline interface.
10984 Print ready list before scheduling each insn.
10985 (sched_init): Add new code for automaton pipeline interface.
10986 Initiate insn cost by -1.
10987 (sched_finish): Free the current automaton state and finalize
10988 automaton pipeline interface.
10990 * sched-rgn.c: Include target.h.
10991 (init_ready_list, new_ready, debug_dependencies): Add new code for
10992 automaton pipeline interface.
10994 * sched-vis.c: Include target.h.
10995 (get_visual_tbl_length): Add code for automaton interface.
10996 (target_units, print_block_visualization): Add comments.
10998 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
10999 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
11000 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
11001 (getruntime.o, genautomata.o): New entries.
11002 (genattrtab.o): Add new dependency file genattrtab.h.
11003 (genattrtab): Add new dependencies. Link it with `libm.a'.
11004 (getruntime.o, hashtab.o): New entries for canadian cross.
11006 * doc/md.texi: Description of automaton based model.
11008 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
11010 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
11011 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
11012 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
11013 TARGET_SCHED_DFA_POST_CYCLE_INSN,
11014 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
11015 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
11016 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
11018 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
11019 MAX_DFA_ISSUE_RATE): New macro descriptions.
11021 * doc/contrib.texi: Add dfa based scheduler contribution.
11023 * doc/gcc.texi: Add more information about genattrtab.
11025 Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11027 * reload1.c (eliminate_regs, case SUBREG): Fix typo in
11028 adjust_address_nv call.
11030 2002-04-29 Janis Johnson <janis187@us.ibm.com>
11032 * doc/install.texi (Testing): Provide additional information, and
11033 a stronger encouragement, for running the testsuites.
11035 2002-04-29 DJ Delorie <dj@redhat.com>
11037 * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
11038 given in upper case.
11040 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11042 * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
11043 Solaris 2 <widec.h> if missing.
11044 * fixinc/fixincl.x: Regenerate.
11045 * fixinc/tests/base/widec.h: New file.
11047 2002-04-29 Nick Clifton <nickc@cambridge.redhat.com>
11049 * toplev.c (f_options): Add "profile" switch so that
11050 -fno-profile can be used to disable -p.
11052 2002-04-29 Bernd Schmidt <bernds@redhat.com>
11054 * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
11056 * tree.c (build_common_tree_nodes_2): Likewise.
11057 * tree.h (enum tree_index): Likewise.
11058 (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define.
11060 * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2
11062 (init_mmx_sse_builtins): Initialize SSE2 builtins.
11063 (ix86_expand_builtin): Add support for SSE2 builtins.
11064 * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro.
11065 (VALID_SSE_REG_MODE): Use it.
11066 (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well.
11067 (enum ix86_builtins): Add SSE2 builtins.
11068 * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal,
11069 movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi,
11070 addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3,
11071 divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3,
11072 sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2,
11073 vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3,
11074 vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb,
11075 sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps,
11076 cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi,
11077 cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss,
11078 cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3,
11079 ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3,
11080 subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3,
11081 mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3,
11082 sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3,
11083 sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd,
11084 sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3,
11085 gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3,
11086 ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3,
11087 ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3,
11088 sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw,
11089 sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq,
11090 sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd,
11091 sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq,
11092 sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd,
11093 sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence,
11094 lfence_insn): New patterns.
11095 (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from
11096 sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2.
11098 Mon Apr 29 17:03:24 CEST 2002 Jan Hubicka <jh@suse.cz>
11100 * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
11102 2002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11104 * doc/contrib.texi (Contributors): Add Paolo Carlini and
11106 Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
11107 Refer to Objective-C instead of ObjC, SPARC instead of sparc,
11108 and CPU instead of cpu.
11110 Mon Apr 29 13:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
11112 * toplev.c (flag_if_conversion, flag_if_conversion2): New static
11114 (lang_independent_options): Add -fif-conversion, -fif-conversion2
11115 (rest_of_compilation): Do if conversion only when asked for.
11116 (parse_options_and_default_flags): Set new variables to 1 for -O1
11117 * invoke.texi (-fif-conversion, -fif-conversion2): Document.
11119 Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz>
11121 * i386.c (dbx64_register_map): Fix typo.
11123 Mon Apr 29 12:18:35 CEST 2002 Jan Hubicka <jh@suse.cz>
11125 * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
11126 real_one_half, real_bb_freq_max): New static variables.
11127 (debug_profile_bbauxs): Kill.
11128 (process_note_predictions): Kill unused variable.
11129 (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
11131 (propagate_freq): Use REAL_ARITHMETICS.
11132 (estimate_bb_frequencies): Likevise; init new static variables.
11133 * Makefile.in (predict.o): Add dependency on real.h
11135 2002-04-28 David S. Miller <davem@redhat.com>
11138 * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
11139 64-bit TARGET_V9. Do not use prefetch page, use prefetch for
11140 several {reads,writes} instead.
11141 * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
11144 2002-04-27 David S. Miller <davem@redhat.com>
11147 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
11150 * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
11151 including signal.h and sys/ucontext.h, not needed.
11153 2002-04-29 Hans-Peter Nilsson <hp@bitrange.com>
11155 * varasm.c (output_constant_def): Correct test for not calling
11156 ENCODE_SECTION_INFO for INTEGER_CST.
11158 2002-04-29 Neil Booth <neil@daikokuya.demon.co.uk>
11160 * cppexp.c (lex): Move some code to _cpp_parse_expr, but
11161 keep most cases as function eval_token.
11162 (eval_token): New function.
11163 (_cpp_parse_expr): Read token here for improved diagnostics.
11164 Don't use op_as_text. Detect bad ':' here.
11165 (reduce): Don't detect bad ':' here.
11166 (op_as_text): Remove.
11167 * cpphash.h (_cpp_test_assertion): Change prototype.
11168 * cpplib.c (_cpp_test_assertion): Change prototype.
11170 2002-04-28 Richard Henderson <rth@redhat.com>
11173 * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
11174 (ggc_mark_rtx_children): New.
11176 2002-04-28 Jakub Jelinek <jakub@redhat.com>
11179 * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
11180 after call peepholes for UltraSPARC.
11181 (call + jump 64-bit peepholes): Remove.
11183 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11186 * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
11187 result as temporary value.
11189 2002-04-28 Jakub Jelinek <jakub@redhat.com>
11192 * toplev.c (rest_of_compilation): Only run regrename and copy
11193 propagation if optimizing.
11195 2002-04-28 Jakub Jelinek <jakub@redhat.com>
11197 PR optimization/6475
11198 * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
11199 register of REGNO_DECL (i).
11200 * Makefile.in (reload1.o): Add $(TREE_H).
11202 2002-04-28 Neil Booth <neil@daikokuya.demon.co.uk>
11204 * cppexp.c (lex): Update to use state.skip_eval.
11205 (struct op): Remove prio and flags members.
11206 (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
11207 SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
11208 (LEFT_ASSOC): New macro.
11209 (optab): New table of operator priorities and flags.
11211 (_cpp_parse_expr): Clean up logic. Return bool. Use a
11212 malloc-ed parser stack.
11213 (reduce): New; reduce the operator stack.
11214 (_cpp_expand_op_stack): Expand the operator stack as necessary.
11215 * cpphash.h (struct op): Predeclare.
11216 (struct cpp_reader): New members op_stack, op_limit.
11217 (struct lexer_state): New member skip_eval.
11218 (_cpp_parse_expr): Update.
11219 (_cpp_expand_op_stack): New.
11220 * cpplib.c (do_if): Update.
11221 * cppinit.c (cpp_create_reader): Create op stack.
11222 (cpp_destroy): And destroy it.
11223 * cpplib.h (CPP_LAST_CPP_OP): Correct.
11224 (TTYPE_TABLE): Correct.
11226 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11229 * c-decl.c (duplicate_decls): Call merge_weak.
11230 * c-pragma.c (apply_pragma_weak): Warn about misuse.
11231 * output.h (merge_weak): Prototype merge_weak.
11232 * varasm.c (merge_weak): New function.
11233 (declare_weak): Make sure we don't give an error on VAR_DECLs.
11234 Mark RTL with SYMBOL_REF_WEAK.
11236 2002-04-27 Kurt Garloff <garloff@suse.de>
11238 * tree-inline.c (inlinable_function_p): Improve heuristics
11239 by using a smoother function to cut down allowable inlinable size.
11240 * param.def: Add parameters max-inline-insns-single,
11241 max-inline-slope, min-inline-insns that determine the exact
11242 shape of the above function.
11243 * param.h: Likewise.
11245 2002-04-26 Richard Henderson <rth@redhat.com>
11247 * c-parse.in (malloced_yyss, malloced_yyvs): New.
11248 (yyoverflow): Re-add. Set them.
11249 (free_parser_stacks): New.
11250 * c-common.h: Declare it.
11251 * c-lex.c (c_common_parse_file): Call it.
11253 2002-04-26 Richard Henderson <rth@redhat.com>
11255 * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
11256 for fallthru search.
11258 2002-04-26 Eric Christopher <echristo@redhat.com>
11260 PR optimization/3700
11261 * config/mips/mips.c (mips_issue_rate): Define. New function.
11262 (TARGET_SCHED_ISSUE_RATE): Use.
11264 2002-04-25 David S. Miller <davem@redhat.com>
11267 * reorg.c (optimize_skip): Do not allow exception causing
11268 instructions to be considered for delay slots.
11269 (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
11270 (relax_delay_slots): Do not try to consider exception causing
11271 instructions as redundant.
11273 2002-04-26 Richard Henderson <rth@redhat.com>
11276 * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
11278 2002-04-26 Mark Mitchell <mark@codesourcery.com>
11281 * config/i386/i386.md (untyped_call): Return the value in a float
11282 register if TARGET_FLOAT_RETURNS_IN_80387, not just if
11285 2002-04-26 Alexandre Oliva <aoliva@redhat.com>
11287 * tree.c (tree_int_cst_lt): Compare constants whose types differ
11288 in unsigned-ness correctly.
11290 2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
11292 * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
11293 portable runtime model.
11295 2002-04-26 Richard Henderson <rth@redhat.com>
11297 * c-parse.in (yyoverflow): Revert.
11299 2002-04-26 David Edelsohn <edelsohn@gnu.org>
11300 Richard Henderson <rth@redhat.com>
11302 * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
11303 result as temporary value.
11305 2002-04-26 Richard Henderson <rth@redhat.com>
11308 * c-common.c (fix_string_type): Split out of ...
11309 (combine_strings): ... here. Take a varray, not a tree list.
11310 (c_expand_builtin_printf): Use fix_string_type.
11311 * c-common.h: Update decls.
11312 * c-parse.in (string): Remove. Update all uses to use STRING
11313 instead, and not call combine_strings.
11314 (yylexstring): New.
11316 * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
11317 (build_asm_stmt): Likewise.
11318 * objc/objc-act.c (my_build_string): Use fix_string_type.
11319 (build_objc_string_object): Build varray for combine_strings.
11321 2002-04-26 Bo Thorsen <bo@suse.co.uk>
11323 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
11326 2002-04-26 Neil Booth <neil@daikokuya.demon.co.uk>
11328 * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
11329 (HAVE_NO_R_OPERAND): Remove.
11330 (HAVE_VALUE): Remove.
11331 (op_to_prio): Update.
11332 (UNARY): Don't alter flags.
11333 (_cpp_parse_expr): want_value used to indicate whether
11334 a number or unary operator is expected next. Distinguish
11335 unary and binary +/-.
11336 (op_as_text): Update for unary operators.
11338 2002-04-25 Richard Henderson <rth@redhat.com>
11341 * c-parse.in (yyoverflow): New.
11343 2002-04-25 Richard Henderson <rth@redhat.com>
11346 * c-common.c (shorten_compare): Simplfy conditions leading to
11347 the generation of a warning.
11349 2002-04-25 Richard Henderson <rth@redhat.com>
11352 * expmed.c (extract_bit_field): Fall through to generic code rather
11353 than aborting on subreg special case.
11355 2002-04-25 David S. Miller <davem@redhat.com>
11357 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
11358 for DECL being NULL.
11360 2002-04-25 Steve Christiansen <smc@us.ibm.com>
11362 * doc/md.texi (Machine Constraints): Add IA-64 constraints.
11364 2002-04-25 Eric Botcazou <ebotcazou@multimania.com>
11366 * c-decl.c (grokdeclarator): Remove outdated ??? note
11367 on invalid declaration of flexible array members.
11369 2002-04-25 Richard Henderson <rth@redhat.com>
11371 * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
11373 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com>
11375 * config/s390/s390.c (s390_emit_epilogue): Always restore registers
11376 needed by the compiler, even if they are used as global regs.
11378 2002-04-25 Matt Hiller <hiller@redhat.com>
11380 * mips.c (mips_class_max_nregs, mips_register_move_cost): New
11382 * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
11383 of the corresponding functions.
11384 * mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
11387 2002-04-25 Matt Hiller <hiller@redhat.com>
11389 * config/mips/mips.h (mips_sw_reg_names): Declare as extern.
11391 (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
11392 (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
11393 registers, adjust comment accordingly.
11394 (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
11395 reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
11396 DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
11397 for coprocessor registers.
11398 (ADDITIONAL_REGISTER_NAMES): Include
11399 ALL_COP_ADDITIONAL_REGISTER_NAMES.
11401 (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
11402 COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
11403 COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
11404 COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
11405 COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
11407 (mips_char_to_class): Adjust comment to include coprocessor
11408 constraint letters.
11410 * config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
11412 (mips_reg_names, mips_regno_to_class): Include coprocessor
11414 (mips_sw_reg_names): Ditto, make non-static.
11415 (mips_move_1word): Handle moves to and from coprocessor registers.
11416 (mips_move_2words): Handle moves to and from coprocessor
11418 (mips_class_max_nregs, mips_register_move_cost): Handle
11419 coprocessor register classes.
11420 (override_options): Initialize mips_char_to_class and
11421 mips_hard_regno_mode_ok properly for coprocessor registers.
11423 * config/mips/mips.md (movdi_internal, movdi_internal2,
11424 movsi_internal1, movsi_internal2): Add constraint-sets for
11425 coprocessor registers.
11426 * testsuite/gcc.c-torture/mipscop-1.c: New testcase.
11427 * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
11429 * testsuite/gcc.c-torture/mipscop-2.c: New testcase.
11430 * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
11432 * testsuite/gcc.c-torture/mipscop-3.c: New testcase.
11433 * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
11435 * testsuite/gcc.c-torture/mipscop-4.c: New testcase.
11436 * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
11439 * doc/tm.texi: Document feature.
11441 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
11443 * integrate.c (function_attribute_inlinable_p): Simplify.
11444 Check the table pointer is not NULL.
11446 2002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl>
11448 * doc/c-tree.texi: Fix typo in introduction.
11450 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
11452 * c-common.h (c_common_parse_file): Update.
11453 * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
11454 * c-lex.c (YYDEBUG): Get from c-lex.h.
11455 (c_common_parse_file): Update.
11456 * c-lex.h (YYDEBUG, yydebug): New.
11457 * c-parse.in (YYDEBUG): Get from c-lex.h.
11458 (c_set_yydebug): Remove.
11459 * c-tree.h (c_set_yydebug): Remove.
11460 * langhooks-def.h (lhd_do_nothing_i): New.
11461 (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
11462 (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
11463 * langhooks.c (lhd_do_nothing_i): New.
11464 (lhd_set_yydebug): Remove.
11465 * langhooks.h (struct lang_hooks): Update.
11466 * toplev.c (set_yydebug): New.
11467 (compile_file): Update call to parse_file hook.
11468 (decode_d_option): Update.
11470 * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
11472 Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com>
11474 * loop.c (load_mems): Don't change the interface of called functions.
11476 * calls.c (expand_call): Take current_function_pretend_args_size
11477 into account when setting argblock for sibcalls.
11479 2002-04-24 Matt Hiller <hiller@redhat.com>
11481 * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
11484 * cpplex.c (skip_line_comment): Process comment one multibyte
11485 character at a time rather than one char at a time, if
11487 (parse_string): Process string one multibyte character at a time
11488 rather than one char at a time, if appropriate.
11489 * c-lex.c (lex_string): Lex and copy multibyte strings
11491 * cpplib.h (cppchar_t): Change to unsigned.
11493 2002-04-24 Richard Henderson <rth@redhat.com>
11496 * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
11499 Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com>
11501 * sh.c (sh_va_arg): If argument was passed by reference,
11502 dereference the pointer.
11504 * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
11506 * sh.md (divsi3_i4_media): Use match_operand for input values
11507 rather than hard registers.
11508 (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
11509 unnecessarily through hard registers. Keep copies of pseudo
11510 registers outside of the libcall sequence.
11512 * sh.md (casesi_shift_media): Add modes.
11514 * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
11517 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
11519 * attribs.c (c_common_attribute_table): Move table and handlers
11521 (format_attribute_table, lang_attribute_table,
11522 lang_attribute_common): Remove.
11523 (init_attributes): Replace NULL pointers with pointers to the
11525 (handle_packed_attribute, handle_nocommon_attribute,
11526 handle_common_attribute, handle_noreturn_attribute,
11527 handle_noinline_attribute, handle_always_inline_attribute,
11528 handle_used_attribute, handle_unused_attribute,
11529 handle_const_attribute, handle_transparent_union_attribute,
11530 handle_constructor_attribute, handle_destructor_attribute,
11531 handle_mode_attribute, handle_section_attribute,
11532 handle_aligned_attribute, handle_weak_attribute,
11533 handle_alias_attribute, handle_visibility_attribute,
11534 handle_no_instrument_function_attribute, handle_malloc_attribute,
11535 handle_no_limit_stack_attribute, handle_pure_attribute,
11536 handle_deprecated_attribute, handle_vector_size_attribute,
11537 vector_size_helper): Move to c-common.c.
11538 * c-common.c (c_common_attribute_table,
11539 handle_packed_attribute, handle_nocommon_attribute,
11540 handle_common_attribute, handle_noreturn_attribute,
11541 handle_noinline_attribute, handle_always_inline_attribute,
11542 handle_used_attribute, handle_unused_attribute,
11543 handle_const_attribute, handle_transparent_union_attribute,
11544 handle_constructor_attribute, handle_destructor_attribute,
11545 handle_mode_attribute, handle_section_attribute,
11546 handle_aligned_attribute, handle_weak_attribute,
11547 handle_alias_attribute, handle_visibility_attribute,
11548 handle_no_instrument_function_attribute, handle_malloc_attribute,
11549 handle_no_limit_stack_attribute, handle_pure_attribute,
11550 handle_deprecated_attribute, handle_vector_size_attribute,
11551 vector_size_helper): Move from attribs.c.
11552 * c-common.h (c_common_attribute_table,
11553 c_common_format_attribute_table): New.
11554 * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
11555 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
11556 * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
11557 LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
11558 (LANG_HOOKS_INITIALIZER): Update.
11559 * langhooks.h (struct lang_hooks): 3 new attribute hooks.
11560 * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
11561 * target.h: Update comment.
11562 * tree.c (default_target_attribute_table): Remove.
11563 * tree.h (default_target_attribute_table, format_attribute_table,
11564 lang_attribute_table, lang_attribute_common): Remove.
11566 * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
11567 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
11569 2002-04-24 Jason Merrill <jason@redhat.com>
11571 * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
11572 * dwarf2out.c (dwarf_attr_name): Support it.
11573 (gen_array_type_die): Emit it.
11574 (lookup_type_die): No special handling for VECTOR_TYPE.
11575 (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
11577 2002-04-24 Richard Henderson <rth@redhat.com>
11579 * config/mips/mips.md (movdi_usd): Renumber.
11581 2002-04-24 David S. Miller <davem@redhat.com>
11584 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
11585 32-bit Sparc and current_function_returns_struct is true.
11587 Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz>
11589 * loop.c (canonicalize_condition): Use gen_int_mode.
11591 2002-04-24 Aldy Hernandez <aldyh@redhat.com>
11593 * config/rs6000/altivec.h: Cleanup file. Add non individual
11595 (vec_vaddubm): New.
11596 (vec_vadduhm): New.
11597 (vec_vadduwm): New.
11599 (vec_vaddcuw): New.
11600 (vec_vaddubs): New.
11601 (vec_vaddsbs): New.
11602 (vec_vadduhs): New.
11603 (vec_vadduws): New.
11604 (vec_vaddsws): New.
11614 (vec_vcmpbfp): New.
11615 (vec_vcmpequb): New.
11616 (vec_vcmpequh): New.
11617 (vec_vcmpequw): New.
11618 (vec_vcmpeqfp): New.
11619 (vec_vcmpgefp): New.
11620 (vec_vcmpgtub): New.
11621 (vec_vcmpgtsb): New.
11622 (vec_vcmpgtuh): New.
11623 (vec_vcmpgtsh): New.
11624 (vec_vcmpgtuw): New.
11625 (vec_vcmpgtsw): New.
11626 (vec_vcmpgtfp): New.
11627 (vec_vcmpgefp): New.
11632 (vec_vexptefp): New.
11637 (vec_lde): Add vector float variant.
11640 (vec_vlogefp): New.
11641 (vec_vmaddfp): New.
11642 (vec_vmhaddshs): New.
11664 (vec_vmladduhm): New.
11665 (vec_vmhraddshs): New.
11666 (vec_msumubm): New.
11667 (vec_vmsummbm): New.
11668 (vec_vmsumuhm): New.
11669 (vec_vmsumshm): New.
11670 (vec_vmsumuhs): New.
11671 (vec_vmsumshs): New.
11672 (vec_vmuleub): New.
11673 (vec_vmulesb): New.
11674 (vec_vmuleuh): New.
11675 (vec_vmulesh): New.
11676 (vec_vmuloub): New.
11678 (vec_vmulouh): New.
11679 (vec_vmulosh): New.
11680 (vec_vnmsubfp): New.
11683 (vec_vpkuhum): New.
11684 (vec_vpkuwum): New.
11686 (vec_vpkuhus): New.
11687 (vec_vpkshss): New.
11688 (vec_vpkuwus): New.
11689 (vec_vpkswss): New.
11690 (vec_vpkshus): New.
11691 (vec_vpkswus): New.
11698 (vec_vrsqrtefp): New.
11709 (vec_vspltisb): New.
11710 (vec_vspltish): New.
11711 (vec_vspltisw): New.
11725 (vec_vsububm): New.
11726 (vec_vsubuhm): New.
11727 (vec_vsubuwm): New.
11729 (vec_vsubcuw): New.
11730 (vec_vsububs): New.
11731 (vec_vsubsbs): New.
11732 (vec_vsubuhs): New.
11733 (vec_vsubshs): New.
11734 (vec_vsubuws): New.
11735 (vec_vsubsws): New.
11736 (vec_vsum4ubs): New.
11737 (vec_vsum4sbs): New.
11738 (vec_vsum4shs): New.
11739 (vec_vsum2sws): New.
11740 (vec_vsumsws): New.
11742 (vec_vupkhsb): New.
11743 (vec_vupkhpx): New.
11744 (vec_vupkhsh): New.
11745 (vec_vupklsb): New.
11746 (vec_vupklpx): New.
11747 (vec_vupklsh): New.
11750 2002-04-23 Eric Botcazou <ebotcazou@multimania.com>
11753 * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
11754 added literals from substracted literals.
11755 (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
11756 (fold) [associate]: Preserve MINUS_EXPR if needed.
11758 2002-04-23 Zack Weinberg <zack@codesourcery.com>
11760 * doc/install.texi: Clarify which versions of alpha*-dec-osf*
11763 2002-04-23 Tom Tromey <tromey@redhat.com>
11765 * gcc.c: Added --resource. For PR java/6314.
11767 2002-04-23 David O'Brien <obrien@FreeBSD.org>
11769 * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
11770 * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
11773 2002-04-23 David O'Brien <obrien@FreeBSD.org>
11775 * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
11777 Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz>
11779 * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
11781 (ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
11782 (ix86_expand_clrstr): Fix typo.
11783 * loop.c (gen_load_of_final_value): New.
11784 (loop_givs_rescan, strength_reduce, check_dbra_loop):
11787 2002-04-23 Roger Sayle <roger@eyesopen.com>
11789 * builtins.c (builtin_memset_gen_str): New function.
11790 (expand_builtin_memset): Optimize the case of constant length, but
11793 2002-04-23 Aldy Hernandez <aldyh@redhat.com>
11795 * config/rs6000/altivec.h (vec_step): Remove extraneous
11797 (vec_ctu): Cast return.
11799 2002-04-23 Alan Modra <amodra@bigpond.net.au>
11802 * function.h: (struct function): Add profile_label_no field.
11803 (current_function_profile_label_no): Define.
11804 * function.c: (profile_label_no): New static var.
11805 (expand_function_start): Increment it, and copy to
11806 current_function_profile_label_no.
11807 * output.h (profile_label_no): Delete.
11808 * final.c (profile_label_no): Delete.
11809 (profile_function): Use current_function_profile_label_no.
11810 (final_end_function): Don't increment profile_label_no here.
11811 * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
11812 profile_label_no with current_function_profile_label_no.
11813 * config/pa/pa.c (current_function_number): Delete.
11814 (pa_output_function_prologue): Don't output profile label here.
11815 (hppa_profile_hook): Use label_no param rather than
11816 current_function_number.
11817 (FUNC_BEGIN_PROLOG_LABEL): Move to ..
11818 * config/pa/pa.h: .. here.
11819 (FUNCTION_PROFILER): Output profile label here.
11821 2002-04-22 Eric Christopher <echristo@redhat.com>
11823 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
11824 patch of 2002-04-09 due to binutils issues.
11825 (FUNCTION_ARG_REGNO_P): Ensure even numbered float register.
11827 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
11829 * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
11830 constraint to 'o' for m=r and r=m alternatives.
11831 ("*movv8hi_internal1"): Same.
11832 ("*movv16qi_internal1"): Same.
11833 ("*movv4sf_internal1"): Same.
11835 2002-04-22 Janis Johnson <janis187@us.ibm.com>
11837 * rtl.h (RTX_FLAG): New macro.
11838 * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
11839 * final.c (alter_subreg): Use macro to access rtx flag.
11840 * integrate.c (copy_rtx_and_substitute): Use new access macro.
11841 * print-rtl.c (print_rtx): Use new access macro.
11843 * cse.c (insert): Check rtx code before accessing flag.
11845 * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
11846 ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
11847 (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
11848 convert_const_symbol_ref, make_canonical, make_alternative_compare,
11849 evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
11850 simplify_test_exp, optimize_attrs, simplify_by_exploding,
11851 find_and_mark_used_attributes, unmark_used_attributes,
11852 add_values_to_cover, simplify_with_current_value,
11853 simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
11854 copy_rtx_unchanging, main): Use new access macros.
11856 2002-04-22 Tom Rix <trix@redhat.com>
11858 * expmed.c (init_expmed): Generate shifted constant once.
11860 2002-04-22 Zack Weinberg <zack@codesourcery.com>
11862 * c-lex.c (lex_charconst): Call convert to get constant in
11863 proper type; don't just smash the type field.
11866 * config.gcc: Add list of obsolete configurations. Disallow
11867 building these without --enable-obsolete.
11868 * doc/install.texi: Document --enable-obsolete and obsoletion
11869 policy. Mention obsoletion of individual targets in
11870 appropriate places.
11872 2002-04-22 Richard Henderson <rth@redhat.com>
11874 * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
11876 2002-04-22 Mark Mitchell <mark@codesourcery.com>
11879 * function.c (fixup_memory_subreg): Add promoted_mode parameter.
11880 (walk_fixup_memory_subreg): Likewise.
11881 (fixup_var_refs_insn): Adjust accordingly.
11882 (fixup_var_refs_1): Likewise.
11884 2002-04-22 Ulrich Weigand <uweigand@de.ibm.com>
11886 * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
11887 LIBPATH_ARCH64_SPEC): Define.
11888 (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
11889 (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
11890 (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
11891 (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
11893 2002-04-22 Joel Sherrill <joel@OARcorp.com>
11895 * gthr-rtems.h: Correct prototypes to remove warnings.
11897 2002-04-22 Richard Henderson <rth@redhat.com>
11900 * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
11902 * gcse.c (free_insn_expr_list_list): New.
11903 (clear_modify_mem_tables): Use it. Fix bit set usage.
11904 (canon_list_insert): Use EXPR_LISTs for expressions.
11905 (record_last_mem_set_info): Factor BLOCK_NUM (insn).
11907 2002-04-22 Neil Booth <neil@daikokuya.demon.co.uk>
11909 * cppfiles.c (_cpp_pop_file_buffer): Return void. Move
11910 file change and include code to _cpp_pop_buffer.
11911 * cpphash.h (struct pending_option): Predeclare.
11912 (struct cpp_reader): New member next_include_file.
11913 (_cpp_pop_file_buffer): Update.
11914 (_cpp_push_next_buffer): Update, rename.
11915 * cppinit.c (cpp_destroy): Free include chain and pending here.
11916 (cpp_finish_options): Simplify.
11917 (_cpp_push_next_buffer): Rename and clean up.
11918 * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
11920 * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.
11922 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
11924 * config/rs6000/altivec.h (vec_xor): Add variant for both args
11925 being vector signed int.
11927 (vec_xor): Add variant for both args being vector signed char.
11928 Remove redundant variant.
11931 2002-04-21 David S. Miller <davem@redhat.com>
11933 * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
11934 compare mode in output RTL.
11936 2002-04-22 David Edelsohn <edelsohn@gnu.org>
11938 * config/rs6000/rs6000.c (rs6000_override_options): Correct
11939 style and formatting of previous patch.
11941 2002-04-22 Alan Modra <amodra@bigpond.net.au>
11943 * config/rs6000/rs6000.c (rs6000_override_options): Always clear
11944 flag_pic for ABI_AIX.
11946 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
11948 * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
11949 * cppfiles.c (read_include_file): Similarly.
11950 * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
11951 uxstrdup ustrchr, ufputs): Similarly.
11952 * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
11953 * cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
11954 cpp_ideq, parse_identifier, parse_number): Similarly.
11955 * cpplib.c (struct directive, dequote_string, D, run_directive,
11956 cpp_push_buffer): Similarly.
11957 * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
11958 _cpp_create_definition, check_trad_stringification,
11959 cpp_macro_definition): Similarly.
11961 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
11963 * cppmacro.c (funlike_invocation_p): Don't step back
11966 2002-04-21 David Edelsohn <edelsohn@gnu.org>
11968 * config/rs6000/rs6000.c (output_profile_hook): Do not increment
11971 2002-04-20 Joseph S. Myers <jsm28@cam.ac.uk>
11973 * doc/invoke.texi: Remove Chill references.
11974 * doc/gcc.texi: Update last modified date.
11976 2002-04-20 Kazu Hirata <kazu@hxi.com>
11978 * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
11979 push and pop. Replace add.l with add.w.
11981 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
11983 * config/h8300/lib1funcs.asm (___mulsi3): Use hardware
11984 multiply instructions for H8/300H case.
11986 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
11988 * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
11989 Bum three instructions from each routine.
11991 2002-04-20 Neil Booth <neil@daikokuya.demon.co.uk>
11993 * Makefile.in: Update.
11994 * decl.c (push_c_function_context, pop_c_function_context,
11995 mark_c_function_context): Rename for consistency.
11996 * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
11997 * c-tree.h (push_c_function_context, pop_c_function_context,
11998 mark_c_function_context): Rename for consistency.
11999 * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
12000 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
12001 * function.c (init_lang_status, save_lang_status,
12002 restore_lang_status, mark_lang_status, free_lang_status):
12003 Move to langhooks.h.
12004 (push_function_context_to, pop_function_context_from,
12005 free_after_parsing, prepare_function_start, ggc_mark_struct_function):
12007 * function.h (init_lang_status, save_lang_status,
12008 restore_lang_status, mark_lang_status, free_lang_status):
12009 Move to langhooks.h.
12010 * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
12011 LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
12012 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
12013 LANG_HOOKS_FUNCTION_INITIALIZER): New.
12014 (LANG_HOOKS_INITIALIZER): Update.
12015 (lhd_do_nothing_f): New.
12016 * langhooks.h (struct lang_hooks_for_functions): New.
12017 (struct lang_hooks): New hooks.
12018 * langhooks.c (lhd_do_nothing_f): New.
12020 * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
12021 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
12023 2002-04-19 David S. Miller <davem@redhat.com>
12025 * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
12026 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
12028 2002-04-19 Jakub Jelinek <jakub@redhat.com>
12030 PR optimization/3756
12031 * config/i386/i386.c (ix86_expand_int_movcc): Optimize
12032 x = ((int) y < 0) ? cst1 : cst2.
12034 2002-04-19 Jakub Jelinek <jakub@redhat.com>
12037 * function.c: Reapply patch for c/6358.
12038 (expand_function_end): Copy decl_rtl's mode, not
12039 current_function_return_rtx mode.
12041 2002-04-19 Joel Sherrill <joel@OARcorp.com>
12043 * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
12046 2002-04-19 Tom Tromey <tromey@redhat.com>
12048 * doc/install.texi (Specific): Update status of Solaris 2.8.
12049 For PR libgcj/6158.
12051 2002-04-19 Andreas Schwab <schwab@suse.de>
12053 * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
12054 (PUT_REAL): Restore old definition.
12056 2002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
12057 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12059 * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
12060 binutils 2.11.2 and higher generate smaller binaries than Sun's
12063 2002-04-19 Mark Mitchell <mark@codesourcery.com>
12066 * toplev.c (rest_of_compilation): Do not defer functions for which
12067 TREE_SYMBOL_REFERENCED has already been set.
12069 Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz>
12071 * i386.md (movsi_1, movhi_1): Force reload to use more flexible
12074 2002-04-19 Neil Booth <neil@daikokuya.demon.co.uk>
12076 * builtins.c: Include langhooks.h.
12077 (lang_type_promotes_to): Remove.
12078 (expand_builtin_va_arg): Use new hook.
12079 * c-common.c (c_common_nodes_and_builtins): Don't set hook.
12080 (simple_type_promotes_to): Move to c-typeck.c.
12081 * c-common.h (simple_type_promotes_to): Remove.
12082 * c-decl.c (duplicate_decls, grokdeclarator): Update.
12083 * c-format.c: Include langhooks.h.
12084 (check_format_types): Update.
12085 * c-tree.h (c_type_promotes_to): New.
12086 * c-typeck.c (c_type_promotes_to): Move from c-common.c.
12087 (type_lists_compatible_p): Update.
12088 * langhooks-def.h (lhd_type_promotes_to): New.
12089 (LANG_HOOKS_TYPE_PROMOTES_TO): New.
12090 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
12091 * langhooks.c (lhd_type_promotes_to): New.
12092 * langhooks.h (struct lang_hooks_for_types): New hook.
12093 * tree.h (lang_type_promotes_to): Remove.
12095 * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
12097 2002-04-18 Richard Henderson <rth@redhat.com>
12099 * function.c: Revert patch for c/6358.
12101 2002-04-18 Richard Henderson <rth@redhat.com>
12103 * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
12104 blocks. Handle multiple references to the TRAP block. Handle
12105 non-adjacent THEN and OTHER blocks.
12107 2002-04-18 Richard Henderson <rth@redhat.com>
12109 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
12110 crash with no type for by-mode libcalls.
12112 * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
12114 2002-04-18 Bob Wilson <bob.wilson@acm.org>
12116 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
12117 __xtensa_nonlocal_goto): Use a syscall instructions to flush
12118 the register windows.
12120 2002-04-18 Zack Weinberg <zack@codesourcery.com>
12122 * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
12123 appropriate. Document need for extended precision even when
12124 MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here,
12125 based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size
12126 REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error
12127 instead of relying on later syntax error when REAL_WIDTH > 5.
12128 * real.c: Define NE based only on whether or not we have a
12129 full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
12130 Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally
12131 define GET_REAL and PUT_REAL as simple memcpy operations; no
12132 need to byteswap or round.
12133 Use #error instead of #ifdef-ing out the entire file, for
12134 prompt error detection.
12136 * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
12138 2002-04-18 David S. Miller <davem@redhat.com>
12140 * config/sparc/sparc.h (BRANCH_COST): Define.
12142 * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
12145 2002-04-18 Hans-Peter Nilsson <hp@bitrange.com>
12147 * flow.c (update_life_info): Ignore return value of cleanup_cfg.
12148 Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
12149 propagate_block calls after relaxation loop using new variable
12150 stabilized_prop_flags.
12152 2002-04-18 Richard Henderson <rth@redhat.com>
12154 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
12155 (ia64_va_arg): Expect variable sized types by reference.
12156 * config/ia64/ia64-protos.h: Update.
12157 * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
12158 ia64_function_arg_pass_by_reference.
12160 2002-04-18 Richard Henderson <rth@redhat.com>
12162 * ifcvt.c: Include except.h.
12163 (block_has_only_trap): Break out from find_cond_trap.
12164 (find_cond_trap): Use it. Always delete the trap block.
12165 (merge_if_block): Allow then block null. Be less simplistic about
12166 what insns can end a block.
12167 * Makefile.in (ifcvt.o): Depend on except.h.
12169 * config/ia64/ia64.md (trap, conditional_trap): New.
12171 2002-04-18 Jakub Jelinek <jakub@redhat.com>
12174 * function.c (assign_parms): Assign hard current_function_return_rtx
12176 (expand_function_end): ...not here.
12178 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
12180 * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
12181 * c-tree.h (c_incomplete_type_error): New.
12182 * c-typeck.c (require_complete_type, build_component_ref): Update.
12183 (incomplete_type_error): Rename.
12184 * langhooks-def.h (lhd_incomplete_type_error): New.
12185 (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
12186 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
12187 * langhooks.c (lhd_incomplete_type_error): New.
12188 * langhooks.h (struct lang_hooks_for_types): New hook.
12189 * tree.c (size_in_bytes): Use new hook.
12190 * tree.h (incomplete_type_error): Remove.
12192 * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
12194 2002-04-18 Zack Weinberg <zack@codesourcery.com>
12196 * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
12197 TARGET_FLOAT_FORMAT blocks.
12199 2002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12201 * doc/install.texi (Downloading the source): Do not mention Chill
12202 any longer, but mention Ada.
12203 (Configuration): Do not mention Chill any longer.
12205 2002-04-18 Hans-Peter Nilsson <hp@axis.com>
12207 * config/cris/cris.h (TARGET_VERSION): Remove local version number.
12209 Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz>
12211 * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
12214 2002-04-18 Jakub Jelinek <jakub@redhat.com>
12216 * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
12217 instead of unsigned_type.
12219 Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz>
12221 * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
12222 * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
12225 2002-04-18 Bernd Schmidt <bernds@redhat.com>
12227 * attribs.c (vector_type_node_list): New static variable.
12228 (handle_vector_size_attribute): Use it to avoid generating a
12229 new type node each time we are called.
12231 * combine.c (subst): Avoid trying to make a vector mode subreg of
12232 an integer constant.
12233 (gen_lowpart_for_combine): Likewise.
12235 2002-04-18 Roger Sayle <roger@eyesopen.com>
12236 Jakub Jelinek <jakub@redhat.com>
12238 * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
12239 for integer constant c (if x has unsigned type or sign bit is not
12240 set in c). This folds the zero/sign extension into the bit-wise and
12243 2002-04-18 Jakub Jelinek <jakub@redhat.com>
12246 * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
12249 2002-04-17 NIIBE Yutaka <gniibe@m17n.org>
12251 * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
12253 2002-04-17 Nick Clifton <nickc@cambridge.redhat.com>
12255 * gcc.c (read_specs): Detect and fail if an attempt is made to
12256 rename a spec string to an already existing string.
12258 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
12260 * config/s390/s390.c (legitimize_pic_address): Do not generate
12261 illegal address constant without CONST.
12263 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12265 * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
12266 * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
12268 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
12270 PR optimization/6305
12271 * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
12272 to make sure previous reloads are taken into account. Generate
12273 better code if one operand is an in-range immediate constant.
12275 2002-04-16 Andrew Haley <aph@cambridge.redhat.com>
12277 * doc/install.texi (Building): libgcj requires GNU make.
12279 2002-04-17 Jakub Jelinek <jakub@redhat.com>
12282 * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
12283 even if hard quad and register is not floating.
12284 (movtf reg<-mem split): Disallow splitting if hard quad and
12285 register is floating.
12286 (movtf mem<-reg split): Likewise.
12287 * config/sparc/sparc.c (fp_register_operand): New predicate.
12288 * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
12290 2002-04-17 Zack Weinberg <zack@codesourcery.com>
12292 * Makefile.in (PROTO_OBJS): Add cppdefault.o.
12293 (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
12294 (unprotoize.o): Ditto. Build from protoize.c. Define
12295 UNPROTOIZE on command line.
12296 * protoize.c: Include cppdefault.h. Delete include_defaults.
12297 (in_system_include_dir): Use cpp_include_defaults (defined in
12299 * unprotoize.c: Delete file.
12301 2002-04-17 Aldy Hernandez <aldyh@redhat.com>
12303 * config/rs6000/altivec.h (vec_ld): Add array variants.
12307 2002-04-17 Alan Matsuoka <alanm@redhat.com>
12308 Aldy Hernandez <aldyh@redhat.com>
12310 * config/rs6000/altivec.h: Define __ALTIVEC__.
12315 (vec_vmaddfp): New.
12317 Add parentheses to all macro arguments.
12319 2002-04-16 Richard Henderson <rth@redhat.com>
12322 * except.c (remove_eh_handler): Insert inner regions at beginning
12323 of sibling chain. Refactor expressions.
12325 2002-04-16 Richard Henderson <rth@redhat.com>
12327 * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
12328 * config/sparc/sol2-gas-bi.h: New file.
12329 * config.gcc (sparc*-solaris): Add it as needed.
12330 * configure.in (AS_SPARC64_FLAG): Remove check.
12331 * config.in, configure: Regenerate.
12333 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
12335 2002-04-16 Richard Henderson <rth@redhat.com>
12337 * config/mips/mips.c (override_options): Don't override N32 for
12341 * config/mips/mips.md (can_delay): Split out of existing define_delays.
12342 (HILO_delay): Set can_delay false.
12344 2002-04-16 Dale Johannesen <dalej@apple.com>
12346 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
12347 instruction addresses.
12348 (rs6000_output_function_epilogue): Likewise.
12350 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
12352 * c-parse.in (poplevel, compstmt_start,
12353 compstmt_primary_start): Add ending ';', in accordance
12356 2002-04-16 Richard Henderson <rth@redhat.com>
12358 * config.gcc (sparcv9-solaris): Configure for 64-bit default.
12359 Adjust tm_file order to get TARGET_DEFAULT set properly.
12360 (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
12361 * doc/install.texi (sparc-solaris): Update.
12363 2002-04-16 Dale Johannesen <dalej@apple.com>
12365 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
12366 comparison operands do not match each other or if modes of
12367 conditions do not match result.
12369 2002-04-16 Hartmut Penner <hpenner@de.ibm.com>
12372 * config/s390/s390.md (mulsidi3): Set both subregs of the
12373 multiword register.
12375 2002-04-16 Aldy Hernandez <aldyh@redhat.com>
12377 * config/rs6000/altivec.h (vec_addc): Type check.
12379 2002-04-16 Jakub Jelinek <jakub@redhat.com>
12382 * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
12384 * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
12386 2002-04-15 Richard Henderson <rth@redhat.com>
12388 * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
12389 call_really_used_regs too.
12391 2002-04-15 Richard Henderson <rth@redhat.com>
12393 * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
12395 2002-04-15 David S. Miller <davem@redhat.com>
12397 * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
12398 as being CLOBBERed.
12400 2002-04-16 Jakub Jelinek <jakub@redhat.com>
12403 * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
12404 CONST_VECTOR is { 0, ... 0 }.
12406 2002-04-15 Loren J. Rittle <ljrittle@acm.org>
12408 * doc/install.texi (Installing GCC: Configuration): Clarify
12409 the only supported ways to configure gcc.
12411 2002-04-15 Roland McGrath <roland@frob.com>
12413 * config.gcc (alpha*-*-gnu*): New target configuration.
12414 * config/alpha/gnu.h: New file for it.
12415 * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
12417 2002-04-16 Mark Mitchell <mark@codesourcery.com>
12419 * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
12420 * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
12421 * tree.h (expand_start_stmt_expr): Update prototype.
12422 * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
12423 * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
12424 on the STMT_EXPR created for the inline function.
12426 2002-04-15 Richard Henderson <rth@redhat.com>
12428 * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
12429 config/i386/linux-aout.h, config/i386/linux-oldld.h,
12430 config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
12431 config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
12432 config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
12433 config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
12434 config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
12435 Define __gnu_linux__, not gnu_linux.
12436 * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
12438 2002-04-15 Mark Mitchell <mark@codesourcery.com>
12440 Remove Chill front end.
12441 * gcc.c (default_compilers): Remove Chill entries.
12442 * ch: Remove directory.
12443 * doc/frontends.texi: Remove information about Chill.
12444 * doc/sourcebuild.texi: Likewise.
12445 * doc/standards.texi: Likewise.
12447 2002-04-15 Douglas B Rupp <rupp@gnat.com>
12449 * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
12450 (LONGLONG_STANDALONE): Define.
12452 2002-04-15 David S. Miller <davem@redhat.com>
12454 * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
12455 Call emit_library_call with LCT_NORMAL.
12456 (sparc_initialize_trampoline): Use LCT_foo instead of
12457 magic constant in emit_library_call invocations.
12458 (sparc64_initialize_trampoline): Likewise.
12459 (sparc_profile_hook): Likewise.
12460 * config/sparc/sparc.md: Likewise.
12462 * config/sparc/sparc.c (sparc_extra_constraint_check):
12463 Fix type of argument 'c'.
12464 * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
12467 2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
12469 * diagnostic.h (output_buffer_state): Redefine.
12470 (output_format_decoder): New macro.
12471 (output_prefixing_rule): Likewise.
12472 (output_line_cutoff): Likewise.
12473 (diagnostic_format_decoder): Adjust.
12474 (diagnostic_prefixing_rule): Likewise.
12475 (diagnostic_line_cutoff): Likewise.
12476 (diagnostic_state): Likewise.
12477 (diagnostic_kind_count): Likewise.
12478 (diagnostic_buffer): Now a macro.
12480 * diagnostic.c (diagnostic_buffer): Remove definition.
12481 (output_is_line_wrapping): Adjust.
12482 (set_real_maximum_length): Likewise.
12483 (output_set_maximum_length): Likewise.
12484 (init_output_buffer): Likewise.
12485 (lhd_print_error_function): Likewise.
12486 (output_do_verbatim): Likewise.
12488 2002-04-14 Neil Booth <neil@daikokuya.demon.co.uk>
12490 * cpperror.c (print_location): Don't print include chain
12492 (cpp_begin_message): Update to use DL_ macros.
12493 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
12494 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
12495 cpp_notice, cpp_notice_from_errno): Remove.
12496 (cpp_error, cpp_error_with_line): Update to take a diagnostic
12499 * cppexp.c (CPP_ICE): Remove.
12500 (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
12501 lex, integer_overflow, _cpp_parse_expr): Update.
12502 * cppfiles.c (read_include_file, find_include_file,
12503 handle_missing_header, _cpp_read_file, remap_filename): Update.
12504 * cpphash.h (enum error_type): Remove.
12505 (_cpp_begin_message): Update.
12506 * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
12507 cpp_handle_option, cpp_post_options): Update.
12508 * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
12509 skip_whitespace, parse_identifier, parse_slow, parse_string,
12510 _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
12511 cpp_interpret_charconst): Update.
12512 * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
12513 lex_macro_node, do_undef, glue_header_name, parse_include,
12514 do_include_common, read_flag, do_line, do_linemarker, do_ident,
12515 cpp_register_pragma, do_pragma_once, do_pragma_system_header,
12516 do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
12517 do_elif, do_endif, parse_answer, parse_assertion, do_assert,
12518 _cpp_pop_buffer, do_diagnostic): Update.
12519 * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
12520 DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
12521 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
12522 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
12523 cpp_notice, cpp_notice_from_errno): Remove.
12524 (cpp_error, cpp_error_with_line): Update to take a diagnostic
12527 * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
12528 collect_args, enter_macro_context, save_parameter, parse_params,
12529 _cpp_create_definition, check_trad_stringification,
12530 cpp_macro_definition): Update.
12531 * cppmain.c (cpp_preprocess_file): Update.
12532 * fix-header.c (read_scan_file): Update.
12534 2002-04-14 Andreas Schwab <schwab@suse.de>
12536 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
12538 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
12540 * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
12542 2002-04-13 Mark Mitchell <mark@codesourcery.com>
12544 * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
12547 2002-04-13 Hans-Peter Nilsson <hp@axis.com>
12549 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
12551 2002-04-13 Joel Sherrill <joel@OARcorp.com>
12553 * config/sparc/t-elf: Enable v8 multilibs. Impacts
12554 sparc-elf and sparc-rtems targets.
12556 2002-04-13 Mark Mitchell <mark@codesourcery.com>
12558 * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
12559 defined, and __gnu_hurd__ wherever __GNU__ is defined.
12560 * arm/linux-elf.h: Likewise.
12561 * cris/aout.h: Likewise.
12562 * cris/linux.h: Likewise.
12563 * i370/linux.h: Likewise.
12564 * i386/gnu.h: Likewise.
12565 * i386/linux-aout.h: Likewise.
12566 * i386/linux-oldld.h: Likewise.
12567 * i386/linux.h: Likewise.
12568 * i386/linux64.h: Likewise.
12569 * ia64/linux.h: Likewise.
12570 * m68k/linux-aout.h: Likewise.
12571 * m68k/linux.h: Likewise.
12572 * mips/linux.h: Likewise.
12573 * pa/pa-linux.h: Likewise.
12574 * pj/linux.h: Likewise.
12575 * rs6000/sysv4.h: Likewise.
12576 * s390/linux.h: Likewise.
12577 * sh/linux.h: Likewise.
12578 * sparc/linux-aout.h: Likewise.
12579 * sparc/linux.h: Likewise.
12580 * sparc/linux64.h: Likewise.
12581 * xtensa/linux.h: Likewise.
12583 2002-04-13 Richard Sandiford <rsandifo@redhat.com>
12585 * stmt.c (check_unique_operand_names): Expect operand names to
12586 be strings rather than identifiers. Use simple_cst_equal to
12588 (resolve_operand_name_1): Make same identifier to string change here.
12589 * c-parse.in (asm_operand): Convert a named operand into a string.
12590 * cp/parse.y (asm_operand): Likewise.
12592 2002-04-13 Andreas Schwab <schwab@suse.de>
12594 * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
12596 2002-04-12 Mark Mitchell <mark@codesourcery.com>
12598 Revert these changes:
12600 2002-04-06 Mark Mitchell <mark@codesourcery.com>
12603 * stor-layout.c (layout_decl): Reset the RTL for the decl.
12605 2002-04-12 Richard Henderson <rth@redhat.com>
12607 * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
12608 (sparc*-*-solaris): Clean up header files.
12609 * configure.in (AS_SPARC64_FLAG): Error out if can't find it
12610 and plan on generating 64-bit code.
12611 * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
12612 * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
12613 * config/sparc/sol2-sld-64.h: Rename ...
12614 * config/sparc/sol2-bi.h: ... here. Remove the bits that checked
12615 for AS_SPARC64_FLAG not defined.
12616 * config/sparc/sol2-gld-bi.h: New.
12617 * config/sparc/sol2-sld.h: Remove.
12618 * config/sparc/sol26-sld.h: New.
12619 * config/sparc/sol2.h: Tidy comments.
12620 * doc/install.texi: Document sparc-solaris configury changes.
12622 2002-04-12 Richard Henderson <rth@redhat.com>
12624 * recog.c (offsettable_address_p): Match the logic in adjust_address.
12626 * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
12627 in 64-bit mode only. Use only for 32-bit or MEDLOW.
12629 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12631 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
12633 Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com)
12635 * pa.c (pa_can_combine_p): Call extract_insn before calling
12636 constrain_operands.
12638 2002-04-12 Douglas B Rupp <rupp@gnat.com>
12640 * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
12641 (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
12642 (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
12643 (CPP_PREDEFINES): Handle __declspec.
12644 * config/i386/t-interix (USER_H): Remove.
12646 2002-04-12 DJ Delorie <dj@redhat.com>
12648 * integrate.c (compare_blocks): Make comparisons safe for when
12649 sizeof(int) < sizeof(char *).
12650 (find_block): Likewise.
12652 2002-04-12 Jan Hubicka <jh@suse.cz>
12653 David Edelsohn <edelsohn@gnu.org>
12655 * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
12657 (symbol_ref_operand): New.
12658 * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
12659 * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
12661 2002-04-12 Andreas Schwab <schwab@suse.de>
12663 * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
12664 * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
12665 overrides the definition in config/svr4.h.
12667 2002-04-12 Eric Norum <eric.norum@usask.ca>
12669 * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
12670 config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
12671 config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
12672 config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
12673 config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
12674 config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
12675 config/v850/rtems.h (*-rtems*): Cleanup pass to move common
12676 definitions to config/rtems.h and make the targets more similar.
12678 Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12680 * expr.c (expand_assigment): Remove duplicate conversions #ifdef
12681 POINTERS_EXTEND_UNSIGNED.
12682 (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
12683 (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
12685 * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
12688 Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
12690 * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
12691 depends on TARGET_SHMEDIA, not TARGET_SH5.
12693 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com>
12695 * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
12696 For paradoxical (subreg VAR), replace VAR, don't try the subreg.
12698 Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
12700 * sh.c (broken_move): Constant 0. / 1. load is OK if there is
12703 2002-04-12 Andreas Schwab <schwab@suse.de>
12705 * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
12707 2002-04-12 Richard Henderson <rth@redhat.com>
12710 * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
12712 * flow.c (mark_used_reg): Manage reg_cond_dead properly for
12713 modes spanning multiple hard regs.
12715 * recog.c (peephole2_optimize): Rebuild jump labels as needed.
12717 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
12719 * pa.c (pa_output_function_prologue): Don't accumulate the total
12720 number of code bytes when using TARGET_64BIT, or gas, SOM and not
12721 the portable runtime.
12722 (output_deferred_plabels): Handle 64bit plabels.
12723 (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
12724 generating pic code using the GAS assembler for object formats that
12725 are not SOM (ie., ELF32 and ELF64).
12726 (output_millicode_call): Check attribute type if attribute length is 28.
12727 Likewise use $PIC_pcrel$0. Only call get_attr_length and
12728 dbr_sequence_length once.
12729 (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
12730 dbr_sequence_length once.
12731 * pa.h (TARGET_SOM): Define if not defined.
12732 * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
12733 with GAS and not SOM.
12734 (jump, call_internal_reg, call_value_internal_reg): Likewise.
12735 * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining.
12737 2002-04-11 David O'Brien <obrien@FreeBSD.org>
12739 * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
12740 (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
12741 (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
12742 DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
12743 elfos.h and dbxelf.h values are fine now.
12744 * config/i386/freebsd.h, config/alpha/freebsd.h
12745 (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
12747 2002-04-11 David O'Brien <obrien@FreeBSD.org>
12749 * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
12750 or set Acpu or Amachine. Reformat.
12751 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
12753 (LINK_SPEC): Do not need to undef.
12754 * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
12755 * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
12756 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
12758 * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
12759 (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
12760 (LINK_SPEC): Do not need to undef.
12761 (DONT_USE_BUILTIN_SETJMP): Do not define.
12762 * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
12763 (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64.
12764 (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
12765 Remove trailing spaces.
12766 * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
12767 __ELF__, or set Acpu or Amachine. Reformat.
12768 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
12771 2002-04-11 David O'Brien <obrien@FreeBSD.org>
12773 * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
12774 all other *-*-freebsd* targets.
12776 2002-04-11 Richard Henderson <rth@redhat.com>
12778 * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
12780 2002-04-11 David O'Brien <obrien@FreeBSD.org>
12782 * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
12783 Include {cpu}/{cpu}.h thru tm_file.
12784 (alpha*-*-linux*ecoff): Remove target.
12785 * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
12786 (LINK_SPEC): Remove, is not OS independent.
12787 * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
12788 (LINK_SPEC): Do not need to #undef any longer.
12789 * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
12791 * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
12793 (LINK_SPEC): Moved here from alpha/elf.h.
12794 * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
12795 SUB_CPP_PREDEFINES.
12796 * config/alpha/linux-ecoff.h: Remove.
12797 * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
12798 (CPP_SPEC): Define _POSIX_SOURCE as needed.
12799 (CPP_SUBTARGET_SPEC): Do not define.
12800 (LINK_SPEC): Do not need to #undef any longer.
12801 * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
12802 * config/alpha/vms.h: Likewise.
12804 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
12806 * doc/extend.texi: Remove old claim that typedefs cannot have
12807 an alignment attribute.
12809 2002-04-11 Jakub Jelinek <jakub@redhat.com>
12811 PR optimization/6177
12812 * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
12813 bitpos is 0 and bitsize CONCAT size.
12815 2002-04-11 Jakub Jelinek <jakub@redhat.com>
12818 * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
12820 2002-04-10 David O'Brien <obrien@FreeBSD.org>
12822 * config/alpha/freebsd.h: Minor reformatting.
12823 (CPP_SPEC): Define ELF and add cpp_subtarget.
12824 (ASM_SPEC): No longer needed.
12826 2002-04-11 Richard Henderson <rth@redhat.com>
12828 * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
12829 (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory.
12830 (dimode mem/zero splitter): New.
12832 2002-04-11 Hans-Peter Nilsson <hp@axis.com>
12834 * config/cris/cris.c (cris_override_options): Tweak error message
12835 for PIC not implemented.
12837 * config/cris/cris.h: Tweak comments related to parameter-passing.
12839 * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
12841 2002-04-10 Richard Henderson <rth@redhat.com>
12843 * except.c (add_ehl_entry): Allow duplicates after landing pad
12846 2002-04-10 David Edelsohn <edelsohn@gnu.org>
12848 * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
12850 2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl>
12852 * c-decl.c (c_init_decl_processing): Move generation of
12853 decls for g77_integer_type_node and friends from here ...
12854 * c-common.c (c_common_nodes_and_builtins): ... to here.
12856 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com>
12858 * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
12859 is only used as frame pointer when frame_pointer_needed is true.
12861 2002-04-10 Richard Earnshaw <rearnsha@arm.com>
12864 * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
12865 for the fact that the pool entry uses two words.
12866 (movdf_hard_insn): Similarly. Also, ADR instruction can span
12868 (movdf_soft_insn): Similarly.
12869 (movxf_hard_insn): Adjust neg_pool_range attribute to allow
12870 for the fact that the pool entry uses three words.
12872 2002-04-10 Richard Sandiford <rsandifo@redhat.com>
12874 * config/mips/mips.c (mips_va_arg): When using the struct version
12875 of the EABI va_list, allow arguments in the register save area to
12876 take up less room than a stack argument.
12878 2002-04-10 Richard Henderson <rth@redhat.com>
12880 * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
12881 if EXPAND_INITIALIZER.
12883 2002-04-09 Richard Henderson <rth@redhat.com>
12885 * config/alpha/alpha.md (movdi_er_maybe_g): New.
12886 * config/alpha/alpha.c (alpha_expand_mov): Use it.
12888 2002-04-10 Alan Modra <amodra@bigpond.net.au>
12890 PR optimization/6233
12891 * rtlanal.c (pure_call_p): New function.
12892 * rtl.h (pure_call_p): Declare.
12893 * loop.c (prescan_loop): Use it to set has_nonconst_call.
12894 * gcse.c (store_killed_in_insn): Use pure_call_p here too.
12896 2002-04-09 Eric Christopher <echristo@redhat.com>
12898 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
12899 information to .comm directive.
12901 2002-04-09 Richard Henderson <rth@redhat.com>
12904 * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
12906 2002-04-09 Richard Henderson <rth@redhat.com>
12908 * basic-block.h (flow_delete_block_noexpunge): Declare.
12909 (expunge_block_nocompact): Declare.
12910 * cfg.c (expunge_block_nocompact): Split out from ...
12911 (expunge_block): ... here.
12912 * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
12913 (flow_delete_block_noexpunge): Split out from ...
12914 (flow_delete_block): ... here.
12915 * cfgcleanup.c (delete_unreachable_blocks): Compact while
12916 removing dead blocks.
12917 * except.c (exception_handler_labels): Remove.
12918 (exception_handler_label_map): New.
12919 (struct eh_region): Add aka member.
12920 (mark_ehl_map_entry, mark_ehl_map, free_region): New.
12921 (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
12922 (for_each_eh_label, for_each_eh_label_1): New.
12923 (init_eh): Register exception_handler_label_map.
12924 (free_eh_status): Use free_region.
12925 (find_exception_handler_labels): Use the map, not the list.
12926 (remove_exception_handler_label): Likewise.
12927 (maybe_remove_eh_handler): Likewise.
12928 (remove_eh_handler): Use the region aka bitmap.
12929 * except.h (exception_handler_labels): Remove.
12930 (for_each_eh_label): Declare.
12931 * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
12932 * loop.c (invalidate_loops_containing_label): New.
12933 (find_and_verify_loops): Use it. Use for_each_eh_label.
12934 * sched-rgn.c (is_cfg_nonregular): Use
12935 current_function_has_exception_handlers.
12937 2002-04-09 Richard Henderson <rth@redhat.com>
12939 * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
12940 sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
12941 Do not return changed status.
12942 (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
12943 sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
12944 New functions that do return changed status.
12945 * sbitmap.h: Update decls.
12946 * gcse.c, lcm.c: Use _cg functions as needed.
12948 Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
12950 * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
12951 (sh64-*-elf*, sh-*-rtemself*): Likewise.
12952 * config/sh/embed_bb.c: New file.
12953 * config/sh/embed-elf.h: New file.
12954 * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
12955 if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec.
12956 (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
12958 (SUBTARGET_CPP_PTR_SPEC): Don't define.
12959 (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
12960 Add subtarget_asm_endian_spec.
12961 (ASM_SPEC): Use subtarget_asm_endian_spec.
12962 (SUBTARGET_ASM_ENDIAN_SPEC): Define.
12963 (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
12964 (WCHAR_UNSIGNED): Define.
12965 (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
12966 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
12967 (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
12969 * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
12970 (sh_adjust_cost): Likewise.
12971 sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
12973 (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
12974 (WCHAR_TYPE_SIZE): Likewise.
12975 (ASM_SPEC): Use subtarget_asm_endian_spec.
12976 (SH_ELF_WCHAR_TYPE): #undef/ #define.
12977 (MAX_WCHAR_TYPE_SIZE): Don't #undef.
12978 * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
12979 (MAX_WCHAR_TYPE_SIZE): Don't #define .
12980 (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
12981 (USER_LABEL_PREFIX): Don't #undef /#define .
12982 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
12983 * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
12984 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
12985 (ASM_SPEC): Likewise.
12986 (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
12987 (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
12988 * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
12989 (LIB2FUNCS_EXTRA): Define.
12990 * t-sh64 (LIB2FUNCS_EXTRA): Define.
12991 * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
12992 (LIB1ASMFUNCS_CACHE): Define.
12993 (LIB2FUNCS_EXTRA): Redefine empty.
12995 2002-04-08 Richard Henderson <rth@redhat.com>
12997 * reorg.c (get_branch_condition): Use reversed_comparison_code.
12999 2002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13001 * config/m68hc11/larith.asm (__map_data_section): Fix condition
13002 and optimize for size.
13003 (__do_global_ctors): Fix pointer comparison.
13004 (__do_global_dtors): Likewise.
13006 2002-04-09 David S. Miller <davem@redhat.com>
13008 * config/sparc/sparc.c (sparc_extra_constraint_check): New
13009 function, implementing EXTRA_CONSTRAINTS. For memory constraints,
13010 allow reloading pseudos.
13011 * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
13012 * config/sparc/sparc-protos.h: Declare it.
13014 * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
13015 unsigned comparison warning.
13016 (output_restore_regs): Mark leaf_function as unused.
13018 Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13020 * expr.c (is_aligning_offset): New function.
13021 (expand_expr, case COMPONENT_EXPR): Call it.
13023 2002-04-08 David S. Miller <davem@redhat.com>
13026 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
13028 Make init_priority work on Sparc when using GNU ld.
13029 * config/sparc/linux.h, config/sparc/linux64.h,
13030 config/sparc/netbsd-elf.h, config/sparc/freebsd.h
13031 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
13032 * config/sparc/sol2-gld.h: New file to do the same.
13033 * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
13034 sparc/sol2-gld.h to tm_file.
13036 PR optimization/4328
13037 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
13038 * doc/md.texi: Document it.
13039 * config/sparc/sparc.md (movdi_insn_sp64_novis,
13040 movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
13041 movdf_insn_v9only_vis, movdf_insn_sp64_novis,
13042 movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
13043 * config/sparc/sparc.c (mem_min_alignment): Fix comment.
13045 2002-04-08 Andreas Jaeger <aj@suse.de>
13047 * stmt.c (expand_asm_operands): Revert last patch from Richard
13050 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13052 * doc/contrib.texi (Contributors): Add John David Anglin and Loren
13053 J. Rittle (the latter also to Testers). Update David O'Brien's entry.
13055 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13057 * doc/contrib.texi (Contributors): Add David O'Brien.
13059 2002-04-08 Alan Modra <amodra@bigpond.net.au>
13061 * configure.in (auto-build.h): Use target_alias and build_alias
13062 when running configure.
13063 (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
13064 (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
13065 * configure: Regenerate.
13067 2002-04-07 David S. Miller <davem@redhat.com>
13069 * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
13071 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
13074 * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
13075 generating 32-bit pic code.
13077 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
13079 * cppinit.c (cpp_create_reader): Initialize
13080 discard_comments_in_macro_exp.
13081 (COMMAND_LINE_OPTIONS): Add "-CC" option.
13082 (cpp_handle_option): Handle "-CC" option.
13083 * cpplex.c (save_comment): If saving a C++ comment in
13084 a directive, convert it to a C comment.
13085 (_cpp_lex_direct): Pass second comment start character to
13086 save_comment to indicate comment type.
13087 * cpplib.c (_cpp_handle_directive): If processing
13088 a "#define" directive and discard_comments_in_macro_exp
13089 is false, re-enable saving of comments.
13090 (lex_macro_node): If discard_comments_in_macro_exp is false,
13091 discard any comments before the macro identifier.
13092 * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
13094 * cppmacro.c (cpp_get_token): If expanding a macro while
13095 processing a directive, discard any comments we might encounter.
13096 (parse_params): If discard_comments_in_macro_exp is false,
13097 ignore comments in the macro parameter list.
13098 * gcc.c (cpp_unique_options): Add "-CC" option.
13099 (option_map): Map "--comments-in-macros" to "-CC".
13100 * doc/cppopts.texi: Document "-CC" option.
13101 * f/lang-specs.h: Add "-CC" option.
13102 * testsuite/gcc.dg/cpp/maccom1.c: New test.
13103 * testsuite/gcc.dg/cpp/maccom2.c: New test.
13104 * testsuite/gcc.dg/cpp/maccom3.c: New test.
13105 * testsuite/gcc.dg/cpp/maccom4.c: New test.
13106 * testsuite/gcc.dg/cpp/maccom5.c: New test.
13107 * testsuite/gcc.dg/cpp/maccom6.c: New test.
13109 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
13112 * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
13114 2002-04-06 Mark Mitchell <mark@codesourcery.com>
13117 * stor-layout.c (layout_decl): Reset the RTL for the decl.
13120 * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
13121 RTX_UNCHANGING_P for the functions arguments when a tail call
13124 2002-04-06 Jason Merrill <jason@redhat.com>
13126 * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
13127 (parse_options_and_default_flags): Set them appropriately.
13128 * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
13130 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com>
13132 * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
13135 * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
13138 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
13139 types come in by-reference. Fix typo in comment.
13141 2002-04-05 David S. Miller <davem@redhat.com>
13143 * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
13144 * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
13145 sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
13146 {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
13148 2002-04-05 David S. Miller <davem@redhat.com>
13150 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
13151 are not going to emit return instructions, emit at least a nop
13152 for the sake of sane backtraces.
13154 2002-04-05 Richard Henderson <rth@redhat.com>
13156 * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
13158 2002-04-05 Jakub Jeilnek <jakub@redhat.com>
13160 * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
13162 2002-04-05 Alexandre Oliva <aoliva@redhat.com>
13164 * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
13165 ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
13166 ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
13168 2002-04-05 Andreas Schwab <schwab@suse.de>
13170 * c-convert.c: Include c-common.h.
13171 * Makefile.in (c-convert.o): Updated.
13173 2002-04-05 Jakub Jelinek <jakub@redhat.com>
13175 * mklibgcc.in: Use separate libgcc.map for each multilib.
13176 * Makefile.in (distclean): Don't remove libgcc.map here.
13178 2002-04-05 Jakub Jelinek <jakub@redhat.com>
13180 * Makefile.in (s-mlib): Handle --disable-multilib by separate
13181 genmultilib invocation.
13183 2002-04-04 Richard Sandiford <rsandifo@redhat.com>
13185 * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
13186 to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs
13187 to num_gprs for symmetry.
13188 * config/mips/mips.c: Adjust accordingly.
13190 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
13192 * c-common.c (truthvalue_conversion): Rename, update.
13193 * c-common.h (c_common_truthvalue_conversion): New.
13194 * c-convert.c (convert): Update.
13195 * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
13196 * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
13197 * c-typeck.c (build_binary_op, build_unary_op,
13198 build_conditional_expr): Update.
13199 * fold-const.c (constant_boolean_node, fold): Use langhook.
13200 * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
13201 * langhooks.h (struct lang_hooks): New hook.
13202 * stmt.c (expand_decl_cleanup): Use langhook.
13203 * tree.h (truthvalue_conversion): Remove.
13205 * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
13207 2002-04-05 Alan Modra <amodra@bigpond.net.au>
13209 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
13210 Add rules to make null object file.
13212 2002-04-04 Jim Blandy <jimb@redhat.com>
13214 * cppmacro.c (cpp_macro_definition): Do not emit spaces after
13215 macro formal parameter names.
13217 2002-04-04 David S. Miller <davem@redhat.com>
13219 * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
13221 2002-04-04 Richard Henderson <rth@redhat.com>
13224 * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
13225 Support copies into and out of memory. Don't accept allows_reg
13226 and allows_mem as gospel.
13228 2002-04-04 Richard Henderson <rth@redhat.com>
13231 * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
13232 (write_dependence_p): Likewise.
13234 2002-04-04 Richard Henderson <rth@redhat.com>
13236 * predict.c (estimate_bb_frequencies): Do frequency calculation
13237 with a volatile temporary.
13239 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com>
13241 * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
13243 2002-04-04 Jakub Jelinek <jakub@redhat.com>
13246 * final.c (final_start_function): Don't bump profile_label_no here...
13247 (final_end_function): ...but here.
13249 2002-04-04 Jakub Jelinek <jakub@redhat.com>
13251 * config/sparc/sparc.md (pic): New attribute.
13252 (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
13254 (split after do_builtin_setjmp_setup): New.
13256 2002-04-04 Jakub Jelinek <jakub@redhat.com>
13259 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
13262 2002-04-04 Jakub Jelinek <jakub@redhat.com>
13264 * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
13265 UNITS_PER_WORD for zero sized aggregates.
13267 2002-04-03 David S. Miller <davem@redhat.com>
13269 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
13270 one-character spec for this, just use %(link_gcc_c_sequence).
13272 2002-04-03 David S. Miller <davem@redhat.com>
13274 * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
13277 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13279 * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
13280 (DWARF_FRAME_RETURN_COLUMN): Move.
13281 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
13282 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
13283 * pa.c (except.h, predict.h): Include.
13285 (store_reg_modify, set_reg_plus_d): Revise prototypes.
13286 (output_ascii): Add cast.
13287 (store_reg_modify): Revise to add frame notes.
13288 (set_reg_plus_d): Likewise.
13289 (compute_frame_size): Include space for eh data registers in frame if
13290 the current function calls eh_return.
13291 (hppa_expand_prologue): Ensure register %r2 is saved if the current
13292 function calls eh_return. Save eh data registers if the current
13293 function calls eh_return. Fix code to add frame notes. Emit
13294 blockage to prevent insns with frame notes being scheduled in the
13295 delay slot of calls.
13296 (hppa_expand_epilogue): Restore eh data registers and do final stack
13297 adjustment if the current function calls eh_return. Don't add frame
13299 (output_call): Revise for change in length of call insn. Don't do
13300 return pointer adjustment for an unconditional jump in the delay slot
13301 of a call when using frame notes.
13302 * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
13303 (EH_RETURN_HANDLER_RTX): Use saved value on stack.
13304 (ARG_POINTER_CFA_OFFSET): Define.
13305 * pa.md (return_external_pic): New pattern.
13306 (prologue): Correct formatting. Use return_external_pic if current
13307 function calls eh_return.
13308 (call_internal_symref, call_value_internal_symref,
13309 sibcall_internal_symref, sibcall_value_internal_symref): Change default
13310 lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
13312 (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
13314 * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
13315 list of targets to check using "nop" insn.
13316 * configure: Rebuilt.
13318 2002-04-04 Alan Modra <amodra@bigpond.net.au>
13320 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
13322 2002-04-03 David S. Miller <davem@redhat.com>
13324 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
13325 library sequence passed to the linker.
13326 (LINK_COMMAND_SPEC): Use it.
13327 * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
13328 a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
13329 * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
13331 2002-04-03 Jason Merrill <jason@redhat.com>
13333 * except.c (struct eh_status): Remove protect_list.
13334 (begin_protect_partials, end_protect_partials): Remove.
13335 (add_partial_entry): Remove.
13336 * except.h: Remove prototypes.
13338 * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
13339 expand_decl_cleanup_eh.
13342 * tree.h (CLEANUP_EH_ONLY): New macro.
13343 * stmt.c (expand_decl_cleanup_eh): New fn.
13344 (expand_cleanups): Check CLEANUP_EH_ONLY.
13345 * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
13346 Use expand_decl_cleanup_eh.
13347 (expand_stmt): Adjust.
13348 * c-common.h: Adjust prototype.
13350 2002-04-04 Hans-Peter Nilsson <hp@axis.com>
13352 * config/cris/cris.c (cris_target_asm_function_prologue): Cast
13353 uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
13354 (cris_target_asm_function_epilogue): Ditto.
13355 (cris_initial_frame_pointer_offset): Ditto.
13356 (cris_simple_epilogue): Ditto.
13357 (cris_expand_builtin_va_arg): Variable-size types come in
13360 2002-04-03 David S. Miller <davem@redhat.com>
13362 * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
13364 (set_fast_math): Correct 'fsr' type.
13366 2002-04-03 Richard Henderson <rth@redhat.com>
13369 * langhooks.h (lang_hooks.decls.warn_unused_global): New.
13370 * toplev.c (check_global_declarations): Use it.
13371 * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
13372 (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
13373 (LANG_HOOKS_DECLS): Add it.
13374 * langhooks.c (lhd_warn_unused_global_decl): New.
13375 * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
13376 * c-objc-common.c (c_warn_unused_global_decl): New.
13377 * c-tree.h (c_warn_unused_global_decl): Declare.
13378 * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
13380 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk>
13382 * langhooks-def.h (lhd_set_decl_assembler_name,
13383 LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
13384 (LANG_HOOKS_INITIALIZER): Update.
13385 * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
13386 * langhooks.h (struct lang_hooks): New hook.
13387 * tree.c (set_decl_assembler_name): Move to langhooks.c.
13388 (lang_set_decl_assembler_name): Remove.
13389 (init_obstacks): Don't set hook.
13390 (decl_assembler_name): New function.
13391 * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
13392 (decl_assembler_name): New.
13393 (lang_set_decl_assembler_name): Remove.
13395 2002-04-03 Jakub Jelinek <jakub@redhat.com>
13397 * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
13398 works properly with .hidden symbols.
13399 * configure: Rebuilt.
13400 * config.in: Rebuilt.
13401 * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
13402 DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
13403 properly with .hidden symbols.
13405 2002-04-03 Jakub Jelinek <jakub@redhat.com>
13408 * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
13411 2002-04-03 Richard Henderson <rth@redhat.com>
13414 * sched-rgn.c (sets_likely_spilled): New.
13415 (sets_likely_spilled_1): New.
13416 (add_branch_dependences): Use it.
13418 2002-04-02 Richard Henderson <rth@redhat.com>
13421 * loop.h (LOOP_FIRST_PASS): New.
13422 * loop.c (strength_reduce): Mind it when deciding to unroll.
13423 * toplev.c (rest_of_compilation): Set it.
13425 2002-04-02 David S. Miller <davem@redhat.com>
13427 * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
13428 mems_ok_for_ldd_peep when the order of the loads being examined
13430 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
13431 existing comment to increase comprehension of this situation.
13433 2002-04-02 Zack Weinberg <zack@codesourcery.com>
13435 * config/sh/sh.md: Don't use union real_extract.
13437 2002-04-02 Richard Henderson <rth@redhat.com>
13439 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
13441 2002-04-02 David O'Brien <obrien@FreeBSD.org>
13443 * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
13444 i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
13445 i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
13446 i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
13447 i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
13448 i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
13449 i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
13450 i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
13451 i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
13452 i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
13453 i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
13454 i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
13455 i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
13456 i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
13457 Include as many configury headers via tm_file as possible. This
13458 includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
13459 * config/openbsd-oldgas.h: New file.
13460 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
13461 config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
13462 config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
13463 config/i386/i386-coff.h, config/i386/i386-interix.h,
13464 config/i386/iscdbx.h, config/i386/linux-aout.h,
13465 config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
13466 config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
13467 config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
13468 config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
13469 config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
13470 config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
13471 config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
13472 config/i386/vxi386.h: Do not directly include configury headers.
13473 * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
13474 Directly include configury headers that are no longer automatically
13475 included by the above headers.
13476 * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
13477 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
13478 config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
13479 config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
13480 config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
13481 config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
13482 config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
13483 (TARGET_VERSION): Define.
13484 * config/i386/beos-elf.h, config/i386/freebsd.h,
13485 config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
13486 config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
13487 config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
13488 config/i386/sco5.h, config/i386/sysv4.h
13489 (TARGET_VERSION): Do not need to protect.
13490 * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
13491 * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
13492 config/i386/freebsd-aout.h, config/i386/i386-aout.h,
13493 config/i386/i386-interix.h, config/i386/linux-aout.h,
13494 config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
13495 config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
13496 (YES_UNDERSCORES): Do not define - not needed.
13497 * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
13498 ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
13499 USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
13500 * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
13501 (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
13502 USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
13503 * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
13504 * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
13506 2002-04-02 Eric Botcazou <ebotcazou@multimania.com>
13507 Richard Henderson <rth@redhat.com>
13510 * function.c (assign_temp): Accept either type or decl argument.
13511 Detect variables whose size is too large to fit into an integer.
13512 * stmt.c (expand_decl): Pass the decl, not the type.
13514 2002-04-02 David O'Brien <obrien@FreeBSD.org>
13516 * protoize.c: Match include directory usage with cppdefault.c.
13518 2002-04-03 Jeffrey A Law (law@redhat.com)
13519 Hans-Peter Nilsson <hp@bitrange.com>
13521 * combine.c (simplify_comparison): Avoid narrowing a comparison
13522 with a paradoxical subreg when doing so would drop signficant bits.
13524 2002-04-02 Steve Ellcey <sje@cup.hp.com>
13526 * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
13527 if POINTERS_EXTEND_UNSIGNED is defined.
13529 2002-04-02 Richard Henderson <rth@redhat.com>
13532 * local-alloc.c (contains_replace_regs): LO_SUM may contain
13535 2002-04-02 Richard Henderson <rth@redhat.com>
13537 * doc/standards.texi: Document required freestanding libc entry points.
13539 2002-04-02 Alan Modra <amodra@bigpond.net.au>
13541 * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
13542 associated splitter. Remove MQ constraint.
13543 (ctrdi_internal4): Correct CCmode clobber.
13545 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
13547 * milli64.S ($$dyncall): New function.
13548 * t-linux (LIB1ASMFUNCS): Revise module list.
13549 (LIB1ASMSRC): Use pa/milli64.S.
13551 2002-04-02 Richard Henderson <rth@redhat.com>
13553 * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
13554 rename solaris_sys_varargs_h.
13556 Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13558 * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
13559 the same mode as its component.
13561 2002-04-02 Richard Henderson <rth@redhat.com>
13564 * final.c (this_is_asm_operands): Export.
13565 * output.h (this_is_asm_operands): Declare.
13566 * config/i386/i386.c (print_operand): Error odd asm operands.
13568 2002-04-02 Richard Henderson <rth@redhat.com>
13571 * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
13573 2002-04-01 Richard Henderson <rth@redhat.com>
13576 * fixinc/inclhack.def (solaris_sys_varargs_h): New.
13577 * fixinc/fixincl.x: Rebuild.
13579 2002-04-01 Richard Henderson <rth@redhat.com>
13581 * config/ia64/unwind-ia64.c: Include ia64intrin.h.
13582 (atomic_alloc, atomic_free): New.
13583 (SIZE, MASK_FOR, PTR_IN): New.
13584 (emergency_reg_state, emergency_reg_state_free): New.
13585 (emergency_labeled_state, emergency_labeled_state_free): New.
13586 (reg_state_alloced, labeled_state_alloced): New.
13587 (alloc_reg_state, free_reg_state): New.
13588 (alloc_label_state, free_label_state, free_label_states): New.
13589 (push, pop, dup_state_stack, free_state_stack): Use them.
13590 (desc_label_state): Likewise.
13591 (uw_frame_state_for): Free label states and state stack.
13592 (uw_update_reg_address): Eliminate warnings.
13594 2002-04-01 Vladimir Makarov <vmakarov@redhat.com>
13596 * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
13597 ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
13599 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
13601 * c-decl.c (grokdeclarator): Update.
13602 * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
13603 * c-tree.h (c_mark_addressable): New.
13604 * c-typeck.c (default_function_array_conversion, build_unary_op,
13605 build_array_ref, convert_for_assignment): Update.
13606 (mark_addressable): Rename.
13607 * calls.c (try_to_integrate, expand_call): Use langhook.
13608 * expr.c (expand_expr): Use langhook.
13609 * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
13610 * langhooks.h (struct lang_hooks): New hook.
13611 * stmt.c (expand_asm_operands): Use langhook.
13612 * tree.h (mark_addressable): Remove.
13614 * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
13616 2002-04-01 Bob Wilson <bob.wilson@acm.org>
13618 * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
13619 in previous change.
13621 2002-04-01 Bob Wilson <bob.wilson@acm.org>
13623 * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
13624 for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
13626 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
13628 * c-common.c (unsigned_conversion_warning, convert_and_check,
13629 unsigned_type, signed_type, shorten_compare,
13630 c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
13631 (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
13632 * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
13634 * c-decl.c (grokdeclarator): Update.
13635 * c-format.c (check_format_types): Update.
13636 * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
13637 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
13638 * c-typeck.c (build_binary_op, convert_for_assignment): Update.
13639 * convert.c (convert_to_integer): Use new hooks.
13640 * expmed.c (make_tree): Use new hooks.
13641 * expr.c (store_expr): Use new hooks.
13642 * fold-const.c (operand_equal_for_comparison_p, build_range_check,
13643 all_ones_mask_p, unextend, fold): Use new hooks.
13644 * langhooks.h (struct lang_hooks_for_types): New hooks.
13645 * tree.h (signed_or_unsigned_type, signed_type,
13646 unsigned_type): Remove.
13648 * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
13649 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
13651 2002-03-31 Richard Henderson <rth@redhat.com>
13653 * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
13654 (desc_frgr_mem): Fix reference to f16-f31.
13656 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13658 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
13659 RTVEC_ELT): Const-ify.
13660 * varray.h (VARRAY_CHECK): Const-ify.
13661 * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
13662 ggc_mark_rtvec, ggc_mark): Const-ify.
13664 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
13666 * diagnostic.c: Include langhooks-def.h.
13667 * Makefile.in (diagnostic.o): Update.
13669 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
13671 * c-common.c (c_unsafe_for_reeval): Rename.
13672 * c-common.h (c_unsafe_for_reeval): Rename.
13673 * c-decl.c (finish_incomplete_decl): Rename.
13674 (c_init_decl_processing): Don't set langhook.
13675 * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
13676 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
13677 * c-objc-common.c (c_objc_common_init): Don't set langhook.
13678 * c-tree.h (finish_incomplete_decl): Rename.
13679 * langhooks-def.h (lhd_unsafe_for_reeval): New.
13680 (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
13681 (LANG_HOOKS_INITIALIZER): Update.
13682 * langhooks.c (lhd_unsafe_For_reeval): New.
13683 * langhooks.h (struct langhooks): New hooks.
13684 * toplev.c (incomplete_decl_finalize_hook): Remove.
13685 (wrapup_global_declarations): Update.
13686 * tree.c (lang_unsafe_for_reeval): Remove.
13687 (unsafe_for_reeval): Update.
13688 * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
13691 * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
13692 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
13694 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
13696 * diagnostic.c (print_error_function): Remove.
13697 (default_print_error_function): Rename.
13698 (report_error_function): Update.
13699 * diagnostic.h (print_error_function): Remove.
13700 (default_print_error_function): Remove.
13701 * langhooks-def.h (struct diagnostic_context): Predeclare.
13702 (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
13703 (LANG_HOOKS_INITIALIZER): Update.
13704 * langhooks.h (struct diagnostic context): Predeclare.
13705 (struct lang_hooks): New hook.
13707 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13709 * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
13710 (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
13712 (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
13713 * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
13714 of PIC_OFFSET_TABLE_REGNUM thruout.
13715 * config/rs6000/rs6000.md: Likewise.
13716 * config/rs6000/darwin.h: Likewise.
13718 Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13720 * emit-rtl.c (adjust_address_1, offset_address): Cast value to
13721 unsigned HOST_WIDE_INT, not unsigned int.
13723 2002-03-31 Jakub Jelinek <jakub@redhat.com>
13725 PR middle-end/6096, middle-end/6098, middle-end/6099
13726 * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
13728 (fill_slots_from_thread): Likewise.
13730 2002-03-31 Jakub Jelinek <jakub@redhat.com>
13732 * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
13733 floating fields in float regs.
13734 (function_arg_record_value_2): Likewise.
13736 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
13738 * config/mmix/mmix.md (define_constants): Remove misleading
13739 FIXME. Add MMIX_fp_rO_OFFSET.
13740 ("nonlocal_goto_receiver"): Don't have stack-frame address of
13741 saved rO as part of the pattern. Remove FIXME.
13742 ("*nonlocal_goto_receiver_expanded"): Similar. Generate address
13743 here, at output-time.
13745 2002-03-31 Jakub Jelinek <jakub@redhat.com>
13748 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
13750 (output_v9branch): Likewise.
13752 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
13754 * gcc.c: Revert previous patch for now.
13755 * config/i386/djgpp.h: Likewise.
13757 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
13759 * config/mmix/crti.asm (_init): Register _fini with atexit.
13760 * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
13762 2002-03-31 Richard Henderson <rth@redhat.com>
13765 * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
13766 (ASM_OUTPUT_DEF_FROM_DECLS): New.
13768 2002-03-31 Richard Henderson <rth@redhat.com>
13770 * libgcc2.c (__bb_exit_func): Make static.
13772 * config/alpha/alpha.md (trap): New.
13774 2002-03-31 Richard Henderson <rth@redhat.com>
13776 * builtins.c (expand_builtin_va_arg): Give warnings not errors for
13777 promoted argument types; build trap.
13778 (expand_builtin_trap): New.
13779 (expand_builtin): Use it.
13780 * stmt.c (expand_nl_goto_receivers): Likewise.
13781 * expr.h (expand_builtin_trap): Declare.
13782 * libfuncs.h (LTI_abort, abort_libfunc): New.
13783 * optabs.c (init_optabs): Init abort_libfunc.
13785 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
13787 * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
13788 (LINK_COMMAND_SPEC): ... from here.
13789 (init_gcc_specs): Duplicate it here too, omitting
13790 shared_name in the second copy.
13791 (init_spec): Test for duplicate
13792 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
13794 2002-03-30 David S. Miller <davem@redhat.com>
13796 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
13797 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
13799 2002-03-30 Roger Sayle <roger@eyesopen.com>
13800 Richard Henderson <rth@redhat.com>
13802 * regmove.c (combine_stack_adjustments_for_block): Avoid
13803 emitting a stack adjustment of zero bytes. Let delete_insn
13806 2002-03-30 Richard Henderson <rth@redhat.com>
13808 * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
13809 (sparc_emitting_epilogue): New.
13810 (leaf_label, output_return, sparc_return_peephole_ok): Remove.
13811 * config/sparc/sparc-protos.h: Update.
13812 * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
13813 (TARGET_SWITCHES): Update.
13814 * config/sparc/sparc.md (return): Remove.
13815 (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
13816 * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
13817 config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
13818 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
13819 config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
13820 config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
13821 config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
13822 Remove MASK_EPILOGUE.
13823 * doc/invoke.texi: Update.
13825 2002-03-30 Daniel Berlin <dan@dberlin.org>
13827 * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
13828 CPP will start the file for us.
13830 2002-03-30 Richard Henderson <rth@redhat.com>
13833 * config/ia64/ia64.c (group_barrier_needed_p): Special case
13834 prologue_allocate_stack.
13835 (ia64_single_set): Use insn codes for recognition of special
13836 cases, not rtl matching.
13837 * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
13839 Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz>
13841 * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
13843 2002-03-30 Richard Henderson <rth@redhat.com>
13846 * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
13847 or -fomit-frame-pointer with profiling.
13848 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
13849 (FUNCTION_PROFILER): Do nothing.
13850 (PROFILE_HOOK): New.
13851 * config/sparc/sparc.c (sparc_override_options): Don't check
13852 code models for profiling.
13853 (sparc_function_profiler): Remove.
13854 (sparc_profile_hook): New.
13855 * config/sparc/sparc-protos.h: Update.
13857 2002-03-30 Jakub Jelinek <jakub@redhat.com>
13859 PR optimization/6086
13860 * combine.c (combine_simplify_rtx): If simplify_rtx failed because
13861 of SUBREG of volatile MEM or because the MEM was mode dependent,
13862 return CLOBBER instead of unmodified SUBREG.
13864 Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
13866 * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
13867 when not optimizing.
13869 * toplev.c (rest_of_compilation): Cann mark_constant_function
13870 only when optimizing.
13872 * flow.c (calculate_global_regs_live): Ensure that all AUX fields
13875 * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
13876 (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
13877 (try_optimize_cfg): clear all AUX fields.
13879 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
13880 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
13881 (ix86_address_cost): Be prepared for SUBREGed registers.
13882 (legitimate_address_p): Accept SUBREGed registers.
13884 2002-03-29 Richard Henderson <rth@redhat.com>
13887 * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
13889 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13891 * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
13892 for aggregate and TFmode types.
13894 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
13896 * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
13898 2002-03-29 Richard Henderson <rth@redhat.com>
13901 * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
13902 * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
13904 2002-03-29 Richard Henderson <rth@redhat.com>
13907 * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
13908 (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
13909 * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
13910 * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
13912 * docs/invoke.texi: Update -mno-fancy-math-387 docs.
13914 2002-03-29 Dale Johannesen <dalej@apple.com>
13916 * loop.c (combine_movables): Do allow combination of pseudos.
13918 2002-03-29 Loren J. Rittle <ljrittle@acm.org>
13920 * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
13921 * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
13922 No functional change except ...
13923 * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
13924 * doc/install.texi (*-*-freebsd*): Document port configuration.
13926 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
13928 * Makefile.in (convert.o, calls.o, expmed.o): Update.
13929 * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
13931 * builtin-types.def (BT_PTRMODE): Update.
13932 * c-common.c (type_for_size): Rename c_common_type_for_size.
13933 (type_for_mode): Similarly.
13934 (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
13936 * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
13937 * c-decl.c (finish_enum, build_enumerator): Use new hooks.
13938 * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
13940 * c-typeck.c (common_type, comptypes, default_conversion):
13942 * calls.c: Include langhooks.h.
13943 (emit_library_call_value_1): Use new hooks. Avoid redundant
13945 * convert.c: Include langhooks.h
13946 (convert_to_pointer, convert_to_integer): Use new hooks.
13947 * except.c (init_eh): Similarly.
13948 * expmed.c: Include langhooks.h.
13949 (expand_mult_add): Use new hooks.
13950 * expr.c (store_expr, store_constructor, expand_expr, do_jump,
13951 try_casesi): Similarly.
13952 * fold-const.c (optimize_bit_field_compare, make_range,
13953 decode_field_reference, fold_truthop, fold): Similarly.
13954 * function.c (assign_stack_local_1, assign_stack_temp_for_type,
13955 put_var_into_stack): Similarly.
13956 * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
13957 LANG_HOOKS_TYPE_FOR_SIZE): New.
13958 (LANG_HOOKS_TYPES_INITIALIZER): Update.
13959 * langhooks.h (lang_hooks_for_types): New hooks.
13960 * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
13961 * tree.c (get_unwidened, get_narrower): Similarly.
13962 * tree.h (type_for_mode, type_for_size): Remove.
13963 * varasm.c (force_const_mem): Use new hooks.
13964 * utils2.c (nonbinary_modular_operation): Update.
13966 * objc-act.c (handle_impent): Update.
13967 * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
13970 2002-03-29 Steve Ellcey <sje@cup.hp.com>
13972 * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
13973 * config/ia64/ia64.c (basereg_operand): New.
13974 * config/ia64/ia64-protos.h (basereg_operand): Declare.
13975 * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
13977 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
13979 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
13980 unwind information when frame_pointer_needed.
13981 (mmix_assemble_integer): Tweak wording in comment.
13983 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
13985 * Makefile.in (except.o): Update.
13986 * except.c: Include langhooks.h.
13987 (init_eh): Use langhook.
13988 * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
13989 LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
13990 (LANG_HOOKS_INITIALIZER): Update.
13991 * langhooks.h (lang_hooks_for_types): New.
13992 (struct lang_hooks): Add it.
13993 * tree.c (make_lang_type_fn, make_lang_type): Remove.
13994 * tree.h (make_lang_type_fn, make_lang_type): Remove.
13996 * alpha/alpha.c: Include langhooks.h.
13997 (alpha_build_va_list): Use langhook.
13998 * d30v/d30v.c: Include langhooks.h.
13999 (d30v_build_va_list): Use langhook.
14000 * i386/i386.c: Include langhooks.h.
14001 (ix86_build_va_list): Use langhook.
14002 * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
14003 * s390/s390.c: Include langhooks.h.
14004 (s390_build_va_list): Use langhook.
14005 * stormy16/stormy16.c: Include langhooks.h.
14006 (stormy16_build_va_list): Use langhook.
14008 2002-03-29 Jakub Jelinek <jakub@redhat.com>
14011 * config/sparc/sparc.md (empty_delay_slot, branch_type): New
14013 (length): Compute variable length for branches/calls/jumps here.
14014 (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
14015 normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
14016 define branch_type attribute.
14017 (divsi3_sp32): Maximum length is 6 not 7.
14018 (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
14019 call_address_untyped_struct_value_sp32,
14020 call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
14021 * config/sparc/sparc.c (empty_delay_slot): New function.
14022 * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
14023 * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
14025 2002-03-29 Jakub Jelinek <jakub@redhat.com>
14027 * combine.c (set_nonzero_bits_and_sign_copies): Don't call
14028 nonzero_bits if not needed.
14029 (nonzero_bits) [XOR]: Likewise.
14030 (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
14031 reg_last_set_mode and mode are both MODE_INT, but not equal.
14032 (record_value_for_reg): Compute reg_last_set_nonzero_bits
14033 in nonzero_bits_mode for MODE_INT modes.
14035 2002-03-28 Richard Henderson <rth@redhat.com>
14038 * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
14039 to GAS. Correct drift between alternatives.
14041 2002-03-28 Richard Henderson <rth@redhat.com>
14044 * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
14046 2002-03-28 Alexandre Oliva <aoliva@redhat.com>
14048 * config/i386/freebsd.h (LINK_SPEC): Don't pass default
14049 emulation to the linker.
14051 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
14053 * config/alpha/freebsd.h (LINK_SPEC): Likewise.
14054 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
14056 Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com)
14058 * combine.c (simplify_and_const_int): Make sure to apply mask
14059 when force_to_mode returns a constant integer. PR3311.
14061 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
14063 * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
14065 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14067 * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
14068 and Objective-C Dialect Options.
14070 2002-03-28 Richard Henderson <rth@redhat.com>
14072 * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
14073 comparison should be done vs !=0 not >0 return code. Tidy cases.
14075 2002-03-28 Richard Henderson <rth@redhat.com>
14077 * c-decl.c (finish_function): New arg can_defer_p. Pass it
14078 on to c_expand_body.
14079 * c-tree.h (finish_function): Update decl.
14080 * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
14082 Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz>
14084 * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
14086 Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz>
14088 * rtlanal.c: Include flags.h
14089 (may_trap_p): Do not mark FP operations if trapping
14090 if !flag_trapping_math
14091 * Makefile.in (rtlanal.o): Add dependency on flag.h
14092 * ifcvt.c (noce_operand_ok): Avoid the lameness.
14094 2002-03-27 Zack Weinberg <zack@codesourcery.com>
14096 * mips.md: Use dconst1, not 1.0, as first argument of
14097 REAL_VALUE_LDEXP. Don't use union real_extract.
14099 2002-03-28 Alan Modra <amodra@bigpond.net.au>
14101 * configure.in (gcc_cv_as): Use $target_alias in directory searchs
14102 rather than $target. Heed program_prefix and
14103 program_transform_name. Search for gas in cross-compiler case too.
14104 "test -x" rather than "test -f".
14105 (gcc_cv_ld): Likewise.
14106 (gcc_cv_nm): Heed program_prefix and program_transform_name.
14107 (gcc_cv_objdump): Likewise.
14108 * configure: Regenerate.
14110 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
14112 * Makefile.in (attribs.o): Update.
14113 * attribs.c: Include langhooks.h.
14114 (decl_attributes): Use langhook.
14115 * c-decl.c (insert_default_attributes): Rename.
14116 * c-tree.h (c_insert_default_attributes): New.
14117 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
14118 (LANG_HOOKS_INITIALIZER): Update.
14119 * langhooks.h (struct lang_hooks): New hook.
14120 * tree.h (insert_default_attributes): Remove.
14122 * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
14124 2002-03-27 Andreas Schwab <schwab@suse.de>
14126 * config/i386/i386.c (classify_argument): Also check for
14129 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14131 * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
14134 Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz>
14136 * i960.md (ret): Set PC.
14137 (nonlocal_goto): Fix expander.
14138 * builtins.c (epxand_builin_longjmp): Check that we've emitted
14141 Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz>
14143 * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
14144 of libcall regions.
14146 Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
14148 * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
14149 assigning to BLOCK_FOR_INSN directly.
14151 Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz>
14153 * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
14155 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
14157 * c-common.c (c_expand_expr): Fix prototype.
14158 * c-common.h (c_expand_expr): Always declare, update.
14159 * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
14160 * c-objc-common.c (c_objc_common_init): No global hook.
14161 * expr.c (expand_expr): Use langhook.
14162 * expr.h (enum expand_modifier): Conditionally declare.
14163 * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
14164 (LANG_HOOKS_INITIALIZER): Update.
14165 * langhooks.c (lhd_expand_expr): New.
14166 * langhooks.h (struct lang_hooks): New hook.
14167 * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
14168 (lang_independent_init): Don't default hook.
14170 * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
14172 2002-03-27 Richard Henderson <rth@redhat.com>
14175 * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
14176 TARGET_CONST_GP. Simplify conditions.
14178 2002-03-27 Richard Henderson <rth@redhat.com>
14180 * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
14181 config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
14182 config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
14184 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net>
14186 * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
14187 TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
14188 (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
14189 Remove unnecessary masks.
14190 (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
14191 (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
14192 -mwindows, -mdll switches and their negations.
14194 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
14196 * gcc-common.c (lang_mark_false_label_stack): Remove.
14197 * ggc.h (lang_mark_false_label_stack): Similarly.
14199 2002-03-26 Vladimir Makarov <vmakarov@redhat.com>
14201 * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
14203 * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
14204 or __rtems_ is defined.
14206 2002-03-26 Richard Henderson <rth@redhat.com>
14208 * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
14209 if a non-trivial load was emitted.
14210 (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko
14211 in high+extra+low case.
14213 2002-03-26 Richard Henderson <rth@redhat.com>
14215 * config.gcc (sparc*-solaris): Use float_format=sparc.
14217 2002-03-26 Richard Henderson <rth@redhat.com>
14219 * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
14220 * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
14221 * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
14222 * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
14223 (WINT_TYPE_SIZE): Fix at 32.
14225 2002-03-26 Richard Henderson <rth@redhat.com>
14227 * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
14228 until after eh landing pad generation.
14229 * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
14230 * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
14232 2002-03-26 Richard Henderson <rth@redhat.com>
14234 * expr.h (ADD_PARM_SIZE): One more convert for INC.
14236 2002-03-26 Phil Edwards <pme@gcc.gnu.org>
14238 * gcc.c (cpp_options): Preserve relative ordering of -pedantic
14239 and warning switches.
14240 (cc1_options): Likewise.
14242 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
14244 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
14245 Restore more of the signal context. Set no_reg_stack_frame.
14246 * config/ia64/unwind-ia64.c (unw_state_record):
14247 Add no_reg_stack_frame, comments.
14248 (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
14249 (uw_update_context): Adjust bsp when unwinding from leaf,
14250 but not signal frame.
14252 2002-03-26 David Edelsohn <edelsohn@gnu.org>
14254 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
14256 2002-03-26 Bob Wilson <bob.wilson@acm.org>
14258 * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
14260 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
14263 * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
14264 "Add a pool_range attribute", which was lost during the ARM/Thumb
14267 2002-03-26 Bob Wilson <bob.wilson@acm.org>
14269 * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
14270 a register into the MAC16 accumulator.
14272 2002-03-26 Andrew Cagney <ac131313@redhat.com>
14274 * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
14275 (Warning Options): Document -Wswitch-enum.
14276 * toplev.c (W_options): Add -Wswitch-enum. Update comment on
14278 (warn_switch_enum): Define variables.
14279 * flags.h (warn_switch_enum): Declare variables.
14280 * stmt.c (expand_end_case_type): When warn_switch_enum /
14281 -Wswitch-enum, perform switch checks.
14284 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
14286 * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
14287 (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
14288 (reload_muladdsi_compare0_scratch): Delete.
14290 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
14292 * doc/install.texi (*-*-freebsd*): Update.
14294 2002-03-26 Richard Henderson <rth@redhat.com>
14296 * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
14297 (SUB_PARM_SIZE): Cast DEC to ssizetype.
14299 * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
14300 types from the normal argument frame.
14302 * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
14303 variable sized objects by reference.
14304 (sparc_va_arg): Receive them by reference too.
14306 2002-03-26 Hartmut Penner <hpenner@de.ibm.com>
14308 * config/s390/s390.c (s390_emit_epilogue): Change epilogue
14309 code to not restoring global registers.
14311 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
14313 * Makefile.in (ggc-common.o): Update.
14314 * c-decl.c (lang_mark_tree): Rename c_mark_tree.
14315 * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
14316 * c-tree.h (c_mark_tree): New.
14317 * ggc-common.c: Include langhooks.h.
14318 (gcc_mark_trees): Use new langhook.
14319 * ggc-callbacks.c: Delete file.
14320 * ggc.h (lang_mark_tree): Remove.
14321 * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
14322 (LANG_HOOKS_INITIALIZER): Update.
14323 * langhooks.h (struct lang_hooks): New hook.
14325 * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
14327 2002-03-25 Zack Weinberg <zack@codesourcery.com>
14329 * doc/cpp.texi: Exclude entire Top node from printed manual.
14330 Move option index after directive index. Insert page breaks
14331 before GFDL and concept index. Index environment variables
14332 with command line options.
14333 * doc/cppenv.texi: Use @vtable for environment variable list.
14334 Add paragraph explaining semantics of empty elements in path
14335 variables. Exclude a cross-reference to Fishkill from the
14336 manpage. Remove an unnecessary cross-reference of the entry
14337 right above the referer. Don't use @anchor in text that goes
14339 * doc/cppopts.texi: Cross-reference the environment variables
14340 section, not the specific environment variable, for consistency.
14342 2002-03-25 Richard Henderson <rth@redhat.com>
14344 * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
14345 anywhere in the block. Don't refer to insns that have been
14346 removed from the chain. Iterate backward through the new insns.
14347 Don't refer to edges that have been removed.
14349 2002-03-26 Alan Modra <amodra@bigpond.net.au>
14351 * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
14352 test for overflow of constant.
14354 2002-03-25 Richard Earnshaw <rearnsha@arm.com>
14357 * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
14358 (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
14359 these patterns on arm_archv4.
14361 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
14363 * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
14366 2002-03-25 Zack Weinberg <zack@codesourcery.com>
14368 * toplev.c: Don't include setjmp.h. Kill float_handler_set,
14369 float_handled, float_handler, float_signal, set_float_handler,
14370 and do_float_handler. Set handler for SIGFPE to crash_signal.
14371 * toplev.h: Don't prototype do_float_handler.
14373 * c-lex.c: Fold parse_float into lex_number. Make warning
14374 about portability of hex float constants more informative, and
14375 don't issue it on top of a syntax error.
14376 * fold-const.c: Fold const_binop_1 and fold_convert_1 into
14378 * real.h: Define REAL_VALUE_ABS here...
14379 * simplify-rtx.c: ... not here. Fold check_fold_consts,
14380 simplify_unary_real, simplify_binary_real, and
14381 simplify_binary_is2orm1 into their callers.
14382 * tree.c: Fold build_real_from_int_cst_1 into caller.
14384 * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
14386 * tsystem.h: Include float.h here...
14387 * libgcc2.c: ... not here.
14389 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com>
14391 Fixes for: PR bootstrap/3591, target/5676
14392 * config/mcore/mcore.h (CC1_SPEC): Define only if not already
14393 defined. Do not disable exceptions or rtti.
14394 * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
14395 mcore.h. Disable exceptions and rtti, since they are not
14398 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
14400 * c-decl.c (maybe_build_cleanup): Remove.
14401 * expr.c (expand_expr): Use langhook.
14402 * langhooks-def.h (lhd_return_null_tree,
14403 LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
14404 (LANGHOOKS_INITIALIZER): Update.
14405 * langhooks.c (lhd_return_null_tree): New.
14406 * langhooks.h (struct lang_hooks): New hook.
14407 * tree-inline.c (initialize_inlined_parameters): Use langhook.
14408 * tree.h (maybe_build_cleanup): Remove.
14410 2002-03-25 Jakub Jelinek <jakub@redhat.com>
14412 * regrename.c (build_def_use): Move recog_memoized
14413 before extract_insn.
14415 2002-03-25 Jakub Jelinek <jakub@redhat.com>
14418 * expr.c (emit_group_store): Handle storing into CONCAT.
14420 2002-03-25 Jakub Jelinek <jakub@redhat.com>
14422 * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
14423 corresponding MATCH_DUP.
14425 2002-03-24 Richard Henderson <rth@redhat.com>
14427 * unroll.c (unroll_loop): Zero label_map.
14429 * gcse.c: Include except.h.
14430 * Makefile.in (gcse.o): Update.
14432 2002-03-24 Richard Henderson <rth@redhat.com>
14434 * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
14435 Do resolve_unique_section before shared data clause.
14437 2002-03-24 Richard Henderson <rth@redhat.com>
14439 * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
14441 2002-03-24 Richard Henderson <rth@redhat.com>
14443 * recog.c (peephole2_optimize): Split blocks when EH insns are
14444 generated in the middle of a block. Do global life update if
14447 2002-03-24 Richard Henderson <rth@redhat.com>
14449 * mips.c (mips_function_value): Only promote_mode for non-libcalls.
14451 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
14454 * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
14455 * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
14456 (init_dependency_output): Don't make no_output decision here.
14458 2002-03-24 Andrew Cagney <ac131313@redhat.com>
14460 * stmt.c (check_for_full_enumeration_handling): Remove tests of
14461 warn_switch. Update description.
14462 (expand_end_case_type): Call check_for_full_enumeration_handling
14465 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14467 * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
14468 (m68hc11_split_move): Call it to see if the source and destination
14469 operands use the same direction auto inc/dec mode, otherwise make the
14470 source an offsetable memory operand and generate an add.
14472 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14474 * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
14475 register for operand 2.
14476 ("*subsi3_zero_extendqi"): Likewise.
14477 ("*iorhi3_gen"): Do the operation on the upper bits and then lower
14478 bits so that it is compatible with a pop.
14479 ("*andhi3_gen"): Likewise.
14480 ("xorhi3"): Likewise.
14482 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
14484 * cppinit.c (cpp_handle_option): Set warn_endif_labels if
14486 (cpp_post_options): ... not here.
14488 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
14489 Aldy Hernandez <aldyh@redhat.com>
14491 Removal of separate preprocessor cpp0.
14493 * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
14494 cpp0, install-common): Update.
14495 * c-common.c (flag_preprocess_only): New.
14496 (c_common_init): Preprocess for -E.
14497 * c-common.h (flag_preprocess_only): New.
14498 * c-decl.c (c_decode_option): Handle -E and -std=c++98.
14499 * c-objc-common.c (c_init_decl_processing): Exit quickly
14500 for NULL return from c_common_init.
14501 * cpplib.h (cpp_preprocess_file): New.
14502 * cppmain.c (main, general_init, pfile, progname): Remove.
14503 (do_preprocessing): Rename cpp_preprocess_file, don't call
14504 cpp_finish. Don't close stdout here.
14505 (setup_callbacks): Update prototype.
14506 * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
14508 * tradcpp.c (main): Ignore -quiet.
14510 * lang-specs.h (default_compilers): Preprocess with cc1obj.
14512 2002-03-24 Richard Henderson <rth@redhat.com>
14514 PR optimization/5742
14515 * machmode.def: Add inner mode field to complex modes.
14516 * config/mips/mips.c (mips_function_value): Always define. Add
14517 new argument to handle libcalls.
14518 * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
14519 (FUNCTION_VALUE): Likewise.
14520 * config/mips/abi64.h (FUNCTION_VALUE): Remove.
14521 * config/mips/mips-protos.h: Update.
14523 2002-03-23 Richard Henderson <rth@redhat.com>
14525 * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
14526 * config/sparc/sparc-protos.h: Update.
14527 * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
14529 2002-03-23 Richard Henderson <rth@redhat.com>
14531 * config/sparc/gmon-sol2.c (internal_mcount): Assume either
14532 _start or _init begins the text segment.
14534 2002-03-23 David Edelsohn <edelsohn@gnu.org>
14536 * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT
14537 not HOST_WIDEST_INT.
14538 (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
14540 2002-03-23 Richard Earnshaw <rearnsha@arm.com>
14543 * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
14544 operand argument to output_return_instruction.
14545 * arm.c (arm_print_operand, case 'd'): If the operand is
14546 const_true_rtx then just return.
14547 (arm_print_operand, case 'D'): If the operand is const_true_rtx
14550 2002-03-23 Andrew Cagney <ac131313@redhat.com>
14552 * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
14553 (Warning Options): Document -Wswitch-default.
14554 * toplev.c (W_options): Add -Wswitch-default. Update comment on
14556 (warn_switch_default): Define variable.
14557 (warn_switch): Update comment.
14558 * flags.h (warn_switch_default): Declare variable.
14559 (warn_switch): Update comment.
14560 * stmt.c (expand_end_case): Check for and, when
14561 warn_switch_no_default, warn of a missing default case.
14563 2002-03-23 Alan Modra <amodra@bigpond.net.au>
14565 * real.h (N): Special case 128 bit doubles.
14567 * combine.c (simplify_comparison): When widening modes, ignore
14568 sign extension on CONST_INTs.
14570 2002-03-22 Bob Wilson <bob.wilson@acm.org>
14572 * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
14573 passed to adjust_address. Fix comment formatting.
14576 2002-03-22 Zack Weinberg <zack@codesourcery.com>
14578 * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
14579 Always make REAL_VALUE_TYPE a struct containing an array of
14580 HOST_WIDE_INT, not a double. Tidy up the code deciding how
14581 big it is. Don't declare or use union real_extract.
14583 * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
14584 decode_rtx_const, output_constant_pool), config/a29k/a29k.c
14585 (print_operand), config/arm/arm.c (output_move_double),
14586 config/arm/arm.md (consttable_4, consttable_8),
14587 config/romp/romp.c (output_fpops), config/s390/s390.h
14588 (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
14589 (xtensa_output_literal): Don't use union real_extract.
14591 * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
14592 (sfmode_constant_to_ulong), config/ns32k/merlin.h
14593 (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
14594 config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
14595 (PRINT_OPERAND): Don't use local version of union
14598 * config/convex/convex.c (check_float_value), config/vax/vax.c
14599 (vax_float_literal), config/m88k/m88k.md (divdf3),
14600 config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
14601 config/pdp11/pdp11.c (output_move_quad): Don't do host
14602 arithmetic on target floating point quantities.
14604 * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
14605 (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
14607 * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
14608 Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
14610 * real.c (earith): Test INFINITY rather than REAL_INFINITY;
14611 NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
14613 * print-rtl.c (print_rtx): Disable code which needs
14614 floating-point emulator.
14615 * libgcc2.c: Include float.h and use DBL_MANT_DIG,
14616 FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
14617 depending on HOST_FLOAT_FORMAT to be defined properly.
14619 * config/1750a/1750a.c (get_double, float_label): Delete.
14620 (print_operand): Delete huge commented-out chunk. Use
14621 REAL_VALUE_TO_DECIMAL.
14622 * config/1750a/1750a-protos.h: Delete prototypes of deleted
14624 * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
14626 * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
14627 Use REAL_VALUE_TO_DECIMAL as ELF version does.
14628 * config/m88k/m88k.c (real_power_of_2_operand,
14629 legitimize_operand): Take the REAL_VALUE_TYPE and/or union
14630 real_extract out of the union; run the input through
14631 REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
14632 from that into the union.
14633 * config/pdp11/pdp11.c (output_move_double): Rearrange
14634 parentheses to make automatic indenter happy.
14636 * doc/tm.texi (Cross-compilation): Rename node to "Floating
14637 Point" and rewrite to describe current situation. Also adjust
14638 documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
14640 * doc/rtl.texi: Adjust cross reference.
14642 2002-03-22 Bob Wilson <bob.wilson@acm.org>
14644 * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
14645 (xtensa_valid_move, xtensa_preferred_reload_class): Define.
14646 * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
14647 (xtensa_valid_move, xtensa_preferred_reload_class): Define to
14648 prevent use of sp as a reload register.
14649 (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
14650 non_acc_reg_operand.
14651 * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
14652 (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
14653 * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
14654 movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
14656 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
14658 * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
14659 * cpplex.c (unterminated): Delete.
14660 (parse_string): No string literal may extend over multiple
14661 lines. Suppress the error when preprocessing assembly.
14662 * cppmain.c (scan_translation_unit): Strings are single-line.
14664 * doc/cpp.texi: Update to match.
14666 2002-03-22 Jakub Jelinek <jakub@redhat.com>
14668 PR optimization/5854
14669 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
14671 (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
14672 (EXTRA_CONSTRAINT): Use S for non-push memory operand.
14673 * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
14674 const0 if scratch register was not allocated.
14675 (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
14676 m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
14677 with GEN_INT (...).
14678 (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
14679 * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
14680 with GEN_INT (...) everywhere. Remove constraints in define_split
14682 (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
14683 require scratch register for setting 0 into regs/non-pushable memory.
14685 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
14687 * config/mips/mips.h (MASK_RETURN_ADDR): Define.
14688 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
14690 2002-03-22 Phil Edwards <pme@gcc.gnu.org>
14692 * cpplib.h (struct cpp_options): New member, warn_endif_labels.
14693 * cppinit.c (cpp_create_reader): On by default.
14694 (cpp_handle_option): Handle -W[no-]endif-labels.
14695 (cpp_post_options): Also enable if -pedantic.
14696 * cpplib.c (do_else): Use it.
14697 (do_endif): Likewise.
14698 * doc/cppopts.texi: Document new option.
14699 * doc/invoke.texi: Document new option.
14701 2002-03-22 Lars Brinkhoff <lars@nocrew.org>
14703 * config/i386/i386.c, config/i386/i386.md: Change all occurences
14704 of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
14706 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
14708 * flow.c (calculate_global_regs_live): Clear aux fields of
14711 2002-03-22 Jakub Jelinek <jakub@redhat.com>
14713 * config/v850/v850.c (v850_reorg): Only call alter_subreg on
14714 REG or MEM subregs, pass rtx * instead of rtx to it.
14715 * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
14716 rtx * instead of rtx to alter_subreg.
14717 * config/m32r/m32r.c (gen_split_move_double): Likewise.
14718 * config/pj/pj.c (pj_output_rval): Likewise.
14720 2002-03-22 Richard Henderson <rth@redhat.com>
14723 * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
14724 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
14725 * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
14726 (ia64_expand_prologue): Look at int_regs, not words, for number
14727 of incomming int regs.
14729 2002-03-22 Andrew MacLeod <amacleod@redhat.com>
14731 * expr.c (expand_expr): A RESULT_DECL is part of a call.
14733 Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz>
14735 * toplev.c (flag_loop_optimize, flag_crossjumping):
14736 New static variables.
14737 (rest_of_compilation): Conditionalize crossjumping and
14739 (parse_options_and_default_flags): Default loop_optimize and
14741 (lang_independent_options): Add -fcrossjumping and -floop-optimize
14742 * invoke.texi (crossjumping, loop-optimize): Document.
14744 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
14746 * real.c (eiisneg): Move outside #ifdef NANS.
14748 Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz>
14750 * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
14751 frequencies match; avoid match on different loop depths.
14752 (try_crossjump_to_bb): Kill tests that no longer brings time
14754 * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
14756 (split_edge): Likewise.
14758 * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
14761 * Makefile.in (cfgrtl): Add insn-config.h depenendency.
14762 * cfgrtl.c: Include insn-config.h
14763 (split_block) Dirtify block in presence of conditional execution
14765 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
14767 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
14768 * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
14769 (function_arg): Constify CUMULATIVE_ARGS.
14770 (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
14771 * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
14772 (UNITS_PER_DOUBLE): New macro.
14773 (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs.
14774 (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and
14775 last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs,
14776 fp_regs and stack_words.
14777 (EABI_FLOAT_VARARGS_P): New macro.
14778 * config/mips/mips.c (struct mips_arg_info): New.
14779 (mips_arg_info): New function.
14780 (function_arg_advance): Use it. Add adjustment instructions here
14781 rather than in function_arg.
14782 (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check
14783 for VOIDmode at the beginning of the function.
14784 (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info.
14785 (function_arg_pass_by_reference): Likewise.
14786 (mips_setup_incoming_varags): New, largely based on old abi64.h code.
14787 (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
14788 (mips_va_start): Likewise. Use the new stack_words field of
14789 CUMULATIVE_ARGS to set up overflow area. Reformat.
14790 (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of
14791 doubles and other types, aligning the overflow pointer for non-doubles
14792 too. Remove some code duplication. Replace hard-coded constants.
14794 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
14796 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
14797 (CLASS_UNITS): Undefine.
14798 (CLASS_MAX_NREGS): Use FP_INC.
14799 * config/mips/mips.c (compute_frame_size): Likewise.
14800 (override_options): Use FP_INC and UNITS_PER_FPVALUE.
14802 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
14804 * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
14805 prototype, and handle lexing numbers and identifiers.
14806 (parse_identifier): Update to new form of parse_slow.
14807 (parse_number): Fast path only, use parse_slow otherwise.
14808 (_cpp_lex_direct): Update calls to parse_number.
14810 2002-03-21 DJ Delorie <dj@redhat.com>
14812 * bb-reorder.c (make_reorder_chain_1): Protect against
14813 when redundant edges are omitted.
14814 * predict.c (dump_prediction): Likewise.
14816 2002-03-21 Richard Henderson <rth@redhat.com>
14819 * fixinc/inclhack.def (solaris_stdio_tag): New.
14820 * fixinc/fixincl.x: Regenerate.
14822 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
14825 * c-typeck.c (process_init_element): Flag non-static
14826 initialization of a flexible array member as illegal.
14828 2002-03-22 Alan Modra <amodra@bigpond.net.au>
14830 * config/rs6000/t-linux64: New.
14831 * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
14832 t-ppccomm. Use t-rs6000 and t-linux64.
14833 (powerpc64-*-gnu* <tmake_file>): Likewise.
14834 * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
14835 * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
14836 * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
14838 2002-03-21 Aldy Hernandez <aldyh@redhat.com>
14840 * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
14841 flag_really_no_inline instead of optimize == 0.
14843 * c-objc-common.c (c_cannot_inline_tree_fn): Same.
14845 * cp/tree.c (cp_cannot_inline_tree_fn): Same.
14847 * flags.h (flag_really_no_inline): New.
14849 * c-common.c (c_common_post_options): Initialize
14850 flag_really_no_inline.
14852 * toplev.c (flag_really_no_inline): New.
14854 2002-03-21 Jakub Jelinek <jakub@redhat.com>
14856 * config/avr/avr.md (length): Fix length computation for
14857 conditional branches.
14859 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk>
14861 * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
14862 sdbout.o, profile.o): Update.
14863 * c-common.c (c_common_nodes_and_builtins): Use pushdecl
14865 * c-common.h (gettags): Move here from tree.h.
14866 * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
14867 insert_block, getdecls, kept_level_p, global_bindings_p): New.
14868 * dbxout.c (dbxout_init): Use getdecls langhook.
14869 * expr.c (expand_expr): Use insert_block langhook.
14870 * fold-const.c: Include langhooks.h.
14871 (fold_range_test, fold_binary_op_with_conditional_arg,
14872 fold): Use global_bindings_p langhook.
14873 * integrate.c (expand_inline_function): Use insert_block langhook.
14874 * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
14875 LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
14876 LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
14877 LANG_HOOKS_GETDECLS): New.
14878 (LANG_HOOKS_INITIALIZER): Update.
14879 * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
14881 * langhooks.h (struct lang_hooks_for_decls): New.
14882 (struct lang_hooks): Update.
14883 * profile.c: Include langhooks.h.
14884 (output_func_start_profiler): Use new langhooks.
14885 * sdbout.c: Include langhooks.h.
14886 (sdbout_init, sdbout_finish): Use getdecls langhook.
14887 * stmt.c: Include langhooks.h.
14888 (expand_fixup, fixup_gotos): Use new langhooks.
14889 * stor-layout.c: Include langhooks.h.
14890 (variable_size): Use global_bindings_p langhook.
14891 * toplev.c (compile_file): Use getdecls langhook.
14892 * tree-inline.c (remap_block): Use insert_block langhook.
14893 * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
14894 insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
14896 2002-03-21 Richard Henderson <rth@redhat.com>
14898 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
14899 constants in .data when -fpic.
14901 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14903 * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
14906 2002-03-21 Tom Tromey <tromey@redhat.com>
14908 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
14910 Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14912 * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
14914 * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
14916 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
14917 Richard Henderson <rth@redhat.com>
14920 * c-common.c (c_expand_expr): Preserve result of a statement
14921 expression if needed.
14923 2002-03-21 Jakub Jelinek <jakub@redhat.com>
14926 * genrecog.c (maybe_both_true_mode): Remove.
14927 (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
14928 * machmode.def (Pmode): Likewise.
14930 Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com)
14932 * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
14933 (nonlocal_mentioned_p_1): New function.
14934 (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
14935 (nonlocal_set_p, nonlocal_set_p_1): Likewise.
14936 (mark_constant_function): Recognize pure functions.
14937 * rtl.h (global_reg_mentioned_p): New prototype.
14938 * rtlanal.c (global_reg_mentioned_p,
14939 global_reg_mentioned_p_1): New function.
14941 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14943 * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
14945 * fixinc/fixincl.x: Regenerate.
14947 2002-03-20 Jason Merrill <jason@redhat.com>
14949 * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
14951 2002-03-20 Michael Meissner <meissner@redhat.com>
14953 * doc/invoke.texi (Optimize Options): Document that -O2 sets
14956 2002-03-20 Bob Wilson <bob.wilson@acm.org>
14958 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
14959 ".literal_position" directive before the constant pool.
14961 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14963 * doc/contrib.texi (Contributors): Update Geoffrey Keating.
14964 Add Craig Rodrigues.
14965 Add Brad Lucier to testers.
14967 2002-03-20 Jakub Jelinek <jakub@redhat.com>
14970 * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
14972 (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
14973 * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
14974 instead of insn_extract.
14976 2002-03-20 Jakub Jelinek <jakub@redhat.com>
14979 * config/fr30/fr30.md (jump): Remove clobber of fixed register.
14981 * genemit.c (output_added_clobbers_hard_reg_p): Only output return
14982 stmt if some case has been output.
14984 2002-03-20 Jakub Jelinek <jakub@redhat.com>
14987 * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
14988 movsfcc_1, movdfcc_1): Add %O2.
14989 * config/i386/i386.c (print_operand): Handle %ON.
14990 Print . before float condition codes in Sun as cmov syntax.
14991 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
14992 * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
14995 2002-03-20 Philip Blundell <pb@nexus.co.uk>
14997 * config/arm/arm.c (arm_output_epilogue): Don't generate separate
14998 return instruction if PC was popped.
15000 2002-03-20 Bob Wilson <bob.wilson@acm.org>
15002 * config/xtensa/xtensa.md: Remove unused type attributes.
15003 (adddi_carry, subddi_carry): Change type attribute to "multi".
15005 2002-03-19 Dale Johannesen <dalej@apple.com>
15007 PR optimization/5999, middle-end/5731
15008 * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
15009 multiplications by reciprocals.
15011 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
15013 * Makefile.in: Update.
15014 * c-common.c: Include langhooks.h.
15015 (inline_forbidden_p): Use new hook.
15016 * diagnostic.c: Include langhooks.h.
15017 (format_with_decl, announce_function,
15018 default_print_error_function): Use new hook.
15019 * dwarf2out.c (dwarf2_name): Use new hook.
15020 * function.c: Include langhooks.h.
15021 (init_function_start): Use new hook.
15022 * langhooks-def.h (lhd_decl_printable_name): New.
15023 (LANGHOOKS_DECL_PRINTABLE_NAME): New.
15024 (LANGHOOKS_INITIALIZER): Update.
15025 * langhooks.c (lhd_decl_printable_name): New.
15026 * langhooks.h (struct lang_hooks): New hook.
15027 * toplev.c (decl_name, decl_printable_name): Remove.
15028 (open_dump_file): Use new hook.
15029 (process_options): Remove old hook.
15030 * tree.h (decl_printable_name): Remove.
15032 * objc-act.c (objc_init): Remove old hook.
15033 (objc_printable_name): Export.
15034 * objc-act.h (objc_printable_name): New.
15035 * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
15037 2002-03-19 Jim Blandy <jimb@redhat.com>
15039 * c-lex.c (cb_file_change): Pass the #inclusion's line number to
15040 the start_source_file debug hook, not the current line number.
15042 2002-03-19 Richard Henderson <rth@redhat.com>
15044 * flow.c (EH_USES): Provide default.
15045 (calculate_global_regs_live): Use it for EH edges and noreturn calls.
15046 * doc/tm.texi (EH_USES): New.
15048 * config/ia64/ia64.c (ia64_eh_uses): New.
15049 * config/ia64/ia64-protos.h: Update.
15050 * config/ia64/ia64.h (EH_USES): New.
15052 2002-03-19 Richard Henderson <rth@redhat.com>
15054 * varasm.c (output_constant_def): Fix stupid typo.
15056 2002-03-19 Richard Henderson <rth@redhat.com>
15059 * except.c (current_function_has_exception_handlers): New.
15060 * except.h: Declare it.
15061 * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
15062 Combine tests that disable all sibcalls for the function.
15064 2002-03-19 Olivier Hainque <hainque@act-europe.fr>
15066 * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
15069 2002-03-19 Richard Henderson <rth@redhat.com>
15072 * config/ia64/ia64.c: Revert 2002-03-01 patch.
15073 * config/ia64/ia64.h (INIT_EXPANDERS): New.
15075 2002-03-19 Jim Blandy <jimb@redhat.com>
15077 * cppmacro.c (cpp_macro_definition): Emit a space after the macro
15078 name, even if the replacement list contains no tokens, as required
15081 2002-03-19 Jason Merrill <jason@redhat.com>
15083 * varasm.c (globalize_decl): Get the name from the RTL, not
15084 DECL_ASSEMBLER_NAME.
15086 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
15088 2002-03-19 Bob Wilson <bob.wilson@acm.org>
15090 * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
15091 subdi_carry): Define.
15093 2002-03-19 David Edelsohn <edelsohn@gnu.org>
15095 * config/rs6000/rs6000.c (rs6000_override_options): Only warn
15096 about -fpic/-fPIC if extra_warnings set.
15098 2002-03-19 David Edelsohn <edelsohn@gnu.org>
15100 * expr.c (expand_expr): Sign-extend CONST_INT generated from
15101 TREE_STRING_POINTER.
15102 * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
15104 Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15106 * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
15107 in favor of SP if FRAME_POINTER_REQUIRED is false.
15109 2002-03-19 Lars Brinkhoff <lars@nocrew.org>
15111 * emit-rtl.c (gen_int_mode): New function.
15112 * rtl.h: Prototype for it.
15113 * combine.c (make_extraction, simplify_comparison), expmed.c
15114 (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
15115 (convert_modes, store_field), optabs.c (expand_fix),
15116 simplify-rtx.c (neg_const_int, simplify_unary_real),
15118 * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
15119 Use it instead of GEN_INT (trunc_int_for_mode (...)).
15121 2002-03-19 Jakub Jelinek <jakub@redhat.com>
15124 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
15125 convert_parm_for_inlining.
15126 * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
15128 * langhooks-def.h: Likewise.
15129 * objc/objc-lang.c: Likewise.
15130 * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
15132 * tree-inline.c (initialize_inlined_parameters):
15133 Call convert_parm_for_inlining lang hook if needed.
15134 * c-typeck.c (c_convert_parm_for_inlining): New function.
15135 * c-tree.h (c_convert_parm_for_inlining): Add prototype.
15137 2002-03-18 Mark Mitchell <mark@codesourcery.com>
15139 * calls.c (precompute_arguments): Do not assume that temporaries
15140 can be destroyed after expanding the argument.
15141 (expand_call): Likewise.
15143 2002-03-15 Eric Christopher <echristo@redhat.com>
15145 * config/mips/mips.md (movdf_internal2): Add two new move constraints.
15146 Fix register preference on last change.
15147 * config/mips/mips.c (mips_return_in_memory): New function.
15148 * config/mips/mips.h (RETURN_IN_MEMORY): Use.
15149 * config/mips/mips-protos.h: Declare.
15150 * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
15151 * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
15153 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
15155 * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
15157 (anddi3, iorsi3): Likewise.
15159 * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
15160 use %gprel for symbols that are going to be placed in linkonce
15163 * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
15164 RETURN_ADDRESS_POINTER_REGNUM to $ra.
15165 (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
15166 not needed. Disregard leaf_function_p().
15167 (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
15168 mips16 frame pointer.
15169 * config/mips/mips.md (store ra): Only to small SP offsets.
15170 2001-08-22 Graham Stott <grahams@redhat.com>
15171 * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
15172 return a REG rtx for the return address register.
15174 2002-03-18 Bob Wilson <bob.wilson@acm.org>
15176 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
15177 constant-pool addresses as "mode-dependent".
15178 (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
15180 2002-03-18 Jakub Jelinek <jakub@redhat.com>
15183 * expr.c (emit_group_load): Use extract_bit_field if
15184 needed for CONCAT arguments.
15186 2002-03-18 Richard Earnshaw <rearnsha@arm.com>
15189 * arm.md (tablejump): Make this a define_expand. For PIC add the
15190 offset to the base of the table.
15191 (thumb_tablejump): Matcher for Thumb tablejump insn.
15192 * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
15193 as the difference of two labels.
15194 * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
15195 * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
15196 tables in the code.
15197 * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
15198 * arm.c (get_jump_table_size): If the table is not in the text
15199 section, return zero.
15201 2002-03-18 Bernd Schmidt <bernds@redhat.com>
15203 * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
15205 (arm_reload_out_hi): Use gen_lowpart instead of
15206 gen_rtx_SUBREG to access QImode components.
15207 * config/arm/arm.md: Disable zero_extend split for QImode
15208 subregs in BIG_ENDIAN mode.
15209 (storehi_bigend): Match use of least significant byte.
15210 (storeinthi): Remove extraneous SUBREG.
15211 Add missing construction of operands[2].
15212 (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
15213 (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
15214 Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
15216 2002-03-18 Aldy Hernandez <aldyh@redhat.com>
15218 * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
15221 2002-03-17 Richard Henderson <rth@redhat.com>
15223 * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
15226 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
15228 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
15229 (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
15231 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15233 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
15235 * predict.c (estimate_bb_frequencies): Delete unused variables.
15237 2002-03-17 Richard Henderson <rth@redhat.com>
15239 * config/ia64/ia64.c (ia64_attribute_table): Move before
15240 targetm definition. Make static.
15242 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
15244 * c-common.h (yyparse, c_common_parse_file): New.
15245 * c-lang.c: Include c-common.h.
15246 (LANG_HOOKS_PARSE_FILE): Redefine.
15247 * c-lex.c: Include c-common.h.
15248 (yyparse): Rename c_common_parse_file. Call yyparse.
15249 * c-parse.in (yyparse): Remove macro.
15250 * c-tree.h (yyparse_1): Remove.
15251 * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
15252 (LANG_HOOKS_INITIALIZER): Update.
15253 * langhooks.h (struct lang_hoooks): New hook parse_file.
15254 * toplev.c (compile_file): Use parse_file hook.
15255 * tree.h (yyparse): Remove.
15256 * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
15258 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
15260 * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
15261 float_truncate, not fix.
15262 ("*truncdfsf2_real"): Ditto.
15263 ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
15265 * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
15267 2002-03-16 Alexandre Oliva <aoliva@redhat.com>
15269 * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
15270 (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses
15271 where appropriate. Make the second reference to
15272 leaf_function_p a function call, as intended. Reindented.
15274 * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
15275 * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
15277 * config/mips/mips.md (addsi3, adddi3): Use scratch register to
15278 add register to non-constant into sp.
15280 * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
15281 * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
15282 (mips16_gp_pseudo_rtx): Lose.
15283 (INIT_EXPANDERS): Deleted.
15284 * config/mips/mips.c (mips_init_machine_status): New.
15285 (mips_free_machine_status): New.
15286 (mips_mark_machine_status): New.
15287 (override_options): Set them.
15288 (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
15289 (struct machine_function): ... new. Replaced all references.
15290 (mips_add_gc_roots): Don't mark them.
15291 (embedded_pic_fnaddr_reg): New, extracted from...
15292 (embedded_pic_offset): ... here.
15293 * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
15296 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
15298 * cppinit.c: Revert -MD removal.
15300 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15302 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
15303 soft registers by default for 68HC12.
15304 (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
15305 when compiling with -fomit-frame-pointer.
15306 (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
15307 (expand_epilogue): Likewise.
15308 (m68hc11_gen_rotate): Use exg when rotating by 8.
15310 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15312 * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
15313 * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
15314 (splits): Remove unused add splits.
15315 ("*addhi3_68hc12"): Tune constraints.
15316 ("addhi_sp"): Try to use X instead of Y in all cases and if the
15317 constant fits in 8-bits and D is dead use abx/aby instructions.
15318 ("*addhi3"): Remove extern declaration of ix_reg.
15319 ("*subsi3"): Optimize and provide new split.
15320 ("subhi3"): Cleanup.
15321 ("*subhi3_sp"): Avoid saving X if we know it is dead.
15322 (arith splits): For 68hc12 save the address register on the stack
15323 and do the arithmetic operation with a pop.
15325 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15327 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
15328 allocating QImode in address registers.
15329 ("*movqi_m68hc11"): Likewise.
15331 Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz>
15333 * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
15335 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
15337 * cppinit.c (print_help): Display -MD and -MMD.
15338 Don't display usage string. Update assertion syntax and
15340 (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
15341 (cpp_handle_option): Update.
15343 2002-03-15 Chris Demetriou <cgd@broadcom.com>
15345 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
15346 MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
15347 and define it so that regardless of target CPU size,
15348 __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
15349 of "int" rather than "long."
15351 2002-03-15 Richard Henderson <rth@redhat.com>
15353 * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
15356 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15358 * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
15359 ("tstqi" split): Avoid using memory for tstqi on address register.
15360 (splits): Remove constraints.
15361 ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
15362 ("cmpdf", "cmpsf"): Remove since not used.
15363 ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
15364 (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
15366 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15368 * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
15369 ("neghi2"): Tighten constraints.
15370 ("one_cmplsi2"): Optimize and simplify split.
15371 * config/m68hc11/larith.asm (__negsi2): Likewise for library.
15373 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15375 * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
15376 and split of AND operation to clear the upper bits.
15377 ("*logicalsi3_zextqi"): Likewise.
15378 ("*logicallhi3_zexthi_ashift8"): Likewise.
15379 ("*logicalsi3_silshr16"): Likewise.
15380 ("logicalsi3_silshl16"): Likewise.
15381 ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
15383 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15385 * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
15386 (m68hc11_indirect_p): New function.
15387 (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
15388 (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
15390 (asm_print_register): Likewise.
15391 * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
15392 (m68hc11_indirect_p): Declare.
15393 * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
15394 (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
15395 (TARGET_SWITCHES): New option -mrelax.
15396 * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
15398 ("iorsi3", "xorsi3"): Likewise.
15399 ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
15400 ("*andhi3_mem"): New to handle destination in memory with bclr
15401 and a scratch register.
15402 ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
15403 ("*andhi3_const"): New when operand2 is constant.
15404 ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
15405 ("*andhi3_gen"): Cleanup of the old "andhi3".
15406 ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
15407 ("xorqi3"): Update constraints.
15409 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15411 * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
15412 for reg_equiv_memory_loc when the operand is a register that does
15413 not get a hard register (stack location).
15414 (tst_operand): After reload, accept all memory operand.
15415 (symbolic_memory_operand): Fix detection of symbolic references.
15416 * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
15417 accept symbols and any constant.
15419 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15421 * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
15422 note on the insn that sets the soft frame register.
15423 (must_parenthesize): ix and iy are also reserved names.
15424 (print_operand_address): One more place where parenthesis are required
15425 to avoid confusion with register names.
15426 (m68hc11_gen_movhi): Allow push of stack pointer.
15427 (m68hc11_check_z_replacement): Fix handling of parallel with a
15429 (m68hc11_z_replacement): Must update the REG_INC notes to tell what
15430 the replacement register is.
15431 * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
15432 and D8_REGS classes.
15433 (MODES_TIEABLE_P): All modes are tieable except QImode.
15435 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15437 * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
15438 (___subdi3): Likewise.
15439 (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
15440 (__map_data_section): Optimize 68hc11 case.
15442 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15444 * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
15445 than a shift to avoid adding a register with itself.
15446 (m68hc11_memory_move_cost): Take into account NO_REGS.
15447 (m68hc11_register_move_cost): Update and use memory move cost
15448 for soft registers.
15449 (m68hc11_address_cost): Make cost of valid offset not 0 so that
15450 it gives more opportunities to cse to optimize.
15451 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
15452 * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
15454 2002-03-15 Mark Mitchell <mark@codesourcery.com>
15456 * c-common.c (statement_code_p): Handle CLEANUP_STMT.
15457 * c-common.def (CLEANUP_STMT): New tree node.
15458 * c-common.h (CLEANUP_DECL): New macro.
15459 (CLEANUP_EXPR): Likewise.
15460 * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
15461 * expr.c (expand_expr): Tidy.
15462 * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
15463 * tree-inline.c (initialize_inlined_parameters): Clean up
15464 new local variables.
15466 2002-03-15 Jakub Jelinek <jakub@redhat.com>
15469 * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
15470 before movrXX only, use reg_overlap_mentioned_p.
15471 Only special case NE if just one insn can be generated.
15473 2002-03-15 Jason Merrill <jason@redhat.com>
15475 * varasm.c (assemble_variable): Call resolve_unique_section before
15476 checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL
15477 of error_mark_node.
15479 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
15482 * arm.md (split pattern for thumb shiftable immediates): Add comment
15483 explaining non-obvious test.
15485 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
15488 * arm.md (movaddr, movaddr_insn): Delete.
15490 2002-03-15 Jason Merrill <jason@redhat.com>
15492 * toplev.c (wrapup_global_declarations): Clarify variable handling.
15493 -fkeep-static-consts doesn't apply to comdats.
15495 2002-03-14 Richard Henderson <rth@redhat.com>
15497 * c-decl.c: Include c-pragma.h.
15498 (start_decl, start_function): Invoke maybe_apply_pragma_weak.
15499 (finish_function): Tidy.
15500 * c-pragma.c: Include c-common.h.
15501 (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
15502 (handle_pragma_weak): Use them.
15503 (init_pragma): Register pending_weaks.
15504 * c-pragma.h (maybe_apply_pragma_weak): Declare.
15505 * print-tree.c (print_node): Print DECL_WEAK.
15506 * varasm.c (mark_weak_decls): Remove.
15507 (remove_from_pending_weak_list): Remove.
15508 (add_weak): Remove.
15509 (asm_emit_uninitialised): Call globalize_decl for weak commons.
15510 (weak_decls): Make a tree_list.
15511 (declare_weak): Cons weak_decls directly.
15512 (globalize_decl): Remove weak_decls elements directly.
15513 (weak_finish): Simplify weak_decls walk. Don't weaken unused
15514 symbols. Don't pretend to handle aliases.
15515 (init_varasm_once): Update weak_decls registry.
15516 * Makefile.in: Update dependencies.
15518 2002-03-14 Richard Henderson <rth@redhat.com>
15521 * config/ia64/ia64.c: Include tm_p.h last.
15522 (gen_nop_type): Remove duplicate definition.
15523 (cycle_end_fill_slots): Set sched_data for second L slot.
15524 (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
15525 (nop_cycles_until): Fix typos.
15527 2002-03-15 Jakub Jelinek <jakub@redhat.com>
15529 PR optimization/5891
15530 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
15532 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
15534 * config/ia64/unwind-ia64.c: Handle copy_state and label_state
15535 descriptors correctly.
15537 2002-03-14 Michael Meissner <meissner@redhat.com>
15539 * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
15540 100, allowing MAX_UNROLLED_INSNS to be overridden.
15542 * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
15545 * unroll.c (params.h): Include.
15546 (MAX_UNROLLED_INSNS): Delete, now in params.h.
15548 * doc/invoke.texi (--param max-unroll-insns): Document.
15550 * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
15552 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
15554 * arm.md: Fix warnings about constraints in peepholes and splits.
15556 2002-03-14 Zack Weinberg <zack@codesourcery.com>
15558 * cpphash.h (struct lexer_state): Remove line_extension member.
15559 * cpplib.c (dequote_string, do_linemarker): New functions.
15560 (linemarker_dir): New data object.
15561 (DIRECTIVE_TABLE): No longer need to interpret #line in
15562 preprocessed source. Delete obsolete comment about return
15563 values of handlers.
15564 (end_directive, directive_diagnostics, _cpp_handle_directive):
15565 Don't muck with line_extension.
15566 (directive_diagnostics): No need to issue warnings for
15568 (_cpp_handle_directive): Issue warnings for linemarkers here,
15569 when appropriate. Dispatch linemarkers to do_linemarker, not
15571 (do_line): Code to handle linemarkers split out to do_linemarker.
15572 Convert escape sequences in filename argument, both places.
15574 * cppmacro.c (quote_string): Rename cpp_quote_string and
15575 export. All callers changed.
15576 * cpplib.h (cpp_quote_string): Prototype.
15577 * cppmain.c (print_line): Call cpp_quote_string on to_file
15578 before printing it.
15580 * doc/cpp.texi: Document that escapes are now interpreted in
15581 #line and in linemarkers, and that non-printing characters are
15582 converted to octal escapes when linemarkers are generated.
15584 Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
15586 * emit-rtl.c (try_split): Use delete_insns.
15587 * recog.c (split_all_insns): Fix terminating condition.
15589 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
15590 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
15593 * arm.c (arm_output_epilogue): Fix floating-point register save
15594 adjustment when using a frame pointer.
15596 2002-03-14 Richard Sandiford <rsandifo@redhat.com>
15598 * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
15599 * config/mips/mips.c (compute_frame_size): Retrofit them here.
15600 (save_restore_insns, mips_expand_epilogue): And here.
15601 (build_mips16_call_stub): And here.
15602 (mips_function_value): Use the new macros to decide whether a single
15603 or complex float can be returned in floating-point registers. Return
15604 a parallel rtx in the complex case.
15606 Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
15608 * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
15609 call after liveness analysis.
15611 * recog.c (split_insn): Use delete_insn_and_edges.
15613 * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
15614 instructions to have branch prediction notes.
15615 * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
15617 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
15619 * configure.in: Don't pass -Wno-long-long to a ADA compiler
15620 that doesn't support it.
15621 * configure: Regenerate.
15623 2002-03-13 Jakub Jelinek <jakub@redhat.com>
15626 * config/sparc/sparc.md (normal_branch, inverted_branch,
15627 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
15628 inverted_fp_branch): Adjust calls to output_cbranch.
15629 Set length attribute.
15630 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
15631 output_v9branch. Set length attribute.
15632 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
15634 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
15635 (output_cbranch): Likewise. Handle far branches.
15636 (output_v9branch): Handle far branches.
15637 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
15639 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
15640 noov_compare64_op predicates.
15642 2002-03-13 Jason Merrill <jason@redhat.com>
15644 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
15645 into the function and constify it.
15646 * gthr-dce.h, gthr-solaris.h: Likewise.
15648 2002-03-13 David Edelsohn <edelsohn@gnu.org>
15650 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
15651 * config/rs6000/rs6000.c (rs6000_va_arg): Use
15652 std_expand_builtin_va_arg if not ABI_V4.
15654 2002-03-13 Jason Merrill <jason@redhat.com>
15656 * varasm.c (globalize_decl): New fn.
15657 (assemble_start_function): Use it.
15658 (asm_emit_uninitialized): Use it.
15659 (assemble_alias): Use it.
15660 (assemble_variable): Use it.
15662 2002-03-13 Hans-Peter Nilsson <hp@axis.com>
15664 * config/cris/cris.c (cris_target_asm_function_prologue): Revert
15665 2002-03-12 internal visibility change.
15666 (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
15667 visibility into SYMBOL_REF_FLAG.
15669 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
15671 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
15672 VOIDmode operand. Add compile-time optimization for constant results.
15674 2002-03-12 Jason Merrill <jason@redhat.com>
15676 * c-typeck.c (convert_for_assignment): Don't allow conversions
15677 between pointers and references. Only allow lvalues to convert to
15680 2002-03-13 Hartmut Penner <hpenner@de.ibm.com>
15682 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
15683 before prologue, to avoid scheduling problems.
15685 2002-03-13 Jakub Jelinek <jakub@redhat.com>
15687 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
15688 (ELIMINABLE_REGS): Add sfp->sp.
15689 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
15691 2002-03-13 Jakub Jelinek <jakub@redhat.com>
15693 PR optimization/5892
15694 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
15696 2002-03-13 Jakub Jelinek <jakub@redhat.com>
15698 * loop.c (basic_induction_var): Don't call convert_modes if mode
15699 classes are different.
15701 2002-03-12 Richard Henderson <rth@redhat.com>
15703 PR optimization/5901
15704 * function.c (reposition_prologue_and_epilogue_notes): Position
15705 the markers after/before the last/first insn not deleted.
15707 2002-03-12 Richard Henderson <rth@redhat.com>
15709 PR optimization/5878
15710 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
15711 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
15712 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
15714 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
15715 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
15716 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
15718 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
15719 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
15720 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
15721 also. Don't set it if not flag_pic.
15722 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
15723 to be INVALID_REGNUM when not used.
15725 2002-03-13 Aldy Hernandez <aldyh@redhat.com>
15727 * expmed.c (store_bit_field): Reset alias set for memory.
15728 (extract_bit_field): Same.
15730 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15732 * c-common.c (c_tree_code_type, c_tree_code_length,
15733 c_tree_code_name, add_c_tree_codes): Delete.
15734 * c-common.h (add_c_tree_codes): Delete.
15735 * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
15737 * c-objc-common.c (c_objc_common_init): Don't call
15738 add_c_tree_codes, instead set lang_unsafe_for_reeval.
15739 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
15740 objc_tree_code_name, add_objc_tree_codes): Delete.
15741 (objc_init): Don't call add_objc_tree_codes.
15742 * objc/objc-lang.c (tree_code_type, tree_code_length,
15743 tree_code_name): Define.
15744 * toplev.c (lang_independent_init): Don't set
15745 tree_code_length[IDENTIFIER_NODE].
15746 * tree.c (tree_code_type, tree_code_length, tree_code_name):
15747 Delete definitions, moved to language front-ends.
15748 * tree.def (IDENTIFIER_NODE): Hardwire the length.
15749 * tree.h (tree_code_type, tree_code_length, tree_code_name):
15751 (tree_code_length): Change type to unsigned char.
15753 2002-03-12 Richard Henderson <rth@redhat.com>
15755 * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
15756 internal visibility change.
15758 2002-03-12 Bob Wilson <bob.wilson@acm.org>
15760 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
15761 validize_mem() instead of change_address to avoid clobbering
15764 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
15766 * c-lex.h (position_after_whitespace): Remove.
15768 2002-03-12 Jakub Jelinek <jakub@redhat.com>
15770 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
15771 (lex_string): Use unsigned char pointers.
15773 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
15775 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
15776 is not a valid memory_operand.
15778 2002-03-12 Bob Wilson <bob.wilson@acm.org>
15780 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
15781 * config/xtensa/lib1funcs.asm: Fix copyright to include
15782 special case for libgcc files.
15783 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
15784 (__divsi3): Likewise.
15785 (__umodsi3): Likewise.
15786 (__modsi3): Likewise.
15787 * config/xtensa/lib2funcs.S: Fix copyright to include
15788 special case for libgcc files.
15790 2002-03-12 Tom Rix <trix@redhat.com>
15792 * collect2.c (resolve_lib_name): Move outside of
15793 OBJECT_FORMAT_COFF ifdef.
15794 (ignore_library): Same.
15796 2002-03-12 Bob Wilson <bob.wilson@acm.org>
15798 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
15800 2002-03-12 Bob Wilson <bob.wilson@acm.org>
15802 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
15803 to function_section before writing out the constant pool.
15805 2002-03-12 David Edelsohn <edelsohn@gnu.org>
15807 * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
15809 * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
15811 2002-03-12 Alan Modra <amodra@bigpond.net.au>
15813 * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
15814 (adddi3): Likewise.
15817 (cmpsi splitter): Likewise.
15818 (modsi3): Fail if <= 0.
15819 * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
15820 redundant test when HOST_BITS_PER_WIDE_INT != 32.
15821 (reg_or_sub_cint64_operand): Likewise.
15822 (num_insns_constant_wide): Optimize sign extension.
15823 (rs6000_legitimize_address): Likewise.
15825 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
15827 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
15828 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
15830 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
15832 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
15833 address calculation.
15835 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
15837 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
15838 scratch register to DImode / TImode.
15839 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
15840 register used does not overlap the target.
15842 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15844 * Makefile.in (debug.o): Depend on debug.h.
15845 * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
15846 * debug.c (do_nothing_debug_hooks): Likewise.
15847 * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
15848 sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
15849 dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
15850 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
15851 * dwarfout.c (dwarf_debug_hooks): Likewise.
15852 * integrate.c (output_inline_function): Likewise.
15853 * objc/objc-act.c (synth_module_prologue): Likewise.
15854 * sdbout.c (sdb_debug_hooks): Likewise.
15855 * toplev.c (debug_hooks): Likewise.
15856 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
15858 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15860 * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
15861 dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
15862 m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
15863 ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
15864 v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
15865 * defaults.h (POINTER_SIZE): Define.
15866 * doc/tm.texi (POINTER_SIZE): Document default.
15868 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15870 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
15872 2002-03-11 Richard Henderson <rth@redhat.com>
15874 * toplev.c (rest_of_compilation): Call purge_all_dead_edges
15875 if rebuild_label_notes_after_reload.
15877 2002-03-12 Hans-Peter Nilsson <hp@axis.com>
15879 * config/cris/cris.c (cris_target_asm_function_prologue): Do not
15880 emit pic register load if "internal" visibility.
15881 (cris_print_operand): Avoid traditional-warning for 0xffffffff.
15882 (cris_expand_builtin_va_arg): Do all computations on trees.
15884 2002-03-11 Richard Henderson <rth@redhat.com>
15886 * rtlanal.c: Include recog.h.
15887 (keep_with_call_p): Fix thinko.
15888 * Makefile.in (rtlanal.o): Update dependencies.
15890 2002-03-11 Chris Meyer <cmeyer@gatan.com>
15892 * genflags.c (gen_insn): Use IS_VSPACE.
15893 * genoutput.c (output_insn_data): Likewise.
15894 (process_template): Likewise.
15896 2002-03-11 Richard Henderson <rth@redhat.com>
15898 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
15900 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
15902 * Makefile.in: Update.
15903 * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
15904 Update documentation.
15905 * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
15906 * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
15908 2002-03-11 Zack Weinberg <zack@codesourcery.com>
15910 * Makefile.in: Give texi2pod its input file as a command line
15911 argument, not on stdin.
15913 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
15914 Daniel Berlin <dan@dberlin.org>
15916 C++ alias analysis improvement.
15917 * alias.c (record_component_aliases): Record aliases for base
15920 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
15922 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
15924 2002-03-11 Douglas B Rupp <rupp@gnat.com>
15926 * toplev.c (vms_fopen): Remove, not needed.
15928 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
15930 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
15932 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
15933 for FP, already done later.
15935 * toplev.c (debug_args): Add entry for VMS_DEBUG.
15936 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
15938 2002-03-11 Richard Sandiford <rsandifo@redhat.com>
15940 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
15941 (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
15942 LARGEST_EXPONENT_IS_NORMAL for the given mode.
15943 (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
15944 * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
15945 (ediv, emul, eldexp, esqrt): Likewise.
15946 (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
15947 (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
15948 (saturate): New function.
15949 (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
15950 (make_nan): Use a saturation value instead of a NaN if
15951 LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
15952 * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
15953 inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
15954 zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
15955 (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
15956 (_fpmul_parts, _fpdiv_parts): Only round to nearest if
15957 !ROUND_TOWARDS_ZERO.
15958 * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
15959 (ROUND_TOWARDS_ZERO): Document.
15961 2002-03-11 Andreas Jaeger <aj@suse.de>
15963 * cfg.c (dump_flow_info): Remove unused variable.
15965 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
15967 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
15968 computations on trees.
15970 2002-03-10 Richard Henderson <rth@redhat.com>
15973 * reload.c (copy_replacements_1): New.
15974 (copy_replacements): Use it to recurse through the rtx.
15976 2002-03-10 Richard Henderson <rth@redhat.com>
15978 * loop.c (strength_reduce): Compute number of iterations as
15979 unsigned HOST_WIDE_INT.
15981 2002-03-10 Richard Henderson <rth@redhat.com>
15983 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
15984 to move away from the end of the block.
15986 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
15988 PR preprocessor/5899
15989 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
15991 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15993 * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
15995 * attribs.c (decl_attributes): Fix signed/unsigned warning.
15997 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
15999 * config/mmix/mmix.c: Improve comments.
16000 (mmix_target_asm_function_prologue): Drop variable
16001 empty_stack_frame. Don't allocate unused slot above fp.
16002 (mmix_target_asm_function_epilogue): Mirror prologue changes.
16003 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
16004 brace in first column.
16005 (enum reg_class): Ditto.
16006 (FIRST_PARM_OFFSET): Now 0.
16007 (USER_LABEL_PREFIX): Remove #if 0:d definition.
16009 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16011 * combine.c (make_extraction): Fix error in last change.
16013 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16015 * c4x.c (c4x_fp_reglist): Const-ify.
16016 * cris.c (cris_print_operand): Likewise.
16017 * i386.c (ix86_va_arg): Likewise.
16018 * ia64/unwind-ia64.c (unw_decode_table): Likewise.
16019 * m32r.c (m32r_hard_regno_mode_ok): Likewise.
16020 * m32r.h (m32r_hard_regno_mode_ok): Likewise.
16021 * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
16022 * mcore.h (regno_reg_class): Likewise.
16023 * mips.c (gen_int_relational): Likewise.
16024 * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
16025 * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
16026 * pdp11.c (move_costs): Likewise.
16027 * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
16028 * s390.c (s390_branch_condition_mnemonic, regclass_map):
16030 * s390.h (regclass_map): Likewise.
16031 * sh.c (shift_amounts): Likewise.
16032 * sh.md (rotlsi3): Likewise.
16034 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
16036 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
16037 (ne0+5): Use new clobber to generate proper shift pattern.
16038 Patch by Michael Matz <matz@kde.org>.
16040 2002-03-09 Andreas Schwab <schwab@suse.de>
16042 * gcc.c (validate_all_switches): Also handle `%W{...}'.
16044 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
16046 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
16048 2002-03-09 Jakub Jelinek <jakub@redhat.com>
16051 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
16052 even for non-representable constants.
16054 Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16056 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
16057 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
16058 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
16059 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
16060 (pop_function_context): Compute MAY_SHARE parameter for
16062 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
16063 (gen_mem_addressof): Call fixup_var_refs with new parm.
16065 * combine.c (make_extraction): Don't make extension of CONST_INT.
16067 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
16069 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
16070 in o32 and o64 ABIs.
16071 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
16072 but getting fixed-size structs passed in registers regardless of
16073 padding in o32 and o64 ABIs.
16075 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
16076 offset before loading address of argument passed by transparent
16079 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
16081 * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
16083 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
16085 * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
16086 marker such that registers after it are saved.
16088 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16090 * sparc.c (arith_4096_operand): Fix error in last change.
16092 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
16094 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
16095 defaults for MEABI.
16097 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
16099 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
16102 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
16104 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
16106 Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
16108 * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
16109 removed; fix return value.
16110 * combine.c (combine_instructions): Dirtify blocks where we failed to
16111 update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
16112 * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
16114 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16116 * gcse.c (insert_insn_end_bb): Fix typo in last change.
16118 Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
16120 * recog.c (peephole2_optimize): Re-distribute EH edges.
16122 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
16124 * expr.c (expand_expr): Use unsave lang hook.
16125 * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
16126 (LANG_HOOKS_INITIALIZER): Update.
16127 * langhooks.h (struct lang_hooks): New hook unsave.
16128 * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
16129 (unsave_expr_1): Remove unused lang_unsave_expr_now.
16130 (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
16131 (unsave_expr_now): Remove.
16132 * tree.h (unsave_expr_now, lang_unsave,
16133 lang_unsave_expr_now): Remove.
16136 2002-03-08 Andreas Jaeger <aj@suse.de>
16138 * flow.c (propagate_block_delete_insn): Remove unused variable.
16140 2002-03-08 Kazu Hirata <kazu@hxi.com>
16142 * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
16143 insn length for memory load/store.
16145 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
16147 * doc/install.texi (--with-libiconv-prefix): Document.
16149 2002-03-08 Michael Y. Brukman <myb2@cornell.edu>
16151 * doc/sourcebuild.texi: Fix typo.
16153 2002-03-08 Jakub Jelinek <jakub@redhat.com>
16156 * builtins.c (std_expand_builtin_va_arg): Do all computations on
16159 Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16161 * rtl.c (copy_most_rtx): Move from here ...
16162 * emit-rtl.c (copy_most_rtx): ... to here.
16164 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
16166 * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
16167 SUBTARGET_CPP_SIZE_SPEC.
16168 * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
16170 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
16172 2002-03-07 Matt Hiller <hiller@redhat.com>
16174 * gensupport.c (first_dir_md_include): Renamed from include;
16175 change all references.
16176 (last_dir_md_include): Renamed from last_include; change all
16178 (init_md_reader): Unconditionally initialize base_dir whether or
16179 not filename is a relative path.
16181 2002-03-07 Alexandre Oliva <aoliva@redhat.com>
16183 * config/fp-bit.c (_unord_f2): Compile it in even if
16184 US_SOFTWARE_GOFAST is enabled.
16186 * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
16187 NULL_RTX. Set all HFmode operations as NULL_RTX.
16188 * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
16189 NULL_RTX, try reversing the comparison and the operands.
16191 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
16193 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
16194 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
16197 Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
16199 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
16201 Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
16203 * basic-block.h (fixup_abnormal_edges): Declare.
16204 * reload1.c (fixup_abnormal_edges): New function.
16205 * reg-stack.c (convert_regs): Use it.
16207 * gcse.c (insert_insn_end_bb): Handle trapping insns.
16209 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
16211 2002-03-07 Richard Sandiford <rsandifo@redhat.com>
16213 * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
16214 (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
16215 * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
16216 (HONOR_SIGN_DEPENDENT_ROUNDING): New.
16217 * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
16218 * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
16219 unless x and y could be infinite.
16220 (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
16221 Check that the common type of both arguments is a real, even for
16222 targets without unordered comparisons. Allow an integer argument
16223 to be compared against a real.
16224 (expand_tree_builtin): Use expand_unordered_cmp.
16225 * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
16226 * cse.c (fold_rtx): Likewise. Fix indentation.
16227 * fold-const.c (fold_real_zero_addition_p): New.
16228 (fold): Use it, and the new HONOR_... macros.
16229 * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
16230 * jump.c (reversed_comparison_code_parts): After searching for
16231 the true comparison mode, use HONOR_NANS to decide whether it
16232 can be safely reversed.
16233 (reverse_condition_maybe_unordered): Remove IEEE check.
16234 * simplify-rtx.c (simplify_binary_operation): Use the new macros
16235 to decide which simplifications are valid. Allow the following
16236 simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
16237 and (a - -b) to (a + b).
16238 (simplify_relational_operation): Use HONOR_NANS.
16239 * doc/tm.texi: Document the MODE_HAS_... macros.
16241 2002-03-07 Richard Earnshaw <rearnsha@arm.com>
16243 * combine.c (simplify_comparison): If simplifying a logical shift
16244 right and compare with constant, force the comparison to unsigned.
16246 2002-03-07 Aldy Hernandez <aldyh@redhat.com>
16248 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
16250 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
16252 (alt_reg_names): Remove % for vrsave.
16254 2002-03-06 Richard Henderson <rth@redhat.com>
16256 PR optimization/5844
16257 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
16258 if used indicates we've already emitted one copy of an operand.
16259 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
16260 (gen_split): Supply a non-null used.
16262 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
16264 * reload1.c (reload): Unshare all rtl after reload is done.
16266 * simplify-rtx.c (simplify_plus_minus): Do not abort,
16267 but simply fail if the expression is too complex to simplify.
16268 (simplify_gen_binary): Handle simplify_plus_minus failures.
16270 Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
16272 * toplev.c (rest_of_compilation): Do jump threading before SSA path;
16273 consistently call delete_trivially_dead_insns after CSE and GCSE;
16274 fix DFI_life dumping; do jump threading after liveness; do crossjumping
16275 after liveness2; update comment in last crossjumping.
16276 * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
16278 Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
16280 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
16281 after completing fast dead code elimination.
16283 * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
16286 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
16288 * version.c: Fix misplaced leading blanks on first line.
16290 Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
16292 * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
16294 Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
16296 * cfgcleanup.c (mentions_nonequal_regs): New function.
16297 (thread_jump): Use it.
16298 * toplev.c (rest_of_compilation): Run jump threading after
16301 2002-03-06 Jakub Jelinek <jakub@redhat.com>
16303 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
16306 Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
16308 * predict.c (estimate_bb_frequencies): Do not reload the
16309 frequencies from notes.
16311 Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
16313 * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
16314 * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
16316 * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
16317 delete_noop_moves): Return indeger.
16318 * flow.c (ndead): New variable.
16319 (propagate_block_delete_insn): Use delete_insn_and_edges; remove
16320 BB argument; update callers.
16321 (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
16322 (life_analysis): Do not call purge_all_dead_edges.
16323 (update_life_info): Return number of deleted insns; print statistics.
16324 (update_life_info_in_dirty_blocks): likewise.
16325 (delete_noop_moves): Use delete_insn_and_edges; print statistics;
16326 return number of insns deleted.
16328 * cse.c: Include timevar.h
16329 (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
16330 iterate until stabilizes; print statistics; return number of killed
16332 * Makefile.in: (cse.o): Add timevar.h dependency
16333 * rtl.h (delete_trivially_dead_insns): New.
16334 * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
16335 * toplev.c (rest_of_compilation): Update callers.
16337 * cfgcleanup.c (try_optimize_cfg): Kill blocks.
16338 (try_optimize_cfg): Do not update liveness.
16339 (cleanup-cfg): Loop until try_optimize_cfg and dead code
16340 removal stabilizes; use delete_trivially_dead_insns.
16342 * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
16344 2002-03-05 Zack Weinberg <zack@codesourcery.com>
16346 * cppmain.c (setup_callbacks): Disable #pragma and #ident
16347 callbacks when processing assembly language.
16349 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
16351 * pa.h (ASM_FILE_END): Define.
16352 * som.h (ASM_FILE_END): Delete.
16354 * pa.c (function_arg): Don't pass floats in general registers in
16355 indirect calls if TARGET_ELF32.
16357 2002-03-05 Richard Henderson <rth@redhat.com>
16359 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
16361 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
16363 * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
16365 2002-03-05 Jakub Jelinek <jakub@redhat.com>
16367 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
16368 -r command line. Don't hide any symbols if not building
16371 Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
16373 * cfg.c (dump_flow_info): Warn about profile mismatches.
16374 * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
16375 (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
16377 2002-03-05 Jakub Jelinek <jakub@redhat.com>
16379 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
16380 wide volatile memory by parts.
16382 2002-03-05 Jakub Jelinek <jakub@redhat.com>
16384 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
16387 2002-03-05 Richard Henderson <rth@redhat.com>
16389 * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
16391 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
16393 * toplev.c (documented_lang_options): Document more
16394 language-specific options.
16395 * doc/invoke.texi (Warning Options): Correct documentation for
16396 -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
16397 * c-decl.c (c_decode_option): Use a table to handle warning options.
16399 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
16401 * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
16402 parameter to mmix_encode_section_info.
16403 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
16404 relocatably. Always produce ELF, not mmo if linking relocatably.
16405 * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
16406 first is non-zero, don't add symbol prefix.
16407 * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
16408 prototype accordingly.
16410 2002-03-04 Krister Walfridsson <cato@df.lth.se>
16412 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
16414 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
16416 * configure.in: Increase required makeinfo version to 4.1.
16417 * configure: Regenerate.
16419 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
16421 * .cvsignore: Remove *.info* and genrtl*; these files are generated
16424 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
16426 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
16427 * doc/invoke.texi: Fix @math uses.
16429 Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
16431 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
16434 2002-03-03 Aldy Hernandez <aldyh@redhat.com>
16436 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
16437 (powerpc-*-eabisimaltivec*): Same.
16439 * config/rs6000/t-ppcendian: New.
16441 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16443 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
16444 nonimmediate_src_operand and nonimmediate_lsrc_operand to
16445 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
16447 2002-03-03 Richard Henderson <rth@redhat.com>
16449 * toplev.c (rest_of_decl_compilation): Revert last two changes.
16451 2002-03-03 Zack Weinberg <zack@codesourcery.com>
16453 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
16454 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
16455 tree.c, config/m68k/m68k.c:
16456 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
16457 REAL_ARITHMETIC blocks unconditional. Delete some further
16458 #ifdef blocks predicated on REAL_ARITHMETIC.
16459 * flags.h, toplev.c: Delete remaining references to
16460 flag_pretend_float.
16462 * doc/invoke.texi: Remove documentation of -fpretend-float.
16463 * doc/tm.texi: Describe the various REAL_* macros as provided by
16464 real.h, not by the target configuration files.
16466 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
16467 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
16468 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
16469 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
16470 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
16471 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
16472 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
16473 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
16474 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
16475 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
16476 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
16477 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
16478 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
16479 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
16480 config/xtensa/xtensa.h:
16481 Do not define, undefine, or mention in comments any of
16482 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
16483 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
16484 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
16485 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
16486 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
16487 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
16488 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
16489 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
16490 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
16492 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16494 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
16495 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
16496 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
16497 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
16498 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
16499 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
16501 * defaults.h (BITS_PER_WORD): Define.
16502 * doc/tm.texi (BITS_PER_WORD): Document default value.
16504 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
16505 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
16506 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
16508 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16510 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
16511 lieu of explicit sizeof/sizeof.
16512 * i386.c (override_options, ix86_init_mmx_sse_builtins,
16513 ix86_expand_builtin): Likewise.
16514 * mips.c (mips_add_gc_roots): Likewise.
16515 * mmix.c (mmix_output_condition): Likewise.
16516 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
16517 altivec_init_builtins): Likewise.
16518 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
16519 * cppexp.c (Nsuff, parse_number): Likewise.
16520 * cppinit.c (builtin_array_end): Likewise.
16521 * gcc.c (n_default_compilers, process_command): Likewise.
16522 * genpreds.c (output_predicate_decls): Likewise.
16523 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
16524 * lcm.c (N_ENTITIES): Likewise.
16525 * stor-layout.c (set_sizetype): Likewise.
16527 2002-03-03 Richard Henderson <rth@redhat.com>
16529 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
16530 for types or labels.
16532 2002-03-03 Richard Henderson <rth@redhat.com>
16534 * c-decl.c (start_decl): Initialized variables are not common.
16536 2002-03-02 Per Bothner <per@bothner.com>
16538 * gcc.c (option_map): Suport new --bootclasspath option.
16539 --CLASSPATH is now just an alias for --classpath.
16541 2002-03-02 Richard Henderson <rth@redhat.com>
16543 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
16544 load if "internal" visibility.
16545 * doc/extend.texi: Document visibility meanings.
16547 2002-03-02 Richard Henderson <rth@redhat.com>
16549 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
16550 to functions as well.
16552 2002-03-02 Richard Henderson <rth@redhat.com>
16554 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
16555 (handle_visibility_attribute): Don't call assemble_visibility.
16556 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
16557 without asmspec. Invoke assemble_alias when needed.
16558 * varasm.c (maybe_assemble_visibility): New.
16559 (assemble_start_function, assemble_variable, assemble_alias): Use it.
16561 2002-03-02 Richard Henderson <rth@redhat.com>
16563 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
16564 invoke ENCODE_SECTION_INFO with first call flag.
16566 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
16567 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
16568 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
16569 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
16570 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
16571 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
16572 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
16573 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
16574 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
16575 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
16576 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
16577 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
16578 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
16579 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
16580 config/mcore/mcore-protos.h, config/mcore/mcore.c,
16581 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
16582 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
16583 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
16584 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
16585 config/sh/sh.h, config/sparc/sparc.h,
16586 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
16587 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
16588 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
16589 FIRST argument. As needed, examine it and do nothing.
16591 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
16592 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
16593 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
16595 * config/arm/t-pe (pe.o): Add dependencies.
16597 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16599 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
16600 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
16601 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
16602 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
16603 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
16604 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
16605 * defaults.h (BITS_PER_UNIT): Define.
16606 * doc/tm.texi (BITS_PER_UNIT): Document default value.
16608 2002-03-02 Kazu Hirata <kazu@hxi.com>
16610 * config/h8300/h8300-protos.h: Add a prototype for
16611 compute_a_shift_length.
16612 * config/h8300/h8300.c (h8300_asm_insn_count): New.
16613 (compute_a_shift_length): Likewise.
16614 (h8300_adjust_insn_length): Do not adjust insn length of shift
16616 * config/h8300/h8300.md (anonymous shift patterns): Use
16617 compute_a_shift_length.
16619 Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16621 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
16622 trunc_int_for_mode.
16624 * emit-rtl.c (offset_address): Call update_temp_slot_address.
16626 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16628 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
16629 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
16630 * flags.h (flag_zero_initialized_in_bss): Declare.
16631 * toplev.c (flag_zero_initialized_in_bss): New flag.
16632 (lang_independent_options): Add flag_zero_initialized_in_bss.
16633 * tree.c (initializer_zerop): New function.
16634 * tree.h (initializer_zerop): Declare.
16635 * varasm.c (assemble_variable): If we can emit bss, put zero
16636 initializers in the bss section.
16638 2002-03-02 Alan Modra <amodra@bigpond.net.au>
16640 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
16641 like more than one symbol per .weak directive.
16643 2002-03-01 Richard Henderson <rth@redhat.com>
16645 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
16646 adjust argument_pointer by pretend_args_size.
16647 (ia64_va_start): Adjust va_start address by -pretend_args_size.
16649 2002-03-01 Kazu Hirata <kazu@hxi.com>
16651 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
16653 Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
16655 * toplev.c (rest_of_compilation): Delete dead jumptables before
16657 * flow.c (delete_dead_jumptables): Make global.
16658 * rtl.h (delete_dead_jumptables): Declare.
16660 2002-03-01 David Edelsohn <edelsohn@gnu.org>
16662 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
16663 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
16664 * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
16666 2002-03-01 Kazu Hirata <kazu@hxi.com>
16668 * config/h8300/h8300-protos.h: Fix formatting.
16669 * config/h8300/h8300.c: Likewise.
16670 * config/h8300/h8300.h: Likewise.
16672 2002-03-01 Kazu Hirata <kazu@hxi.com>
16674 * config/h8300/h8300.c (print_operand): Support 16-bit
16675 constant addresses.
16676 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
16678 2002-02-28 Richard Henderson <rth@redhat.com>
16680 * expmed.c (store_bit_field): Prevent generation of CONCATs;
16681 pun complex values as integers; use gen_lowpart instead of
16683 (extract_bit_field): Likewise.
16685 2002-03-01 Alan Modra <amodra@bigpond.net.au>
16686 David Edelsohn <edelsohn@gnu.org>
16688 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
16689 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
16690 (SUPPORTS_WEAK): Likewise.
16691 * output.h (add_weak): Add tree param.
16692 * varasm.c (add_weak): Likewise. Save decl.
16693 (struct weak_syms): Add decl field.
16694 (mark_weak_decls): New function.
16695 (init_varasm_once): ggc_add_root mark_weak_decls.
16696 (assemble_start_function): Use ASM_WEAKEN_DECL.
16697 (assemble_variable): Likewise.
16698 (assemble_alias): Likewise.
16699 (declare_weak): Pass decl to add_weak.
16700 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
16701 (remove_from_pending_weak_list): Declare and define for
16703 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
16704 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
16705 * defaults.h (SUPPORTS_WEAK): Likewise.
16706 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
16707 .weak for code sym. Do emit .size for descriptor sym.
16708 (ASM_DECLARE_FUNCTION_SIZE): Define.
16709 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
16710 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
16711 .lglobl unless TARGET_XCOFF. Formatting fixes.
16712 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
16713 .weak for code sym.
16714 (HANDLE_PRAGMA_WEAK): Remove.
16715 (ASM_WEAKEN_LABEL): Remove.
16716 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
16718 2002-03-01 Jason Merrill <jason@redhat.com>
16720 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
16721 (TARGET_EXPR_CLEANUP): New macro.
16723 2002-02-28 Steve Ellcey <sje@cup.hp.com>
16725 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
16726 to take ptr_extend into account as third type of extension.
16727 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
16728 fields used by SUBREG_PROMOTED_UNSIGNED_P.
16729 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
16730 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
16731 * calls.c (precompute_arguments): Use new macro.
16732 (expand_call): Ditto.
16733 * combine.c (nonzero_bits): Ditto.
16734 (record_promoted_value): Ditto.
16735 * expr.c (store_expr): Ditto.
16736 (expand_expr): Ditto.
16737 * function.c (assign_parms): Ditto.
16739 2002-02-28 Alexandre Oliva <aoliva@redhat.com>
16741 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
16742 override -shared and -shared-libgcc.
16744 2002-02-28 David O'Brien <obrien@FreeBSD.org>
16746 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
16748 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
16751 2002-02-28 Richard Henderson <rth@redhat.com>
16753 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
16754 4 cycle latency from MM producers.
16755 (ia64_internal_sched_reorder): Likewise with pipeline flush.
16757 2002-02-28 Jakub Jelinek <jakub@redhat.com>
16759 * mklibgcc.in: Don't use GNU make extension.
16761 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
16763 * c-parse.in (STATIC): New terminal.
16764 (scspec): New non-terminal. Update productions accordingly.
16765 (program): Remove bogus ifc / end ifc.
16766 (array_declarator): Simplify production using STATIC.
16768 2002-02-28 Jim Meyering <meyering@lucent.com>
16770 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
16771 \a still means TARGET_BELL.
16773 2002-02-28 Richard Henderson <rth@redhat.com>
16775 * haifa-sched.c (sched_emit_insn): New.
16776 (schedule_block): Use last_scheduled_insn to track last insn.
16777 * sched-int.h (sched_emit_insn): Prototype.
16778 * config/ia64/ia64.c (last_issued): Remove.
16779 (ia64_variable_issue): Don't set it.
16780 (nop_cycles_until): Use sched_emit_insn.
16782 2002-02-28 Andrew MacLeod <amacleod@redhat.com>
16784 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
16785 extended constants.
16787 2002-02-28 Kazu Hirata <kazu@hxi.com>
16789 * config/h8300/h8300.c: Fix formatting.
16790 * config/h8300/h8300.h: Likewise.
16792 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
16794 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
16795 which may overwrite the high byte of the frame pointer.
16797 2002-02-28 Bo Thorsen <bo@suse.de>
16799 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
16800 (STARTFILE_SPEC): Add 64 bit files.
16801 (ENDFILE_SPEC): Likewise.
16803 2002-02-28 Jason Merrill <jason@redhat.com>
16805 * c-decl.c (finish_function): Only warn about missing return
16806 statement with -Wreturn-type.
16808 Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
16810 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
16812 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
16813 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
16815 Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
16817 * basic-block.h (BB_REACHABLE): Renumber.
16818 (BB_DIRTY, BB_NEW): New flags.
16819 (clear_bb_flags): Declare.
16820 (update_life_info_in_dirty_blocks): Declare.
16821 * cfg.c (clear_bb_flags): New function.
16822 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
16823 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
16824 reorder_insns, emit_insn_after): Mark block as dirty.
16825 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
16826 (update_life_info_in_dirty_blocks): New function.
16827 * recog.c (apply_change_group): Dirtify block.
16829 * cse.c (cse_insn): Reorder emitting of jump insn to keep
16831 * gcse.c (delete_null_pointer_checks): Likewise.
16833 * toplev.c (dump_file_index): Move cse2 after bp,
16835 (dump_file_info): Similary.
16836 (rest_of_compilation): Avoid most of CFG rebuilds;
16837 do first if converision after null pointer checks, do cse2
16838 after branch prediction; avoid full liveness rebuild after
16839 initializing subregs.
16840 * invoke.texi (-d options): Document -du, renumber.
16842 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
16843 (notice_new_block): Do not set BB_UPDATE_LIFE.
16844 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
16845 merge_blocks_move_successor_nojumps, merge_blocks,
16846 try_crossjump_to_edge): Likewise.
16847 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
16848 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
16849 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
16850 (merge_of_block): Do not use life_data_ok.
16851 (find_if_case_1): Do not use SET_UPDATE_LIFE.
16852 (if_convert): Use BB_DIRTY mechanizm to update life.
16853 * lcm.c (optimize_mode_switching): Update
16854 update_life_info_in_dirty_blocks
16856 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
16858 * Makefile.in (integrate.o): Update.
16859 * c-decl.c (copy_lang_decl): Rename.
16860 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
16861 * integrate.c: Include langhooks.h.
16862 (copy_decl_for_inlining): Update to use langhook.
16863 * langhooks-def.h (lhd_do_nothing_t,
16864 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
16865 (LANG_HOOKS_INITIALIZER): Update.
16866 * langhooks.c (lhd_do_nothing_t): New.
16867 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
16868 * tree.h (copy_lang_decl): Remove.
16870 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
16872 2002-02-27 Andrew MacLeod <amacleod@redhat.com>
16874 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
16875 POST_DEC, and POST_MODIFY.
16877 2002-02-27 Zack Weinberg <zack@codesourcery.com>
16879 * c-typeck.c (digest_init): Remove unused parameter; all
16882 2002-02-27 Geoffrey Keating <geoffk@redhat.com>
16884 * expmed.c (expand_shift): Correctly test for low part of a
16887 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
16889 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
16890 insn UIDs with insn addresses.
16892 2002-02-27 Zack Weinberg <zack@codesourcery.com>
16894 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
16895 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
16896 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
16897 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
16898 gcc.c, toplev.c: Delete code implementing -traditional mode.
16900 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
16901 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
16902 Document removal of -traditional mode for compilation, and
16903 remove documentation only relevant to that mode.
16905 * config/nextstep.h, config/ptx4.h, config/svr4.h,
16906 config/convex/convex.h, config/d30v/d30v.h,
16907 config/i386/dgux.h, config/i386/osf1elf.h,
16908 config/i386/osfelf.h, config/i386/osfrose.h,
16909 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
16910 config/m68k/hp310.h, config/m88k/dgux.h,
16911 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
16912 config/m88k/m88k.h, config/m88k/openbsd.h,
16913 config/mips/abi64.h, config/mips/osfrose.h,
16914 config/mips/svr4-5.h, config/mips/svr4-t.h,
16915 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
16916 config/stormy16/stormy16.h: Remove all references to
16917 -traditional from target specs. Delete all mention of the
16918 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
16919 delete a couple of commented-out definitions of
16920 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
16923 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
16924 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
16926 2002-02-27 Zack Weinberg <zack@codesourcery.com>
16928 * mklibgcc.in: Don't use \n in a line subject to
16929 interpretation by echo.
16931 2002-02-27 Graham Stott <grahams@redhat.com>
16933 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
16936 * loop.c (prescan_loop): Handle PARALLEL.
16938 * unroll.c (loop_iterations): Return 0 if the add_val for
16941 * final.c (output_operand_lossage): Constify PFX_STR.
16943 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
16945 Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
16947 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
16948 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
16950 Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
16952 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
16954 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
16956 * cpplex.c (_cpp_lex_token): Handle directives in macro
16958 * cpplib.c (_cpp_handle_directive): Save and restore state
16959 if parsing macro args when entering a directive.
16960 * cppmacro.c (collect_args): No need to handle directives
16961 in macro arguments.
16962 (enter_macro_context, replace_args): Use the original macro
16963 definition in case it was redefined whilst collecting arguments.
16965 * cpp.texi: Update.
16967 2002-02-26 David Edelsohn <edelsohn@gnu.org>
16969 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
16970 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
16971 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
16973 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
16974 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
16975 (load_toc_v4_PIC_2): Same.
16977 2002-02-26 Alan Modra <amodra@bigpond.net.au>
16979 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
16981 2002-02-26 Richard Henderson <rth@redhat.com>
16983 * config/alpha/alpha.md (ashldi_se): Re-enable.
16985 2002-02-26 Richard Henderson <rth@redhat.com>
16987 * config/alpha/alpha.c (alpha_encode_section_info): Examine
16988 MODULE_LOCAL_P; improve commentary.
16990 2002-02-26 Zack Weinberg <zack@codesourcery.com>
16992 * doc/cpp.texi: Clarify documentation of relationship between
16993 #line and #include.
16995 2002-02-26 Kazu Hirata <kazu@hxi.com>
16997 * config/h8300/h8300-protos.h: Update the prototype for
16998 compute_logical_op_length. Add the prototype for
16999 compute_logical_op_cc.
17000 * config/h8300/h8300.c (compute_logical_op_length): Figure out
17001 code from operands.
17002 (compute_logical_op_cc): New.
17003 * config/h8300/h8300.md: Combine all the logical op patterns
17004 in HImode and SImode. Use compute_logical_op_cc.
17006 2002-02-26 Kelley Cook <kelleycook@comcast.net>
17008 * config/i386/i386.c (print_operand): Don't append ATT-style
17009 length suffixs to x87 opcodes when in Intel mode.
17011 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
17013 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
17014 (init_emit_once): Update calls.
17015 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
17016 (init_syntax_once): Prototype.
17018 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
17020 * pa-linux.h (LIB_SPEC): Update definition.
17021 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
17023 2002-02-26 Richard Henderson <rth@redhat.com>
17025 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
17026 if we emitted a stop bit.
17028 2002-02-26 Jakub Jelinek <jakub@redhat.com>
17030 * configure.in (libgcc_visibility): Substitute.
17031 * configure: Rebuilt.
17032 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
17033 defined symbols .hidden.
17035 2002-02-26 Jakub Jelinek <jakub@redhat.com>
17037 * attribs.c (c_common_attribute_table): Add visibility.
17038 (handle_visibility_attribute): New function.
17039 * varasm.c (assemble_visibility): New function.
17040 * output.h (assemble_visibility): Add prototype.
17041 * tree.h (MODULE_LOCAL_P): Define.
17042 * crtstuff.c (__dso_handle): Use visibility attribute.
17043 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
17044 for MODULE_LOCAL_P symbols too.
17045 * config/ia64/ia64.c (ia64_encode_section_info): Handle
17046 MODULE_LOCAL_P symbols the same way as local symbols.
17047 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
17048 into .sdata/.sbss by the user.
17049 * doc/extend.texi (Function Attributes): Document visibility
17052 2002-02-26 Jakub Jelinek <jakub@redhat.com>
17055 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
17056 STRING_CST initializer spanning the whole variable without
17058 If expand_expr returned MEM, don't use it.
17060 2002-02-26 Alexandre Oliva <aoliva@redhat.com>
17062 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
17063 generate a die for the lexical block.
17065 2002-02-26 Kazu Hirata <kazu@hxi.com>
17067 * config/h8300/h8300-protos.h: Add a prototype for
17068 compute_logical_op_length.
17069 * config/h8300/h8300.c (compute_logical_op_length): New.
17070 * config/h8300/h8300.md (anonymous logical patterns): Use
17071 compute_logical_op_length for length.
17073 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
17075 * dwarf2out.c (modified_type_die): Do not call type_main_variant
17077 (gen_type_die): Same.
17079 * attribs.c (handle_vector_size_attribute): Set debug information.
17081 2002-02-26 Daniel Egger <degger@fhm.edu>
17083 * config/rs6000/rs6000.md: Swap define_insn attributes to
17084 fix incorrect generation of merge high instructions instead
17087 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
17089 * c-typeck.c (really_start_incremental_init): Use
17090 bitsize_zero_node for vectors.
17092 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
17094 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
17095 ("*set_vrsave_internal"): Same.
17097 2002-02-25 Richard Henderson <rth@redhat.com>
17099 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
17100 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
17102 2002-02-25 Jakub Jelinek <jakub@redhat.com>
17105 * config/i386/i386.c (ix86_return_pops_args): Only pop
17106 fake structure return argument if it was passed on the stack.
17108 2002-02-25 Jason Merrill <jason@redhat.com>
17110 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
17113 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
17115 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
17116 link with shared_name only.
17117 * doc/invoke.texi (Link Options): Document new behavior.
17119 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
17121 * c-typeck.c (push_init_level): Handle vectors.
17123 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
17125 * config/sparc/sparc.c (const64_high_operand): Zero-extend
17126 operands of SPARC_SETHI_P.
17127 (input_operand): Likewise.
17128 (sparc_emit_set_const32): Likewise.
17129 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
17130 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
17131 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
17132 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
17133 (movdi_insn_sp64_vis): Likewise.
17134 (movdi split, movdf split): Use SETHI32.
17135 * doc/md.texi: Document SPARC constraints L, M and N.
17137 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
17139 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
17140 ("*set_vrsave_internal"): use mfspr for Darwin.
17142 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
17143 gen_get_vrsave_internal.
17145 Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17147 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
17149 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
17151 * cpplex.c (cpp_interpret_charconst): Get signedness or
17152 otherwise of wide character constants correct.
17153 * cppexp.c (lex): Get signedness of wide charconsts correct.
17155 Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17157 * optabs.c (widen_operand): Only call convert_modes for
17158 promoted SUBREG if signedness matches.
17159 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
17161 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
17163 * cpplib.c (glue_header_name): Use local buffer to build up
17166 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
17168 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
17170 2002-02-23 Kazu Hirata <kazu@hxi.com>
17172 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
17173 H8/300[HS] separately.
17174 * config/h8300/h8300.md: Remove the early clobber constraint
17175 from bit field patterns.
17177 2002-02-23 Kazu Hirata <kazu@hxi.com>
17179 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
17181 (mulhisi3): Likewise.
17182 (umulqisi3): Likewise.
17183 (umulhisi3): Likewise.
17185 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
17187 * cppinit.c (output_deps): Correct test for stdout output.
17188 (init_dependency_output): Cure warning.
17190 Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17192 * expr.c (store_expr): When converting expression to promoted
17193 equivalent type, allow using SUBREG_REG of TARGET as the target
17194 of the expansion of EXP.
17195 * loop.c (basic_induction_var, case SUBREG): Always look inside.
17196 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
17197 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
17198 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
17199 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
17201 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
17203 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
17204 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
17205 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
17207 2002-02-23 Jakub Jelinek <jakub@redhat.com>
17209 PR optimization/5747
17210 * loop.c (scan_loop): Update reg info if move_movables created new
17213 2002-02-23 David Edelsohn <edelsohn@gnu.org>
17215 * gcc.c (init_gcc_spec): Revert last change.
17217 2002-02-23 David Edelsohn <edelsohn@gnu.org>
17219 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
17220 gpc_reg_operand constraint.
17222 2002-02-23 Alan Modra <amodra@bigpond.net.au>
17224 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
17225 Simplify comparison of `low'.
17226 (add_operand): Fix formatting.
17227 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
17228 (mask_operand): Disallow mask to wrap in 64-bit mode.
17229 (rs6000_stack_info): Remove redundant test setting push_p.
17230 (output_toc): Fix formatting.
17231 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
17232 cc_reg_not_cr0_operand constraint.
17233 (booldi3, boolcdi3 splitters): Same.
17235 2002-02-23 Aldy Hernandez <aldyh@redhat.com>
17237 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
17239 2002-02-22 David Edelsohn <edelsohn@gnu.org>
17241 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
17242 gcc invoked with -shared-libgcc.
17244 2002-02-22 Jakub Jelinek <jakub@redhat.com>
17247 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
17248 decl if any of elements was TREE_USED.
17250 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
17252 * config/sparc/sol2.h: Don't include sys/mman.h.
17253 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
17254 (arith_4096_operand): Don't throw high bits away.
17255 (const64_operand): Take sign extension of CONST_INTs into account.
17256 (const64_high_operand, sparc_emit_set_const32): Likewise.
17257 (GEN_HIGHINT64): Likewise.
17258 (sparc_emit_set_const64_quick1): Likewise.
17259 (const64_is_2insns): Likewise.
17260 (print_operand): Use trunc_int_for_mode for sign extension.
17261 * config/sparc/sparc.h (SMALL_INT32): Likewise.
17262 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
17263 chars. Assume CONST_INT is already properly sign-extended.
17264 (movdi split): Sign-extend each SImode part.
17265 (andsi3 split): Don't mask high bits off, so that result
17266 remains properly sign-extend.
17267 (iorsi3 split): Likewise.
17268 (xorsi3 split): Likewise.
17270 2002-02-22 Richard Sandiford <rsandifo@redhat.com>
17272 * fold-const.c (fold): Fix typo in comments.
17274 2002-02-21 Diego Novillo <dnovillo@redhat.com>
17276 * Makefile.in (langhooks.o): Update dependencies.
17278 2002-02-21 Diego Novillo <dnovillo@redhat.com>
17280 * langhooks.c: Include flags.h.
17282 2002-02-21 Aldy Hernandez <aldyh@redhat.com>
17284 * testsuite/gcc.dg/attr-alwaysinline.c: New.
17286 * c-common.c (c_common_post_options): Set inline trees by
17289 * doc/extend.texi (Function Attributes): Document always_inline
17291 Update documentation about inlining when not optimizing.
17293 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
17295 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
17296 unless DECL_ALWAYS_INLINE.
17298 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
17299 unless DECL_ALWAYS_INLINE.
17300 (c_disregard_inline_limits): Disregard if always_inline set.
17302 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
17303 Disregard if always_inline set.
17304 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
17305 unless DECL_ALWAYS_INLINE.
17307 * attribs.c (handle_always_inline_attribute): New.
17308 (c_common_attribute_table): Add always_inline.
17310 * config/rs6000/altivec.h: Add prototypes for builtins
17311 requiring the always_inline attribute.
17313 2002-02-21 Eric Christopher <echristo@redhat.com>
17315 * expmed.c (store_bit_field): Try to simplify the subreg
17316 before generating a new one when when the mode size of
17317 value is less than maxmode.
17319 2002-02-21 Richard Henderson <rth@redhat.com>
17321 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
17322 than gen_rtx_PLUS to form the sum.
17323 * explow.c (force_reg): Rearrange to not allocate new pseudo
17324 when force_operand returns a register.
17325 * expr.c (expand_assignment): Allow offset_rtx expansion to
17326 return a sum. Do not force addresses into registers.
17327 (expand_expr): Likewise.
17328 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
17329 to canonicalize arithmetic that didn't simpify.
17330 (simplify_plus_minus): New argument force; update
17331 all callers. Don't split CONST unless we can do something with it,
17332 and wouldn't lose the constness of the operands.
17334 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
17335 that we generated earlier.
17337 2002-02-21 Tom Tromey <tromey@redhat.com>
17339 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
17340 (output_line_info): Use constant `1', with a long explanatory
17342 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
17344 Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
17346 * jump.c (redirect_jump): If old label has no UID, don't try to
17349 Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
17351 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
17352 If input is constant, do shifts at compile time.
17354 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
17356 * doc/extend.texi: Fix some more overfull hboxes.
17358 2002-02-21 Jakub Jelinek <jakub@redhat.com>
17360 PR optimization/4994
17361 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
17364 2002-02-21 Jakub Jelinek <jakub@redhat.com>
17367 * expr.h (expand_and): Add mode argument.
17368 * expmed.c (expand_and): Add mode argument.
17369 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
17370 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
17371 * except.c (expand_builtin_extract_return_addr): Likewise.
17372 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
17373 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
17374 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
17375 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
17376 * config/c4x/c4x.md: Use GEN_INT (x) instead of
17377 gen_rtx (CONST_INT, VOIDmode, x).
17379 2002-02-21 Jakub Jelinek <jakub@redhat.com>
17382 * stmt.c (warn_if_unused_value): Move side effects test once more.
17384 2002-02-20 Torbjorn Granlund <tege@swox.com>
17386 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
17387 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
17389 Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
17391 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
17392 SUBREG or ZERO_EXTEND.
17394 Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
17396 * sh.h (current_function_anonymous_args): Remove.
17397 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
17398 of current_function_varargs and current_function_stdarg is set.
17399 * sh.c (sh_expand_prologue): Check current_function_varargs /
17400 current_function_stdarg / TARGET_SH5 instead of
17401 current_function_anonymous_args.
17403 * sh64.h (TARGET_VERSION): Define.
17405 2002-02-20 David Edelsohn <edelsohn@gnu.org>
17407 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
17408 VRSAVE_REGNO on TARGET_ALTIVEC.
17410 2002-02-20 Alan Modra <amodra@bigpond.net.au>
17412 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
17413 bits of SImode const_int.
17414 (includes_rshift_p): Likewise.
17415 (print_operand): Call mask_operand and mask64_operand with correct
17417 (rs6000_output_function_epilogue): Pad traceback table to word.
17418 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
17419 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
17420 mask64_operand with correct mode.
17421 (FUNCTION_ARG_REGNO_P): Correct parentheses.
17423 2002-02-20 Jakub Jelinek <jakub@redhat.com>
17426 * varasm.c (get_pool_constant_mark): New.
17427 * rtl.h (get_pool_constant_mark): Add prototype.
17428 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
17429 be represented if it has not been output.
17431 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
17433 * combine.c (do_SUBST): Sanity check substitutions of
17434 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
17435 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
17436 CONST_INT into its operand.
17437 (known_cond): Likewise, for ZERO_EXTEND.
17438 * simplify-rtx.c (simplify_unary_operation): Fix condition to
17439 allow for simplification of wide modes. Reject CONST_INTs in
17440 ZERO_EXTEND when their actual mode is not given.
17442 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
17444 * c-decl.c (pushdecl): If no global declaration is found for an
17445 extern declaration in block scope, try a limbo one.
17447 2002-02-20 Jakub Jelinek <jakub@redhat.com>
17450 * c-common.c (pointer_int_sum): Moved from...
17451 * c-typeck.c (pointer_int_sum): ...here.
17452 * c-common.h (pointer_int_sum): Add prototype.
17454 2002-02-20 Jakub Jelinek <jakub@redhat.com>
17457 * c-decl.c (duplicate_decls): Return 0 if issued error about
17460 2002-02-20 Roger Sayle <roger@eyesopen.com>
17461 Jakub Jelinek <jakub@redhat.com>
17464 * tree.c (host_integerp): Ensure that the constant integer is
17465 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
17466 when pos is zero or non-zero respectively. Clarify comment.
17467 * c-format.c (check_format_info_recurse): Fix host_integerp
17468 usage; the pos argument should be zero when assigning to a
17469 signed HOST_WIDE_INT.
17471 2002-02-20 Richard Henderson <rth@redhat.com>
17473 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
17474 of the operand, rather than assuming TImode.
17475 (ix86_expand_binop_builtin): Cope with commutative patterns
17476 using nonimmediate_operand for both operands.
17477 (ix86_expand_timode_binop_builtin): Likewise.
17478 (ix86_expand_store_builtin): Validate operand 1.
17479 (ix86_expand_unop1_builtin): Likewise.
17481 2002-02-20 Philip Blundell <philb@gnu.org>
17484 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
17486 2002-02-20 Richard Henderson <rth@redhat.com>
17489 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
17491 2002-02-20 Tom Tromey <tromey@redhat.com>
17493 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
17494 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
17495 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
17496 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
17497 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
17500 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
17502 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
17503 for (const_int 0) in X not just INTVAL.
17505 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
17507 * doc/extend.texi: Avoid or reduce overfull hboxes.
17509 2002-02-20 Diego Novillo <dnovillo@redhat.com>
17511 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
17512 operations if the field does not start at a mode boundary.
17514 2001-02-20 Joel Sherrill <joel@OARcorp.com>
17516 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
17517 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
17518 Also done for -Acpu and -Amachine.
17520 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
17522 * cppinit.c (init_dependency_output): Take deps output file
17523 from -o if none given with -MF. Suppress normal output.
17524 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
17525 * doc/cpp.texi, doc/invoke.texi: Update.
17527 2002-02-19 Zack Weinberg <zack@codesourcery.com>
17529 * toplev.c (output_quoted_string): Write unprintable
17530 characters with octal escapes.
17532 2002-02-19 David Edelsohn <edelsohn@gnu.org>
17534 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
17535 really_call_used[VRSAVE_REGNO] if not Altivec.
17537 2002-02-19 Alan Modra <amodra@bigpond.net.au>
17539 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
17541 (constant_pool_expr_1): Fix formatting.
17542 (rs6000_legitimize_reload_address): Likewise.
17544 Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17546 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
17547 now that we have one.
17549 2002-02-19 Zack Weinberg <zack@codesourcery.com>
17551 * tree.h (struct tree_common): Remove aux. Add unused_0 at
17552 end of first block of bitfields (which was only seven bits);
17553 rename dummy to unused_1; remove comment which is no longer true.
17555 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
17557 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
17559 2002-02-19 Philip Blundell <pb@nexus.co.uk>
17562 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
17566 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
17567 arm_is_longcall_p rather than inspecting call-type cookie
17569 (call_value_insn) [TARGET_THUMB]: Likewise.
17571 2002-02-19 Graham Stott <grahams@redhat.com>
17573 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
17575 2002-02-19 David Edelsohn <edelsohn@gnu.org>
17577 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
17578 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
17579 (FP_SAVE_INLINE): Delete.
17581 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
17582 * config/rs6000/eabi.asm: Remove ABI save restore routines.
17583 * config/rs6000/t-ppccomm: Build crtsavres.o.
17584 * config/rs6000/crtsavres.asm: New file.
17586 2002-02-19 Philip Blundell <philb@gnu.org>
17588 * config/arm/arm.c (use_return_insn): Don't reject interrupt
17590 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
17591 (output_return_instruction): Allow interrupt functions to return with
17592 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
17593 (arm_expand_prologue): Subtract 4 before stacking LR in an
17594 interrupt function.
17596 2002-02-19 Philip Blundell <pb@nexus.co.uk>
17598 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
17599 decl, not just FUNCTION_DECL.
17600 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
17601 (arm_assemble_integer): Likewise.
17602 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
17605 2002-02-19 matthew green <mrg@eterna.com.au>
17607 * config.gcc (sparc-*-netbsdelf*): Enable target.
17608 (sparc64-*-netbsd*): New target.
17609 * config/sparc/netbsd-elf.h: New file.
17610 * config/sparc/t-netbsd64: New file.
17612 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
17614 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
17616 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
17618 * doc/invoke.texi: explicitly list the style guidelines that
17619 -Weffc++ checks for.
17621 Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
17623 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
17625 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
17628 * gcc.c (cpp_unique_options): Treat -o as indicating object file
17629 only if not -E. If -E, pass -o through to the preprocessor.
17631 2002-02-19 Kazu Hirata <kazu@hxi.com>
17633 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
17634 register number with an appropriate macro.
17636 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
17638 * doc/rtl.texi (Constants): Close @code tag.
17640 2002-02-19 Aldy Hernandez <aldyh@redhat.com>
17642 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
17643 ("mmx_uavgv4hi3"): Same.
17644 ("pmulhrwv4hi3"): Same.
17646 * tree-inline.c (walk_tree): Handle vectors.
17648 * c-common.c (constant_expression_warning): Handle vectors.
17649 (overflow_warning): Same.
17651 * sched-deps.c (sched_analyze_2): Handle vectors.
17653 * rtlanal.c (rtx_unstable_p): Handle vectors.
17654 (rtx_varies_p): Same.
17655 (count_occurrences): Same.
17656 (regs_set_between_p): Same.
17657 (modified_between_p): Same.
17658 (modified_in_p): Same.
17659 (volatile_insn_p): Same.
17660 (volatile_refs_p): Same.
17661 (side_effects_p): Same.
17662 (may_trap_p): Same.
17663 (inequality_comparisons_p): Same.
17664 (replace_regs): Same.
17665 (computed_jump_p_1): Same.
17667 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
17669 (inner_mode_array): New.
17670 (copy_rtx): Handle vectors.
17671 (copy_most_rtx): Same.
17672 (rtx_equal_p): Same.
17673 (get_mode_alignment): Adjust for vectors.
17675 * resource.c (mark_referenced_resources): Handle vectors.
17676 (mark_set_resources): Same.
17678 * reload1.c (eliminate_regs): Handle vectors.
17679 (elimination_effects): Same.
17680 (scan_paradoxical_subregs): Same.
17682 * reload.c (subst_reg_equivs): Handle vectors.
17684 * regrename.c (scan_rtx): Handle vectors.
17686 * regclass.c (reg_scan_mark_refs): Handle vectors.
17688 * recog.c (find_single_use_1): Handle vectors.
17690 * local-alloc.c (equiv_init_varies_p): Handle vectors.
17691 (contains_replace_regs): Same.
17692 (memref_referenced_p): Same.
17694 * integrate.c (copy_rtx_and_substitute): Handle vectors.
17695 (subst_constants): Same.
17697 * genattrtab.c (attr_copy_rtx): Handle vectors.
17698 (encode_units_mask): Same.
17699 (clear_struct_flag): Same.
17700 (count_sub_rtxs): Same.
17702 * gcse.c (want_to_gcse_p): Handle vectors.
17703 (oprs_unchanged_p): Same.
17704 (hash_expr_1): Same.
17705 (oprs_not_set_p): Same.
17706 (expr_killed_p): Same.
17707 (compute_transp): Same.
17708 (store_ops_ok): Same.
17710 * function.c (purge_addressof_1): Do not allow paradoxical subregs
17712 (fixup_var_refs_1): Same.
17713 (instantiate_virtual_regs_1): Same.
17715 * fold-const.c (operand_equal_p): Handle vectors.
17717 (rtl_expr_nonnegative_p): Same.
17719 * flow.c (mark_used_regs): Handle vectors.
17721 * df.c (df_uses_record): Handle vectors.
17723 * cselib.c (cselib_subst_to_values): Handle vectors.
17724 (cselib_mem_conflict_p): Same.
17727 * cse.c (canon_reg): Handle vectors.
17729 (cse_process_notes): Same.
17730 (count_reg_usage): Same.
17731 (canon_hash): Same.
17733 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
17735 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
17737 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
17738 (gen_rtx): Handle CONST_VECTOR.
17739 (gen_const_vector_0): New.
17740 (copy_rtx_if_shared): CONST_VECTORs can be shared.
17741 (reset_used_flags): Same.
17742 (copy_insn_1): Same.
17743 (initializer_constant_valid_p): Handle VECTOR_CST.
17745 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
17747 * doc/rtl.texi (Constants): Document const_vector.
17748 (CONST0_RTX): Update for vectors.
17749 (RTL sharing): Same.
17751 * print-tree.c (print_node): Add case for VECTOR_CST.
17753 * tree.h (TREE_VECTOR_CST_ELTS): New.
17754 (struct tree_vector): New.
17755 (union tree_node): Add vector node.
17756 (build_vector): Add prototype.
17758 * tree.def (VECTOR_CST): New.
17760 * tree.c (build_vector): New.
17762 * expmed.c (make_tree): Handle CONST_VECTOR.
17764 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
17765 (CONST_VECTOR_ELT): New.
17766 (CONST_VECTOR_NUNITS): New.
17768 * machmode.h (GET_MODE_INNER): New.
17769 (DEF_MACHMODE): Accept 8th arg.
17771 * machmode.def: Add 8th argument for vector inner mode.
17772 Add inner vector modes for vectors.
17774 * rtl.def (VEC_CONST): Remove.
17775 (CONST_VECTOR): New.
17777 * expr.c (clear_storage): Allow vectors.
17778 (is_zeros_p): Handle VECTOR_CST.
17780 * varasm.c (output_constant_pool): Handle vectors.
17781 (rtx_const): Add veclo and vechi fields.
17782 (kind): Add RTX_VECTOR.
17783 (decode_rtx_const): Add case for vector.
17785 * config/rs6000/rs6000-protos.h: Add zero_constant.
17787 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
17788 constants. Force easy vector constants into memory.
17789 (easy_vector_constant): New.
17790 (emit_easy_vector_constant): New.
17791 (rs6000_legitimize_reload_address): Do not generate bad reloads on
17794 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
17796 ("altivec_lvxl"): Same.
17797 (altivec_lvebx): Same.
17798 (altivec_lvehx): Same.
17799 (altivec_lvewx): Same.
17800 ("*movv4si_const0"): New.
17801 ("*movv4sf_const0"): New.
17802 ("*movv8hi_const0"): New.
17803 ("*movv16qi_const0"): New.
17805 2002-02-18 Kazu Hirata <kazu@hxi.com>
17807 * config/h8300/h8300.c (notice_update_cc): Use
17810 2002-02-18 Kazu Hirata <kazu@hxi.com>
17812 * config/h8300/h8300.md (divmod patterns): Change the
17813 constraints for operands[1] to register_operand.
17815 2002-02-18 Kazu Hirata <kazu@hxi.com>
17817 * config/h8300/h8300-protos.h: Remove the prototype for
17819 * config/h8300/h8300.c (p_operand): Remove.
17820 * config/h8300/h8300.md: Replace p_operand with
17823 2002-02-18 Philip Blundell <pb@nexus.co.uk>
17825 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
17827 (output_return_instruction): Allow use of LDR to unstack
17828 return addresss even for interrupt handlers or when
17829 interworking. If compiling for ARMv5, use interworking-safe
17830 return instructions by default. Remove duplicated code and
17831 lengthy "strcat" sequences.
17833 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17835 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
17836 (LINK_EH_SPEC): Define.
17837 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
17839 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
17841 * config/s390/s390.c (s390_emit_prologue): Do not set the
17842 frame_related flag for call-clobbered registers.
17844 Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
17846 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
17847 (construct_container): Fix handling of SSE operands.
17848 (ix86_expand_builtin): Fix handling of 64bit pointers.
17849 (mmx_maskmovq_rex): New pattern.
17851 Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
17853 * regrename.c (kill_set_value): Handle subregs properly.
17855 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
17857 * objc/objc-act.c (handle_impent): Remove leading '*'
17858 from objc_class_name.
17860 2002-02-17 Richard Henderson <rth@redhat.com>
17862 * config/alpha/alpha.c (some_small_symbolic_operand,
17863 some_small_symbolic_operand_1, split_small_symbolic_operand,
17864 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
17865 Handle small SYMBOL_REFs anywhere, not just inside memories.
17866 * config/alpha/alpha-protos.h: Update.
17867 * config/alpha/alpha.h (PREDICATE_CODES): Update.
17868 * config/alpha/alpha.md (small symbolic operand splitter): Update.
17870 2002-02-17 Roland McGrath <roland@frob.com>
17872 * config.gcc (powerpc-*-gnu-gnualtivec*,
17873 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
17874 * config/rs6000/gnu.h: New file.
17875 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
17876 Grok "gnu" in rs6000_abi_name.
17877 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
17878 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
17879 Grok -mcall-gnu analogous to -mcall-linux et al.
17880 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
17881 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
17882 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
17884 2002-02-17 Jakub Jelinek <jakub@redhat.com>
17887 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
17890 2002-02-17 Philipp Thomas <pthomas@suse.de>
17892 * config/cris/cris.h: Undefine STARTFILE_SPEC and
17893 ENDFILE_SPEC before (re)defining them.
17895 2002-02-17 Kazu Hirata <kazu@hxi.com>
17897 * config/h8300/h8300.c: Fix formatting.
17898 * config/h8300/h8300.h: Likewise.
17900 2002-02-17 Philipp Thomas <pthomas@suse.de>
17902 * doc/tm.texi: Explain why empty strings should not be
17903 marked for translation.
17905 2002-02-17 Philipp Thomas <pthomas@suse.de>
17907 * final.c (output_operand_lossage): Changed to accept
17908 printf style arguments. Change calls where necessary.
17909 * output.h (output_operand_lossage): Change declaration
17910 accordingly. Update copyright.
17911 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
17912 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
17913 Update copyright date where necessary.
17915 * config/i386/i386.c (print_operand): Likewise. Remove use of
17918 * config/cris/cris.c (cris_operand_lossage): Likewise.
17919 Rename parameter so that exgettext recognizes it as
17920 translatable message.
17921 (LOSE_AND_RETURN): Rename parameter to msgid.
17923 2002-02-17 Kazu Hirata <kazu@hxi.com>
17925 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
17926 hard coded register number with an appropriate macro.
17927 (HARD_REGNO_MODE_OK): Likewise.
17928 (ARG_POINTER_REGNUM): Likewise.
17929 (STATIC_CHAIN_REGNUM): Likewise.
17930 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
17931 * config/h8300/h8300.md (define_constants): Define more
17934 2002-02-17 Philipp Thomas <pthomas@suse.de>
17936 * config/i386/i386.h: Don't mark empty strings for translation.
17938 2002-02-16 H.J. Lu <hjl@gnu.org>
17940 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
17942 2002-02-16 Zack Weinberg <zack@codesourcery.com>
17944 * cppinit.c (merge_include_chains): Check for brack being
17945 NULL before attempting to merge it with qtail.
17947 2002-02-16 Andrew Cagney <ac131313@redhat.com>
17949 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
17952 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
17954 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
17956 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
17958 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
17959 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
17960 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
17962 Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17964 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
17965 now only if !TARGET_FIX.
17966 (*movsi_nt_vms_fix): New pattern.
17968 2002-02-16 Douglas B Rupp <rupp@gnat.com>
17970 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
17971 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
17972 (alpha_sa_mask, alpha_sa_size): Reflect above change.
17973 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
17974 (alpha_start_function, alpha_expand_epilogue): Likewise.
17975 (unicosmk_gen_dsib): Likewise.
17977 Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17979 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
17981 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
17983 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
17984 check_and_change_labels, s390_final_chunkify): Delete.
17985 (s390_split_branches, s390_chunkify_pool): New functions.
17986 (s390_function_prologue): Call them.
17988 * config/s390/s390.h (S390_REL_MAX): Delete.
17989 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
17991 * config/s390/s390.md (cjump, icjump, jump): Fix length
17992 attribute calculation.
17995 2002-02-15 David Edelsohn <edelsohn@gnu.org>
17997 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
17998 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
18000 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
18002 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
18003 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
18004 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
18006 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
18008 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
18010 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
18012 * reload.c (find_dummy_reload): Check that an output register
18013 is valid for its mode.
18015 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
18017 * combine.c (known_cond): After replacing the REG of a SUBREG, try
18020 * function.c (assign_parms): Demote promoted argument passed by
18021 transparent reference.
18023 2001-02-14 Joel Sherrill <joel@OARcorp.com>
18025 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
18026 -Acpu() and -Amachine() to eliminate warnings.
18028 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
18030 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
18032 2002-02-14 Kazu Hirata <kazu@hxi.com>
18034 * config/h8300/h8300-protos.h: Update the prototype for
18036 * config/h8300/h8300.c (const_costs): Treat SET as a little
18037 more expensive operation.
18038 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
18039 reference to const_costs.
18041 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
18043 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
18045 2002-02-14 Jakub Jelinek <jakub@redhat.com>
18048 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
18049 use arguments from newtype.
18051 2002-02-13 Eric Christopher <echristo@redhat.com>
18053 * config/mips/mips.c (override_options): Add check for march/mipsX
18054 on the same command line. Fix error message in cpu processing.
18055 Remove architecture and ISA checks.
18057 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
18059 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
18061 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
18063 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
18065 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
18067 ("*movv8hi_internal1"): Same.
18068 ("*movv16qi_internal1"): Same.
18069 ("*movv4sf_internal1"): Same.
18071 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
18072 not push_reload for altivec modes.
18074 2002-02-13 Joel Sherrill <joel@OARcorp.com>
18076 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
18077 all RTEMS targets including removal of #includes from config/*/rtems*.h
18078 file and adding them to tm_file setting. Added xm_defines=POSIX to
18080 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
18081 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
18082 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
18083 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
18084 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
18085 config/m68k/rtemself.h: Ditto.
18086 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
18087 config/mips/rtems64.h: Ditto.
18088 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
18089 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
18091 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
18092 config/sparc/rtemself.h: Ditto.
18093 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
18094 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
18095 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
18097 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
18098 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
18099 target made more similar to i386-elf.
18100 * config/i386/t-rtems-i386: Added soft float support and multilibs.
18101 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
18102 be similar to config/m68k/t-m68kelf.
18103 * gthr-rtems.h: Encapsulate with extern "C" for C++.
18105 Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
18107 * regmove.c (kill_value): Handle subregs.
18109 Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
18111 * i386.md (mul patterns): Allow memory operand to be first;
18112 add expanders where needed; fix constraints.
18113 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
18114 Allow memory operand to be the first.
18116 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
18119 2002-02-13 Jakub Jelinek <jakub@redhat.com>
18122 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
18125 2002-02-13 Jakub Jelinek <jakub@redhat.com>
18127 PR optimization/5547:
18128 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
18129 all valid IA-32 address modes involving non-scaled %ebx and
18130 GOT/GOTOFF as displacement.
18132 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
18134 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
18135 after emitting ltorg insns.
18137 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
18138 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
18139 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
18140 *abssf2): Fix "op_type" attribute.
18142 2002-02-13 Douglas B Rupp <rupp@gnat.com>
18144 * mkconfig.sh: Avoid using a subshell redirect.
18145 ($output.T): Change to $(output)T.
18146 (ENABLE_NLS): Remove unneeded undef.
18148 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
18149 * config/alpha/x-vms (libsubdir): Define.
18151 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
18152 register frame procedures. Optimize retrieving context.
18154 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
18155 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
18156 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
18158 Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18160 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
18161 Make same change as for find_base_value.
18163 2002-02-13 Kazu Hirata <kazu@hxi.com>
18165 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
18166 of QImode and SImode.
18168 2002-02-13 Kazu Hirata <kazu@hxi.com>
18170 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
18171 length computation of movsi.
18172 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
18174 2002-02-13 Kazu Hirata <kazu@hxi.com>
18176 * config/h8300/h8300.md (subqi3): Tighten the predicate for
18177 operands[2] to register_operand.
18179 Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
18181 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
18183 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
18185 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
18186 for altivec_lvx* and altivec_stvx*.
18187 ("*movv4si_internal"): Add constraint for loading from GPRs.
18188 ("*movv8hi_internal1"): Same.
18189 ("*movv16qi_internal1"): Same.
18190 ("*movv4sf_internal1"): Same.
18192 * config/rs6000/rs6000.c (altivec_register_operand): New.
18194 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
18195 altivec_register_operand.
18197 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
18199 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
18202 2002-02-13 Stan Shebs <shebs@apple.com>
18204 * c-typeck.c (digest_init): Handle vectors.
18205 (really_start_incremental_init): Same.
18206 (pop_init_level): Same.
18207 (process_init_element): Same.
18209 * varasm.c (output_constant): Same.
18211 * expr.c (clear_storage): Same.
18212 (store_constructor): Same.
18214 2002-02-12 Eric Christopher <echristo@redhat.com>
18216 * explow.c (hard_function_value): Add comment explaining
18217 signed/unsigned comparison.
18219 2002-02-12 Jakub Jelinek <jakub@redhat.com>
18221 * jump.c (never_reached_warning): Add finish argument.
18222 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
18223 real insn after end.
18224 * rtl.h (never_reached_warning): Adjust prototype.
18225 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
18226 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
18227 never_reached_warning.
18229 2002-02-12 Graham Stott <grahams@redhat.com>
18231 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
18233 2002-02-12 Kazu Hirata <kazu@hxi.com>
18235 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
18236 logical shifts on H8/300.
18237 (shift_alg_si): Improve several shifts on H8/300.
18238 (get_shift_alg): Likewise.
18240 2002-02-12 Graham Stott <grahams@redhat.com>
18242 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
18244 Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18246 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
18247 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
18249 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
18251 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
18252 non-CONST_INT through default_assemble_integer.
18253 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
18254 <case 8>: Abort for CONST_DOUBLE.
18256 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
18258 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
18260 * config/pa/pa-linux.h (LIB_SPEC): Delete.
18261 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
18263 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
18265 * config/stormy16/stormy16.md (zero_extendqihi2): New.
18267 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
18269 * regrename.c (regrename_optimize): Don't accept a
18270 part-clobbered register if the replaced register is not part
18273 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
18274 take padding into account when computing the argument value.
18276 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
18278 * combine.c (try_combine): Apply substitutions in
18279 CALL_INSN_FUNCTION_USAGE too.
18281 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
18283 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
18284 __builtin_altivec_abs*.
18287 * config/rs6000/rs6000.h (rs6000_builtins): Add
18288 ALTIVEC_BUILTIN_ABS*.
18290 * config/rs6000/altivec.h: Use const char for builtins expecting
18292 (vec_abs): New versions for C and C++.
18295 2002-02-10 Kazu Hirata <kazu@hxi.com>
18297 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
18300 2002-02-10 Kazu Hirata <kazu@hxi.com>
18302 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
18303 constant definition from h8300.md.
18304 (FRAME_POINTER_REGNUM): Likewise.
18305 * config/h8300/h8300.md (define_constants): Add FP_REG.
18307 2002-02-10 Kazu Hirata <kazu@hxi.com>
18309 * config/h8300/h8300.c (print_operand): Remove redundant code.
18311 2002-02-10 Kazu Hirata <kazu@hxi.com>
18313 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
18314 * config/h8300/h8300.c (byte_reg): Make it static.
18316 2002-02-10 Richard Henderson <rth@redhat.com>
18319 * c-typeck.c (incomplete_type_error): Handle flexible array members.
18321 2002-02-10 Richard Henderson <rth@redhat.com>
18324 * tree.c (append_random_chars): Don't abort if main_input_filename
18327 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
18329 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
18331 2002-02-10 Kazu Hirata <kazu@hxi.com>
18333 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
18334 (pushhi1): Likewise.
18336 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
18338 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
18339 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
18341 2002-02-09 David O'Brien <obrien@FreeBSD.org>
18343 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
18345 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
18347 2002-02-09 Kazu Hirata <kazu@hxi.com>
18349 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
18350 a half of an SImode register on H8/300.
18352 Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
18354 * i386.md (movdi_2): Add missing '!'.
18356 2002-02-09 Kazu Hirata <kazu@hxi.com>
18358 * config/h8300/h8300.h: Fix formatting. Remove commented-out
18361 2002-02-09 Kazu Hirata <kazu@hxi.com>
18363 * config/h8300/h8300.md (length): Correct the distance valid
18364 for the short branch.
18366 2002-02-09 Kazu Hirata <kazu@hxi.com>
18368 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
18370 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
18372 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
18373 registers in SImode.
18374 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
18377 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
18380 Contribute sh64-elf.
18381 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
18382 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
18383 (sh_cannot_modify_jumps_p): New function.
18384 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
18385 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
18386 (sh_ms_bitfield_layout_p): New function.
18387 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
18388 Zack Weinberg <zack@codesourcery.com>
18389 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
18390 expand_simple_binop instead of expand_binop.
18391 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
18392 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
18393 use of .quad and .uaquad.
18394 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
18395 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
18396 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
18397 * config/sh/sh.md (movdi_const, movdi_const_32bit,
18398 movdi_const_16bit): Make sure all CONSTs have modes.
18399 (sym2PIC): Ditto, but by adjusting all callers.
18400 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
18401 if the prologue calls the SHmedia argument decoder or register
18403 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
18404 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
18405 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
18406 (sh_expand_epilogue): Don't emit USE of return target register.
18407 (prepare_move_operands): Legitimize DImode PIC addresses.
18408 (sh_media_register_for_return): Skip tr0, used to initialize the
18410 (sh_expand_prologue): Remove explicit USE of return register.
18411 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
18412 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
18413 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
18414 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
18415 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
18416 EXTRA_CONSTRAINT_T.
18417 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
18418 (MOVI_SHORI_BASE_OPERAND_P): New.
18419 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
18420 (EXTRA_CONSTRAINT_T): Define in terms of them.
18421 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
18422 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
18423 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
18424 alternatives supporting TARGET_REGS.
18425 (UNSPEC_GOTPLT): New constant.
18426 (movdi split): Move incrementing of LABEL_NUSES...
18427 (movdi_const, movdi_const_32bit): Here. Use
18428 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
18429 (movdi_const_16bit): New.
18430 (call, call_value) [flag_pic]: Use GOTPLT.
18431 (call_pop, call_value_pop): New expands.
18432 (call_pop_compact, call_pop_rettramp): New insns.
18433 (call_value_pop_compact, call_value_pop_rettramp): New insns.
18434 (sibcall) [flag_pic]: Use GOT.
18435 (builtint_setjmp_receiver): Remove bogus, unused expand.
18436 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
18437 (*pt, *ptb, ptrel): New insns.
18438 (sym2GOT): Handle DImode GOT.
18439 (sym2GOTPLT, symGOTPLT2reg): New expands.
18440 (sym2PIC): New expand.
18441 (shcompact_return_tramp): Use GOTPLT to return trampoline.
18442 (shcompact_return_tramp_i): Use return register explicitly.
18443 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
18444 disable flag_reorder_blocks.
18445 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
18446 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
18447 clobbers, for clarity.
18448 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
18449 restoring of r0 in macl as MAYBE_DEAD.
18450 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
18451 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
18452 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
18453 alter_subreg all over.
18454 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
18455 reload, instead of emitting instructions that would require
18457 (casesi_load_media): Add missing modes.
18458 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
18459 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
18460 as used if the argument decoder is called.
18461 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
18462 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
18463 Pmode, then extend it to DImode if necessary.
18464 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
18465 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
18466 constants in FPU-enabled SHmedia, let them be loaded from memory.
18467 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
18468 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
18469 Adjust whitespace in assembly output templates.
18470 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
18471 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
18472 mode of if_then_else.
18473 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
18474 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
18476 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
18477 Joern Rennecke <amylaar@redhat.com>
18478 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
18479 (SUBTARGET_CPP_PTR_SPEC): New.
18480 (SUBTARGET_CPP_SPEC): Remove.
18481 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
18482 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
18483 Fix typo in previous checkin.
18484 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
18485 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
18486 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
18487 Alexandre Oliva <aoliva@redhat.com>
18488 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
18489 what single FP register can hold for SHmedia target.
18490 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
18491 Alexandre Oliva <aoliva@redhat.com>
18492 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
18493 Do not split into SUBREG.
18494 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
18495 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
18496 and added new functions as specified in SH5 ABI r9.
18497 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
18498 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
18500 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
18501 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
18502 gen_consttable_4 and gen_consttable_8. Emit multiple labels
18503 and consttable_window_ends.
18504 2001-06-03 Graham Stott <grahams@redhat,com>
18505 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
18506 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
18507 * config/sh/sh.c (print_operand): Handle floating-point pair,
18508 vector and matrix registers.
18509 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
18510 vector modes into account.
18511 * config/sh/sh.md (movv2sf): Split move between registers into
18513 (movv4sf, movv16sf): Introduce insns that get split only after
18515 * config/sh/shmedia.h: Fix Copyright dates.
18516 * config/sh/ushmedia.h: Likewise. Move loop counter
18517 declarations into conditionals that uses them.
18518 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
18520 * config/sh/sshmedia.h: Fix Copyright dates.
18521 (sh_media_PUTCFG): Fix constraints.
18522 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
18523 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
18524 ptrmemfunc_vbit_in_delta for SH5.
18525 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
18526 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
18527 * invoke.texi: Likewise.
18528 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
18529 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
18530 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
18531 GCC_pop_shmedia_regs_nofpu): New global symbols.
18532 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
18533 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
18534 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
18535 compact function with nonlocal labels.
18536 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
18537 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
18538 (initial_elimination_offset): Account for their stack space.
18539 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
18540 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
18541 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
18542 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
18543 least one of the operands to be a register.
18544 (movv2sf): Likewise. Renamed to movv2sf_i.
18545 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
18546 prepare_move_operands() before emitting SHmedia insns.
18547 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
18548 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
18549 Don't save nor initialize r12. Don't mis-align the stack.
18550 Pad the code with a nop.
18551 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
18553 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
18554 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
18555 [__SHMEDIA__]: Implement.
18556 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
18557 * config/sh/sh.md: Set latency of `pt' closer to reality.
18558 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
18559 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
18560 Set move, load and store type attributes.
18561 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
18562 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
18564 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
18565 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
18566 * config/sh/sh.c (sh_media_register_for_return): New function.
18567 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
18568 branch-target register.
18569 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
18570 * config/sh/sh.md (return_media_i): Use any call-clobbered
18571 branch-target register.
18572 (return_media): If r18 wasn't copied in the prologue, copy it
18574 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
18575 Clear class FP0_REGS.
18576 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
18578 2001-03-08 DJ Delorie <dj@redhat.com>
18579 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
18580 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
18581 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
18582 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
18583 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
18584 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
18585 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
18586 return value correctly for call_cookie.
18587 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
18588 * config/sh/crt1.asm (start): Modified so as to call
18589 ___setup_argv_and_call_main.
18590 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
18591 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
18593 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
18594 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
18595 (STRIP_NAME_ENCODING): Use it.
18596 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
18597 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
18598 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
18599 prepare_scc_operands().
18600 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
18601 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
18602 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
18603 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
18604 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
18605 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
18606 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
18607 used in shcompact_incoming_args.
18608 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
18610 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
18612 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
18613 Adjust accordingly.
18614 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
18615 Simplify. Adjust. Add sanity check.
18616 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
18618 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
18620 (udivsi3, divsi3): Use them.
18621 (force_mode_for_call): New insn.
18622 (call, call_value, sibcall_value): Emit it before SHcompact
18624 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
18625 * config/sh/sh.md (call, call_value, sibcall): Make sure the
18626 call cookie is non-NULL before taking its value.
18627 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
18628 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
18629 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
18630 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
18632 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
18633 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
18634 temporary for stack adjusts. Use MACL and MACH to pass
18635 arguments to shcompact_incoming_args.
18636 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
18638 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
18639 (nested_trampoline): Load static chain address into r1.
18640 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
18641 2001-01-07 Alexandre Oliva <aoliva@redhat.com
18642 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
18643 fp_arith_reg_operand().
18644 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
18645 * config/sh/sh.md (casesi): Sign-extend the first two operands,
18646 and use signed compares for them.
18647 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
18648 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
18649 ones properly aligned.
18650 (find_barrier): Account for extra alignment needed for 8-byte wide
18652 (machine_dependent_reorg): Require a label for the second 4-byte
18653 constant after an 8-byte one.
18654 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
18656 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
18657 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
18658 last_float when switching float modes.
18659 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
18660 auto-increment for general-purpose registers.
18661 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
18663 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
18665 * config/sh/sh.c (sh_builtin_saveregs): Support using all
18666 registers for varargs.
18667 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
18668 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
18669 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
18670 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
18671 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
18672 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
18673 call_cookie accordingly.
18674 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
18675 (SHCOMPACT_BYREF): Likewise.
18676 (SHCOMPACT_FORCE_ON_STACK): New macro.
18677 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
18678 (sh_builtin_saveregs): Likewise.
18679 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
18680 shcompact_incoming_args): Use new shift values. Support
18681 sequences of consecutive and non-consecutive pushes/pops.
18682 * config/sh/sh.md (return): Don't explicitly use PR_REG.
18683 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
18684 * config/sh/sh.h (TEXT_SECTION): Define.
18685 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
18686 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
18687 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
18688 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
18689 return values on FPU-enabled SHmedia.
18690 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
18691 FPU-enabled SHmedia.
18692 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
18693 value is returned in a non-FP reg and is not returned by
18695 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
18697 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
18698 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
18699 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
18700 quad-aligned to be passed by callee-copy reference.
18701 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
18702 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
18703 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
18704 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
18705 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
18706 copying low-numbered FP regs to r7 and r8.
18707 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
18708 FP regs to general-purpose regs only if the copy was passed on the
18710 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
18711 copying FP reg to r9.
18712 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
18713 copy FP regs to general-purpose regs only in outgoing calls.
18714 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
18715 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
18717 * config/sh/sh.h (struct sh_args): Document all fields.
18718 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
18719 passed partially on the stack should not consider making
18721 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
18722 stack_regs only for incoming calls. When passing FP args,
18723 make sure there are FP regs available before modifying
18725 (SHCOMPACT_BYREF): Pass double args in general-purpose
18726 registers by reference.
18727 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
18728 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
18729 attempt to generate sibcalls if the caller got any arguments
18731 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
18732 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
18733 to 8-byte boundaries.
18734 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
18735 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
18736 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
18737 stored in the stack.
18738 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
18739 for the offsets to have the ISA bit set.
18740 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
18741 invocation. Use beq instead of bgt to mark end of sequence of
18743 (shcompact_incoming_args): Fix store of r2. Use beq instead of
18744 bgt to mark end of sequence of stores.
18745 * config/sh/sh.c (arith_operand): Don't check whether
18746 CONST_OK_FOR_J for now.
18747 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
18748 instead of long for conversion.
18749 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
18750 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
18751 before passing it to fprintf.
18752 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
18753 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
18754 Call set_fpscr before reading/writing SR.
18755 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
18757 * config/sh/lib1funcs.asm: Add `.align 2' directives before
18759 (FMOVD_WORKS): Define on SH5 with FPU.
18760 (set_fpscr): Define on SH5. Remove separate _fpscr_values
18762 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
18764 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
18765 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
18767 (ia_main_table): Ditto.
18768 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
18769 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
18770 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
18771 the definitions from sh.h.
18772 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
18774 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
18775 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
18776 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
18777 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
18778 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
18779 Increment LABEL_NUSES.
18781 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
18783 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
18785 * config/sh/elf.h (SIZE_TYPE): Likewise.
18786 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
18787 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
18788 shcompact_incoming_args): Load switch table addresses using
18790 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
18791 (NO_BUILTIN_SIZE_TYPE): Define.
18792 (SIZE_TYPE): Don't define.
18793 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
18794 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
18795 definition of __SH5__=32 for -m5-compact-nofpu.
18796 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
18798 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
18799 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
18800 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
18801 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
18802 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
18803 (INSN_LENGTH_ALIGNMENT): Likewise.
18804 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
18805 * config/sh/sh.md (call, call_value, sibcall): Simplify
18806 copying of non-branch-target register.
18807 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
18808 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
18809 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
18810 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
18811 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
18812 floating-point values as structs.
18813 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
18814 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
18815 general-purpose register.
18816 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
18817 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
18818 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
18819 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
18820 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
18821 (ENCODE_SECTION_INFO): Enclose variables and constants in
18823 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
18824 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
18825 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
18826 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
18827 only for LABEL_REFs. For SYMBOL_REFs, prepend
18828 SH_DATALABEL_ENCODING to the symbol name.
18829 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
18831 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
18832 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
18834 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
18835 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
18836 (DATALABEL_REF_P): Don't require CONST.
18837 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
18839 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
18840 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
18842 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
18843 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
18844 Use shallow_copy_rtx and PUT_MODE to change the mode of
18845 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
18846 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
18847 on SHmedia using GENERAL_REGs.
18848 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
18849 bltu_media_i): Fix reversion of conditions.
18850 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
18851 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
18852 * config/sh/sh.c (output_far_jump): Save r13 in macl.
18853 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
18854 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
18855 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
18856 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
18857 (GCC_nested_trampoline): Likewise.
18858 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
18859 * config/sh/sh.c (gen_datalabel_ref): Define.
18860 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
18861 (INITIALIZE_TRAMPOLINE): Likewise.
18862 (TRAMPOLINE_ADJUST_ADDRESS): Define.
18863 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
18864 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
18865 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
18866 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
18867 (ic_invalidate): Adjust for SH5.
18868 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
18869 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
18870 _nested_trampoline.
18871 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
18872 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
18873 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
18874 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
18875 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
18876 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
18877 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
18878 * config/sh/sh.c (target_reg_operand): Match only target-branch
18879 registers and pseudos that aren't virtual registers.
18880 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
18881 Copy operands that don't match target_reg_operand to pseudos.
18882 (call_media, call_value_media, sibcall_media): Use
18883 target_reg_operand instead of target_operand.
18884 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
18885 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
18886 * config/sh/sh.c (target_reg_operand): Match hardware registers
18887 other than branch-target registers.
18888 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
18889 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
18890 (fpscr_values) [SH5 == 32]: Define.
18891 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
18892 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
18893 Handle function addresses coming in SUBREGs.
18894 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
18895 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
18896 shcompact_return_trampoline): Use datalabel where appropriate.
18897 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
18898 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
18899 general-purpose register to copy one branch-target register to
18901 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
18902 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
18903 SYMBOL_REFs with VOIDmode.
18904 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
18905 bltu_media_i): New insns.
18906 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
18907 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
18908 (INIT_CUMULATIVE_ARGS): Likewise.
18909 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
18910 * machmode.def (V16SFmode): New mode.
18911 * c-common.c (type_for_mode): Support V2SF and V16SF.
18912 * tree.c (build_common_tree_nodes_2): Likewise.
18913 * tree.h (tree_index): Likewise.
18914 * calls.c (emit_call_1): Take args_so_far. Adjust all
18915 callers. Introduce CALL_POPS_ARGS.
18916 * tm.texi (CALL_POPS_ARGS): Document.
18917 * config/sh/crt1.asm: Implement in SHmedia mode.
18918 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
18919 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
18920 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
18921 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
18922 Implement divsi and udivsi in SHmedia mode. Introduce
18923 SHcompact trampolines.
18924 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
18926 (regno_reg_class): Rewrite.
18927 (fp_reg_names): Remove.
18928 (sh_register_names, sh_additional_register_names): New.
18929 (print_operand): Added `u'. Support SUBREGs in addresses.
18930 Add parentheses around shifted CONSTs.
18931 (output_file_start): Output .mode and .abi directives.
18932 (shiftcosts, addsubcosts, multcosts): Adjust.
18933 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
18934 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
18935 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
18936 bytes, not registers. Take into account the need for the
18937 SHcompact incoming args trampoline. Adjust all callers.
18938 (sh_expand_prologue): Take stack_regs into account. Call
18939 incoming args trampoline. Keep stack aligned as per SH5 ABI.
18940 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
18941 stack aligned as per SH5 ABI.
18942 (sh_builtin_saveregs): Support SH5 ABI.
18943 (sh_build_va_list, sh_va_start): Likewise.
18944 (initial_elimination_offset): Take alignment into account.
18945 Compute location of PR according to the SH5 stack frame.
18946 (arith_reg_operand): Reject branch-target registers.
18947 (shmedia_6bit_operand): New.
18948 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
18949 (target_reg_operand): Match DImode only. Accept SUBREGs.
18950 (target_operand): New.
18951 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
18952 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
18953 SIBCALL_REGS for SHmedia.
18954 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
18955 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
18956 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
18957 (TARGET_SWITCHES): New SH5 flags.
18958 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
18959 VALID_REGISTER_P to disable unsupported registers.
18960 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
18961 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
18962 (FUNCTION_ARG_PADDING): Define.
18963 (FASTEST_ALIGNMENT): Adjust.
18964 (SH_REGISTER_NAMES_INITIALIZER): New.
18965 (sh_register_names): Declare.
18966 (DEBUG_REGISTER_NAMES): Define.
18967 (REGISTER_NAMES): Define based on sh_register_names.
18968 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
18969 (sh_additional_register_names): Declare.
18970 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
18971 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
18972 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
18973 (REGISTER_NATURAL_MODE): Define.
18974 (FIRST_PSEUDO_REGISTER): Adjust.
18975 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
18976 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
18977 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
18978 (VECTOR_MODE_SUPPORTED_P): Define.
18979 (REG_CLASS_CONTENTS): Adjust.
18980 (SMALL_REGISTER_CLASSES): Adjust.
18981 (REG_ALLOC_ORDER): Adjust.
18982 (INDEX_REG_CLASS): Adjust.
18983 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
18984 (CONST_OK_FOR_LETTER_P): Adjust.
18985 (PREFERRED_RELOAD_CLASS): Adjust.
18986 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
18987 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
18988 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
18989 (FIRST_FP_PARM_REG): Adjust.
18990 (CALL_POPS_ARGS): Define.
18991 (FUNCTION_ARG_REGNO_P): Adjust.
18992 (struct sh_args): New fields.
18993 (GET_SH_ARG_CLASS): Adjust.
18994 (INIT_CUMULATIVE_ARGS): Adjust.
18995 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
18996 (FUNCTION_ARG_ADVANCE): Adjust.
18997 (FUNCTION_ARG): Adjust.
18998 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
18999 (FUNCTION_ARG_CALLEE_COPIES): Define.
19000 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
19001 (STRICT_ARGUMENT_NAMING): Define.
19002 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
19003 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
19004 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
19005 (SETUP_INCOMING_VARARGS): Adjust.
19006 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
19007 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
19008 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
19009 (SUBREG_OK_FOR_INDEX_P): Adjust.
19010 (EXTRA_CONSTRAINT_S): Update.
19011 (EXTRA_CONSTRAINT_T): New.
19012 (EXTRA_CONSTRAINT): Adjust.
19013 (GO_IF_LEGITIMATE_INDEX): Adjust.
19014 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
19015 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
19016 (MOVE_MAX): Adjust.
19017 (MAX_MOVE_MAX): Define.
19019 (CONST_COSTS): Adjust.
19020 (REGISTER_MOVE_COST): Adjust.
19021 (BRANCH_COST): Adjust.
19022 (TEXT_SECTION_ASM_OP): Adjust.
19023 (DBX_REGISTER_NUMBER): Adjust.
19024 (ASM_OUTPUT_DOUBLE_INT): New.
19025 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
19026 (PREDICATE_CODES): Adjust.
19027 (PROMOTE_MODE): Adjust.
19028 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
19029 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
19030 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
19031 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
19032 (DR0_REG, DR2_REG, DR4_REG): Renumber.
19033 (TR0_REG, TR1_REG, TR2_REG): New.
19034 (XD0_REG): Renumber.
19035 (UNSPEC_COMPACT_ARGS): New.
19036 (type): Added pt and ptabs.
19037 (length): Default to 4 on SHmedia. Default pt length to 12
19038 and 20 on SHmedia32 and SHmedia64, respectively.
19039 (pt): New function unit.
19040 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
19041 Add whitespace between operands of SHmedia instructions.
19043 (adddi3_media, addsi3_media): Adjust constraints.
19044 (subsi3) [SHmedia]: Force operand 1 into a register.
19045 (udivsi3_i1_media, udivsi3_i4_media): New.
19046 (udivsi3): Support SHmedia.
19047 (divsi3_i1_media, divsi3_i4_media): New.
19048 (divsi3): Support SHmedia.
19049 (anddi3, iordi3, xordi3): Adjust constraints.
19050 (zero_extendhidi2, zero_extendqidi2): New.
19051 (extendsidi2, extendhidi2, extendqidi2): New.
19052 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
19053 (pop_e, pop_fpul, pop_4): Likewise.
19054 (movsi_media): Support FP and BT registers.
19055 (movsi_media_nofpu): New. Adjust splits to DImode.
19056 (lduw, ldub): Renamed to zero_extend* above.
19057 (movqi_media): Fix typo.
19058 (movdi_media): Support FP and BT registers.
19059 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
19060 (movdi_const_32bit): New.
19061 (shori_media): Require immediate operand. Use `u' for output.
19062 (movdf_media, movsf_media): Simplified.
19063 (movdf_media_nofpu, movsf_media_nofpu): New.
19064 (movdf, movsf): Adjust
19065 (movv2sf, movv2sf, movv16sf): New.
19066 (beq_media, beq_media_i): Adjust constraints. Don't use
19067 scratch BT register.
19068 (bne_media, bne_media_i): Likewise.
19069 (bgt_media, bgt_media_i): Likewise.
19070 (bge_media, bge_media_i): Likewise.
19071 (bgtu_media, bgtu_media_i): Likewise.
19072 (bgeu_media, bgeu_media_i): Likewise.
19073 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
19074 bunordered): Emit jump insn. Force operands to registers when
19076 (jump_media, jump): Simplify.
19077 (call_compact, call_compact_rettramp): New.
19078 (call_value_compact, call_value_compact_rettramp): New.
19079 (call_media, call_value_media): Simplify.
19080 (sibcall_compact, sibcall_media): New.
19081 (call, call_value): Adjust for SHmedia and SHcompact.
19082 (sibcall, sibcall_value, untyped_call): Likewise.
19083 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
19084 (indirect_jump): Adjust for SHmedia.
19085 (casesi_jump_media): New.
19086 (nop): Re-enable for SHmedia.
19087 (call_site): Restrict to SH1.
19088 (casesi): Adjust for SHmedia.
19089 (casesi_shift_media, casesi_load_media): New.
19090 (return): Explicitly use PR register. Call return trampoline
19092 (return_i): Explicitly use PR register.
19093 (shcompact_return_tramp, shcompact_return_tramp_i): New.
19094 (return_media): Adjust.
19095 (shcompact_incoming_args): New.
19096 (epilogue): Adjust.
19097 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
19098 (movstrsi): Disable on SH5.
19099 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
19100 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
19101 (subsf3, subsf3_media): Likewise.
19102 (mulsf3, mulsf3_media, mac_media): Likewise.
19103 (divsf3, divsf3_media): Likewise.
19104 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
19105 (floatsisf2, fux_truncsfsi2): Likewise.
19106 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
19108 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
19109 (cmpunsf_media, cmpsf): Likewise.
19110 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
19111 (abssf2, abssf2_media): Likewise.
19112 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
19113 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
19114 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
19115 (floatsidf2, fix_truncdfsi2): Likewise.
19116 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
19118 (cmpeqdf_media, cmpgtdf_media): Likewise.
19119 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
19120 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
19121 (absdf2, absdf2_media): Likewise.
19122 (extendsfdf2, extendsfdf2_media): Likewise.
19123 (truncsfdf2, truncsfdf2_media): Likewise.
19124 * config/sh/sh64.h: New file.
19125 * config/sh/t-sh64: New file.
19126 * config/sh/shmedia.h: New file.
19127 * config/sh/ushmedia.h: New file.
19128 * config/sh/sshmedia.h: New file.
19129 * configure.in: Added sh64-*-elf.
19130 * configure: Rebuilt.
19131 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
19132 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
19133 (reg_class_from_letter): Use `b' for TARGET_REGS.
19134 (print_operand): Support `%M', `%m', `AND' and
19135 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
19136 (andcosts): Adjust for SHmedia.
19137 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
19139 (target_reg_operand): New function.
19140 * config/sh/sh-protos.h (target_reg_operand): Declare.
19141 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
19142 FP registers on SH5.
19143 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
19145 (TARGET_REGISTER_P): New macro.
19146 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
19147 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
19148 (EXTRA_CONSTRAINT_S): New macro.
19149 (EXTRA_CONSTRAINT): Adjust.
19150 (FLOAT_TYPE_SIZE): Define to 32.
19151 (Pmode): DImode on SHmedia.
19152 (CONST_COSTS): Adjust for SHmedia literals.
19153 (PREDICATE_CODES): Added target_reg_operand.
19154 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
19155 * config/sh/sh.md: Remove all attrs from SHmedia insns.
19156 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
19157 (cmpdi): Accept SHmedia.
19158 (movdicc_false, movdicc_true): New insns.
19159 (movdicc): New expand.
19160 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
19162 (addsi3_media): Match `S' constraint.
19163 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
19164 (negdi2): Expand for SHmedia.
19165 (one_cmpldi2): New expand.
19166 (zero_extendsidi2): Change from expand to insn.
19167 (extendsidi2): Add constraints.
19168 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
19169 LD/ST address. Fix SI immediate loading split.
19170 (movhi_media, movqi_media, lduw, ldub): New insns.
19171 (movhi, movqi): Accept SHmedia.
19172 (shori_media, movdi_media): Relax input constraints. Split
19173 symbolic constants.
19174 (movdf_media, movsf_media): New insn. New split to movdi.
19175 (movdf, movsf): Match on SHmedia.
19176 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
19177 bgeu_media): New insns and splits. New insns with `_i' suffix.
19178 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
19179 (bunordered): New expand.
19180 (jump_compact): Renamed from `jump'.
19181 (jump_media): New insn.
19182 (jump): New expand.
19183 (call_media, call_value_media): New insns.
19184 (call, call_value): Adjust.
19185 (indirect_jump_compact): Renamed from `indirect_jump'.
19186 (indirect_jump_media): New insn.
19187 (indirect_jump): New expand.
19188 (untyped_call, return): Accept SHmedia.
19189 (return_media): New insn.
19190 (prologue, epilogue, blockage): Accept SHmedia.
19191 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
19192 (sunordered): New expand.
19193 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
19194 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
19195 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
19196 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
19197 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
19198 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
19199 abssf2_media): New insns.
19200 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
19201 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
19202 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
19203 floatdidf2, floatsidf2_media, fix_truncdfdi2,
19204 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
19205 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
19206 absdf2_media): New insns.
19207 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
19208 (extendsfdf2_media, truncdfsf2_media): New insns.
19209 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
19210 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
19211 * config/sh/sh.h (CONST_OK_FOR_J): Document.
19212 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
19213 * config/sh/sh.md (adddi3): New expand.
19214 (adddi3_media, adddi3z_media): New insns.
19215 (adddi3_compact): Renamed from adddi3.
19216 (addsi3_media): Use add.l r63 to add constant zero.
19217 (subdi3): New expand.
19218 (subdi3_media): New insn.
19219 (subdi3_compact): Renamed from subdi3.
19220 (mulsidi3): New expand.
19221 (mulsidi3_media): New insn.
19222 (mulsidi3_compact): Renamed from mulsidi3.
19223 (umulsidi3): New expand.
19224 (umulsidi3_media): New insn.
19225 (umulsidi3_compact): Renamed from umulsidi3.
19226 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
19227 (ashlsi3, ashrsi3, lshrsi3): Use them.
19228 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
19229 (ashldi3, ashrdi3, lshrdi3): Use them.
19230 (zero_extendsidi2): New expand.
19231 (extendsidi2): New insn.
19232 (movsi_media): New insn. Split to movdi to load constants.
19233 (movsi): Enable for shmedia.
19234 (movdi_media): New insn. Use shori_media to load wide constants.
19235 (short_media): New insn.
19236 (movdi): Enable for shmedia.
19237 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
19238 * config/sh/sh.h (CPP_SPEC): Added `m5'.
19239 (SUBTARGET_CPP_SPEC): Added `!m5'.
19240 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
19241 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
19242 to all other SH variants.
19243 (TARGET_DEFAULT): Set to SH1_BIT.
19244 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
19245 (BITS_PER_WORD): Raise to 64 on shmedia.
19246 (MAX_BITS_PER_WORD): Change to 64.
19247 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
19248 (INT_TYPE_SIZE): Keep as 32.
19249 (UNITS_PER_WORD): Raise to 8 on shmedia.
19250 (MIN_UNITS_PER_WORD): Keep as 4.
19251 (POINTER_SIZE): Raise to 64 on shmedia.
19252 (CONST_OK_FOR_J): New macro.
19253 (CONST_OK_FOR_LETTER_P): Use it.
19254 (processor_type): Add PROCESSOR_SH5.
19255 * config/sh/sh.md: Conditionalize all expands, insns and
19256 splits to TARGET_SH1.
19258 (addsi3_compact): Renamed from...
19259 (addsi3): Now an expand.
19260 (addsi3_media, subsi3_media): New insns.
19261 (subsi3): Don't negate constants with SHmedia.
19263 * hooks.c: New file.
19264 * hooks.h: New file.
19265 * Makefile.in (HOOKS_H): New.
19266 (TARGET_DEF_H): Added $(HOOKS_H).
19267 (OBJS): Added hooks.o.
19268 (cfgcleanup.o, bb-reorder.o): Added target.h.
19269 (hooks.o): Added dependencies.
19270 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
19271 (TARGET_INITIALIZER): this.
19272 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
19273 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
19274 * bb-reorder.c: Include target.h.
19275 (reorder_basic_blocks): Skip if cannot modify jumps.
19276 * cfgcleanup.c: Include target.h.
19277 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
19279 2002-02-08 Chris Demetriou <cgd@broadcom.com>
19281 * config/mips/mips.md (casesi_internal, casesi_internal_di):
19282 Protect jump delay slot instructions with .set noreorder and
19285 2002-02-08 Chris Demetriou <cgd@broadcom.com>
19287 * config/mips/mips.md (casesi_internal_di): Calculate
19288 the index into the target offset table correctly.
19290 2002-02-08 Richard Henderson <rth@redhat.com>
19292 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
19293 * final.c (output_addr_const): Accept and discard SUBREG.
19294 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
19295 mark them unknown instead.
19296 (simplify_subtraction): Handle RTX_UNKNOWN.
19297 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
19299 2002-02-08 David Edelsohn <edelsohn@gnu.org>
19301 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
19303 2002-02-08 Richard Henderson <rth@redhat.com>
19305 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
19307 2002-02-08 Andreas Jaeger <aj@suse.de>
19309 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
19310 * config/i386/t-linux64: New file.
19312 2002-02-08 Jakub Jelinek <jakub@redhat.com>
19314 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
19315 * c-parse.in (compstmt): Clear last_expr_type.
19317 2002-02-07 Richard Henderson <rth@redhat.com>
19319 * loop.c (strength_reduce): Sink final_value when not
19322 2002-02-07 David O'Brien <obrien@FreeBSD.org>
19324 * config/sparc/freebsd.h: Fix mismatched spec {.
19326 2002-02-07 Richard Henderson <rth@redhat.com>
19328 * cfgrtl.c: Include recog.h and insn-config.h.
19329 (keep_with_call_p): Fix general_operand invocation.
19330 * Makefile.in (cfgrtl.o): Update dependencies.
19332 2002-02-07 Kazu Hirata <kazu@hxi.com>
19334 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
19335 comment. Accept HImode only if TARGET_H8300.
19337 2002-02-07 Eric Christopher <echristo@redhat.com>
19339 * config/mips/crtn.asm: Cleanup #ifdefs.
19341 2002-02-07 Eric Christopher <echristo@redhat.com>
19343 * config/mips/crti.asm: Add changes for mips16. mips16 uses
19344 register 7 as RA instead of $31.
19345 * config/mips/crtn.asm: Ditto.
19346 * config/mips/mips.c (mips_move_2words): Add case for
19347 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
19348 (compute_frame_size): Fix typo.
19349 (save_restore_insns): Ditto. Make documentation about using
19350 register $7 as return register more precise.
19351 (mips_expand_epilogue): Fix comment. Add code to work around not
19352 being able to add to the stack pointer directly.
19353 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
19354 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
19357 2002-02-07 Tom Rix <trix@redhat.com>
19359 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
19360 immediates in ldu and stdu DS opcode field.
19361 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
19362 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
19363 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
19365 2002-02-07 Jeff Sturm <jsturm@one-point.com>
19367 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
19368 offset for stack bias.
19370 2002-02-07 H.J. Lu <hjl@gnu.org>
19372 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
19374 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
19376 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
19378 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
19380 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
19381 * i386.c (x86_order_regs_for_local_alloc): New global function.
19382 * i386.h (REG_ALLOC_ORDER): CLeanup.
19383 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
19385 2002-02-07 Richard Henderson <rth@redhat.com>
19387 PR optimization/2463
19388 * alias.c (find_base_value): Recall base values for fixed hard regs.
19389 * loop.c (loop_regs_update): Don't use single_set on non-insns.
19391 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
19393 * config/mips/mips.md (define_delay) [mips16]: Adjust required
19396 2002-02-06 Richard Henderson <rth@redhat.com>
19399 * stmt.c (resolve_operand_name_1): Take more care with mixed
19400 named and unnamed operands.
19402 2002-02-06 Janis Johnson <janis187@us.ibm.com>
19403 Jan Hubicka <jh@suse.cz>
19405 * loop.c (remove_constant_addition): Avoid clobbering a shared
19408 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
19410 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
19411 * config/s390/t-linux64: New file.
19412 * config/s390/libgcc-glibc.ver: New file.
19414 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
19416 * config/s390/linux64.h: Delete file.
19417 * config/s390/s390x.h: New file.
19418 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
19419 as target header file.
19420 * config/s390/linux.h (TARGET_VERSION): Define depending on
19421 DEFAULT_TARGET_64BIT.
19422 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
19423 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
19424 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
19425 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
19426 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
19427 (EXTRA_SPEC): New define.
19428 * config/s390/s390.h (TARGET_VERSION): Define depending on
19429 DEFAULT_TARGET_64BIT.
19430 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
19432 2002-02-06 Jason Merrill <jason@redhat.com>
19434 * c-decl.c (finish_function): Warn about a non-void function with
19435 no return statement and no abnormal exit.
19436 (current_function_returns_abnormally): New variable.
19437 (start_function): Clear it.
19438 (struct c_language_function): Add returns_abnormally.
19439 (push_c_function_context): Save it.
19440 (pop_c_function_context): Restore it.
19441 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
19442 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
19443 an explicit return type.
19444 * c-tree.h: Declare current_function_returns_abnormally.
19445 (C_FUNCTION_IMPLICIT_INT): New macro.
19446 * c-typeck.c (build_function_call): Set it.
19447 (c_expand_return): Set current_function_returns_value even if the
19448 value is erroneous.
19450 2002-02-06 Jakub Jelinek <jakub@redhat.com>
19453 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
19454 unsafe for reevaluation.
19456 2002-02-06 Jakub Jelinek <jakub@redhat.com>
19459 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
19460 EXPR_STMT, but COMPOUND_STMT, recurse into it.
19462 2002-02-06 Richard Henderson <rth@redhat.com>
19464 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
19465 be a general_operand. Dest for function value must be a pseudo.
19467 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
19469 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
19470 as SYMBOL_REFs from the constant pool.
19472 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
19474 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
19475 passed by invisible reference.
19477 2002-02-05 Richard Henderson <rth@redhat.com>
19479 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
19481 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
19483 Implement using "base addresses" in insn operands as default.
19484 * config/mmix/mmix.c (mmix_conditional_register_usage): if
19485 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
19486 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
19487 used to read the rtx value.
19488 (mmix_target_asm_function_epilogue): Fix spacing.
19489 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
19490 (mmix_legitimate_address): Ditto.
19491 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
19492 should be loaded with a GETA insn. Don't allocate needless extra
19493 char for nul termination and fix misleading comment.
19494 (mmix_print_operand_address): Handle constants if
19495 TARGET_BASE_ADDRESSES.
19496 (mmix_output_register_setting): Use base addressing if
19497 TARGET_BASE_ADDRESSES and the number of insns is 3.
19498 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
19499 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
19500 to use R as constraint, add LDA to match s.
19501 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
19502 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
19503 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
19504 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
19505 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
19506 order with other fixed registers.
19507 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
19508 other parameter/call-clobbered registers.
19509 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
19510 -mbase-addresses, -mno-base-addresses.
19511 (MMIX Options): Ditto.
19513 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
19515 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
19517 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
19519 * config/rs6000/altivec.h: Change elem to _S_elem.
19521 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
19523 * config/netbsd.h (WCHAR_TYPE): Define.
19524 (WCHAR_TYPE_SIZE): Ditto.
19525 (WINT_TYPE): Ditto.
19526 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
19527 (WCHAR_UNSIGNED): Ditto.
19528 (WCHAR_TYPE_SIZE): Ditto.
19529 (WINT_TYPE): Ditto.
19530 * config/arm/netbsd.h: Likewise.
19531 * config/i386/netbsd-elf.h: Likewise.
19532 * config/i386/netbsd.h: Likewise.
19533 * config/m68k/netbsd-elf.h: Likewise.
19534 * config/m68k/netbsd.h: Likewise.
19535 * config/ns32k/netbsd.h: Likewise.
19536 * config/sparc/netbsd.h: Likewise.
19537 * config/vax/netbsd.: Likewise.
19539 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
19541 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
19542 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
19543 (TARGET_INITIALIZER): this.
19544 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
19545 (BITFIELD_NBYTES_LIMITED): Markup fix.
19546 * tree.h (default_ms_bitfield_layout_p): Declare.
19547 (record_layout_info): Added prev_field.
19548 * tree.c (default_ms_bitfield_layout_p): New fn.
19549 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
19550 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
19551 * stor-layout.c: Include target.h.
19552 (start_record_layout): Initialize prev_field.
19553 (place_field): Handle MS bit-field layout, and disregard
19554 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
19555 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
19556 * Makefile.in (stor-layout.o): Adjust dependencies.
19558 2002-02-05 Jason Merrill <jason@redhat.com>
19560 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
19562 2002-02-05 Andreas Jaeger <aj@suse.de>
19564 * crtstuff.c: Fix comments.
19566 2002-02-05 Richard Henderson <rth@redhat.com>
19569 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
19570 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
19573 * config/mips/mips.c (function_arg): Handle TImode.
19574 (function_arg_advance): Likewise.
19576 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
19578 * config/rs6000/altivec.h (vec_step_help): Rename to
19581 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
19583 * config/rs6000/altivec.h: Fix typos.
19585 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
19587 * config/arm/netbsd.h: Correct a comment.
19589 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
19591 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
19592 building void typed builtins.
19594 * config/rs6000/altivec.h (vec_ld*): Fix typos.
19595 (vec_step): Implement for C++.
19597 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
19599 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
19601 2002-02-04 Richard Henderson <rth@redhat.com>
19603 * combine.c (nonzero_bits): Re-introduce special case for
19604 sp/fp/ap wrt REGNO_POINTER_ALIGN.
19606 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
19608 * doc/extend.texi: Warn about unsupported usage of altivec
19611 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
19612 (altivec_predicate_*): New.
19614 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
19615 Add C++ version of vec_*() functions.
19617 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
19618 (bdesc_2arg): Remove altivec predicates.
19619 (altivec_expand_builtin): Handle predicates.
19620 (altivec_init_builtins): Handle predicates.
19621 (altivec_expand_predicate_builtin): New.
19623 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
19625 * pa.c (DO_FRAME_NOTES): Move forward.
19626 (store_reg): Revise handling of frame notes.
19627 (load_reg): Likewise.
19628 (set_reg_plus_d): Likewise.
19629 (hppa_expand_prologue): Likewise.
19630 (hppa_expand_epilogue): Likewise.
19632 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
19634 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
19636 2002-02-04 Jakub Jelinek <jakub@redhat.com>
19638 PR c/4475, c++/3780:
19639 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
19640 * c-common.h (SWITCH_TYPE): Define.
19641 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
19642 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
19643 Rename spareness variable to sparseness.
19644 (expand_end_case_type): Renamed from expand_end_case, use orig_type
19645 if non-NULL instead of TREE_TYPE (orig_index).
19646 * tree.h (expand_end_case_type): Renamed from expand_end_case.
19647 (expand_end_case): Define using expand_end_case_type.
19648 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
19649 to expand_end_case_type.
19650 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
19652 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
19654 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
19655 (BIGGEST_ALIGNMENT): Change to 128.
19657 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
19659 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
19661 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
19663 * pa.md (call_internal_reg_64bit): Remove unused variable.
19665 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
19667 * config/arm/arm.h (machine_function): Add uses_anonymous_args
19669 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
19670 * config/arm/arm.c (current_function_anonymous_args): Delete,
19671 replace uses with cfun->machine->uses_anonymous_args.
19672 (arm_reorg): Do not reset uses_anonymous_args.
19674 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
19675 any geenral register.
19677 2001-02-04 Bernd Schmidt <bernds@redhat.com>s
19679 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
19682 2002-02-04 Richard Henderson <rth@redhat.com>
19684 * combine.c (force_to_mode): Remove STACK_BIAS code.
19685 (nonzero_bits): Likewise. Replace sp/fp special case with
19686 REGNO_POINTER_ALIGN.
19688 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
19689 (HARD_FRAME_POINTER_REGNUM): New.
19690 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
19691 (FIXED_REGS, CALL_USED_REGS): Update.
19692 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
19693 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
19694 (HARD_REGNO_NREGS): Update for SFP.
19695 (STACK_POINTER_OFFSET): Include bias here ...
19696 (FIRST_PARM_OFFSET): ... not here.
19697 (STACK_BIAS): Remove.
19698 (INIT_EXPANDERS): New.
19699 (STARTING_FRAME_OFFSET): Do not include bias.
19700 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
19701 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
19702 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
19703 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
19704 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
19705 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
19706 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
19707 (MUST_SAVE_REGISTER): Likewise.
19708 (sparc_flat_function_prologue): Likewise.
19709 (sparc_flat_function_epilogue): Likewise.
19710 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
19711 (sparc_init_modes): SFP is GENERAL_REGS.
19712 (sparc_builtin_saveregs): SFP does not have bias applied.
19714 2002-02-04 Richard Henderson <rth@redhat.com>
19716 * config/alpha/alpha.c (current_function_is_thunk): Don't check
19717 current_function_is_thunk.
19718 (alpha_sa_mask): Distinguish between current_function_is_thunk
19719 called from ASM_OUTPUT_MI_THUNK and not.
19720 (alpha_does_function_need_gp): Thunks always need gp.
19721 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
19722 (alpha_output_mi_thunk_osf): New.
19723 * config/alpha/alpha-protos.h: Update.
19724 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
19726 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
19728 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
19729 function types, not when they're taken away.
19731 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
19733 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
19734 CODE_LABEL and jump table when replacing a table jump with a
19737 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19739 * config/s390/s390-protos.h (legitimize_la_operand,
19740 s390_secondary_input_reload_class, s390_plus_operand,
19741 s390_expand_plus_operand): Add prototypes.
19743 config/s390/s390.c (s390_secondary_input_reload_class,
19744 s390_plus_operand, s390_expand_plus_operand): New functions.
19746 (struct s390_address): New member 'pointer'.
19747 (s390_decompose_address): Compute it.
19748 (legitimate_la_operand_p): Use it.
19749 (legitimize_la_operand): New function.
19750 (movti, movdi, movdf splitters): Call it.
19752 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
19753 (PREDICATE_CODES): Add s390_plus_operand.
19755 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
19756 (la_ccclobber): Allow GENERAL_REGS as output operand.
19758 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
19759 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
19760 (*la_64, *la_31, reload_indi, reload_insi): ... these.
19762 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19764 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
19765 register names for regular asm () construct.
19767 2002-02-04 Jakub Jelinek <jakub@redhat.com>
19769 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
19772 2002-02-04 Jakub Jelinek <jakub@redhat.com>
19774 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
19777 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
19779 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
19780 constant pool to be identical by string address and index.
19782 2002-02-04 Anthony Green <green@redhat.com>
19784 * output.h (SECTION_OVERRIDE): Define.
19785 * varasm.c (named_section): Obey SECTION_OVERRIDE.
19787 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
19789 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
19790 by existing arm*-*-netbsd* (a.out) target.
19791 (ns32k-*-netbsdelf*): Likewise.
19792 (sparc-*-netbsdelf*): Likewise.
19793 (vax-*-netbsdelf*): Likewise.
19795 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
19797 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
19798 headers and libobjc headers.
19800 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
19802 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
19803 (_mingw.h): Remove duplicate include.
19805 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
19807 * config.gcc: Set cpu_type to m68k for 68010, as well.
19808 (m68010-*-netbsdelf*): New...
19809 (m68k*-*-netbsdelf*): ...targets.
19810 * config/m68k/netbsd-elf.h: New file.
19812 2002-02-02 Kazu Hirata <kazu@hxi.com>
19814 * config/h8300/h8300.c (hand_list): Move inside function_arg.
19816 2002-02-02 Kazu Hirata <kazu@hxi.com>
19818 * config/h8300/h8300.c (h8_push_ops): Move inside
19820 (h8_pop_ops): Likewise.
19821 (h8_move_ops): Likewise.
19823 2002-02-02 Kazu Hirata <kazu@hxi.com>
19825 * config/h8300/h8300.c (os_task): Make it static.
19826 (monitor): Likewise.
19827 (pragma_saveall): Likewise.
19829 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
19831 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
19832 constant is a valid sign-extension for Pmode.
19834 2002-02-02 Kazu Hirata <kazu@hxi.com>
19836 * config/h8300/h8300.c: Fix formatting.
19838 2002-02-02 Kazu Hirata <kazu@hxi.com>
19840 * config/h8300/h8300.md: Fix formatting.
19842 2002-02-02 Kazu Hirata <kazu@hxi.com>
19844 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
19845 predicates of operands[1]. Split the patterns for each
19848 2002-02-02 Kazu Hirata <kazu@hxi.com>
19850 * config/h8300/h8300.md (xor patterns): Tighten the predicates
19851 of operands[1] to register_operand.
19853 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
19855 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
19856 * cpphash.c (_cpp_init_hashtable): Similarly.
19857 * cppinit.c (cpp_create_reader): Default the signed_char flag.
19858 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
19859 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
19860 (cpp_handle_option): Handle the new options.
19861 * cpplex.c (cpp_interpret_charconst): Use new flag.
19862 * cpplib.h (struct cpp_options): New member signed_char.
19863 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
19864 (cpp_options): Handle -fsigned-char and -funsigned-char.
19865 (static_specs): Remove signed_char_spec.
19866 (do_spec1): Don't handle %c.
19867 * system.h: Poison SIGNED_CHAR_SPEC.
19868 * tradcif.y (yylex): Use flag_signed_char.
19869 * tradcpp.h (flag_signed_char): New.
19870 * tradcpp.c (flag_signed_char): New.
19871 (main): Handle new command-line options.
19872 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
19874 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
19875 * avr/avr.h: Remove old comments.
19876 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
19877 (CC1_SPEC): Pass -fsigned-char if -mic*.
19878 (SIGNED_CHAR_SPEC): Remove.
19880 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
19882 2002-02-01 Eric Christopher <echristo@redhat.com>
19884 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
19885 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
19886 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
19887 (ASM_OUTPUT_REG_POP): Ditto.
19889 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
19891 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
19894 2002-02-02 Jakub Jelinek <jakub@redhat.com>
19896 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
19898 2002-02-02 Jakub Jelinek <jakub@redhat.com>
19901 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
19904 2002-02-01 Janis Johnson <janis187@us.ibm.com>
19906 * cfganal.c: Include tm_p.h.
19907 (keep_with_call_p): Fix the test that determines if a register holds
19908 the return value of a call.
19910 2002-02-01 DJ Delorie <dj@redhat.com>
19912 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
19913 we are given conflicting registers, switch to the other one we
19914 had allocated for us.
19915 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
19916 as TImode so we know when the "other" register is available.
19918 2002-02-01 David O'Brien <obrien@FreeBSD.org>
19920 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
19923 2002-02-01 Janis Johnson <janis187@us.ibm.com>
19925 * cfganal.c (keep_with_call_p): New function.
19926 (flow_call_edges_add): Prevent splitting a block between a call and
19927 a single-set instruction that should be kept in the same block.
19929 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
19931 * doc/install.texi (avr): Update outdated URL.
19933 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
19935 * config/stormy16/stormy16.md (pushqi): New.
19939 (movhi): Remove stack operands.
19941 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
19942 nonimmediate_nonstack_operand.
19943 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
19945 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
19948 2002-01-31 Jason Merrill <jason@redhat.com>
19950 * Makefile.in (c-parse.c): Handle .output file.
19951 * objc/Make-lang.in (objc-parse.c): Likewise.
19953 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
19955 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
19956 the -me[lb] option is given. Don't output the default flag
19959 2002-01-31 Zack Weinberg <zack@codesourcery.com>
19961 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
19962 the primary source file; this has not been done yet.
19963 * c-decl.c (c_expand_body): Reset input_filename from
19964 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
19966 2002-01-31 Kazu Hirata <kazu@hxi.com>
19968 * rtlanal.c (subreg_regno_offset): Do not use
19969 SUBREG_REGNO_OFFSET.
19970 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
19971 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
19973 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
19975 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
19976 version rather than GNATS version in --version output.
19978 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
19980 * ifcvt.c (noce_process_if_block): Make a copy of the destination
19981 when copying back from a temporary.
19983 2002-01-30 Richard Henderson <rth@redhat.com>
19985 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
19986 and new_dest are the same.
19988 2002-01-30 Richard Henderson <rth@redhat.com>
19991 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
19992 * rtl.c (note_insn_name): Update.
19993 * emit-rtl.c (remove_unnecessary_notes): Kill it.
19994 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
19995 to perform loop rotation.
19996 (expand_exit_loop_top_cond): New.
19997 * tree.h (expand_exit_loop_top_cond): Declare it.
19998 * c-semantics.c (genrtl_while_stmt): Use it.
19999 (genrtl_for_stmt): Likewise.
20001 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
20003 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
20004 arguments to 64-bit boundaries on 64-bit ABIs.
20006 2002-01-30 Steve Ellcey <sje@cup.hp.com>
20008 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
20010 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
20012 * c-decl.c (grokdeclarator): Handle type being a typedef for an
20015 2002-01-30 David O'Brien <obrien@FreeBSD.org>
20017 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
20018 * config/sparc/sparc_bi.h: Remove file.
20019 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
20021 2002-01-30 Richard Henderson <rth@redhat.com>
20023 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
20025 2002-01-30 Zack Weinberg <zack@codesourcery.com>
20027 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
20029 2002-01-30 Jason Merrill <jason@redhat.com>
20031 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
20032 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
20033 (reg_save): Use DW_CFA_offset_extended_sf instead.
20035 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
20037 2002-01-29 Jakub Jelinek <jakub@redhat.com>
20039 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
20042 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
20044 * rs6000.md ("*call_value_local32"): Remove constraints.
20045 ("*call_value_local64"): Same.
20046 ("*call_value_indirect_nonlocal_aix32"): Same.
20047 ("*call_value_nonlocal_aix32"): Same.
20048 ("*call_value_indirect_nonlocal_aix64"): Same.
20049 ("*call_value_nonlocal_aix64"): Same.
20050 ("*call_value_nonlocal_sysv"): Same.
20052 2002-01-29 Richard Henderson <rth@redhat.com>
20054 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
20056 2002-01-29 Richard Henderson <rth@redhat.com>
20058 * expr.c (force_operand): Ignore flag_pic for detecting pic
20060 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
20061 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
20062 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
20063 instead of open-coded loop.
20064 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
20065 be fixed when in use.
20067 2002-01-29 Richard Henderson <rth@redhat.com>
20069 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
20070 * sched-rgn.c (propagate_deps): Update them.
20071 * sched-deps.c (sched_analyze_insn): Update them. Flush the
20072 clobbers list when either gets too long.
20074 2002-01-29 Jakub Jelinek <jakub@redhat.com>
20076 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
20077 and INDEX_REGS the same as GENERAL_REGS.
20078 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
20080 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
20082 * tree.c (build_nonstandard_integer_type): Correct prototype.
20084 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
20086 * config/s390/s390.md (movstrsico, movstrdix_64,
20087 movstrsix_31): Remove, replace by ...
20088 (movstrdi_short, movstrsi_short, movstrdi_long,
20089 movstrsi_long): ... these. New.
20090 (movstrdi, movstrsi): Adapt.
20092 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
20093 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
20094 Remove unnecessary CC clobber.
20095 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
20096 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
20098 (divmoddi4): Don't partially initialize TImode register.
20100 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
20102 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
20104 2002-01-29 Richard Henderson <rth@redhat.com>
20106 * flow.c (print_rtl_and_abort): Remove.
20107 (print_rtl_and_abort_fcn): Remove.
20108 (verify_local_live_at_start): Use dump_bb instead.
20109 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
20110 (verify_wide_reg_1): Return 2 on mode test failure.
20112 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
20114 PR c/3325, c/3326, c/2511, c/3347
20115 * c-decl.c (enum_decl_context): Remove BITFIELD.
20116 (grokdeclarator): Take bitfield width as an input.
20117 Ensure bitfields are given the correct type. Perform
20118 bitfield width validation with build_bitfield_integer_type
20119 rather than waiting for finish_struct.
20120 (grok_typename, grok_typename_in_parm_context, start_decl,
20121 push_parmdecl, grokfield, start_function): Update calls to
20123 (build_bitfield_integer_type): New function.
20124 (finish_struct): Move bitfield validation to grokdeclarator
20125 and build_bitfield_integer_type.
20126 * tree.c (build_nonstandard_integer_type): New function.
20127 * tree.h (build_nonstandard_integer_type): New prototype.
20129 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
20131 2002-01-29 Jakub Jelinek <jakub@redhat.com>
20134 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
20135 don't ignore unrecognized -W* options.
20136 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
20137 * cpplib.h (cpp_handle_option): Adjust prototype.
20138 * c-decl.c (c_decode_options): Pass 0 as last argument to
20142 * gcc.c (cpp_unique_options): Split from cpp_options.
20143 (cpp_options): Source cpp_unique_options.
20144 (default_compilers): Use cpp_unique_options instead of cpp_options
20145 when used together with cc1_options.
20146 (static_specs): Add cpp_unique_options.
20147 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
20148 when used together with cc1_options.
20150 2002-01-29 Kazu Hirata <kazu@hxi.com>
20152 * config/h8300/h8300-protos.h: Update the prototype of
20154 * config/h8300/h8300.c (output_a_shift): Remove an unused
20155 argument 'insn'. Remove redundant code.
20156 * config/h8300/h8300.md: Adust to the new prototype of
20159 2002-01-29 Kazu Hirata <kazu@hxi.com>
20161 * config/h8300/h8300-protos.h: Update the prototypes of
20162 emit_a_rotate and expand_a_rotate.
20163 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
20164 first argument to 'enum rtx_code'.
20165 (expand_a_rotate): Likewise.
20167 2002-01-28 Kazu Hirata <kazu@hxi.com>
20169 * config/h8300/h8300-protos.h: Update the prototype of
20171 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
20173 * config/h8300/h8300.md: Adjust to the new prototype.
20175 2002-01-28 Kazu Hirata <kazu@hxi.com>
20177 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
20180 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
20182 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
20183 is a fixed register before returning pic_offset_table_rtx.
20184 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
20185 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
20187 2002-01-28 Jason Merrill <jason@redhat.com>
20189 * dwarf2.h: Sync with src version.
20191 2002-01-28 Paul Koning <pkoning@equallogic.com>
20193 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
20194 BT_FN_VOID_PTR_VAR.
20195 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
20196 * doc/extend.texi (__builtin_prefetch): Update documentation:
20197 first argument is now const void ptr.
20199 2002-01-28 Kazu Hirata <kazu@hxi.com>
20201 * config/h8300/h8300-protos.h: Remove an unused prototype.
20203 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
20205 * toplev.c (lang_independent_init): Round up identifier size.
20207 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
20209 * config.gcc: Revert previous change.
20211 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
20213 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
20215 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
20217 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
20218 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
20219 other non-elf netbsd config frags.
20220 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
20221 collect2 will does that.
20222 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
20223 shared-lib frobbing will work.
20225 2002-01-28 Kazu Hirata <kazu@hxi.com>
20227 * config/h8300/h8300.h: Fix formatting.
20228 * config/h8300/h8300.md: Likewise.
20230 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
20232 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
20233 the old, removed AAA_standards fix.
20234 * fixinc/fixincl.x: Rebuilt.
20236 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
20238 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
20239 atexit call in crtbegin, hooked in after call to frame_dummy;
20240 register EH before registering __fini__start.
20242 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
20244 * config/rs6000/altivec.h: Remove spurious semicolons.
20246 2002-01-27 Kazu Hirata <kazu@hxi.com>
20248 * config/h8300/h8300.md: Replace dead bit extraction patterns
20249 with ones that work.
20251 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
20253 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
20254 if not STRICT_ALIGNMENT.
20255 * rtl.h (MEM_ALIGN): Likewise.
20257 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
20259 * doc/invoke.texi (-fdump-translation-unit): Revert this
20260 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
20262 2002-01-27 Kazu Hirata <kazu@hxi.com>
20264 * config/h8300/h8300.md (define_constants): New.
20265 (anonymous patterns) Use defined constants appropriately.
20267 2002-01-27 Kazu Hirata <kazu@hxi.com>
20269 * config/h8300/h8300.c (function_arg): Remove redundant code.
20271 2002-01-26 Richard Henderson <rth@redhat.com>
20273 * sched-deps.c (reg_pending_uses_head): New.
20274 (reg_pending_barrier): Rename from reg_pending_sets_all.
20275 (find_insn_list): Don't mark inline.
20276 (find_insn_mem_list): Remove.
20277 (add_dependence_list, add_dependence_list_and_free): New.
20278 (flush_pending_lists): Replace only_write param with separate
20279 for_read and for_write parameters. Update all callers. Use
20280 add_dependence_list_and_free.
20281 (sched_analyze_1): Do not add reg dependencies here; just set
20282 the pending bits. Use add_dependence_list.
20283 (sched_analyze_2): Likewise.
20284 (sched_analyze_insn): Replace schedule_barrier_found with
20285 reg_pending_barrier. Add all dependencies for pending reg
20286 uses, sets, and clobbers.
20287 (sched_analyze): Don't add reg dependencies for calls, just
20288 set pending bits. Use regs_invalidated_by_call. Treat
20289 sched_before_next_call as a normal list, not a fake insn.
20290 (init_deps): No funny init for sched_before_next_call.
20291 (free_deps): Free pending mems lists. Don't zero reg_last.
20292 (init_deps_global): Init reg_pending_uses.
20293 (finish_deps_global): Free it.
20294 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
20295 (find_insn_mem_list): Remove.
20296 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
20297 (propagate_deps): Use them. Zero temp mem lists.
20299 2002-01-26 Richard Henderson <rth@redhat.com>
20301 * Makefile.in (CRTSTUFF_CFLAGS): New.
20302 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
20303 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
20304 crtstuff.c instead of alpha assembly version.
20305 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
20306 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
20307 not FORCE_{INIT,FINI}_SECTION_ALIGN.
20308 (__do_global_dtors_aux): Mark used.
20309 (frame_dummy, __do_global_ctors_aux): Mark used.
20310 (fini_dummy, init_dummy): Remove.
20312 * config/alpha/crtbegin.asm: Remove file.
20313 * config/alpha/crtend.asm: Remove file.
20314 * config/alpha/t-crtbe: Remove file.
20315 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
20316 (LINK_EH_SPEC): New.
20318 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
20319 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
20320 calling constructors.
20321 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
20323 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
20324 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
20325 CRT_END_INIT_DUMMY hack.
20326 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
20327 FORCE_{INIT,FINI}_SECTION_ALIGN.
20329 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
20330 FORCE_{INIT,FINI}_SECTION_ALIGN.
20332 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
20333 invocation sequence.
20334 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
20336 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
20337 (FORCE_CODE_SECTION_ALIGN): New.
20339 2002-01-26 Richard Henderson <rth@redhat.com>
20341 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
20343 2002-01-26 Richard Henderson <rth@redhat.com>
20345 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
20346 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
20348 2002-01-26 Kazu Hirata <kazu@hxi.com>
20350 * config/h8300/h8300.md: Remove bit extraction patterns that
20351 cannot be triggered.
20352 Restrict each bit extraction pattern to a variant on which the
20355 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
20357 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
20359 2002-01-26 Kazu Hirata <kazu@hxi.com>
20361 * config/h8300/h8300.md: Remove bit test patterns that cannot
20363 Restrict each bit test pattern to a variant on which the
20366 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20368 * builtins.c (expand_builtin_strncat): Remove redundant check for
20371 2002-01-25 David O'Brien <obrien@FreeBSD.org>
20373 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
20375 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
20378 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
20380 * dbxout.c (dbxout_init): Use assemble_name rather than just
20381 stripping off the first character.
20382 (dbxout_source_file): Likewise.
20384 2002-01-25 DJ Delorie <dj@redhat.com>
20386 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
20387 using rtx_equal_p, not by comparing pointers.
20389 2002-01-25 Steve Ellcey <sje@cup.hp.com>
20391 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
20392 for PIC_OFFSET_TABLE_REGNUM.
20393 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
20395 2002-01-25 David O'Brien <obrien@FreeBSD.org>
20397 * config.gcc (x86_64-*-freebsd*): New target.
20398 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
20400 (i[34567]86-*-freebsd*): Don't include svr4.h.
20401 * config/i386/freebsd64.h: New file.
20403 2002-01-25 Douglas B Rupp <rupp@gnat.com>
20405 * config/alpha/x-vms (version): Make static.
20407 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
20408 in previous checkin.
20410 * Makefile.in (install-headers-cp): New target.
20411 * config.gcc (alpha-dec-*vms*): Install headers with
20414 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
20416 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
20419 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
20421 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
20422 of compare_tree_int.
20423 (expand_builtin_strncat): Likewise.
20424 * c-decl.c (finish_struct): Use tree_low_cst.
20425 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
20426 * tree.c (compare_tree_int): Likewise.
20428 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
20430 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
20431 adjustments even if they are implemented by more than two insns.
20433 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
20435 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
20436 * df.h (struct ref): Kill B.
20437 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
20439 * basic-block.h (PROP_EQUAL_NOTES): New flag.
20440 * flow.c (propagate_one_insn): Use it.
20441 (mark_used_regs): Handle NIL.
20443 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
20445 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
20448 2002-01-25 David Edelsohn <edelsohn@gnu.org>
20450 * rs6000.md (prefetch): Make address V4SI mode so that the address
20451 is restricted to legitimate form for instruction.
20453 2002-01-25 Bob Wilson <bob.wilson@acm.org>
20455 * doc/install.texi (xtensa-*-elf): New target.
20456 (xtensa-*-linux*): New target.
20457 * doc/contrib.texi: Add myself.
20459 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
20461 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
20462 purpose register to hold an SImode (or smaller) value.
20464 2002-01-25 Jakub Jelinek <jakub@redhat.com>
20466 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
20468 * crtstuff.c: Likewise.
20470 2002-01-25 Kazu Hirata <kazu@hxi.com>
20472 * config/h8300/h8300.md (negation patterns): Tighten
20473 predicates to register_operand.
20475 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
20477 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
20480 * builtins.c (expand_builtin_prefetch): Same.
20482 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
20484 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
20487 2002-01-24 Kazu Hirata <kazu@hxi.com>
20489 * config/h8300/h8300.c (print_operand): Remove support for
20490 operand character 'A'.
20491 * config/h8300/h8300.md (three anonymous patterns): Replace
20492 operand character 'A' with either 'T' or 'S'.
20494 2002-01-24 Kazu Hirata <kazu@hxi.com>
20496 * config/h8300/h8300.c (print_operand): Remove support for
20497 operand character 'U'.
20499 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
20501 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
20503 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
20505 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
20506 values to be assigned to the stack pointer.
20508 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
20510 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
20511 to const_double needs to be done right for big-endian systems.
20513 2002-01-24 Jason Merrill <jason@redhat.com>
20516 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
20517 to can_throw_internal.
20519 2002-01-23 Richard Henderson <rth@redhat.com>
20521 * fold-const.c (fold): Change UINT_MAX test to check vs precision
20522 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
20524 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
20526 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
20527 (symGOT2reg): Use them, then set as GOT value as unchanging.
20528 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
20529 as a temporary, if possible.
20530 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
20531 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
20533 2002-01-23 Kazu Hirata <kazu@hxi.com>
20535 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
20536 accept to accept 0x80 as operands[2].
20538 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
20540 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
20542 2002-01-23 Richard Henderson <rth@redhat.com>
20544 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
20546 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
20548 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
20549 (parmlist_or_identifiers_1): Verify that only a parmlist follows
20552 2002-01-23 Richard Henderson <rth@redhat.com>
20554 * expr.c (move_by_pieces_1): Extend size before negation.
20556 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
20557 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
20558 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
20559 * config/m68k/t-m68kelf: Likewise.
20561 2002-01-23 Bob Wilson <bob.wilson@acm.org>
20563 * config/xtensa/elf.h: New file.
20564 * config/xtensa/lib1funcs.asm: New file.
20565 * config/xtensa/lib2funcs.S: New file.
20566 * config/xtensa/linux.h: New file.
20567 * config/xtensa/t-xtensa: New file.
20568 * config/xtensa/xtensa-config.h: New file.
20569 * config/xtensa/xtensa-protos.h: New file.
20570 * config/xtensa/xtensa.c: New file.
20571 * config/xtensa/xtensa.h: New file.
20572 * config/xtensa/xtensa.md: New file.
20573 * config.gcc (xtensa-*-elf*): New target.
20574 (xtensa-*-linux*): New target.
20575 * cse.c (canon_hash): Compare rtx pointers instead of register
20576 numbers. This is required for the Xtensa port.
20577 * integrate.c (copy_insn_list): Handle case where the static
20578 chain is in memory and the memory address has to be copied to
20580 * doc/invoke.texi (Option Summary): Add Xtensa options.
20581 (Xtensa Options): New node.
20582 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
20584 2002-01-23 Zack Weinberg <zack@codesourcery.com>
20586 * diagnostic.c (internal_error): Do ICE suppression only
20587 when ENABLE_CHECKING is not defined.
20589 * c-typeck.c (require_complete_type): Return error_mark_node
20590 if type is error_mark_node.
20592 2002-01-23 Janis Johnson <janis187@us.ibm.com>
20594 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
20595 -Os and issue a warning.
20597 2002-01-23 Zack Weinberg <zack@codesourcery.com>
20599 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
20600 current (lack of) need for host configuration by hand.
20602 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
20603 references. Documentation of some target macros moved from
20604 hostconfig.texi to tm.texi.
20606 2002-01-23 Will Cohen <wcohen@redhat.com>
20608 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
20611 2002-01-23 Kazu Hirata <kazu@hxi.com>
20613 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
20616 2002-01-23 Jason Merrill <jason@redhat.com>
20618 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
20620 * function.c (assign_parms): Don't put args of inline functions
20621 into registers when not optimizing.
20623 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
20625 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
20626 (prologue_use): New pattern.
20627 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
20628 preference to gen_rtx_USE.
20629 (thumb_expand_prologue): Use gen_prologue_use in preference to
20631 (thumb_expand_epilogue): Use gen_prologue_use in preference to
20634 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
20636 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
20638 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
20641 * doc/extend.texi: Correct documentation of __alignof__.
20643 2002-01-22 Zack Weinberg <zack@codesourcery.com>
20645 * params.h: Rename arguments of DEFPARAM so that it will be
20646 recognized as a translation keyword.
20648 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
20650 * extend.texi: Document altivec functions.
20651 Fix N-bit adjectives in X86 builtin documentation.
20653 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
20655 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
20656 auto_inc_dec values.
20658 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
20660 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
20662 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
20664 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
20666 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
20668 2002-01-22 Richard Henderson <rth@redhat.com>
20670 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
20671 copy_insn not copy_rtx.
20673 2002-01-23 Alan Modra <amodra@bigpond.net.au>
20675 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
20676 "nonzero" as that might add "1" bits. Ensure "constop" is
20677 properly sign extened.
20678 (force_to_mode): Tweak for sign extended constop.
20680 2002-01-22 Richard Henderson <rth@redhat.com>
20682 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
20683 for_each_rtx instead of assuming we're already looking at the MEM.
20684 (split_small_symbolic_mem_operand): Likewise.
20685 * config/alpha/alpha.h (PREDICATE_CODES): Update.
20686 * config/alpha/alpha.md (small symbolic memory splitters): Update.
20688 2002-01-22 Richard Henderson <rth@redhat.com>
20690 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
20691 sequence number for the literal.
20692 (divmoddi_internal_er): Likewise.
20694 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
20697 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
20698 in LIBICONV variable.
20699 * configure: Regenerated.
20701 2002-01-22 Krister Walfridsson <cato@df.lth.se>
20703 * dependence.c (build_def_use): Remove array_idx.
20705 * dwarfout.c (last_filename): Remove.
20706 (output_compile_unit_die): Remove last_filename.
20708 2002-01-22 Roger Sayle <roger@eyesopen.com>
20709 Richard Henderson <rth@redhat.com>
20712 * fold-const.c (fold): Optimize unsigned comparisons against
20713 UINT_MAX (and similar unsigned constants).
20715 2002-01-22 Janis Johnson <janis187@us.ibm.com>
20717 * Makefile.in (loop.o): Depend on OPTABS_H.
20718 * loop.c (emit_prefetch_instructions): Check the prefetch operand
20719 against the predicate.
20722 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
20723 for the address operand.
20725 2002-01-22 Richard Henderson <rth@redhat.com>
20727 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
20729 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
20732 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
20733 preprocessor flags.
20735 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
20737 * config.gcc (x86_64-*-netbsd*): New target.
20738 * config/i386/netbsd64.h: New file.
20740 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
20742 * regrename.c (kill_value): Fix typo.
20744 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
20746 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
20748 * config/rs6000/rs6000.h: Same.
20750 * function.c (instantiate_virtual_regs): Remove
20751 STARTING_FRAME_PHASE.
20752 (assign_stack_local_1): Same.
20753 Calculate frame phase.
20755 2002-01-22 Nick Clifton <nickc@redhat.com>
20757 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
20758 variable declaration to outer scope in order to simplify
20760 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
20761 arm_hard_regno_mode_ok.
20762 * config/arm/arm-protos.h: Add a prototype for
20763 arm_hard_regno_mode_ok.
20764 * config/arm/arm.c (soft_df_operand): Remove now redundant
20765 check for DImode values using IP_REGNUM.
20766 (nonimmediate_soft_df_operand): Remove now redundant check for
20767 DImode values using IP_REGNUM.
20768 (arm_hard_regno_mode_ok): New function. New check: make sure
20769 that DImode values are not stored in IP_REGNUM.
20771 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
20773 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
20775 2002-01-22 Jason Merrill <jason@redhat.com>
20777 * c-semantics.c (genrtl_compound_stmt): Only check nesting
20778 consistency if this COMPOUND_STMT is scoped.
20780 2002-01-22 Kazu Hirata <kazu@hxi.com>
20782 * predict.c: Fix formatting.
20783 * print-tree.c: Likewise.
20784 * protoize.c: Likewise.
20785 * real.h: Likewise.
20787 * sbitmap.h: Likewise.
20788 * scan.c: Likewise.
20789 * sched-deps.c: Likewise.
20790 * sched-vis.c: Likewise.
20791 * sdbout.c: Likewise.
20792 * sibcall.c: Likewise.
20794 * ssa-ccp.c: Likewise.
20795 * ssa-dce.c: Likewise.
20796 * stmt.c: Likewise.
20797 * stor-layout.c: Likewise.
20798 * system.h: Likewise.
20800 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
20802 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
20803 if fits in bounds of base type.
20805 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
20806 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
20807 (add_bound_info, default): If can't find a context, make a
20809 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
20811 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
20813 * c-typeck.c (parser_build_binary_op): If result from
20814 build_binary_op is ERROR_MARK just return error_mark_node without
20815 further processing.
20817 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
20819 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
20820 Split a.out-specific bits into...
20821 * config/netbsd-aout.h: ...this.
20822 * config/netbsd-elf.h: New file.
20823 * config/alpha/netbsd-elf.h: Remove.
20824 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
20825 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
20826 (STARTFILE_SPEC): Remove redundant definition.
20827 (ENDFILE_SPEC): Likewise.
20828 (LINK_SPEC): Likewise.
20829 (CPP_SPEC): Likewise.
20830 (ASM_SPEC): Likewise.
20831 (LIB_SPEC): Likewise.
20832 (SWITCH_TAKES_ARG): Likewise.
20833 (TARGET_MEM_FUNCTIONS): Likewise.
20834 (CPP_PREDEFINES): Redefine.
20835 (ASM_FINAL_SPEC): Remove redefinition.
20836 (ASM_COMMENT_START): Redefine.
20837 (FUNCTION_PROFILER): Define.
20838 (TARGET_VERSION): Redefine.
20839 Comment and formatting cleanup.
20840 * config/i386/netbsd.h: Include <netbsd-aout.h>.
20841 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
20842 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
20843 big- or little-endian.
20844 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
20845 * config.gcc (*-*-netbsd*): Add definitions common to all
20847 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
20848 gnu_ld definitions. Add netbsd-elf.h to and remove
20849 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
20850 tmake_file, and don't lose previous tmake_file contents.
20851 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
20852 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
20853 gnu_ld definitions. Add netbsd-elf.h to tm_file.
20854 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
20855 (mipsel-*-netbsd*): Rename this to...
20856 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
20857 mips/little.h to tm_file for mips*el-*.
20858 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
20859 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
20860 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
20862 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
20864 * pa-protos.h (reg_before_reload_operand): New function prototype.
20865 * pa.c (reg_before_reload_operand): New function implementation.
20866 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
20867 contraints to "*m".
20869 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20871 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
20873 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
20875 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
20876 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
20877 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
20878 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
20879 (ENDFILE_SPEC): Undefine.
20880 (STARTFILE_SPEC): Redefine for PA.
20882 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20884 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
20886 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
20888 * config.gcc: Add entries to supported PowerPC --with-cpu
20891 2002-01-21 Jakub Jelinek <jakub@redhat.com>
20893 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
20894 true for 64-bit mode only SSE registers in 32-bit mode.
20896 2002-01-21 Kazu Hirata <kazu@hxi.com>
20898 * unwind-dw2.c: Fix formatting.
20899 * unwind-dw2-fde.c: Likewise.
20900 * unwind-dw2-fde.h: Likewise.
20901 * unwind-pe.h: Likewise.
20902 * varasm.c: Likewise.
20903 * varray.h: Likewise.
20905 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
20907 Remove workaround for register stack overwrite bug in mmix.
20908 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
20909 support for TARGET_REG_STACK_FILL_BUG.
20910 * config/mmix/mmix.h: Remove member has_call_without_parameters.
20911 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
20913 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
20914 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
20915 -mno-reg-stack-fill-bug-workaround.
20916 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
20917 machine member has_call_without_parameters.
20918 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
20919 -mreg-stack-fill-bug-workaround and
20920 -mno-reg-stack-fill-bug-workaround.
20921 (MMIX Options): Ditto.
20923 2002-01-21 Kazu Hirata <kazu@hxi.com>
20925 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
20927 Remove redundant code.
20929 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
20931 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
20932 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
20933 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
20934 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
20935 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
20936 out target macro definitions and non-target-specific comments
20937 mostly taken from old versions of the manual.
20939 2002-01-20 Kazu Hirata <kazu@hxi.com>
20941 * config/h8300/h8300.h: Fix comment formatting.
20942 * config/ia64/aix.h: Likewise.
20943 * config/ia64/ia64-protos.h: Likewise.
20944 * config/ia64/ia64.c: Likewise.
20945 * config/ia64/ia64.h: Likewise.
20946 * config/ia64/ia64intrin.h: Likewise.
20947 * config/ia64/linux.h: Likewise.
20948 * config/ia64/unwind-aix.c: Likewise.
20949 * config/ia64/unwind-ia64.c: Likewise.
20951 2002-01-20 Kazu Hirata <kazu@hxi.com>
20953 * config/h8300/h8300.c: Revise comments about shift code.
20955 2002-01-20 Kazu Hirata <kazu@hxi.com>
20957 * config/h8300/h8300.c (function_arg): Update a comment.
20959 2002-01-20 Kazu Hirata <kazu@hxi.com>
20961 * config/h8300/h8300.md: Update the comments at the beginning
20964 2002-01-20 Kazu Hirata <kazu@hxi.com>
20966 * config/i370/i370.c: Fix comment formatting.
20967 * config/i370/i370.h: Likewise.
20968 * config/i370/i370.md: Likewise.
20969 * config/i370/linux.h: Likewise.
20971 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
20973 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
20975 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
20976 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
20977 in incomplete case.
20979 2002-01-20 Graham Stott <grahams@redhat.com>
20981 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
20983 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
20985 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
20987 2002-01-19 Tom Rix <trix@redhat.com>
20989 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
20991 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
20993 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
20995 * function.c (assign_stack_local_1): Adjust x_frame_offset with
20996 STARTING_FRAME_PHASE.
20997 (STARTING_FRAME_PHASE): New.
20998 (instantiate_virtual_regs): Check saneness of
20999 STARTING_FRAME_PHASE.
21001 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
21003 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
21005 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
21007 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
21009 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
21010 be used for bootstrapping GCC 3.0.
21012 2002-01-18 Kazu Hirata <kazu@hxi.com>
21014 * config/h8300/h8300.md: Fix an insn length.
21016 2002-01-18 Kazu Hirata <kazu@hxi.com>
21018 * bitmap.h: Fix comment formatting.
21019 * combine.c: Likewise.
21020 * cppfiles.c: Likewise.
21021 * c-pragma.h: Likewise.
21022 * c-typeck.c: Likewise.
21024 * dwarf2out.c: Likewise.
21025 * function.c: Likewise.
21027 * genattrtab.c: Likewise.
21028 * gthr-win32.h: Likewise.
21029 * haifa-sched.c: Likewise.
21030 * predict.c: Likewise.
21031 * rtlanal.c: Likewise.
21033 * unwind-dw2-fde.h: Likewise.
21034 * unwind-pe.h: Likewise.
21035 * vmsdbgout.c: Likewise.
21037 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
21039 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
21040 if type_required and passed decl.
21042 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
21044 * config.gcc (cpu_type): Include altivec.h in powerpc
21048 * config/rs6000/altivec.h: New.
21050 2002-01-17 David Edelsohn <edelsohn@gnu.org>
21052 * doc/install.texi (*-ibm-aix*): Update assembler and exception
21053 handling information.
21054 * doc/trouble.texi (Interoperation): Add libstdc++ information
21056 (Misunderstandings): Add template instantiation and static template
21057 member information for AIX.
21059 2002-01-17 Jason Merrill <jason@redhat.com>
21061 * dbxout.c (dbxout_type): Support const and volatile.
21063 * except.c (add_partial_entry): Remove backwards compatibility code.
21064 (end_protect_partials): Likewise.
21066 2002-01-17 Jakub Jelinek <jakub@redhat.com>
21068 * config/ia64/ia64.md (prologue_use): New.
21069 * config/ia64/ia64.c (ia64_expand_prologue): Use
21070 gen_prologue_use instead of gen_rtx_USE.
21071 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
21072 as CODE_FOR_pred_rel_mutex.
21073 (ia64_sched_reorder2): Likewise.
21075 2002-01-16 Eric Christopher <echristo@redhat.com>
21077 * config/mips/r3900.h: Reformat.
21078 (SUBTARGET_CPP_SIZE_SPEC): Remove.
21079 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
21080 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
21081 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
21082 * config/mips/t-elf: Remove mips3 multilib.
21084 2002-01-16 H.J. Lu <hjl@gnu.org>
21086 * config/mips/linux.h: Include "mips/abi64.h".
21088 2002-01-16 H.J. Lu <hjl@gnu.org>
21090 * config/mips/t-linux: New.
21092 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
21094 * config/mips/linux.h: Don't include "gofast.h".
21095 (INIT_SUBTARGET_OPTABS): Removed.
21097 2002-01-16 Kazu Hirata <kazu@hxi.com>
21099 * config/h8300/h8300-protos.h: Replace emit_a_shift with
21101 * config/h8300/h8300.c: Likewise.
21102 * config/h8300/h8300.md: Likewise.
21104 2002-01-16 Kazu Hirata <kazu@hxi.com>
21106 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
21107 spaces after an opcode name.
21108 (pushqi1_h8300hs): Likewise.
21109 (pushhi1_h8300hs): Likewise.
21111 2002-01-16 Kazu Hirata <kazu@hxi.com>
21113 * doc/extend.texi: Replace "option" with "attribute"
21116 2002-01-16 Jakub Jelinek <jakub@redhat.com>
21118 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
21119 (and:DI () (const_int -8)).
21120 (split_small_symbolic_mem_operand): Split
21121 (mem (and:DI () (const_int -8)).
21123 2002-01-16 Jakub Jelinek <jakub@redhat.com>
21126 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
21127 same way as TYPE_IMUL.
21128 (ultrasparc_sched_reorder): Likewise.
21129 * config/sparc/sparc.md (type): Add comment to update
21130 ultrasparc_sched_reorder when making changes.
21132 2002-01-16 Kazu Hirata <kazu@hxi.com>
21134 * doc/invoke.texi: Change the dump file name of block
21135 reordering pass from 28.bbro to 29.bbro.
21136 Mention -dk option.
21138 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
21140 * i386.md (minsf splitter): Fix pasto.
21142 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
21144 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
21145 to frame pointer initialisation instruction.
21146 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
21147 initialisation instruction.
21148 (soft_df_operand): Do not accept the IP register.
21149 (nonimmediate_soft_df_operand): Do not accept the IP register.
21151 2002-01-16 Jakub Jelinek <jakub@redhat.com>
21154 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
21155 MASK_V8 being both set.
21157 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
21159 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
21160 insn for GOT register; add REG_MAYBE_DEAD notes instead.
21161 config/s390/s390.md (call, call_value): Add GOT register to
21162 CALL_INSN_FUNCTION_USAGE where needed.
21163 (call_exp, call_value_exp): New.
21165 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
21167 * config/arm/arm.c: General formatting tidy up.
21169 2002-01-16 Graham Stott <grahams@redhat.com>
21171 * calls.c (try_to_integrate): Use "(size_t)" intermediate
21172 cast and when casting an integer literal to "rtx" pointer.
21173 (expand_call): Likewise.
21174 * flow.c (try_pre_increment): Likewise.
21175 (find_use_as_address): Likewise.
21176 * integrate.c (expand_iline_function): Likewise.
21177 * regmove.c (try_auto_increment): Likewise.
21179 2002-01-16 Graham Stott <grahams@redhat.com>
21181 * sched-rgn.c (passed): Use sbitmap_free.
21182 (header): Likewise.
21184 (in_queue): Likewise.
21185 (in_stack): Likewise.
21187 2002-01-15 Eric Christopher <echristo@redhat.com>
21189 * flow.c (propagate_one_insn): Change to use fatal_insn.
21191 2002-01-15 Kazu Hirata <kazu@hxi.com>
21193 * expmed.c (extract_fixed_bit_field): Remove unused code.
21194 * system.h: Poison SLOW_ZERO_EXTEND.
21195 * doc/tm.texi: Remove.
21196 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
21197 * config/arm/arm.h: Likewise.
21198 * config/avr/avr.h: Likewise.
21199 * config/clipper/clipper.h: Likewise.
21200 * config/convex/convex.h: Likewise.
21201 * config/d30v/d30v.h: Likewise.
21202 * config/dsp16xx/dsp16xx.h: Likewise.
21203 * config/elxsi/elxsi.h: Likewise.
21204 * config/fr30/fr30.h: Likewise.
21205 * config/h8300/h8300.h: Likewise.
21206 * config/i370/i370.h: Likewise.
21207 * config/i386/i386.h: Likewise.
21208 * config/m68k/m68k.h: Likewise.
21209 * config/mips/mips.h: Likewise.
21210 * config/ns32k/ns32k.h: Likewise.
21211 * config/pdp11/pdp11.h: Likewise.
21212 * config/pj/pj.h: Likewise.
21213 * config/s390/s390.h: Likewise.
21214 * config/sh/sh.h: Likewise.
21215 * config/stormy16/stormy16.h: Likewise.
21216 * config/v850/v850.h: Likewise.
21217 * config/vax/vax.h: Likewise.
21218 * config/we32k/we32k.h: Likewise.
21220 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
21222 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
21223 (altivec_lvsl): Change constraint to b.
21224 (altivec_lvsr): Same.
21225 (altivec_lvebx): Same.
21226 (altivec_lvehx): Same.
21227 (altivec_lvewx): Same.
21228 (altivec_lvxl): Same.
21229 (altivec_lvx): Same.
21230 (altivec_stvx): Add parallel.
21231 (altivec_stvxl): Same.
21232 (altivec_stvehx): Same.
21233 (altivec_stvebx): Same.
21234 (altivec_stvebx): Same.
21236 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
21238 * config.gcc: Change altivec.h to altivec-defs.h.
21240 * config/rs6000/altivec.h: Delete.
21242 * config/rs6000/altivec-defs.h: Add.
21244 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
21246 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
21249 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
21250 less than or equal to eight bytes.
21252 * vax.md (andsi3): Remove constraints and change SET destination
21253 operand type to nonimmediate_operand.
21254 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
21255 when it is a CONST_INT.
21257 2002-01-15 Jason Merrill <jason@redhat.com>
21259 * c-common.def (FILE_STMT): New code.
21260 * c-common.c (statement_code_p): It's a statement.
21261 * c-common.h (stmt_tree_s): Add x_last_filename.
21262 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
21263 (last_expr_filename): New macro.
21264 * c-semantics.c (begin_stmt_tree): Initialize it.
21265 (add_stmt): If the filename changed, also insert a
21267 (expand_stmt): Handle seeing one.
21269 2002-01-15 Eric Christopher <echristo@redhat.com>
21271 * flow.c (propagate_one_insn): Add error message and print out
21272 insn for debugging.
21274 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
21276 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
21277 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
21278 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
21279 TRAMPOLINE_ALIGNMENT.
21280 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
21282 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
21283 PCC_BITFIELD_TYPE_MATTERS.
21284 * config/interix.h (STDC_VALUE): Remove. Use
21285 STDC_0_IN_SYSTEM_HEADERS.
21286 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
21287 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
21288 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
21290 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
21292 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
21293 not work on this platform currently.
21295 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
21297 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
21298 readonly_warning in _().
21300 2002-01-15 Douglas B Rupp <rupp@gnat.com>
21302 * gcc.c (delete_if_ordinary): Backout previous change.
21304 2002-01-15 Kazu Hirata <kazu@hxi.com>
21306 * config/h8300/h8300.c (print_operand): Remove support for
21307 unused operand characters.
21309 * read-rtl.c: Fix formatting.
21310 * real.c: Likewise.
21311 * recog.c: Likewise.
21312 * regclass.c: Likewise.
21313 * regmove.c: Likewise.
21314 * reg-stack.c: Likewise.
21315 * reload1.c: Likewise.
21316 * rtlanal.c: Likewise.
21318 2002-01-15 Kazu Hirata <kazu@hxi.com>
21320 * config/i386/i386.c: Fix formatting.
21322 2002-01-15 Jakub Jelinek <jakub@redhat.com>
21324 * c-typeck.c (process_init_element): Don't save_expr
21325 COMPOUND_LITERAL_EXPR if just its initializer will be used.
21327 2002-01-15 David Edelsohn <edelsohn@gnu.org>
21329 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
21330 emit optional traceback table if optimize_size or TARGET_ELF.
21331 * config/rs6000/rs6000.md (prefetch): New.
21333 2002-01-15 Andreas Jaeger <aj@suse.de>
21335 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
21337 2002-01-15 Kazu Hirata <kazu@hxi.com>
21339 * mips-tfile.c: Fix formatting.
21341 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
21343 * unroll.c (final_reg_note_copy): Fix previous commit.
21345 2002-01-14 Kazu Hirata <kazu@hxi.com>
21347 * config/h8300/h8300-protos.h: Remove the prototype for
21349 * config/h8300/h8300.c (eq_operator): Remove.
21351 2002-01-14 Richard Henderson <rth@redhat.com>
21353 * config/i386/i386.md (prefetch): Tidy.
21354 (prefetch_3dnow): Fix locality operand.
21356 2002-01-14 Richard Henderson <rth@redhat.com>
21358 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
21359 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
21361 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
21363 * reload1.c (reload_combine): Pass reg_sum replacement through
21364 copy_rtx in loop performing multiple changes.
21366 2002-01-14 Jakub Jelinek <jakub@redhat.com>
21368 * except.c (remove_unreachable_regions): New.
21369 (free_eh_status): Clear exception_handler_labels.
21370 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
21371 (find_exception_handler_labels): Don't add the same label more than
21373 (remove_exception_handler_label): Don't die if
21374 find_exception_handler_labels hasn't been called for the current
21377 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
21379 * toplev.c (rest_of_compilation): Rebuild jump labels after
21382 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
21384 * doc/extend.texi: Move documentation of X86 built-in functions
21386 * doc/invoke.texi: From here.
21387 * doc/sourcebuild.texi: Document location of documentation for
21388 machine built-in functions.
21390 2002-01-13 Christopher Faylor <cgf@redhat.com>
21392 * cppfiles.c (TEST_THRESHOLD): New macro.
21393 (SHOULD_MMAP): Ditto.
21394 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
21397 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
21399 * unroll.c (final_reg_note_copy): Properly handle
21401 (unroll_loops): Fix LOOP_CONDITION heuristics.
21403 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
21405 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
21406 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
21408 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
21410 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
21413 2002-01-14 Tom Rix <trix@redhat.com>
21415 * config/rs6000/rs6000.md: Fix typo with sradi.
21417 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
21419 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
21420 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
21421 (clrstrdi, clrstrsi): Adapt callers.
21423 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
21425 (movti splitter): Never use register 0 as base register.
21427 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
21429 * combine.c (simplify_shift_const): Always generate new rtx
21430 for shift expression instead of reusing given expression.
21432 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
21434 * config/alpha/alpha.c (alpha_expand_mov): Don't call
21435 alpha_legitimize_address unless mode is Pmode.
21437 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
21439 * doc/md.texi (Modifiers): Document the '*' constraint for the
21442 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
21443 * doc/extend.texi (Function Attributes): 'interrupt' is valid
21446 2002-01-13 Richard Henderson <rth@redhat.com>
21448 * reload.c (find_reloads): Use a hard reg destination as reload reg
21449 for an input reload of the source.
21451 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
21453 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
21456 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
21458 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
21459 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
21461 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
21463 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
21465 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
21467 2002-01-12 Tom Rix <trix@redhat.com>
21469 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
21472 2002-01-12 Richard Henderson <rth@redhat.com>
21474 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
21476 * doc/invoke.texi: Update Alpha options.
21478 * doc/invoke.texi: Update i386 built-in function lists.
21480 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
21482 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
21483 referencing outside.
21485 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
21487 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
21488 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
21489 offsets, and change line folding.
21490 * optabs.c (expand_binop): Remove warnings.
21491 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
21493 2002-01-12 Graham Stott <grahams@redhat.com>
21495 * attribs.c (handle_deprecated_attribute): constify WHAT.
21496 * diagnostic.c (warn_deprecated_use): Add braces, fixes
21497 dangling else warning and constify WHAT.
21498 * except.h (struct function, struct inline_remap): Move
21499 struct tag forward defs before all prototypes.
21500 (duplicate_eh_regions): Whitespace.
21502 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
21504 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
21505 MODE_BASE_REG_CLASS.
21506 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
21508 2002-01-12 Richard Henderson <rth@redhat.com>
21510 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
21511 (ix86_expand_vector_move): New.
21512 (bdesc_2arg): Remove andps, andnps, orps, xorps.
21513 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
21514 Remove old prefetch builtins. Special case the logicals removed above.
21515 (ix86_expand_builtin): Likewise.
21516 (safe_vector_operand): Use V4SFmode, not TImode.
21517 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
21518 (ix86_expand_timode_binop_builtin): New.
21519 * config/i386/i386-protos.h: Update.
21520 * config/i386/i386.h (enum ix86_builtins): Update.
21521 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
21522 Use ix86_expand_vector_move in vector move expanders.
21523 (movti_internal, movti_rex64): Add xorps alternative.
21524 (sse_clrv4sf): Rename and adjust from sse_clrti.
21525 (prefetch): Don't work so hard.
21526 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
21527 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
21528 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
21530 2002-01-11 Richard Henderson <rth@redhat.com>
21532 * config/i386/mmintrin.h: New file.
21533 * config/i386/xmmintrin.h: New file.
21534 * config.gcc (i?86-*-*): Add extra_headers.
21535 * simplify-rtx.c (simplify_unary_operation): Handle saturating
21537 (simplify_binary_operation): Handle saturating arithmetic codes.
21538 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
21539 not the lowpart subreg.
21540 (ix86_expand_builtin): Return a TImode dummy register instead of 0
21542 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
21544 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21546 * conflict.c (conflict_graph_compute): Free regsets when finished.
21547 * ssa.c (compute_coalesced_reg_partition): Likewise.
21549 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21551 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
21552 every where we allocate a register.
21554 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21556 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
21557 * lcm.c (compute_earliest, compute_farthest): Likewise.
21559 2002-01-11 Janis Johnson <janis187@us.ibm.com>
21561 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
21563 2002-01-11 Janis Johnson <janis187@us.ibm.com>
21565 * doc/rtl.texi (Insns): Fix 2 typos.
21567 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
21569 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
21570 options. Use @table @gcctabopt for MMIX options. Add index
21571 entries for MMIX options. Start new paragraph with first
21572 heading of the machine-dependent options.
21574 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
21577 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
21578 * combine.c (force_to_mode): Same.
21579 * reload1.c (clear_reload_reg_in_use): Same.
21581 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
21583 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
21586 2002-01-11 Andreas Jaeger <aj@suse.de>,
21587 Brad Lucier <lucier@math.purdue.edu>
21589 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
21592 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
21594 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
21595 Protect with IN_LIBGCC.
21596 (LINK_EH_SPEC): Add required trailing space.
21598 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
21600 * c-tree.h: Move function declarations so that they are listed
21601 under the filename which contains them.
21602 (check_identifier, finish_decl_top_level,
21603 lookup_name_current_level_global, shadow_record_fields): Remove.
21605 2002-01-11 Andreas Jaeger <aj@suse.de>
21607 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
21610 2002-01-10 Richard Henderson <rth@redhat.com>
21612 * config/alpha/alpha.c (print_operand): Add 'J'.
21613 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
21614 new operand with the sequence number for the lituse. When splitting
21615 the insns, use gen_movdi_er_high_g and generate a sequence number.
21616 (gen_movdi_er_high_g): Print the sequence number if non-zero.
21618 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
21620 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
21621 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
21623 (altivec_expand_builtin): Same.
21624 (altivec_expand_stv_builtin): New.
21626 * config/rs6000/rs6000.h (rs6000_builtins): Same.
21628 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
21629 ("altivec_lvehx"): New.
21630 ("altivec_lvewx"): New.
21631 ("altivec_lvxl"): New.
21632 ("altivec_lvx"): New.
21633 ("altivec_stvx"): New.
21634 ("altivec_stvebx"): New.
21635 ("altivec_stvehx"): New.
21636 ("altivec_stvewx"): New.
21637 ("altivec_stvxl"): New.
21639 2002-01-10 Richard Henderson <rth@redhat.com>
21641 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
21642 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
21643 care not to delete instructions twice.
21645 2002-01-10 Zack Weinberg <zack@codesourcery.com>
21647 * toplev.c: Don't declare environ (it's not used anywhere).
21648 * configure.in: Don't check for declaration of environ.
21649 * config/i386/xm-mingw32.h: Don't #define environ.
21650 * config.in, configure: Regenerate.
21652 2002-01-10 Zack Weinberg <zack@codesourcery.com>
21654 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
21655 * configure: Regenerate.
21657 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
21658 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
21659 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
21661 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
21662 LIMITS_H_TEST here, not in m68k/x-next.
21663 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
21664 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
21666 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
21667 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
21668 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
21670 * config/i386/x-djgpp: Renamed i386/t-djgpp.
21671 * config/m88k/x-dolph: Renamed m88k/t-dolph.
21672 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
21673 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
21674 replacement of quadlib.asm with quadlib.c.
21676 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
21677 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
21678 config/rs6000/xm-beos.h: Delete file.
21680 * config.gcc: Update to match above changes.
21682 2002-01-10 Kazu Hirata <kazu@hxi.com>
21684 * config/h8300/h8300.h: Fix comment typos.
21685 * config/h8300/h8300.md: Likewise.
21686 * config/h8300/lib1funcs.asm: Likewise.
21688 2002-01-10 Dale Johannesen <dalej@apple.com>
21690 PR optimization/5269
21691 * unroll.c (precondition_loop_p): Make *increment be the correct
21692 sign when n_iterations known, to avoid confusing caller.
21694 2002-01-10 Kazu Hirata <kazu@hxi.com>
21696 * doc/extend.texi (deprecated): Fix a typo.
21698 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
21700 * basic-block.h (update_br_prob_note): Declare.
21701 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
21702 (try_forward_edges): Care negative frequencies and update note.
21703 (outgoing_edges_match): Tweek conditional merging heuristics.
21704 (try_crossjump_to_edge): use update_br_prob_note.
21705 * cfglayout.c (fixup_reorder_chain): Likewise.
21706 * cfrtl.c (update_br_prob_note): New.
21707 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
21709 * i386.c (ix86_decompose_address): Return -1 if address contains
21711 (legitimate_address_p): Require ix86_decompose_address to return 1.
21713 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
21714 (cprop_insn): Likewise.
21716 2002-01-10 Kazu Hirata <kazu@hxi.com>
21718 * toplev.c: Fix formatting.
21719 * tree.c: Likewise.
21720 * tree-dump.c: Likewise.
21721 * unroll.c: Likewise.
21722 * unwind-dw2.c: Likewise.
21723 * unwind-dw2-fde.c: Likewise.
21724 * unwind-dw2-fde-glibc.c: Likewise.
21725 * unwind-sjlj.c: Likewise.
21727 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
21729 * doc/invoke.texi: Document PDP-11 options.
21731 2002-01-10 Kazu Hirata <kazu@hxi.com>
21733 * config/h8300/h8300.h: Fix formatting.
21735 2002-01-10 Ira Ruben <ira@apple.com>
21737 Add __attribute__ ((deprecated)).
21738 * extend.texi: Document __attribute__ ((deprecated)).
21739 * invoke.texi: Document -Wno-deprecated-declarations.
21740 * testsuite/g++.dg/other/deprecated.C: New C++ test.
21741 * testsuite/gcc.dg/deprecated.c: New C test.
21742 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
21743 (c_common_attribute_table): Add "deprecated" entry.
21744 (handle_deprecated_attribute): New function.
21745 * c-decl.c (deprecated_states): New enum.
21746 deprecated_state: State of "deprecated" handling.
21747 (start_decl): Set deprecated_state based on attributes.
21748 (grokdeclarator): Test for deprecated uses, propagate attribute.
21749 * c-typeck.c (build_component_ref): Test for deprecated fields.
21750 (build_external_ref): Test for deprecated primaries.
21751 * diagnostic.c (warn_deprecated_use) New function to issue
21752 warnings about __attribute__ ((depricated)) references.
21753 * flags.h (warn_deprecated_decl): Extern declared for
21754 -W[no-]deprecated-declarations option.
21755 * print-tree.c (print_node): Show deprecated flag status.
21756 * toplev.c (warn_deprecated_decl): Defined.
21757 (W_options): Added "deprecated-declaration".
21758 * toplev.h (warn_deprecated_use): Extern declared.
21759 * tree.h (struct tree_common): Define deprecated_flag.
21760 (TREE_DEPRECATED): New macro to access flag.
21761 * cp/call.c (build_call): Test for deprecated calls.
21762 * cp/class.c (add_implicitly_declared_members): Set global
21763 flag to tell grokdeclarator to not issue deprecated warnings.
21764 * cp/cp-tree.h: Add extern for adding_implicit_members.
21765 * cp/decl.c (deprecated_states): New enum.
21766 (start_decl): Set deprecated_state based on attributes.
21767 (grokdeclarator): Test for deprecated uses, propagate attribute.
21768 * cp/lex.c (do_identifier): Test for deprecated primaries.
21769 * cp/typeck.c (build_component_ref): Test for deprecated fields.
21771 2002-01-10 Ira Ruben <ira@apple.com>
21773 Fix to assign attributes to inline member functions.
21774 * cp/decl.c (start_method): Handle attrlist.
21776 2002-01-10 Kazu Hirata <kazu@hxi.com>
21778 * combine.c (expand_field_assignment): Use subreg_lsb().
21780 2002-01-10 David Edelsohn <edelsohn@gnu.org>
21782 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
21783 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
21784 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
21785 Recurse for any operand of AND as long as constant is non-zero.
21787 2002-01-10 Kazu Hirata <kazu@hxi.com>
21789 * config/h8300/h8300.md: Remove constraints from expanders.
21791 2002-01-10 Kazu Hirata <kazu@hxi.com>
21793 * varasm.c: Fix formatting.
21794 * varray.c: Likewise.
21795 * vmsdbgout.c: Likewise.
21796 * xcoffout.c: Likewise.
21798 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
21800 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
21801 update edge probabilities to match.
21803 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
21805 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
21807 * doc/languages.texi, doc/sourcebuild.texi: New files.
21808 * doc/configfiles.texi: Make a subsubsection. Update.
21809 * doc/configterms.texi: Add @node. Remove warning that this isn't
21810 instructions for building GCC.
21811 * doc/makefile.texi: Make a subsection.
21812 * doc/gccint.texi: Update.
21814 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
21816 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
21818 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
21820 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
21822 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
21824 * optabs.c (expand_fix): Look for wider integer modes first.
21826 * i386.md (mov?f): Avoid the fake const double trick for medium
21828 (min?f*/max?f*): Prohibit memory operands for i387 variant.
21829 (fop_df_4): Disable for SSE compilation.
21831 2002-01-10 Graham Stott <grahams@redhat.com>
21833 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
21834 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
21836 2002-01-10 Richard Henderson <rth@redhat.com>
21838 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
21840 2002-01-10 Richard Henderson <rth@redhat.com>
21842 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
21843 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
21845 2002-01-10 Kazu Hirata <kazu@hxi.com>
21847 * combine.c (can_combine_p): Fix a comment typo.
21849 2002-01-09 Zack Weinberg <zack@codesourcery.com>
21851 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
21852 empty list correctly. Change loop index $t to $f for
21853 consistency with rest of Makefile.
21855 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
21857 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
21858 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
21860 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
21861 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
21862 (altivec_init_builtins): Same.
21863 (altivec_expand_unop_builtin): Return NULL_RTX on error.
21864 (altivec_expand_binop_builtin): Same.
21865 (altivec_expand_ternop_builtin): Same.
21868 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
21869 ("altivec_vctuxs"): Fix typo.
21870 ("altivec_vnmsubfp"): Same.
21871 ("altivec_dssall"): New.
21872 ("altivec_mfvscr"): New.
21873 ("altivec_dss"): New.
21874 ("altivec_lvsl"): New.
21875 ("altivec_lvsr"): New.
21876 ("altivec_dstt"): New.
21877 ("altivec_dstst"): New.
21878 ("altivec_dststt"): New.
21879 ("altivec_dst"): New.
21881 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
21882 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
21884 2002-01-09 Richard Henderson <rth@redhat.com>
21886 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
21888 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
21890 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
21892 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
21894 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
21896 2002-01-09 Kazu Hirata <kazu@hxi.com>
21898 * read-rtl.c: Fix formatting.
21899 * real.c: Likewise.
21900 * regclass.c: Likewise.
21901 * regrename.c: Likewise.
21902 * reg-stack.c: Likewise.
21903 * reload1.c: Likewise.
21904 * reload.c: Likewise.
21907 2002-01-09 Kazu Hirata <kazu@hxi.com>
21909 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
21910 to extract items in the expr_list chain.
21912 2002-01-09 Richard Henderson <rth@redhat.com>
21914 * config/vax/vax.c (vax_rtx_cost): Never abort.
21916 * config/vax/vax.h (REAL_ARITHMETIC): Define.
21918 2002-01-09 Jan Hubicka <jh@suse.cz>
21920 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
21922 2002-01-09 Richard Henderson <rth@redhat.com>
21924 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
21925 Unify code from various alternatives.
21927 2002-01-09 Richard Henderson <rth@redhat.com>
21929 * regrename.c (copy_value): Ignore the copy if the source register
21930 is present in the value chain with a narrower mode.
21932 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21934 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
21935 for the c4x target. Also improve layout.
21937 2002-01-09 Richard Henderson <rth@redhat.com>
21939 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
21940 * config/m32r/m32r.md (and ior xor splitters): Swap operands
21941 to match insn patterns.
21943 2002-01-09 Richard Henderson <rth@redhat.com>
21945 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
21946 (copyprop_hardreg_forward_1): Likewise.
21948 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
21950 * pa.md (decrement_and_branch_until_zero): Change predicate for
21951 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
21953 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
21955 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
21956 gets undefined. For Darwin.
21958 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21960 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
21962 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21964 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
21966 2002-01-08 Richard Henderson <rth@redhat.com>
21968 * regrename.c (copy_value): Ignore overlapping copies.
21970 2002-01-08 Richard Henderson <rth@redhat.com>
21972 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
21973 as needed to avoid shared structure.
21975 2002-01-08 Kazu Hirata <kazu@hxi.com>
21977 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
21980 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
21982 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
21983 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
21984 documentation of obsolete macros.
21985 * system.h: Poison these macros.
21986 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
21987 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
21988 config/c4x/c4x.h, config/clipper/clipper.h,
21989 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
21990 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
21991 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
21992 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
21993 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
21994 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
21995 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
21996 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
21997 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
21998 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
21999 config/sparc/sparc.h, config/stormy16/stormy16.h,
22000 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
22001 definitions and commented out definitions of obsolete macros.
22002 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
22003 of MAX_INT_TYPE_SIZE.
22005 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
22007 * config/s390/s390.c (s390_preferred_reload_class): Never
22008 return ADDR_REGS if it isn't a subset of the given class.
22009 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
22010 FP_REGS, but all superclasses as well.
22012 * config/s390/s390.c (s390_function_profiler): Fix thinko.
22014 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
22015 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
22016 must not be a const_int.
22018 2002-01-08 Richard Henderson <rth@redhat.com>
22020 * Makefile.in (toplev.o): Depend on options.h.
22021 (gcc.o): Depend on specs.h.
22023 2002-01-08 Jakub Jelinek <jakub@redhat.com>
22025 * expr.c (store_expr): Convert VOIDmode constants back to target's
22028 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
22030 * doc/invoke.texi: Markup gcc as @command. Refer to
22031 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
22032 of http://gcc.gnu.org/thanks.html.
22034 2002-01-08 Dale Johannesen <dalej@apple.com>
22036 * config/rs6000/rs6000.md: Add missing int register
22037 target case to movdf_low.
22039 2002-01-08 Zack Weinberg <zack@codesourcery.com>
22041 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
22042 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
22043 (cppinit.o): Depend on except.h.
22044 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
22045 s-specs): New rules.
22047 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
22048 Don't create specs.h/options.h/gencheck.h here. Remove
22049 unnecessary variable settings from last argument of AC_OUTPUT.
22050 * config.in, configure: Regenerate.
22051 * intl.c: Hardcode package name as "gcc".
22053 * cppinit.c: Include except.h.
22054 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
22056 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
22057 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
22058 (!)USING_SJLJ_EXCEPTIONS.
22059 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
22061 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
22063 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
22064 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
22065 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
22066 documentation of obsolete macros.
22067 * system.h: Poison these macros.
22068 * config/d30v/d30v.h, config/ns32k/encore.h,
22069 config/stormy16/stormy16.h: Remove definitions and commented out
22070 definitions of obsolete macros.
22072 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
22074 * objc/objc-act.c (handle_class_ref): Mark the declaration of
22075 %sobjc_class_ref_%s as used - to prevent unwanted compiler
22078 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
22080 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
22081 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
22082 to insn adjusting stack/frame pointer.
22083 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
22084 accept operands that cause the insn to be non-splittable.
22086 2002-01-08 Graham Stott <grahams@redhat.com>
22088 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
22089 (C_TYPE_FIELDS_VOLATILE): Likewise.
22090 (C_TYPE_BEING_DEFINED): Likewise.
22091 (C_IS_RESERVED_WORD): Likewise.
22092 (C_TYPE_VARIABLE_SIZE): Likewise.
22093 (C_DECL_VARIABLE_SIZE): Likewise.
22094 (C_MISSING_PROTOTYPE_WARNED): Likewise.
22095 (C_SET_EXP_ORIGINAL_CODE): Likewise.
22096 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
22098 (C_DECL_ANTICIPATED): Likewise.
22099 (c_build_type_variant): Add parenthesis.
22101 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
22103 * gcc.c (option_map): Remove --version.
22104 (process_command): Handle -fversion following the GNU Coding
22105 Standards. Partially addresses PR other/704.
22107 2002-01-08 Graham Stott <grahams@redhat.com>
22109 * combine.c (combine_instructions): Fix typo.
22111 2002-01-08 Graham Stott <grahams@redhat.com>
22113 * debug.h: Use "tree" and "rtx" throughout.
22115 * debug.c: Likewise.
22117 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
22119 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
22120 constant pool, use the pool's version of the symbol instead.
22122 2002-01-07 Richard Henderson <rth@redhat.com>
22124 * regrename.c (find_oldest_value_reg): Ignore the value chain if
22125 the original register was copied in a mode with a fewer number of
22126 hard registers than the desired mode.
22127 (copyprop_hardreg_forward_1): Likewise.
22128 (debug_value_data): Fix loop test.
22129 * toplev.c (parse_options_and_default_flags): Reenable
22130 -fcprop-registers at -O1.
22132 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
22134 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
22135 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
22137 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
22140 * config/rs6000/rs6000.md: Add altivec predicate patterns.
22142 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
22144 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
22145 (pa_output_function_prologue): Output local label at the beginning of
22146 the prologue when profiling.
22147 (hppa_profile_hook): Use the local label rather than the function label.
22148 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
22150 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
22152 * config/rs6000/rs6000.c (print_operand): Remove extra space.
22153 (altivec_expand_unop_builtin): Fix thinko.
22154 (altivec_expand_binop_builtin): Same.
22155 (altivec_expand_ternop_builtin): Same.
22156 (altivec_expand_builtin): Same.
22158 2002-01-07 Richard Henderson <rth@redhat.com>
22160 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
22162 2002-01-07 Jason Merrill <jason@redhat.com>
22164 * unwind-dw2.c (execute_cfa_program): Use < again.
22166 2002-01-07 Jakub Jelinek <jakub@redhat.com>
22168 * predict.c (combine_predictions_for_insn): Avoid division by zero.
22170 2002-01-07 Jakub Jelinek <jakub@redhat.com>
22172 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
22173 Don't allow -1 - x -> ~x simplifications in the first pass.
22175 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
22177 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
22179 (altivec_expand_binop_builtin): Same.
22180 (altivec_expand_unop_builtin): Same.
22181 (print_operand): Fix typo.
22182 (bdesc_1arg): Add vupk* variants.
22184 * rs6000.h (rs6000_builtins): Add vupk* enums.
22186 * rs6000.md: Add altivec_vupk* variants.
22188 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
22190 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
22191 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
22192 and last update dates.
22194 2002-01-07 Janis Johnson <janis187@us.ibm.com>
22196 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
22198 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
22200 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
22201 * config/avr/avr.h (CPP_SPEC): Likewise.
22202 (LINK_SPEC): Likewise.
22203 (CRT_BINUTILS_SPECS): Likewise.
22204 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
22205 * doc/invoke.texi (AVR Options): Document them.
22207 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
22209 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
22212 2002-01-07 Graham Stott <grahams@redhat.com>
22214 * config/i386/i386.h: Update copyright date.
22215 (HALF_PIC_PTR): Add parenthesis.
22216 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
22217 (CONSTANT_ALIGNMENT): Add parenthesis.
22218 (DATA_ALIGNMENT): Likewise.
22219 (LOCAL_ALIGNMENT): Likewise.
22220 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
22221 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
22222 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
22223 (HARD_REGNO_NREGS): Add paranethesis.
22224 (VALID_SSE_REG_MODE): Whitespace.
22225 (VALID_MMX_REG_MODE): Whitespace.
22226 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
22227 (ix86_hard_regno_mode_ok): Add parenthesis.
22228 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
22229 (RETURN_IN_MEMORY): Whitespace.
22230 (N_REG_CLASSES): Add parenthesis.
22231 (INTEGER_CLASS_P): Add parenthesis and wrap.
22232 (FLOAT_CLASS_P): Likewise.
22233 (SSE_CLASS_P): Likewise.
22234 (MMX_CLASS_P): Likewise.
22235 (MAYBE_INTEGER_CLASS_P): Likewise.
22236 (MAYBE_FLOAT_CLASS_P): Likewise.
22237 (MAYBE_SSE_CLASS_P): Likewise.
22238 (MAYBE_MMX_CLASS_P): Likewise.
22239 (Q_CLASS_P): Likewise.
22240 (GENERAL_REGNO_P): Uppercase macro parameter.
22241 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
22242 (FP_REGNO_P): Likewise.
22243 (ANY_FP_REGNO_P): Uppercase macro parameter.
22244 (SSE_REGNO_P): Likewise.
22245 (SSE_REGNO): Likewise.
22246 (SSE_REG_P): Likewise.
22247 (SSE_FLOAT_MODE_P): Likewise.
22248 (MMX_REGNO_P): Likewise.
22249 (MMX_REG_P):Likewise.
22250 (STACK_REG_P): Likewise.
22251 (NON_STACK_REG_P): Likewise.
22252 (STACK_TOP_P): Likewise.
22253 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
22254 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
22255 (SECONDARY_MEMORY_NEEDED): Likewise.
22256 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
22257 (MD_ASM_CLOBBERS): Whitespace and wrap.
22258 (MUST_PASS_IN_STACK): Whitespace and wrap.
22259 (RETURN_POPS_ARGS): Add parenthesis.
22260 (INIT_CUMULATIVE_ARGS): Likewise.
22261 (FUNCTION_ARG): Likewise.
22262 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
22263 (SETUP_INCOMING_VARARGS): Likewise.
22264 (BUILD_VA_LIST_TYPE): Add parenthesis.
22265 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
22267 (EXPAND_BUILTIN_VA_ARG): Likewise.
22268 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
22269 (INITIALIZE_TRAMPOLINE): Add parenthesis.
22270 (INITIAL_ELIMINATION_OFFSET): Likewise.
22271 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
22272 (REGNO_OK_FOR_BASE_P): Likewise.
22273 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
22274 (REGNO_OK_FOR_DIREG_P): Likewise.
22275 (REG_OK_FOR_INDEX_P): Whitespace.
22276 (REG_OK_FOR_BASE_P): Whitespace.
22277 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
22279 (FIND_BASE_TERM): Fix typo.
22280 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
22281 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
22282 (SYMBOLIC_CONST; Whitespace.
22283 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
22284 (ENCODE_SECTION_INFO): Whitespace.
22285 (FINALIZE_PIC): Remove do { ... } while (0).
22286 (PROMOTE_MODE): Wrap in do { ... } while (0).
22287 (CONST_COSTS): Whitespace.
22288 (RTX_COSTS): Add paramethesis, whitespace and wrap.
22289 (REGISTER_MOVE_COST): Add parenthesis.
22290 (MEMORY_MOVE_COST): Likewise.
22291 (EXTRA_CC_MODES): Whitespace.
22292 (SELECT_CC_MODE): Add parenthesis and whitespace.
22293 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
22294 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
22295 (ASM_OUTPUT_LABEL): Add paramethesis.
22296 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
22297 (ASM_OUTPUT_REG_POP): Likewise.
22298 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
22299 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
22301 * config/i386/i386.c: Update copyright.
22302 (CHECK_STACK_LIMIT): Add parenthesis.
22303 (AT_BP): Uppercase macro parameter.
22304 (x86_64_int_parameter_registers): Constify.
22305 (x86_64_int_return_registers): Likewise.
22306 (ix86_compare_op0): Use rtx.
22307 (construct_container): Constify INTREG parameter.
22308 (function_arg): Use rtx.
22310 * diagnostic.h: Update copyright date.
22311 (output_buffer_state): Add parenthesis.
22312 (output_buffer_format_args): Likewise.
22314 * combine.c (combine_instructions): Replace XEXP (links, 0)
22317 2002-01-06 H.J. Lu <hjl@gnu.org>
22319 * cfgcleanup.c (thread_jump): Fix 2 typos.
22321 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
22323 * config.gcc: Add support for --enable-altivec.
22325 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
22327 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
22329 2002-01-06 Jakub Jelinek <jakub@redhat.com>
22331 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
22332 __objc_class_name_*.
22334 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
22336 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
22338 2002-01-06 Richard Henderson <rth@redhat.com>
22340 * reorg.c (emit_delay_sequence): Remove death notes, not merely
22341 nop them out. Increment label reference count for REG_LABEL.
22342 (fill_slots_from_thread): Frob label reference count around
22343 delete_related_insns.
22345 2002-01-05 Richard Henderson <rth@redhat.com>
22347 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
22350 2002-01-05 Richard Henderson <rth@redhat.com>
22352 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
22353 * integrate.c (output_inline_function): Likewise.
22354 * toplev.c (rest_of_compilation): Do it here instead. Move call
22355 to remove_unnecessary_notes after emitting abstract instance.
22356 Force an emitted nested function to have its parent emited as well.
22357 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
22359 (rtl_for_decl_location): Do not look at reload data structures
22360 before reload has run.
22362 2002-01-05 Kazu Hirata <kazu@hxi.com>
22364 * cse.c: Fix formatting.
22365 * dwarf2asm.c: Likewise.
22366 * dwarf2out.c: Likewise.
22367 * explow.c: Likewise.
22368 * expmed.c: Likewise.
22369 * function.c: Likewise.
22370 * gcov.c: Likewise.
22371 * gencheck.c: Likewise.
22372 * genrecog.c: Likewise.
22373 * ggc-common.c: Likewise.
22374 * ggc-page.c: Likewise.
22375 * global.c: Likewise.
22377 2002-01-05 Kazu Hirata <kazu@hxi.com>
22379 * combine.c: Fix formatting.
22381 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
22384 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
22386 2002-01-05 David Edelsohn <edelsohn@gnu.org>
22388 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
22389 as 1 for __powerpc64__ as well.
22391 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
22393 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
22396 2002-01-05 Daniel Berlin <dan@dberlin.org>
22398 * lcm.c: Revert change, due to performance regression it causes on
22399 SPEC because it's slightly more conservative (sigh, I hate
22402 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
22404 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
22406 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
22408 * doc/cppinternals.texi: Update.
22410 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
22412 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
22413 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
22415 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
22416 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
22417 kludge for pre-october-14th mmix versions to handle new-found bug
22418 with PUSHJ/PUSHGO and the register stack.
22419 * config/mmix/mmix.h (struct machine_function): Rename member
22420 has_call_value_without_parameters to has_call_without_parameters.
22421 All referers changed.
22422 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
22423 TARGET_MASK_BRANCH_PREDICT): New macros.
22424 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
22425 -mno-reg-stack-fill-bug-workaround.
22426 * config/mmix/mmix.md ("call"): Set struct machine member
22427 has_call_without_parameters.
22429 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
22431 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
22433 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
22435 * cfgcleanup.c: Include tm_p.h
22436 (mark_effect): Fix handling of hard register; fix handling of SET
22438 2002-01-04 Kazu Hirata <kazu@hxi.com>
22440 * config/h8300/h8300.md (anonymous patterns): Check that
22441 operands are registers before using REGNO on them.
22443 2002-01-03 Roland McGrath <roland@frob.com>
22445 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
22447 2002-01-04 Jakub Jelinek <jakub@redhat.com>
22449 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
22450 * c-common.h (genrtl_expr_stmt_value): Likewise.
22451 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
22452 (expand_expr_stmt_value): Add maybe_last argument.
22453 Don't warn about statement with no effect if it is the last statement
22454 in expression statement.
22455 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
22456 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
22457 expand_expr_stmt_value.
22458 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
22459 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
22460 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
22461 as maybe_last to expand_expr_stmt_value.
22463 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
22465 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
22466 be passed in, do not build it.
22467 (c_begin_if_stmt): New function.
22468 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
22469 * c-common.h (c_expand_start_cond): Update prototype.
22470 (c_begin_if_stmt): Prototype new function.
22471 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
22472 * c-parse.in (if_prefix): Use c_begin_if_stmt,
22473 c_begin_while_stmt and c_finish_while_stmt_cond.
22475 2002-01-04 William Cohen <wcohen@redhat.com>
22477 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
22478 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
22479 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
22480 * config/pa/som.h (ASM_FILE_START): Likewise.
22482 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
22484 * lcm.c: Include df.h.
22485 Add available_transfer_function prototype.
22486 (compute_available): Rework to use iterative dataflow framework.
22487 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
22488 with bb_info in df.h
22489 (available_transfer_function): New function.
22491 * Makefile.in (lcm.o): add df.h to dependencies.
22493 2002-01-04 Richard Henderson <rth@redhat.com>
22495 * config/alpha/alpha.c (some_operand): Accept HIGH.
22496 (input_operand): Likewise; accept simple references to globals.
22497 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
22498 (alpha_const_double_ok_for_letter_p): Likewise.
22499 (alpha_extra_constraint): Likewise.
22500 (alpha_preferred_reload_class): Likewise. Do not force
22501 symbolic constants to memory.
22502 (alpha_legitimate_address_p): Accept simple references
22503 to small_symbolic_operand.
22504 (alpha_legitimize_address): New arg scratch. Be prepared to be
22505 called when no_new_pseudos. Emit simple symbolic references.
22506 Split integers into low, high, and rest.
22507 (alpha_expand_mov): Use alpha_legitimize_address.
22508 (some_small_symbolic_mem_operand): New.
22509 (split_small_symbolic_mem_operand): New.
22510 * config/alpha/alpha-protos.h: Update.
22511 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
22512 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
22513 (EXTRA_CONSTRAINT): Likewise.
22514 (PREFERRED_RELOAD_CLASS): Likewise.
22515 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
22516 (PREDICATE_CODES): Update.
22517 * config/alpha/alpha.md: New post-reload splitters to convert
22518 simplfied symbolic operands to the form that references $29.
22519 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
22520 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
22522 2002-01-03 Richard Henderson <rth@redhat.com>
22524 * local-alloc.c (function_invariant_p): Update commentary.
22526 2002-01-04 H.J. Lu <hjl@gnu.org>
22528 * toplev.c (rest_of_compilation): Fix a typo when calling
22531 2002-01-03 Kazu Hirata <kazu@hxi.com>
22533 * c-common.c: Fix formatting.
22534 * diagnostic.c: Likewise.
22535 * doloop.c: Likewise.
22536 * dwarf2out.c: Likewise.
22538 2002-01-03 Kazu Hirata <kazu@hxi.com>
22540 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
22541 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
22543 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
22545 * cpperror.c: Update comments and copyright.
22546 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
22547 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
22549 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
22551 * collect2.c (main): Use strcmp when testing for "-shared".
22553 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
22555 * cppmacro.c: Don't include intl.h. Update comments.
22556 (new_number_token): Allocate enough buffer for 64-bit unsigned
22557 integers; update prototype.
22558 * cppmain.c: Update comments.
22560 2002-01-03 William Cohen <wcohen@redhat.com>
22562 * function.h (struct function): Add profile.
22563 (current_function_profile): New.
22564 doc/extend.texi: Update documentation.
22565 * final.c (final_start_function): Use current_function_profile
22566 instead of profile_flag.
22567 (profile_after_prologue): Likewise.
22568 * function.c (expand_function_start): Likewise.
22569 (expand_function_start): Likewise.
22570 * config/alpha/alpha.c (direct_call_operand):
22571 (alpha_does_function_need_gp): Likewise.
22572 (alpha_expand_prologue): Likewise.
22573 * config/arm/arm.c (arm_expand_prologue): Likewise.
22574 thumb_expand_prologue: Likewise.
22575 * config/d30v/d30v.c (d30v_stack_info): Likewise.
22576 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
22577 (fr30_expand_prologue): Likewise.
22578 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
22579 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
22580 * config/i386/i386.h (FINALIZE_PIC): Likewise.
22581 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
22582 * config/i960/i960.c (i960_output_function_prologue): Likewise.
22583 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
22584 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
22585 (m32r_expand_prologue): Likewise.
22586 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
22587 (m88k_expand_prologue): Likewise.
22588 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
22589 * config/mips/mips.c (compute_frame_size): Likewise.
22590 (mips_expand_prologue): Likewise.
22591 (mips_can_use_return_insn): Likewise.
22592 * config/pa/elf.h (ASM_FILE_START): Likewise.
22593 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
22594 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
22595 * config/pa/som.h (ASM_FILE_START): Likewise.
22596 * config/romp/romp.c (romp_using_r14): Likewise.
22597 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
22598 (rs6000_stack_info): Likewise.
22599 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
22600 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
22601 * config/v850/v850.c (compute_register_save_size): Likewise.
22603 2002-01-03 Jakub Jelinek <jakub@redhat.com>
22605 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
22606 gen_lowpart_common fails, use gen_lowpart_SUBREG.
22608 2002-01-03 Turly O'Connor <turly@apple.com>
22610 * darwin.c (machopic_output_possible_stub_label): Don't generate
22611 stub routines for pseudo-stubs which we've just defined.
22613 2002-01-03 Kazu Hirata <kazu@hxi.com>
22615 * builtins.c: Fix formatting.
22616 * c-typeck.c: Likewise.
22617 * combine.c: Likewise.
22618 * expr.c: Likewise.
22619 * loop.c: Likewise.
22621 2002-01-03 Andreas Schwab <schwab@suse.de>
22623 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
22624 and return true if _cpp_push_next_buffer pushed a new include
22626 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
22627 _cpp_pop_file_buffer did not push a new file.
22628 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
22630 2002-01-02 Eric Christopher <echristo@redhat.com>
22632 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
22633 FIND_REG_INC_NOTE call. Update copyright.
22634 * loop.c (canonicalize_condition): Ditto.
22635 * reorg.c (delete_scheduled_jump): Ditto.
22637 2002-01-03 Kazu Hirata <kazu@hxi.com>
22639 * gcse.c: Fix formatting.
22641 2002-01-03 Graham Stott <grahams@redhat.com>
22643 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
22644 forward defs for struct tags rtx_def, union_tree, rtvec_def
22645 also output corresponding typedefs for rtx, tree, and rtvec.
22647 * system.h: Move forward defs for struct tags rtx_def, union_tree,
22648 rtvec_def along with corresponding typedefs for rtx, tree, and
22649 rtvec to config.h, hconfig.h, tconfig.h.
22651 2002-01-03 Graham Stott <grahams@redhat.com>
22653 * tree.h: Update copyright date.
22654 (IS_EXPR_CODE_CLASS): Add parenthesis.
22655 (TREE_SET_CODE): Add whitespace.
22656 (TREE_CHECK): Add parenthesis.
22657 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
22658 (CST_OR_CONSTRUCTOR_CHECK):
22659 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
22660 (TREE_SYMBOL_REFERENCED): Whitespace.
22661 (INT_CST_LT): Likewise.
22662 (INT_CST_LT_UNSIGNED): Likewise.
22663 (tree_real_cst): Unwrap comment.
22664 (tree_string): Likewise.
22665 (tree_complex): Likewise.
22666 (IDENTIFIER_POINTER): correct cast.
22667 (SAVE_EXPR_CONTEXT): Whitespace.
22668 (EXPR_WFL_FILENAME_NODE): Likewise.
22669 (EXPR_WFL_FILENAME): Remove parenthesis.
22670 (DECL_ORIGIN): Add parenthesis.
22671 (DECL_FROM_INLINE): Use NULL_TREE.
22672 (build_int_2): Whitespace.
22673 (build_type_variant): Add parenthesis.
22675 * gcc/jcf-parse.c: Update copyright date.
22676 (yyparse): Constify resource_filename.
22678 2002-01-03 Graham Stott <grahams@redhat.com>
22680 * rtl.h: Update copyright date.
22681 (RTL_CHECK1): Wrap long line.
22682 (RTL_CHECK2): Likewise.
22683 (RTL_CHECKC1): Wrap long line and whitespace.
22684 (RTL_CHECKC2): Likewise.
22685 (XWINT): Whitespace.
22691 (XBITMAP): Likewise.
22693 (XBBDEF): Likewise.
22695 (X0WINT): Likewise.
22697 (X0UINT): Likewise.
22701 (X0MODE): Likewise.
22702 (X0BITMAP): Likewise.
22703 (X0TREE): Likewise.
22704 (X0BBDEF): Likewise.
22705 (X0ADVFLAGS): Likewise.
22706 (X0CSELIB): Likewise.
22707 (X0MEMATTR): Likewise.
22708 (XCWINT): Likewise.
22710 (XCUINT): Likewise.
22714 (XCMODE): Likewise.
22715 (XCBITMAP): Likewise.
22716 (XCTREE): Likewise.
22717 (XCBBDEF): Likewise.
22718 (XCADVFLAGS): Likewise.
22719 (XCCSELIB): Likewise.
22720 (XC2EXP): Likewise.
22721 (INSN_UID): Likewise.
22722 (PREV_INSN): Likewise.
22723 (PATTERN): Likewise.
22724 (INSN_CODE): Likewise.
22725 (PUT_REG_NOTE_KIND): Likewise.
22726 (CODE_LABEL_NUMBER): Likewise.
22727 (NOTE_SOURCE_FILE): Likewise.
22728 (NOTE_BLOCK): Likewise.
22729 (NOTE_EH_HANDLER): Likewise.
22730 (NOTE_RANGE_INFO): Likewise.
22731 (NOTE_LIVE_INFO): Likewise.
22732 (NOTE_BASIC_BLOCK): Likewise.
22733 (NOTE_EXPECTED_VALUE): Likewise.
22734 (NOTE_LINE_NUMBER): Likewise.
22735 (LABEL_NAME): Likewise.
22736 (LABEL_NUSES): Likewise.
22737 (LABEL_ALTERNATE_NAME): Likewise.
22738 (ADDRESSOF_DECL): Likewise.
22739 (JUMP_LABEL): Likewise.
22740 (LABEL_NEXTREF): Likewise.
22742 (ORIGINAL_REGNO: Likewise.
22743 (HARD_REGISTER_NUM_P): Add parenthesis.
22744 (SUBREG_REG): Whitespace.
22745 (SUBREG_BYTE): Likewise.
22746 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
22747 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
22748 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
22749 (ASM_OPERANDS_INPUT_VEC): Likewise.
22750 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
22751 (ASM_OPERANDS_INPUT): Likewise.
22752 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
22753 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
22754 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
22755 (ASM_OPERANDS_INPUT_MODE): Likewise.
22756 (ASM_OPERANDS_SOURCE_FILE): Likewise.
22757 (ASM_OPERANDS_SOURCE_LINE): Likewise.
22758 (MEM_SET_IN_STRUCT_P): Minor reformat.
22759 (TRAP_CONDITION): Whitespace.
22760 (TRAP_CODE): Likewise.
22761 (COND_EXEC_TEST): Likewise.
22762 (COND_EXEC_CODE): Likewise.
22763 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
22764 (PHI_NODE_P): Add parenthesis.
22765 (plus_constant): Whitespace and add parenthesis.
22767 2002-01-03 Kazu Hirata <kazu@hxi.com>
22769 * config/avr/avr.c: Fix comment typos.
22770 * config/c4x/c4x.md: Likewise.
22771 * config/dsp16xx/dsp16xx.h: Likewise.
22772 * config/dsp16xx/dsp16xx.md: Likewise.
22773 * config/i386/i386.md: Likewise.
22774 * config/ia64/ia64.c: Likewise.
22775 * config/m32r/m32r.h: Likewise.
22776 * config/m68hc11/m68hc11.md: Likewise.
22777 * config/mmix/mmix.c: Likewise.
22778 * config/mn10200/mn10200.c: Likewise.
22779 * config/romp/romp.c: Likewise.
22780 * config/sh/sh.c: Likewise.
22781 * config/stormy16/stormy16.c: Likewise.
22782 * config/stormy16/stormy16.h: Likewise.
22783 * config/stormy16/stormy16.md: Likewise.
22785 2002-01-03 Graham Stott <grahams@redhat.com>
22787 * loop.h: Update copyright date.
22788 (LOOP_MOVABLES): Fix typo.
22789 (LOOP_REGS): Likewise.
22790 (LOOP_IVS): Likewise.
22792 2002-01-03 Graham Stott <grahams@redhat.com>
22794 * cppinit.c: Update copyright date.
22795 Don't include output.h
22796 * Makefile.in: Update copyright date.
22799 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
22802 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
22803 (-pthread) Add to RS/6000 options.
22805 2002-01-02 Kazu Hirata <kazu@hxi.com>
22807 * except.c: Fix comment typos.
22808 * loop.c: Likewise.
22809 * varasm.c: Likewise.
22810 * doc/tm.texi: Fix a typo.
22812 2002-01-02 Jakub Jelinek <jakub@redhat.com>
22814 * c-typeck.c (output_init_element): Allow initializing static storage
22815 duration objects with compound literals.
22817 2002-01-02 Richard Henderson <rth@redhat.com>
22819 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
22822 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22824 * gcc.c (default_compilers): Const-ify.
22825 * mips-tdump.c (stab_names): Likewise.
22826 * mips-tfile.c (map_coff_types, map_coff_storage,
22827 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
22828 pseudo_ops_t, pseudo_ops): Likewise.
22829 * protoize.c (default_include): Likewise
22831 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
22832 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
22833 Add array size in declaration.
22834 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
22835 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
22836 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
22837 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
22838 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
22839 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
22840 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
22841 emtens, make_nan): Const-ify.
22842 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
22843 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
22845 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
22847 * config.gcc (ia64-*-*): Set extra_headers.
22848 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
22849 * config/alpha/t-osf: Remove.
22850 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
22852 2002-01-02 David Edelsohn <edelsohn@gnu.org>
22854 * config/rs6000/t-aix43: Revert previous change.
22856 2002-01-02 Jason Merrill <jason@redhat.com>
22858 * c-decl.c (c_expand_body): Call outlining_inline_function when
22859 emitting an inline function out of line.
22861 2002-01-02 Richard Henderson <rth@redhat.com>
22863 * dwarf2out.c (limbo_die_node): Add created_for member.
22864 (new_die): New argument created_for. Update all callers.
22865 (mark_limbo_die_list): New.
22866 (dwarf2out_init): Register limbo_die_list as a root.
22867 (dwarf2out_finish): Force insert limbo dies into their function
22870 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
22873 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
22875 2002-01-02 Kazu Hirata <kazu@hxi.com>
22877 * config/h8300/fixunssfsi.c: Update copyright.
22880 * config/h8300/h8300.c: Update copyright.
22881 Eliminate warnings.
22883 2002-01-02 Kazu Hirata <kazu@hxi.com>
22885 * config/romp/romp.c: Fix comment formatting.
22886 * config/romp/romp.h: Likewise.
22887 * config/romp/romp.md: Likewise.
22888 * config/s390/s390.c: Likewise.
22889 * config/stormy16/stormy16.c: Likewise.
22890 * config/stormy16/stormy16.h: Likewise.
22892 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
22894 * c-common.h (genrtl_expr_stmt_value): Declare.
22895 * c-semantics.c (genrtl_goto_stmt): Redirect to...
22896 (genrtl_goto_stmt_value): ... this new function. Pass new
22897 argument down to expand_expr_stmt_value, taking
22898 TREE_ADDRESSABLE into account.
22899 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
22900 STMT_EXPR as addressable, i.e., one whose result we want.
22901 * expr.c (expand_expr): Don't save expression statement value
22902 of labeled_blocks or loop_exprs.
22903 * stmt.c (expand_expr_stmt): Redirect to...
22904 (expand_expr_stmt_value): ... this new function. Use new
22905 argument to tell whether to save expression value.
22906 (expand_end_stmt_expr): Reset last_expr_type and
22907 last_expr_value if we don't have either.
22908 * tree-inline.c (declare_return_variable): Mark its use
22909 statement as addressable.
22910 * tree.h: Document new use of TREE_ADDRESSABLE.
22911 (expand_expr_stmt_value): Declare.
22913 2002-01-01 Tom Rix <trix@redhat.com>
22915 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
22916 rs6000_emit_allocate_stack.
22918 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
22920 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
22921 ${srcdir}/ginclude/ to every entry in extra_headers.
22922 * configure: Regenerate.
22923 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
22924 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
22925 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
22926 * ginclude/proto.h: Rename to config/convex/proto.h.
22928 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
22930 * attribs.c (handle_vector_size_attribute): Use host_integerp
22931 and tree_int_cst; remove warnings.
22932 * caller-save.c (insert_restore): Add cast to get rid of warning.
22933 (insert_save): Likewise.
22934 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
22935 * regmove.c (find_matches): Add temporary var to kill a warning.
22937 2002-01-01 Douglas B Rupp <rupp@gnat.com>
22939 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
22940 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
22941 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
22942 (vms-dwarf2eh.o): Add Makefile rule.
22943 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
22944 * config/alpha/vms-dwarf2eh.asm: New file.
22946 * gcc.c (delete_if_ordinary): Delete all versions.
22948 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
22950 * config/mmix/mmix.md: Update FIXME to not mention
22952 (MMIX_rJ_REGNUM): New define_constants constant.
22953 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
22954 "*movdicc_real"): Adjust contraints formatting.
22955 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
22956 for branch prediction.
22957 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
22959 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
22960 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
22961 number. Delete related FIXMEs.
22962 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
22963 from number to MMIX_rJ_REGNUM.
22964 (TARGET_MASK_BRANCH_PREDICT): New.
22965 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
22966 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
22967 value. Add -mbranch-predict and -mno-branch-predict.
22968 (TARGET_VERSION): Drop date.
22969 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
22970 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
22971 for finding out global symbols.
22972 (mmix_asm_output_labelref): Revert condition for global symbol.
22973 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
22974 (mmix_print_operand_punct_valid_p): A '+' is valid.
22976 See ChangeLog.6 for earlier changes.