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