]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
Add --param max-unrolled-insns=<n> support
[gcc.git] / gcc / ChangeLog
CommitLineData
03e9dbc9
MM
12002-03-14 Michael Meissner <meissner@redhat.com>
2
3 * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
4 100, allowing MAX_UNROLLED_INSNS to be overridden.
5
6 * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
7 --param.
8
9 * unroll.c (params.h): Include.
10 (MAX_UNROLLED_INSNS): Delete, now in params.h.
11
12 * doc/invoke.texi (--param max-unroll-insns): Document.
13
14 * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
15
12249385
RE
162002-03-14 Richard Earnshaw <rearnsha@arm.com>
17
18 * arm.md: Fix warnings about constraints in peepholes and splits.
19
f0cce04a
ZW
202002-03-14 Zack Weinberg <zack@codesourcery.com>
21
22 * cpphash.h (struct lexer_state): Remove line_extension member.
23 * cpplib.c (dequote_string, do_linemarker): New functions.
24 (linemarker_dir): New data object.
25 (DIRECTIVE_TABLE): No longer need to interpret #line in
26 preprocessed source. Delete obsolete comment about return
27 values of handlers.
28 (end_directive, directive_diagnostics, _cpp_handle_directive):
29 Don't muck with line_extension.
30 (directive_diagnostics): No need to issue warnings for
31 linemarkers here.
32 (_cpp_handle_directive): Issue warnings for linemarkers here,
33 when appropriate. Dispatch linemarkers to do_linemarker, not
34 do_line.
35 (do_line): Code to handle linemarkers split out to do_linemarker.
36 Convert escape sequences in filename argument, both places.
37
38 * cppmacro.c (quote_string): Rename cpp_quote_string and
39 export. All callers changed.
40 * cpplib.h (cpp_quote_string): Prototype.
41 * cppmain.c (print_line): Call cpp_quote_string on to_file
42 before printing it.
43
44 * doc/cpp.texi: Document that escapes are now interpreted in
45 #line and in linemarkers, and that non-printing characters are
46 converted to octal escapes when linemarkers are generated.
47
48Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
83a49407
JH
49
50 * emit-rtl.c (try_split): Use delete_insns.
51 * recog.c (split_all_insns): Fix terminating condition.
52
c882c7ac
RE
532002-03-14 Richard Earnshaw <rearnsha@arm.com>
54 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
55
56 PR target/5828
57 * arm.c (arm_output_epilogue): Fix floating-point register save
58 adjustment when using a frame pointer.
59
3f26edaa
RS
602002-03-14 Richard Sandiford <rsandifo@redhat.com>
61
62 * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
63 * config/mips/mips.c (compute_frame_size): Retrofit them here.
64 (save_restore_insns, mips_expand_epilogue): And here.
65 (build_mips16_call_stub): And here.
66 (mips_function_value): Use the new macros to decide whether a single
67 or complex float can be returned in floating-point registers. Return
68 a parallel rtx in the complex case.
69
1e3881c2
JH
70Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
71
72 * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
73 call after liveness analysis.
74
75 * recog.c (split_insn): Use delete_insn_and_edges.
76
77 * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
78 instructions to have branch prediction notes.
79 * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
80
200ef634
GK
812002-03-14 Geoffrey Keating <geoffk@redhat.com>
82
83 * configure.in: Don't pass -Wno-long-long to a ADA compiler
84 that doesn't support it.
85 * configure: Regenerate.
86
0b82d204
JJ
872002-03-13 Jakub Jelinek <jakub@redhat.com>
88
89 PR target/5626
90 * config/sparc/sparc.md (normal_branch, inverted_branch,
91 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
92 inverted_fp_branch): Adjust calls to output_cbranch.
93 Set length attribute.
94 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
95 output_v9branch. Set length attribute.
96 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
97 predicates.
98 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
99 (output_cbranch): Likewise. Handle far branches.
100 (output_v9branch): Handle far branches.
101 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
102 Adjust prototypes.
103 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
104 noov_compare64_op predicates.
105
7a8de19b
JM
1062002-03-13 Jason Merrill <jason@redhat.com>
107
108 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
109 into the function and constify it.
110 * gthr-dce.h, gthr-solaris.h: Likewise.
111
2a55fd42
DE
1122002-03-13 David Edelsohn <edelsohn@gnu.org>
113
114 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
115 * config/rs6000/rs6000.c (rs6000_va_arg): Use
116 std_expand_builtin_va_arg if not ABI_V4.
117
19c5b1cf
JM
1182002-03-13 Jason Merrill <jason@redhat.com>
119
120 * varasm.c (globalize_decl): New fn.
121 (assemble_start_function): Use it.
122 (asm_emit_uninitialized): Use it.
123 (assemble_alias): Use it.
124 (assemble_variable): Use it.
125
2a15f5e1
HPN
1262002-03-13 Hans-Peter Nilsson <hp@axis.com>
127
128 * config/cris/cris.c (cris_target_asm_function_prologue): Revert
f0cce04a 129 2002-03-12 internal visibility change.
2a15f5e1
HPN
130 (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
131 visibility into SYMBOL_REF_FLAG.
132
c0a3eeac
UW
1332002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
134
135 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
136 VOIDmode operand. Add compile-time optimization for constant results.
137
a1652cee
JM
1382002-03-12 Jason Merrill <jason@redhat.com>
139
140 * c-typeck.c (convert_for_assignment): Don't allow conversions
141 between pointers and references. Only allow lvalues to convert to
142 reference.
143
c52a375d
HP
1442002-03-13 Hartmut Penner <hpenner@de.ibm.com>
145
f0cce04a
ZW
146 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
147 before prologue, to avoid scheduling problems.
c52a375d 148
e387e99b
JJ
1492002-03-13 Jakub Jelinek <jakub@redhat.com>
150
151 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
152 (ELIMINABLE_REGS): Add sfp->sp.
153 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
154
1552002-03-13 Jakub Jelinek <jakub@redhat.com>
09948ece
JJ
156
157 PR optimization/5892
158 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
159
4061c1a3
JJ
1602002-03-13 Jakub Jelinek <jakub@redhat.com>
161
162 * loop.c (basic_induction_var): Don't call convert_modes if mode
163 classes are different.
164
5b43fed1
RH
1652002-03-12 Richard Henderson <rth@redhat.com>
166
9f53e965
RH
167 PR optimization/5901
168 * function.c (reposition_prologue_and_epilogue_notes): Position
169 the markers after/before the last/first insn not deleted.
170
1712002-03-12 Richard Henderson <rth@redhat.com>
172
173 PR optimization/5878
5b43fed1
RH
174 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
175 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
176 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
177
178 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
179 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
180 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
181
182 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
183 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
184 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
185 also. Don't set it if not flag_pic.
186 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
187 to be INVALID_REGNUM when not used.
188
4e9bb42b
AH
1892002-03-13 Aldy Hernandez <aldyh@redhat.com>
190
5b43fed1
RH
191 * expmed.c (store_bit_field): Reset alias set for memory.
192 (extract_bit_field): Same.
4e9bb42b 193
2f9834e8
KG
1942002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
195
196 * c-common.c (c_tree_code_type, c_tree_code_length,
197 c_tree_code_name, add_c_tree_codes): Delete.
198 * c-common.h (add_c_tree_codes): Delete.
199 * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
200 Define.
201 * c-objc-common.c (c_objc_common_init): Don't call
202 add_c_tree_codes, instead set lang_unsafe_for_reeval.
203 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
204 objc_tree_code_name, add_objc_tree_codes): Delete.
205 (objc_init): Don't call add_objc_tree_codes.
206 * objc/objc-lang.c (tree_code_type, tree_code_length,
207 tree_code_name): Define.
208 * toplev.c (lang_independent_init): Don't set
209 tree_code_length[IDENTIFIER_NODE].
210 * tree.c (tree_code_type, tree_code_length, tree_code_name):
211 Delete definitions, moved to language front-ends.
212 * tree.def (IDENTIFIER_NODE): Hardwire the length.
213 * tree.h (tree_code_type, tree_code_length, tree_code_name):
214 Const-ify.
215 (tree_code_length): Change type to unsigned char.
216
36ad2436
RH
2172002-03-12 Richard Henderson <rth@redhat.com>
218
219 * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
220 internal visibility change.
221
0ae02efa
BW
2222002-03-12 Bob Wilson <bob.wilson@acm.org>
223
224 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
225 validize_mem() instead of change_address to avoid clobbering
226 memory attributes.
227
35bb2bee
NB
2282002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
229
230 * c-lex.h (position_after_whitespace): Remove.
231
62ae2529
JJ
2322002-03-12 Jakub Jelinek <jakub@redhat.com>
233
234 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
235 (lex_string): Use unsigned char pointers.
236
6a45951f
UW
2372002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
238
239 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
240 is not a valid memory_operand.
241
e2fb85da
BW
2422002-03-12 Bob Wilson <bob.wilson@acm.org>
243
244 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
245 * config/xtensa/lib1funcs.asm: Fix copyright to include
246 special case for libgcc files.
247 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
248 (__divsi3): Likewise.
249 (__umodsi3): Likewise.
250 (__modsi3): Likewise.
251 * config/xtensa/lib2funcs.S: Fix copyright to include
252 special case for libgcc files.
253
5b8619f8
TR
2542002-03-12 Tom Rix <trix@redhat.com>
255
256 * collect2.c (resolve_lib_name): Move outside of
f0cce04a 257 OBJECT_FORMAT_COFF ifdef.
5b8619f8
TR
258 (ignore_library): Same.
259
089c8f97
BW
2602002-03-12 Bob Wilson <bob.wilson@acm.org>
261
262 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
263
958c70ff
BW
2642002-03-12 Bob Wilson <bob.wilson@acm.org>
265
266 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
267 to function_section before writing out the constant pool.
268
a65c591c
DE
2692002-03-12 David Edelsohn <edelsohn@gnu.org>
270
271 * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
272 zero_constant.
273 * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
274
2752002-03-12 Alan Modra <amodra@bigpond.net.au>
276
277 * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
278 (adddi3): Likewise.
279 (movdf): Likewise.
280 (movdi): Likewise.
281 (cmpsi splitter): Likewise.
282 (modsi3): Fail if <= 0.
283 * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
284 redundant test when HOST_BITS_PER_WIDE_INT != 32.
285 (reg_or_sub_cint64_operand): Likewise.
286 (num_insns_constant_wide): Optimize sign extension.
287 (rs6000_legitimize_address): Likewise.
288
17720332
AM
2892002-03-12 Andrew MacLeod <amacleod@redhat.com>
290
291 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
292 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
293
cd49f073
AM
2942002-03-12 Andrew MacLeod <amacleod@redhat.com>
295
296 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
297 address calculation.
298
6a4e49c1
UW
2992002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
300
301 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
302 scratch register to DImode / TImode.
303 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
304 register used does not overlap the target.
305
54b6670a
KG
3062002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
307
308 * Makefile.in (debug.o): Depend on debug.h.
309 * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
310 * debug.c (do_nothing_debug_hooks): Likewise.
311 * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
312 sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
313 dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
314 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
315 * dwarfout.c (dwarf_debug_hooks): Likewise.
316 * integrate.c (output_inline_function): Likewise.
317 * objc/objc-act.c (synth_module_prologue): Likewise.
318 * sdbout.c (sdb_debug_hooks): Likewise.
319 * toplev.c (debug_hooks): Likewise.
320 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
321
2465bf76
KG
3222002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
323
324 * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
325 dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
326 m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
327 ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
328 v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
329 * defaults.h (POINTER_SIZE): Define.
330 * doc/tm.texi (POINTER_SIZE): Document default.
331
53f3e9ca
KG
3322002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
333
334 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
335
44d3eb5b
RH
3362002-03-11 Richard Henderson <rth@redhat.com>
337
338 * toplev.c (rest_of_compilation): Call purge_all_dead_edges
339 if rebuild_label_notes_after_reload.
340
4a085d2e
HPN
3412002-03-12 Hans-Peter Nilsson <hp@axis.com>
342
343 * config/cris/cris.c (cris_target_asm_function_prologue): Do not
344 emit pic register load if "internal" visibility.
345 (cris_print_operand): Avoid traditional-warning for 0xffffffff.
346 (cris_expand_builtin_va_arg): Do all computations on trees.
347
bc204393
RH
3482002-03-11 Richard Henderson <rth@redhat.com>
349
350 * rtlanal.c: Include recog.h.
351 (keep_with_call_p): Fix thinko.
352 * Makefile.in (rtlanal.o): Update dependencies.
353
6b8b9d7b
CM
3542002-03-11 Chris Meyer <cmeyer@gatan.com>
355
356 * genflags.c (gen_insn): Use IS_VSPACE.
357 * genoutput.c (output_insn_data): Likewise.
358 (process_template): Likewise.
359
6c40858f
RH
3602002-03-11 Richard Henderson <rth@redhat.com>
361
362 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
363
40adaa27
NB
3642002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
365
366 * Makefile.in: Update.
6c40858f 367 * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
40adaa27 368 Update documentation.
6c40858f
RH
369 * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
370 * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
40adaa27 371
049b03f4
ZW
3722002-03-11 Zack Weinberg <zack@codesourcery.com>
373
374 * Makefile.in: Give texi2pod its input file as a command line
375 argument, not on stdin.
376
61eece67
DN
3772002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
378 Daniel Berlin <dan@dberlin.org>
379
380 C++ alias analysis improvement.
f0cce04a 381 * alias.c (record_component_aliases): Record aliases for base
61eece67
DN
382 classes too.
383
a65c591c
DE
3842002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
385
ff080aba
UW
386 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
387
1682dbb1
DR
3882002-03-11 Douglas B Rupp <rupp@gnat.com>
389
fa2d765a
DR
390 * toplev.c (vms_fopen): Remove, not needed.
391
6f1fd286
DR
392 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
393
b230e057
DR
394 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
395
cb9a8e97
DR
396 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
397 for FP, already done later.
398
1682dbb1
DR
399 * toplev.c (debug_args): Add entry for VMS_DEBUG.
400 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
401
3fcaac1d
RS
4022002-03-11 Richard Sandiford <rsandifo@redhat.com>
403
404 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
405 (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
406 LARGEST_EXPONENT_IS_NORMAL for the given mode.
407 (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
408 * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
409 (ediv, emul, eldexp, esqrt): Likewise.
410 (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
411 (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
412 (saturate): New function.
413 (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
414 (make_nan): Use a saturation value instead of a NaN if
415 LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
416 * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
417 inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
418 zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
419 (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
420 (_fpmul_parts, _fpdiv_parts): Only round to nearest if
421 !ROUND_TOWARDS_ZERO.
422 * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
423 (ROUND_TOWARDS_ZERO): Document.
424
d25558be
AJ
4252002-03-11 Andreas Jaeger <aj@suse.de>
426
427 * cfg.c (dump_flow_info): Remove unused variable.
428
c71f9ae7
HPN
4292002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
430
431 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
432 computations on trees.
433
561c9153
RH
4342002-03-10 Richard Henderson <rth@redhat.com>
435
932b4e3e 436 PR 5693:
561c9153
RH
437 * reload.c (copy_replacements_1): New.
438 (copy_replacements): Use it to recurse through the rtx.
439
26b738be
RH
4402002-03-10 Richard Henderson <rth@redhat.com>
441
442 * loop.c (strength_reduce): Compute number of iterations as
443 unsigned HOST_WIDE_INT.
444
8d8a083e
RH
4452002-03-10 Richard Henderson <rth@redhat.com>
446
447 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
448 to move away from the end of the block.
449
32810ba3
NB
4502002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
451
452 PR preprocessor/5899
453 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
d25558be 454
2b03d201
KG
4552002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
456
f90c544c
KG
457 * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
458
2b03d201
KG
459 * attribs.c (decl_attributes): Fix signed/unsigned warning.
460
3ec1b4cb
HPN
4612002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
462
463 * config/mmix/mmix.c: Improve comments.
464 (mmix_target_asm_function_prologue): Drop variable
465 empty_stack_frame. Don't allocate unused slot above fp.
466 (mmix_target_asm_function_epilogue): Mirror prologue changes.
467 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
468 brace in first column.
469 (enum reg_class): Ditto.
470 (FIRST_PARM_OFFSET): Now 0.
471 (USER_LABEL_PREFIX): Remove #if 0:d definition.
472
27e486c5
KG
4732002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
474
475 * combine.c (make_extraction): Fix error in last change.
476
0139adca
KG
4772002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
478
479 * c4x.c (c4x_fp_reglist): Const-ify.
480 * cris.c (cris_print_operand): Likewise.
481 * i386.c (ix86_va_arg): Likewise.
482 * ia64/unwind-ia64.c (unw_decode_table): Likewise.
483 * m32r.c (m32r_hard_regno_mode_ok): Likewise.
484 * m32r.h (m32r_hard_regno_mode_ok): Likewise.
485 * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
486 * mcore.h (regno_reg_class): Likewise.
487 * mips.c (gen_int_relational): Likewise.
488 * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
489 * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
a4334c36 490 * pdp11.c (move_costs): Likewise.
0139adca
KG
491 * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
492 * s390.c (s390_branch_condition_mnemonic, regclass_map):
493 Likewise.
494 * s390.h (regclass_map): Likewise.
495 * sh.c (shift_amounts): Likewise.
a4334c36 496 * sh.md (rotlsi3): Likewise.
0139adca 497
889b90a1
GK
4982002-03-09 Geoffrey Keating <geoffk@redhat.com>
499
500 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
501 (ne0+5): Use new clobber to generate proper shift pattern.
502 Patch by Michael Matz <matz@kde.org>.
503
2877e0ae
AS
5042002-03-09 Andreas Schwab <schwab@suse.de>
505
506 * gcc.c (validate_all_switches): Also handle `%W{...}'.
507
79b51cd7
GK
5082002-03-09 Geoffrey Keating <geoffk@redhat.com>
509
510 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
511
e0f1be5c
JJ
5122002-03-09 Jakub Jelinek <jakub@redhat.com>
513
514 PR middle-end/5877
515 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
516 even for non-representable constants.
517
0a7ec763
RK
518Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
519
93fe8e92
RK
520 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
521 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
522 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
523 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
524 (pop_function_context): Compute MAY_SHARE parameter for
525 fixup_var_refs.
526 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
527 (gen_mem_addressof): Call fixup_var_refs with new parm.
528
0a7ec763
RK
529 * combine.c (make_extraction): Don't make extension of CONST_INT.
530
a85cd407
AO
5312002-03-09 Alexandre Oliva <aoliva@redhat.com>
532
9445b814
AO
533 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
534 in o32 and o64 ABIs.
535 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
536 but getting fixed-size structs passed in registers regardless of
537 padding in o32 and o64 ABIs.
538
a85cd407
AO
539 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
540 offset before loading address of argument passed by transparent
541 reference.
542
c51fbe40
JDA
5432002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
544
545 * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
546
918e70dd
AO
5472002-03-09 Alexandre Oliva <aoliva@redhat.com>
548
549 * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
550 marker such that registers after it are saved.
551
3070dd00
KG
5522002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
553
554 * sparc.c (arith_4096_operand): Fix error in last change.
555
e25d11b0
AO
5562002-03-08 Alexandre Oliva <aoliva@redhat.com>
557
558 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
559 defaults for MEABI.
560
41daaf0e
AH
5612002-03-08 Aldy Hernandez <aldyh@redhat.com>
562
5b43fed1
RH
563 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
564 vectors.
41daaf0e 565
fa139b00
AH
5662002-03-08 Aldy Hernandez <aldyh@redhat.com>
567
5b43fed1 568 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
fa139b00 569
c51d95ec
JH
570Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
571
572 * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
573 removed; fix return value.
574 * combine.c (combine_instructions): Dirtify blocks where we failed to
575 update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
576 * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
577
3b25fbfe
KG
5782002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
579
580 * gcse.c (insert_insn_end_bb): Fix typo in last change.
581
189ae0f4
JH
582Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
583
584 * recog.c (peephole2_optimize): Re-distribute EH edges.
585
24965e7a
NB
5862002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
587
588 * expr.c (expand_expr): Use unsave lang hook.
589 * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
590 (LANG_HOOKS_INITIALIZER): Update.
591 * langhooks.h (struct lang_hooks): New hook unsave.
592 * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
593 (unsave_expr_1): Remove unused lang_unsave_expr_now.
594 (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
595 (unsave_expr_now): Remove.
596 * tree.h (unsave_expr_now, lang_unsave,
597 lang_unsave_expr_now): Remove.
598 (lhd_unsave): New.
599
1e4e95d6
AJ
6002002-03-08 Andreas Jaeger <aj@suse.de>
601
602 * flow.c (propagate_block_delete_insn): Remove unused variable.
603
054ef905
KH
6042002-03-08 Kazu Hirata <kazu@hxi.com>
605
606 * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
607 insn length for memory load/store.
608
5304400d 6092002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
1e4e95d6 610
5304400d
CR
611 * doc/install.texi (--with-libiconv-prefix): Document.
612
81034129
MB
6132002-03-08 Michael Y. Brukman <myb2@cornell.edu>
614
615 * doc/sourcebuild.texi: Fix typo.
616
71db7d03
JJ
6172002-03-08 Jakub Jelinek <jakub@redhat.com>
618
619 PR c/3711
620 * builtins.c (std_expand_builtin_va_arg): Do all computations on
621 trees.
622
127c1ba5
RK
623Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
624
625 * rtl.c (copy_most_rtx): Move from here ...
626 * emit-rtl.c (copy_most_rtx): ... to here.
627
8a13c092
AO
6282002-03-08 Alexandre Oliva <aoliva@redhat.com>
629
5faae4f7
AO
630 * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
631 SUBTARGET_CPP_SIZE_SPEC.
632 * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
633
8a13c092
AO
634 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
635
4ec59de2
MH
6362002-03-07 Matt Hiller <hiller@redhat.com>
637
638 * gensupport.c (first_dir_md_include): Renamed from include;
639 change all references.
640 (last_dir_md_include): Renamed from last_include; change all
641 references.
642 (init_md_reader): Unconditionally initialize base_dir whether or
643 not filename is a relative path.
644
12f61e77
AO
6452002-03-07 Alexandre Oliva <aoliva@redhat.com>
646
95356058
AO
647 * config/fp-bit.c (_unord_f2): Compile it in even if
648 US_SOFTWARE_GOFAST is enabled.
649
12f61e77
AO
650 * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
651 NULL_RTX. Set all HFmode operations as NULL_RTX.
652 * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
653 NULL_RTX, try reversing the comparison and the operands.
654
6d7a1c4c
UW
6552002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
656
657 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
658 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
659 and MATCH_OP_DUP.
660
66d54344
JH
661Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
662
663 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
664
068473ec
JH
665Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
666
667 * basic-block.h (fixup_abnormal_edges): Declare.
668 * reload1.c (fixup_abnormal_edges): New function.
669 * reg-stack.c (convert_regs): Use it.
670
671 * gcse.c (insert_insn_end_bb): Handle trapping insns.
672
673 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
674
71925bc0
RS
6752002-03-07 Richard Sandiford <rsandifo@redhat.com>
676
677 * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
678 (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
679 * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
680 (HONOR_SIGN_DEPENDENT_ROUNDING): New.
681 * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
682 * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
683 unless x and y could be infinite.
684 (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
685 Check that the common type of both arguments is a real, even for
686 targets without unordered comparisons. Allow an integer argument
687 to be compared against a real.
688 (expand_tree_builtin): Use expand_unordered_cmp.
689 * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
690 * cse.c (fold_rtx): Likewise. Fix indentation.
691 * fold-const.c (fold_real_zero_addition_p): New.
692 (fold): Use it, and the new HONOR_... macros.
693 * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
694 * jump.c (reversed_comparison_code_parts): After searching for
695 the true comparison mode, use HONOR_NANS to decide whether it
696 can be safely reversed.
697 (reverse_condition_maybe_unordered): Remove IEEE check.
698 * simplify-rtx.c (simplify_binary_operation): Use the new macros
699 to decide which simplifications are valid. Allow the following
700 simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
701 and (a - -b) to (a + b).
702 (simplify_relational_operation): Use HONOR_NANS.
703 * doc/tm.texi: Document the MODE_HAS_... macros.
704
145d3bf2
RE
7052002-03-07 Richard Earnshaw <rearnsha@arm.com>
706
707 * combine.c (simplify_comparison): If simplifying a logical shift
708 right and compare with constant, force the comparison to unsigned.
709
76a773f3
AH
7102002-03-07 Aldy Hernandez <aldyh@redhat.com>
711
5b43fed1 712 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
76a773f3 713
5b43fed1
RH
714 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
715 -mabi=no-altivec
716 (alt_reg_names): Remove % for vrsave.
76a773f3 717
ab55f58c
RH
7182002-03-06 Richard Henderson <rth@redhat.com>
719
5ddec02e 720 PR optimization/5844
ab55f58c
RH
721 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
722 if used indicates we've already emitted one copy of an operand.
723 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
724 (gen_split): Supply a non-null used.
725
e16e3291
UW
7262002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
727
5b43fed1 728 * reload1.c (reload): Unshare all rtl after reload is done.
e16e3291 729
1e4e95d6 730 * simplify-rtx.c (simplify_plus_minus): Do not abort,
e16e3291
UW
731 but simply fail if the expression is too complex to simplify.
732 (simplify_gen_binary): Handle simplify_plus_minus failures.
733
2ca6672b
JH
734Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
735
736 * toplev.c (rest_of_compilation): Do jump threading before SSA path;
737 consistently call delete_trivially_dead_insns after CSE and GCSE;
738 fix DFI_life dumping; do jump threading after liveness; do crossjumping
739 after liveness2; update comment in last crossjumping.
740 * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
741
31d0dd4f
JL
742Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
743
d094b0b3
JL
744 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
745 after completing fast dead code elimination.
746
31d0dd4f
JL
747 * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
748 COMPARE operator.
1e4e95d6 749
f2b958b1
PE
7502002-03-06 Phil Edwards <pme@gcc.gnu.org>
751
752 * version.c: Fix misplaced leading blanks on first line.
753
a2877a09
JH
754Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
755
756 * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
757
fe477d8b
JH
758Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
759
760 * cfgcleanup.c (mentions_nonequal_regs): New function.
761 (thread_jump): Use it.
762 * toplev.c (rest_of_compilation): Run jump threading after
763 liveness.
764
2041cde4
JJ
7652002-03-06 Jakub Jelinek <jakub@redhat.com>
766
767 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
768 patch.
769
82d68d46
JH
770Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
771
772 * predict.c (estimate_bb_frequencies): Do not reload the
773 frequencies from notes.
774
3dec4024
JH
775Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
776
777 * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
778 * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
779
780 * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
781 delete_noop_moves): Return indeger.
782 * flow.c (ndead): New variable.
783 (propagate_block_delete_insn): Use delete_insn_and_edges; remove
784 BB argument; update callers.
785 (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
786 (life_analysis): Do not call purge_all_dead_edges.
787 (update_life_info): Return number of deleted insns; print statistics.
788 (update_life_info_in_dirty_blocks): likewise.
789 (delete_noop_moves): Use delete_insn_and_edges; print statistics;
790 return number of insns deleted.
791
792 * cse.c: Include timevar.h
793 (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
794 iterate until stabilizes; print statistics; return number of killed
795 insns.
796 * Makefile.in: (cse.o): Add timevar.h dependency
797 * rtl.h (delete_trivially_dead_insns): New.
798 * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
799 * toplev.c (rest_of_compilation): Update callers.
800
801 * cfgcleanup.c (try_optimize_cfg): Kill blocks.
802 (try_optimize_cfg): Do not update liveness.
803 (cleanup-cfg): Loop until try_optimize_cfg and dead code
804 removal stabilizes; use delete_trivially_dead_insns.
805
806 * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
807
c7544dd8
ZW
8082002-03-05 Zack Weinberg <zack@codesourcery.com>
809
810 * cppmain.c (setup_callbacks): Disable #pragma and #ident
811 callbacks when processing assembly language.
812
50b424a9
JDA
8132002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
814
815 * pa.h (ASM_FILE_END): Define.
816 * som.h (ASM_FILE_END): Delete.
817
818 * pa.c (function_arg): Don't pass floats in general registers in
819 indirect calls if TARGET_ELF32.
820
6185f217
RH
8212002-03-05 Richard Henderson <rth@redhat.com>
822
823 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
824
3020a4b2
DS
8252002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
826
827 * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
828
65649daa
JJ
8292002-03-05 Jakub Jelinek <jakub@redhat.com>
830
831 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
832 -r command line. Don't hide any symbols if not building
833 shared libgcc.
834
5a1a3e5e
JH
835Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
836
837 * cfg.c (dump_flow_info): Warn about profile mismatches.
838 * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
839 (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
840
170c56da
JJ
8412002-03-05 Jakub Jelinek <jakub@redhat.com>
842
843 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
844 wide volatile memory by parts.
845
6d051694
JJ
8462002-03-05 Jakub Jelinek <jakub@redhat.com>
847
848 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
849 is NULL.
850
28bcfd4d
RH
8512002-03-05 Richard Henderson <rth@redhat.com>
852
5b43fed1 853 * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
28bcfd4d 854
75227a33
GK
8552002-03-04 Geoffrey Keating <geoffk@redhat.com>
856
857 * toplev.c (documented_lang_options): Document more
858 language-specific options.
859 * doc/invoke.texi (Warning Options): Correct documentation for
860 -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
861 * c-decl.c (c_decode_option): Use a table to handle warning options.
862
4f1aac42
HPN
8632002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
864
865 * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
866 parameter to mmix_encode_section_info.
867 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
868 relocatably. Always produce ELF, not mmo if linking relocatably.
869 * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
870 first is non-zero, don't add symbol prefix.
871 * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
872 prototype accordingly.
873
12345543
KW
8742002-03-04 Krister Walfridsson <cato@df.lth.se>
875
876 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
877
8e97db8f
JM
8782002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
879
880 * configure.in: Increase required makeinfo version to 4.1.
881 * configure: Regenerate.
882
06487868
GK
8832002-03-04 Geoffrey Keating <geoffk@redhat.com>
884
885 * .cvsignore: Remove *.info* and genrtl*; these files are generated
886 elsewhere now.
887
cff42170
JM
8882002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
889
890 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
891 * doc/invoke.texi: Fix @math uses.
892
974a7f56
JH
893Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
894
895 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
896 removal
897
3b7d0e98
AH
8982002-03-03 Aldy Hernandez <aldyh@redhat.com>
899
5b43fed1
RH
900 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
901 (powerpc-*-eabisimaltivec*): Same.
3b7d0e98 902
5b43fed1 903 * config/rs6000/t-ppcendian: New.
3b7d0e98 904
65f2f288
HB
9052002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
906
907 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
908 nonimmediate_src_operand and nonimmediate_lsrc_operand to
909 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
910
8ce0a8a5
RH
9112002-03-03 Richard Henderson <rth@redhat.com>
912
913 * toplev.c (rest_of_decl_compilation): Revert last two changes.
914
ba31d94e
ZW
9152002-03-03 Zack Weinberg <zack@codesourcery.com>
916
917 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
918 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
919 tree.c, config/m68k/m68k.c:
920 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
921 REAL_ARITHMETIC blocks unconditional. Delete some further
922 #ifdef blocks predicated on REAL_ARITHMETIC.
923 * flags.h, toplev.c: Delete remaining references to
924 flag_pretend_float.
925
926 * doc/invoke.texi: Remove documentation of -fpretend-float.
927 * doc/tm.texi: Describe the various REAL_* macros as provided by
928 real.h, not by the target configuration files.
929
930 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
931 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
932 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
933 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
934 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
935 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
936 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
937 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
938 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
939 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
940 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
941 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
942 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
943 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
944 config/xtensa/xtensa.h:
945 Do not define, undefine, or mention in comments any of
946 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
947 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
948 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
949 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
950 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
951 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
952 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
953 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
954 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
955
9a571cfd
KG
9562002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
957
e81dd381
KG
958 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
959 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
960 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
961 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
962 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
963 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
964 Delete.
965 * defaults.h (BITS_PER_WORD): Define.
ba31d94e 966 * doc/tm.texi (BITS_PER_WORD): Document default value.
e81dd381 967
9a571cfd
KG
968 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
969 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
970 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
971
ca7558fc
KG
9722002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
973
974 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
975 lieu of explicit sizeof/sizeof.
976 * i386.c (override_options, ix86_init_mmx_sse_builtins,
977 ix86_expand_builtin): Likewise.
978 * mips.c (mips_add_gc_roots): Likewise.
979 * mmix.c (mmix_output_condition): Likewise.
980 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
981 altivec_init_builtins): Likewise.
982 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
983 * cppexp.c (Nsuff, parse_number): Likewise.
984 * cppinit.c (builtin_array_end): Likewise.
985 * gcc.c (n_default_compilers, process_command): Likewise.
986 * genpreds.c (output_predicate_decls): Likewise.
987 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
988 * lcm.c (N_ENTITIES): Likewise.
989 * stor-layout.c (set_sizetype): Likewise.
ba31d94e 990
41c78c88
RH
9912002-03-03 Richard Henderson <rth@redhat.com>
992
993 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
994 for types or labels.
995
9e9b71e6
RH
9962002-03-03 Richard Henderson <rth@redhat.com>
997
998 * c-decl.c (start_decl): Initialized variables are not common.
999
c26a6db8
PB
10002002-03-02 Per Bothner <per@bothner.com>
1001
1002 * gcc.c (option_map): Suport new --bootclasspath option.
1003 --CLASSPATH is now just an alias for --classpath.
1004
9e8aab55
RH
10052002-03-02 Richard Henderson <rth@redhat.com>
1006
1007 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
1008 load if "internal" visibility.
1009 * doc/extend.texi: Document visibility meanings.
1010
b3bbd220
RH
10112002-03-02 Richard Henderson <rth@redhat.com>
1012
1013 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
1014 to functions as well.
1015
b14707c3
RH
10162002-03-02 Richard Henderson <rth@redhat.com>
1017
1018 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
1019 (handle_visibility_attribute): Don't call assemble_visibility.
1020 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
1021 without asmspec. Invoke assemble_alias when needed.
1022 * varasm.c (maybe_assemble_visibility): New.
1023 (assemble_start_function, assemble_variable, assemble_alias): Use it.
1024
b2003250
RH
10252002-03-02 Richard Henderson <rth@redhat.com>
1026
1027 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
1028 invoke ENCODE_SECTION_INFO with first call flag.
1029
1030 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
1031 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
ba31d94e 1032 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
b2003250
RH
1033 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
1034 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
1035 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
1036 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
1037 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
1038 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
1039 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
1040 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
1041 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
ba31d94e
ZW
1042 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
1043 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
b2003250
RH
1044 config/mcore/mcore-protos.h, config/mcore/mcore.c,
1045 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
1046 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
ba31d94e 1047 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
b2003250
RH
1048 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
1049 config/sh/sh.h, config/sparc/sparc.h,
1050 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
1051 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
1052 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
1053 FIRST argument. As needed, examine it and do nothing.
1054
ba31d94e 1055 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
b2003250
RH
1056 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
1057 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
1058
1059 * config/arm/t-pe (pe.o): Add dependencies.
1060
5c60f03d
KG
10612002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1062
1063 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
1064 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
1065 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
1066 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
1067 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
1068 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
1069 * defaults.h (BITS_PER_UNIT): Define.
1070 * doc/tm.texi (BITS_PER_UNIT): Document default value.
1071
86855e8c
KH
10722002-03-02 Kazu Hirata <kazu@hxi.com>
1073
1074 * config/h8300/h8300-protos.h: Add a prototype for
1075 compute_a_shift_length.
1076 * config/h8300/h8300.c (h8300_asm_insn_count): New.
1077 (compute_a_shift_length): Likewise.
1078 (h8300_adjust_insn_length): Do not adjust insn length of shift
1079 insns.
1080 * config/h8300/h8300.md (anonymous shift patterns): Use
1081 compute_a_shift_length.
1082
f6041ed8
RK
1083Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1084
35aa3c1c
RK
1085 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
1086 trunc_int_for_mode.
1087
f6041ed8
RK
1088 * emit-rtl.c (offset_address): Call update_temp_slot_address.
1089
27b41650
KG
10902002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1091
1092 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
1093 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
1094 * flags.h (flag_zero_initialized_in_bss): Declare.
1095 * toplev.c (flag_zero_initialized_in_bss): New flag.
1096 (lang_independent_options): Add flag_zero_initialized_in_bss.
1097 * tree.c (initializer_zerop): New function.
1098 * tree.h (initializer_zerop): Declare.
1099 * varasm.c (assemble_variable): If we can emit bss, put zero
1100 initializers in the bss section.
1101
ca734b39
AM
11022002-03-02 Alan Modra <amodra@bigpond.net.au>
1103
1104 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
1105 like more than one symbol per .weak directive.
1106
49b72306
RH
11072002-03-01 Richard Henderson <rth@redhat.com>
1108
1109 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
1110 adjust argument_pointer by pretend_args_size.
1111 (ia64_va_start): Adjust va_start address by -pretend_args_size.
1112
fbf0fe41
KH
11132002-03-01 Kazu Hirata <kazu@hxi.com>
1114
1115 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
1116
0010687d
JH
1117Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
1118
1119 * toplev.c (rest_of_compilation): Delete dead jumptables before
1120 loop.
1121 * flow.c (delete_dead_jumptables): Make global.
1122 * rtl.h (delete_dead_jumptables): Declare.
1123
9429c84c
DE
11242002-03-01 David Edelsohn <edelsohn@gnu.org>
1125
1126 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
1127 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
1128 * config/rs6000/xcoff.h (COLLET_EXPORT_LIST): Delete.
1129
f0b6f9a6
KH
11302002-03-01 Kazu Hirata <kazu@hxi.com>
1131
1132 * config/h8300/h8300-protos.h: Fix formatting.
1133 * config/h8300/h8300.c: Likewise.
1134 * config/h8300/h8300.h: Likewise.
1135
bc8db8a1
KH
11362002-03-01 Kazu Hirata <kazu@hxi.com>
1137
1138 * config/h8300/h8300.c (print_operand): Support 16-bit
1139 constant addresses.
1140 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
1141
32b069d3
RH
11422002-02-28 Richard Henderson <rth@redhat.com>
1143
1144 * expmed.c (store_bit_field): Prevent generation of CONCATs;
1145 pun complex values as integers; use gen_lowpart instead of
1146 gen_rtx_SUBREG.
1147 (extract_bit_field): Likewise.
1148
79c4e63f
AM
11492002-03-01 Alan Modra <amodra@bigpond.net.au>
1150 David Edelsohn <edelsohn@gnu.org>
1151
1152 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
1153 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
1154 (SUPPORTS_WEAK): Likewise.
1155 * output.h (add_weak): Add tree param.
1156 * varasm.c (add_weak): Likewise. Save decl.
1157 (struct weak_syms): Add decl field.
1158 (mark_weak_decls): New function.
1159 (init_varasm_once): ggc_add_root mark_weak_decls.
1160 (assemble_start_function): Use ASM_WEAKEN_DECL.
1161 (assemble_variable): Likewise.
1162 (assemble_alias): Likewise.
1163 (declare_weak): Pass decl to add_weak.
1164 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
1165 (remove_from_pending_weak_list): Declare and define for
1166 ASM_WEAKEN_DECL.
1167 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
1168 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
1169 * defaults.h (SUPPORTS_WEAK): Likewise.
1170 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
1171 .weak for code sym. Do emit .size for descriptor sym.
1172 (ASM_DECLARE_FUNCTION_SIZE): Define.
1173 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
1174 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
1175 .lglobl unless TARGET_XCOFF. Formatting fixes.
1176 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
1177 .weak for code sym.
1178 (HANDLE_PRAGMA_WEAK): Remove.
1179 (ASM_WEAKEN_LABEL): Remove.
1180 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
1181
6f30f1f1
JM
11822002-03-01 Jason Merrill <jason@redhat.com>
1183
1184 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
1185 (TARGET_EXPR_CLEANUP): New macro.
1186
7879b81e
SE
11872002-02-28 Steve Ellcey <sje@cup.hp.com>
1188
1189 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
1190 to take ptr_extend into account as third type of extension.
1191 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
1192 fields used by SUBREG_PROMOTED_UNSIGNED_P.
1193 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
1194 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
1195 * calls.c (precompute_arguments): Use new macro.
1196 (expand_call): Ditto.
1197 * combine.c (nonzero_bits): Ditto.
1198 (record_promoted_value): Ditto.
1199 * expr.c (store_expr): Ditto.
1200 (expand_expr): Ditto.
1201 * function.c (assign_parms): Ditto.
1202
42d579d8
AO
12032002-02-28 Alexandre Oliva <aoliva@redhat.com>
1204
1205 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
1206 override -shared and -shared-libgcc.
1207
e0054185
DB
12082002-02-28 David O'Brien <obrien@FreeBSD.org>
1209
1210 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
1211 of "ultrasparc".
1212 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
1213 to be broken.
1214
abda4f1c
RH
12152002-02-28 Richard Henderson <rth@redhat.com>
1216
1217 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
1218 4 cycle latency from MM producers.
1219 (ia64_internal_sched_reorder): Likewise with pipeline flush.
1220
c0f08649
JJ
12212002-02-28 Jakub Jelinek <jakub@redhat.com>
1222
1223 * mklibgcc.in: Don't use GNU make extension.
1224
f79f2651
NB
12252002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
1226
1227 * c-parse.in (STATIC): New terminal.
1228 (scspec): New non-terminal. Update productions accordingly.
1229 (program): Remove bogus ifc / end ifc.
1230 (array_declarator): Simplify production using STATIC.
1231
001e3fee
JM
12322002-02-28 Jim Meyering <meyering@lucent.com>
1233
1234 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
1235 \a still means TARGET_BELL.
1236
89076bb3
RH
12372002-02-28 Richard Henderson <rth@redhat.com>
1238
1239 * haifa-sched.c (sched_emit_insn): New.
1240 (schedule_block): Use last_scheduled_insn to track last insn.
1241 * sched-int.h (sched_emit_insn): Prototype.
1242 * config/ia64/ia64.c (last_issued): Remove.
1243 (ia64_variable_issue): Don't set it.
1244 (nop_cycles_until): Use sched_emit_insn.
1245
e3aaacf4
AM
12462002-02-28 Andrew MacLeod <amacleod@redhat.com>
1247
1248 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
1249 extended constants.
1250
7f473594
KH
12512002-02-28 Kazu Hirata <kazu@hxi.com>
1252
1253 * config/h8300/h8300.c: Fix formatting.
1254 * config/h8300/h8300.h: Likewise.
1255
b96c434c
MM
12562002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
1257
1258 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
1259 which may overwrite the high byte of the frame pointer.
1260
9b420a6a
BT
12612002-02-28 Bo Thorsen <bo@suse.de>
1262
1263 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
1264 (STARTFILE_SPEC): Add 64 bit files.
1265 (ENDFILE_SPEC): Likewise.
1266
6f30f1f1 12672002-02-28 Jason Merrill <jason@redhat.com>
46cfb101
JM
1268
1269 * c-decl.c (finish_function): Only warn about missing return
1270 statement with -Wreturn-type.
1271
70da1d03
JH
1272Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
1273
1274 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
1275
1276 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
1277 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
1278
38c1593d
JH
1279Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
1280
1281 * basic-block.h (BB_REACHABLE): Renumber.
1282 (BB_DIRTY, BB_NEW): New flags.
1283 (clear_bb_flags): Declare.
1284 (update_life_info_in_dirty_blocks): Declare.
1285 * cfg.c (clear_bb_flags): New function.
1286 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
1287 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
1288 reorder_insns, emit_insn_after): Mark block as dirty.
1289 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
1290 (update_life_info_in_dirty_blocks): New function.
1291 * recog.c (apply_change_group): Dirtify block.
1292
1293 * cse.c (cse_insn): Reorder emitting of jump insn to keep
1294 cfg consistent.
1295 * gcse.c (delete_null_pointer_checks): Likewise.
1296
1297 * toplev.c (dump_file_index): Move cse2 after bp,
1298 add DFI_null
1299 (dump_file_info): Similary.
1300 (rest_of_compilation): Avoid most of CFG rebuilds;
1301 do first if converision after null pointer checks, do cse2
1302 after branch prediction; avoid full liveness rebuild after
1303 initializing subregs.
1304 * invoke.texi (-d options): Document -du, renumber.
1305
1306 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
1307 (notice_new_block): Do not set BB_UPDATE_LIFE.
1308 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
1309 merge_blocks_move_successor_nojumps, merge_blocks,
1310 try_crossjump_to_edge): Likewise.
1311 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
1312 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
1313 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
1314 (merge_of_block): Do not use life_data_ok.
1315 (find_if_case_1): Do not use SET_UPDATE_LIFE.
1316 (if_convert): Use BB_DIRTY mechanizm to update life.
1317 * lcm.c (optimize_mode_switching): Update
1318 update_life_info_in_dirty_blocks
1319
63e1b1c4
NB
13202002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
1321
1322 * Makefile.in (integrate.o): Update.
1323 * c-decl.c (copy_lang_decl): Rename.
1324 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
1325 * integrate.c: Include langhooks.h.
1326 (copy_decl_for_inlining): Update to use langhook.
1327 * langhooks-def.h (lhd_do_nothing_t,
1328 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
1329 (LANG_HOOKS_INITIALIZER): Update.
1330 * langhooks.c (lhd_do_nothing_t): New.
1331 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
1332 * tree.h (copy_lang_decl): Remove.
1333objc:
1334 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
1335
f472fa29
AM
13362002-02-27 Andrew MacLeod <amacleod@redhat.com>
1337
ba31d94e 1338 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
f472fa29
AM
1339 POST_DEC, and POST_MODIFY.
1340
273cf2e4
ZW
13412002-02-27 Zack Weinberg <zack@codesourcery.com>
1342
1343 * c-typeck.c (digest_init): Remove unused parameter; all
1344 callers changed.
1345
4e07d762
GK
13462002-02-27 Geoffrey Keating <geoffk@redhat.com>
1347
1348 * expmed.c (expand_shift): Correctly test for low part of a
1349 subreg.
1350
6bc627b3
UW
13512002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
1352
1353 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
1354 insn UIDs with insn addresses.
1355
f458d1d5
ZW
13562002-02-27 Zack Weinberg <zack@codesourcery.com>
1357
1358 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
1359 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
1360 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
1361 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
1362 gcc.c, toplev.c: Delete code implementing -traditional mode.
1363
1364 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
1365 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
1366 Document removal of -traditional mode for compilation, and
1367 remove documentation only relevant to that mode.
1368
1369 * config/nextstep.h, config/ptx4.h, config/svr4.h,
1370 config/convex/convex.h, config/d30v/d30v.h,
1371 config/i386/dgux.h, config/i386/osf1elf.h,
1372 config/i386/osfelf.h, config/i386/osfrose.h,
1373 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
1374 config/m68k/hp310.h, config/m88k/dgux.h,
1375 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
1376 config/m88k/m88k.h, config/m88k/openbsd.h,
1377 config/mips/abi64.h, config/mips/osfrose.h,
1378 config/mips/svr4-5.h, config/mips/svr4-t.h,
1379 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
1380 config/stormy16/stormy16.h: Remove all references to
1381 -traditional from target specs. Delete all mention of the
1382 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
1383 delete a couple of commented-out definitions of
1384 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
1385 to -traditional.
1386
1387 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
1388 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
1389
e0b3a8ff
ZW
13902002-02-27 Zack Weinberg <zack@codesourcery.com>
1391
1392 * mklibgcc.in: Don't use \n in a line subject to
1393 interpretation by echo.
1394
5c6a85b7
GS
13952002-02-27 Graham Stott <grahams@redhat.com>
1396
72b05af1
GS
1397 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
1398 Constify NAME.
1399
7d104885
GS
1400 * loop.c (prescan_loop): Handle PARALLEL.
1401
8ed805d2
GS
1402 * unroll.c (loop_iterations): Return 0 if the add_val for
1403 a BIV is REG.
1404
fd478a0a
GS
1405 * final.c (output_operand_lossage): Constify PFX_STR.
1406
5c6a85b7
GS
1407 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
1408
cd98ad03
JH
1409Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
1410
1411 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
1412 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
1413
639ae55b
JH
1414Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
1415
1416 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
1417
e808ec9c
NB
14182002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
1419
1420 * cpplex.c (_cpp_lex_token): Handle directives in macro
1421 arguments.
1422 * cpplib.c (_cpp_handle_directive): Save and restore state
1423 if parsing macro args when entering a directive.
1424 * cppmacro.c (collect_args): No need to handle directives
1425 in macro arguments.
1426 (enter_macro_context, replace_args): Use the original macro
1427 definition in case it was redefined whilst collecting arguments.
1428doc:
1429 * cpp.texi: Update.
1430
f585a356
DE
14312002-02-26 David Edelsohn <edelsohn@gnu.org>
1432
1433 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
1434 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
1435 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
1436 method on AIX.
1437 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
1438 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
1439 (load_toc_v4_PIC_2): Same.
1440
14412002-02-26 Alan Modra <amodra@bigpond.net.au>
1442
1443 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
1444
d699058e
RH
14452002-02-26 Richard Henderson <rth@redhat.com>
1446
1447 * config/alpha/alpha.md (ashldi_se): Re-enable.
1448
eadccfbb
RH
14492002-02-26 Richard Henderson <rth@redhat.com>
1450
1451 * config/alpha/alpha.c (alpha_encode_section_info): Examine
1452 MODULE_LOCAL_P; improve commentary.
1453
7080ada1
ZW
14542002-02-26 Zack Weinberg <zack@codesourcery.com>
1455
1456 * doc/cpp.texi: Clarify documentation of relationship between
1457 #line and #include.
1458
b42cff6b
KH
14592002-02-26 Kazu Hirata <kazu@hxi.com>
1460
1461 * config/h8300/h8300-protos.h: Update the prototype for
1462 compute_logical_op_length. Add the prototype for
1463 compute_logical_op_cc.
1464 * config/h8300/h8300.c (compute_logical_op_length): Figure out
1465 code from operands.
1466 (compute_logical_op_cc): New.
1467 * config/h8300/h8300.md: Combine all the logical op patterns
1468 in HImode and SImode. Use compute_logical_op_cc.
1469
831c4e87
KC
14702002-02-26 Kelley Cook <kelleycook@comcast.net>
1471
1472 * config/i386/i386.c (print_operand): Don't append ATT-style
1473 length suffixs to x87 opcodes when in Intel mode.
1474
ff88fe10
RS
14752002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
1476
1477 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
1478 (init_emit_once): Update calls.
1479 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
1480 (init_syntax_once): Prototype.
1481
d4108589
JDA
14822002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
1483
1484 * pa-linux.h (LIB_SPEC): Update definition.
1485 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
1486
e013f3c7
RH
14872002-02-26 Richard Henderson <rth@redhat.com>
1488
1489 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
1490 if we emitted a stop bit.
1491
9e944a16
JJ
14922002-02-26 Jakub Jelinek <jakub@redhat.com>
1493
1494 * configure.in (libgcc_visibility): Substitute.
1495 * configure: Rebuilt.
1496 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
1497 defined symbols .hidden.
1498
47bd70b5
JJ
14992002-02-26 Jakub Jelinek <jakub@redhat.com>
1500
1501 * attribs.c (c_common_attribute_table): Add visibility.
1502 (handle_visibility_attribute): New function.
1503 * varasm.c (assemble_visibility): New function.
1504 * output.h (assemble_visibility): Add prototype.
1505 * tree.h (MODULE_LOCAL_P): Define.
1506 * crtstuff.c (__dso_handle): Use visibility attribute.
1507 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
1508 for MODULE_LOCAL_P symbols too.
1509 * config/ia64/ia64.c (ia64_encode_section_info): Handle
1510 MODULE_LOCAL_P symbols the same way as local symbols.
1511 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
1512 into .sdata/.sbss by the user.
1513 * doc/extend.texi (Function Attributes): Document visibility
1514 attribute.
1515
6d73371a
JJ
15162002-02-26 Jakub Jelinek <jakub@redhat.com>
1517
1518 PR debug/5770
1519 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
1520 STRING_CST initializer spanning the whole variable without
1521 embedded zeros.
1522 If expand_expr returned MEM, don't use it.
1523
06e224f7
AO
15242002-02-26 Alexandre Oliva <aoliva@redhat.com>
1525
1526 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
1527 generate a die for the lexical block.
1528
40367e2d
KH
15292002-02-26 Kazu Hirata <kazu@hxi.com>
1530
1531 * config/h8300/h8300-protos.h: Add a prototype for
1532 compute_logical_op_length.
1533 * config/h8300/h8300.c (compute_logical_op_length): New.
1534 * config/h8300/h8300.md (anonymous logical patterns): Use
1535 compute_logical_op_length for length.
1536
0e98f924
AH
15372002-02-26 Aldy Hernandez <aldyh@redhat.com>
1538
831c4e87
KC
1539 * dwarf2out.c (modified_type_die): Do not call type_main_variant
1540 for vectors.
1541 (gen_type_die): Same.
0e98f924 1542
831c4e87 1543 * attribs.c (handle_vector_size_attribute): Set debug information.
0e98f924 1544
a50cfd52
DE
15452002-02-26 Daniel Egger <degger@fhm.edu>
1546
831c4e87
KC
1547 * config/rs6000/rs6000.md: Swap define_insn attributes to
1548 fix incorrect generation of merge high instructions instead
1549 of merge low.
a50cfd52 1550
b7997284
AH
15512002-02-26 Aldy Hernandez <aldyh@redhat.com>
1552
831c4e87
KC
1553 * c-typeck.c (really_start_incremental_init): Use
1554 bitsize_zero_node for vectors.
b7997284 1555
376aec5d
AH
15562002-02-26 Aldy Hernandez <aldyh@redhat.com>
1557
831c4e87
KC
1558 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
1559 ("*set_vrsave_internal"): Same.
376aec5d 1560
3b40e71b
RH
15612002-02-25 Richard Henderson <rth@redhat.com>
1562
1563 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
1564 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
1565
232b8f52
JJ
15662002-02-25 Jakub Jelinek <jakub@redhat.com>
1567
1568 PR target/5755
1569 * config/i386/i386.c (ix86_return_pops_args): Only pop
1570 fake structure return argument if it was passed on the stack.
1571
67282790
JM
15722002-02-25 Jason Merrill <jason@redhat.com>
1573
1574 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
1575 RESULT_DECL.
1576
5c181756
AO
15772002-02-25 Alexandre Oliva <aoliva@redhat.com>
1578
1579 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
1580 link with shared_name only.
1581 * doc/invoke.texi (Link Options): Document new behavior.
1582
6786d201
AH
15832002-02-25 Aldy Hernandez <aldyh@redhat.com>
1584
831c4e87 1585 * c-typeck.c (push_init_level): Handle vectors.
6786d201 1586
7d6040e8
AO
15872002-02-25 Alexandre Oliva <aoliva@redhat.com>
1588
1589 * config/sparc/sparc.c (const64_high_operand): Zero-extend
1590 operands of SPARC_SETHI_P.
1591 (input_operand): Likewise.
1592 (sparc_emit_set_const32): Likewise.
1593 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
1594 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
1595 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
1596 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
1597 (movdi_insn_sp64_vis): Likewise.
1598 (movdi split, movdf split): Use SETHI32.
1599 * doc/md.texi: Document SPARC constraints L, M and N.
1600
b188f760
AH
16012002-02-25 Aldy Hernandez <aldyh@redhat.com>
1602
831c4e87
KC
1603 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
1604 ("*set_vrsave_internal"): use mfspr for Darwin.
b188f760 1605
831c4e87
KC
1606 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
1607 gen_get_vrsave_internal.
b188f760 1608
8041889f
RK
1609Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1610
1611 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
1612
a47ed310
NB
16132002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
1614
1615 * cpplex.c (cpp_interpret_charconst): Get signedness or
1616 otherwise of wide character constants correct.
1617 * cppexp.c (lex): Get signedness of wide charconsts correct.
1618
cb8f73be
RK
1619Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1620
1621 * optabs.c (widen_operand): Only call convert_modes for
1622 promoted SUBREG if signedness matches.
1623 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
1624
2450e0b8
NB
16252002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
1626
1627 * cpplib.c (glue_header_name): Use local buffer to build up
1628 header name.
1629
70b6aaed
NB
16302002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
1631
1632 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
1633
6be580c7
KH
16342002-02-23 Kazu Hirata <kazu@hxi.com>
1635
1636 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
1637 H8/300[HS] separately.
1638 * config/h8300/h8300.md: Remove the early clobber constraint
1639 from bit field patterns.
1640
35dad9f1
KH
16412002-02-23 Kazu Hirata <kazu@hxi.com>
1642
1643 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
1644 register_operand.
1645 (mulhisi3): Likewise.
1646 (umulqisi3): Likewise.
1647 (umulhisi3): Likewise.
1648
ab8e2228
NB
16492002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
1650
1651 * cppinit.c (output_deps): Correct test for stdout output.
1652 (init_dependency_output): Cure warning.
1653
ac6f8a15
RK
1654Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1655
1656 * expr.c (store_expr): When converting expression to promoted
1657 equivalent type, allow using SUBREG_REG of TARGET as the target
1658 of the expansion of EXP.
1659 * loop.c (basic_induction_var, case SUBREG): Always look inside.
1660 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
1661 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
1662 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
1663 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
1664
f282ffb3
JM
16652002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
1666
1667 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
1668 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
1669 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
1670
44c5edc0
JJ
16712002-02-23 Jakub Jelinek <jakub@redhat.com>
1672
1673 PR optimization/5747
1674 * loop.c (scan_loop): Update reg info if move_movables created new
1675 pseudos.
1676
f98e43c0
DE
16772002-02-23 David Edelsohn <edelsohn@gnu.org>
1678
1679 * gcc.c (init_gcc_spec): Revert last change.
1680
e72247f4
DE
16812002-02-23 David Edelsohn <edelsohn@gnu.org>
1682
1683 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
1684 gpc_reg_operand constraint.
1685
16862002-02-23 Alan Modra <amodra@bigpond.net.au>
1687
1688 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
1689 Simplify comparison of `low'.
1690 (add_operand): Fix formatting.
1691 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
57deb3a1 1692 (mask_operand): Disallow mask to wrap in 64-bit mode.
e72247f4
DE
1693 (rs6000_stack_info): Remove redundant test setting push_p.
1694 (output_toc): Fix formatting.
1695 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
1696 cc_reg_not_cr0_operand constraint.
1697 (booldi3, boolcdi3 splitters): Same.
1698
a5c30531
AH
16992002-02-23 Aldy Hernandez <aldyh@redhat.com>
1700
831c4e87 1701 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
a5c30531 1702
43710f9f
DE
17032002-02-22 David Edelsohn <edelsohn@gnu.org>
1704
1705 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
1706 gcc invoked with -shared-libgcc.
1707
3256b817
JJ
17082002-02-22 Jakub Jelinek <jakub@redhat.com>
1709
1710 PR c++/5748
1711 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
1712 decl if any of elements was TREE_USED.
1713
9e0625a3
AO
17142002-02-22 Alexandre Oliva <aoliva@redhat.com>
1715
1716 * config/sparc/sol2.h: Don't include sys/mman.h.
1717 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
1718 (arith_4096_operand): Don't throw high bits away.
1719 (const64_operand): Take sign extension of CONST_INTs into account.
1720 (const64_high_operand, sparc_emit_set_const32): Likewise.
1721 (GEN_HIGHINT64): Likewise.
1722 (sparc_emit_set_const64_quick1): Likewise.
1723 (const64_is_2insns): Likewise.
1724 (print_operand): Use trunc_int_for_mode for sign extension.
1725 * config/sparc/sparc.h (SMALL_INT32): Likewise.
1726 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
1727 chars. Assume CONST_INT is already properly sign-extended.
1728 (movdi split): Sign-extend each SImode part.
1729 (andsi3 split): Don't mask high bits off, so that result
1730 remains properly sign-extend.
1731 (iorsi3 split): Likewise.
1732 (xorsi3 split): Likewise.
1733
54fec3d5
RS
17342002-02-22 Richard Sandiford <rsandifo@redhat.com>
1735
1736 * fold-const.c (fold): Fix typo in comments.
1737
667ada9b
DN
17382002-02-21 Diego Novillo <dnovillo@redhat.com>
1739
1740 * Makefile.in (langhooks.o): Update dependencies.
1741
29ac78d5
DN
17422002-02-21 Diego Novillo <dnovillo@redhat.com>
1743
1744 * langhooks.c: Include flags.h.
1745
6aa77e6c
AH
17462002-02-21 Aldy Hernandez <aldyh@redhat.com>
1747
1748 * testsuite/gcc.dg/attr-alwaysinline.c: New.
1749
1750 * c-common.c (c_common_post_options): Set inline trees by
1751 default.
1752
1753 * doc/extend.texi (Function Attributes): Document always_inline
1754 attribute.
1755 Update documentation about inlining when not optimizing.
1756
1757 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
1758
1759 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
1760 unless DECL_ALWAYS_INLINE.
1761
1762 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
1763 unless DECL_ALWAYS_INLINE.
1764 (c_disregard_inline_limits): Disregard if always_inline set.
1765
1766 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
1767 Disregard if always_inline set.
1768 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
1769 unless DECL_ALWAYS_INLINE.
1770
1771 * attribs.c (handle_always_inline_attribute): New.
1772 (c_common_attribute_table): Add always_inline.
1773
1774 * config/rs6000/altivec.h: Add prototypes for builtins
1775 requiring the always_inline attribute.
1776
c410d49e
EC
17772002-02-21 Eric Christopher <echristo@redhat.com>
1778
1779 * expmed.c (store_bit_field): Try to simplify the subreg
1780 before generating a new one when when the mode size of
1781 value is less than maxmode.
1782
e3c8ea67
RH
17832002-02-21 Richard Henderson <rth@redhat.com>
1784
1785 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
1786 than gen_rtx_PLUS to form the sum.
1787 * explow.c (force_reg): Rearrange to not allocate new pseudo
1788 when force_operand returns a register.
1789 * expr.c (expand_assignment): Allow offset_rtx expansion to
1790 return a sum. Do not force addresses into registers.
1791 (expand_expr): Likewise.
1792 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
1793 to canonicalize arithmetic that didn't simpify.
1794 (simplify_plus_minus): New argument force; update
1795 all callers. Don't split CONST unless we can do something with it,
1796 and wouldn't lose the constness of the operands.
1797
1798 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
1799 that we generated earlier.
1800
c1a046e5
TT
18012002-02-21 Tom Tromey <tromey@redhat.com>
1802
1803 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
1804 (output_line_info): Use constant `1', with a long explanatory
1805 comment.
1806 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
1807
31fbaad4
R
1808Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
1809
1810 * jump.c (redirect_jump): If old label has no UID, don't try to
1811 delete it.
1812
a7f52356
R
1813Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
1814
1815 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
1816 If input is constant, do shifts at compile time.
1817
924fcc4e
JM
18182002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
1819
1820 * doc/extend.texi: Fix some more overfull hboxes.
1821
e5a20888
JJ
18222002-02-21 Jakub Jelinek <jakub@redhat.com>
1823
1824 PR optimization/4994
1825 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
1826 register moves.
1827
18282002-02-21 Jakub Jelinek <jakub@redhat.com>
22273300
JJ
1829
1830 PR c++/4574
1831 * expr.h (expand_and): Add mode argument.
1832 * expmed.c (expand_and): Add mode argument.
1833 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
1834 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
1835 * except.c (expand_builtin_extract_return_addr): Likewise.
1836 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
1837 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
1838 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
1839 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
1840 * config/c4x/c4x.md: Use GEN_INT (x) instead of
1841 gen_rtx (CONST_INT, VOIDmode, x).
1842
7133e992
JJ
18432002-02-21 Jakub Jelinek <jakub@redhat.com>
1844
1845 PR c/4697:
1846 * stmt.c (warn_if_unused_value): Move side effects test once more.
1847
e2ec05a6
TG
18482002-02-20 Torbjorn Granlund <tege@swox.com>
1849
1850 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
831c4e87 1851 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
e2ec05a6 1852
9dd791c8
AO
1853Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
1854
1855 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
1856 SUBREG or ZERO_EXTEND.
1857
7ab56274
R
1858Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
1859
1860 * sh.h (current_function_anonymous_args): Remove.
1861 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
1862 of current_function_varargs and current_function_stdarg is set.
1863 * sh.c (sh_expand_prologue): Check current_function_varargs /
1864 current_function_stdarg / TARGET_SH5 instead of
1865 current_function_anonymous_args.
1866
1867 * sh64.h (TARGET_VERSION): Define.
1868
b1765bde
DE
18692002-02-20 David Edelsohn <edelsohn@gnu.org>
1870
1871 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
1872 VRSAVE_REGNO on TARGET_ALTIVEC.
1873
18742002-02-20 Alan Modra <amodra@bigpond.net.au>
1875
1876 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
1877 bits of SImode const_int.
1878 (includes_rshift_p): Likewise.
1879 (print_operand): Call mask_operand and mask64_operand with correct
c410d49e 1880 mode.
b1765bde
DE
1881 (rs6000_output_function_epilogue): Pad traceback table to word.
1882 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
1883 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
1884 mask64_operand with correct mode.
b1765bde
DE
1885 (FUNCTION_ARG_REGNO_P): Correct parentheses.
1886
149d6f9e
JJ
18872002-02-20 Jakub Jelinek <jakub@redhat.com>
1888
1889 PR debug/4461
1890 * varasm.c (get_pool_constant_mark): New.
1891 * rtl.h (get_pool_constant_mark): Add prototype.
1892 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
1893 be represented if it has not been output.
1894
4161da12
AO
18952002-02-20 Alexandre Oliva <aoliva@redhat.com>
1896
1897 * combine.c (do_SUBST): Sanity check substitutions of
1898 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
1899 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
1900 CONST_INT into its operand.
1901 (known_cond): Likewise, for ZERO_EXTEND.
1902 * simplify-rtx.c (simplify_unary_operation): Fix condition to
1903 allow for simplification of wide modes. Reject CONST_INTs in
1904 ZERO_EXTEND when their actual mode is not given.
1905
3704ef74
AO
19062002-02-20 Alexandre Oliva <aoliva@redhat.com>
1907
1908 * c-decl.c (pushdecl): If no global declaration is found for an
1909 extern declaration in block scope, try a limbo one.
1910
7552da58
JJ
19112002-02-20 Jakub Jelinek <jakub@redhat.com>
1912
1913 PR c++/4401
1914 * c-common.c (pointer_int_sum): Moved from...
1915 * c-typeck.c (pointer_int_sum): ...here.
1916 * c-common.h (pointer_int_sum): Add prototype.
1917
00fae85d
JJ
19182002-02-20 Jakub Jelinek <jakub@redhat.com>
1919
1920 PR c++/5713
1921 * c-decl.c (duplicate_decls): Return 0 if issued error about
1922 redeclaration.
1923
4636c87e
JJ
19242002-02-20 Roger Sayle <roger@eyesopen.com>
1925 Jakub Jelinek <jakub@redhat.com>
1926
1927 PR c/4389
1928 * tree.c (host_integerp): Ensure that the constant integer is
1929 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
1930 when pos is zero or non-zero respectively. Clarify comment.
1931 * c-format.c (check_format_info_recurse): Fix host_integerp
1932 usage; the pos argument should be zero when assigning to a
1933 signed HOST_WIDE_INT.
1934
59bef189
RH
19352002-02-20 Richard Henderson <rth@redhat.com>
1936
1937 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
1938 of the operand, rather than assuming TImode.
1939 (ix86_expand_binop_builtin): Cope with commutative patterns
1940 using nonimmediate_operand for both operands.
1941 (ix86_expand_timode_binop_builtin): Likewise.
1942 (ix86_expand_store_builtin): Validate operand 1.
1943 (ix86_expand_unop1_builtin): Likewise.
1944
9338ffe6 19452002-02-20 Philip Blundell <philb@gnu.org>
c410d49e 1946
9338ffe6
PB
1947 PR 5705
1948 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
1949
f322b423
RH
19502002-02-20 Richard Henderson <rth@redhat.com>
1951
1952 PR c/5615
1953 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
1954
d94084f7
TT
19552002-02-20 Tom Tromey <tromey@redhat.com>
1956
1957 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
1958 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
1959 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
1960 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
1961 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
1962 unconditionally.
1963
37fa124a
AM
1964Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
1965
1966 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
1967 for (const_int 0) in X not just INTVAL.
1968
6e5bb5ad
JM
19692002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
1970
1971 * doc/extend.texi: Avoid or reduce overfull hboxes.
1972
420e7dfa
DN
19732002-02-20 Diego Novillo <dnovillo@redhat.com>
1974
1975 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
1976 operations if the field does not start at a mode boundary.
1977
1b7a2af6
JS
19782001-02-20 Joel Sherrill <joel@OARcorp.com>
1979
1980 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
1981 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
1982 Also done for -Acpu and -Amachine.
1983
56cd5b95
NB
19842002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
1985
1986 * cppinit.c (init_dependency_output): Take deps output file
1987 from -o if none given with -MF. Suppress normal output.
c410d49e 1988 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
56cd5b95
NB
1989 * doc/cpp.texi, doc/invoke.texi: Update.
1990
042cdf71
ZW
19912002-02-19 Zack Weinberg <zack@codesourcery.com>
1992
1993 * toplev.c (output_quoted_string): Write unprintable
1994 characters with octal escapes.
1995
c1f11548
DE
19962002-02-19 David Edelsohn <edelsohn@gnu.org>
1997
1998 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
1999 really_call_used[VRSAVE_REGNO] if not Altivec.
2000
20012002-02-19 Alan Modra <amodra@bigpond.net.au>
c410d49e 2002
c1f11548
DE
2003 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
2004 MODE_MASK.
2005 (constant_pool_expr_1): Fix formatting.
2006 (rs6000_legitimize_reload_address): Likewise.
2007
c964d90e
RK
2008Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2009
2010 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
2011 now that we have one.
2012
ae34ac46
ZW
20132002-02-19 Zack Weinberg <zack@codesourcery.com>
2014
2015 * tree.h (struct tree_common): Remove aux. Add unused_0 at
2016 end of first block of bitfields (which was only seven bits);
2017 rename dummy to unused_1; remove comment which is no longer true.
2018
293c28ee
GS
20192002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
2020
2021 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
2022
7b8781c8
PB
20232002-02-19 Philip Blundell <pb@nexus.co.uk>
2024
0cb6c58d 2025 PR 5399
7b8781c8
PB
2026 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
2027 if generating PIC.
2028
2029 PR 5054
2030 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
2031 arm_is_longcall_p rather than inspecting call-type cookie
2032 directly.
2033 (call_value_insn) [TARGET_THUMB]: Likewise.
2034
5c464583
GS
20352002-02-19 Graham Stott <grahams@redhat.com>
2036
2037 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
2038
71c061e6
DE
20392002-02-19 David Edelsohn <edelsohn@gnu.org>
2040
2041 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
2042 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
6d1def5c 2043 (FP_SAVE_INLINE): Delete.
71c061e6
DE
2044
2045 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
2046 * config/rs6000/eabi.asm: Remove ABI save restore routines.
2047 * config/rs6000/t-ppccomm: Build crtsavres.o.
2048 * config/rs6000/crtsavres.asm: New file.
2049
3a7731fd
PB
20502002-02-19 Philip Blundell <philb@gnu.org>
2051
2052 * config/arm/arm.c (use_return_insn): Don't reject interrupt
2053 functions.
2054 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
2055 (output_return_instruction): Allow interrupt functions to return with
2056 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
2057 (arm_expand_prologue): Subtract 4 before stacking LR in an
2058 interrupt function.
2059
14f583b8
PB
20602002-02-19 Philip Blundell <pb@nexus.co.uk>
2061
2062 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
2063 decl, not just FUNCTION_DECL.
2064 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
2065 (arm_assemble_integer): Likewise.
2066 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
2067 marked local.
c410d49e 2068
4cb7482c
MG
20692002-02-19 matthew green <mrg@eterna.com.au>
2070
2071 * config.gcc (sparc-*-netbsdelf*): Enable target.
2072 (sparc64-*-netbsd*): New target.
2073 * config/sparc/netbsd-elf.h: New file.
2074 * config/sparc/t-netbsd64: New file.
2075
2df3a718
GS
20762002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
2077
2078 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
2079
77f6c1eb
RS
20802002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
2081
2082 * doc/invoke.texi: explicitly list the style guidelines that
2083 -Weffc++ checks for.
2084
fd973d56
JH
2085Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
2086
2087 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
2088
30518e45
NB
20892002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
2090
2091 PR other/5718
2092 * gcc.c (cpp_unique_options): Treat -o as indicating object file
2093 only if not -E. If -E, pass -o through to the preprocessor.
2094
39ea5704
KH
20952002-02-19 Kazu Hirata <kazu@hxi.com>
2096
2097 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
2098 register number with an appropriate macro.
2099
7355dba7
BM
21002002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2101
2102 * doc/rtl.texi (Constants): Close @code tag.
2103
91c8aa9e
AH
21042002-02-19 Aldy Hernandez <aldyh@redhat.com>
2105
2106 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
2107 ("mmx_uavgv4hi3"): Same.
2108 ("pmulhrwv4hi3"): Same.
2109
2110 * tree-inline.c (walk_tree): Handle vectors.
2111
2112 * c-common.c (constant_expression_warning): Handle vectors.
2113 (overflow_warning): Same.
2114
2115 * sched-deps.c (sched_analyze_2): Handle vectors.
2116
2117 * rtlanal.c (rtx_unstable_p): Handle vectors.
2118 (rtx_varies_p): Same.
2119 (count_occurrences): Same.
2120 (regs_set_between_p): Same.
2121 (modified_between_p): Same.
2122 (modified_in_p): Same.
2123 (volatile_insn_p): Same.
2124 (volatile_refs_p): Same.
2125 (side_effects_p): Same.
2126 (may_trap_p): Same.
2127 (inequality_comparisons_p): Same.
2128 (replace_regs): Same.
2129 (computed_jump_p_1): Same.
2130
2131 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
2132 argument.
2133 (inner_mode_array): New.
2134 (copy_rtx): Handle vectors.
2135 (copy_most_rtx): Same.
2136 (rtx_equal_p): Same.
2137 (get_mode_alignment): Adjust for vectors.
2138
2139 * resource.c (mark_referenced_resources): Handle vectors.
2140 (mark_set_resources): Same.
2141
2142 * reload1.c (eliminate_regs): Handle vectors.
2143 (elimination_effects): Same.
2144 (scan_paradoxical_subregs): Same.
2145
2146 * reload.c (subst_reg_equivs): Handle vectors.
2147
2148 * regrename.c (scan_rtx): Handle vectors.
2149
2150 * regclass.c (reg_scan_mark_refs): Handle vectors.
2151
2152 * recog.c (find_single_use_1): Handle vectors.
2153
2154 * local-alloc.c (equiv_init_varies_p): Handle vectors.
2155 (contains_replace_regs): Same.
2156 (memref_referenced_p): Same.
2157
2158 * integrate.c (copy_rtx_and_substitute): Handle vectors.
2159 (subst_constants): Same.
2160
2161 * genattrtab.c (attr_copy_rtx): Handle vectors.
2162 (encode_units_mask): Same.
2163 (clear_struct_flag): Same.
2164 (count_sub_rtxs): Same.
2165
2166 * gcse.c (want_to_gcse_p): Handle vectors.
2167 (oprs_unchanged_p): Same.
2168 (hash_expr_1): Same.
2169 (oprs_not_set_p): Same.
2170 (expr_killed_p): Same.
2171 (compute_transp): Same.
2172 (store_ops_ok): Same.
2173
2174 * function.c (purge_addressof_1): Do not allow paradoxical subregs
2175 of vectors.
2176 (fixup_var_refs_1): Same.
2177 (instantiate_virtual_regs_1): Same.
2178
2179 * fold-const.c (operand_equal_p): Handle vectors.
2180 (fold): Same.
2181 (rtl_expr_nonnegative_p): Same.
2182
2183 * flow.c (mark_used_regs): Handle vectors.
2184
2185 * df.c (df_uses_record): Handle vectors.
2186
2187 * cselib.c (cselib_subst_to_values): Handle vectors.
2188 (cselib_mem_conflict_p): Same.
2189 (hash_rtx): Same.
2190
2191 * cse.c (canon_reg): Handle vectors.
2192 (fold_rt): Same.
2193 (cse_process_notes): Same.
2194 (count_reg_usage): Same.
2195 (canon_hash): Same.
2196
2197 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
2198
2199 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
2200
2201 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
2202 (gen_rtx): Handle CONST_VECTOR.
2203 (gen_const_vector_0): New.
2204 (copy_rtx_if_shared): CONST_VECTORs can be shared.
2205 (reset_used_flags): Same.
2206 (copy_insn_1): Same.
2207 (initializer_constant_valid_p): Handle VECTOR_CST.
2208
2209 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
2210
2211 * doc/rtl.texi (Constants): Document const_vector.
2212 (CONST0_RTX): Update for vectors.
2213 (RTL sharing): Same.
2214
2215 * print-tree.c (print_node): Add case for VECTOR_CST.
2216
2217 * tree.h (TREE_VECTOR_CST_ELTS): New.
2218 (struct tree_vector): New.
2219 (union tree_node): Add vector node.
2220 (build_vector): Add prototype.
2221
2222 * tree.def (VECTOR_CST): New.
2223
2224 * tree.c (build_vector): New.
2225
2226 * expmed.c (make_tree): Handle CONST_VECTOR.
2227
2228 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
2229 (CONST_VECTOR_ELT): New.
2230 (CONST_VECTOR_NUNITS): New.
2231
2232 * machmode.h (GET_MODE_INNER): New.
2233 (DEF_MACHMODE): Accept 8th arg.
2234
2235 * machmode.def: Add 8th argument for vector inner mode.
2236 Add inner vector modes for vectors.
2237
2238 * rtl.def (VEC_CONST): Remove.
2239 (CONST_VECTOR): New.
2240
2241 * expr.c (clear_storage): Allow vectors.
2242 (is_zeros_p): Handle VECTOR_CST.
2243
2244 * varasm.c (output_constant_pool): Handle vectors.
2245 (rtx_const): Add veclo and vechi fields.
2246 (kind): Add RTX_VECTOR.
2247 (decode_rtx_const): Add case for vector.
2248
2249 * config/rs6000/rs6000-protos.h: Add zero_constant.
c410d49e 2250
91c8aa9e
AH
2251 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
2252 constants. Force easy vector constants into memory.
2253 (easy_vector_constant): New.
2254 (emit_easy_vector_constant): New.
2255 (rs6000_legitimize_reload_address): Do not generate bad reloads on
2256 darwin.
2257
2258 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
2259 instruction does.
2260 ("altivec_lvxl"): Same.
2261 (altivec_lvebx): Same.
2262 (altivec_lvehx): Same.
2263 (altivec_lvewx): Same.
2264 ("*movv4si_const0"): New.
2265 ("*movv4sf_const0"): New.
2266 ("*movv8hi_const0"): New.
2267 ("*movv16qi_const0"): New.
2268
d4d6d0ce
KH
22692002-02-18 Kazu Hirata <kazu@hxi.com>
2270
2271 * config/h8300/h8300.c (notice_update_cc): Use
2272 cc_status.value2.
2273
4915d3aa
KH
22742002-02-18 Kazu Hirata <kazu@hxi.com>
2275
2276 * config/h8300/h8300.md (divmod patterns): Change the
2277 constraints for operands[1] to register_operand.
2278
82be00ee
KH
22792002-02-18 Kazu Hirata <kazu@hxi.com>
2280
2281 * config/h8300/h8300-protos.h: Remove the prototype for
2282 p_operand.
2283 * config/h8300/h8300.c (p_operand): Remove.
2284 * config/h8300/h8300.md: Replace p_operand with
2285 const_int_operand.
2286
1768c26f
PB
22872002-02-18 Philip Blundell <pb@nexus.co.uk>
2288
2289 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
2290 comment.
2291 (output_return_instruction): Allow use of LDR to unstack
2292 return addresss even for interrupt handlers or when
2293 interworking. If compiling for ARMv5, use interworking-safe
2294 return instructions by default. Remove duplicated code and
2295 lengthy "strcat" sequences.
2296
ccd84f51
FS
22972002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2298
2299 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
2300 (LINK_EH_SPEC): Define.
2301 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
2302
2c153108
UW
23032002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
2304
2305 * config/s390/s390.c (s390_emit_prologue): Do not set the
2306 frame_related flag for call-clobbered registers.
2307
e95d6b23
JH
2308Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
2309
2310 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
2311 (construct_container): Fix handling of SSE operands.
2312 (ix86_expand_builtin): Fix handling of 64bit pointers.
2313 (mmx_maskmovq_rex): New pattern.
2314
c43a12b5
JH
2315Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
2316
2317 * regrename.c (kill_set_value): Handle subregs properly.
2318
aeb85a15
DB
23192002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
2320
2321 * objc/objc-act.c (handle_impent): Remove leading '*'
c410d49e 2322 from objc_class_name.
aeb85a15 2323
a615ca3e
RH
23242002-02-17 Richard Henderson <rth@redhat.com>
2325
2326 * config/alpha/alpha.c (some_small_symbolic_operand,
2327 some_small_symbolic_operand_1, split_small_symbolic_operand,
2328 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
2329 Handle small SYMBOL_REFs anywhere, not just inside memories.
2330 * config/alpha/alpha-protos.h: Update.
2331 * config/alpha/alpha.h (PREDICATE_CODES): Update.
2332 * config/alpha/alpha.md (small symbolic operand splitter): Update.
2333
ddb28441
RM
23342002-02-17 Roland McGrath <roland@frob.com>
2335
2336 * config.gcc (powerpc-*-gnu-gnualtivec*,
2337 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
2338 * config/rs6000/gnu.h: New file.
2339 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
2340 Grok "gnu" in rs6000_abi_name.
2341 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
2342 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
2343 Grok -mcall-gnu analogous to -mcall-linux et al.
2344 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
2345 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
2346 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
2347
f6f8ada3
JJ
23482002-02-17 Jakub Jelinek <jakub@redhat.com>
2349
2350 PR c/3444:
2351 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
2352 shortening.
2353
e16b32fc
PT
23542002-02-17 Philipp Thomas <pthomas@suse.de>
2355
2356 * config/cris/cris.h: Undefine STARTFILE_SPEC and
2357 ENDFILE_SPEC before (re)defining them.
2358
f9477efd
KH
23592002-02-17 Kazu Hirata <kazu@hxi.com>
2360
2361 * config/h8300/h8300.c: Fix formatting.
2362 * config/h8300/h8300.h: Likewise.
2363
404ae494
PT
23642002-02-17 Philipp Thomas <pthomas@suse.de>
2365
2366 * doc/tm.texi: Explain why empty strings should not be
2367 marked for translation.
2368
a52453cc
PT
23692002-02-17 Philipp Thomas <pthomas@suse.de>
2370
2371 * final.c (output_operand_lossage): Changed to accept
2372 printf style arguments. Change calls where necessary.
2373 * output.h (output_operand_lossage): Change declaration
2374 accordingly. Update copyright.
2375 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
2376 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
2377 Update copyright date where necessary.
c410d49e 2378
a52453cc
PT
2379 * config/i386/i386.c (print_operand): Likewise. Remove use of
2380 sprintf.
2381
2382 * config/cris/cris.c (cris_operand_lossage): Likewise.
2383 Rename parameter so that exgettext recognizes it as
2384 translatable message.
2385 (LOSE_AND_RETURN): Rename parameter to msgid.
2386
1c11abc4
KH
23872002-02-17 Kazu Hirata <kazu@hxi.com>
2388
2389 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
2390 hard coded register number with an appropriate macro.
2391 (HARD_REGNO_MODE_OK): Likewise.
2392 (ARG_POINTER_REGNUM): Likewise.
2393 (STATIC_CHAIN_REGNUM): Likewise.
2394 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
2395 * config/h8300/h8300.md (define_constants): Define more
2396 register numbers.
2397
a5d17ff3
PT
23982002-02-17 Philipp Thomas <pthomas@suse.de>
2399
2400 * config/i386/i386.h: Don't mark empty strings for translation.
2401
1a7289c4
L
24022002-02-16 H.J. Lu <hjl@gnu.org>
2403
2404 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
2405
afb58288
ZW
24062002-02-16 Zack Weinberg <zack@codesourcery.com>
2407
2408 * cppinit.c (merge_include_chains): Check for brack being
2409 NULL before attempting to merge it with qtail.
2410
d2af4dbd
AC
24112002-02-16 Andrew Cagney <ac131313@redhat.com>
2412
2413 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
2414 DBX_DEBUG.
2415
2e1ed1e3
JDA
24162002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2417
2418 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
2419
604c75b2
JDA
24202002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2421
2422 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
2423 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
2424 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
2425
1a42b072
RK
2426Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2427
7303604f 2428 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
1a42b072
RK
2429 now only if !TARGET_FIX.
2430 (*movsi_nt_vms_fix): New pattern.
2431
c2ea1ac6
DR
24322002-02-16 Douglas B Rupp <rupp@gnat.com>
2433
2434 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
2435 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
2436 (alpha_sa_mask, alpha_sa_size): Reflect above change.
2437 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
2438 (alpha_start_function, alpha_expand_epilogue): Likewise.
2439 (unicosmk_gen_dsib): Likewise.
2440
725e58b1
RK
2441Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2442
2443 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
2444
13e58269
UW
24452002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
2446
c410d49e 2447 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
13e58269
UW
2448 check_and_change_labels, s390_final_chunkify): Delete.
2449 (s390_split_branches, s390_chunkify_pool): New functions.
2450 (s390_function_prologue): Call them.
c410d49e 2451
13e58269
UW
2452 * config/s390/s390.h (S390_REL_MAX): Delete.
2453 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
2454
c410d49e 2455 * config/s390/s390.md (cjump, icjump, jump): Fix length
13e58269
UW
2456 attribute calculation.
2457
2458
34d1b01d
DE
24592002-02-15 David Edelsohn <edelsohn@gnu.org>
2460
2461 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
2462 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
2463
be5cc51a
JDA
24642002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
2465
2466 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
2467 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
2468 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
2469
ee96ce90
RS
24702002-02-15 Richard Sandiford <rsandifo@redhat.com>
2471
2472 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
2473
05fa709d
RS
24742002-02-15 Richard Sandiford <rsandifo@redhat.com>
2475
2476 * reload.c (find_dummy_reload): Check that an output register
2477 is valid for its mode.
2478
4606272b
AO
24792002-02-14 Alexandre Oliva <aoliva@redhat.com>
2480
9a360704
AO
2481 * combine.c (known_cond): After replacing the REG of a SUBREG, try
2482 to simplify it.
2483
4606272b
AO
2484 * function.c (assign_parms): Demote promoted argument passed by
2485 transparent reference.
2486
e62d89a1
JS
24872001-02-14 Joel Sherrill <joel@OARcorp.com>
2488
2489 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
2490 -Acpu() and -Amachine() to eliminate warnings.
2491
6c4cf695
UW
24922002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
2493
2494 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
2495
037f11ef
KH
24962002-02-14 Kazu Hirata <kazu@hxi.com>
2497
2498 * config/h8300/h8300-protos.h: Update the prototype for
2499 const_costs.
2500 * config/h8300/h8300.c (const_costs): Treat SET as a little
2501 more expensive operation.
2502 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
2503 reference to const_costs.
2504
fdc76b09
HPN
25052002-02-14 Hans-Peter Nilsson <hp@axis.com>
2506
2507 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
2508
d76e6800
JJ
25092002-02-14 Jakub Jelinek <jakub@redhat.com>
2510
2511 PR c/5503:
2512 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
2513 use arguments from newtype.
2514
5ae590d7
EC
25152002-02-13 Eric Christopher <echristo@redhat.com>
2516
2517 * config/mips/mips.c (override_options): Add check for march/mipsX
2518 on the same command line. Fix error message in cpu processing.
2519 Remove architecture and ISA checks.
2520
b8513691
AH
25212002-02-14 Aldy Hernandez <aldyh@redhat.com>
2522
831c4e87 2523 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
b8513691 2524
831c4e87 2525 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
b8513691 2526
78c875e8
AH
25272002-02-14 Aldy Hernandez <aldyh@redhat.com>
2528
831c4e87
KC
2529 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
2530 alternatives.
2531 ("*movv8hi_internal1"): Same.
2532 ("*movv16qi_internal1"): Same.
2533 ("*movv4sf_internal1"): Same.
78c875e8 2534
831c4e87
KC
2535 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
2536 not push_reload for altivec modes.
78c875e8 2537
d76e6800 25382002-02-13 Joel Sherrill <joel@OARcorp.com>
f22b4bc4
JS
2539
2540 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
2541 all RTEMS targets including removal of #includes from config/*/rtems*.h
2542 file and adding them to tm_file setting. Added xm_defines=POSIX to
2543 many targets.
2544 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
2545 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
2546 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
2547 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
2548 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
2549 config/m68k/rtemself.h: Ditto.
2550 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
2551 config/mips/rtems64.h: Ditto.
2552 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
2553 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
2554 Ditto.
2555 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
2556 config/sparc/rtemself.h: Ditto.
2557 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
2558 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
2559 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
2560 more like arm-elf.
2561 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
2562 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
2563 target made more similar to i386-elf.
2564 * config/i386/t-rtems-i386: Added soft float support and multilibs.
2565 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
2566 be similar to config/m68k/t-m68kelf.
2567 * gthr-rtems.h: Encapsulate with extern "C" for C++.
2568
8686336f
JH
2569Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
2570
2571 * regmove.c (kill_value): Handle subregs.
2572
558740bf
JH
2573Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
2574
2575 * i386.md (mul patterns): Allow memory operand to be first;
2576 add expanders where needed; fix constraints.
2577 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
2578 Allow memory operand to be the first.
2579
2580 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
2581 operands.
2582
21117a17
JJ
25832002-02-13 Jakub Jelinek <jakub@redhat.com>
2584
2585 PR c/5681:
2586 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
2587 GET_MODE (x).
2588
ec65b2e3
JJ
25892002-02-13 Jakub Jelinek <jakub@redhat.com>
2590
2591 PR optimization/5547:
2592 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
2593 all valid IA-32 address modes involving non-scaled %ebx and
2594 GOT/GOTOFF as displacement.
2595
ce50cae8
UW
25962002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
2597
2598 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
2599 after emitting ltorg insns.
2600
2601 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
2602 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
2603 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
2604 *abssf2): Fix "op_type" attribute.
2605
09eb789b
DR
26062002-02-13 Douglas B Rupp <rupp@gnat.com>
2607
2dbe67bb
DR
2608 * mkconfig.sh: Avoid using a subshell redirect.
2609 ($output.T): Change to $(output)T.
2610 (ENABLE_NLS): Remove unneeded undef.
2611
ea5b9a1f
DR
2612 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
2613 * config/alpha/x-vms (libsubdir): Define.
2614
3deb00ce
DR
2615 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
2616 register frame procedures. Optimize retrieving context.
2617
09eb789b
DR
2618 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
2619 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
2620 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
2621
1abade85
RK
2622Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2623
2624 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
2625 Make same change as for find_base_value.
2626
c283e63f
KH
26272002-02-13 Kazu Hirata <kazu@hxi.com>
2628
2629 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
2630 of QImode and SImode.
2631
86039100
KH
26322002-02-13 Kazu Hirata <kazu@hxi.com>
2633
2634 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
2635 length computation of movsi.
2636 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
2637
e1429da0
KH
26382002-02-13 Kazu Hirata <kazu@hxi.com>
2639
2640 * config/h8300/h8300.md (subqi3): Tighten the predicate for
2641 operands[2] to register_operand.
2642
aebfea10
JH
2643Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
2644
2645 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
2646
0ec4e2a8
AH
26472002-02-12 Aldy Hernandez <aldyh@redhat.com>
2648
831c4e87
KC
2649 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
2650 for altivec_lvx* and altivec_stvx*.
2651 ("*movv4si_internal"): Add constraint for loading from GPRs.
2652 ("*movv8hi_internal1"): Same.
2653 ("*movv16qi_internal1"): Same.
2654 ("*movv4sf_internal1"): Same.
0ec4e2a8 2655
831c4e87 2656 * config/rs6000/rs6000.c (altivec_register_operand): New.
0ec4e2a8 2657
831c4e87
KC
2658 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
2659 altivec_register_operand.
0ec4e2a8 2660
b007569d
HPN
26612002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
2662
2663 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
2664 handle SYMBOL_REF.
2665
e6834654
SS
26662002-02-13 Stan Shebs <shebs@apple.com>
2667
831c4e87
KC
2668 * c-typeck.c (digest_init): Handle vectors.
2669 (really_start_incremental_init): Same.
2670 (pop_init_level): Same.
2671 (process_init_element): Same.
e6834654 2672
831c4e87 2673 * varasm.c (output_constant): Same.
e6834654 2674
831c4e87
KC
2675 * expr.c (clear_storage): Same.
2676 (store_constructor): Same.
e6834654 2677
d9b3eb63
EC
26782002-02-12 Eric Christopher <echristo@redhat.com>
2679
2680 * explow.c (hard_function_value): Add comment explaining
2681 signed/unsigned comparison.
2682
56d44285
JJ
26832002-02-12 Jakub Jelinek <jakub@redhat.com>
2684
2685 * jump.c (never_reached_warning): Add finish argument.
2686 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
2687 real insn after end.
2688 * rtl.h (never_reached_warning): Adjust prototype.
2689 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
2690 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
2691 never_reached_warning.
2692
fc209487
GS
26932002-02-12 Graham Stott <grahams@redhat.com>
2694
2695 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
2696
1e41e866
KH
26972002-02-12 Kazu Hirata <kazu@hxi.com>
2698
2699 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
2700 logical shifts on H8/300.
2701 (shift_alg_si): Improve several shifts on H8/300.
2702 (get_shift_alg): Likewise.
2703
a36a47ad
GS
27042002-02-12 Graham Stott <grahams@redhat.com>
2705
2706 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
2707
0aacc8ed
RK
2708Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2709
2710 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
2711 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
2712
a02ac966
HPN
27132002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
2714
2715 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
2716 non-CONST_INT through default_assemble_integer.
2717 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
2718 <case 8>: Abort for CONST_DOUBLE.
2719
d6e06ddc
JDA
27202002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
2721
2722 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
2723 is specified.
2724 * config/pa/pa-linux.h (LIB_SPEC): Delete.
2725 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
2726
515342a8
AH
27272002-02-11 Andrew Haley <aph@cambridge.redhat.com>
2728
2729 * config/stormy16/stormy16.md (zero_extendqihi2): New.
2730
cddd8b72
AO
27312002-02-11 Alexandre Oliva <aoliva@redhat.com>
2732
66df7a98
AO
2733 * regrename.c (regrename_optimize): Don't accept a
2734 part-clobbered register if the replaced register is not part
2735 clobbered.
2736
841404cd
AO
2737 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
2738 take padding into account when computing the argument value.
2739
1d1ade42
AO
2740 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
2741
cddd8b72
AO
2742 * combine.c (try_combine): Apply substitutions in
2743 CALL_INSN_FUNCTION_USAGE too.
2744
5c665b88
AH
27452002-02-11 Aldy Hernandez <aldyh@redhat.com>
2746
77f6c1eb
RS
2747 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
2748 __builtin_altivec_abs*.
2749 (bdesc_abs): New.
5c665b88 2750
77f6c1eb
RS
2751 * config/rs6000/rs6000.h (rs6000_builtins): Add
2752 ALTIVEC_BUILTIN_ABS*.
5c665b88 2753
77f6c1eb
RS
2754 * config/rs6000/altivec.h: Use const char for builtins expecting
2755 literals.
2756 (vec_abs): New versions for C and C++.
2757 (vec_abss): Same.
5c665b88 2758
3494f1b4
KH
27592002-02-10 Kazu Hirata <kazu@hxi.com>
2760
2761 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
2762 using Pmode.
2763
72431aef
KH
27642002-02-10 Kazu Hirata <kazu@hxi.com>
2765
2766 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
2767 constant definition from h8300.md.
2768 (FRAME_POINTER_REGNUM): Likewise.
2769 * config/h8300/h8300.md (define_constants): Add FP_REG.
2770
87e4ee91
KH
27712002-02-10 Kazu Hirata <kazu@hxi.com>
2772
2773 * config/h8300/h8300.c (print_operand): Remove redundant code.
2774
9c188705
KH
27752002-02-10 Kazu Hirata <kazu@hxi.com>
2776
2777 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
2778 * config/h8300/h8300.c (byte_reg): Make it static.
2779
fba78abb
RH
27802002-02-10 Richard Henderson <rth@redhat.com>
2781
2782 PR c/5623
2783 * c-typeck.c (incomplete_type_error): Handle flexible array members.
2784
65739e62
RH
27852002-02-10 Richard Henderson <rth@redhat.com>
2786
2787 PR c++/5624
2788 * tree.c (append_random_chars): Don't abort if main_input_filename
2789 does not exist.
2790
247cb9df
HPN
27912002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
2792
2793 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
2794
232bd029
KH
27952002-02-10 Kazu Hirata <kazu@hxi.com>
2796
65739e62 2797 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
232bd029
KH
2798 (pushhi1): Likewise.
2799
276ef573
JDA
28002002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
2801
2802 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
2803 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
2804
617e9ee5
DB
28052002-02-09 David O'Brien <obrien@FreeBSD.org>
2806
2807 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
2808 remove MASK_VIS.
2809 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
2810
6dfa4005
KH
28112002-02-09 Kazu Hirata <kazu@hxi.com>
2812
2813 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
2814 a half of an SImode register on H8/300.
2815
749e7b80
JH
2816Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
2817
2818 * i386.md (movdi_2): Add missing '!'.
2819
ca77d87c
KH
28202002-02-09 Kazu Hirata <kazu@hxi.com>
2821
2822 * config/h8300/h8300.h: Fix formatting. Remove commented-out
2823 definitions.
2824
16c96304
KH
28252002-02-09 Kazu Hirata <kazu@hxi.com>
2826
2827 * config/h8300/h8300.md (length): Correct the distance valid
2828 for the short branch.
2829
a364bc90
KH
28302002-02-09 Kazu Hirata <kazu@hxi.com>
2831
2832 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
2833
e4ec2cac
AO
28342002-02-09 Alexandre Oliva <aoliva@redhat.com>
2835
a138247b
AO
2836 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
2837 registers in SImode.
2838 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
2839 part-clobbered.
2840
2b1fd83f
AO
2841 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
2842 patch.
d9b3eb63 2843
fa5322fa
AO
2844 Contribute sh64-elf.
2845 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
2846 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
2847 (sh_cannot_modify_jumps_p): New function.
2848 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
2849 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
2850 (sh_ms_bitfield_layout_p): New function.
2851 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
2852 Zack Weinberg <zack@codesourcery.com>
2853 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
2854 expand_simple_binop instead of expand_binop.
2855 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
2856 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
2857 use of .quad and .uaquad.
2858 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
2859 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
2860 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2861 * config/sh/sh.md (movdi_const, movdi_const_32bit,
2862 movdi_const_16bit): Make sure all CONSTs have modes.
2863 (sym2PIC): Ditto, but by adjusting all callers.
2864 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
2865 if the prologue calls the SHmedia argument decoder or register
2866 saver.
2867 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2868 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
2869 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
2870 (sh_expand_epilogue): Don't emit USE of return target register.
2871 (prepare_move_operands): Legitimize DImode PIC addresses.
2872 (sh_media_register_for_return): Skip tr0, used to initialize the
2873 PIC register.
2874 (sh_expand_prologue): Remove explicit USE of return register.
2875 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
2876 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
2877 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
2878 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
2879 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
2880 EXTRA_CONSTRAINT_T.
2881 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
2882 (MOVI_SHORI_BASE_OPERAND_P): New.
2883 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
2884 (EXTRA_CONSTRAINT_T): Define in terms of them.
2885 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
2886 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
2887 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
2888 alternatives supporting TARGET_REGS.
2889 (UNSPEC_GOTPLT): New constant.
2890 (movdi split): Move incrementing of LABEL_NUSES...
2891 (movdi_const, movdi_const_32bit): Here. Use
2892 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
2893 (movdi_const_16bit): New.
2894 (call, call_value) [flag_pic]: Use GOTPLT.
2895 (call_pop, call_value_pop): New expands.
2896 (call_pop_compact, call_pop_rettramp): New insns.
2897 (call_value_pop_compact, call_value_pop_rettramp): New insns.
2898 (sibcall) [flag_pic]: Use GOT.
2899 (builtint_setjmp_receiver): Remove bogus, unused expand.
2900 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
2901 (*pt, *ptb, ptrel): New insns.
2902 (sym2GOT): Handle DImode GOT.
2903 (sym2GOTPLT, symGOTPLT2reg): New expands.
2904 (sym2PIC): New expand.
2905 (shcompact_return_tramp): Use GOTPLT to return trampoline.
2906 (shcompact_return_tramp_i): Use return register explicitly.
2907 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
2908 disable flag_reorder_blocks.
2909 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
2910 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
2911 clobbers, for clarity.
2912 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
2913 restoring of r0 in macl as MAYBE_DEAD.
2914 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
2915 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
2916 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
2917 alter_subreg all over.
2918 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
2919 reload, instead of emitting instructions that would require
2920 reloading.
2921 (casesi_load_media): Add missing modes.
2922 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
2923 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
2924 as used if the argument decoder is called.
2925 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
2926 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
2927 Pmode, then extend it to DImode if necessary.
2928 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
2929 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
2930 constants in FPU-enabled SHmedia, let them be loaded from memory.
2931 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
2932 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
2933 Adjust whitespace in assembly output templates.
2934 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
2935 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
2936 mode of if_then_else.
2937 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
2938 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
2939 sh.h.
2940 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
2941 Joern Rennecke <amylaar@redhat.com>
2942 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
2943 (SUBTARGET_CPP_PTR_SPEC): New.
2944 (SUBTARGET_CPP_SPEC): Remove.
2945 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
2946 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
2947 Fix typo in previous checkin.
2948 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
2949 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
2950 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
2951 Alexandre Oliva <aoliva@redhat.com>
2952 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
2953 what single FP register can hold for SHmedia target.
2954 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
2955 Alexandre Oliva <aoliva@redhat.com>
2956 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
2957 Do not split into SUBREG.
2958 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
2959 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
2960 and added new functions as specified in SH5 ABI r9.
2961 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
2962 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
2963 8-byte boundary.
2964 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
2965 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
2966 gen_consttable_4 and gen_consttable_8. Emit multiple labels
2967 and consttable_window_ends.
2968 2001-06-03 Graham Stott <grahams@redhat,com>
2969 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
2970 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
2971 * config/sh/sh.c (print_operand): Handle floating-point pair,
2972 vector and matrix registers.
2973 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
2974 vector modes into account.
2975 * config/sh/sh.md (movv2sf): Split move between registers into
2976 movdf.
2977 (movv4sf, movv16sf): Introduce insns that get split only after
2978 reload.
2979 * config/sh/shmedia.h: Fix Copyright dates.
2980 * config/sh/ushmedia.h: Likewise. Move loop counter
2981 declarations into conditionals that uses them.
2982 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
2983 loop boundary.
2984 * config/sh/sshmedia.h: Fix Copyright dates.
2985 (sh_media_PUTCFG): Fix constraints.
2986 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
2987 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
2988 ptrmemfunc_vbit_in_delta for SH5.
2989 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
2990 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
2991 * invoke.texi: Likewise.
2992 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
2993 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
2994 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
2995 GCC_pop_shmedia_regs_nofpu): New global symbols.
2996 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
2997 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
2998 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
2999 compact function with nonlocal labels.
3000 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
3001 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
3002 (initial_elimination_offset): Account for their stack space.
3003 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
3004 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
3005 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
3006 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
3007 least one of the operands to be a register.
3008 (movv2sf): Likewise. Renamed to movv2sf_i.
3009 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
3010 prepare_move_operands() before emitting SHmedia insns.
3011 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
3012 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
3013 Don't save nor initialize r12. Don't mis-align the stack.
3014 Pad the code with a nop.
3015 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
3016 stack.
3017 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
3018 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
3019 [__SHMEDIA__]: Implement.
3020 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
3021 * config/sh/sh.md: Set latency of `pt' closer to reality.
3022 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
3023 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
3024 Set move, load and store type attributes.
3025 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
3026 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
3027 profiling.
3028 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
3029 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
3030 * config/sh/sh.c (sh_media_register_for_return): New function.
3031 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
3032 branch-target register.
3033 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
3034 * config/sh/sh.md (return_media_i): Use any call-clobbered
3035 branch-target register.
3036 (return_media): If r18 wasn't copied in the prologue, copy it
3037 here.
3038 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
3039 Clear class FP0_REGS.
3040 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
3041 from elf.h.
3042 2001-03-08 DJ Delorie <dj@redhat.com>
3043 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
3044 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
3045 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
3046 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
3047 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
3048 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
3049 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
3050 return value correctly for call_cookie.
3051 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
3052 * config/sh/crt1.asm (start): Modified so as to call
3053 ___setup_argv_and_call_main.
3054 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
3055 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
3056 SHmedia mode.
3057 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
3058 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
3059 (STRIP_NAME_ENCODING): Use it.
3060 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
3061 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
3062 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
3063 prepare_scc_operands().
3064 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
3065 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
3066 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
3067 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
3068 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
3069 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
3070 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
3071 used in shcompact_incoming_args.
3072 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
3073 change.
3074 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
3075 mode.
3076 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
3077 Adjust accordingly.
3078 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
3079 Simplify. Adjust. Add sanity check.
3080 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
3081 FPU_SINGLE_BIT.
3082 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
3083 TARGET_SHCOMPACT.
3084 (udivsi3, divsi3): Use them.
3085 (force_mode_for_call): New insn.
3086 (call, call_value, sibcall_value): Emit it before SHcompact
3087 calls.
3088 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
3089 * config/sh/sh.md (call, call_value, sibcall): Make sure the
3090 call cookie is non-NULL before taking its value.
3091 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
3092 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
3093 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
3094 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
3095 block.
3096 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
3097 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
3098 temporary for stack adjusts. Use MACL and MACH to pass
3099 arguments to shcompact_incoming_args.
3100 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
3101 clobber r1.
3102 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
3103 (nested_trampoline): Load static chain address into r1.
3104 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
3105 2001-01-07 Alexandre Oliva <aoliva@redhat.com
3106 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
3107 fp_arith_reg_operand().
3108 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
3109 * config/sh/sh.md (casesi): Sign-extend the first two operands,
3110 and use signed compares for them.
3111 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
3112 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
3113 ones properly aligned.
3114 (find_barrier): Account for extra alignment needed for 8-byte wide
3115 constants.
3116 (machine_dependent_reorg): Require a label for the second 4-byte
3117 constant after an 8-byte one.
3118 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
3119 change.
3120 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
3121 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
3122 last_float when switching float modes.
3123 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
3124 auto-increment for general-purpose registers.
3125 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
3126 result.
3127 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
3128 for stack adjust.
3129 * config/sh/sh.c (sh_builtin_saveregs): Support using all
3130 registers for varargs.
3131 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
3132 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
3133 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
3134 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
3135 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
3136 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
3137 call_cookie accordingly.
3138 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
3139 (SHCOMPACT_BYREF): Likewise.
3140 (SHCOMPACT_FORCE_ON_STACK): New macro.
3141 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
3142 (sh_builtin_saveregs): Likewise.
3143 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
3144 shcompact_incoming_args): Use new shift values. Support
3145 sequences of consecutive and non-consecutive pushes/pops.
3146 * config/sh/sh.md (return): Don't explicitly use PR_REG.
3147 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
3148 * config/sh/sh.h (TEXT_SECTION): Define.
3149 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
3150 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
3151 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
3152 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
3153 return values on FPU-enabled SHmedia.
3154 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
3155 FPU-enabled SHmedia.
3156 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
3157 value is returned in a non-FP reg and is not returned by
3158 reference.
3159 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
3160 jump_ind.
3161 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
3162 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
3163 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
3164 quad-aligned to be passed by callee-copy reference.
3165 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
3166 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
3167 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
3168 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
3169 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
3170 copying low-numbered FP regs to r7 and r8.
3171 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
3172 FP regs to general-purpose regs only if the copy was passed on the
3173 stack.
3174 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
3175 copying FP reg to r9.
3176 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
3177 copy FP regs to general-purpose regs only in outgoing calls.
3178 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
1e4e95d6 3179 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
fa5322fa
AO
3180 HOST_WIDE_INT.
3181 * config/sh/sh.h (struct sh_args): Document all fields.
3182 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
3183 passed partially on the stack should not consider making
3184 sibcalls.
3185 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
3186 stack_regs only for incoming calls. When passing FP args,
3187 make sure there are FP regs available before modifying
3188 call_cookie.
3189 (SHCOMPACT_BYREF): Pass double args in general-purpose
3190 registers by reference.
3191 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
3192 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
3193 attempt to generate sibcalls if the caller got any arguments
3194 by reference.
3195 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
3196 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
3197 to 8-byte boundaries.
3198 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
3199 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
3200 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
3201 stored in the stack.
3202 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
3203 for the offsets to have the ISA bit set.
3204 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
3205 invocation. Use beq instead of bgt to mark end of sequence of
3206 loads.
3207 (shcompact_incoming_args): Fix store of r2. Use beq instead of
3208 bgt to mark end of sequence of stores.
3209 * config/sh/sh.c (arith_operand): Don't check whether
3210 CONST_OK_FOR_J for now.
3211 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
3212 instead of long for conversion.
3213 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
3214 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
3215 before passing it to fprintf.
3216 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
3217 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
3218 Call set_fpscr before reading/writing SR.
3219 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
3220 Call set_fpscr.
3221 * config/sh/lib1funcs.asm: Add `.align 2' directives before
3222 SHmedia code.
3223 (FMOVD_WORKS): Define on SH5 with FPU.
3224 (set_fpscr): Define on SH5. Remove separate _fpscr_values
3225 setting.
3226 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
3227 _fpscr_values.
3228 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
3229 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
3230 address.
3231 (ia_main_table): Ditto.
3232 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
3233 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
3234 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
3235 the definitions from sh.h.
3236 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
3237 TARGET_SH5.
3238 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
3239 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
3240 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
3241 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
3242 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
3243 Increment LABEL_NUSES.
d9b3eb63 3244
fa5322fa
AO
3245 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
3246 TARGET_SH5.
3247 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
3248 defined.
3249 * config/sh/elf.h (SIZE_TYPE): Likewise.
3250 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
3251 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
3252 shcompact_incoming_args): Load switch table addresses using
3253 datalabel.
3254 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
3255 (NO_BUILTIN_SIZE_TYPE): Define.
3256 (SIZE_TYPE): Don't define.
3257 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
3258 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
3259 definition of __SH5__=32 for -m5-compact-nofpu.
3260 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
3261 ADDR_DIFF_VEC.
3262 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
3263 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
3264 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
3265 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
3266 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
3267 (INSN_LENGTH_ALIGNMENT): Likewise.
3268 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
3269 * config/sh/sh.md (call, call_value, sibcall): Simplify
3270 copying of non-branch-target register.
3271 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1e4e95d6 3272 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
fa5322fa
AO
3273 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
3274 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
3275 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
3276 floating-point values as structs.
3277 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
3278 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
3279 general-purpose register.
3280 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
3281 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
3282 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
3283 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
3284 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
3285 (ENCODE_SECTION_INFO): Enclose variables and constants in
3286 DATALABEL unspecs.
3287 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
3288 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
3289 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
3290 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
3291 only for LABEL_REFs. For SYMBOL_REFs, prepend
3292 SH_DATALABEL_ENCODING to the symbol name.
3293 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
3294 convert_mode().
3295 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
3296 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
3297 UNSPEC_DATALABEL.
3298 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
3299 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
3300 (DATALABEL_REF_P): Don't require CONST.
3301 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
3302 REL label.
3303 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
3304 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
3305 right.
3306 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
3307 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
3308 Use shallow_copy_rtx and PUT_MODE to change the mode of
3309 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
3310 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
3311 on SHmedia using GENERAL_REGs.
3312 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
3313 bltu_media_i): Fix reversion of conditions.
3314 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
3315 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
3316 * config/sh/sh.c (output_far_jump): Save r13 in macl.
3317 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
3318 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
3319 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
3320 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
3321 (GCC_nested_trampoline): Likewise.
3322 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
3323 * config/sh/sh.c (gen_datalabel_ref): Define.
3324 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
3325 (INITIALIZE_TRAMPOLINE): Likewise.
3326 (TRAMPOLINE_ADJUST_ADDRESS): Define.
3327 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
3328 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
3329 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
3330 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
3331 (ic_invalidate): Adjust for SH5.
3332 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
3333 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
3334 _nested_trampoline.
3335 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
3336 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
3337 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
3338 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
3339 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
3340 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
3341 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
3342 * config/sh/sh.c (target_reg_operand): Match only target-branch
3343 registers and pseudos that aren't virtual registers.
3344 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
3345 Copy operands that don't match target_reg_operand to pseudos.
3346 (call_media, call_value_media, sibcall_media): Use
3347 target_reg_operand instead of target_operand.
3348 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
d9b3eb63 3349 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
fa5322fa
AO
3350 * config/sh/sh.c (target_reg_operand): Match hardware registers
3351 other than branch-target registers.
3352 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
3353 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
3354 (fpscr_values) [SH5 == 32]: Define.
3355 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
3356 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
3357 Handle function addresses coming in SUBREGs.
3358 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
3359 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
3360 shcompact_return_trampoline): Use datalabel where appropriate.
3361 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
3362 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
3363 general-purpose register to copy one branch-target register to
3364 another.
3365 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
3366 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
3367 SYMBOL_REFs with VOIDmode.
3368 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
3369 bltu_media_i): New insns.
3370 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
3371 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
3372 (INIT_CUMULATIVE_ARGS): Likewise.
3373 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
3374 * machmode.def (V16SFmode): New mode.
3375 * c-common.c (type_for_mode): Support V2SF and V16SF.
3376 * tree.c (build_common_tree_nodes_2): Likewise.
3377 * tree.h (tree_index): Likewise.
3378 * calls.c (emit_call_1): Take args_so_far. Adjust all
3379 callers. Introduce CALL_POPS_ARGS.
3380 * tm.texi (CALL_POPS_ARGS): Document.
3381 * config/sh/crt1.asm: Implement in SHmedia mode.
3382 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
3383 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
3384 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
3385 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
3386 Implement divsi and udivsi in SHmedia mode. Introduce
3387 SHcompact trampolines.
3388 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
3389 only in SHmedia64.
3390 (regno_reg_class): Rewrite.
3391 (fp_reg_names): Remove.
3392 (sh_register_names, sh_additional_register_names): New.
3393 (print_operand): Added `u'. Support SUBREGs in addresses.
3394 Add parentheses around shifted CONSTs.
3395 (output_file_start): Output .mode and .abi directives.
3396 (shiftcosts, addsubcosts, multcosts): Adjust.
3397 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
3398 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
3399 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
3400 bytes, not registers. Take into account the need for the
3401 SHcompact incoming args trampoline. Adjust all callers.
3402 (sh_expand_prologue): Take stack_regs into account. Call
3403 incoming args trampoline. Keep stack aligned as per SH5 ABI.
3404 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
3405 stack aligned as per SH5 ABI.
3406 (sh_builtin_saveregs): Support SH5 ABI.
3407 (sh_build_va_list, sh_va_start): Likewise.
3408 (initial_elimination_offset): Take alignment into account.
3409 Compute location of PR according to the SH5 stack frame.
3410 (arith_reg_operand): Reject branch-target registers.
3411 (shmedia_6bit_operand): New.
3412 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
3413 (target_reg_operand): Match DImode only. Accept SUBREGs.
3414 (target_operand): New.
3415 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
3416 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
3417 SIBCALL_REGS for SHmedia.
3418 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
3419 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
3420 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
3421 (TARGET_SWITCHES): New SH5 flags.
3422 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
3423 VALID_REGISTER_P to disable unsupported registers.
3424 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
3425 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
3426 (FUNCTION_ARG_PADDING): Define.
3427 (FASTEST_ALIGNMENT): Adjust.
3428 (SH_REGISTER_NAMES_INITIALIZER): New.
3429 (sh_register_names): Declare.
3430 (DEBUG_REGISTER_NAMES): Define.
3431 (REGISTER_NAMES): Define based on sh_register_names.
3432 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
3433 (sh_additional_register_names): Declare.
3434 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
3435 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
3436 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
3437 (REGISTER_NATURAL_MODE): Define.
3438 (FIRST_PSEUDO_REGISTER): Adjust.
3439 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
3440 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
3441 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
3442 (VECTOR_MODE_SUPPORTED_P): Define.
3443 (REG_CLASS_CONTENTS): Adjust.
3444 (SMALL_REGISTER_CLASSES): Adjust.
3445 (REG_ALLOC_ORDER): Adjust.
3446 (INDEX_REG_CLASS): Adjust.
3447 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
3448 (CONST_OK_FOR_LETTER_P): Adjust.
3449 (PREFERRED_RELOAD_CLASS): Adjust.
3450 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
3451 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
3452 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
3453 (FIRST_FP_PARM_REG): Adjust.
3454 (CALL_POPS_ARGS): Define.
3455 (FUNCTION_ARG_REGNO_P): Adjust.
3456 (struct sh_args): New fields.
3457 (GET_SH_ARG_CLASS): Adjust.
3458 (INIT_CUMULATIVE_ARGS): Adjust.
3459 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
3460 (FUNCTION_ARG_ADVANCE): Adjust.
3461 (FUNCTION_ARG): Adjust.
3462 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
3463 (FUNCTION_ARG_CALLEE_COPIES): Define.
3464 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
3465 (STRICT_ARGUMENT_NAMING): Define.
3466 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
3467 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
3468 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
3469 (SETUP_INCOMING_VARARGS): Adjust.
3470 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
3471 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
3472 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
3473 (SUBREG_OK_FOR_INDEX_P): Adjust.
3474 (EXTRA_CONSTRAINT_S): Update.
3475 (EXTRA_CONSTRAINT_T): New.
3476 (EXTRA_CONSTRAINT): Adjust.
3477 (GO_IF_LEGITIMATE_INDEX): Adjust.
3478 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
3479 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
3480 (MOVE_MAX): Adjust.
3481 (MAX_MOVE_MAX): Define.
3482 (Pmode): Adjust.
3483 (CONST_COSTS): Adjust.
3484 (REGISTER_MOVE_COST): Adjust.
3485 (BRANCH_COST): Adjust.
3486 (TEXT_SECTION_ASM_OP): Adjust.
3487 (DBX_REGISTER_NUMBER): Adjust.
3488 (ASM_OUTPUT_DOUBLE_INT): New.
3489 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
3490 (PREDICATE_CODES): Adjust.
3491 (PROMOTE_MODE): Adjust.
3492 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
3493 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
3494 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
3495 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
3496 (DR0_REG, DR2_REG, DR4_REG): Renumber.
3497 (TR0_REG, TR1_REG, TR2_REG): New.
3498 (XD0_REG): Renumber.
3499 (UNSPEC_COMPACT_ARGS): New.
3500 (type): Added pt and ptabs.
3501 (length): Default to 4 on SHmedia. Default pt length to 12
1e4e95d6 3502 and 20 on SHmedia32 and SHmedia64, respectively.
fa5322fa
AO
3503 (pt): New function unit.
3504 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
3505 Add whitespace between operands of SHmedia instructions.
3506 (movdicc): Fix.
3507 (adddi3_media, addsi3_media): Adjust constraints.
3508 (subsi3) [SHmedia]: Force operand 1 into a register.
3509 (udivsi3_i1_media, udivsi3_i4_media): New.
3510 (udivsi3): Support SHmedia.
3511 (divsi3_i1_media, divsi3_i4_media): New.
3512 (divsi3): Support SHmedia.
3513 (anddi3, iordi3, xordi3): Adjust constraints.
3514 (zero_extendhidi2, zero_extendqidi2): New.
3515 (extendsidi2, extendhidi2, extendqidi2): New.
3516 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
3517 (pop_e, pop_fpul, pop_4): Likewise.
3518 (movsi_media): Support FP and BT registers.
3519 (movsi_media_nofpu): New. Adjust splits to DImode.
3520 (lduw, ldub): Renamed to zero_extend* above.
3521 (movqi_media): Fix typo.
3522 (movdi_media): Support FP and BT registers.
3523 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
3524 (movdi_const_32bit): New.
3525 (shori_media): Require immediate operand. Use `u' for output.
3526 (movdf_media, movsf_media): Simplified.
3527 (movdf_media_nofpu, movsf_media_nofpu): New.
3528 (movdf, movsf): Adjust
3529 (movv2sf, movv2sf, movv16sf): New.
3530 (beq_media, beq_media_i): Adjust constraints. Don't use
3531 scratch BT register.
3532 (bne_media, bne_media_i): Likewise.
3533 (bgt_media, bgt_media_i): Likewise.
3534 (bge_media, bge_media_i): Likewise.
3535 (bgtu_media, bgtu_media_i): Likewise.
3536 (bgeu_media, bgeu_media_i): Likewise.
3537 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
3538 bunordered): Emit jump insn. Force operands to registers when
3539 needed.
3540 (jump_media, jump): Simplify.
3541 (call_compact, call_compact_rettramp): New.
3542 (call_value_compact, call_value_compact_rettramp): New.
3543 (call_media, call_value_media): Simplify.
3544 (sibcall_compact, sibcall_media): New.
3545 (call, call_value): Adjust for SHmedia and SHcompact.
3546 (sibcall, sibcall_value, untyped_call): Likewise.
3547 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
3548 (indirect_jump): Adjust for SHmedia.
3549 (casesi_jump_media): New.
3550 (nop): Re-enable for SHmedia.
3551 (call_site): Restrict to SH1.
3552 (casesi): Adjust for SHmedia.
3553 (casesi_shift_media, casesi_load_media): New.
3554 (return): Explicitly use PR register. Call return trampoline
3555 on SHcompact.
3556 (return_i): Explicitly use PR register.
3557 (shcompact_return_tramp, shcompact_return_tramp_i): New.
3558 (return_media): Adjust.
3559 (shcompact_incoming_args): New.
3560 (epilogue): Adjust.
3561 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
3562 (movstrsi): Disable on SH5.
3563 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
3564 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
3565 (subsf3, subsf3_media): Likewise.
3566 (mulsf3, mulsf3_media, mac_media): Likewise.
3567 (divsf3, divsf3_media): Likewise.
3568 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
3569 (floatsisf2, fux_truncsfsi2): Likewise.
3570 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
3571 constraints.
3572 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
3573 (cmpunsf_media, cmpsf): Likewise.
3574 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
3575 (abssf2, abssf2_media): Likewise.
3576 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
3577 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
3578 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
3579 (floatsidf2, fix_truncdfsi2): Likewise.
3580 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
3581 constraints.
3582 (cmpeqdf_media, cmpgtdf_media): Likewise.
3583 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
3584 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
3585 (absdf2, absdf2_media): Likewise.
3586 (extendsfdf2, extendsfdf2_media): Likewise.
3587 (truncsfdf2, truncsfdf2_media): Likewise.
3588 * config/sh/sh64.h: New file.
3589 * config/sh/t-sh64: New file.
3590 * config/sh/shmedia.h: New file.
3591 * config/sh/ushmedia.h: New file.
3592 * config/sh/sshmedia.h: New file.
3593 * configure.in: Added sh64-*-elf.
3594 * configure: Rebuilt.
3595 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
3596 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
3597 (reg_class_from_letter): Use `b' for TARGET_REGS.
3598 (print_operand): Support `%M', `%m', `AND' and
3599 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
3600 (andcosts): Adjust for SHmedia.
3601 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
3602 Likewise.
3603 (target_reg_operand): New function.
3604 * config/sh/sh-protos.h (target_reg_operand): Declare.
3605 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
3606 FP registers on SH5.
3607 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
3608 on SH4.
3609 (TARGET_REGISTER_P): New macro.
3610 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
3611 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
3612 (EXTRA_CONSTRAINT_S): New macro.
3613 (EXTRA_CONSTRAINT): Adjust.
3614 (FLOAT_TYPE_SIZE): Define to 32.
3615 (Pmode): DImode on SHmedia.
3616 (CONST_COSTS): Adjust for SHmedia literals.
3617 (PREDICATE_CODES): Added target_reg_operand.
3618 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
3619 * config/sh/sh.md: Remove all attrs from SHmedia insns.
3620 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
3621 (cmpdi): Accept SHmedia.
3622 (movdicc_false, movdicc_true): New insns.
3623 (movdicc): New expand.
3624 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
3625 no_new_pseudos.
3626 (addsi3_media): Match `S' constraint.
3627 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
3628 (negdi2): Expand for SHmedia.
3629 (one_cmpldi2): New expand.
3630 (zero_extendsidi2): Change from expand to insn.
3631 (extendsidi2): Add constraints.
3632 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
3633 LD/ST address. Fix SI immediate loading split.
3634 (movhi_media, movqi_media, lduw, ldub): New insns.
3635 (movhi, movqi): Accept SHmedia.
3636 (shori_media, movdi_media): Relax input constraints. Split
3637 symbolic constants.
3638 (movdf_media, movsf_media): New insn. New split to movdi.
3639 (movdf, movsf): Match on SHmedia.
3640 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
3641 bgeu_media): New insns and splits. New insns with `_i' suffix.
3642 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
3643 (bunordered): New expand.
3644 (jump_compact): Renamed from `jump'.
3645 (jump_media): New insn.
3646 (jump): New expand.
3647 (call_media, call_value_media): New insns.
3648 (call, call_value): Adjust.
3649 (indirect_jump_compact): Renamed from `indirect_jump'.
3650 (indirect_jump_media): New insn.
3651 (indirect_jump): New expand.
3652 (untyped_call, return): Accept SHmedia.
3653 (return_media): New insn.
3654 (prologue, epilogue, blockage): Accept SHmedia.
3655 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
3656 (sunordered): New expand.
3657 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
3658 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
3659 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
3660 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
3661 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
3662 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
3663 abssf2_media): New insns.
3664 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
3665 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
3666 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
3667 floatdidf2, floatsidf2_media, fix_truncdfdi2,
3668 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
3669 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
3670 absdf2_media): New insns.
3671 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
3672 (extendsfdf2_media, truncdfsf2_media): New insns.
3673 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
3674 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
3675 * config/sh/sh.h (CONST_OK_FOR_J): Document.
3676 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
3677 * config/sh/sh.md (adddi3): New expand.
3678 (adddi3_media, adddi3z_media): New insns.
3679 (adddi3_compact): Renamed from adddi3.
3680 (addsi3_media): Use add.l r63 to add constant zero.
3681 (subdi3): New expand.
3682 (subdi3_media): New insn.
3683 (subdi3_compact): Renamed from subdi3.
3684 (mulsidi3): New expand.
3685 (mulsidi3_media): New insn.
3686 (mulsidi3_compact): Renamed from mulsidi3.
3687 (umulsidi3): New expand.
3688 (umulsidi3_media): New insn.
3689 (umulsidi3_compact): Renamed from umulsidi3.
3690 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
3691 (ashlsi3, ashrsi3, lshrsi3): Use them.
3692 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
3693 (ashldi3, ashrdi3, lshrdi3): Use them.
3694 (zero_extendsidi2): New expand.
3695 (extendsidi2): New insn.
3696 (movsi_media): New insn. Split to movdi to load constants.
3697 (movsi): Enable for shmedia.
3698 (movdi_media): New insn. Use shori_media to load wide constants.
3699 (short_media): New insn.
3700 (movdi): Enable for shmedia.
3701 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
3702 * config/sh/sh.h (CPP_SPEC): Added `m5'.
3703 (SUBTARGET_CPP_SPEC): Added `!m5'.
3704 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
3705 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
3706 to all other SH variants.
3707 (TARGET_DEFAULT): Set to SH1_BIT.
3708 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
3709 (BITS_PER_WORD): Raise to 64 on shmedia.
3710 (MAX_BITS_PER_WORD): Change to 64.
3711 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
3712 (INT_TYPE_SIZE): Keep as 32.
3713 (UNITS_PER_WORD): Raise to 8 on shmedia.
3714 (MIN_UNITS_PER_WORD): Keep as 4.
3715 (POINTER_SIZE): Raise to 64 on shmedia.
3716 (CONST_OK_FOR_J): New macro.
3717 (CONST_OK_FOR_LETTER_P): Use it.
3718 (processor_type): Add PROCESSOR_SH5.
3719 * config/sh/sh.md: Conditionalize all expands, insns and
3720 splits to TARGET_SH1.
3721 (cpu): Added sh5.
3722 (addsi3_compact): Renamed from...
3723 (addsi3): Now an expand.
3724 (addsi3_media, subsi3_media): New insns.
3725 (subsi3): Don't negate constants with SHmedia.
3726
e4ec2cac
AO
3727 * hooks.c: New file.
3728 * hooks.h: New file.
3729 * Makefile.in (HOOKS_H): New.
3730 (TARGET_DEF_H): Added $(HOOKS_H).
3731 (OBJS): Added hooks.o.
3732 (cfgcleanup.o, bb-reorder.o): Added target.h.
3733 (hooks.o): Added dependencies.
3734 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
3735 (TARGET_INITIALIZER): this.
3736 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
3737 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
3738 * bb-reorder.c: Include target.h.
3739 (reorder_basic_blocks): Skip if cannot modify jumps.
3740 * cfgcleanup.c: Include target.h.
3741 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
3742
246a46e0
CD
37432002-02-08 Chris Demetriou <cgd@broadcom.com>
3744
831c4e87
KC
3745 * config/mips/mips.md (casesi_internal, casesi_internal_di):
3746 Protect jump delay slot instructions with .set noreorder and
3747 .set nomacro.
246a46e0
CD
3748
37492002-02-08 Chris Demetriou <cgd@broadcom.com>
6a5ea3f4
CD
3750
3751 * config/mips/mips.md (casesi_internal_di): Calculate
3752 the index into the target offset table correctly.
3753
fdf473ae
RH
37542002-02-08 Richard Henderson <rth@redhat.com>
3755
3756 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
3757 * final.c (output_addr_const): Accept and discard SUBREG.
3758 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
3759 mark them unknown instead.
3760 (simplify_subtraction): Handle RTX_UNKNOWN.
3761 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
3762
c50503ac
DE
37632002-02-08 David Edelsohn <edelsohn@gnu.org>
3764
3765 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
3766
3660d217
RH
37672002-02-08 Richard Henderson <rth@redhat.com>
3768
3769 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
3770
56547299
AJ
37712002-02-08 Andreas Jaeger <aj@suse.de>
3772
3773 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
3774 * config/i386/t-linux64: New file.
3775
1cf537c5
JJ
37762002-02-08 Jakub Jelinek <jakub@redhat.com>
3777
3778 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
3779 * c-parse.in (compstmt): Clear last_expr_type.
3780
5c7f5a5f
RH
37812002-02-07 Richard Henderson <rth@redhat.com>
3782
3783 * loop.c (strength_reduce): Sink final_value when not
3784 eliminating a biv.
3785
b1138bf3
DB
37862002-02-07 David O'Brien <obrien@FreeBSD.org>
3787
3788 * config/sparc/freebsd.h: Fix mismatched spec {.
3789
b6878a45
RH
37902002-02-07 Richard Henderson <rth@redhat.com>
3791
3792 * cfgrtl.c: Include recog.h and insn-config.h.
3793 (keep_with_call_p): Fix general_operand invocation.
3794 * Makefile.in (cfgrtl.o): Update dependencies.
3795
ae19f5ef
KH
37962002-02-07 Kazu Hirata <kazu@hxi.com>
3797
3798 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
3799 comment. Accept HImode only if TARGET_H8300.
3800
b137f9fc
EC
38012002-02-07 Eric Christopher <echristo@redhat.com>
3802
3803 * config/mips/crtn.asm: Cleanup #ifdefs.
3804
38052002-02-07 Eric Christopher <echristo@redhat.com>
3806
3807 * config/mips/crti.asm: Add changes for mips16. mips16 uses
3808 register 7 as RA instead of $31.
3809 * config/mips/crtn.asm: Ditto.
3810 * config/mips/mips.c (mips_move_2words): Add case for
3811 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
3812 (compute_frame_size): Fix typo.
3813 (save_restore_insns): Ditto. Make documentation about using
3814 register $7 as return register more precise.
3815 (mips_expand_epilogue): Fix comment. Add code to work around not
3816 being able to add to the stack pointer directly.
3817 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
3818 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
3819 epilogue.
3820
768070a0
TR
38212002-02-07 Tom Rix <trix@redhat.com>
3822
b137f9fc 3823 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
768070a0
TR
3824 immediates in ldu and stdu DS opcode field.
3825 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
3826 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
3827 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
3828
225909c3
JS
38292002-02-07 Jeff Sturm <jsturm@one-point.com>
3830
3831 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
3832 offset for stack bias.
3833
15fae023
L
38342002-02-07 H.J. Lu <hjl@gnu.org>
3835
3836 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
3837
fde5badd
UW
38382002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
3839
3840 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
3841
162f023b
JH
3842Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
3843
3844 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
3845 * i386.c (x86_order_regs_for_local_alloc): New global function.
3846 * i386.h (REG_ALLOC_ORDER): CLeanup.
3847 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
3848
9b462c42
RH
38492002-02-07 Richard Henderson <rth@redhat.com>
3850
85aa876c 3851 PR optimization/2463
9b462c42
RH
3852 * alias.c (find_base_value): Recall base values for fixed hard regs.
3853 * loop.c (loop_regs_update): Don't use single_set on non-insns.
3854
06e455a9
AO
38552002-02-07 Alexandre Oliva <aoliva@redhat.com>
3856
3857 * config/mips/mips.md (define_delay) [mips16]: Adjust required
3858 length.
3859
edd1967d
RH
38602002-02-06 Richard Henderson <rth@redhat.com>
3861
3862 PR c/5609
3863 * stmt.c (resolve_operand_name_1): Take more care with mixed
3864 named and unnamed operands.
3865
a2cd028f
JJ
38662002-02-06 Janis Johnson <janis187@us.ibm.com>
3867 Jan Hubicka <jh@suse.cz>
3868
3869 * loop.c (remove_constant_addition): Avoid clobbering a shared
3870 CONST expression.
3871
e8487c04
UW
38722002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
3873
3874 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
3875 * config/s390/t-linux64: New file.
3876 * config/s390/libgcc-glibc.ver: New file.
3877
58d10f89
UW
38782002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
3879
3880 * config/s390/linux64.h: Delete file.
3881 * config/s390/s390x.h: New file.
3882 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
3883 as target header file.
3884 * config/s390/linux.h (TARGET_VERSION): Define depending on
3885 DEFAULT_TARGET_64BIT.
3886 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
3887 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
3888 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
3889 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
3890 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
3891 (EXTRA_SPEC): New define.
3892 * config/s390/s390.h (TARGET_VERSION): Define depending on
3893 DEFAULT_TARGET_64BIT.
3894 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
3895
5ce89b2e
JM
38962002-02-06 Jason Merrill <jason@redhat.com>
3897
3898 * c-decl.c (finish_function): Warn about a non-void function with
3899 no return statement and no abnormal exit.
3900 (current_function_returns_abnormally): New variable.
3901 (start_function): Clear it.
3902 (struct c_language_function): Add returns_abnormally.
3903 (push_c_function_context): Save it.
3904 (pop_c_function_context): Restore it.
3905 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
3906 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
3907 an explicit return type.
3908 * c-tree.h: Declare current_function_returns_abnormally.
3909 (C_FUNCTION_IMPLICIT_INT): New macro.
3910 * c-typeck.c (build_function_call): Set it.
3911 (c_expand_return): Set current_function_returns_value even if the
3912 value is erroneous.
3913
caaf2272
JJ
39142002-02-06 Jakub Jelinek <jakub@redhat.com>
3915
3916 PR c/5420:
3917 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
3918 unsafe for reevaluation.
3919
d5129288
JJ
39202002-02-06 Jakub Jelinek <jakub@redhat.com>
3921
3922 PR c/5482:
3923 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
3924 EXPR_STMT, but COMPOUND_STMT, recurse into it.
3925
7fb75099
RH
39262002-02-06 Richard Henderson <rth@redhat.com>
3927
3928 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
3929 be a general_operand. Dest for function value must be a pseudo.
3930
d3a8b6a6
NC
39312002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
3932
3933 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
3934 as SYMBOL_REFs from the constant pool.
3935
3c1299c5
AO
39362002-02-06 Alexandre Oliva <aoliva@redhat.com>
3937
3938 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
3939 passed by invisible reference.
3940
c2c9f6c9
RH
39412002-02-05 Richard Henderson <rth@redhat.com>
3942
3943 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
3944
a824924d
HPN
39452002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
3946
3947 Implement using "base addresses" in insn operands as default.
3948 * config/mmix/mmix.c (mmix_conditional_register_usage): if
3949 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
3950 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
3951 used to read the rtx value.
3952 (mmix_target_asm_function_epilogue): Fix spacing.
3953 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
3954 (mmix_legitimate_address): Ditto.
3955 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
3956 should be loaded with a GETA insn. Don't allocate needless extra
3957 char for nul termination and fix misleading comment.
3958 (mmix_print_operand_address): Handle constants if
3959 TARGET_BASE_ADDRESSES.
3960 (mmix_output_register_setting): Use base addressing if
3961 TARGET_BASE_ADDRESSES and the number of insns is 3.
3962 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
3963 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
3964 to use R as constraint, add LDA to match s.
3965 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
3966 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
3967 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
3968 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
3969 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
3970 order with other fixed registers.
3971 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
3972 other parameter/call-clobbered registers.
3973 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
3974 -mbase-addresses, -mno-base-addresses.
3975 (MMIX Options): Ditto.
3976
73c342b9
JDA
39772002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
3978
3979 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
3980
ef238c58
AH
39812002-02-06 Aldy Hernandez <aldyh@redhat.com>
3982
831c4e87 3983 * config/rs6000/altivec.h: Change elem to _S_elem.
ef238c58 3984
ad08e60e
JT
39852002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
3986
3987 * config/netbsd.h (WCHAR_TYPE): Define.
3988 (WCHAR_TYPE_SIZE): Ditto.
3989 (WINT_TYPE): Ditto.
3990 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
3991 (WCHAR_UNSIGNED): Ditto.
3992 (WCHAR_TYPE_SIZE): Ditto.
3993 (WINT_TYPE): Ditto.
3994 * config/arm/netbsd.h: Likewise.
3995 * config/i386/netbsd-elf.h: Likewise.
3996 * config/i386/netbsd.h: Likewise.
3997 * config/m68k/netbsd-elf.h: Likewise.
3998 * config/m68k/netbsd.h: Likewise.
3999 * config/ns32k/netbsd.h: Likewise.
4000 * config/sparc/netbsd.h: Likewise.
4001 * config/vax/netbsd.: Likewise.
4002
f913c102
AO
40032002-02-05 Alexandre Oliva <aoliva@redhat.com>
4004
4005 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
4006 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
4007 (TARGET_INITIALIZER): this.
4008 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
4009 (BITFIELD_NBYTES_LIMITED): Markup fix.
4010 * tree.h (default_ms_bitfield_layout_p): Declare.
4011 (record_layout_info): Added prev_field.
4012 * tree.c (default_ms_bitfield_layout_p): New fn.
4013 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
4014 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
4015 * stor-layout.c: Include target.h.
4016 (start_record_layout): Initialize prev_field.
4017 (place_field): Handle MS bit-field layout, and disregard
4018 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
4019 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
4020 * Makefile.in (stor-layout.o): Adjust dependencies.
4021
c13db5d1
JM
40222002-02-05 Jason Merrill <jason@redhat.com>
4023
c13db5d1
JM
4024 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
4025
4505024e
AJ
40262002-02-05 Andreas Jaeger <aj@suse.de>
4027
4028 * crtstuff.c: Fix comments.
4029
794ad79d
RH
40302002-02-05 Richard Henderson <rth@redhat.com>
4031
2e279a9b
RH
4032 PR fortran/3393
4033 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
4034 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
4035
794ad79d
RH
4036 PR fortran/3392
4037 * config/mips/mips.c (function_arg): Handle TImode.
4038 (function_arg_advance): Likewise.
4039
8f909017
AH
40402002-02-05 Aldy Hernandez <aldyh@redhat.com>
4041
c13db5d1
JM
4042 * config/rs6000/altivec.h (vec_step_help): Rename to
4043 __vec_step_help.
8f909017 4044
66daa9e3
AH
40452002-02-05 Aldy Hernandez <aldyh@redhat.com>
4046
c13db5d1 4047 * config/rs6000/altivec.h: Fix typos.
66daa9e3 4048
2696e97b
JT
40492002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
4050
4051 * config/arm/netbsd.h: Correct a comment.
4052
3deb2758
AH
40532002-02-05 Aldy Hernandez <aldyh@redhat.com>
4054
c13db5d1
JM
4055 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
4056 building void typed builtins.
3deb2758 4057
c13db5d1
JM
4058 * config/rs6000/altivec.h (vec_ld*): Fix typos.
4059 (vec_step): Implement for C++.
3deb2758 4060
c13db5d1 4061Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2c79137a
RK
4062
4063 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
4064
ebbb0a63
RH
40652002-02-04 Richard Henderson <rth@redhat.com>
4066
4067 * combine.c (nonzero_bits): Re-introduce special case for
4068 sp/fp/ap wrt REGNO_POINTER_ALIGN.
4069
ae4b4a02
AH
40702002-02-05 Aldy Hernandez <aldyh@redhat.com>
4071
c13db5d1
JM
4072 * doc/extend.texi: Warn about unsupported usage of altivec
4073 builtins.
ae4b4a02 4074
c13db5d1
JM
4075 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
4076 (altivec_predicate_*): New.
ae4b4a02 4077
c13db5d1
JM
4078 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
4079 Add C++ version of vec_*() functions.
ae4b4a02 4080
c13db5d1
JM
4081 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
4082 (bdesc_2arg): Remove altivec predicates.
4083 (altivec_expand_builtin): Handle predicates.
4084 (altivec_init_builtins): Handle predicates.
4085 (altivec_expand_predicate_builtin): New.
ae4b4a02 4086
f6bcf44c
JDA
40872002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
4088
4089 * pa.c (DO_FRAME_NOTES): Move forward.
4090 (store_reg): Revise handling of frame notes.
4091 (load_reg): Likewise.
4092 (set_reg_plus_d): Likewise.
4093 (hppa_expand_prologue): Likewise.
4094 (hppa_expand_epilogue): Likewise.
b137f9fc 4095
703b0080
JDA
40962002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
4097
4098 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
4099
6f9fdf4d
JJ
41002002-02-04 Jakub Jelinek <jakub@redhat.com>
4101
4102 PR c/4475, c++/3780:
4103 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
4104 * c-common.h (SWITCH_TYPE): Define.
4105 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
4106 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
4107 Rename spareness variable to sparseness.
4108 (expand_end_case_type): Renamed from expand_end_case, use orig_type
4109 if non-NULL instead of TREE_TYPE (orig_index).
4110 * tree.h (expand_end_case_type): Renamed from expand_end_case.
4111 (expand_end_case): Define using expand_end_case_type.
4112 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
4113 to expand_end_case_type.
4114 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
4115
79109502
JDA
41162002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
4117
4118 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
4119 (BIGGEST_ALIGNMENT): Change to 128.
4120
e62a5987
JDA
41212002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
4122
4123 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
4124
219f24a4
JDA
41252002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
4126
4127 * pa.md (call_internal_reg_64bit): Remove unused variable.
4128
3cb66fd7
NC
41292002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
4130
4131 * config/arm/arm.h (machine_function): Add uses_anonymous_args
4132 field.
831c4e87 4133 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
3cb66fd7 4134 * config/arm/arm.c (current_function_anonymous_args): Delete,
831c4e87
KC
4135 replace uses with cfun->machine->uses_anonymous_args.
4136 (arm_reorg): Do not reset uses_anonymous_args.
3cb66fd7
NC
4137
4138 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
4139 any geenral register.
b137f9fc 4140
24c545ff
BS
41412001-02-04 Bernd Schmidt <bernds@redhat.com>
4142
4143 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
4144 the entry block.
4145
563c12b0
RH
41462002-02-04 Richard Henderson <rth@redhat.com>
4147
4148 * combine.c (force_to_mode): Remove STACK_BIAS code.
4149 (nonzero_bits): Likewise. Replace sp/fp special case with
4150 REGNO_POINTER_ALIGN.
4151
4152 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
4153 (HARD_FRAME_POINTER_REGNUM): New.
4154 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
4155 (FIXED_REGS, CALL_USED_REGS): Update.
4156 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
4157 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
4158 (HARD_REGNO_NREGS): Update for SFP.
4159 (STACK_POINTER_OFFSET): Include bias here ...
4160 (FIRST_PARM_OFFSET): ... not here.
4161 (STACK_BIAS): Remove.
4162 (INIT_EXPANDERS): New.
4163 (STARTING_FRAME_OFFSET): Do not include bias.
4164 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
4165 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
4166 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
4167 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
4168 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
4169 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
4170 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
4171 (MUST_SAVE_REGISTER): Likewise.
4172 (sparc_flat_function_prologue): Likewise.
4173 (sparc_flat_function_epilogue): Likewise.
4174 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
4175 (sparc_init_modes): SFP is GENERAL_REGS.
4176 (sparc_builtin_saveregs): SFP does not have bias applied.
4177
14691f8d
RH
41782002-02-04 Richard Henderson <rth@redhat.com>
4179
4180 * config/alpha/alpha.c (current_function_is_thunk): Don't check
4181 current_function_is_thunk.
4182 (alpha_sa_mask): Distinguish between current_function_is_thunk
4183 called from ASM_OUTPUT_MI_THUNK and not.
4184 (alpha_does_function_need_gp): Thunks always need gp.
4185 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
4186 (alpha_output_mi_thunk_osf): New.
4187 * config/alpha/alpha-protos.h: Update.
4188 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
4189
af702de8
RS
41902002-02-04 Richard Sandiford <rsandifo@redhat.com>
4191
4192 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
4193 function types, not when they're taken away.
4194
5b1cacd8
JL
4195Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
4196
4197 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
4198 CODE_LABEL and jump table when replacing a table jump with a
4199 simple jump.
4200
f3e9edff
UW
42012002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4202
4203 * config/s390/s390-protos.h (legitimize_la_operand,
4204 s390_secondary_input_reload_class, s390_plus_operand,
4205 s390_expand_plus_operand): Add prototypes.
4206
4207 config/s390/s390.c (s390_secondary_input_reload_class,
4208 s390_plus_operand, s390_expand_plus_operand): New functions.
4209
4210 (struct s390_address): New member 'pointer'.
4211 (s390_decompose_address): Compute it.
4212 (legitimate_la_operand_p): Use it.
4213 (legitimize_la_operand): New function.
4214 (movti, movdi, movdf splitters): Call it.
4215
4216 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
4217 (PREDICATE_CODES): Add s390_plus_operand.
4218
4219 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
4220 (la_ccclobber): Allow GENERAL_REGS as output operand.
4221
4222 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
4223 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
4224 (*la_64, *la_31, reload_indi, reload_insi): ... these.
4225
3c9a08ec
UW
42262002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4227
4228 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
4229 register names for regular asm () construct.
4230
ac300a45
JJ
42312002-02-04 Jakub Jelinek <jakub@redhat.com>
4232
4233 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
4234 registers.
4235
fa852403
JJ
42362002-02-04 Jakub Jelinek <jakub@redhat.com>
4237
4238 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
4239 pat for recog.
4240
fecaac37
HP
42412002-02-04 Hartmut Penner <hpenner@de.ibm.com>
4242
831c4e87
KC
4243 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
4244 constant pool to be identical by string address and index.
fecaac37 4245
10c45943
AG
42462002-02-04 Anthony Green <green@redhat.com>
4247
4248 * output.h (SECTION_OVERRIDE): Define.
4249 * varasm.c (named_section): Obey SECTION_OVERRIDE.
4250
69474c3c
JT
42512002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
4252
4253 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
4254 by existing arm*-*-netbsd* (a.out) target.
4255 (ns32k-*-netbsdelf*): Likewise.
4256 (sparc-*-netbsdelf*): Likewise.
4257 (vax-*-netbsdelf*): Likewise.
4258
939a46f6 42592002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
3b56934f
CF
4260
4261 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
4262 headers and libobjc headers.
4263
42642002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
4265
4266 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
4267 (_mingw.h): Remove duplicate include.
4268
2fd95d71
JT
42692002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
4270
4271 * config.gcc: Set cpu_type to m68k for 68010, as well.
4272 (m68010-*-netbsdelf*): New...
4273 (m68k*-*-netbsdelf*): ...targets.
4274 * config/m68k/netbsd-elf.h: New file.
4275
0ea6f6a0
KH
42762002-02-02 Kazu Hirata <kazu@hxi.com>
4277
4278 * config/h8300/h8300.c (hand_list): Move inside function_arg.
4279
cbf1b2da
KH
42802002-02-02 Kazu Hirata <kazu@hxi.com>
4281
4282 * config/h8300/h8300.c (h8_push_ops): Move inside
4283 h8300_init_once.
4284 (h8_pop_ops): Likewise.
4285 (h8_move_ops): Likewise.
4286
0869f126
KH
42872002-02-02 Kazu Hirata <kazu@hxi.com>
4288
4289 * config/h8300/h8300.c (os_task): Make it static.
4290 (monitor): Likewise.
4291 (pragma_saveall): Likewise.
4292
90e65b70
AO
42932002-02-02 Alexandre Oliva <aoliva@redhat.com>
4294
4295 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
4296 constant is a valid sign-extension for Pmode.
4297
9cbcd983
KH
42982002-02-02 Kazu Hirata <kazu@hxi.com>
4299
4300 * config/h8300/h8300.c: Fix formatting.
4301
7a27efc4
KH
43022002-02-02 Kazu Hirata <kazu@hxi.com>
4303
4304 * config/h8300/h8300.md: Fix formatting.
4305
54175a44
KH
43062002-02-02 Kazu Hirata <kazu@hxi.com>
4307
4308 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
4309 predicates of operands[1]. Split the patterns for each
4310 processor variant.
4311
eceb1755
KH
43122002-02-02 Kazu Hirata <kazu@hxi.com>
4313
4314 * config/h8300/h8300.md (xor patterns): Tighten the predicates
4315 of operands[1] to register_operand.
4316
0fef3fd0
NB
43172002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
4318
4319 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
4320 * cpphash.c (_cpp_init_hashtable): Similarly.
4321 * cppinit.c (cpp_create_reader): Default the signed_char flag.
4322 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
4323 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
4324 (cpp_handle_option): Handle the new options.
4325 * cpplex.c (cpp_interpret_charconst): Use new flag.
4326 * cpplib.h (struct cpp_options): New member signed_char.
4327 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
4328 (cpp_options): Handle -fsigned-char and -funsigned-char.
4329 (static_specs): Remove signed_char_spec.
4330 (do_spec1): Don't handle %c.
4331 * system.h: Poison SIGNED_CHAR_SPEC.
4332 * tradcif.y (yylex): Use flag_signed_char.
4333 * tradcpp.h (flag_signed_char): New.
4334 * tradcpp.c (flag_signed_char): New.
4335 (main): Handle new command-line options.
4336 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
4337config:
4338 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
4339 * avr/avr.h: Remove old comments.
4340 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
4341 (CC1_SPEC): Pass -fsigned-char if -mic*.
4342 (SIGNED_CHAR_SPEC): Remove.
4343doc:
4344 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
4345
0617ed52
EC
43462002-02-01 Eric Christopher <echristo@redhat.com>
4347
4348 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
4349 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
4350 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
4351 (ASM_OUTPUT_REG_POP): Ditto.
4352
dfd48d76
NB
43532002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
4354
4355 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
4356 patch.
4357
4a23409e
JJ
43582002-02-02 Jakub Jelinek <jakub@redhat.com>
4359
4360 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
4361
d3c52658
JJ
43622002-02-02 Jakub Jelinek <jakub@redhat.com>
4363
4364 PR c/5304:
4365 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
4366 unconditionally.
4367
02c5a3bd
JJ
43682002-02-01 Janis Johnson <janis187@us.ibm.com>
4369
4370 * cfganal.c: Include tm_p.h.
4371 (keep_with_call_p): Fix the test that determines if a register holds
4372 the return value of a call.
4373
3968de80
DD
43742002-02-01 DJ Delorie <dj@redhat.com>
4375
4376 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
4377 we are given conflicting registers, switch to the other one we
4378 had allocated for us.
4379 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
4380 as TImode so we know when the "other" register is available.
4381
1338ea6c
DB
43822002-02-01 David O'Brien <obrien@FreeBSD.org>
4383
4384 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
4385 sparc/sparc_bi.h.
4386
f015be23
JJ
43872002-02-01 Janis Johnson <janis187@us.ibm.com>
4388
4389 * cfganal.c (keep_with_call_p): New function.
4390 (flow_call_edges_add): Prevent splitting a block between a call and
4391 a single-set instruction that should be kept in the same block.
4392
63708ffc
CR
43932002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
4394
4395 * doc/install.texi (avr): Update outdated URL.
4396
5ee4950e
AH
43972002-01-30 Andrew Haley <aph@cambridge.redhat.com>
4398
831c4e87
KC
4399 * config/stormy16/stormy16.md (pushqi): New.
4400 (popqi): New.
4401 (pushhi): New.
4402 (pophi): New.
4403 (movhi): Remove stack operands.
4404 (movqi): Likewise.
4405 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
4406 nonimmediate_nonstack_operand.
4407 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
4408 New.
4409 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
4410 New.
5ee4950e 4411
b88c0704
JM
44122002-01-31 Jason Merrill <jason@redhat.com>
4413
4414 * Makefile.in (c-parse.c): Handle .output file.
4415 * objc/Make-lang.in (objc-parse.c): Likewise.
4416
ac282977
AO
44172002-02-01 Alexandre Oliva <aoliva@redhat.com>
4418
4419 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
4420 the -me[lb] option is given. Don't output the default flag
4421 twice.
4422
bebc7e8b
ZW
44232002-01-31 Zack Weinberg <zack@codesourcery.com>
4424
4425 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
4426 the primary source file; this has not been done yet.
4427 * c-decl.c (c_expand_body): Reset input_filename from
4428 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
4429
5809eb5f
KH
44302002-01-31 Kazu Hirata <kazu@hxi.com>
4431
4432 * rtlanal.c (subreg_regno_offset): Do not use
4433 SUBREG_REGNO_OFFSET.
4434 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
4435 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
4436
8512bbd7
JM
44372002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
4438
4439 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
4440 version rather than GNATS version in --version output.
4441
74cb3cc8
RS
44422002-01-31 Richard Sandiford <rsandifo@redhat.com>
4443
4444 * ifcvt.c (noce_process_if_block): Make a copy of the destination
4445 when copying back from a temporary.
4446
874b5b14
RH
44472002-01-30 Richard Henderson <rth@redhat.com>
4448
4449 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
4450 and new_dest are the same.
4451
e803a64b
RH
44522002-01-30 Richard Henderson <rth@redhat.com>
4453
89cf7be5 4454 PR opt/5076
e803a64b
RH
4455 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
4456 * rtl.c (note_insn_name): Update.
4457 * emit-rtl.c (remove_unnecessary_notes): Kill it.
4458 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
4459 to perform loop rotation.
4460 (expand_exit_loop_top_cond): New.
4461 * tree.h (expand_exit_loop_top_cond): Declare it.
4462 * c-semantics.c (genrtl_while_stmt): Use it.
4463 (genrtl_for_stmt): Likewise.
4464
0b51254d
AO
44652002-01-30 Alexandre Oliva <aoliva@redhat.com>
4466
4467 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
4468 arguments to 64-bit boundaries on 64-bit ABIs.
4469
71cef493
SE
44702002-01-30 Steve Ellcey <sje@cup.hp.com>
4471
4472 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
4473
6169e5fd
JM
44742002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
4475
4476 * c-decl.c (grokdeclarator): Handle type being a typedef for an
4477 invalid type.
4478
86f808dc
DB
44792002-01-30 David O'Brien <obrien@FreeBSD.org>
4480
4481 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
4482 * config/sparc/sparc_bi.h: Remove file.
4483 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
4484
5748ebeb
RH
44852002-01-30 Richard Henderson <rth@redhat.com>
4486
4487 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
4488
20d32cc2
ZW
44892002-01-30 Zack Weinberg <zack@codesourcery.com>
4490
4491 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
4492
b88c0704 44932002-01-30 Jason Merrill <jason@redhat.com>
6bb28965
JM
4494
4495 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
4496 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
4497 (reg_save): Use DW_CFA_offset_extended_sf instead.
4498
4499 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
4500
37060e78
JJ
45012002-01-29 Jakub Jelinek <jakub@redhat.com>
4502
4503 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
4504 in cselib_lookup.
4505
d18dba68
AH
45062002-01-29 Aldy Hernandez <aldyh@redhat.com>
4507
bebc7e8b
ZW
4508 * rs6000.md ("*call_value_local32"): Remove constraints.
4509 ("*call_value_local64"): Same.
4510 ("*call_value_indirect_nonlocal_aix32"): Same.
4511 ("*call_value_nonlocal_aix32"): Same.
4512 ("*call_value_indirect_nonlocal_aix64"): Same.
4513 ("*call_value_nonlocal_aix64"): Same.
4514 ("*call_value_nonlocal_sysv"): Same.
d18dba68 4515
80a8aac6
RH
45162002-01-29 Richard Henderson <rth@redhat.com>
4517
4518 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
4519
12beba6f
RH
45202002-01-29 Richard Henderson <rth@redhat.com>
4521
4522 * expr.c (force_operand): Ignore flag_pic for detecting pic
4523 address loads.
4524 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
4525 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
4526 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
4527 instead of open-coded loop.
4528 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
4529 be fixed when in use.
4530
2583081e
RH
45312002-01-29 Richard Henderson <rth@redhat.com>
4532
4533 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
4534 * sched-rgn.c (propagate_deps): Update them.
4535 * sched-deps.c (sched_analyze_insn): Update them. Flush the
4536 clobbers list when either gets too long.
4537
3b8d200e
JJ
45382002-01-29 Jakub Jelinek <jakub@redhat.com>
4539
4540 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
4541 and INDEX_REGS the same as GENERAL_REGS.
4542 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
4543
2d3115eb
NB
45442002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
4545
bebc7e8b 4546 * tree.c (build_nonstandard_integer_type): Correct prototype.
2d3115eb 4547
ecbe845e
UW
45482002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
4549
bebc7e8b 4550 * config/s390/s390.md (movstrsico, movstrdix_64,
ecbe845e 4551 movstrsix_31): Remove, replace by ...
bebc7e8b 4552 (movstrdi_short, movstrsi_short, movstrdi_long,
ecbe845e
UW
4553 movstrsi_long): ... these. New.
4554 (movstrdi, movstrsi): Adapt.
4555
4556 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
bebc7e8b 4557 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
ecbe845e
UW
4558 Remove unnecessary CC clobber.
4559 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
4560 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
4561
4562 (divmoddi4): Don't partially initialize TImode register.
4563
0b32fca5
GK
45642002-01-29 Geoffrey Keating <geoffk@redhat.com>
4565
4566 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
4567
08ef5437
RH
45682002-01-29 Richard Henderson <rth@redhat.com>
4569
4570 * flow.c (print_rtl_and_abort): Remove.
4571 (print_rtl_and_abort_fcn): Remove.
4572 (verify_local_live_at_start): Use dump_bb instead.
4573 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
4574 (verify_wide_reg_1): Return 2 on mode test failure.
4575
8469e54e
NB
45762002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
4577
4578 PR c/3325, c/3326, c/2511, c/3347
4579 * c-decl.c (enum_decl_context): Remove BITFIELD.
4580 (grokdeclarator): Take bitfield width as an input.
4581 Ensure bitfields are given the correct type. Perform
4582 bitfield width validation with build_bitfield_integer_type
4583 rather than waiting for finish_struct.
4584 (grok_typename, grok_typename_in_parm_context, start_decl,
4585 push_parmdecl, grokfield, start_function): Update calls to
4586 grokdeclarator.
4587 (build_bitfield_integer_type): New function.
4588 (finish_struct): Move bitfield validation to grokdeclarator
bebc7e8b 4589 and build_bitfield_integer_type.
8469e54e
NB
4590 * tree.c (build_nonstandard_integer_type): New function.
4591 * tree.h (build_nonstandard_integer_type): New prototype.
4592objc:
4593 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
4594
ffdeea47
JJ
45952002-01-29 Jakub Jelinek <jakub@redhat.com>
4596
4597 PR other/1502:
4598 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
4599 don't ignore unrecognized -W* options.
4600 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
4601 * cpplib.h (cpp_handle_option): Adjust prototype.
4602 * c-decl.c (c_decode_options): Pass 0 as last argument to
4603 cpp_handle_option.
4604
4605 PR c/2896:
4606 * gcc.c (cpp_unique_options): Split from cpp_options.
4607 (cpp_options): Source cpp_unique_options.
4608 (default_compilers): Use cpp_unique_options instead of cpp_options
4609 when used together with cc1_options.
4610 (static_specs): Add cpp_unique_options.
4611 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
4612 when used together with cc1_options.
4613
1a275226
KH
46142002-01-29 Kazu Hirata <kazu@hxi.com>
4615
4616 * config/h8300/h8300-protos.h: Update the prototype of
4617 output_a_shift.
4618 * config/h8300/h8300.c (output_a_shift): Remove an unused
4619 argument 'insn'. Remove redundant code.
4620 * config/h8300/h8300.md: Adust to the new prototype of
4621 output_a_shift.
4622
a11d9dfc
KH
46232002-01-29 Kazu Hirata <kazu@hxi.com>
4624
4625 * config/h8300/h8300-protos.h: Update the prototypes of
4626 emit_a_rotate and expand_a_rotate.
4627 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
4628 first argument to 'enum rtx_code'.
4629 (expand_a_rotate): Likewise.
4630
871f73e3
KH
46312002-01-28 Kazu Hirata <kazu@hxi.com>
4632
4633 * config/h8300/h8300-protos.h: Update the prototype of
4634 output_simode_bld.
4635 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
4636 'log2'.
4637 * config/h8300/h8300.md: Adjust to the new prototype.
4638
5fc4b751
KH
46392002-01-28 Kazu Hirata <kazu@hxi.com>
4640
4641 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
4642 redundant code.
4643
2d67bd7b
JDA
46442002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
4645
4646 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
4647 is a fixed register before returning pic_offset_table_rtx.
4648 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
4649 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
4650
5a852b3e
JM
46512002-01-28 Jason Merrill <jason@redhat.com>
4652
6bb28965 4653 * dwarf2.h: Sync with src version.
5a852b3e 4654
3bca17dd
PK
46552002-01-28 Paul Koning <pkoning@equallogic.com>
4656
4657 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
4658 BT_FN_VOID_PTR_VAR.
4659 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
4660 * doc/extend.texi (__builtin_prefetch): Update documentation:
4661 first argument is now const void ptr.
4662
7dc3f8c0
KH
46632002-01-28 Kazu Hirata <kazu@hxi.com>
4664
4665 * config/h8300/h8300-protos.h: Remove an unused prototype.
4666
e83cb5f0
RZ
46672002-01-28 Roman Zippel <zippel@linux-m68k.org>
4668
4669 * toplev.c (lang_independent_init): Round up identifier size.
4670
5721cd84
RE
46712002-01-28 Richard Earnshaw <rearnsha@arm.com>
4672
4673 * config.gcc: Revert previous change.
4674
d534119e
AP
46752002-01-28 Andris Pavenis <pavenis@latnet.lv>
4676
4677 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
4678
5a721dab
RE
46792002-01-28 Richard Earnshaw <rearnsha@arm.com>
4680
4681 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
4682 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
4683 other non-elf netbsd config frags.
4684 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
4685 collect2 will does that.
4686 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
4687 shared-lib frobbing will work.
4688
da1775d6
KH
46892002-01-28 Kazu Hirata <kazu@hxi.com>
4690
4691 * config/h8300/h8300.h: Fix formatting.
4692 * config/h8300/h8300.md: Likewise.
4693
8f2e963b
LR
46942002-01-28 Loren J. Rittle <ljrittle@acm.org>
4695
4696 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
4697 the old, removed AAA_standards fix.
4698 * fixinc/fixincl.x: Rebuilt.
4699
fdae5767
HPN
47002002-01-28 Hans-Peter Nilsson <hp@axis.com>
4701
4702 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
4703 atexit call in crtbegin, hooked in after call to frame_dummy;
4704 register EH before registering __fini__start.
4705
2a2ecb63
AH
47062002-01-28 Aldy Hernandez <aldyh@redhat.com>
4707
4708 * config/rs6000/altivec.h: Remove spurious semicolons.
4709
8ed43adf
KH
47102002-01-27 Kazu Hirata <kazu@hxi.com>
4711
4712 * config/h8300/h8300.md: Replace dead bit extraction patterns
4713 with ones that work.
4714
917afb0c
RK
4715Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4716
4717 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
4718 if not STRICT_ALIGNMENT.
4719 * rtl.h (MEM_ALIGN): Likewise.
4720
f70a54cb
CR
47212002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
4722
4723 * doc/invoke.texi (-fdump-translation-unit): Revert this
4724 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
4725
d8fd4914
KH
47262002-01-27 Kazu Hirata <kazu@hxi.com>
4727
4728 * config/h8300/h8300.md (define_constants): New.
4729 (anonymous patterns) Use defined constants appropriately.
4730
15e0e275
KH
47312002-01-27 Kazu Hirata <kazu@hxi.com>
4732
4733 * config/h8300/h8300.c (function_arg): Remove redundant code.
4734
37a0f8a5
RH
47352002-01-26 Richard Henderson <rth@redhat.com>
4736
4737 * sched-deps.c (reg_pending_uses_head): New.
4738 (reg_pending_barrier): Rename from reg_pending_sets_all.
4739 (find_insn_list): Don't mark inline.
4740 (find_insn_mem_list): Remove.
4741 (add_dependence_list, add_dependence_list_and_free): New.
4742 (flush_pending_lists): Replace only_write param with separate
4743 for_read and for_write parameters. Update all callers. Use
4744 add_dependence_list_and_free.
4745 (sched_analyze_1): Do not add reg dependencies here; just set
4746 the pending bits. Use add_dependence_list.
4747 (sched_analyze_2): Likewise.
4748 (sched_analyze_insn): Replace schedule_barrier_found with
4749 reg_pending_barrier. Add all dependencies for pending reg
4750 uses, sets, and clobbers.
4751 (sched_analyze): Don't add reg dependencies for calls, just
4752 set pending bits. Use regs_invalidated_by_call. Treat
4753 sched_before_next_call as a normal list, not a fake insn.
4754 (init_deps): No funny init for sched_before_next_call.
4755 (free_deps): Free pending mems lists. Don't zero reg_last.
4756 (init_deps_global): Init reg_pending_uses.
4757 (finish_deps_global): Free it.
4758 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
4759 (find_insn_mem_list): Remove.
4760 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
4761 (propagate_deps): Use them. Zero temp mem lists.
4762
cea3bd3e
RH
47632002-01-26 Richard Henderson <rth@redhat.com>
4764
4765 * Makefile.in (CRTSTUFF_CFLAGS): New.
4766 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
4767 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
4768 crtstuff.c instead of alpha assembly version.
4769 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
4770 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
4771 not FORCE_{INIT,FINI}_SECTION_ALIGN.
4772 (__do_global_dtors_aux): Mark used.
4773 (frame_dummy, __do_global_ctors_aux): Mark used.
4774 (fini_dummy, init_dummy): Remove.
4775
4776 * config/alpha/crtbegin.asm: Remove file.
4777 * config/alpha/crtend.asm: Remove file.
4778 * config/alpha/t-crtbe: Remove file.
4779 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
4780 (LINK_EH_SPEC): New.
4781
4782 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
4783 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
4784 calling constructors.
4785 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
4786
4787 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
4788 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
4789 CRT_END_INIT_DUMMY hack.
4790 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
4791 FORCE_{INIT,FINI}_SECTION_ALIGN.
4792
4793 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
4794 FORCE_{INIT,FINI}_SECTION_ALIGN.
4795
4796 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
4797 invocation sequence.
4798 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
4799
4800 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
4801 (FORCE_CODE_SECTION_ALIGN): New.
4802
60ffa0e5
RH
48032002-01-26 Richard Henderson <rth@redhat.com>
4804
4805 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
4806
61334ebe
RH
48072002-01-26 Richard Henderson <rth@redhat.com>
4808
4809 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
4810 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
4811
1d788fb6
KH
48122002-01-26 Kazu Hirata <kazu@hxi.com>
4813
4814 * config/h8300/h8300.md: Remove bit extraction patterns that
4815 cannot be triggered.
4816 Restrict each bit extraction pattern to a variant on which the
4817 pattern is tested.
4818
87611f88
JM
48192002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
4820
4821 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
4822
cd74ec59
KH
48232002-01-26 Kazu Hirata <kazu@hxi.com>
4824
4825 * config/h8300/h8300.md: Remove bit test patterns that cannot
4826 be triggered.
4827 Restrict each bit test pattern to a variant on which the
4828 pattern is tested.
4829
93051e0f
KG
48302002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4831
4832 * builtins.c (expand_builtin_strncat): Remove redundant check for
4833 INTEGER_CST.
4834
216c995f
DB
48352002-01-25 David O'Brien <obrien@FreeBSD.org>
4836
4837 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
4838 default setting.
4839 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
4840 existing setting.
4841
33c7f925
GK
48422002-01-25 Geoffrey Keating <geoffk@redhat.com>
4843
4844 * dbxout.c (dbxout_init): Use assemble_name rather than just
4845 stripping off the first character.
4846 (dbxout_source_file): Likewise.
4847
6cd444b4
DD
48482002-01-25 DJ Delorie <dj@redhat.com>
4849
4850 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
4851 using rtx_equal_p, not by comparing pointers.
4852
751551d5
SE
48532002-01-25 Steve Ellcey <sje@cup.hp.com>
4854
4855 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
4856 for PIC_OFFSET_TABLE_REGNUM.
4857 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
4858
e564e618
DB
48592002-01-25 David O'Brien <obrien@FreeBSD.org>
4860
4861 * config.gcc (x86_64-*-freebsd*): New target.
4862 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
4863 value.
4864 (i[34567]86-*-freebsd*): Don't include svr4.h.
4865 * config/i386/freebsd64.h: New file.
4866
ff3aaf17
DR
48672002-01-25 Douglas B Rupp <rupp@gnat.com>
4868
4857d29d
DR
4869 * config/alpha/x-vms (version): Make static.
4870
4871 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
4872 in previous checkin.
4873
ff3aaf17
DR
4874 * Makefile.in (install-headers-cp): New target.
4875 * config.gcc (alpha-dec-*vms*): Install headers with
4876 install-headers-cp
4877
48d79c43
JH
4878Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
4879
4880 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
4881 avoid it's copies.
4882
995b5904
RK
4883Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4884
4885 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
4886 of compare_tree_int.
4887 (expand_builtin_strncat): Likewise.
4888 * c-decl.c (finish_struct): Use tree_low_cst.
4889 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
4890 * tree.c (compare_tree_int): Likewise.
4891
75eefe3f
UW
48922002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
4893
4894 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
4895 adjustments even if they are implemented by more than two insns.
4896
5a133afd
JH
4897Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
4898
995b5904 4899 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
5a133afd
JH
4900 * df.h (struct ref): Kill B.
4901 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
4902
4903 * basic-block.h (PROP_EQUAL_NOTES): New flag.
4904 * flow.c (propagate_one_insn): Use it.
4905 (mark_used_regs): Handle NIL.
4906
ead39bdf 49072002-01-25 Geoffrey Keating <geoffk@redhat.com>
3d8dd3c0
GK
4908
4909 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
4910 to help folding.
4911
01a2ccd0
DE
49122002-01-25 David Edelsohn <edelsohn@gnu.org>
4913
4914 * rs6000.md (prefetch): Make address V4SI mode so that the address
4915 is restricted to legitimate form for instruction.
4916
fd29f6ea
BW
49172002-01-25 Bob Wilson <bob.wilson@acm.org>
4918
4919 * doc/install.texi (xtensa-*-elf): New target.
4920 (xtensa-*-linux*): New target.
4921 * doc/contrib.texi: Add myself.
4922
55492b32
NC
49232002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
4924
4925 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
4926 purpose register to hold an SImode (or smaller) value.
4927
72c7c913
JJ
49282002-01-25 Jakub Jelinek <jakub@redhat.com>
4929
4930 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
4931 registry only.
4932 * crtstuff.c: Likewise.
4933
c4df4ceb
KH
49342002-01-25 Kazu Hirata <kazu@hxi.com>
4935
4936 * config/h8300/h8300.md (negation patterns): Tighten
4937 predicates to register_operand.
4938
70e531f5
AH
49392002-01-24 Aldy Hernandez <aldyh@redhat.com>
4940
3bca17dd
PK
4941 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
4942 mode, not Pmode.
70e531f5 4943
3bca17dd 4944 * builtins.c (expand_builtin_prefetch): Same.
70e531f5 4945
a4f76ef9
AO
49462002-01-24 Alexandre Oliva <aoliva@redhat.com>
4947
4948 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
4949 modes.
4950
9bf25b09
KH
49512002-01-24 Kazu Hirata <kazu@hxi.com>
4952
4953 * config/h8300/h8300.c (print_operand): Remove support for
4954 operand character 'A'.
4955 * config/h8300/h8300.md (three anonymous patterns): Replace
4956 operand character 'A' with either 'T' or 'S'.
4957
974af6a5
KH
49582002-01-24 Kazu Hirata <kazu@hxi.com>
4959
4960 * config/h8300/h8300.c (print_operand): Remove support for
4961 operand character 'U'.
4962
7a5bb7b8
AP
49632002-01-24 Andris Pavenis <pavenis@latnet.lv>
4964
3bca17dd 4965 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
7a5bb7b8 4966
92a4639e
NC
49672002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
4968
4969 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
4970 values to be assigned to the stack pointer.
4971
467cb2da
HP
49722002-01-14 Hartmut Penner <hpenner@de.ibm.com>
4973
bebc7e8b 4974 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
467cb2da
HP
4975 to const_double needs to be done right for big-endian systems.
4976
3b6cb920
JM
49772002-01-24 Jason Merrill <jason@redhat.com>
4978
b08dd119 4979 PR c++/2432
3b6cb920
JM
4980 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
4981 to can_throw_internal.
4982
f3077311
RH
49832002-01-23 Richard Henderson <rth@redhat.com>
4984
4985 * fold-const.c (fold): Change UINT_MAX test to check vs precision
4986 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
4987
e1d71275
AO
49882002-01-24 Alexandre Oliva <aoliva@redhat.com>
4989
4990 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
4991 (symGOT2reg): Use them, then set as GOT value as unchanging.
4992 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
4993 as a temporary, if possible.
4994 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
4995 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
4996
dc271dbe
KH
49972002-01-23 Kazu Hirata <kazu@hxi.com>
4998
4999 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
5000 accept to accept 0x80 as operands[2].
5001
1a9017f9
AO
50022002-01-24 Alexandre Oliva <aoliva@redhat.com>
5003
5004 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
5005
6932f033
RH
50062002-01-23 Richard Henderson <rth@redhat.com>
5007
5008 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
5009
709619d9
AH
50102002-01-23 Aldy Hernandez <aldyh@redhat.com>
5011
3bca17dd
PK
5012 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
5013 (parmlist_or_identifiers_1): Verify that only a parmlist follows
5014 an attribute.
709619d9 5015
3d709fd3
RH
50162002-01-23 Richard Henderson <rth@redhat.com>
5017
5018 * expr.c (move_by_pieces_1): Extend size before negation.
5019
88a446c0
RH
5020 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
5021 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
5022 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
5023 * config/m68k/t-m68kelf: Likewise.
5024
03984308
BW
50252002-01-23 Bob Wilson <bob.wilson@acm.org>
5026
5027 * config/xtensa/elf.h: New file.
5028 * config/xtensa/lib1funcs.asm: New file.
5029 * config/xtensa/lib2funcs.S: New file.
5030 * config/xtensa/linux.h: New file.
5031 * config/xtensa/t-xtensa: New file.
5032 * config/xtensa/xtensa-config.h: New file.
5033 * config/xtensa/xtensa-protos.h: New file.
5034 * config/xtensa/xtensa.c: New file.
5035 * config/xtensa/xtensa.h: New file.
5036 * config/xtensa/xtensa.md: New file.
5037 * config.gcc (xtensa-*-elf*): New target.
5038 (xtensa-*-linux*): New target.
5039 * cse.c (canon_hash): Compare rtx pointers instead of register
5040 numbers. This is required for the Xtensa port.
5041 * integrate.c (copy_insn_list): Handle case where the static
5042 chain is in memory and the memory address has to be copied to
5043 a register.
5044 * doc/invoke.texi (Option Summary): Add Xtensa options.
5045 (Xtensa Options): New node.
5046 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
5047
c3d5c3fa
ZW
50482002-01-23 Zack Weinberg <zack@codesourcery.com>
5049
a63bea75
ZW
5050 * diagnostic.c (internal_error): Do ICE suppression only
5051 when ENABLE_CHECKING is not defined.
5052
c3d5c3fa
ZW
5053 * c-typeck.c (require_complete_type): Return error_mark_node
5054 if type is error_mark_node.
5055
1398974c
JJ
50562002-01-23 Janis Johnson <janis187@us.ibm.com>
5057
5058 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
5059 -Os and issue a warning.
5060
807633e5
ZW
50612002-01-23 Zack Weinberg <zack@codesourcery.com>
5062
5063 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
5064 current (lack of) need for host configuration by hand.
5065
5066 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
5067 references. Documentation of some target macros moved from
5068 hostconfig.texi to tm.texi.
5069
cf8002d0
WC
50702002-01-23 Will Cohen <wcohen@redhat.com>
5071
5072 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
5073 defined.
5074
d1e76310
KH
50752002-01-23 Kazu Hirata <kazu@hxi.com>
5076
5077 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
5078 operand[3].
5079
b2115575
JM
50802002-01-23 Jason Merrill <jason@redhat.com>
5081
f893c16e
JM
5082 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
5083
b2115575
JM
5084 * function.c (assign_parms): Don't put args of inline functions
5085 into registers when not optimizing.
5086
6bacc7b0
NC
50872002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
5088
5089 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
5090 (prologue_use): New pattern.
5091 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
5092 preference to gen_rtx_USE.
5093 (thumb_expand_prologue): Use gen_prologue_use in preference to
5094 gen_rtx_USE.
5095 (thumb_expand_epilogue): Use gen_prologue_use in preference to
5096 gen_rtx_USE.
5097
a415f7bc
HPN
50982002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
5099
5100 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
5101
5372b3fb
NB
51022002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
5103
5104 PR c/3504
5105 * doc/extend.texi: Correct documentation of __alignof__.
5106
bd571ffc
ZW
51072002-01-22 Zack Weinberg <zack@codesourcery.com>
5108
5109 * params.h: Rename arguments of DEFPARAM so that it will be
5110 recognized as a translation keyword.
5111
333c8841
AH
51122002-01-22 Aldy Hernandez <aldyh@redhat.com>
5113
bd571ffc
ZW
5114 * extend.texi: Document altivec functions.
5115 Fix N-bit adjectives in X86 builtin documentation.
333c8841 5116
38979c65
AO
51172002-01-22 Alexandre Oliva <aoliva@redhat.com>
5118
5119 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
5120 auto_inc_dec values.
5121
7458a9f0
RE
51222002-01-22 Richard Earnshaw <rearnsha@arm.com>
5123
5124 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
5125 after backslash.
5126 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
5127
129bd0c4
AO
51282002-01-22 Alexandre Oliva <aoliva@redhat.com>
5129
5130 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
5131
8b9b74a9
RH
51322002-01-22 Richard Henderson <rth@redhat.com>
5133
5134 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
5135 copy_insn not copy_rtx.
5136
d0c9db30
AM
51372002-01-23 Alan Modra <amodra@bigpond.net.au>
5138
5139 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
5140 "nonzero" as that might add "1" bits. Ensure "constop" is
5141 properly sign extened.
5142 (force_to_mode): Tweak for sign extended constop.
5143
1e7e480e
RH
51442002-01-22 Richard Henderson <rth@redhat.com>
5145
5146 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
5147 for_each_rtx instead of assuming we're already looking at the MEM.
5148 (split_small_symbolic_mem_operand): Likewise.
5149 * config/alpha/alpha.h (PREDICATE_CODES): Update.
5150 * config/alpha/alpha.md (small symbolic memory splitters): Update.
5151
51522002-01-22 Richard Henderson <rth@redhat.com>
2e271932
RH
5153
5154 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
5155 sequence number for the literal.
5156 (divmoddi_internal_er): Likewise.
5157
b7f2fb96
CR
51582002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
5159
5160 PR java/4972
5161 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
5162 in LIBICONV variable.
5163 * configure: Regenerated.
5164
f66a0046
KW
51652002-01-22 Krister Walfridsson <cato@df.lth.se>
5166
5167 * dependence.c (build_def_use): Remove array_idx.
5168
e3b0efd1
KW
5169 * dwarfout.c (last_filename): Remove.
5170 (output_compile_unit_die): Remove last_filename.
5171
d8086cbb
RS
51722002-01-22 Roger Sayle <roger@eyesopen.com>
5173 Richard Henderson <rth@redhat.com>
5174
5175 PR opt/3640
5176 * fold-const.c (fold): Optimize unsigned comparisons against
5177 UINT_MAX (and similar unsigned constants).
5178
e8d52ba0
JJ
51792002-01-22 Janis Johnson <janis187@us.ibm.com>
5180
d8086cbb 5181 * Makefile.in (loop.o): Depend on OPTABS_H.
1398974c 5182 * loop.c (emit_prefetch_instructions): Check the prefetch operand
d8086cbb 5183 against the predicate.
11303d15 5184
e8d52ba0
JJ
5185 PR target/5379
5186 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
5187 for the address operand.
5188
cc7b420e
RH
51892002-01-22 Richard Henderson <rth@redhat.com>
5190
5191 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
5192
816e265a
CR
51932002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
5194
5195 PR other/5450
cc7b420e
RH
5196 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
5197 preprocessor flags.
816e265a 5198
7c884404
JT
51992002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
5200
5201 * config.gcc (x86_64-*-netbsd*): New target.
5202 * config/i386/netbsd64.h: New file.
5203
2b672c08
AH
52042002-01-22 Aldy Hernandez <aldyh@redhat.com>
5205
d8086cbb 5206 * regrename.c (kill_value): Fix typo.
2b672c08
AH
5207
52082002-01-22 Aldy Hernandez <aldyh@redhat.com>
5209
d8086cbb 5210 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
2b672c08 5211
d8086cbb 5212 * config/rs6000/rs6000.h: Same.
2b672c08 5213
d8086cbb
RS
5214 * function.c (instantiate_virtual_regs): Remove
5215 STARTING_FRAME_PHASE.
5216 (assign_stack_local_1): Same.
5217 Calculate frame phase.
2b672c08 5218
4b02997f
NC
52192002-01-22 Nick Clifton <nickc@redhat.com>
5220
5221 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
5222 variable declaration to outer scope in order to simplify
5223 future extensions.
5224 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
5225 arm_hard_regno_mode_ok.
5226 * config/arm/arm-protos.h: Add a prototype for
5227 arm_hard_regno_mode_ok.
5228 * config/arm/arm.c (soft_df_operand): Remove now redundant
5229 check for DImode values using IP_REGNUM.
5230 (nonimmediate_soft_df_operand): Remove now redundant check for
5231 DImode values using IP_REGNUM.
5232 (arm_hard_regno_mode_ok): New function. New check: make sure
5233 that DImode values are not stored in IP_REGNUM.
c14a3a45
NC
5234
5235 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
5236 note with a USE.
5237 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
5238
8a827ab2
JM
52392002-01-22 Jason Merrill <jason@redhat.com>
5240
5241 * c-semantics.c (genrtl_compound_stmt): Only check nesting
5242 consistency if this COMPOUND_STMT is scoped.
5243
cf403648
KH
52442002-01-22 Kazu Hirata <kazu@hxi.com>
5245
5246 * predict.c: Fix formatting.
5247 * print-tree.c: Likewise.
5248 * protoize.c: Likewise.
5249 * real.h: Likewise.
5250 * rtl.h: Likewise.
5251 * sbitmap.h: Likewise.
5252 * scan.c: Likewise.
5253 * sched-deps.c: Likewise.
5254 * sched-vis.c: Likewise.
5255 * sdbout.c: Likewise.
5256 * sibcall.c: Likewise.
5257 * ssa.c: Likewise.
5258 * ssa-ccp.c: Likewise.
5259 * ssa-dce.c: Likewise.
5260 * stmt.c: Likewise.
5261 * stor-layout.c: Likewise.
5262 * system.h: Likewise.
5263
aea9695c
RK
5264Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5265
a8765ae7
RK
5266 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
5267 if fits in bounds of base type.
5268
aea9695c
RK
5269 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
5270 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
5271 (add_bound_info, default): If can't find a context, make a
5272 SAVE_EXPR.
5273 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
5274
58bf601b
HPN
52752002-01-22 Hans-Peter Nilsson <hp@axis.com>
5276
5277 * c-typeck.c (parser_build_binary_op): If result from
5278 build_binary_op is ERROR_MARK just return error_mark_node without
5279 further processing.
5280
f982f805
JT
52812002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
5282
5283 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
5284 Split a.out-specific bits into...
5285 * config/netbsd-aout.h: ...this.
5286 * config/netbsd-elf.h: New file.
5287 * config/alpha/netbsd-elf.h: Remove.
5288 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
5289 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
bd571ffc 5290 (STARTFILE_SPEC): Remove redundant definition.
f982f805
JT
5291 (ENDFILE_SPEC): Likewise.
5292 (LINK_SPEC): Likewise.
5293 (CPP_SPEC): Likewise.
5294 (ASM_SPEC): Likewise.
5295 (LIB_SPEC): Likewise.
5296 (SWITCH_TAKES_ARG): Likewise.
5297 (TARGET_MEM_FUNCTIONS): Likewise.
5298 (CPP_PREDEFINES): Redefine.
5299 (ASM_FINAL_SPEC): Remove redefinition.
5300 (ASM_COMMENT_START): Redefine.
5301 (FUNCTION_PROFILER): Define.
5302 (TARGET_VERSION): Redefine.
5303 Comment and formatting cleanup.
5304 * config/i386/netbsd.h: Include <netbsd-aout.h>.
5305 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
5306 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
5307 big- or little-endian.
5308 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
5309 * config.gcc (*-*-netbsd*): Add definitions common to all
5310 NetBSD configs.
5311 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
5312 gnu_ld definitions. Add netbsd-elf.h to and remove
5313 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
5314 tmake_file, and don't lose previous tmake_file contents.
5315 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
5316 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
5317 gnu_ld definitions. Add netbsd-elf.h to tm_file.
5318 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
5319 (mipsel-*-netbsd*): Rename this to...
5320 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
5321 mips/little.h to tm_file for mips*el-*.
5322 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
5323 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
5324 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
5325
2e396476
JDA
53262002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
5327
5328 * pa-protos.h (reg_before_reload_operand): New function prototype.
5329 * pa.c (reg_before_reload_operand): New function implementation.
5330 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
5331 contraints to "*m".
5332
3b5708e7
FS
53332002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5334
5335 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
5336
85e79f96
JDA
53372002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
5338
5339 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
5340 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
5341 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
5342 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
5343 (ENDFILE_SPEC): Undefine.
5344 (STARTFILE_SPEC): Redefine for PA.
5345
38abadee
FS
53462002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5347
5348 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
5349
94f1d97c
DJ
53502002-01-21 Daniel Jacobowitz <drow@mvista.com>
5351
5352 * config.gcc: Add entries to supported PowerPC --with-cpu
5353 types.
5354
0333394e
JJ
53552002-01-21 Jakub Jelinek <jakub@redhat.com>
5356
5357 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
5358 true for 64-bit mode only SSE registers in 32-bit mode.
5359
e9d1b155
KH
53602002-01-21 Kazu Hirata <kazu@hxi.com>
5361
5362 * unwind-dw2.c: Fix formatting.
5363 * unwind-dw2-fde.c: Likewise.
5364 * unwind-dw2-fde.h: Likewise.
5365 * unwind-pe.h: Likewise.
5366 * varasm.c: Likewise.
5367 * varray.h: Likewise.
5368
07338cf8
HPN
53692002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
5370
5371 Remove workaround for register stack overwrite bug in mmix.
5372 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
5373 support for TARGET_REG_STACK_FILL_BUG.
5374 * config/mmix/mmix.h: Remove member has_call_without_parameters.
5375 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
5376 Delete.
5377 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
5378 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
5379 -mno-reg-stack-fill-bug-workaround.
5380 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
5381 machine member has_call_without_parameters.
5382 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
5383 -mreg-stack-fill-bug-workaround and
5384 -mno-reg-stack-fill-bug-workaround.
5385 (MMIX Options): Ditto.
5386
7192cbf1
KH
53872002-01-21 Kazu Hirata <kazu@hxi.com>
5388
5389 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
5390 as appropriate.
5391 Remove redundant code.
5392
d1552d7b
JM
53932002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
5394
5395 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
5396 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
5397 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
5398 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
5399 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
5400 out target macro definitions and non-target-specific comments
5401 mostly taken from old versions of the manual.
5402
ed168e45
KH
54032002-01-20 Kazu Hirata <kazu@hxi.com>
5404
5405 * config/h8300/h8300.h: Fix comment formatting.
5406 * config/ia64/aix.h: Likewise.
5407 * config/ia64/ia64-protos.h: Likewise.
5408 * config/ia64/ia64.c: Likewise.
5409 * config/ia64/ia64.h: Likewise.
5410 * config/ia64/ia64intrin.h: Likewise.
5411 * config/ia64/linux.h: Likewise.
5412 * config/ia64/unwind-aix.c: Likewise.
5413 * config/ia64/unwind-ia64.c: Likewise.
5414
005e3e05
KH
54152002-01-20 Kazu Hirata <kazu@hxi.com>
5416
5417 * config/h8300/h8300.c: Revise comments about shift code.
5418
64bead4c
KH
54192002-01-20 Kazu Hirata <kazu@hxi.com>
5420
5421 * config/h8300/h8300.c (function_arg): Update a comment.
5422
ed863595
KH
54232002-01-20 Kazu Hirata <kazu@hxi.com>
5424
5425 * config/h8300/h8300.md: Update the comments at the beginning
5426 of the file.
5427
5904dc87
KH
54282002-01-20 Kazu Hirata <kazu@hxi.com>
5429
5430 * config/i370/i370.c: Fix comment formatting.
5431 * config/i370/i370.h: Likewise.
5432 * config/i370/i370.md: Likewise.
5433 * config/i370/linux.h: Likewise.
5434
9702143f
RK
5435Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5436
cbafacd1
RK
5437 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
5438
9702143f
RK
5439 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
5440 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
5441 in incomplete case.
5442
6b6996b8
GS
54432002-01-20 Graham Stott <grahams@redhat.com>
5444
5445 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
5446
eab854f6
JDA
54472002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
5448
5449 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
5450
5b029315
TR
54512002-01-19 Tom Rix <trix@redhat.com>
5452
5453 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
5454
1d690052
AH
54552002-01-18 Aldy Hernandez <aldyh@redhat.com>
5456
d8086cbb 5457 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1d690052 5458
d8086cbb
RS
5459 * function.c (assign_stack_local_1): Adjust x_frame_offset with
5460 STARTING_FRAME_PHASE.
5461 (STARTING_FRAME_PHASE): New.
5462 (instantiate_virtual_regs): Check saneness of
5463 STARTING_FRAME_PHASE.
1d690052 5464
d8086cbb 5465 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1d690052 5466
4dd8c093
AO
54672002-01-19 Alexandre Oliva <aoliva@redhat.com>
5468
5469 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
5470
6f2a28d7
CR
54712002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
5472
5473 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
5474 be used for bootstrapping GCC 3.0.
5475
8763a465
KH
54762002-01-18 Kazu Hirata <kazu@hxi.com>
5477
5478 * config/h8300/h8300.md: Fix an insn length.
5479
3ef42a0c
KH
54802002-01-18 Kazu Hirata <kazu@hxi.com>
5481
5482 * bitmap.h: Fix comment formatting.
5483 * combine.c: Likewise.
5484 * cppfiles.c: Likewise.
5485 * c-pragma.h: Likewise.
5486 * c-typeck.c: Likewise.
5487 * df.c: Likewise.
5488 * dwarf2out.c: Likewise.
5489 * function.c: Likewise.
5490 * gcc.c: Likewise.
5491 * genattrtab.c: Likewise.
5492 * gthr-win32.h: Likewise.
5493 * haifa-sched.c: Likewise.
5494 * predict.c: Likewise.
5495 * rtlanal.c: Likewise.
5496 * rtl.h: Likewise.
5497 * unwind-dw2-fde.h: Likewise.
5498 * unwind-pe.h: Likewise.
5499 * vmsdbgout.c: Likewise.
5500
dd4dc3cd
RK
5501Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5502
5503 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
5504 if type_required and passed decl.
5505
5fb4cf24
AH
55062002-01-17 Aldy Hernandez <aldyh@redhat.com>
5507
d8086cbb
RS
5508 * config.gcc (cpu_type): Include altivec.h in powerpc
5509 extra_headers.
5510 Same for darwin.
5fb4cf24 5511
d8086cbb 5512 * config/rs6000/altivec.h: New.
5fb4cf24 5513
2705baf5
DE
55142002-01-17 David Edelsohn <edelsohn@gnu.org>
5515
5516 * doc/install.texi (*-ibm-aix*): Update assembler and exception
5517 handling information.
5518 * doc/trouble.texi (Interoperation): Add libstdc++ information
5519 for AIX.
5520 (Misunderstandings): Add template instantiation and static template
5521 member information for AIX.
5522
dbd680e1
JM
55232002-01-17 Jason Merrill <jason@redhat.com>
5524
821adc5e
JM
5525 * dbxout.c (dbxout_type): Support const and volatile.
5526
dbd680e1
JM
5527 * except.c (add_partial_entry): Remove backwards compatibility code.
5528 (end_protect_partials): Likewise.
5529
d0e82870
JJ
55302002-01-17 Jakub Jelinek <jakub@redhat.com>
5531
5532 * config/ia64/ia64.md (prologue_use): New.
5533 * config/ia64/ia64.c (ia64_expand_prologue): Use
5534 gen_prologue_use instead of gen_rtx_USE.
5535 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
5536 as CODE_FOR_pred_rel_mutex.
5537 (ia64_sched_reorder2): Likewise.
5538
f9f45c65
EC
55392002-01-16 Eric Christopher <echristo@redhat.com>
5540
5541 * config/mips/r3900.h: Reformat.
5542 (SUBTARGET_CPP_SIZE_SPEC): Remove.
5543 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
5544 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
5545 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
5546 * config/mips/t-elf: Remove mips3 multilib.
5547
c66c8b0e
L
55482002-01-16 H.J. Lu <hjl@gnu.org>
5549
5550 * config/mips/linux.h: Include "mips/abi64.h".
5551
5f083b72
L
55522002-01-16 H.J. Lu <hjl@gnu.org>
5553
5554 * config/mips/t-linux: New.
5555
5556 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
5557
5558 * config/mips/linux.h: Don't include "gofast.h".
5559 (INIT_SUBTARGET_OPTABS): Removed.
5560
af3c90a6
KH
55612002-01-16 Kazu Hirata <kazu@hxi.com>
5562
5563 * config/h8300/h8300-protos.h: Replace emit_a_shift with
5564 output_a_shift.
5565 * config/h8300/h8300.c: Likewise.
5566 * config/h8300/h8300.md: Likewise.
5567
a1bf0a16
KH
55682002-01-16 Kazu Hirata <kazu@hxi.com>
5569
5570 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
5571 spaces after an opcode name.
5572 (pushqi1_h8300hs): Likewise.
5573 (pushhi1_h8300hs): Likewise.
5574
88ab0d1c
KH
55752002-01-16 Kazu Hirata <kazu@hxi.com>
5576
5577 * doc/extend.texi: Replace "option" with "attribute"
5578 appropriately.
5579
51c561e3
JJ
55802002-01-16 Jakub Jelinek <jakub@redhat.com>
5581
5582 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
5583 (and:DI () (const_int -8)).
5584 (split_small_symbolic_mem_operand): Split
5585 (mem (and:DI () (const_int -8)).
5586
b8c1a6b8
JJ
55872002-01-16 Jakub Jelinek <jakub@redhat.com>
5588
5589 PR target/5309:
d8086cbb 5590 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
b8c1a6b8
JJ
5591 same way as TYPE_IMUL.
5592 (ultrasparc_sched_reorder): Likewise.
5593 * config/sparc/sparc.md (type): Add comment to update
5594 ultrasparc_sched_reorder when making changes.
5595
1e4e4df2
KH
55962002-01-16 Kazu Hirata <kazu@hxi.com>
5597
5598 * doc/invoke.texi: Change the dump file name of block
5599 reordering pass from 28.bbro to 29.bbro.
5600 Mention -dk option.
5601
14d920c0
JH
5602Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
5603
5604 * i386.md (minsf splitter): Fix pasto.
5605
2e99323f
NC
56062002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
5607
5608 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
5609 to frame pointer initialisation instruction.
5610 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
5611 initialisation instruction.
ab8081c1
NC
5612 (soft_df_operand): Do not accept the IP register.
5613 (nonimmediate_soft_df_operand): Do not accept the IP register.
2e99323f 5614
c4031a04
JJ
56152002-01-16 Jakub Jelinek <jakub@redhat.com>
5616
5617 PR target/5357:
5618 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
5619 MASK_V8 being both set.
5620
44b8152b
UW
56212002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
5622
5623 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
5624 insn for GOT register; add REG_MAYBE_DEAD notes instead.
5625 config/s390/s390.md (call, call_value): Add GOT register to
5626 CALL_INSN_FUNCTION_USAGE where needed.
5627 (call_exp, call_value_exp): New.
5628
1d6e90ac
NC
56292002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
5630
5631 * config/arm/arm.c: General formatting tidy up.
5632
56332002-01-16 Graham Stott <grahams@redhat.com>
60e8b9f0
GS
5634
5635 * calls.c (try_to_integrate): Use "(size_t)" intermediate
5636 cast and when casting an integer literal to "rtx" pointer.
5637 (expand_call): Likewise.
5638 * flow.c (try_pre_increment): Likewise.
5639 (find_use_as_address): Likewise.
5640 * integrate.c (expand_iline_function): Likewise.
5641 * regmove.c (try_auto_increment): Likewise.
5642
1d6e90ac 56432002-01-16 Graham Stott <grahams@redhat.com>
7b25b076
GS
5644
5645 * sched-rgn.c (passed): Use sbitmap_free.
5646 (header): Likewise.
5647 (inner): Likewise.
5648 (in_queue): Likewise.
5649 (in_stack): Likewise.
5650
31fce3c4
EC
56512002-01-15 Eric Christopher <echristo@redhat.com>
5652
5653 * flow.c (propagate_one_insn): Change to use fatal_insn.
5654
c99d986a
KH
56552002-01-15 Kazu Hirata <kazu@hxi.com>
5656
5657 * expmed.c (extract_fixed_bit_field): Remove unused code.
5658 * system.h: Poison SLOW_ZERO_EXTEND.
5659 * doc/tm.texi: Remove.
5660 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
5661 * config/arm/arm.h: Likewise.
5662 * config/avr/avr.h: Likewise.
5663 * config/clipper/clipper.h: Likewise.
5664 * config/convex/convex.h: Likewise.
5665 * config/d30v/d30v.h: Likewise.
5666 * config/dsp16xx/dsp16xx.h: Likewise.
5667 * config/elxsi/elxsi.h: Likewise.
5668 * config/fr30/fr30.h: Likewise.
5669 * config/h8300/h8300.h: Likewise.
5670 * config/i370/i370.h: Likewise.
5671 * config/i386/i386.h: Likewise.
5672 * config/m68k/m68k.h: Likewise.
5673 * config/mips/mips.h: Likewise.
5674 * config/ns32k/ns32k.h: Likewise.
5675 * config/pdp11/pdp11.h: Likewise.
5676 * config/pj/pj.h: Likewise.
5677 * config/s390/s390.h: Likewise.
5678 * config/sh/sh.h: Likewise.
5679 * config/stormy16/stormy16.h: Likewise.
5680 * config/v850/v850.h: Likewise.
5681 * config/vax/vax.h: Likewise.
5682 * config/we32k/we32k.h: Likewise.
5683
acfab996
AH
56842002-01-15 Aldy Hernandez <aldyh@redhat.com>
5685
d8086cbb
RS
5686 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
5687 (altivec_lvsl): Change constraint to b.
5688 (altivec_lvsr): Same.
5689 (altivec_lvebx): Same.
5690 (altivec_lvehx): Same.
5691 (altivec_lvewx): Same.
5692 (altivec_lvxl): Same.
5693 (altivec_lvx): Same.
5694 (altivec_stvx): Add parallel.
5695 (altivec_stvxl): Same.
5696 (altivec_stvehx): Same.
5697 (altivec_stvebx): Same.
5698 (altivec_stvebx): Same.
acfab996 5699
5e505bc9
AH
57002002-01-15 Aldy Hernandez <aldyh@redhat.com>
5701
d8086cbb 5702 * config.gcc: Change altivec.h to altivec-defs.h.
5e505bc9 5703
d8086cbb 5704 * config/rs6000/altivec.h: Delete.
5e505bc9 5705
d8086cbb 5706 * config/rs6000/altivec-defs.h: Add.
5e505bc9 5707
5c41fdfb
JDA
57082002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
5709
5710 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
5711 and UMOD modes.
5712
5713 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
5714 less than or equal to eight bytes.
5715
5716 * vax.md (andsi3): Remove constraints and change SET destination
5717 operand type to nonimmediate_operand.
5718 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
5719 when it is a CONST_INT.
5720
de097a2d
JM
57212002-01-15 Jason Merrill <jason@redhat.com>
5722
5723 * c-common.def (FILE_STMT): New code.
5724 * c-common.c (statement_code_p): It's a statement.
5725 * c-common.h (stmt_tree_s): Add x_last_filename.
5726 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
5727 (last_expr_filename): New macro.
5728 * c-semantics.c (begin_stmt_tree): Initialize it.
5729 (add_stmt): If the filename changed, also insert a
5730 FILE_STMT.
5731 (expand_stmt): Handle seeing one.
5732
4a913dd6
EC
57332002-01-15 Eric Christopher <echristo@redhat.com>
5734
5735 * flow.c (propagate_one_insn): Add error message and print out
5736 insn for debugging.
5737
006946e4
JM
57382002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
5739
5740 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
5741 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
5742 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
5743 TRAMPOLINE_ALIGNMENT.
5744 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
5745 to be in bits.
5746 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
5747 PCC_BITFIELD_TYPE_MATTERS.
5748 * config/interix.h (STDC_VALUE): Remove. Use
5749 STDC_0_IN_SYSTEM_HEADERS.
5750 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
5751 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
5752 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
5753
751a1458
CR
57542002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
5755
5756 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
5757 not work on this platform currently.
5758
57771fe8
JM
57592002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
5760
5761 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
5762 readonly_warning in _().
5763
0e83ceb1 57642002-01-15 Douglas B Rupp <rupp@gnat.com>
9a52433e 5765
0e83ceb1 5766 * gcc.c (delete_if_ordinary): Backout previous change.
9a52433e 5767
8e2e89f7
KH
57682002-01-15 Kazu Hirata <kazu@hxi.com>
5769
0e83ceb1
DR
5770 * config/h8300/h8300.c (print_operand): Remove support for
5771 unused operand characters.
5772
8e2e89f7
KH
5773 * read-rtl.c: Fix formatting.
5774 * real.c: Likewise.
5775 * recog.c: Likewise.
5776 * regclass.c: Likewise.
5777 * regmove.c: Likewise.
5778 * reg-stack.c: Likewise.
5779 * reload1.c: Likewise.
5780 * rtlanal.c: Likewise.
5781
b531087a
KH
57822002-01-15 Kazu Hirata <kazu@hxi.com>
5783
5784 * config/i386/i386.c: Fix formatting.
5785
7c94ce7f
JJ
57862002-01-15 Jakub Jelinek <jakub@redhat.com>
5787
5788 * c-typeck.c (process_init_element): Don't save_expr
5789 COMPOUND_LITERAL_EXPR if just its initializer will be used.
5790
6041bf2f
DE
57912002-01-15 David Edelsohn <edelsohn@gnu.org>
5792
5793 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
5794 emit optional traceback table if optimize_size or TARGET_ELF.
5795 * config/rs6000/rs6000.md (prefetch): New.
5796
8559c8c0
AJ
57972002-01-15 Andreas Jaeger <aj@suse.de>
5798
5799 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
5800
70f122f2
KH
58012002-01-15 Kazu Hirata <kazu@hxi.com>
5802
5803 * mips-tfile.c: Fix formatting.
5804
6a7b4ca6
JH
5805Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
5806
5807 * unroll.c (final_reg_note_copy): Fix previous commit.
5808
e7afe229
KH
58092002-01-14 Kazu Hirata <kazu@hxi.com>
5810
5811 * config/h8300/h8300-protos.h: Remove the prototype for
5812 eq_operator.
5813 * config/h8300/h8300.c (eq_operator): Remove.
5814
7d378549
RH
58152002-01-14 Richard Henderson <rth@redhat.com>
5816
5817 * config/i386/i386.md (prefetch): Tidy.
5818 (prefetch_3dnow): Fix locality operand.
5819
ab093b81
RH
58202002-01-14 Richard Henderson <rth@redhat.com>
5821
5822 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
5823 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
5824
d300f51f
HPN
58252002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
5826
5827 * reload1.c (reload_combine): Pass reg_sum replacement through
5828 copy_rtx in loop performing multiple changes.
5829
655dd289
JJ
58302002-01-14 Jakub Jelinek <jakub@redhat.com>
5831
5832 * except.c (remove_unreachable_regions): New.
5833 (free_eh_status): Clear exception_handler_labels.
5834 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
5835 (find_exception_handler_labels): Don't add the same label more than
5836 once.
5837 (remove_exception_handler_label): Don't die if
5838 find_exception_handler_labels hasn't been called for the current
5839 function yet.
5840
1fba46a7
JH
5841Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
5842
5843 * toplev.c (rest_of_compilation): Rebuild jump labels after
5844 gcse.
5845
0975678f
JM
58462002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
5847
5848 * doc/extend.texi: Move documentation of X86 built-in functions
5849 here.
5850 * doc/invoke.texi: From here.
5851 * doc/sourcebuild.texi: Document location of documentation for
5852 machine built-in functions.
5853
969815c7
CF
58542002-01-13 Christopher Faylor <cgf@redhat.com>
5855
5856 * cppfiles.c (TEST_THRESHOLD): New macro.
5857 (SHOULD_MMAP): Ditto.
5858 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
5859 be used.
5860
494c950b
JH
5861Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
5862
5863 * unroll.c (final_reg_note_copy): Properly handle
5864 REG_LABEL
5865 (unroll_loops): Fix LOOP_CONDITION heuristics.
5866
69a0611f
GK
58672002-01-14 Geoffrey Keating <geoffk@redhat.com>
5868
5869 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
5870 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
5871
b90e45ae
JH
5872Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
5873
5874 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
5875 threaded loop.
5876
8377288b
TR
58772002-01-14 Tom Rix <trix@redhat.com>
5878
5879 * config/rs6000/rs6000.md: Fix typo with sradi.
5880
9f37ccb1
UW
58812002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
5882
5883 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
5884 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
5885 (clrstrdi, clrstrsi): Adapt callers.
5886
5887 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
5888
8559c8c0 5889 (movti splitter): Never use register 0 as base register.
9f37ccb1 5890
6c2d03d0
HP
58912002-01-14 Hartmut Penner <hpenner@de.ibm.com>
5892
8559c8c0
AJ
5893 * combine.c (simplify_shift_const): Always generate new rtx
5894 for shift expression instead of reusing given expression.
6c2d03d0 5895
d3e98208
RK
5896Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5897
5898 * config/alpha/alpha.c (alpha_expand_mov): Don't call
5899 alpha_legitimize_address unless mode is Pmode.
5900
9f339dde
GK
59012002-01-13 Geoffrey Keating <geoffk@redhat.com>
5902
5903 * doc/md.texi (Modifiers): Document the '*' constraint for the
5904 user.
5905
5906 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
5907 * doc/extend.texi (Function Attributes): 'interrupt' is valid
5908 for xstormy16 too.
5909
02a10130
RH
59102002-01-13 Richard Henderson <rth@redhat.com>
5911
5912 * reload.c (find_reloads): Use a hard reg destination as reload reg
5913 for an input reload of the source.
5914
61d47787
GP
59152002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5916
5917 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
5918 more generic.
5919
f0df8029
DR
5920Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
5921
5922 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
5923 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
5924
d2a37256
DR
5925 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
5926
a9e8a5ee
RK
5927Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5928
5929 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
5930
bc06712d
TR
59312002-01-12 Tom Rix <trix@redhat.com>
5932
8559c8c0 5933 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
bc06712d
TR
5934 TARGET_POWERPC64.
5935
7cbe9bb7
RH
59362002-01-12 Richard Henderson <rth@redhat.com>
5937
38b29e64
RH
5938 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
5939
58605ba0
RH
5940 * doc/invoke.texi: Update Alpha options.
5941
7cbe9bb7
RH
5942 * doc/invoke.texi: Update i386 built-in function lists.
5943
9d560860
JH
5944Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
5945
5946 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
5947 referencing outside.
5948
bb93b973
RK
5949Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5950
5951 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
5952 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
5953 offsets, and change line folding.
5954 * optabs.c (expand_binop): Remove warnings.
5955 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
8559c8c0 5956
f9f6b7df
GS
59572002-01-12 Graham Stott <grahams@redhat.com>
5958
5959 * attribs.c (handle_deprecated_attribute): constify WHAT.
5960 * diagnostic.c (warn_deprecated_use): Add braces, fixes
5961 dangling else warning and constify WHAT.
5962 * except.h (struct function, struct inline_remap): Move
5963 struct tag forward defs before all prototypes.
5964 (duplicate_eh_regions): Whitespace.
5965
4a692617
NC
59662002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
5967
5968 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
5969 MODE_BASE_REG_CLASS.
5970 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
5971
e37af218
RH
59722002-01-12 Richard Henderson <rth@redhat.com>
5973
5974 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
5975 (ix86_expand_vector_move): New.
5976 (bdesc_2arg): Remove andps, andnps, orps, xorps.
5977 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
5978 Remove old prefetch builtins. Special case the logicals removed above.
5979 (ix86_expand_builtin): Likewise.
5980 (safe_vector_operand): Use V4SFmode, not TImode.
5981 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
5982 (ix86_expand_timode_binop_builtin): New.
5983 * config/i386/i386-protos.h: Update.
5984 * config/i386/i386.h (enum ix86_builtins): Update.
5985 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
5986 Use ix86_expand_vector_move in vector move expanders.
5987 (movti_internal, movti_rex64): Add xorps alternative.
5988 (sse_clrv4sf): Rename and adjust from sse_clrti.
5989 (prefetch): Don't work so hard.
5990 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
5991 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
5992 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
5993
6f1a6c5b
RH
59942002-01-11 Richard Henderson <rth@redhat.com>
5995
5996 * config/i386/mmintrin.h: New file.
5997 * config/i386/xmmintrin.h: New file.
5998 * config.gcc (i?86-*-*): Add extra_headers.
5999 * simplify-rtx.c (simplify_unary_operation): Handle saturating
6000 truncation codes.
6001 (simplify_binary_operation): Handle saturating arithmetic codes.
6002 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
6003 not the lowpart subreg.
6004 (ix86_expand_builtin): Return a TImode dummy register instead of 0
6005 on error.
6006 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
6007
cdb574d3
MH
60082002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6009
6010 * conflict.c (conflict_graph_compute): Free regsets when finished.
6011 * ssa.c (compute_coalesced_reg_partition): Likewise.
8559c8c0 6012
cf11ac55
HB
60132002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6014
6015 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
6016 every where we allocate a register.
6017
76ac938b
MH
60182002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6019
6020 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
6021 * lcm.c (compute_earliest, compute_farthest): Likewise.
6022
a84b4898
JJ
60232002-01-11 Janis Johnson <janis187@us.ibm.com>
6024
6025 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
6026
aaef1c12
JJ
60272002-01-11 Janis Johnson <janis187@us.ibm.com>
6028
6029 * doc/rtl.texi (Insns): Fix 2 typos.
6030
5d22c1a5
JM
60312002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6032
6033 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
6034 options. Use @table @gcctabopt for MMIX options. Add index
6035 entries for MMIX options. Start new paragraph with first
6036 heading of the machine-dependent options.
6037
3e92902c
CR
60382002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
6039
6040 PR other/5299
6041 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
6042 * combine.c (force_to_mode): Same.
6043 * reload1.c (clear_reload_reg_in_use): Same.
6044
96ae8197
NC
60452002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
6046
6047 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
6048 and 'subtargets'.
6049
9b780582
AJ
60502002-01-11 Andreas Jaeger <aj@suse.de>,
6051 Brad Lucier <lucier@math.purdue.edu>
6052
6053 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
6054 mcpu.
6055
12300dad
DR
6056Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
6057
6058 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
6059 Protect with IN_LIBGCC.
6060 (LINK_EH_SPEC): Add required trailing space.
6061
27511a9a
NP
6062Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
6063
9b780582 6064 * c-tree.h: Move function declarations so that they are listed
27511a9a
NP
6065 under the filename which contains them.
6066 (check_identifier, finish_decl_top_level,
6067 lookup_name_current_level_global, shadow_record_fields): Remove.
6068
4daeab16
AJ
60692002-01-11 Andreas Jaeger <aj@suse.de>
6070
6071 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
6072 march.
6073
40571d67
RH
60742002-01-10 Richard Henderson <rth@redhat.com>
6075
6076 * config/alpha/alpha.c (print_operand): Add 'J'.
6077 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
6078 new operand with the sequence number for the lituse. When splitting
6079 the insns, use gen_movdi_er_high_g and generate a sequence number.
6080 (gen_movdi_er_high_g): Print the sequence number if non-zero.
6081
6525c0e7
AH
60822002-01-10 Aldy Hernandez <aldyh@redhat.com>
6083
d8086cbb
RS
6084 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
6085 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
6086 stvxl.
6087 (altivec_expand_builtin): Same.
6088 (altivec_expand_stv_builtin): New.
6089
6090 * config/rs6000/rs6000.h (rs6000_builtins): Same.
6091
6092 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
6093 ("altivec_lvehx"): New.
6094 ("altivec_lvewx"): New.
6095 ("altivec_lvxl"): New.
6096 ("altivec_lvx"): New.
6097 ("altivec_stvx"): New.
6098 ("altivec_stvebx"): New.
6099 ("altivec_stvehx"): New.
6100 ("altivec_stvewx"): New.
6101 ("altivec_stvxl"): New.
6525c0e7 6102
cda94cbb
RH
61032002-01-10 Richard Henderson <rth@redhat.com>
6104
6105 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
6106 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
6107 care not to delete instructions twice.
6108
df2c9a44
ZW
61092002-01-10 Zack Weinberg <zack@codesourcery.com>
6110
6111 * toplev.c: Don't declare environ (it's not used anywhere).
6112 * configure.in: Don't check for declaration of environ.
6113 * config/i386/xm-mingw32.h: Don't #define environ.
6114 * config.in, configure: Regenerate.
6115
5dd8a9b1
ZW
61162002-01-10 Zack Weinberg <zack@codesourcery.com>
6117
6118 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
6119 * configure: Regenerate.
6120
6121 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
6122 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
6123 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
6124 alpha/xm-vms.h.
6125 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
6126 LIMITS_H_TEST here, not in m68k/x-next.
6127 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
6128 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
6129
6130 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
6131 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
6132 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
6133
6134 * config/i386/x-djgpp: Renamed i386/t-djgpp.
6135 * config/m88k/x-dolph: Renamed m88k/t-dolph.
6136 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
6137 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
6138 replacement of quadlib.asm with quadlib.c.
6139
6140 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
6141 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
6142 config/rs6000/xm-beos.h: Delete file.
6143
6144 * config.gcc: Update to match above changes.
6145
d10dd44c
KH
61462002-01-10 Kazu Hirata <kazu@hxi.com>
6147
6148 * config/h8300/h8300.h: Fix comment typos.
6149 * config/h8300/h8300.md: Likewise.
6150 * config/h8300/lib1funcs.asm: Likewise.
6151
04894c5a
DJ
61522002-01-10 Dale Johannesen <dalej@apple.com>
6153
6154 PR optimization/5269
6155 * unroll.c (precondition_loop_p): Make *increment be the correct
6156 sign when n_iterations known, to avoid confusing caller.
6157
adc9fe67
KH
61582002-01-10 Kazu Hirata <kazu@hxi.com>
6159
6160 * doc/extend.texi (deprecated): Fix a typo.
6161
b446e5a2
JH
6162Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
6163
6164 * basic-block.h (update_br_prob_note): Declare.
6165 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
6166 (try_forward_edges): Care negative frequencies and update note.
6167 (outgoing_edges_match): Tweek conditional merging heuristics.
6168 (try_crossjump_to_edge): use update_br_prob_note.
6169 * cfglayout.c (fixup_reorder_chain): Likewise.
6170 * cfrtl.c (update_br_prob_note): New.
6171 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
6172
6173 * i386.c (ix86_decompose_address): Return -1 if address contains
6174 shift.
6175 (legitimate_address_p): Require ix86_decompose_address to return 1.
6176
6177 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
6178 (cprop_insn): Likewise.
6179
a01da83b
KH
61802002-01-10 Kazu Hirata <kazu@hxi.com>
6181
6182 * toplev.c: Fix formatting.
6183 * tree.c: Likewise.
6184 * tree-dump.c: Likewise.
6185 * unroll.c: Likewise.
6186 * unwind-dw2.c: Likewise.
6187 * unwind-dw2-fde.c: Likewise.
6188 * unwind-dw2-fde-glibc.c: Likewise.
6189 * unwind-sjlj.c: Likewise.
6190
9f85bca7
JM
61912002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
6192
6193 * doc/invoke.texi: Document PDP-11 options.
6194
f48f56b1
KH
61952002-01-10 Kazu Hirata <kazu@hxi.com>
6196
6197 * config/h8300/h8300.h: Fix formatting.
6198
ead39bdf 61992002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
6200
6201 Add __attribute__ ((deprecated)).
6202 * extend.texi: Document __attribute__ ((deprecated)).
6203 * invoke.texi: Document -Wno-deprecated-declarations.
6204 * testsuite/g++.dg/other/deprecated.C: New C++ test.
6205 * testsuite/gcc.dg/deprecated.c: New C test.
6206 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
6207 (c_common_attribute_table): Add "deprecated" entry.
6208 (handle_deprecated_attribute): New function.
6209 * c-decl.c (deprecated_states): New enum.
6210 deprecated_state: State of "deprecated" handling.
6211 (start_decl): Set deprecated_state based on attributes.
6212 (grokdeclarator): Test for deprecated uses, propagate attribute.
6213 * c-typeck.c (build_component_ref): Test for deprecated fields.
6214 (build_external_ref): Test for deprecated primaries.
6215 * diagnostic.c (warn_deprecated_use) New function to issue
6216 warnings about __attribute__ ((depricated)) references.
6217 * flags.h (warn_deprecated_decl): Extern declared for
6218 -W[no-]deprecated-declarations option.
6219 * print-tree.c (print_node): Show deprecated flag status.
6220 * toplev.c (warn_deprecated_decl): Defined.
6221 (W_options): Added "deprecated-declaration".
6222 * toplev.h (warn_deprecated_use): Extern declared.
6223 * tree.h (struct tree_common): Define deprecated_flag.
6224 (TREE_DEPRECATED): New macro to access flag.
6225 * cp/call.c (build_call): Test for deprecated calls.
6226 * cp/class.c (add_implicitly_declared_members): Set global
6227 flag to tell grokdeclarator to not issue deprecated warnings.
6228 * cp/cp-tree.h: Add extern for adding_implicit_members.
6229 * cp/decl.c (deprecated_states): New enum.
6230 (start_decl): Set deprecated_state based on attributes.
6231 (grokdeclarator): Test for deprecated uses, propagate attribute.
6232 * cp/lex.c (do_identifier): Test for deprecated primaries.
6233 * cp/typeck.c (build_component_ref): Test for deprecated fields.
6234
ead39bdf 62352002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
6236
6237 Fix to assign attributes to inline member functions.
6238 * cp/decl.c (start_method): Handle attrlist.
6239
47073a38
KH
62402002-01-10 Kazu Hirata <kazu@hxi.com>
6241
6242 * combine.c (expand_field_assignment): Use subreg_lsb().
6243
d288e53d
DE
62442002-01-10 David Edelsohn <edelsohn@gnu.org>
6245
6246 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
6247 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
6248 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
6249 Recurse for any operand of AND as long as constant is non-zero.
6250
08a02ffa
KH
62512002-01-10 Kazu Hirata <kazu@hxi.com>
6252
6253 * config/h8300/h8300.md: Remove constraints from expanders.
6254
c203e7fe
KH
62552002-01-10 Kazu Hirata <kazu@hxi.com>
6256
6257 * varasm.c: Fix formatting.
6258 * varray.c: Likewise.
6259 * vmsdbgout.c: Likewise.
6260 * xcoffout.c: Likewise.
6261
bcb3bc6d
JH
6262Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
6263
6264 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
cda94cbb 6265 update edge probabilities to match.
bcb3bc6d 6266
0a553c7e
JM
62672002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
6268
6269 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
6270 dependencies.
6271 * doc/languages.texi, doc/sourcebuild.texi: New files.
6272 * doc/configfiles.texi: Make a subsubsection. Update.
6273 * doc/configterms.texi: Add @node. Remove warning that this isn't
6274 instructions for building GCC.
6275 * doc/makefile.texi: Make a subsection.
6276 * doc/gccint.texi: Update.
6277
adc7fcb8
JH
6278Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
6279
6280 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
6281
5a4dd0b3
NP
6282Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
6283
6284 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
6285
3987b9db
JH
6286Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
6287
6288 * optabs.c (expand_fix): Look for wider integer modes first.
6289
6290 * i386.md (mov?f): Avoid the fake const double trick for medium
6291 memory model.
6292 (min?f*/max?f*): Prohibit memory operands for i387 variant.
6293 (fop_df_4): Disable for SSE compilation.
6294
ceb15948 62952002-01-10 Graham Stott <grahams@redhat.com>
117f9d28
GS
6296
6297 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
cda94cbb 6298 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
117f9d28 6299
e1623399
RH
63002002-01-10 Richard Henderson <rth@redhat.com>
6301
6302 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
6303
c4abb293
RH
63042002-01-10 Richard Henderson <rth@redhat.com>
6305
6306 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
6307 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
6308
d2604ae9
KH
63092002-01-10 Kazu Hirata <kazu@hxi.com>
6310
6311 * combine.c (can_combine_p): Fix a comment typo.
6312
766c7ad1
ZW
63132002-01-09 Zack Weinberg <zack@codesourcery.com>
6314
6315 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
6316 empty list correctly. Change loop index $t to $f for
6317 consistency with rest of Makefile.
6318
95385cbb
AH
63192002-01-08 Aldy Hernandez <aldyh@redhat.com>
6320
6321 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
6322 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
6323
6324 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
6325 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
6326 (altivec_init_builtins): Same.
6327 (altivec_expand_unop_builtin): Return NULL_RTX on error.
6328 (altivec_expand_binop_builtin): Same.
6329 (altivec_expand_ternop_builtin): Same.
6330 (bdesc_dst): New.
6331
6332 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
6333 ("altivec_vctuxs"): Fix typo.
6334 ("altivec_vnmsubfp"): Same.
6335 ("altivec_dssall"): New.
6336 ("altivec_mfvscr"): New.
6337 ("altivec_dss"): New.
6338 ("altivec_lvsl"): New.
6339 ("altivec_lvsr"): New.
6340 ("altivec_dstt"): New.
6341 ("altivec_dstst"): New.
6342 ("altivec_dststt"): New.
6343 ("altivec_dst"): New.
6344
6345 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
6346 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
6347
e4ac76b4
RH
63482002-01-09 Richard Henderson <rth@redhat.com>
6349
6350 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
6351
c893e4a4
HPN
63522002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
6353
6354 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
6355 function.
6356 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
6357 prototype.
7387c700 6358 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
c893e4a4 6359
f4f4d0f8
KH
63602002-01-09 Kazu Hirata <kazu@hxi.com>
6361
6362 * read-rtl.c: Fix formatting.
6363 * real.c: Likewise.
6364 * regclass.c: Likewise.
6365 * regrename.c: Likewise.
6366 * reg-stack.c: Likewise.
6367 * reload1.c: Likewise.
6368 * reload.c: Likewise.
6369 * rtl.c: Likewise.
6370
cc863bea
KH
63712002-01-09 Kazu Hirata <kazu@hxi.com>
6372
6373 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
6374 to extract items in the expr_list chain.
6375
7b4dfe3d
RH
63762002-01-09 Richard Henderson <rth@redhat.com>
6377
6378 * config/vax/vax.c (vax_rtx_cost): Never abort.
6379
1d969638
RH
6380 * config/vax/vax.h (REAL_ARITHMETIC): Define.
6381
7d5ab30e
JH
63822002-01-09 Jan Hubicka <jh@suse.cz>
6383
6384 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
6385
9503f3d1
RH
63862002-01-09 Richard Henderson <rth@redhat.com>
6387
6388 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
6389 Unify code from various alternatives.
6390
42bd17b7
RH
63912002-01-09 Richard Henderson <rth@redhat.com>
6392
6393 * regrename.c (copy_value): Ignore the copy if the source register
6394 is present in the value chain with a narrower mode.
6395
bdca3c33
HB
63962002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6397
cda94cbb
RH
6398 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
6399 for the c4x target. Also improve layout.
bdca3c33 6400
c73a5e94
RH
64012002-01-09 Richard Henderson <rth@redhat.com>
6402
6403 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
6404 * config/m32r/m32r.md (and ior xor splitters): Swap operands
6405 to match insn patterns.
6406
dd0a18c0
RH
64072002-01-09 Richard Henderson <rth@redhat.com>
6408
6409 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
6410 (copyprop_hardreg_forward_1): Likewise.
6411
1fd9ac1e
JDA
64122002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
6413
6414 * pa.md (decrement_and_branch_until_zero): Change predicate for
6415 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
6416
5cb265ec
BM
64172002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
6418
6419 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
6420 gets undefined. For Darwin.
6421
fcd8fa8b
HB
64222002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6423
6424 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
6425
bd3ab23a
MH
64262002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6427
6428 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
6429
21e16bd6
RH
64302002-01-08 Richard Henderson <rth@redhat.com>
6431
6432 * regrename.c (copy_value): Ignore overlapping copies.
6433
a5376276
RH
64342002-01-08 Richard Henderson <rth@redhat.com>
6435
6436 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
6437 as needed to avoid shared structure.
6438
18cf8dda
KH
64392002-01-08 Kazu Hirata <kazu@hxi.com>
6440
6441 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
6442 H8/300H and H8/S.
6443
16c484c7
JM
64442002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
6445
6446 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
6447 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
6448 documentation of obsolete macros.
6449 * system.h: Poison these macros.
6450 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
6451 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
6452 config/c4x/c4x.h, config/clipper/clipper.h,
6453 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
6454 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
6455 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
6456 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
6457 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
6458 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
6459 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
6460 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
6461 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
6462 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
6463 config/sparc/sparc.h, config/stormy16/stormy16.h,
6464 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
6465 definitions and commented out definitions of obsolete macros.
6466 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
6467 of MAX_INT_TYPE_SIZE.
6468
14b3e8ef
UW
64692002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
6470
6471 * config/s390/s390.c (s390_preferred_reload_class): Never
6472 return ADDR_REGS if it isn't a subset of the given class.
6473 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
6474 FP_REGS, but all superclasses as well.
6475
6476 * config/s390/s390.c (s390_function_profiler): Fix thinko.
6477
6478 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
6479 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
6480 must not be a const_int.
6481
a693284d
RH
64822002-01-08 Richard Henderson <rth@redhat.com>
6483
6484 * Makefile.in (toplev.o): Depend on options.h.
6485 (gcc.o): Depend on specs.h.
6486
b3ca30df
JJ
64872002-01-08 Jakub Jelinek <jakub@redhat.com>
6488
6489 * expr.c (store_expr): Convert VOIDmode constants back to target's
6490 mode.
6491
24dbb440
GP
64922002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6493
6494 * doc/invoke.texi: Markup gcc as @command. Refer to
6495 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
6496 of http://gcc.gnu.org/thanks.html.
6497
234e114c
DJ
64982002-01-08 Dale Johannesen <dalej@apple.com>
6499
6500 * config/rs6000/rs6000.md: Add missing int register
6501 target case to movdf_low.
6502
0d24f4d1
ZW
65032002-01-08 Zack Weinberg <zack@codesourcery.com>
6504
6505 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
6506 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
6507 (cppinit.o): Depend on except.h.
6508 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
6509 s-specs): New rules.
6510
6511 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
6512 Don't create specs.h/options.h/gencheck.h here. Remove
6513 unnecessary variable settings from last argument of AC_OUTPUT.
6514 * config.in, configure: Regenerate.
6515 * intl.c: Hardcode package name as "gcc".
6516
6517 * cppinit.c: Include except.h.
6518 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
6519 appropriate.
6520 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
6521 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
6522 (!)USING_SJLJ_EXCEPTIONS.
6523 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
6524
ed722f66
JM
65252002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
6526
6527 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
6528 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
6529 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
6530 documentation of obsolete macros.
6531 * system.h: Poison these macros.
6532 * config/d30v/d30v.h, config/ns32k/encore.h,
6533 config/stormy16/stormy16.h: Remove definitions and commented out
6534 definitions of obsolete macros.
6535
31e5e29a
NP
6536Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
6537
6538 * objc/objc-act.c (handle_class_ref): Mark the declaration of
6539 %sobjc_class_ref_%s as used - to prevent unwanted compiler
6540 warnings.
6541
bc1fa59c
UW
65422002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
6543
6544 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
6545 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
6546 to insn adjusting stack/frame pointer.
0d24f4d1 6547 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
bc1fa59c
UW
6548 accept operands that cause the insn to be non-splittable.
6549
a8086abf
GS
65502002-01-08 Graham Stott <grahams@redhat.com>
6551
6552 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
6553 (C_TYPE_FIELDS_VOLATILE): Likewise.
6554 (C_TYPE_BEING_DEFINED): Likewise.
6555 (C_IS_RESERVED_WORD): Likewise.
6556 (C_TYPE_VARIABLE_SIZE): Likewise.
6557 (C_DECL_VARIABLE_SIZE): Likewise.
6558 (C_MISSING_PROTOTYPE_WARNED): Likewise.
6559 (C_SET_EXP_ORIGINAL_CODE): Likewise.
6560 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
6561 parenthesis.
6562 (C_DECL_ANTICIPATED): Likewise.
6563 (c_build_type_variant): Add parenthesis.
6564
3f595aa1
JM
65652002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
6566
6567 * gcc.c (option_map): Remove --version.
6568 (process_command): Handle -fversion following the GNU Coding
6569 Standards. Partially addresses PR other/704.
6570
5bc5a8f9
GS
65712002-01-08 Graham Stott <grahams@redhat.com>
6572
6573 * combine.c (combine_instructions): Fix typo.
6574
16ec4ebf
GS
65752002-01-08 Graham Stott <grahams@redhat.com>
6576
6577 * debug.h: Use "tree" and "rtx" throughout.
6578
6579 * debug.c: Likewise.
6580
4b69f385
NC
65812002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
6582
6583 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
6584 constant pool, use the pool's version of the symbol instead.
6585
57d1019b
RH
65862002-01-07 Richard Henderson <rth@redhat.com>
6587
6588 * regrename.c (find_oldest_value_reg): Ignore the value chain if
6589 the original register was copied in a mode with a fewer number of
6590 hard registers than the desired mode.
6591 (copyprop_hardreg_forward_1): Likewise.
6592 (debug_value_data): Fix loop test.
6593 * toplev.c (parse_options_and_default_flags): Reenable
6594 -fcprop-registers at -O1.
6595
65962002-01-07 Aldy Hernandez <aldyh@redhat.com>
fa066a23 6597
0d24f4d1
ZW
6598 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
6599 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
fa066a23 6600
0d24f4d1
ZW
6601 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
6602 predicates.
fa066a23 6603
0d24f4d1 6604 * config/rs6000/rs6000.md: Add altivec predicate patterns.
fa066a23 6605
8f949e7e
JDA
66062002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
6607
6608 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
6609 (pa_output_function_prologue): Output local label at the beginning of
6610 the prologue when profiling.
6611 (hppa_profile_hook): Use the local label rather than the function label.
6612 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
6613
c62f2db5
AH
66142002-01-07 Aldy Hernandez <aldyh@redhat.com>
6615
0d24f4d1
ZW
6616 * config/rs6000/rs6000.c (print_operand): Remove extra space.
6617 (altivec_expand_unop_builtin): Fix thinko.
6618 (altivec_expand_binop_builtin): Same.
6619 (altivec_expand_ternop_builtin): Same.
6620 (altivec_expand_builtin): Same.
c62f2db5 6621
b5235ba7
RH
66222002-01-07 Richard Henderson <rth@redhat.com>
6623
6624 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
6625
7d8ac293
JM
66262002-01-07 Jason Merrill <jason@redhat.com>
6627
6628 * unwind-dw2.c (execute_cfa_program): Use < again.
6629
571a03b8
JJ
66302002-01-07 Jakub Jelinek <jakub@redhat.com>
6631
6632 * predict.c (combine_predictions_for_insn): Avoid division by zero.
6633
2e951384
JJ
66342002-01-07 Jakub Jelinek <jakub@redhat.com>
6635
6636 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
6637 Don't allow -1 - x -> ~x simplifications in the first pass.
6638
20e26713
AH
66392002-01-07 Aldy Hernandez <aldyh@redhat.com>
6640
0d24f4d1
ZW
6641 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
6642 arguments.
6643 (altivec_expand_binop_builtin): Same.
6644 (altivec_expand_unop_builtin): Same.
6645 (print_operand): Fix typo.
6646 (bdesc_1arg): Add vupk* variants.
20e26713 6647
0d24f4d1 6648 * rs6000.h (rs6000_builtins): Add vupk* enums.
20e26713 6649
0d24f4d1 6650 * rs6000.md: Add altivec_vupk* variants.
20e26713 6651
4dd57c18
JM
66522002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
6653
6654 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
6655 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
6656 and last update dates.
6657
0341c5d2
JJ
66582002-01-07 Janis Johnson <janis187@us.ibm.com>
6659
6660 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
6661
c7f3e0b0
MM
66622002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
6663
6664 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
6665 * config/avr/avr.h (CPP_SPEC): Likewise.
6666 (LINK_SPEC): Likewise.
6667 (CRT_BINUTILS_SPECS): Likewise.
6668 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
6669 * doc/invoke.texi (AVR Options): Document them.
6670
6ba4d630
JH
6671Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
6672
6673 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
6674 LABEL_NUSES.
6675
6253d571
GS
66762002-01-07 Graham Stott <grahams@redhat.com>
6677
0d24f4d1
ZW
6678 * config/i386/i386.h: Update copyright date.
6679 (HALF_PIC_PTR): Add parenthesis.
6680 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
6681 (CONSTANT_ALIGNMENT): Add parenthesis.
6682 (DATA_ALIGNMENT): Likewise.
6683 (LOCAL_ALIGNMENT): Likewise.
6684 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
6685 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
6686 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
6687 (HARD_REGNO_NREGS): Add paranethesis.
6688 (VALID_SSE_REG_MODE): Whitespace.
6689 (VALID_MMX_REG_MODE): Whitespace.
6690 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
6691 (ix86_hard_regno_mode_ok): Add parenthesis.
6692 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
6693 (RETURN_IN_MEMORY): Whitespace.
6694 (N_REG_CLASSES): Add parenthesis.
6695 (INTEGER_CLASS_P): Add parenthesis and wrap.
6696 (FLOAT_CLASS_P): Likewise.
6697 (SSE_CLASS_P): Likewise.
6698 (MMX_CLASS_P): Likewise.
6699 (MAYBE_INTEGER_CLASS_P): Likewise.
6700 (MAYBE_FLOAT_CLASS_P): Likewise.
6701 (MAYBE_SSE_CLASS_P): Likewise.
6702 (MAYBE_MMX_CLASS_P): Likewise.
6703 (Q_CLASS_P): Likewise.
6704 (GENERAL_REGNO_P): Uppercase macro parameter.
6705 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
6706 (FP_REGNO_P): Likewise.
6707 (ANY_FP_REGNO_P): Uppercase macro parameter.
6708 (SSE_REGNO_P): Likewise.
6709 (SSE_REGNO): Likewise.
6710 (SSE_REG_P): Likewise.
6711 (SSE_FLOAT_MODE_P): Likewise.
6712 (MMX_REGNO_P): Likewise.
6713 (MMX_REG_P):Likewise.
6714 (STACK_REG_P): Likewise.
6715 (NON_STACK_REG_P): Likewise.
6716 (STACK_TOP_P): Likewise.
6717 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
6718 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
6719 (SECONDARY_MEMORY_NEEDED): Likewise.
6720 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
6721 (MD_ASM_CLOBBERS): Whitespace and wrap.
6722 (MUST_PASS_IN_STACK): Whitespace and wrap.
6723 (RETURN_POPS_ARGS): Add parenthesis.
6724 (INIT_CUMULATIVE_ARGS): Likewise.
6725 (FUNCTION_ARG): Likewise.
6726 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
6727 (SETUP_INCOMING_VARARGS): Likewise.
6728 (BUILD_VA_LIST_TYPE): Add parenthesis.
6729 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
6730 parenthsis.
6731 (EXPAND_BUILTIN_VA_ARG): Likewise.
6732 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
6733 (INITIALIZE_TRAMPOLINE): Add parenthesis.
6734 (INITIAL_ELIMINATION_OFFSET): Likewise.
6735 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
6736 (REGNO_OK_FOR_BASE_P): Likewise.
6737 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
6738 (REGNO_OK_FOR_DIREG_P): Likewise.
6739 (REG_OK_FOR_INDEX_P): Whitespace.
6740 (REG_OK_FOR_BASE_P): Whitespace.
6741 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
6742 parenthesis.
6743 (FIND_BASE_TERM): Fix typo.
6744 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
6745 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
6746 (SYMBOLIC_CONST; Whitespace.
6747 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
6748 (ENCODE_SECTION_INFO): Whitespace.
6749 (FINALIZE_PIC): Remove do { ... } while (0).
6750 (PROMOTE_MODE): Wrap in do { ... } while (0).
6751 (CONST_COSTS): Whitespace.
6752 (RTX_COSTS): Add paramethesis, whitespace and wrap.
6753 (REGISTER_MOVE_COST): Add parenthesis.
6754 (MEMORY_MOVE_COST): Likewise.
6755 (EXTRA_CC_MODES): Whitespace.
6756 (SELECT_CC_MODE): Add parenthesis and whitespace.
6757 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
6758 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
6759 (ASM_OUTPUT_LABEL): Add paramethesis.
6760 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
6761 (ASM_OUTPUT_REG_POP): Likewise.
6762 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
6763 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
d9a5f180 6764
07933f72
GS
6765 * config/i386/i386.c: Update copyright.
6766 (CHECK_STACK_LIMIT): Add parenthesis.
6767 (AT_BP): Uppercase macro parameter.
6768 (x86_64_int_parameter_registers): Constify.
6769 (x86_64_int_return_registers): Likewise.
6770 (ix86_compare_op0): Use rtx.
6771 (construct_container): Constify INTREG parameter.
6772 (function_arg): Use rtx.
6773
0b4d32c9
GS
6774 * diagnostic.h: Update copyright date.
6775 (output_buffer_state): Add parenthesis.
6776 (output_buffer_format_args): Likewise.
6777
6253d571
GS
6778 * combine.c (combine_instructions): Replace XEXP (links, 0)
6779 with link.
6780
68f3f6f1
L
67812002-01-06 H.J. Lu <hjl@gnu.org>
6782
6783 * cfgcleanup.c (thread_jump): Fix 2 typos.
6784
67852002-01-06 Aldy Hernandez <aldyh@redhat.com>
480f7f3a 6786
0d24f4d1 6787 * config.gcc: Add support for --enable-altivec.
480f7f3a 6788
13b8c631
CR
67892002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
6790
6791 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
6792
58ad89b1
JJ
67932002-01-06 Jakub Jelinek <jakub@redhat.com>
6794
6795 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
6796 __objc_class_name_*.
6797
e403b4bc
CR
67982002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
6799
6800 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
6801
e41c7831
RH
68022002-01-06 Richard Henderson <rth@redhat.com>
6803
6804 * reorg.c (emit_delay_sequence): Remove death notes, not merely
6805 nop them out. Increment label reference count for REG_LABEL.
6806 (fill_slots_from_thread): Frob label reference count around
6807 delete_related_insns.
6808
3b3b1e32
RH
68092002-01-05 Richard Henderson <rth@redhat.com>
6810
6811 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
6812 jump threading.
6813
c28abdf0
RH
68142002-01-05 Richard Henderson <rth@redhat.com>
6815
6816 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
6817 * integrate.c (output_inline_function): Likewise.
6818 * toplev.c (rest_of_compilation): Do it here instead. Move call
6819 to remove_unnecessary_notes after emitting abstract instance.
6820 Force an emitted nested function to have its parent emited as well.
6821 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
6822 for null.
6823 (rtl_for_decl_location): Do not look at reload data structures
6824 before reload has run.
6825
c4f2c499
KH
68262002-01-05 Kazu Hirata <kazu@hxi.com>
6827
6828 * cse.c: Fix formatting.
6829 * dwarf2asm.c: Likewise.
6830 * dwarf2out.c: Likewise.
6831 * explow.c: Likewise.
6832 * expmed.c: Likewise.
6833 * function.c: Likewise.
6834 * gcov.c: Likewise.
6835 * gencheck.c: Likewise.
6836 * genrecog.c: Likewise.
6837 * ggc-common.c: Likewise.
6838 * ggc-page.c: Likewise.
6839 * global.c: Likewise.
6840
cf0d9408
KH
68412002-01-05 Kazu Hirata <kazu@hxi.com>
6842
6843 * combine.c: Fix formatting.
6844
bedca03a
CR
68452002-01-05 Craig Rodrigues <crodrigu@bbn.com>
6846
6847 PR middle-end/1557
6848 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
6849
0134bf2d
DE
68502002-01-05 David Edelsohn <edelsohn@gnu.org>
6851
6852 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
6853 as 1 for __powerpc64__ as well.
6854
6855 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
6856
6857 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
6858 return it.
6859
9ca88d5a
DB
68602002-01-05 Daniel Berlin <dan@dberlin.org>
6861
6862 * lcm.c: Revert change, due to performance regression it causes on
6863 SPEC because it's slightly more conservative (sigh, I hate
6864 edge-based LCM).
0d24f4d1 6865
1c570418
JH
6866Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
6867
6868 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
6869
d83bb9f7
NB
68702002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
6871
6872 * doc/cppinternals.texi: Update.
6873
3e0f61ac
HPN
68742002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
6875
6876 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
6877 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
6878 negatives.
6879 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
6880 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
6881 kludge for pre-october-14th mmix versions to handle new-found bug
6882 with PUSHJ/PUSHGO and the register stack.
6883 * config/mmix/mmix.h (struct machine_function): Rename member
6884 has_call_value_without_parameters to has_call_without_parameters.
6885 All referers changed.
6886 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
6887 TARGET_MASK_BRANCH_PREDICT): New macros.
6888 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
6889 -mno-reg-stack-fill-bug-workaround.
6890 * config/mmix/mmix.md ("call"): Set struct machine member
6891 has_call_without_parameters.
6892
4deaa2f8
JH
6893Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
6894
6895 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
6896
9f16e871
JH
6897Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
6898
6899 * cfgcleanup.c: Include tm_p.h
6900 (mark_effect): Fix handling of hard register; fix handling of SET
6901
96eb1157
KH
69022002-01-04 Kazu Hirata <kazu@hxi.com>
6903
6904 * config/h8300/h8300.md (anonymous patterns): Check that
6905 operands are registers before using REGNO on them.
6906
48180d68
RM
69072002-01-03 Roland McGrath <roland@frob.com>
6908
6909 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
6910
b0832fe1
JJ
69112002-01-04 Jakub Jelinek <jakub@redhat.com>
6912
6913 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
6914 * c-common.h (genrtl_expr_stmt_value): Likewise.
6915 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
6916 (expand_expr_stmt_value): Add maybe_last argument.
6917 Don't warn about statement with no effect if it is the last statement
6918 in expression statement.
6919 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
6920 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
6921 expand_expr_stmt_value.
6922 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
6923 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
6924 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
6925 as maybe_last to expand_expr_stmt_value.
6926
c1e14513
JL
6927Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
6928
0d24f4d1
ZW
6929 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
6930 be passed in, do not build it.
6931 (c_begin_if_stmt): New function.
6932 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
6933 * c-common.h (c_expand_start_cond): Update prototype.
6934 (c_begin_if_stmt): Prototype new function.
6935 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
6936 * c-parse.in (if_prefix): Use c_begin_if_stmt,
6937 c_begin_while_stmt and c_finish_while_stmt_cond.
c1e14513 6938
b6ec437a
WC
69392002-01-04 William Cohen <wcohen@redhat.com>
6940
6941 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
6942 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
6943 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
6944 * config/pa/som.h (ASM_FILE_START): Likewise.
6945
ead39bdf 69462002-01-04 Daniel Berlin <dan@cgsoftware.com>
517b711f
DB
6947
6948 * lcm.c: Include df.h.
6949 Add available_transfer_function prototype.
6950 (compute_available): Rework to use iterative dataflow framework.
6951 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
6952 with bb_info in df.h
6953 (available_transfer_function): New function.
6954
6955 * Makefile.in (lcm.o): add df.h to dependencies.
6956
551cc6fd
RH
69572002-01-04 Richard Henderson <rth@redhat.com>
6958
6959 * config/alpha/alpha.c (some_operand): Accept HIGH.
6960 (input_operand): Likewise; accept simple references to globals.
6961 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
6962 (alpha_const_double_ok_for_letter_p): Likewise.
6963 (alpha_extra_constraint): Likewise.
6964 (alpha_preferred_reload_class): Likewise. Do not force
6965 symbolic constants to memory.
6966 (alpha_legitimate_address_p): Accept simple references
6967 to small_symbolic_operand.
6968 (alpha_legitimize_address): New arg scratch. Be prepared to be
6969 called when no_new_pseudos. Emit simple symbolic references.
6970 Split integers into low, high, and rest.
6971 (alpha_expand_mov): Use alpha_legitimize_address.
6972 (some_small_symbolic_mem_operand): New.
6973 (split_small_symbolic_mem_operand): New.
6974 * config/alpha/alpha-protos.h: Update.
6975 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
6976 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
6977 (EXTRA_CONSTRAINT): Likewise.
6978 (PREFERRED_RELOAD_CLASS): Likewise.
6979 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
6980 (PREDICATE_CODES): Update.
6981 * config/alpha/alpha.md: New post-reload splitters to convert
6982 simplfied symbolic operands to the form that references $29.
6983 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
6984 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
6985
1eaea054
RH
69862002-01-03 Richard Henderson <rth@redhat.com>
6987
6988 * local-alloc.c (function_invariant_p): Update commentary.
6989
c4cc12b7
L
69902002-01-04 H.J. Lu <hjl@gnu.org>
6991
6992 * toplev.c (rest_of_compilation): Fix a typo when calling
6993 cleanup_cfg.
6994
173bf5be
KH
69952002-01-03 Kazu Hirata <kazu@hxi.com>
6996
6997 * c-common.c: Fix formatting.
6998 * diagnostic.c: Likewise.
6999 * doloop.c: Likewise.
7000 * dwarf2out.c: Likewise.
7001
187462ac
KH
70022002-01-03 Kazu Hirata <kazu@hxi.com>
7003
7004 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
7005 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
7006
5d8ebbd8
NB
70072002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
7008
7009 * cpperror.c: Update comments and copyright.
7010 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
7011 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
7012
518c1311
JDA
70132002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
7014
7015 * collect2.c (main): Use strcmp when testing for "-shared".
7016
d15a58c0
NB
70172002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
7018
7019 * cppmacro.c: Don't include intl.h. Update comments.
7020 (new_number_token): Allocate enough buffer for 64-bit unsigned
7021 integers; update prototype.
7022 * cppmain.c: Update comments.
7023
70f4f91c
WC
70242002-01-03 William Cohen <wcohen@redhat.com>
7025
7026 * function.h (struct function): Add profile.
7027 (current_function_profile): New.
7028 doc/extend.texi: Update documentation.
7029 * final.c (final_start_function): Use current_function_profile
7030 instead of profile_flag.
7031 (profile_after_prologue): Likewise.
7032 * function.c (expand_function_start): Likewise.
7033 (expand_function_start): Likewise.
c4cc12b7 7034 * config/alpha/alpha.c (direct_call_operand):
70f4f91c
WC
7035 (alpha_does_function_need_gp): Likewise.
7036 (alpha_expand_prologue): Likewise.
7037 * config/arm/arm.c (arm_expand_prologue): Likewise.
7038 thumb_expand_prologue: Likewise.
7039 * config/d30v/d30v.c (d30v_stack_info): Likewise.
7040 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
7041 (fr30_expand_prologue): Likewise.
7042 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
7043 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
7044 * config/i386/i386.h (FINALIZE_PIC): Likewise.
7045 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
7046 * config/i960/i960.c (i960_output_function_prologue): Likewise.
7047 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
7048 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
7049 (m32r_expand_prologue): Likewise.
7050 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
7051 (m88k_expand_prologue): Likewise.
7052 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
7053 * config/mips/mips.c (compute_frame_size): Likewise.
7054 (mips_expand_prologue): Likewise.
7055 (mips_can_use_return_insn): Likewise.
7056 * config/pa/elf.h (ASM_FILE_START): Likewise.
7057 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
7058 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
7059 * config/pa/som.h (ASM_FILE_START): Likewise.
7060 * config/romp/romp.c (romp_using_r14): Likewise.
7061 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
7062 (rs6000_stack_info): Likewise.
7063 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2fd17409 7064 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
70f4f91c
WC
7065 * config/v850/v850.c (compute_register_save_size): Likewise.
7066
cb1ac742
JJ
70672002-01-03 Jakub Jelinek <jakub@redhat.com>
7068
7069 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
7070 gen_lowpart_common fails, use gen_lowpart_SUBREG.
7071
61d951df 70722002-01-03 Turly O'Connor <turly@apple.com>
cb1ac742 7073
61d951df
TC
7074 * darwin.c (machopic_output_possible_stub_label): Don't generate
7075 stub routines for pseudo-stubs which we've just defined.
7076
505ddab6
KH
70772002-01-03 Kazu Hirata <kazu@hxi.com>
7078
7079 * builtins.c: Fix formatting.
7080 * c-typeck.c: Likewise.
7081 * combine.c: Likewise.
7082 * expr.c: Likewise.
7083 * loop.c: Likewise.
7084
b7e30d8a
AS
70852002-01-03 Andreas Schwab <schwab@suse.de>
7086
7087 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
7088 and return true if _cpp_push_next_buffer pushed a new include
7089 file.
7090 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
7091 _cpp_pop_file_buffer did not push a new file.
7092 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
7093
ff81832f
EC
70942002-01-02 Eric Christopher <echristo@redhat.com>
7095
7096 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
7097 FIND_REG_INC_NOTE call. Update copyright.
7098 * loop.c (canonicalize_condition): Ditto.
7099 * reorg.c (delete_scheduled_jump): Ditto.
7100
8e42ace1
KH
71012002-01-03 Kazu Hirata <kazu@hxi.com>
7102
7103 * gcse.c: Fix formatting.
7104
fb2bf631
GS
71052002-01-03 Graham Stott <grahams@redhat.com>
7106
7107 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
7108 forward defs for struct tags rtx_def, union_tree, rtvec_def
6253d571 7109 also output corresponding typedefs for rtx, tree, and rtvec.
fb2bf631
GS
7110
7111 * system.h: Move forward defs for struct tags rtx_def, union_tree,
7112 rtvec_def along with corresponding typedefs for rtx, tree, and
6253d571 7113 rtvec to config.h, hconfig.h, tconfig.h.
fb2bf631
GS
7114
71152002-01-03 Graham Stott <grahams@redhat.com>
b9daac31
GS
7116
7117 * tree.h: Update copyright date.
7118 (IS_EXPR_CODE_CLASS): Add parenthesis.
7119 (TREE_SET_CODE): Add whitespace.
7120 (TREE_CHECK): Add parenthesis.
7121 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
7122 (CST_OR_CONSTRUCTOR_CHECK):
7123 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
7124 (TREE_SYMBOL_REFERENCED): Whitespace.
7125 (INT_CST_LT): Likewise.
7126 (INT_CST_LT_UNSIGNED): Likewise.
7127 (tree_real_cst): Unwrap comment.
7128 (tree_string): Likewise.
7129 (tree_complex): Likewise.
7130 (IDENTIFIER_POINTER): correct cast.
7131 (SAVE_EXPR_CONTEXT): Whitespace.
7132 (EXPR_WFL_FILENAME_NODE): Likewise.
7133 (EXPR_WFL_FILENAME): Remove parenthesis.
7134 (DECL_ORIGIN): Add parenthesis.
7135 (DECL_FROM_INLINE): Use NULL_TREE.
7136 (build_int_2): Whitespace.
7137 (build_type_variant): Add parenthesis.
7138
7139 * gcc/jcf-parse.c: Update copyright date.
7140 (yyparse): Constify resource_filename.
7141
f52eda29
GS
71422002-01-03 Graham Stott <grahams@redhat.com>
7143
7144 * rtl.h: Update copyright date.
7145 (RTL_CHECK1): Wrap long line.
7146 (RTL_CHECK2): Likewise.
7147 (RTL_CHECKC1): Wrap long line and whitespace.
7148 (RTL_CHECKC2): Likewise.
7149 (XWINT): Whitespace.
7150 (XINT): Likewise.
7151 (XSTR): Likewise.
7152 (XEXP): Likewise.
7153 (XVEC): Likewise.
7154 (XMODE): Likewise.
7155 (XBITMAP): Likewise.
7156 (XTREE): Likewise.
7157 (XBBDEF): Likewise.
7158 (XTMPL): Likewise.
7159 (X0WINT): Likewise.
7160 (X0INT):Likewise.
7161 (X0UINT): Likewise.
7162 (X0STR): Likewise.
7163 (X0EXP): Likewise.
7164 (X0VEC): Likewise.
7165 (X0MODE): Likewise.
7166 (X0BITMAP): Likewise.
7167 (X0TREE): Likewise.
7168 (X0BBDEF): Likewise.
7169 (X0ADVFLAGS): Likewise.
7170 (X0CSELIB): Likewise.
7171 (X0MEMATTR): Likewise.
7172 (XCWINT): Likewise.
7173 (XCINT): Likewise.
7174 (XCUINT): Likewise.
7175 (XCSTR): Likewise.
7176 (XCEXP): Likewise.
7177 (XCVEC): Likewise.
7178 (XCMODE): Likewise.
7179 (XCBITMAP): Likewise.
7180 (XCTREE): Likewise.
7181 (XCBBDEF): Likewise.
7182 (XCADVFLAGS): Likewise.
7183 (XCCSELIB): Likewise.
7184 (XC2EXP): Likewise.
7185 (INSN_UID): Likewise.
7186 (PREV_INSN): Likewise.
7187 (PATTERN): Likewise.
7188 (INSN_CODE): Likewise.
7189 (PUT_REG_NOTE_KIND): Likewise.
7190 (CODE_LABEL_NUMBER): Likewise.
7191 (NOTE_SOURCE_FILE): Likewise.
7192 (NOTE_BLOCK): Likewise.
7193 (NOTE_EH_HANDLER): Likewise.
7194 (NOTE_RANGE_INFO): Likewise.
7195 (NOTE_LIVE_INFO): Likewise.
7196 (NOTE_BASIC_BLOCK): Likewise.
7197 (NOTE_EXPECTED_VALUE): Likewise.
7198 (NOTE_LINE_NUMBER): Likewise.
7199 (LABEL_NAME): Likewise.
7200 (LABEL_NUSES): Likewise.
7201 (LABEL_ALTERNATE_NAME): Likewise.
7202 (ADDRESSOF_DECL): Likewise.
7203 (JUMP_LABEL): Likewise.
7204 (LABEL_NEXTREF): Likewise.
7205 (REGNO): Likewise.
7206 (ORIGINAL_REGNO: Likewise.
7207 (HARD_REGISTER_NUM_P): Add parenthesis.
7208 (SUBREG_REG): Whitespace.
7209 (SUBREG_BYTE): Likewise.
7210 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
7211 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
7212 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
7213 (ASM_OPERANDS_INPUT_VEC): Likewise.
7214 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
7215 (ASM_OPERANDS_INPUT): Likewise.
7216 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
7217 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
7218 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
7219 (ASM_OPERANDS_INPUT_MODE): Likewise.
7220 (ASM_OPERANDS_SOURCE_FILE): Likewise.
7221 (ASM_OPERANDS_SOURCE_LINE): Likewise.
7222 (MEM_SET_IN_STRUCT_P): Minor reformat.
7223 (TRAP_CONDITION): Whitespace.
7224 (TRAP_CODE): Likewise.
7225 (COND_EXEC_TEST): Likewise.
7226 (COND_EXEC_CODE): Likewise.
7227 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
7228 (PHI_NODE_P): Add parenthesis.
7229 (plus_constant): Whitespace and add parenthesis.
7230
e03f5d43
KH
72312002-01-03 Kazu Hirata <kazu@hxi.com>
7232
7233 * config/avr/avr.c: Fix comment typos.
7234 * config/c4x/c4x.md: Likewise.
7235 * config/dsp16xx/dsp16xx.h: Likewise.
7236 * config/dsp16xx/dsp16xx.md: Likewise.
7237 * config/i386/i386.md: Likewise.
7238 * config/ia64/ia64.c: Likewise.
7239 * config/m32r/m32r.h: Likewise.
7240 * config/m68hc11/m68hc11.md: Likewise.
7241 * config/mmix/mmix.c: Likewise.
7242 * config/mn10200/mn10200.c: Likewise.
7243 * config/romp/romp.c: Likewise.
7244 * config/sh/sh.c: Likewise.
7245 * config/stormy16/stormy16.c: Likewise.
7246 * config/stormy16/stormy16.h: Likewise.
7247 * config/stormy16/stormy16.md: Likewise.
7248
97e300e9
GS
72492002-01-03 Graham Stott <grahams@redhat.com>
7250
7251 * loop.h: Update copyright date.
0d24f4d1
ZW
7252 (LOOP_MOVABLES): Fix typo.
7253 (LOOP_REGS): Likewise.
7254 (LOOP_IVS): Likewise.
ff81832f 7255
745b26b3
GS
72562002-01-03 Graham Stott <grahams@redhat.com>
7257
7258 * cppinit.c: Update copyright date.
7259 Don't include output.h
7260 * Makefile.in: Update copyright date.
7261 Update dependency.
7262
0a379b7a
CR
72632002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
7264
7265 PR c/5226
7266 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
7267 (-pthread) Add to RS/6000 options.
7268
a8154559
KH
72692002-01-02 Kazu Hirata <kazu@hxi.com>
7270
7271 * except.c: Fix comment typos.
7272 * loop.c: Likewise.
7273 * varasm.c: Likewise.
7274 * doc/tm.texi: Fix a typo.
7275
e6ecc89b
JJ
72762002-01-02 Jakub Jelinek <jakub@redhat.com>
7277
7278 * c-typeck.c (output_init_element): Allow initializing static storage
7279 duration objects with compound literals.
7280
d1094b40
RH
72812002-01-02 Richard Henderson <rth@redhat.com>
7282
7283 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
7284 after abusing it.
7285
0c5d8c82
KG
72862002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7287
5e65297b
KG
7288 * gcc.c (default_compilers): Const-ify.
7289 * mips-tdump.c (stab_names): Likewise.
7290 * mips-tfile.c (map_coff_types, map_coff_storage,
7291 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
7292 pseudo_ops_t, pseudo_ops): Likewise.
7293 * protoize.c (default_include): Likewise
7294
0c5d8c82
KG
7295 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
7296 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
7297 Add array size in declaration.
7298 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
7299 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
7300 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
7301 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
7302 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
7303 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
7304 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
7305 emtens, make_nan): Const-ify.
7306 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
7307 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
7308
817e13c4
JM
73092002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
7310
7311 * config.gcc (ia64-*-*): Set extra_headers.
7312 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
7313 * config/alpha/t-osf: Remove.
7314 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
7315
98095e2b
DE
73162002-01-02 David Edelsohn <edelsohn@gnu.org>
7317
7318 * config/rs6000/t-aix43: Revert previous change.
7319
a4200657
JM
73202002-01-02 Jason Merrill <jason@redhat.com>
7321
7322 * c-decl.c (c_expand_body): Call outlining_inline_function when
7323 emitting an inline function out of line.
7324
54ba1f0d
RH
73252002-01-02 Richard Henderson <rth@redhat.com>
7326
7327 * dwarf2out.c (limbo_die_node): Add created_for member.
7328 (new_die): New argument created_for. Update all callers.
7329 (mark_limbo_die_list): New.
7330 (dwarf2out_init): Register limbo_die_list as a root.
7331 (dwarf2out_finish): Force insert limbo dies into their function
7332 context.
7333
323728aa
NS
73342002-01-02 Nathan Sidwell <nathan@codesourcery.com>
7335
7336 PR c++/5089
7337 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
7338
aefc5826
KH
73392002-01-02 Kazu Hirata <kazu@hxi.com>
7340
7341 * config/h8300/fixunssfsi.c: Update copyright.
7342 Fix comment typos.
7343 Fix formatting.
7344 * config/h8300/h8300.c: Update copyright.
7345 Eliminate warnings.
7346
b1c9bc51
KH
73472002-01-02 Kazu Hirata <kazu@hxi.com>
7348
7349 * config/romp/romp.c: Fix comment formatting.
7350 * config/romp/romp.h: Likewise.
7351 * config/romp/romp.md: Likewise.
7352 * config/s390/s390.c: Likewise.
7353 * config/stormy16/stormy16.c: Likewise.
7354 * config/stormy16/stormy16.h: Likewise.
7355
1574ef13
AO
73562002-01-02 Alexandre Oliva <aoliva@redhat.com>
7357
7358 * c-common.h (genrtl_expr_stmt_value): Declare.
7359 * c-semantics.c (genrtl_goto_stmt): Redirect to...
7360 (genrtl_goto_stmt_value): ... this new function. Pass new
7361 argument down to expand_expr_stmt_value, taking
7362 TREE_ADDRESSABLE into account.
7363 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
7364 STMT_EXPR as addressable, i.e., one whose result we want.
7365 * expr.c (expand_expr): Don't save expression statement value
7366 of labeled_blocks or loop_exprs.
7367 * stmt.c (expand_expr_stmt): Redirect to...
7368 (expand_expr_stmt_value): ... this new function. Use new
7369 argument to tell whether to save expression value.
7370 (expand_end_stmt_expr): Reset last_expr_type and
7371 last_expr_value if we don't have either.
7372 * tree-inline.c (declare_return_variable): Mark its use
7373 statement as addressable.
7374 * tree.h: Document new use of TREE_ADDRESSABLE.
7375 (expand_expr_stmt_value): Declare.
7376
252b88f7
TR
73772002-01-01 Tom Rix <trix@redhat.com>
7378
7379 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
7380 rs6000_emit_allocate_stack.
7381
29f7a208
JM
73822002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
7383
7384 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
7385 ${srcdir}/ginclude/ to every entry in extra_headers.
7386 * configure: Regenerate.
7387 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
7388 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
7389 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
7390 * ginclude/proto.h: Rename to config/convex/proto.h.
7391
2cc2d4bb
RK
7392Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7393
7394 * attribs.c (handle_vector_size_attribute): Use host_integerp
7395 and tree_int_cst; remove warnings.
7396 * caller-save.c (insert_restore): Add cast to get rid of warning.
7397 (insert_save): Likewise.
7398 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
7399 * regmove.c (find_matches): Add temporary var to kill a warning.
7400
f01c9bcd
DR
74012002-01-01 Douglas B Rupp <rupp@gnat.com>
7402
16b61764
DR
7403 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
7404 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
7405 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
7406 (vms-dwarf2eh.o): Add Makefile rule.
7407 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
7408 * config/alpha/vms-dwarf2eh.asm: New file.
7409
f01c9bcd
DR
7410 * gcc.c (delete_if_ordinary): Delete all versions.
7411
91312b81
HPN
74122002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
7413
7414 * config/mmix/mmix.md: Update FIXME to not mention
7415 define_constants.
7416 (MMIX_rJ_REGNUM): New define_constants constant.
7417 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
7418 "*movdicc_real"): Adjust contraints formatting.
7419 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
7420 for branch prediction.
7421 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
7422 output template.
7423 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
7424 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
7425 number. Delete related FIXMEs.
7426 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
7427 from number to MMIX_rJ_REGNUM.
7428 (TARGET_MASK_BRANCH_PREDICT): New.
7429 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
7430 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
7431 value. Add -mbranch-predict and -mno-branch-predict.
7432 (TARGET_VERSION): Drop date.
7433 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
7434 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
7435 for finding out global symbols.
7436 (mmix_asm_output_labelref): Revert condition for global symbol.
7437 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
7438 (mmix_print_operand_punct_valid_p): A '+' is valid.
7439
619acae7 7440See ChangeLog.6 for earlier changes.
This page took 1.011729 seconds and 5 git commands to generate.