]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
c-decl.c (grokdeclarator): Update.
[gcc.git] / gcc / ChangeLog
CommitLineData
dffd7eb6
NB
12002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
2
3 * c-decl.c (grokdeclarator): Update.
4 * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
5 * c-tree.h (c_mark_addressable): New.
6 * c-typeck.c (default_function_array_conversion, build_unary_op,
7 build_array_ref, convert_for_assignment): Update.
8 (mark_addressable): Rename.
9 * calls.c (try_to_integrate, expand_call): Use langhook.
10 * expr.c (expand_expr): Use langhook.
11 * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
12 * langhooks.h (struct lang_hooks): New hook.
13 * stmt.c (expand_asm_operands): Use langhook.
14 * tree.h (mark_addressable): Remove.
15objc:
16 * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
17
544ef5b5
BW
182002-04-01 Bob Wilson <bob.wilson@acm.org>
19
20 * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
21 in previous change.
22
bcf88f9b
BW
232002-04-01 Bob Wilson <bob.wilson@acm.org>
24
25 * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
26 for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
27
ceef8ce4
NB
282002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
29
30 * c-common.c (unsigned_conversion_warning, convert_and_check,
31 unsigned_type, signed_type, shorten_compare,
32 c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
33 (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
34 * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
35 New.
36 * c-decl.c (grokdeclarator): Update.
37 * c-format.c (check_format_types): Update.
38 * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
39 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
40 * c-typeck.c (build_binary_op, convert_for_assignment): Update.
41 * convert.c (convert_to_integer): Use new hooks.
42 * expmed.c (make_tree): Use new hooks.
43 * expr.c (store_expr): Use new hooks.
44 * fold-const.c (operand_equal_for_comparison_p, build_range_check,
45 all_ones_mask_p, unextend, fold): Use new hooks.
46 * langhooks.h (struct lang_hooks_for_types): New hooks.
47 * tree.h (signed_or_unsigned_type, signed_type,
48 unsigned_type): Remove.
49objc:
50 * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
51 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
52
1d9ad0e0
RH
532002-03-31 Richard Henderson <rth@redhat.com>
54
55 * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
56 (desc_frgr_mem): Fix reference to f16-f31.
57
d544bc39
KG
582002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
59
60 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
61 RTVEC_ELT): Const-ify.
d8750784
KG
62 * varray.h (VARRAY_CHECK): Const-ify.
63 * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
64 ggc_mark_rtvec, ggc_mark): Const-ify.
d544bc39 65
b18101c7
NB
662002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
67
68 * diagnostic.c: Include langhooks-def.h.
69 * Makefile.in (diagnostic.o): Update.
70
48a7a235
NB
712002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
72
73 * c-common.c (c_unsafe_for_reeval): Rename.
74 * c-common.h (c_unsafe_for_reeval): Rename.
75 * c-decl.c (finish_incomplete_decl): Rename.
76 (c_init_decl_processing): Don't set langhook.
77 * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
78 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
79 * c-objc-common.c (c_objc_common_init): Don't set langhook.
80 * c-tree.h (finish_incomplete_decl): Rename.
81 * langhooks-def.h (lhd_unsafe_for_reeval): New.
82 (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
83 (LANG_HOOKS_INITIALIZER): Update.
84 * langhooks.c (lhd_unsafe_For_reeval): New.
85 * langhooks.h (struct langhooks): New hooks.
86 * toplev.c (incomplete_decl_finalize_hook): Remove.
87 (wrapup_global_declarations): Update.
88 * tree.c (lang_unsafe_for_reeval): Remove.
89 (unsafe_for_reeval): Update.
90 * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
91 Remove.
92objc:
93 * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
94 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
95
7cb32822
NB
962002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
97
98 * diagnostic.c (print_error_function): Remove.
99 (default_print_error_function): Rename.
100 (report_error_function): Update.
101 * diagnostic.h (print_error_function): Remove.
102 (default_print_error_function): Remove.
103 * langhooks-def.h (struct diagnostic_context): Predeclare.
104 (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
105 (LANG_HOOKS_INITIALIZER): Update.
106 * langhooks.h (struct diagnostic context): Predeclare.
107 (struct lang_hooks): New hook.
108
1db02437
FS
1092002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
110
111 * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
112 (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
113 !flag_pic.
114 (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
115 * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
116 of PIC_OFFSET_TABLE_REGNUM thruout.
117 * config/rs6000/rs6000.md: Likewise.
118 * config/rs6000/darwin.h: Likewise.
119
3bf1e984
RK
120Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
121
122 * emit-rtl.c (adjust_address_1, offset_address): Cast value to
123 unsigned HOST_WIDE_INT, not unsigned int.
124
0864c526
JJ
1252002-03-31 Jakub Jelinek <jakub@redhat.com>
126
127 PR middle-end/6096, middle-end/6098, middle-end/6099
128 * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
129 CODE_LABELs.
130 (fill_slots_from_thread): Likewise.
131
105b2084
JJ
1322002-03-31 Jakub Jelinek <jakub@redhat.com>
133
134 * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
135 floating fields in float regs.
136 (function_arg_record_value_2): Likewise.
137
db08fddf
HPN
1382002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
139
140 * config/mmix/mmix.md (define_constants): Remove misleading
141 FIXME. Add MMIX_fp_rO_OFFSET.
142 ("nonlocal_goto_receiver"): Don't have stack-frame address of
143 saved rO as part of the pattern. Remove FIXME.
144 ("*nonlocal_goto_receiver_expanded"): Similar. Generate address
145 here, at output-time.
146
4f31cce8
JJ
1472002-03-31 Jakub Jelinek <jakub@redhat.com>
148
149 PR middle-end/6100
150 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
151 REG_BR_PRED.
152 (output_v9branch): Likewise.
153
ba2b7435
AO
1542002-03-31 Alexandre Oliva <aoliva@redhat.com>
155
156 * gcc.c: Revert previous patch for now.
157 * config/i386/djgpp.h: Likewise.
158
aa66aa5f 1592002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
8f840f57
HPN
160
161 * config/mmix/crti.asm (_init): Register _fini with atexit.
162 * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
163
41ba8a20
RH
1642002-03-31 Richard Henderson <rth@redhat.com>
165
166 PR target/3997
167 * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
168 (ASM_OUTPUT_DEF_FROM_DECLS): New.
169
adc186ef
RH
1702002-03-31 Richard Henderson <rth@redhat.com>
171
172 * libgcc2.c (__bb_exit_func): Make static.
173
a7648399
RH
174 * config/alpha/alpha.md (trap): New.
175
9602f5a0
RH
1762002-03-31 Richard Henderson <rth@redhat.com>
177
178 * builtins.c (expand_builtin_va_arg): Give warnings not errors for
179 promoted argument types; build trap.
180 (expand_builtin_trap): New.
181 (expand_builtin): Use it.
182 * stmt.c (expand_nl_goto_receivers): Likewise.
183 * expr.h (expand_builtin_trap): Declare.
184 * libfuncs.h (LTI_abort, abort_libfunc): New.
185 * optabs.c (init_optabs): Init abort_libfunc.
186
1a0a7539
AO
1872002-03-31 Alexandre Oliva <aoliva@redhat.com>
188
189 * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
190 (LINK_COMMAND_SPEC): ... from here.
191 (init_gcc_specs): Duplicate it here too, omitting
192 shared_name in the second copy.
193 (init_spec): Test for duplicate
194 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
195
b5de1a27
DM
1962002-03-30 David S. Miller <davem@redhat.com>
197
198 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
199 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
200
78414d74
RS
2012002-03-30 Roger Sayle <roger@eyesopen.com>
202 Richard Henderson <rth@redhat.com>
203
204 * regmove.c (combine_stack_adjustments_for_block): Avoid
205 emitting a stack adjustment of zero bytes. Let delete_insn
206 update bb->head.
207
33074e5f
RH
2082002-03-30 Richard Henderson <rth@redhat.com>
209
210 * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
211 (sparc_emitting_epilogue): New.
212 (leaf_label, output_return, sparc_return_peephole_ok): Remove.
213 * config/sparc/sparc-protos.h: Update.
214 * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
215 (TARGET_SWITCHES): Update.
216 * config/sparc/sparc.md (return): Remove.
217 (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
218 * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
219 config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
220 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
221 config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
222 config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
223 config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
224 Remove MASK_EPILOGUE.
225 * doc/invoke.texi: Update.
226
606cc056
DB
2272002-03-30 Daniel Berlin <dan@dberlin.org>
228
229 * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
230 CPP will start the file for us.
231
bdbe5b8d
RH
2322002-03-30 Richard Henderson <rth@redhat.com>
233
234 PR target/5446
235 * config/ia64/ia64.c (group_barrier_needed_p): Special case
236 prologue_allocate_stack.
237 (ia64_single_set): Use insn codes for recognition of special
238 cases, not rtl matching.
239 * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
240
4ab95d82
JH
241Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz>
242
243 * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
244
89a8b315
RH
2452002-03-30 Richard Henderson <rth@redhat.com>
246
247 PR target/6032
248 * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
249 or -fomit-frame-pointer with profiling.
250 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
251 (FUNCTION_PROFILER): Do nothing.
252 (PROFILE_HOOK): New.
253 * config/sparc/sparc.c (sparc_override_options): Don't check
254 code models for profiling.
255 (sparc_function_profiler): Remove.
256 (sparc_profile_hook): New.
257 * config/sparc/sparc-protos.h: Update.
258
30984c57
JJ
2592002-03-30 Jakub Jelinek <jakub@redhat.com>
260
261 PR optimization/6086
262 * combine.c (combine_simplify_rtx): If simplify_rtx failed because
263 of SUBREG of volatile MEM or because the MEM was mode dependent,
264 return CLOBBER instead of unmodified SUBREG.
265
1540f9eb
JH
266Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
267
89a8b315
RH
268 * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
269 when not optimizing.
1540f9eb
JH
270
271 * toplev.c (rest_of_compilation): Cann mark_constant_function
272 only when optimizing.
273
89a8b315
RH
274 * flow.c (calculate_global_regs_live): Ensure that all AUX fields
275 are NULL.
1540f9eb
JH
276
277 * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
278 (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
279 (try_optimize_cfg): clear all AUX fields.
280
281 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
282 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
283 (ix86_address_cost): Be prepared for SUBREGed registers.
284 (legitimate_address_p): Accept SUBREGed registers.
285
70d95bac
RH
2862002-03-29 Richard Henderson <rth@redhat.com>
287
288 PR target/5672
289 * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
290
d3294cd9
FS
2912002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
292
293 * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
294 for aggregate and TFmode types.
295
a106c875
HPN
2962002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
297
298 * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
299
7d7a5d6f
RH
3002002-03-29 Richard Henderson <rth@redhat.com>
301
6e2d670b 302 PR target/5886
7d7a5d6f
RH
303 * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
304 * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
305
30c99a84
RH
3062002-03-29 Richard Henderson <rth@redhat.com>
307
6e2d670b 308 PR target/6041
30c99a84
RH
309 * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
310 (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
311 * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
312 * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
313 conditional.
314 * docs/invoke.texi: Update -mno-fancy-math-387 docs.
315
02a566dc
DJ
3162002-03-29 Dale Johannesen <dalej@apple.com>
317
318 * loop.c (combine_movables): Do allow combination of pseudos.
319
bc3a44db
LR
3202002-03-29 Loren J. Rittle <ljrittle@acm.org>
321
322 * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
323 * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
324 No functional change except ...
325 * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
326 * doc/install.texi (*-*-freebsd*): Document port configuration.
327
b0c48229
NB
3282002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
329
330 * Makefile.in (convert.o, calls.o, expmed.o): Update.
331 * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
332 Use new hooks.
333 * builtin-types.def (BT_PTRMODE): Update.
334 * c-common.c (type_for_size): Rename c_common_type_for_size.
335 (type_for_mode): Similarly.
336 (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
337 Use new hook.
338 * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
339 * c-decl.c (finish_enum, build_enumerator): Use new hooks.
340 * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
341 Redefine.
342 * c-typeck.c (common_type, comptypes, default_conversion):
343 Use new hooks.
344 * calls.c: Include langhooks.h.
345 (emit_library_call_value_1): Use new hooks. Avoid redundant
346 calls.
347 * convert.c: Include langhooks.h
348 (convert_to_pointer, convert_to_integer): Use new hooks.
349 * except.c (init_eh): Similarly.
350 * expmed.c: Include langhooks.h.
351 (expand_mult_add): Use new hooks.
352 * expr.c (store_expr, store_constructor, expand_expr, do_jump,
353 try_casesi): Similarly.
354 * fold-const.c (optimize_bit_field_compare, make_range,
355 decode_field_reference, fold_truthop, fold): Similarly.
356 * function.c (assign_stack_local_1, assign_stack_temp_for_type,
357 put_var_into_stack): Similarly.
358 * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
359 LANG_HOOKS_TYPE_FOR_SIZE): New.
360 (LANG_HOOKS_TYPES_INITIALIZER): Update.
361 * langhooks.h (lang_hooks_for_types): New hooks.
362 * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
363 * tree.c (get_unwidened, get_narrower): Similarly.
364 * tree.h (type_for_mode, type_for_size): Remove.
365 * varasm.c (force_const_mem): Use new hooks.
366 * utils2.c (nonbinary_modular_operation): Update.
367objc:
368 * objc-act.c (handle_impent): Update.
369 * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
370 Redefine.
371
e206a74f
SE
3722002-03-29 Steve Ellcey <sje@cup.hp.com>
373
374 * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
375 * config/ia64/ia64.c (basereg_operand): New.
376 * config/ia64/ia64-protos.h (basereg_operand): Declare.
377 * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
378
7d9b6378
HPN
3792002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
380
381 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
382 unwind information when frame_pointer_needed.
383 (mmix_assemble_integer): Tweak wording in comment.
384
f1e639b1
NB
3852002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
386
387 * Makefile.in (except.o): Update.
388 * except.c: Include langhooks.h.
389 (init_eh): Use langhook.
390 * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
391 LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
392 (LANG_HOOKS_INITIALIZER): Update.
393 * langhooks.h (lang_hooks_for_types): New.
394 (struct lang_hooks): Add it.
395 * tree.c (make_lang_type_fn, make_lang_type): Remove.
396 * tree.h (make_lang_type_fn, make_lang_type): Remove.
397config:
398 * alpha/alpha.c: Include langhooks.h.
399 (alpha_build_va_list): Use langhook.
400 * d30v/d30v.c: Include langhooks.h.
401 (d30v_build_va_list): Use langhook.
402 * i386/i386.c: Include langhooks.h.
403 (ix86_build_va_list): Use langhook.
404 * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
405 * s390/s390.c: Include langhooks.h.
406 (s390_build_va_list): Use langhook.
407 * stormy16/stormy16.c: Include langhooks.h.
408 (stormy16_build_va_list): Use langhook.
409
f17f9332
JJ
4102002-03-29 Jakub Jelinek <jakub@redhat.com>
411
412 PR c++/5964
413 * config/sparc/sparc.md (empty_delay_slot, branch_type): New
414 attributes.
415 (length): Compute variable length for branches/calls/jumps here.
416 (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
417 normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
418 define branch_type attribute.
419 (divsi3_sp32): Maximum length is 6 not 7.
420 (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
421 call_address_untyped_struct_value_sp32,
422 call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
423 * config/sparc/sparc.c (empty_delay_slot): New function.
424 * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
425 * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
426
0a0440c9
JJ
4272002-03-29 Jakub Jelinek <jakub@redhat.com>
428
429 * combine.c (set_nonzero_bits_and_sign_copies): Don't call
430 nonzero_bits if not needed.
431 (nonzero_bits) [XOR]: Likewise.
432 (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
433 reg_last_set_mode and mode are both MODE_INT, but not equal.
434 (record_value_for_reg): Compute reg_last_set_nonzero_bits
435 in nonzero_bits_mode for MODE_INT modes.
436
c9045f47
RH
4372002-03-28 Richard Henderson <rth@redhat.com>
438
439 PR target/5715
440 * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
441 to GAS. Correct drift between alternatives.
442
f8ed1958
RH
4432002-03-28 Richard Henderson <rth@redhat.com>
444
445 PR target/6087
446 * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
447
54e20385
LR
4482002-03-28 Alexandre Oliva <aoliva@redhat.com>
449
450 * config/i386/freebsd.h (LINK_SPEC): Don't pass default
451 emulation to the linker.
452
4532002-03-28 Loren J. Rittle <ljrittle@acm.org>
454
455 * config/alpha/freebsd.h (LINK_SPEC): Likewise.
456 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
457
8bc52806
JL
458Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com)
459
460 * combine.c (simplify_and_const_int): Make sure to apply mask
461 when force_to_mode returns a constant integer. PR3311.
462
279dccc5
JDA
4632002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
464
465 * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
466
62aaa62c
GP
4672002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
468
469 * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
470 and Objective-C Dialect Options.
471
b8de5050
RH
4722002-03-28 Richard Henderson <rth@redhat.com>
473
474 * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
475 comparison should be done vs !=0 not >0 return code. Tidy cases.
476
619708cc
RH
4772002-03-28 Richard Henderson <rth@redhat.com>
478
479 * c-decl.c (finish_function): New arg can_defer_p. Pass it
480 on to c_expand_body.
481 * c-tree.h (finish_function): Update decl.
482 * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
483
b1d874d7
JH
484Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz>
485
486 * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
487
f5eb5fd0
JH
488Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz>
489
490 * rtlanal.c: Include flags.h
491 (may_trap_p): Do not mark FP operations if trapping
492 if !flag_trapping_math
493 * Makefile.in (rtlanal.o): Add dependency on flag.h
494 * ifcvt.c (noce_operand_ok): Avoid the lameness.
495
81b4c798
ZW
4962002-03-27 Zack Weinberg <zack@codesourcery.com>
497
498 * mips.md: Use dconst1, not 1.0, as first argument of
499 REAL_VALUE_LDEXP. Don't use union real_extract.
500
55a2ea2a
AM
5012002-03-28 Alan Modra <amodra@bigpond.net.au>
502
503 * configure.in (gcc_cv_as): Use $target_alias in directory searchs
504 rather than $target. Heed program_prefix and
505 program_transform_name. Search for gas in cross-compiler case too.
506 "test -x" rather than "test -f".
507 (gcc_cv_ld): Likewise.
508 (gcc_cv_nm): Heed program_prefix and program_transform_name.
509 (gcc_cv_objdump): Likewise.
510 * configure: Regenerate.
511
7ffb4fd2
NB
5122002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
513
514 * Makefile.in (attribs.o): Update.
515 * attribs.c: Include langhooks.h.
516 (decl_attributes): Use langhook.
517 * c-decl.c (insert_default_attributes): Rename.
518 * c-tree.h (c_insert_default_attributes): New.
519 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
520 (LANG_HOOKS_INITIALIZER): Update.
521 * langhooks.h (struct lang_hooks): New hook.
522 * tree.h (insert_default_attributes): Remove.
523objc:
524 * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
525
e4dbaed5
AS
5262002-03-27 Andreas Schwab <schwab@suse.de>
527
528 * config/i386/i386.c (classify_argument): Also check for
529 QUAL_UNION_TYPE.
530
18b467f1
RO
5312002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
532
533 * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
534 any more.
535
d337d653
JH
536Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz>
537
538 * i960.md (ret): Set PC.
539 (nonlocal_goto): Fix expander.
540 * builtins.c (epxand_builin_longjmp): Check that we've emitted
541 some jump or call.
542
218aa620
JH
543Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz>
544
545 * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
546 of libcall regions.
547
e27a4eaf
ZD
548Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
549
550 * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
551 assigning to BLOCK_FOR_INSN directly.
552
8a12f34c
JH
553Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz>
554
555 * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
556
c9d892a8
NB
5572002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
558
559 * c-common.c (c_expand_expr): Fix prototype.
560 * c-common.h (c_expand_expr): Always declare, update.
561 * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
562 * c-objc-common.c (c_objc_common_init): No global hook.
563 * expr.c (expand_expr): Use langhook.
564 * expr.h (enum expand_modifier): Conditionally declare.
565 * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
566 (LANG_HOOKS_INITIALIZER): Update.
567 * langhooks.c (lhd_expand_expr): New.
568 * langhooks.h (struct lang_hooks): New hook.
569 * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
570 (lang_independent_init): Don't default hook.
571objc:
572 * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
573
6dad5a56
RH
5742002-03-27 Richard Henderson <rth@redhat.com>
575
576 PR target/6054
577 * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
578 TARGET_CONST_GP. Simplify conditions.
579
59f96879
RH
5802002-03-27 Richard Henderson <rth@redhat.com>
581
582 * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
583 config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
584 config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
585
f3f1190d
DS
5862002-03-27 Danny Smith <dannysmith@users.sourceforge.net>
587
588 * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
589 TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
590 (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
591 Remove unnecessary masks.
592 (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
593 (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
594 -mwindows, -mdll switches and their negations.
595
31c816cf
NB
5962002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
597
598 * gcc-common.c (lang_mark_false_label_stack): Remove.
599 * ggc.h (lang_mark_false_label_stack): Similarly.
600
aee8f532
VM
6012002-03-26 Vladimir Makarov <vmakarov@redhat.com>
602
603 * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
604
605 * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
606 or __rtems_ is defined.
607
1ef9531b
RH
6082002-03-26 Richard Henderson <rth@redhat.com>
609
610 * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
611 if a non-trivial load was emitted.
612 (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko
613 in high+extra+low case.
614
300d4093
RH
6152002-03-26 Richard Henderson <rth@redhat.com>
616
617 * config.gcc (sparc*-solaris): Use float_format=sparc.
618
b3689904
RH
6192002-03-26 Richard Henderson <rth@redhat.com>
620
621 * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
622 * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
623 * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
624 * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
625 (WINT_TYPE_SIZE): Fix at 32.
626
1eefb6c1
RH
6272002-03-26 Richard Henderson <rth@redhat.com>
628
629 * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
630 until after eh landing pad generation.
631 * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
632 * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
633
361ea006
RH
6342002-03-26 Richard Henderson <rth@redhat.com>
635
636 * expr.h (ADD_PARM_SIZE): One more convert for INC.
637
1de38a88
PE
6382002-03-26 Phil Edwards <pme@gcc.gnu.org>
639
640 * gcc.c (cpp_options): Preserve relative ordering of -pedantic
641 and warning switches.
642 (cc1_options): Likewise.
643
d7e60e95 6442002-03-26 Hans Boehm <Hans_Boehm@hp.com>
361ea006 645
d7e60e95
HB
646 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
647 Restore more of the signal context. Set no_reg_stack_frame.
648 * config/ia64/unwind-ia64.c (unw_state_record):
649 Add no_reg_stack_frame, comments.
650 (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
651 (uw_update_context): Adjust bsp when unwinding from leaf,
652 but not signal frame.
653
7032923b
DE
6542002-03-26 David Edelsohn <edelsohn@gnu.org>
655
656 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
657
8be56275
BW
6582002-03-26 Bob Wilson <bob.wilson@acm.org>
659
660 * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
661
56fbb855
RE
6622002-03-26 Richard Earnshaw <rearnsha@arm.com>
663
664 PR target/5621
665 * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
666 "Add a pool_range attribute", which was lost during the ARM/Thumb
667 merge.
668
3437320b
BW
6692002-03-26 Bob Wilson <bob.wilson@acm.org>
670
671 * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
672 a register into the MAC16 accumulator.
673
173028e5
AC
6742002-03-26 Andrew Cagney <ac131313@redhat.com>
675
676 * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
677 (Warning Options): Document -Wswitch-enum.
678 * toplev.c (W_options): Add -Wswitch-enum. Update comment on
679 -Wswitch.
680 (warn_switch_enum): Define variables.
681 * flags.h (warn_switch_enum): Declare variables.
682 * stmt.c (expand_end_case_type): When warn_switch_enum /
683 -Wswitch-enum, perform switch checks.
684 Fix PR c/5044.
685
e14365a7
RE
6862002-03-26 Richard Earnshaw <rearnsha@arm.com>
687
688 * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
689 (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
690 (reload_muladdsi_compare0_scratch): Delete.
691
46fc709d
LR
6922002-03-26 Loren J. Rittle <ljrittle@acm.org>
693
694 * doc/install.texi (*-*-freebsd*): Update.
695
f36dea3c
RH
6962002-03-26 Richard Henderson <rth@redhat.com>
697
8e5fe23f
RH
698 * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
699 (SUB_PARM_SIZE): Cast DEC to ssizetype.
700
701 * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
702 types from the normal argument frame.
703
f36dea3c
RH
704 * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
705 variable sized objects by reference.
706 (sparc_va_arg): Receive them by reference too.
707
1447dc69
HP
7082002-03-26 Hartmut Penner <hpenner@de.ibm.com>
709
710 * config/s390/s390.c (s390_emit_epilogue): Change epilogue
711 code to not restoring global registers.
712
4f0ade92
NB
7132002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
714
715 * Makefile.in (ggc-common.o): Update.
716 * c-decl.c (lang_mark_tree): Rename c_mark_tree.
717 * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
718 * c-tree.h (c_mark_tree): New.
719 * ggc-common.c: Include langhooks.h.
720 (gcc_mark_trees): Use new langhook.
721 * ggc-callbacks.c: Delete file.
722 * ggc.h (lang_mark_tree): Remove.
723 * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
724 (LANG_HOOKS_INITIALIZER): Update.
725 * langhooks.h (struct lang_hooks): New hook.
726objc:
727 * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
728
caba570b
ZW
7292002-03-25 Zack Weinberg <zack@codesourcery.com>
730
731 * doc/cpp.texi: Exclude entire Top node from printed manual.
732 Move option index after directive index. Insert page breaks
733 before GFDL and concept index. Index environment variables
734 with command line options.
735 * doc/cppenv.texi: Use @vtable for environment variable list.
736 Add paragraph explaining semantics of empty elements in path
737 variables. Exclude a cross-reference to Fishkill from the
738 manpage. Remove an unnecessary cross-reference of the entry
739 right above the referer. Don't use @anchor in text that goes
740 into manpage.
741 * doc/cppopts.texi: Cross-reference the environment variables
742 section, not the specific environment variable, for consistency.
743
6b2e80b7
RH
7442002-03-25 Richard Henderson <rth@redhat.com>
745
746 * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
747 anywhere in the block. Don't refer to insns that have been
748 removed from the chain. Iterate backward through the new insns.
749 Don't refer to edges that have been removed.
750
67e469d7
AM
7512002-03-26 Alan Modra <amodra@bigpond.net.au>
752
753 * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
754 test for overflow of constant.
755
f2356393
RE
7562002-03-25 Richard Earnshaw <rearnsha@arm.com>
757
758 PR target/2623
759 * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
760 (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
761 these patterns on arm_archv4.
762
355426ab
DS
7632002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
764
765 * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
766 int".
767
15e5ad76
ZW
7682002-03-25 Zack Weinberg <zack@codesourcery.com>
769
770 * toplev.c: Don't include setjmp.h. Kill float_handler_set,
771 float_handled, float_handler, float_signal, set_float_handler,
772 and do_float_handler. Set handler for SIGFPE to crash_signal.
773 * toplev.h: Don't prototype do_float_handler.
774
775 * c-lex.c: Fold parse_float into lex_number. Make warning
776 about portability of hex float constants more informative, and
777 don't issue it on top of a syntax error.
778 * fold-const.c: Fold const_binop_1 and fold_convert_1 into
779 their callers.
780 * real.h: Define REAL_VALUE_ABS here...
781 * simplify-rtx.c: ... not here. Fold check_fold_consts,
782 simplify_unary_real, simplify_binary_real, and
783 simplify_binary_is2orm1 into their callers.
784 * tree.c: Fold build_real_from_int_cst_1 into caller.
785
786 * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
787
788 * tsystem.h: Include float.h here...
789 * libgcc2.c: ... not here.
790
56ae9405
NC
7912002-03-25 Nick Clifton <nickc@cambridge.redhat.com>
792
793 Fixes for: PR bootstrap/3591, target/5676
794 * config/mcore/mcore.h (CC1_SPEC): Define only if not already
795 defined. Do not disable exceptions or rtti.
796 * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
797 mcore.h. Disable exceptions and rtti, since they are not
798 supported by EPOC.
799
c88770e9
NB
8002002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
801
802 * c-decl.c (maybe_build_cleanup): Remove.
803 * expr.c (expand_expr): Use langhook.
804 * langhooks-def.h (lhd_return_null_tree,
805 LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
806 (LANGHOOKS_INITIALIZER): Update.
807 * langhooks.c (lhd_return_null_tree): New.
808 * langhooks.h (struct lang_hooks): New hook.
809 * tree-inline.c (initialize_inlined_parameters): Use langhook.
810 * tree.h (maybe_build_cleanup): Remove.
811
2ed1f154
JJ
8122002-03-25 Jakub Jelinek <jakub@redhat.com>
813
814 * regrename.c (build_def_use): Move recog_memoized
815 before extract_insn.
816
6ddae612
JJ
8172002-03-25 Jakub Jelinek <jakub@redhat.com>
818
819 PR target/6043
820 * expr.c (emit_group_store): Handle storing into CONCAT.
821
ea475b23
JJ
8222002-03-25 Jakub Jelinek <jakub@redhat.com>
823
824 * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
825 corresponding MATCH_DUP.
826
e7d482b9
RH
8272002-03-24 Richard Henderson <rth@redhat.com>
828
cd39fc13
RH
829 * unroll.c (unroll_loop): Zero label_map.
830
e7d482b9
RH
831 * gcse.c: Include except.h.
832 * Makefile.in (gcse.o): Update.
833
1bd6476f
RH
8342002-03-24 Richard Henderson <rth@redhat.com>
835
836 * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
837 Do resolve_unique_section before shared data clause.
838
2e6c150a
RH
8392002-03-24 Richard Henderson <rth@redhat.com>
840
841 * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
842
b29afcf8
RH
8432002-03-24 Richard Henderson <rth@redhat.com>
844
15e5ad76 845 * recog.c (peephole2_optimize): Split blocks when EH insns are
b29afcf8
RH
846 generated in the middle of a block. Do global life update if
847 zapped EH edges.
848
05ed1296
RH
8492002-03-24 Richard Henderson <rth@redhat.com>
850
851 * mips.c (mips_function_value): Only promote_mode for non-libcalls.
852
3ddbb8a9
NB
8532002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
854
855 preprocessor/3951
15e5ad76 856 * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
3ddbb8a9
NB
857 * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
858 (init_dependency_output): Don't make no_output decision here.
859
740b77b6
AC
8602002-03-24 Andrew Cagney <ac131313@redhat.com>
861
862 * stmt.c (check_for_full_enumeration_handling): Remove tests of
863 warn_switch. Update description.
864 (expand_end_case_type): Call check_for_full_enumeration_handling
865 when warn_switch.
866
7590cfd0
SC
8672002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
868
869 * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
870 (m68hc11_split_move): Call it to see if the source and destination
871 operands use the same direction auto inc/dec mode, otherwise make the
c61f581f 872 source an offsetable memory operand and generate an add.
7590cfd0 873
2e3d3481
SC
8742002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
875
876 * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
877 register for operand 2.
878 ("*subsi3_zero_extendqi"): Likewise.
879 ("*iorhi3_gen"): Do the operation on the upper bits and then lower
880 bits so that it is compatible with a pop.
881 ("*andhi3_gen"): Likewise.
882 ("xorhi3"): Likewise.
883
2784528c
NB
8842002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
885
886 * cppinit.c (cpp_handle_option): Set warn_endif_labels if
887 -pedantic here...
888 (cpp_post_options): ... not here.
889
aaf93206
NB
8902002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
891 Aldy Hernandez <aldyh@redhat.com>
892
893 Removal of separate preprocessor cpp0.
894
895 * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
896 cpp0, install-common): Update.
897 * c-common.c (flag_preprocess_only): New.
898 (c_common_init): Preprocess for -E.
899 * c-common.h (flag_preprocess_only): New.
900 * c-decl.c (c_decode_option): Handle -E and -std=c++98.
901 * c-objc-common.c (c_init_decl_processing): Exit quickly
902 for NULL return from c_common_init.
903 * cpplib.h (cpp_preprocess_file): New.
904 * cppmain.c (main, general_init, pfile, progname): Remove.
905 (do_preprocessing): Rename cpp_preprocess_file, don't call
906 cpp_finish. Don't close stdout here.
907 (setup_callbacks): Update prototype.
908 * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
909 Update.
910 * tradcpp.c (main): Ignore -quiet.
911objc:
912 * lang-specs.h (default_compilers): Preprocess with cc1obj.
913
c6e6f5c1
RH
9142002-03-24 Richard Henderson <rth@redhat.com>
915
916 PR optimization/5742
917 * machmode.def: Add inner mode field to complex modes.
918 * config/mips/mips.c (mips_function_value): Always define. Add
919 new argument to handle libcalls.
920 * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
921 (FUNCTION_VALUE): Likewise.
922 * config/mips/abi64.h (FUNCTION_VALUE): Remove.
923 * config/mips/mips-protos.h: Update.
924
d88e57d1
RH
9252002-03-23 Richard Henderson <rth@redhat.com>
926
927 * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
928 * config/sparc/sparc-protos.h: Update.
929 * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
930
6dfaf9ba
RH
9312002-03-23 Richard Henderson <rth@redhat.com>
932
933 * config/sparc/gmon-sol2.c (internal_mcount): Assume either
934 _start or _init begins the text segment.
935
0c769cf8
DE
9362002-03-23 David Edelsohn <edelsohn@gnu.org>
937
938 * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT
939 not HOST_WIDEST_INT.
940 (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
941
64e92a26
RE
9422002-03-23 Richard Earnshaw <rearnsha@arm.com>
943
944 PR java/5489
945 * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
946 operand argument to output_return_instruction.
15e5ad76 947 * arm.c (arm_print_operand, case 'd'): If the operand is
64e92a26
RE
948 const_true_rtx then just return.
949 (arm_print_operand, case 'D'): If the operand is const_true_rtx
950 then abort.
951
d6961341
AC
9522002-03-23 Andrew Cagney <ac131313@redhat.com>
953
954 * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
955 (Warning Options): Document -Wswitch-default.
956 * toplev.c (W_options): Add -Wswitch-default. Update comment on
957 -Wswitch.
958 (warn_switch_default): Define variable.
959 (warn_switch): Update comment.
960 * flags.h (warn_switch_default): Declare variable.
961 (warn_switch): Update comment.
962 * stmt.c (expand_end_case): Check for and, when
963 warn_switch_no_default, warn of a missing default case.
15e5ad76 964
d4c5ac1f
AM
9652002-03-23 Alan Modra <amodra@bigpond.net.au>
966
bbaa9790
AM
967 * real.h (N): Special case 128 bit doubles.
968
d4c5ac1f
AM
969 * combine.c (simplify_comparison): When widening modes, ignore
970 sign extension on CONST_INTs.
971
84bf8c2c
BW
9722002-03-22 Bob Wilson <bob.wilson@acm.org>
973
974 * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
975 passed to adjust_address. Fix comment formatting.
976
977
b216cd4a
ZW
9782002-03-22 Zack Weinberg <zack@codesourcery.com>
979
980 * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
981 Always make REAL_VALUE_TYPE a struct containing an array of
982 HOST_WIDE_INT, not a double. Tidy up the code deciding how
983 big it is. Don't declare or use union real_extract.
984
985 * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
986 decode_rtx_const, output_constant_pool), config/a29k/a29k.c
987 (print_operand), config/arm/arm.c (output_move_double),
988 config/arm/arm.md (consttable_4, consttable_8),
989 config/romp/romp.c (output_fpops), config/s390/s390.h
990 (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
991 (xtensa_output_literal): Don't use union real_extract.
992
993 * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
994 (sfmode_constant_to_ulong), config/ns32k/merlin.h
995 (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
996 config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
997 (PRINT_OPERAND): Don't use local version of union
998 real_extract.
999
1000 * config/convex/convex.c (check_float_value), config/vax/vax.c
1001 (vax_float_literal), config/m88k/m88k.md (divdf3),
1002 config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
1003 config/pdp11/pdp11.c (output_move_quad): Don't do host
1004 arithmetic on target floating point quantities.
1005
1006 * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
1007 (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
1008
1009 * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
1010 Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
1011
1012 * real.c (earith): Test INFINITY rather than REAL_INFINITY;
1013 NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
1014 INFINITY.
1015 * print-rtl.c (print_rtx): Disable code which needs
1016 floating-point emulator.
1017 * libgcc2.c: Include float.h and use DBL_MANT_DIG,
1018 FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
1019 depending on HOST_FLOAT_FORMAT to be defined properly.
1020
1021 * config/1750a/1750a.c (get_double, float_label): Delete.
1022 (print_operand): Delete huge commented-out chunk. Use
1023 REAL_VALUE_TO_DECIMAL.
1024 * config/1750a/1750a-protos.h: Delete prototypes of deleted
1025 functions.
1026 * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
1027 IEEE_FLOAT_FORMAT.
1028 * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
1029 Use REAL_VALUE_TO_DECIMAL as ELF version does.
1030 * config/m88k/m88k.c (real_power_of_2_operand,
1031 legitimize_operand): Take the REAL_VALUE_TYPE and/or union
1032 real_extract out of the union; run the input through
1033 REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
1034 from that into the union.
1035 * config/pdp11/pdp11.c (output_move_double): Rearrange
1036 parentheses to make automatic indenter happy.
1037
1038 * doc/tm.texi (Cross-compilation): Rename node to "Floating
1039 Point" and rewrite to describe current situation. Also adjust
1040 documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
1041 match code.
1042 * doc/rtl.texi: Adjust cross reference.
1043
a8cacfd2
BW
10442002-03-22 Bob Wilson <bob.wilson@acm.org>
1045
1046 * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
1047 (xtensa_valid_move, xtensa_preferred_reload_class): Define.
1048 * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
1049 (xtensa_valid_move, xtensa_preferred_reload_class): Define to
1050 prevent use of sp as a reload register.
1051 (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
1052 non_acc_reg_operand.
1053 * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
1054 (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
1055 * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
1056 movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
1057
d4e6133f
NB
10582002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
1059
b216cd4a
ZW
1060 * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
1061 * cpplex.c (unterminated): Delete.
1062 (parse_string): No string literal may extend over multiple
1063 lines. Suppress the error when preprocessing assembly.
d4e6133f
NB
1064 * cppmain.c (scan_translation_unit): Strings are single-line.
1065
b216cd4a 1066 * doc/cpp.texi: Update to match.
d4e6133f 1067
65e6c005
JJ
10682002-03-22 Jakub Jelinek <jakub@redhat.com>
1069
1070 PR optimization/5854
1071 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
1072 Shut up warnings.
1073 (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
1074 (EXTRA_CONSTRAINT): Use S for non-push memory operand.
1075 * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
1076 const0 if scratch register was not allocated.
1077 (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
1078 m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
1079 with GEN_INT (...).
1080 (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
1081 * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
1082 with GEN_INT (...) everywhere. Remove constraints in define_split
1083 patterns.
1084 (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
1085 require scratch register for setting 0 into regs/non-pushable memory.
1086
7f48c9e1
AO
10872002-03-22 Alexandre Oliva <aoliva@redhat.com>
1088
1089 * config/mips/mips.h (MASK_RETURN_ADDR): Define.
1090 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
1091
909de5da
PE
10922002-03-22 Phil Edwards <pme@gcc.gnu.org>
1093
1094 * cpplib.h (struct cpp_options): New member, warn_endif_labels.
1095 * cppinit.c (cpp_create_reader): On by default.
1096 (cpp_handle_option): Handle -W[no-]endif-labels.
1097 (cpp_post_options): Also enable if -pedantic.
1098 * cpplib.c (do_else): Use it.
1099 (do_endif): Likewise.
1100 * doc/cppopts.texi: Document new option.
1101 * doc/invoke.texi: Document new option.
1102
d8bf17f9
LB
11032002-03-22 Lars Brinkhoff <lars@nocrew.org>
1104
1105 * config/i386/i386.c, config/i386/i386.md: Change all occurences
1106 of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
1107
70e0ccd0
AO
11082002-03-22 Alexandre Oliva <aoliva@redhat.com>
1109
1110 * flow.c (calculate_global_regs_live): Clear aux fields of
1111 ENTRY and EXIT.
1112
68882f0f
JJ
11132002-03-22 Jakub Jelinek <jakub@redhat.com>
1114
1115 * config/v850/v850.c (v850_reorg): Only call alter_subreg on
1116 REG or MEM subregs, pass rtx * instead of rtx to it.
1117 * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
1118 rtx * instead of rtx to alter_subreg.
1119 * config/m32r/m32r.c (gen_split_move_double): Likewise.
1120 * config/pj/pj.c (pj_output_rval): Likewise.
1121
648fe28b
RH
11222002-03-22 Richard Henderson <rth@redhat.com>
1123
1124 PR target/3177
1125 * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
1126 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
1127 * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
1128 (ia64_expand_prologue): Look at int_regs, not words, for number
1129 of incomming int regs.
1130
e8dcd824
AM
11312002-03-22 Andrew MacLeod <amacleod@redhat.com>
1132
1133 * expr.c (expand_expr): A RESULT_DECL is part of a call.
1134
96327cdc
JH
1135Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz>
1136
1137 * toplev.c (flag_loop_optimize, flag_crossjumping):
1138 New static variables.
1139 (rest_of_compilation): Conditionalize crossjumping and
1140 loop optimizer.
1141 (parse_options_and_default_flags): Default loop_optimize and
1142 crossjumping.
1143 (lang_independent_options): Add -fcrossjumping and -floop-optimize
1144 * invoke.texi (crossjumping, loop-optimize): Document.
1145
bc185257
RS
11462002-03-22 Richard Sandiford <rsandifo@redhat.com>
1147
1148 * real.c (eiisneg): Move outside #ifdef NANS.
1149
0a2ed1f1
JH
1150Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz>
1151
1152 * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
1153 frequencies match; avoid match on different loop depths.
1154 (try_crossjump_to_bb): Kill tests that no longer brings time
1155 savings.
1156 * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
1157 updating code.
1158 (split_edge): Likewise.
1159
1160 * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
1161 variable.
1162
1163 * Makefile.in (cfgrtl): Add insn-config.h depenendency.
1164 * cfgrtl.c: Include insn-config.h
1165 (split_block) Dirtify block in presence of conditional execution
1166
4d72536e
RS
11672002-03-22 Richard Sandiford <rsandifo@redhat.com>
1168
1169 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
1170 * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
1171 (function_arg): Constify CUMULATIVE_ARGS.
1172 (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
1173 * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
1174 (UNITS_PER_DOUBLE): New macro.
1175 (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs.
1176 (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and
1177 last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs,
1178 fp_regs and stack_words.
1179 (EABI_FLOAT_VARARGS_P): New macro.
1180 * config/mips/mips.c (struct mips_arg_info): New.
1181 (mips_arg_info): New function.
1182 (function_arg_advance): Use it. Add adjustment instructions here
1183 rather than in function_arg.
1184 (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check
1185 for VOIDmode at the beginning of the function.
1186 (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info.
1187 (function_arg_pass_by_reference): Likewise.
1188 (mips_setup_incoming_varags): New, largely based on old abi64.h code.
1189 (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
1190 (mips_va_start): Likewise. Use the new stack_words field of
1191 CUMULATIVE_ARGS to set up overflow area. Reformat.
1192 (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of
1193 doubles and other types, aligning the overflow pointer for non-doubles
1194 too. Remove some code duplication. Replace hard-coded constants.
1195
e6f884cd
RS
11962002-03-22 Richard Sandiford <rsandifo@redhat.com>
1197
1198 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
1199 (CLASS_UNITS): Undefine.
1200 (CLASS_MAX_NREGS): Use FP_INC.
1201 * config/mips/mips.c (compute_frame_size): Likewise.
1202 (override_options): Use FP_INC and UNITS_PER_FPVALUE.
1203
10cf9bde
NB
12042002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
1205
1206 * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
1207 prototype, and handle lexing numbers and identifiers.
1208 (parse_identifier): Update to new form of parse_slow.
1209 (parse_number): Fast path only, use parse_slow otherwise.
1210 (_cpp_lex_direct): Update calls to parse_number.
1211
fbc2782e
DD
12122002-03-21 DJ Delorie <dj@redhat.com>
1213
1214 * bb-reorder.c (make_reorder_chain_1): Protect against
1215 when redundant edges are omitted.
1216 * predict.c (dump_prediction): Likewise.
1217
fba39eaf
RH
12182002-03-21 Richard Henderson <rth@redhat.com>
1219
1220 PR target/5996
1221 * fixinc/inclhack.def (solaris_stdio_tag): New.
1222 * fixinc/fixincl.x: Regenerate.
1223
eba80994
EB
12242002-03-21 Eric Botcazou <ebotcazou@multimania.com>
1225
1226 PR c/5597
1227 * c-typeck.c (process_init_element): Flag non-static
1228 initialization of a flexible array member as illegal.
1229
2a78758b
AM
12302002-03-22 Alan Modra <amodra@bigpond.net.au>
1231
1232 * config/rs6000/t-linux64: New.
1233 * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
1234 t-ppccomm. Use t-rs6000 and t-linux64.
1235 (powerpc64-*-gnu* <tmake_file>): Likewise.
bac015e7
AM
1236 * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
1237 * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
1238 * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
2a78758b 1239
2cb921f4
AH
12402002-03-21 Aldy Hernandez <aldyh@redhat.com>
1241
eba80994
EB
1242 * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
1243 flag_really_no_inline instead of optimize == 0.
2cb921f4 1244
eba80994 1245 * c-objc-common.c (c_cannot_inline_tree_fn): Same.
2cb921f4 1246
eba80994 1247 * cp/tree.c (cp_cannot_inline_tree_fn): Same.
2cb921f4 1248
eba80994 1249 * flags.h (flag_really_no_inline): New.
2cb921f4 1250
eba80994
EB
1251 * c-common.c (c_common_post_options): Initialzie
1252 flag_really_no_inline.
2cb921f4 1253
eba80994 1254 * toplev.c (flag_really_no_inline): New.
2cb921f4 1255
239b8b9d
JJ
12562002-03-21 Jakub Jelinek <jakub@redhat.com>
1257
1258 * config/avr/avr.md (length): Fix length computation for
1259 conditional branches.
1260
43577e6b
NB
12612002-03-21 Neil Booth <neil@daikokuya.demon.co.uk>
1262
1263 * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
1264 sdbout.o, profile.o): Update.
1265 * c-common.c (c_common_nodes_and_builtins): Use pushdecl
1266 langhook.
1267 * c-common.h (gettags): Move here from tree.h.
1268 * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
1269 insert_block, getdecls, kept_level_p, global_bindings_p): New.
1270 * dbxout.c (dbxout_init): Use getdecls langhook.
1271 * expr.c (expand_expr): Use insert_block langhook.
1272 * fold-const.c: Include langhooks.h.
1273 (fold_range_test, fold_binary_op_with_conditional_arg,
1274 fold): Use global_bindings_p langhook.
1275 * integrate.c (expand_inline_function): Use insert_block langhook.
1276 * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
1277 LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
1278 LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
1279 LANG_HOOKS_GETDECLS): New.
1280 (LANG_HOOKS_INITIALIZER): Update.
1281 * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
1282 langhook.
1283 * langhooks.h (struct lang_hooks_for_decls): New.
1284 (struct lang_hooks): Update.
1285 * profile.c: Include langhooks.h.
1286 (output_func_start_profiler): Use new langhooks.
1287 * sdbout.c: Include langhooks.h.
1288 (sdbout_init, sdbout_finish): Use getdecls langhook.
1289 * stmt.c: Include langhooks.h.
1290 (expand_fixup, fixup_gotos): Use new langhooks.
1291 * stor-layout.c: Include langhooks.h.
1292 (variable_size): Use global_bindings_p langhook.
1293 * toplev.c (compile_file): Use getdecls langhook.
1294 * tree-inline.c (remap_block): Use insert_block langhook.
1295 * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
1296 insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
1297
5b19b10c
RH
12982002-03-21 Richard Henderson <rth@redhat.com>
1299
1300 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
1301 constants in .data when -fpic.
1302
e05af335
GP
13032002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1304
1305 * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
1306 where appropriate.
1307
60ffc997
TT
13082002-03-21 Tom Tromey <tromey@redhat.com>
1309
1310 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
1311
75897075
RK
1312Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1313
a73afd69 1314 * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
46399021 1315
75897075
RK
1316 * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
1317
312687cf
EB
13182002-03-21 Eric Botcazou <ebotcazou@multimania.com>
1319 Richard Henderson <rth@redhat.com>
1320
1321 PR c/5354
1322 * c-common.c (c_expand_expr): Preserve result of a statement
1323 expression if needed.
1324
f0e1f482
JJ
13252002-03-21 Jakub Jelinek <jakub@redhat.com>
1326
1327 PR bootstrap/4195
1328 * genrecog.c (maybe_both_true_mode): Remove.
1329 (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
1330 * machmode.def (Pmode): Likewise.
1331
c14b9960
JW
1332Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com)
1333
1334 * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
1335 (nonlocal_mentioned_p_1): New function.
1336 (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
1337 (nonlocal_set_p, nonlocal_set_p_1): Likewise.
1338 (mark_constant_function): Recognize pure functions.
1339 * rtl.h (global_reg_mentioned_p): New prototype.
1340 * rtlanal.c (global_reg_mentioned_p,
1341 global_reg_mentioned_p_1): New function.
1342
aaa4d130
RO
13432002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1344
1345 * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
1346 UNIX assert.h.
1347 * fixinc/fixincl.x: Regenerate.
1348
e5c4bd1b
JM
13492002-03-20 Jason Merrill <jason@redhat.com>
1350
1351 * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
1352
852b81bb
MM
13532002-03-20 Michael Meissner <meissner@redhat.com>
1354
1355 * doc/invoke.texi (Optimize Options): Document that -O2 sets
1356 -fstrict-aliasing.
1357
86d8c251
BW
13582002-03-20 Bob Wilson <bob.wilson@acm.org>
1359
1360 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
1361 ".literal_position" directive before the constant pool.
1362
0a39c350
GP
13632002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1364
1365 * doc/contrib.texi (Contributors): Update Geoffrey Keating.
1366 Add Craig Rodrigues.
1367 Add Brad Lucier to testers.
1368
71a83373
JJ
13692002-03-20 Jakub Jelinek <jakub@redhat.com>
1370
1371 PR target/4792
1372 * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
1373 to if_then_else.
1374 (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
1375 * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
1376 instead of insn_extract.
1377
a29b099d
JJ
13782002-03-20 Jakub Jelinek <jakub@redhat.com>
1379
1380 PR bootstrap/4192
71a83373 1381 * config/fr30/fr30.md (jump): Remove clobber of fixed register.
a29b099d
JJ
1382
1383 * genemit.c (output_added_clobbers_hard_reg_p): Only output return
1384 stmt if some case has been output.
1385
048b1c95
JJ
13862002-03-20 Jakub Jelinek <jakub@redhat.com>
1387
1388 PR c/5972
1389 * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
1390 movsfcc_1, movdfcc_1): Add %O2.
1391 * config/i386/i386.c (print_operand): Handle %ON.
1392 Print . before float condition codes in Sun as cmov syntax.
1393 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
1394 * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
1395 no longer true.
1396
f4864588
PB
13972002-03-20 Philip Blundell <pb@nexus.co.uk>
1398
1399 * config/arm/arm.c (arm_output_epilogue): Don't generate separate
1400 return instruction if PC was popped.
1401
3a307de4
BW
14022002-03-20 Bob Wilson <bob.wilson@acm.org>
1403
1404 * config/xtensa/xtensa.md: Remove unused type attributes.
1405 (adddi_carry, subddi_carry): Change type attribute to "multi".
1406
048b1c95 14072002-03-19 Dale Johannesen <dalej@apple.com>
ed7d44bc
DJ
1408
1409 PR optimization/5999, middle-end/5731
1410 * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
1411 multiplications by reciprocals.
1412
7afff7cf
NB
14132002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
1414
1415 * Makefile.in: Update.
1416 * c-common.c: Include langhooks.h.
1417 (inline_forbidden_p): Use new hook.
1418 * diagnostic.c: Include langhooks.h.
1419 (format_with_decl, announce_function,
1420 default_print_error_function): Use new hook.
1421 * dwarf2out.c (dwarf2_name): Use new hook.
1422 * function.c: Include langhooks.h.
1423 (init_function_start): Use new hook.
1424 * langhooks-def.h (lhd_decl_printable_name): New.
1425 (LANGHOOKS_DECL_PRINTABLE_NAME): New.
1426 (LANGHOOKS_INITIALIZER): Update.
1427 * langhooks.c (lhd_decl_printable_name): New.
1428 * langhooks.h (struct lang_hooks): New hook.
1429 * toplev.c (decl_name, decl_printable_name): Remove.
1430 (open_dump_file): Use new hook.
1431 (process_options): Remove old hook.
1432 * tree.h (decl_printable_name): Remove.
1433objc:
1434 * objc-act.c (objc_init): Remove old hook.
1435 (objc_printable_name): Export.
1436 * objc-act.h (objc_printable_name): New.
1437 * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
1438
f78ce0b7
JB
14392002-03-19 Jim Blandy <jimb@redhat.com>
1440
1441 * c-lex.c (cb_file_change): Pass the #inclusion's line number to
1442 the start_source_file debug hook, not the current line number.
1443
15b5aef3
RH
14442002-03-19 Richard Henderson <rth@redhat.com>
1445
1446 * flow.c (EH_USES): Provide default.
1447 (calculate_global_regs_live): Use it for EH edges and noreturn calls.
1448 * doc/tm.texi (EH_USES): New.
1449
1450 * config/ia64/ia64.c (ia64_eh_uses): New.
1451 * config/ia64/ia64-protos.h: Update.
1452 * config/ia64/ia64.h (EH_USES): New.
1453
02a7a3fd
RH
14542002-03-19 Richard Henderson <rth@redhat.com>
1455
1456 * varasm.c (output_constant_def): Fix stupid typo.
1457
93f82d60
RH
14582002-03-19 Richard Henderson <rth@redhat.com>
1459
2842be05 1460 PR 5879
93f82d60
RH
1461 * except.c (current_function_has_exception_handlers): New.
1462 * except.h: Declare it.
1463 * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
1464 Combine tests that disable all sibcalls for the function.
1465
ed4fbfa0
OH
14662002-03-19 Olivier Hainque <hainque@act-europe.fr>
1467
1468 * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
1469 for INTEGER_CST.
1470
ebf0e888
RH
14712002-03-19 Richard Henderson <rth@redhat.com>
1472
1e82682b 1473 PR 5977, 5991
ebf0e888
RH
1474 * config/ia64/ia64.c: Revert 2002-03-01 patch.
1475 * config/ia64/ia64.h (INIT_EXPANDERS): New.
1476
e37b38d7
JB
14772002-03-19 Jim Blandy <jimb@redhat.com>
1478
1479 * cppmacro.c (cpp_macro_definition): Emit a space after the macro
1480 name, even if the replacement list contains no tokens, as required
1481 by Dwarf.
1482
2a4ea326
JM
14832002-03-19 Jason Merrill <jason@redhat.com>
1484
f9d09ae5
JM
1485 * varasm.c (globalize_decl): Get the name from the RTL, not
1486 DECL_ASSEMBLER_NAME.
1487
2a4ea326
JM
1488 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
1489
99b96edb
BW
14902002-03-19 Bob Wilson <bob.wilson@acm.org>
1491
1492 * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
1493 subdi_carry): Define.
1494
3774b567
DE
14952002-03-19 David Edelsohn <edelsohn@gnu.org>
1496
1497 * config/rs6000/rs6000.c (rs6000_override_options): Only warn
1498 about -fpic/-fPIC if extra_warnings set.
1499
21ef78aa
DE
15002002-03-19 David Edelsohn <edelsohn@gnu.org>
1501
1502 * expr.c (expand_expr): Sign-extend CONST_INT generated from
1503 TREE_STRING_POINTER.
0c2fdcdf 1504 * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
21ef78aa 1505
91d4b3fd
RK
1506Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1507
1508 * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
1509 in favor of SP if FRAME_POINTER_REQUIRED is false.
1510
2496c7bd
LB
15112002-03-19 Lars Brinkhoff <lars@nocrew.org>
1512
1513 * emit-rtl.c (gen_int_mode): New function.
1514 * rtl.h: Prototype for it.
1515 * combine.c (make_extraction, simplify_comparison), expmed.c
1516 (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
1517 (convert_modes, store_field), optabs.c (expand_fix),
1518 simplify-rtx.c (neg_const_int, simplify_unary_real),
1519
1520 * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
1521 Use it instead of GEN_INT (trunc_int_for_mode (...)).
1522
f735a153
JJ
15232002-03-19 Jakub Jelinek <jakub@redhat.com>
1524
1525 PR c/5656
1526 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
1527 convert_parm_for_inlining.
1528 * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
1529 Define.
1530 * langhooks-def.h: Likewise.
1531 * objc/objc-lang.c: Likewise.
1532 * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
1533 function.
1534 * tree-inline.c (initialize_inlined_parameters):
1535 Call convert_parm_for_inlining lang hook if needed.
1536 * c-typeck.c (c_convert_parm_for_inlining): New function.
1537 * c-tree.h (c_convert_parm_for_inlining): Add prototype.
1538
1929c971
MM
15392002-03-18 Mark Mitchell <mark@codesourcery.com>
1540
b216cd4a 1541 * calls.c (precompute_arguments): Do not assume that temporaries
1929c971
MM
1542 can be destroyed after expanding the argument.
1543 (expand_call): Likewise.
1544
c79ca0ac
EC
15452002-03-15 Eric Christopher <echristo@redhat.com>
1546
1547 * config/mips/mips.md (movdf_internal2): Add two new move constraints.
1548 Fix register preference on last change.
1549 * config/mips/mips.c (mips_return_in_memory): New function.
1550 * config/mips/mips.h (RETURN_IN_MEMORY): Use.
1551 * config/mips/mips-protos.h: Declare.
1552 * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
1553 * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
1554
07e2e444
AO
15552002-03-18 Alexandre Oliva <aoliva@redhat.com>
1556
1bfbbbcf
AO
1557 * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
1558 a register too.
1559 (anddi3, iorsi3): Likewise.
1560
c066429e
AO
1561 * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
1562 use %gprel for symbols that are going to be placed in linkonce
1563 sections.
1564
07e2e444
AO
1565 * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
1566 RETURN_ADDRESS_POINTER_REGNUM to $ra.
1567 (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
1568 not needed. Disregard leaf_function_p().
1569 (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
1570 mips16 frame pointer.
1571 * config/mips/mips.md (store ra): Only to small SP offsets.
1572 2001-08-22 Graham Stott <grahams@redhat.com>
1573 * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
1574 return a REG rtx for the return address register.
1575
eb8e00ea
BW
15762002-03-18 Bob Wilson <bob.wilson@acm.org>
1577
1578 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
1579 constant-pool addresses as "mode-dependent".
1580 (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
1581
cbb92744
JJ
15822002-03-18 Jakub Jelinek <jakub@redhat.com>
1583
1584 PR target/5740
1585 * expr.c (emit_group_load): Use extract_bit_field if
1586 needed for CONCAT arguments.
1587
657d9449
RE
15882002-03-18 Richard Earnshaw <rearnsha@arm.com>
1589
91f3a802 1590 PR target/4863
657d9449
RE
1591 * arm.md (tablejump): Make this a define_expand. For PIC add the
1592 offset to the base of the table.
1593 (thumb_tablejump): Matcher for Thumb tablejump insn.
1594 * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
1595 as the difference of two labels.
1596 * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1597 * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
1598 tables in the code.
1599 * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
1600 * arm.c (get_jump_table_size): If the table is not in the text
1601 section, return zero.
c79ca0ac 1602
5d5603e2
BS
16032002-03-18 Bernd Schmidt <bernds@redhat.com>
1604
1605 * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
1606 of gen_rtx_SUBREG.
1607 (arm_reload_out_hi): Use gen_lowpart instead of
1608 gen_rtx_SUBREG to access QImode components.
1609 * config/arm/arm.md: Disable zero_extend split for QImode
1610 subregs in BIG_ENDIAN mode.
1611 (storehi_bigend): Match use of least significant byte.
1612 (storeinthi): Remove extraneous SUBREG.
66c17b64 1613 Add missing construction of operands[2].
5d5603e2
BS
1614 (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
1615 (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
1616 Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
1617
df15fbc7
AH
16182002-03-18 Aldy Hernandez <aldyh@redhat.com>
1619
2496c7bd
LB
1620 * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
1621 any_operand.
df15fbc7 1622
b83b7fa3
RH
16232002-03-17 Richard Henderson <rth@redhat.com>
1624
1625 * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
1626 explicitly.
1627
6f7c00fe
HPN
16282002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
1629
1630 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
1631 (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
1632
155038f2
KG
16332002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1634
720d42fa
KG
1635 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
1636
155038f2
KG
1637 * predict.c (estimate_bb_frequencies): Delete unused variables.
1638
e6542f4e
RH
16392002-03-17 Richard Henderson <rth@redhat.com>
1640
1641 * config/ia64/ia64.c (ia64_attribute_table): Move before
1642 targetm definition. Make static.
1643
52dabb6c
NB
16442002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
1645
1646 * c-common.h (yyparse, c_common_parse_file): New.
1647 * c-lang.c: Include c-common.h.
1648 (LANG_HOOKS_PARSE_FILE): Redefine.
1649 * c-lex.c: Include c-common.h.
1650 (yyparse): Rename c_common_parse_file. Call yyparse.
1651 * c-parse.in (yyparse): Remove macro.
1652 * c-tree.h (yyparse_1): Remove.
1653 * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
1654 (LANG_HOOKS_INITIALIZER): Update.
1655 * langhooks.h (struct lang_hoooks): New hook parse_file.
1656 * toplev.c (compile_file): Use parse_file hook.
1657 * tree.h (yyparse): Remove.
e6542f4e 1658 * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
52dabb6c 1659
b5ffe606
HPN
16602002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
1661
ba82f58b
HPN
1662 * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
1663 float_truncate, not fix.
1664 ("*truncdfsf2_real"): Ditto.
1665 ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
1666
b5ffe606
HPN
1667 * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
1668
c8d1b2b7
AO
16692002-03-16 Alexandre Oliva <aoliva@redhat.com>
1670
cfb773f9
AO
1671 * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
1672 (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses
1673 where appropriate. Make the second reference to
1674 leaf_function_p a function call, as intended. Reindented.
1675
4dffef52
AO
1676 * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
1677 * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
1678
4f5bd6d7
AO
1679 * config/mips/mips.md (addsi3, adddi3): Use scratch register to
1680 add register to non-constant into sp.
1681
c8d1b2b7
AO
1682 * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
1683 * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
1684 (mips16_gp_pseudo_rtx): Lose.
1685 (INIT_EXPANDERS): Deleted.
1686 * config/mips/mips.c (mips_init_machine_status): New.
1687 (mips_free_machine_status): New.
1688 (mips_mark_machine_status): New.
1689 (override_options): Set them.
1690 (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
1691 (struct machine_function): ... new. Replaced all references.
1692 (mips_add_gc_roots): Don't mark them.
1693 (embedded_pic_fnaddr_reg): New, extracted from...
1694 (embedded_pic_offset): ... here.
1695 * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
1696 (movsi): Likewise.
1697
b3124fac
NB
16982002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
1699
1700 * cppinit.c: Revert -MD removal.
1701
121449b6
SC
17022002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1703
1704 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
1705 soft registers by default for 68HC12.
1706 (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
1707 when compiling with -fomit-frame-pointer.
1708 (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
1709 (expand_epilogue): Likewise.
1710 (m68hc11_gen_rotate): Use exg when rotating by 8.
1711
840e2ff1
SC
17122002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1713
1714 * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
1715 * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
1716 (splits): Remove unused add splits.
1717 ("*addhi3_68hc12"): Tune constraints.
1718 ("addhi_sp"): Try to use X instead of Y in all cases and if the
1719 constant fits in 8-bits and D is dead use abx/aby instructions.
1720 ("*addhi3"): Remove extern declaration of ix_reg.
1721 ("*subsi3"): Optimize and provide new split.
1722 ("subhi3"): Cleanup.
1723 ("*subhi3_sp"): Avoid saving X if we know it is dead.
1724 (arith splits): For 68hc12 save the address register on the stack
1725 and do the arithmetic operation with a pop.
1726
3c9a5efe
SC
17272002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1728
1729 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
1730 allocating QImode in address registers.
1731 ("*movqi_m68hc11"): Likewise.
1732
e41f3392
JH
1733Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz>
1734
1735 * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
1736
576786b0
NB
17372002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
1738
1739 * cppinit.c (print_help): Display -MD and -MMD.
1740 Don't display usage string. Update assertion syntax and
1741 typo.
1742 (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
1743 (cpp_handle_option): Update.
1744
1ac458d4
CD
17452002-03-15 Chris Demetriou <cgd@broadcom.com>
1746
1747 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
1748 MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
1749 and define it so that regardless of target CPU size,
1750 __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
1751 of "int" rather than "long."
1752
1fcd592b
RH
17532002-03-15 Richard Henderson <rth@redhat.com>
1754
1755 * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
1756 size as a tree.
1757
a0df6910
SC
17582002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1759
1760 * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
1761 ("tstqi" split): Avoid using memory for tstqi on address register.
1762 (splits): Remove constraints.
1763 ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
1764 ("cmpdf", "cmpsf"): Remove since not used.
1765 ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
1766 (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
1767
015a2e59
SC
17682002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1769
1770 * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
1771 ("neghi2"): Tighten constraints.
1772 ("one_cmplsi2"): Optimize and simplify split.
1773 * config/m68hc11/larith.asm (__negsi2): Likewise for library.
1774
cd28557c
SC
17752002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1776
1777 * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
1778 and split of AND operation to clear the upper bits.
1779 ("*logicalsi3_zextqi"): Likewise.
1780 ("*logicallhi3_zexthi_ashift8"): Likewise.
1781 ("*logicalsi3_silshr16"): Likewise.
1782 ("logicalsi3_silshl16"): Likewise.
1783 ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
1784
932657df
SC
17852002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1786
1787 * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
1788 (m68hc11_indirect_p): New function.
1789 (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
1790 (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
1791 TARGET_M6812.
1792 (asm_print_register): Likewise.
1793 * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
1794 (m68hc11_indirect_p): Declare.
1795 * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
1796 (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
1797 (TARGET_SWITCHES): New option -mrelax.
1798 * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
1799 destination.
1800 ("iorsi3", "xorsi3"): Likewise.
1801 ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
1802 ("*andhi3_mem"): New to handle destination in memory with bclr
1803 and a scratch register.
1804 ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
1805 ("*andhi3_const"): New when operand2 is constant.
1806 ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
1807 ("*andhi3_gen"): Cleanup of the old "andhi3".
1808 ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
1809 ("xorqi3"): Update constraints.
1810
fdffea1a
SC
18112002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1812
1813 * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
1814 for reg_equiv_memory_loc when the operand is a register that does
1815 not get a hard register (stack location).
1816 (tst_operand): After reload, accept all memory operand.
1817 (symbolic_memory_operand): Fix detection of symbolic references.
1818 * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
1819 accept symbols and any constant.
1820
6272bc68
SC
18212002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1822
1823 * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
1824 note on the insn that sets the soft frame register.
1825 (must_parenthesize): ix and iy are also reserved names.
1826 (print_operand_address): One more place where parenthesis are required
1827 to avoid confusion with register names.
1828 (m68hc11_gen_movhi): Allow push of stack pointer.
1829 (m68hc11_check_z_replacement): Fix handling of parallel with a
1830 clobber.
1831 (m68hc11_z_replacement): Must update the REG_INC notes to tell what
1832 the replacement register is.
1833 * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
1834 and D8_REGS classes.
1835 (MODES_TIEABLE_P): All modes are tieable except QImode.
1836
1d2d9def
SC
18372002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1838
1839 * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
1840 (___subdi3): Likewise.
1841 (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
1842 (__map_data_section): Optimize 68hc11 case.
1843
a0ccf503
SC
18442002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1845
1846 * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
1847 than a shift to avoid adding a register with itself.
1848 (m68hc11_memory_move_cost): Take into account NO_REGS.
1849 (m68hc11_register_move_cost): Update and use memory move cost
1850 for soft registers.
1851 (m68hc11_address_cost): Make cost of valid offset not 0 so that
1852 it gives more opportunities to cse to optimize.
1853 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
1854 * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
1855
6e4ae815
MM
18562002-03-15 Mark Mitchell <mark@codesourcery.com>
1857
1858 * c-common.c (statement_code_p): Handle CLEANUP_STMT.
1859 * c-common.def (CLEANUP_STMT): New tree node.
1860 * c-common.h (CLEANUP_DECL): New macro.
1861 (CLEANUP_EXPR): Likewise.
1862 * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
1863 * expr.c (expand_expr): Tidy.
1864 * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
1865 * tree-inline.c (initialize_inlined_parameters): Clean up
1866 new local variables.
1867
a42519be
JJ
18682002-03-15 Jakub Jelinek <jakub@redhat.com>
1869
1870 PR bootstrap/4128
1871 * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
1872 before movrXX only, use reg_overlap_mentioned_p.
1873 Only special case NE if just one insn can be generated.
1874
15409448
JM
18752002-03-15 Jason Merrill <jason@redhat.com>
1876
1877 * varasm.c (assemble_variable): Call resolve_unique_section before
1878 checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL
1879 of error_mark_node.
1880
3a4edb44
RE
18812002-03-15 Richard Earnshaw <rearnsha@arm.com>
1882
1883 PR target/5170
1884 * arm.md (split pattern for thumb shiftable immediates): Add comment
1885 explaining non-obvious test.
1886
32defa36
RE
18872002-03-15 Richard Earnshaw <rearnsha@arm.com>
1888
1889 PR target/5712
1890 * arm.md (movaddr, movaddr_insn): Delete.
1891
5cc90635
JM
18922002-03-15 Jason Merrill <jason@redhat.com>
1893
1894 * toplev.c (wrapup_global_declarations): Clarify variable handling.
1895 -fkeep-static-consts doesn't apply to comdats.
1896
ecb0eece
RH
18972002-03-14 Richard Henderson <rth@redhat.com>
1898
1899 * c-decl.c: Include c-pragma.h.
1900 (start_decl, start_function): Invoke maybe_apply_pragma_weak.
1901 (finish_function): Tidy.
1902 * c-pragma.c: Include c-common.h.
1903 (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
1904 (handle_pragma_weak): Use them.
1905 (init_pragma): Register pending_weaks.
1906 * c-pragma.h (maybe_apply_pragma_weak): Declare.
1907 * print-tree.c (print_node): Print DECL_WEAK.
1908 * varasm.c (mark_weak_decls): Remove.
1909 (remove_from_pending_weak_list): Remove.
1910 (add_weak): Remove.
1911 (asm_emit_uninitialised): Call globalize_decl for weak commons.
1912 (weak_decls): Make a tree_list.
1913 (declare_weak): Cons weak_decls directly.
1914 (globalize_decl): Remove weak_decls elements directly.
1915 (weak_finish): Simplify weak_decls walk. Don't weaken unused
1916 symbols. Don't pretend to handle aliases.
1917 (init_varasm_once): Update weak_decls registry.
1918 * Makefile.in: Update dependencies.
1919
98d2b17e
RH
19202002-03-14 Richard Henderson <rth@redhat.com>
1921
1922 PR target/5312
1923 * config/ia64/ia64.c: Include tm_p.h last.
1924 (gen_nop_type): Remove duplicate definition.
1925 (cycle_end_fill_slots): Set sched_data for second L slot.
1926 (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
1927 (nop_cycles_until): Fix typos.
1928
f2f4927e
JJ
19292002-03-15 Jakub Jelinek <jakub@redhat.com>
1930
1931 PR optimization/5891
1932 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
1933
5025a549
DM
19342002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
1935
1936 * config/ia64/unwind-ia64.c: Handle copy_state and label_state
1937 descriptors correctly.
1938
03e9dbc9
MM
19392002-03-14 Michael Meissner <meissner@redhat.com>
1940
1941 * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
1942 100, allowing MAX_UNROLLED_INSNS to be overridden.
1943
1944 * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
1945 --param.
1946
1947 * unroll.c (params.h): Include.
1948 (MAX_UNROLLED_INSNS): Delete, now in params.h.
1949
1950 * doc/invoke.texi (--param max-unroll-insns): Document.
1951
1952 * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
1953
12249385
RE
19542002-03-14 Richard Earnshaw <rearnsha@arm.com>
1955
1956 * arm.md: Fix warnings about constraints in peepholes and splits.
1957
f0cce04a
ZW
19582002-03-14 Zack Weinberg <zack@codesourcery.com>
1959
1960 * cpphash.h (struct lexer_state): Remove line_extension member.
1961 * cpplib.c (dequote_string, do_linemarker): New functions.
1962 (linemarker_dir): New data object.
1963 (DIRECTIVE_TABLE): No longer need to interpret #line in
1964 preprocessed source. Delete obsolete comment about return
1965 values of handlers.
1966 (end_directive, directive_diagnostics, _cpp_handle_directive):
1967 Don't muck with line_extension.
1968 (directive_diagnostics): No need to issue warnings for
1969 linemarkers here.
1970 (_cpp_handle_directive): Issue warnings for linemarkers here,
1971 when appropriate. Dispatch linemarkers to do_linemarker, not
1972 do_line.
1973 (do_line): Code to handle linemarkers split out to do_linemarker.
1974 Convert escape sequences in filename argument, both places.
1975
1976 * cppmacro.c (quote_string): Rename cpp_quote_string and
1977 export. All callers changed.
1978 * cpplib.h (cpp_quote_string): Prototype.
1979 * cppmain.c (print_line): Call cpp_quote_string on to_file
1980 before printing it.
1981
1982 * doc/cpp.texi: Document that escapes are now interpreted in
1983 #line and in linemarkers, and that non-printing characters are
1984 converted to octal escapes when linemarkers are generated.
1985
1986Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
83a49407
JH
1987
1988 * emit-rtl.c (try_split): Use delete_insns.
1989 * recog.c (split_all_insns): Fix terminating condition.
1990
c882c7ac
RE
19912002-03-14 Richard Earnshaw <rearnsha@arm.com>
1992 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
1993
1994 PR target/5828
1995 * arm.c (arm_output_epilogue): Fix floating-point register save
1996 adjustment when using a frame pointer.
1997
3f26edaa
RS
19982002-03-14 Richard Sandiford <rsandifo@redhat.com>
1999
2000 * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
2001 * config/mips/mips.c (compute_frame_size): Retrofit them here.
2002 (save_restore_insns, mips_expand_epilogue): And here.
2003 (build_mips16_call_stub): And here.
2004 (mips_function_value): Use the new macros to decide whether a single
2005 or complex float can be returned in floating-point registers. Return
2006 a parallel rtx in the complex case.
2007
1e3881c2
JH
2008Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
2009
2010 * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
2011 call after liveness analysis.
2012
2013 * recog.c (split_insn): Use delete_insn_and_edges.
2014
2015 * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
2016 instructions to have branch prediction notes.
2017 * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
2018
200ef634
GK
20192002-03-14 Geoffrey Keating <geoffk@redhat.com>
2020
2021 * configure.in: Don't pass -Wno-long-long to a ADA compiler
2022 that doesn't support it.
2023 * configure: Regenerate.
2024
0b82d204
JJ
20252002-03-13 Jakub Jelinek <jakub@redhat.com>
2026
2027 PR target/5626
2028 * config/sparc/sparc.md (normal_branch, inverted_branch,
2029 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
2030 inverted_fp_branch): Adjust calls to output_cbranch.
2031 Set length attribute.
2032 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
2033 output_v9branch. Set length attribute.
2034 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
2035 predicates.
2036 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
2037 (output_cbranch): Likewise. Handle far branches.
2038 (output_v9branch): Handle far branches.
2039 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
2040 Adjust prototypes.
2041 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
2042 noov_compare64_op predicates.
2043
7a8de19b
JM
20442002-03-13 Jason Merrill <jason@redhat.com>
2045
2046 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
2047 into the function and constify it.
2048 * gthr-dce.h, gthr-solaris.h: Likewise.
2049
2a55fd42
DE
20502002-03-13 David Edelsohn <edelsohn@gnu.org>
2051
2052 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
2053 * config/rs6000/rs6000.c (rs6000_va_arg): Use
2054 std_expand_builtin_va_arg if not ABI_V4.
2055
19c5b1cf
JM
20562002-03-13 Jason Merrill <jason@redhat.com>
2057
2058 * varasm.c (globalize_decl): New fn.
2059 (assemble_start_function): Use it.
2060 (asm_emit_uninitialized): Use it.
2061 (assemble_alias): Use it.
2062 (assemble_variable): Use it.
2063
2a15f5e1
HPN
20642002-03-13 Hans-Peter Nilsson <hp@axis.com>
2065
2066 * config/cris/cris.c (cris_target_asm_function_prologue): Revert
f0cce04a 2067 2002-03-12 internal visibility change.
2a15f5e1
HPN
2068 (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
2069 visibility into SYMBOL_REF_FLAG.
2070
c0a3eeac
UW
20712002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
2072
2073 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
2074 VOIDmode operand. Add compile-time optimization for constant results.
2075
a1652cee
JM
20762002-03-12 Jason Merrill <jason@redhat.com>
2077
2078 * c-typeck.c (convert_for_assignment): Don't allow conversions
2079 between pointers and references. Only allow lvalues to convert to
2080 reference.
2081
c52a375d
HP
20822002-03-13 Hartmut Penner <hpenner@de.ibm.com>
2083
f0cce04a
ZW
2084 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
2085 before prologue, to avoid scheduling problems.
c52a375d 2086
e387e99b
JJ
20872002-03-13 Jakub Jelinek <jakub@redhat.com>
2088
2089 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
2090 (ELIMINABLE_REGS): Add sfp->sp.
2091 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
2092
20932002-03-13 Jakub Jelinek <jakub@redhat.com>
09948ece
JJ
2094
2095 PR optimization/5892
2096 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
2097
4061c1a3
JJ
20982002-03-13 Jakub Jelinek <jakub@redhat.com>
2099
2100 * loop.c (basic_induction_var): Don't call convert_modes if mode
2101 classes are different.
2102
5b43fed1
RH
21032002-03-12 Richard Henderson <rth@redhat.com>
2104
9f53e965
RH
2105 PR optimization/5901
2106 * function.c (reposition_prologue_and_epilogue_notes): Position
2107 the markers after/before the last/first insn not deleted.
2108
21092002-03-12 Richard Henderson <rth@redhat.com>
2110
2111 PR optimization/5878
5b43fed1
RH
2112 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
2113 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
2114 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
2115
2116 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
2117 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
2118 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
2119
2120 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
2121 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
2122 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
2123 also. Don't set it if not flag_pic.
2124 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
2125 to be INVALID_REGNUM when not used.
2126
4e9bb42b
AH
21272002-03-13 Aldy Hernandez <aldyh@redhat.com>
2128
5b43fed1
RH
2129 * expmed.c (store_bit_field): Reset alias set for memory.
2130 (extract_bit_field): Same.
4e9bb42b 2131
2f9834e8
KG
21322002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2133
2134 * c-common.c (c_tree_code_type, c_tree_code_length,
2135 c_tree_code_name, add_c_tree_codes): Delete.
2136 * c-common.h (add_c_tree_codes): Delete.
2137 * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
2138 Define.
2139 * c-objc-common.c (c_objc_common_init): Don't call
2140 add_c_tree_codes, instead set lang_unsafe_for_reeval.
2141 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
2142 objc_tree_code_name, add_objc_tree_codes): Delete.
2143 (objc_init): Don't call add_objc_tree_codes.
2144 * objc/objc-lang.c (tree_code_type, tree_code_length,
2145 tree_code_name): Define.
2146 * toplev.c (lang_independent_init): Don't set
2147 tree_code_length[IDENTIFIER_NODE].
2148 * tree.c (tree_code_type, tree_code_length, tree_code_name):
2149 Delete definitions, moved to language front-ends.
2150 * tree.def (IDENTIFIER_NODE): Hardwire the length.
2151 * tree.h (tree_code_type, tree_code_length, tree_code_name):
2152 Const-ify.
2153 (tree_code_length): Change type to unsigned char.
2154
36ad2436
RH
21552002-03-12 Richard Henderson <rth@redhat.com>
2156
2157 * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
2158 internal visibility change.
2159
0ae02efa
BW
21602002-03-12 Bob Wilson <bob.wilson@acm.org>
2161
2162 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
2163 validize_mem() instead of change_address to avoid clobbering
2164 memory attributes.
2165
35bb2bee
NB
21662002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
2167
2168 * c-lex.h (position_after_whitespace): Remove.
2169
62ae2529
JJ
21702002-03-12 Jakub Jelinek <jakub@redhat.com>
2171
2172 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
2173 (lex_string): Use unsigned char pointers.
2174
6a45951f
UW
21752002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
2176
2177 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
2178 is not a valid memory_operand.
2179
e2fb85da
BW
21802002-03-12 Bob Wilson <bob.wilson@acm.org>
2181
2182 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
2183 * config/xtensa/lib1funcs.asm: Fix copyright to include
2184 special case for libgcc files.
2185 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
2186 (__divsi3): Likewise.
2187 (__umodsi3): Likewise.
2188 (__modsi3): Likewise.
2189 * config/xtensa/lib2funcs.S: Fix copyright to include
2190 special case for libgcc files.
2191
5b8619f8
TR
21922002-03-12 Tom Rix <trix@redhat.com>
2193
2194 * collect2.c (resolve_lib_name): Move outside of
f0cce04a 2195 OBJECT_FORMAT_COFF ifdef.
5b8619f8
TR
2196 (ignore_library): Same.
2197
089c8f97
BW
21982002-03-12 Bob Wilson <bob.wilson@acm.org>
2199
2200 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
2201
958c70ff
BW
22022002-03-12 Bob Wilson <bob.wilson@acm.org>
2203
2204 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
2205 to function_section before writing out the constant pool.
2206
a65c591c
DE
22072002-03-12 David Edelsohn <edelsohn@gnu.org>
2208
2209 * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
2210 zero_constant.
2211 * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
2212
22132002-03-12 Alan Modra <amodra@bigpond.net.au>
2214
2215 * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
2216 (adddi3): Likewise.
2217 (movdf): Likewise.
2218 (movdi): Likewise.
2219 (cmpsi splitter): Likewise.
2220 (modsi3): Fail if <= 0.
2221 * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
2222 redundant test when HOST_BITS_PER_WIDE_INT != 32.
2223 (reg_or_sub_cint64_operand): Likewise.
2224 (num_insns_constant_wide): Optimize sign extension.
2225 (rs6000_legitimize_address): Likewise.
2226
17720332
AM
22272002-03-12 Andrew MacLeod <amacleod@redhat.com>
2228
2229 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2230 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2231
cd49f073
AM
22322002-03-12 Andrew MacLeod <amacleod@redhat.com>
2233
2234 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
2235 address calculation.
2236
6a4e49c1
UW
22372002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
2238
2239 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
2240 scratch register to DImode / TImode.
2241 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
2242 register used does not overlap the target.
2243
54b6670a
KG
22442002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2245
2246 * Makefile.in (debug.o): Depend on debug.h.
2247 * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
2248 * debug.c (do_nothing_debug_hooks): Likewise.
2249 * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
2250 sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
2251 dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
2252 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
2253 * dwarfout.c (dwarf_debug_hooks): Likewise.
2254 * integrate.c (output_inline_function): Likewise.
2255 * objc/objc-act.c (synth_module_prologue): Likewise.
2256 * sdbout.c (sdb_debug_hooks): Likewise.
2257 * toplev.c (debug_hooks): Likewise.
2258 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
2259
2465bf76
KG
22602002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2261
2262 * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
2263 dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
2264 m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
2265 ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
2266 v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
2267 * defaults.h (POINTER_SIZE): Define.
2268 * doc/tm.texi (POINTER_SIZE): Document default.
2269
53f3e9ca
KG
22702002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2271
2272 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
2273
44d3eb5b
RH
22742002-03-11 Richard Henderson <rth@redhat.com>
2275
2276 * toplev.c (rest_of_compilation): Call purge_all_dead_edges
2277 if rebuild_label_notes_after_reload.
2278
4a085d2e
HPN
22792002-03-12 Hans-Peter Nilsson <hp@axis.com>
2280
2281 * config/cris/cris.c (cris_target_asm_function_prologue): Do not
2282 emit pic register load if "internal" visibility.
2283 (cris_print_operand): Avoid traditional-warning for 0xffffffff.
2284 (cris_expand_builtin_va_arg): Do all computations on trees.
2285
bc204393
RH
22862002-03-11 Richard Henderson <rth@redhat.com>
2287
2288 * rtlanal.c: Include recog.h.
2289 (keep_with_call_p): Fix thinko.
2290 * Makefile.in (rtlanal.o): Update dependencies.
2291
6b8b9d7b
CM
22922002-03-11 Chris Meyer <cmeyer@gatan.com>
2293
2294 * genflags.c (gen_insn): Use IS_VSPACE.
2295 * genoutput.c (output_insn_data): Likewise.
2296 (process_template): Likewise.
2297
6c40858f
RH
22982002-03-11 Richard Henderson <rth@redhat.com>
2299
2300 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
2301
40adaa27
NB
23022002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
2303
2304 * Makefile.in: Update.
6c40858f 2305 * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
40adaa27 2306 Update documentation.
6c40858f
RH
2307 * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
2308 * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
40adaa27 2309
049b03f4
ZW
23102002-03-11 Zack Weinberg <zack@codesourcery.com>
2311
2312 * Makefile.in: Give texi2pod its input file as a command line
2313 argument, not on stdin.
2314
61eece67
DN
23152002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
2316 Daniel Berlin <dan@dberlin.org>
2317
2318 C++ alias analysis improvement.
f0cce04a 2319 * alias.c (record_component_aliases): Record aliases for base
61eece67
DN
2320 classes too.
2321
a65c591c
DE
23222002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
2323
ff080aba
UW
2324 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
2325
1682dbb1
DR
23262002-03-11 Douglas B Rupp <rupp@gnat.com>
2327
fa2d765a
DR
2328 * toplev.c (vms_fopen): Remove, not needed.
2329
6f1fd286
DR
2330 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
2331
b230e057
DR
2332 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
2333
cb9a8e97
DR
2334 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
2335 for FP, already done later.
2336
1682dbb1
DR
2337 * toplev.c (debug_args): Add entry for VMS_DEBUG.
2338 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
2339
3fcaac1d
RS
23402002-03-11 Richard Sandiford <rsandifo@redhat.com>
2341
2342 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
2343 (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
2344 LARGEST_EXPONENT_IS_NORMAL for the given mode.
2345 (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
2346 * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
2347 (ediv, emul, eldexp, esqrt): Likewise.
2348 (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
2349 (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
2350 (saturate): New function.
2351 (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
2352 (make_nan): Use a saturation value instead of a NaN if
2353 LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
2354 * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
2355 inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
2356 zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
2357 (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
2358 (_fpmul_parts, _fpdiv_parts): Only round to nearest if
2359 !ROUND_TOWARDS_ZERO.
2360 * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
2361 (ROUND_TOWARDS_ZERO): Document.
2362
d25558be
AJ
23632002-03-11 Andreas Jaeger <aj@suse.de>
2364
2365 * cfg.c (dump_flow_info): Remove unused variable.
2366
c71f9ae7
HPN
23672002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
2368
2369 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
2370 computations on trees.
2371
561c9153
RH
23722002-03-10 Richard Henderson <rth@redhat.com>
2373
932b4e3e 2374 PR 5693:
561c9153
RH
2375 * reload.c (copy_replacements_1): New.
2376 (copy_replacements): Use it to recurse through the rtx.
2377
26b738be
RH
23782002-03-10 Richard Henderson <rth@redhat.com>
2379
2380 * loop.c (strength_reduce): Compute number of iterations as
2381 unsigned HOST_WIDE_INT.
2382
8d8a083e
RH
23832002-03-10 Richard Henderson <rth@redhat.com>
2384
2385 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
2386 to move away from the end of the block.
2387
32810ba3
NB
23882002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
2389
2390 PR preprocessor/5899
2391 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
d25558be 2392
2b03d201
KG
23932002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2394
f90c544c
KG
2395 * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
2396
2b03d201
KG
2397 * attribs.c (decl_attributes): Fix signed/unsigned warning.
2398
3ec1b4cb
HPN
23992002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
2400
2401 * config/mmix/mmix.c: Improve comments.
2402 (mmix_target_asm_function_prologue): Drop variable
2403 empty_stack_frame. Don't allocate unused slot above fp.
2404 (mmix_target_asm_function_epilogue): Mirror prologue changes.
2405 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
2406 brace in first column.
2407 (enum reg_class): Ditto.
2408 (FIRST_PARM_OFFSET): Now 0.
2409 (USER_LABEL_PREFIX): Remove #if 0:d definition.
2410
27e486c5
KG
24112002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2412
2413 * combine.c (make_extraction): Fix error in last change.
2414
0139adca
KG
24152002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2416
2417 * c4x.c (c4x_fp_reglist): Const-ify.
2418 * cris.c (cris_print_operand): Likewise.
2419 * i386.c (ix86_va_arg): Likewise.
2420 * ia64/unwind-ia64.c (unw_decode_table): Likewise.
2421 * m32r.c (m32r_hard_regno_mode_ok): Likewise.
2422 * m32r.h (m32r_hard_regno_mode_ok): Likewise.
2423 * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
2424 * mcore.h (regno_reg_class): Likewise.
2425 * mips.c (gen_int_relational): Likewise.
2426 * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
2427 * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
a4334c36 2428 * pdp11.c (move_costs): Likewise.
0139adca
KG
2429 * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
2430 * s390.c (s390_branch_condition_mnemonic, regclass_map):
2431 Likewise.
2432 * s390.h (regclass_map): Likewise.
2433 * sh.c (shift_amounts): Likewise.
a4334c36 2434 * sh.md (rotlsi3): Likewise.
0139adca 2435
889b90a1
GK
24362002-03-09 Geoffrey Keating <geoffk@redhat.com>
2437
2438 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
2439 (ne0+5): Use new clobber to generate proper shift pattern.
2440 Patch by Michael Matz <matz@kde.org>.
2441
2877e0ae
AS
24422002-03-09 Andreas Schwab <schwab@suse.de>
2443
2444 * gcc.c (validate_all_switches): Also handle `%W{...}'.
2445
79b51cd7
GK
24462002-03-09 Geoffrey Keating <geoffk@redhat.com>
2447
2448 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
2449
e0f1be5c
JJ
24502002-03-09 Jakub Jelinek <jakub@redhat.com>
2451
2452 PR middle-end/5877
2453 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
2454 even for non-representable constants.
2455
0a7ec763
RK
2456Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2457
93fe8e92
RK
2458 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
2459 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
2460 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
2461 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
2462 (pop_function_context): Compute MAY_SHARE parameter for
2463 fixup_var_refs.
2464 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
2465 (gen_mem_addressof): Call fixup_var_refs with new parm.
2466
0a7ec763
RK
2467 * combine.c (make_extraction): Don't make extension of CONST_INT.
2468
a85cd407
AO
24692002-03-09 Alexandre Oliva <aoliva@redhat.com>
2470
9445b814
AO
2471 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
2472 in o32 and o64 ABIs.
2473 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
2474 but getting fixed-size structs passed in registers regardless of
2475 padding in o32 and o64 ABIs.
2476
a85cd407
AO
2477 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
2478 offset before loading address of argument passed by transparent
2479 reference.
2480
c51fbe40
JDA
24812002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
2482
2483 * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
2484
918e70dd
AO
24852002-03-09 Alexandre Oliva <aoliva@redhat.com>
2486
2487 * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
2488 marker such that registers after it are saved.
2489
3070dd00
KG
24902002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2491
2492 * sparc.c (arith_4096_operand): Fix error in last change.
2493
e25d11b0
AO
24942002-03-08 Alexandre Oliva <aoliva@redhat.com>
2495
2496 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
2497 defaults for MEABI.
2498
41daaf0e
AH
24992002-03-08 Aldy Hernandez <aldyh@redhat.com>
2500
5b43fed1
RH
2501 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
2502 vectors.
41daaf0e 2503
fa139b00
AH
25042002-03-08 Aldy Hernandez <aldyh@redhat.com>
2505
5b43fed1 2506 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
fa139b00 2507
c51d95ec
JH
2508Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
2509
2510 * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
2511 removed; fix return value.
2512 * combine.c (combine_instructions): Dirtify blocks where we failed to
2513 update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
2514 * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
2515
3b25fbfe
KG
25162002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2517
2518 * gcse.c (insert_insn_end_bb): Fix typo in last change.
2519
189ae0f4
JH
2520Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
2521
2522 * recog.c (peephole2_optimize): Re-distribute EH edges.
2523
24965e7a
NB
25242002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
2525
2526 * expr.c (expand_expr): Use unsave lang hook.
2527 * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
2528 (LANG_HOOKS_INITIALIZER): Update.
2529 * langhooks.h (struct lang_hooks): New hook unsave.
2530 * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
2531 (unsave_expr_1): Remove unused lang_unsave_expr_now.
2532 (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
2533 (unsave_expr_now): Remove.
2534 * tree.h (unsave_expr_now, lang_unsave,
2535 lang_unsave_expr_now): Remove.
2536 (lhd_unsave): New.
2537
1e4e95d6
AJ
25382002-03-08 Andreas Jaeger <aj@suse.de>
2539
2540 * flow.c (propagate_block_delete_insn): Remove unused variable.
2541
054ef905
KH
25422002-03-08 Kazu Hirata <kazu@hxi.com>
2543
2544 * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
2545 insn length for memory load/store.
2546
5304400d 25472002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
1e4e95d6 2548
5304400d
CR
2549 * doc/install.texi (--with-libiconv-prefix): Document.
2550
81034129
MB
25512002-03-08 Michael Y. Brukman <myb2@cornell.edu>
2552
2553 * doc/sourcebuild.texi: Fix typo.
2554
71db7d03
JJ
25552002-03-08 Jakub Jelinek <jakub@redhat.com>
2556
2557 PR c/3711
2558 * builtins.c (std_expand_builtin_va_arg): Do all computations on
2559 trees.
2560
127c1ba5
RK
2561Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2562
2563 * rtl.c (copy_most_rtx): Move from here ...
2564 * emit-rtl.c (copy_most_rtx): ... to here.
2565
8a13c092
AO
25662002-03-08 Alexandre Oliva <aoliva@redhat.com>
2567
5faae4f7
AO
2568 * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
2569 SUBTARGET_CPP_SIZE_SPEC.
2570 * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
2571
8a13c092
AO
2572 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
2573
4ec59de2
MH
25742002-03-07 Matt Hiller <hiller@redhat.com>
2575
2576 * gensupport.c (first_dir_md_include): Renamed from include;
2577 change all references.
2578 (last_dir_md_include): Renamed from last_include; change all
2579 references.
2580 (init_md_reader): Unconditionally initialize base_dir whether or
2581 not filename is a relative path.
2582
12f61e77
AO
25832002-03-07 Alexandre Oliva <aoliva@redhat.com>
2584
95356058
AO
2585 * config/fp-bit.c (_unord_f2): Compile it in even if
2586 US_SOFTWARE_GOFAST is enabled.
2587
12f61e77
AO
2588 * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
2589 NULL_RTX. Set all HFmode operations as NULL_RTX.
2590 * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
2591 NULL_RTX, try reversing the comparison and the operands.
2592
6d7a1c4c
UW
25932002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
2594
2595 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
2596 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
2597 and MATCH_OP_DUP.
2598
66d54344
JH
2599Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
2600
2601 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
2602
068473ec
JH
2603Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
2604
2605 * basic-block.h (fixup_abnormal_edges): Declare.
2606 * reload1.c (fixup_abnormal_edges): New function.
2607 * reg-stack.c (convert_regs): Use it.
2608
2609 * gcse.c (insert_insn_end_bb): Handle trapping insns.
2610
2611 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
2612
71925bc0
RS
26132002-03-07 Richard Sandiford <rsandifo@redhat.com>
2614
2615 * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
2616 (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
2617 * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
2618 (HONOR_SIGN_DEPENDENT_ROUNDING): New.
2619 * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
2620 * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
2621 unless x and y could be infinite.
2622 (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
2623 Check that the common type of both arguments is a real, even for
2624 targets without unordered comparisons. Allow an integer argument
2625 to be compared against a real.
2626 (expand_tree_builtin): Use expand_unordered_cmp.
2627 * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
2628 * cse.c (fold_rtx): Likewise. Fix indentation.
2629 * fold-const.c (fold_real_zero_addition_p): New.
2630 (fold): Use it, and the new HONOR_... macros.
2631 * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
2632 * jump.c (reversed_comparison_code_parts): After searching for
2633 the true comparison mode, use HONOR_NANS to decide whether it
2634 can be safely reversed.
2635 (reverse_condition_maybe_unordered): Remove IEEE check.
2636 * simplify-rtx.c (simplify_binary_operation): Use the new macros
2637 to decide which simplifications are valid. Allow the following
2638 simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
2639 and (a - -b) to (a + b).
2640 (simplify_relational_operation): Use HONOR_NANS.
2641 * doc/tm.texi: Document the MODE_HAS_... macros.
2642
145d3bf2
RE
26432002-03-07 Richard Earnshaw <rearnsha@arm.com>
2644
2645 * combine.c (simplify_comparison): If simplifying a logical shift
2646 right and compare with constant, force the comparison to unsigned.
2647
76a773f3
AH
26482002-03-07 Aldy Hernandez <aldyh@redhat.com>
2649
5b43fed1 2650 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
76a773f3 2651
5b43fed1
RH
2652 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
2653 -mabi=no-altivec
2654 (alt_reg_names): Remove % for vrsave.
76a773f3 2655
ab55f58c
RH
26562002-03-06 Richard Henderson <rth@redhat.com>
2657
5ddec02e 2658 PR optimization/5844
ab55f58c
RH
2659 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
2660 if used indicates we've already emitted one copy of an operand.
2661 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
2662 (gen_split): Supply a non-null used.
2663
e16e3291
UW
26642002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
2665
5b43fed1 2666 * reload1.c (reload): Unshare all rtl after reload is done.
e16e3291 2667
1e4e95d6 2668 * simplify-rtx.c (simplify_plus_minus): Do not abort,
e16e3291
UW
2669 but simply fail if the expression is too complex to simplify.
2670 (simplify_gen_binary): Handle simplify_plus_minus failures.
2671
2ca6672b
JH
2672Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
2673
2674 * toplev.c (rest_of_compilation): Do jump threading before SSA path;
2675 consistently call delete_trivially_dead_insns after CSE and GCSE;
2676 fix DFI_life dumping; do jump threading after liveness; do crossjumping
2677 after liveness2; update comment in last crossjumping.
2678 * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
2679
31d0dd4f
JL
2680Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
2681
d094b0b3
JL
2682 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
2683 after completing fast dead code elimination.
2684
31d0dd4f
JL
2685 * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
2686 COMPARE operator.
1e4e95d6 2687
f2b958b1
PE
26882002-03-06 Phil Edwards <pme@gcc.gnu.org>
2689
2690 * version.c: Fix misplaced leading blanks on first line.
2691
a2877a09
JH
2692Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
2693
2694 * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
2695
fe477d8b
JH
2696Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
2697
2698 * cfgcleanup.c (mentions_nonequal_regs): New function.
2699 (thread_jump): Use it.
2700 * toplev.c (rest_of_compilation): Run jump threading after
2701 liveness.
2702
2041cde4
JJ
27032002-03-06 Jakub Jelinek <jakub@redhat.com>
2704
2705 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
2706 patch.
2707
82d68d46
JH
2708Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
2709
2710 * predict.c (estimate_bb_frequencies): Do not reload the
2711 frequencies from notes.
2712
3dec4024
JH
2713Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
2714
2715 * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
2716 * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
2717
2718 * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
2719 delete_noop_moves): Return indeger.
2720 * flow.c (ndead): New variable.
2721 (propagate_block_delete_insn): Use delete_insn_and_edges; remove
2722 BB argument; update callers.
2723 (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
2724 (life_analysis): Do not call purge_all_dead_edges.
2725 (update_life_info): Return number of deleted insns; print statistics.
2726 (update_life_info_in_dirty_blocks): likewise.
2727 (delete_noop_moves): Use delete_insn_and_edges; print statistics;
2728 return number of insns deleted.
2729
2730 * cse.c: Include timevar.h
2731 (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
2732 iterate until stabilizes; print statistics; return number of killed
2733 insns.
2734 * Makefile.in: (cse.o): Add timevar.h dependency
2735 * rtl.h (delete_trivially_dead_insns): New.
2736 * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
2737 * toplev.c (rest_of_compilation): Update callers.
2738
2739 * cfgcleanup.c (try_optimize_cfg): Kill blocks.
2740 (try_optimize_cfg): Do not update liveness.
2741 (cleanup-cfg): Loop until try_optimize_cfg and dead code
2742 removal stabilizes; use delete_trivially_dead_insns.
2743
2744 * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
2745
c7544dd8
ZW
27462002-03-05 Zack Weinberg <zack@codesourcery.com>
2747
2748 * cppmain.c (setup_callbacks): Disable #pragma and #ident
2749 callbacks when processing assembly language.
2750
50b424a9
JDA
27512002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
2752
2753 * pa.h (ASM_FILE_END): Define.
2754 * som.h (ASM_FILE_END): Delete.
2755
2756 * pa.c (function_arg): Don't pass floats in general registers in
2757 indirect calls if TARGET_ELF32.
2758
6185f217
RH
27592002-03-05 Richard Henderson <rth@redhat.com>
2760
2761 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
2762
3020a4b2
DS
27632002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
2764
2765 * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
2766
65649daa
JJ
27672002-03-05 Jakub Jelinek <jakub@redhat.com>
2768
2769 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
2770 -r command line. Don't hide any symbols if not building
2771 shared libgcc.
2772
5a1a3e5e
JH
2773Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
2774
2775 * cfg.c (dump_flow_info): Warn about profile mismatches.
2776 * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
2777 (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
2778
170c56da
JJ
27792002-03-05 Jakub Jelinek <jakub@redhat.com>
2780
2781 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
2782 wide volatile memory by parts.
2783
6d051694
JJ
27842002-03-05 Jakub Jelinek <jakub@redhat.com>
2785
2786 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
2787 is NULL.
2788
28bcfd4d
RH
27892002-03-05 Richard Henderson <rth@redhat.com>
2790
5b43fed1 2791 * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
28bcfd4d 2792
75227a33
GK
27932002-03-04 Geoffrey Keating <geoffk@redhat.com>
2794
2795 * toplev.c (documented_lang_options): Document more
2796 language-specific options.
2797 * doc/invoke.texi (Warning Options): Correct documentation for
2798 -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
2799 * c-decl.c (c_decode_option): Use a table to handle warning options.
2800
4f1aac42
HPN
28012002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
2802
2803 * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
2804 parameter to mmix_encode_section_info.
2805 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
2806 relocatably. Always produce ELF, not mmo if linking relocatably.
2807 * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
2808 first is non-zero, don't add symbol prefix.
2809 * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
2810 prototype accordingly.
2811
12345543
KW
28122002-03-04 Krister Walfridsson <cato@df.lth.se>
2813
2814 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
2815
8e97db8f
JM
28162002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
2817
2818 * configure.in: Increase required makeinfo version to 4.1.
2819 * configure: Regenerate.
2820
06487868
GK
28212002-03-04 Geoffrey Keating <geoffk@redhat.com>
2822
2823 * .cvsignore: Remove *.info* and genrtl*; these files are generated
2824 elsewhere now.
2825
cff42170
JM
28262002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
2827
2828 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
2829 * doc/invoke.texi: Fix @math uses.
2830
974a7f56
JH
2831Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
2832
2833 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
2834 removal
2835
3b7d0e98
AH
28362002-03-03 Aldy Hernandez <aldyh@redhat.com>
2837
5b43fed1
RH
2838 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
2839 (powerpc-*-eabisimaltivec*): Same.
3b7d0e98 2840
5b43fed1 2841 * config/rs6000/t-ppcendian: New.
3b7d0e98 2842
65f2f288
HB
28432002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2844
2845 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
2846 nonimmediate_src_operand and nonimmediate_lsrc_operand to
2847 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
2848
8ce0a8a5
RH
28492002-03-03 Richard Henderson <rth@redhat.com>
2850
2851 * toplev.c (rest_of_decl_compilation): Revert last two changes.
2852
ba31d94e
ZW
28532002-03-03 Zack Weinberg <zack@codesourcery.com>
2854
2855 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
2856 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
2857 tree.c, config/m68k/m68k.c:
2858 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
2859 REAL_ARITHMETIC blocks unconditional. Delete some further
2860 #ifdef blocks predicated on REAL_ARITHMETIC.
2861 * flags.h, toplev.c: Delete remaining references to
2862 flag_pretend_float.
2863
2864 * doc/invoke.texi: Remove documentation of -fpretend-float.
2865 * doc/tm.texi: Describe the various REAL_* macros as provided by
2866 real.h, not by the target configuration files.
2867
2868 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
2869 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
2870 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
2871 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
2872 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
2873 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
2874 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
2875 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
2876 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2877 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
2878 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
2879 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
2880 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
2881 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
2882 config/xtensa/xtensa.h:
2883 Do not define, undefine, or mention in comments any of
2884 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
2885 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
2886 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
2887 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
2888 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
2889 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
2890 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
2891 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
2892 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
2893
9a571cfd
KG
28942002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2895
e81dd381
KG
2896 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
2897 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
2898 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
2899 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
2900 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
2901 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
2902 Delete.
2903 * defaults.h (BITS_PER_WORD): Define.
ba31d94e 2904 * doc/tm.texi (BITS_PER_WORD): Document default value.
e81dd381 2905
9a571cfd
KG
2906 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
2907 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
2908 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
2909
ca7558fc
KG
29102002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2911
2912 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
2913 lieu of explicit sizeof/sizeof.
2914 * i386.c (override_options, ix86_init_mmx_sse_builtins,
2915 ix86_expand_builtin): Likewise.
2916 * mips.c (mips_add_gc_roots): Likewise.
2917 * mmix.c (mmix_output_condition): Likewise.
2918 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
2919 altivec_init_builtins): Likewise.
2920 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
2921 * cppexp.c (Nsuff, parse_number): Likewise.
2922 * cppinit.c (builtin_array_end): Likewise.
2923 * gcc.c (n_default_compilers, process_command): Likewise.
2924 * genpreds.c (output_predicate_decls): Likewise.
2925 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
2926 * lcm.c (N_ENTITIES): Likewise.
2927 * stor-layout.c (set_sizetype): Likewise.
ba31d94e 2928
41c78c88
RH
29292002-03-03 Richard Henderson <rth@redhat.com>
2930
2931 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
2932 for types or labels.
2933
9e9b71e6
RH
29342002-03-03 Richard Henderson <rth@redhat.com>
2935
2936 * c-decl.c (start_decl): Initialized variables are not common.
2937
c26a6db8
PB
29382002-03-02 Per Bothner <per@bothner.com>
2939
2940 * gcc.c (option_map): Suport new --bootclasspath option.
2941 --CLASSPATH is now just an alias for --classpath.
2942
9e8aab55
RH
29432002-03-02 Richard Henderson <rth@redhat.com>
2944
2945 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
2946 load if "internal" visibility.
2947 * doc/extend.texi: Document visibility meanings.
2948
b3bbd220
RH
29492002-03-02 Richard Henderson <rth@redhat.com>
2950
2951 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
2952 to functions as well.
2953
b14707c3
RH
29542002-03-02 Richard Henderson <rth@redhat.com>
2955
2956 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
2957 (handle_visibility_attribute): Don't call assemble_visibility.
2958 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
2959 without asmspec. Invoke assemble_alias when needed.
2960 * varasm.c (maybe_assemble_visibility): New.
2961 (assemble_start_function, assemble_variable, assemble_alias): Use it.
2962
b2003250
RH
29632002-03-02 Richard Henderson <rth@redhat.com>
2964
2965 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
2966 invoke ENCODE_SECTION_INFO with first call flag.
2967
2968 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
2969 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
ba31d94e 2970 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
b2003250
RH
2971 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
2972 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
2973 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
2974 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
2975 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
2976 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
2977 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
2978 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2979 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
ba31d94e
ZW
2980 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
2981 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
b2003250
RH
2982 config/mcore/mcore-protos.h, config/mcore/mcore.c,
2983 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
2984 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
ba31d94e 2985 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
b2003250
RH
2986 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
2987 config/sh/sh.h, config/sparc/sparc.h,
2988 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
2989 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
2990 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
2991 FIRST argument. As needed, examine it and do nothing.
2992
ba31d94e 2993 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
b2003250
RH
2994 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
2995 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
2996
2997 * config/arm/t-pe (pe.o): Add dependencies.
2998
5c60f03d
KG
29992002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3000
3001 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
3002 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
3003 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
3004 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
3005 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
3006 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
3007 * defaults.h (BITS_PER_UNIT): Define.
3008 * doc/tm.texi (BITS_PER_UNIT): Document default value.
3009
86855e8c
KH
30102002-03-02 Kazu Hirata <kazu@hxi.com>
3011
3012 * config/h8300/h8300-protos.h: Add a prototype for
3013 compute_a_shift_length.
3014 * config/h8300/h8300.c (h8300_asm_insn_count): New.
3015 (compute_a_shift_length): Likewise.
3016 (h8300_adjust_insn_length): Do not adjust insn length of shift
3017 insns.
3018 * config/h8300/h8300.md (anonymous shift patterns): Use
3019 compute_a_shift_length.
3020
f6041ed8
RK
3021Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3022
35aa3c1c
RK
3023 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
3024 trunc_int_for_mode.
3025
f6041ed8
RK
3026 * emit-rtl.c (offset_address): Call update_temp_slot_address.
3027
27b41650
KG
30282002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3029
3030 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
3031 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
3032 * flags.h (flag_zero_initialized_in_bss): Declare.
3033 * toplev.c (flag_zero_initialized_in_bss): New flag.
3034 (lang_independent_options): Add flag_zero_initialized_in_bss.
3035 * tree.c (initializer_zerop): New function.
3036 * tree.h (initializer_zerop): Declare.
3037 * varasm.c (assemble_variable): If we can emit bss, put zero
3038 initializers in the bss section.
3039
ca734b39
AM
30402002-03-02 Alan Modra <amodra@bigpond.net.au>
3041
3042 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
3043 like more than one symbol per .weak directive.
3044
49b72306
RH
30452002-03-01 Richard Henderson <rth@redhat.com>
3046
3047 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
3048 adjust argument_pointer by pretend_args_size.
3049 (ia64_va_start): Adjust va_start address by -pretend_args_size.
3050
fbf0fe41
KH
30512002-03-01 Kazu Hirata <kazu@hxi.com>
3052
3053 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
3054
0010687d
JH
3055Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
3056
3057 * toplev.c (rest_of_compilation): Delete dead jumptables before
3058 loop.
3059 * flow.c (delete_dead_jumptables): Make global.
3060 * rtl.h (delete_dead_jumptables): Declare.
3061
9429c84c
DE
30622002-03-01 David Edelsohn <edelsohn@gnu.org>
3063
3064 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
3065 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
0c2fdcdf 3066 * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
9429c84c 3067
f0b6f9a6
KH
30682002-03-01 Kazu Hirata <kazu@hxi.com>
3069
3070 * config/h8300/h8300-protos.h: Fix formatting.
3071 * config/h8300/h8300.c: Likewise.
3072 * config/h8300/h8300.h: Likewise.
3073
bc8db8a1
KH
30742002-03-01 Kazu Hirata <kazu@hxi.com>
3075
3076 * config/h8300/h8300.c (print_operand): Support 16-bit
3077 constant addresses.
3078 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
3079
32b069d3
RH
30802002-02-28 Richard Henderson <rth@redhat.com>
3081
3082 * expmed.c (store_bit_field): Prevent generation of CONCATs;
3083 pun complex values as integers; use gen_lowpart instead of
3084 gen_rtx_SUBREG.
3085 (extract_bit_field): Likewise.
3086
79c4e63f
AM
30872002-03-01 Alan Modra <amodra@bigpond.net.au>
3088 David Edelsohn <edelsohn@gnu.org>
3089
3090 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
3091 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
3092 (SUPPORTS_WEAK): Likewise.
3093 * output.h (add_weak): Add tree param.
3094 * varasm.c (add_weak): Likewise. Save decl.
3095 (struct weak_syms): Add decl field.
3096 (mark_weak_decls): New function.
3097 (init_varasm_once): ggc_add_root mark_weak_decls.
3098 (assemble_start_function): Use ASM_WEAKEN_DECL.
3099 (assemble_variable): Likewise.
3100 (assemble_alias): Likewise.
3101 (declare_weak): Pass decl to add_weak.
3102 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
3103 (remove_from_pending_weak_list): Declare and define for
3104 ASM_WEAKEN_DECL.
3105 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
3106 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
3107 * defaults.h (SUPPORTS_WEAK): Likewise.
3108 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
3109 .weak for code sym. Do emit .size for descriptor sym.
3110 (ASM_DECLARE_FUNCTION_SIZE): Define.
3111 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
3112 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
3113 .lglobl unless TARGET_XCOFF. Formatting fixes.
3114 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
3115 .weak for code sym.
3116 (HANDLE_PRAGMA_WEAK): Remove.
3117 (ASM_WEAKEN_LABEL): Remove.
3118 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
3119
6f30f1f1
JM
31202002-03-01 Jason Merrill <jason@redhat.com>
3121
3122 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
3123 (TARGET_EXPR_CLEANUP): New macro.
3124
7879b81e
SE
31252002-02-28 Steve Ellcey <sje@cup.hp.com>
3126
3127 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
3128 to take ptr_extend into account as third type of extension.
3129 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
3130 fields used by SUBREG_PROMOTED_UNSIGNED_P.
3131 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
3132 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
3133 * calls.c (precompute_arguments): Use new macro.
3134 (expand_call): Ditto.
3135 * combine.c (nonzero_bits): Ditto.
3136 (record_promoted_value): Ditto.
3137 * expr.c (store_expr): Ditto.
3138 (expand_expr): Ditto.
3139 * function.c (assign_parms): Ditto.
3140
42d579d8
AO
31412002-02-28 Alexandre Oliva <aoliva@redhat.com>
3142
3143 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
3144 override -shared and -shared-libgcc.
3145
e0054185
DB
31462002-02-28 David O'Brien <obrien@FreeBSD.org>
3147
3148 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
3149 of "ultrasparc".
3150 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
3151 to be broken.
3152
abda4f1c
RH
31532002-02-28 Richard Henderson <rth@redhat.com>
3154
3155 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
3156 4 cycle latency from MM producers.
3157 (ia64_internal_sched_reorder): Likewise with pipeline flush.
3158
c0f08649
JJ
31592002-02-28 Jakub Jelinek <jakub@redhat.com>
3160
3161 * mklibgcc.in: Don't use GNU make extension.
3162
f79f2651
NB
31632002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
3164
3165 * c-parse.in (STATIC): New terminal.
3166 (scspec): New non-terminal. Update productions accordingly.
3167 (program): Remove bogus ifc / end ifc.
3168 (array_declarator): Simplify production using STATIC.
3169
001e3fee
JM
31702002-02-28 Jim Meyering <meyering@lucent.com>
3171
3172 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
3173 \a still means TARGET_BELL.
3174
89076bb3
RH
31752002-02-28 Richard Henderson <rth@redhat.com>
3176
3177 * haifa-sched.c (sched_emit_insn): New.
3178 (schedule_block): Use last_scheduled_insn to track last insn.
3179 * sched-int.h (sched_emit_insn): Prototype.
3180 * config/ia64/ia64.c (last_issued): Remove.
3181 (ia64_variable_issue): Don't set it.
3182 (nop_cycles_until): Use sched_emit_insn.
3183
e3aaacf4
AM
31842002-02-28 Andrew MacLeod <amacleod@redhat.com>
3185
3186 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
3187 extended constants.
3188
7f473594
KH
31892002-02-28 Kazu Hirata <kazu@hxi.com>
3190
3191 * config/h8300/h8300.c: Fix formatting.
3192 * config/h8300/h8300.h: Likewise.
3193
b96c434c
MM
31942002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
3195
3196 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
3197 which may overwrite the high byte of the frame pointer.
3198
9b420a6a
BT
31992002-02-28 Bo Thorsen <bo@suse.de>
3200
3201 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
3202 (STARTFILE_SPEC): Add 64 bit files.
3203 (ENDFILE_SPEC): Likewise.
3204
6f30f1f1 32052002-02-28 Jason Merrill <jason@redhat.com>
46cfb101
JM
3206
3207 * c-decl.c (finish_function): Only warn about missing return
3208 statement with -Wreturn-type.
3209
70da1d03
JH
3210Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
3211
3212 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
3213
3214 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
3215 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
3216
38c1593d
JH
3217Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
3218
3219 * basic-block.h (BB_REACHABLE): Renumber.
3220 (BB_DIRTY, BB_NEW): New flags.
3221 (clear_bb_flags): Declare.
3222 (update_life_info_in_dirty_blocks): Declare.
3223 * cfg.c (clear_bb_flags): New function.
3224 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
3225 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
3226 reorder_insns, emit_insn_after): Mark block as dirty.
3227 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
3228 (update_life_info_in_dirty_blocks): New function.
3229 * recog.c (apply_change_group): Dirtify block.
3230
3231 * cse.c (cse_insn): Reorder emitting of jump insn to keep
3232 cfg consistent.
3233 * gcse.c (delete_null_pointer_checks): Likewise.
3234
3235 * toplev.c (dump_file_index): Move cse2 after bp,
3236 add DFI_null
3237 (dump_file_info): Similary.
3238 (rest_of_compilation): Avoid most of CFG rebuilds;
3239 do first if converision after null pointer checks, do cse2
3240 after branch prediction; avoid full liveness rebuild after
3241 initializing subregs.
3242 * invoke.texi (-d options): Document -du, renumber.
3243
3244 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
3245 (notice_new_block): Do not set BB_UPDATE_LIFE.
3246 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
3247 merge_blocks_move_successor_nojumps, merge_blocks,
3248 try_crossjump_to_edge): Likewise.
3249 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
3250 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
3251 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
3252 (merge_of_block): Do not use life_data_ok.
3253 (find_if_case_1): Do not use SET_UPDATE_LIFE.
3254 (if_convert): Use BB_DIRTY mechanizm to update life.
3255 * lcm.c (optimize_mode_switching): Update
3256 update_life_info_in_dirty_blocks
3257
63e1b1c4
NB
32582002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
3259
3260 * Makefile.in (integrate.o): Update.
3261 * c-decl.c (copy_lang_decl): Rename.
3262 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
3263 * integrate.c: Include langhooks.h.
3264 (copy_decl_for_inlining): Update to use langhook.
3265 * langhooks-def.h (lhd_do_nothing_t,
3266 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
3267 (LANG_HOOKS_INITIALIZER): Update.
3268 * langhooks.c (lhd_do_nothing_t): New.
3269 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
3270 * tree.h (copy_lang_decl): Remove.
3271objc:
3272 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
3273
f472fa29
AM
32742002-02-27 Andrew MacLeod <amacleod@redhat.com>
3275
ba31d94e 3276 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
f472fa29
AM
3277 POST_DEC, and POST_MODIFY.
3278
273cf2e4
ZW
32792002-02-27 Zack Weinberg <zack@codesourcery.com>
3280
3281 * c-typeck.c (digest_init): Remove unused parameter; all
3282 callers changed.
3283
4e07d762
GK
32842002-02-27 Geoffrey Keating <geoffk@redhat.com>
3285
3286 * expmed.c (expand_shift): Correctly test for low part of a
3287 subreg.
3288
6bc627b3
UW
32892002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
3290
3291 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
3292 insn UIDs with insn addresses.
3293
f458d1d5
ZW
32942002-02-27 Zack Weinberg <zack@codesourcery.com>
3295
3296 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
3297 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
3298 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
3299 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
3300 gcc.c, toplev.c: Delete code implementing -traditional mode.
3301
3302 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
3303 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
3304 Document removal of -traditional mode for compilation, and
3305 remove documentation only relevant to that mode.
3306
3307 * config/nextstep.h, config/ptx4.h, config/svr4.h,
3308 config/convex/convex.h, config/d30v/d30v.h,
3309 config/i386/dgux.h, config/i386/osf1elf.h,
3310 config/i386/osfelf.h, config/i386/osfrose.h,
3311 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
3312 config/m68k/hp310.h, config/m88k/dgux.h,
3313 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
3314 config/m88k/m88k.h, config/m88k/openbsd.h,
3315 config/mips/abi64.h, config/mips/osfrose.h,
3316 config/mips/svr4-5.h, config/mips/svr4-t.h,
3317 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
3318 config/stormy16/stormy16.h: Remove all references to
3319 -traditional from target specs. Delete all mention of the
3320 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
3321 delete a couple of commented-out definitions of
3322 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
3323 to -traditional.
3324
3325 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
3326 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
3327
e0b3a8ff
ZW
33282002-02-27 Zack Weinberg <zack@codesourcery.com>
3329
3330 * mklibgcc.in: Don't use \n in a line subject to
3331 interpretation by echo.
3332
5c6a85b7
GS
33332002-02-27 Graham Stott <grahams@redhat.com>
3334
72b05af1
GS
3335 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
3336 Constify NAME.
3337
7d104885
GS
3338 * loop.c (prescan_loop): Handle PARALLEL.
3339
8ed805d2
GS
3340 * unroll.c (loop_iterations): Return 0 if the add_val for
3341 a BIV is REG.
3342
fd478a0a
GS
3343 * final.c (output_operand_lossage): Constify PFX_STR.
3344
5c6a85b7
GS
3345 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
3346
cd98ad03
JH
3347Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
3348
3349 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
3350 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
3351
639ae55b
JH
3352Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
3353
3354 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
3355
e808ec9c
NB
33562002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
3357
3358 * cpplex.c (_cpp_lex_token): Handle directives in macro
3359 arguments.
3360 * cpplib.c (_cpp_handle_directive): Save and restore state
3361 if parsing macro args when entering a directive.
3362 * cppmacro.c (collect_args): No need to handle directives
3363 in macro arguments.
3364 (enter_macro_context, replace_args): Use the original macro
3365 definition in case it was redefined whilst collecting arguments.
3366doc:
3367 * cpp.texi: Update.
3368
f585a356
DE
33692002-02-26 David Edelsohn <edelsohn@gnu.org>
3370
3371 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
3372 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
3373 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
3374 method on AIX.
3375 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
3376 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
3377 (load_toc_v4_PIC_2): Same.
3378
33792002-02-26 Alan Modra <amodra@bigpond.net.au>
3380
3381 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
3382
d699058e
RH
33832002-02-26 Richard Henderson <rth@redhat.com>
3384
3385 * config/alpha/alpha.md (ashldi_se): Re-enable.
3386
eadccfbb
RH
33872002-02-26 Richard Henderson <rth@redhat.com>
3388
3389 * config/alpha/alpha.c (alpha_encode_section_info): Examine
3390 MODULE_LOCAL_P; improve commentary.
3391
7080ada1
ZW
33922002-02-26 Zack Weinberg <zack@codesourcery.com>
3393
3394 * doc/cpp.texi: Clarify documentation of relationship between
3395 #line and #include.
3396
b42cff6b
KH
33972002-02-26 Kazu Hirata <kazu@hxi.com>
3398
3399 * config/h8300/h8300-protos.h: Update the prototype for
3400 compute_logical_op_length. Add the prototype for
3401 compute_logical_op_cc.
3402 * config/h8300/h8300.c (compute_logical_op_length): Figure out
3403 code from operands.
3404 (compute_logical_op_cc): New.
3405 * config/h8300/h8300.md: Combine all the logical op patterns
3406 in HImode and SImode. Use compute_logical_op_cc.
3407
831c4e87
KC
34082002-02-26 Kelley Cook <kelleycook@comcast.net>
3409
3410 * config/i386/i386.c (print_operand): Don't append ATT-style
3411 length suffixs to x87 opcodes when in Intel mode.
3412
ff88fe10
RS
34132002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
3414
3415 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
3416 (init_emit_once): Update calls.
3417 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
3418 (init_syntax_once): Prototype.
3419
d4108589
JDA
34202002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
3421
3422 * pa-linux.h (LIB_SPEC): Update definition.
3423 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
3424
e013f3c7
RH
34252002-02-26 Richard Henderson <rth@redhat.com>
3426
3427 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
3428 if we emitted a stop bit.
3429
9e944a16
JJ
34302002-02-26 Jakub Jelinek <jakub@redhat.com>
3431
3432 * configure.in (libgcc_visibility): Substitute.
3433 * configure: Rebuilt.
3434 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
3435 defined symbols .hidden.
3436
47bd70b5
JJ
34372002-02-26 Jakub Jelinek <jakub@redhat.com>
3438
3439 * attribs.c (c_common_attribute_table): Add visibility.
3440 (handle_visibility_attribute): New function.
3441 * varasm.c (assemble_visibility): New function.
3442 * output.h (assemble_visibility): Add prototype.
3443 * tree.h (MODULE_LOCAL_P): Define.
3444 * crtstuff.c (__dso_handle): Use visibility attribute.
3445 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
3446 for MODULE_LOCAL_P symbols too.
3447 * config/ia64/ia64.c (ia64_encode_section_info): Handle
3448 MODULE_LOCAL_P symbols the same way as local symbols.
3449 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
3450 into .sdata/.sbss by the user.
3451 * doc/extend.texi (Function Attributes): Document visibility
3452 attribute.
3453
6d73371a
JJ
34542002-02-26 Jakub Jelinek <jakub@redhat.com>
3455
3456 PR debug/5770
3457 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
3458 STRING_CST initializer spanning the whole variable without
3459 embedded zeros.
3460 If expand_expr returned MEM, don't use it.
3461
06e224f7
AO
34622002-02-26 Alexandre Oliva <aoliva@redhat.com>
3463
3464 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
3465 generate a die for the lexical block.
3466
40367e2d
KH
34672002-02-26 Kazu Hirata <kazu@hxi.com>
3468
3469 * config/h8300/h8300-protos.h: Add a prototype for
3470 compute_logical_op_length.
3471 * config/h8300/h8300.c (compute_logical_op_length): New.
3472 * config/h8300/h8300.md (anonymous logical patterns): Use
3473 compute_logical_op_length for length.
3474
0e98f924
AH
34752002-02-26 Aldy Hernandez <aldyh@redhat.com>
3476
831c4e87
KC
3477 * dwarf2out.c (modified_type_die): Do not call type_main_variant
3478 for vectors.
3479 (gen_type_die): Same.
0e98f924 3480
831c4e87 3481 * attribs.c (handle_vector_size_attribute): Set debug information.
0e98f924 3482
a50cfd52
DE
34832002-02-26 Daniel Egger <degger@fhm.edu>
3484
831c4e87
KC
3485 * config/rs6000/rs6000.md: Swap define_insn attributes to
3486 fix incorrect generation of merge high instructions instead
3487 of merge low.
a50cfd52 3488
b7997284
AH
34892002-02-26 Aldy Hernandez <aldyh@redhat.com>
3490
831c4e87
KC
3491 * c-typeck.c (really_start_incremental_init): Use
3492 bitsize_zero_node for vectors.
b7997284 3493
376aec5d
AH
34942002-02-26 Aldy Hernandez <aldyh@redhat.com>
3495
831c4e87
KC
3496 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
3497 ("*set_vrsave_internal"): Same.
376aec5d 3498
3b40e71b
RH
34992002-02-25 Richard Henderson <rth@redhat.com>
3500
3501 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
3502 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
3503
232b8f52
JJ
35042002-02-25 Jakub Jelinek <jakub@redhat.com>
3505
3506 PR target/5755
3507 * config/i386/i386.c (ix86_return_pops_args): Only pop
3508 fake structure return argument if it was passed on the stack.
3509
67282790
JM
35102002-02-25 Jason Merrill <jason@redhat.com>
3511
3512 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
3513 RESULT_DECL.
3514
5c181756
AO
35152002-02-25 Alexandre Oliva <aoliva@redhat.com>
3516
3517 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
3518 link with shared_name only.
3519 * doc/invoke.texi (Link Options): Document new behavior.
3520
6786d201
AH
35212002-02-25 Aldy Hernandez <aldyh@redhat.com>
3522
831c4e87 3523 * c-typeck.c (push_init_level): Handle vectors.
6786d201 3524
7d6040e8
AO
35252002-02-25 Alexandre Oliva <aoliva@redhat.com>
3526
3527 * config/sparc/sparc.c (const64_high_operand): Zero-extend
3528 operands of SPARC_SETHI_P.
3529 (input_operand): Likewise.
3530 (sparc_emit_set_const32): Likewise.
3531 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
3532 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
3533 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
3534 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
3535 (movdi_insn_sp64_vis): Likewise.
3536 (movdi split, movdf split): Use SETHI32.
3537 * doc/md.texi: Document SPARC constraints L, M and N.
3538
b188f760
AH
35392002-02-25 Aldy Hernandez <aldyh@redhat.com>
3540
831c4e87
KC
3541 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
3542 ("*set_vrsave_internal"): use mfspr for Darwin.
b188f760 3543
831c4e87
KC
3544 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
3545 gen_get_vrsave_internal.
b188f760 3546
8041889f
RK
3547Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3548
3549 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
3550
a47ed310
NB
35512002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
3552
3553 * cpplex.c (cpp_interpret_charconst): Get signedness or
3554 otherwise of wide character constants correct.
3555 * cppexp.c (lex): Get signedness of wide charconsts correct.
3556
cb8f73be
RK
3557Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3558
3559 * optabs.c (widen_operand): Only call convert_modes for
3560 promoted SUBREG if signedness matches.
3561 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
3562
2450e0b8
NB
35632002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
3564
3565 * cpplib.c (glue_header_name): Use local buffer to build up
3566 header name.
3567
70b6aaed
NB
35682002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
3569
3570 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
3571
6be580c7
KH
35722002-02-23 Kazu Hirata <kazu@hxi.com>
3573
3574 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
3575 H8/300[HS] separately.
3576 * config/h8300/h8300.md: Remove the early clobber constraint
3577 from bit field patterns.
3578
35dad9f1
KH
35792002-02-23 Kazu Hirata <kazu@hxi.com>
3580
3581 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
3582 register_operand.
3583 (mulhisi3): Likewise.
3584 (umulqisi3): Likewise.
3585 (umulhisi3): Likewise.
3586
ab8e2228
NB
35872002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
3588
3589 * cppinit.c (output_deps): Correct test for stdout output.
3590 (init_dependency_output): Cure warning.
3591
ac6f8a15
RK
3592Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3593
3594 * expr.c (store_expr): When converting expression to promoted
3595 equivalent type, allow using SUBREG_REG of TARGET as the target
3596 of the expansion of EXP.
3597 * loop.c (basic_induction_var, case SUBREG): Always look inside.
3598 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
3599 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
3600 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
3601 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
3602
f282ffb3
JM
36032002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
3604
3605 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
3606 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
3607 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
3608
44c5edc0
JJ
36092002-02-23 Jakub Jelinek <jakub@redhat.com>
3610
3611 PR optimization/5747
3612 * loop.c (scan_loop): Update reg info if move_movables created new
3613 pseudos.
3614
f98e43c0
DE
36152002-02-23 David Edelsohn <edelsohn@gnu.org>
3616
3617 * gcc.c (init_gcc_spec): Revert last change.
3618
e72247f4
DE
36192002-02-23 David Edelsohn <edelsohn@gnu.org>
3620
3621 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
3622 gpc_reg_operand constraint.
3623
36242002-02-23 Alan Modra <amodra@bigpond.net.au>
3625
3626 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
3627 Simplify comparison of `low'.
3628 (add_operand): Fix formatting.
3629 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
57deb3a1 3630 (mask_operand): Disallow mask to wrap in 64-bit mode.
e72247f4
DE
3631 (rs6000_stack_info): Remove redundant test setting push_p.
3632 (output_toc): Fix formatting.
3633 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
3634 cc_reg_not_cr0_operand constraint.
3635 (booldi3, boolcdi3 splitters): Same.
3636
a5c30531
AH
36372002-02-23 Aldy Hernandez <aldyh@redhat.com>
3638
831c4e87 3639 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
a5c30531 3640
43710f9f
DE
36412002-02-22 David Edelsohn <edelsohn@gnu.org>
3642
3643 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
3644 gcc invoked with -shared-libgcc.
3645
3256b817
JJ
36462002-02-22 Jakub Jelinek <jakub@redhat.com>
3647
3648 PR c++/5748
3649 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
3650 decl if any of elements was TREE_USED.
3651
9e0625a3
AO
36522002-02-22 Alexandre Oliva <aoliva@redhat.com>
3653
3654 * config/sparc/sol2.h: Don't include sys/mman.h.
3655 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
3656 (arith_4096_operand): Don't throw high bits away.
3657 (const64_operand): Take sign extension of CONST_INTs into account.
3658 (const64_high_operand, sparc_emit_set_const32): Likewise.
3659 (GEN_HIGHINT64): Likewise.
3660 (sparc_emit_set_const64_quick1): Likewise.
3661 (const64_is_2insns): Likewise.
3662 (print_operand): Use trunc_int_for_mode for sign extension.
3663 * config/sparc/sparc.h (SMALL_INT32): Likewise.
3664 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
3665 chars. Assume CONST_INT is already properly sign-extended.
3666 (movdi split): Sign-extend each SImode part.
3667 (andsi3 split): Don't mask high bits off, so that result
3668 remains properly sign-extend.
3669 (iorsi3 split): Likewise.
3670 (xorsi3 split): Likewise.
3671
54fec3d5
RS
36722002-02-22 Richard Sandiford <rsandifo@redhat.com>
3673
3674 * fold-const.c (fold): Fix typo in comments.
3675
667ada9b
DN
36762002-02-21 Diego Novillo <dnovillo@redhat.com>
3677
3678 * Makefile.in (langhooks.o): Update dependencies.
3679
29ac78d5
DN
36802002-02-21 Diego Novillo <dnovillo@redhat.com>
3681
3682 * langhooks.c: Include flags.h.
3683
6aa77e6c
AH
36842002-02-21 Aldy Hernandez <aldyh@redhat.com>
3685
3686 * testsuite/gcc.dg/attr-alwaysinline.c: New.
3687
3688 * c-common.c (c_common_post_options): Set inline trees by
3689 default.
3690
3691 * doc/extend.texi (Function Attributes): Document always_inline
3692 attribute.
3693 Update documentation about inlining when not optimizing.
3694
3695 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
3696
3697 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
3698 unless DECL_ALWAYS_INLINE.
3699
3700 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
3701 unless DECL_ALWAYS_INLINE.
3702 (c_disregard_inline_limits): Disregard if always_inline set.
3703
3704 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
3705 Disregard if always_inline set.
3706 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
3707 unless DECL_ALWAYS_INLINE.
3708
3709 * attribs.c (handle_always_inline_attribute): New.
3710 (c_common_attribute_table): Add always_inline.
3711
3712 * config/rs6000/altivec.h: Add prototypes for builtins
3713 requiring the always_inline attribute.
3714
c410d49e
EC
37152002-02-21 Eric Christopher <echristo@redhat.com>
3716
3717 * expmed.c (store_bit_field): Try to simplify the subreg
3718 before generating a new one when when the mode size of
3719 value is less than maxmode.
3720
e3c8ea67
RH
37212002-02-21 Richard Henderson <rth@redhat.com>
3722
3723 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
3724 than gen_rtx_PLUS to form the sum.
3725 * explow.c (force_reg): Rearrange to not allocate new pseudo
3726 when force_operand returns a register.
3727 * expr.c (expand_assignment): Allow offset_rtx expansion to
3728 return a sum. Do not force addresses into registers.
3729 (expand_expr): Likewise.
3730 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
3731 to canonicalize arithmetic that didn't simpify.
3732 (simplify_plus_minus): New argument force; update
3733 all callers. Don't split CONST unless we can do something with it,
3734 and wouldn't lose the constness of the operands.
3735
3736 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
3737 that we generated earlier.
3738
c1a046e5
TT
37392002-02-21 Tom Tromey <tromey@redhat.com>
3740
3741 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
3742 (output_line_info): Use constant `1', with a long explanatory
3743 comment.
3744 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
3745
31fbaad4
R
3746Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
3747
3748 * jump.c (redirect_jump): If old label has no UID, don't try to
3749 delete it.
3750
a7f52356
R
3751Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
3752
3753 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
3754 If input is constant, do shifts at compile time.
3755
924fcc4e
JM
37562002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
3757
3758 * doc/extend.texi: Fix some more overfull hboxes.
3759
e5a20888
JJ
37602002-02-21 Jakub Jelinek <jakub@redhat.com>
3761
3762 PR optimization/4994
3763 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
3764 register moves.
3765
37662002-02-21 Jakub Jelinek <jakub@redhat.com>
22273300
JJ
3767
3768 PR c++/4574
3769 * expr.h (expand_and): Add mode argument.
3770 * expmed.c (expand_and): Add mode argument.
3771 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
3772 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
3773 * except.c (expand_builtin_extract_return_addr): Likewise.
3774 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
3775 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
3776 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
3777 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
3778 * config/c4x/c4x.md: Use GEN_INT (x) instead of
3779 gen_rtx (CONST_INT, VOIDmode, x).
3780
7133e992
JJ
37812002-02-21 Jakub Jelinek <jakub@redhat.com>
3782
3783 PR c/4697:
3784 * stmt.c (warn_if_unused_value): Move side effects test once more.
3785
e2ec05a6
TG
37862002-02-20 Torbjorn Granlund <tege@swox.com>
3787
3788 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
831c4e87 3789 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
e2ec05a6 3790
9dd791c8
AO
3791Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
3792
3793 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
3794 SUBREG or ZERO_EXTEND.
3795
7ab56274
R
3796Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
3797
3798 * sh.h (current_function_anonymous_args): Remove.
3799 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
3800 of current_function_varargs and current_function_stdarg is set.
3801 * sh.c (sh_expand_prologue): Check current_function_varargs /
3802 current_function_stdarg / TARGET_SH5 instead of
3803 current_function_anonymous_args.
3804
3805 * sh64.h (TARGET_VERSION): Define.
3806
b1765bde
DE
38072002-02-20 David Edelsohn <edelsohn@gnu.org>
3808
3809 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
3810 VRSAVE_REGNO on TARGET_ALTIVEC.
3811
38122002-02-20 Alan Modra <amodra@bigpond.net.au>
3813
3814 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
3815 bits of SImode const_int.
3816 (includes_rshift_p): Likewise.
3817 (print_operand): Call mask_operand and mask64_operand with correct
c410d49e 3818 mode.
b1765bde
DE
3819 (rs6000_output_function_epilogue): Pad traceback table to word.
3820 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
3821 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
3822 mask64_operand with correct mode.
b1765bde
DE
3823 (FUNCTION_ARG_REGNO_P): Correct parentheses.
3824
149d6f9e
JJ
38252002-02-20 Jakub Jelinek <jakub@redhat.com>
3826
3827 PR debug/4461
3828 * varasm.c (get_pool_constant_mark): New.
3829 * rtl.h (get_pool_constant_mark): Add prototype.
3830 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
3831 be represented if it has not been output.
3832
4161da12
AO
38332002-02-20 Alexandre Oliva <aoliva@redhat.com>
3834
3835 * combine.c (do_SUBST): Sanity check substitutions of
3836 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
3837 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
3838 CONST_INT into its operand.
3839 (known_cond): Likewise, for ZERO_EXTEND.
3840 * simplify-rtx.c (simplify_unary_operation): Fix condition to
3841 allow for simplification of wide modes. Reject CONST_INTs in
3842 ZERO_EXTEND when their actual mode is not given.
3843
3704ef74
AO
38442002-02-20 Alexandre Oliva <aoliva@redhat.com>
3845
3846 * c-decl.c (pushdecl): If no global declaration is found for an
3847 extern declaration in block scope, try a limbo one.
3848
7552da58
JJ
38492002-02-20 Jakub Jelinek <jakub@redhat.com>
3850
3851 PR c++/4401
3852 * c-common.c (pointer_int_sum): Moved from...
3853 * c-typeck.c (pointer_int_sum): ...here.
3854 * c-common.h (pointer_int_sum): Add prototype.
3855
00fae85d
JJ
38562002-02-20 Jakub Jelinek <jakub@redhat.com>
3857
3858 PR c++/5713
3859 * c-decl.c (duplicate_decls): Return 0 if issued error about
3860 redeclaration.
3861
4636c87e
JJ
38622002-02-20 Roger Sayle <roger@eyesopen.com>
3863 Jakub Jelinek <jakub@redhat.com>
3864
3865 PR c/4389
3866 * tree.c (host_integerp): Ensure that the constant integer is
3867 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
3868 when pos is zero or non-zero respectively. Clarify comment.
3869 * c-format.c (check_format_info_recurse): Fix host_integerp
3870 usage; the pos argument should be zero when assigning to a
3871 signed HOST_WIDE_INT.
3872
59bef189
RH
38732002-02-20 Richard Henderson <rth@redhat.com>
3874
3875 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
3876 of the operand, rather than assuming TImode.
3877 (ix86_expand_binop_builtin): Cope with commutative patterns
3878 using nonimmediate_operand for both operands.
3879 (ix86_expand_timode_binop_builtin): Likewise.
3880 (ix86_expand_store_builtin): Validate operand 1.
3881 (ix86_expand_unop1_builtin): Likewise.
3882
9338ffe6 38832002-02-20 Philip Blundell <philb@gnu.org>
c410d49e 3884
9338ffe6
PB
3885 PR 5705
3886 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
3887
f322b423
RH
38882002-02-20 Richard Henderson <rth@redhat.com>
3889
3890 PR c/5615
3891 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
3892
d94084f7
TT
38932002-02-20 Tom Tromey <tromey@redhat.com>
3894
3895 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
3896 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
3897 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
3898 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
3899 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
3900 unconditionally.
3901
37fa124a
AM
3902Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
3903
3904 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
3905 for (const_int 0) in X not just INTVAL.
3906
6e5bb5ad
JM
39072002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
3908
3909 * doc/extend.texi: Avoid or reduce overfull hboxes.
3910
420e7dfa
DN
39112002-02-20 Diego Novillo <dnovillo@redhat.com>
3912
3913 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
3914 operations if the field does not start at a mode boundary.
3915
1b7a2af6
JS
39162001-02-20 Joel Sherrill <joel@OARcorp.com>
3917
3918 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
3919 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
3920 Also done for -Acpu and -Amachine.
3921
56cd5b95
NB
39222002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
3923
3924 * cppinit.c (init_dependency_output): Take deps output file
3925 from -o if none given with -MF. Suppress normal output.
c410d49e 3926 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
56cd5b95
NB
3927 * doc/cpp.texi, doc/invoke.texi: Update.
3928
042cdf71
ZW
39292002-02-19 Zack Weinberg <zack@codesourcery.com>
3930
3931 * toplev.c (output_quoted_string): Write unprintable
3932 characters with octal escapes.
3933
c1f11548
DE
39342002-02-19 David Edelsohn <edelsohn@gnu.org>
3935
3936 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
3937 really_call_used[VRSAVE_REGNO] if not Altivec.
3938
39392002-02-19 Alan Modra <amodra@bigpond.net.au>
c410d49e 3940
c1f11548
DE
3941 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
3942 MODE_MASK.
3943 (constant_pool_expr_1): Fix formatting.
3944 (rs6000_legitimize_reload_address): Likewise.
3945
c964d90e
RK
3946Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3947
3948 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
3949 now that we have one.
3950
ae34ac46
ZW
39512002-02-19 Zack Weinberg <zack@codesourcery.com>
3952
3953 * tree.h (struct tree_common): Remove aux. Add unused_0 at
3954 end of first block of bitfields (which was only seven bits);
3955 rename dummy to unused_1; remove comment which is no longer true.
3956
293c28ee
GS
39572002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
3958
3959 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
3960
7b8781c8
PB
39612002-02-19 Philip Blundell <pb@nexus.co.uk>
3962
0cb6c58d 3963 PR 5399
7b8781c8
PB
3964 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
3965 if generating PIC.
3966
3967 PR 5054
3968 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
3969 arm_is_longcall_p rather than inspecting call-type cookie
3970 directly.
3971 (call_value_insn) [TARGET_THUMB]: Likewise.
3972
5c464583
GS
39732002-02-19 Graham Stott <grahams@redhat.com>
3974
3975 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
3976
71c061e6
DE
39772002-02-19 David Edelsohn <edelsohn@gnu.org>
3978
3979 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
3980 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
6d1def5c 3981 (FP_SAVE_INLINE): Delete.
71c061e6
DE
3982
3983 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
3984 * config/rs6000/eabi.asm: Remove ABI save restore routines.
3985 * config/rs6000/t-ppccomm: Build crtsavres.o.
3986 * config/rs6000/crtsavres.asm: New file.
3987
3a7731fd
PB
39882002-02-19 Philip Blundell <philb@gnu.org>
3989
3990 * config/arm/arm.c (use_return_insn): Don't reject interrupt
3991 functions.
3992 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
3993 (output_return_instruction): Allow interrupt functions to return with
3994 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
3995 (arm_expand_prologue): Subtract 4 before stacking LR in an
3996 interrupt function.
3997
14f583b8
PB
39982002-02-19 Philip Blundell <pb@nexus.co.uk>
3999
4000 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
4001 decl, not just FUNCTION_DECL.
4002 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
4003 (arm_assemble_integer): Likewise.
4004 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
4005 marked local.
c410d49e 4006
4cb7482c
MG
40072002-02-19 matthew green <mrg@eterna.com.au>
4008
4009 * config.gcc (sparc-*-netbsdelf*): Enable target.
4010 (sparc64-*-netbsd*): New target.
4011 * config/sparc/netbsd-elf.h: New file.
4012 * config/sparc/t-netbsd64: New file.
4013
2df3a718
GS
40142002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
4015
4016 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
4017
77f6c1eb
RS
40182002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
4019
4020 * doc/invoke.texi: explicitly list the style guidelines that
4021 -Weffc++ checks for.
4022
fd973d56
JH
4023Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
4024
4025 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
4026
30518e45
NB
40272002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
4028
4029 PR other/5718
4030 * gcc.c (cpp_unique_options): Treat -o as indicating object file
4031 only if not -E. If -E, pass -o through to the preprocessor.
4032
39ea5704
KH
40332002-02-19 Kazu Hirata <kazu@hxi.com>
4034
4035 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
4036 register number with an appropriate macro.
4037
7355dba7
BM
40382002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4039
4040 * doc/rtl.texi (Constants): Close @code tag.
4041
91c8aa9e
AH
40422002-02-19 Aldy Hernandez <aldyh@redhat.com>
4043
4044 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
4045 ("mmx_uavgv4hi3"): Same.
4046 ("pmulhrwv4hi3"): Same.
4047
4048 * tree-inline.c (walk_tree): Handle vectors.
4049
4050 * c-common.c (constant_expression_warning): Handle vectors.
4051 (overflow_warning): Same.
4052
4053 * sched-deps.c (sched_analyze_2): Handle vectors.
4054
4055 * rtlanal.c (rtx_unstable_p): Handle vectors.
4056 (rtx_varies_p): Same.
4057 (count_occurrences): Same.
4058 (regs_set_between_p): Same.
4059 (modified_between_p): Same.
4060 (modified_in_p): Same.
4061 (volatile_insn_p): Same.
4062 (volatile_refs_p): Same.
4063 (side_effects_p): Same.
4064 (may_trap_p): Same.
4065 (inequality_comparisons_p): Same.
4066 (replace_regs): Same.
4067 (computed_jump_p_1): Same.
4068
4069 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
4070 argument.
4071 (inner_mode_array): New.
4072 (copy_rtx): Handle vectors.
4073 (copy_most_rtx): Same.
4074 (rtx_equal_p): Same.
4075 (get_mode_alignment): Adjust for vectors.
4076
4077 * resource.c (mark_referenced_resources): Handle vectors.
4078 (mark_set_resources): Same.
4079
4080 * reload1.c (eliminate_regs): Handle vectors.
4081 (elimination_effects): Same.
4082 (scan_paradoxical_subregs): Same.
4083
4084 * reload.c (subst_reg_equivs): Handle vectors.
4085
4086 * regrename.c (scan_rtx): Handle vectors.
4087
4088 * regclass.c (reg_scan_mark_refs): Handle vectors.
4089
4090 * recog.c (find_single_use_1): Handle vectors.
4091
4092 * local-alloc.c (equiv_init_varies_p): Handle vectors.
4093 (contains_replace_regs): Same.
4094 (memref_referenced_p): Same.
4095
4096 * integrate.c (copy_rtx_and_substitute): Handle vectors.
4097 (subst_constants): Same.
4098
4099 * genattrtab.c (attr_copy_rtx): Handle vectors.
4100 (encode_units_mask): Same.
4101 (clear_struct_flag): Same.
4102 (count_sub_rtxs): Same.
4103
4104 * gcse.c (want_to_gcse_p): Handle vectors.
4105 (oprs_unchanged_p): Same.
4106 (hash_expr_1): Same.
4107 (oprs_not_set_p): Same.
4108 (expr_killed_p): Same.
4109 (compute_transp): Same.
4110 (store_ops_ok): Same.
4111
4112 * function.c (purge_addressof_1): Do not allow paradoxical subregs
4113 of vectors.
4114 (fixup_var_refs_1): Same.
4115 (instantiate_virtual_regs_1): Same.
4116
4117 * fold-const.c (operand_equal_p): Handle vectors.
4118 (fold): Same.
4119 (rtl_expr_nonnegative_p): Same.
4120
4121 * flow.c (mark_used_regs): Handle vectors.
4122
4123 * df.c (df_uses_record): Handle vectors.
4124
4125 * cselib.c (cselib_subst_to_values): Handle vectors.
4126 (cselib_mem_conflict_p): Same.
4127 (hash_rtx): Same.
4128
4129 * cse.c (canon_reg): Handle vectors.
4130 (fold_rt): Same.
4131 (cse_process_notes): Same.
4132 (count_reg_usage): Same.
4133 (canon_hash): Same.
4134
4135 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
4136
4137 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
4138
4139 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
4140 (gen_rtx): Handle CONST_VECTOR.
4141 (gen_const_vector_0): New.
4142 (copy_rtx_if_shared): CONST_VECTORs can be shared.
4143 (reset_used_flags): Same.
4144 (copy_insn_1): Same.
4145 (initializer_constant_valid_p): Handle VECTOR_CST.
4146
4147 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
4148
4149 * doc/rtl.texi (Constants): Document const_vector.
4150 (CONST0_RTX): Update for vectors.
4151 (RTL sharing): Same.
4152
4153 * print-tree.c (print_node): Add case for VECTOR_CST.
4154
4155 * tree.h (TREE_VECTOR_CST_ELTS): New.
4156 (struct tree_vector): New.
4157 (union tree_node): Add vector node.
4158 (build_vector): Add prototype.
4159
4160 * tree.def (VECTOR_CST): New.
4161
4162 * tree.c (build_vector): New.
4163
4164 * expmed.c (make_tree): Handle CONST_VECTOR.
4165
4166 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
4167 (CONST_VECTOR_ELT): New.
4168 (CONST_VECTOR_NUNITS): New.
4169
4170 * machmode.h (GET_MODE_INNER): New.
4171 (DEF_MACHMODE): Accept 8th arg.
4172
4173 * machmode.def: Add 8th argument for vector inner mode.
4174 Add inner vector modes for vectors.
4175
4176 * rtl.def (VEC_CONST): Remove.
4177 (CONST_VECTOR): New.
4178
4179 * expr.c (clear_storage): Allow vectors.
4180 (is_zeros_p): Handle VECTOR_CST.
4181
4182 * varasm.c (output_constant_pool): Handle vectors.
4183 (rtx_const): Add veclo and vechi fields.
4184 (kind): Add RTX_VECTOR.
4185 (decode_rtx_const): Add case for vector.
4186
4187 * config/rs6000/rs6000-protos.h: Add zero_constant.
c410d49e 4188
91c8aa9e
AH
4189 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
4190 constants. Force easy vector constants into memory.
4191 (easy_vector_constant): New.
4192 (emit_easy_vector_constant): New.
4193 (rs6000_legitimize_reload_address): Do not generate bad reloads on
4194 darwin.
4195
4196 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
4197 instruction does.
4198 ("altivec_lvxl"): Same.
4199 (altivec_lvebx): Same.
4200 (altivec_lvehx): Same.
4201 (altivec_lvewx): Same.
4202 ("*movv4si_const0"): New.
4203 ("*movv4sf_const0"): New.
4204 ("*movv8hi_const0"): New.
4205 ("*movv16qi_const0"): New.
4206
d4d6d0ce
KH
42072002-02-18 Kazu Hirata <kazu@hxi.com>
4208
4209 * config/h8300/h8300.c (notice_update_cc): Use
4210 cc_status.value2.
4211
4915d3aa
KH
42122002-02-18 Kazu Hirata <kazu@hxi.com>
4213
4214 * config/h8300/h8300.md (divmod patterns): Change the
4215 constraints for operands[1] to register_operand.
4216
82be00ee
KH
42172002-02-18 Kazu Hirata <kazu@hxi.com>
4218
4219 * config/h8300/h8300-protos.h: Remove the prototype for
4220 p_operand.
4221 * config/h8300/h8300.c (p_operand): Remove.
4222 * config/h8300/h8300.md: Replace p_operand with
4223 const_int_operand.
4224
1768c26f
PB
42252002-02-18 Philip Blundell <pb@nexus.co.uk>
4226
4227 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
4228 comment.
4229 (output_return_instruction): Allow use of LDR to unstack
4230 return addresss even for interrupt handlers or when
4231 interworking. If compiling for ARMv5, use interworking-safe
4232 return instructions by default. Remove duplicated code and
4233 lengthy "strcat" sequences.
4234
ccd84f51
FS
42352002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4236
4237 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
4238 (LINK_EH_SPEC): Define.
4239 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
4240
2c153108
UW
42412002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
4242
4243 * config/s390/s390.c (s390_emit_prologue): Do not set the
4244 frame_related flag for call-clobbered registers.
4245
e95d6b23
JH
4246Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
4247
4248 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
4249 (construct_container): Fix handling of SSE operands.
4250 (ix86_expand_builtin): Fix handling of 64bit pointers.
4251 (mmx_maskmovq_rex): New pattern.
4252
c43a12b5
JH
4253Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
4254
4255 * regrename.c (kill_set_value): Handle subregs properly.
4256
aeb85a15
DB
42572002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
4258
4259 * objc/objc-act.c (handle_impent): Remove leading '*'
c410d49e 4260 from objc_class_name.
aeb85a15 4261
a615ca3e
RH
42622002-02-17 Richard Henderson <rth@redhat.com>
4263
4264 * config/alpha/alpha.c (some_small_symbolic_operand,
4265 some_small_symbolic_operand_1, split_small_symbolic_operand,
4266 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
4267 Handle small SYMBOL_REFs anywhere, not just inside memories.
4268 * config/alpha/alpha-protos.h: Update.
4269 * config/alpha/alpha.h (PREDICATE_CODES): Update.
4270 * config/alpha/alpha.md (small symbolic operand splitter): Update.
4271
ddb28441
RM
42722002-02-17 Roland McGrath <roland@frob.com>
4273
4274 * config.gcc (powerpc-*-gnu-gnualtivec*,
4275 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
4276 * config/rs6000/gnu.h: New file.
4277 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
4278 Grok "gnu" in rs6000_abi_name.
4279 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
4280 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
4281 Grok -mcall-gnu analogous to -mcall-linux et al.
4282 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
4283 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
4284 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
4285
f6f8ada3
JJ
42862002-02-17 Jakub Jelinek <jakub@redhat.com>
4287
4288 PR c/3444:
4289 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
4290 shortening.
4291
e16b32fc
PT
42922002-02-17 Philipp Thomas <pthomas@suse.de>
4293
4294 * config/cris/cris.h: Undefine STARTFILE_SPEC and
4295 ENDFILE_SPEC before (re)defining them.
4296
f9477efd
KH
42972002-02-17 Kazu Hirata <kazu@hxi.com>
4298
4299 * config/h8300/h8300.c: Fix formatting.
4300 * config/h8300/h8300.h: Likewise.
4301
404ae494
PT
43022002-02-17 Philipp Thomas <pthomas@suse.de>
4303
4304 * doc/tm.texi: Explain why empty strings should not be
4305 marked for translation.
4306
a52453cc
PT
43072002-02-17 Philipp Thomas <pthomas@suse.de>
4308
4309 * final.c (output_operand_lossage): Changed to accept
4310 printf style arguments. Change calls where necessary.
4311 * output.h (output_operand_lossage): Change declaration
4312 accordingly. Update copyright.
4313 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
4314 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
4315 Update copyright date where necessary.
c410d49e 4316
a52453cc
PT
4317 * config/i386/i386.c (print_operand): Likewise. Remove use of
4318 sprintf.
4319
4320 * config/cris/cris.c (cris_operand_lossage): Likewise.
4321 Rename parameter so that exgettext recognizes it as
4322 translatable message.
4323 (LOSE_AND_RETURN): Rename parameter to msgid.
4324
1c11abc4
KH
43252002-02-17 Kazu Hirata <kazu@hxi.com>
4326
4327 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
4328 hard coded register number with an appropriate macro.
4329 (HARD_REGNO_MODE_OK): Likewise.
4330 (ARG_POINTER_REGNUM): Likewise.
4331 (STATIC_CHAIN_REGNUM): Likewise.
4332 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
4333 * config/h8300/h8300.md (define_constants): Define more
4334 register numbers.
4335
a5d17ff3
PT
43362002-02-17 Philipp Thomas <pthomas@suse.de>
4337
4338 * config/i386/i386.h: Don't mark empty strings for translation.
4339
1a7289c4
L
43402002-02-16 H.J. Lu <hjl@gnu.org>
4341
4342 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
4343
afb58288
ZW
43442002-02-16 Zack Weinberg <zack@codesourcery.com>
4345
4346 * cppinit.c (merge_include_chains): Check for brack being
4347 NULL before attempting to merge it with qtail.
4348
d2af4dbd
AC
43492002-02-16 Andrew Cagney <ac131313@redhat.com>
4350
4351 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
4352 DBX_DEBUG.
4353
2e1ed1e3
JDA
43542002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
4355
4356 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
4357
604c75b2
JDA
43582002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
4359
4360 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
4361 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
4362 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
4363
1a42b072
RK
4364Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4365
7303604f 4366 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
1a42b072
RK
4367 now only if !TARGET_FIX.
4368 (*movsi_nt_vms_fix): New pattern.
4369
c2ea1ac6
DR
43702002-02-16 Douglas B Rupp <rupp@gnat.com>
4371
4372 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
4373 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
4374 (alpha_sa_mask, alpha_sa_size): Reflect above change.
4375 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
4376 (alpha_start_function, alpha_expand_epilogue): Likewise.
4377 (unicosmk_gen_dsib): Likewise.
4378
725e58b1
RK
4379Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4380
4381 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
4382
13e58269
UW
43832002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
4384
c410d49e 4385 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
13e58269
UW
4386 check_and_change_labels, s390_final_chunkify): Delete.
4387 (s390_split_branches, s390_chunkify_pool): New functions.
4388 (s390_function_prologue): Call them.
c410d49e 4389
13e58269
UW
4390 * config/s390/s390.h (S390_REL_MAX): Delete.
4391 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
4392
c410d49e 4393 * config/s390/s390.md (cjump, icjump, jump): Fix length
13e58269
UW
4394 attribute calculation.
4395
4396
34d1b01d
DE
43972002-02-15 David Edelsohn <edelsohn@gnu.org>
4398
4399 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
4400 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
4401
be5cc51a
JDA
44022002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4403
4404 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
4405 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
4406 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
4407
ee96ce90
RS
44082002-02-15 Richard Sandiford <rsandifo@redhat.com>
4409
4410 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
4411
05fa709d
RS
44122002-02-15 Richard Sandiford <rsandifo@redhat.com>
4413
4414 * reload.c (find_dummy_reload): Check that an output register
4415 is valid for its mode.
4416
4606272b
AO
44172002-02-14 Alexandre Oliva <aoliva@redhat.com>
4418
9a360704
AO
4419 * combine.c (known_cond): After replacing the REG of a SUBREG, try
4420 to simplify it.
4421
4606272b
AO
4422 * function.c (assign_parms): Demote promoted argument passed by
4423 transparent reference.
4424
e62d89a1
JS
44252001-02-14 Joel Sherrill <joel@OARcorp.com>
4426
4427 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
4428 -Acpu() and -Amachine() to eliminate warnings.
4429
6c4cf695
UW
44302002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
4431
4432 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
4433
037f11ef
KH
44342002-02-14 Kazu Hirata <kazu@hxi.com>
4435
4436 * config/h8300/h8300-protos.h: Update the prototype for
4437 const_costs.
4438 * config/h8300/h8300.c (const_costs): Treat SET as a little
4439 more expensive operation.
4440 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
4441 reference to const_costs.
4442
fdc76b09
HPN
44432002-02-14 Hans-Peter Nilsson <hp@axis.com>
4444
4445 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
4446
d76e6800
JJ
44472002-02-14 Jakub Jelinek <jakub@redhat.com>
4448
4449 PR c/5503:
4450 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
4451 use arguments from newtype.
4452
5ae590d7
EC
44532002-02-13 Eric Christopher <echristo@redhat.com>
4454
4455 * config/mips/mips.c (override_options): Add check for march/mipsX
4456 on the same command line. Fix error message in cpu processing.
4457 Remove architecture and ISA checks.
4458
b8513691
AH
44592002-02-14 Aldy Hernandez <aldyh@redhat.com>
4460
831c4e87 4461 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
b8513691 4462
831c4e87 4463 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
b8513691 4464
78c875e8
AH
44652002-02-14 Aldy Hernandez <aldyh@redhat.com>
4466
831c4e87
KC
4467 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
4468 alternatives.
4469 ("*movv8hi_internal1"): Same.
4470 ("*movv16qi_internal1"): Same.
4471 ("*movv4sf_internal1"): Same.
78c875e8 4472
831c4e87
KC
4473 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
4474 not push_reload for altivec modes.
78c875e8 4475
d76e6800 44762002-02-13 Joel Sherrill <joel@OARcorp.com>
f22b4bc4
JS
4477
4478 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
4479 all RTEMS targets including removal of #includes from config/*/rtems*.h
4480 file and adding them to tm_file setting. Added xm_defines=POSIX to
4481 many targets.
4482 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
4483 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
4484 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
4485 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
4486 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
4487 config/m68k/rtemself.h: Ditto.
4488 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
4489 config/mips/rtems64.h: Ditto.
4490 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
4491 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
4492 Ditto.
4493 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
4494 config/sparc/rtemself.h: Ditto.
4495 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
4496 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
4497 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
4498 more like arm-elf.
4499 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
4500 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
4501 target made more similar to i386-elf.
4502 * config/i386/t-rtems-i386: Added soft float support and multilibs.
4503 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
4504 be similar to config/m68k/t-m68kelf.
4505 * gthr-rtems.h: Encapsulate with extern "C" for C++.
4506
8686336f
JH
4507Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
4508
4509 * regmove.c (kill_value): Handle subregs.
4510
558740bf
JH
4511Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
4512
4513 * i386.md (mul patterns): Allow memory operand to be first;
4514 add expanders where needed; fix constraints.
4515 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
4516 Allow memory operand to be the first.
4517
4518 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
4519 operands.
4520
21117a17
JJ
45212002-02-13 Jakub Jelinek <jakub@redhat.com>
4522
4523 PR c/5681:
4524 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
4525 GET_MODE (x).
4526
ec65b2e3
JJ
45272002-02-13 Jakub Jelinek <jakub@redhat.com>
4528
4529 PR optimization/5547:
4530 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
4531 all valid IA-32 address modes involving non-scaled %ebx and
4532 GOT/GOTOFF as displacement.
4533
ce50cae8
UW
45342002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
4535
4536 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
4537 after emitting ltorg insns.
4538
4539 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
4540 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
4541 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
4542 *abssf2): Fix "op_type" attribute.
4543
09eb789b
DR
45442002-02-13 Douglas B Rupp <rupp@gnat.com>
4545
2dbe67bb
DR
4546 * mkconfig.sh: Avoid using a subshell redirect.
4547 ($output.T): Change to $(output)T.
4548 (ENABLE_NLS): Remove unneeded undef.
4549
ea5b9a1f
DR
4550 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
4551 * config/alpha/x-vms (libsubdir): Define.
4552
3deb00ce
DR
4553 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
4554 register frame procedures. Optimize retrieving context.
4555
09eb789b
DR
4556 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
4557 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
4558 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
4559
1abade85
RK
4560Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4561
4562 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
4563 Make same change as for find_base_value.
4564
c283e63f
KH
45652002-02-13 Kazu Hirata <kazu@hxi.com>
4566
4567 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
4568 of QImode and SImode.
4569
86039100
KH
45702002-02-13 Kazu Hirata <kazu@hxi.com>
4571
4572 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
4573 length computation of movsi.
4574 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
4575
e1429da0
KH
45762002-02-13 Kazu Hirata <kazu@hxi.com>
4577
4578 * config/h8300/h8300.md (subqi3): Tighten the predicate for
4579 operands[2] to register_operand.
4580
aebfea10
JH
4581Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
4582
4583 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
4584
0ec4e2a8
AH
45852002-02-12 Aldy Hernandez <aldyh@redhat.com>
4586
831c4e87
KC
4587 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
4588 for altivec_lvx* and altivec_stvx*.
4589 ("*movv4si_internal"): Add constraint for loading from GPRs.
4590 ("*movv8hi_internal1"): Same.
4591 ("*movv16qi_internal1"): Same.
4592 ("*movv4sf_internal1"): Same.
0ec4e2a8 4593
831c4e87 4594 * config/rs6000/rs6000.c (altivec_register_operand): New.
0ec4e2a8 4595
831c4e87
KC
4596 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
4597 altivec_register_operand.
0ec4e2a8 4598
b007569d
HPN
45992002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
4600
4601 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
4602 handle SYMBOL_REF.
4603
e6834654
SS
46042002-02-13 Stan Shebs <shebs@apple.com>
4605
831c4e87
KC
4606 * c-typeck.c (digest_init): Handle vectors.
4607 (really_start_incremental_init): Same.
4608 (pop_init_level): Same.
4609 (process_init_element): Same.
e6834654 4610
831c4e87 4611 * varasm.c (output_constant): Same.
e6834654 4612
831c4e87
KC
4613 * expr.c (clear_storage): Same.
4614 (store_constructor): Same.
e6834654 4615
d9b3eb63
EC
46162002-02-12 Eric Christopher <echristo@redhat.com>
4617
4618 * explow.c (hard_function_value): Add comment explaining
4619 signed/unsigned comparison.
4620
56d44285
JJ
46212002-02-12 Jakub Jelinek <jakub@redhat.com>
4622
4623 * jump.c (never_reached_warning): Add finish argument.
4624 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
4625 real insn after end.
4626 * rtl.h (never_reached_warning): Adjust prototype.
4627 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
4628 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
4629 never_reached_warning.
4630
fc209487
GS
46312002-02-12 Graham Stott <grahams@redhat.com>
4632
4633 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
4634
1e41e866
KH
46352002-02-12 Kazu Hirata <kazu@hxi.com>
4636
4637 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
4638 logical shifts on H8/300.
4639 (shift_alg_si): Improve several shifts on H8/300.
4640 (get_shift_alg): Likewise.
4641
a36a47ad
GS
46422002-02-12 Graham Stott <grahams@redhat.com>
4643
4644 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
4645
0aacc8ed
RK
4646Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4647
4648 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
4649 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
4650
a02ac966
HPN
46512002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
4652
4653 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
4654 non-CONST_INT through default_assemble_integer.
4655 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
4656 <case 8>: Abort for CONST_DOUBLE.
4657
d6e06ddc
JDA
46582002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
4659
4660 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
4661 is specified.
4662 * config/pa/pa-linux.h (LIB_SPEC): Delete.
4663 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
4664
515342a8
AH
46652002-02-11 Andrew Haley <aph@cambridge.redhat.com>
4666
4667 * config/stormy16/stormy16.md (zero_extendqihi2): New.
4668
cddd8b72
AO
46692002-02-11 Alexandre Oliva <aoliva@redhat.com>
4670
66df7a98
AO
4671 * regrename.c (regrename_optimize): Don't accept a
4672 part-clobbered register if the replaced register is not part
4673 clobbered.
4674
841404cd
AO
4675 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
4676 take padding into account when computing the argument value.
4677
1d1ade42
AO
4678 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
4679
cddd8b72
AO
4680 * combine.c (try_combine): Apply substitutions in
4681 CALL_INSN_FUNCTION_USAGE too.
4682
5c665b88
AH
46832002-02-11 Aldy Hernandez <aldyh@redhat.com>
4684
77f6c1eb
RS
4685 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
4686 __builtin_altivec_abs*.
4687 (bdesc_abs): New.
5c665b88 4688
77f6c1eb
RS
4689 * config/rs6000/rs6000.h (rs6000_builtins): Add
4690 ALTIVEC_BUILTIN_ABS*.
5c665b88 4691
77f6c1eb
RS
4692 * config/rs6000/altivec.h: Use const char for builtins expecting
4693 literals.
4694 (vec_abs): New versions for C and C++.
4695 (vec_abss): Same.
5c665b88 4696
3494f1b4
KH
46972002-02-10 Kazu Hirata <kazu@hxi.com>
4698
4699 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
4700 using Pmode.
4701
72431aef
KH
47022002-02-10 Kazu Hirata <kazu@hxi.com>
4703
4704 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
4705 constant definition from h8300.md.
4706 (FRAME_POINTER_REGNUM): Likewise.
4707 * config/h8300/h8300.md (define_constants): Add FP_REG.
4708
87e4ee91
KH
47092002-02-10 Kazu Hirata <kazu@hxi.com>
4710
4711 * config/h8300/h8300.c (print_operand): Remove redundant code.
4712
9c188705
KH
47132002-02-10 Kazu Hirata <kazu@hxi.com>
4714
4715 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
4716 * config/h8300/h8300.c (byte_reg): Make it static.
4717
fba78abb
RH
47182002-02-10 Richard Henderson <rth@redhat.com>
4719
4720 PR c/5623
4721 * c-typeck.c (incomplete_type_error): Handle flexible array members.
4722
65739e62
RH
47232002-02-10 Richard Henderson <rth@redhat.com>
4724
4725 PR c++/5624
4726 * tree.c (append_random_chars): Don't abort if main_input_filename
4727 does not exist.
4728
247cb9df
HPN
47292002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
4730
4731 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
4732
232bd029
KH
47332002-02-10 Kazu Hirata <kazu@hxi.com>
4734
65739e62 4735 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
232bd029
KH
4736 (pushhi1): Likewise.
4737
276ef573
JDA
47382002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
4739
4740 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
4741 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
4742
617e9ee5
DB
47432002-02-09 David O'Brien <obrien@FreeBSD.org>
4744
4745 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
4746 remove MASK_VIS.
4747 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
4748
6dfa4005
KH
47492002-02-09 Kazu Hirata <kazu@hxi.com>
4750
4751 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
4752 a half of an SImode register on H8/300.
4753
749e7b80
JH
4754Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
4755
4756 * i386.md (movdi_2): Add missing '!'.
4757
ca77d87c
KH
47582002-02-09 Kazu Hirata <kazu@hxi.com>
4759
4760 * config/h8300/h8300.h: Fix formatting. Remove commented-out
4761 definitions.
4762
16c96304
KH
47632002-02-09 Kazu Hirata <kazu@hxi.com>
4764
4765 * config/h8300/h8300.md (length): Correct the distance valid
4766 for the short branch.
4767
a364bc90
KH
47682002-02-09 Kazu Hirata <kazu@hxi.com>
4769
4770 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
4771
e4ec2cac
AO
47722002-02-09 Alexandre Oliva <aoliva@redhat.com>
4773
a138247b
AO
4774 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
4775 registers in SImode.
4776 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
4777 part-clobbered.
4778
2b1fd83f
AO
4779 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
4780 patch.
d9b3eb63 4781
fa5322fa
AO
4782 Contribute sh64-elf.
4783 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
4784 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
4785 (sh_cannot_modify_jumps_p): New function.
4786 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
4787 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
4788 (sh_ms_bitfield_layout_p): New function.
4789 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
4790 Zack Weinberg <zack@codesourcery.com>
4791 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
4792 expand_simple_binop instead of expand_binop.
4793 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
4794 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
4795 use of .quad and .uaquad.
4796 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
4797 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
4798 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
4799 * config/sh/sh.md (movdi_const, movdi_const_32bit,
4800 movdi_const_16bit): Make sure all CONSTs have modes.
4801 (sym2PIC): Ditto, but by adjusting all callers.
4802 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
4803 if the prologue calls the SHmedia argument decoder or register
4804 saver.
4805 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
4806 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
4807 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
4808 (sh_expand_epilogue): Don't emit USE of return target register.
4809 (prepare_move_operands): Legitimize DImode PIC addresses.
4810 (sh_media_register_for_return): Skip tr0, used to initialize the
4811 PIC register.
4812 (sh_expand_prologue): Remove explicit USE of return register.
4813 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
4814 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
4815 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
4816 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
4817 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
4818 EXTRA_CONSTRAINT_T.
4819 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
4820 (MOVI_SHORI_BASE_OPERAND_P): New.
4821 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
4822 (EXTRA_CONSTRAINT_T): Define in terms of them.
4823 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
4824 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
4825 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
4826 alternatives supporting TARGET_REGS.
4827 (UNSPEC_GOTPLT): New constant.
4828 (movdi split): Move incrementing of LABEL_NUSES...
4829 (movdi_const, movdi_const_32bit): Here. Use
4830 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
4831 (movdi_const_16bit): New.
4832 (call, call_value) [flag_pic]: Use GOTPLT.
4833 (call_pop, call_value_pop): New expands.
4834 (call_pop_compact, call_pop_rettramp): New insns.
4835 (call_value_pop_compact, call_value_pop_rettramp): New insns.
4836 (sibcall) [flag_pic]: Use GOT.
4837 (builtint_setjmp_receiver): Remove bogus, unused expand.
4838 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
4839 (*pt, *ptb, ptrel): New insns.
4840 (sym2GOT): Handle DImode GOT.
4841 (sym2GOTPLT, symGOTPLT2reg): New expands.
4842 (sym2PIC): New expand.
4843 (shcompact_return_tramp): Use GOTPLT to return trampoline.
4844 (shcompact_return_tramp_i): Use return register explicitly.
4845 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
4846 disable flag_reorder_blocks.
4847 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
4848 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
4849 clobbers, for clarity.
4850 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
4851 restoring of r0 in macl as MAYBE_DEAD.
4852 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
4853 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
4854 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
4855 alter_subreg all over.
4856 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
4857 reload, instead of emitting instructions that would require
4858 reloading.
4859 (casesi_load_media): Add missing modes.
4860 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
4861 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
4862 as used if the argument decoder is called.
4863 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
4864 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
4865 Pmode, then extend it to DImode if necessary.
4866 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
4867 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
4868 constants in FPU-enabled SHmedia, let them be loaded from memory.
4869 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
4870 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
4871 Adjust whitespace in assembly output templates.
4872 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
4873 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
4874 mode of if_then_else.
4875 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
4876 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
4877 sh.h.
4878 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
4879 Joern Rennecke <amylaar@redhat.com>
4880 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
4881 (SUBTARGET_CPP_PTR_SPEC): New.
4882 (SUBTARGET_CPP_SPEC): Remove.
4883 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
4884 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
4885 Fix typo in previous checkin.
4886 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
4887 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
4888 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
4889 Alexandre Oliva <aoliva@redhat.com>
4890 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
4891 what single FP register can hold for SHmedia target.
4892 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
4893 Alexandre Oliva <aoliva@redhat.com>
4894 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
4895 Do not split into SUBREG.
4896 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
4897 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
4898 and added new functions as specified in SH5 ABI r9.
4899 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
4900 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
4901 8-byte boundary.
4902 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
4903 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
4904 gen_consttable_4 and gen_consttable_8. Emit multiple labels
4905 and consttable_window_ends.
4906 2001-06-03 Graham Stott <grahams@redhat,com>
4907 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
4908 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
4909 * config/sh/sh.c (print_operand): Handle floating-point pair,
4910 vector and matrix registers.
4911 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
4912 vector modes into account.
4913 * config/sh/sh.md (movv2sf): Split move between registers into
4914 movdf.
4915 (movv4sf, movv16sf): Introduce insns that get split only after
4916 reload.
4917 * config/sh/shmedia.h: Fix Copyright dates.
4918 * config/sh/ushmedia.h: Likewise. Move loop counter
4919 declarations into conditionals that uses them.
4920 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
4921 loop boundary.
4922 * config/sh/sshmedia.h: Fix Copyright dates.
4923 (sh_media_PUTCFG): Fix constraints.
4924 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
4925 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
4926 ptrmemfunc_vbit_in_delta for SH5.
4927 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
4928 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
4929 * invoke.texi: Likewise.
4930 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
4931 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
4932 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
4933 GCC_pop_shmedia_regs_nofpu): New global symbols.
4934 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
4935 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
4936 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
4937 compact function with nonlocal labels.
4938 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
4939 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
4940 (initial_elimination_offset): Account for their stack space.
4941 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
4942 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
4943 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
4944 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
4945 least one of the operands to be a register.
4946 (movv2sf): Likewise. Renamed to movv2sf_i.
4947 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
4948 prepare_move_operands() before emitting SHmedia insns.
4949 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
4950 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
4951 Don't save nor initialize r12. Don't mis-align the stack.
4952 Pad the code with a nop.
4953 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
4954 stack.
4955 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
4956 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
4957 [__SHMEDIA__]: Implement.
4958 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
4959 * config/sh/sh.md: Set latency of `pt' closer to reality.
4960 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
4961 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
4962 Set move, load and store type attributes.
4963 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
4964 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
4965 profiling.
4966 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
4967 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
4968 * config/sh/sh.c (sh_media_register_for_return): New function.
4969 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
4970 branch-target register.
4971 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
4972 * config/sh/sh.md (return_media_i): Use any call-clobbered
4973 branch-target register.
4974 (return_media): If r18 wasn't copied in the prologue, copy it
4975 here.
4976 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
4977 Clear class FP0_REGS.
4978 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
4979 from elf.h.
4980 2001-03-08 DJ Delorie <dj@redhat.com>
4981 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
4982 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
4983 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
4984 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
4985 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
4986 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
4987 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
4988 return value correctly for call_cookie.
4989 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
4990 * config/sh/crt1.asm (start): Modified so as to call
4991 ___setup_argv_and_call_main.
4992 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
4993 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
4994 SHmedia mode.
4995 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
4996 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
4997 (STRIP_NAME_ENCODING): Use it.
4998 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
4999 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
5000 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
5001 prepare_scc_operands().
5002 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
5003 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
5004 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
5005 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
5006 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
5007 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
5008 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
5009 used in shcompact_incoming_args.
5010 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
5011 change.
5012 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
5013 mode.
5014 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
5015 Adjust accordingly.
5016 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
5017 Simplify. Adjust. Add sanity check.
5018 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
5019 FPU_SINGLE_BIT.
5020 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
5021 TARGET_SHCOMPACT.
5022 (udivsi3, divsi3): Use them.
5023 (force_mode_for_call): New insn.
5024 (call, call_value, sibcall_value): Emit it before SHcompact
5025 calls.
5026 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
5027 * config/sh/sh.md (call, call_value, sibcall): Make sure the
5028 call cookie is non-NULL before taking its value.
5029 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
5030 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
5031 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5032 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
5033 block.
5034 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
5035 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
5036 temporary for stack adjusts. Use MACL and MACH to pass
5037 arguments to shcompact_incoming_args.
5038 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
5039 clobber r1.
5040 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
5041 (nested_trampoline): Load static chain address into r1.
5042 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
5043 2001-01-07 Alexandre Oliva <aoliva@redhat.com
5044 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
5045 fp_arith_reg_operand().
5046 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
5047 * config/sh/sh.md (casesi): Sign-extend the first two operands,
5048 and use signed compares for them.
5049 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
5050 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
5051 ones properly aligned.
5052 (find_barrier): Account for extra alignment needed for 8-byte wide
5053 constants.
5054 (machine_dependent_reorg): Require a label for the second 4-byte
5055 constant after an 8-byte one.
5056 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
5057 change.
5058 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
5059 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
5060 last_float when switching float modes.
5061 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
5062 auto-increment for general-purpose registers.
5063 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
5064 result.
5065 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
5066 for stack adjust.
5067 * config/sh/sh.c (sh_builtin_saveregs): Support using all
5068 registers for varargs.
5069 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
5070 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
5071 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
5072 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
5073 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
5074 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
5075 call_cookie accordingly.
5076 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
5077 (SHCOMPACT_BYREF): Likewise.
5078 (SHCOMPACT_FORCE_ON_STACK): New macro.
5079 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
5080 (sh_builtin_saveregs): Likewise.
5081 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
5082 shcompact_incoming_args): Use new shift values. Support
5083 sequences of consecutive and non-consecutive pushes/pops.
5084 * config/sh/sh.md (return): Don't explicitly use PR_REG.
5085 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
5086 * config/sh/sh.h (TEXT_SECTION): Define.
5087 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
5088 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
5089 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
5090 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
5091 return values on FPU-enabled SHmedia.
5092 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
5093 FPU-enabled SHmedia.
5094 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
5095 value is returned in a non-FP reg and is not returned by
5096 reference.
5097 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
5098 jump_ind.
5099 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
5100 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
5101 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
5102 quad-aligned to be passed by callee-copy reference.
5103 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
5104 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
5105 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
5106 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
5107 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
5108 copying low-numbered FP regs to r7 and r8.
5109 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
5110 FP regs to general-purpose regs only if the copy was passed on the
5111 stack.
5112 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
5113 copying FP reg to r9.
5114 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
5115 copy FP regs to general-purpose regs only in outgoing calls.
5116 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
1e4e95d6 5117 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
fa5322fa
AO
5118 HOST_WIDE_INT.
5119 * config/sh/sh.h (struct sh_args): Document all fields.
5120 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
5121 passed partially on the stack should not consider making
5122 sibcalls.
5123 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
5124 stack_regs only for incoming calls. When passing FP args,
5125 make sure there are FP regs available before modifying
5126 call_cookie.
5127 (SHCOMPACT_BYREF): Pass double args in general-purpose
5128 registers by reference.
5129 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
5130 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
5131 attempt to generate sibcalls if the caller got any arguments
5132 by reference.
5133 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
5134 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
5135 to 8-byte boundaries.
5136 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
5137 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
5138 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
5139 stored in the stack.
5140 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
5141 for the offsets to have the ISA bit set.
5142 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
5143 invocation. Use beq instead of bgt to mark end of sequence of
5144 loads.
5145 (shcompact_incoming_args): Fix store of r2. Use beq instead of
5146 bgt to mark end of sequence of stores.
5147 * config/sh/sh.c (arith_operand): Don't check whether
5148 CONST_OK_FOR_J for now.
5149 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
5150 instead of long for conversion.
5151 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
5152 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
5153 before passing it to fprintf.
5154 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
5155 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
5156 Call set_fpscr before reading/writing SR.
5157 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
5158 Call set_fpscr.
5159 * config/sh/lib1funcs.asm: Add `.align 2' directives before
5160 SHmedia code.
5161 (FMOVD_WORKS): Define on SH5 with FPU.
5162 (set_fpscr): Define on SH5. Remove separate _fpscr_values
5163 setting.
5164 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
5165 _fpscr_values.
5166 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
5167 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
5168 address.
5169 (ia_main_table): Ditto.
5170 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
5171 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
5172 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
5173 the definitions from sh.h.
5174 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
5175 TARGET_SH5.
5176 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
5177 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
5178 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
5179 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
5180 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
5181 Increment LABEL_NUSES.
d9b3eb63 5182
fa5322fa
AO
5183 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
5184 TARGET_SH5.
5185 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
5186 defined.
5187 * config/sh/elf.h (SIZE_TYPE): Likewise.
5188 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
5189 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
5190 shcompact_incoming_args): Load switch table addresses using
5191 datalabel.
5192 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
5193 (NO_BUILTIN_SIZE_TYPE): Define.
5194 (SIZE_TYPE): Don't define.
5195 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
5196 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
5197 definition of __SH5__=32 for -m5-compact-nofpu.
5198 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
5199 ADDR_DIFF_VEC.
5200 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
5201 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
5202 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
5203 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
5204 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
5205 (INSN_LENGTH_ALIGNMENT): Likewise.
5206 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
5207 * config/sh/sh.md (call, call_value, sibcall): Simplify
5208 copying of non-branch-target register.
5209 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1e4e95d6 5210 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
fa5322fa
AO
5211 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
5212 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
5213 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
5214 floating-point values as structs.
5215 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
5216 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
5217 general-purpose register.
5218 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
5219 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
5220 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
5221 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
5222 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
5223 (ENCODE_SECTION_INFO): Enclose variables and constants in
5224 DATALABEL unspecs.
5225 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
5226 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
5227 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
5228 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
5229 only for LABEL_REFs. For SYMBOL_REFs, prepend
5230 SH_DATALABEL_ENCODING to the symbol name.
5231 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
5232 convert_mode().
5233 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
5234 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
5235 UNSPEC_DATALABEL.
5236 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
5237 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
5238 (DATALABEL_REF_P): Don't require CONST.
5239 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
5240 REL label.
5241 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
5242 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
5243 right.
5244 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
5245 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
5246 Use shallow_copy_rtx and PUT_MODE to change the mode of
5247 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
5248 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
5249 on SHmedia using GENERAL_REGs.
5250 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
5251 bltu_media_i): Fix reversion of conditions.
5252 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
5253 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
5254 * config/sh/sh.c (output_far_jump): Save r13 in macl.
5255 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
5256 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
5257 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
5258 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
5259 (GCC_nested_trampoline): Likewise.
5260 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
5261 * config/sh/sh.c (gen_datalabel_ref): Define.
5262 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
5263 (INITIALIZE_TRAMPOLINE): Likewise.
5264 (TRAMPOLINE_ADJUST_ADDRESS): Define.
5265 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
5266 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
5267 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
5268 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
5269 (ic_invalidate): Adjust for SH5.
5270 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
5271 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
5272 _nested_trampoline.
5273 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
5274 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
5275 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
5276 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
5277 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
5278 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
5279 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
5280 * config/sh/sh.c (target_reg_operand): Match only target-branch
5281 registers and pseudos that aren't virtual registers.
5282 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
5283 Copy operands that don't match target_reg_operand to pseudos.
5284 (call_media, call_value_media, sibcall_media): Use
5285 target_reg_operand instead of target_operand.
5286 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
d9b3eb63 5287 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
fa5322fa
AO
5288 * config/sh/sh.c (target_reg_operand): Match hardware registers
5289 other than branch-target registers.
5290 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
5291 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
5292 (fpscr_values) [SH5 == 32]: Define.
5293 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
5294 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
5295 Handle function addresses coming in SUBREGs.
5296 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
5297 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
5298 shcompact_return_trampoline): Use datalabel where appropriate.
5299 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
5300 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
5301 general-purpose register to copy one branch-target register to
5302 another.
5303 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
5304 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
5305 SYMBOL_REFs with VOIDmode.
5306 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
5307 bltu_media_i): New insns.
5308 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
5309 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
5310 (INIT_CUMULATIVE_ARGS): Likewise.
5311 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
5312 * machmode.def (V16SFmode): New mode.
5313 * c-common.c (type_for_mode): Support V2SF and V16SF.
5314 * tree.c (build_common_tree_nodes_2): Likewise.
5315 * tree.h (tree_index): Likewise.
5316 * calls.c (emit_call_1): Take args_so_far. Adjust all
5317 callers. Introduce CALL_POPS_ARGS.
5318 * tm.texi (CALL_POPS_ARGS): Document.
5319 * config/sh/crt1.asm: Implement in SHmedia mode.
5320 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
5321 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
5322 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
5323 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
5324 Implement divsi and udivsi in SHmedia mode. Introduce
5325 SHcompact trampolines.
5326 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
5327 only in SHmedia64.
5328 (regno_reg_class): Rewrite.
5329 (fp_reg_names): Remove.
5330 (sh_register_names, sh_additional_register_names): New.
5331 (print_operand): Added `u'. Support SUBREGs in addresses.
5332 Add parentheses around shifted CONSTs.
5333 (output_file_start): Output .mode and .abi directives.
5334 (shiftcosts, addsubcosts, multcosts): Adjust.
5335 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
5336 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
5337 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
5338 bytes, not registers. Take into account the need for the
5339 SHcompact incoming args trampoline. Adjust all callers.
5340 (sh_expand_prologue): Take stack_regs into account. Call
5341 incoming args trampoline. Keep stack aligned as per SH5 ABI.
5342 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
5343 stack aligned as per SH5 ABI.
5344 (sh_builtin_saveregs): Support SH5 ABI.
5345 (sh_build_va_list, sh_va_start): Likewise.
5346 (initial_elimination_offset): Take alignment into account.
5347 Compute location of PR according to the SH5 stack frame.
5348 (arith_reg_operand): Reject branch-target registers.
5349 (shmedia_6bit_operand): New.
5350 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
5351 (target_reg_operand): Match DImode only. Accept SUBREGs.
5352 (target_operand): New.
5353 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
5354 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
5355 SIBCALL_REGS for SHmedia.
5356 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
5357 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
5358 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
5359 (TARGET_SWITCHES): New SH5 flags.
5360 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
5361 VALID_REGISTER_P to disable unsupported registers.
5362 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
5363 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
5364 (FUNCTION_ARG_PADDING): Define.
5365 (FASTEST_ALIGNMENT): Adjust.
5366 (SH_REGISTER_NAMES_INITIALIZER): New.
5367 (sh_register_names): Declare.
5368 (DEBUG_REGISTER_NAMES): Define.
5369 (REGISTER_NAMES): Define based on sh_register_names.
5370 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
5371 (sh_additional_register_names): Declare.
5372 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
5373 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
5374 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
5375 (REGISTER_NATURAL_MODE): Define.
5376 (FIRST_PSEUDO_REGISTER): Adjust.
5377 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
5378 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
5379 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
5380 (VECTOR_MODE_SUPPORTED_P): Define.
5381 (REG_CLASS_CONTENTS): Adjust.
5382 (SMALL_REGISTER_CLASSES): Adjust.
5383 (REG_ALLOC_ORDER): Adjust.
5384 (INDEX_REG_CLASS): Adjust.
5385 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
5386 (CONST_OK_FOR_LETTER_P): Adjust.
5387 (PREFERRED_RELOAD_CLASS): Adjust.
5388 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
5389 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
5390 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
5391 (FIRST_FP_PARM_REG): Adjust.
5392 (CALL_POPS_ARGS): Define.
5393 (FUNCTION_ARG_REGNO_P): Adjust.
5394 (struct sh_args): New fields.
5395 (GET_SH_ARG_CLASS): Adjust.
5396 (INIT_CUMULATIVE_ARGS): Adjust.
5397 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
5398 (FUNCTION_ARG_ADVANCE): Adjust.
5399 (FUNCTION_ARG): Adjust.
5400 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
5401 (FUNCTION_ARG_CALLEE_COPIES): Define.
5402 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
5403 (STRICT_ARGUMENT_NAMING): Define.
5404 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
5405 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
5406 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
5407 (SETUP_INCOMING_VARARGS): Adjust.
5408 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
5409 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
5410 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
5411 (SUBREG_OK_FOR_INDEX_P): Adjust.
5412 (EXTRA_CONSTRAINT_S): Update.
5413 (EXTRA_CONSTRAINT_T): New.
5414 (EXTRA_CONSTRAINT): Adjust.
5415 (GO_IF_LEGITIMATE_INDEX): Adjust.
5416 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
5417 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
5418 (MOVE_MAX): Adjust.
5419 (MAX_MOVE_MAX): Define.
5420 (Pmode): Adjust.
5421 (CONST_COSTS): Adjust.
5422 (REGISTER_MOVE_COST): Adjust.
5423 (BRANCH_COST): Adjust.
5424 (TEXT_SECTION_ASM_OP): Adjust.
5425 (DBX_REGISTER_NUMBER): Adjust.
5426 (ASM_OUTPUT_DOUBLE_INT): New.
5427 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
5428 (PREDICATE_CODES): Adjust.
5429 (PROMOTE_MODE): Adjust.
5430 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
5431 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
5432 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
5433 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
5434 (DR0_REG, DR2_REG, DR4_REG): Renumber.
5435 (TR0_REG, TR1_REG, TR2_REG): New.
5436 (XD0_REG): Renumber.
5437 (UNSPEC_COMPACT_ARGS): New.
5438 (type): Added pt and ptabs.
5439 (length): Default to 4 on SHmedia. Default pt length to 12
1e4e95d6 5440 and 20 on SHmedia32 and SHmedia64, respectively.
fa5322fa
AO
5441 (pt): New function unit.
5442 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
5443 Add whitespace between operands of SHmedia instructions.
5444 (movdicc): Fix.
5445 (adddi3_media, addsi3_media): Adjust constraints.
5446 (subsi3) [SHmedia]: Force operand 1 into a register.
5447 (udivsi3_i1_media, udivsi3_i4_media): New.
5448 (udivsi3): Support SHmedia.
5449 (divsi3_i1_media, divsi3_i4_media): New.
5450 (divsi3): Support SHmedia.
5451 (anddi3, iordi3, xordi3): Adjust constraints.
5452 (zero_extendhidi2, zero_extendqidi2): New.
5453 (extendsidi2, extendhidi2, extendqidi2): New.
5454 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
5455 (pop_e, pop_fpul, pop_4): Likewise.
5456 (movsi_media): Support FP and BT registers.
5457 (movsi_media_nofpu): New. Adjust splits to DImode.
5458 (lduw, ldub): Renamed to zero_extend* above.
5459 (movqi_media): Fix typo.
5460 (movdi_media): Support FP and BT registers.
5461 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
5462 (movdi_const_32bit): New.
5463 (shori_media): Require immediate operand. Use `u' for output.
5464 (movdf_media, movsf_media): Simplified.
5465 (movdf_media_nofpu, movsf_media_nofpu): New.
5466 (movdf, movsf): Adjust
5467 (movv2sf, movv2sf, movv16sf): New.
5468 (beq_media, beq_media_i): Adjust constraints. Don't use
5469 scratch BT register.
5470 (bne_media, bne_media_i): Likewise.
5471 (bgt_media, bgt_media_i): Likewise.
5472 (bge_media, bge_media_i): Likewise.
5473 (bgtu_media, bgtu_media_i): Likewise.
5474 (bgeu_media, bgeu_media_i): Likewise.
5475 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
5476 bunordered): Emit jump insn. Force operands to registers when
5477 needed.
5478 (jump_media, jump): Simplify.
5479 (call_compact, call_compact_rettramp): New.
5480 (call_value_compact, call_value_compact_rettramp): New.
5481 (call_media, call_value_media): Simplify.
5482 (sibcall_compact, sibcall_media): New.
5483 (call, call_value): Adjust for SHmedia and SHcompact.
5484 (sibcall, sibcall_value, untyped_call): Likewise.
5485 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
5486 (indirect_jump): Adjust for SHmedia.
5487 (casesi_jump_media): New.
5488 (nop): Re-enable for SHmedia.
5489 (call_site): Restrict to SH1.
5490 (casesi): Adjust for SHmedia.
5491 (casesi_shift_media, casesi_load_media): New.
5492 (return): Explicitly use PR register. Call return trampoline
5493 on SHcompact.
5494 (return_i): Explicitly use PR register.
5495 (shcompact_return_tramp, shcompact_return_tramp_i): New.
5496 (return_media): Adjust.
5497 (shcompact_incoming_args): New.
5498 (epilogue): Adjust.
5499 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
5500 (movstrsi): Disable on SH5.
5501 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
5502 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
5503 (subsf3, subsf3_media): Likewise.
5504 (mulsf3, mulsf3_media, mac_media): Likewise.
5505 (divsf3, divsf3_media): Likewise.
5506 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
5507 (floatsisf2, fux_truncsfsi2): Likewise.
5508 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
5509 constraints.
5510 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
5511 (cmpunsf_media, cmpsf): Likewise.
5512 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
5513 (abssf2, abssf2_media): Likewise.
5514 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
5515 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
5516 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
5517 (floatsidf2, fix_truncdfsi2): Likewise.
5518 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
5519 constraints.
5520 (cmpeqdf_media, cmpgtdf_media): Likewise.
5521 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
5522 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
5523 (absdf2, absdf2_media): Likewise.
5524 (extendsfdf2, extendsfdf2_media): Likewise.
5525 (truncsfdf2, truncsfdf2_media): Likewise.
5526 * config/sh/sh64.h: New file.
5527 * config/sh/t-sh64: New file.
5528 * config/sh/shmedia.h: New file.
5529 * config/sh/ushmedia.h: New file.
5530 * config/sh/sshmedia.h: New file.
5531 * configure.in: Added sh64-*-elf.
5532 * configure: Rebuilt.
5533 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
5534 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
5535 (reg_class_from_letter): Use `b' for TARGET_REGS.
5536 (print_operand): Support `%M', `%m', `AND' and
5537 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
5538 (andcosts): Adjust for SHmedia.
5539 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
5540 Likewise.
5541 (target_reg_operand): New function.
5542 * config/sh/sh-protos.h (target_reg_operand): Declare.
5543 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
5544 FP registers on SH5.
5545 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
5546 on SH4.
5547 (TARGET_REGISTER_P): New macro.
5548 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
5549 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
5550 (EXTRA_CONSTRAINT_S): New macro.
5551 (EXTRA_CONSTRAINT): Adjust.
5552 (FLOAT_TYPE_SIZE): Define to 32.
5553 (Pmode): DImode on SHmedia.
5554 (CONST_COSTS): Adjust for SHmedia literals.
5555 (PREDICATE_CODES): Added target_reg_operand.
5556 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
5557 * config/sh/sh.md: Remove all attrs from SHmedia insns.
5558 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
5559 (cmpdi): Accept SHmedia.
5560 (movdicc_false, movdicc_true): New insns.
5561 (movdicc): New expand.
5562 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
5563 no_new_pseudos.
5564 (addsi3_media): Match `S' constraint.
5565 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
5566 (negdi2): Expand for SHmedia.
5567 (one_cmpldi2): New expand.
5568 (zero_extendsidi2): Change from expand to insn.
5569 (extendsidi2): Add constraints.
5570 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
5571 LD/ST address. Fix SI immediate loading split.
5572 (movhi_media, movqi_media, lduw, ldub): New insns.
5573 (movhi, movqi): Accept SHmedia.
5574 (shori_media, movdi_media): Relax input constraints. Split
5575 symbolic constants.
5576 (movdf_media, movsf_media): New insn. New split to movdi.
5577 (movdf, movsf): Match on SHmedia.
5578 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
5579 bgeu_media): New insns and splits. New insns with `_i' suffix.
5580 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
5581 (bunordered): New expand.
5582 (jump_compact): Renamed from `jump'.
5583 (jump_media): New insn.
5584 (jump): New expand.
5585 (call_media, call_value_media): New insns.
5586 (call, call_value): Adjust.
5587 (indirect_jump_compact): Renamed from `indirect_jump'.
5588 (indirect_jump_media): New insn.
5589 (indirect_jump): New expand.
5590 (untyped_call, return): Accept SHmedia.
5591 (return_media): New insn.
5592 (prologue, epilogue, blockage): Accept SHmedia.
5593 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
5594 (sunordered): New expand.
5595 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
5596 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
5597 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
5598 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
5599 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
5600 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
5601 abssf2_media): New insns.
5602 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
5603 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
5604 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
5605 floatdidf2, floatsidf2_media, fix_truncdfdi2,
5606 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
5607 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
5608 absdf2_media): New insns.
5609 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
5610 (extendsfdf2_media, truncdfsf2_media): New insns.
5611 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
5612 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
5613 * config/sh/sh.h (CONST_OK_FOR_J): Document.
5614 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
5615 * config/sh/sh.md (adddi3): New expand.
5616 (adddi3_media, adddi3z_media): New insns.
5617 (adddi3_compact): Renamed from adddi3.
5618 (addsi3_media): Use add.l r63 to add constant zero.
5619 (subdi3): New expand.
5620 (subdi3_media): New insn.
5621 (subdi3_compact): Renamed from subdi3.
5622 (mulsidi3): New expand.
5623 (mulsidi3_media): New insn.
5624 (mulsidi3_compact): Renamed from mulsidi3.
5625 (umulsidi3): New expand.
5626 (umulsidi3_media): New insn.
5627 (umulsidi3_compact): Renamed from umulsidi3.
5628 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
5629 (ashlsi3, ashrsi3, lshrsi3): Use them.
5630 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
5631 (ashldi3, ashrdi3, lshrdi3): Use them.
5632 (zero_extendsidi2): New expand.
5633 (extendsidi2): New insn.
5634 (movsi_media): New insn. Split to movdi to load constants.
5635 (movsi): Enable for shmedia.
5636 (movdi_media): New insn. Use shori_media to load wide constants.
5637 (short_media): New insn.
5638 (movdi): Enable for shmedia.
5639 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
5640 * config/sh/sh.h (CPP_SPEC): Added `m5'.
5641 (SUBTARGET_CPP_SPEC): Added `!m5'.
5642 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
5643 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
5644 to all other SH variants.
5645 (TARGET_DEFAULT): Set to SH1_BIT.
5646 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
5647 (BITS_PER_WORD): Raise to 64 on shmedia.
5648 (MAX_BITS_PER_WORD): Change to 64.
5649 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
5650 (INT_TYPE_SIZE): Keep as 32.
5651 (UNITS_PER_WORD): Raise to 8 on shmedia.
5652 (MIN_UNITS_PER_WORD): Keep as 4.
5653 (POINTER_SIZE): Raise to 64 on shmedia.
5654 (CONST_OK_FOR_J): New macro.
5655 (CONST_OK_FOR_LETTER_P): Use it.
5656 (processor_type): Add PROCESSOR_SH5.
5657 * config/sh/sh.md: Conditionalize all expands, insns and
5658 splits to TARGET_SH1.
5659 (cpu): Added sh5.
5660 (addsi3_compact): Renamed from...
5661 (addsi3): Now an expand.
5662 (addsi3_media, subsi3_media): New insns.
5663 (subsi3): Don't negate constants with SHmedia.
5664
e4ec2cac
AO
5665 * hooks.c: New file.
5666 * hooks.h: New file.
5667 * Makefile.in (HOOKS_H): New.
5668 (TARGET_DEF_H): Added $(HOOKS_H).
5669 (OBJS): Added hooks.o.
5670 (cfgcleanup.o, bb-reorder.o): Added target.h.
5671 (hooks.o): Added dependencies.
5672 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
5673 (TARGET_INITIALIZER): this.
5674 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
5675 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
5676 * bb-reorder.c: Include target.h.
5677 (reorder_basic_blocks): Skip if cannot modify jumps.
5678 * cfgcleanup.c: Include target.h.
5679 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
5680
246a46e0
CD
56812002-02-08 Chris Demetriou <cgd@broadcom.com>
5682
831c4e87
KC
5683 * config/mips/mips.md (casesi_internal, casesi_internal_di):
5684 Protect jump delay slot instructions with .set noreorder and
5685 .set nomacro.
246a46e0
CD
5686
56872002-02-08 Chris Demetriou <cgd@broadcom.com>
6a5ea3f4
CD
5688
5689 * config/mips/mips.md (casesi_internal_di): Calculate
5690 the index into the target offset table correctly.
5691
fdf473ae
RH
56922002-02-08 Richard Henderson <rth@redhat.com>
5693
5694 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
5695 * final.c (output_addr_const): Accept and discard SUBREG.
5696 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
5697 mark them unknown instead.
5698 (simplify_subtraction): Handle RTX_UNKNOWN.
5699 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
5700
c50503ac
DE
57012002-02-08 David Edelsohn <edelsohn@gnu.org>
5702
5703 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
5704
3660d217
RH
57052002-02-08 Richard Henderson <rth@redhat.com>
5706
5707 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
5708
56547299
AJ
57092002-02-08 Andreas Jaeger <aj@suse.de>
5710
5711 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
5712 * config/i386/t-linux64: New file.
5713
1cf537c5
JJ
57142002-02-08 Jakub Jelinek <jakub@redhat.com>
5715
5716 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
5717 * c-parse.in (compstmt): Clear last_expr_type.
5718
5c7f5a5f
RH
57192002-02-07 Richard Henderson <rth@redhat.com>
5720
5721 * loop.c (strength_reduce): Sink final_value when not
5722 eliminating a biv.
5723
b1138bf3
DB
57242002-02-07 David O'Brien <obrien@FreeBSD.org>
5725
5726 * config/sparc/freebsd.h: Fix mismatched spec {.
5727
b6878a45
RH
57282002-02-07 Richard Henderson <rth@redhat.com>
5729
5730 * cfgrtl.c: Include recog.h and insn-config.h.
5731 (keep_with_call_p): Fix general_operand invocation.
5732 * Makefile.in (cfgrtl.o): Update dependencies.
5733
ae19f5ef
KH
57342002-02-07 Kazu Hirata <kazu@hxi.com>
5735
5736 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
5737 comment. Accept HImode only if TARGET_H8300.
5738
b137f9fc
EC
57392002-02-07 Eric Christopher <echristo@redhat.com>
5740
5741 * config/mips/crtn.asm: Cleanup #ifdefs.
5742
57432002-02-07 Eric Christopher <echristo@redhat.com>
5744
5745 * config/mips/crti.asm: Add changes for mips16. mips16 uses
5746 register 7 as RA instead of $31.
5747 * config/mips/crtn.asm: Ditto.
5748 * config/mips/mips.c (mips_move_2words): Add case for
5749 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
5750 (compute_frame_size): Fix typo.
5751 (save_restore_insns): Ditto. Make documentation about using
5752 register $7 as return register more precise.
5753 (mips_expand_epilogue): Fix comment. Add code to work around not
5754 being able to add to the stack pointer directly.
5755 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
5756 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
5757 epilogue.
5758
768070a0
TR
57592002-02-07 Tom Rix <trix@redhat.com>
5760
b137f9fc 5761 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
768070a0
TR
5762 immediates in ldu and stdu DS opcode field.
5763 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
5764 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
5765 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
5766
225909c3
JS
57672002-02-07 Jeff Sturm <jsturm@one-point.com>
5768
5769 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
5770 offset for stack bias.
5771
15fae023
L
57722002-02-07 H.J. Lu <hjl@gnu.org>
5773
5774 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
5775
fde5badd
UW
57762002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
5777
5778 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
5779
162f023b
JH
5780Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
5781
5782 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
5783 * i386.c (x86_order_regs_for_local_alloc): New global function.
5784 * i386.h (REG_ALLOC_ORDER): CLeanup.
5785 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
5786
9b462c42
RH
57872002-02-07 Richard Henderson <rth@redhat.com>
5788
85aa876c 5789 PR optimization/2463
9b462c42
RH
5790 * alias.c (find_base_value): Recall base values for fixed hard regs.
5791 * loop.c (loop_regs_update): Don't use single_set on non-insns.
5792
06e455a9
AO
57932002-02-07 Alexandre Oliva <aoliva@redhat.com>
5794
5795 * config/mips/mips.md (define_delay) [mips16]: Adjust required
5796 length.
5797
edd1967d
RH
57982002-02-06 Richard Henderson <rth@redhat.com>
5799
5800 PR c/5609
5801 * stmt.c (resolve_operand_name_1): Take more care with mixed
5802 named and unnamed operands.
5803
a2cd028f
JJ
58042002-02-06 Janis Johnson <janis187@us.ibm.com>
5805 Jan Hubicka <jh@suse.cz>
5806
5807 * loop.c (remove_constant_addition): Avoid clobbering a shared
5808 CONST expression.
5809
e8487c04
UW
58102002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
5811
5812 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
5813 * config/s390/t-linux64: New file.
5814 * config/s390/libgcc-glibc.ver: New file.
5815
58d10f89
UW
58162002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
5817
5818 * config/s390/linux64.h: Delete file.
5819 * config/s390/s390x.h: New file.
5820 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
5821 as target header file.
5822 * config/s390/linux.h (TARGET_VERSION): Define depending on
5823 DEFAULT_TARGET_64BIT.
5824 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
5825 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
5826 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
5827 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
5828 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
5829 (EXTRA_SPEC): New define.
5830 * config/s390/s390.h (TARGET_VERSION): Define depending on
5831 DEFAULT_TARGET_64BIT.
5832 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
5833
5ce89b2e
JM
58342002-02-06 Jason Merrill <jason@redhat.com>
5835
5836 * c-decl.c (finish_function): Warn about a non-void function with
5837 no return statement and no abnormal exit.
5838 (current_function_returns_abnormally): New variable.
5839 (start_function): Clear it.
5840 (struct c_language_function): Add returns_abnormally.
5841 (push_c_function_context): Save it.
5842 (pop_c_function_context): Restore it.
5843 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
5844 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
5845 an explicit return type.
5846 * c-tree.h: Declare current_function_returns_abnormally.
5847 (C_FUNCTION_IMPLICIT_INT): New macro.
5848 * c-typeck.c (build_function_call): Set it.
5849 (c_expand_return): Set current_function_returns_value even if the
5850 value is erroneous.
5851
caaf2272
JJ
58522002-02-06 Jakub Jelinek <jakub@redhat.com>
5853
5854 PR c/5420:
5855 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
5856 unsafe for reevaluation.
5857
d5129288
JJ
58582002-02-06 Jakub Jelinek <jakub@redhat.com>
5859
5860 PR c/5482:
5861 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
5862 EXPR_STMT, but COMPOUND_STMT, recurse into it.
5863
7fb75099
RH
58642002-02-06 Richard Henderson <rth@redhat.com>
5865
5866 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
5867 be a general_operand. Dest for function value must be a pseudo.
5868
d3a8b6a6
NC
58692002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
5870
5871 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
5872 as SYMBOL_REFs from the constant pool.
5873
3c1299c5
AO
58742002-02-06 Alexandre Oliva <aoliva@redhat.com>
5875
5876 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
5877 passed by invisible reference.
5878
c2c9f6c9
RH
58792002-02-05 Richard Henderson <rth@redhat.com>
5880
5881 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
5882
a824924d
HPN
58832002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
5884
5885 Implement using "base addresses" in insn operands as default.
5886 * config/mmix/mmix.c (mmix_conditional_register_usage): if
5887 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
5888 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
5889 used to read the rtx value.
5890 (mmix_target_asm_function_epilogue): Fix spacing.
5891 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
5892 (mmix_legitimate_address): Ditto.
5893 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
5894 should be loaded with a GETA insn. Don't allocate needless extra
5895 char for nul termination and fix misleading comment.
5896 (mmix_print_operand_address): Handle constants if
5897 TARGET_BASE_ADDRESSES.
5898 (mmix_output_register_setting): Use base addressing if
5899 TARGET_BASE_ADDRESSES and the number of insns is 3.
5900 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
5901 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
5902 to use R as constraint, add LDA to match s.
5903 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
5904 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
5905 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
5906 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
5907 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
5908 order with other fixed registers.
5909 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
5910 other parameter/call-clobbered registers.
5911 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
5912 -mbase-addresses, -mno-base-addresses.
5913 (MMIX Options): Ditto.
5914
73c342b9
JDA
59152002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
5916
5917 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
5918
ef238c58
AH
59192002-02-06 Aldy Hernandez <aldyh@redhat.com>
5920
831c4e87 5921 * config/rs6000/altivec.h: Change elem to _S_elem.
ef238c58 5922
ad08e60e
JT
59232002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
5924
5925 * config/netbsd.h (WCHAR_TYPE): Define.
5926 (WCHAR_TYPE_SIZE): Ditto.
5927 (WINT_TYPE): Ditto.
5928 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
5929 (WCHAR_UNSIGNED): Ditto.
5930 (WCHAR_TYPE_SIZE): Ditto.
5931 (WINT_TYPE): Ditto.
5932 * config/arm/netbsd.h: Likewise.
5933 * config/i386/netbsd-elf.h: Likewise.
5934 * config/i386/netbsd.h: Likewise.
5935 * config/m68k/netbsd-elf.h: Likewise.
5936 * config/m68k/netbsd.h: Likewise.
5937 * config/ns32k/netbsd.h: Likewise.
5938 * config/sparc/netbsd.h: Likewise.
5939 * config/vax/netbsd.: Likewise.
5940
f913c102
AO
59412002-02-05 Alexandre Oliva <aoliva@redhat.com>
5942
5943 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
5944 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
5945 (TARGET_INITIALIZER): this.
5946 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
5947 (BITFIELD_NBYTES_LIMITED): Markup fix.
5948 * tree.h (default_ms_bitfield_layout_p): Declare.
5949 (record_layout_info): Added prev_field.
5950 * tree.c (default_ms_bitfield_layout_p): New fn.
5951 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
5952 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
5953 * stor-layout.c: Include target.h.
5954 (start_record_layout): Initialize prev_field.
5955 (place_field): Handle MS bit-field layout, and disregard
5956 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
5957 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
5958 * Makefile.in (stor-layout.o): Adjust dependencies.
5959
c13db5d1
JM
59602002-02-05 Jason Merrill <jason@redhat.com>
5961
c13db5d1
JM
5962 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
5963
4505024e
AJ
59642002-02-05 Andreas Jaeger <aj@suse.de>
5965
5966 * crtstuff.c: Fix comments.
5967
794ad79d
RH
59682002-02-05 Richard Henderson <rth@redhat.com>
5969
2e279a9b
RH
5970 PR fortran/3393
5971 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
5972 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
5973
794ad79d
RH
5974 PR fortran/3392
5975 * config/mips/mips.c (function_arg): Handle TImode.
5976 (function_arg_advance): Likewise.
5977
8f909017
AH
59782002-02-05 Aldy Hernandez <aldyh@redhat.com>
5979
c13db5d1
JM
5980 * config/rs6000/altivec.h (vec_step_help): Rename to
5981 __vec_step_help.
8f909017 5982
66daa9e3
AH
59832002-02-05 Aldy Hernandez <aldyh@redhat.com>
5984
c13db5d1 5985 * config/rs6000/altivec.h: Fix typos.
66daa9e3 5986
2696e97b
JT
59872002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
5988
5989 * config/arm/netbsd.h: Correct a comment.
5990
3deb2758
AH
59912002-02-05 Aldy Hernandez <aldyh@redhat.com>
5992
c13db5d1
JM
5993 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
5994 building void typed builtins.
3deb2758 5995
c13db5d1
JM
5996 * config/rs6000/altivec.h (vec_ld*): Fix typos.
5997 (vec_step): Implement for C++.
3deb2758 5998
c13db5d1 5999Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2c79137a
RK
6000
6001 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
6002
ebbb0a63
RH
60032002-02-04 Richard Henderson <rth@redhat.com>
6004
6005 * combine.c (nonzero_bits): Re-introduce special case for
6006 sp/fp/ap wrt REGNO_POINTER_ALIGN.
6007
ae4b4a02
AH
60082002-02-05 Aldy Hernandez <aldyh@redhat.com>
6009
c13db5d1
JM
6010 * doc/extend.texi: Warn about unsupported usage of altivec
6011 builtins.
ae4b4a02 6012
c13db5d1
JM
6013 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
6014 (altivec_predicate_*): New.
ae4b4a02 6015
c13db5d1
JM
6016 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
6017 Add C++ version of vec_*() functions.
ae4b4a02 6018
c13db5d1
JM
6019 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
6020 (bdesc_2arg): Remove altivec predicates.
6021 (altivec_expand_builtin): Handle predicates.
6022 (altivec_init_builtins): Handle predicates.
6023 (altivec_expand_predicate_builtin): New.
ae4b4a02 6024
f6bcf44c
JDA
60252002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
6026
6027 * pa.c (DO_FRAME_NOTES): Move forward.
6028 (store_reg): Revise handling of frame notes.
6029 (load_reg): Likewise.
6030 (set_reg_plus_d): Likewise.
6031 (hppa_expand_prologue): Likewise.
6032 (hppa_expand_epilogue): Likewise.
b137f9fc 6033
703b0080
JDA
60342002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
6035
6036 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
6037
6f9fdf4d
JJ
60382002-02-04 Jakub Jelinek <jakub@redhat.com>
6039
6040 PR c/4475, c++/3780:
6041 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
6042 * c-common.h (SWITCH_TYPE): Define.
6043 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
6044 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
6045 Rename spareness variable to sparseness.
6046 (expand_end_case_type): Renamed from expand_end_case, use orig_type
6047 if non-NULL instead of TREE_TYPE (orig_index).
6048 * tree.h (expand_end_case_type): Renamed from expand_end_case.
6049 (expand_end_case): Define using expand_end_case_type.
6050 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
6051 to expand_end_case_type.
6052 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
6053
79109502
JDA
60542002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
6055
6056 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
6057 (BIGGEST_ALIGNMENT): Change to 128.
6058
e62a5987
JDA
60592002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
6060
6061 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
6062
219f24a4
JDA
60632002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
6064
6065 * pa.md (call_internal_reg_64bit): Remove unused variable.
6066
3cb66fd7
NC
60672002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
6068
6069 * config/arm/arm.h (machine_function): Add uses_anonymous_args
6070 field.
831c4e87 6071 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
3cb66fd7 6072 * config/arm/arm.c (current_function_anonymous_args): Delete,
831c4e87
KC
6073 replace uses with cfun->machine->uses_anonymous_args.
6074 (arm_reorg): Do not reset uses_anonymous_args.
3cb66fd7
NC
6075
6076 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
6077 any geenral register.
b137f9fc 6078
5d5603e2 60792001-02-04 Bernd Schmidt <bernds@redhat.com>s
24c545ff
BS
6080
6081 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
6082 the entry block.
6083
563c12b0
RH
60842002-02-04 Richard Henderson <rth@redhat.com>
6085
6086 * combine.c (force_to_mode): Remove STACK_BIAS code.
6087 (nonzero_bits): Likewise. Replace sp/fp special case with
6088 REGNO_POINTER_ALIGN.
6089
6090 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
6091 (HARD_FRAME_POINTER_REGNUM): New.
6092 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
6093 (FIXED_REGS, CALL_USED_REGS): Update.
6094 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
6095 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
6096 (HARD_REGNO_NREGS): Update for SFP.
6097 (STACK_POINTER_OFFSET): Include bias here ...
6098 (FIRST_PARM_OFFSET): ... not here.
6099 (STACK_BIAS): Remove.
6100 (INIT_EXPANDERS): New.
6101 (STARTING_FRAME_OFFSET): Do not include bias.
6102 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
6103 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
6104 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
6105 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
6106 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
6107 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
6108 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
6109 (MUST_SAVE_REGISTER): Likewise.
6110 (sparc_flat_function_prologue): Likewise.
6111 (sparc_flat_function_epilogue): Likewise.
6112 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
6113 (sparc_init_modes): SFP is GENERAL_REGS.
6114 (sparc_builtin_saveregs): SFP does not have bias applied.
6115
14691f8d
RH
61162002-02-04 Richard Henderson <rth@redhat.com>
6117
6118 * config/alpha/alpha.c (current_function_is_thunk): Don't check
6119 current_function_is_thunk.
6120 (alpha_sa_mask): Distinguish between current_function_is_thunk
6121 called from ASM_OUTPUT_MI_THUNK and not.
6122 (alpha_does_function_need_gp): Thunks always need gp.
6123 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
6124 (alpha_output_mi_thunk_osf): New.
6125 * config/alpha/alpha-protos.h: Update.
6126 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
6127
af702de8
RS
61282002-02-04 Richard Sandiford <rsandifo@redhat.com>
6129
6130 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
6131 function types, not when they're taken away.
6132
5b1cacd8
JL
6133Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
6134
6135 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
6136 CODE_LABEL and jump table when replacing a table jump with a
6137 simple jump.
6138
f3e9edff
UW
61392002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6140
6141 * config/s390/s390-protos.h (legitimize_la_operand,
6142 s390_secondary_input_reload_class, s390_plus_operand,
6143 s390_expand_plus_operand): Add prototypes.
6144
6145 config/s390/s390.c (s390_secondary_input_reload_class,
6146 s390_plus_operand, s390_expand_plus_operand): New functions.
6147
6148 (struct s390_address): New member 'pointer'.
6149 (s390_decompose_address): Compute it.
6150 (legitimate_la_operand_p): Use it.
6151 (legitimize_la_operand): New function.
6152 (movti, movdi, movdf splitters): Call it.
6153
6154 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
6155 (PREDICATE_CODES): Add s390_plus_operand.
6156
6157 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
6158 (la_ccclobber): Allow GENERAL_REGS as output operand.
6159
6160 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
6161 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
6162 (*la_64, *la_31, reload_indi, reload_insi): ... these.
6163
3c9a08ec
UW
61642002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6165
6166 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
6167 register names for regular asm () construct.
6168
ac300a45
JJ
61692002-02-04 Jakub Jelinek <jakub@redhat.com>
6170
6171 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
6172 registers.
6173
fa852403
JJ
61742002-02-04 Jakub Jelinek <jakub@redhat.com>
6175
6176 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
6177 pat for recog.
6178
fecaac37
HP
61792002-02-04 Hartmut Penner <hpenner@de.ibm.com>
6180
831c4e87
KC
6181 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
6182 constant pool to be identical by string address and index.
fecaac37 6183
10c45943
AG
61842002-02-04 Anthony Green <green@redhat.com>
6185
6186 * output.h (SECTION_OVERRIDE): Define.
6187 * varasm.c (named_section): Obey SECTION_OVERRIDE.
6188
69474c3c
JT
61892002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
6190
6191 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
6192 by existing arm*-*-netbsd* (a.out) target.
6193 (ns32k-*-netbsdelf*): Likewise.
6194 (sparc-*-netbsdelf*): Likewise.
6195 (vax-*-netbsdelf*): Likewise.
6196
939a46f6 61972002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
3b56934f
CF
6198
6199 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
6200 headers and libobjc headers.
6201
62022002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
6203
6204 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
6205 (_mingw.h): Remove duplicate include.
6206
2fd95d71
JT
62072002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
6208
6209 * config.gcc: Set cpu_type to m68k for 68010, as well.
6210 (m68010-*-netbsdelf*): New...
6211 (m68k*-*-netbsdelf*): ...targets.
6212 * config/m68k/netbsd-elf.h: New file.
6213
0ea6f6a0
KH
62142002-02-02 Kazu Hirata <kazu@hxi.com>
6215
6216 * config/h8300/h8300.c (hand_list): Move inside function_arg.
6217
cbf1b2da
KH
62182002-02-02 Kazu Hirata <kazu@hxi.com>
6219
6220 * config/h8300/h8300.c (h8_push_ops): Move inside
6221 h8300_init_once.
6222 (h8_pop_ops): Likewise.
6223 (h8_move_ops): Likewise.
6224
0869f126
KH
62252002-02-02 Kazu Hirata <kazu@hxi.com>
6226
6227 * config/h8300/h8300.c (os_task): Make it static.
6228 (monitor): Likewise.
6229 (pragma_saveall): Likewise.
6230
90e65b70
AO
62312002-02-02 Alexandre Oliva <aoliva@redhat.com>
6232
6233 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
6234 constant is a valid sign-extension for Pmode.
6235
9cbcd983
KH
62362002-02-02 Kazu Hirata <kazu@hxi.com>
6237
6238 * config/h8300/h8300.c: Fix formatting.
6239
7a27efc4
KH
62402002-02-02 Kazu Hirata <kazu@hxi.com>
6241
6242 * config/h8300/h8300.md: Fix formatting.
6243
54175a44
KH
62442002-02-02 Kazu Hirata <kazu@hxi.com>
6245
6246 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
6247 predicates of operands[1]. Split the patterns for each
6248 processor variant.
6249
eceb1755
KH
62502002-02-02 Kazu Hirata <kazu@hxi.com>
6251
6252 * config/h8300/h8300.md (xor patterns): Tighten the predicates
6253 of operands[1] to register_operand.
6254
0fef3fd0
NB
62552002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
6256
6257 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
6258 * cpphash.c (_cpp_init_hashtable): Similarly.
6259 * cppinit.c (cpp_create_reader): Default the signed_char flag.
6260 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
6261 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
6262 (cpp_handle_option): Handle the new options.
6263 * cpplex.c (cpp_interpret_charconst): Use new flag.
6264 * cpplib.h (struct cpp_options): New member signed_char.
6265 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
6266 (cpp_options): Handle -fsigned-char and -funsigned-char.
6267 (static_specs): Remove signed_char_spec.
6268 (do_spec1): Don't handle %c.
6269 * system.h: Poison SIGNED_CHAR_SPEC.
6270 * tradcif.y (yylex): Use flag_signed_char.
6271 * tradcpp.h (flag_signed_char): New.
6272 * tradcpp.c (flag_signed_char): New.
6273 (main): Handle new command-line options.
6274 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
6275config:
6276 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
6277 * avr/avr.h: Remove old comments.
6278 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
6279 (CC1_SPEC): Pass -fsigned-char if -mic*.
6280 (SIGNED_CHAR_SPEC): Remove.
6281doc:
6282 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
6283
0617ed52
EC
62842002-02-01 Eric Christopher <echristo@redhat.com>
6285
6286 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
6287 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
6288 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
6289 (ASM_OUTPUT_REG_POP): Ditto.
6290
dfd48d76
NB
62912002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
6292
6293 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
6294 patch.
6295
4a23409e
JJ
62962002-02-02 Jakub Jelinek <jakub@redhat.com>
6297
6298 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
6299
d3c52658
JJ
63002002-02-02 Jakub Jelinek <jakub@redhat.com>
6301
6302 PR c/5304:
6303 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
6304 unconditionally.
6305
02c5a3bd
JJ
63062002-02-01 Janis Johnson <janis187@us.ibm.com>
6307
6308 * cfganal.c: Include tm_p.h.
6309 (keep_with_call_p): Fix the test that determines if a register holds
6310 the return value of a call.
6311
3968de80
DD
63122002-02-01 DJ Delorie <dj@redhat.com>
6313
6314 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
6315 we are given conflicting registers, switch to the other one we
6316 had allocated for us.
6317 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
6318 as TImode so we know when the "other" register is available.
6319
1338ea6c
DB
63202002-02-01 David O'Brien <obrien@FreeBSD.org>
6321
6322 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
6323 sparc/sparc_bi.h.
6324
f015be23
JJ
63252002-02-01 Janis Johnson <janis187@us.ibm.com>
6326
6327 * cfganal.c (keep_with_call_p): New function.
6328 (flow_call_edges_add): Prevent splitting a block between a call and
6329 a single-set instruction that should be kept in the same block.
6330
63708ffc
CR
63312002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
6332
6333 * doc/install.texi (avr): Update outdated URL.
6334
5ee4950e
AH
63352002-01-30 Andrew Haley <aph@cambridge.redhat.com>
6336
831c4e87
KC
6337 * config/stormy16/stormy16.md (pushqi): New.
6338 (popqi): New.
6339 (pushhi): New.
6340 (pophi): New.
6341 (movhi): Remove stack operands.
6342 (movqi): Likewise.
6343 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
6344 nonimmediate_nonstack_operand.
6345 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
6346 New.
6347 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
6348 New.
5ee4950e 6349
b88c0704
JM
63502002-01-31 Jason Merrill <jason@redhat.com>
6351
6352 * Makefile.in (c-parse.c): Handle .output file.
6353 * objc/Make-lang.in (objc-parse.c): Likewise.
6354
ac282977
AO
63552002-02-01 Alexandre Oliva <aoliva@redhat.com>
6356
6357 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
6358 the -me[lb] option is given. Don't output the default flag
6359 twice.
6360
bebc7e8b
ZW
63612002-01-31 Zack Weinberg <zack@codesourcery.com>
6362
6363 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
6364 the primary source file; this has not been done yet.
6365 * c-decl.c (c_expand_body): Reset input_filename from
6366 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
6367
5809eb5f
KH
63682002-01-31 Kazu Hirata <kazu@hxi.com>
6369
6370 * rtlanal.c (subreg_regno_offset): Do not use
6371 SUBREG_REGNO_OFFSET.
6372 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
6373 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
6374
8512bbd7
JM
63752002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
6376
6377 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
6378 version rather than GNATS version in --version output.
6379
74cb3cc8
RS
63802002-01-31 Richard Sandiford <rsandifo@redhat.com>
6381
6382 * ifcvt.c (noce_process_if_block): Make a copy of the destination
6383 when copying back from a temporary.
6384
874b5b14
RH
63852002-01-30 Richard Henderson <rth@redhat.com>
6386
6387 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
6388 and new_dest are the same.
6389
e803a64b
RH
63902002-01-30 Richard Henderson <rth@redhat.com>
6391
89cf7be5 6392 PR opt/5076
e803a64b
RH
6393 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
6394 * rtl.c (note_insn_name): Update.
6395 * emit-rtl.c (remove_unnecessary_notes): Kill it.
6396 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
6397 to perform loop rotation.
6398 (expand_exit_loop_top_cond): New.
6399 * tree.h (expand_exit_loop_top_cond): Declare it.
6400 * c-semantics.c (genrtl_while_stmt): Use it.
6401 (genrtl_for_stmt): Likewise.
6402
0b51254d
AO
64032002-01-30 Alexandre Oliva <aoliva@redhat.com>
6404
6405 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
6406 arguments to 64-bit boundaries on 64-bit ABIs.
6407
71cef493
SE
64082002-01-30 Steve Ellcey <sje@cup.hp.com>
6409
6410 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
6411
6169e5fd
JM
64122002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
6413
6414 * c-decl.c (grokdeclarator): Handle type being a typedef for an
6415 invalid type.
6416
86f808dc
DB
64172002-01-30 David O'Brien <obrien@FreeBSD.org>
6418
6419 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
6420 * config/sparc/sparc_bi.h: Remove file.
6421 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
6422
5748ebeb
RH
64232002-01-30 Richard Henderson <rth@redhat.com>
6424
6425 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
6426
20d32cc2
ZW
64272002-01-30 Zack Weinberg <zack@codesourcery.com>
6428
6429 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
6430
b88c0704 64312002-01-30 Jason Merrill <jason@redhat.com>
6bb28965
JM
6432
6433 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
6434 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
6435 (reg_save): Use DW_CFA_offset_extended_sf instead.
6436
6437 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
6438
37060e78
JJ
64392002-01-29 Jakub Jelinek <jakub@redhat.com>
6440
6441 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
6442 in cselib_lookup.
6443
d18dba68
AH
64442002-01-29 Aldy Hernandez <aldyh@redhat.com>
6445
bebc7e8b
ZW
6446 * rs6000.md ("*call_value_local32"): Remove constraints.
6447 ("*call_value_local64"): Same.
6448 ("*call_value_indirect_nonlocal_aix32"): Same.
6449 ("*call_value_nonlocal_aix32"): Same.
6450 ("*call_value_indirect_nonlocal_aix64"): Same.
6451 ("*call_value_nonlocal_aix64"): Same.
6452 ("*call_value_nonlocal_sysv"): Same.
d18dba68 6453
80a8aac6
RH
64542002-01-29 Richard Henderson <rth@redhat.com>
6455
6456 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
6457
12beba6f
RH
64582002-01-29 Richard Henderson <rth@redhat.com>
6459
6460 * expr.c (force_operand): Ignore flag_pic for detecting pic
6461 address loads.
6462 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
6463 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
6464 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
6465 instead of open-coded loop.
6466 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
6467 be fixed when in use.
6468
2583081e
RH
64692002-01-29 Richard Henderson <rth@redhat.com>
6470
6471 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
6472 * sched-rgn.c (propagate_deps): Update them.
6473 * sched-deps.c (sched_analyze_insn): Update them. Flush the
6474 clobbers list when either gets too long.
6475
3b8d200e
JJ
64762002-01-29 Jakub Jelinek <jakub@redhat.com>
6477
6478 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
6479 and INDEX_REGS the same as GENERAL_REGS.
6480 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
6481
2d3115eb
NB
64822002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
6483
bebc7e8b 6484 * tree.c (build_nonstandard_integer_type): Correct prototype.
2d3115eb 6485
ecbe845e
UW
64862002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
6487
bebc7e8b 6488 * config/s390/s390.md (movstrsico, movstrdix_64,
ecbe845e 6489 movstrsix_31): Remove, replace by ...
bebc7e8b 6490 (movstrdi_short, movstrsi_short, movstrdi_long,
ecbe845e
UW
6491 movstrsi_long): ... these. New.
6492 (movstrdi, movstrsi): Adapt.
6493
6494 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
bebc7e8b 6495 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
ecbe845e
UW
6496 Remove unnecessary CC clobber.
6497 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
6498 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
6499
6500 (divmoddi4): Don't partially initialize TImode register.
6501
0b32fca5
GK
65022002-01-29 Geoffrey Keating <geoffk@redhat.com>
6503
6504 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
6505
08ef5437
RH
65062002-01-29 Richard Henderson <rth@redhat.com>
6507
6508 * flow.c (print_rtl_and_abort): Remove.
6509 (print_rtl_and_abort_fcn): Remove.
6510 (verify_local_live_at_start): Use dump_bb instead.
6511 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
6512 (verify_wide_reg_1): Return 2 on mode test failure.
6513
8469e54e
NB
65142002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
6515
6516 PR c/3325, c/3326, c/2511, c/3347
6517 * c-decl.c (enum_decl_context): Remove BITFIELD.
6518 (grokdeclarator): Take bitfield width as an input.
6519 Ensure bitfields are given the correct type. Perform
6520 bitfield width validation with build_bitfield_integer_type
6521 rather than waiting for finish_struct.
6522 (grok_typename, grok_typename_in_parm_context, start_decl,
6523 push_parmdecl, grokfield, start_function): Update calls to
6524 grokdeclarator.
6525 (build_bitfield_integer_type): New function.
6526 (finish_struct): Move bitfield validation to grokdeclarator
bebc7e8b 6527 and build_bitfield_integer_type.
8469e54e
NB
6528 * tree.c (build_nonstandard_integer_type): New function.
6529 * tree.h (build_nonstandard_integer_type): New prototype.
6530objc:
6531 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
6532
ffdeea47
JJ
65332002-01-29 Jakub Jelinek <jakub@redhat.com>
6534
6535 PR other/1502:
6536 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
6537 don't ignore unrecognized -W* options.
6538 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
6539 * cpplib.h (cpp_handle_option): Adjust prototype.
6540 * c-decl.c (c_decode_options): Pass 0 as last argument to
6541 cpp_handle_option.
6542
6543 PR c/2896:
6544 * gcc.c (cpp_unique_options): Split from cpp_options.
6545 (cpp_options): Source cpp_unique_options.
6546 (default_compilers): Use cpp_unique_options instead of cpp_options
6547 when used together with cc1_options.
6548 (static_specs): Add cpp_unique_options.
6549 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
6550 when used together with cc1_options.
6551
1a275226
KH
65522002-01-29 Kazu Hirata <kazu@hxi.com>
6553
6554 * config/h8300/h8300-protos.h: Update the prototype of
6555 output_a_shift.
6556 * config/h8300/h8300.c (output_a_shift): Remove an unused
6557 argument 'insn'. Remove redundant code.
6558 * config/h8300/h8300.md: Adust to the new prototype of
6559 output_a_shift.
6560
a11d9dfc
KH
65612002-01-29 Kazu Hirata <kazu@hxi.com>
6562
6563 * config/h8300/h8300-protos.h: Update the prototypes of
6564 emit_a_rotate and expand_a_rotate.
6565 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
6566 first argument to 'enum rtx_code'.
6567 (expand_a_rotate): Likewise.
6568
871f73e3
KH
65692002-01-28 Kazu Hirata <kazu@hxi.com>
6570
6571 * config/h8300/h8300-protos.h: Update the prototype of
6572 output_simode_bld.
6573 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
6574 'log2'.
6575 * config/h8300/h8300.md: Adjust to the new prototype.
6576
5fc4b751
KH
65772002-01-28 Kazu Hirata <kazu@hxi.com>
6578
6579 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
6580 redundant code.
6581
2d67bd7b
JDA
65822002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
6583
6584 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
6585 is a fixed register before returning pic_offset_table_rtx.
6586 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
6587 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
6588
5a852b3e
JM
65892002-01-28 Jason Merrill <jason@redhat.com>
6590
6bb28965 6591 * dwarf2.h: Sync with src version.
5a852b3e 6592
3bca17dd
PK
65932002-01-28 Paul Koning <pkoning@equallogic.com>
6594
6595 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
6596 BT_FN_VOID_PTR_VAR.
6597 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
6598 * doc/extend.texi (__builtin_prefetch): Update documentation:
6599 first argument is now const void ptr.
6600
7dc3f8c0
KH
66012002-01-28 Kazu Hirata <kazu@hxi.com>
6602
6603 * config/h8300/h8300-protos.h: Remove an unused prototype.
6604
e83cb5f0
RZ
66052002-01-28 Roman Zippel <zippel@linux-m68k.org>
6606
6607 * toplev.c (lang_independent_init): Round up identifier size.
6608
5721cd84
RE
66092002-01-28 Richard Earnshaw <rearnsha@arm.com>
6610
6611 * config.gcc: Revert previous change.
6612
d534119e
AP
66132002-01-28 Andris Pavenis <pavenis@latnet.lv>
6614
6615 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
6616
5a721dab
RE
66172002-01-28 Richard Earnshaw <rearnsha@arm.com>
6618
6619 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
6620 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
6621 other non-elf netbsd config frags.
6622 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
6623 collect2 will does that.
6624 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
6625 shared-lib frobbing will work.
6626
da1775d6
KH
66272002-01-28 Kazu Hirata <kazu@hxi.com>
6628
6629 * config/h8300/h8300.h: Fix formatting.
6630 * config/h8300/h8300.md: Likewise.
6631
8f2e963b
LR
66322002-01-28 Loren J. Rittle <ljrittle@acm.org>
6633
6634 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
6635 the old, removed AAA_standards fix.
6636 * fixinc/fixincl.x: Rebuilt.
6637
fdae5767
HPN
66382002-01-28 Hans-Peter Nilsson <hp@axis.com>
6639
6640 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
6641 atexit call in crtbegin, hooked in after call to frame_dummy;
6642 register EH before registering __fini__start.
6643
2a2ecb63
AH
66442002-01-28 Aldy Hernandez <aldyh@redhat.com>
6645
6646 * config/rs6000/altivec.h: Remove spurious semicolons.
6647
8ed43adf
KH
66482002-01-27 Kazu Hirata <kazu@hxi.com>
6649
6650 * config/h8300/h8300.md: Replace dead bit extraction patterns
6651 with ones that work.
6652
917afb0c
RK
6653Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6654
6655 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
6656 if not STRICT_ALIGNMENT.
6657 * rtl.h (MEM_ALIGN): Likewise.
6658
f70a54cb
CR
66592002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
6660
6661 * doc/invoke.texi (-fdump-translation-unit): Revert this
6662 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
6663
d8fd4914
KH
66642002-01-27 Kazu Hirata <kazu@hxi.com>
6665
6666 * config/h8300/h8300.md (define_constants): New.
6667 (anonymous patterns) Use defined constants appropriately.
6668
15e0e275
KH
66692002-01-27 Kazu Hirata <kazu@hxi.com>
6670
6671 * config/h8300/h8300.c (function_arg): Remove redundant code.
6672
37a0f8a5
RH
66732002-01-26 Richard Henderson <rth@redhat.com>
6674
6675 * sched-deps.c (reg_pending_uses_head): New.
6676 (reg_pending_barrier): Rename from reg_pending_sets_all.
6677 (find_insn_list): Don't mark inline.
6678 (find_insn_mem_list): Remove.
6679 (add_dependence_list, add_dependence_list_and_free): New.
6680 (flush_pending_lists): Replace only_write param with separate
6681 for_read and for_write parameters. Update all callers. Use
6682 add_dependence_list_and_free.
6683 (sched_analyze_1): Do not add reg dependencies here; just set
6684 the pending bits. Use add_dependence_list.
6685 (sched_analyze_2): Likewise.
6686 (sched_analyze_insn): Replace schedule_barrier_found with
6687 reg_pending_barrier. Add all dependencies for pending reg
6688 uses, sets, and clobbers.
6689 (sched_analyze): Don't add reg dependencies for calls, just
6690 set pending bits. Use regs_invalidated_by_call. Treat
6691 sched_before_next_call as a normal list, not a fake insn.
6692 (init_deps): No funny init for sched_before_next_call.
6693 (free_deps): Free pending mems lists. Don't zero reg_last.
6694 (init_deps_global): Init reg_pending_uses.
6695 (finish_deps_global): Free it.
6696 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
6697 (find_insn_mem_list): Remove.
6698 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
6699 (propagate_deps): Use them. Zero temp mem lists.
6700
cea3bd3e
RH
67012002-01-26 Richard Henderson <rth@redhat.com>
6702
6703 * Makefile.in (CRTSTUFF_CFLAGS): New.
6704 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
6705 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
6706 crtstuff.c instead of alpha assembly version.
6707 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
6708 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
6709 not FORCE_{INIT,FINI}_SECTION_ALIGN.
6710 (__do_global_dtors_aux): Mark used.
6711 (frame_dummy, __do_global_ctors_aux): Mark used.
6712 (fini_dummy, init_dummy): Remove.
6713
6714 * config/alpha/crtbegin.asm: Remove file.
6715 * config/alpha/crtend.asm: Remove file.
6716 * config/alpha/t-crtbe: Remove file.
6717 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
6718 (LINK_EH_SPEC): New.
6719
6720 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
6721 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
6722 calling constructors.
6723 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
6724
6725 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
6726 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
6727 CRT_END_INIT_DUMMY hack.
6728 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
6729 FORCE_{INIT,FINI}_SECTION_ALIGN.
6730
6731 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
6732 FORCE_{INIT,FINI}_SECTION_ALIGN.
6733
6734 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
6735 invocation sequence.
6736 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
6737
6738 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
6739 (FORCE_CODE_SECTION_ALIGN): New.
6740
60ffa0e5
RH
67412002-01-26 Richard Henderson <rth@redhat.com>
6742
6743 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
6744
61334ebe
RH
67452002-01-26 Richard Henderson <rth@redhat.com>
6746
6747 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
6748 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
6749
1d788fb6
KH
67502002-01-26 Kazu Hirata <kazu@hxi.com>
6751
6752 * config/h8300/h8300.md: Remove bit extraction patterns that
6753 cannot be triggered.
6754 Restrict each bit extraction pattern to a variant on which the
6755 pattern is tested.
6756
87611f88
JM
67572002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
6758
6759 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
6760
cd74ec59
KH
67612002-01-26 Kazu Hirata <kazu@hxi.com>
6762
6763 * config/h8300/h8300.md: Remove bit test patterns that cannot
6764 be triggered.
6765 Restrict each bit test pattern to a variant on which the
6766 pattern is tested.
6767
93051e0f
KG
67682002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6769
6770 * builtins.c (expand_builtin_strncat): Remove redundant check for
6771 INTEGER_CST.
6772
216c995f
DB
67732002-01-25 David O'Brien <obrien@FreeBSD.org>
6774
6775 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
6776 default setting.
6777 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
6778 existing setting.
6779
33c7f925
GK
67802002-01-25 Geoffrey Keating <geoffk@redhat.com>
6781
6782 * dbxout.c (dbxout_init): Use assemble_name rather than just
6783 stripping off the first character.
6784 (dbxout_source_file): Likewise.
6785
6cd444b4
DD
67862002-01-25 DJ Delorie <dj@redhat.com>
6787
6788 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
6789 using rtx_equal_p, not by comparing pointers.
6790
751551d5
SE
67912002-01-25 Steve Ellcey <sje@cup.hp.com>
6792
6793 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
6794 for PIC_OFFSET_TABLE_REGNUM.
6795 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
6796
e564e618
DB
67972002-01-25 David O'Brien <obrien@FreeBSD.org>
6798
6799 * config.gcc (x86_64-*-freebsd*): New target.
6800 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
6801 value.
6802 (i[34567]86-*-freebsd*): Don't include svr4.h.
6803 * config/i386/freebsd64.h: New file.
6804
ff3aaf17
DR
68052002-01-25 Douglas B Rupp <rupp@gnat.com>
6806
4857d29d
DR
6807 * config/alpha/x-vms (version): Make static.
6808
6809 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
6810 in previous checkin.
6811
ff3aaf17
DR
6812 * Makefile.in (install-headers-cp): New target.
6813 * config.gcc (alpha-dec-*vms*): Install headers with
6814 install-headers-cp
6815
48d79c43
JH
6816Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
6817
6818 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
6819 avoid it's copies.
6820
995b5904
RK
6821Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6822
6823 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
6824 of compare_tree_int.
6825 (expand_builtin_strncat): Likewise.
6826 * c-decl.c (finish_struct): Use tree_low_cst.
6827 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
6828 * tree.c (compare_tree_int): Likewise.
6829
75eefe3f
UW
68302002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
6831
6832 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
6833 adjustments even if they are implemented by more than two insns.
6834
5a133afd
JH
6835Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
6836
995b5904 6837 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
5a133afd
JH
6838 * df.h (struct ref): Kill B.
6839 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
6840
6841 * basic-block.h (PROP_EQUAL_NOTES): New flag.
6842 * flow.c (propagate_one_insn): Use it.
6843 (mark_used_regs): Handle NIL.
6844
ead39bdf 68452002-01-25 Geoffrey Keating <geoffk@redhat.com>
3d8dd3c0
GK
6846
6847 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
6848 to help folding.
6849
01a2ccd0
DE
68502002-01-25 David Edelsohn <edelsohn@gnu.org>
6851
6852 * rs6000.md (prefetch): Make address V4SI mode so that the address
6853 is restricted to legitimate form for instruction.
6854
fd29f6ea
BW
68552002-01-25 Bob Wilson <bob.wilson@acm.org>
6856
6857 * doc/install.texi (xtensa-*-elf): New target.
6858 (xtensa-*-linux*): New target.
6859 * doc/contrib.texi: Add myself.
6860
55492b32
NC
68612002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
6862
6863 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
6864 purpose register to hold an SImode (or smaller) value.
6865
72c7c913
JJ
68662002-01-25 Jakub Jelinek <jakub@redhat.com>
6867
6868 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
6869 registry only.
6870 * crtstuff.c: Likewise.
6871
c4df4ceb
KH
68722002-01-25 Kazu Hirata <kazu@hxi.com>
6873
6874 * config/h8300/h8300.md (negation patterns): Tighten
6875 predicates to register_operand.
6876
70e531f5
AH
68772002-01-24 Aldy Hernandez <aldyh@redhat.com>
6878
3bca17dd
PK
6879 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
6880 mode, not Pmode.
70e531f5 6881
3bca17dd 6882 * builtins.c (expand_builtin_prefetch): Same.
70e531f5 6883
a4f76ef9
AO
68842002-01-24 Alexandre Oliva <aoliva@redhat.com>
6885
6886 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
6887 modes.
6888
9bf25b09
KH
68892002-01-24 Kazu Hirata <kazu@hxi.com>
6890
6891 * config/h8300/h8300.c (print_operand): Remove support for
6892 operand character 'A'.
6893 * config/h8300/h8300.md (three anonymous patterns): Replace
6894 operand character 'A' with either 'T' or 'S'.
6895
974af6a5
KH
68962002-01-24 Kazu Hirata <kazu@hxi.com>
6897
6898 * config/h8300/h8300.c (print_operand): Remove support for
6899 operand character 'U'.
6900
7a5bb7b8
AP
69012002-01-24 Andris Pavenis <pavenis@latnet.lv>
6902
3bca17dd 6903 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
7a5bb7b8 6904
92a4639e
NC
69052002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
6906
6907 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
6908 values to be assigned to the stack pointer.
6909
467cb2da
HP
69102002-01-14 Hartmut Penner <hpenner@de.ibm.com>
6911
bebc7e8b 6912 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
467cb2da
HP
6913 to const_double needs to be done right for big-endian systems.
6914
3b6cb920
JM
69152002-01-24 Jason Merrill <jason@redhat.com>
6916
b08dd119 6917 PR c++/2432
3b6cb920
JM
6918 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
6919 to can_throw_internal.
6920
f3077311
RH
69212002-01-23 Richard Henderson <rth@redhat.com>
6922
6923 * fold-const.c (fold): Change UINT_MAX test to check vs precision
6924 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
6925
e1d71275
AO
69262002-01-24 Alexandre Oliva <aoliva@redhat.com>
6927
6928 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
6929 (symGOT2reg): Use them, then set as GOT value as unchanging.
6930 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
6931 as a temporary, if possible.
6932 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
6933 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
6934
dc271dbe
KH
69352002-01-23 Kazu Hirata <kazu@hxi.com>
6936
6937 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
6938 accept to accept 0x80 as operands[2].
6939
1a9017f9
AO
69402002-01-24 Alexandre Oliva <aoliva@redhat.com>
6941
6942 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
6943
6932f033
RH
69442002-01-23 Richard Henderson <rth@redhat.com>
6945
6946 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
6947
709619d9
AH
69482002-01-23 Aldy Hernandez <aldyh@redhat.com>
6949
3bca17dd
PK
6950 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
6951 (parmlist_or_identifiers_1): Verify that only a parmlist follows
6952 an attribute.
709619d9 6953
3d709fd3
RH
69542002-01-23 Richard Henderson <rth@redhat.com>
6955
6956 * expr.c (move_by_pieces_1): Extend size before negation.
6957
88a446c0
RH
6958 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
6959 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
6960 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
6961 * config/m68k/t-m68kelf: Likewise.
6962
03984308
BW
69632002-01-23 Bob Wilson <bob.wilson@acm.org>
6964
6965 * config/xtensa/elf.h: New file.
6966 * config/xtensa/lib1funcs.asm: New file.
6967 * config/xtensa/lib2funcs.S: New file.
6968 * config/xtensa/linux.h: New file.
6969 * config/xtensa/t-xtensa: New file.
6970 * config/xtensa/xtensa-config.h: New file.
6971 * config/xtensa/xtensa-protos.h: New file.
6972 * config/xtensa/xtensa.c: New file.
6973 * config/xtensa/xtensa.h: New file.
6974 * config/xtensa/xtensa.md: New file.
6975 * config.gcc (xtensa-*-elf*): New target.
6976 (xtensa-*-linux*): New target.
6977 * cse.c (canon_hash): Compare rtx pointers instead of register
6978 numbers. This is required for the Xtensa port.
6979 * integrate.c (copy_insn_list): Handle case where the static
6980 chain is in memory and the memory address has to be copied to
6981 a register.
6982 * doc/invoke.texi (Option Summary): Add Xtensa options.
6983 (Xtensa Options): New node.
6984 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
6985
c3d5c3fa
ZW
69862002-01-23 Zack Weinberg <zack@codesourcery.com>
6987
a63bea75
ZW
6988 * diagnostic.c (internal_error): Do ICE suppression only
6989 when ENABLE_CHECKING is not defined.
6990
c3d5c3fa
ZW
6991 * c-typeck.c (require_complete_type): Return error_mark_node
6992 if type is error_mark_node.
6993
1398974c
JJ
69942002-01-23 Janis Johnson <janis187@us.ibm.com>
6995
6996 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
6997 -Os and issue a warning.
6998
807633e5
ZW
69992002-01-23 Zack Weinberg <zack@codesourcery.com>
7000
7001 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
7002 current (lack of) need for host configuration by hand.
7003
7004 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
7005 references. Documentation of some target macros moved from
7006 hostconfig.texi to tm.texi.
7007
cf8002d0
WC
70082002-01-23 Will Cohen <wcohen@redhat.com>
7009
7010 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
7011 defined.
7012
d1e76310
KH
70132002-01-23 Kazu Hirata <kazu@hxi.com>
7014
7015 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
7016 operand[3].
7017
b2115575
JM
70182002-01-23 Jason Merrill <jason@redhat.com>
7019
f893c16e
JM
7020 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
7021
b2115575
JM
7022 * function.c (assign_parms): Don't put args of inline functions
7023 into registers when not optimizing.
7024
6bacc7b0
NC
70252002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
7026
7027 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
7028 (prologue_use): New pattern.
7029 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
7030 preference to gen_rtx_USE.
7031 (thumb_expand_prologue): Use gen_prologue_use in preference to
7032 gen_rtx_USE.
7033 (thumb_expand_epilogue): Use gen_prologue_use in preference to
7034 gen_rtx_USE.
7035
a415f7bc
HPN
70362002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
7037
7038 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
7039
5372b3fb
NB
70402002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
7041
7042 PR c/3504
7043 * doc/extend.texi: Correct documentation of __alignof__.
7044
bd571ffc
ZW
70452002-01-22 Zack Weinberg <zack@codesourcery.com>
7046
7047 * params.h: Rename arguments of DEFPARAM so that it will be
7048 recognized as a translation keyword.
7049
333c8841
AH
70502002-01-22 Aldy Hernandez <aldyh@redhat.com>
7051
bd571ffc
ZW
7052 * extend.texi: Document altivec functions.
7053 Fix N-bit adjectives in X86 builtin documentation.
333c8841 7054
38979c65
AO
70552002-01-22 Alexandre Oliva <aoliva@redhat.com>
7056
7057 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
7058 auto_inc_dec values.
7059
7458a9f0
RE
70602002-01-22 Richard Earnshaw <rearnsha@arm.com>
7061
7062 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
7063 after backslash.
7064 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
7065
129bd0c4
AO
70662002-01-22 Alexandre Oliva <aoliva@redhat.com>
7067
7068 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
7069
8b9b74a9
RH
70702002-01-22 Richard Henderson <rth@redhat.com>
7071
7072 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
7073 copy_insn not copy_rtx.
7074
d0c9db30
AM
70752002-01-23 Alan Modra <amodra@bigpond.net.au>
7076
7077 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
7078 "nonzero" as that might add "1" bits. Ensure "constop" is
7079 properly sign extened.
7080 (force_to_mode): Tweak for sign extended constop.
7081
1e7e480e
RH
70822002-01-22 Richard Henderson <rth@redhat.com>
7083
7084 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
7085 for_each_rtx instead of assuming we're already looking at the MEM.
7086 (split_small_symbolic_mem_operand): Likewise.
7087 * config/alpha/alpha.h (PREDICATE_CODES): Update.
7088 * config/alpha/alpha.md (small symbolic memory splitters): Update.
7089
70902002-01-22 Richard Henderson <rth@redhat.com>
2e271932
RH
7091
7092 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
7093 sequence number for the literal.
7094 (divmoddi_internal_er): Likewise.
7095
b7f2fb96
CR
70962002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
7097
7098 PR java/4972
7099 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
7100 in LIBICONV variable.
7101 * configure: Regenerated.
7102
f66a0046
KW
71032002-01-22 Krister Walfridsson <cato@df.lth.se>
7104
7105 * dependence.c (build_def_use): Remove array_idx.
7106
e3b0efd1
KW
7107 * dwarfout.c (last_filename): Remove.
7108 (output_compile_unit_die): Remove last_filename.
7109
d8086cbb
RS
71102002-01-22 Roger Sayle <roger@eyesopen.com>
7111 Richard Henderson <rth@redhat.com>
7112
7113 PR opt/3640
7114 * fold-const.c (fold): Optimize unsigned comparisons against
7115 UINT_MAX (and similar unsigned constants).
7116
e8d52ba0
JJ
71172002-01-22 Janis Johnson <janis187@us.ibm.com>
7118
d8086cbb 7119 * Makefile.in (loop.o): Depend on OPTABS_H.
1398974c 7120 * loop.c (emit_prefetch_instructions): Check the prefetch operand
d8086cbb 7121 against the predicate.
11303d15 7122
e8d52ba0
JJ
7123 PR target/5379
7124 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
7125 for the address operand.
7126
cc7b420e
RH
71272002-01-22 Richard Henderson <rth@redhat.com>
7128
7129 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
7130
816e265a
CR
71312002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
7132
7133 PR other/5450
cc7b420e
RH
7134 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
7135 preprocessor flags.
816e265a 7136
7c884404
JT
71372002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
7138
7139 * config.gcc (x86_64-*-netbsd*): New target.
7140 * config/i386/netbsd64.h: New file.
7141
2b672c08
AH
71422002-01-22 Aldy Hernandez <aldyh@redhat.com>
7143
d8086cbb 7144 * regrename.c (kill_value): Fix typo.
2b672c08
AH
7145
71462002-01-22 Aldy Hernandez <aldyh@redhat.com>
7147
d8086cbb 7148 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
2b672c08 7149
d8086cbb 7150 * config/rs6000/rs6000.h: Same.
2b672c08 7151
d8086cbb
RS
7152 * function.c (instantiate_virtual_regs): Remove
7153 STARTING_FRAME_PHASE.
7154 (assign_stack_local_1): Same.
7155 Calculate frame phase.
2b672c08 7156
4b02997f
NC
71572002-01-22 Nick Clifton <nickc@redhat.com>
7158
7159 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
7160 variable declaration to outer scope in order to simplify
7161 future extensions.
7162 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
7163 arm_hard_regno_mode_ok.
7164 * config/arm/arm-protos.h: Add a prototype for
7165 arm_hard_regno_mode_ok.
7166 * config/arm/arm.c (soft_df_operand): Remove now redundant
7167 check for DImode values using IP_REGNUM.
7168 (nonimmediate_soft_df_operand): Remove now redundant check for
7169 DImode values using IP_REGNUM.
7170 (arm_hard_regno_mode_ok): New function. New check: make sure
7171 that DImode values are not stored in IP_REGNUM.
c14a3a45
NC
7172
7173 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
7174 note with a USE.
7175 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
7176
8a827ab2
JM
71772002-01-22 Jason Merrill <jason@redhat.com>
7178
7179 * c-semantics.c (genrtl_compound_stmt): Only check nesting
7180 consistency if this COMPOUND_STMT is scoped.
7181
cf403648
KH
71822002-01-22 Kazu Hirata <kazu@hxi.com>
7183
7184 * predict.c: Fix formatting.
7185 * print-tree.c: Likewise.
7186 * protoize.c: Likewise.
7187 * real.h: Likewise.
7188 * rtl.h: Likewise.
7189 * sbitmap.h: Likewise.
7190 * scan.c: Likewise.
7191 * sched-deps.c: Likewise.
7192 * sched-vis.c: Likewise.
7193 * sdbout.c: Likewise.
7194 * sibcall.c: Likewise.
7195 * ssa.c: Likewise.
7196 * ssa-ccp.c: Likewise.
7197 * ssa-dce.c: Likewise.
7198 * stmt.c: Likewise.
7199 * stor-layout.c: Likewise.
7200 * system.h: Likewise.
7201
aea9695c
RK
7202Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7203
a8765ae7
RK
7204 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
7205 if fits in bounds of base type.
7206
aea9695c
RK
7207 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
7208 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
7209 (add_bound_info, default): If can't find a context, make a
7210 SAVE_EXPR.
7211 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
7212
58bf601b
HPN
72132002-01-22 Hans-Peter Nilsson <hp@axis.com>
7214
7215 * c-typeck.c (parser_build_binary_op): If result from
7216 build_binary_op is ERROR_MARK just return error_mark_node without
7217 further processing.
7218
f982f805
JT
72192002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
7220
7221 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
7222 Split a.out-specific bits into...
7223 * config/netbsd-aout.h: ...this.
7224 * config/netbsd-elf.h: New file.
7225 * config/alpha/netbsd-elf.h: Remove.
7226 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
7227 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
bd571ffc 7228 (STARTFILE_SPEC): Remove redundant definition.
f982f805
JT
7229 (ENDFILE_SPEC): Likewise.
7230 (LINK_SPEC): Likewise.
7231 (CPP_SPEC): Likewise.
7232 (ASM_SPEC): Likewise.
7233 (LIB_SPEC): Likewise.
7234 (SWITCH_TAKES_ARG): Likewise.
7235 (TARGET_MEM_FUNCTIONS): Likewise.
7236 (CPP_PREDEFINES): Redefine.
7237 (ASM_FINAL_SPEC): Remove redefinition.
7238 (ASM_COMMENT_START): Redefine.
7239 (FUNCTION_PROFILER): Define.
7240 (TARGET_VERSION): Redefine.
7241 Comment and formatting cleanup.
7242 * config/i386/netbsd.h: Include <netbsd-aout.h>.
7243 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
7244 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
7245 big- or little-endian.
7246 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
7247 * config.gcc (*-*-netbsd*): Add definitions common to all
7248 NetBSD configs.
7249 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
7250 gnu_ld definitions. Add netbsd-elf.h to and remove
7251 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
7252 tmake_file, and don't lose previous tmake_file contents.
7253 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
7254 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
7255 gnu_ld definitions. Add netbsd-elf.h to tm_file.
7256 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
7257 (mipsel-*-netbsd*): Rename this to...
7258 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
7259 mips/little.h to tm_file for mips*el-*.
7260 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
7261 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
7262 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
7263
2e396476
JDA
72642002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
7265
7266 * pa-protos.h (reg_before_reload_operand): New function prototype.
7267 * pa.c (reg_before_reload_operand): New function implementation.
7268 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
7269 contraints to "*m".
7270
3b5708e7
FS
72712002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7272
7273 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
7274
85e79f96
JDA
72752002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
7276
7277 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
7278 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
7279 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
7280 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
7281 (ENDFILE_SPEC): Undefine.
7282 (STARTFILE_SPEC): Redefine for PA.
7283
38abadee
FS
72842002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7285
7286 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
7287
94f1d97c
DJ
72882002-01-21 Daniel Jacobowitz <drow@mvista.com>
7289
7290 * config.gcc: Add entries to supported PowerPC --with-cpu
7291 types.
7292
0333394e
JJ
72932002-01-21 Jakub Jelinek <jakub@redhat.com>
7294
7295 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
7296 true for 64-bit mode only SSE registers in 32-bit mode.
7297
e9d1b155
KH
72982002-01-21 Kazu Hirata <kazu@hxi.com>
7299
7300 * unwind-dw2.c: Fix formatting.
7301 * unwind-dw2-fde.c: Likewise.
7302 * unwind-dw2-fde.h: Likewise.
7303 * unwind-pe.h: Likewise.
7304 * varasm.c: Likewise.
7305 * varray.h: Likewise.
7306
07338cf8
HPN
73072002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
7308
7309 Remove workaround for register stack overwrite bug in mmix.
7310 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
7311 support for TARGET_REG_STACK_FILL_BUG.
7312 * config/mmix/mmix.h: Remove member has_call_without_parameters.
7313 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
7314 Delete.
7315 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
7316 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
7317 -mno-reg-stack-fill-bug-workaround.
7318 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
7319 machine member has_call_without_parameters.
7320 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
7321 -mreg-stack-fill-bug-workaround and
7322 -mno-reg-stack-fill-bug-workaround.
7323 (MMIX Options): Ditto.
7324
7192cbf1
KH
73252002-01-21 Kazu Hirata <kazu@hxi.com>
7326
7327 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
7328 as appropriate.
7329 Remove redundant code.
7330
d1552d7b
JM
73312002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
7332
7333 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
7334 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
7335 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
7336 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
7337 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
7338 out target macro definitions and non-target-specific comments
7339 mostly taken from old versions of the manual.
7340
ed168e45
KH
73412002-01-20 Kazu Hirata <kazu@hxi.com>
7342
7343 * config/h8300/h8300.h: Fix comment formatting.
7344 * config/ia64/aix.h: Likewise.
7345 * config/ia64/ia64-protos.h: Likewise.
7346 * config/ia64/ia64.c: Likewise.
7347 * config/ia64/ia64.h: Likewise.
7348 * config/ia64/ia64intrin.h: Likewise.
7349 * config/ia64/linux.h: Likewise.
7350 * config/ia64/unwind-aix.c: Likewise.
7351 * config/ia64/unwind-ia64.c: Likewise.
7352
005e3e05
KH
73532002-01-20 Kazu Hirata <kazu@hxi.com>
7354
7355 * config/h8300/h8300.c: Revise comments about shift code.
7356
64bead4c
KH
73572002-01-20 Kazu Hirata <kazu@hxi.com>
7358
7359 * config/h8300/h8300.c (function_arg): Update a comment.
7360
ed863595
KH
73612002-01-20 Kazu Hirata <kazu@hxi.com>
7362
7363 * config/h8300/h8300.md: Update the comments at the beginning
7364 of the file.
7365
5904dc87
KH
73662002-01-20 Kazu Hirata <kazu@hxi.com>
7367
7368 * config/i370/i370.c: Fix comment formatting.
7369 * config/i370/i370.h: Likewise.
7370 * config/i370/i370.md: Likewise.
7371 * config/i370/linux.h: Likewise.
7372
9702143f
RK
7373Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7374
cbafacd1
RK
7375 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
7376
9702143f
RK
7377 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
7378 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
7379 in incomplete case.
7380
6b6996b8
GS
73812002-01-20 Graham Stott <grahams@redhat.com>
7382
7383 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
7384
eab854f6
JDA
73852002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
7386
7387 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
7388
5b029315
TR
73892002-01-19 Tom Rix <trix@redhat.com>
7390
7391 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
7392
1d690052
AH
73932002-01-18 Aldy Hernandez <aldyh@redhat.com>
7394
d8086cbb 7395 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1d690052 7396
d8086cbb
RS
7397 * function.c (assign_stack_local_1): Adjust x_frame_offset with
7398 STARTING_FRAME_PHASE.
7399 (STARTING_FRAME_PHASE): New.
7400 (instantiate_virtual_regs): Check saneness of
7401 STARTING_FRAME_PHASE.
1d690052 7402
d8086cbb 7403 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1d690052 7404
4dd8c093
AO
74052002-01-19 Alexandre Oliva <aoliva@redhat.com>
7406
7407 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
7408
6f2a28d7
CR
74092002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
7410
7411 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
7412 be used for bootstrapping GCC 3.0.
7413
8763a465
KH
74142002-01-18 Kazu Hirata <kazu@hxi.com>
7415
7416 * config/h8300/h8300.md: Fix an insn length.
7417
3ef42a0c
KH
74182002-01-18 Kazu Hirata <kazu@hxi.com>
7419
7420 * bitmap.h: Fix comment formatting.
7421 * combine.c: Likewise.
7422 * cppfiles.c: Likewise.
7423 * c-pragma.h: Likewise.
7424 * c-typeck.c: Likewise.
7425 * df.c: Likewise.
7426 * dwarf2out.c: Likewise.
7427 * function.c: Likewise.
7428 * gcc.c: Likewise.
7429 * genattrtab.c: Likewise.
7430 * gthr-win32.h: Likewise.
7431 * haifa-sched.c: Likewise.
7432 * predict.c: Likewise.
7433 * rtlanal.c: Likewise.
7434 * rtl.h: Likewise.
7435 * unwind-dw2-fde.h: Likewise.
7436 * unwind-pe.h: Likewise.
7437 * vmsdbgout.c: Likewise.
7438
dd4dc3cd
RK
7439Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7440
7441 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
7442 if type_required and passed decl.
7443
5fb4cf24
AH
74442002-01-17 Aldy Hernandez <aldyh@redhat.com>
7445
d8086cbb
RS
7446 * config.gcc (cpu_type): Include altivec.h in powerpc
7447 extra_headers.
7448 Same for darwin.
5fb4cf24 7449
d8086cbb 7450 * config/rs6000/altivec.h: New.
5fb4cf24 7451
2705baf5
DE
74522002-01-17 David Edelsohn <edelsohn@gnu.org>
7453
7454 * doc/install.texi (*-ibm-aix*): Update assembler and exception
7455 handling information.
7456 * doc/trouble.texi (Interoperation): Add libstdc++ information
7457 for AIX.
7458 (Misunderstandings): Add template instantiation and static template
7459 member information for AIX.
7460
dbd680e1
JM
74612002-01-17 Jason Merrill <jason@redhat.com>
7462
821adc5e
JM
7463 * dbxout.c (dbxout_type): Support const and volatile.
7464
dbd680e1
JM
7465 * except.c (add_partial_entry): Remove backwards compatibility code.
7466 (end_protect_partials): Likewise.
7467
d0e82870
JJ
74682002-01-17 Jakub Jelinek <jakub@redhat.com>
7469
7470 * config/ia64/ia64.md (prologue_use): New.
7471 * config/ia64/ia64.c (ia64_expand_prologue): Use
7472 gen_prologue_use instead of gen_rtx_USE.
7473 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
7474 as CODE_FOR_pred_rel_mutex.
7475 (ia64_sched_reorder2): Likewise.
7476
f9f45c65
EC
74772002-01-16 Eric Christopher <echristo@redhat.com>
7478
7479 * config/mips/r3900.h: Reformat.
7480 (SUBTARGET_CPP_SIZE_SPEC): Remove.
7481 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
7482 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
7483 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
7484 * config/mips/t-elf: Remove mips3 multilib.
7485
c66c8b0e
L
74862002-01-16 H.J. Lu <hjl@gnu.org>
7487
7488 * config/mips/linux.h: Include "mips/abi64.h".
7489
5f083b72
L
74902002-01-16 H.J. Lu <hjl@gnu.org>
7491
7492 * config/mips/t-linux: New.
7493
7494 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
7495
7496 * config/mips/linux.h: Don't include "gofast.h".
7497 (INIT_SUBTARGET_OPTABS): Removed.
7498
af3c90a6
KH
74992002-01-16 Kazu Hirata <kazu@hxi.com>
7500
7501 * config/h8300/h8300-protos.h: Replace emit_a_shift with
7502 output_a_shift.
7503 * config/h8300/h8300.c: Likewise.
7504 * config/h8300/h8300.md: Likewise.
7505
a1bf0a16
KH
75062002-01-16 Kazu Hirata <kazu@hxi.com>
7507
7508 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
7509 spaces after an opcode name.
7510 (pushqi1_h8300hs): Likewise.
7511 (pushhi1_h8300hs): Likewise.
7512
88ab0d1c
KH
75132002-01-16 Kazu Hirata <kazu@hxi.com>
7514
7515 * doc/extend.texi: Replace "option" with "attribute"
7516 appropriately.
7517
51c561e3
JJ
75182002-01-16 Jakub Jelinek <jakub@redhat.com>
7519
7520 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
7521 (and:DI () (const_int -8)).
7522 (split_small_symbolic_mem_operand): Split
7523 (mem (and:DI () (const_int -8)).
7524
b8c1a6b8
JJ
75252002-01-16 Jakub Jelinek <jakub@redhat.com>
7526
7527 PR target/5309:
d8086cbb 7528 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
b8c1a6b8
JJ
7529 same way as TYPE_IMUL.
7530 (ultrasparc_sched_reorder): Likewise.
7531 * config/sparc/sparc.md (type): Add comment to update
7532 ultrasparc_sched_reorder when making changes.
7533
1e4e4df2
KH
75342002-01-16 Kazu Hirata <kazu@hxi.com>
7535
7536 * doc/invoke.texi: Change the dump file name of block
7537 reordering pass from 28.bbro to 29.bbro.
7538 Mention -dk option.
7539
14d920c0
JH
7540Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
7541
7542 * i386.md (minsf splitter): Fix pasto.
7543
2e99323f
NC
75442002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
7545
7546 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
7547 to frame pointer initialisation instruction.
7548 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
7549 initialisation instruction.
ab8081c1
NC
7550 (soft_df_operand): Do not accept the IP register.
7551 (nonimmediate_soft_df_operand): Do not accept the IP register.
2e99323f 7552
c4031a04
JJ
75532002-01-16 Jakub Jelinek <jakub@redhat.com>
7554
7555 PR target/5357:
7556 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
7557 MASK_V8 being both set.
7558
44b8152b
UW
75592002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
7560
7561 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
7562 insn for GOT register; add REG_MAYBE_DEAD notes instead.
7563 config/s390/s390.md (call, call_value): Add GOT register to
7564 CALL_INSN_FUNCTION_USAGE where needed.
7565 (call_exp, call_value_exp): New.
7566
1d6e90ac
NC
75672002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
7568
7569 * config/arm/arm.c: General formatting tidy up.
7570
75712002-01-16 Graham Stott <grahams@redhat.com>
60e8b9f0
GS
7572
7573 * calls.c (try_to_integrate): Use "(size_t)" intermediate
7574 cast and when casting an integer literal to "rtx" pointer.
7575 (expand_call): Likewise.
7576 * flow.c (try_pre_increment): Likewise.
7577 (find_use_as_address): Likewise.
7578 * integrate.c (expand_iline_function): Likewise.
7579 * regmove.c (try_auto_increment): Likewise.
7580
1d6e90ac 75812002-01-16 Graham Stott <grahams@redhat.com>
7b25b076
GS
7582
7583 * sched-rgn.c (passed): Use sbitmap_free.
7584 (header): Likewise.
7585 (inner): Likewise.
7586 (in_queue): Likewise.
7587 (in_stack): Likewise.
7588
31fce3c4
EC
75892002-01-15 Eric Christopher <echristo@redhat.com>
7590
7591 * flow.c (propagate_one_insn): Change to use fatal_insn.
7592
c99d986a
KH
75932002-01-15 Kazu Hirata <kazu@hxi.com>
7594
7595 * expmed.c (extract_fixed_bit_field): Remove unused code.
7596 * system.h: Poison SLOW_ZERO_EXTEND.
7597 * doc/tm.texi: Remove.
7598 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
7599 * config/arm/arm.h: Likewise.
7600 * config/avr/avr.h: Likewise.
7601 * config/clipper/clipper.h: Likewise.
7602 * config/convex/convex.h: Likewise.
7603 * config/d30v/d30v.h: Likewise.
7604 * config/dsp16xx/dsp16xx.h: Likewise.
7605 * config/elxsi/elxsi.h: Likewise.
7606 * config/fr30/fr30.h: Likewise.
7607 * config/h8300/h8300.h: Likewise.
7608 * config/i370/i370.h: Likewise.
7609 * config/i386/i386.h: Likewise.
7610 * config/m68k/m68k.h: Likewise.
7611 * config/mips/mips.h: Likewise.
7612 * config/ns32k/ns32k.h: Likewise.
7613 * config/pdp11/pdp11.h: Likewise.
7614 * config/pj/pj.h: Likewise.
7615 * config/s390/s390.h: Likewise.
7616 * config/sh/sh.h: Likewise.
7617 * config/stormy16/stormy16.h: Likewise.
7618 * config/v850/v850.h: Likewise.
7619 * config/vax/vax.h: Likewise.
7620 * config/we32k/we32k.h: Likewise.
7621
acfab996
AH
76222002-01-15 Aldy Hernandez <aldyh@redhat.com>
7623
d8086cbb
RS
7624 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
7625 (altivec_lvsl): Change constraint to b.
7626 (altivec_lvsr): Same.
7627 (altivec_lvebx): Same.
7628 (altivec_lvehx): Same.
7629 (altivec_lvewx): Same.
7630 (altivec_lvxl): Same.
7631 (altivec_lvx): Same.
7632 (altivec_stvx): Add parallel.
7633 (altivec_stvxl): Same.
7634 (altivec_stvehx): Same.
7635 (altivec_stvebx): Same.
7636 (altivec_stvebx): Same.
acfab996 7637
5e505bc9
AH
76382002-01-15 Aldy Hernandez <aldyh@redhat.com>
7639
d8086cbb 7640 * config.gcc: Change altivec.h to altivec-defs.h.
5e505bc9 7641
d8086cbb 7642 * config/rs6000/altivec.h: Delete.
5e505bc9 7643
d8086cbb 7644 * config/rs6000/altivec-defs.h: Add.
5e505bc9 7645
5c41fdfb
JDA
76462002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
7647
7648 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
7649 and UMOD modes.
7650
7651 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
7652 less than or equal to eight bytes.
7653
7654 * vax.md (andsi3): Remove constraints and change SET destination
7655 operand type to nonimmediate_operand.
7656 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
7657 when it is a CONST_INT.
7658
de097a2d
JM
76592002-01-15 Jason Merrill <jason@redhat.com>
7660
7661 * c-common.def (FILE_STMT): New code.
7662 * c-common.c (statement_code_p): It's a statement.
7663 * c-common.h (stmt_tree_s): Add x_last_filename.
7664 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
7665 (last_expr_filename): New macro.
7666 * c-semantics.c (begin_stmt_tree): Initialize it.
7667 (add_stmt): If the filename changed, also insert a
7668 FILE_STMT.
7669 (expand_stmt): Handle seeing one.
7670
4a913dd6
EC
76712002-01-15 Eric Christopher <echristo@redhat.com>
7672
7673 * flow.c (propagate_one_insn): Add error message and print out
7674 insn for debugging.
7675
006946e4
JM
76762002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
7677
7678 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
7679 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
7680 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
7681 TRAMPOLINE_ALIGNMENT.
7682 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
7683 to be in bits.
7684 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
7685 PCC_BITFIELD_TYPE_MATTERS.
7686 * config/interix.h (STDC_VALUE): Remove. Use
7687 STDC_0_IN_SYSTEM_HEADERS.
7688 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
7689 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
7690 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
7691
751a1458
CR
76922002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
7693
7694 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
7695 not work on this platform currently.
7696
57771fe8
JM
76972002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
7698
7699 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
7700 readonly_warning in _().
7701
0e83ceb1 77022002-01-15 Douglas B Rupp <rupp@gnat.com>
9a52433e 7703
0e83ceb1 7704 * gcc.c (delete_if_ordinary): Backout previous change.
9a52433e 7705
8e2e89f7
KH
77062002-01-15 Kazu Hirata <kazu@hxi.com>
7707
0e83ceb1
DR
7708 * config/h8300/h8300.c (print_operand): Remove support for
7709 unused operand characters.
7710
8e2e89f7
KH
7711 * read-rtl.c: Fix formatting.
7712 * real.c: Likewise.
7713 * recog.c: Likewise.
7714 * regclass.c: Likewise.
7715 * regmove.c: Likewise.
7716 * reg-stack.c: Likewise.
7717 * reload1.c: Likewise.
7718 * rtlanal.c: Likewise.
7719
b531087a
KH
77202002-01-15 Kazu Hirata <kazu@hxi.com>
7721
7722 * config/i386/i386.c: Fix formatting.
7723
7c94ce7f
JJ
77242002-01-15 Jakub Jelinek <jakub@redhat.com>
7725
7726 * c-typeck.c (process_init_element): Don't save_expr
7727 COMPOUND_LITERAL_EXPR if just its initializer will be used.
7728
6041bf2f
DE
77292002-01-15 David Edelsohn <edelsohn@gnu.org>
7730
7731 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
7732 emit optional traceback table if optimize_size or TARGET_ELF.
7733 * config/rs6000/rs6000.md (prefetch): New.
7734
8559c8c0
AJ
77352002-01-15 Andreas Jaeger <aj@suse.de>
7736
7737 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
7738
70f122f2
KH
77392002-01-15 Kazu Hirata <kazu@hxi.com>
7740
7741 * mips-tfile.c: Fix formatting.
7742
6a7b4ca6
JH
7743Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
7744
7745 * unroll.c (final_reg_note_copy): Fix previous commit.
7746
e7afe229
KH
77472002-01-14 Kazu Hirata <kazu@hxi.com>
7748
7749 * config/h8300/h8300-protos.h: Remove the prototype for
7750 eq_operator.
7751 * config/h8300/h8300.c (eq_operator): Remove.
7752
7d378549
RH
77532002-01-14 Richard Henderson <rth@redhat.com>
7754
7755 * config/i386/i386.md (prefetch): Tidy.
7756 (prefetch_3dnow): Fix locality operand.
7757
ab093b81
RH
77582002-01-14 Richard Henderson <rth@redhat.com>
7759
7760 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
7761 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
7762
d300f51f
HPN
77632002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
7764
7765 * reload1.c (reload_combine): Pass reg_sum replacement through
7766 copy_rtx in loop performing multiple changes.
7767
655dd289
JJ
77682002-01-14 Jakub Jelinek <jakub@redhat.com>
7769
7770 * except.c (remove_unreachable_regions): New.
7771 (free_eh_status): Clear exception_handler_labels.
7772 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
7773 (find_exception_handler_labels): Don't add the same label more than
7774 once.
7775 (remove_exception_handler_label): Don't die if
7776 find_exception_handler_labels hasn't been called for the current
7777 function yet.
7778
1fba46a7
JH
7779Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
7780
7781 * toplev.c (rest_of_compilation): Rebuild jump labels after
7782 gcse.
7783
0975678f
JM
77842002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
7785
7786 * doc/extend.texi: Move documentation of X86 built-in functions
7787 here.
7788 * doc/invoke.texi: From here.
7789 * doc/sourcebuild.texi: Document location of documentation for
7790 machine built-in functions.
7791
969815c7
CF
77922002-01-13 Christopher Faylor <cgf@redhat.com>
7793
7794 * cppfiles.c (TEST_THRESHOLD): New macro.
7795 (SHOULD_MMAP): Ditto.
7796 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
7797 be used.
7798
494c950b
JH
7799Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
7800
7801 * unroll.c (final_reg_note_copy): Properly handle
7802 REG_LABEL
7803 (unroll_loops): Fix LOOP_CONDITION heuristics.
7804
69a0611f
GK
78052002-01-14 Geoffrey Keating <geoffk@redhat.com>
7806
7807 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
7808 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
7809
b90e45ae
JH
7810Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
7811
7812 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
7813 threaded loop.
7814
8377288b
TR
78152002-01-14 Tom Rix <trix@redhat.com>
7816
7817 * config/rs6000/rs6000.md: Fix typo with sradi.
7818
9f37ccb1
UW
78192002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
7820
7821 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
7822 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
7823 (clrstrdi, clrstrsi): Adapt callers.
7824
7825 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
7826
8559c8c0 7827 (movti splitter): Never use register 0 as base register.
9f37ccb1 7828
6c2d03d0
HP
78292002-01-14 Hartmut Penner <hpenner@de.ibm.com>
7830
8559c8c0
AJ
7831 * combine.c (simplify_shift_const): Always generate new rtx
7832 for shift expression instead of reusing given expression.
6c2d03d0 7833
d3e98208
RK
7834Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7835
7836 * config/alpha/alpha.c (alpha_expand_mov): Don't call
7837 alpha_legitimize_address unless mode is Pmode.
7838
9f339dde
GK
78392002-01-13 Geoffrey Keating <geoffk@redhat.com>
7840
7841 * doc/md.texi (Modifiers): Document the '*' constraint for the
7842 user.
7843
7844 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
7845 * doc/extend.texi (Function Attributes): 'interrupt' is valid
7846 for xstormy16 too.
7847
02a10130
RH
78482002-01-13 Richard Henderson <rth@redhat.com>
7849
7850 * reload.c (find_reloads): Use a hard reg destination as reload reg
7851 for an input reload of the source.
7852
61d47787
GP
78532002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7854
7855 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
7856 more generic.
7857
f0df8029
DR
7858Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
7859
7860 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
7861 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
7862
d2a37256
DR
7863 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
7864
a9e8a5ee
RK
7865Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7866
7867 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
7868
bc06712d
TR
78692002-01-12 Tom Rix <trix@redhat.com>
7870
8559c8c0 7871 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
bc06712d
TR
7872 TARGET_POWERPC64.
7873
7cbe9bb7
RH
78742002-01-12 Richard Henderson <rth@redhat.com>
7875
38b29e64
RH
7876 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
7877
58605ba0
RH
7878 * doc/invoke.texi: Update Alpha options.
7879
7cbe9bb7
RH
7880 * doc/invoke.texi: Update i386 built-in function lists.
7881
9d560860
JH
7882Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
7883
7884 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
7885 referencing outside.
7886
bb93b973
RK
7887Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7888
7889 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
7890 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
7891 offsets, and change line folding.
7892 * optabs.c (expand_binop): Remove warnings.
7893 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
8559c8c0 7894
f9f6b7df
GS
78952002-01-12 Graham Stott <grahams@redhat.com>
7896
7897 * attribs.c (handle_deprecated_attribute): constify WHAT.
7898 * diagnostic.c (warn_deprecated_use): Add braces, fixes
7899 dangling else warning and constify WHAT.
7900 * except.h (struct function, struct inline_remap): Move
7901 struct tag forward defs before all prototypes.
7902 (duplicate_eh_regions): Whitespace.
7903
4a692617
NC
79042002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
7905
7906 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
7907 MODE_BASE_REG_CLASS.
7908 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
7909
e37af218
RH
79102002-01-12 Richard Henderson <rth@redhat.com>
7911
7912 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
7913 (ix86_expand_vector_move): New.
7914 (bdesc_2arg): Remove andps, andnps, orps, xorps.
7915 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
7916 Remove old prefetch builtins. Special case the logicals removed above.
7917 (ix86_expand_builtin): Likewise.
7918 (safe_vector_operand): Use V4SFmode, not TImode.
7919 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
7920 (ix86_expand_timode_binop_builtin): New.
7921 * config/i386/i386-protos.h: Update.
7922 * config/i386/i386.h (enum ix86_builtins): Update.
7923 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
7924 Use ix86_expand_vector_move in vector move expanders.
7925 (movti_internal, movti_rex64): Add xorps alternative.
7926 (sse_clrv4sf): Rename and adjust from sse_clrti.
7927 (prefetch): Don't work so hard.
7928 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
7929 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
7930 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
7931
6f1a6c5b
RH
79322002-01-11 Richard Henderson <rth@redhat.com>
7933
7934 * config/i386/mmintrin.h: New file.
7935 * config/i386/xmmintrin.h: New file.
7936 * config.gcc (i?86-*-*): Add extra_headers.
7937 * simplify-rtx.c (simplify_unary_operation): Handle saturating
7938 truncation codes.
7939 (simplify_binary_operation): Handle saturating arithmetic codes.
7940 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
7941 not the lowpart subreg.
7942 (ix86_expand_builtin): Return a TImode dummy register instead of 0
7943 on error.
7944 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
7945
cdb574d3
MH
79462002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7947
7948 * conflict.c (conflict_graph_compute): Free regsets when finished.
7949 * ssa.c (compute_coalesced_reg_partition): Likewise.
8559c8c0 7950
cf11ac55
HB
79512002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7952
7953 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
7954 every where we allocate a register.
7955
76ac938b
MH
79562002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7957
7958 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
7959 * lcm.c (compute_earliest, compute_farthest): Likewise.
7960
a84b4898
JJ
79612002-01-11 Janis Johnson <janis187@us.ibm.com>
7962
7963 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
7964
aaef1c12
JJ
79652002-01-11 Janis Johnson <janis187@us.ibm.com>
7966
7967 * doc/rtl.texi (Insns): Fix 2 typos.
7968
5d22c1a5
JM
79692002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
7970
7971 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
7972 options. Use @table @gcctabopt for MMIX options. Add index
7973 entries for MMIX options. Start new paragraph with first
7974 heading of the machine-dependent options.
7975
3e92902c
CR
79762002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
7977
7978 PR other/5299
7979 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
7980 * combine.c (force_to_mode): Same.
7981 * reload1.c (clear_reload_reg_in_use): Same.
7982
96ae8197
NC
79832002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
7984
7985 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
7986 and 'subtargets'.
7987
9b780582
AJ
79882002-01-11 Andreas Jaeger <aj@suse.de>,
7989 Brad Lucier <lucier@math.purdue.edu>
7990
7991 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
7992 mcpu.
7993
12300dad
DR
7994Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
7995
7996 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
7997 Protect with IN_LIBGCC.
7998 (LINK_EH_SPEC): Add required trailing space.
7999
27511a9a
NP
8000Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
8001
9b780582 8002 * c-tree.h: Move function declarations so that they are listed
27511a9a
NP
8003 under the filename which contains them.
8004 (check_identifier, finish_decl_top_level,
8005 lookup_name_current_level_global, shadow_record_fields): Remove.
8006
4daeab16
AJ
80072002-01-11 Andreas Jaeger <aj@suse.de>
8008
8009 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
8010 march.
8011
40571d67
RH
80122002-01-10 Richard Henderson <rth@redhat.com>
8013
8014 * config/alpha/alpha.c (print_operand): Add 'J'.
8015 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
8016 new operand with the sequence number for the lituse. When splitting
8017 the insns, use gen_movdi_er_high_g and generate a sequence number.
8018 (gen_movdi_er_high_g): Print the sequence number if non-zero.
8019
6525c0e7
AH
80202002-01-10 Aldy Hernandez <aldyh@redhat.com>
8021
d8086cbb
RS
8022 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
8023 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
8024 stvxl.
8025 (altivec_expand_builtin): Same.
8026 (altivec_expand_stv_builtin): New.
8027
8028 * config/rs6000/rs6000.h (rs6000_builtins): Same.
8029
8030 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
8031 ("altivec_lvehx"): New.
8032 ("altivec_lvewx"): New.
8033 ("altivec_lvxl"): New.
8034 ("altivec_lvx"): New.
8035 ("altivec_stvx"): New.
8036 ("altivec_stvebx"): New.
8037 ("altivec_stvehx"): New.
8038 ("altivec_stvewx"): New.
8039 ("altivec_stvxl"): New.
6525c0e7 8040
cda94cbb
RH
80412002-01-10 Richard Henderson <rth@redhat.com>
8042
8043 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
8044 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
8045 care not to delete instructions twice.
8046
df2c9a44
ZW
80472002-01-10 Zack Weinberg <zack@codesourcery.com>
8048
8049 * toplev.c: Don't declare environ (it's not used anywhere).
8050 * configure.in: Don't check for declaration of environ.
8051 * config/i386/xm-mingw32.h: Don't #define environ.
8052 * config.in, configure: Regenerate.
8053
5dd8a9b1
ZW
80542002-01-10 Zack Weinberg <zack@codesourcery.com>
8055
8056 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
8057 * configure: Regenerate.
8058
8059 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
8060 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
8061 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
8062 alpha/xm-vms.h.
8063 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
8064 LIMITS_H_TEST here, not in m68k/x-next.
8065 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
8066 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
8067
8068 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
8069 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
8070 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
8071
8072 * config/i386/x-djgpp: Renamed i386/t-djgpp.
8073 * config/m88k/x-dolph: Renamed m88k/t-dolph.
8074 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
8075 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
8076 replacement of quadlib.asm with quadlib.c.
8077
8078 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
8079 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
8080 config/rs6000/xm-beos.h: Delete file.
8081
8082 * config.gcc: Update to match above changes.
8083
d10dd44c
KH
80842002-01-10 Kazu Hirata <kazu@hxi.com>
8085
8086 * config/h8300/h8300.h: Fix comment typos.
8087 * config/h8300/h8300.md: Likewise.
8088 * config/h8300/lib1funcs.asm: Likewise.
8089
04894c5a
DJ
80902002-01-10 Dale Johannesen <dalej@apple.com>
8091
8092 PR optimization/5269
8093 * unroll.c (precondition_loop_p): Make *increment be the correct
8094 sign when n_iterations known, to avoid confusing caller.
8095
adc9fe67
KH
80962002-01-10 Kazu Hirata <kazu@hxi.com>
8097
8098 * doc/extend.texi (deprecated): Fix a typo.
8099
b446e5a2
JH
8100Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
8101
8102 * basic-block.h (update_br_prob_note): Declare.
8103 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
8104 (try_forward_edges): Care negative frequencies and update note.
8105 (outgoing_edges_match): Tweek conditional merging heuristics.
8106 (try_crossjump_to_edge): use update_br_prob_note.
8107 * cfglayout.c (fixup_reorder_chain): Likewise.
8108 * cfrtl.c (update_br_prob_note): New.
8109 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
8110
8111 * i386.c (ix86_decompose_address): Return -1 if address contains
8112 shift.
8113 (legitimate_address_p): Require ix86_decompose_address to return 1.
8114
8115 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
8116 (cprop_insn): Likewise.
8117
a01da83b
KH
81182002-01-10 Kazu Hirata <kazu@hxi.com>
8119
8120 * toplev.c: Fix formatting.
8121 * tree.c: Likewise.
8122 * tree-dump.c: Likewise.
8123 * unroll.c: Likewise.
8124 * unwind-dw2.c: Likewise.
8125 * unwind-dw2-fde.c: Likewise.
8126 * unwind-dw2-fde-glibc.c: Likewise.
8127 * unwind-sjlj.c: Likewise.
8128
9f85bca7
JM
81292002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
8130
8131 * doc/invoke.texi: Document PDP-11 options.
8132
f48f56b1
KH
81332002-01-10 Kazu Hirata <kazu@hxi.com>
8134
8135 * config/h8300/h8300.h: Fix formatting.
8136
ead39bdf 81372002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
8138
8139 Add __attribute__ ((deprecated)).
8140 * extend.texi: Document __attribute__ ((deprecated)).
8141 * invoke.texi: Document -Wno-deprecated-declarations.
8142 * testsuite/g++.dg/other/deprecated.C: New C++ test.
8143 * testsuite/gcc.dg/deprecated.c: New C test.
8144 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
8145 (c_common_attribute_table): Add "deprecated" entry.
8146 (handle_deprecated_attribute): New function.
8147 * c-decl.c (deprecated_states): New enum.
8148 deprecated_state: State of "deprecated" handling.
8149 (start_decl): Set deprecated_state based on attributes.
8150 (grokdeclarator): Test for deprecated uses, propagate attribute.
8151 * c-typeck.c (build_component_ref): Test for deprecated fields.
8152 (build_external_ref): Test for deprecated primaries.
8153 * diagnostic.c (warn_deprecated_use) New function to issue
8154 warnings about __attribute__ ((depricated)) references.
8155 * flags.h (warn_deprecated_decl): Extern declared for
8156 -W[no-]deprecated-declarations option.
8157 * print-tree.c (print_node): Show deprecated flag status.
8158 * toplev.c (warn_deprecated_decl): Defined.
8159 (W_options): Added "deprecated-declaration".
8160 * toplev.h (warn_deprecated_use): Extern declared.
8161 * tree.h (struct tree_common): Define deprecated_flag.
8162 (TREE_DEPRECATED): New macro to access flag.
8163 * cp/call.c (build_call): Test for deprecated calls.
8164 * cp/class.c (add_implicitly_declared_members): Set global
8165 flag to tell grokdeclarator to not issue deprecated warnings.
8166 * cp/cp-tree.h: Add extern for adding_implicit_members.
8167 * cp/decl.c (deprecated_states): New enum.
8168 (start_decl): Set deprecated_state based on attributes.
8169 (grokdeclarator): Test for deprecated uses, propagate attribute.
8170 * cp/lex.c (do_identifier): Test for deprecated primaries.
8171 * cp/typeck.c (build_component_ref): Test for deprecated fields.
8172
ead39bdf 81732002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
8174
8175 Fix to assign attributes to inline member functions.
8176 * cp/decl.c (start_method): Handle attrlist.
8177
47073a38
KH
81782002-01-10 Kazu Hirata <kazu@hxi.com>
8179
8180 * combine.c (expand_field_assignment): Use subreg_lsb().
8181
d288e53d
DE
81822002-01-10 David Edelsohn <edelsohn@gnu.org>
8183
8184 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
8185 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
8186 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
8187 Recurse for any operand of AND as long as constant is non-zero.
8188
08a02ffa
KH
81892002-01-10 Kazu Hirata <kazu@hxi.com>
8190
8191 * config/h8300/h8300.md: Remove constraints from expanders.
8192
c203e7fe
KH
81932002-01-10 Kazu Hirata <kazu@hxi.com>
8194
8195 * varasm.c: Fix formatting.
8196 * varray.c: Likewise.
8197 * vmsdbgout.c: Likewise.
8198 * xcoffout.c: Likewise.
8199
bcb3bc6d
JH
8200Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
8201
8202 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
cda94cbb 8203 update edge probabilities to match.
bcb3bc6d 8204
0a553c7e
JM
82052002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
8206
8207 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
8208 dependencies.
8209 * doc/languages.texi, doc/sourcebuild.texi: New files.
8210 * doc/configfiles.texi: Make a subsubsection. Update.
8211 * doc/configterms.texi: Add @node. Remove warning that this isn't
8212 instructions for building GCC.
8213 * doc/makefile.texi: Make a subsection.
8214 * doc/gccint.texi: Update.
8215
adc7fcb8
JH
8216Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
8217
8218 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
8219
5a4dd0b3
NP
8220Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
8221
8222 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
8223
3987b9db
JH
8224Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
8225
8226 * optabs.c (expand_fix): Look for wider integer modes first.
8227
8228 * i386.md (mov?f): Avoid the fake const double trick for medium
8229 memory model.
8230 (min?f*/max?f*): Prohibit memory operands for i387 variant.
8231 (fop_df_4): Disable for SSE compilation.
8232
ceb15948 82332002-01-10 Graham Stott <grahams@redhat.com>
117f9d28
GS
8234
8235 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
cda94cbb 8236 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
117f9d28 8237
e1623399
RH
82382002-01-10 Richard Henderson <rth@redhat.com>
8239
8240 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
8241
c4abb293
RH
82422002-01-10 Richard Henderson <rth@redhat.com>
8243
8244 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
8245 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
8246
d2604ae9
KH
82472002-01-10 Kazu Hirata <kazu@hxi.com>
8248
8249 * combine.c (can_combine_p): Fix a comment typo.
8250
766c7ad1
ZW
82512002-01-09 Zack Weinberg <zack@codesourcery.com>
8252
8253 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
8254 empty list correctly. Change loop index $t to $f for
8255 consistency with rest of Makefile.
8256
95385cbb
AH
82572002-01-08 Aldy Hernandez <aldyh@redhat.com>
8258
8259 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
8260 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
8261
8262 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
8263 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
8264 (altivec_init_builtins): Same.
8265 (altivec_expand_unop_builtin): Return NULL_RTX on error.
8266 (altivec_expand_binop_builtin): Same.
8267 (altivec_expand_ternop_builtin): Same.
8268 (bdesc_dst): New.
8269
8270 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
8271 ("altivec_vctuxs"): Fix typo.
8272 ("altivec_vnmsubfp"): Same.
8273 ("altivec_dssall"): New.
8274 ("altivec_mfvscr"): New.
8275 ("altivec_dss"): New.
8276 ("altivec_lvsl"): New.
8277 ("altivec_lvsr"): New.
8278 ("altivec_dstt"): New.
8279 ("altivec_dstst"): New.
8280 ("altivec_dststt"): New.
8281 ("altivec_dst"): New.
8282
8283 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
8284 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
8285
e4ac76b4
RH
82862002-01-09 Richard Henderson <rth@redhat.com>
8287
8288 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
8289
c893e4a4
HPN
82902002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
8291
8292 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
8293 function.
8294 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
8295 prototype.
7387c700 8296 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
c893e4a4 8297
f4f4d0f8
KH
82982002-01-09 Kazu Hirata <kazu@hxi.com>
8299
8300 * read-rtl.c: Fix formatting.
8301 * real.c: Likewise.
8302 * regclass.c: Likewise.
8303 * regrename.c: Likewise.
8304 * reg-stack.c: Likewise.
8305 * reload1.c: Likewise.
8306 * reload.c: Likewise.
8307 * rtl.c: Likewise.
8308
cc863bea
KH
83092002-01-09 Kazu Hirata <kazu@hxi.com>
8310
8311 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
8312 to extract items in the expr_list chain.
8313
7b4dfe3d
RH
83142002-01-09 Richard Henderson <rth@redhat.com>
8315
8316 * config/vax/vax.c (vax_rtx_cost): Never abort.
8317
1d969638
RH
8318 * config/vax/vax.h (REAL_ARITHMETIC): Define.
8319
7d5ab30e
JH
83202002-01-09 Jan Hubicka <jh@suse.cz>
8321
8322 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
8323
9503f3d1
RH
83242002-01-09 Richard Henderson <rth@redhat.com>
8325
8326 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
8327 Unify code from various alternatives.
8328
42bd17b7
RH
83292002-01-09 Richard Henderson <rth@redhat.com>
8330
8331 * regrename.c (copy_value): Ignore the copy if the source register
8332 is present in the value chain with a narrower mode.
8333
bdca3c33
HB
83342002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8335
cda94cbb
RH
8336 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
8337 for the c4x target. Also improve layout.
bdca3c33 8338
c73a5e94
RH
83392002-01-09 Richard Henderson <rth@redhat.com>
8340
8341 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
8342 * config/m32r/m32r.md (and ior xor splitters): Swap operands
8343 to match insn patterns.
8344
dd0a18c0
RH
83452002-01-09 Richard Henderson <rth@redhat.com>
8346
8347 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
8348 (copyprop_hardreg_forward_1): Likewise.
8349
1fd9ac1e
JDA
83502002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
8351
8352 * pa.md (decrement_and_branch_until_zero): Change predicate for
8353 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
8354
5cb265ec
BM
83552002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8356
8357 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
8358 gets undefined. For Darwin.
8359
fcd8fa8b
HB
83602002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8361
8362 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
8363
bd3ab23a
MH
83642002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8365
8366 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
8367
21e16bd6
RH
83682002-01-08 Richard Henderson <rth@redhat.com>
8369
8370 * regrename.c (copy_value): Ignore overlapping copies.
8371
a5376276
RH
83722002-01-08 Richard Henderson <rth@redhat.com>
8373
8374 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
8375 as needed to avoid shared structure.
8376
18cf8dda
KH
83772002-01-08 Kazu Hirata <kazu@hxi.com>
8378
8379 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
8380 H8/300H and H8/S.
8381
16c484c7
JM
83822002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
8383
8384 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
8385 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
8386 documentation of obsolete macros.
8387 * system.h: Poison these macros.
8388 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
8389 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
8390 config/c4x/c4x.h, config/clipper/clipper.h,
8391 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
8392 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
8393 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
8394 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
8395 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
8396 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
8397 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
8398 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
8399 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
8400 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
8401 config/sparc/sparc.h, config/stormy16/stormy16.h,
8402 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
8403 definitions and commented out definitions of obsolete macros.
8404 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
8405 of MAX_INT_TYPE_SIZE.
8406
14b3e8ef
UW
84072002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
8408
8409 * config/s390/s390.c (s390_preferred_reload_class): Never
8410 return ADDR_REGS if it isn't a subset of the given class.
8411 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
8412 FP_REGS, but all superclasses as well.
8413
8414 * config/s390/s390.c (s390_function_profiler): Fix thinko.
8415
8416 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
8417 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
8418 must not be a const_int.
8419
a693284d
RH
84202002-01-08 Richard Henderson <rth@redhat.com>
8421
8422 * Makefile.in (toplev.o): Depend on options.h.
8423 (gcc.o): Depend on specs.h.
8424
b3ca30df
JJ
84252002-01-08 Jakub Jelinek <jakub@redhat.com>
8426
8427 * expr.c (store_expr): Convert VOIDmode constants back to target's
8428 mode.
8429
24dbb440
GP
84302002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8431
8432 * doc/invoke.texi: Markup gcc as @command. Refer to
8433 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
8434 of http://gcc.gnu.org/thanks.html.
8435
234e114c
DJ
84362002-01-08 Dale Johannesen <dalej@apple.com>
8437
8438 * config/rs6000/rs6000.md: Add missing int register
8439 target case to movdf_low.
8440
0d24f4d1
ZW
84412002-01-08 Zack Weinberg <zack@codesourcery.com>
8442
8443 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
8444 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
8445 (cppinit.o): Depend on except.h.
8446 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
8447 s-specs): New rules.
8448
8449 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
8450 Don't create specs.h/options.h/gencheck.h here. Remove
8451 unnecessary variable settings from last argument of AC_OUTPUT.
8452 * config.in, configure: Regenerate.
8453 * intl.c: Hardcode package name as "gcc".
8454
8455 * cppinit.c: Include except.h.
8456 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
8457 appropriate.
8458 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
8459 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
8460 (!)USING_SJLJ_EXCEPTIONS.
8461 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
8462
ed722f66
JM
84632002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
8464
8465 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
8466 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
8467 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
8468 documentation of obsolete macros.
8469 * system.h: Poison these macros.
8470 * config/d30v/d30v.h, config/ns32k/encore.h,
8471 config/stormy16/stormy16.h: Remove definitions and commented out
8472 definitions of obsolete macros.
8473
31e5e29a
NP
8474Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
8475
8476 * objc/objc-act.c (handle_class_ref): Mark the declaration of
8477 %sobjc_class_ref_%s as used - to prevent unwanted compiler
8478 warnings.
8479
bc1fa59c
UW
84802002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
8481
8482 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
8483 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
8484 to insn adjusting stack/frame pointer.
0d24f4d1 8485 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
bc1fa59c
UW
8486 accept operands that cause the insn to be non-splittable.
8487
a8086abf
GS
84882002-01-08 Graham Stott <grahams@redhat.com>
8489
8490 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
8491 (C_TYPE_FIELDS_VOLATILE): Likewise.
8492 (C_TYPE_BEING_DEFINED): Likewise.
8493 (C_IS_RESERVED_WORD): Likewise.
8494 (C_TYPE_VARIABLE_SIZE): Likewise.
8495 (C_DECL_VARIABLE_SIZE): Likewise.
8496 (C_MISSING_PROTOTYPE_WARNED): Likewise.
8497 (C_SET_EXP_ORIGINAL_CODE): Likewise.
8498 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
8499 parenthesis.
8500 (C_DECL_ANTICIPATED): Likewise.
8501 (c_build_type_variant): Add parenthesis.
8502
3f595aa1
JM
85032002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
8504
8505 * gcc.c (option_map): Remove --version.
8506 (process_command): Handle -fversion following the GNU Coding
8507 Standards. Partially addresses PR other/704.
8508
5bc5a8f9
GS
85092002-01-08 Graham Stott <grahams@redhat.com>
8510
8511 * combine.c (combine_instructions): Fix typo.
8512
16ec4ebf
GS
85132002-01-08 Graham Stott <grahams@redhat.com>
8514
8515 * debug.h: Use "tree" and "rtx" throughout.
8516
8517 * debug.c: Likewise.
8518
4b69f385
NC
85192002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
8520
8521 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
8522 constant pool, use the pool's version of the symbol instead.
8523
57d1019b
RH
85242002-01-07 Richard Henderson <rth@redhat.com>
8525
8526 * regrename.c (find_oldest_value_reg): Ignore the value chain if
8527 the original register was copied in a mode with a fewer number of
8528 hard registers than the desired mode.
8529 (copyprop_hardreg_forward_1): Likewise.
8530 (debug_value_data): Fix loop test.
8531 * toplev.c (parse_options_and_default_flags): Reenable
8532 -fcprop-registers at -O1.
8533
85342002-01-07 Aldy Hernandez <aldyh@redhat.com>
fa066a23 8535
0d24f4d1
ZW
8536 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
8537 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
fa066a23 8538
0d24f4d1
ZW
8539 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
8540 predicates.
fa066a23 8541
0d24f4d1 8542 * config/rs6000/rs6000.md: Add altivec predicate patterns.
fa066a23 8543
8f949e7e
JDA
85442002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
8545
8546 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
8547 (pa_output_function_prologue): Output local label at the beginning of
8548 the prologue when profiling.
8549 (hppa_profile_hook): Use the local label rather than the function label.
8550 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
8551
c62f2db5
AH
85522002-01-07 Aldy Hernandez <aldyh@redhat.com>
8553
0d24f4d1
ZW
8554 * config/rs6000/rs6000.c (print_operand): Remove extra space.
8555 (altivec_expand_unop_builtin): Fix thinko.
8556 (altivec_expand_binop_builtin): Same.
8557 (altivec_expand_ternop_builtin): Same.
8558 (altivec_expand_builtin): Same.
c62f2db5 8559
b5235ba7
RH
85602002-01-07 Richard Henderson <rth@redhat.com>
8561
8562 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
8563
7d8ac293
JM
85642002-01-07 Jason Merrill <jason@redhat.com>
8565
8566 * unwind-dw2.c (execute_cfa_program): Use < again.
8567
571a03b8
JJ
85682002-01-07 Jakub Jelinek <jakub@redhat.com>
8569
8570 * predict.c (combine_predictions_for_insn): Avoid division by zero.
8571
2e951384
JJ
85722002-01-07 Jakub Jelinek <jakub@redhat.com>
8573
8574 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
8575 Don't allow -1 - x -> ~x simplifications in the first pass.
8576
20e26713
AH
85772002-01-07 Aldy Hernandez <aldyh@redhat.com>
8578
0d24f4d1
ZW
8579 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
8580 arguments.
8581 (altivec_expand_binop_builtin): Same.
8582 (altivec_expand_unop_builtin): Same.
8583 (print_operand): Fix typo.
8584 (bdesc_1arg): Add vupk* variants.
20e26713 8585
0d24f4d1 8586 * rs6000.h (rs6000_builtins): Add vupk* enums.
20e26713 8587
0d24f4d1 8588 * rs6000.md: Add altivec_vupk* variants.
20e26713 8589
4dd57c18
JM
85902002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
8591
8592 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
8593 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
8594 and last update dates.
8595
0341c5d2
JJ
85962002-01-07 Janis Johnson <janis187@us.ibm.com>
8597
8598 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
8599
c7f3e0b0
MM
86002002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
8601
8602 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
8603 * config/avr/avr.h (CPP_SPEC): Likewise.
8604 (LINK_SPEC): Likewise.
8605 (CRT_BINUTILS_SPECS): Likewise.
8606 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
8607 * doc/invoke.texi (AVR Options): Document them.
8608
6ba4d630
JH
8609Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
8610
8611 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
8612 LABEL_NUSES.
8613
6253d571
GS
86142002-01-07 Graham Stott <grahams@redhat.com>
8615
0d24f4d1
ZW
8616 * config/i386/i386.h: Update copyright date.
8617 (HALF_PIC_PTR): Add parenthesis.
8618 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
8619 (CONSTANT_ALIGNMENT): Add parenthesis.
8620 (DATA_ALIGNMENT): Likewise.
8621 (LOCAL_ALIGNMENT): Likewise.
8622 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
8623 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
8624 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
8625 (HARD_REGNO_NREGS): Add paranethesis.
8626 (VALID_SSE_REG_MODE): Whitespace.
8627 (VALID_MMX_REG_MODE): Whitespace.
8628 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
8629 (ix86_hard_regno_mode_ok): Add parenthesis.
8630 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
8631 (RETURN_IN_MEMORY): Whitespace.
8632 (N_REG_CLASSES): Add parenthesis.
8633 (INTEGER_CLASS_P): Add parenthesis and wrap.
8634 (FLOAT_CLASS_P): Likewise.
8635 (SSE_CLASS_P): Likewise.
8636 (MMX_CLASS_P): Likewise.
8637 (MAYBE_INTEGER_CLASS_P): Likewise.
8638 (MAYBE_FLOAT_CLASS_P): Likewise.
8639 (MAYBE_SSE_CLASS_P): Likewise.
8640 (MAYBE_MMX_CLASS_P): Likewise.
8641 (Q_CLASS_P): Likewise.
8642 (GENERAL_REGNO_P): Uppercase macro parameter.
8643 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
8644 (FP_REGNO_P): Likewise.
8645 (ANY_FP_REGNO_P): Uppercase macro parameter.
8646 (SSE_REGNO_P): Likewise.
8647 (SSE_REGNO): Likewise.
8648 (SSE_REG_P): Likewise.
8649 (SSE_FLOAT_MODE_P): Likewise.
8650 (MMX_REGNO_P): Likewise.
8651 (MMX_REG_P):Likewise.
8652 (STACK_REG_P): Likewise.
8653 (NON_STACK_REG_P): Likewise.
8654 (STACK_TOP_P): Likewise.
8655 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
8656 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
8657 (SECONDARY_MEMORY_NEEDED): Likewise.
8658 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
8659 (MD_ASM_CLOBBERS): Whitespace and wrap.
8660 (MUST_PASS_IN_STACK): Whitespace and wrap.
8661 (RETURN_POPS_ARGS): Add parenthesis.
8662 (INIT_CUMULATIVE_ARGS): Likewise.
8663 (FUNCTION_ARG): Likewise.
8664 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
8665 (SETUP_INCOMING_VARARGS): Likewise.
8666 (BUILD_VA_LIST_TYPE): Add parenthesis.
8667 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
8668 parenthsis.
8669 (EXPAND_BUILTIN_VA_ARG): Likewise.
8670 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
8671 (INITIALIZE_TRAMPOLINE): Add parenthesis.
8672 (INITIAL_ELIMINATION_OFFSET): Likewise.
8673 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
8674 (REGNO_OK_FOR_BASE_P): Likewise.
8675 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
8676 (REGNO_OK_FOR_DIREG_P): Likewise.
8677 (REG_OK_FOR_INDEX_P): Whitespace.
8678 (REG_OK_FOR_BASE_P): Whitespace.
8679 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
8680 parenthesis.
8681 (FIND_BASE_TERM): Fix typo.
8682 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
8683 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
8684 (SYMBOLIC_CONST; Whitespace.
8685 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
8686 (ENCODE_SECTION_INFO): Whitespace.
8687 (FINALIZE_PIC): Remove do { ... } while (0).
8688 (PROMOTE_MODE): Wrap in do { ... } while (0).
8689 (CONST_COSTS): Whitespace.
8690 (RTX_COSTS): Add paramethesis, whitespace and wrap.
8691 (REGISTER_MOVE_COST): Add parenthesis.
8692 (MEMORY_MOVE_COST): Likewise.
8693 (EXTRA_CC_MODES): Whitespace.
8694 (SELECT_CC_MODE): Add parenthesis and whitespace.
8695 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
8696 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
8697 (ASM_OUTPUT_LABEL): Add paramethesis.
8698 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
8699 (ASM_OUTPUT_REG_POP): Likewise.
8700 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
8701 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
d9a5f180 8702
07933f72
GS
8703 * config/i386/i386.c: Update copyright.
8704 (CHECK_STACK_LIMIT): Add parenthesis.
8705 (AT_BP): Uppercase macro parameter.
8706 (x86_64_int_parameter_registers): Constify.
8707 (x86_64_int_return_registers): Likewise.
8708 (ix86_compare_op0): Use rtx.
8709 (construct_container): Constify INTREG parameter.
8710 (function_arg): Use rtx.
8711
0b4d32c9
GS
8712 * diagnostic.h: Update copyright date.
8713 (output_buffer_state): Add parenthesis.
8714 (output_buffer_format_args): Likewise.
8715
6253d571
GS
8716 * combine.c (combine_instructions): Replace XEXP (links, 0)
8717 with link.
8718
68f3f6f1
L
87192002-01-06 H.J. Lu <hjl@gnu.org>
8720
8721 * cfgcleanup.c (thread_jump): Fix 2 typos.
8722
87232002-01-06 Aldy Hernandez <aldyh@redhat.com>
480f7f3a 8724
0d24f4d1 8725 * config.gcc: Add support for --enable-altivec.
480f7f3a 8726
13b8c631
CR
87272002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
8728
8729 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
8730
58ad89b1
JJ
87312002-01-06 Jakub Jelinek <jakub@redhat.com>
8732
8733 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
8734 __objc_class_name_*.
8735
e403b4bc
CR
87362002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
8737
8738 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
8739
e41c7831
RH
87402002-01-06 Richard Henderson <rth@redhat.com>
8741
8742 * reorg.c (emit_delay_sequence): Remove death notes, not merely
8743 nop them out. Increment label reference count for REG_LABEL.
8744 (fill_slots_from_thread): Frob label reference count around
8745 delete_related_insns.
8746
3b3b1e32
RH
87472002-01-05 Richard Henderson <rth@redhat.com>
8748
8749 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
8750 jump threading.
8751
c28abdf0
RH
87522002-01-05 Richard Henderson <rth@redhat.com>
8753
8754 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
8755 * integrate.c (output_inline_function): Likewise.
8756 * toplev.c (rest_of_compilation): Do it here instead. Move call
8757 to remove_unnecessary_notes after emitting abstract instance.
8758 Force an emitted nested function to have its parent emited as well.
8759 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
8760 for null.
8761 (rtl_for_decl_location): Do not look at reload data structures
8762 before reload has run.
8763
c4f2c499
KH
87642002-01-05 Kazu Hirata <kazu@hxi.com>
8765
8766 * cse.c: Fix formatting.
8767 * dwarf2asm.c: Likewise.
8768 * dwarf2out.c: Likewise.
8769 * explow.c: Likewise.
8770 * expmed.c: Likewise.
8771 * function.c: Likewise.
8772 * gcov.c: Likewise.
8773 * gencheck.c: Likewise.
8774 * genrecog.c: Likewise.
8775 * ggc-common.c: Likewise.
8776 * ggc-page.c: Likewise.
8777 * global.c: Likewise.
8778
cf0d9408
KH
87792002-01-05 Kazu Hirata <kazu@hxi.com>
8780
8781 * combine.c: Fix formatting.
8782
bedca03a
CR
87832002-01-05 Craig Rodrigues <crodrigu@bbn.com>
8784
8785 PR middle-end/1557
8786 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
8787
0134bf2d
DE
87882002-01-05 David Edelsohn <edelsohn@gnu.org>
8789
8790 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
8791 as 1 for __powerpc64__ as well.
8792
8793 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
8794
8795 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
8796 return it.
8797
9ca88d5a
DB
87982002-01-05 Daniel Berlin <dan@dberlin.org>
8799
8800 * lcm.c: Revert change, due to performance regression it causes on
8801 SPEC because it's slightly more conservative (sigh, I hate
8802 edge-based LCM).
0d24f4d1 8803
1c570418
JH
8804Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
8805
8806 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
8807
d83bb9f7
NB
88082002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
8809
8810 * doc/cppinternals.texi: Update.
8811
3e0f61ac
HPN
88122002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
8813
8814 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
8815 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
8816 negatives.
8817 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
8818 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
8819 kludge for pre-october-14th mmix versions to handle new-found bug
8820 with PUSHJ/PUSHGO and the register stack.
8821 * config/mmix/mmix.h (struct machine_function): Rename member
8822 has_call_value_without_parameters to has_call_without_parameters.
8823 All referers changed.
8824 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
8825 TARGET_MASK_BRANCH_PREDICT): New macros.
8826 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
8827 -mno-reg-stack-fill-bug-workaround.
8828 * config/mmix/mmix.md ("call"): Set struct machine member
8829 has_call_without_parameters.
8830
4deaa2f8
JH
8831Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
8832
8833 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
8834
9f16e871
JH
8835Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
8836
8837 * cfgcleanup.c: Include tm_p.h
8838 (mark_effect): Fix handling of hard register; fix handling of SET
8839
96eb1157
KH
88402002-01-04 Kazu Hirata <kazu@hxi.com>
8841
8842 * config/h8300/h8300.md (anonymous patterns): Check that
8843 operands are registers before using REGNO on them.
8844
48180d68
RM
88452002-01-03 Roland McGrath <roland@frob.com>
8846
8847 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
8848
b0832fe1
JJ
88492002-01-04 Jakub Jelinek <jakub@redhat.com>
8850
8851 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
8852 * c-common.h (genrtl_expr_stmt_value): Likewise.
8853 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
8854 (expand_expr_stmt_value): Add maybe_last argument.
8855 Don't warn about statement with no effect if it is the last statement
8856 in expression statement.
8857 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
8858 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
8859 expand_expr_stmt_value.
8860 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
8861 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
8862 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
8863 as maybe_last to expand_expr_stmt_value.
8864
c1e14513
JL
8865Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
8866
0d24f4d1
ZW
8867 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
8868 be passed in, do not build it.
8869 (c_begin_if_stmt): New function.
8870 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
8871 * c-common.h (c_expand_start_cond): Update prototype.
8872 (c_begin_if_stmt): Prototype new function.
8873 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
8874 * c-parse.in (if_prefix): Use c_begin_if_stmt,
8875 c_begin_while_stmt and c_finish_while_stmt_cond.
c1e14513 8876
b6ec437a
WC
88772002-01-04 William Cohen <wcohen@redhat.com>
8878
8879 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
8880 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
8881 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
8882 * config/pa/som.h (ASM_FILE_START): Likewise.
8883
ead39bdf 88842002-01-04 Daniel Berlin <dan@cgsoftware.com>
517b711f
DB
8885
8886 * lcm.c: Include df.h.
8887 Add available_transfer_function prototype.
8888 (compute_available): Rework to use iterative dataflow framework.
8889 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
8890 with bb_info in df.h
8891 (available_transfer_function): New function.
8892
8893 * Makefile.in (lcm.o): add df.h to dependencies.
8894
551cc6fd
RH
88952002-01-04 Richard Henderson <rth@redhat.com>
8896
8897 * config/alpha/alpha.c (some_operand): Accept HIGH.
8898 (input_operand): Likewise; accept simple references to globals.
8899 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
8900 (alpha_const_double_ok_for_letter_p): Likewise.
8901 (alpha_extra_constraint): Likewise.
8902 (alpha_preferred_reload_class): Likewise. Do not force
8903 symbolic constants to memory.
8904 (alpha_legitimate_address_p): Accept simple references
8905 to small_symbolic_operand.
8906 (alpha_legitimize_address): New arg scratch. Be prepared to be
8907 called when no_new_pseudos. Emit simple symbolic references.
8908 Split integers into low, high, and rest.
8909 (alpha_expand_mov): Use alpha_legitimize_address.
8910 (some_small_symbolic_mem_operand): New.
8911 (split_small_symbolic_mem_operand): New.
8912 * config/alpha/alpha-protos.h: Update.
8913 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
8914 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
8915 (EXTRA_CONSTRAINT): Likewise.
8916 (PREFERRED_RELOAD_CLASS): Likewise.
8917 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
8918 (PREDICATE_CODES): Update.
8919 * config/alpha/alpha.md: New post-reload splitters to convert
8920 simplfied symbolic operands to the form that references $29.
8921 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
8922 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
8923
1eaea054
RH
89242002-01-03 Richard Henderson <rth@redhat.com>
8925
8926 * local-alloc.c (function_invariant_p): Update commentary.
8927
c4cc12b7
L
89282002-01-04 H.J. Lu <hjl@gnu.org>
8929
8930 * toplev.c (rest_of_compilation): Fix a typo when calling
8931 cleanup_cfg.
8932
173bf5be
KH
89332002-01-03 Kazu Hirata <kazu@hxi.com>
8934
8935 * c-common.c: Fix formatting.
8936 * diagnostic.c: Likewise.
8937 * doloop.c: Likewise.
8938 * dwarf2out.c: Likewise.
8939
187462ac
KH
89402002-01-03 Kazu Hirata <kazu@hxi.com>
8941
8942 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
8943 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
8944
5d8ebbd8
NB
89452002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
8946
8947 * cpperror.c: Update comments and copyright.
8948 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
8949 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
8950
518c1311
JDA
89512002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
8952
8953 * collect2.c (main): Use strcmp when testing for "-shared".
8954
d15a58c0
NB
89552002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
8956
8957 * cppmacro.c: Don't include intl.h. Update comments.
8958 (new_number_token): Allocate enough buffer for 64-bit unsigned
8959 integers; update prototype.
8960 * cppmain.c: Update comments.
8961
70f4f91c
WC
89622002-01-03 William Cohen <wcohen@redhat.com>
8963
8964 * function.h (struct function): Add profile.
8965 (current_function_profile): New.
8966 doc/extend.texi: Update documentation.
8967 * final.c (final_start_function): Use current_function_profile
8968 instead of profile_flag.
8969 (profile_after_prologue): Likewise.
8970 * function.c (expand_function_start): Likewise.
8971 (expand_function_start): Likewise.
c4cc12b7 8972 * config/alpha/alpha.c (direct_call_operand):
70f4f91c
WC
8973 (alpha_does_function_need_gp): Likewise.
8974 (alpha_expand_prologue): Likewise.
8975 * config/arm/arm.c (arm_expand_prologue): Likewise.
8976 thumb_expand_prologue: Likewise.
8977 * config/d30v/d30v.c (d30v_stack_info): Likewise.
8978 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
8979 (fr30_expand_prologue): Likewise.
8980 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
8981 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
8982 * config/i386/i386.h (FINALIZE_PIC): Likewise.
8983 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
8984 * config/i960/i960.c (i960_output_function_prologue): Likewise.
8985 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
8986 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
8987 (m32r_expand_prologue): Likewise.
8988 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
8989 (m88k_expand_prologue): Likewise.
8990 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
8991 * config/mips/mips.c (compute_frame_size): Likewise.
8992 (mips_expand_prologue): Likewise.
8993 (mips_can_use_return_insn): Likewise.
8994 * config/pa/elf.h (ASM_FILE_START): Likewise.
8995 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
8996 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
8997 * config/pa/som.h (ASM_FILE_START): Likewise.
8998 * config/romp/romp.c (romp_using_r14): Likewise.
8999 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
9000 (rs6000_stack_info): Likewise.
9001 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2fd17409 9002 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
70f4f91c
WC
9003 * config/v850/v850.c (compute_register_save_size): Likewise.
9004
cb1ac742
JJ
90052002-01-03 Jakub Jelinek <jakub@redhat.com>
9006
9007 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
9008 gen_lowpart_common fails, use gen_lowpart_SUBREG.
9009
61d951df 90102002-01-03 Turly O'Connor <turly@apple.com>
cb1ac742 9011
61d951df
TC
9012 * darwin.c (machopic_output_possible_stub_label): Don't generate
9013 stub routines for pseudo-stubs which we've just defined.
9014
505ddab6
KH
90152002-01-03 Kazu Hirata <kazu@hxi.com>
9016
9017 * builtins.c: Fix formatting.
9018 * c-typeck.c: Likewise.
9019 * combine.c: Likewise.
9020 * expr.c: Likewise.
9021 * loop.c: Likewise.
9022
b7e30d8a
AS
90232002-01-03 Andreas Schwab <schwab@suse.de>
9024
9025 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
9026 and return true if _cpp_push_next_buffer pushed a new include
9027 file.
9028 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
9029 _cpp_pop_file_buffer did not push a new file.
9030 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
9031
ff81832f
EC
90322002-01-02 Eric Christopher <echristo@redhat.com>
9033
9034 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
9035 FIND_REG_INC_NOTE call. Update copyright.
9036 * loop.c (canonicalize_condition): Ditto.
9037 * reorg.c (delete_scheduled_jump): Ditto.
9038
8e42ace1
KH
90392002-01-03 Kazu Hirata <kazu@hxi.com>
9040
9041 * gcse.c: Fix formatting.
9042
fb2bf631
GS
90432002-01-03 Graham Stott <grahams@redhat.com>
9044
9045 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
9046 forward defs for struct tags rtx_def, union_tree, rtvec_def
6253d571 9047 also output corresponding typedefs for rtx, tree, and rtvec.
fb2bf631
GS
9048
9049 * system.h: Move forward defs for struct tags rtx_def, union_tree,
9050 rtvec_def along with corresponding typedefs for rtx, tree, and
6253d571 9051 rtvec to config.h, hconfig.h, tconfig.h.
fb2bf631
GS
9052
90532002-01-03 Graham Stott <grahams@redhat.com>
b9daac31
GS
9054
9055 * tree.h: Update copyright date.
9056 (IS_EXPR_CODE_CLASS): Add parenthesis.
9057 (TREE_SET_CODE): Add whitespace.
9058 (TREE_CHECK): Add parenthesis.
9059 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
9060 (CST_OR_CONSTRUCTOR_CHECK):
9061 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
9062 (TREE_SYMBOL_REFERENCED): Whitespace.
9063 (INT_CST_LT): Likewise.
9064 (INT_CST_LT_UNSIGNED): Likewise.
9065 (tree_real_cst): Unwrap comment.
9066 (tree_string): Likewise.
9067 (tree_complex): Likewise.
9068 (IDENTIFIER_POINTER): correct cast.
9069 (SAVE_EXPR_CONTEXT): Whitespace.
9070 (EXPR_WFL_FILENAME_NODE): Likewise.
9071 (EXPR_WFL_FILENAME): Remove parenthesis.
9072 (DECL_ORIGIN): Add parenthesis.
9073 (DECL_FROM_INLINE): Use NULL_TREE.
9074 (build_int_2): Whitespace.
9075 (build_type_variant): Add parenthesis.
9076
9077 * gcc/jcf-parse.c: Update copyright date.
9078 (yyparse): Constify resource_filename.
9079
f52eda29
GS
90802002-01-03 Graham Stott <grahams@redhat.com>
9081
9082 * rtl.h: Update copyright date.
9083 (RTL_CHECK1): Wrap long line.
9084 (RTL_CHECK2): Likewise.
9085 (RTL_CHECKC1): Wrap long line and whitespace.
9086 (RTL_CHECKC2): Likewise.
9087 (XWINT): Whitespace.
9088 (XINT): Likewise.
9089 (XSTR): Likewise.
9090 (XEXP): Likewise.
9091 (XVEC): Likewise.
9092 (XMODE): Likewise.
9093 (XBITMAP): Likewise.
9094 (XTREE): Likewise.
9095 (XBBDEF): Likewise.
9096 (XTMPL): Likewise.
9097 (X0WINT): Likewise.
9098 (X0INT):Likewise.
9099 (X0UINT): Likewise.
9100 (X0STR): Likewise.
9101 (X0EXP): Likewise.
9102 (X0VEC): Likewise.
9103 (X0MODE): Likewise.
9104 (X0BITMAP): Likewise.
9105 (X0TREE): Likewise.
9106 (X0BBDEF): Likewise.
9107 (X0ADVFLAGS): Likewise.
9108 (X0CSELIB): Likewise.
9109 (X0MEMATTR): Likewise.
9110 (XCWINT): Likewise.
9111 (XCINT): Likewise.
9112 (XCUINT): Likewise.
9113 (XCSTR): Likewise.
9114 (XCEXP): Likewise.
9115 (XCVEC): Likewise.
9116 (XCMODE): Likewise.
9117 (XCBITMAP): Likewise.
9118 (XCTREE): Likewise.
9119 (XCBBDEF): Likewise.
9120 (XCADVFLAGS): Likewise.
9121 (XCCSELIB): Likewise.
9122 (XC2EXP): Likewise.
9123 (INSN_UID): Likewise.
9124 (PREV_INSN): Likewise.
9125 (PATTERN): Likewise.
9126 (INSN_CODE): Likewise.
9127 (PUT_REG_NOTE_KIND): Likewise.
9128 (CODE_LABEL_NUMBER): Likewise.
9129 (NOTE_SOURCE_FILE): Likewise.
9130 (NOTE_BLOCK): Likewise.
9131 (NOTE_EH_HANDLER): Likewise.
9132 (NOTE_RANGE_INFO): Likewise.
9133 (NOTE_LIVE_INFO): Likewise.
9134 (NOTE_BASIC_BLOCK): Likewise.
9135 (NOTE_EXPECTED_VALUE): Likewise.
9136 (NOTE_LINE_NUMBER): Likewise.
9137 (LABEL_NAME): Likewise.
9138 (LABEL_NUSES): Likewise.
9139 (LABEL_ALTERNATE_NAME): Likewise.
9140 (ADDRESSOF_DECL): Likewise.
9141 (JUMP_LABEL): Likewise.
9142 (LABEL_NEXTREF): Likewise.
9143 (REGNO): Likewise.
9144 (ORIGINAL_REGNO: Likewise.
9145 (HARD_REGISTER_NUM_P): Add parenthesis.
9146 (SUBREG_REG): Whitespace.
9147 (SUBREG_BYTE): Likewise.
9148 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
9149 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
9150 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
9151 (ASM_OPERANDS_INPUT_VEC): Likewise.
9152 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
9153 (ASM_OPERANDS_INPUT): Likewise.
9154 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
9155 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
9156 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
9157 (ASM_OPERANDS_INPUT_MODE): Likewise.
9158 (ASM_OPERANDS_SOURCE_FILE): Likewise.
9159 (ASM_OPERANDS_SOURCE_LINE): Likewise.
9160 (MEM_SET_IN_STRUCT_P): Minor reformat.
9161 (TRAP_CONDITION): Whitespace.
9162 (TRAP_CODE): Likewise.
9163 (COND_EXEC_TEST): Likewise.
9164 (COND_EXEC_CODE): Likewise.
9165 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
9166 (PHI_NODE_P): Add parenthesis.
9167 (plus_constant): Whitespace and add parenthesis.
9168
e03f5d43
KH
91692002-01-03 Kazu Hirata <kazu@hxi.com>
9170
9171 * config/avr/avr.c: Fix comment typos.
9172 * config/c4x/c4x.md: Likewise.
9173 * config/dsp16xx/dsp16xx.h: Likewise.
9174 * config/dsp16xx/dsp16xx.md: Likewise.
9175 * config/i386/i386.md: Likewise.
9176 * config/ia64/ia64.c: Likewise.
9177 * config/m32r/m32r.h: Likewise.
9178 * config/m68hc11/m68hc11.md: Likewise.
9179 * config/mmix/mmix.c: Likewise.
9180 * config/mn10200/mn10200.c: Likewise.
9181 * config/romp/romp.c: Likewise.
9182 * config/sh/sh.c: Likewise.
9183 * config/stormy16/stormy16.c: Likewise.
9184 * config/stormy16/stormy16.h: Likewise.
9185 * config/stormy16/stormy16.md: Likewise.
9186
97e300e9
GS
91872002-01-03 Graham Stott <grahams@redhat.com>
9188
9189 * loop.h: Update copyright date.
0d24f4d1
ZW
9190 (LOOP_MOVABLES): Fix typo.
9191 (LOOP_REGS): Likewise.
9192 (LOOP_IVS): Likewise.
ff81832f 9193
745b26b3
GS
91942002-01-03 Graham Stott <grahams@redhat.com>
9195
9196 * cppinit.c: Update copyright date.
9197 Don't include output.h
9198 * Makefile.in: Update copyright date.
9199 Update dependency.
9200
0a379b7a
CR
92012002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
9202
9203 PR c/5226
9204 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
9205 (-pthread) Add to RS/6000 options.
9206
a8154559
KH
92072002-01-02 Kazu Hirata <kazu@hxi.com>
9208
9209 * except.c: Fix comment typos.
9210 * loop.c: Likewise.
9211 * varasm.c: Likewise.
9212 * doc/tm.texi: Fix a typo.
9213
e6ecc89b
JJ
92142002-01-02 Jakub Jelinek <jakub@redhat.com>
9215
9216 * c-typeck.c (output_init_element): Allow initializing static storage
9217 duration objects with compound literals.
9218
d1094b40
RH
92192002-01-02 Richard Henderson <rth@redhat.com>
9220
9221 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
9222 after abusing it.
9223
0c5d8c82
KG
92242002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9225
5e65297b
KG
9226 * gcc.c (default_compilers): Const-ify.
9227 * mips-tdump.c (stab_names): Likewise.
9228 * mips-tfile.c (map_coff_types, map_coff_storage,
9229 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
9230 pseudo_ops_t, pseudo_ops): Likewise.
9231 * protoize.c (default_include): Likewise
9232
0c5d8c82
KG
9233 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
9234 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
9235 Add array size in declaration.
9236 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
9237 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
9238 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
9239 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
9240 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
9241 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
9242 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
9243 emtens, make_nan): Const-ify.
9244 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
9245 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
9246
817e13c4
JM
92472002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
9248
9249 * config.gcc (ia64-*-*): Set extra_headers.
9250 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
9251 * config/alpha/t-osf: Remove.
9252 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
9253
98095e2b
DE
92542002-01-02 David Edelsohn <edelsohn@gnu.org>
9255
9256 * config/rs6000/t-aix43: Revert previous change.
9257
a4200657
JM
92582002-01-02 Jason Merrill <jason@redhat.com>
9259
9260 * c-decl.c (c_expand_body): Call outlining_inline_function when
9261 emitting an inline function out of line.
9262
54ba1f0d
RH
92632002-01-02 Richard Henderson <rth@redhat.com>
9264
9265 * dwarf2out.c (limbo_die_node): Add created_for member.
9266 (new_die): New argument created_for. Update all callers.
9267 (mark_limbo_die_list): New.
9268 (dwarf2out_init): Register limbo_die_list as a root.
9269 (dwarf2out_finish): Force insert limbo dies into their function
9270 context.
9271
323728aa
NS
92722002-01-02 Nathan Sidwell <nathan@codesourcery.com>
9273
9274 PR c++/5089
9275 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
9276
aefc5826
KH
92772002-01-02 Kazu Hirata <kazu@hxi.com>
9278
9279 * config/h8300/fixunssfsi.c: Update copyright.
9280 Fix comment typos.
9281 Fix formatting.
9282 * config/h8300/h8300.c: Update copyright.
9283 Eliminate warnings.
9284
b1c9bc51
KH
92852002-01-02 Kazu Hirata <kazu@hxi.com>
9286
9287 * config/romp/romp.c: Fix comment formatting.
9288 * config/romp/romp.h: Likewise.
9289 * config/romp/romp.md: Likewise.
9290 * config/s390/s390.c: Likewise.
9291 * config/stormy16/stormy16.c: Likewise.
9292 * config/stormy16/stormy16.h: Likewise.
9293
1574ef13
AO
92942002-01-02 Alexandre Oliva <aoliva@redhat.com>
9295
9296 * c-common.h (genrtl_expr_stmt_value): Declare.
9297 * c-semantics.c (genrtl_goto_stmt): Redirect to...
9298 (genrtl_goto_stmt_value): ... this new function. Pass new
9299 argument down to expand_expr_stmt_value, taking
9300 TREE_ADDRESSABLE into account.
9301 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
9302 STMT_EXPR as addressable, i.e., one whose result we want.
9303 * expr.c (expand_expr): Don't save expression statement value
9304 of labeled_blocks or loop_exprs.
9305 * stmt.c (expand_expr_stmt): Redirect to...
9306 (expand_expr_stmt_value): ... this new function. Use new
9307 argument to tell whether to save expression value.
9308 (expand_end_stmt_expr): Reset last_expr_type and
9309 last_expr_value if we don't have either.
9310 * tree-inline.c (declare_return_variable): Mark its use
9311 statement as addressable.
9312 * tree.h: Document new use of TREE_ADDRESSABLE.
9313 (expand_expr_stmt_value): Declare.
9314
252b88f7
TR
93152002-01-01 Tom Rix <trix@redhat.com>
9316
9317 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
9318 rs6000_emit_allocate_stack.
9319
29f7a208
JM
93202002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
9321
9322 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
9323 ${srcdir}/ginclude/ to every entry in extra_headers.
9324 * configure: Regenerate.
9325 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
9326 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
9327 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
9328 * ginclude/proto.h: Rename to config/convex/proto.h.
9329
2cc2d4bb
RK
9330Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9331
9332 * attribs.c (handle_vector_size_attribute): Use host_integerp
9333 and tree_int_cst; remove warnings.
9334 * caller-save.c (insert_restore): Add cast to get rid of warning.
9335 (insert_save): Likewise.
9336 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
9337 * regmove.c (find_matches): Add temporary var to kill a warning.
9338
f01c9bcd
DR
93392002-01-01 Douglas B Rupp <rupp@gnat.com>
9340
16b61764
DR
9341 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
9342 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
9343 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
9344 (vms-dwarf2eh.o): Add Makefile rule.
9345 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
9346 * config/alpha/vms-dwarf2eh.asm: New file.
9347
f01c9bcd
DR
9348 * gcc.c (delete_if_ordinary): Delete all versions.
9349
91312b81
HPN
93502002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
9351
9352 * config/mmix/mmix.md: Update FIXME to not mention
9353 define_constants.
9354 (MMIX_rJ_REGNUM): New define_constants constant.
9355 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
9356 "*movdicc_real"): Adjust contraints formatting.
9357 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
9358 for branch prediction.
9359 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
9360 output template.
9361 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
9362 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
9363 number. Delete related FIXMEs.
9364 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
9365 from number to MMIX_rJ_REGNUM.
9366 (TARGET_MASK_BRANCH_PREDICT): New.
9367 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
9368 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
9369 value. Add -mbranch-predict and -mno-branch-predict.
9370 (TARGET_VERSION): Drop date.
9371 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
9372 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
9373 for finding out global symbols.
9374 (mmix_asm_output_labelref): Revert condition for global symbol.
9375 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
9376 (mmix_print_operand_punct_valid_p): A '+' is valid.
9377
619acae7 9378See ChangeLog.6 for earlier changes.
This page took 1.315545 seconds and 5 git commands to generate.